@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.
Files changed (149) hide show
  1. package/README.md +36 -41
  2. package/funcs/annotationsCreate.d.ts +3 -0
  3. package/funcs/annotationsCreate.d.ts.map +1 -1
  4. package/funcs/annotationsCreate.js +3 -0
  5. package/funcs/annotationsCreate.js.map +1 -1
  6. package/funcs/annotationsDelete.d.ts +3 -0
  7. package/funcs/annotationsDelete.d.ts.map +1 -1
  8. package/funcs/annotationsDelete.js +3 -0
  9. package/funcs/annotationsDelete.js.map +1 -1
  10. package/funcs/deploymentsInvoke.d.ts +1 -2
  11. package/funcs/deploymentsInvoke.d.ts.map +1 -1
  12. package/funcs/deploymentsInvoke.js +1 -2
  13. package/funcs/deploymentsInvoke.js.map +1 -1
  14. package/jsr.json +1 -1
  15. package/lib/config.d.ts +3 -3
  16. package/lib/config.js +3 -3
  17. package/models/components/agentthoughtstreamingevent.d.ts +12 -12
  18. package/models/components/agentthoughtstreamingevent.d.ts.map +1 -1
  19. package/models/components/agentthoughtstreamingevent.js +17 -17
  20. package/models/components/agentthoughtstreamingevent.js.map +1 -1
  21. package/models/components/index.d.ts +0 -1
  22. package/models/components/index.d.ts.map +1 -1
  23. package/models/components/index.js +0 -1
  24. package/models/components/index.js.map +1 -1
  25. package/models/components/modelmetadata.d.ts +38 -0
  26. package/models/components/modelmetadata.d.ts.map +1 -1
  27. package/models/components/modelmetadata.js +72 -0
  28. package/models/components/modelmetadata.js.map +1 -1
  29. package/models/components/reasoningpart.js +1 -1
  30. package/models/operations/createdataset.js +1 -1
  31. package/models/operations/createdatasetitem.js +4 -4
  32. package/models/operations/createdatasource.js +1 -1
  33. package/models/operations/createeval.d.ts +67 -210
  34. package/models/operations/createeval.d.ts.map +1 -1
  35. package/models/operations/createeval.js +84 -201
  36. package/models/operations/createeval.js.map +1 -1
  37. package/models/operations/createtool.d.ts +10 -10
  38. package/models/operations/createtool.d.ts.map +1 -1
  39. package/models/operations/createtool.js +15 -15
  40. package/models/operations/createtool.js.map +1 -1
  41. package/models/operations/deploymentgetconfig.d.ts +440 -440
  42. package/models/operations/deploymentgetconfig.d.ts.map +1 -1
  43. package/models/operations/deploymentgetconfig.js +479 -484
  44. package/models/operations/deploymentgetconfig.js.map +1 -1
  45. package/models/operations/deploymentinvoke.d.ts +1568 -8
  46. package/models/operations/deploymentinvoke.d.ts.map +1 -1
  47. package/models/operations/deploymentinvoke.js +1137 -12
  48. package/models/operations/deploymentinvoke.js.map +1 -1
  49. package/models/operations/deploymentstream.d.ts +56 -56
  50. package/models/operations/deploymentstream.d.ts.map +1 -1
  51. package/models/operations/deploymentstream.js +72 -73
  52. package/models/operations/deploymentstream.js.map +1 -1
  53. package/models/operations/getalltools.js +6 -6
  54. package/models/operations/getevals.js +16 -16
  55. package/models/operations/getv2humanevalsets.js +2 -2
  56. package/models/operations/getv2humanevalsetsid.js +2 -2
  57. package/models/operations/index.d.ts +0 -1
  58. package/models/operations/index.d.ts.map +1 -1
  59. package/models/operations/index.js +0 -1
  60. package/models/operations/index.js.map +1 -1
  61. package/models/operations/listdatasetdatapoints.js +4 -4
  62. package/models/operations/listdatasets.js +1 -1
  63. package/models/operations/listdatasources.js +1 -1
  64. package/models/operations/patchv2humanevalsetsid.js +2 -2
  65. package/models/operations/postv2feedbackevaluation.js +3 -3
  66. package/models/operations/postv2humanevalsets.js +2 -2
  67. package/models/operations/retrievedatapoint.js +4 -4
  68. package/models/operations/retrievedataset.js +1 -1
  69. package/models/operations/retrievedatasource.js +1 -1
  70. package/models/operations/retrievetool.js +6 -6
  71. package/models/operations/runagent.js +1 -1
  72. package/models/operations/streamrunagent.js +1 -1
  73. package/models/operations/updatedatapoint.js +4 -4
  74. package/models/operations/updatedataset.js +1 -1
  75. package/models/operations/updatedatasource.js +1 -1
  76. package/models/operations/updateeval.d.ts +8 -8
  77. package/models/operations/updateeval.d.ts.map +1 -1
  78. package/models/operations/updateeval.js +26 -26
  79. package/models/operations/updateeval.js.map +1 -1
  80. package/models/operations/updatetool.js +7 -7
  81. package/package.json +5 -5
  82. package/sdk/annotations.d.ts +6 -0
  83. package/sdk/annotations.d.ts.map +1 -1
  84. package/sdk/annotations.js +6 -0
  85. package/sdk/annotations.js.map +1 -1
  86. package/sdk/deployments.d.ts +1 -5
  87. package/sdk/deployments.d.ts.map +1 -1
  88. package/sdk/deployments.js +0 -4
  89. package/sdk/deployments.js.map +1 -1
  90. package/src/funcs/annotationsCreate.ts +3 -0
  91. package/src/funcs/annotationsDelete.ts +3 -0
  92. package/src/funcs/deploymentsInvoke.ts +4 -4
  93. package/src/lib/config.ts +3 -3
  94. package/src/models/components/agentthoughtstreamingevent.ts +43 -55
  95. package/src/models/components/index.ts +0 -1
  96. package/src/models/components/modelmetadata.ts +110 -0
  97. package/src/models/components/reasoningpart.ts +1 -1
  98. package/src/models/operations/createdataset.ts +1 -1
  99. package/src/models/operations/createdatasetitem.ts +4 -4
  100. package/src/models/operations/createdatasource.ts +1 -1
  101. package/src/models/operations/createeval.ts +214 -543
  102. package/src/models/operations/createtool.ts +24 -28
  103. package/src/models/operations/deploymentgetconfig.ts +1606 -1156
  104. package/src/models/operations/deploymentinvoke.ts +3763 -317
  105. package/src/models/operations/deploymentstream.ts +285 -244
  106. package/src/models/operations/getalltools.ts +6 -6
  107. package/src/models/operations/getevals.ts +16 -16
  108. package/src/models/operations/getv2humanevalsets.ts +2 -2
  109. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  110. package/src/models/operations/index.ts +0 -1
  111. package/src/models/operations/listdatasetdatapoints.ts +4 -4
  112. package/src/models/operations/listdatasets.ts +1 -1
  113. package/src/models/operations/listdatasources.ts +1 -1
  114. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  115. package/src/models/operations/postv2feedbackevaluation.ts +3 -3
  116. package/src/models/operations/postv2humanevalsets.ts +2 -2
  117. package/src/models/operations/retrievedatapoint.ts +4 -4
  118. package/src/models/operations/retrievedataset.ts +1 -1
  119. package/src/models/operations/retrievedatasource.ts +1 -1
  120. package/src/models/operations/retrievetool.ts +6 -6
  121. package/src/models/operations/runagent.ts +1 -1
  122. package/src/models/operations/streamrunagent.ts +1 -1
  123. package/src/models/operations/updatedatapoint.ts +4 -4
  124. package/src/models/operations/updatedataset.ts +1 -1
  125. package/src/models/operations/updatedatasource.ts +1 -1
  126. package/src/models/operations/updateeval.ts +32 -34
  127. package/src/models/operations/updatetool.ts +7 -7
  128. package/src/sdk/annotations.ts +6 -0
  129. package/src/sdk/deployments.ts +1 -8
  130. package/funcs/deploymentsMetricsCreate.d.ts +0 -19
  131. package/funcs/deploymentsMetricsCreate.d.ts.map +0 -1
  132. package/funcs/deploymentsMetricsCreate.js +0 -123
  133. package/funcs/deploymentsMetricsCreate.js.map +0 -1
  134. package/models/components/invokedeploymentrequest.d.ts +0 -1573
  135. package/models/components/invokedeploymentrequest.d.ts.map +0 -1
  136. package/models/components/invokedeploymentrequest.js +0 -1137
  137. package/models/components/invokedeploymentrequest.js.map +0 -1
  138. package/models/operations/deploymentcreatemetric.d.ts +0 -1032
  139. package/models/operations/deploymentcreatemetric.d.ts.map +0 -1
  140. package/models/operations/deploymentcreatemetric.js +0 -749
  141. package/models/operations/deploymentcreatemetric.js.map +0 -1
  142. package/sdk/metrics.d.ts +0 -14
  143. package/sdk/metrics.d.ts.map +0 -1
  144. package/sdk/metrics.js +0 -24
  145. package/sdk/metrics.js.map +0 -1
  146. package/src/funcs/deploymentsMetricsCreate.ts +0 -171
  147. package/src/models/components/invokedeploymentrequest.ts +0 -3457
  148. package/src/models/operations/deploymentcreatemetric.ts +0 -2370
  149. 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 PrefixMessagesToolMessage = {
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 PrefixMessagesAudio = {
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 PrefixMessagesAssistantMessage = {
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?: PrefixMessagesAudio | null | undefined;
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 PrefixMessagesUserMessage = {
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 PrefixMessagesDeveloperMessage = {
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 PrefixMessagesSystemMessage = {
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
- | PrefixMessagesSystemMessage
360
- | PrefixMessagesDeveloperMessage
361
- | PrefixMessagesUserMessage
362
- | PrefixMessagesAssistantMessage
363
- | PrefixMessagesToolMessage;
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 OneExists = {
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 OneLte = {
1006
+ export type DeploymentStream1Lte = {
1007
1007
  lte: number;
1008
1008
  };
1009
1009
 
1010
1010
  /**
1011
1011
  * Less than
1012
1012
  */
1013
- export type OneLt = {
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 OneGte = {
1020
+ export type DeploymentStream1Gte = {
1021
1021
  gte: number;
1022
1022
  };
1023
1023
 
1024
1024
  /**
1025
1025
  * Greater than
1026
1026
  */
1027
- export type OneGt = {
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
- | OneGt
1053
- | OneGte
1054
- | OneLt
1055
- | OneLte
1052
+ | DeploymentStream1Gt
1053
+ | DeploymentStream1Gte
1054
+ | DeploymentStream1Lt
1055
+ | DeploymentStream1Lte
1056
1056
  | DeploymentStream1In
1057
1057
  | DeploymentStream1Nin
1058
- | OneExists;
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
- | OneGt
1071
- | OneGte
1072
- | OneLt
1073
- | OneLte
1070
+ | DeploymentStream1Gt
1071
+ | DeploymentStream1Gte
1072
+ | DeploymentStream1Lt
1073
+ | DeploymentStream1Lte
1074
1074
  | DeploymentStream1In
1075
1075
  | DeploymentStream1Nin
1076
- | OneExists;
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
- | PrefixMessagesSystemMessage
1098
- | PrefixMessagesDeveloperMessage
1099
- | PrefixMessagesUserMessage
1100
- | PrefixMessagesAssistantMessage
1101
- | PrefixMessagesToolMessage
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
- | OneGt
1149
- | OneGte
1150
- | OneLt
1151
- | OneLte
1148
+ | DeploymentStream1Gt
1149
+ | DeploymentStream1Gte
1150
+ | DeploymentStream1Lt
1151
+ | DeploymentStream1Lte
1152
1152
  | DeploymentStream1In
1153
1153
  | DeploymentStream1Nin
1154
- | OneExists;
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 PrefixMessagesToolMessage$Outbound = {
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 PrefixMessagesToolMessage$outboundSchema: z.ZodType<
1603
- PrefixMessagesToolMessage$Outbound,
1604
- z.ZodTypeDef,
1605
- PrefixMessagesToolMessage
1606
- > = z.object({
1607
- role: z.literal("tool"),
1608
- content: z.union([
1609
- z.string(),
1610
- z.array(components.TextContentPartSchema$outboundSchema),
1611
- ]),
1612
- toolCallId: z.nullable(z.string()),
1613
- cacheControl: z.lazy(() =>
1614
- DeploymentStreamPrefixMessagesCacheControl$outboundSchema
1615
- ).optional(),
1616
- }).transform((v) => {
1617
- return remap$(v, {
1618
- toolCallId: "tool_call_id",
1619
- cacheControl: "cache_control",
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 prefixMessagesToolMessageToJSON(
1624
- prefixMessagesToolMessage: PrefixMessagesToolMessage,
1624
+ export function deploymentStreamPrefixMessagesToolMessageToJSON(
1625
+ deploymentStreamPrefixMessagesToolMessage:
1626
+ DeploymentStreamPrefixMessagesToolMessage,
1625
1627
  ): string {
1626
1628
  return JSON.stringify(
1627
- PrefixMessagesToolMessage$outboundSchema.parse(prefixMessagesToolMessage),
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 PrefixMessagesAudio$Outbound = {
1709
+ export type DeploymentStreamPrefixMessagesAudio$Outbound = {
1706
1710
  id: string;
1707
1711
  };
1708
1712
 
1709
1713
  /** @internal */
1710
- export const PrefixMessagesAudio$outboundSchema: z.ZodType<
1711
- PrefixMessagesAudio$Outbound,
1714
+ export const DeploymentStreamPrefixMessagesAudio$outboundSchema: z.ZodType<
1715
+ DeploymentStreamPrefixMessagesAudio$Outbound,
1712
1716
  z.ZodTypeDef,
1713
- PrefixMessagesAudio
1717
+ DeploymentStreamPrefixMessagesAudio
1714
1718
  > = z.object({
1715
1719
  id: z.string(),
1716
1720
  });
1717
1721
 
1718
- export function prefixMessagesAudioToJSON(
1719
- prefixMessagesAudio: PrefixMessagesAudio,
1722
+ export function deploymentStreamPrefixMessagesAudioToJSON(
1723
+ deploymentStreamPrefixMessagesAudio: DeploymentStreamPrefixMessagesAudio,
1720
1724
  ): string {
1721
1725
  return JSON.stringify(
1722
- PrefixMessagesAudio$outboundSchema.parse(prefixMessagesAudio),
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 PrefixMessagesAssistantMessage$Outbound = {
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?: PrefixMessagesAudio$Outbound | null | undefined;
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 PrefixMessagesAssistantMessage$outboundSchema: z.ZodType<
1816
- PrefixMessagesAssistantMessage$Outbound,
1817
- z.ZodTypeDef,
1818
- PrefixMessagesAssistantMessage
1819
- > = z.object({
1820
- content: z.nullable(
1821
- z.union([
1822
- z.string(),
1823
- z.array(
1824
- z.union([
1825
- components.TextContentPartSchema$outboundSchema.and(
1826
- z.object({ type: z.literal("text") }),
1827
- ),
1828
- components.RefusalPartSchema$outboundSchema,
1829
- components.ReasoningPartSchema$outboundSchema,
1830
- components.RedactedReasoningPartSchema$outboundSchema,
1831
- ]),
1832
- ),
1833
- ]),
1834
- ).optional(),
1835
- refusal: z.nullable(z.string()).optional(),
1836
- role: z.literal("assistant"),
1837
- name: z.string().optional(),
1838
- audio: z.nullable(z.lazy(() => PrefixMessagesAudio$outboundSchema))
1839
- .optional(),
1840
- toolCalls: z.array(
1841
- z.lazy(() => DeploymentStreamPrefixMessagesToolCalls$outboundSchema),
1842
- ).optional(),
1843
- }).transform((v) => {
1844
- return remap$(v, {
1845
- toolCalls: "tool_calls",
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 prefixMessagesAssistantMessageToJSON(
1850
- prefixMessagesAssistantMessage: PrefixMessagesAssistantMessage,
1857
+ export function deploymentStreamPrefixMessagesAssistantMessageToJSON(
1858
+ deploymentStreamPrefixMessagesAssistantMessage:
1859
+ DeploymentStreamPrefixMessagesAssistantMessage,
1851
1860
  ): string {
1852
1861
  return JSON.stringify(
1853
- PrefixMessagesAssistantMessage$outboundSchema.parse(
1854
- prefixMessagesAssistantMessage,
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 PrefixMessagesUserMessage$Outbound = {
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 PrefixMessagesUserMessage$outboundSchema: z.ZodType<
2011
- PrefixMessagesUserMessage$Outbound,
2012
- z.ZodTypeDef,
2013
- PrefixMessagesUserMessage
2014
- > = z.object({
2015
- role: z.literal("user"),
2016
- name: z.string().optional(),
2017
- content: z.union([
2018
- z.string(),
2019
- z.array(
2020
- z.union([
2021
- components.TextContentPartSchema$outboundSchema.and(
2022
- z.object({ type: z.literal("text") }),
2023
- ),
2024
- components.ImageContentPartSchema$outboundSchema,
2025
- components.AudioContentPartSchema$outboundSchema,
2026
- z.lazy(() => DeploymentStream24$outboundSchema),
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 prefixMessagesUserMessageToJSON(
2033
- prefixMessagesUserMessage: PrefixMessagesUserMessage,
2042
+ export function deploymentStreamPrefixMessagesUserMessageToJSON(
2043
+ deploymentStreamPrefixMessagesUserMessage:
2044
+ DeploymentStreamPrefixMessagesUserMessage,
2034
2045
  ): string {
2035
2046
  return JSON.stringify(
2036
- PrefixMessagesUserMessage$outboundSchema.parse(prefixMessagesUserMessage),
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 PrefixMessagesDeveloperMessage$Outbound = {
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 PrefixMessagesDeveloperMessage$outboundSchema: z.ZodType<
2076
- PrefixMessagesDeveloperMessage$Outbound,
2077
- z.ZodTypeDef,
2078
- PrefixMessagesDeveloperMessage
2079
- > = z.object({
2080
- role: z.literal("developer"),
2081
- content: z.union([
2082
- z.string(),
2083
- z.array(components.TextContentPartSchema$outboundSchema),
2084
- ]),
2085
- name: z.string().optional(),
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 prefixMessagesDeveloperMessageToJSON(
2089
- prefixMessagesDeveloperMessage: PrefixMessagesDeveloperMessage,
2102
+ export function deploymentStreamPrefixMessagesDeveloperMessageToJSON(
2103
+ deploymentStreamPrefixMessagesDeveloperMessage:
2104
+ DeploymentStreamPrefixMessagesDeveloperMessage,
2090
2105
  ): string {
2091
2106
  return JSON.stringify(
2092
- PrefixMessagesDeveloperMessage$outboundSchema.parse(
2093
- prefixMessagesDeveloperMessage,
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 PrefixMessagesSystemMessage$Outbound = {
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 PrefixMessagesSystemMessage$outboundSchema: z.ZodType<
2132
- PrefixMessagesSystemMessage$Outbound,
2133
- z.ZodTypeDef,
2134
- PrefixMessagesSystemMessage
2135
- > = z.object({
2136
- role: z.literal("system"),
2137
- content: z.union([
2138
- z.string(),
2139
- z.array(components.TextContentPartSchema$outboundSchema),
2140
- ]),
2141
- name: z.string().optional(),
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 prefixMessagesSystemMessageToJSON(
2145
- prefixMessagesSystemMessage: PrefixMessagesSystemMessage,
2160
+ export function deploymentStreamPrefixMessagesSystemMessageToJSON(
2161
+ deploymentStreamPrefixMessagesSystemMessage:
2162
+ DeploymentStreamPrefixMessagesSystemMessage,
2146
2163
  ): string {
2147
2164
  return JSON.stringify(
2148
- PrefixMessagesSystemMessage$outboundSchema.parse(
2149
- prefixMessagesSystemMessage,
2165
+ DeploymentStreamPrefixMessagesSystemMessage$outboundSchema.parse(
2166
+ deploymentStreamPrefixMessagesSystemMessage,
2150
2167
  ),
2151
2168
  );
2152
2169
  }
2153
2170
 
2154
2171
  /** @internal */
2155
2172
  export type DeploymentStreamPrefixMessages$Outbound =
2156
- | PrefixMessagesSystemMessage$Outbound
2157
- | PrefixMessagesDeveloperMessage$Outbound
2158
- | PrefixMessagesUserMessage$Outbound
2159
- | PrefixMessagesAssistantMessage$Outbound
2160
- | PrefixMessagesToolMessage$Outbound;
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(() => PrefixMessagesSystemMessage$outboundSchema),
2169
- z.lazy(() => PrefixMessagesDeveloperMessage$outboundSchema),
2170
- z.lazy(() => PrefixMessagesUserMessage$outboundSchema),
2171
- z.lazy(() => PrefixMessagesAssistantMessage$outboundSchema),
2172
- z.lazy(() => PrefixMessagesToolMessage$outboundSchema),
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 OneExists$Outbound = {
3767
+ export type DeploymentStream1Exists$Outbound = {
3751
3768
  exists: boolean;
3752
3769
  };
3753
3770
 
3754
3771
  /** @internal */
3755
- export const OneExists$outboundSchema: z.ZodType<
3756
- OneExists$Outbound,
3772
+ export const DeploymentStream1Exists$outboundSchema: z.ZodType<
3773
+ DeploymentStream1Exists$Outbound,
3757
3774
  z.ZodTypeDef,
3758
- OneExists
3775
+ DeploymentStream1Exists
3759
3776
  > = z.object({
3760
3777
  exists: z.boolean(),
3761
3778
  });
3762
3779
 
3763
- export function oneExistsToJSON(oneExists: OneExists): string {
3764
- return JSON.stringify(OneExists$outboundSchema.parse(oneExists));
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 OneLte$Outbound = {
3876
+ export type DeploymentStream1Lte$Outbound = {
3856
3877
  lte: number;
3857
3878
  };
3858
3879
 
3859
3880
  /** @internal */
3860
- export const OneLte$outboundSchema: z.ZodType<
3861
- OneLte$Outbound,
3881
+ export const DeploymentStream1Lte$outboundSchema: z.ZodType<
3882
+ DeploymentStream1Lte$Outbound,
3862
3883
  z.ZodTypeDef,
3863
- OneLte
3884
+ DeploymentStream1Lte
3864
3885
  > = z.object({
3865
3886
  lte: z.number(),
3866
3887
  });
3867
3888
 
3868
- export function oneLteToJSON(oneLte: OneLte): string {
3869
- return JSON.stringify(OneLte$outboundSchema.parse(oneLte));
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 OneLt$Outbound = {
3898
+ export type DeploymentStream1Lt$Outbound = {
3874
3899
  lt: number;
3875
3900
  };
3876
3901
 
3877
3902
  /** @internal */
3878
- export const OneLt$outboundSchema: z.ZodType<
3879
- OneLt$Outbound,
3903
+ export const DeploymentStream1Lt$outboundSchema: z.ZodType<
3904
+ DeploymentStream1Lt$Outbound,
3880
3905
  z.ZodTypeDef,
3881
- OneLt
3906
+ DeploymentStream1Lt
3882
3907
  > = z.object({
3883
3908
  lt: z.number(),
3884
3909
  });
3885
3910
 
3886
- export function oneLtToJSON(oneLt: OneLt): string {
3887
- return JSON.stringify(OneLt$outboundSchema.parse(oneLt));
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 OneGte$Outbound = {
3920
+ export type DeploymentStream1Gte$Outbound = {
3892
3921
  gte: number;
3893
3922
  };
3894
3923
 
3895
3924
  /** @internal */
3896
- export const OneGte$outboundSchema: z.ZodType<
3897
- OneGte$Outbound,
3925
+ export const DeploymentStream1Gte$outboundSchema: z.ZodType<
3926
+ DeploymentStream1Gte$Outbound,
3898
3927
  z.ZodTypeDef,
3899
- OneGte
3928
+ DeploymentStream1Gte
3900
3929
  > = z.object({
3901
3930
  gte: z.number(),
3902
3931
  });
3903
3932
 
3904
- export function oneGteToJSON(oneGte: OneGte): string {
3905
- return JSON.stringify(OneGte$outboundSchema.parse(oneGte));
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 OneGt$Outbound = {
3942
+ export type DeploymentStream1Gt$Outbound = {
3910
3943
  gt: number;
3911
3944
  };
3912
3945
 
3913
3946
  /** @internal */
3914
- export const OneGt$outboundSchema: z.ZodType<
3915
- OneGt$Outbound,
3947
+ export const DeploymentStream1Gt$outboundSchema: z.ZodType<
3948
+ DeploymentStream1Gt$Outbound,
3916
3949
  z.ZodTypeDef,
3917
- OneGt
3950
+ DeploymentStream1Gt
3918
3951
  > = z.object({
3919
3952
  gt: z.number(),
3920
3953
  });
3921
3954
 
3922
- export function oneGtToJSON(oneGt: OneGt): string {
3923
- return JSON.stringify(OneGt$outboundSchema.parse(oneGt));
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
- | OneGt$Outbound
4015
- | OneGte$Outbound
4016
- | OneLt$Outbound
4017
- | OneLte$Outbound
4051
+ | DeploymentStream1Gt$Outbound
4052
+ | DeploymentStream1Gte$Outbound
4053
+ | DeploymentStream1Lt$Outbound
4054
+ | DeploymentStream1Lte$Outbound
4018
4055
  | DeploymentStream1In$Outbound
4019
4056
  | DeploymentStream1Nin$Outbound
4020
- | OneExists$Outbound;
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(() => OneGt$outboundSchema),
4031
- z.lazy(() => OneGte$outboundSchema),
4032
- z.lazy(() => OneLt$outboundSchema),
4033
- z.lazy(() => OneLte$outboundSchema),
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(() => OneExists$outboundSchema),
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
- | OneGt$Outbound
4058
- | OneGte$Outbound
4059
- | OneLt$Outbound
4060
- | OneLte$Outbound
4094
+ | DeploymentStream1Gt$Outbound
4095
+ | DeploymentStream1Gte$Outbound
4096
+ | DeploymentStream1Lt$Outbound
4097
+ | DeploymentStream1Lte$Outbound
4061
4098
  | DeploymentStream1In$Outbound
4062
4099
  | DeploymentStream1Nin$Outbound
4063
- | OneExists$Outbound;
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(() => OneGt$outboundSchema),
4078
- z.lazy(() => OneGte$outboundSchema),
4079
- z.lazy(() => OneLt$outboundSchema),
4080
- z.lazy(() => OneLte$outboundSchema),
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(() => OneExists$outboundSchema),
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
- | PrefixMessagesSystemMessage$Outbound
4105
- | PrefixMessagesDeveloperMessage$Outbound
4106
- | PrefixMessagesUserMessage$Outbound
4107
- | PrefixMessagesAssistantMessage$Outbound
4108
- | PrefixMessagesToolMessage$Outbound
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
- | OneGt$Outbound
4135
- | OneGte$Outbound
4136
- | OneLt$Outbound
4137
- | OneLte$Outbound
4171
+ | DeploymentStream1Gt$Outbound
4172
+ | DeploymentStream1Gte$Outbound
4173
+ | DeploymentStream1Lt$Outbound
4174
+ | DeploymentStream1Lte$Outbound
4138
4175
  | DeploymentStream1In$Outbound
4139
4176
  | DeploymentStream1Nin$Outbound
4140
- | OneExists$Outbound;
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(() => PrefixMessagesSystemMessage$outboundSchema),
4157
- z.lazy(() => PrefixMessagesDeveloperMessage$outboundSchema),
4158
- z.lazy(() => PrefixMessagesUserMessage$outboundSchema),
4159
- z.lazy(() => PrefixMessagesAssistantMessage$outboundSchema),
4160
- z.lazy(() => PrefixMessagesToolMessage$outboundSchema),
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(() => OneGt$outboundSchema),
4189
- z.lazy(() => OneGte$outboundSchema),
4190
- z.lazy(() => OneLt$outboundSchema),
4191
- z.lazy(() => OneLte$outboundSchema),
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(() => OneExists$outboundSchema),
4235
+ z.lazy(() => DeploymentStream1Exists$outboundSchema),
4195
4236
  ]),
4196
4237
  ),
4197
4238
  ]).optional(),