@orq-ai/node 4.6.7 → 4.6.9
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/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/security.d.ts +1 -1
- package/lib/security.d.ts.map +1 -1
- package/lib/security.js +19 -8
- package/lib/security.js.map +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/createcontact.js +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +4 -4
- package/models/operations/createdatasource.js +1 -1
- package/models/operations/createeval.js +16 -16
- package/models/operations/createidentity.js +1 -1
- package/models/operations/createimageedit.js +1 -1
- package/models/operations/createimageedit.js.map +1 -1
- package/models/operations/createimagevariation.js +1 -1
- package/models/operations/createimagevariation.js.map +1 -1
- package/models/operations/createresponse.d.ts +95 -20
- package/models/operations/createresponse.d.ts.map +1 -1
- package/models/operations/createresponse.js +69 -20
- package/models/operations/createresponse.js.map +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getevals.js +16 -16
- package/models/operations/getv2humanevals.js +6 -6
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/getv2humanevalsid.js +6 -6
- package/models/operations/listdatasetdatapoints.js +4 -4
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/listidentities.js +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/patchv2humanevalsid.js +12 -12
- package/models/operations/postv2feedbackevaluation.js +3 -3
- package/models/operations/postv2humanevals.js +12 -12
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrievedatapoint.js +4 -4
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.js +1 -1
- package/models/operations/retrieveidentity.js +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/updatedatapoint.js +4 -4
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updateeval.js +16 -16
- package/models/operations/updateidentity.js +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +1 -1
- package/packages/orq-rc/src/funcs/identitiesRetrieve.ts +2 -11
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/lib/security.ts +14 -2
- package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
- package/packages/orq-rc/src/models/errors/retrieveidentity.ts +0 -56
- package/packages/orq-rc/src/models/operations/createagentrequest.ts +0 -30
- package/packages/orq-rc/src/models/operations/createagentresponserequest.ts +0 -26
- package/packages/orq-rc/src/models/operations/createcontact.ts +1 -1
- package/packages/orq-rc/src/models/operations/createdataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +4 -4
- package/packages/orq-rc/src/models/operations/createdatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/createeval.ts +16 -16
- package/packages/orq-rc/src/models/operations/createidentity.ts +1 -1
- package/packages/orq-rc/src/models/operations/createimage.ts +0 -6
- package/packages/orq-rc/src/models/operations/createimageedit.ts +1 -1
- package/packages/orq-rc/src/models/operations/createimagevariation.ts +1 -1
- package/packages/orq-rc/src/models/operations/createresponse.ts +180 -40
- package/packages/orq-rc/src/models/operations/createtool.ts +6 -6
- package/packages/orq-rc/src/models/operations/getalltools.ts +6 -6
- package/packages/orq-rc/src/models/operations/getevals.ts +16 -16
- package/packages/orq-rc/src/models/operations/getv2humanevals.ts +6 -6
- package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/getv2humanevalsid.ts +6 -6
- package/packages/orq-rc/src/models/operations/invokeagent.ts +0 -24
- package/packages/orq-rc/src/models/operations/listagents.ts +0 -14
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/packages/orq-rc/src/models/operations/listdatasets.ts +1 -1
- package/packages/orq-rc/src/models/operations/listdatasources.ts +1 -1
- package/packages/orq-rc/src/models/operations/listidentities.ts +1 -1
- package/packages/orq-rc/src/models/operations/parse.ts +0 -7
- package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/patchv2humanevalsid.ts +12 -12
- package/packages/orq-rc/src/models/operations/postv2agentsa2a.ts +14 -17
- package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/packages/orq-rc/src/models/operations/postv2humanevals.ts +12 -12
- package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrieveagentrequest.ts +0 -16
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +4 -4
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrieveidentity.ts +1 -58
- package/packages/orq-rc/src/models/operations/retrievetool.ts +6 -6
- package/packages/orq-rc/src/models/operations/runagent.ts +1 -25
- package/packages/orq-rc/src/models/operations/streamagent.ts +0 -24
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +1 -25
- package/packages/orq-rc/src/models/operations/updateagent.ts +0 -31
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +4 -4
- package/packages/orq-rc/src/models/operations/updatedataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/updateeval.ts +16 -16
- package/packages/orq-rc/src/models/operations/updateidentity.ts +1 -1
- package/packages/orq-rc/src/models/operations/updatetool.ts +7 -7
- package/src/lib/config.ts +3 -3
- package/src/lib/security.ts +14 -2
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createcontact.ts +1 -1
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +4 -4
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/createeval.ts +16 -16
- package/src/models/operations/createidentity.ts +1 -1
- package/src/models/operations/createimageedit.ts +1 -1
- package/src/models/operations/createimagevariation.ts +1 -1
- package/src/models/operations/createresponse.ts +180 -40
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getevals.ts +16 -16
- package/src/models/operations/getv2humanevals.ts +6 -6
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/getv2humanevalsid.ts +6 -6
- package/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listdatasources.ts +1 -1
- package/src/models/operations/listidentities.ts +1 -1
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/patchv2humanevalsid.ts +12 -12
- package/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/src/models/operations/postv2humanevals.ts +12 -12
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +4 -4
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievedatasource.ts +1 -1
- package/src/models/operations/retrieveidentity.ts +1 -1
- 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/updatedatapoint.ts +4 -4
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updateeval.ts +16 -16
- package/src/models/operations/updateidentity.ts +1 -1
- package/src/models/operations/updatetool.ts +7 -7
|
@@ -60,7 +60,7 @@ exports.RetrieveIdentityResponseBody$inboundSchema = z.object({
|
|
|
60
60
|
metadata: z.record(z.any()).optional(),
|
|
61
61
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
62
62
|
.optional(),
|
|
63
|
-
updated: z.string().datetime({ offset: true }).default("2026-
|
|
63
|
+
updated: z.string().datetime({ offset: true }).default("2026-04-01T06:57:21.910Z").transform(v => new Date(v)),
|
|
64
64
|
}).transform((v) => {
|
|
65
65
|
return (0, primitives_js_1.remap)(v, {
|
|
66
66
|
"_id": "id",
|
|
@@ -187,7 +187,7 @@ function retrieveToolResponseBodyCodeToolFromJSON(jsonString) {
|
|
|
187
187
|
}
|
|
188
188
|
/** @internal */
|
|
189
189
|
exports.RetrieveToolResponseBodyCodeExecutionTool$inboundSchema = z.object({
|
|
190
|
-
_id: z.string().default("
|
|
190
|
+
_id: z.string().default("tool_01KN3XARRWBH5EZMBZ8GMNMART"),
|
|
191
191
|
path: z.string(),
|
|
192
192
|
key: z.string(),
|
|
193
193
|
display_name: z.string().optional(),
|
|
@@ -242,7 +242,7 @@ function retrieveToolResponseBodyToolsSchemaFromJSON(jsonString) {
|
|
|
242
242
|
}
|
|
243
243
|
/** @internal */
|
|
244
244
|
exports.RetrieveToolResponseBodyTools$inboundSchema = z.object({
|
|
245
|
-
id: z.string().default("
|
|
245
|
+
id: z.string().default("01KN3XARRVCW8B9C7Z1QQQA03C"),
|
|
246
246
|
name: z.string(),
|
|
247
247
|
description: z.string().optional(),
|
|
248
248
|
schema: z.lazy(() => exports.RetrieveToolResponseBodyToolsSchema$inboundSchema),
|
|
@@ -270,7 +270,7 @@ function retrieveToolResponseBodyMcpFromJSON(jsonString) {
|
|
|
270
270
|
}
|
|
271
271
|
/** @internal */
|
|
272
272
|
exports.RetrieveToolResponseBodyMCPTool$inboundSchema = z.object({
|
|
273
|
-
_id: z.string().default("
|
|
273
|
+
_id: z.string().default("tool_01KN3XARRTCH1K29R9D4VNFZEY"),
|
|
274
274
|
path: z.string(),
|
|
275
275
|
key: z.string(),
|
|
276
276
|
display_name: z.string().optional(),
|
|
@@ -359,7 +359,7 @@ function retrieveToolResponseBodyHttpFromJSON(jsonString) {
|
|
|
359
359
|
}
|
|
360
360
|
/** @internal */
|
|
361
361
|
exports.RetrieveToolResponseBodyHTTPTool$inboundSchema = z.object({
|
|
362
|
-
_id: z.string().default("
|
|
362
|
+
_id: z.string().default("tool_01KN3XARRRG448X5TTJY41HYXM"),
|
|
363
363
|
path: z.string(),
|
|
364
364
|
key: z.string(),
|
|
365
365
|
display_name: z.string().optional(),
|
|
@@ -411,7 +411,7 @@ function retrieveToolResponseBodyJsonSchemaFromJSON(jsonString) {
|
|
|
411
411
|
}
|
|
412
412
|
/** @internal */
|
|
413
413
|
exports.RetrieveToolResponseBodyJSONSchemaTool$inboundSchema = z.object({
|
|
414
|
-
_id: z.string().default("
|
|
414
|
+
_id: z.string().default("tool_01KN3XARRQY89ZJ033R0B5J40R"),
|
|
415
415
|
path: z.string(),
|
|
416
416
|
key: z.string(),
|
|
417
417
|
display_name: z.string().optional(),
|
|
@@ -467,7 +467,7 @@ function retrieveToolResponseBodyFunctionFromJSON(jsonString) {
|
|
|
467
467
|
}
|
|
468
468
|
/** @internal */
|
|
469
469
|
exports.RetrieveToolResponseBodyFunctionTool$inboundSchema = z.object({
|
|
470
|
-
_id: z.string().default("
|
|
470
|
+
_id: z.string().default("tool_01KN3XARRN7FYHR3EDNGMMY9Z7"),
|
|
471
471
|
path: z.string(),
|
|
472
472
|
key: z.string(),
|
|
473
473
|
display_name: z.string().optional(),
|
|
@@ -992,7 +992,7 @@ function agentToolInputRunSchemaToJSON(agentToolInputRunSchema) {
|
|
|
992
992
|
}
|
|
993
993
|
/** @internal */
|
|
994
994
|
exports.Tools$outboundSchema = z.object({
|
|
995
|
-
id: z.string().default("
|
|
995
|
+
id: z.string().default("01KN3XARBNRNPWM3J08JQKJKGF"),
|
|
996
996
|
name: z.string(),
|
|
997
997
|
description: z.string().optional(),
|
|
998
998
|
schema: z.lazy(() => exports.AgentToolInputRunSchema$outboundSchema),
|
|
@@ -955,7 +955,7 @@ function streamRunAgentAgentToolInputRunAgentsSchemaToJSON(streamRunAgentAgentTo
|
|
|
955
955
|
}
|
|
956
956
|
/** @internal */
|
|
957
957
|
exports.AgentToolInputRunTools$outboundSchema = z.object({
|
|
958
|
-
id: z.string().default("
|
|
958
|
+
id: z.string().default("01KN3XARDN7A8434EDD4BM2D0J"),
|
|
959
959
|
name: z.string(),
|
|
960
960
|
description: z.string().optional(),
|
|
961
961
|
schema: z.lazy(() => exports.StreamRunAgentAgentToolInputRunAgentsSchema$outboundSchema),
|
|
@@ -745,7 +745,7 @@ exports.UpdateDatapointEvaluations3$inboundSchema = z.object({
|
|
|
745
745
|
source: exports.UpdateDatapointEvaluationsDatasetsResponseSource$inboundSchema
|
|
746
746
|
.default("orq"),
|
|
747
747
|
reviewed_by_id: z.string(),
|
|
748
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-
|
|
748
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-04-01T06:57:40.327Z").transform(v => new Date(v)),
|
|
749
749
|
type: z.literal("string_array"),
|
|
750
750
|
values: z.array(z.string()),
|
|
751
751
|
}).transform((v) => {
|
|
@@ -772,7 +772,7 @@ exports.UpdateDatapointEvaluations2$inboundSchema = z.object({
|
|
|
772
772
|
human_review_id: z.string(),
|
|
773
773
|
source: exports.UpdateDatapointEvaluationsDatasetsSource$inboundSchema.default("orq"),
|
|
774
774
|
reviewed_by_id: z.string(),
|
|
775
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-
|
|
775
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-04-01T06:57:40.327Z").transform(v => new Date(v)),
|
|
776
776
|
type: z.literal("number"),
|
|
777
777
|
value: z.number(),
|
|
778
778
|
}).transform((v) => {
|
|
@@ -798,7 +798,7 @@ exports.UpdateDatapointEvaluations1$inboundSchema = z.object({
|
|
|
798
798
|
human_review_id: z.string(),
|
|
799
799
|
source: exports.UpdateDatapointEvaluationsSource$inboundSchema.default("orq"),
|
|
800
800
|
reviewed_by_id: z.string(),
|
|
801
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-
|
|
801
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-04-01T06:57:40.326Z").transform(v => new Date(v)),
|
|
802
802
|
type: z.literal("string"),
|
|
803
803
|
value: z.string(),
|
|
804
804
|
}).transform((v) => {
|
|
@@ -845,7 +845,7 @@ exports.UpdateDatapointResponseBody$inboundSchema = z.object({
|
|
|
845
845
|
updated_by_id: z.string().optional(),
|
|
846
846
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
847
847
|
.optional(),
|
|
848
|
-
updated: z.string().datetime({ offset: true }).default("2026-
|
|
848
|
+
updated: z.string().datetime({ offset: true }).default("2026-04-01T06:57:21.910Z").transform(v => new Date(v)),
|
|
849
849
|
}).transform((v) => {
|
|
850
850
|
return (0, primitives_js_1.remap)(v, {
|
|
851
851
|
"_id": "id",
|
|
@@ -95,7 +95,7 @@ exports.UpdateDatasetResponseBody$inboundSchema = z.object({
|
|
|
95
95
|
updated_by_id: z.string().optional(),
|
|
96
96
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
97
97
|
.optional(),
|
|
98
|
-
updated: z.string().datetime({ offset: true }).default("2026-
|
|
98
|
+
updated: z.string().datetime({ offset: true }).default("2026-04-01T06:57:21.910Z").transform(v => new Date(v)),
|
|
99
99
|
}).transform((v) => {
|
|
100
100
|
return (0, primitives_js_1.remap)(v, {
|
|
101
101
|
"_id": "id",
|
|
@@ -80,7 +80,7 @@ function updateDatasourceRequestToJSON(updateDatasourceRequest) {
|
|
|
80
80
|
exports.UpdateDatasourceStatus$inboundSchema = z.nativeEnum(exports.UpdateDatasourceStatus);
|
|
81
81
|
/** @internal */
|
|
82
82
|
exports.UpdateDatasourceResponseBody$inboundSchema = z.object({
|
|
83
|
-
_id: z.string().default("
|
|
83
|
+
_id: z.string().default("01KN3XARW30F42196K0FHBV5B3"),
|
|
84
84
|
display_name: z.string(),
|
|
85
85
|
description: z.string().optional(),
|
|
86
86
|
status: exports.UpdateDatasourceStatus$inboundSchema,
|
|
@@ -416,8 +416,8 @@ exports.UpdateEvalResponseBodyEvalsResponse200ApplicationJson7Type$inboundSchema
|
|
|
416
416
|
exports.ResponseBodyTypescript$inboundSchema = z.object({
|
|
417
417
|
_id: z.string(),
|
|
418
418
|
description: z.string(),
|
|
419
|
-
created: z.string().default("2026-
|
|
420
|
-
updated: z.string().default("2026-
|
|
419
|
+
created: z.string().default("2026-04-01T06:57:24.533Z"),
|
|
420
|
+
updated: z.string().default("2026-04-01T06:57:24.533Z"),
|
|
421
421
|
guardrail_config: z.union([
|
|
422
422
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$inboundSchema),
|
|
423
423
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema),
|
|
@@ -484,8 +484,8 @@ exports.ResponseBodyRagasMetric$inboundSchema = z.nativeEnum(exports.ResponseBod
|
|
|
484
484
|
exports.ResponseBodyRagas$inboundSchema = z.object({
|
|
485
485
|
_id: z.string(),
|
|
486
486
|
description: z.string(),
|
|
487
|
-
created: z.string().default("2026-
|
|
488
|
-
updated: z.string().default("2026-
|
|
487
|
+
created: z.string().default("2026-04-01T06:57:24.533Z"),
|
|
488
|
+
updated: z.string().default("2026-04-01T06:57:24.533Z"),
|
|
489
489
|
guardrail_config: z.union([
|
|
490
490
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$inboundSchema),
|
|
491
491
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema),
|
|
@@ -825,8 +825,8 @@ function responseBodyFunctionParamsFromJSON(jsonString) {
|
|
|
825
825
|
exports.ResponseBodyFunction$inboundSchema = z.object({
|
|
826
826
|
_id: z.string(),
|
|
827
827
|
description: z.string(),
|
|
828
|
-
created: z.string().default("2026-
|
|
829
|
-
updated: z.string().default("2026-
|
|
828
|
+
created: z.string().default("2026-04-01T06:57:24.533Z"),
|
|
829
|
+
updated: z.string().default("2026-04-01T06:57:24.533Z"),
|
|
830
830
|
guardrail_config: z.union([
|
|
831
831
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200Boolean$inboundSchema),
|
|
832
832
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200Number$inboundSchema),
|
|
@@ -924,8 +924,8 @@ exports.UpdateEvalResponseBodyEvalsResponseType$inboundSchema = z
|
|
|
924
924
|
exports.UpdateEvalResponseBodyPython$inboundSchema = z.object({
|
|
925
925
|
_id: z.string(),
|
|
926
926
|
description: z.string(),
|
|
927
|
-
created: z.string().default("2026-
|
|
928
|
-
updated: z.string().default("2026-
|
|
927
|
+
created: z.string().default("2026-04-01T06:57:24.533Z"),
|
|
928
|
+
updated: z.string().default("2026-04-01T06:57:24.533Z"),
|
|
929
929
|
guardrail_config: z.union([
|
|
930
930
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
931
931
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
@@ -989,8 +989,8 @@ exports.UpdateEvalResponseBodyMethod$inboundSchema = z.nativeEnum(exports.Update
|
|
|
989
989
|
exports.UpdateEvalResponseBodyHTTP$inboundSchema = z.object({
|
|
990
990
|
_id: z.string(),
|
|
991
991
|
description: z.string(),
|
|
992
|
-
created: z.string().default("2026-
|
|
993
|
-
updated: z.string().default("2026-
|
|
992
|
+
created: z.string().default("2026-04-01T06:57:24.533Z"),
|
|
993
|
+
updated: z.string().default("2026-04-01T06:57:24.533Z"),
|
|
994
994
|
guardrail_config: z.union([
|
|
995
995
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsBoolean$inboundSchema),
|
|
996
996
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsNumber$inboundSchema),
|
|
@@ -1055,8 +1055,8 @@ exports.UpdateEvalResponseBodyType$inboundSchema = z.nativeEnum(exports.UpdateEv
|
|
|
1055
1055
|
exports.UpdateEvalResponseBodyJSON$inboundSchema = z.object({
|
|
1056
1056
|
_id: z.string(),
|
|
1057
1057
|
description: z.string(),
|
|
1058
|
-
created: z.string().default("2026-
|
|
1059
|
-
updated: z.string().default("2026-
|
|
1058
|
+
created: z.string().default("2026-04-01T06:57:24.533Z"),
|
|
1059
|
+
updated: z.string().default("2026-04-01T06:57:24.533Z"),
|
|
1060
1060
|
guardrail_config: z.union([
|
|
1061
1061
|
z.lazy(() => exports.UpdateEvalGuardrailConfigBoolean$inboundSchema),
|
|
1062
1062
|
z.lazy(() => exports.UpdateEvalGuardrailConfigNumber$inboundSchema),
|
|
@@ -1196,8 +1196,8 @@ function updateEvalLLMJuryFromJSON(jsonString) {
|
|
|
1196
1196
|
exports.UpdateEvalLlm2$inboundSchema = z.object({
|
|
1197
1197
|
_id: z.string(),
|
|
1198
1198
|
description: z.string(),
|
|
1199
|
-
created: z.string().default("2026-
|
|
1200
|
-
updated: z.string().default("2026-
|
|
1199
|
+
created: z.string().default("2026-04-01T06:57:24.533Z"),
|
|
1200
|
+
updated: z.string().default("2026-04-01T06:57:24.533Z"),
|
|
1201
1201
|
guardrail_config: z.union([
|
|
1202
1202
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody1LLMBoolean$inboundSchema),
|
|
1203
1203
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody1LLMNumber$inboundSchema),
|
|
@@ -1264,8 +1264,8 @@ exports.UpdateEvalLLMType$inboundSchema = z.nativeEnum(exports.UpdateEvalLLMType
|
|
|
1264
1264
|
exports.UpdateEvalLlm1$inboundSchema = z.object({
|
|
1265
1265
|
_id: z.string(),
|
|
1266
1266
|
description: z.string(),
|
|
1267
|
-
created: z.string().default("2026-
|
|
1268
|
-
updated: z.string().default("2026-
|
|
1267
|
+
created: z.string().default("2026-04-01T06:57:24.533Z"),
|
|
1268
|
+
updated: z.string().default("2026-04-01T06:57:24.533Z"),
|
|
1269
1269
|
guardrail_config: z.union([
|
|
1270
1270
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody1Boolean$inboundSchema),
|
|
1271
1271
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody1Number$inboundSchema),
|
|
@@ -83,7 +83,7 @@ exports.UpdateIdentityResponseBody$inboundSchema = z.object({
|
|
|
83
83
|
metadata: z.record(z.any()).optional(),
|
|
84
84
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
85
85
|
.optional(),
|
|
86
|
-
updated: z.string().datetime({ offset: true }).default("2026-
|
|
86
|
+
updated: z.string().datetime({ offset: true }).default("2026-04-01T06:57:21.910Z").transform(v => new Date(v)),
|
|
87
87
|
}).transform((v) => {
|
|
88
88
|
return (0, primitives_js_1.remap)(v, {
|
|
89
89
|
"_id": "id",
|
|
@@ -371,7 +371,7 @@ function updateToolRequestBodyToolsSchemaToJSON(updateToolRequestBodyToolsSchema
|
|
|
371
371
|
}
|
|
372
372
|
/** @internal */
|
|
373
373
|
exports.RequestBodyTools$outboundSchema = z.object({
|
|
374
|
-
id: z.string().default("
|
|
374
|
+
id: z.string().default("01KN3XARR2RWE0Q42PTKMQVGY0"),
|
|
375
375
|
name: z.string(),
|
|
376
376
|
description: z.string().optional(),
|
|
377
377
|
schema: z.lazy(() => exports.UpdateToolRequestBodyToolsSchema$outboundSchema),
|
|
@@ -664,7 +664,7 @@ function updateToolResponseBodyCodeToolFromJSON(jsonString) {
|
|
|
664
664
|
}
|
|
665
665
|
/** @internal */
|
|
666
666
|
exports.UpdateToolResponseBodyCodeExecutionTool$inboundSchema = z.object({
|
|
667
|
-
_id: z.string().default("
|
|
667
|
+
_id: z.string().default("tool_01KN3XARQWVNGQP868Q4V5CBDZ"),
|
|
668
668
|
path: z.string(),
|
|
669
669
|
key: z.string(),
|
|
670
670
|
display_name: z.string().optional(),
|
|
@@ -719,7 +719,7 @@ function updateToolResponseBodyToolsSchemaFromJSON(jsonString) {
|
|
|
719
719
|
}
|
|
720
720
|
/** @internal */
|
|
721
721
|
exports.UpdateToolResponseBodyTools$inboundSchema = z.object({
|
|
722
|
-
id: z.string().default("
|
|
722
|
+
id: z.string().default("01KN3XARQV3G0RZJHMDRT449G7"),
|
|
723
723
|
name: z.string(),
|
|
724
724
|
description: z.string().optional(),
|
|
725
725
|
schema: z.lazy(() => exports.UpdateToolResponseBodyToolsSchema$inboundSchema),
|
|
@@ -747,7 +747,7 @@ function updateToolResponseBodyMcpFromJSON(jsonString) {
|
|
|
747
747
|
}
|
|
748
748
|
/** @internal */
|
|
749
749
|
exports.UpdateToolResponseBodyMCPTool$inboundSchema = z.object({
|
|
750
|
-
_id: z.string().default("
|
|
750
|
+
_id: z.string().default("tool_01KN3XARQTVG7RKXTY2YJH3HXE"),
|
|
751
751
|
path: z.string(),
|
|
752
752
|
key: z.string(),
|
|
753
753
|
display_name: z.string().optional(),
|
|
@@ -836,7 +836,7 @@ function updateToolResponseBodyHttpFromJSON(jsonString) {
|
|
|
836
836
|
}
|
|
837
837
|
/** @internal */
|
|
838
838
|
exports.UpdateToolResponseBodyHTTPTool$inboundSchema = z.object({
|
|
839
|
-
_id: z.string().default("
|
|
839
|
+
_id: z.string().default("tool_01KN3XARQRMJE4VEPB8SKW4TSG"),
|
|
840
840
|
path: z.string(),
|
|
841
841
|
key: z.string(),
|
|
842
842
|
display_name: z.string().optional(),
|
|
@@ -888,7 +888,7 @@ function updateToolResponseBodyJsonSchemaFromJSON(jsonString) {
|
|
|
888
888
|
}
|
|
889
889
|
/** @internal */
|
|
890
890
|
exports.UpdateToolResponseBodyJSONSchemaTool$inboundSchema = z.object({
|
|
891
|
-
_id: z.string().default("
|
|
891
|
+
_id: z.string().default("tool_01KN3XARQPJWFZCZMB3RBT507D"),
|
|
892
892
|
path: z.string(),
|
|
893
893
|
key: z.string(),
|
|
894
894
|
display_name: z.string().optional(),
|
|
@@ -944,7 +944,7 @@ function updateToolResponseBodyFunctionFromJSON(jsonString) {
|
|
|
944
944
|
}
|
|
945
945
|
/** @internal */
|
|
946
946
|
exports.UpdateToolResponseBodyFunctionTool$inboundSchema = z.object({
|
|
947
|
-
_id: z.string().default("
|
|
947
|
+
_id: z.string().default("tool_01KN3XARQNC26B6TTPN9AAWN6H"),
|
|
948
948
|
path: z.string(),
|
|
949
949
|
key: z.string(),
|
|
950
950
|
display_name: z.string().optional(),
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import { OrqCore } from "../core.js";
|
|
6
|
-
import {
|
|
6
|
+
import { encodeSimple } from "../lib/encodings.js";
|
|
7
7
|
import * as M from "../lib/matchers.js";
|
|
8
8
|
import { compactMap } from "../lib/primitives.js";
|
|
9
9
|
import { safeParse } from "../lib/schemas.js";
|
|
@@ -39,7 +39,6 @@ export function identitiesRetrieve(
|
|
|
39
39
|
Result<
|
|
40
40
|
operations.RetrieveIdentityResponseBody,
|
|
41
41
|
| errors.RetrieveIdentityResponseBody
|
|
42
|
-
| errors.RetrieveIdentityIdentitiesResponseBody
|
|
43
42
|
| OrqError
|
|
44
43
|
| ResponseValidationError
|
|
45
44
|
| ConnectionError
|
|
@@ -66,7 +65,6 @@ async function $do(
|
|
|
66
65
|
Result<
|
|
67
66
|
operations.RetrieveIdentityResponseBody,
|
|
68
67
|
| errors.RetrieveIdentityResponseBody
|
|
69
|
-
| errors.RetrieveIdentityIdentitiesResponseBody
|
|
70
68
|
| OrqError
|
|
71
69
|
| ResponseValidationError
|
|
72
70
|
| ConnectionError
|
|
@@ -98,10 +96,6 @@ async function $do(
|
|
|
98
96
|
};
|
|
99
97
|
const path = pathToFunc("/v2/identities/{id}")(pathParams);
|
|
100
98
|
|
|
101
|
-
const query = encodeFormQuery({
|
|
102
|
-
"include_metrics": payload.include_metrics,
|
|
103
|
-
});
|
|
104
|
-
|
|
105
99
|
const headers = new Headers(compactMap({
|
|
106
100
|
Accept: "application/json",
|
|
107
101
|
}));
|
|
@@ -131,7 +125,6 @@ async function $do(
|
|
|
131
125
|
baseURL: options?.serverURL,
|
|
132
126
|
path: path,
|
|
133
127
|
headers: headers,
|
|
134
|
-
query: query,
|
|
135
128
|
body: body,
|
|
136
129
|
userAgent: client._options.userAgent,
|
|
137
130
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || 600000,
|
|
@@ -143,7 +136,7 @@ async function $do(
|
|
|
143
136
|
|
|
144
137
|
const doResult = await client._do(req, {
|
|
145
138
|
context,
|
|
146
|
-
errorCodes: ["404", "4XX", "
|
|
139
|
+
errorCodes: ["404", "4XX", "5XX"],
|
|
147
140
|
retryConfig: context.retryConfig,
|
|
148
141
|
retryCodes: context.retryCodes,
|
|
149
142
|
});
|
|
@@ -159,7 +152,6 @@ async function $do(
|
|
|
159
152
|
const [result] = await M.match<
|
|
160
153
|
operations.RetrieveIdentityResponseBody,
|
|
161
154
|
| errors.RetrieveIdentityResponseBody
|
|
162
|
-
| errors.RetrieveIdentityIdentitiesResponseBody
|
|
163
155
|
| OrqError
|
|
164
156
|
| ResponseValidationError
|
|
165
157
|
| ConnectionError
|
|
@@ -171,7 +163,6 @@ async function $do(
|
|
|
171
163
|
>(
|
|
172
164
|
M.json(200, operations.RetrieveIdentityResponseBody$inboundSchema),
|
|
173
165
|
M.jsonErr(404, errors.RetrieveIdentityResponseBody$inboundSchema),
|
|
174
|
-
M.jsonErr(500, errors.RetrieveIdentityIdentitiesResponseBody$inboundSchema),
|
|
175
166
|
M.fail("4XX"),
|
|
176
167
|
M.fail("5XX"),
|
|
177
168
|
)(response, req, { extraFields: responseFields });
|
|
@@ -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: "4.7.0-rc.
|
|
72
|
-
genVersion: "2.
|
|
73
|
-
userAgent: "speakeasy-sdk/typescript 4.7.0-rc.
|
|
71
|
+
sdkVersion: "4.7.0-rc.37",
|
|
72
|
+
genVersion: "2.879.1",
|
|
73
|
+
userAgent: "speakeasy-sdk/typescript 4.7.0-rc.37 2.879.1 2.0 @orq-ai/node",
|
|
74
74
|
} as const;
|
|
@@ -240,8 +240,9 @@ function applyBearer(
|
|
|
240
240
|
|
|
241
241
|
export function resolveGlobalSecurity(
|
|
242
242
|
security: Partial<components.Security> | null | undefined,
|
|
243
|
+
allowedFields?: number[],
|
|
243
244
|
): SecurityState | null {
|
|
244
|
-
|
|
245
|
+
let inputs: SecurityInput[][] = [
|
|
245
246
|
[
|
|
246
247
|
{
|
|
247
248
|
fieldName: "Authorization",
|
|
@@ -249,7 +250,18 @@ export function resolveGlobalSecurity(
|
|
|
249
250
|
value: security?.apiKey ?? env().ORQ_API_KEY,
|
|
250
251
|
},
|
|
251
252
|
],
|
|
252
|
-
|
|
253
|
+
];
|
|
254
|
+
|
|
255
|
+
if (allowedFields) {
|
|
256
|
+
inputs = allowedFields.map((i) => {
|
|
257
|
+
if (i < 0 || i >= inputs.length) {
|
|
258
|
+
throw new RangeError(`invalid allowedFields index ${i}`);
|
|
259
|
+
}
|
|
260
|
+
return inputs[i]!;
|
|
261
|
+
});
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
return resolveSecurity(...inputs);
|
|
253
265
|
}
|
|
254
266
|
|
|
255
267
|
export async function extractSecurity<
|
|
@@ -40,7 +40,7 @@ export const ReasoningPart$inboundSchema: z.ZodType<
|
|
|
40
40
|
z.ZodTypeDef,
|
|
41
41
|
unknown
|
|
42
42
|
> = z.object({
|
|
43
|
-
_id: z.string().default("
|
|
43
|
+
_id: z.string().default("reasoning_01kn3xar7m3e5sq5meprkm7ec6"),
|
|
44
44
|
metadata: z.record(z.any()).optional(),
|
|
45
45
|
kind: z.literal("reasoning"),
|
|
46
46
|
reasoning: z.string(),
|
|
@@ -5,43 +5,6 @@
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
import { OrqError } from "./orqerror.js";
|
|
7
7
|
|
|
8
|
-
/**
|
|
9
|
-
* Failed to fetch metrics
|
|
10
|
-
*/
|
|
11
|
-
export type RetrieveIdentityIdentitiesResponseBodyData = {
|
|
12
|
-
/**
|
|
13
|
-
* Error message
|
|
14
|
-
*/
|
|
15
|
-
error: string;
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* Failed to fetch metrics
|
|
20
|
-
*/
|
|
21
|
-
export class RetrieveIdentityIdentitiesResponseBody extends OrqError {
|
|
22
|
-
/**
|
|
23
|
-
* Error message
|
|
24
|
-
*/
|
|
25
|
-
error: string;
|
|
26
|
-
|
|
27
|
-
/** The original data that was passed to this error instance. */
|
|
28
|
-
data$: RetrieveIdentityIdentitiesResponseBodyData;
|
|
29
|
-
|
|
30
|
-
constructor(
|
|
31
|
-
err: RetrieveIdentityIdentitiesResponseBodyData,
|
|
32
|
-
httpMeta: { response: Response; request: Request; body: string },
|
|
33
|
-
) {
|
|
34
|
-
const message = "message" in err && typeof err.message === "string"
|
|
35
|
-
? err.message
|
|
36
|
-
: `API error occurred: ${JSON.stringify(err)}`;
|
|
37
|
-
super(message, httpMeta);
|
|
38
|
-
this.data$ = err;
|
|
39
|
-
this.error = err.error;
|
|
40
|
-
|
|
41
|
-
this.name = "RetrieveIdentityIdentitiesResponseBody";
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
8
|
/**
|
|
46
9
|
* Identity not found
|
|
47
10
|
*/
|
|
@@ -79,25 +42,6 @@ export class RetrieveIdentityResponseBody extends OrqError {
|
|
|
79
42
|
}
|
|
80
43
|
}
|
|
81
44
|
|
|
82
|
-
/** @internal */
|
|
83
|
-
export const RetrieveIdentityIdentitiesResponseBody$inboundSchema: z.ZodType<
|
|
84
|
-
RetrieveIdentityIdentitiesResponseBody,
|
|
85
|
-
z.ZodTypeDef,
|
|
86
|
-
unknown
|
|
87
|
-
> = z.object({
|
|
88
|
-
error: z.string(),
|
|
89
|
-
request$: z.instanceof(Request),
|
|
90
|
-
response$: z.instanceof(Response),
|
|
91
|
-
body$: z.string(),
|
|
92
|
-
})
|
|
93
|
-
.transform((v) => {
|
|
94
|
-
return new RetrieveIdentityIdentitiesResponseBody(v, {
|
|
95
|
-
request: v.request$,
|
|
96
|
-
response: v.response$,
|
|
97
|
-
body: v.body$,
|
|
98
|
-
});
|
|
99
|
-
});
|
|
100
|
-
|
|
101
45
|
/** @internal */
|
|
102
46
|
export const RetrieveIdentityResponseBody$inboundSchema: z.ZodType<
|
|
103
47
|
RetrieveIdentityResponseBody,
|
|
@@ -1398,13 +1398,6 @@ export const Source = {
|
|
|
1398
1398
|
} as const;
|
|
1399
1399
|
export type Source = ClosedEnum<typeof Source>;
|
|
1400
1400
|
|
|
1401
|
-
export const Engine = {
|
|
1402
|
-
Text: "text",
|
|
1403
|
-
Jinja: "jinja",
|
|
1404
|
-
Mustache: "mustache",
|
|
1405
|
-
} as const;
|
|
1406
|
-
export type Engine = ClosedEnum<typeof Engine>;
|
|
1407
|
-
|
|
1408
1401
|
export type CreateAgentRequestRequestBody = {
|
|
1409
1402
|
/**
|
|
1410
1403
|
* Unique identifier for the agent within the workspace
|
|
@@ -1464,7 +1457,6 @@ export type CreateAgentRequestRequestBody = {
|
|
|
1464
1457
|
teamOfAgents?: Array<TeamOfAgents> | undefined;
|
|
1465
1458
|
variables?: { [k: string]: any } | undefined;
|
|
1466
1459
|
source?: Source | undefined;
|
|
1467
|
-
engine?: Engine | undefined;
|
|
1468
1460
|
};
|
|
1469
1461
|
|
|
1470
1462
|
/**
|
|
@@ -1514,15 +1506,6 @@ export type CreateAgentRequestSource = ClosedEnum<
|
|
|
1514
1506
|
typeof CreateAgentRequestSource
|
|
1515
1507
|
>;
|
|
1516
1508
|
|
|
1517
|
-
export const CreateAgentRequestEngine = {
|
|
1518
|
-
Text: "text",
|
|
1519
|
-
Jinja: "jinja",
|
|
1520
|
-
Mustache: "mustache",
|
|
1521
|
-
} as const;
|
|
1522
|
-
export type CreateAgentRequestEngine = ClosedEnum<
|
|
1523
|
-
typeof CreateAgentRequestEngine
|
|
1524
|
-
>;
|
|
1525
|
-
|
|
1526
1509
|
/**
|
|
1527
1510
|
* Agent type: internal (Orquesta-managed) or a2a (external A2A-compliant)
|
|
1528
1511
|
*/
|
|
@@ -2601,7 +2584,6 @@ export type CreateAgentRequestResponseBody = {
|
|
|
2601
2584
|
*/
|
|
2602
2585
|
knowledgeBases?: Array<CreateAgentRequestKnowledgeBases> | undefined;
|
|
2603
2586
|
source?: CreateAgentRequestSource | undefined;
|
|
2604
|
-
engine: CreateAgentRequestEngine;
|
|
2605
2587
|
/**
|
|
2606
2588
|
* Agent type: internal (Orquesta-managed) or a2a (external A2A-compliant)
|
|
2607
2589
|
*/
|
|
@@ -4732,10 +4714,6 @@ export function teamOfAgentsToJSON(teamOfAgents: TeamOfAgents): string {
|
|
|
4732
4714
|
export const Source$outboundSchema: z.ZodNativeEnum<typeof Source> = z
|
|
4733
4715
|
.nativeEnum(Source);
|
|
4734
4716
|
|
|
4735
|
-
/** @internal */
|
|
4736
|
-
export const Engine$outboundSchema: z.ZodNativeEnum<typeof Engine> = z
|
|
4737
|
-
.nativeEnum(Engine);
|
|
4738
|
-
|
|
4739
4717
|
/** @internal */
|
|
4740
4718
|
export type CreateAgentRequestRequestBody$Outbound = {
|
|
4741
4719
|
key: string;
|
|
@@ -4755,7 +4733,6 @@ export type CreateAgentRequestRequestBody$Outbound = {
|
|
|
4755
4733
|
team_of_agents?: Array<TeamOfAgents$Outbound> | undefined;
|
|
4756
4734
|
variables?: { [k: string]: any } | undefined;
|
|
4757
4735
|
source?: string | undefined;
|
|
4758
|
-
engine: string;
|
|
4759
4736
|
};
|
|
4760
4737
|
|
|
4761
4738
|
/** @internal */
|
|
@@ -4788,7 +4765,6 @@ export const CreateAgentRequestRequestBody$outboundSchema: z.ZodType<
|
|
|
4788
4765
|
teamOfAgents: z.array(z.lazy(() => TeamOfAgents$outboundSchema)).optional(),
|
|
4789
4766
|
variables: z.record(z.any()).optional(),
|
|
4790
4767
|
source: Source$outboundSchema.optional(),
|
|
4791
|
-
engine: Engine$outboundSchema.default("text"),
|
|
4792
4768
|
}).transform((v) => {
|
|
4793
4769
|
return remap$(v, {
|
|
4794
4770
|
displayName: "display_name",
|
|
@@ -4886,11 +4862,6 @@ export const CreateAgentRequestSource$inboundSchema: z.ZodNativeEnum<
|
|
|
4886
4862
|
typeof CreateAgentRequestSource
|
|
4887
4863
|
> = z.nativeEnum(CreateAgentRequestSource);
|
|
4888
4864
|
|
|
4889
|
-
/** @internal */
|
|
4890
|
-
export const CreateAgentRequestEngine$inboundSchema: z.ZodNativeEnum<
|
|
4891
|
-
typeof CreateAgentRequestEngine
|
|
4892
|
-
> = z.nativeEnum(CreateAgentRequestEngine);
|
|
4893
|
-
|
|
4894
4865
|
/** @internal */
|
|
4895
4866
|
export const CreateAgentRequestType$inboundSchema: z.ZodNativeEnum<
|
|
4896
4867
|
typeof CreateAgentRequestType
|
|
@@ -6424,7 +6395,6 @@ export const CreateAgentRequestResponseBody$inboundSchema: z.ZodType<
|
|
|
6424
6395
|
z.lazy(() => CreateAgentRequestKnowledgeBases$inboundSchema),
|
|
6425
6396
|
).optional(),
|
|
6426
6397
|
source: CreateAgentRequestSource$inboundSchema.optional(),
|
|
6427
|
-
engine: CreateAgentRequestEngine$inboundSchema.default("text"),
|
|
6428
6398
|
type: CreateAgentRequestType$inboundSchema.default("internal"),
|
|
6429
6399
|
role: z.string(),
|
|
6430
6400
|
description: z.string(),
|
|
@@ -156,21 +156,6 @@ export type Memory = {
|
|
|
156
156
|
entityId: string;
|
|
157
157
|
};
|
|
158
158
|
|
|
159
|
-
/**
|
|
160
|
-
* Override template engine for this invocation. If not provided, uses the agent default.
|
|
161
|
-
*/
|
|
162
|
-
export const CreateAgentResponseRequestEngine = {
|
|
163
|
-
Text: "text",
|
|
164
|
-
Jinja: "jinja",
|
|
165
|
-
Mustache: "mustache",
|
|
166
|
-
} as const;
|
|
167
|
-
/**
|
|
168
|
-
* Override template engine for this invocation. If not provided, uses the agent default.
|
|
169
|
-
*/
|
|
170
|
-
export type CreateAgentResponseRequestEngine = ClosedEnum<
|
|
171
|
-
typeof CreateAgentResponseRequestEngine
|
|
172
|
-
>;
|
|
173
|
-
|
|
174
159
|
/**
|
|
175
160
|
* Configuration options for the agent invocation
|
|
176
161
|
*/
|
|
@@ -226,10 +211,6 @@ export type CreateAgentResponseRequestRequestBody = {
|
|
|
226
211
|
* Optional metadata for the agent invocation as key-value pairs that will be included in traces
|
|
227
212
|
*/
|
|
228
213
|
metadata?: { [k: string]: any } | undefined;
|
|
229
|
-
/**
|
|
230
|
-
* Override template engine for this invocation. If not provided, uses the agent default.
|
|
231
|
-
*/
|
|
232
|
-
engine?: CreateAgentResponseRequestEngine | undefined;
|
|
233
214
|
/**
|
|
234
215
|
* Configuration options for the agent invocation
|
|
235
216
|
*/
|
|
@@ -478,11 +459,6 @@ export function memoryToJSON(memory: Memory): string {
|
|
|
478
459
|
return JSON.stringify(Memory$outboundSchema.parse(memory));
|
|
479
460
|
}
|
|
480
461
|
|
|
481
|
-
/** @internal */
|
|
482
|
-
export const CreateAgentResponseRequestEngine$outboundSchema: z.ZodNativeEnum<
|
|
483
|
-
typeof CreateAgentResponseRequestEngine
|
|
484
|
-
> = z.nativeEnum(CreateAgentResponseRequestEngine);
|
|
485
|
-
|
|
486
462
|
/** @internal */
|
|
487
463
|
export type Configuration$Outbound = {
|
|
488
464
|
blocking: boolean;
|
|
@@ -533,7 +509,6 @@ export type CreateAgentResponseRequestRequestBody$Outbound = {
|
|
|
533
509
|
thread?: CreateAgentResponseRequestThread$Outbound | undefined;
|
|
534
510
|
memory?: Memory$Outbound | undefined;
|
|
535
511
|
metadata?: { [k: string]: any } | undefined;
|
|
536
|
-
engine?: string | undefined;
|
|
537
512
|
configuration?: Configuration$Outbound | undefined;
|
|
538
513
|
background: boolean;
|
|
539
514
|
stream: boolean;
|
|
@@ -555,7 +530,6 @@ export const CreateAgentResponseRequestRequestBody$outboundSchema: z.ZodType<
|
|
|
555
530
|
.optional(),
|
|
556
531
|
memory: z.lazy(() => Memory$outboundSchema).optional(),
|
|
557
532
|
metadata: z.record(z.any()).optional(),
|
|
558
|
-
engine: CreateAgentResponseRequestEngine$outboundSchema.optional(),
|
|
559
533
|
configuration: z.lazy(() => Configuration$outboundSchema).optional(),
|
|
560
534
|
background: z.boolean().default(false),
|
|
561
535
|
stream: z.boolean().default(false),
|
|
@@ -134,7 +134,7 @@ export const CreateContactResponseBody$inboundSchema: z.ZodType<
|
|
|
134
134
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
135
135
|
.optional(),
|
|
136
136
|
updated: z.string().datetime({ offset: true }).default(
|
|
137
|
-
"2026-
|
|
137
|
+
"2026-04-01T06:57:21.910Z",
|
|
138
138
|
).transform(v => new Date(v)),
|
|
139
139
|
}).transform((v) => {
|
|
140
140
|
return remap$(v, {
|