@orq-ai/node 3.6.16 → 3.6.17
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 +188 -188
- package/bin/mcp-server.js.map +35 -35
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/security.d.ts +2 -2
- package/lib/security.d.ts.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/components/deployments.d.ts +8 -8
- package/models/components/deployments.d.ts.map +1 -1
- package/models/components/deployments.js +8 -8
- package/models/components/deployments.js.map +1 -1
- package/models/operations/bulkcreatedatapoints.js +2 -2
- 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/createprompt.d.ts +12 -12
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +12 -12
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/deploymentcreatemetric.d.ts +8 -8
- package/models/operations/deploymentcreatemetric.d.ts.map +1 -1
- package/models/operations/deploymentcreatemetric.js +8 -8
- package/models/operations/deploymentcreatemetric.js.map +1 -1
- package/models/operations/deploymentgetconfig.d.ts +14 -14
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +14 -14
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deploymentinvoke.d.ts +4 -4
- package/models/operations/deploymentinvoke.js +8 -8
- package/models/operations/deployments.d.ts +6 -6
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +6 -6
- package/models/operations/deployments.js.map +1 -1
- package/models/operations/deploymentstream.d.ts +12 -12
- package/models/operations/deploymentstream.d.ts.map +1 -1
- package/models/operations/deploymentstream.js +12 -12
- 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/getallprompts.d.ts +6 -6
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +6 -6
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getoneprompt.d.ts +6 -6
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +6 -6
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +6 -6
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +6 -6
- package/models/operations/getpromptversion.js.map +1 -1
- 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 +6 -6
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +6 -6
- package/models/operations/listpromptversions.js.map +1 -1
- package/models/operations/retrievedatapoint.js +2 -2
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.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/updateprompt.d.ts +12 -12
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +12 -12
- package/models/operations/updateprompt.js.map +1 -1
- package/package.json +1 -1
- package/packages/orq-rc/jsr.json +1 -1
- package/packages/orq-rc/package-lock.json +2 -2
- package/packages/orq-rc/package.json +1 -1
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/lib/security.ts +2 -2
- package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
- package/packages/orq-rc/src/mcp-server/server.ts +1 -1
- package/packages/orq-rc/src/models/components/deployments.ts +16 -16
- package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +18 -18
- package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/createeval.ts +121 -121
- package/packages/orq-rc/src/models/operations/createfeedback.ts +16 -16
- package/packages/orq-rc/src/models/operations/createprompt.ts +39 -39
- package/packages/orq-rc/src/models/operations/deploymentcreatemetric.ts +22 -18
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +30 -30
- package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +13 -13
- package/packages/orq-rc/src/models/operations/deployments.ts +14 -14
- package/packages/orq-rc/src/models/operations/deploymentstream.ts +26 -26
- package/packages/orq-rc/src/models/operations/evalsageappropriate.ts +4 -4
- package/packages/orq-rc/src/models/operations/evalsfactcheckingknowledgebase.ts +4 -4
- package/packages/orq-rc/src/models/operations/evalsgrammar.ts +4 -4
- package/packages/orq-rc/src/models/operations/evalslocalization.ts +4 -4
- package/packages/orq-rc/src/models/operations/evalspii.ts +4 -4
- package/packages/orq-rc/src/models/operations/evalsragascoherence.ts +4 -4
- package/packages/orq-rc/src/models/operations/evalsragasconciseness.ts +4 -4
- package/packages/orq-rc/src/models/operations/evalsragascontextprecision.ts +4 -4
- package/packages/orq-rc/src/models/operations/evalsragascorrectness.ts +4 -4
- package/packages/orq-rc/src/models/operations/evalsragasfaithfulness.ts +4 -4
- package/packages/orq-rc/src/models/operations/evalsragasharmfulness.ts +4 -4
- package/packages/orq-rc/src/models/operations/evalsragasmaliciousness.ts +4 -4
- package/packages/orq-rc/src/models/operations/evalsragasresponserelevancy.ts +4 -4
- package/packages/orq-rc/src/models/operations/evalssentimentclassification.ts +4 -4
- package/packages/orq-rc/src/models/operations/evalssummarization.ts +4 -4
- package/packages/orq-rc/src/models/operations/evalstoneofvoice.ts +4 -4
- package/packages/orq-rc/src/models/operations/evalstranslation.ts +4 -4
- package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
- package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
- package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
- package/packages/orq-rc/src/models/operations/getallprompts.ts +22 -22
- package/packages/orq-rc/src/models/operations/getevals.ts +339 -364
- package/packages/orq-rc/src/models/operations/getoneprompt.ts +22 -22
- package/packages/orq-rc/src/models/operations/getpromptversion.ts +22 -22
- package/packages/orq-rc/src/models/operations/invokeeval.ts +251 -223
- package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +16 -12
- package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasources.ts +2 -2
- package/packages/orq-rc/src/models/operations/listpromptversions.ts +22 -22
- package/packages/orq-rc/src/models/operations/postv2modelslitellmimport.ts +18 -18
- package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +10 -10
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +21 -19
- package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/updateeval.ts +139 -139
- package/packages/orq-rc/src/models/operations/updateprompt.ts +61 -106
- package/src/lib/config.ts +3 -3
- package/src/lib/security.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/deployments.ts +16 -16
- package/src/models/operations/bulkcreatedatapoints.ts +2 -2
- 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/createprompt.ts +27 -27
- package/src/models/operations/deploymentcreatemetric.ts +22 -18
- package/src/models/operations/deploymentgetconfig.ts +30 -30
- package/src/models/operations/deploymentinvoke.ts +13 -13
- package/src/models/operations/deployments.ts +14 -14
- package/src/models/operations/deploymentstream.ts +26 -26
- 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 +14 -14
- package/src/models/operations/getoneprompt.ts +14 -14
- package/src/models/operations/getpromptversion.ts +14 -14
- 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 +14 -14
- 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/updatedatapoint.ts +2 -2
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateprompt.ts +28 -28
|
@@ -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
|
*/
|
|
@@ -62,7 +43,7 @@ export type UpdatePromptResponseFormatType = ClosedEnum<
|
|
|
62
43
|
|
|
63
44
|
export type ResponseFormatJsonSchema = {
|
|
64
45
|
name: string;
|
|
65
|
-
strict
|
|
46
|
+
strict?: boolean | undefined;
|
|
66
47
|
schema: { [k: string]: any };
|
|
67
48
|
};
|
|
68
49
|
|
|
@@ -83,8 +64,8 @@ export type UpdatePromptResponseFormat1 = {
|
|
|
83
64
|
* Important: when using JSON mode, you must also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if finish_reason="length", which indicates the generation exceeded max_tokens or the conversation exceeded the max context length.
|
|
84
65
|
*/
|
|
85
66
|
export type UpdatePromptResponseFormat =
|
|
86
|
-
|
|
|
87
|
-
|
|
|
67
|
+
| UpdatePromptResponseFormat1
|
|
68
|
+
| UpdatePromptResponseFormat2;
|
|
88
69
|
|
|
89
70
|
/**
|
|
90
71
|
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
@@ -193,8 +174,8 @@ export type UpdatePromptModelParameters = {
|
|
|
193
174
|
* Important: when using JSON mode, you must also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if finish_reason="length", which indicates the generation exceeded max_tokens or the conversation exceeded the max context length.
|
|
194
175
|
*/
|
|
195
176
|
responseFormat?:
|
|
196
|
-
| UpdatePromptResponseFormat2
|
|
197
177
|
| UpdatePromptResponseFormat1
|
|
178
|
+
| UpdatePromptResponseFormat2
|
|
198
179
|
| null
|
|
199
180
|
| undefined;
|
|
200
181
|
/**
|
|
@@ -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.
|
|
@@ -541,7 +512,7 @@ export type UpdatePromptResponseFormatPromptsResponseType = ClosedEnum<
|
|
|
541
512
|
|
|
542
513
|
export type UpdatePromptResponseFormatJsonSchema = {
|
|
543
514
|
name: string;
|
|
544
|
-
strict
|
|
515
|
+
strict?: boolean | undefined;
|
|
545
516
|
schema: { [k: string]: any };
|
|
546
517
|
};
|
|
547
518
|
|
|
@@ -562,8 +533,8 @@ export type UpdatePromptResponseFormatPrompts1 = {
|
|
|
562
533
|
* Important: when using JSON mode, you must also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if finish_reason="length", which indicates the generation exceeded max_tokens or the conversation exceeded the max context length.
|
|
563
534
|
*/
|
|
564
535
|
export type UpdatePromptPromptsResponseFormat =
|
|
565
|
-
|
|
|
566
|
-
|
|
|
536
|
+
| UpdatePromptResponseFormatPrompts1
|
|
537
|
+
| UpdatePromptResponseFormatPrompts2;
|
|
567
538
|
|
|
568
539
|
/**
|
|
569
540
|
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
@@ -672,8 +643,8 @@ export type UpdatePromptPromptsModelParameters = {
|
|
|
672
643
|
* Important: when using JSON mode, you must also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if finish_reason="length", which indicates the generation exceeded max_tokens or the conversation exceeded the max context length.
|
|
673
644
|
*/
|
|
674
645
|
responseFormat?:
|
|
675
|
-
| UpdatePromptResponseFormatPrompts2
|
|
676
646
|
| UpdatePromptResponseFormatPrompts1
|
|
647
|
+
| UpdatePromptResponseFormatPrompts2
|
|
677
648
|
| null
|
|
678
649
|
| undefined;
|
|
679
650
|
/**
|
|
@@ -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
|
|
@@ -1129,14 +1079,14 @@ export const ResponseFormatJsonSchema$inboundSchema: z.ZodType<
|
|
|
1129
1079
|
unknown
|
|
1130
1080
|
> = z.object({
|
|
1131
1081
|
name: z.string(),
|
|
1132
|
-
strict: z.boolean(),
|
|
1082
|
+
strict: z.boolean().optional(),
|
|
1133
1083
|
schema: z.record(z.any()),
|
|
1134
1084
|
});
|
|
1135
1085
|
|
|
1136
1086
|
/** @internal */
|
|
1137
1087
|
export type ResponseFormatJsonSchema$Outbound = {
|
|
1138
1088
|
name: string;
|
|
1139
|
-
strict
|
|
1089
|
+
strict?: boolean | undefined;
|
|
1140
1090
|
schema: { [k: string]: any };
|
|
1141
1091
|
};
|
|
1142
1092
|
|
|
@@ -1147,7 +1097,7 @@ export const ResponseFormatJsonSchema$outboundSchema: z.ZodType<
|
|
|
1147
1097
|
ResponseFormatJsonSchema
|
|
1148
1098
|
> = z.object({
|
|
1149
1099
|
name: z.string(),
|
|
1150
|
-
strict: z.boolean(),
|
|
1100
|
+
strict: z.boolean().optional(),
|
|
1151
1101
|
schema: z.record(z.any()),
|
|
1152
1102
|
});
|
|
1153
1103
|
|
|
@@ -1255,14 +1205,14 @@ export const UpdatePromptResponseFormat$inboundSchema: z.ZodType<
|
|
|
1255
1205
|
z.ZodTypeDef,
|
|
1256
1206
|
unknown
|
|
1257
1207
|
> = z.union([
|
|
1258
|
-
z.lazy(() => UpdatePromptResponseFormat2$inboundSchema),
|
|
1259
1208
|
z.lazy(() => UpdatePromptResponseFormat1$inboundSchema),
|
|
1209
|
+
z.lazy(() => UpdatePromptResponseFormat2$inboundSchema),
|
|
1260
1210
|
]);
|
|
1261
1211
|
|
|
1262
1212
|
/** @internal */
|
|
1263
1213
|
export type UpdatePromptResponseFormat$Outbound =
|
|
1264
|
-
|
|
|
1265
|
-
|
|
|
1214
|
+
| UpdatePromptResponseFormat1$Outbound
|
|
1215
|
+
| UpdatePromptResponseFormat2$Outbound;
|
|
1266
1216
|
|
|
1267
1217
|
/** @internal */
|
|
1268
1218
|
export const UpdatePromptResponseFormat$outboundSchema: z.ZodType<
|
|
@@ -1270,8 +1220,8 @@ export const UpdatePromptResponseFormat$outboundSchema: z.ZodType<
|
|
|
1270
1220
|
z.ZodTypeDef,
|
|
1271
1221
|
UpdatePromptResponseFormat
|
|
1272
1222
|
> = z.union([
|
|
1273
|
-
z.lazy(() => UpdatePromptResponseFormat2$outboundSchema),
|
|
1274
1223
|
z.lazy(() => UpdatePromptResponseFormat1$outboundSchema),
|
|
1224
|
+
z.lazy(() => UpdatePromptResponseFormat2$outboundSchema),
|
|
1275
1225
|
]);
|
|
1276
1226
|
|
|
1277
1227
|
/**
|
|
@@ -1388,8 +1338,8 @@ export const UpdatePromptModelParameters$inboundSchema: z.ZodType<
|
|
|
1388
1338
|
style: z.string().optional(),
|
|
1389
1339
|
responseFormat: z.nullable(
|
|
1390
1340
|
z.union([
|
|
1391
|
-
z.lazy(() => UpdatePromptResponseFormat2$inboundSchema),
|
|
1392
1341
|
z.lazy(() => UpdatePromptResponseFormat1$inboundSchema),
|
|
1342
|
+
z.lazy(() => UpdatePromptResponseFormat2$inboundSchema),
|
|
1393
1343
|
]),
|
|
1394
1344
|
).optional(),
|
|
1395
1345
|
photoRealVersion: UpdatePromptPhotoRealVersion$inboundSchema.optional(),
|
|
@@ -1417,8 +1367,8 @@ export type UpdatePromptModelParameters$Outbound = {
|
|
|
1417
1367
|
quality?: string | undefined;
|
|
1418
1368
|
style?: string | undefined;
|
|
1419
1369
|
responseFormat?:
|
|
1420
|
-
| UpdatePromptResponseFormat2$Outbound
|
|
1421
1370
|
| UpdatePromptResponseFormat1$Outbound
|
|
1371
|
+
| UpdatePromptResponseFormat2$Outbound
|
|
1422
1372
|
| null
|
|
1423
1373
|
| undefined;
|
|
1424
1374
|
photoRealVersion?: string | undefined;
|
|
@@ -1447,8 +1397,8 @@ export const UpdatePromptModelParameters$outboundSchema: z.ZodType<
|
|
|
1447
1397
|
style: z.string().optional(),
|
|
1448
1398
|
responseFormat: z.nullable(
|
|
1449
1399
|
z.union([
|
|
1450
|
-
z.lazy(() => UpdatePromptResponseFormat2$outboundSchema),
|
|
1451
1400
|
z.lazy(() => UpdatePromptResponseFormat1$outboundSchema),
|
|
1401
|
+
z.lazy(() => UpdatePromptResponseFormat2$outboundSchema),
|
|
1452
1402
|
]),
|
|
1453
1403
|
).optional(),
|
|
1454
1404
|
photoRealVersion: UpdatePromptPhotoRealVersion$outboundSchema.optional(),
|
|
@@ -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 */
|
|
@@ -2781,14 +2736,14 @@ export const UpdatePromptResponseFormatJsonSchema$inboundSchema: z.ZodType<
|
|
|
2781
2736
|
unknown
|
|
2782
2737
|
> = z.object({
|
|
2783
2738
|
name: z.string(),
|
|
2784
|
-
strict: z.boolean(),
|
|
2739
|
+
strict: z.boolean().optional(),
|
|
2785
2740
|
schema: z.record(z.any()),
|
|
2786
2741
|
});
|
|
2787
2742
|
|
|
2788
2743
|
/** @internal */
|
|
2789
2744
|
export type UpdatePromptResponseFormatJsonSchema$Outbound = {
|
|
2790
2745
|
name: string;
|
|
2791
|
-
strict
|
|
2746
|
+
strict?: boolean | undefined;
|
|
2792
2747
|
schema: { [k: string]: any };
|
|
2793
2748
|
};
|
|
2794
2749
|
|
|
@@ -2799,7 +2754,7 @@ export const UpdatePromptResponseFormatJsonSchema$outboundSchema: z.ZodType<
|
|
|
2799
2754
|
UpdatePromptResponseFormatJsonSchema
|
|
2800
2755
|
> = z.object({
|
|
2801
2756
|
name: z.string(),
|
|
2802
|
-
strict: z.boolean(),
|
|
2757
|
+
strict: z.boolean().optional(),
|
|
2803
2758
|
schema: z.record(z.any()),
|
|
2804
2759
|
});
|
|
2805
2760
|
|
|
@@ -2914,14 +2869,14 @@ export const UpdatePromptPromptsResponseFormat$inboundSchema: z.ZodType<
|
|
|
2914
2869
|
z.ZodTypeDef,
|
|
2915
2870
|
unknown
|
|
2916
2871
|
> = z.union([
|
|
2917
|
-
z.lazy(() => UpdatePromptResponseFormatPrompts2$inboundSchema),
|
|
2918
2872
|
z.lazy(() => UpdatePromptResponseFormatPrompts1$inboundSchema),
|
|
2873
|
+
z.lazy(() => UpdatePromptResponseFormatPrompts2$inboundSchema),
|
|
2919
2874
|
]);
|
|
2920
2875
|
|
|
2921
2876
|
/** @internal */
|
|
2922
2877
|
export type UpdatePromptPromptsResponseFormat$Outbound =
|
|
2923
|
-
|
|
|
2924
|
-
|
|
|
2878
|
+
| UpdatePromptResponseFormatPrompts1$Outbound
|
|
2879
|
+
| UpdatePromptResponseFormatPrompts2$Outbound;
|
|
2925
2880
|
|
|
2926
2881
|
/** @internal */
|
|
2927
2882
|
export const UpdatePromptPromptsResponseFormat$outboundSchema: z.ZodType<
|
|
@@ -2929,8 +2884,8 @@ export const UpdatePromptPromptsResponseFormat$outboundSchema: z.ZodType<
|
|
|
2929
2884
|
z.ZodTypeDef,
|
|
2930
2885
|
UpdatePromptPromptsResponseFormat
|
|
2931
2886
|
> = z.union([
|
|
2932
|
-
z.lazy(() => UpdatePromptResponseFormatPrompts2$outboundSchema),
|
|
2933
2887
|
z.lazy(() => UpdatePromptResponseFormatPrompts1$outboundSchema),
|
|
2888
|
+
z.lazy(() => UpdatePromptResponseFormatPrompts2$outboundSchema),
|
|
2934
2889
|
]);
|
|
2935
2890
|
|
|
2936
2891
|
/**
|
|
@@ -3054,8 +3009,8 @@ export const UpdatePromptPromptsModelParameters$inboundSchema: z.ZodType<
|
|
|
3054
3009
|
style: z.string().optional(),
|
|
3055
3010
|
responseFormat: z.nullable(
|
|
3056
3011
|
z.union([
|
|
3057
|
-
z.lazy(() => UpdatePromptResponseFormatPrompts2$inboundSchema),
|
|
3058
3012
|
z.lazy(() => UpdatePromptResponseFormatPrompts1$inboundSchema),
|
|
3013
|
+
z.lazy(() => UpdatePromptResponseFormatPrompts2$inboundSchema),
|
|
3059
3014
|
]),
|
|
3060
3015
|
).optional(),
|
|
3061
3016
|
photoRealVersion: UpdatePromptPromptsPhotoRealVersion$inboundSchema
|
|
@@ -3084,8 +3039,8 @@ export type UpdatePromptPromptsModelParameters$Outbound = {
|
|
|
3084
3039
|
quality?: string | undefined;
|
|
3085
3040
|
style?: string | undefined;
|
|
3086
3041
|
responseFormat?:
|
|
3087
|
-
| UpdatePromptResponseFormatPrompts2$Outbound
|
|
3088
3042
|
| UpdatePromptResponseFormatPrompts1$Outbound
|
|
3043
|
+
| UpdatePromptResponseFormatPrompts2$Outbound
|
|
3089
3044
|
| null
|
|
3090
3045
|
| undefined;
|
|
3091
3046
|
photoRealVersion?: string | undefined;
|
|
@@ -3114,8 +3069,8 @@ export const UpdatePromptPromptsModelParameters$outboundSchema: z.ZodType<
|
|
|
3114
3069
|
style: z.string().optional(),
|
|
3115
3070
|
responseFormat: z.nullable(
|
|
3116
3071
|
z.union([
|
|
3117
|
-
z.lazy(() => UpdatePromptResponseFormatPrompts2$outboundSchema),
|
|
3118
3072
|
z.lazy(() => UpdatePromptResponseFormatPrompts1$outboundSchema),
|
|
3073
|
+
z.lazy(() => UpdatePromptResponseFormatPrompts2$outboundSchema),
|
|
3119
3074
|
]),
|
|
3120
3075
|
).optional(),
|
|
3121
3076
|
photoRealVersion: UpdatePromptPromptsPhotoRealVersion$outboundSchema
|
|
@@ -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(),
|
package/src/lib/config.ts
CHANGED
|
@@ -68,7 +68,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
68
68
|
export const SDK_METADATA = {
|
|
69
69
|
language: "typescript",
|
|
70
70
|
openapiDocVersion: "2.0",
|
|
71
|
-
sdkVersion: "3.6.
|
|
72
|
-
genVersion: "2.
|
|
73
|
-
userAgent: "speakeasy-sdk/typescript 3.6.
|
|
71
|
+
sdkVersion: "3.6.17",
|
|
72
|
+
genVersion: "2.630.6",
|
|
73
|
+
userAgent: "speakeasy-sdk/typescript 3.6.17 2.630.6 2.0 @orq-ai/node",
|
|
74
74
|
} as const;
|
package/src/lib/security.ts
CHANGED
package/src/mcp-server/server.ts
CHANGED
|
@@ -402,10 +402,10 @@ export type DeveloperMessage = {
|
|
|
402
402
|
};
|
|
403
403
|
|
|
404
404
|
export type PrefixMessages =
|
|
405
|
+
| ToolMessage
|
|
405
406
|
| DeveloperMessage
|
|
406
407
|
| SystemMessage
|
|
407
408
|
| UserMessage
|
|
408
|
-
| ToolMessage
|
|
409
409
|
| AssistantMessage;
|
|
410
410
|
|
|
411
411
|
/**
|
|
@@ -807,10 +807,10 @@ export type MessagesDeveloperMessage = {
|
|
|
807
807
|
};
|
|
808
808
|
|
|
809
809
|
export type Messages =
|
|
810
|
+
| MessagesToolMessage
|
|
810
811
|
| MessagesDeveloperMessage
|
|
811
812
|
| MessagesSystemMessage
|
|
812
813
|
| MessagesUserMessage
|
|
813
|
-
| MessagesToolMessage
|
|
814
814
|
| MessagesAssistantMessage;
|
|
815
815
|
|
|
816
816
|
/**
|
|
@@ -1169,10 +1169,10 @@ export type Deployments = {
|
|
|
1169
1169
|
*/
|
|
1170
1170
|
prefixMessages?:
|
|
1171
1171
|
| Array<
|
|
1172
|
+
| ToolMessage
|
|
1172
1173
|
| DeveloperMessage
|
|
1173
1174
|
| SystemMessage
|
|
1174
1175
|
| UserMessage
|
|
1175
|
-
| ToolMessage
|
|
1176
1176
|
| AssistantMessage
|
|
1177
1177
|
>
|
|
1178
1178
|
| undefined;
|
|
@@ -1181,10 +1181,10 @@ export type Deployments = {
|
|
|
1181
1181
|
*/
|
|
1182
1182
|
messages?:
|
|
1183
1183
|
| Array<
|
|
1184
|
+
| MessagesToolMessage
|
|
1184
1185
|
| MessagesDeveloperMessage
|
|
1185
1186
|
| MessagesSystemMessage
|
|
1186
1187
|
| MessagesUserMessage
|
|
1187
|
-
| MessagesToolMessage
|
|
1188
1188
|
| MessagesAssistantMessage
|
|
1189
1189
|
>
|
|
1190
1190
|
| undefined;
|
|
@@ -2859,19 +2859,19 @@ export const PrefixMessages$inboundSchema: z.ZodType<
|
|
|
2859
2859
|
z.ZodTypeDef,
|
|
2860
2860
|
unknown
|
|
2861
2861
|
> = z.union([
|
|
2862
|
+
z.lazy(() => ToolMessage$inboundSchema),
|
|
2862
2863
|
z.lazy(() => DeveloperMessage$inboundSchema),
|
|
2863
2864
|
z.lazy(() => SystemMessage$inboundSchema),
|
|
2864
2865
|
z.lazy(() => UserMessage$inboundSchema),
|
|
2865
|
-
z.lazy(() => ToolMessage$inboundSchema),
|
|
2866
2866
|
z.lazy(() => AssistantMessage$inboundSchema),
|
|
2867
2867
|
]);
|
|
2868
2868
|
|
|
2869
2869
|
/** @internal */
|
|
2870
2870
|
export type PrefixMessages$Outbound =
|
|
2871
|
+
| ToolMessage$Outbound
|
|
2871
2872
|
| DeveloperMessage$Outbound
|
|
2872
2873
|
| SystemMessage$Outbound
|
|
2873
2874
|
| UserMessage$Outbound
|
|
2874
|
-
| ToolMessage$Outbound
|
|
2875
2875
|
| AssistantMessage$Outbound;
|
|
2876
2876
|
|
|
2877
2877
|
/** @internal */
|
|
@@ -2880,10 +2880,10 @@ export const PrefixMessages$outboundSchema: z.ZodType<
|
|
|
2880
2880
|
z.ZodTypeDef,
|
|
2881
2881
|
PrefixMessages
|
|
2882
2882
|
> = z.union([
|
|
2883
|
+
z.lazy(() => ToolMessage$outboundSchema),
|
|
2883
2884
|
z.lazy(() => DeveloperMessage$outboundSchema),
|
|
2884
2885
|
z.lazy(() => SystemMessage$outboundSchema),
|
|
2885
2886
|
z.lazy(() => UserMessage$outboundSchema),
|
|
2886
|
-
z.lazy(() => ToolMessage$outboundSchema),
|
|
2887
2887
|
z.lazy(() => AssistantMessage$outboundSchema),
|
|
2888
2888
|
]);
|
|
2889
2889
|
|
|
@@ -4542,19 +4542,19 @@ export const Messages$inboundSchema: z.ZodType<
|
|
|
4542
4542
|
z.ZodTypeDef,
|
|
4543
4543
|
unknown
|
|
4544
4544
|
> = z.union([
|
|
4545
|
+
z.lazy(() => MessagesToolMessage$inboundSchema),
|
|
4545
4546
|
z.lazy(() => MessagesDeveloperMessage$inboundSchema),
|
|
4546
4547
|
z.lazy(() => MessagesSystemMessage$inboundSchema),
|
|
4547
4548
|
z.lazy(() => MessagesUserMessage$inboundSchema),
|
|
4548
|
-
z.lazy(() => MessagesToolMessage$inboundSchema),
|
|
4549
4549
|
z.lazy(() => MessagesAssistantMessage$inboundSchema),
|
|
4550
4550
|
]);
|
|
4551
4551
|
|
|
4552
4552
|
/** @internal */
|
|
4553
4553
|
export type Messages$Outbound =
|
|
4554
|
+
| MessagesToolMessage$Outbound
|
|
4554
4555
|
| MessagesDeveloperMessage$Outbound
|
|
4555
4556
|
| MessagesSystemMessage$Outbound
|
|
4556
4557
|
| MessagesUserMessage$Outbound
|
|
4557
|
-
| MessagesToolMessage$Outbound
|
|
4558
4558
|
| MessagesAssistantMessage$Outbound;
|
|
4559
4559
|
|
|
4560
4560
|
/** @internal */
|
|
@@ -4563,10 +4563,10 @@ export const Messages$outboundSchema: z.ZodType<
|
|
|
4563
4563
|
z.ZodTypeDef,
|
|
4564
4564
|
Messages
|
|
4565
4565
|
> = z.union([
|
|
4566
|
+
z.lazy(() => MessagesToolMessage$outboundSchema),
|
|
4566
4567
|
z.lazy(() => MessagesDeveloperMessage$outboundSchema),
|
|
4567
4568
|
z.lazy(() => MessagesSystemMessage$outboundSchema),
|
|
4568
4569
|
z.lazy(() => MessagesUserMessage$outboundSchema),
|
|
4569
|
-
z.lazy(() => MessagesToolMessage$outboundSchema),
|
|
4570
4570
|
z.lazy(() => MessagesAssistantMessage$outboundSchema),
|
|
4571
4571
|
]);
|
|
4572
4572
|
|
|
@@ -7109,19 +7109,19 @@ export const Deployments$inboundSchema: z.ZodType<
|
|
|
7109
7109
|
context: z.record(z.any()).optional(),
|
|
7110
7110
|
prefix_messages: z.array(
|
|
7111
7111
|
z.union([
|
|
7112
|
+
z.lazy(() => ToolMessage$inboundSchema),
|
|
7112
7113
|
z.lazy(() => DeveloperMessage$inboundSchema),
|
|
7113
7114
|
z.lazy(() => SystemMessage$inboundSchema),
|
|
7114
7115
|
z.lazy(() => UserMessage$inboundSchema),
|
|
7115
|
-
z.lazy(() => ToolMessage$inboundSchema),
|
|
7116
7116
|
z.lazy(() => AssistantMessage$inboundSchema),
|
|
7117
7117
|
]),
|
|
7118
7118
|
).optional(),
|
|
7119
7119
|
messages: z.array(
|
|
7120
7120
|
z.union([
|
|
7121
|
+
z.lazy(() => MessagesToolMessage$inboundSchema),
|
|
7121
7122
|
z.lazy(() => MessagesDeveloperMessage$inboundSchema),
|
|
7122
7123
|
z.lazy(() => MessagesSystemMessage$inboundSchema),
|
|
7123
7124
|
z.lazy(() => MessagesUserMessage$inboundSchema),
|
|
7124
|
-
z.lazy(() => MessagesToolMessage$inboundSchema),
|
|
7125
7125
|
z.lazy(() => MessagesAssistantMessage$inboundSchema),
|
|
7126
7126
|
]),
|
|
7127
7127
|
).optional(),
|
|
@@ -7163,19 +7163,19 @@ export type Deployments$Outbound = {
|
|
|
7163
7163
|
context?: { [k: string]: any } | undefined;
|
|
7164
7164
|
prefix_messages?:
|
|
7165
7165
|
| Array<
|
|
7166
|
+
| ToolMessage$Outbound
|
|
7166
7167
|
| DeveloperMessage$Outbound
|
|
7167
7168
|
| SystemMessage$Outbound
|
|
7168
7169
|
| UserMessage$Outbound
|
|
7169
|
-
| ToolMessage$Outbound
|
|
7170
7170
|
| AssistantMessage$Outbound
|
|
7171
7171
|
>
|
|
7172
7172
|
| undefined;
|
|
7173
7173
|
messages?:
|
|
7174
7174
|
| Array<
|
|
7175
|
+
| MessagesToolMessage$Outbound
|
|
7175
7176
|
| MessagesDeveloperMessage$Outbound
|
|
7176
7177
|
| MessagesSystemMessage$Outbound
|
|
7177
7178
|
| MessagesUserMessage$Outbound
|
|
7178
|
-
| MessagesToolMessage$Outbound
|
|
7179
7179
|
| MessagesAssistantMessage$Outbound
|
|
7180
7180
|
>
|
|
7181
7181
|
| undefined;
|
|
@@ -7214,19 +7214,19 @@ export const Deployments$outboundSchema: z.ZodType<
|
|
|
7214
7214
|
context: z.record(z.any()).optional(),
|
|
7215
7215
|
prefixMessages: z.array(
|
|
7216
7216
|
z.union([
|
|
7217
|
+
z.lazy(() => ToolMessage$outboundSchema),
|
|
7217
7218
|
z.lazy(() => DeveloperMessage$outboundSchema),
|
|
7218
7219
|
z.lazy(() => SystemMessage$outboundSchema),
|
|
7219
7220
|
z.lazy(() => UserMessage$outboundSchema),
|
|
7220
|
-
z.lazy(() => ToolMessage$outboundSchema),
|
|
7221
7221
|
z.lazy(() => AssistantMessage$outboundSchema),
|
|
7222
7222
|
]),
|
|
7223
7223
|
).optional(),
|
|
7224
7224
|
messages: z.array(
|
|
7225
7225
|
z.union([
|
|
7226
|
+
z.lazy(() => MessagesToolMessage$outboundSchema),
|
|
7226
7227
|
z.lazy(() => MessagesDeveloperMessage$outboundSchema),
|
|
7227
7228
|
z.lazy(() => MessagesSystemMessage$outboundSchema),
|
|
7228
7229
|
z.lazy(() => MessagesUserMessage$outboundSchema),
|
|
7229
|
-
z.lazy(() => MessagesToolMessage$outboundSchema),
|
|
7230
7230
|
z.lazy(() => MessagesAssistantMessage$outboundSchema),
|
|
7231
7231
|
]),
|
|
7232
7232
|
).optional(),
|