@orq-ai/node 4.10.0-rc.45 → 4.10.0-rc.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +36 -41
- package/funcs/annotationsCreate.d.ts +3 -0
- package/funcs/annotationsCreate.d.ts.map +1 -1
- package/funcs/annotationsCreate.js +3 -0
- package/funcs/annotationsCreate.js.map +1 -1
- package/funcs/annotationsDelete.d.ts +3 -0
- package/funcs/annotationsDelete.d.ts.map +1 -1
- package/funcs/annotationsDelete.js +3 -0
- package/funcs/annotationsDelete.js.map +1 -1
- package/funcs/deploymentsInvoke.d.ts +1 -2
- package/funcs/deploymentsInvoke.d.ts.map +1 -1
- package/funcs/deploymentsInvoke.js +1 -2
- package/funcs/deploymentsInvoke.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/components/agentthoughtstreamingevent.d.ts +12 -12
- package/models/components/agentthoughtstreamingevent.d.ts.map +1 -1
- package/models/components/agentthoughtstreamingevent.js +17 -17
- package/models/components/agentthoughtstreamingevent.js.map +1 -1
- package/models/components/index.d.ts +0 -1
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +0 -1
- package/models/components/index.js.map +1 -1
- package/models/components/modelmetadata.d.ts +38 -0
- package/models/components/modelmetadata.d.ts.map +1 -1
- package/models/components/modelmetadata.js +72 -0
- package/models/components/modelmetadata.js.map +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +4 -4
- package/models/operations/createdatasource.js +1 -1
- package/models/operations/createeval.d.ts +67 -210
- package/models/operations/createeval.d.ts.map +1 -1
- package/models/operations/createeval.js +84 -201
- package/models/operations/createeval.js.map +1 -1
- package/models/operations/createtool.d.ts +10 -10
- package/models/operations/createtool.d.ts.map +1 -1
- package/models/operations/createtool.js +15 -15
- package/models/operations/createtool.js.map +1 -1
- package/models/operations/deploymentgetconfig.d.ts +440 -440
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +479 -484
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deploymentinvoke.d.ts +1568 -8
- package/models/operations/deploymentinvoke.d.ts.map +1 -1
- package/models/operations/deploymentinvoke.js +1137 -12
- package/models/operations/deploymentinvoke.js.map +1 -1
- package/models/operations/deploymentstream.d.ts +56 -56
- package/models/operations/deploymentstream.d.ts.map +1 -1
- package/models/operations/deploymentstream.js +72 -73
- package/models/operations/deploymentstream.js.map +1 -1
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getevals.js +16 -16
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/index.d.ts +0 -1
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +0 -1
- package/models/operations/index.js.map +1 -1
- package/models/operations/listdatasetdatapoints.js +4 -4
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +3 -3
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrievedatapoint.js +4 -4
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.js +1 -1
- package/models/operations/retrievetool.js +6 -6
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updatedatapoint.js +4 -4
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updateeval.d.ts +8 -8
- package/models/operations/updateeval.d.ts.map +1 -1
- package/models/operations/updateeval.js +26 -26
- package/models/operations/updateeval.js.map +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +5 -5
- package/sdk/annotations.d.ts +6 -0
- package/sdk/annotations.d.ts.map +1 -1
- package/sdk/annotations.js +6 -0
- package/sdk/annotations.js.map +1 -1
- package/sdk/deployments.d.ts +1 -5
- package/sdk/deployments.d.ts.map +1 -1
- package/sdk/deployments.js +0 -4
- package/sdk/deployments.js.map +1 -1
- package/src/funcs/annotationsCreate.ts +3 -0
- package/src/funcs/annotationsDelete.ts +3 -0
- package/src/funcs/deploymentsInvoke.ts +4 -4
- package/src/lib/config.ts +3 -3
- package/src/models/components/agentthoughtstreamingevent.ts +43 -55
- package/src/models/components/index.ts +0 -1
- package/src/models/components/modelmetadata.ts +110 -0
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +4 -4
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/createeval.ts +214 -543
- package/src/models/operations/createtool.ts +24 -28
- package/src/models/operations/deploymentgetconfig.ts +1606 -1156
- package/src/models/operations/deploymentinvoke.ts +3763 -317
- package/src/models/operations/deploymentstream.ts +285 -244
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getevals.ts +16 -16
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/index.ts +0 -1
- package/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listdatasources.ts +1 -1
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +4 -4
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievedatasource.ts +1 -1
- package/src/models/operations/retrievetool.ts +6 -6
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updatedatapoint.ts +4 -4
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updateeval.ts +32 -34
- package/src/models/operations/updatetool.ts +7 -7
- package/src/sdk/annotations.ts +6 -0
- package/src/sdk/deployments.ts +1 -8
- package/funcs/deploymentsMetricsCreate.d.ts +0 -19
- package/funcs/deploymentsMetricsCreate.d.ts.map +0 -1
- package/funcs/deploymentsMetricsCreate.js +0 -123
- package/funcs/deploymentsMetricsCreate.js.map +0 -1
- package/models/components/invokedeploymentrequest.d.ts +0 -1573
- package/models/components/invokedeploymentrequest.d.ts.map +0 -1
- package/models/components/invokedeploymentrequest.js +0 -1137
- package/models/components/invokedeploymentrequest.js.map +0 -1
- package/models/operations/deploymentcreatemetric.d.ts +0 -1032
- package/models/operations/deploymentcreatemetric.d.ts.map +0 -1
- package/models/operations/deploymentcreatemetric.js +0 -749
- package/models/operations/deploymentcreatemetric.js.map +0 -1
- package/sdk/metrics.d.ts +0 -14
- package/sdk/metrics.d.ts.map +0 -1
- package/sdk/metrics.js +0 -24
- package/sdk/metrics.js.map +0 -1
- package/src/funcs/deploymentsMetricsCreate.ts +0 -171
- package/src/models/components/invokedeploymentrequest.ts +0 -3457
- package/src/models/operations/deploymentcreatemetric.ts +0 -2370
- package/src/sdk/metrics.ts +0 -29
|
@@ -79,7 +79,7 @@ export type DeploymentStreamPrefixMessagesCacheControl = {
|
|
|
79
79
|
ttl?: DeploymentStreamPrefixMessagesTtl | undefined;
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export type
|
|
82
|
+
export type DeploymentStreamPrefixMessagesToolMessage = {
|
|
83
83
|
/**
|
|
84
84
|
* The role of the messages author, in this case tool.
|
|
85
85
|
*/
|
|
@@ -116,7 +116,7 @@ export type DeploymentStreamPrefixMessagesDeploymentsRequestRequestBodyContent =
|
|
|
116
116
|
/**
|
|
117
117
|
* Data about a previous audio response from the model.
|
|
118
118
|
*/
|
|
119
|
-
export type
|
|
119
|
+
export type DeploymentStreamPrefixMessagesAudio = {
|
|
120
120
|
/**
|
|
121
121
|
* Unique identifier for a previous audio response from the model.
|
|
122
122
|
*/
|
|
@@ -163,7 +163,7 @@ export type DeploymentStreamPrefixMessagesToolCalls = {
|
|
|
163
163
|
thoughtSignature?: string | undefined;
|
|
164
164
|
};
|
|
165
165
|
|
|
166
|
-
export type
|
|
166
|
+
export type DeploymentStreamPrefixMessagesAssistantMessage = {
|
|
167
167
|
/**
|
|
168
168
|
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
169
169
|
*/
|
|
@@ -192,7 +192,7 @@ export type PrefixMessagesAssistantMessage = {
|
|
|
192
192
|
/**
|
|
193
193
|
* Data about a previous audio response from the model.
|
|
194
194
|
*/
|
|
195
|
-
audio?:
|
|
195
|
+
audio?: DeploymentStreamPrefixMessagesAudio | null | undefined;
|
|
196
196
|
/**
|
|
197
197
|
* The tool calls generated by the model, such as function calls.
|
|
198
198
|
*/
|
|
@@ -286,7 +286,7 @@ export type DeploymentStreamPrefixMessagesDeploymentsRequestContent =
|
|
|
286
286
|
| DeploymentStream24
|
|
287
287
|
>;
|
|
288
288
|
|
|
289
|
-
export type
|
|
289
|
+
export type DeploymentStreamPrefixMessagesUserMessage = {
|
|
290
290
|
/**
|
|
291
291
|
* The role of the messages author, in this case `user`.
|
|
292
292
|
*/
|
|
@@ -315,7 +315,7 @@ export type DeploymentStreamPrefixMessagesDeploymentsContent =
|
|
|
315
315
|
| string
|
|
316
316
|
| Array<components.TextContentPartSchema>;
|
|
317
317
|
|
|
318
|
-
export type
|
|
318
|
+
export type DeploymentStreamPrefixMessagesDeveloperMessage = {
|
|
319
319
|
/**
|
|
320
320
|
* The role of the messages author, in this case `developer`.
|
|
321
321
|
*/
|
|
@@ -340,7 +340,7 @@ export type DeploymentStreamPrefixMessagesContent =
|
|
|
340
340
|
/**
|
|
341
341
|
* Developer-provided instructions that the model should follow, regardless of messages sent by the user.
|
|
342
342
|
*/
|
|
343
|
-
export type
|
|
343
|
+
export type DeploymentStreamPrefixMessagesSystemMessage = {
|
|
344
344
|
/**
|
|
345
345
|
* The role of the messages author, in this case `system`.
|
|
346
346
|
*/
|
|
@@ -356,11 +356,11 @@ export type PrefixMessagesSystemMessage = {
|
|
|
356
356
|
};
|
|
357
357
|
|
|
358
358
|
export type DeploymentStreamPrefixMessages =
|
|
359
|
-
|
|
|
360
|
-
|
|
|
361
|
-
|
|
|
362
|
-
|
|
|
363
|
-
|
|
|
359
|
+
| DeploymentStreamPrefixMessagesSystemMessage
|
|
360
|
+
| DeploymentStreamPrefixMessagesDeveloperMessage
|
|
361
|
+
| DeploymentStreamPrefixMessagesUserMessage
|
|
362
|
+
| DeploymentStreamPrefixMessagesAssistantMessage
|
|
363
|
+
| DeploymentStreamPrefixMessagesToolMessage;
|
|
364
364
|
|
|
365
365
|
export type DeploymentStreamContentDeploymentsRequestRequestBodyMessages52 =
|
|
366
366
|
components.TextContentPartSchema;
|
|
@@ -978,7 +978,7 @@ export type DeploymentStreamKnowledgeFilterAnd = {
|
|
|
978
978
|
/**
|
|
979
979
|
* Exists
|
|
980
980
|
*/
|
|
981
|
-
export type
|
|
981
|
+
export type DeploymentStream1Exists = {
|
|
982
982
|
exists: boolean;
|
|
983
983
|
};
|
|
984
984
|
|
|
@@ -1003,28 +1003,28 @@ export type DeploymentStream1In = {
|
|
|
1003
1003
|
/**
|
|
1004
1004
|
* Less than or equal to
|
|
1005
1005
|
*/
|
|
1006
|
-
export type
|
|
1006
|
+
export type DeploymentStream1Lte = {
|
|
1007
1007
|
lte: number;
|
|
1008
1008
|
};
|
|
1009
1009
|
|
|
1010
1010
|
/**
|
|
1011
1011
|
* Less than
|
|
1012
1012
|
*/
|
|
1013
|
-
export type
|
|
1013
|
+
export type DeploymentStream1Lt = {
|
|
1014
1014
|
lt: number;
|
|
1015
1015
|
};
|
|
1016
1016
|
|
|
1017
1017
|
/**
|
|
1018
1018
|
* Greater than or equal to
|
|
1019
1019
|
*/
|
|
1020
|
-
export type
|
|
1020
|
+
export type DeploymentStream1Gte = {
|
|
1021
1021
|
gte: number;
|
|
1022
1022
|
};
|
|
1023
1023
|
|
|
1024
1024
|
/**
|
|
1025
1025
|
* Greater than
|
|
1026
1026
|
*/
|
|
1027
|
-
export type
|
|
1027
|
+
export type DeploymentStream1Gt = {
|
|
1028
1028
|
gt: number;
|
|
1029
1029
|
};
|
|
1030
1030
|
|
|
@@ -1049,13 +1049,13 @@ export type DeploymentStream1Eq = {
|
|
|
1049
1049
|
export type DeploymentStreamKnowledgeFilter1 =
|
|
1050
1050
|
| DeploymentStream1Eq
|
|
1051
1051
|
| DeploymentStream1Ne
|
|
1052
|
-
|
|
|
1053
|
-
|
|
|
1054
|
-
|
|
|
1055
|
-
|
|
|
1052
|
+
| DeploymentStream1Gt
|
|
1053
|
+
| DeploymentStream1Gte
|
|
1054
|
+
| DeploymentStream1Lt
|
|
1055
|
+
| DeploymentStream1Lte
|
|
1056
1056
|
| DeploymentStream1In
|
|
1057
1057
|
| DeploymentStream1Nin
|
|
1058
|
-
|
|
|
1058
|
+
| DeploymentStream1Exists;
|
|
1059
1059
|
|
|
1060
1060
|
/**
|
|
1061
1061
|
* A filter to apply to the knowledge base chunk metadata when using knowledge bases in the deployment.
|
|
@@ -1067,13 +1067,13 @@ export type DeploymentStreamKnowledgeFilter =
|
|
|
1067
1067
|
[k: string]:
|
|
1068
1068
|
| DeploymentStream1Eq
|
|
1069
1069
|
| DeploymentStream1Ne
|
|
1070
|
-
|
|
|
1071
|
-
|
|
|
1072
|
-
|
|
|
1073
|
-
|
|
|
1070
|
+
| DeploymentStream1Gt
|
|
1071
|
+
| DeploymentStream1Gte
|
|
1072
|
+
| DeploymentStream1Lt
|
|
1073
|
+
| DeploymentStream1Lte
|
|
1074
1074
|
| DeploymentStream1In
|
|
1075
1075
|
| DeploymentStream1Nin
|
|
1076
|
-
|
|
|
1076
|
+
| DeploymentStream1Exists;
|
|
1077
1077
|
};
|
|
1078
1078
|
|
|
1079
1079
|
export type DeploymentStreamRequestBody = {
|
|
@@ -1094,11 +1094,11 @@ export type DeploymentStreamRequestBody = {
|
|
|
1094
1094
|
*/
|
|
1095
1095
|
prefixMessages?:
|
|
1096
1096
|
| Array<
|
|
1097
|
-
|
|
|
1098
|
-
|
|
|
1099
|
-
|
|
|
1100
|
-
|
|
|
1101
|
-
|
|
|
1097
|
+
| DeploymentStreamPrefixMessagesSystemMessage
|
|
1098
|
+
| DeploymentStreamPrefixMessagesDeveloperMessage
|
|
1099
|
+
| DeploymentStreamPrefixMessagesUserMessage
|
|
1100
|
+
| DeploymentStreamPrefixMessagesAssistantMessage
|
|
1101
|
+
| DeploymentStreamPrefixMessagesToolMessage
|
|
1102
1102
|
>
|
|
1103
1103
|
| undefined;
|
|
1104
1104
|
/**
|
|
@@ -1145,13 +1145,13 @@ export type DeploymentStreamRequestBody = {
|
|
|
1145
1145
|
[k: string]:
|
|
1146
1146
|
| DeploymentStream1Eq
|
|
1147
1147
|
| DeploymentStream1Ne
|
|
1148
|
-
|
|
|
1149
|
-
|
|
|
1150
|
-
|
|
|
1151
|
-
|
|
|
1148
|
+
| DeploymentStream1Gt
|
|
1149
|
+
| DeploymentStream1Gte
|
|
1150
|
+
| DeploymentStream1Lt
|
|
1151
|
+
| DeploymentStream1Lte
|
|
1152
1152
|
| DeploymentStream1In
|
|
1153
1153
|
| DeploymentStream1Nin
|
|
1154
|
-
|
|
|
1154
|
+
| DeploymentStream1Exists;
|
|
1155
1155
|
}
|
|
1156
1156
|
| undefined;
|
|
1157
1157
|
};
|
|
@@ -1589,7 +1589,7 @@ export function deploymentStreamPrefixMessagesCacheControlToJSON(
|
|
|
1589
1589
|
}
|
|
1590
1590
|
|
|
1591
1591
|
/** @internal */
|
|
1592
|
-
export type
|
|
1592
|
+
export type DeploymentStreamPrefixMessagesToolMessage$Outbound = {
|
|
1593
1593
|
role: "tool";
|
|
1594
1594
|
content: string | Array<components.TextContentPartSchema$Outbound>;
|
|
1595
1595
|
tool_call_id: string | null;
|
|
@@ -1599,32 +1599,36 @@ export type PrefixMessagesToolMessage$Outbound = {
|
|
|
1599
1599
|
};
|
|
1600
1600
|
|
|
1601
1601
|
/** @internal */
|
|
1602
|
-
export const
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
z.
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1602
|
+
export const DeploymentStreamPrefixMessagesToolMessage$outboundSchema:
|
|
1603
|
+
z.ZodType<
|
|
1604
|
+
DeploymentStreamPrefixMessagesToolMessage$Outbound,
|
|
1605
|
+
z.ZodTypeDef,
|
|
1606
|
+
DeploymentStreamPrefixMessagesToolMessage
|
|
1607
|
+
> = z.object({
|
|
1608
|
+
role: z.literal("tool"),
|
|
1609
|
+
content: z.union([
|
|
1610
|
+
z.string(),
|
|
1611
|
+
z.array(components.TextContentPartSchema$outboundSchema),
|
|
1612
|
+
]),
|
|
1613
|
+
toolCallId: z.nullable(z.string()),
|
|
1614
|
+
cacheControl: z.lazy(() =>
|
|
1615
|
+
DeploymentStreamPrefixMessagesCacheControl$outboundSchema
|
|
1616
|
+
).optional(),
|
|
1617
|
+
}).transform((v) => {
|
|
1618
|
+
return remap$(v, {
|
|
1619
|
+
toolCallId: "tool_call_id",
|
|
1620
|
+
cacheControl: "cache_control",
|
|
1621
|
+
});
|
|
1620
1622
|
});
|
|
1621
|
-
});
|
|
1622
1623
|
|
|
1623
|
-
export function
|
|
1624
|
-
|
|
1624
|
+
export function deploymentStreamPrefixMessagesToolMessageToJSON(
|
|
1625
|
+
deploymentStreamPrefixMessagesToolMessage:
|
|
1626
|
+
DeploymentStreamPrefixMessagesToolMessage,
|
|
1625
1627
|
): string {
|
|
1626
1628
|
return JSON.stringify(
|
|
1627
|
-
|
|
1629
|
+
DeploymentStreamPrefixMessagesToolMessage$outboundSchema.parse(
|
|
1630
|
+
deploymentStreamPrefixMessagesToolMessage,
|
|
1631
|
+
),
|
|
1628
1632
|
);
|
|
1629
1633
|
}
|
|
1630
1634
|
|
|
@@ -1702,24 +1706,26 @@ export function deploymentStreamPrefixMessagesDeploymentsRequestRequestBodyConte
|
|
|
1702
1706
|
}
|
|
1703
1707
|
|
|
1704
1708
|
/** @internal */
|
|
1705
|
-
export type
|
|
1709
|
+
export type DeploymentStreamPrefixMessagesAudio$Outbound = {
|
|
1706
1710
|
id: string;
|
|
1707
1711
|
};
|
|
1708
1712
|
|
|
1709
1713
|
/** @internal */
|
|
1710
|
-
export const
|
|
1711
|
-
|
|
1714
|
+
export const DeploymentStreamPrefixMessagesAudio$outboundSchema: z.ZodType<
|
|
1715
|
+
DeploymentStreamPrefixMessagesAudio$Outbound,
|
|
1712
1716
|
z.ZodTypeDef,
|
|
1713
|
-
|
|
1717
|
+
DeploymentStreamPrefixMessagesAudio
|
|
1714
1718
|
> = z.object({
|
|
1715
1719
|
id: z.string(),
|
|
1716
1720
|
});
|
|
1717
1721
|
|
|
1718
|
-
export function
|
|
1719
|
-
|
|
1722
|
+
export function deploymentStreamPrefixMessagesAudioToJSON(
|
|
1723
|
+
deploymentStreamPrefixMessagesAudio: DeploymentStreamPrefixMessagesAudio,
|
|
1720
1724
|
): string {
|
|
1721
1725
|
return JSON.stringify(
|
|
1722
|
-
|
|
1726
|
+
DeploymentStreamPrefixMessagesAudio$outboundSchema.parse(
|
|
1727
|
+
deploymentStreamPrefixMessagesAudio,
|
|
1728
|
+
),
|
|
1723
1729
|
);
|
|
1724
1730
|
}
|
|
1725
1731
|
|
|
@@ -1791,7 +1797,7 @@ export function deploymentStreamPrefixMessagesToolCallsToJSON(
|
|
|
1791
1797
|
}
|
|
1792
1798
|
|
|
1793
1799
|
/** @internal */
|
|
1794
|
-
export type
|
|
1800
|
+
export type DeploymentStreamPrefixMessagesAssistantMessage$Outbound = {
|
|
1795
1801
|
content?:
|
|
1796
1802
|
| string
|
|
1797
1803
|
| Array<
|
|
@@ -1805,53 +1811,56 @@ export type PrefixMessagesAssistantMessage$Outbound = {
|
|
|
1805
1811
|
refusal?: string | null | undefined;
|
|
1806
1812
|
role: "assistant";
|
|
1807
1813
|
name?: string | undefined;
|
|
1808
|
-
audio?:
|
|
1814
|
+
audio?: DeploymentStreamPrefixMessagesAudio$Outbound | null | undefined;
|
|
1809
1815
|
tool_calls?:
|
|
1810
1816
|
| Array<DeploymentStreamPrefixMessagesToolCalls$Outbound>
|
|
1811
1817
|
| undefined;
|
|
1812
1818
|
};
|
|
1813
1819
|
|
|
1814
1820
|
/** @internal */
|
|
1815
|
-
export const
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
z.
|
|
1822
|
-
z.
|
|
1823
|
-
|
|
1824
|
-
z.
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
.
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1821
|
+
export const DeploymentStreamPrefixMessagesAssistantMessage$outboundSchema:
|
|
1822
|
+
z.ZodType<
|
|
1823
|
+
DeploymentStreamPrefixMessagesAssistantMessage$Outbound,
|
|
1824
|
+
z.ZodTypeDef,
|
|
1825
|
+
DeploymentStreamPrefixMessagesAssistantMessage
|
|
1826
|
+
> = z.object({
|
|
1827
|
+
content: z.nullable(
|
|
1828
|
+
z.union([
|
|
1829
|
+
z.string(),
|
|
1830
|
+
z.array(
|
|
1831
|
+
z.union([
|
|
1832
|
+
components.TextContentPartSchema$outboundSchema.and(
|
|
1833
|
+
z.object({ type: z.literal("text") }),
|
|
1834
|
+
),
|
|
1835
|
+
components.RefusalPartSchema$outboundSchema,
|
|
1836
|
+
components.ReasoningPartSchema$outboundSchema,
|
|
1837
|
+
components.RedactedReasoningPartSchema$outboundSchema,
|
|
1838
|
+
]),
|
|
1839
|
+
),
|
|
1840
|
+
]),
|
|
1841
|
+
).optional(),
|
|
1842
|
+
refusal: z.nullable(z.string()).optional(),
|
|
1843
|
+
role: z.literal("assistant"),
|
|
1844
|
+
name: z.string().optional(),
|
|
1845
|
+
audio: z.nullable(
|
|
1846
|
+
z.lazy(() => DeploymentStreamPrefixMessagesAudio$outboundSchema),
|
|
1847
|
+
).optional(),
|
|
1848
|
+
toolCalls: z.array(
|
|
1849
|
+
z.lazy(() => DeploymentStreamPrefixMessagesToolCalls$outboundSchema),
|
|
1850
|
+
).optional(),
|
|
1851
|
+
}).transform((v) => {
|
|
1852
|
+
return remap$(v, {
|
|
1853
|
+
toolCalls: "tool_calls",
|
|
1854
|
+
});
|
|
1846
1855
|
});
|
|
1847
|
-
});
|
|
1848
1856
|
|
|
1849
|
-
export function
|
|
1850
|
-
|
|
1857
|
+
export function deploymentStreamPrefixMessagesAssistantMessageToJSON(
|
|
1858
|
+
deploymentStreamPrefixMessagesAssistantMessage:
|
|
1859
|
+
DeploymentStreamPrefixMessagesAssistantMessage,
|
|
1851
1860
|
): string {
|
|
1852
1861
|
return JSON.stringify(
|
|
1853
|
-
|
|
1854
|
-
|
|
1862
|
+
DeploymentStreamPrefixMessagesAssistantMessage$outboundSchema.parse(
|
|
1863
|
+
deploymentStreamPrefixMessagesAssistantMessage,
|
|
1855
1864
|
),
|
|
1856
1865
|
);
|
|
1857
1866
|
}
|
|
@@ -1993,7 +2002,7 @@ export function deploymentStreamPrefixMessagesDeploymentsRequestContentToJSON(
|
|
|
1993
2002
|
}
|
|
1994
2003
|
|
|
1995
2004
|
/** @internal */
|
|
1996
|
-
export type
|
|
2005
|
+
export type DeploymentStreamPrefixMessagesUserMessage$Outbound = {
|
|
1997
2006
|
role: "user";
|
|
1998
2007
|
name?: string | undefined;
|
|
1999
2008
|
content:
|
|
@@ -2007,33 +2016,37 @@ export type PrefixMessagesUserMessage$Outbound = {
|
|
|
2007
2016
|
};
|
|
2008
2017
|
|
|
2009
2018
|
/** @internal */
|
|
2010
|
-
export const
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
z.
|
|
2019
|
-
|
|
2020
|
-
z.
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2019
|
+
export const DeploymentStreamPrefixMessagesUserMessage$outboundSchema:
|
|
2020
|
+
z.ZodType<
|
|
2021
|
+
DeploymentStreamPrefixMessagesUserMessage$Outbound,
|
|
2022
|
+
z.ZodTypeDef,
|
|
2023
|
+
DeploymentStreamPrefixMessagesUserMessage
|
|
2024
|
+
> = z.object({
|
|
2025
|
+
role: z.literal("user"),
|
|
2026
|
+
name: z.string().optional(),
|
|
2027
|
+
content: z.union([
|
|
2028
|
+
z.string(),
|
|
2029
|
+
z.array(
|
|
2030
|
+
z.union([
|
|
2031
|
+
components.TextContentPartSchema$outboundSchema.and(
|
|
2032
|
+
z.object({ type: z.literal("text") }),
|
|
2033
|
+
),
|
|
2034
|
+
components.ImageContentPartSchema$outboundSchema,
|
|
2035
|
+
components.AudioContentPartSchema$outboundSchema,
|
|
2036
|
+
z.lazy(() => DeploymentStream24$outboundSchema),
|
|
2037
|
+
]),
|
|
2038
|
+
),
|
|
2039
|
+
]),
|
|
2040
|
+
});
|
|
2031
2041
|
|
|
2032
|
-
export function
|
|
2033
|
-
|
|
2042
|
+
export function deploymentStreamPrefixMessagesUserMessageToJSON(
|
|
2043
|
+
deploymentStreamPrefixMessagesUserMessage:
|
|
2044
|
+
DeploymentStreamPrefixMessagesUserMessage,
|
|
2034
2045
|
): string {
|
|
2035
2046
|
return JSON.stringify(
|
|
2036
|
-
|
|
2047
|
+
DeploymentStreamPrefixMessagesUserMessage$outboundSchema.parse(
|
|
2048
|
+
deploymentStreamPrefixMessagesUserMessage,
|
|
2049
|
+
),
|
|
2037
2050
|
);
|
|
2038
2051
|
}
|
|
2039
2052
|
|
|
@@ -2065,32 +2078,34 @@ export function deploymentStreamPrefixMessagesDeploymentsContentToJSON(
|
|
|
2065
2078
|
}
|
|
2066
2079
|
|
|
2067
2080
|
/** @internal */
|
|
2068
|
-
export type
|
|
2081
|
+
export type DeploymentStreamPrefixMessagesDeveloperMessage$Outbound = {
|
|
2069
2082
|
role: "developer";
|
|
2070
2083
|
content: string | Array<components.TextContentPartSchema$Outbound>;
|
|
2071
2084
|
name?: string | undefined;
|
|
2072
2085
|
};
|
|
2073
2086
|
|
|
2074
2087
|
/** @internal */
|
|
2075
|
-
export const
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
z.
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2088
|
+
export const DeploymentStreamPrefixMessagesDeveloperMessage$outboundSchema:
|
|
2089
|
+
z.ZodType<
|
|
2090
|
+
DeploymentStreamPrefixMessagesDeveloperMessage$Outbound,
|
|
2091
|
+
z.ZodTypeDef,
|
|
2092
|
+
DeploymentStreamPrefixMessagesDeveloperMessage
|
|
2093
|
+
> = z.object({
|
|
2094
|
+
role: z.literal("developer"),
|
|
2095
|
+
content: z.union([
|
|
2096
|
+
z.string(),
|
|
2097
|
+
z.array(components.TextContentPartSchema$outboundSchema),
|
|
2098
|
+
]),
|
|
2099
|
+
name: z.string().optional(),
|
|
2100
|
+
});
|
|
2087
2101
|
|
|
2088
|
-
export function
|
|
2089
|
-
|
|
2102
|
+
export function deploymentStreamPrefixMessagesDeveloperMessageToJSON(
|
|
2103
|
+
deploymentStreamPrefixMessagesDeveloperMessage:
|
|
2104
|
+
DeploymentStreamPrefixMessagesDeveloperMessage,
|
|
2090
2105
|
): string {
|
|
2091
2106
|
return JSON.stringify(
|
|
2092
|
-
|
|
2093
|
-
|
|
2107
|
+
DeploymentStreamPrefixMessagesDeveloperMessage$outboundSchema.parse(
|
|
2108
|
+
deploymentStreamPrefixMessagesDeveloperMessage,
|
|
2094
2109
|
),
|
|
2095
2110
|
);
|
|
2096
2111
|
}
|
|
@@ -2121,43 +2136,45 @@ export function deploymentStreamPrefixMessagesContentToJSON(
|
|
|
2121
2136
|
}
|
|
2122
2137
|
|
|
2123
2138
|
/** @internal */
|
|
2124
|
-
export type
|
|
2139
|
+
export type DeploymentStreamPrefixMessagesSystemMessage$Outbound = {
|
|
2125
2140
|
role: "system";
|
|
2126
2141
|
content: string | Array<components.TextContentPartSchema$Outbound>;
|
|
2127
2142
|
name?: string | undefined;
|
|
2128
2143
|
};
|
|
2129
2144
|
|
|
2130
2145
|
/** @internal */
|
|
2131
|
-
export const
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
z.
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2146
|
+
export const DeploymentStreamPrefixMessagesSystemMessage$outboundSchema:
|
|
2147
|
+
z.ZodType<
|
|
2148
|
+
DeploymentStreamPrefixMessagesSystemMessage$Outbound,
|
|
2149
|
+
z.ZodTypeDef,
|
|
2150
|
+
DeploymentStreamPrefixMessagesSystemMessage
|
|
2151
|
+
> = z.object({
|
|
2152
|
+
role: z.literal("system"),
|
|
2153
|
+
content: z.union([
|
|
2154
|
+
z.string(),
|
|
2155
|
+
z.array(components.TextContentPartSchema$outboundSchema),
|
|
2156
|
+
]),
|
|
2157
|
+
name: z.string().optional(),
|
|
2158
|
+
});
|
|
2143
2159
|
|
|
2144
|
-
export function
|
|
2145
|
-
|
|
2160
|
+
export function deploymentStreamPrefixMessagesSystemMessageToJSON(
|
|
2161
|
+
deploymentStreamPrefixMessagesSystemMessage:
|
|
2162
|
+
DeploymentStreamPrefixMessagesSystemMessage,
|
|
2146
2163
|
): string {
|
|
2147
2164
|
return JSON.stringify(
|
|
2148
|
-
|
|
2149
|
-
|
|
2165
|
+
DeploymentStreamPrefixMessagesSystemMessage$outboundSchema.parse(
|
|
2166
|
+
deploymentStreamPrefixMessagesSystemMessage,
|
|
2150
2167
|
),
|
|
2151
2168
|
);
|
|
2152
2169
|
}
|
|
2153
2170
|
|
|
2154
2171
|
/** @internal */
|
|
2155
2172
|
export type DeploymentStreamPrefixMessages$Outbound =
|
|
2156
|
-
|
|
|
2157
|
-
|
|
|
2158
|
-
|
|
|
2159
|
-
|
|
|
2160
|
-
|
|
|
2173
|
+
| DeploymentStreamPrefixMessagesSystemMessage$Outbound
|
|
2174
|
+
| DeploymentStreamPrefixMessagesDeveloperMessage$Outbound
|
|
2175
|
+
| DeploymentStreamPrefixMessagesUserMessage$Outbound
|
|
2176
|
+
| DeploymentStreamPrefixMessagesAssistantMessage$Outbound
|
|
2177
|
+
| DeploymentStreamPrefixMessagesToolMessage$Outbound;
|
|
2161
2178
|
|
|
2162
2179
|
/** @internal */
|
|
2163
2180
|
export const DeploymentStreamPrefixMessages$outboundSchema: z.ZodType<
|
|
@@ -2165,11 +2182,11 @@ export const DeploymentStreamPrefixMessages$outboundSchema: z.ZodType<
|
|
|
2165
2182
|
z.ZodTypeDef,
|
|
2166
2183
|
DeploymentStreamPrefixMessages
|
|
2167
2184
|
> = z.union([
|
|
2168
|
-
z.lazy(() =>
|
|
2169
|
-
z.lazy(() =>
|
|
2170
|
-
z.lazy(() =>
|
|
2171
|
-
z.lazy(() =>
|
|
2172
|
-
z.lazy(() =>
|
|
2185
|
+
z.lazy(() => DeploymentStreamPrefixMessagesSystemMessage$outboundSchema),
|
|
2186
|
+
z.lazy(() => DeploymentStreamPrefixMessagesDeveloperMessage$outboundSchema),
|
|
2187
|
+
z.lazy(() => DeploymentStreamPrefixMessagesUserMessage$outboundSchema),
|
|
2188
|
+
z.lazy(() => DeploymentStreamPrefixMessagesAssistantMessage$outboundSchema),
|
|
2189
|
+
z.lazy(() => DeploymentStreamPrefixMessagesToolMessage$outboundSchema),
|
|
2173
2190
|
]);
|
|
2174
2191
|
|
|
2175
2192
|
export function deploymentStreamPrefixMessagesToJSON(
|
|
@@ -3747,21 +3764,25 @@ export function deploymentStreamKnowledgeFilterAndToJSON(
|
|
|
3747
3764
|
}
|
|
3748
3765
|
|
|
3749
3766
|
/** @internal */
|
|
3750
|
-
export type
|
|
3767
|
+
export type DeploymentStream1Exists$Outbound = {
|
|
3751
3768
|
exists: boolean;
|
|
3752
3769
|
};
|
|
3753
3770
|
|
|
3754
3771
|
/** @internal */
|
|
3755
|
-
export const
|
|
3756
|
-
|
|
3772
|
+
export const DeploymentStream1Exists$outboundSchema: z.ZodType<
|
|
3773
|
+
DeploymentStream1Exists$Outbound,
|
|
3757
3774
|
z.ZodTypeDef,
|
|
3758
|
-
|
|
3775
|
+
DeploymentStream1Exists
|
|
3759
3776
|
> = z.object({
|
|
3760
3777
|
exists: z.boolean(),
|
|
3761
3778
|
});
|
|
3762
3779
|
|
|
3763
|
-
export function
|
|
3764
|
-
|
|
3780
|
+
export function deploymentStream1ExistsToJSON(
|
|
3781
|
+
deploymentStream1Exists: DeploymentStream1Exists,
|
|
3782
|
+
): string {
|
|
3783
|
+
return JSON.stringify(
|
|
3784
|
+
DeploymentStream1Exists$outboundSchema.parse(deploymentStream1Exists),
|
|
3785
|
+
);
|
|
3765
3786
|
}
|
|
3766
3787
|
|
|
3767
3788
|
/** @internal */
|
|
@@ -3852,75 +3873,91 @@ export function deploymentStream1InToJSON(
|
|
|
3852
3873
|
}
|
|
3853
3874
|
|
|
3854
3875
|
/** @internal */
|
|
3855
|
-
export type
|
|
3876
|
+
export type DeploymentStream1Lte$Outbound = {
|
|
3856
3877
|
lte: number;
|
|
3857
3878
|
};
|
|
3858
3879
|
|
|
3859
3880
|
/** @internal */
|
|
3860
|
-
export const
|
|
3861
|
-
|
|
3881
|
+
export const DeploymentStream1Lte$outboundSchema: z.ZodType<
|
|
3882
|
+
DeploymentStream1Lte$Outbound,
|
|
3862
3883
|
z.ZodTypeDef,
|
|
3863
|
-
|
|
3884
|
+
DeploymentStream1Lte
|
|
3864
3885
|
> = z.object({
|
|
3865
3886
|
lte: z.number(),
|
|
3866
3887
|
});
|
|
3867
3888
|
|
|
3868
|
-
export function
|
|
3869
|
-
|
|
3889
|
+
export function deploymentStream1LteToJSON(
|
|
3890
|
+
deploymentStream1Lte: DeploymentStream1Lte,
|
|
3891
|
+
): string {
|
|
3892
|
+
return JSON.stringify(
|
|
3893
|
+
DeploymentStream1Lte$outboundSchema.parse(deploymentStream1Lte),
|
|
3894
|
+
);
|
|
3870
3895
|
}
|
|
3871
3896
|
|
|
3872
3897
|
/** @internal */
|
|
3873
|
-
export type
|
|
3898
|
+
export type DeploymentStream1Lt$Outbound = {
|
|
3874
3899
|
lt: number;
|
|
3875
3900
|
};
|
|
3876
3901
|
|
|
3877
3902
|
/** @internal */
|
|
3878
|
-
export const
|
|
3879
|
-
|
|
3903
|
+
export const DeploymentStream1Lt$outboundSchema: z.ZodType<
|
|
3904
|
+
DeploymentStream1Lt$Outbound,
|
|
3880
3905
|
z.ZodTypeDef,
|
|
3881
|
-
|
|
3906
|
+
DeploymentStream1Lt
|
|
3882
3907
|
> = z.object({
|
|
3883
3908
|
lt: z.number(),
|
|
3884
3909
|
});
|
|
3885
3910
|
|
|
3886
|
-
export function
|
|
3887
|
-
|
|
3911
|
+
export function deploymentStream1LtToJSON(
|
|
3912
|
+
deploymentStream1Lt: DeploymentStream1Lt,
|
|
3913
|
+
): string {
|
|
3914
|
+
return JSON.stringify(
|
|
3915
|
+
DeploymentStream1Lt$outboundSchema.parse(deploymentStream1Lt),
|
|
3916
|
+
);
|
|
3888
3917
|
}
|
|
3889
3918
|
|
|
3890
3919
|
/** @internal */
|
|
3891
|
-
export type
|
|
3920
|
+
export type DeploymentStream1Gte$Outbound = {
|
|
3892
3921
|
gte: number;
|
|
3893
3922
|
};
|
|
3894
3923
|
|
|
3895
3924
|
/** @internal */
|
|
3896
|
-
export const
|
|
3897
|
-
|
|
3925
|
+
export const DeploymentStream1Gte$outboundSchema: z.ZodType<
|
|
3926
|
+
DeploymentStream1Gte$Outbound,
|
|
3898
3927
|
z.ZodTypeDef,
|
|
3899
|
-
|
|
3928
|
+
DeploymentStream1Gte
|
|
3900
3929
|
> = z.object({
|
|
3901
3930
|
gte: z.number(),
|
|
3902
3931
|
});
|
|
3903
3932
|
|
|
3904
|
-
export function
|
|
3905
|
-
|
|
3933
|
+
export function deploymentStream1GteToJSON(
|
|
3934
|
+
deploymentStream1Gte: DeploymentStream1Gte,
|
|
3935
|
+
): string {
|
|
3936
|
+
return JSON.stringify(
|
|
3937
|
+
DeploymentStream1Gte$outboundSchema.parse(deploymentStream1Gte),
|
|
3938
|
+
);
|
|
3906
3939
|
}
|
|
3907
3940
|
|
|
3908
3941
|
/** @internal */
|
|
3909
|
-
export type
|
|
3942
|
+
export type DeploymentStream1Gt$Outbound = {
|
|
3910
3943
|
gt: number;
|
|
3911
3944
|
};
|
|
3912
3945
|
|
|
3913
3946
|
/** @internal */
|
|
3914
|
-
export const
|
|
3915
|
-
|
|
3947
|
+
export const DeploymentStream1Gt$outboundSchema: z.ZodType<
|
|
3948
|
+
DeploymentStream1Gt$Outbound,
|
|
3916
3949
|
z.ZodTypeDef,
|
|
3917
|
-
|
|
3950
|
+
DeploymentStream1Gt
|
|
3918
3951
|
> = z.object({
|
|
3919
3952
|
gt: z.number(),
|
|
3920
3953
|
});
|
|
3921
3954
|
|
|
3922
|
-
export function
|
|
3923
|
-
|
|
3955
|
+
export function deploymentStream1GtToJSON(
|
|
3956
|
+
deploymentStream1Gt: DeploymentStream1Gt,
|
|
3957
|
+
): string {
|
|
3958
|
+
return JSON.stringify(
|
|
3959
|
+
DeploymentStream1Gt$outboundSchema.parse(deploymentStream1Gt),
|
|
3960
|
+
);
|
|
3924
3961
|
}
|
|
3925
3962
|
|
|
3926
3963
|
/** @internal */
|
|
@@ -4011,13 +4048,13 @@ export function deploymentStream1EqToJSON(
|
|
|
4011
4048
|
export type DeploymentStreamKnowledgeFilter1$Outbound =
|
|
4012
4049
|
| DeploymentStream1Eq$Outbound
|
|
4013
4050
|
| DeploymentStream1Ne$Outbound
|
|
4014
|
-
|
|
|
4015
|
-
|
|
|
4016
|
-
|
|
|
4017
|
-
|
|
|
4051
|
+
| DeploymentStream1Gt$Outbound
|
|
4052
|
+
| DeploymentStream1Gte$Outbound
|
|
4053
|
+
| DeploymentStream1Lt$Outbound
|
|
4054
|
+
| DeploymentStream1Lte$Outbound
|
|
4018
4055
|
| DeploymentStream1In$Outbound
|
|
4019
4056
|
| DeploymentStream1Nin$Outbound
|
|
4020
|
-
|
|
|
4057
|
+
| DeploymentStream1Exists$Outbound;
|
|
4021
4058
|
|
|
4022
4059
|
/** @internal */
|
|
4023
4060
|
export const DeploymentStreamKnowledgeFilter1$outboundSchema: z.ZodType<
|
|
@@ -4027,13 +4064,13 @@ export const DeploymentStreamKnowledgeFilter1$outboundSchema: z.ZodType<
|
|
|
4027
4064
|
> = z.union([
|
|
4028
4065
|
z.lazy(() => DeploymentStream1Eq$outboundSchema),
|
|
4029
4066
|
z.lazy(() => DeploymentStream1Ne$outboundSchema),
|
|
4030
|
-
z.lazy(() =>
|
|
4031
|
-
z.lazy(() =>
|
|
4032
|
-
z.lazy(() =>
|
|
4033
|
-
z.lazy(() =>
|
|
4067
|
+
z.lazy(() => DeploymentStream1Gt$outboundSchema),
|
|
4068
|
+
z.lazy(() => DeploymentStream1Gte$outboundSchema),
|
|
4069
|
+
z.lazy(() => DeploymentStream1Lt$outboundSchema),
|
|
4070
|
+
z.lazy(() => DeploymentStream1Lte$outboundSchema),
|
|
4034
4071
|
z.lazy(() => DeploymentStream1In$outboundSchema),
|
|
4035
4072
|
z.lazy(() => DeploymentStream1Nin$outboundSchema),
|
|
4036
|
-
z.lazy(() =>
|
|
4073
|
+
z.lazy(() => DeploymentStream1Exists$outboundSchema),
|
|
4037
4074
|
]);
|
|
4038
4075
|
|
|
4039
4076
|
export function deploymentStreamKnowledgeFilter1ToJSON(
|
|
@@ -4054,13 +4091,13 @@ export type DeploymentStreamKnowledgeFilter$Outbound =
|
|
|
4054
4091
|
[k: string]:
|
|
4055
4092
|
| DeploymentStream1Eq$Outbound
|
|
4056
4093
|
| DeploymentStream1Ne$Outbound
|
|
4057
|
-
|
|
|
4058
|
-
|
|
|
4059
|
-
|
|
|
4060
|
-
|
|
|
4094
|
+
| DeploymentStream1Gt$Outbound
|
|
4095
|
+
| DeploymentStream1Gte$Outbound
|
|
4096
|
+
| DeploymentStream1Lt$Outbound
|
|
4097
|
+
| DeploymentStream1Lte$Outbound
|
|
4061
4098
|
| DeploymentStream1In$Outbound
|
|
4062
4099
|
| DeploymentStream1Nin$Outbound
|
|
4063
|
-
|
|
|
4100
|
+
| DeploymentStream1Exists$Outbound;
|
|
4064
4101
|
};
|
|
4065
4102
|
|
|
4066
4103
|
/** @internal */
|
|
@@ -4074,13 +4111,13 @@ export const DeploymentStreamKnowledgeFilter$outboundSchema: z.ZodType<
|
|
|
4074
4111
|
z.record(z.union([
|
|
4075
4112
|
z.lazy(() => DeploymentStream1Eq$outboundSchema),
|
|
4076
4113
|
z.lazy(() => DeploymentStream1Ne$outboundSchema),
|
|
4077
|
-
z.lazy(() =>
|
|
4078
|
-
z.lazy(() =>
|
|
4079
|
-
z.lazy(() =>
|
|
4080
|
-
z.lazy(() =>
|
|
4114
|
+
z.lazy(() => DeploymentStream1Gt$outboundSchema),
|
|
4115
|
+
z.lazy(() => DeploymentStream1Gte$outboundSchema),
|
|
4116
|
+
z.lazy(() => DeploymentStream1Lt$outboundSchema),
|
|
4117
|
+
z.lazy(() => DeploymentStream1Lte$outboundSchema),
|
|
4081
4118
|
z.lazy(() => DeploymentStream1In$outboundSchema),
|
|
4082
4119
|
z.lazy(() => DeploymentStream1Nin$outboundSchema),
|
|
4083
|
-
z.lazy(() =>
|
|
4120
|
+
z.lazy(() => DeploymentStream1Exists$outboundSchema),
|
|
4084
4121
|
])),
|
|
4085
4122
|
]);
|
|
4086
4123
|
|
|
@@ -4101,11 +4138,11 @@ export type DeploymentStreamRequestBody$Outbound = {
|
|
|
4101
4138
|
context?: { [k: string]: any } | undefined;
|
|
4102
4139
|
prefix_messages?:
|
|
4103
4140
|
| Array<
|
|
4104
|
-
|
|
|
4105
|
-
|
|
|
4106
|
-
|
|
|
4107
|
-
|
|
|
4108
|
-
|
|
|
4141
|
+
| DeploymentStreamPrefixMessagesSystemMessage$Outbound
|
|
4142
|
+
| DeploymentStreamPrefixMessagesDeveloperMessage$Outbound
|
|
4143
|
+
| DeploymentStreamPrefixMessagesUserMessage$Outbound
|
|
4144
|
+
| DeploymentStreamPrefixMessagesAssistantMessage$Outbound
|
|
4145
|
+
| DeploymentStreamPrefixMessagesToolMessage$Outbound
|
|
4109
4146
|
>
|
|
4110
4147
|
| undefined;
|
|
4111
4148
|
messages?:
|
|
@@ -4131,13 +4168,13 @@ export type DeploymentStreamRequestBody$Outbound = {
|
|
|
4131
4168
|
[k: string]:
|
|
4132
4169
|
| DeploymentStream1Eq$Outbound
|
|
4133
4170
|
| DeploymentStream1Ne$Outbound
|
|
4134
|
-
|
|
|
4135
|
-
|
|
|
4136
|
-
|
|
|
4137
|
-
|
|
|
4171
|
+
| DeploymentStream1Gt$Outbound
|
|
4172
|
+
| DeploymentStream1Gte$Outbound
|
|
4173
|
+
| DeploymentStream1Lt$Outbound
|
|
4174
|
+
| DeploymentStream1Lte$Outbound
|
|
4138
4175
|
| DeploymentStream1In$Outbound
|
|
4139
4176
|
| DeploymentStream1Nin$Outbound
|
|
4140
|
-
|
|
|
4177
|
+
| DeploymentStream1Exists$Outbound;
|
|
4141
4178
|
}
|
|
4142
4179
|
| undefined;
|
|
4143
4180
|
};
|
|
@@ -4153,11 +4190,15 @@ export const DeploymentStreamRequestBody$outboundSchema: z.ZodType<
|
|
|
4153
4190
|
context: z.record(z.any()).optional(),
|
|
4154
4191
|
prefixMessages: z.array(
|
|
4155
4192
|
z.union([
|
|
4156
|
-
z.lazy(() =>
|
|
4157
|
-
z.lazy(() =>
|
|
4158
|
-
|
|
4159
|
-
|
|
4160
|
-
z.lazy(() =>
|
|
4193
|
+
z.lazy(() => DeploymentStreamPrefixMessagesSystemMessage$outboundSchema),
|
|
4194
|
+
z.lazy(() =>
|
|
4195
|
+
DeploymentStreamPrefixMessagesDeveloperMessage$outboundSchema
|
|
4196
|
+
),
|
|
4197
|
+
z.lazy(() => DeploymentStreamPrefixMessagesUserMessage$outboundSchema),
|
|
4198
|
+
z.lazy(() =>
|
|
4199
|
+
DeploymentStreamPrefixMessagesAssistantMessage$outboundSchema
|
|
4200
|
+
),
|
|
4201
|
+
z.lazy(() => DeploymentStreamPrefixMessagesToolMessage$outboundSchema),
|
|
4161
4202
|
]),
|
|
4162
4203
|
).optional(),
|
|
4163
4204
|
messages: z.array(
|
|
@@ -4185,13 +4226,13 @@ export const DeploymentStreamRequestBody$outboundSchema: z.ZodType<
|
|
|
4185
4226
|
z.union([
|
|
4186
4227
|
z.lazy(() => DeploymentStream1Eq$outboundSchema),
|
|
4187
4228
|
z.lazy(() => DeploymentStream1Ne$outboundSchema),
|
|
4188
|
-
z.lazy(() =>
|
|
4189
|
-
z.lazy(() =>
|
|
4190
|
-
z.lazy(() =>
|
|
4191
|
-
z.lazy(() =>
|
|
4229
|
+
z.lazy(() => DeploymentStream1Gt$outboundSchema),
|
|
4230
|
+
z.lazy(() => DeploymentStream1Gte$outboundSchema),
|
|
4231
|
+
z.lazy(() => DeploymentStream1Lt$outboundSchema),
|
|
4232
|
+
z.lazy(() => DeploymentStream1Lte$outboundSchema),
|
|
4192
4233
|
z.lazy(() => DeploymentStream1In$outboundSchema),
|
|
4193
4234
|
z.lazy(() => DeploymentStream1Nin$outboundSchema),
|
|
4194
|
-
z.lazy(() =>
|
|
4235
|
+
z.lazy(() => DeploymentStream1Exists$outboundSchema),
|
|
4195
4236
|
]),
|
|
4196
4237
|
),
|
|
4197
4238
|
]).optional(),
|