@orq-ai/node 4.11.0-rc.4 → 4.11.0-rc.5
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 +2 -2
- package/lib/config.js +2 -2
- package/models/components/modelmetadata.d.ts +2 -0
- package/models/components/modelmetadata.d.ts.map +1 -1
- package/models/components/modelmetadata.js +4 -0
- package/models/components/modelmetadata.js.map +1 -1
- package/models/components/reasoning.d.ts +40 -2
- package/models/components/reasoning.d.ts.map +1 -1
- package/models/components/reasoning.js +26 -3
- package/models/components/reasoning.js.map +1 -1
- package/models/components/reasoningparam.d.ts +40 -2
- package/models/components/reasoningparam.d.ts.map +1 -1
- package/models/components/reasoningparam.js +28 -3
- package/models/components/reasoningparam.js.map +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/createagentrequest.d.ts +298 -4
- package/models/operations/createagentrequest.d.ts.map +1 -1
- package/models/operations/createagentrequest.js +163 -9
- package/models/operations/createagentrequest.js.map +1 -1
- package/models/operations/createchatcompletion.d.ts +81 -4
- package/models/operations/createchatcompletion.d.ts.map +1 -1
- package/models/operations/createchatcompletion.js +45 -7
- package/models/operations/createchatcompletion.js.map +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/createprompt.d.ts +225 -12
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +124 -13
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createrouterresponse.d.ts +353 -8
- package/models/operations/createrouterresponse.d.ts.map +1 -1
- package/models/operations/createrouterresponse.js +198 -7
- package/models/operations/createrouterresponse.js.map +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/deploymentgetconfig.d.ts +70 -4
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +43 -8
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deployments.d.ts +74 -8
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +43 -8
- package/models/operations/deployments.js.map +1 -1
- package/models/operations/getallprompts.d.ts +140 -4
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +79 -6
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getevals.js +16 -16
- package/models/operations/getoneprompt.d.ts +140 -4
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +79 -6
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +140 -4
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +78 -6
- 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/listagents.d.ts +140 -0
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +79 -3
- package/models/operations/listagents.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/listknowledgebases.d.ts +3 -0
- package/models/operations/listknowledgebases.d.ts.map +1 -1
- package/models/operations/listknowledgebases.js +1 -1
- package/models/operations/listknowledgebases.js.map +1 -1
- package/models/operations/listpromptversions.d.ts +140 -4
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +79 -6
- 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/retrieveagentrequest.d.ts +140 -0
- package/models/operations/retrieveagentrequest.d.ts.map +1 -1
- package/models/operations/retrieveagentrequest.js +81 -2
- package/models/operations/retrieveagentrequest.js.map +1 -1
- 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.d.ts +154 -0
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +80 -5
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +154 -0
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +82 -4
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +298 -4
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +162 -9
- package/models/operations/updateagent.js.map +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/updateprompt.d.ts +225 -12
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +125 -14
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +5 -5
- package/sdk/feedback.d.ts +1 -4
- package/sdk/feedback.d.ts.map +1 -1
- package/sdk/feedback.js +1 -4
- package/sdk/feedback.js.map +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/modelmetadata.ts +6 -0
- package/src/models/components/reasoning.ts +50 -4
- package/src/models/components/reasoningparam.ts +48 -4
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createagentrequest.ts +460 -8
- package/src/models/operations/createchatcompletion.ts +129 -10
- 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/createprompt.ts +356 -27
- package/src/models/operations/createrouterresponse.ts +540 -16
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/deploymentgetconfig.ts +105 -8
- package/src/models/operations/deployments.ts +113 -16
- package/src/models/operations/getallprompts.ts +210 -8
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getevals.ts +16 -16
- package/src/models/operations/getoneprompt.ts +208 -8
- package/src/models/operations/getpromptversion.ts +212 -8
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/listagents.ts +215 -0
- 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/listknowledgebases.ts +4 -1
- package/src/models/operations/listpromptversions.ts +212 -8
- 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/retrieveagentrequest.ts +222 -0
- 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 +236 -1
- package/src/models/operations/streamrunagent.ts +242 -1
- package/src/models/operations/updateagent.ts +464 -9
- 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/updateprompt.ts +356 -27
- package/src/models/operations/updatetool.ts +7 -7
- package/src/sdk/feedback.ts +1 -4
|
@@ -166,6 +166,68 @@ export type GetAllPromptsPromptsResponseFormat =
|
|
|
166
166
|
| GetAllPromptsResponseFormat5
|
|
167
167
|
| GetAllPromptsResponseFormat6;
|
|
168
168
|
|
|
169
|
+
/**
|
|
170
|
+
* Create a cache control breakpoint. Accepts only the value "ephemeral".
|
|
171
|
+
*/
|
|
172
|
+
export const GetAllPromptsPromptsResponse200Type = {
|
|
173
|
+
Ephemeral: "ephemeral",
|
|
174
|
+
} as const;
|
|
175
|
+
/**
|
|
176
|
+
* Create a cache control breakpoint. Accepts only the value "ephemeral".
|
|
177
|
+
*/
|
|
178
|
+
export type GetAllPromptsPromptsResponse200Type = ClosedEnum<
|
|
179
|
+
typeof GetAllPromptsPromptsResponse200Type
|
|
180
|
+
>;
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
184
|
+
*
|
|
185
|
+
* @remarks
|
|
186
|
+
*
|
|
187
|
+
* - `5m`: 5 minutes
|
|
188
|
+
* - `1h`: 1 hour
|
|
189
|
+
*
|
|
190
|
+
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
191
|
+
*/
|
|
192
|
+
export const GetAllPromptsPromptsTtl = {
|
|
193
|
+
Fivem: "5m",
|
|
194
|
+
Oneh: "1h",
|
|
195
|
+
} as const;
|
|
196
|
+
/**
|
|
197
|
+
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
198
|
+
*
|
|
199
|
+
* @remarks
|
|
200
|
+
*
|
|
201
|
+
* - `5m`: 5 minutes
|
|
202
|
+
* - `1h`: 1 hour
|
|
203
|
+
*
|
|
204
|
+
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
205
|
+
*/
|
|
206
|
+
export type GetAllPromptsPromptsTtl = ClosedEnum<
|
|
207
|
+
typeof GetAllPromptsPromptsTtl
|
|
208
|
+
>;
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* Provider-level prompt caching configuration applied to the request. Creates a cache control breakpoint covering the request content. Only supported by `Anthropic` Claude models.
|
|
212
|
+
*/
|
|
213
|
+
export type GetAllPromptsPromptsCacheControl = {
|
|
214
|
+
/**
|
|
215
|
+
* Create a cache control breakpoint. Accepts only the value "ephemeral".
|
|
216
|
+
*/
|
|
217
|
+
type: GetAllPromptsPromptsResponse200Type;
|
|
218
|
+
/**
|
|
219
|
+
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
220
|
+
*
|
|
221
|
+
* @remarks
|
|
222
|
+
*
|
|
223
|
+
* - `5m`: 5 minutes
|
|
224
|
+
* - `1h`: 1 hour
|
|
225
|
+
*
|
|
226
|
+
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
227
|
+
*/
|
|
228
|
+
ttl: GetAllPromptsPromptsTtl;
|
|
229
|
+
};
|
|
230
|
+
|
|
169
231
|
/**
|
|
170
232
|
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
171
233
|
*/
|
|
@@ -312,6 +374,10 @@ export type GetAllPromptsModelParameters = {
|
|
|
312
374
|
| GetAllPromptsResponseFormat6
|
|
313
375
|
| null
|
|
314
376
|
| undefined;
|
|
377
|
+
/**
|
|
378
|
+
* Provider-level prompt caching configuration applied to the request. Creates a cache control breakpoint covering the request content. Only supported by `Anthropic` Claude models.
|
|
379
|
+
*/
|
|
380
|
+
cacheControl?: GetAllPromptsPromptsCacheControl | null | undefined;
|
|
315
381
|
/**
|
|
316
382
|
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
317
383
|
*/
|
|
@@ -466,11 +532,11 @@ export type GetAllPromptsContent =
|
|
|
466
532
|
| string
|
|
467
533
|
| Array<GetAllPrompts21 | GetAllPrompts22 | GetAllPrompts23>;
|
|
468
534
|
|
|
469
|
-
export const
|
|
535
|
+
export const GetAllPromptsPromptsResponse200ApplicationJSONType = {
|
|
470
536
|
Function: "function",
|
|
471
537
|
} as const;
|
|
472
|
-
export type
|
|
473
|
-
typeof
|
|
538
|
+
export type GetAllPromptsPromptsResponse200ApplicationJSONType = ClosedEnum<
|
|
539
|
+
typeof GetAllPromptsPromptsResponse200ApplicationJSONType
|
|
474
540
|
>;
|
|
475
541
|
|
|
476
542
|
export type GetAllPromptsFunction = {
|
|
@@ -484,7 +550,7 @@ export type GetAllPromptsFunction = {
|
|
|
484
550
|
export type GetAllPromptsToolCalls = {
|
|
485
551
|
id?: string | undefined;
|
|
486
552
|
index?: number | undefined;
|
|
487
|
-
type:
|
|
553
|
+
type: GetAllPromptsPromptsResponse200ApplicationJSONType;
|
|
488
554
|
function: GetAllPromptsFunction;
|
|
489
555
|
};
|
|
490
556
|
|
|
@@ -855,6 +921,66 @@ export type GetAllPromptsTimeout = {
|
|
|
855
921
|
callTimeout: number;
|
|
856
922
|
};
|
|
857
923
|
|
|
924
|
+
/**
|
|
925
|
+
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
926
|
+
*/
|
|
927
|
+
export const GetAllPromptsPromptsResponseType = {
|
|
928
|
+
Ephemeral: "ephemeral",
|
|
929
|
+
} as const;
|
|
930
|
+
/**
|
|
931
|
+
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
932
|
+
*/
|
|
933
|
+
export type GetAllPromptsPromptsResponseType = ClosedEnum<
|
|
934
|
+
typeof GetAllPromptsPromptsResponseType
|
|
935
|
+
>;
|
|
936
|
+
|
|
937
|
+
/**
|
|
938
|
+
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
939
|
+
*
|
|
940
|
+
* @remarks
|
|
941
|
+
*
|
|
942
|
+
* - `5m`: 5 minutes
|
|
943
|
+
* - `1h`: 1 hour
|
|
944
|
+
*
|
|
945
|
+
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
946
|
+
*/
|
|
947
|
+
export const GetAllPromptsTtl = {
|
|
948
|
+
Fivem: "5m",
|
|
949
|
+
Oneh: "1h",
|
|
950
|
+
} as const;
|
|
951
|
+
/**
|
|
952
|
+
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
953
|
+
*
|
|
954
|
+
* @remarks
|
|
955
|
+
*
|
|
956
|
+
* - `5m`: 5 minutes
|
|
957
|
+
* - `1h`: 1 hour
|
|
958
|
+
*
|
|
959
|
+
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
960
|
+
*/
|
|
961
|
+
export type GetAllPromptsTtl = ClosedEnum<typeof GetAllPromptsTtl>;
|
|
962
|
+
|
|
963
|
+
/**
|
|
964
|
+
* Provider-level prompt caching configuration applied to the request. Creates a cache control breakpoint covering the request content. Only supported by `Anthropic` Claude models.
|
|
965
|
+
*/
|
|
966
|
+
export type GetAllPromptsCacheControl = {
|
|
967
|
+
/**
|
|
968
|
+
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
969
|
+
*/
|
|
970
|
+
type: GetAllPromptsPromptsResponseType;
|
|
971
|
+
/**
|
|
972
|
+
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
973
|
+
*
|
|
974
|
+
* @remarks
|
|
975
|
+
*
|
|
976
|
+
* - `5m`: 5 minutes
|
|
977
|
+
* - `1h`: 1 hour
|
|
978
|
+
*
|
|
979
|
+
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
980
|
+
*/
|
|
981
|
+
ttl: GetAllPromptsTtl;
|
|
982
|
+
};
|
|
983
|
+
|
|
858
984
|
export type GetAllPromptsContentPromptsResponse2002 =
|
|
859
985
|
components.TextContentPartSchema;
|
|
860
986
|
|
|
@@ -1318,6 +1444,14 @@ export type GetAllPromptsPromptField = {
|
|
|
1318
1444
|
* Timeout configuration to apply to the request. If the request exceeds the timeout, it will be retried or fallback to the next model if configured.
|
|
1319
1445
|
*/
|
|
1320
1446
|
timeout?: GetAllPromptsTimeout | undefined;
|
|
1447
|
+
/**
|
|
1448
|
+
* Provider-level prompt caching configuration applied to the request. Creates a cache control breakpoint covering the request content. Only supported by `Anthropic` Claude models.
|
|
1449
|
+
*/
|
|
1450
|
+
cacheControl?: GetAllPromptsCacheControl | undefined;
|
|
1451
|
+
/**
|
|
1452
|
+
* Used by OpenAI to cache responses for similar requests to optimize your cache hit rates. Replaces the legacy `user` field for prompt caching.
|
|
1453
|
+
*/
|
|
1454
|
+
promptCacheKey?: string | undefined;
|
|
1321
1455
|
/**
|
|
1322
1456
|
* Array of messages that make up the conversation. Each message has a role (system, user, assistant, or tool) and content.
|
|
1323
1457
|
*/
|
|
@@ -1639,6 +1773,36 @@ export function getAllPromptsPromptsResponseFormatFromJSON(
|
|
|
1639
1773
|
);
|
|
1640
1774
|
}
|
|
1641
1775
|
|
|
1776
|
+
/** @internal */
|
|
1777
|
+
export const GetAllPromptsPromptsResponse200Type$inboundSchema: z.ZodNativeEnum<
|
|
1778
|
+
typeof GetAllPromptsPromptsResponse200Type
|
|
1779
|
+
> = z.nativeEnum(GetAllPromptsPromptsResponse200Type);
|
|
1780
|
+
|
|
1781
|
+
/** @internal */
|
|
1782
|
+
export const GetAllPromptsPromptsTtl$inboundSchema: z.ZodNativeEnum<
|
|
1783
|
+
typeof GetAllPromptsPromptsTtl
|
|
1784
|
+
> = z.nativeEnum(GetAllPromptsPromptsTtl);
|
|
1785
|
+
|
|
1786
|
+
/** @internal */
|
|
1787
|
+
export const GetAllPromptsPromptsCacheControl$inboundSchema: z.ZodType<
|
|
1788
|
+
GetAllPromptsPromptsCacheControl,
|
|
1789
|
+
z.ZodTypeDef,
|
|
1790
|
+
unknown
|
|
1791
|
+
> = z.object({
|
|
1792
|
+
type: GetAllPromptsPromptsResponse200Type$inboundSchema,
|
|
1793
|
+
ttl: GetAllPromptsPromptsTtl$inboundSchema.default("5m"),
|
|
1794
|
+
});
|
|
1795
|
+
|
|
1796
|
+
export function getAllPromptsPromptsCacheControlFromJSON(
|
|
1797
|
+
jsonString: string,
|
|
1798
|
+
): SafeParseResult<GetAllPromptsPromptsCacheControl, SDKValidationError> {
|
|
1799
|
+
return safeParse(
|
|
1800
|
+
jsonString,
|
|
1801
|
+
(x) => GetAllPromptsPromptsCacheControl$inboundSchema.parse(JSON.parse(x)),
|
|
1802
|
+
`Failed to parse 'GetAllPromptsPromptsCacheControl' from JSON`,
|
|
1803
|
+
);
|
|
1804
|
+
}
|
|
1805
|
+
|
|
1642
1806
|
/** @internal */
|
|
1643
1807
|
export const GetAllPromptsPhotoRealVersion$inboundSchema: z.ZodNativeEnum<
|
|
1644
1808
|
typeof GetAllPromptsPhotoRealVersion
|
|
@@ -1692,6 +1856,9 @@ export const GetAllPromptsModelParameters$inboundSchema: z.ZodType<
|
|
|
1692
1856
|
GetAllPromptsResponseFormat6$inboundSchema,
|
|
1693
1857
|
]),
|
|
1694
1858
|
).optional(),
|
|
1859
|
+
cacheControl: z.nullable(
|
|
1860
|
+
z.lazy(() => GetAllPromptsPromptsCacheControl$inboundSchema),
|
|
1861
|
+
).optional(),
|
|
1695
1862
|
photoRealVersion: GetAllPromptsPhotoRealVersion$inboundSchema.optional(),
|
|
1696
1863
|
encoding_format: GetAllPromptsEncodingFormat$inboundSchema.optional(),
|
|
1697
1864
|
reasoningEffort: GetAllPromptsPromptsReasoningEffort$inboundSchema.optional(),
|
|
@@ -1881,9 +2048,9 @@ export function getAllPromptsContentFromJSON(
|
|
|
1881
2048
|
}
|
|
1882
2049
|
|
|
1883
2050
|
/** @internal */
|
|
1884
|
-
export const
|
|
1885
|
-
typeof
|
|
1886
|
-
|
|
2051
|
+
export const GetAllPromptsPromptsResponse200ApplicationJSONType$inboundSchema:
|
|
2052
|
+
z.ZodNativeEnum<typeof GetAllPromptsPromptsResponse200ApplicationJSONType> = z
|
|
2053
|
+
.nativeEnum(GetAllPromptsPromptsResponse200ApplicationJSONType);
|
|
1887
2054
|
|
|
1888
2055
|
/** @internal */
|
|
1889
2056
|
export const GetAllPromptsFunction$inboundSchema: z.ZodType<
|
|
@@ -1913,7 +2080,7 @@ export const GetAllPromptsToolCalls$inboundSchema: z.ZodType<
|
|
|
1913
2080
|
> = z.object({
|
|
1914
2081
|
id: z.string().optional(),
|
|
1915
2082
|
index: z.number().optional(),
|
|
1916
|
-
type:
|
|
2083
|
+
type: GetAllPromptsPromptsResponse200ApplicationJSONType$inboundSchema,
|
|
1917
2084
|
function: z.lazy(() => GetAllPromptsFunction$inboundSchema),
|
|
1918
2085
|
});
|
|
1919
2086
|
|
|
@@ -2489,6 +2656,36 @@ export function getAllPromptsTimeoutFromJSON(
|
|
|
2489
2656
|
);
|
|
2490
2657
|
}
|
|
2491
2658
|
|
|
2659
|
+
/** @internal */
|
|
2660
|
+
export const GetAllPromptsPromptsResponseType$inboundSchema: z.ZodNativeEnum<
|
|
2661
|
+
typeof GetAllPromptsPromptsResponseType
|
|
2662
|
+
> = z.nativeEnum(GetAllPromptsPromptsResponseType);
|
|
2663
|
+
|
|
2664
|
+
/** @internal */
|
|
2665
|
+
export const GetAllPromptsTtl$inboundSchema: z.ZodNativeEnum<
|
|
2666
|
+
typeof GetAllPromptsTtl
|
|
2667
|
+
> = z.nativeEnum(GetAllPromptsTtl);
|
|
2668
|
+
|
|
2669
|
+
/** @internal */
|
|
2670
|
+
export const GetAllPromptsCacheControl$inboundSchema: z.ZodType<
|
|
2671
|
+
GetAllPromptsCacheControl,
|
|
2672
|
+
z.ZodTypeDef,
|
|
2673
|
+
unknown
|
|
2674
|
+
> = z.object({
|
|
2675
|
+
type: GetAllPromptsPromptsResponseType$inboundSchema,
|
|
2676
|
+
ttl: GetAllPromptsTtl$inboundSchema.default("5m"),
|
|
2677
|
+
});
|
|
2678
|
+
|
|
2679
|
+
export function getAllPromptsCacheControlFromJSON(
|
|
2680
|
+
jsonString: string,
|
|
2681
|
+
): SafeParseResult<GetAllPromptsCacheControl, SDKValidationError> {
|
|
2682
|
+
return safeParse(
|
|
2683
|
+
jsonString,
|
|
2684
|
+
(x) => GetAllPromptsCacheControl$inboundSchema.parse(JSON.parse(x)),
|
|
2685
|
+
`Failed to parse 'GetAllPromptsCacheControl' from JSON`,
|
|
2686
|
+
);
|
|
2687
|
+
}
|
|
2688
|
+
|
|
2492
2689
|
/** @internal */
|
|
2493
2690
|
export const GetAllPromptsContentPromptsResponse2002$inboundSchema: z.ZodType<
|
|
2494
2691
|
GetAllPromptsContentPromptsResponse2002,
|
|
@@ -3038,6 +3235,9 @@ export const GetAllPromptsPromptField$inboundSchema: z.ZodType<
|
|
|
3038
3235
|
load_balancer: z.lazy(() => GetAllPromptsLoadBalancer1$inboundSchema)
|
|
3039
3236
|
.optional(),
|
|
3040
3237
|
timeout: z.lazy(() => GetAllPromptsTimeout$inboundSchema).optional(),
|
|
3238
|
+
cache_control: z.lazy(() => GetAllPromptsCacheControl$inboundSchema)
|
|
3239
|
+
.optional(),
|
|
3240
|
+
prompt_cache_key: z.string().optional(),
|
|
3041
3241
|
messages: z.array(
|
|
3042
3242
|
z.union([
|
|
3043
3243
|
z.lazy(() => GetAllPromptsMessagesSystemMessage$inboundSchema),
|
|
@@ -3063,6 +3263,8 @@ export const GetAllPromptsPromptField$inboundSchema: z.ZodType<
|
|
|
3063
3263
|
"tool_choice": "toolChoice",
|
|
3064
3264
|
"parallel_tool_calls": "parallelToolCalls",
|
|
3065
3265
|
"load_balancer": "loadBalancer",
|
|
3266
|
+
"cache_control": "cacheControl",
|
|
3267
|
+
"prompt_cache_key": "promptCacheKey",
|
|
3066
3268
|
});
|
|
3067
3269
|
});
|
|
3068
3270
|
|
|
@@ -767,7 +767,7 @@ export const DataCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
767
767
|
z.ZodTypeDef,
|
|
768
768
|
unknown
|
|
769
769
|
> = z.object({
|
|
770
|
-
_id: z.string().default("
|
|
770
|
+
_id: z.string().default("tool_01KTPAB2Z1E61PZ7XTT2GE1ZXZ"),
|
|
771
771
|
path: z.string(),
|
|
772
772
|
key: z.string(),
|
|
773
773
|
display_name: z.string().optional(),
|
|
@@ -864,7 +864,7 @@ export const DataTools$inboundSchema: z.ZodType<
|
|
|
864
864
|
z.ZodTypeDef,
|
|
865
865
|
unknown
|
|
866
866
|
> = z.object({
|
|
867
|
-
id: z.string().default("
|
|
867
|
+
id: z.string().default("01KTPAB2Z0N5JDG93PEPWBW1A0"),
|
|
868
868
|
name: z.string(),
|
|
869
869
|
description: z.string().optional(),
|
|
870
870
|
schema: z.lazy(() => GetAllToolsDataSchema$inboundSchema),
|
|
@@ -917,7 +917,7 @@ export const DataMCPTool$inboundSchema: z.ZodType<
|
|
|
917
917
|
z.ZodTypeDef,
|
|
918
918
|
unknown
|
|
919
919
|
> = z.object({
|
|
920
|
-
_id: z.string().default("
|
|
920
|
+
_id: z.string().default("tool_01KTPAB2YZJB6MJGS239PTVZ5K"),
|
|
921
921
|
path: z.string(),
|
|
922
922
|
key: z.string(),
|
|
923
923
|
display_name: z.string().optional(),
|
|
@@ -1102,7 +1102,7 @@ export const DataHTTPTool$inboundSchema: z.ZodType<
|
|
|
1102
1102
|
z.ZodTypeDef,
|
|
1103
1103
|
unknown
|
|
1104
1104
|
> = z.object({
|
|
1105
|
-
_id: z.string().default("
|
|
1105
|
+
_id: z.string().default("tool_01KTPAB2YWXBMH92SDHC91VGSV"),
|
|
1106
1106
|
path: z.string(),
|
|
1107
1107
|
key: z.string(),
|
|
1108
1108
|
display_name: z.string().optional(),
|
|
@@ -1195,7 +1195,7 @@ export const DataJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
1195
1195
|
z.ZodTypeDef,
|
|
1196
1196
|
unknown
|
|
1197
1197
|
> = z.object({
|
|
1198
|
-
_id: z.string().default("
|
|
1198
|
+
_id: z.string().default("tool_01KTPAB2YT8XTBEPHYSS631PY5"),
|
|
1199
1199
|
path: z.string(),
|
|
1200
1200
|
key: z.string(),
|
|
1201
1201
|
display_name: z.string().optional(),
|
|
@@ -1297,7 +1297,7 @@ export const DataFunctionTool$inboundSchema: z.ZodType<
|
|
|
1297
1297
|
z.ZodTypeDef,
|
|
1298
1298
|
unknown
|
|
1299
1299
|
> = z.object({
|
|
1300
|
-
_id: z.string().default("
|
|
1300
|
+
_id: z.string().default("tool_01KTPAB2YR00978VSA2HNYX809"),
|
|
1301
1301
|
path: z.string(),
|
|
1302
1302
|
key: z.string(),
|
|
1303
1303
|
display_name: z.string().optional(),
|
|
@@ -1070,8 +1070,8 @@ export const DataTypescript$inboundSchema: z.ZodType<
|
|
|
1070
1070
|
> = z.object({
|
|
1071
1071
|
_id: z.string(),
|
|
1072
1072
|
description: z.string(),
|
|
1073
|
-
created: z.string().default("2026-06-
|
|
1074
|
-
updated: z.string().default("2026-06-
|
|
1073
|
+
created: z.string().default("2026-06-09T13:49:29.333Z"),
|
|
1074
|
+
updated: z.string().default("2026-06-09T13:49:29.333Z"),
|
|
1075
1075
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
1076
1076
|
guardrail_config: z.nullable(
|
|
1077
1077
|
z.union([
|
|
@@ -1252,8 +1252,8 @@ export const DataRagas$inboundSchema: z.ZodType<
|
|
|
1252
1252
|
> = z.object({
|
|
1253
1253
|
_id: z.string(),
|
|
1254
1254
|
description: z.string(),
|
|
1255
|
-
created: z.string().default("2026-06-
|
|
1256
|
-
updated: z.string().default("2026-06-
|
|
1255
|
+
created: z.string().default("2026-06-09T13:49:29.333Z"),
|
|
1256
|
+
updated: z.string().default("2026-06-09T13:49:29.333Z"),
|
|
1257
1257
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
1258
1258
|
guardrail_config: z.nullable(
|
|
1259
1259
|
z.union([
|
|
@@ -2084,8 +2084,8 @@ export const DataFunction$inboundSchema: z.ZodType<
|
|
|
2084
2084
|
> = z.object({
|
|
2085
2085
|
_id: z.string(),
|
|
2086
2086
|
description: z.string(),
|
|
2087
|
-
created: z.string().default("2026-06-
|
|
2088
|
-
updated: z.string().default("2026-06-
|
|
2087
|
+
created: z.string().default("2026-06-09T13:49:29.333Z"),
|
|
2088
|
+
updated: z.string().default("2026-06-09T13:49:29.333Z"),
|
|
2089
2089
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
2090
2090
|
guardrail_config: z.nullable(
|
|
2091
2091
|
z.union([
|
|
@@ -2268,8 +2268,8 @@ export const DataPython$inboundSchema: z.ZodType<
|
|
|
2268
2268
|
> = z.object({
|
|
2269
2269
|
_id: z.string(),
|
|
2270
2270
|
description: z.string(),
|
|
2271
|
-
created: z.string().default("2026-06-
|
|
2272
|
-
updated: z.string().default("2026-06-
|
|
2271
|
+
created: z.string().default("2026-06-09T13:49:29.333Z"),
|
|
2272
|
+
updated: z.string().default("2026-06-09T13:49:29.333Z"),
|
|
2273
2273
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
2274
2274
|
guardrail_config: z.nullable(
|
|
2275
2275
|
z.union([
|
|
@@ -2448,8 +2448,8 @@ export const DataHTTP$inboundSchema: z.ZodType<
|
|
|
2448
2448
|
> = z.object({
|
|
2449
2449
|
_id: z.string(),
|
|
2450
2450
|
description: z.string(),
|
|
2451
|
-
created: z.string().default("2026-06-
|
|
2452
|
-
updated: z.string().default("2026-06-
|
|
2451
|
+
created: z.string().default("2026-06-09T13:49:29.333Z"),
|
|
2452
|
+
updated: z.string().default("2026-06-09T13:49:29.333Z"),
|
|
2453
2453
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
2454
2454
|
guardrail_config: z.nullable(
|
|
2455
2455
|
z.union([
|
|
@@ -2640,8 +2640,8 @@ export const DataJSON$inboundSchema: z.ZodType<
|
|
|
2640
2640
|
> = z.object({
|
|
2641
2641
|
_id: z.string(),
|
|
2642
2642
|
description: z.string(),
|
|
2643
|
-
created: z.string().default("2026-06-
|
|
2644
|
-
updated: z.string().default("2026-06-
|
|
2643
|
+
created: z.string().default("2026-06-09T13:49:29.333Z"),
|
|
2644
|
+
updated: z.string().default("2026-06-09T13:49:29.333Z"),
|
|
2645
2645
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
2646
2646
|
guardrail_config: z.nullable(
|
|
2647
2647
|
z.union([
|
|
@@ -3008,8 +3008,8 @@ export const GetEvalsLlm2$inboundSchema: z.ZodType<
|
|
|
3008
3008
|
> = z.object({
|
|
3009
3009
|
_id: z.string(),
|
|
3010
3010
|
description: z.string(),
|
|
3011
|
-
created: z.string().default("2026-06-
|
|
3012
|
-
updated: z.string().default("2026-06-
|
|
3011
|
+
created: z.string().default("2026-06-09T13:49:29.333Z"),
|
|
3012
|
+
updated: z.string().default("2026-06-09T13:49:29.333Z"),
|
|
3013
3013
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
3014
3014
|
guardrail_config: z.nullable(
|
|
3015
3015
|
z.union([
|
|
@@ -3221,8 +3221,8 @@ export const GetEvalsLlm1$inboundSchema: z.ZodType<
|
|
|
3221
3221
|
> = z.object({
|
|
3222
3222
|
_id: z.string(),
|
|
3223
3223
|
description: z.string(),
|
|
3224
|
-
created: z.string().default("2026-06-
|
|
3225
|
-
updated: z.string().default("2026-06-
|
|
3224
|
+
created: z.string().default("2026-06-09T13:49:29.333Z"),
|
|
3225
|
+
updated: z.string().default("2026-06-09T13:49:29.333Z"),
|
|
3226
3226
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
3227
3227
|
guardrail_config: z.nullable(
|
|
3228
3228
|
z.union([
|