@orq-ai/node 3.8.0-rc.27 → 3.8.0-rc.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/mcp-server.js +149 -162
- package/bin/mcp-server.js.map +33 -33
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +2 -2
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +16 -16
- package/models/operations/createprompt.d.ts +6 -6
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +6 -6
- package/models/operations/createprompt.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/getallprompts.d.ts +4 -4
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +4 -4
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getevals.js +28 -28
- package/models/operations/getoneprompt.d.ts +4 -4
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +4 -4
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +4 -4
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +4 -4
- package/models/operations/getpromptversion.js.map +1 -1
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +2 -2
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/listpromptversions.d.ts +4 -4
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +4 -4
- package/models/operations/listpromptversions.js.map +1 -1
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrievedatapoint.js +2 -2
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updatedatapoint.js +2 -2
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +16 -16
- package/models/operations/updateprompt.d.ts +15 -74
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +27 -52
- package/models/operations/updateprompt.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +2 -2
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +16 -16
- package/src/models/operations/createprompt.ts +12 -12
- 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/getallprompts.ts +8 -8
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/getoneprompt.ts +8 -8
- package/src/models/operations/getpromptversion.ts +8 -8
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/listpromptversions.ts +8 -8
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +2 -2
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +2 -2
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +16 -16
- package/src/models/operations/updateprompt.ts +33 -78
|
@@ -2674,8 +2674,8 @@ export const UpdateEvalResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
2674
2674
|
> = z.object({
|
|
2675
2675
|
_id: z.string(),
|
|
2676
2676
|
description: z.string(),
|
|
2677
|
-
created: z.string().default("2025-06-
|
|
2678
|
-
updated: z.string().default("2025-06-
|
|
2677
|
+
created: z.string().default("2025-06-15T12:39:12.311Z"),
|
|
2678
|
+
updated: z.string().default("2025-06-15T12:39:12.311Z"),
|
|
2679
2679
|
guardrail_config: z.union([
|
|
2680
2680
|
z.lazy(() =>
|
|
2681
2681
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$inboundSchema
|
|
@@ -2717,8 +2717,8 @@ export const UpdateEvalResponseBodyPython$outboundSchema: z.ZodType<
|
|
|
2717
2717
|
> = z.object({
|
|
2718
2718
|
id: z.string(),
|
|
2719
2719
|
description: z.string(),
|
|
2720
|
-
created: z.string().default("2025-06-
|
|
2721
|
-
updated: z.string().default("2025-06-
|
|
2720
|
+
created: z.string().default("2025-06-15T12:39:12.311Z"),
|
|
2721
|
+
updated: z.string().default("2025-06-15T12:39:12.311Z"),
|
|
2722
2722
|
guardrailConfig: z.union([
|
|
2723
2723
|
z.lazy(() =>
|
|
2724
2724
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$outboundSchema
|
|
@@ -3139,8 +3139,8 @@ export const UpdateEvalResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
3139
3139
|
> = z.object({
|
|
3140
3140
|
_id: z.string(),
|
|
3141
3141
|
description: z.string(),
|
|
3142
|
-
created: z.string().default("2025-06-
|
|
3143
|
-
updated: z.string().default("2025-06-
|
|
3142
|
+
created: z.string().default("2025-06-15T12:39:12.311Z"),
|
|
3143
|
+
updated: z.string().default("2025-06-15T12:39:12.311Z"),
|
|
3144
3144
|
guardrail_config: z.union([
|
|
3145
3145
|
z.lazy(() =>
|
|
3146
3146
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$inboundSchema
|
|
@@ -3188,8 +3188,8 @@ export const UpdateEvalResponseBodyHTTP$outboundSchema: z.ZodType<
|
|
|
3188
3188
|
> = z.object({
|
|
3189
3189
|
id: z.string(),
|
|
3190
3190
|
description: z.string(),
|
|
3191
|
-
created: z.string().default("2025-06-
|
|
3192
|
-
updated: z.string().default("2025-06-
|
|
3191
|
+
created: z.string().default("2025-06-15T12:39:12.311Z"),
|
|
3192
|
+
updated: z.string().default("2025-06-15T12:39:12.311Z"),
|
|
3193
3193
|
guardrailConfig: z.union([
|
|
3194
3194
|
z.lazy(() =>
|
|
3195
3195
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$outboundSchema
|
|
@@ -3579,8 +3579,8 @@ export const UpdateEvalResponseBodyJSON$inboundSchema: z.ZodType<
|
|
|
3579
3579
|
> = z.object({
|
|
3580
3580
|
_id: z.string(),
|
|
3581
3581
|
description: z.string(),
|
|
3582
|
-
created: z.string().default("2025-06-
|
|
3583
|
-
updated: z.string().default("2025-06-
|
|
3582
|
+
created: z.string().default("2025-06-15T12:39:12.311Z"),
|
|
3583
|
+
updated: z.string().default("2025-06-15T12:39:12.311Z"),
|
|
3584
3584
|
guardrail_config: z.union([
|
|
3585
3585
|
z.lazy(() =>
|
|
3586
3586
|
UpdateEvalGuardrailConfigEvalsResponse200Boolean$inboundSchema
|
|
@@ -3620,8 +3620,8 @@ export const UpdateEvalResponseBodyJSON$outboundSchema: z.ZodType<
|
|
|
3620
3620
|
> = z.object({
|
|
3621
3621
|
id: z.string(),
|
|
3622
3622
|
description: z.string(),
|
|
3623
|
-
created: z.string().default("2025-06-
|
|
3624
|
-
updated: z.string().default("2025-06-
|
|
3623
|
+
created: z.string().default("2025-06-15T12:39:12.311Z"),
|
|
3624
|
+
updated: z.string().default("2025-06-15T12:39:12.311Z"),
|
|
3625
3625
|
guardrailConfig: z.union([
|
|
3626
3626
|
z.lazy(() =>
|
|
3627
3627
|
UpdateEvalGuardrailConfigEvalsResponse200Boolean$outboundSchema
|
|
@@ -3979,8 +3979,8 @@ export const UpdateEvalResponseBodyLLM$inboundSchema: z.ZodType<
|
|
|
3979
3979
|
> = z.object({
|
|
3980
3980
|
_id: z.string(),
|
|
3981
3981
|
description: z.string(),
|
|
3982
|
-
created: z.string().default("2025-06-
|
|
3983
|
-
updated: z.string().default("2025-06-
|
|
3982
|
+
created: z.string().default("2025-06-15T12:39:12.311Z"),
|
|
3983
|
+
updated: z.string().default("2025-06-15T12:39:12.311Z"),
|
|
3984
3984
|
guardrail_config: z.union([
|
|
3985
3985
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
3986
3986
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
@@ -4020,8 +4020,8 @@ export const UpdateEvalResponseBodyLLM$outboundSchema: z.ZodType<
|
|
|
4020
4020
|
> = z.object({
|
|
4021
4021
|
id: z.string(),
|
|
4022
4022
|
description: z.string(),
|
|
4023
|
-
created: z.string().default("2025-06-
|
|
4024
|
-
updated: z.string().default("2025-06-
|
|
4023
|
+
created: z.string().default("2025-06-15T12:39:12.311Z"),
|
|
4024
|
+
updated: z.string().default("2025-06-15T12:39:12.311Z"),
|
|
4025
4025
|
guardrailConfig: z.union([
|
|
4026
4026
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema),
|
|
4027
4027
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseNumber$outboundSchema),
|
|
@@ -9,25 +9,6 @@ import { ClosedEnum } from "../../types/enums.js";
|
|
|
9
9
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
|
-
/**
|
|
13
|
-
* The modality of the model
|
|
14
|
-
*/
|
|
15
|
-
export const UpdatePromptModelType = {
|
|
16
|
-
Chat: "chat",
|
|
17
|
-
Completion: "completion",
|
|
18
|
-
Embedding: "embedding",
|
|
19
|
-
Vision: "vision",
|
|
20
|
-
Image: "image",
|
|
21
|
-
Tts: "tts",
|
|
22
|
-
Stt: "stt",
|
|
23
|
-
Rerank: "rerank",
|
|
24
|
-
Moderations: "moderations",
|
|
25
|
-
} as const;
|
|
26
|
-
/**
|
|
27
|
-
* The modality of the model
|
|
28
|
-
*/
|
|
29
|
-
export type UpdatePromptModelType = ClosedEnum<typeof UpdatePromptModelType>;
|
|
30
|
-
|
|
31
12
|
/**
|
|
32
13
|
* Only supported on `image` models.
|
|
33
14
|
*/
|
|
@@ -372,16 +353,9 @@ export type UpdatePromptMessages = {
|
|
|
372
353
|
toolCallId?: string | undefined;
|
|
373
354
|
};
|
|
374
355
|
|
|
375
|
-
/**
|
|
376
|
-
* A list of messages compatible with the openAI schema
|
|
377
|
-
*/
|
|
378
356
|
export type UpdatePromptPromptConfig = {
|
|
379
357
|
stream?: boolean | undefined;
|
|
380
358
|
model?: string | undefined;
|
|
381
|
-
/**
|
|
382
|
-
* The modality of the model
|
|
383
|
-
*/
|
|
384
|
-
modelType?: UpdatePromptModelType | undefined;
|
|
385
359
|
/**
|
|
386
360
|
* Model Parameters: Not all parameters apply to every model
|
|
387
361
|
*/
|
|
@@ -389,6 +363,8 @@ export type UpdatePromptPromptConfig = {
|
|
|
389
363
|
provider?: UpdatePromptProvider | undefined;
|
|
390
364
|
version?: string | undefined;
|
|
391
365
|
messages: Array<UpdatePromptMessages>;
|
|
366
|
+
modelDbId?: string | null | undefined;
|
|
367
|
+
modelType?: string | null | undefined;
|
|
392
368
|
};
|
|
393
369
|
|
|
394
370
|
export const UpdatePromptUseCases = {
|
|
@@ -458,9 +434,6 @@ export type UpdatePromptRequestBody = {
|
|
|
458
434
|
* The prompt’s description, meant to be displayable in the UI. Use this field to optionally store a long form explanation of the prompt for your own purpose
|
|
459
435
|
*/
|
|
460
436
|
description?: string | null | undefined;
|
|
461
|
-
/**
|
|
462
|
-
* A list of messages compatible with the openAI schema
|
|
463
|
-
*/
|
|
464
437
|
promptConfig?: UpdatePromptPromptConfig | undefined;
|
|
465
438
|
metadata?: UpdatePromptMetadata | undefined;
|
|
466
439
|
/**
|
|
@@ -487,7 +460,7 @@ export type UpdatePromptPromptsType = ClosedEnum<
|
|
|
487
460
|
/**
|
|
488
461
|
* The modality of the model
|
|
489
462
|
*/
|
|
490
|
-
export const
|
|
463
|
+
export const UpdatePromptModelType = {
|
|
491
464
|
Chat: "chat",
|
|
492
465
|
Completion: "completion",
|
|
493
466
|
Embedding: "embedding",
|
|
@@ -501,9 +474,7 @@ export const UpdatePromptPromptsModelType = {
|
|
|
501
474
|
/**
|
|
502
475
|
* The modality of the model
|
|
503
476
|
*/
|
|
504
|
-
export type
|
|
505
|
-
typeof UpdatePromptPromptsModelType
|
|
506
|
-
>;
|
|
477
|
+
export type UpdatePromptModelType = ClosedEnum<typeof UpdatePromptModelType>;
|
|
507
478
|
|
|
508
479
|
/**
|
|
509
480
|
* Only supported on `image` models.
|
|
@@ -878,11 +849,11 @@ export type UpdatePromptPromptsPromptConfig = {
|
|
|
878
849
|
/**
|
|
879
850
|
* The id of the resource
|
|
880
851
|
*/
|
|
881
|
-
modelDbId?: string | undefined;
|
|
852
|
+
modelDbId?: string | null | undefined;
|
|
882
853
|
/**
|
|
883
854
|
* The modality of the model
|
|
884
855
|
*/
|
|
885
|
-
modelType?:
|
|
856
|
+
modelType?: UpdatePromptModelType | null | undefined;
|
|
886
857
|
/**
|
|
887
858
|
* Model Parameters: Not all parameters apply to every model
|
|
888
859
|
*/
|
|
@@ -979,27 +950,6 @@ export type UpdatePromptResponseBody = {
|
|
|
979
950
|
metadata?: UpdatePromptPromptsMetadata | undefined;
|
|
980
951
|
};
|
|
981
952
|
|
|
982
|
-
/** @internal */
|
|
983
|
-
export const UpdatePromptModelType$inboundSchema: z.ZodNativeEnum<
|
|
984
|
-
typeof UpdatePromptModelType
|
|
985
|
-
> = z.nativeEnum(UpdatePromptModelType);
|
|
986
|
-
|
|
987
|
-
/** @internal */
|
|
988
|
-
export const UpdatePromptModelType$outboundSchema: z.ZodNativeEnum<
|
|
989
|
-
typeof UpdatePromptModelType
|
|
990
|
-
> = UpdatePromptModelType$inboundSchema;
|
|
991
|
-
|
|
992
|
-
/**
|
|
993
|
-
* @internal
|
|
994
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
995
|
-
*/
|
|
996
|
-
export namespace UpdatePromptModelType$ {
|
|
997
|
-
/** @deprecated use `UpdatePromptModelType$inboundSchema` instead. */
|
|
998
|
-
export const inboundSchema = UpdatePromptModelType$inboundSchema;
|
|
999
|
-
/** @deprecated use `UpdatePromptModelType$outboundSchema` instead. */
|
|
1000
|
-
export const outboundSchema = UpdatePromptModelType$outboundSchema;
|
|
1001
|
-
}
|
|
1002
|
-
|
|
1003
953
|
/** @internal */
|
|
1004
954
|
export const UpdatePromptFormat$inboundSchema: z.ZodNativeEnum<
|
|
1005
955
|
typeof UpdatePromptFormat
|
|
@@ -2257,16 +2207,18 @@ export const UpdatePromptPromptConfig$inboundSchema: z.ZodType<
|
|
|
2257
2207
|
> = z.object({
|
|
2258
2208
|
stream: z.boolean().optional(),
|
|
2259
2209
|
model: z.string().optional(),
|
|
2260
|
-
model_type: UpdatePromptModelType$inboundSchema.optional(),
|
|
2261
2210
|
model_parameters: z.lazy(() => UpdatePromptModelParameters$inboundSchema)
|
|
2262
2211
|
.optional(),
|
|
2263
2212
|
provider: UpdatePromptProvider$inboundSchema.optional(),
|
|
2264
2213
|
version: z.string().optional(),
|
|
2265
2214
|
messages: z.array(z.lazy(() => UpdatePromptMessages$inboundSchema)),
|
|
2215
|
+
model_db_id: z.nullable(z.string()).optional(),
|
|
2216
|
+
model_type: z.nullable(z.string()).optional(),
|
|
2266
2217
|
}).transform((v) => {
|
|
2267
2218
|
return remap$(v, {
|
|
2268
|
-
"model_type": "modelType",
|
|
2269
2219
|
"model_parameters": "modelParameters",
|
|
2220
|
+
"model_db_id": "modelDbId",
|
|
2221
|
+
"model_type": "modelType",
|
|
2270
2222
|
});
|
|
2271
2223
|
});
|
|
2272
2224
|
|
|
@@ -2274,11 +2226,12 @@ export const UpdatePromptPromptConfig$inboundSchema: z.ZodType<
|
|
|
2274
2226
|
export type UpdatePromptPromptConfig$Outbound = {
|
|
2275
2227
|
stream?: boolean | undefined;
|
|
2276
2228
|
model?: string | undefined;
|
|
2277
|
-
model_type?: string | undefined;
|
|
2278
2229
|
model_parameters?: UpdatePromptModelParameters$Outbound | undefined;
|
|
2279
2230
|
provider?: string | undefined;
|
|
2280
2231
|
version?: string | undefined;
|
|
2281
2232
|
messages: Array<UpdatePromptMessages$Outbound>;
|
|
2233
|
+
model_db_id?: string | null | undefined;
|
|
2234
|
+
model_type?: string | null | undefined;
|
|
2282
2235
|
};
|
|
2283
2236
|
|
|
2284
2237
|
/** @internal */
|
|
@@ -2289,16 +2242,18 @@ export const UpdatePromptPromptConfig$outboundSchema: z.ZodType<
|
|
|
2289
2242
|
> = z.object({
|
|
2290
2243
|
stream: z.boolean().optional(),
|
|
2291
2244
|
model: z.string().optional(),
|
|
2292
|
-
modelType: UpdatePromptModelType$outboundSchema.optional(),
|
|
2293
2245
|
modelParameters: z.lazy(() => UpdatePromptModelParameters$outboundSchema)
|
|
2294
2246
|
.optional(),
|
|
2295
2247
|
provider: UpdatePromptProvider$outboundSchema.optional(),
|
|
2296
2248
|
version: z.string().optional(),
|
|
2297
2249
|
messages: z.array(z.lazy(() => UpdatePromptMessages$outboundSchema)),
|
|
2250
|
+
modelDbId: z.nullable(z.string()).optional(),
|
|
2251
|
+
modelType: z.nullable(z.string()).optional(),
|
|
2298
2252
|
}).transform((v) => {
|
|
2299
2253
|
return remap$(v, {
|
|
2300
|
-
modelType: "model_type",
|
|
2301
2254
|
modelParameters: "model_parameters",
|
|
2255
|
+
modelDbId: "model_db_id",
|
|
2256
|
+
modelType: "model_type",
|
|
2302
2257
|
});
|
|
2303
2258
|
});
|
|
2304
2259
|
|
|
@@ -2629,24 +2584,24 @@ export namespace UpdatePromptPromptsType$ {
|
|
|
2629
2584
|
}
|
|
2630
2585
|
|
|
2631
2586
|
/** @internal */
|
|
2632
|
-
export const
|
|
2633
|
-
typeof
|
|
2634
|
-
> = z.nativeEnum(
|
|
2587
|
+
export const UpdatePromptModelType$inboundSchema: z.ZodNativeEnum<
|
|
2588
|
+
typeof UpdatePromptModelType
|
|
2589
|
+
> = z.nativeEnum(UpdatePromptModelType);
|
|
2635
2590
|
|
|
2636
2591
|
/** @internal */
|
|
2637
|
-
export const
|
|
2638
|
-
typeof
|
|
2639
|
-
> =
|
|
2592
|
+
export const UpdatePromptModelType$outboundSchema: z.ZodNativeEnum<
|
|
2593
|
+
typeof UpdatePromptModelType
|
|
2594
|
+
> = UpdatePromptModelType$inboundSchema;
|
|
2640
2595
|
|
|
2641
2596
|
/**
|
|
2642
2597
|
* @internal
|
|
2643
2598
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2644
2599
|
*/
|
|
2645
|
-
export namespace
|
|
2646
|
-
/** @deprecated use `
|
|
2647
|
-
export const inboundSchema =
|
|
2648
|
-
/** @deprecated use `
|
|
2649
|
-
export const outboundSchema =
|
|
2600
|
+
export namespace UpdatePromptModelType$ {
|
|
2601
|
+
/** @deprecated use `UpdatePromptModelType$inboundSchema` instead. */
|
|
2602
|
+
export const inboundSchema = UpdatePromptModelType$inboundSchema;
|
|
2603
|
+
/** @deprecated use `UpdatePromptModelType$outboundSchema` instead. */
|
|
2604
|
+
export const outboundSchema = UpdatePromptModelType$outboundSchema;
|
|
2650
2605
|
}
|
|
2651
2606
|
|
|
2652
2607
|
/** @internal */
|
|
@@ -3958,8 +3913,8 @@ export const UpdatePromptPromptsPromptConfig$inboundSchema: z.ZodType<
|
|
|
3958
3913
|
> = z.object({
|
|
3959
3914
|
stream: z.boolean().optional(),
|
|
3960
3915
|
model: z.string().optional(),
|
|
3961
|
-
model_db_id: z.string().optional(),
|
|
3962
|
-
model_type:
|
|
3916
|
+
model_db_id: z.nullable(z.string()).optional(),
|
|
3917
|
+
model_type: z.nullable(UpdatePromptModelType$inboundSchema).optional(),
|
|
3963
3918
|
model_parameters: z.lazy(() =>
|
|
3964
3919
|
UpdatePromptPromptsModelParameters$inboundSchema
|
|
3965
3920
|
).optional(),
|
|
@@ -3980,8 +3935,8 @@ export const UpdatePromptPromptsPromptConfig$inboundSchema: z.ZodType<
|
|
|
3980
3935
|
export type UpdatePromptPromptsPromptConfig$Outbound = {
|
|
3981
3936
|
stream?: boolean | undefined;
|
|
3982
3937
|
model?: string | undefined;
|
|
3983
|
-
model_db_id?: string | undefined;
|
|
3984
|
-
model_type?: string | undefined;
|
|
3938
|
+
model_db_id?: string | null | undefined;
|
|
3939
|
+
model_type?: string | null | undefined;
|
|
3985
3940
|
model_parameters?: UpdatePromptPromptsModelParameters$Outbound | undefined;
|
|
3986
3941
|
provider?: string | undefined;
|
|
3987
3942
|
integration_id?: string | null | undefined;
|
|
@@ -3997,8 +3952,8 @@ export const UpdatePromptPromptsPromptConfig$outboundSchema: z.ZodType<
|
|
|
3997
3952
|
> = z.object({
|
|
3998
3953
|
stream: z.boolean().optional(),
|
|
3999
3954
|
model: z.string().optional(),
|
|
4000
|
-
modelDbId: z.string().optional(),
|
|
4001
|
-
modelType:
|
|
3955
|
+
modelDbId: z.nullable(z.string()).optional(),
|
|
3956
|
+
modelType: z.nullable(UpdatePromptModelType$outboundSchema).optional(),
|
|
4002
3957
|
modelParameters: z.lazy(() =>
|
|
4003
3958
|
UpdatePromptPromptsModelParameters$outboundSchema
|
|
4004
3959
|
).optional(),
|