@orq-ai/node 3.8.0-rc.30 → 3.8.0-rc.32
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 +570 -570
- package/bin/mcp-server.js.map +40 -40
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/components/deployments.d.ts +12 -12
- package/models/components/deployments.d.ts.map +1 -1
- package/models/components/deployments.js +12 -12
- package/models/components/deployments.js.map +1 -1
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.d.ts +12 -12
- package/models/operations/createdatasetitem.d.ts.map +1 -1
- package/models/operations/createdatasetitem.js +14 -14
- package/models/operations/createdatasetitem.js.map +1 -1
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.d.ts +36 -36
- package/models/operations/createeval.d.ts.map +1 -1
- package/models/operations/createeval.js +56 -56
- package/models/operations/createeval.js.map +1 -1
- package/models/operations/createprompt.d.ts +8 -8
- package/models/operations/createprompt.js +8 -8
- package/models/operations/deploymentcreatemetric.d.ts +12 -12
- package/models/operations/deploymentcreatemetric.d.ts.map +1 -1
- package/models/operations/deploymentcreatemetric.js +12 -12
- package/models/operations/deploymentcreatemetric.js.map +1 -1
- package/models/operations/deploymentgetconfig.d.ts +16 -16
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +16 -16
- 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 +4 -4
- package/models/operations/deployments.js +4 -4
- package/models/operations/deploymentstream.d.ts +16 -16
- package/models/operations/deploymentstream.d.ts.map +1 -1
- package/models/operations/deploymentstream.js +16 -16
- 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 +4 -4
- package/models/operations/getallprompts.js +4 -4
- package/models/operations/getevals.d.ts +36 -36
- package/models/operations/getevals.d.ts.map +1 -1
- package/models/operations/getevals.js +108 -108
- package/models/operations/getevals.js.map +1 -1
- package/models/operations/getoneprompt.d.ts +4 -4
- package/models/operations/getoneprompt.js +4 -4
- package/models/operations/getpromptversion.d.ts +4 -4
- package/models/operations/getpromptversion.js +4 -4
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.d.ts +6 -6
- package/models/operations/listdatasetdatapoints.d.ts.map +1 -1
- package/models/operations/listdatasetdatapoints.js +8 -8
- package/models/operations/listdatasetdatapoints.js.map +1 -1
- 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.js +4 -4
- package/models/operations/postv2modelslitellmimport.d.ts +4 -4
- package/models/operations/postv2modelslitellmimport.js +8 -8
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrievedatapoint.d.ts +6 -6
- package/models/operations/retrievedatapoint.d.ts.map +1 -1
- package/models/operations/retrievedatapoint.js +8 -8
- package/models/operations/retrievedatapoint.js.map +1 -1
- 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.d.ts +12 -12
- package/models/operations/updatedatapoint.d.ts.map +1 -1
- package/models/operations/updatedatapoint.js +14 -14
- package/models/operations/updatedatapoint.js.map +1 -1
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.d.ts +38 -38
- package/models/operations/updateeval.d.ts.map +1 -1
- package/models/operations/updateeval.js +60 -60
- package/models/operations/updateeval.js.map +1 -1
- package/models/operations/updateprompt.d.ts +8 -8
- package/models/operations/updateprompt.js +8 -8
- package/package.json +1 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/deployments.ts +24 -24
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +26 -26
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +121 -121
- package/src/models/operations/createprompt.ts +19 -19
- package/src/models/operations/deploymentcreatemetric.ts +30 -26
- package/src/models/operations/deploymentgetconfig.ts +34 -34
- package/src/models/operations/deploymentinvoke.ts +13 -13
- package/src/models/operations/deployments.ts +10 -10
- package/src/models/operations/deploymentstream.ts +34 -34
- 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 +10 -10
- package/src/models/operations/getevals.ts +220 -220
- package/src/models/operations/getoneprompt.ts +10 -10
- package/src/models/operations/getpromptversion.ts +10 -10
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +20 -16
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/listpromptversions.ts +10 -10
- package/src/models/operations/postv2modelslitellmimport.ts +18 -18
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +14 -14
- 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 +29 -27
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +139 -139
- package/src/models/operations/updateprompt.ts +20 -20
- package/src/types/constdatetime.ts +1 -1
- package/types/constdatetime.js +1 -1
|
@@ -48,7 +48,7 @@ export type UpdatePromptResponseFormat1 = {
|
|
|
48
48
|
*
|
|
49
49
|
* 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.
|
|
50
50
|
*/
|
|
51
|
-
export type UpdatePromptResponseFormat =
|
|
51
|
+
export type UpdatePromptResponseFormat = UpdatePromptResponseFormat1 | UpdatePromptResponseFormat2;
|
|
52
52
|
/**
|
|
53
53
|
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
54
54
|
*/
|
|
@@ -146,7 +146,7 @@ export type UpdatePromptModelParameters = {
|
|
|
146
146
|
*
|
|
147
147
|
* 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.
|
|
148
148
|
*/
|
|
149
|
-
responseFormat?:
|
|
149
|
+
responseFormat?: UpdatePromptResponseFormat1 | UpdatePromptResponseFormat2 | null | undefined;
|
|
150
150
|
/**
|
|
151
151
|
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
152
152
|
*/
|
|
@@ -455,7 +455,7 @@ export type UpdatePromptResponseFormatPrompts1 = {
|
|
|
455
455
|
*
|
|
456
456
|
* 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.
|
|
457
457
|
*/
|
|
458
|
-
export type UpdatePromptPromptsResponseFormat =
|
|
458
|
+
export type UpdatePromptPromptsResponseFormat = UpdatePromptResponseFormatPrompts1 | UpdatePromptResponseFormatPrompts2;
|
|
459
459
|
/**
|
|
460
460
|
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
461
461
|
*/
|
|
@@ -553,7 +553,7 @@ export type UpdatePromptPromptsModelParameters = {
|
|
|
553
553
|
*
|
|
554
554
|
* 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.
|
|
555
555
|
*/
|
|
556
|
-
responseFormat?:
|
|
556
|
+
responseFormat?: UpdatePromptResponseFormatPrompts1 | UpdatePromptResponseFormatPrompts2 | null | undefined;
|
|
557
557
|
/**
|
|
558
558
|
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
559
559
|
*/
|
|
@@ -942,7 +942,7 @@ export declare function updatePromptResponseFormat1FromJSON(jsonString: string):
|
|
|
942
942
|
/** @internal */
|
|
943
943
|
export declare const UpdatePromptResponseFormat$inboundSchema: z.ZodType<UpdatePromptResponseFormat, z.ZodTypeDef, unknown>;
|
|
944
944
|
/** @internal */
|
|
945
|
-
export type UpdatePromptResponseFormat$Outbound =
|
|
945
|
+
export type UpdatePromptResponseFormat$Outbound = UpdatePromptResponseFormat1$Outbound | UpdatePromptResponseFormat2$Outbound;
|
|
946
946
|
/** @internal */
|
|
947
947
|
export declare const UpdatePromptResponseFormat$outboundSchema: z.ZodType<UpdatePromptResponseFormat$Outbound, z.ZodTypeDef, UpdatePromptResponseFormat>;
|
|
948
948
|
/**
|
|
@@ -1037,7 +1037,7 @@ export type UpdatePromptModelParameters$Outbound = {
|
|
|
1037
1037
|
dimensions?: string | undefined;
|
|
1038
1038
|
quality?: string | undefined;
|
|
1039
1039
|
style?: string | undefined;
|
|
1040
|
-
responseFormat?:
|
|
1040
|
+
responseFormat?: UpdatePromptResponseFormat1$Outbound | UpdatePromptResponseFormat2$Outbound | null | undefined;
|
|
1041
1041
|
photoRealVersion?: string | undefined;
|
|
1042
1042
|
encoding_format?: string | undefined;
|
|
1043
1043
|
reasoningEffort?: string | undefined;
|
|
@@ -1824,7 +1824,7 @@ export declare function updatePromptResponseFormatPrompts1FromJSON(jsonString: s
|
|
|
1824
1824
|
/** @internal */
|
|
1825
1825
|
export declare const UpdatePromptPromptsResponseFormat$inboundSchema: z.ZodType<UpdatePromptPromptsResponseFormat, z.ZodTypeDef, unknown>;
|
|
1826
1826
|
/** @internal */
|
|
1827
|
-
export type UpdatePromptPromptsResponseFormat$Outbound =
|
|
1827
|
+
export type UpdatePromptPromptsResponseFormat$Outbound = UpdatePromptResponseFormatPrompts1$Outbound | UpdatePromptResponseFormatPrompts2$Outbound;
|
|
1828
1828
|
/** @internal */
|
|
1829
1829
|
export declare const UpdatePromptPromptsResponseFormat$outboundSchema: z.ZodType<UpdatePromptPromptsResponseFormat$Outbound, z.ZodTypeDef, UpdatePromptPromptsResponseFormat>;
|
|
1830
1830
|
/**
|
|
@@ -1919,7 +1919,7 @@ export type UpdatePromptPromptsModelParameters$Outbound = {
|
|
|
1919
1919
|
dimensions?: string | undefined;
|
|
1920
1920
|
quality?: string | undefined;
|
|
1921
1921
|
style?: string | undefined;
|
|
1922
|
-
responseFormat?:
|
|
1922
|
+
responseFormat?: UpdatePromptResponseFormatPrompts1$Outbound | UpdatePromptResponseFormatPrompts2$Outbound | null | undefined;
|
|
1923
1923
|
photoRealVersion?: string | undefined;
|
|
1924
1924
|
encoding_format?: string | undefined;
|
|
1925
1925
|
reasoningEffort?: string | undefined;
|
|
@@ -511,13 +511,13 @@ function updatePromptResponseFormat1FromJSON(jsonString) {
|
|
|
511
511
|
}
|
|
512
512
|
/** @internal */
|
|
513
513
|
exports.UpdatePromptResponseFormat$inboundSchema = z.union([
|
|
514
|
-
z.lazy(() => exports.UpdatePromptResponseFormat2$inboundSchema),
|
|
515
514
|
z.lazy(() => exports.UpdatePromptResponseFormat1$inboundSchema),
|
|
515
|
+
z.lazy(() => exports.UpdatePromptResponseFormat2$inboundSchema),
|
|
516
516
|
]);
|
|
517
517
|
/** @internal */
|
|
518
518
|
exports.UpdatePromptResponseFormat$outboundSchema = z.union([
|
|
519
|
-
z.lazy(() => exports.UpdatePromptResponseFormat2$outboundSchema),
|
|
520
519
|
z.lazy(() => exports.UpdatePromptResponseFormat1$outboundSchema),
|
|
520
|
+
z.lazy(() => exports.UpdatePromptResponseFormat2$outboundSchema),
|
|
521
521
|
]);
|
|
522
522
|
/**
|
|
523
523
|
* @internal
|
|
@@ -596,8 +596,8 @@ exports.UpdatePromptModelParameters$inboundSchema = z.object({
|
|
|
596
596
|
quality: z.string().optional(),
|
|
597
597
|
style: z.string().optional(),
|
|
598
598
|
responseFormat: z.nullable(z.union([
|
|
599
|
-
z.lazy(() => exports.UpdatePromptResponseFormat2$inboundSchema),
|
|
600
599
|
z.lazy(() => exports.UpdatePromptResponseFormat1$inboundSchema),
|
|
600
|
+
z.lazy(() => exports.UpdatePromptResponseFormat2$inboundSchema),
|
|
601
601
|
])).optional(),
|
|
602
602
|
photoRealVersion: exports.UpdatePromptPhotoRealVersion$inboundSchema.optional(),
|
|
603
603
|
encoding_format: exports.UpdatePromptEncodingFormat$inboundSchema.optional(),
|
|
@@ -623,8 +623,8 @@ exports.UpdatePromptModelParameters$outboundSchema = z.object({
|
|
|
623
623
|
quality: z.string().optional(),
|
|
624
624
|
style: z.string().optional(),
|
|
625
625
|
responseFormat: z.nullable(z.union([
|
|
626
|
-
z.lazy(() => exports.UpdatePromptResponseFormat2$outboundSchema),
|
|
627
626
|
z.lazy(() => exports.UpdatePromptResponseFormat1$outboundSchema),
|
|
627
|
+
z.lazy(() => exports.UpdatePromptResponseFormat2$outboundSchema),
|
|
628
628
|
])).optional(),
|
|
629
629
|
photoRealVersion: exports.UpdatePromptPhotoRealVersion$outboundSchema.optional(),
|
|
630
630
|
encodingFormat: exports.UpdatePromptEncodingFormat$outboundSchema.optional(),
|
|
@@ -1456,13 +1456,13 @@ function updatePromptResponseFormatPrompts1FromJSON(jsonString) {
|
|
|
1456
1456
|
}
|
|
1457
1457
|
/** @internal */
|
|
1458
1458
|
exports.UpdatePromptPromptsResponseFormat$inboundSchema = z.union([
|
|
1459
|
-
z.lazy(() => exports.UpdatePromptResponseFormatPrompts2$inboundSchema),
|
|
1460
1459
|
z.lazy(() => exports.UpdatePromptResponseFormatPrompts1$inboundSchema),
|
|
1460
|
+
z.lazy(() => exports.UpdatePromptResponseFormatPrompts2$inboundSchema),
|
|
1461
1461
|
]);
|
|
1462
1462
|
/** @internal */
|
|
1463
1463
|
exports.UpdatePromptPromptsResponseFormat$outboundSchema = z.union([
|
|
1464
|
-
z.lazy(() => exports.UpdatePromptResponseFormatPrompts2$outboundSchema),
|
|
1465
1464
|
z.lazy(() => exports.UpdatePromptResponseFormatPrompts1$outboundSchema),
|
|
1465
|
+
z.lazy(() => exports.UpdatePromptResponseFormatPrompts2$outboundSchema),
|
|
1466
1466
|
]);
|
|
1467
1467
|
/**
|
|
1468
1468
|
* @internal
|
|
@@ -1541,8 +1541,8 @@ exports.UpdatePromptPromptsModelParameters$inboundSchema = z.object({
|
|
|
1541
1541
|
quality: z.string().optional(),
|
|
1542
1542
|
style: z.string().optional(),
|
|
1543
1543
|
responseFormat: z.nullable(z.union([
|
|
1544
|
-
z.lazy(() => exports.UpdatePromptResponseFormatPrompts2$inboundSchema),
|
|
1545
1544
|
z.lazy(() => exports.UpdatePromptResponseFormatPrompts1$inboundSchema),
|
|
1545
|
+
z.lazy(() => exports.UpdatePromptResponseFormatPrompts2$inboundSchema),
|
|
1546
1546
|
])).optional(),
|
|
1547
1547
|
photoRealVersion: exports.UpdatePromptPromptsPhotoRealVersion$inboundSchema
|
|
1548
1548
|
.optional(),
|
|
@@ -1569,8 +1569,8 @@ exports.UpdatePromptPromptsModelParameters$outboundSchema = z.object({
|
|
|
1569
1569
|
quality: z.string().optional(),
|
|
1570
1570
|
style: z.string().optional(),
|
|
1571
1571
|
responseFormat: z.nullable(z.union([
|
|
1572
|
-
z.lazy(() => exports.UpdatePromptResponseFormatPrompts2$outboundSchema),
|
|
1573
1572
|
z.lazy(() => exports.UpdatePromptResponseFormatPrompts1$outboundSchema),
|
|
1573
|
+
z.lazy(() => exports.UpdatePromptResponseFormatPrompts2$outboundSchema),
|
|
1574
1574
|
])).optional(),
|
|
1575
1575
|
photoRealVersion: exports.UpdatePromptPromptsPhotoRealVersion$outboundSchema
|
|
1576
1576
|
.optional(),
|
package/package.json
CHANGED
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.8.0-rc.
|
|
72
|
-
genVersion: "2.
|
|
73
|
-
userAgent: "speakeasy-sdk/typescript 3.8.0-rc.
|
|
71
|
+
sdkVersion: "3.8.0-rc.32",
|
|
72
|
+
genVersion: "2.630.8",
|
|
73
|
+
userAgent: "speakeasy-sdk/typescript 3.8.0-rc.32 2.630.8 2.0 @orq-ai/node",
|
|
74
74
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -235,7 +235,7 @@ export type FileT = {
|
|
|
235
235
|
/**
|
|
236
236
|
* The name of the file, used when passing the file to the model as a string.
|
|
237
237
|
*/
|
|
238
|
-
filename
|
|
238
|
+
filename: string;
|
|
239
239
|
};
|
|
240
240
|
|
|
241
241
|
export type Four = {
|
|
@@ -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
|
/**
|
|
@@ -634,7 +634,7 @@ export type TwoFile = {
|
|
|
634
634
|
/**
|
|
635
635
|
* The name of the file, used when passing the file to the model as a string.
|
|
636
636
|
*/
|
|
637
|
-
filename
|
|
637
|
+
filename: string;
|
|
638
638
|
};
|
|
639
639
|
|
|
640
640
|
export type Two4 = {
|
|
@@ -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;
|
|
@@ -2025,7 +2025,7 @@ export namespace Deployments2PrefixMessagesType$ {
|
|
|
2025
2025
|
export const FileT$inboundSchema: z.ZodType<FileT, z.ZodTypeDef, unknown> = z
|
|
2026
2026
|
.object({
|
|
2027
2027
|
file_data: z.string(),
|
|
2028
|
-
filename: z.string()
|
|
2028
|
+
filename: z.string(),
|
|
2029
2029
|
}).transform((v) => {
|
|
2030
2030
|
return remap$(v, {
|
|
2031
2031
|
"file_data": "fileData",
|
|
@@ -2035,7 +2035,7 @@ export const FileT$inboundSchema: z.ZodType<FileT, z.ZodTypeDef, unknown> = z
|
|
|
2035
2035
|
/** @internal */
|
|
2036
2036
|
export type FileT$Outbound = {
|
|
2037
2037
|
file_data: string;
|
|
2038
|
-
filename
|
|
2038
|
+
filename: string;
|
|
2039
2039
|
};
|
|
2040
2040
|
|
|
2041
2041
|
/** @internal */
|
|
@@ -2045,7 +2045,7 @@ export const FileT$outboundSchema: z.ZodType<
|
|
|
2045
2045
|
FileT
|
|
2046
2046
|
> = z.object({
|
|
2047
2047
|
fileData: z.string(),
|
|
2048
|
-
filename: z.string()
|
|
2048
|
+
filename: z.string(),
|
|
2049
2049
|
}).transform((v) => {
|
|
2050
2050
|
return remap$(v, {
|
|
2051
2051
|
fileData: "file_data",
|
|
@@ -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
|
|
|
@@ -3697,7 +3697,7 @@ export namespace Deployments2Messages3Content4Type$ {
|
|
|
3697
3697
|
export const TwoFile$inboundSchema: z.ZodType<TwoFile, z.ZodTypeDef, unknown> =
|
|
3698
3698
|
z.object({
|
|
3699
3699
|
file_data: z.string(),
|
|
3700
|
-
filename: z.string()
|
|
3700
|
+
filename: z.string(),
|
|
3701
3701
|
}).transform((v) => {
|
|
3702
3702
|
return remap$(v, {
|
|
3703
3703
|
"file_data": "fileData",
|
|
@@ -3707,7 +3707,7 @@ export const TwoFile$inboundSchema: z.ZodType<TwoFile, z.ZodTypeDef, unknown> =
|
|
|
3707
3707
|
/** @internal */
|
|
3708
3708
|
export type TwoFile$Outbound = {
|
|
3709
3709
|
file_data: string;
|
|
3710
|
-
filename
|
|
3710
|
+
filename: string;
|
|
3711
3711
|
};
|
|
3712
3712
|
|
|
3713
3713
|
/** @internal */
|
|
@@ -3717,7 +3717,7 @@ export const TwoFile$outboundSchema: z.ZodType<
|
|
|
3717
3717
|
TwoFile
|
|
3718
3718
|
> = z.object({
|
|
3719
3719
|
fileData: z.string(),
|
|
3720
|
-
filename: z.string()
|
|
3720
|
+
filename: z.string(),
|
|
3721
3721
|
}).transform((v) => {
|
|
3722
3722
|
return remap$(v, {
|
|
3723
3723
|
fileData: "file_data",
|
|
@@ -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(),
|
|
@@ -182,7 +182,7 @@ export const CreateContactResponseBody$inboundSchema: z.ZodType<
|
|
|
182
182
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
183
183
|
.optional(),
|
|
184
184
|
updated: z.string().datetime({ offset: true }).default(
|
|
185
|
-
"2025-06-
|
|
185
|
+
"2025-06-17T22:56:18.095Z",
|
|
186
186
|
).transform(v => new Date(v)),
|
|
187
187
|
}).transform((v) => {
|
|
188
188
|
return remap$(v, {
|
|
@@ -223,7 +223,7 @@ export const CreateContactResponseBody$outboundSchema: z.ZodType<
|
|
|
223
223
|
tags: z.array(z.string()).optional(),
|
|
224
224
|
metadata: z.record(z.any()).optional(),
|
|
225
225
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
226
|
-
updated: z.date().default(() => new Date("2025-06-
|
|
226
|
+
updated: z.date().default(() => new Date("2025-06-17T22:56:18.095Z"))
|
|
227
227
|
.transform(v => v.toISOString()),
|
|
228
228
|
}).transform((v) => {
|
|
229
229
|
return remap$(v, {
|
|
@@ -211,7 +211,7 @@ export const CreateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
211
211
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
212
212
|
.optional(),
|
|
213
213
|
updated: z.string().datetime({ offset: true }).default(
|
|
214
|
-
"2025-06-
|
|
214
|
+
"2025-06-17T22:56:18.095Z",
|
|
215
215
|
).transform(v => new Date(v)),
|
|
216
216
|
}).transform((v) => {
|
|
217
217
|
return remap$(v, {
|
|
@@ -251,7 +251,7 @@ export const CreateDatasetResponseBody$outboundSchema: z.ZodType<
|
|
|
251
251
|
updatedById: z.string().optional(),
|
|
252
252
|
metadata: z.lazy(() => CreateDatasetMetadata$outboundSchema),
|
|
253
253
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
254
|
-
updated: z.date().default(() => new Date("2025-06-
|
|
254
|
+
updated: z.date().default(() => new Date("2025-06-17T22:56:18.095Z"))
|
|
255
255
|
.transform(v => v.toISOString()),
|
|
256
256
|
}).transform((v) => {
|
|
257
257
|
return remap$(v, {
|