@orq-ai/node 4.11.3 → 4.11.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/README.md +40 -36
- package/funcs/modelsImportLitellm.d.ts +17 -0
- package/funcs/modelsImportLitellm.d.ts.map +1 -0
- package/funcs/modelsImportLitellm.js +118 -0
- package/funcs/modelsImportLitellm.js.map +1 -0
- package/funcs/modelsListLitellm.d.ts +18 -0
- package/funcs/modelsListLitellm.d.ts.map +1 -0
- package/funcs/modelsListLitellm.js +105 -0
- package/funcs/modelsListLitellm.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/http.d.ts +1 -1
- package/lib/http.d.ts.map +1 -1
- package/lib/http.js +1 -1
- package/lib/http.js.map +1 -1
- package/lib/security.d.ts +5 -4
- package/lib/security.d.ts.map +1 -1
- package/lib/security.js +6 -7
- package/lib/security.js.map +1 -1
- 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.js +2 -2
- 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 +4 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +4 -0
- package/models/components/index.js.map +1 -1
- package/models/components/litellmmodel.d.ts +18 -0
- package/models/components/litellmmodel.d.ts.map +1 -0
- package/models/components/litellmmodel.js +60 -0
- package/models/components/litellmmodel.js.map +1 -0
- package/models/components/litellmmodelinfo.d.ts +44 -0
- package/models/components/litellmmodelinfo.d.ts.map +1 -0
- package/models/components/litellmmodelinfo.js +83 -0
- package/models/components/litellmmodelinfo.js.map +1 -0
- package/models/components/litellmparams.d.ts +18 -0
- package/models/components/litellmparams.d.ts.map +1 -0
- package/models/components/litellmparams.js +59 -0
- package/models/components/litellmparams.js.map +1 -0
- package/models/components/modeldocument.d.ts +39 -0
- package/models/components/modeldocument.d.ts.map +1 -0
- package/models/components/modeldocument.js +99 -0
- package/models/components/modeldocument.js.map +1 -0
- package/models/components/reasoningpart.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/createprompt.d.ts +3 -0
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +3 -0
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/deploymentinvoke.d.ts +3 -0
- package/models/operations/deploymentinvoke.d.ts.map +1 -1
- package/models/operations/deploymentinvoke.js +3 -0
- package/models/operations/deploymentinvoke.js.map +1 -1
- package/models/operations/deployments.d.ts +3 -0
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +3 -0
- package/models/operations/deployments.js.map +1 -1
- package/models/operations/deploymentstream.d.ts +3 -0
- package/models/operations/deploymentstream.d.ts.map +1 -1
- package/models/operations/deploymentstream.js +3 -0
- package/models/operations/deploymentstream.js.map +1 -1
- package/models/operations/getallprompts.d.ts +3 -0
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +3 -0
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getoneprompt.d.ts +3 -0
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +3 -0
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +3 -0
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +3 -0
- package/models/operations/getpromptversion.js.map +1 -1
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/invokeeval.d.ts +1 -1
- package/models/operations/invokeeval.d.ts.map +1 -1
- package/models/operations/invokeeval.js +1 -1
- package/models/operations/invokeeval.js.map +1 -1
- package/models/operations/listdatasetdatapoints.js +4 -4
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/listpromptversions.d.ts +3 -0
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +3 -0
- package/models/operations/listpromptversions.js.map +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +3 -3
- 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/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/updateprompt.d.ts +3 -0
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +3 -0
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +6 -6
- package/packages/orq-rc/src/funcs/agentsResponsesCreate.ts +2 -0
- package/packages/orq-rc/src/funcs/agentsResponsesGet.ts +2 -0
- package/packages/orq-rc/src/funcs/modelsImportLitellm.ts +166 -0
- package/packages/orq-rc/src/funcs/modelsListLitellm.ts +144 -0
- package/packages/orq-rc/src/funcs/notifiersList.ts +2 -0
- package/packages/orq-rc/src/funcs/reportingQuery.ts +3 -1
- package/packages/orq-rc/src/funcs/telemetryQuery.ts +162 -0
- package/packages/orq-rc/src/funcs/tracesAggregate.ts +3 -1
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/lib/http.ts +3 -1
- package/packages/orq-rc/src/lib/security.ts +10 -5
- package/packages/orq-rc/src/models/components/agentstartedstreamingevent.ts +6 -0
- package/packages/orq-rc/src/models/components/apikey.ts +6 -0
- package/packages/orq-rc/src/models/components/budget.ts +6 -0
- package/packages/orq-rc/src/models/components/budgetalert.ts +92 -0
- package/packages/orq-rc/src/models/components/budgetalertdimension.ts +22 -0
- package/packages/orq-rc/src/models/components/config.ts +44 -0
- package/packages/orq-rc/src/models/components/createbudgetrequest.ts +14 -0
- package/packages/orq-rc/src/models/components/evaluatorresponsefunction.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsehttp.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsejsonschema.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsellm.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsepython.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponseragas.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsetypescript.ts +2 -2
- package/packages/orq-rc/src/models/components/filepurpose.ts +1 -0
- package/packages/orq-rc/src/models/components/identity.ts +6 -0
- package/packages/orq-rc/src/models/components/index.ts +11 -0
- package/packages/orq-rc/src/models/components/litellmmodel.ts +50 -0
- package/packages/orq-rc/src/models/components/litellmmodelinfo.ts +97 -0
- package/packages/orq-rc/src/models/components/litellmparams.ts +43 -0
- package/packages/orq-rc/src/models/components/modeldocument.ts +115 -0
- package/packages/orq-rc/src/models/components/modelsconfig.ts +1 -0
- package/packages/orq-rc/src/models/components/querytelemetrymeta.ts +38 -0
- package/packages/orq-rc/src/models/components/querytelemetryrequest.ts +85 -0
- package/packages/orq-rc/src/models/components/querytelemetryresponse.ts +42 -0
- package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
- package/packages/orq-rc/src/models/components/telemetryrow.ts +42 -0
- package/packages/orq-rc/src/models/components/thinkingconfigenabledschema.ts +1 -0
- package/packages/orq-rc/src/models/components/updatebudgetrequest.ts +21 -0
- package/packages/orq-rc/src/models/operations/createagentrequest.ts +127 -40
- package/packages/orq-rc/src/models/operations/createchatcompletion.ts +1 -0
- package/packages/orq-rc/src/models/operations/createdataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +237 -19
- package/packages/orq-rc/src/models/operations/createdatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/createeval.ts +179 -175
- package/packages/orq-rc/src/models/operations/createknowledge.ts +18 -10
- package/packages/orq-rc/src/models/operations/createprompt.ts +6 -0
- package/packages/orq-rc/src/models/operations/createrouterresponse.ts +127 -26
- package/packages/orq-rc/src/models/operations/createtool.ts +6 -6
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +1 -0
- package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +3 -0
- package/packages/orq-rc/src/models/operations/deployments.ts +4 -0
- package/packages/orq-rc/src/models/operations/deploymentstream.ts +3 -0
- package/packages/orq-rc/src/models/operations/getallmemories.ts +1 -1
- package/packages/orq-rc/src/models/operations/getallmemorydocuments.ts +1 -1
- package/packages/orq-rc/src/models/operations/getallmemorystores.ts +1 -1
- package/packages/orq-rc/src/models/operations/getallprompts.ts +6 -1
- package/packages/orq-rc/src/models/operations/getalltools.ts +6 -6
- package/packages/orq-rc/src/models/operations/getevals.ts +1 -1
- package/packages/orq-rc/src/models/operations/getoneprompt.ts +5 -0
- package/packages/orq-rc/src/models/operations/getpromptversion.ts +5 -0
- package/packages/orq-rc/src/models/operations/getv2evaluatorsidversions.ts +1 -1
- 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/getv2toolstoolidversions.ts +1 -1
- package/packages/orq-rc/src/models/operations/invokeeval.ts +2 -2
- package/packages/orq-rc/src/models/operations/listagents.ts +8 -0
- package/packages/orq-rc/src/models/operations/listchunks.ts +1 -1
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +314 -85
- package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasources.ts +1 -1
- package/packages/orq-rc/src/models/operations/listpromptversions.ts +6 -1
- package/packages/orq-rc/src/models/operations/modelcreate.ts +2 -0
- package/packages/orq-rc/src/models/operations/modelcreateautorouter.ts +2 -0
- package/packages/orq-rc/src/models/operations/modelcreateawsbedrock.ts +2 -0
- package/packages/orq-rc/src/models/operations/modelcreateopenailike.ts +2 -0
- package/packages/orq-rc/src/models/operations/modelcreatevertex.ts +2 -0
- package/packages/orq-rc/src/models/operations/modelupdate.ts +2 -0
- package/packages/orq-rc/src/models/operations/modelupdateautorouter.ts +2 -0
- package/packages/orq-rc/src/models/operations/modelupdateawsbedrock.ts +2 -0
- package/packages/orq-rc/src/models/operations/modelupdateopenailike.ts +2 -0
- package/packages/orq-rc/src/models/operations/notifierlist.ts +13 -0
- package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +119 -11
- package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrieveagentrequest.ts +8 -0
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +234 -9
- 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/retrievetool.ts +6 -6
- package/packages/orq-rc/src/models/operations/runagent.ts +95 -33
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +101 -33
- package/packages/orq-rc/src/models/operations/updateagent.ts +129 -40
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +229 -9
- 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/updateprompt.ts +6 -0
- package/packages/orq-rc/src/models/operations/updatetool.ts +7 -7
- package/packages/orq-rc/src/sdk/feedback.ts +2 -2
- package/packages/orq-rc/src/sdk/humanreviewsets.ts +4 -1
- package/packages/orq-rc/src/sdk/models.ts +35 -0
- package/packages/orq-rc/src/sdk/orqresponses.ts +4 -0
- package/packages/orq-rc/src/sdk/reporting.ts +3 -1
- package/packages/orq-rc/src/sdk/sdk.ts +6 -0
- package/packages/orq-rc/src/sdk/telemetry.ts +27 -0
- package/packages/orq-rc/src/sdk/traces.ts +3 -1
- package/sdk/feedback.d.ts +2 -2
- package/sdk/feedback.js +2 -2
- package/sdk/models.d.ts +17 -0
- package/sdk/models.d.ts.map +1 -1
- package/sdk/models.js +20 -0
- package/sdk/models.js.map +1 -1
- package/src/funcs/modelsImportLitellm.ts +166 -0
- package/src/funcs/modelsListLitellm.ts +144 -0
- package/src/lib/config.ts +3 -3
- package/src/lib/http.ts +3 -1
- package/src/lib/security.ts +10 -5
- 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 +2 -2
- 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 +4 -0
- package/src/models/components/litellmmodel.ts +50 -0
- package/src/models/components/litellmmodelinfo.ts +97 -0
- package/src/models/components/litellmparams.ts +43 -0
- package/src/models/components/modeldocument.ts +112 -0
- package/src/models/components/reasoningpart.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/createprompt.ts +3 -0
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/deploymentinvoke.ts +3 -0
- package/src/models/operations/deployments.ts +3 -0
- package/src/models/operations/deploymentstream.ts +3 -0
- package/src/models/operations/getallprompts.ts +3 -0
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getoneprompt.ts +3 -0
- package/src/models/operations/getpromptversion.ts +3 -0
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/invokeeval.ts +2 -2
- 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/listpromptversions.ts +3 -0
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +3 -3
- 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/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/updateprompt.ts +3 -0
- package/src/models/operations/updatetool.ts +7 -7
- package/src/sdk/feedback.ts +2 -2
- package/src/sdk/models.ts +35 -0
|
@@ -11,7 +11,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
11
11
|
|
|
12
12
|
export type ListDatasetsRequest = {
|
|
13
13
|
/**
|
|
14
|
-
* A limit on the number of objects to be returned. Limit can range between 1 and
|
|
14
|
+
* A limit on the number of objects to be returned. Limit can range between 1 and 200, and the default is 10
|
|
15
15
|
*/
|
|
16
16
|
limit?: number | undefined;
|
|
17
17
|
/**
|
|
@@ -169,7 +169,7 @@ export const ListDatasetsData$inboundSchema: z.ZodType<
|
|
|
169
169
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
170
170
|
.optional(),
|
|
171
171
|
updated: z.string().datetime({ offset: true }).default(
|
|
172
|
-
"2026-07-
|
|
172
|
+
"2026-07-16T11:02:21.951Z",
|
|
173
173
|
).transform(v => new Date(v)),
|
|
174
174
|
}).transform((v) => {
|
|
175
175
|
return remap$(v, {
|
|
@@ -182,7 +182,7 @@ export const ListDatasourcesData$inboundSchema: z.ZodType<
|
|
|
182
182
|
z.ZodTypeDef,
|
|
183
183
|
unknown
|
|
184
184
|
> = z.object({
|
|
185
|
-
_id: z.string().default("
|
|
185
|
+
_id: z.string().default("01KXN9FG8660100RJ56B9RXFCQ"),
|
|
186
186
|
display_name: z.string(),
|
|
187
187
|
description: z.nullable(z.string()).optional(),
|
|
188
188
|
status: ListDatasourcesStatus$inboundSchema,
|
|
@@ -13,7 +13,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
13
13
|
export type ListPromptVersionsRequest = {
|
|
14
14
|
promptId: string;
|
|
15
15
|
/**
|
|
16
|
-
* A limit on the number of objects to be returned. Limit can range between 1 and
|
|
16
|
+
* A limit on the number of objects to be returned. Limit can range between 1 and 200, and the default is 10
|
|
17
17
|
*/
|
|
18
18
|
limit?: number | undefined;
|
|
19
19
|
/**
|
|
@@ -295,6 +295,7 @@ export type ListPromptVersionsVerbosity = ClosedEnum<
|
|
|
295
295
|
* The level of thinking to use for the model. Only supported by `Google AI`
|
|
296
296
|
*/
|
|
297
297
|
export const ListPromptVersionsThinkingLevel = {
|
|
298
|
+
Minimal: "minimal",
|
|
298
299
|
Low: "low",
|
|
299
300
|
Medium: "medium",
|
|
300
301
|
High: "high",
|
|
@@ -425,6 +426,7 @@ export const ListPromptVersionsProvider = {
|
|
|
425
426
|
Nvidia: "nvidia",
|
|
426
427
|
Jina: "jina",
|
|
427
428
|
Elevenlabs: "elevenlabs",
|
|
429
|
+
Litellm: "litellm",
|
|
428
430
|
Cerebras: "cerebras",
|
|
429
431
|
Openailike: "openailike",
|
|
430
432
|
Bytedance: "bytedance",
|
|
@@ -442,6 +444,8 @@ export const ListPromptVersionsProvider = {
|
|
|
442
444
|
Wafer: "wafer",
|
|
443
445
|
Poolside: "poolside",
|
|
444
446
|
Tencent: "tencent",
|
|
447
|
+
Nebius: "nebius",
|
|
448
|
+
Reson8: "reson8",
|
|
445
449
|
Slack: "slack",
|
|
446
450
|
Orq: "orq",
|
|
447
451
|
} as const;
|
|
@@ -822,6 +826,7 @@ export type ListPromptVersionsModalities = ClosedEnum<
|
|
|
822
826
|
*/
|
|
823
827
|
export const ListPromptVersionsId1 = {
|
|
824
828
|
OrqPiiDetection: "orq_pii_detection",
|
|
829
|
+
OrqSecretDetection: "orq_secret_detection",
|
|
825
830
|
OrqSexualModeration: "orq_sexual_moderation",
|
|
826
831
|
OrqHarmfulModeration: "orq_harmful_moderation",
|
|
827
832
|
} as const;
|
|
@@ -55,6 +55,7 @@ export type ModelCreateResponseBody = {
|
|
|
55
55
|
pricingUrl: string | null;
|
|
56
56
|
provider: string;
|
|
57
57
|
refId: string;
|
|
58
|
+
sharing?: components.Config | undefined;
|
|
58
59
|
updated: Date;
|
|
59
60
|
};
|
|
60
61
|
|
|
@@ -151,6 +152,7 @@ export const ModelCreateResponseBody$inboundSchema: z.ZodType<
|
|
|
151
152
|
pricing_url: z.nullable(z.string()),
|
|
152
153
|
provider: z.string(),
|
|
153
154
|
refId: z.string(),
|
|
155
|
+
sharing: components.Config$inboundSchema.optional(),
|
|
154
156
|
updated: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
155
157
|
}).transform((v) => {
|
|
156
158
|
return remap$(v, {
|
|
@@ -46,6 +46,7 @@ export type ModelCreateAutorouterResponseBody = {
|
|
|
46
46
|
pricingUrl: string | null;
|
|
47
47
|
provider: string;
|
|
48
48
|
refId: string;
|
|
49
|
+
sharing?: components.Config | undefined;
|
|
49
50
|
updated: Date;
|
|
50
51
|
};
|
|
51
52
|
|
|
@@ -118,6 +119,7 @@ export const ModelCreateAutorouterResponseBody$inboundSchema: z.ZodType<
|
|
|
118
119
|
pricing_url: z.nullable(z.string()),
|
|
119
120
|
provider: z.string(),
|
|
120
121
|
refId: z.string(),
|
|
122
|
+
sharing: components.Config$inboundSchema.optional(),
|
|
121
123
|
updated: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
122
124
|
}).transform((v) => {
|
|
123
125
|
return remap$(v, {
|
|
@@ -67,6 +67,7 @@ export type ModelCreateAwsBedrockResponseBody = {
|
|
|
67
67
|
pricingUrl: string | null;
|
|
68
68
|
provider: string;
|
|
69
69
|
refId: string;
|
|
70
|
+
sharing?: components.Config | undefined;
|
|
70
71
|
updated: Date;
|
|
71
72
|
};
|
|
72
73
|
|
|
@@ -201,6 +202,7 @@ export const ModelCreateAwsBedrockResponseBody$inboundSchema: z.ZodType<
|
|
|
201
202
|
pricing_url: z.nullable(z.string()),
|
|
202
203
|
provider: z.string(),
|
|
203
204
|
refId: z.string(),
|
|
205
|
+
sharing: components.Config$inboundSchema.optional(),
|
|
204
206
|
updated: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
205
207
|
}).transform((v) => {
|
|
206
208
|
return remap$(v, {
|
|
@@ -59,6 +59,7 @@ export type ModelCreateOpenAILikeResponseBody = {
|
|
|
59
59
|
pricingUrl: string | null;
|
|
60
60
|
provider: string;
|
|
61
61
|
refId: string;
|
|
62
|
+
sharing?: components.Config | undefined;
|
|
62
63
|
updated: Date;
|
|
63
64
|
};
|
|
64
65
|
|
|
@@ -169,6 +170,7 @@ export const ModelCreateOpenAILikeResponseBody$inboundSchema: z.ZodType<
|
|
|
169
170
|
pricing_url: z.nullable(z.string()),
|
|
170
171
|
provider: z.string(),
|
|
171
172
|
refId: z.string(),
|
|
173
|
+
sharing: components.Config$inboundSchema.optional(),
|
|
172
174
|
updated: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
173
175
|
}).transform((v) => {
|
|
174
176
|
return remap$(v, {
|
|
@@ -44,6 +44,7 @@ export type ModelCreateVertexResponseBody = {
|
|
|
44
44
|
pricingUrl: string | null;
|
|
45
45
|
provider: string;
|
|
46
46
|
refId: string;
|
|
47
|
+
sharing?: components.Config | undefined;
|
|
47
48
|
updated: Date;
|
|
48
49
|
};
|
|
49
50
|
|
|
@@ -111,6 +112,7 @@ export const ModelCreateVertexResponseBody$inboundSchema: z.ZodType<
|
|
|
111
112
|
pricing_url: z.nullable(z.string()),
|
|
112
113
|
provider: z.string(),
|
|
113
114
|
refId: z.string(),
|
|
115
|
+
sharing: components.Config$inboundSchema.optional(),
|
|
114
116
|
updated: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
115
117
|
}).transform((v) => {
|
|
116
118
|
return remap$(v, {
|
|
@@ -57,6 +57,7 @@ export type ModelUpdateResponseBody = {
|
|
|
57
57
|
pricingUrl: string | null;
|
|
58
58
|
provider: string;
|
|
59
59
|
refId: string;
|
|
60
|
+
sharing?: components.Config | undefined;
|
|
60
61
|
updated: Date;
|
|
61
62
|
};
|
|
62
63
|
|
|
@@ -165,6 +166,7 @@ export const ModelUpdateResponseBody$inboundSchema: z.ZodType<
|
|
|
165
166
|
pricing_url: z.nullable(z.string()),
|
|
166
167
|
provider: z.string(),
|
|
167
168
|
refId: z.string(),
|
|
169
|
+
sharing: components.Config$inboundSchema.optional(),
|
|
168
170
|
updated: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
169
171
|
}).transform((v) => {
|
|
170
172
|
return remap$(v, {
|
|
@@ -54,6 +54,7 @@ export type ModelUpdateAutorouterResponseBody = {
|
|
|
54
54
|
pricingUrl: string | null;
|
|
55
55
|
provider: string;
|
|
56
56
|
refId: string;
|
|
57
|
+
sharing?: components.Config | undefined;
|
|
57
58
|
updated: Date;
|
|
58
59
|
};
|
|
59
60
|
|
|
@@ -156,6 +157,7 @@ export const ModelUpdateAutorouterResponseBody$inboundSchema: z.ZodType<
|
|
|
156
157
|
pricing_url: z.nullable(z.string()),
|
|
157
158
|
provider: z.string(),
|
|
158
159
|
refId: z.string(),
|
|
160
|
+
sharing: components.Config$inboundSchema.optional(),
|
|
159
161
|
updated: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
160
162
|
}).transform((v) => {
|
|
161
163
|
return remap$(v, {
|
|
@@ -72,6 +72,7 @@ export type ModelUpdateAwsBedrockResponseBody = {
|
|
|
72
72
|
pricingUrl: string | null;
|
|
73
73
|
provider: string;
|
|
74
74
|
refId: string;
|
|
75
|
+
sharing?: components.Config | undefined;
|
|
75
76
|
updated: Date;
|
|
76
77
|
};
|
|
77
78
|
|
|
@@ -227,6 +228,7 @@ export const ModelUpdateAwsBedrockResponseBody$inboundSchema: z.ZodType<
|
|
|
227
228
|
pricing_url: z.nullable(z.string()),
|
|
228
229
|
provider: z.string(),
|
|
229
230
|
refId: z.string(),
|
|
231
|
+
sharing: components.Config$inboundSchema.optional(),
|
|
230
232
|
updated: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
231
233
|
}).transform((v) => {
|
|
232
234
|
return remap$(v, {
|
|
@@ -66,6 +66,7 @@ export type ModelUpdateOpenAILikeResponseBody = {
|
|
|
66
66
|
pricingUrl: string | null;
|
|
67
67
|
provider: string;
|
|
68
68
|
refId: string;
|
|
69
|
+
sharing?: components.Config | undefined;
|
|
69
70
|
updated: Date;
|
|
70
71
|
};
|
|
71
72
|
|
|
@@ -203,6 +204,7 @@ export const ModelUpdateOpenAILikeResponseBody$inboundSchema: z.ZodType<
|
|
|
203
204
|
pricing_url: z.nullable(z.string()),
|
|
204
205
|
provider: z.string(),
|
|
205
206
|
refId: z.string(),
|
|
207
|
+
sharing: components.Config$inboundSchema.optional(),
|
|
206
208
|
updated: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
207
209
|
}).transform((v) => {
|
|
208
210
|
return remap$(v, {
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import * as components from "../components/index.js";
|
|
7
8
|
|
|
8
9
|
export type NotifierListRequest = {
|
|
9
10
|
/**
|
|
@@ -22,6 +23,14 @@ export type NotifierListRequest = {
|
|
|
22
23
|
* Restrict results to one project. Must be a project the caller is authorized for.
|
|
23
24
|
*/
|
|
24
25
|
projectId?: string | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* Optional. Case-insensitive substring match on the notifier name.
|
|
28
|
+
*/
|
|
29
|
+
search?: string | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* Optional. Restrict results to these notifier types.
|
|
32
|
+
*/
|
|
33
|
+
type?: Array<components.NotifierType> | undefined;
|
|
25
34
|
};
|
|
26
35
|
|
|
27
36
|
/** @internal */
|
|
@@ -30,6 +39,8 @@ export type NotifierListRequest$Outbound = {
|
|
|
30
39
|
starting_after?: string | undefined;
|
|
31
40
|
ending_before?: string | undefined;
|
|
32
41
|
project_id?: string | undefined;
|
|
42
|
+
search?: string | undefined;
|
|
43
|
+
type?: Array<string> | undefined;
|
|
33
44
|
};
|
|
34
45
|
|
|
35
46
|
/** @internal */
|
|
@@ -42,6 +53,8 @@ export const NotifierListRequest$outboundSchema: z.ZodType<
|
|
|
42
53
|
startingAfter: z.string().optional(),
|
|
43
54
|
endingBefore: z.string().optional(),
|
|
44
55
|
projectId: z.string().optional(),
|
|
56
|
+
search: z.string().optional(),
|
|
57
|
+
type: z.array(components.NotifierType$outboundSchema).optional(),
|
|
45
58
|
}).transform((v) => {
|
|
46
59
|
return remap$(v, {
|
|
47
60
|
startingAfter: "starting_after",
|
|
@@ -318,7 +318,7 @@ export const PatchV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<
|
|
|
318
318
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
319
319
|
.optional(),
|
|
320
320
|
updated: z.string().datetime({ offset: true }).default(
|
|
321
|
-
"2026-07-
|
|
321
|
+
"2026-07-16T11:02:21.951Z",
|
|
322
322
|
).transform(v => new Date(v)),
|
|
323
323
|
filter_type: z.literal("name"),
|
|
324
324
|
filter_value: z.string(),
|
|
@@ -364,7 +364,7 @@ export const PatchV2HumanEvalSetsIdResponseBody1$inboundSchema: z.ZodType<
|
|
|
364
364
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
365
365
|
.optional(),
|
|
366
366
|
updated: z.string().datetime({ offset: true }).default(
|
|
367
|
-
"2026-07-
|
|
367
|
+
"2026-07-16T11:02:21.951Z",
|
|
368
368
|
).transform(v => new Date(v)),
|
|
369
369
|
filter_type: z.literal("span_type"),
|
|
370
370
|
filter_values: z.array(z.string()),
|
|
@@ -6,6 +6,54 @@ import * as z from "zod/v3";
|
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
7
|
import { ClosedEnum } from "../../types/enums.js";
|
|
8
8
|
|
|
9
|
+
/**
|
|
10
|
+
* The type of evaluation
|
|
11
|
+
*/
|
|
12
|
+
export const PostV2FeedbackEvaluationRequestBodyFeedbackEvaluationType = {
|
|
13
|
+
HumanReview: "human_review",
|
|
14
|
+
} as const;
|
|
15
|
+
/**
|
|
16
|
+
* The type of evaluation
|
|
17
|
+
*/
|
|
18
|
+
export type PostV2FeedbackEvaluationRequestBodyFeedbackEvaluationType =
|
|
19
|
+
ClosedEnum<typeof PostV2FeedbackEvaluationRequestBodyFeedbackEvaluationType>;
|
|
20
|
+
|
|
21
|
+
export const PostV2FeedbackEvaluationRequestBodyFeedbackRequestSource = {
|
|
22
|
+
Orq: "orq",
|
|
23
|
+
External: "external",
|
|
24
|
+
} as const;
|
|
25
|
+
export type PostV2FeedbackEvaluationRequestBodyFeedbackRequestSource =
|
|
26
|
+
ClosedEnum<typeof PostV2FeedbackEvaluationRequestBodyFeedbackRequestSource>;
|
|
27
|
+
|
|
28
|
+
export type RequestBody4 = {
|
|
29
|
+
/**
|
|
30
|
+
* The unique identifier of the human evaluation
|
|
31
|
+
*/
|
|
32
|
+
id: string;
|
|
33
|
+
/**
|
|
34
|
+
* The type of evaluation
|
|
35
|
+
*/
|
|
36
|
+
evaluationType: PostV2FeedbackEvaluationRequestBodyFeedbackEvaluationType;
|
|
37
|
+
/**
|
|
38
|
+
* The unique identifier of the human review. Omitted on corrections, which inherit the parent evaluator output schema.
|
|
39
|
+
*/
|
|
40
|
+
humanReviewId?: string | undefined;
|
|
41
|
+
source?: PostV2FeedbackEvaluationRequestBodyFeedbackRequestSource | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* Optional free-text explanation of the value
|
|
44
|
+
*/
|
|
45
|
+
explanation?: string | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* Deprecated. The date and time the item was reviewed
|
|
48
|
+
*
|
|
49
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
50
|
+
*/
|
|
51
|
+
reviewedAt?: Date | undefined;
|
|
52
|
+
type: "string_array";
|
|
53
|
+
values: Array<string>;
|
|
54
|
+
traceId: string;
|
|
55
|
+
};
|
|
56
|
+
|
|
9
57
|
/**
|
|
10
58
|
* The type of evaluation
|
|
11
59
|
*/
|
|
@@ -51,8 +99,8 @@ export type RequestBody3 = {
|
|
|
51
99
|
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
52
100
|
*/
|
|
53
101
|
reviewedAt?: Date | undefined;
|
|
54
|
-
type: "
|
|
55
|
-
|
|
102
|
+
type: "boolean";
|
|
103
|
+
value: boolean;
|
|
56
104
|
traceId: string;
|
|
57
105
|
};
|
|
58
106
|
|
|
@@ -155,7 +203,65 @@ export type PostV2FeedbackEvaluationRequestBody1 = {
|
|
|
155
203
|
export type PostV2FeedbackEvaluationRequestBody =
|
|
156
204
|
| PostV2FeedbackEvaluationRequestBody1
|
|
157
205
|
| PostV2FeedbackEvaluationRequestBody2
|
|
158
|
-
| RequestBody3
|
|
206
|
+
| RequestBody3
|
|
207
|
+
| RequestBody4;
|
|
208
|
+
|
|
209
|
+
/** @internal */
|
|
210
|
+
export const PostV2FeedbackEvaluationRequestBodyFeedbackEvaluationType$outboundSchema:
|
|
211
|
+
z.ZodNativeEnum<
|
|
212
|
+
typeof PostV2FeedbackEvaluationRequestBodyFeedbackEvaluationType
|
|
213
|
+
> = z.nativeEnum(PostV2FeedbackEvaluationRequestBodyFeedbackEvaluationType);
|
|
214
|
+
|
|
215
|
+
/** @internal */
|
|
216
|
+
export const PostV2FeedbackEvaluationRequestBodyFeedbackRequestSource$outboundSchema:
|
|
217
|
+
z.ZodNativeEnum<
|
|
218
|
+
typeof PostV2FeedbackEvaluationRequestBodyFeedbackRequestSource
|
|
219
|
+
> = z.nativeEnum(PostV2FeedbackEvaluationRequestBodyFeedbackRequestSource);
|
|
220
|
+
|
|
221
|
+
/** @internal */
|
|
222
|
+
export type RequestBody4$Outbound = {
|
|
223
|
+
id: string;
|
|
224
|
+
evaluation_type: string;
|
|
225
|
+
human_review_id?: string | undefined;
|
|
226
|
+
source: string;
|
|
227
|
+
explanation?: string | undefined;
|
|
228
|
+
reviewed_at: string;
|
|
229
|
+
type: "string_array";
|
|
230
|
+
values: Array<string>;
|
|
231
|
+
trace_id: string;
|
|
232
|
+
};
|
|
233
|
+
|
|
234
|
+
/** @internal */
|
|
235
|
+
export const RequestBody4$outboundSchema: z.ZodType<
|
|
236
|
+
RequestBody4$Outbound,
|
|
237
|
+
z.ZodTypeDef,
|
|
238
|
+
RequestBody4
|
|
239
|
+
> = z.object({
|
|
240
|
+
id: z.string(),
|
|
241
|
+
evaluationType:
|
|
242
|
+
PostV2FeedbackEvaluationRequestBodyFeedbackEvaluationType$outboundSchema,
|
|
243
|
+
humanReviewId: z.string().optional(),
|
|
244
|
+
source:
|
|
245
|
+
PostV2FeedbackEvaluationRequestBodyFeedbackRequestSource$outboundSchema
|
|
246
|
+
.default("orq"),
|
|
247
|
+
explanation: z.string().optional(),
|
|
248
|
+
reviewedAt: z.date().default(() => new Date("2026-07-16T11:02:38.349Z"))
|
|
249
|
+
.transform(v => v.toISOString()),
|
|
250
|
+
type: z.literal("string_array"),
|
|
251
|
+
values: z.array(z.string()),
|
|
252
|
+
traceId: z.string(),
|
|
253
|
+
}).transform((v) => {
|
|
254
|
+
return remap$(v, {
|
|
255
|
+
evaluationType: "evaluation_type",
|
|
256
|
+
humanReviewId: "human_review_id",
|
|
257
|
+
reviewedAt: "reviewed_at",
|
|
258
|
+
traceId: "trace_id",
|
|
259
|
+
});
|
|
260
|
+
});
|
|
261
|
+
|
|
262
|
+
export function requestBody4ToJSON(requestBody4: RequestBody4): string {
|
|
263
|
+
return JSON.stringify(RequestBody4$outboundSchema.parse(requestBody4));
|
|
264
|
+
}
|
|
159
265
|
|
|
160
266
|
/** @internal */
|
|
161
267
|
export const PostV2FeedbackEvaluationRequestBodyEvaluationType$outboundSchema:
|
|
@@ -175,8 +281,8 @@ export type RequestBody3$Outbound = {
|
|
|
175
281
|
source: string;
|
|
176
282
|
explanation?: string | undefined;
|
|
177
283
|
reviewed_at: string;
|
|
178
|
-
type: "
|
|
179
|
-
|
|
284
|
+
type: "boolean";
|
|
285
|
+
value: boolean;
|
|
180
286
|
trace_id: string;
|
|
181
287
|
};
|
|
182
288
|
|
|
@@ -193,10 +299,10 @@ export const RequestBody3$outboundSchema: z.ZodType<
|
|
|
193
299
|
source: PostV2FeedbackEvaluationRequestBodyFeedbackSource$outboundSchema
|
|
194
300
|
.default("orq"),
|
|
195
301
|
explanation: z.string().optional(),
|
|
196
|
-
reviewedAt: z.date().default(() => new Date("2026-07-
|
|
302
|
+
reviewedAt: z.date().default(() => new Date("2026-07-16T11:02:38.348Z"))
|
|
197
303
|
.transform(v => v.toISOString()),
|
|
198
|
-
type: z.literal("
|
|
199
|
-
|
|
304
|
+
type: z.literal("boolean"),
|
|
305
|
+
value: z.boolean(),
|
|
200
306
|
traceId: z.string(),
|
|
201
307
|
}).transform((v) => {
|
|
202
308
|
return remap$(v, {
|
|
@@ -247,7 +353,7 @@ export const PostV2FeedbackEvaluationRequestBody2$outboundSchema: z.ZodType<
|
|
|
247
353
|
"orq",
|
|
248
354
|
),
|
|
249
355
|
explanation: z.string().optional(),
|
|
250
|
-
reviewedAt: z.date().default(() => new Date("2026-07-
|
|
356
|
+
reviewedAt: z.date().default(() => new Date("2026-07-16T11:02:38.347Z"))
|
|
251
357
|
.transform(v => v.toISOString()),
|
|
252
358
|
type: z.literal("number"),
|
|
253
359
|
value: z.number(),
|
|
@@ -305,7 +411,7 @@ export const PostV2FeedbackEvaluationRequestBody1$outboundSchema: z.ZodType<
|
|
|
305
411
|
humanReviewId: z.string().optional(),
|
|
306
412
|
source: RequestBodySource$outboundSchema.default("orq"),
|
|
307
413
|
explanation: z.string().optional(),
|
|
308
|
-
reviewedAt: z.date().default(() => new Date("2026-07-
|
|
414
|
+
reviewedAt: z.date().default(() => new Date("2026-07-16T11:02:38.347Z"))
|
|
309
415
|
.transform(v => v.toISOString()),
|
|
310
416
|
type: z.literal("string"),
|
|
311
417
|
value: z.string(),
|
|
@@ -333,7 +439,8 @@ export function postV2FeedbackEvaluationRequestBody1ToJSON(
|
|
|
333
439
|
export type PostV2FeedbackEvaluationRequestBody$Outbound =
|
|
334
440
|
| PostV2FeedbackEvaluationRequestBody1$Outbound
|
|
335
441
|
| PostV2FeedbackEvaluationRequestBody2$Outbound
|
|
336
|
-
| RequestBody3$Outbound
|
|
442
|
+
| RequestBody3$Outbound
|
|
443
|
+
| RequestBody4$Outbound;
|
|
337
444
|
|
|
338
445
|
/** @internal */
|
|
339
446
|
export const PostV2FeedbackEvaluationRequestBody$outboundSchema: z.ZodType<
|
|
@@ -344,6 +451,7 @@ export const PostV2FeedbackEvaluationRequestBody$outboundSchema: z.ZodType<
|
|
|
344
451
|
z.lazy(() => PostV2FeedbackEvaluationRequestBody1$outboundSchema),
|
|
345
452
|
z.lazy(() => PostV2FeedbackEvaluationRequestBody2$outboundSchema),
|
|
346
453
|
z.lazy(() => RequestBody3$outboundSchema),
|
|
454
|
+
z.lazy(() => RequestBody4$outboundSchema),
|
|
347
455
|
]);
|
|
348
456
|
|
|
349
457
|
export function postV2FeedbackEvaluationRequestBodyToJSON(
|
|
@@ -271,7 +271,7 @@ export const PostV2HumanEvalSetsResponseBody2$inboundSchema: z.ZodType<
|
|
|
271
271
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
272
272
|
.optional(),
|
|
273
273
|
updated: z.string().datetime({ offset: true }).default(
|
|
274
|
-
"2026-07-
|
|
274
|
+
"2026-07-16T11:02:21.951Z",
|
|
275
275
|
).transform(v => new Date(v)),
|
|
276
276
|
filter_type: z.literal("name"),
|
|
277
277
|
filter_value: z.string(),
|
|
@@ -316,7 +316,7 @@ export const PostV2HumanEvalSetsResponseBody1$inboundSchema: z.ZodType<
|
|
|
316
316
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
317
317
|
.optional(),
|
|
318
318
|
updated: z.string().datetime({ offset: true }).default(
|
|
319
|
-
"2026-07-
|
|
319
|
+
"2026-07-16T11:02:21.951Z",
|
|
320
320
|
).transform(v => new Date(v)),
|
|
321
321
|
filter_type: z.literal("span_type"),
|
|
322
322
|
filter_values: z.array(z.string()),
|
|
@@ -223,6 +223,10 @@ export type RetrieveAgentRequestSettings = {
|
|
|
223
223
|
* If all, the agent will require approval for all tools. If respect_tool, the agent will require approval for tools that have the requires_approval flag set to true. If none, the agent will not require approval for any tools.
|
|
224
224
|
*/
|
|
225
225
|
toolApprovalRequired: RetrieveAgentRequestToolApprovalRequired;
|
|
226
|
+
/**
|
|
227
|
+
* When enabled, this agent is exposed as a selectable target in AI Chat for users to consume.
|
|
228
|
+
*/
|
|
229
|
+
chatExposed?: boolean | undefined;
|
|
226
230
|
tools?: Array<RetrieveAgentRequestTools> | undefined;
|
|
227
231
|
/**
|
|
228
232
|
* Configuration for an evaluator applied to the agent
|
|
@@ -392,6 +396,7 @@ export type RetrieveAgentRequestModalities = ClosedEnum<
|
|
|
392
396
|
*/
|
|
393
397
|
export const RetrieveAgentRequestId1 = {
|
|
394
398
|
OrqPiiDetection: "orq_pii_detection",
|
|
399
|
+
OrqSecretDetection: "orq_secret_detection",
|
|
395
400
|
OrqSexualModeration: "orq_sexual_moderation",
|
|
396
401
|
OrqHarmfulModeration: "orq_harmful_moderation",
|
|
397
402
|
} as const;
|
|
@@ -864,6 +869,7 @@ export type RetrieveAgentRequestFallbackModelConfigurationModalities =
|
|
|
864
869
|
*/
|
|
865
870
|
export const RetrieveAgentRequestIdAgents1 = {
|
|
866
871
|
OrqPiiDetection: "orq_pii_detection",
|
|
872
|
+
OrqSecretDetection: "orq_secret_detection",
|
|
867
873
|
OrqSexualModeration: "orq_sexual_moderation",
|
|
868
874
|
OrqHarmfulModeration: "orq_harmful_moderation",
|
|
869
875
|
} as const;
|
|
@@ -1559,6 +1565,7 @@ export const RetrieveAgentRequestSettings$inboundSchema: z.ZodType<
|
|
|
1559
1565
|
max_cost: z.number().default(0),
|
|
1560
1566
|
tool_approval_required: RetrieveAgentRequestToolApprovalRequired$inboundSchema
|
|
1561
1567
|
.default("respect_tool"),
|
|
1568
|
+
chat_exposed: z.boolean().optional(),
|
|
1562
1569
|
tools: z.array(z.lazy(() => RetrieveAgentRequestTools$inboundSchema))
|
|
1563
1570
|
.optional(),
|
|
1564
1571
|
evaluators: z.array(
|
|
@@ -1573,6 +1580,7 @@ export const RetrieveAgentRequestSettings$inboundSchema: z.ZodType<
|
|
|
1573
1580
|
"max_execution_time": "maxExecutionTime",
|
|
1574
1581
|
"max_cost": "maxCost",
|
|
1575
1582
|
"tool_approval_required": "toolApprovalRequired",
|
|
1583
|
+
"chat_exposed": "chatExposed",
|
|
1576
1584
|
});
|
|
1577
1585
|
});
|
|
1578
1586
|
|