@orq-ai/node 4.1.0-rc.45 → 4.1.0-rc.50
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 +31 -24
- package/bin/mcp-server.js +3439 -531
- package/bin/mcp-server.js.map +65 -58
- package/examples/package-lock.json +1 -1
- package/funcs/routerChatCompletions.d.ts +23 -0
- package/funcs/routerChatCompletions.d.ts.map +1 -0
- package/funcs/routerChatCompletions.js +121 -0
- package/funcs/routerChatCompletions.js.map +1 -0
- package/funcs/routerImagesGenerate.d.ts +17 -0
- package/funcs/routerImagesGenerate.d.ts.map +1 -0
- package/funcs/routerImagesGenerate.js +114 -0
- package/funcs/routerImagesGenerate.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/event-streams.js +1 -1
- package/lib/event-streams.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +5 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/routerChatCompletions.d.ts +8 -0
- package/mcp-server/tools/routerChatCompletions.d.ts.map +1 -0
- package/mcp-server/tools/routerChatCompletions.js +64 -0
- package/mcp-server/tools/routerChatCompletions.js.map +1 -0
- package/mcp-server/tools/routerImagesGenerate.d.ts +8 -0
- package/mcp-server/tools/routerImagesGenerate.d.ts.map +1 -0
- package/mcp-server/tools/routerImagesGenerate.js +64 -0
- package/mcp-server/tools/routerImagesGenerate.js.map +1 -0
- package/models/components/conversationresponse.js +2 -2
- package/models/components/index.d.ts +1 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +1 -0
- package/models/components/index.js.map +1 -1
- package/models/components/partdoneevent.js +2 -2
- package/models/components/publiccontact.d.ts +52 -0
- package/models/components/publiccontact.d.ts.map +1 -0
- package/models/components/publiccontact.js +79 -0
- package/models/components/publiccontact.js.map +1 -0
- package/models/components/reasoningpart.js +2 -2
- package/models/operations/createagentrequest.d.ts +280 -36
- package/models/operations/createagentrequest.d.ts.map +1 -1
- package/models/operations/createagentrequest.js +308 -51
- package/models/operations/createagentrequest.js.map +1 -1
- package/models/operations/createagentresponserequest.d.ts.map +1 -1
- package/models/operations/createagentresponserequest.js +3 -1
- package/models/operations/createagentresponserequest.js.map +1 -1
- package/models/operations/createbudget.js +2 -2
- package/models/operations/createchatcompletion.d.ts +3152 -0
- package/models/operations/createchatcompletion.d.ts.map +1 -0
- package/models/operations/createchatcompletion.js +3398 -0
- package/models/operations/createchatcompletion.js.map +1 -0
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createconversation.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +8 -8
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +28 -28
- package/models/operations/createimage.d.ts +433 -0
- package/models/operations/createimage.d.ts.map +1 -0
- package/models/operations/createimage.js +455 -0
- package/models/operations/createimage.js.map +1 -0
- package/models/operations/creatememory.d.ts +1 -1
- package/models/operations/createtool.js +12 -12
- package/models/operations/deploymentstream.d.ts.map +1 -1
- package/models/operations/deploymentstream.js +3 -1
- package/models/operations/deploymentstream.js.map +1 -1
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/generateconversationname.js +2 -2
- package/models/operations/getallprompts.d.ts +8 -8
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +11 -12
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getalltools.js +12 -12
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/index.d.ts +2 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +2 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/invokeeval.d.ts +5 -5
- package/models/operations/invokeeval.d.ts.map +1 -1
- package/models/operations/invokeeval.js +7 -7
- package/models/operations/invokeeval.js.map +1 -1
- package/models/operations/listagents.d.ts +122 -0
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +129 -3
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listbudgets.js +2 -2
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +8 -8
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/retrieveagentrequest.d.ts +122 -0
- package/models/operations/retrieveagentrequest.d.ts.map +1 -1
- package/models/operations/retrieveagentrequest.js +128 -3
- package/models/operations/retrieveagentrequest.js.map +1 -1
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrieveconversation.js +2 -2
- package/models/operations/retrievedatapoint.js +8 -8
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/retrievetool.js +12 -12
- package/models/operations/runagent.d.ts +122 -0
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +132 -7
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +122 -0
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +131 -7
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +244 -0
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +255 -7
- package/models/operations/updateagent.js.map +1 -1
- package/models/operations/updatebudget.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updateconversation.js +2 -2
- package/models/operations/updatedatapoint.js +8 -8
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +28 -28
- package/models/operations/updatememory.d.ts +1 -1
- package/models/operations/updatetool.js +14 -14
- package/package.json +1 -1
- package/sdk/router.d.ts +23 -0
- package/sdk/router.d.ts.map +1 -0
- package/sdk/router.js +34 -0
- package/sdk/router.js.map +1 -0
- package/sdk/sdk.d.ts +3 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +4 -0
- package/sdk/sdk.js.map +1 -1
- package/src/funcs/routerChatCompletions.ts +172 -0
- package/src/funcs/routerImagesGenerate.ts +160 -0
- package/src/lib/config.ts +3 -3
- package/src/lib/event-streams.ts +1 -1
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +5 -1
- package/src/mcp-server/tools/routerChatCompletions.ts +37 -0
- package/src/mcp-server/tools/routerImagesGenerate.ts +37 -0
- package/src/models/components/conversationresponse.ts +2 -2
- package/src/models/components/index.ts +1 -0
- package/src/models/components/partdoneevent.ts +2 -2
- package/src/models/components/publiccontact.ts +99 -0
- package/src/models/components/reasoningpart.ts +2 -2
- package/src/models/operations/createagentrequest.ts +760 -113
- package/src/models/operations/createagentresponserequest.ts +2 -1
- package/src/models/operations/createbudget.ts +2 -2
- package/src/models/operations/createchatcompletion.ts +8911 -0
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createconversation.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +8 -8
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +28 -28
- package/src/models/operations/createimage.ts +966 -0
- package/src/models/operations/creatememory.ts +1 -1
- package/src/models/operations/createtool.ts +12 -12
- package/src/models/operations/deploymentstream.ts +2 -1
- 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/generateconversationname.ts +2 -2
- package/src/models/operations/getallprompts.ts +45 -38
- package/src/models/operations/getalltools.ts +12 -12
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/index.ts +2 -0
- package/src/models/operations/invokeeval.ts +11 -10
- package/src/models/operations/listagents.ts +313 -0
- package/src/models/operations/listbudgets.ts +2 -2
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +8 -8
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/retrieveagentrequest.ts +337 -0
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrieveconversation.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +8 -8
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/retrievetool.ts +12 -12
- package/src/models/operations/runagent.ts +315 -2
- package/src/models/operations/streamrunagent.ts +342 -2
- package/src/models/operations/updateagent.ts +659 -0
- package/src/models/operations/updatebudget.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updateconversation.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +8 -8
- 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/updatememory.ts +1 -1
- package/src/models/operations/updatetool.ts +14 -14
- package/src/sdk/router.ts +52 -0
- package/src/sdk/sdk.ts +6 -0
|
@@ -383,6 +383,43 @@ export type RetrieveAgentRequestModalities = ClosedEnum<
|
|
|
383
383
|
typeof RetrieveAgentRequestModalities
|
|
384
384
|
>;
|
|
385
385
|
|
|
386
|
+
/**
|
|
387
|
+
* The key of the guardrail.
|
|
388
|
+
*/
|
|
389
|
+
export const RetrieveAgentRequestId1 = {
|
|
390
|
+
OrqPiiDetection: "orq_pii_detection",
|
|
391
|
+
} as const;
|
|
392
|
+
/**
|
|
393
|
+
* The key of the guardrail.
|
|
394
|
+
*/
|
|
395
|
+
export type RetrieveAgentRequestId1 = ClosedEnum<
|
|
396
|
+
typeof RetrieveAgentRequestId1
|
|
397
|
+
>;
|
|
398
|
+
|
|
399
|
+
export type RetrieveAgentRequestId = RetrieveAgentRequestId1 | string;
|
|
400
|
+
|
|
401
|
+
/**
|
|
402
|
+
* Determines whether the guardrail runs on the input (user message) or output (model response).
|
|
403
|
+
*/
|
|
404
|
+
export const RetrieveAgentRequestAgentsResponseExecuteOn = {
|
|
405
|
+
Input: "input",
|
|
406
|
+
Output: "output",
|
|
407
|
+
} as const;
|
|
408
|
+
/**
|
|
409
|
+
* Determines whether the guardrail runs on the input (user message) or output (model response).
|
|
410
|
+
*/
|
|
411
|
+
export type RetrieveAgentRequestAgentsResponseExecuteOn = ClosedEnum<
|
|
412
|
+
typeof RetrieveAgentRequestAgentsResponseExecuteOn
|
|
413
|
+
>;
|
|
414
|
+
|
|
415
|
+
export type RetrieveAgentRequestAgentsGuardrails = {
|
|
416
|
+
id: RetrieveAgentRequestId1 | string;
|
|
417
|
+
/**
|
|
418
|
+
* Determines whether the guardrail runs on the input (user message) or output (model response).
|
|
419
|
+
*/
|
|
420
|
+
executeOn: RetrieveAgentRequestAgentsResponseExecuteOn;
|
|
421
|
+
};
|
|
422
|
+
|
|
386
423
|
/**
|
|
387
424
|
* Model behavior parameters (snake_case) stored as part of the agent configuration. These become the default parameters used when the agent is executed. Commonly used: temperature (0-1, controls randomness), max_completion_tokens (response length), top_p (nucleus sampling). Advanced: frequency_penalty, presence_penalty, response_format (JSON/structured output), reasoning_effort (for o1/thinking models), seed (reproducibility), stop sequences. Model-specific support varies. Runtime parameters in agent execution requests can override these defaults.
|
|
388
425
|
*/
|
|
@@ -491,6 +528,10 @@ export type RetrieveAgentRequestParameters = {
|
|
|
491
528
|
* Output types that you would like the model to generate. Most models are capable of generating text, which is the default: ["text"]. The gpt-4o-audio-preview model can also be used to generate audio. To request that this model generate both text and audio responses, you can use: ["text", "audio"].
|
|
492
529
|
*/
|
|
493
530
|
modalities?: Array<RetrieveAgentRequestModalities> | null | undefined;
|
|
531
|
+
/**
|
|
532
|
+
* A list of guardrails to apply to the request.
|
|
533
|
+
*/
|
|
534
|
+
guardrails?: Array<RetrieveAgentRequestAgentsGuardrails> | undefined;
|
|
494
535
|
};
|
|
495
536
|
|
|
496
537
|
/**
|
|
@@ -720,6 +761,44 @@ export const RetrieveAgentRequestFallbackModelConfigurationModalities = {
|
|
|
720
761
|
export type RetrieveAgentRequestFallbackModelConfigurationModalities =
|
|
721
762
|
ClosedEnum<typeof RetrieveAgentRequestFallbackModelConfigurationModalities>;
|
|
722
763
|
|
|
764
|
+
/**
|
|
765
|
+
* The key of the guardrail.
|
|
766
|
+
*/
|
|
767
|
+
export const RetrieveAgentRequestIdAgents1 = {
|
|
768
|
+
OrqPiiDetection: "orq_pii_detection",
|
|
769
|
+
} as const;
|
|
770
|
+
/**
|
|
771
|
+
* The key of the guardrail.
|
|
772
|
+
*/
|
|
773
|
+
export type RetrieveAgentRequestIdAgents1 = ClosedEnum<
|
|
774
|
+
typeof RetrieveAgentRequestIdAgents1
|
|
775
|
+
>;
|
|
776
|
+
|
|
777
|
+
export type RetrieveAgentRequestFallbackModelConfigurationId =
|
|
778
|
+
| RetrieveAgentRequestIdAgents1
|
|
779
|
+
| string;
|
|
780
|
+
|
|
781
|
+
/**
|
|
782
|
+
* Determines whether the guardrail runs on the input (user message) or output (model response).
|
|
783
|
+
*/
|
|
784
|
+
export const RetrieveAgentRequestFallbackModelConfigurationExecuteOn = {
|
|
785
|
+
Input: "input",
|
|
786
|
+
Output: "output",
|
|
787
|
+
} as const;
|
|
788
|
+
/**
|
|
789
|
+
* Determines whether the guardrail runs on the input (user message) or output (model response).
|
|
790
|
+
*/
|
|
791
|
+
export type RetrieveAgentRequestFallbackModelConfigurationExecuteOn =
|
|
792
|
+
ClosedEnum<typeof RetrieveAgentRequestFallbackModelConfigurationExecuteOn>;
|
|
793
|
+
|
|
794
|
+
export type RetrieveAgentRequestFallbackModelConfigurationGuardrails = {
|
|
795
|
+
id: RetrieveAgentRequestIdAgents1 | string;
|
|
796
|
+
/**
|
|
797
|
+
* Determines whether the guardrail runs on the input (user message) or output (model response).
|
|
798
|
+
*/
|
|
799
|
+
executeOn: RetrieveAgentRequestFallbackModelConfigurationExecuteOn;
|
|
800
|
+
};
|
|
801
|
+
|
|
723
802
|
/**
|
|
724
803
|
* Optional model parameters specific to this fallback model. Overrides primary model parameters if this fallback is used.
|
|
725
804
|
*/
|
|
@@ -839,6 +918,12 @@ export type RetrieveAgentRequestFallbackModelConfigurationParameters = {
|
|
|
839
918
|
| Array<RetrieveAgentRequestFallbackModelConfigurationModalities>
|
|
840
919
|
| null
|
|
841
920
|
| undefined;
|
|
921
|
+
/**
|
|
922
|
+
* A list of guardrails to apply to the request.
|
|
923
|
+
*/
|
|
924
|
+
guardrails?:
|
|
925
|
+
| Array<RetrieveAgentRequestFallbackModelConfigurationGuardrails>
|
|
926
|
+
| undefined;
|
|
842
927
|
};
|
|
843
928
|
|
|
844
929
|
/**
|
|
@@ -1994,6 +2079,110 @@ export const RetrieveAgentRequestModalities$outboundSchema: z.ZodNativeEnum<
|
|
|
1994
2079
|
typeof RetrieveAgentRequestModalities
|
|
1995
2080
|
> = RetrieveAgentRequestModalities$inboundSchema;
|
|
1996
2081
|
|
|
2082
|
+
/** @internal */
|
|
2083
|
+
export const RetrieveAgentRequestId1$inboundSchema: z.ZodNativeEnum<
|
|
2084
|
+
typeof RetrieveAgentRequestId1
|
|
2085
|
+
> = z.nativeEnum(RetrieveAgentRequestId1);
|
|
2086
|
+
/** @internal */
|
|
2087
|
+
export const RetrieveAgentRequestId1$outboundSchema: z.ZodNativeEnum<
|
|
2088
|
+
typeof RetrieveAgentRequestId1
|
|
2089
|
+
> = RetrieveAgentRequestId1$inboundSchema;
|
|
2090
|
+
|
|
2091
|
+
/** @internal */
|
|
2092
|
+
export const RetrieveAgentRequestId$inboundSchema: z.ZodType<
|
|
2093
|
+
RetrieveAgentRequestId,
|
|
2094
|
+
z.ZodTypeDef,
|
|
2095
|
+
unknown
|
|
2096
|
+
> = z.union([RetrieveAgentRequestId1$inboundSchema, z.string()]);
|
|
2097
|
+
/** @internal */
|
|
2098
|
+
export type RetrieveAgentRequestId$Outbound = string | string;
|
|
2099
|
+
|
|
2100
|
+
/** @internal */
|
|
2101
|
+
export const RetrieveAgentRequestId$outboundSchema: z.ZodType<
|
|
2102
|
+
RetrieveAgentRequestId$Outbound,
|
|
2103
|
+
z.ZodTypeDef,
|
|
2104
|
+
RetrieveAgentRequestId
|
|
2105
|
+
> = z.union([RetrieveAgentRequestId1$outboundSchema, z.string()]);
|
|
2106
|
+
|
|
2107
|
+
export function retrieveAgentRequestIdToJSON(
|
|
2108
|
+
retrieveAgentRequestId: RetrieveAgentRequestId,
|
|
2109
|
+
): string {
|
|
2110
|
+
return JSON.stringify(
|
|
2111
|
+
RetrieveAgentRequestId$outboundSchema.parse(retrieveAgentRequestId),
|
|
2112
|
+
);
|
|
2113
|
+
}
|
|
2114
|
+
export function retrieveAgentRequestIdFromJSON(
|
|
2115
|
+
jsonString: string,
|
|
2116
|
+
): SafeParseResult<RetrieveAgentRequestId, SDKValidationError> {
|
|
2117
|
+
return safeParse(
|
|
2118
|
+
jsonString,
|
|
2119
|
+
(x) => RetrieveAgentRequestId$inboundSchema.parse(JSON.parse(x)),
|
|
2120
|
+
`Failed to parse 'RetrieveAgentRequestId' from JSON`,
|
|
2121
|
+
);
|
|
2122
|
+
}
|
|
2123
|
+
|
|
2124
|
+
/** @internal */
|
|
2125
|
+
export const RetrieveAgentRequestAgentsResponseExecuteOn$inboundSchema:
|
|
2126
|
+
z.ZodNativeEnum<typeof RetrieveAgentRequestAgentsResponseExecuteOn> = z
|
|
2127
|
+
.nativeEnum(RetrieveAgentRequestAgentsResponseExecuteOn);
|
|
2128
|
+
/** @internal */
|
|
2129
|
+
export const RetrieveAgentRequestAgentsResponseExecuteOn$outboundSchema:
|
|
2130
|
+
z.ZodNativeEnum<typeof RetrieveAgentRequestAgentsResponseExecuteOn> =
|
|
2131
|
+
RetrieveAgentRequestAgentsResponseExecuteOn$inboundSchema;
|
|
2132
|
+
|
|
2133
|
+
/** @internal */
|
|
2134
|
+
export const RetrieveAgentRequestAgentsGuardrails$inboundSchema: z.ZodType<
|
|
2135
|
+
RetrieveAgentRequestAgentsGuardrails,
|
|
2136
|
+
z.ZodTypeDef,
|
|
2137
|
+
unknown
|
|
2138
|
+
> = z.object({
|
|
2139
|
+
id: z.union([RetrieveAgentRequestId1$inboundSchema, z.string()]),
|
|
2140
|
+
execute_on: RetrieveAgentRequestAgentsResponseExecuteOn$inboundSchema,
|
|
2141
|
+
}).transform((v) => {
|
|
2142
|
+
return remap$(v, {
|
|
2143
|
+
"execute_on": "executeOn",
|
|
2144
|
+
});
|
|
2145
|
+
});
|
|
2146
|
+
/** @internal */
|
|
2147
|
+
export type RetrieveAgentRequestAgentsGuardrails$Outbound = {
|
|
2148
|
+
id: string | string;
|
|
2149
|
+
execute_on: string;
|
|
2150
|
+
};
|
|
2151
|
+
|
|
2152
|
+
/** @internal */
|
|
2153
|
+
export const RetrieveAgentRequestAgentsGuardrails$outboundSchema: z.ZodType<
|
|
2154
|
+
RetrieveAgentRequestAgentsGuardrails$Outbound,
|
|
2155
|
+
z.ZodTypeDef,
|
|
2156
|
+
RetrieveAgentRequestAgentsGuardrails
|
|
2157
|
+
> = z.object({
|
|
2158
|
+
id: z.union([RetrieveAgentRequestId1$outboundSchema, z.string()]),
|
|
2159
|
+
executeOn: RetrieveAgentRequestAgentsResponseExecuteOn$outboundSchema,
|
|
2160
|
+
}).transform((v) => {
|
|
2161
|
+
return remap$(v, {
|
|
2162
|
+
executeOn: "execute_on",
|
|
2163
|
+
});
|
|
2164
|
+
});
|
|
2165
|
+
|
|
2166
|
+
export function retrieveAgentRequestAgentsGuardrailsToJSON(
|
|
2167
|
+
retrieveAgentRequestAgentsGuardrails: RetrieveAgentRequestAgentsGuardrails,
|
|
2168
|
+
): string {
|
|
2169
|
+
return JSON.stringify(
|
|
2170
|
+
RetrieveAgentRequestAgentsGuardrails$outboundSchema.parse(
|
|
2171
|
+
retrieveAgentRequestAgentsGuardrails,
|
|
2172
|
+
),
|
|
2173
|
+
);
|
|
2174
|
+
}
|
|
2175
|
+
export function retrieveAgentRequestAgentsGuardrailsFromJSON(
|
|
2176
|
+
jsonString: string,
|
|
2177
|
+
): SafeParseResult<RetrieveAgentRequestAgentsGuardrails, SDKValidationError> {
|
|
2178
|
+
return safeParse(
|
|
2179
|
+
jsonString,
|
|
2180
|
+
(x) =>
|
|
2181
|
+
RetrieveAgentRequestAgentsGuardrails$inboundSchema.parse(JSON.parse(x)),
|
|
2182
|
+
`Failed to parse 'RetrieveAgentRequestAgentsGuardrails' from JSON`,
|
|
2183
|
+
);
|
|
2184
|
+
}
|
|
2185
|
+
|
|
1997
2186
|
/** @internal */
|
|
1998
2187
|
export const RetrieveAgentRequestParameters$inboundSchema: z.ZodType<
|
|
1999
2188
|
RetrieveAgentRequestParameters,
|
|
@@ -2038,6 +2227,9 @@ export const RetrieveAgentRequestParameters$inboundSchema: z.ZodType<
|
|
|
2038
2227
|
parallel_tool_calls: z.boolean().optional(),
|
|
2039
2228
|
modalities: z.nullable(z.array(RetrieveAgentRequestModalities$inboundSchema))
|
|
2040
2229
|
.optional(),
|
|
2230
|
+
guardrails: z.array(
|
|
2231
|
+
z.lazy(() => RetrieveAgentRequestAgentsGuardrails$inboundSchema),
|
|
2232
|
+
).optional(),
|
|
2041
2233
|
}).transform((v) => {
|
|
2042
2234
|
return remap$(v, {
|
|
2043
2235
|
"frequency_penalty": "frequencyPenalty",
|
|
@@ -2087,6 +2279,7 @@ export type RetrieveAgentRequestParameters$Outbound = {
|
|
|
2087
2279
|
tool_choice?: RetrieveAgentRequestToolChoice2$Outbound | string | undefined;
|
|
2088
2280
|
parallel_tool_calls?: boolean | undefined;
|
|
2089
2281
|
modalities?: Array<string> | null | undefined;
|
|
2282
|
+
guardrails?: Array<RetrieveAgentRequestAgentsGuardrails$Outbound> | undefined;
|
|
2090
2283
|
};
|
|
2091
2284
|
|
|
2092
2285
|
/** @internal */
|
|
@@ -2133,6 +2326,9 @@ export const RetrieveAgentRequestParameters$outboundSchema: z.ZodType<
|
|
|
2133
2326
|
parallelToolCalls: z.boolean().optional(),
|
|
2134
2327
|
modalities: z.nullable(z.array(RetrieveAgentRequestModalities$outboundSchema))
|
|
2135
2328
|
.optional(),
|
|
2329
|
+
guardrails: z.array(
|
|
2330
|
+
z.lazy(() => RetrieveAgentRequestAgentsGuardrails$outboundSchema),
|
|
2331
|
+
).optional(),
|
|
2136
2332
|
}).transform((v) => {
|
|
2137
2333
|
return remap$(v, {
|
|
2138
2334
|
frequencyPenalty: "frequency_penalty",
|
|
@@ -2921,6 +3117,134 @@ export const RetrieveAgentRequestFallbackModelConfigurationModalities$outboundSc
|
|
|
2921
3117
|
typeof RetrieveAgentRequestFallbackModelConfigurationModalities
|
|
2922
3118
|
> = RetrieveAgentRequestFallbackModelConfigurationModalities$inboundSchema;
|
|
2923
3119
|
|
|
3120
|
+
/** @internal */
|
|
3121
|
+
export const RetrieveAgentRequestIdAgents1$inboundSchema: z.ZodNativeEnum<
|
|
3122
|
+
typeof RetrieveAgentRequestIdAgents1
|
|
3123
|
+
> = z.nativeEnum(RetrieveAgentRequestIdAgents1);
|
|
3124
|
+
/** @internal */
|
|
3125
|
+
export const RetrieveAgentRequestIdAgents1$outboundSchema: z.ZodNativeEnum<
|
|
3126
|
+
typeof RetrieveAgentRequestIdAgents1
|
|
3127
|
+
> = RetrieveAgentRequestIdAgents1$inboundSchema;
|
|
3128
|
+
|
|
3129
|
+
/** @internal */
|
|
3130
|
+
export const RetrieveAgentRequestFallbackModelConfigurationId$inboundSchema:
|
|
3131
|
+
z.ZodType<
|
|
3132
|
+
RetrieveAgentRequestFallbackModelConfigurationId,
|
|
3133
|
+
z.ZodTypeDef,
|
|
3134
|
+
unknown
|
|
3135
|
+
> = z.union([RetrieveAgentRequestIdAgents1$inboundSchema, z.string()]);
|
|
3136
|
+
/** @internal */
|
|
3137
|
+
export type RetrieveAgentRequestFallbackModelConfigurationId$Outbound =
|
|
3138
|
+
| string
|
|
3139
|
+
| string;
|
|
3140
|
+
|
|
3141
|
+
/** @internal */
|
|
3142
|
+
export const RetrieveAgentRequestFallbackModelConfigurationId$outboundSchema:
|
|
3143
|
+
z.ZodType<
|
|
3144
|
+
RetrieveAgentRequestFallbackModelConfigurationId$Outbound,
|
|
3145
|
+
z.ZodTypeDef,
|
|
3146
|
+
RetrieveAgentRequestFallbackModelConfigurationId
|
|
3147
|
+
> = z.union([RetrieveAgentRequestIdAgents1$outboundSchema, z.string()]);
|
|
3148
|
+
|
|
3149
|
+
export function retrieveAgentRequestFallbackModelConfigurationIdToJSON(
|
|
3150
|
+
retrieveAgentRequestFallbackModelConfigurationId:
|
|
3151
|
+
RetrieveAgentRequestFallbackModelConfigurationId,
|
|
3152
|
+
): string {
|
|
3153
|
+
return JSON.stringify(
|
|
3154
|
+
RetrieveAgentRequestFallbackModelConfigurationId$outboundSchema.parse(
|
|
3155
|
+
retrieveAgentRequestFallbackModelConfigurationId,
|
|
3156
|
+
),
|
|
3157
|
+
);
|
|
3158
|
+
}
|
|
3159
|
+
export function retrieveAgentRequestFallbackModelConfigurationIdFromJSON(
|
|
3160
|
+
jsonString: string,
|
|
3161
|
+
): SafeParseResult<
|
|
3162
|
+
RetrieveAgentRequestFallbackModelConfigurationId,
|
|
3163
|
+
SDKValidationError
|
|
3164
|
+
> {
|
|
3165
|
+
return safeParse(
|
|
3166
|
+
jsonString,
|
|
3167
|
+
(x) =>
|
|
3168
|
+
RetrieveAgentRequestFallbackModelConfigurationId$inboundSchema.parse(
|
|
3169
|
+
JSON.parse(x),
|
|
3170
|
+
),
|
|
3171
|
+
`Failed to parse 'RetrieveAgentRequestFallbackModelConfigurationId' from JSON`,
|
|
3172
|
+
);
|
|
3173
|
+
}
|
|
3174
|
+
|
|
3175
|
+
/** @internal */
|
|
3176
|
+
export const RetrieveAgentRequestFallbackModelConfigurationExecuteOn$inboundSchema:
|
|
3177
|
+
z.ZodNativeEnum<
|
|
3178
|
+
typeof RetrieveAgentRequestFallbackModelConfigurationExecuteOn
|
|
3179
|
+
> = z.nativeEnum(RetrieveAgentRequestFallbackModelConfigurationExecuteOn);
|
|
3180
|
+
/** @internal */
|
|
3181
|
+
export const RetrieveAgentRequestFallbackModelConfigurationExecuteOn$outboundSchema:
|
|
3182
|
+
z.ZodNativeEnum<
|
|
3183
|
+
typeof RetrieveAgentRequestFallbackModelConfigurationExecuteOn
|
|
3184
|
+
> = RetrieveAgentRequestFallbackModelConfigurationExecuteOn$inboundSchema;
|
|
3185
|
+
|
|
3186
|
+
/** @internal */
|
|
3187
|
+
export const RetrieveAgentRequestFallbackModelConfigurationGuardrails$inboundSchema:
|
|
3188
|
+
z.ZodType<
|
|
3189
|
+
RetrieveAgentRequestFallbackModelConfigurationGuardrails,
|
|
3190
|
+
z.ZodTypeDef,
|
|
3191
|
+
unknown
|
|
3192
|
+
> = z.object({
|
|
3193
|
+
id: z.union([RetrieveAgentRequestIdAgents1$inboundSchema, z.string()]),
|
|
3194
|
+
execute_on:
|
|
3195
|
+
RetrieveAgentRequestFallbackModelConfigurationExecuteOn$inboundSchema,
|
|
3196
|
+
}).transform((v) => {
|
|
3197
|
+
return remap$(v, {
|
|
3198
|
+
"execute_on": "executeOn",
|
|
3199
|
+
});
|
|
3200
|
+
});
|
|
3201
|
+
/** @internal */
|
|
3202
|
+
export type RetrieveAgentRequestFallbackModelConfigurationGuardrails$Outbound =
|
|
3203
|
+
{
|
|
3204
|
+
id: string | string;
|
|
3205
|
+
execute_on: string;
|
|
3206
|
+
};
|
|
3207
|
+
|
|
3208
|
+
/** @internal */
|
|
3209
|
+
export const RetrieveAgentRequestFallbackModelConfigurationGuardrails$outboundSchema:
|
|
3210
|
+
z.ZodType<
|
|
3211
|
+
RetrieveAgentRequestFallbackModelConfigurationGuardrails$Outbound,
|
|
3212
|
+
z.ZodTypeDef,
|
|
3213
|
+
RetrieveAgentRequestFallbackModelConfigurationGuardrails
|
|
3214
|
+
> = z.object({
|
|
3215
|
+
id: z.union([RetrieveAgentRequestIdAgents1$outboundSchema, z.string()]),
|
|
3216
|
+
executeOn:
|
|
3217
|
+
RetrieveAgentRequestFallbackModelConfigurationExecuteOn$outboundSchema,
|
|
3218
|
+
}).transform((v) => {
|
|
3219
|
+
return remap$(v, {
|
|
3220
|
+
executeOn: "execute_on",
|
|
3221
|
+
});
|
|
3222
|
+
});
|
|
3223
|
+
|
|
3224
|
+
export function retrieveAgentRequestFallbackModelConfigurationGuardrailsToJSON(
|
|
3225
|
+
retrieveAgentRequestFallbackModelConfigurationGuardrails:
|
|
3226
|
+
RetrieveAgentRequestFallbackModelConfigurationGuardrails,
|
|
3227
|
+
): string {
|
|
3228
|
+
return JSON.stringify(
|
|
3229
|
+
RetrieveAgentRequestFallbackModelConfigurationGuardrails$outboundSchema
|
|
3230
|
+
.parse(retrieveAgentRequestFallbackModelConfigurationGuardrails),
|
|
3231
|
+
);
|
|
3232
|
+
}
|
|
3233
|
+
export function retrieveAgentRequestFallbackModelConfigurationGuardrailsFromJSON(
|
|
3234
|
+
jsonString: string,
|
|
3235
|
+
): SafeParseResult<
|
|
3236
|
+
RetrieveAgentRequestFallbackModelConfigurationGuardrails,
|
|
3237
|
+
SDKValidationError
|
|
3238
|
+
> {
|
|
3239
|
+
return safeParse(
|
|
3240
|
+
jsonString,
|
|
3241
|
+
(x) =>
|
|
3242
|
+
RetrieveAgentRequestFallbackModelConfigurationGuardrails$inboundSchema
|
|
3243
|
+
.parse(JSON.parse(x)),
|
|
3244
|
+
`Failed to parse 'RetrieveAgentRequestFallbackModelConfigurationGuardrails' from JSON`,
|
|
3245
|
+
);
|
|
3246
|
+
}
|
|
3247
|
+
|
|
2924
3248
|
/** @internal */
|
|
2925
3249
|
export const RetrieveAgentRequestFallbackModelConfigurationParameters$inboundSchema:
|
|
2926
3250
|
z.ZodType<
|
|
@@ -2977,6 +3301,11 @@ export const RetrieveAgentRequestFallbackModelConfigurationParameters$inboundSch
|
|
|
2977
3301
|
RetrieveAgentRequestFallbackModelConfigurationModalities$inboundSchema,
|
|
2978
3302
|
),
|
|
2979
3303
|
).optional(),
|
|
3304
|
+
guardrails: z.array(
|
|
3305
|
+
z.lazy(() =>
|
|
3306
|
+
RetrieveAgentRequestFallbackModelConfigurationGuardrails$inboundSchema
|
|
3307
|
+
),
|
|
3308
|
+
).optional(),
|
|
2980
3309
|
}).transform((v) => {
|
|
2981
3310
|
return remap$(v, {
|
|
2982
3311
|
"frequency_penalty": "frequencyPenalty",
|
|
@@ -3033,6 +3362,9 @@ export type RetrieveAgentRequestFallbackModelConfigurationParameters$Outbound =
|
|
|
3033
3362
|
| undefined;
|
|
3034
3363
|
parallel_tool_calls?: boolean | undefined;
|
|
3035
3364
|
modalities?: Array<string> | null | undefined;
|
|
3365
|
+
guardrails?:
|
|
3366
|
+
| Array<RetrieveAgentRequestFallbackModelConfigurationGuardrails$Outbound>
|
|
3367
|
+
| undefined;
|
|
3036
3368
|
};
|
|
3037
3369
|
|
|
3038
3370
|
/** @internal */
|
|
@@ -3091,6 +3423,11 @@ export const RetrieveAgentRequestFallbackModelConfigurationParameters$outboundSc
|
|
|
3091
3423
|
RetrieveAgentRequestFallbackModelConfigurationModalities$outboundSchema,
|
|
3092
3424
|
),
|
|
3093
3425
|
).optional(),
|
|
3426
|
+
guardrails: z.array(
|
|
3427
|
+
z.lazy(() =>
|
|
3428
|
+
RetrieveAgentRequestFallbackModelConfigurationGuardrails$outboundSchema
|
|
3429
|
+
),
|
|
3430
|
+
).optional(),
|
|
3094
3431
|
}).transform((v) => {
|
|
3095
3432
|
return remap$(v, {
|
|
3096
3433
|
frequencyPenalty: "frequency_penalty",
|
|
@@ -112,7 +112,7 @@ export const RetrieveContactResponseBody$inboundSchema: z.ZodType<
|
|
|
112
112
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
113
113
|
.optional(),
|
|
114
114
|
updated: z.string().datetime({ offset: true }).default(
|
|
115
|
-
"2025-12-
|
|
115
|
+
"2025-12-13T17:08:00.934Z",
|
|
116
116
|
).transform(v => new Date(v)),
|
|
117
117
|
}).transform((v) => {
|
|
118
118
|
return remap$(v, {
|
|
@@ -149,7 +149,7 @@ export const RetrieveContactResponseBody$outboundSchema: z.ZodType<
|
|
|
149
149
|
tags: z.array(z.string()).optional(),
|
|
150
150
|
metadata: z.record(z.any()).optional(),
|
|
151
151
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
152
|
-
updated: z.date().default(() => new Date("2025-12-
|
|
152
|
+
updated: z.date().default(() => new Date("2025-12-13T17:08:00.934Z"))
|
|
153
153
|
.transform(v => v.toISOString()),
|
|
154
154
|
}).transform((v) => {
|
|
155
155
|
return remap$(v, {
|
|
@@ -193,7 +193,7 @@ export const RetrieveConversationResponseBody$inboundSchema: z.ZodType<
|
|
|
193
193
|
z.ZodTypeDef,
|
|
194
194
|
unknown
|
|
195
195
|
> = z.object({
|
|
196
|
-
_id: z.string().default("
|
|
196
|
+
_id: z.string().default("conv_01kccay59zdx5h6v0ebakc3j53"),
|
|
197
197
|
entityId: z.string(),
|
|
198
198
|
kind: RetrieveConversationKind$inboundSchema,
|
|
199
199
|
displayName: z.string(),
|
|
@@ -226,7 +226,7 @@ export const RetrieveConversationResponseBody$outboundSchema: z.ZodType<
|
|
|
226
226
|
z.ZodTypeDef,
|
|
227
227
|
RetrieveConversationResponseBody
|
|
228
228
|
> = z.object({
|
|
229
|
-
id: z.string().default("
|
|
229
|
+
id: z.string().default("conv_01kccay59zdx5h6v0ebakc3j53"),
|
|
230
230
|
entityId: z.string(),
|
|
231
231
|
kind: RetrieveConversationKind$outboundSchema,
|
|
232
232
|
displayName: z.string(),
|
|
@@ -1878,7 +1878,7 @@ export const RetrieveDatapointEvaluations3$inboundSchema: z.ZodType<
|
|
|
1878
1878
|
.default("orq"),
|
|
1879
1879
|
reviewed_by_id: z.string(),
|
|
1880
1880
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1881
|
-
"2025-12-
|
|
1881
|
+
"2025-12-13T17:08:06.199Z",
|
|
1882
1882
|
).transform(v => new Date(v)),
|
|
1883
1883
|
type: z.literal("string_array"),
|
|
1884
1884
|
values: z.array(z.string()),
|
|
@@ -1915,7 +1915,7 @@ export const RetrieveDatapointEvaluations3$outboundSchema: z.ZodType<
|
|
|
1915
1915
|
source: RetrieveDatapointEvaluationsDatasetsResponseSource$outboundSchema
|
|
1916
1916
|
.default("orq"),
|
|
1917
1917
|
reviewedById: z.string(),
|
|
1918
|
-
reviewedAt: z.date().default(() => new Date("2025-12-
|
|
1918
|
+
reviewedAt: z.date().default(() => new Date("2025-12-13T17:08:06.199Z"))
|
|
1919
1919
|
.transform(v => v.toISOString()),
|
|
1920
1920
|
type: z.literal("string_array"),
|
|
1921
1921
|
values: z.array(z.string()),
|
|
@@ -1980,7 +1980,7 @@ export const RetrieveDatapointEvaluations2$inboundSchema: z.ZodType<
|
|
|
1980
1980
|
),
|
|
1981
1981
|
reviewed_by_id: z.string(),
|
|
1982
1982
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1983
|
-
"2025-12-
|
|
1983
|
+
"2025-12-13T17:08:06.199Z",
|
|
1984
1984
|
).transform(v => new Date(v)),
|
|
1985
1985
|
type: z.literal("number"),
|
|
1986
1986
|
value: z.number(),
|
|
@@ -2018,7 +2018,7 @@ export const RetrieveDatapointEvaluations2$outboundSchema: z.ZodType<
|
|
|
2018
2018
|
"orq",
|
|
2019
2019
|
),
|
|
2020
2020
|
reviewedById: z.string(),
|
|
2021
|
-
reviewedAt: z.date().default(() => new Date("2025-12-
|
|
2021
|
+
reviewedAt: z.date().default(() => new Date("2025-12-13T17:08:06.199Z"))
|
|
2022
2022
|
.transform(v => v.toISOString()),
|
|
2023
2023
|
type: z.literal("number"),
|
|
2024
2024
|
value: z.number(),
|
|
@@ -2080,7 +2080,7 @@ export const RetrieveDatapointEvaluations1$inboundSchema: z.ZodType<
|
|
|
2080
2080
|
source: RetrieveDatapointEvaluationsSource$inboundSchema.default("orq"),
|
|
2081
2081
|
reviewed_by_id: z.string(),
|
|
2082
2082
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2083
|
-
"2025-12-
|
|
2083
|
+
"2025-12-13T17:08:06.199Z",
|
|
2084
2084
|
).transform(v => new Date(v)),
|
|
2085
2085
|
type: z.literal("string"),
|
|
2086
2086
|
value: z.string(),
|
|
@@ -2115,7 +2115,7 @@ export const RetrieveDatapointEvaluations1$outboundSchema: z.ZodType<
|
|
|
2115
2115
|
humanReviewId: z.string(),
|
|
2116
2116
|
source: RetrieveDatapointEvaluationsSource$outboundSchema.default("orq"),
|
|
2117
2117
|
reviewedById: z.string(),
|
|
2118
|
-
reviewedAt: z.date().default(() => new Date("2025-12-
|
|
2118
|
+
reviewedAt: z.date().default(() => new Date("2025-12-13T17:08:06.199Z"))
|
|
2119
2119
|
.transform(v => v.toISOString()),
|
|
2120
2120
|
type: z.literal("string"),
|
|
2121
2121
|
value: z.string(),
|
|
@@ -2226,7 +2226,7 @@ export const RetrieveDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
2226
2226
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
2227
2227
|
.optional(),
|
|
2228
2228
|
updated: z.string().datetime({ offset: true }).default(
|
|
2229
|
-
"2025-12-
|
|
2229
|
+
"2025-12-13T17:08:00.934Z",
|
|
2230
2230
|
).transform(v => new Date(v)),
|
|
2231
2231
|
}).transform((v) => {
|
|
2232
2232
|
return remap$(v, {
|
|
@@ -2300,7 +2300,7 @@ export const RetrieveDatapointResponseBody$outboundSchema: z.ZodType<
|
|
|
2300
2300
|
createdById: z.string().optional(),
|
|
2301
2301
|
updatedById: z.string().optional(),
|
|
2302
2302
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
2303
|
-
updated: z.date().default(() => new Date("2025-12-
|
|
2303
|
+
updated: z.date().default(() => new Date("2025-12-13T17:08:00.934Z"))
|
|
2304
2304
|
.transform(v => v.toISOString()),
|
|
2305
2305
|
}).transform((v) => {
|
|
2306
2306
|
return remap$(v, {
|
|
@@ -174,7 +174,7 @@ export const RetrieveDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
174
174
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
175
175
|
.optional(),
|
|
176
176
|
updated: z.string().datetime({ offset: true }).default(
|
|
177
|
-
"2025-12-
|
|
177
|
+
"2025-12-13T17:08:00.934Z",
|
|
178
178
|
).transform(v => new Date(v)),
|
|
179
179
|
}).transform((v) => {
|
|
180
180
|
return remap$(v, {
|
|
@@ -213,7 +213,7 @@ export const RetrieveDatasetResponseBody$outboundSchema: z.ZodType<
|
|
|
213
213
|
createdById: z.string().optional(),
|
|
214
214
|
updatedById: z.string().optional(),
|
|
215
215
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
216
|
-
updated: z.date().default(() => new Date("2025-12-
|
|
216
|
+
updated: z.date().default(() => new Date("2025-12-13T17:08:00.934Z"))
|
|
217
217
|
.transform(v => v.toISOString()),
|
|
218
218
|
}).transform((v) => {
|
|
219
219
|
return remap$(v, {
|
|
@@ -145,7 +145,7 @@ export const RetrieveDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
145
145
|
z.ZodTypeDef,
|
|
146
146
|
unknown
|
|
147
147
|
> = z.object({
|
|
148
|
-
_id: z.string().default("
|
|
148
|
+
_id: z.string().default("01KCCAY5CWS6RHHA4D9C42YVCP"),
|
|
149
149
|
display_name: z.string(),
|
|
150
150
|
description: z.string().optional(),
|
|
151
151
|
status: RetrieveDatasourceStatus$inboundSchema,
|
|
@@ -188,7 +188,7 @@ export const RetrieveDatasourceResponseBody$outboundSchema: z.ZodType<
|
|
|
188
188
|
z.ZodTypeDef,
|
|
189
189
|
RetrieveDatasourceResponseBody
|
|
190
190
|
> = z.object({
|
|
191
|
-
id: z.string().default("
|
|
191
|
+
id: z.string().default("01KCCAY5CWS6RHHA4D9C42YVCP"),
|
|
192
192
|
displayName: z.string(),
|
|
193
193
|
description: z.string().optional(),
|
|
194
194
|
status: RetrieveDatasourceStatus$outboundSchema,
|
|
@@ -858,7 +858,7 @@ export const RetrieveToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
858
858
|
z.ZodTypeDef,
|
|
859
859
|
unknown
|
|
860
860
|
> = z.object({
|
|
861
|
-
_id: z.string().default("
|
|
861
|
+
_id: z.string().default("tool_01KCCAY5C3Z8CSTGJ5MC58GMN0"),
|
|
862
862
|
path: z.string(),
|
|
863
863
|
key: z.string(),
|
|
864
864
|
display_name: z.string().optional(),
|
|
@@ -913,7 +913,7 @@ export const RetrieveToolResponseBodyCodeExecutionTool$outboundSchema:
|
|
|
913
913
|
z.ZodTypeDef,
|
|
914
914
|
RetrieveToolResponseBodyCodeExecutionTool
|
|
915
915
|
> = z.object({
|
|
916
|
-
id: z.string().default("
|
|
916
|
+
id: z.string().default("tool_01KCCAY5C3Z8CSTGJ5MC58GMN0"),
|
|
917
917
|
path: z.string(),
|
|
918
918
|
key: z.string(),
|
|
919
919
|
displayName: z.string().optional(),
|
|
@@ -1092,7 +1092,7 @@ export const RetrieveToolResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
1092
1092
|
z.ZodTypeDef,
|
|
1093
1093
|
unknown
|
|
1094
1094
|
> = z.object({
|
|
1095
|
-
id: z.string().default("
|
|
1095
|
+
id: z.string().default("01KCCAY5C3KHXB1X1F9SFCGTPV"),
|
|
1096
1096
|
name: z.string(),
|
|
1097
1097
|
description: z.string().optional(),
|
|
1098
1098
|
schema: z.lazy(() => RetrieveToolResponseBodyToolsSchema$inboundSchema),
|
|
@@ -1111,7 +1111,7 @@ export const RetrieveToolResponseBodyTools$outboundSchema: z.ZodType<
|
|
|
1111
1111
|
z.ZodTypeDef,
|
|
1112
1112
|
RetrieveToolResponseBodyTools
|
|
1113
1113
|
> = z.object({
|
|
1114
|
-
id: z.string().default("
|
|
1114
|
+
id: z.string().default("01KCCAY5C3KHXB1X1F9SFCGTPV"),
|
|
1115
1115
|
name: z.string(),
|
|
1116
1116
|
description: z.string().optional(),
|
|
1117
1117
|
schema: z.lazy(() => RetrieveToolResponseBodyToolsSchema$outboundSchema),
|
|
@@ -1217,7 +1217,7 @@ export const RetrieveToolResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
1217
1217
|
z.ZodTypeDef,
|
|
1218
1218
|
unknown
|
|
1219
1219
|
> = z.object({
|
|
1220
|
-
_id: z.string().default("
|
|
1220
|
+
_id: z.string().default("tool_01KCCAY5C2DQ25TGBC4BR5YZX8"),
|
|
1221
1221
|
path: z.string(),
|
|
1222
1222
|
key: z.string(),
|
|
1223
1223
|
display_name: z.string().optional(),
|
|
@@ -1270,7 +1270,7 @@ export const RetrieveToolResponseBodyMCPTool$outboundSchema: z.ZodType<
|
|
|
1270
1270
|
z.ZodTypeDef,
|
|
1271
1271
|
RetrieveToolResponseBodyMCPTool
|
|
1272
1272
|
> = z.object({
|
|
1273
|
-
id: z.string().default("
|
|
1273
|
+
id: z.string().default("tool_01KCCAY5C2DQ25TGBC4BR5YZX8"),
|
|
1274
1274
|
path: z.string(),
|
|
1275
1275
|
key: z.string(),
|
|
1276
1276
|
displayName: z.string().optional(),
|
|
@@ -1641,7 +1641,7 @@ export const RetrieveToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
1641
1641
|
z.ZodTypeDef,
|
|
1642
1642
|
unknown
|
|
1643
1643
|
> = z.object({
|
|
1644
|
-
_id: z.string().default("
|
|
1644
|
+
_id: z.string().default("tool_01KCCAY5C2AKGKZH6F70VQKHRF"),
|
|
1645
1645
|
path: z.string(),
|
|
1646
1646
|
key: z.string(),
|
|
1647
1647
|
display_name: z.string().optional(),
|
|
@@ -1694,7 +1694,7 @@ export const RetrieveToolResponseBodyHTTPTool$outboundSchema: z.ZodType<
|
|
|
1694
1694
|
z.ZodTypeDef,
|
|
1695
1695
|
RetrieveToolResponseBodyHTTPTool
|
|
1696
1696
|
> = z.object({
|
|
1697
|
-
id: z.string().default("
|
|
1697
|
+
id: z.string().default("tool_01KCCAY5C2AKGKZH6F70VQKHRF"),
|
|
1698
1698
|
path: z.string(),
|
|
1699
1699
|
key: z.string(),
|
|
1700
1700
|
displayName: z.string().optional(),
|
|
@@ -1868,7 +1868,7 @@ export const RetrieveToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
1868
1868
|
z.ZodTypeDef,
|
|
1869
1869
|
unknown
|
|
1870
1870
|
> = z.object({
|
|
1871
|
-
_id: z.string().default("
|
|
1871
|
+
_id: z.string().default("tool_01KCCAY5C14Z568H1E633981T4"),
|
|
1872
1872
|
path: z.string(),
|
|
1873
1873
|
key: z.string(),
|
|
1874
1874
|
display_name: z.string().optional(),
|
|
@@ -1920,7 +1920,7 @@ export const RetrieveToolResponseBodyJSONSchemaTool$outboundSchema: z.ZodType<
|
|
|
1920
1920
|
z.ZodTypeDef,
|
|
1921
1921
|
RetrieveToolResponseBodyJSONSchemaTool
|
|
1922
1922
|
> = z.object({
|
|
1923
|
-
id: z.string().default("
|
|
1923
|
+
id: z.string().default("tool_01KCCAY5C14Z568H1E633981T4"),
|
|
1924
1924
|
path: z.string(),
|
|
1925
1925
|
key: z.string(),
|
|
1926
1926
|
displayName: z.string().optional(),
|
|
@@ -2113,7 +2113,7 @@ export const RetrieveToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
2113
2113
|
z.ZodTypeDef,
|
|
2114
2114
|
unknown
|
|
2115
2115
|
> = z.object({
|
|
2116
|
-
_id: z.string().default("
|
|
2116
|
+
_id: z.string().default("tool_01KCCAY5C1C5SHE14JDZE4R70H"),
|
|
2117
2117
|
path: z.string(),
|
|
2118
2118
|
key: z.string(),
|
|
2119
2119
|
display_name: z.string().optional(),
|
|
@@ -2164,7 +2164,7 @@ export const RetrieveToolResponseBodyFunctionTool$outboundSchema: z.ZodType<
|
|
|
2164
2164
|
z.ZodTypeDef,
|
|
2165
2165
|
RetrieveToolResponseBodyFunctionTool
|
|
2166
2166
|
> = z.object({
|
|
2167
|
-
id: z.string().default("
|
|
2167
|
+
id: z.string().default("tool_01KCCAY5C1C5SHE14JDZE4R70H"),
|
|
2168
2168
|
path: z.string(),
|
|
2169
2169
|
key: z.string(),
|
|
2170
2170
|
displayName: z.string().optional(),
|