@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
@@ -10,27 +10,27 @@ import { Result as SafeParseResult } from "../../types/fp.js";
10
10
  import * as components from "../components/index.js";
11
11
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
12
12
 
13
- export type DeploymentGetConfigContentDeployments2 =
13
+ export type DeploymentGetConfigContentDeploymentsRequest2 =
14
14
  components.TextContentPartSchema;
15
15
 
16
16
  /**
17
17
  * The contents of the tool message.
18
18
  */
19
- export type DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyContent =
19
+ export type DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBody5Content =
20
20
  | string
21
21
  | Array<components.TextContentPartSchema>;
22
22
 
23
23
  /**
24
24
  * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
25
25
  */
26
- export const DeploymentGetConfigPrefixMessagesType = {
26
+ export const DeploymentGetConfigPrefixMessagesDeploymentsType = {
27
27
  Ephemeral: "ephemeral",
28
28
  } as const;
29
29
  /**
30
30
  * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
31
31
  */
32
- export type DeploymentGetConfigPrefixMessagesType = ClosedEnum<
33
- typeof DeploymentGetConfigPrefixMessagesType
32
+ export type DeploymentGetConfigPrefixMessagesDeploymentsType = ClosedEnum<
33
+ typeof DeploymentGetConfigPrefixMessagesDeploymentsType
34
34
  >;
35
35
 
36
36
  /**
@@ -43,7 +43,7 @@ export type DeploymentGetConfigPrefixMessagesType = ClosedEnum<
43
43
  *
44
44
  * Defaults to `5m`. Only supported by `Anthropic` Claude models.
45
45
  */
46
- export const PrefixMessagesTtl = {
46
+ export const DeploymentGetConfigPrefixMessagesTtl = {
47
47
  Fivem: "5m",
48
48
  Oneh: "1h",
49
49
  } as const;
@@ -57,13 +57,15 @@ export const PrefixMessagesTtl = {
57
57
  *
58
58
  * Defaults to `5m`. Only supported by `Anthropic` Claude models.
59
59
  */
60
- export type PrefixMessagesTtl = ClosedEnum<typeof PrefixMessagesTtl>;
60
+ export type DeploymentGetConfigPrefixMessagesTtl = ClosedEnum<
61
+ typeof DeploymentGetConfigPrefixMessagesTtl
62
+ >;
61
63
 
62
- export type PrefixMessagesCacheControl = {
64
+ export type DeploymentGetConfigPrefixMessagesCacheControl = {
63
65
  /**
64
66
  * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
65
67
  */
66
- type: DeploymentGetConfigPrefixMessagesType;
68
+ type: DeploymentGetConfigPrefixMessagesDeploymentsType;
67
69
  /**
68
70
  * The time-to-live for the cache control breakpoint. This may be one of the following values:
69
71
  *
@@ -74,10 +76,10 @@ export type PrefixMessagesCacheControl = {
74
76
  *
75
77
  * Defaults to `5m`. Only supported by `Anthropic` Claude models.
76
78
  */
77
- ttl?: PrefixMessagesTtl | undefined;
79
+ ttl?: DeploymentGetConfigPrefixMessagesTtl | undefined;
78
80
  };
79
81
 
80
- export type ToolMessage = {
82
+ export type PrefixMessagesToolMessage = {
81
83
  /**
82
84
  * The role of the messages author, in this case tool.
83
85
  */
@@ -90,10 +92,10 @@ export type ToolMessage = {
90
92
  * Tool call that this message is responding to.
91
93
  */
92
94
  toolCallId: string | null;
93
- cacheControl?: PrefixMessagesCacheControl | undefined;
95
+ cacheControl?: DeploymentGetConfigPrefixMessagesCacheControl | undefined;
94
96
  };
95
97
 
96
- export type DeploymentGetConfigContent2 =
98
+ export type DeploymentGetConfigContentDeployments2 =
97
99
  | (components.TextContentPartSchema & { type: "text" })
98
100
  | components.RefusalPartSchema
99
101
  | components.ReasoningPartSchema
@@ -102,7 +104,7 @@ export type DeploymentGetConfigContent2 =
102
104
  /**
103
105
  * The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
104
106
  */
105
- export type DeploymentGetConfigPrefixMessagesDeploymentsRequestContent =
107
+ export type DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyContent =
106
108
  | string
107
109
  | Array<
108
110
  | (components.TextContentPartSchema & { type: "text" })
@@ -114,7 +116,7 @@ export type DeploymentGetConfigPrefixMessagesDeploymentsRequestContent =
114
116
  /**
115
117
  * Data about a previous audio response from the model.
116
118
  */
117
- export type Audio = {
119
+ export type PrefixMessagesAudio = {
118
120
  /**
119
121
  * Unique identifier for a previous audio response from the model.
120
122
  */
@@ -124,15 +126,17 @@ export type Audio = {
124
126
  /**
125
127
  * The type of the tool. Currently, only `function` is supported.
126
128
  */
127
- export const PrefixMessagesType = {
129
+ export const DeploymentGetConfigPrefixMessagesType = {
128
130
  Function: "function",
129
131
  } as const;
130
132
  /**
131
133
  * The type of the tool. Currently, only `function` is supported.
132
134
  */
133
- export type PrefixMessagesType = ClosedEnum<typeof PrefixMessagesType>;
135
+ export type DeploymentGetConfigPrefixMessagesType = ClosedEnum<
136
+ typeof DeploymentGetConfigPrefixMessagesType
137
+ >;
134
138
 
135
- export type PrefixMessagesFunction = {
139
+ export type DeploymentGetConfigPrefixMessagesFunction = {
136
140
  /**
137
141
  * The name of the function to call.
138
142
  */
@@ -143,7 +147,7 @@ export type PrefixMessagesFunction = {
143
147
  arguments?: string | undefined;
144
148
  };
145
149
 
146
- export type PrefixMessagesToolCalls = {
150
+ export type DeploymentGetConfigPrefixMessagesToolCalls = {
147
151
  /**
148
152
  * The ID of the tool call.
149
153
  */
@@ -151,15 +155,15 @@ export type PrefixMessagesToolCalls = {
151
155
  /**
152
156
  * The type of the tool. Currently, only `function` is supported.
153
157
  */
154
- type: PrefixMessagesType;
155
- function: PrefixMessagesFunction;
158
+ type: DeploymentGetConfigPrefixMessagesType;
159
+ function: DeploymentGetConfigPrefixMessagesFunction;
156
160
  /**
157
161
  * Encrypted representation of the model internal reasoning state during function calling. Required by Gemini 3 models when continuing a conversation after a tool call.
158
162
  */
159
163
  thoughtSignature?: string | undefined;
160
164
  };
161
165
 
162
- export type AssistantMessage = {
166
+ export type PrefixMessagesAssistantMessage = {
163
167
  /**
164
168
  * The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
165
169
  */
@@ -188,11 +192,11 @@ export type AssistantMessage = {
188
192
  /**
189
193
  * Data about a previous audio response from the model.
190
194
  */
191
- audio?: Audio | null | undefined;
195
+ audio?: PrefixMessagesAudio | null | undefined;
192
196
  /**
193
197
  * The tool calls generated by the model, such as function calls.
194
198
  */
195
- toolCalls?: Array<PrefixMessagesToolCalls> | undefined;
199
+ toolCalls?: Array<DeploymentGetConfigPrefixMessagesToolCalls> | undefined;
196
200
  };
197
201
 
198
202
  /**
@@ -218,7 +222,7 @@ export type DeploymentGetConfig2DeploymentsType = ClosedEnum<
218
222
  *
219
223
  * Defaults to `5m`. Only supported by `Anthropic` Claude models.
220
224
  */
221
- export const Ttl = {
225
+ export const DeploymentGetConfig2Ttl = {
222
226
  Fivem: "5m",
223
227
  Oneh: "1h",
224
228
  } as const;
@@ -232,9 +236,11 @@ export const Ttl = {
232
236
  *
233
237
  * Defaults to `5m`. Only supported by `Anthropic` Claude models.
234
238
  */
235
- export type Ttl = ClosedEnum<typeof Ttl>;
239
+ export type DeploymentGetConfig2Ttl = ClosedEnum<
240
+ typeof DeploymentGetConfig2Ttl
241
+ >;
236
242
 
237
- export type CacheControl = {
243
+ export type DeploymentGetConfig2CacheControl = {
238
244
  /**
239
245
  * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
240
246
  */
@@ -249,40 +255,40 @@ export type CacheControl = {
249
255
  *
250
256
  * Defaults to `5m`. Only supported by `Anthropic` Claude models.
251
257
  */
252
- ttl?: Ttl | undefined;
258
+ ttl?: DeploymentGetConfig2Ttl | undefined;
253
259
  };
254
260
 
255
- export type Four = {
261
+ export type DeploymentGetConfig24 = {
256
262
  /**
257
263
  * The type of the content part. Always `file`.
258
264
  */
259
265
  type: "file";
260
- cacheControl?: CacheControl | undefined;
266
+ cacheControl?: DeploymentGetConfig2CacheControl | undefined;
261
267
  /**
262
268
  * File data for the content part. Must contain either file_data or uri, but not both.
263
269
  */
264
270
  file: components.FileContentPartSchema;
265
271
  };
266
272
 
267
- export type Content2 =
273
+ export type DeploymentGetConfigContent2 =
268
274
  | (components.TextContentPartSchema & { type: "text" })
269
275
  | components.ImageContentPartSchema
270
276
  | components.AudioContentPartSchema
271
- | Four;
277
+ | DeploymentGetConfig24;
272
278
 
273
279
  /**
274
280
  * The contents of the user message.
275
281
  */
276
- export type DeploymentGetConfigPrefixMessagesDeploymentsContent =
282
+ export type DeploymentGetConfigPrefixMessagesDeploymentsRequestContent =
277
283
  | string
278
284
  | Array<
279
285
  | (components.TextContentPartSchema & { type: "text" })
280
286
  | components.ImageContentPartSchema
281
287
  | components.AudioContentPartSchema
282
- | Four
288
+ | DeploymentGetConfig24
283
289
  >;
284
290
 
285
- export type UserMessage = {
291
+ export type PrefixMessagesUserMessage = {
286
292
  /**
287
293
  * The role of the messages author, in this case `user`.
288
294
  */
@@ -300,18 +306,18 @@ export type UserMessage = {
300
306
  | (components.TextContentPartSchema & { type: "text" })
301
307
  | components.ImageContentPartSchema
302
308
  | components.AudioContentPartSchema
303
- | Four
309
+ | DeploymentGetConfig24
304
310
  >;
305
311
  };
306
312
 
307
313
  /**
308
314
  * The contents of the developer message.
309
315
  */
310
- export type DeploymentGetConfigPrefixMessagesContent =
316
+ export type DeploymentGetConfigPrefixMessagesDeploymentsContent =
311
317
  | string
312
318
  | Array<components.TextContentPartSchema>;
313
319
 
314
- export type DeveloperMessage = {
320
+ export type PrefixMessagesDeveloperMessage = {
315
321
  /**
316
322
  * The role of the messages author, in this case `developer`.
317
323
  */
@@ -329,14 +335,14 @@ export type DeveloperMessage = {
329
335
  /**
330
336
  * The contents of the system message.
331
337
  */
332
- export type PrefixMessagesContent =
338
+ export type DeploymentGetConfigPrefixMessagesContent =
333
339
  | string
334
340
  | Array<components.TextContentPartSchema>;
335
341
 
336
342
  /**
337
343
  * Developer-provided instructions that the model should follow, regardless of messages sent by the user.
338
344
  */
339
- export type SystemMessage = {
345
+ export type PrefixMessagesSystemMessage = {
340
346
  /**
341
347
  * The role of the messages author, in this case `system`.
342
348
  */
@@ -351,34 +357,34 @@ export type SystemMessage = {
351
357
  name?: string | undefined;
352
358
  };
353
359
 
354
- export type PrefixMessages =
355
- | SystemMessage
356
- | DeveloperMessage
357
- | UserMessage
358
- | AssistantMessage
359
- | ToolMessage;
360
+ export type DeploymentGetConfigPrefixMessages =
361
+ | PrefixMessagesSystemMessage
362
+ | PrefixMessagesDeveloperMessage
363
+ | PrefixMessagesUserMessage
364
+ | PrefixMessagesAssistantMessage
365
+ | PrefixMessagesToolMessage;
360
366
 
361
- export type DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2 =
367
+ export type DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages52 =
362
368
  components.TextContentPartSchema;
363
369
 
364
370
  /**
365
371
  * The contents of the tool message.
366
372
  */
367
- export type DeploymentGetConfigMessagesDeploymentsRequestRequestBodyContent =
373
+ export type DeploymentGetConfigMessagesDeploymentsRequestRequestBody5Content =
368
374
  | string
369
375
  | Array<components.TextContentPartSchema>;
370
376
 
371
377
  /**
372
378
  * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
373
379
  */
374
- export const DeploymentGetConfigMessagesType = {
380
+ export const DeploymentGetConfigMessagesDeploymentsType = {
375
381
  Ephemeral: "ephemeral",
376
382
  } as const;
377
383
  /**
378
384
  * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
379
385
  */
380
- export type DeploymentGetConfigMessagesType = ClosedEnum<
381
- typeof DeploymentGetConfigMessagesType
386
+ export type DeploymentGetConfigMessagesDeploymentsType = ClosedEnum<
387
+ typeof DeploymentGetConfigMessagesDeploymentsType
382
388
  >;
383
389
 
384
390
  /**
@@ -391,7 +397,7 @@ export type DeploymentGetConfigMessagesType = ClosedEnum<
391
397
  *
392
398
  * Defaults to `5m`. Only supported by `Anthropic` Claude models.
393
399
  */
394
- export const MessagesTtl = {
400
+ export const DeploymentGetConfigMessagesTtl = {
395
401
  Fivem: "5m",
396
402
  Oneh: "1h",
397
403
  } as const;
@@ -405,13 +411,15 @@ export const MessagesTtl = {
405
411
  *
406
412
  * Defaults to `5m`. Only supported by `Anthropic` Claude models.
407
413
  */
408
- export type MessagesTtl = ClosedEnum<typeof MessagesTtl>;
414
+ export type DeploymentGetConfigMessagesTtl = ClosedEnum<
415
+ typeof DeploymentGetConfigMessagesTtl
416
+ >;
409
417
 
410
- export type MessagesCacheControl = {
418
+ export type DeploymentGetConfigMessagesCacheControl = {
411
419
  /**
412
420
  * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
413
421
  */
414
- type: DeploymentGetConfigMessagesType;
422
+ type: DeploymentGetConfigMessagesDeploymentsType;
415
423
  /**
416
424
  * The time-to-live for the cache control breakpoint. This may be one of the following values:
417
425
  *
@@ -422,10 +430,10 @@ export type MessagesCacheControl = {
422
430
  *
423
431
  * Defaults to `5m`. Only supported by `Anthropic` Claude models.
424
432
  */
425
- ttl?: MessagesTtl | undefined;
433
+ ttl?: DeploymentGetConfigMessagesTtl | undefined;
426
434
  };
427
435
 
428
- export type MessagesToolMessage = {
436
+ export type DeploymentGetConfigMessagesToolMessage = {
429
437
  /**
430
438
  * The role of the messages author, in this case tool.
431
439
  */
@@ -438,10 +446,10 @@ export type MessagesToolMessage = {
438
446
  * Tool call that this message is responding to.
439
447
  */
440
448
  toolCallId: string | null;
441
- cacheControl?: MessagesCacheControl | undefined;
449
+ cacheControl?: DeploymentGetConfigMessagesCacheControl | undefined;
442
450
  };
443
451
 
444
- export type DeploymentGetConfigContentDeploymentsRequestRequestBody2 =
452
+ export type DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2 =
445
453
  | (components.TextContentPartSchema & { type: "text" })
446
454
  | components.RefusalPartSchema
447
455
  | components.ReasoningPartSchema
@@ -450,7 +458,7 @@ export type DeploymentGetConfigContentDeploymentsRequestRequestBody2 =
450
458
  /**
451
459
  * The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
452
460
  */
453
- export type DeploymentGetConfigMessagesDeploymentsRequestContent =
461
+ export type DeploymentGetConfigMessagesDeploymentsRequestRequestBodyContent =
454
462
  | string
455
463
  | Array<
456
464
  | (components.TextContentPartSchema & { type: "text" })
@@ -462,7 +470,7 @@ export type DeploymentGetConfigMessagesDeploymentsRequestContent =
462
470
  /**
463
471
  * Data about a previous audio response from the model.
464
472
  */
465
- export type MessagesAudio = {
473
+ export type DeploymentGetConfigMessagesAudio = {
466
474
  /**
467
475
  * Unique identifier for a previous audio response from the model.
468
476
  */
@@ -472,15 +480,17 @@ export type MessagesAudio = {
472
480
  /**
473
481
  * The type of the tool. Currently, only `function` is supported.
474
482
  */
475
- export const MessagesType = {
483
+ export const DeploymentGetConfigMessagesType = {
476
484
  Function: "function",
477
485
  } as const;
478
486
  /**
479
487
  * The type of the tool. Currently, only `function` is supported.
480
488
  */
481
- export type MessagesType = ClosedEnum<typeof MessagesType>;
489
+ export type DeploymentGetConfigMessagesType = ClosedEnum<
490
+ typeof DeploymentGetConfigMessagesType
491
+ >;
482
492
 
483
- export type MessagesFunction = {
493
+ export type DeploymentGetConfigMessagesFunction = {
484
494
  /**
485
495
  * The name of the function to call.
486
496
  */
@@ -491,7 +501,7 @@ export type MessagesFunction = {
491
501
  arguments?: string | undefined;
492
502
  };
493
503
 
494
- export type MessagesToolCalls = {
504
+ export type DeploymentGetConfigMessagesToolCalls = {
495
505
  /**
496
506
  * The ID of the tool call.
497
507
  */
@@ -499,15 +509,15 @@ export type MessagesToolCalls = {
499
509
  /**
500
510
  * The type of the tool. Currently, only `function` is supported.
501
511
  */
502
- type: MessagesType;
503
- function: MessagesFunction;
512
+ type: DeploymentGetConfigMessagesType;
513
+ function: DeploymentGetConfigMessagesFunction;
504
514
  /**
505
515
  * Encrypted representation of the model internal reasoning state during function calling. Required by Gemini 3 models when continuing a conversation after a tool call.
506
516
  */
507
517
  thoughtSignature?: string | undefined;
508
518
  };
509
519
 
510
- export type MessagesAssistantMessage = {
520
+ export type DeploymentGetConfigMessagesAssistantMessage = {
511
521
  /**
512
522
  * The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
513
523
  */
@@ -536,11 +546,11 @@ export type MessagesAssistantMessage = {
536
546
  /**
537
547
  * Data about a previous audio response from the model.
538
548
  */
539
- audio?: MessagesAudio | null | undefined;
549
+ audio?: DeploymentGetConfigMessagesAudio | null | undefined;
540
550
  /**
541
551
  * The tool calls generated by the model, such as function calls.
542
552
  */
543
- toolCalls?: Array<MessagesToolCalls> | undefined;
553
+ toolCalls?: Array<DeploymentGetConfigMessagesToolCalls> | undefined;
544
554
  };
545
555
 
546
556
  /**
@@ -566,7 +576,7 @@ export type DeploymentGetConfig2DeploymentsRequestRequestBodyType = ClosedEnum<
566
576
  *
567
577
  * Defaults to `5m`. Only supported by `Anthropic` Claude models.
568
578
  */
569
- export const TwoTtl = {
579
+ export const DeploymentGetConfig2DeploymentsTtl = {
570
580
  Fivem: "5m",
571
581
  Oneh: "1h",
572
582
  } as const;
@@ -580,9 +590,11 @@ export const TwoTtl = {
580
590
  *
581
591
  * Defaults to `5m`. Only supported by `Anthropic` Claude models.
582
592
  */
583
- export type TwoTtl = ClosedEnum<typeof TwoTtl>;
593
+ export type DeploymentGetConfig2DeploymentsTtl = ClosedEnum<
594
+ typeof DeploymentGetConfig2DeploymentsTtl
595
+ >;
584
596
 
585
- export type TwoCacheControl = {
597
+ export type DeploymentGetConfig2DeploymentsCacheControl = {
586
598
  /**
587
599
  * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
588
600
  */
@@ -597,40 +609,40 @@ export type TwoCacheControl = {
597
609
  *
598
610
  * Defaults to `5m`. Only supported by `Anthropic` Claude models.
599
611
  */
600
- ttl?: TwoTtl | undefined;
612
+ ttl?: DeploymentGetConfig2DeploymentsTtl | undefined;
601
613
  };
602
614
 
603
- export type Two4 = {
615
+ export type DeploymentGetConfig2Deployments4 = {
604
616
  /**
605
617
  * The type of the content part. Always `file`.
606
618
  */
607
619
  type: "file";
608
- cacheControl?: TwoCacheControl | undefined;
620
+ cacheControl?: DeploymentGetConfig2DeploymentsCacheControl | undefined;
609
621
  /**
610
622
  * File data for the content part. Must contain either file_data or uri, but not both.
611
623
  */
612
624
  file: components.FileContentPartSchema;
613
625
  };
614
626
 
615
- export type DeploymentGetConfigContentDeploymentsRequest2 =
627
+ export type DeploymentGetConfigContentDeploymentsRequestRequestBody2 =
616
628
  | (components.TextContentPartSchema & { type: "text" })
617
629
  | components.ImageContentPartSchema
618
630
  | components.AudioContentPartSchema
619
- | Two4;
631
+ | DeploymentGetConfig2Deployments4;
620
632
 
621
633
  /**
622
634
  * The contents of the user message.
623
635
  */
624
- export type DeploymentGetConfigMessagesDeploymentsContent =
636
+ export type DeploymentGetConfigMessagesDeploymentsRequestContent =
625
637
  | string
626
638
  | Array<
627
639
  | (components.TextContentPartSchema & { type: "text" })
628
640
  | components.ImageContentPartSchema
629
641
  | components.AudioContentPartSchema
630
- | Two4
642
+ | DeploymentGetConfig2Deployments4
631
643
  >;
632
644
 
633
- export type MessagesUserMessage = {
645
+ export type DeploymentGetConfigMessagesUserMessage = {
634
646
  /**
635
647
  * The role of the messages author, in this case `user`.
636
648
  */
@@ -648,18 +660,18 @@ export type MessagesUserMessage = {
648
660
  | (components.TextContentPartSchema & { type: "text" })
649
661
  | components.ImageContentPartSchema
650
662
  | components.AudioContentPartSchema
651
- | Two4
663
+ | DeploymentGetConfig2Deployments4
652
664
  >;
653
665
  };
654
666
 
655
667
  /**
656
668
  * The contents of the developer message.
657
669
  */
658
- export type DeploymentGetConfigMessagesContent =
670
+ export type DeploymentGetConfigMessagesDeploymentsContent =
659
671
  | string
660
672
  | Array<components.TextContentPartSchema>;
661
673
 
662
- export type MessagesDeveloperMessage = {
674
+ export type DeploymentGetConfigMessagesDeveloperMessage = {
663
675
  /**
664
676
  * The role of the messages author, in this case `developer`.
665
677
  */
@@ -677,12 +689,14 @@ export type MessagesDeveloperMessage = {
677
689
  /**
678
690
  * The contents of the system message.
679
691
  */
680
- export type MessagesContent = string | Array<components.TextContentPartSchema>;
692
+ export type DeploymentGetConfigMessagesContent =
693
+ | string
694
+ | Array<components.TextContentPartSchema>;
681
695
 
682
696
  /**
683
697
  * Developer-provided instructions that the model should follow, regardless of messages sent by the user.
684
698
  */
685
- export type MessagesSystemMessage = {
699
+ export type DeploymentGetConfigMessagesSystemMessage = {
686
700
  /**
687
701
  * The role of the messages author, in this case `system`.
688
702
  */
@@ -698,16 +712,16 @@ export type MessagesSystemMessage = {
698
712
  };
699
713
 
700
714
  export type DeploymentGetConfigMessages =
701
- | MessagesSystemMessage
702
- | MessagesDeveloperMessage
703
- | MessagesUserMessage
704
- | MessagesAssistantMessage
705
- | MessagesToolMessage;
715
+ | DeploymentGetConfigMessagesSystemMessage
716
+ | DeploymentGetConfigMessagesDeveloperMessage
717
+ | DeploymentGetConfigMessagesUserMessage
718
+ | DeploymentGetConfigMessagesAssistantMessage
719
+ | DeploymentGetConfigMessagesToolMessage;
706
720
 
707
721
  /**
708
722
  * Metadata about the document
709
723
  */
710
- export type Metadata = {
724
+ export type DeploymentGetConfigMetadata = {
711
725
  /**
712
726
  * Name of the file the text is from.
713
727
  */
@@ -722,7 +736,7 @@ export type Metadata = {
722
736
  pageNumber?: number | undefined;
723
737
  };
724
738
 
725
- export type Documents = {
739
+ export type DeploymentGetConfigDocuments = {
726
740
  /**
727
741
  * The text content of the document
728
742
  */
@@ -730,10 +744,10 @@ export type Documents = {
730
744
  /**
731
745
  * Metadata about the document
732
746
  */
733
- metadata?: Metadata | undefined;
747
+ metadata?: DeploymentGetConfigMetadata | undefined;
734
748
  };
735
749
 
736
- export type InvokeOptions = {
750
+ export type DeploymentGetConfigInvokeOptions = {
737
751
  /**
738
752
  * Whether to include the retrieved knowledge chunks in the response.
739
753
  */
@@ -748,7 +762,7 @@ export type InvokeOptions = {
748
762
  mockResponse?: string | undefined;
749
763
  };
750
764
 
751
- export type Thread = {
765
+ export type DeploymentGetConfigThread = {
752
766
  /**
753
767
  * Unique thread identifier to group related invocations.
754
768
  */
@@ -762,101 +776,101 @@ export type Thread = {
762
776
  /**
763
777
  * Exists
764
778
  */
765
- export type OrExists = {
779
+ export type DeploymentGetConfigOrExists = {
766
780
  exists: boolean;
767
781
  };
768
782
 
769
- export type DeploymentGetConfigOrNin = string | number | boolean;
783
+ export type DeploymentGetConfigOrDeploymentsNin = string | number | boolean;
770
784
 
771
785
  /**
772
786
  * Not in
773
787
  */
774
- export type OrNin = {
788
+ export type DeploymentGetConfigOrNin = {
775
789
  nin: Array<string | number | boolean>;
776
790
  };
777
791
 
778
- export type DeploymentGetConfigOrIn = string | number | boolean;
792
+ export type DeploymentGetConfigOrDeploymentsIn = string | number | boolean;
779
793
 
780
794
  /**
781
795
  * In
782
796
  */
783
- export type OrIn = {
797
+ export type DeploymentGetConfigOrIn = {
784
798
  in: Array<string | number | boolean>;
785
799
  };
786
800
 
787
801
  /**
788
802
  * Less than or equal to
789
803
  */
790
- export type OrLte = {
804
+ export type DeploymentGetConfigOrLte = {
791
805
  lte: number;
792
806
  };
793
807
 
794
808
  /**
795
809
  * Less than
796
810
  */
797
- export type OrLt = {
811
+ export type DeploymentGetConfigOrLt = {
798
812
  lt: number;
799
813
  };
800
814
 
801
815
  /**
802
816
  * Greater than or equal to
803
817
  */
804
- export type OrGte = {
818
+ export type DeploymentGetConfigOrGte = {
805
819
  gte: number;
806
820
  };
807
821
 
808
822
  /**
809
823
  * Greater than
810
824
  */
811
- export type OrGt = {
825
+ export type DeploymentGetConfigOrGt = {
812
826
  gt: number;
813
827
  };
814
828
 
815
- export type DeploymentGetConfigOrNe = string | number | boolean;
829
+ export type DeploymentGetConfigOrDeploymentsNe = string | number | boolean;
816
830
 
817
831
  /**
818
832
  * Not equal to
819
833
  */
820
- export type OrNe = {
834
+ export type DeploymentGetConfigOrNe = {
821
835
  ne: string | number | boolean;
822
836
  };
823
837
 
824
- export type DeploymentGetConfigOrEq = string | number | boolean;
838
+ export type DeploymentGetConfigOrDeploymentsEq = string | number | boolean;
825
839
 
826
840
  /**
827
841
  * Equal to
828
842
  */
829
- export type OrEq = {
843
+ export type DeploymentGetConfigOrEq = {
830
844
  eq: string | number | boolean;
831
845
  };
832
846
 
833
- export type KnowledgeFilterOr =
834
- | OrEq
835
- | OrNe
836
- | OrGt
837
- | OrGte
838
- | OrLt
839
- | OrLte
840
- | OrIn
841
- | OrNin
842
- | OrExists;
847
+ export type DeploymentGetConfigKnowledgeFilterDeploymentsOr =
848
+ | DeploymentGetConfigOrEq
849
+ | DeploymentGetConfigOrNe
850
+ | DeploymentGetConfigOrGt
851
+ | DeploymentGetConfigOrGte
852
+ | DeploymentGetConfigOrLt
853
+ | DeploymentGetConfigOrLte
854
+ | DeploymentGetConfigOrIn
855
+ | DeploymentGetConfigOrNin
856
+ | DeploymentGetConfigOrExists;
843
857
 
844
858
  /**
845
859
  * Or
846
860
  */
847
- export type Or = {
861
+ export type DeploymentGetConfigKnowledgeFilterOr = {
848
862
  or: Array<
849
863
  {
850
864
  [k: string]:
851
- | OrEq
852
- | OrNe
853
- | OrGt
854
- | OrGte
855
- | OrLt
856
- | OrLte
857
- | OrIn
858
- | OrNin
859
- | OrExists;
865
+ | DeploymentGetConfigOrEq
866
+ | DeploymentGetConfigOrNe
867
+ | DeploymentGetConfigOrGt
868
+ | DeploymentGetConfigOrGte
869
+ | DeploymentGetConfigOrLt
870
+ | DeploymentGetConfigOrLte
871
+ | DeploymentGetConfigOrIn
872
+ | DeploymentGetConfigOrNin
873
+ | DeploymentGetConfigOrExists;
860
874
  }
861
875
  >;
862
876
  };
@@ -864,101 +878,101 @@ export type Or = {
864
878
  /**
865
879
  * Exists
866
880
  */
867
- export type AndExists = {
881
+ export type DeploymentGetConfigAndExists = {
868
882
  exists: boolean;
869
883
  };
870
884
 
871
- export type DeploymentGetConfigAndNin = string | number | boolean;
885
+ export type DeploymentGetConfigAndDeploymentsNin = string | number | boolean;
872
886
 
873
887
  /**
874
888
  * Not in
875
889
  */
876
- export type AndNin = {
890
+ export type DeploymentGetConfigAndNin = {
877
891
  nin: Array<string | number | boolean>;
878
892
  };
879
893
 
880
- export type DeploymentGetConfigAndIn = string | number | boolean;
894
+ export type DeploymentGetConfigAndDeploymentsIn = string | number | boolean;
881
895
 
882
896
  /**
883
897
  * In
884
898
  */
885
- export type AndIn = {
899
+ export type DeploymentGetConfigAndIn = {
886
900
  in: Array<string | number | boolean>;
887
901
  };
888
902
 
889
903
  /**
890
904
  * Less than or equal to
891
905
  */
892
- export type AndLte = {
906
+ export type DeploymentGetConfigAndLte = {
893
907
  lte: number;
894
908
  };
895
909
 
896
910
  /**
897
911
  * Less than
898
912
  */
899
- export type AndLt = {
913
+ export type DeploymentGetConfigAndLt = {
900
914
  lt: number;
901
915
  };
902
916
 
903
917
  /**
904
918
  * Greater than or equal to
905
919
  */
906
- export type AndGte = {
920
+ export type DeploymentGetConfigAndGte = {
907
921
  gte: number;
908
922
  };
909
923
 
910
924
  /**
911
925
  * Greater than
912
926
  */
913
- export type AndGt = {
927
+ export type DeploymentGetConfigAndGt = {
914
928
  gt: number;
915
929
  };
916
930
 
917
- export type DeploymentGetConfigAndNe = string | number | boolean;
931
+ export type DeploymentGetConfigAndDeploymentsNe = string | number | boolean;
918
932
 
919
933
  /**
920
934
  * Not equal to
921
935
  */
922
- export type AndNe = {
936
+ export type DeploymentGetConfigAndNe = {
923
937
  ne: string | number | boolean;
924
938
  };
925
939
 
926
- export type DeploymentGetConfigAndEq = string | number | boolean;
940
+ export type DeploymentGetConfigAndDeploymentsEq = string | number | boolean;
927
941
 
928
942
  /**
929
943
  * Equal to
930
944
  */
931
- export type AndEq = {
945
+ export type DeploymentGetConfigAndEq = {
932
946
  eq: string | number | boolean;
933
947
  };
934
948
 
935
- export type KnowledgeFilterAnd =
936
- | AndEq
937
- | AndNe
938
- | AndGt
939
- | AndGte
940
- | AndLt
941
- | AndLte
942
- | AndIn
943
- | AndNin
944
- | AndExists;
949
+ export type DeploymentGetConfigKnowledgeFilterDeploymentsAnd =
950
+ | DeploymentGetConfigAndEq
951
+ | DeploymentGetConfigAndNe
952
+ | DeploymentGetConfigAndGt
953
+ | DeploymentGetConfigAndGte
954
+ | DeploymentGetConfigAndLt
955
+ | DeploymentGetConfigAndLte
956
+ | DeploymentGetConfigAndIn
957
+ | DeploymentGetConfigAndNin
958
+ | DeploymentGetConfigAndExists;
945
959
 
946
960
  /**
947
961
  * And
948
962
  */
949
- export type And = {
963
+ export type DeploymentGetConfigKnowledgeFilterAnd = {
950
964
  and: Array<
951
965
  {
952
966
  [k: string]:
953
- | AndEq
954
- | AndNe
955
- | AndGt
956
- | AndGte
957
- | AndLt
958
- | AndLte
959
- | AndIn
960
- | AndNin
961
- | AndExists;
967
+ | DeploymentGetConfigAndEq
968
+ | DeploymentGetConfigAndNe
969
+ | DeploymentGetConfigAndGt
970
+ | DeploymentGetConfigAndGte
971
+ | DeploymentGetConfigAndLt
972
+ | DeploymentGetConfigAndLte
973
+ | DeploymentGetConfigAndIn
974
+ | DeploymentGetConfigAndNin
975
+ | DeploymentGetConfigAndExists;
962
976
  }
963
977
  >;
964
978
  };
@@ -966,91 +980,103 @@ export type And = {
966
980
  /**
967
981
  * Exists
968
982
  */
969
- export type Exists = {
983
+ export type OneExists = {
970
984
  exists: boolean;
971
985
  };
972
986
 
973
- export type OneNin = string | number | boolean;
987
+ export type DeploymentGetConfig1DeploymentsNin = string | number | boolean;
974
988
 
975
989
  /**
976
990
  * Not in
977
991
  */
978
- export type Nin = {
992
+ export type DeploymentGetConfig1Nin = {
979
993
  nin: Array<string | number | boolean>;
980
994
  };
981
995
 
982
- export type OneIn = string | number | boolean;
996
+ export type DeploymentGetConfig1DeploymentsIn = string | number | boolean;
983
997
 
984
998
  /**
985
999
  * In
986
1000
  */
987
- export type In = {
1001
+ export type DeploymentGetConfig1In = {
988
1002
  in: Array<string | number | boolean>;
989
1003
  };
990
1004
 
991
1005
  /**
992
1006
  * Less than or equal to
993
1007
  */
994
- export type Lte = {
1008
+ export type OneLte = {
995
1009
  lte: number;
996
1010
  };
997
1011
 
998
1012
  /**
999
1013
  * Less than
1000
1014
  */
1001
- export type Lt = {
1015
+ export type OneLt = {
1002
1016
  lt: number;
1003
1017
  };
1004
1018
 
1005
1019
  /**
1006
1020
  * Greater than or equal to
1007
1021
  */
1008
- export type Gte = {
1022
+ export type OneGte = {
1009
1023
  gte: number;
1010
1024
  };
1011
1025
 
1012
1026
  /**
1013
1027
  * Greater than
1014
1028
  */
1015
- export type Gt = {
1029
+ export type OneGt = {
1016
1030
  gt: number;
1017
1031
  };
1018
1032
 
1019
- export type OneNe = string | number | boolean;
1033
+ export type DeploymentGetConfig1DeploymentsNe = string | number | boolean;
1020
1034
 
1021
1035
  /**
1022
1036
  * Not equal to
1023
1037
  */
1024
- export type Ne = {
1038
+ export type DeploymentGetConfig1Ne = {
1025
1039
  ne: string | number | boolean;
1026
1040
  };
1027
1041
 
1028
- export type OneEq = string | number | boolean;
1042
+ export type DeploymentGetConfig1DeploymentsEq = string | number | boolean;
1029
1043
 
1030
1044
  /**
1031
1045
  * Equal to
1032
1046
  */
1033
- export type Eq = {
1047
+ export type DeploymentGetConfig1Eq = {
1034
1048
  eq: string | number | boolean;
1035
1049
  };
1036
1050
 
1037
- export type KnowledgeFilter1 =
1038
- | Eq
1039
- | Ne
1040
- | Gt
1041
- | Gte
1042
- | Lt
1043
- | Lte
1044
- | In
1045
- | Nin
1046
- | Exists;
1051
+ export type DeploymentGetConfigKnowledgeFilter1 =
1052
+ | DeploymentGetConfig1Eq
1053
+ | DeploymentGetConfig1Ne
1054
+ | OneGt
1055
+ | OneGte
1056
+ | OneLt
1057
+ | OneLte
1058
+ | DeploymentGetConfig1In
1059
+ | DeploymentGetConfig1Nin
1060
+ | OneExists;
1047
1061
 
1048
1062
  /**
1049
1063
  * A filter to apply to the knowledge base chunk metadata when using knowledge bases in the deployment.
1050
1064
  */
1051
- export type KnowledgeFilter = And | Or | {
1052
- [k: string]: Eq | Ne | Gt | Gte | Lt | Lte | In | Nin | Exists;
1053
- };
1065
+ export type DeploymentGetConfigKnowledgeFilter =
1066
+ | DeploymentGetConfigKnowledgeFilterAnd
1067
+ | DeploymentGetConfigKnowledgeFilterOr
1068
+ | {
1069
+ [k: string]:
1070
+ | DeploymentGetConfig1Eq
1071
+ | DeploymentGetConfig1Ne
1072
+ | OneGt
1073
+ | OneGte
1074
+ | OneLt
1075
+ | OneLte
1076
+ | DeploymentGetConfig1In
1077
+ | DeploymentGetConfig1Nin
1078
+ | OneExists;
1079
+ };
1054
1080
 
1055
1081
  export type DeploymentGetConfigRequestBody = {
1056
1082
  /**
@@ -1070,11 +1096,11 @@ export type DeploymentGetConfigRequestBody = {
1070
1096
  */
1071
1097
  prefixMessages?:
1072
1098
  | Array<
1073
- | SystemMessage
1074
- | DeveloperMessage
1075
- | UserMessage
1076
- | AssistantMessage
1077
- | ToolMessage
1099
+ | PrefixMessagesSystemMessage
1100
+ | PrefixMessagesDeveloperMessage
1101
+ | PrefixMessagesUserMessage
1102
+ | PrefixMessagesAssistantMessage
1103
+ | PrefixMessagesToolMessage
1078
1104
  >
1079
1105
  | undefined;
1080
1106
  /**
@@ -1082,11 +1108,11 @@ export type DeploymentGetConfigRequestBody = {
1082
1108
  */
1083
1109
  messages?:
1084
1110
  | Array<
1085
- | MessagesSystemMessage
1086
- | MessagesDeveloperMessage
1087
- | MessagesUserMessage
1088
- | MessagesAssistantMessage
1089
- | MessagesToolMessage
1111
+ | DeploymentGetConfigMessagesSystemMessage
1112
+ | DeploymentGetConfigMessagesDeveloperMessage
1113
+ | DeploymentGetConfigMessagesUserMessage
1114
+ | DeploymentGetConfigMessagesAssistantMessage
1115
+ | DeploymentGetConfigMessagesToolMessage
1090
1116
  >
1091
1117
  | undefined;
1092
1118
  /**
@@ -1108,15 +1134,28 @@ export type DeploymentGetConfigRequestBody = {
1108
1134
  /**
1109
1135
  * A list of documents from your external knowledge base (e.g., chunks retrieved from your own vector database or RAG pipeline) that provide context for the model response. These documents can be used by evaluators and guardrails to assess the relevance and accuracy of the model output against the provided context.
1110
1136
  */
1111
- documents?: Array<Documents> | undefined;
1112
- invokeOptions?: InvokeOptions | undefined;
1113
- thread?: Thread | undefined;
1137
+ documents?: Array<DeploymentGetConfigDocuments> | undefined;
1138
+ invokeOptions?: DeploymentGetConfigInvokeOptions | undefined;
1139
+ thread?: DeploymentGetConfigThread | undefined;
1114
1140
  /**
1115
1141
  * A filter to apply to the knowledge base chunk metadata when using knowledge bases in the deployment.
1116
1142
  */
1117
- knowledgeFilter?: And | Or | {
1118
- [k: string]: Eq | Ne | Gt | Gte | Lt | Lte | In | Nin | Exists;
1119
- } | undefined;
1143
+ knowledgeFilter?:
1144
+ | DeploymentGetConfigKnowledgeFilterAnd
1145
+ | DeploymentGetConfigKnowledgeFilterOr
1146
+ | {
1147
+ [k: string]:
1148
+ | DeploymentGetConfig1Eq
1149
+ | DeploymentGetConfig1Ne
1150
+ | OneGt
1151
+ | OneGte
1152
+ | OneLt
1153
+ | OneLte
1154
+ | DeploymentGetConfig1In
1155
+ | DeploymentGetConfig1Nin
1156
+ | OneExists;
1157
+ }
1158
+ | undefined;
1120
1159
  };
1121
1160
 
1122
1161
  /**
@@ -1614,103 +1653,110 @@ export type DeploymentGetConfigResponseBody = {
1614
1653
  };
1615
1654
 
1616
1655
  /** @internal */
1617
- export type DeploymentGetConfigContentDeployments2$Outbound =
1656
+ export type DeploymentGetConfigContentDeploymentsRequest2$Outbound =
1618
1657
  components.TextContentPartSchema$Outbound;
1619
1658
 
1620
1659
  /** @internal */
1621
- export const DeploymentGetConfigContentDeployments2$outboundSchema: z.ZodType<
1622
- DeploymentGetConfigContentDeployments2$Outbound,
1623
- z.ZodTypeDef,
1624
- DeploymentGetConfigContentDeployments2
1625
- > = components.TextContentPartSchema$outboundSchema;
1660
+ export const DeploymentGetConfigContentDeploymentsRequest2$outboundSchema:
1661
+ z.ZodType<
1662
+ DeploymentGetConfigContentDeploymentsRequest2$Outbound,
1663
+ z.ZodTypeDef,
1664
+ DeploymentGetConfigContentDeploymentsRequest2
1665
+ > = components.TextContentPartSchema$outboundSchema;
1626
1666
 
1627
- export function deploymentGetConfigContentDeployments2ToJSON(
1628
- deploymentGetConfigContentDeployments2:
1629
- DeploymentGetConfigContentDeployments2,
1667
+ export function deploymentGetConfigContentDeploymentsRequest2ToJSON(
1668
+ deploymentGetConfigContentDeploymentsRequest2:
1669
+ DeploymentGetConfigContentDeploymentsRequest2,
1630
1670
  ): string {
1631
1671
  return JSON.stringify(
1632
- DeploymentGetConfigContentDeployments2$outboundSchema.parse(
1633
- deploymentGetConfigContentDeployments2,
1672
+ DeploymentGetConfigContentDeploymentsRequest2$outboundSchema.parse(
1673
+ deploymentGetConfigContentDeploymentsRequest2,
1634
1674
  ),
1635
1675
  );
1636
1676
  }
1637
1677
 
1638
1678
  /** @internal */
1639
- export type DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyContent$Outbound =
1679
+ export type DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBody5Content$Outbound =
1640
1680
  | string
1641
1681
  | Array<components.TextContentPartSchema$Outbound>;
1642
1682
 
1643
1683
  /** @internal */
1644
- export const DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyContent$outboundSchema:
1684
+ export const DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBody5Content$outboundSchema:
1645
1685
  z.ZodType<
1646
- DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyContent$Outbound,
1686
+ DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBody5Content$Outbound,
1647
1687
  z.ZodTypeDef,
1648
- DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyContent
1688
+ DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBody5Content
1649
1689
  > = z.union([
1650
1690
  z.string(),
1651
1691
  z.array(components.TextContentPartSchema$outboundSchema),
1652
1692
  ]);
1653
1693
 
1654
- export function deploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyContentToJSON(
1655
- deploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyContent:
1656
- DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyContent,
1694
+ export function deploymentGetConfigPrefixMessagesDeploymentsRequestRequestBody5ContentToJSON(
1695
+ deploymentGetConfigPrefixMessagesDeploymentsRequestRequestBody5Content:
1696
+ DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBody5Content,
1657
1697
  ): string {
1658
1698
  return JSON.stringify(
1659
- DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyContent$outboundSchema
1699
+ DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBody5Content$outboundSchema
1660
1700
  .parse(
1661
- deploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyContent,
1701
+ deploymentGetConfigPrefixMessagesDeploymentsRequestRequestBody5Content,
1662
1702
  ),
1663
1703
  );
1664
1704
  }
1665
1705
 
1666
1706
  /** @internal */
1667
- export const DeploymentGetConfigPrefixMessagesType$outboundSchema:
1668
- z.ZodNativeEnum<typeof DeploymentGetConfigPrefixMessagesType> = z.nativeEnum(
1669
- DeploymentGetConfigPrefixMessagesType,
1670
- );
1707
+ export const DeploymentGetConfigPrefixMessagesDeploymentsType$outboundSchema:
1708
+ z.ZodNativeEnum<typeof DeploymentGetConfigPrefixMessagesDeploymentsType> = z
1709
+ .nativeEnum(DeploymentGetConfigPrefixMessagesDeploymentsType);
1671
1710
 
1672
1711
  /** @internal */
1673
- export const PrefixMessagesTtl$outboundSchema: z.ZodNativeEnum<
1674
- typeof PrefixMessagesTtl
1675
- > = z.nativeEnum(PrefixMessagesTtl);
1712
+ export const DeploymentGetConfigPrefixMessagesTtl$outboundSchema:
1713
+ z.ZodNativeEnum<typeof DeploymentGetConfigPrefixMessagesTtl> = z.nativeEnum(
1714
+ DeploymentGetConfigPrefixMessagesTtl,
1715
+ );
1676
1716
 
1677
1717
  /** @internal */
1678
- export type PrefixMessagesCacheControl$Outbound = {
1718
+ export type DeploymentGetConfigPrefixMessagesCacheControl$Outbound = {
1679
1719
  type: string;
1680
1720
  ttl: string;
1681
1721
  };
1682
1722
 
1683
1723
  /** @internal */
1684
- export const PrefixMessagesCacheControl$outboundSchema: z.ZodType<
1685
- PrefixMessagesCacheControl$Outbound,
1686
- z.ZodTypeDef,
1687
- PrefixMessagesCacheControl
1688
- > = z.object({
1689
- type: DeploymentGetConfigPrefixMessagesType$outboundSchema,
1690
- ttl: PrefixMessagesTtl$outboundSchema.default("5m"),
1691
- });
1724
+ export const DeploymentGetConfigPrefixMessagesCacheControl$outboundSchema:
1725
+ z.ZodType<
1726
+ DeploymentGetConfigPrefixMessagesCacheControl$Outbound,
1727
+ z.ZodTypeDef,
1728
+ DeploymentGetConfigPrefixMessagesCacheControl
1729
+ > = z.object({
1730
+ type: DeploymentGetConfigPrefixMessagesDeploymentsType$outboundSchema,
1731
+ ttl: DeploymentGetConfigPrefixMessagesTtl$outboundSchema.default("5m"),
1732
+ });
1692
1733
 
1693
- export function prefixMessagesCacheControlToJSON(
1694
- prefixMessagesCacheControl: PrefixMessagesCacheControl,
1734
+ export function deploymentGetConfigPrefixMessagesCacheControlToJSON(
1735
+ deploymentGetConfigPrefixMessagesCacheControl:
1736
+ DeploymentGetConfigPrefixMessagesCacheControl,
1695
1737
  ): string {
1696
1738
  return JSON.stringify(
1697
- PrefixMessagesCacheControl$outboundSchema.parse(prefixMessagesCacheControl),
1739
+ DeploymentGetConfigPrefixMessagesCacheControl$outboundSchema.parse(
1740
+ deploymentGetConfigPrefixMessagesCacheControl,
1741
+ ),
1698
1742
  );
1699
1743
  }
1700
1744
 
1701
1745
  /** @internal */
1702
- export type ToolMessage$Outbound = {
1746
+ export type PrefixMessagesToolMessage$Outbound = {
1703
1747
  role: "tool";
1704
1748
  content: string | Array<components.TextContentPartSchema$Outbound>;
1705
1749
  tool_call_id: string | null;
1706
- cache_control?: PrefixMessagesCacheControl$Outbound | undefined;
1750
+ cache_control?:
1751
+ | DeploymentGetConfigPrefixMessagesCacheControl$Outbound
1752
+ | undefined;
1707
1753
  };
1708
1754
 
1709
1755
  /** @internal */
1710
- export const ToolMessage$outboundSchema: z.ZodType<
1711
- ToolMessage$Outbound,
1756
+ export const PrefixMessagesToolMessage$outboundSchema: z.ZodType<
1757
+ PrefixMessagesToolMessage$Outbound,
1712
1758
  z.ZodTypeDef,
1713
- ToolMessage
1759
+ PrefixMessagesToolMessage
1714
1760
  > = z.object({
1715
1761
  role: z.literal("tool"),
1716
1762
  content: z.union([
@@ -1718,8 +1764,9 @@ export const ToolMessage$outboundSchema: z.ZodType<
1718
1764
  z.array(components.TextContentPartSchema$outboundSchema),
1719
1765
  ]),
1720
1766
  toolCallId: z.nullable(z.string()),
1721
- cacheControl: z.lazy(() => PrefixMessagesCacheControl$outboundSchema)
1722
- .optional(),
1767
+ cacheControl: z.lazy(() =>
1768
+ DeploymentGetConfigPrefixMessagesCacheControl$outboundSchema
1769
+ ).optional(),
1723
1770
  }).transform((v) => {
1724
1771
  return remap$(v, {
1725
1772
  toolCallId: "tool_call_id",
@@ -1727,22 +1774,26 @@ export const ToolMessage$outboundSchema: z.ZodType<
1727
1774
  });
1728
1775
  });
1729
1776
 
1730
- export function toolMessageToJSON(toolMessage: ToolMessage): string {
1731
- return JSON.stringify(ToolMessage$outboundSchema.parse(toolMessage));
1777
+ export function prefixMessagesToolMessageToJSON(
1778
+ prefixMessagesToolMessage: PrefixMessagesToolMessage,
1779
+ ): string {
1780
+ return JSON.stringify(
1781
+ PrefixMessagesToolMessage$outboundSchema.parse(prefixMessagesToolMessage),
1782
+ );
1732
1783
  }
1733
1784
 
1734
1785
  /** @internal */
1735
- export type DeploymentGetConfigContent2$Outbound =
1786
+ export type DeploymentGetConfigContentDeployments2$Outbound =
1736
1787
  | (components.TextContentPartSchema$Outbound & { type: "text" })
1737
1788
  | components.RefusalPartSchema$Outbound
1738
1789
  | components.ReasoningPartSchema$Outbound
1739
1790
  | components.RedactedReasoningPartSchema$Outbound;
1740
1791
 
1741
1792
  /** @internal */
1742
- export const DeploymentGetConfigContent2$outboundSchema: z.ZodType<
1743
- DeploymentGetConfigContent2$Outbound,
1793
+ export const DeploymentGetConfigContentDeployments2$outboundSchema: z.ZodType<
1794
+ DeploymentGetConfigContentDeployments2$Outbound,
1744
1795
  z.ZodTypeDef,
1745
- DeploymentGetConfigContent2
1796
+ DeploymentGetConfigContentDeployments2
1746
1797
  > = z.union([
1747
1798
  components.TextContentPartSchema$outboundSchema.and(
1748
1799
  z.object({ type: z.literal("text") }),
@@ -1752,18 +1803,19 @@ export const DeploymentGetConfigContent2$outboundSchema: z.ZodType<
1752
1803
  components.RedactedReasoningPartSchema$outboundSchema,
1753
1804
  ]);
1754
1805
 
1755
- export function deploymentGetConfigContent2ToJSON(
1756
- deploymentGetConfigContent2: DeploymentGetConfigContent2,
1806
+ export function deploymentGetConfigContentDeployments2ToJSON(
1807
+ deploymentGetConfigContentDeployments2:
1808
+ DeploymentGetConfigContentDeployments2,
1757
1809
  ): string {
1758
1810
  return JSON.stringify(
1759
- DeploymentGetConfigContent2$outboundSchema.parse(
1760
- deploymentGetConfigContent2,
1811
+ DeploymentGetConfigContentDeployments2$outboundSchema.parse(
1812
+ deploymentGetConfigContentDeployments2,
1761
1813
  ),
1762
1814
  );
1763
1815
  }
1764
1816
 
1765
1817
  /** @internal */
1766
- export type DeploymentGetConfigPrefixMessagesDeploymentsRequestContent$Outbound =
1818
+ export type DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyContent$Outbound =
1767
1819
  | string
1768
1820
  | Array<
1769
1821
  | (components.TextContentPartSchema$Outbound & { type: "text" })
@@ -1773,11 +1825,11 @@ export type DeploymentGetConfigPrefixMessagesDeploymentsRequestContent$Outbound
1773
1825
  >;
1774
1826
 
1775
1827
  /** @internal */
1776
- export const DeploymentGetConfigPrefixMessagesDeploymentsRequestContent$outboundSchema:
1828
+ export const DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyContent$outboundSchema:
1777
1829
  z.ZodType<
1778
- DeploymentGetConfigPrefixMessagesDeploymentsRequestContent$Outbound,
1830
+ DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyContent$Outbound,
1779
1831
  z.ZodTypeDef,
1780
- DeploymentGetConfigPrefixMessagesDeploymentsRequestContent
1832
+ DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyContent
1781
1833
  > = z.union([
1782
1834
  z.string(),
1783
1835
  z.array(
@@ -1792,97 +1844,114 @@ export const DeploymentGetConfigPrefixMessagesDeploymentsRequestContent$outbound
1792
1844
  ),
1793
1845
  ]);
1794
1846
 
1795
- export function deploymentGetConfigPrefixMessagesDeploymentsRequestContentToJSON(
1796
- deploymentGetConfigPrefixMessagesDeploymentsRequestContent:
1797
- DeploymentGetConfigPrefixMessagesDeploymentsRequestContent,
1847
+ export function deploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyContentToJSON(
1848
+ deploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyContent:
1849
+ DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyContent,
1798
1850
  ): string {
1799
1851
  return JSON.stringify(
1800
- DeploymentGetConfigPrefixMessagesDeploymentsRequestContent$outboundSchema
1801
- .parse(deploymentGetConfigPrefixMessagesDeploymentsRequestContent),
1852
+ DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyContent$outboundSchema
1853
+ .parse(
1854
+ deploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyContent,
1855
+ ),
1802
1856
  );
1803
1857
  }
1804
1858
 
1805
1859
  /** @internal */
1806
- export type Audio$Outbound = {
1860
+ export type PrefixMessagesAudio$Outbound = {
1807
1861
  id: string;
1808
1862
  };
1809
1863
 
1810
1864
  /** @internal */
1811
- export const Audio$outboundSchema: z.ZodType<
1812
- Audio$Outbound,
1865
+ export const PrefixMessagesAudio$outboundSchema: z.ZodType<
1866
+ PrefixMessagesAudio$Outbound,
1813
1867
  z.ZodTypeDef,
1814
- Audio
1868
+ PrefixMessagesAudio
1815
1869
  > = z.object({
1816
1870
  id: z.string(),
1817
1871
  });
1818
1872
 
1819
- export function audioToJSON(audio: Audio): string {
1820
- return JSON.stringify(Audio$outboundSchema.parse(audio));
1873
+ export function prefixMessagesAudioToJSON(
1874
+ prefixMessagesAudio: PrefixMessagesAudio,
1875
+ ): string {
1876
+ return JSON.stringify(
1877
+ PrefixMessagesAudio$outboundSchema.parse(prefixMessagesAudio),
1878
+ );
1821
1879
  }
1822
1880
 
1823
1881
  /** @internal */
1824
- export const PrefixMessagesType$outboundSchema: z.ZodNativeEnum<
1825
- typeof PrefixMessagesType
1826
- > = z.nativeEnum(PrefixMessagesType);
1882
+ export const DeploymentGetConfigPrefixMessagesType$outboundSchema:
1883
+ z.ZodNativeEnum<typeof DeploymentGetConfigPrefixMessagesType> = z.nativeEnum(
1884
+ DeploymentGetConfigPrefixMessagesType,
1885
+ );
1827
1886
 
1828
1887
  /** @internal */
1829
- export type PrefixMessagesFunction$Outbound = {
1888
+ export type DeploymentGetConfigPrefixMessagesFunction$Outbound = {
1830
1889
  name?: string | undefined;
1831
1890
  arguments?: string | undefined;
1832
1891
  };
1833
1892
 
1834
1893
  /** @internal */
1835
- export const PrefixMessagesFunction$outboundSchema: z.ZodType<
1836
- PrefixMessagesFunction$Outbound,
1837
- z.ZodTypeDef,
1838
- PrefixMessagesFunction
1839
- > = z.object({
1840
- name: z.string().optional(),
1841
- arguments: z.string().optional(),
1842
- });
1894
+ export const DeploymentGetConfigPrefixMessagesFunction$outboundSchema:
1895
+ z.ZodType<
1896
+ DeploymentGetConfigPrefixMessagesFunction$Outbound,
1897
+ z.ZodTypeDef,
1898
+ DeploymentGetConfigPrefixMessagesFunction
1899
+ > = z.object({
1900
+ name: z.string().optional(),
1901
+ arguments: z.string().optional(),
1902
+ });
1843
1903
 
1844
- export function prefixMessagesFunctionToJSON(
1845
- prefixMessagesFunction: PrefixMessagesFunction,
1904
+ export function deploymentGetConfigPrefixMessagesFunctionToJSON(
1905
+ deploymentGetConfigPrefixMessagesFunction:
1906
+ DeploymentGetConfigPrefixMessagesFunction,
1846
1907
  ): string {
1847
1908
  return JSON.stringify(
1848
- PrefixMessagesFunction$outboundSchema.parse(prefixMessagesFunction),
1909
+ DeploymentGetConfigPrefixMessagesFunction$outboundSchema.parse(
1910
+ deploymentGetConfigPrefixMessagesFunction,
1911
+ ),
1849
1912
  );
1850
1913
  }
1851
1914
 
1852
1915
  /** @internal */
1853
- export type PrefixMessagesToolCalls$Outbound = {
1916
+ export type DeploymentGetConfigPrefixMessagesToolCalls$Outbound = {
1854
1917
  id: string;
1855
1918
  type: string;
1856
- function: PrefixMessagesFunction$Outbound;
1919
+ function: DeploymentGetConfigPrefixMessagesFunction$Outbound;
1857
1920
  thought_signature?: string | undefined;
1858
1921
  };
1859
1922
 
1860
1923
  /** @internal */
1861
- export const PrefixMessagesToolCalls$outboundSchema: z.ZodType<
1862
- PrefixMessagesToolCalls$Outbound,
1863
- z.ZodTypeDef,
1864
- PrefixMessagesToolCalls
1865
- > = z.object({
1866
- id: z.string(),
1867
- type: PrefixMessagesType$outboundSchema,
1868
- function: z.lazy(() => PrefixMessagesFunction$outboundSchema),
1869
- thoughtSignature: z.string().optional(),
1870
- }).transform((v) => {
1871
- return remap$(v, {
1872
- thoughtSignature: "thought_signature",
1924
+ export const DeploymentGetConfigPrefixMessagesToolCalls$outboundSchema:
1925
+ z.ZodType<
1926
+ DeploymentGetConfigPrefixMessagesToolCalls$Outbound,
1927
+ z.ZodTypeDef,
1928
+ DeploymentGetConfigPrefixMessagesToolCalls
1929
+ > = z.object({
1930
+ id: z.string(),
1931
+ type: DeploymentGetConfigPrefixMessagesType$outboundSchema,
1932
+ function: z.lazy(() =>
1933
+ DeploymentGetConfigPrefixMessagesFunction$outboundSchema
1934
+ ),
1935
+ thoughtSignature: z.string().optional(),
1936
+ }).transform((v) => {
1937
+ return remap$(v, {
1938
+ thoughtSignature: "thought_signature",
1939
+ });
1873
1940
  });
1874
- });
1875
1941
 
1876
- export function prefixMessagesToolCallsToJSON(
1877
- prefixMessagesToolCalls: PrefixMessagesToolCalls,
1942
+ export function deploymentGetConfigPrefixMessagesToolCallsToJSON(
1943
+ deploymentGetConfigPrefixMessagesToolCalls:
1944
+ DeploymentGetConfigPrefixMessagesToolCalls,
1878
1945
  ): string {
1879
1946
  return JSON.stringify(
1880
- PrefixMessagesToolCalls$outboundSchema.parse(prefixMessagesToolCalls),
1947
+ DeploymentGetConfigPrefixMessagesToolCalls$outboundSchema.parse(
1948
+ deploymentGetConfigPrefixMessagesToolCalls,
1949
+ ),
1881
1950
  );
1882
1951
  }
1883
1952
 
1884
1953
  /** @internal */
1885
- export type AssistantMessage$Outbound = {
1954
+ export type PrefixMessagesAssistantMessage$Outbound = {
1886
1955
  content?:
1887
1956
  | string
1888
1957
  | Array<
@@ -1896,15 +1965,17 @@ export type AssistantMessage$Outbound = {
1896
1965
  refusal?: string | null | undefined;
1897
1966
  role: "assistant";
1898
1967
  name?: string | undefined;
1899
- audio?: Audio$Outbound | null | undefined;
1900
- tool_calls?: Array<PrefixMessagesToolCalls$Outbound> | undefined;
1968
+ audio?: PrefixMessagesAudio$Outbound | null | undefined;
1969
+ tool_calls?:
1970
+ | Array<DeploymentGetConfigPrefixMessagesToolCalls$Outbound>
1971
+ | undefined;
1901
1972
  };
1902
1973
 
1903
1974
  /** @internal */
1904
- export const AssistantMessage$outboundSchema: z.ZodType<
1905
- AssistantMessage$Outbound,
1975
+ export const PrefixMessagesAssistantMessage$outboundSchema: z.ZodType<
1976
+ PrefixMessagesAssistantMessage$Outbound,
1906
1977
  z.ZodTypeDef,
1907
- AssistantMessage
1978
+ PrefixMessagesAssistantMessage
1908
1979
  > = z.object({
1909
1980
  content: z.nullable(
1910
1981
  z.union([
@@ -1924,20 +1995,24 @@ export const AssistantMessage$outboundSchema: z.ZodType<
1924
1995
  refusal: z.nullable(z.string()).optional(),
1925
1996
  role: z.literal("assistant"),
1926
1997
  name: z.string().optional(),
1927
- audio: z.nullable(z.lazy(() => Audio$outboundSchema)).optional(),
1928
- toolCalls: z.array(z.lazy(() => PrefixMessagesToolCalls$outboundSchema))
1998
+ audio: z.nullable(z.lazy(() => PrefixMessagesAudio$outboundSchema))
1929
1999
  .optional(),
2000
+ toolCalls: z.array(
2001
+ z.lazy(() => DeploymentGetConfigPrefixMessagesToolCalls$outboundSchema),
2002
+ ).optional(),
1930
2003
  }).transform((v) => {
1931
2004
  return remap$(v, {
1932
2005
  toolCalls: "tool_calls",
1933
2006
  });
1934
2007
  });
1935
2008
 
1936
- export function assistantMessageToJSON(
1937
- assistantMessage: AssistantMessage,
2009
+ export function prefixMessagesAssistantMessageToJSON(
2010
+ prefixMessagesAssistantMessage: PrefixMessagesAssistantMessage,
1938
2011
  ): string {
1939
2012
  return JSON.stringify(
1940
- AssistantMessage$outboundSchema.parse(assistantMessage),
2013
+ PrefixMessagesAssistantMessage$outboundSchema.parse(
2014
+ prefixMessagesAssistantMessage,
2015
+ ),
1941
2016
  );
1942
2017
  }
1943
2018
 
@@ -1948,94 +2023,114 @@ export const DeploymentGetConfig2DeploymentsType$outboundSchema:
1948
2023
  );
1949
2024
 
1950
2025
  /** @internal */
1951
- export const Ttl$outboundSchema: z.ZodNativeEnum<typeof Ttl> = z.nativeEnum(
1952
- Ttl,
1953
- );
2026
+ export const DeploymentGetConfig2Ttl$outboundSchema: z.ZodNativeEnum<
2027
+ typeof DeploymentGetConfig2Ttl
2028
+ > = z.nativeEnum(DeploymentGetConfig2Ttl);
1954
2029
 
1955
2030
  /** @internal */
1956
- export type CacheControl$Outbound = {
2031
+ export type DeploymentGetConfig2CacheControl$Outbound = {
1957
2032
  type: string;
1958
2033
  ttl: string;
1959
2034
  };
1960
2035
 
1961
2036
  /** @internal */
1962
- export const CacheControl$outboundSchema: z.ZodType<
1963
- CacheControl$Outbound,
2037
+ export const DeploymentGetConfig2CacheControl$outboundSchema: z.ZodType<
2038
+ DeploymentGetConfig2CacheControl$Outbound,
1964
2039
  z.ZodTypeDef,
1965
- CacheControl
2040
+ DeploymentGetConfig2CacheControl
1966
2041
  > = z.object({
1967
2042
  type: DeploymentGetConfig2DeploymentsType$outboundSchema,
1968
- ttl: Ttl$outboundSchema.default("5m"),
2043
+ ttl: DeploymentGetConfig2Ttl$outboundSchema.default("5m"),
1969
2044
  });
1970
2045
 
1971
- export function cacheControlToJSON(cacheControl: CacheControl): string {
1972
- return JSON.stringify(CacheControl$outboundSchema.parse(cacheControl));
2046
+ export function deploymentGetConfig2CacheControlToJSON(
2047
+ deploymentGetConfig2CacheControl: DeploymentGetConfig2CacheControl,
2048
+ ): string {
2049
+ return JSON.stringify(
2050
+ DeploymentGetConfig2CacheControl$outboundSchema.parse(
2051
+ deploymentGetConfig2CacheControl,
2052
+ ),
2053
+ );
1973
2054
  }
1974
2055
 
1975
2056
  /** @internal */
1976
- export type Four$Outbound = {
2057
+ export type DeploymentGetConfig24$Outbound = {
1977
2058
  type: "file";
1978
- cache_control?: CacheControl$Outbound | undefined;
2059
+ cache_control?: DeploymentGetConfig2CacheControl$Outbound | undefined;
1979
2060
  file: components.FileContentPartSchema$Outbound;
1980
2061
  };
1981
2062
 
1982
2063
  /** @internal */
1983
- export const Four$outboundSchema: z.ZodType<Four$Outbound, z.ZodTypeDef, Four> =
1984
- z.object({
1985
- type: z.literal("file"),
1986
- cacheControl: z.lazy(() => CacheControl$outboundSchema).optional(),
1987
- file: components.FileContentPartSchema$outboundSchema,
1988
- }).transform((v) => {
1989
- return remap$(v, {
1990
- cacheControl: "cache_control",
1991
- });
2064
+ export const DeploymentGetConfig24$outboundSchema: z.ZodType<
2065
+ DeploymentGetConfig24$Outbound,
2066
+ z.ZodTypeDef,
2067
+ DeploymentGetConfig24
2068
+ > = z.object({
2069
+ type: z.literal("file"),
2070
+ cacheControl: z.lazy(() => DeploymentGetConfig2CacheControl$outboundSchema)
2071
+ .optional(),
2072
+ file: components.FileContentPartSchema$outboundSchema,
2073
+ }).transform((v) => {
2074
+ return remap$(v, {
2075
+ cacheControl: "cache_control",
1992
2076
  });
2077
+ });
1993
2078
 
1994
- export function fourToJSON(four: Four): string {
1995
- return JSON.stringify(Four$outboundSchema.parse(four));
2079
+ export function deploymentGetConfig24ToJSON(
2080
+ deploymentGetConfig24: DeploymentGetConfig24,
2081
+ ): string {
2082
+ return JSON.stringify(
2083
+ DeploymentGetConfig24$outboundSchema.parse(deploymentGetConfig24),
2084
+ );
1996
2085
  }
1997
2086
 
1998
2087
  /** @internal */
1999
- export type Content2$Outbound =
2088
+ export type DeploymentGetConfigContent2$Outbound =
2000
2089
  | (components.TextContentPartSchema$Outbound & { type: "text" })
2001
2090
  | components.ImageContentPartSchema$Outbound
2002
2091
  | components.AudioContentPartSchema$Outbound
2003
- | Four$Outbound;
2092
+ | DeploymentGetConfig24$Outbound;
2004
2093
 
2005
2094
  /** @internal */
2006
- export const Content2$outboundSchema: z.ZodType<
2007
- Content2$Outbound,
2095
+ export const DeploymentGetConfigContent2$outboundSchema: z.ZodType<
2096
+ DeploymentGetConfigContent2$Outbound,
2008
2097
  z.ZodTypeDef,
2009
- Content2
2098
+ DeploymentGetConfigContent2
2010
2099
  > = z.union([
2011
2100
  components.TextContentPartSchema$outboundSchema.and(
2012
2101
  z.object({ type: z.literal("text") }),
2013
2102
  ),
2014
2103
  components.ImageContentPartSchema$outboundSchema,
2015
2104
  components.AudioContentPartSchema$outboundSchema,
2016
- z.lazy(() => Four$outboundSchema),
2105
+ z.lazy(() => DeploymentGetConfig24$outboundSchema),
2017
2106
  ]);
2018
2107
 
2019
- export function content2ToJSON(content2: Content2): string {
2020
- return JSON.stringify(Content2$outboundSchema.parse(content2));
2108
+ export function deploymentGetConfigContent2ToJSON(
2109
+ deploymentGetConfigContent2: DeploymentGetConfigContent2,
2110
+ ): string {
2111
+ return JSON.stringify(
2112
+ DeploymentGetConfigContent2$outboundSchema.parse(
2113
+ deploymentGetConfigContent2,
2114
+ ),
2115
+ );
2021
2116
  }
2022
2117
 
2023
2118
  /** @internal */
2024
- export type DeploymentGetConfigPrefixMessagesDeploymentsContent$Outbound =
2119
+ export type DeploymentGetConfigPrefixMessagesDeploymentsRequestContent$Outbound =
2025
2120
  | string
2026
2121
  | Array<
2027
2122
  | (components.TextContentPartSchema$Outbound & { type: "text" })
2028
2123
  | components.ImageContentPartSchema$Outbound
2029
2124
  | components.AudioContentPartSchema$Outbound
2030
- | Four$Outbound
2125
+ | DeploymentGetConfig24$Outbound
2031
2126
  >;
2032
2127
 
2033
2128
  /** @internal */
2034
- export const DeploymentGetConfigPrefixMessagesDeploymentsContent$outboundSchema:
2129
+ export const DeploymentGetConfigPrefixMessagesDeploymentsRequestContent$outboundSchema:
2035
2130
  z.ZodType<
2036
- DeploymentGetConfigPrefixMessagesDeploymentsContent$Outbound,
2131
+ DeploymentGetConfigPrefixMessagesDeploymentsRequestContent$Outbound,
2037
2132
  z.ZodTypeDef,
2038
- DeploymentGetConfigPrefixMessagesDeploymentsContent
2133
+ DeploymentGetConfigPrefixMessagesDeploymentsRequestContent
2039
2134
  > = z.union([
2040
2135
  z.string(),
2041
2136
  z.array(
@@ -2045,24 +2140,23 @@ export const DeploymentGetConfigPrefixMessagesDeploymentsContent$outboundSchema:
2045
2140
  ),
2046
2141
  components.ImageContentPartSchema$outboundSchema,
2047
2142
  components.AudioContentPartSchema$outboundSchema,
2048
- z.lazy(() => Four$outboundSchema),
2143
+ z.lazy(() => DeploymentGetConfig24$outboundSchema),
2049
2144
  ]),
2050
2145
  ),
2051
2146
  ]);
2052
2147
 
2053
- export function deploymentGetConfigPrefixMessagesDeploymentsContentToJSON(
2054
- deploymentGetConfigPrefixMessagesDeploymentsContent:
2055
- DeploymentGetConfigPrefixMessagesDeploymentsContent,
2148
+ export function deploymentGetConfigPrefixMessagesDeploymentsRequestContentToJSON(
2149
+ deploymentGetConfigPrefixMessagesDeploymentsRequestContent:
2150
+ DeploymentGetConfigPrefixMessagesDeploymentsRequestContent,
2056
2151
  ): string {
2057
2152
  return JSON.stringify(
2058
- DeploymentGetConfigPrefixMessagesDeploymentsContent$outboundSchema.parse(
2059
- deploymentGetConfigPrefixMessagesDeploymentsContent,
2060
- ),
2153
+ DeploymentGetConfigPrefixMessagesDeploymentsRequestContent$outboundSchema
2154
+ .parse(deploymentGetConfigPrefixMessagesDeploymentsRequestContent),
2061
2155
  );
2062
2156
  }
2063
2157
 
2064
2158
  /** @internal */
2065
- export type UserMessage$Outbound = {
2159
+ export type PrefixMessagesUserMessage$Outbound = {
2066
2160
  role: "user";
2067
2161
  name?: string | undefined;
2068
2162
  content:
@@ -2071,15 +2165,15 @@ export type UserMessage$Outbound = {
2071
2165
  | (components.TextContentPartSchema$Outbound & { type: "text" })
2072
2166
  | components.ImageContentPartSchema$Outbound
2073
2167
  | components.AudioContentPartSchema$Outbound
2074
- | Four$Outbound
2168
+ | DeploymentGetConfig24$Outbound
2075
2169
  >;
2076
2170
  };
2077
2171
 
2078
2172
  /** @internal */
2079
- export const UserMessage$outboundSchema: z.ZodType<
2080
- UserMessage$Outbound,
2173
+ export const PrefixMessagesUserMessage$outboundSchema: z.ZodType<
2174
+ PrefixMessagesUserMessage$Outbound,
2081
2175
  z.ZodTypeDef,
2082
- UserMessage
2176
+ PrefixMessagesUserMessage
2083
2177
  > = z.object({
2084
2178
  role: z.literal("user"),
2085
2179
  name: z.string().optional(),
@@ -2092,54 +2186,59 @@ export const UserMessage$outboundSchema: z.ZodType<
2092
2186
  ),
2093
2187
  components.ImageContentPartSchema$outboundSchema,
2094
2188
  components.AudioContentPartSchema$outboundSchema,
2095
- z.lazy(() => Four$outboundSchema),
2189
+ z.lazy(() => DeploymentGetConfig24$outboundSchema),
2096
2190
  ]),
2097
2191
  ),
2098
2192
  ]),
2099
2193
  });
2100
2194
 
2101
- export function userMessageToJSON(userMessage: UserMessage): string {
2102
- return JSON.stringify(UserMessage$outboundSchema.parse(userMessage));
2195
+ export function prefixMessagesUserMessageToJSON(
2196
+ prefixMessagesUserMessage: PrefixMessagesUserMessage,
2197
+ ): string {
2198
+ return JSON.stringify(
2199
+ PrefixMessagesUserMessage$outboundSchema.parse(prefixMessagesUserMessage),
2200
+ );
2103
2201
  }
2104
2202
 
2105
2203
  /** @internal */
2106
- export type DeploymentGetConfigPrefixMessagesContent$Outbound =
2204
+ export type DeploymentGetConfigPrefixMessagesDeploymentsContent$Outbound =
2107
2205
  | string
2108
2206
  | Array<components.TextContentPartSchema$Outbound>;
2109
2207
 
2110
2208
  /** @internal */
2111
- export const DeploymentGetConfigPrefixMessagesContent$outboundSchema: z.ZodType<
2112
- DeploymentGetConfigPrefixMessagesContent$Outbound,
2113
- z.ZodTypeDef,
2114
- DeploymentGetConfigPrefixMessagesContent
2115
- > = z.union([
2116
- z.string(),
2117
- z.array(components.TextContentPartSchema$outboundSchema),
2118
- ]);
2209
+ export const DeploymentGetConfigPrefixMessagesDeploymentsContent$outboundSchema:
2210
+ z.ZodType<
2211
+ DeploymentGetConfigPrefixMessagesDeploymentsContent$Outbound,
2212
+ z.ZodTypeDef,
2213
+ DeploymentGetConfigPrefixMessagesDeploymentsContent
2214
+ > = z.union([
2215
+ z.string(),
2216
+ z.array(components.TextContentPartSchema$outboundSchema),
2217
+ ]);
2119
2218
 
2120
- export function deploymentGetConfigPrefixMessagesContentToJSON(
2121
- deploymentGetConfigPrefixMessagesContent:
2122
- DeploymentGetConfigPrefixMessagesContent,
2219
+ export function deploymentGetConfigPrefixMessagesDeploymentsContentToJSON(
2220
+ deploymentGetConfigPrefixMessagesDeploymentsContent:
2221
+ DeploymentGetConfigPrefixMessagesDeploymentsContent,
2123
2222
  ): string {
2124
2223
  return JSON.stringify(
2125
- DeploymentGetConfigPrefixMessagesContent$outboundSchema.parse(
2126
- deploymentGetConfigPrefixMessagesContent,
2224
+ DeploymentGetConfigPrefixMessagesDeploymentsContent$outboundSchema.parse(
2225
+ deploymentGetConfigPrefixMessagesDeploymentsContent,
2127
2226
  ),
2128
2227
  );
2129
2228
  }
2130
2229
 
2131
2230
  /** @internal */
2132
- export type DeveloperMessage$Outbound = {
2231
+ export type PrefixMessagesDeveloperMessage$Outbound = {
2133
2232
  role: "developer";
2134
2233
  content: string | Array<components.TextContentPartSchema$Outbound>;
2135
2234
  name?: string | undefined;
2136
2235
  };
2137
2236
 
2138
2237
  /** @internal */
2139
- export const DeveloperMessage$outboundSchema: z.ZodType<
2140
- DeveloperMessage$Outbound,
2238
+ export const PrefixMessagesDeveloperMessage$outboundSchema: z.ZodType<
2239
+ PrefixMessagesDeveloperMessage$Outbound,
2141
2240
  z.ZodTypeDef,
2142
- DeveloperMessage
2241
+ PrefixMessagesDeveloperMessage
2143
2242
  > = z.object({
2144
2243
  role: z.literal("developer"),
2145
2244
  content: z.union([
@@ -2149,49 +2248,54 @@ export const DeveloperMessage$outboundSchema: z.ZodType<
2149
2248
  name: z.string().optional(),
2150
2249
  });
2151
2250
 
2152
- export function developerMessageToJSON(
2153
- developerMessage: DeveloperMessage,
2251
+ export function prefixMessagesDeveloperMessageToJSON(
2252
+ prefixMessagesDeveloperMessage: PrefixMessagesDeveloperMessage,
2154
2253
  ): string {
2155
2254
  return JSON.stringify(
2156
- DeveloperMessage$outboundSchema.parse(developerMessage),
2255
+ PrefixMessagesDeveloperMessage$outboundSchema.parse(
2256
+ prefixMessagesDeveloperMessage,
2257
+ ),
2157
2258
  );
2158
2259
  }
2159
2260
 
2160
2261
  /** @internal */
2161
- export type PrefixMessagesContent$Outbound =
2262
+ export type DeploymentGetConfigPrefixMessagesContent$Outbound =
2162
2263
  | string
2163
2264
  | Array<components.TextContentPartSchema$Outbound>;
2164
2265
 
2165
2266
  /** @internal */
2166
- export const PrefixMessagesContent$outboundSchema: z.ZodType<
2167
- PrefixMessagesContent$Outbound,
2267
+ export const DeploymentGetConfigPrefixMessagesContent$outboundSchema: z.ZodType<
2268
+ DeploymentGetConfigPrefixMessagesContent$Outbound,
2168
2269
  z.ZodTypeDef,
2169
- PrefixMessagesContent
2270
+ DeploymentGetConfigPrefixMessagesContent
2170
2271
  > = z.union([
2171
2272
  z.string(),
2172
2273
  z.array(components.TextContentPartSchema$outboundSchema),
2173
2274
  ]);
2174
2275
 
2175
- export function prefixMessagesContentToJSON(
2176
- prefixMessagesContent: PrefixMessagesContent,
2276
+ export function deploymentGetConfigPrefixMessagesContentToJSON(
2277
+ deploymentGetConfigPrefixMessagesContent:
2278
+ DeploymentGetConfigPrefixMessagesContent,
2177
2279
  ): string {
2178
2280
  return JSON.stringify(
2179
- PrefixMessagesContent$outboundSchema.parse(prefixMessagesContent),
2281
+ DeploymentGetConfigPrefixMessagesContent$outboundSchema.parse(
2282
+ deploymentGetConfigPrefixMessagesContent,
2283
+ ),
2180
2284
  );
2181
2285
  }
2182
2286
 
2183
2287
  /** @internal */
2184
- export type SystemMessage$Outbound = {
2288
+ export type PrefixMessagesSystemMessage$Outbound = {
2185
2289
  role: "system";
2186
2290
  content: string | Array<components.TextContentPartSchema$Outbound>;
2187
2291
  name?: string | undefined;
2188
2292
  };
2189
2293
 
2190
2294
  /** @internal */
2191
- export const SystemMessage$outboundSchema: z.ZodType<
2192
- SystemMessage$Outbound,
2295
+ export const PrefixMessagesSystemMessage$outboundSchema: z.ZodType<
2296
+ PrefixMessagesSystemMessage$Outbound,
2193
2297
  z.ZodTypeDef,
2194
- SystemMessage
2298
+ PrefixMessagesSystemMessage
2195
2299
  > = z.object({
2196
2300
  role: z.literal("system"),
2197
2301
  content: z.union([
@@ -2201,129 +2305,145 @@ export const SystemMessage$outboundSchema: z.ZodType<
2201
2305
  name: z.string().optional(),
2202
2306
  });
2203
2307
 
2204
- export function systemMessageToJSON(systemMessage: SystemMessage): string {
2205
- return JSON.stringify(SystemMessage$outboundSchema.parse(systemMessage));
2308
+ export function prefixMessagesSystemMessageToJSON(
2309
+ prefixMessagesSystemMessage: PrefixMessagesSystemMessage,
2310
+ ): string {
2311
+ return JSON.stringify(
2312
+ PrefixMessagesSystemMessage$outboundSchema.parse(
2313
+ prefixMessagesSystemMessage,
2314
+ ),
2315
+ );
2206
2316
  }
2207
2317
 
2208
2318
  /** @internal */
2209
- export type PrefixMessages$Outbound =
2210
- | SystemMessage$Outbound
2211
- | DeveloperMessage$Outbound
2212
- | UserMessage$Outbound
2213
- | AssistantMessage$Outbound
2214
- | ToolMessage$Outbound;
2319
+ export type DeploymentGetConfigPrefixMessages$Outbound =
2320
+ | PrefixMessagesSystemMessage$Outbound
2321
+ | PrefixMessagesDeveloperMessage$Outbound
2322
+ | PrefixMessagesUserMessage$Outbound
2323
+ | PrefixMessagesAssistantMessage$Outbound
2324
+ | PrefixMessagesToolMessage$Outbound;
2215
2325
 
2216
2326
  /** @internal */
2217
- export const PrefixMessages$outboundSchema: z.ZodType<
2218
- PrefixMessages$Outbound,
2327
+ export const DeploymentGetConfigPrefixMessages$outboundSchema: z.ZodType<
2328
+ DeploymentGetConfigPrefixMessages$Outbound,
2219
2329
  z.ZodTypeDef,
2220
- PrefixMessages
2330
+ DeploymentGetConfigPrefixMessages
2221
2331
  > = z.union([
2222
- z.lazy(() => SystemMessage$outboundSchema),
2223
- z.lazy(() => DeveloperMessage$outboundSchema),
2224
- z.lazy(() => UserMessage$outboundSchema),
2225
- z.lazy(() => AssistantMessage$outboundSchema),
2226
- z.lazy(() => ToolMessage$outboundSchema),
2332
+ z.lazy(() => PrefixMessagesSystemMessage$outboundSchema),
2333
+ z.lazy(() => PrefixMessagesDeveloperMessage$outboundSchema),
2334
+ z.lazy(() => PrefixMessagesUserMessage$outboundSchema),
2335
+ z.lazy(() => PrefixMessagesAssistantMessage$outboundSchema),
2336
+ z.lazy(() => PrefixMessagesToolMessage$outboundSchema),
2227
2337
  ]);
2228
2338
 
2229
- export function prefixMessagesToJSON(prefixMessages: PrefixMessages): string {
2230
- return JSON.stringify(PrefixMessages$outboundSchema.parse(prefixMessages));
2339
+ export function deploymentGetConfigPrefixMessagesToJSON(
2340
+ deploymentGetConfigPrefixMessages: DeploymentGetConfigPrefixMessages,
2341
+ ): string {
2342
+ return JSON.stringify(
2343
+ DeploymentGetConfigPrefixMessages$outboundSchema.parse(
2344
+ deploymentGetConfigPrefixMessages,
2345
+ ),
2346
+ );
2231
2347
  }
2232
2348
 
2233
2349
  /** @internal */
2234
- export type DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2$Outbound =
2350
+ export type DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages52$Outbound =
2235
2351
  components.TextContentPartSchema$Outbound;
2236
2352
 
2237
2353
  /** @internal */
2238
- export const DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2$outboundSchema:
2354
+ export const DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages52$outboundSchema:
2239
2355
  z.ZodType<
2240
- DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2$Outbound,
2356
+ DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages52$Outbound,
2241
2357
  z.ZodTypeDef,
2242
- DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2
2358
+ DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages52
2243
2359
  > = components.TextContentPartSchema$outboundSchema;
2244
2360
 
2245
- export function deploymentGetConfigContentDeploymentsRequestRequestBodyMessages2ToJSON(
2246
- deploymentGetConfigContentDeploymentsRequestRequestBodyMessages2:
2247
- DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2,
2361
+ export function deploymentGetConfigContentDeploymentsRequestRequestBodyMessages52ToJSON(
2362
+ deploymentGetConfigContentDeploymentsRequestRequestBodyMessages52:
2363
+ DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages52,
2248
2364
  ): string {
2249
2365
  return JSON.stringify(
2250
- DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2$outboundSchema
2251
- .parse(deploymentGetConfigContentDeploymentsRequestRequestBodyMessages2),
2366
+ DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages52$outboundSchema
2367
+ .parse(deploymentGetConfigContentDeploymentsRequestRequestBodyMessages52),
2252
2368
  );
2253
2369
  }
2254
2370
 
2255
2371
  /** @internal */
2256
- export type DeploymentGetConfigMessagesDeploymentsRequestRequestBodyContent$Outbound =
2372
+ export type DeploymentGetConfigMessagesDeploymentsRequestRequestBody5Content$Outbound =
2257
2373
  | string
2258
2374
  | Array<components.TextContentPartSchema$Outbound>;
2259
2375
 
2260
2376
  /** @internal */
2261
- export const DeploymentGetConfigMessagesDeploymentsRequestRequestBodyContent$outboundSchema:
2377
+ export const DeploymentGetConfigMessagesDeploymentsRequestRequestBody5Content$outboundSchema:
2262
2378
  z.ZodType<
2263
- DeploymentGetConfigMessagesDeploymentsRequestRequestBodyContent$Outbound,
2379
+ DeploymentGetConfigMessagesDeploymentsRequestRequestBody5Content$Outbound,
2264
2380
  z.ZodTypeDef,
2265
- DeploymentGetConfigMessagesDeploymentsRequestRequestBodyContent
2381
+ DeploymentGetConfigMessagesDeploymentsRequestRequestBody5Content
2266
2382
  > = z.union([
2267
2383
  z.string(),
2268
2384
  z.array(components.TextContentPartSchema$outboundSchema),
2269
2385
  ]);
2270
2386
 
2271
- export function deploymentGetConfigMessagesDeploymentsRequestRequestBodyContentToJSON(
2272
- deploymentGetConfigMessagesDeploymentsRequestRequestBodyContent:
2273
- DeploymentGetConfigMessagesDeploymentsRequestRequestBodyContent,
2387
+ export function deploymentGetConfigMessagesDeploymentsRequestRequestBody5ContentToJSON(
2388
+ deploymentGetConfigMessagesDeploymentsRequestRequestBody5Content:
2389
+ DeploymentGetConfigMessagesDeploymentsRequestRequestBody5Content,
2274
2390
  ): string {
2275
2391
  return JSON.stringify(
2276
- DeploymentGetConfigMessagesDeploymentsRequestRequestBodyContent$outboundSchema
2277
- .parse(deploymentGetConfigMessagesDeploymentsRequestRequestBodyContent),
2392
+ DeploymentGetConfigMessagesDeploymentsRequestRequestBody5Content$outboundSchema
2393
+ .parse(deploymentGetConfigMessagesDeploymentsRequestRequestBody5Content),
2278
2394
  );
2279
2395
  }
2280
2396
 
2281
2397
  /** @internal */
2282
- export const DeploymentGetConfigMessagesType$outboundSchema: z.ZodNativeEnum<
2283
- typeof DeploymentGetConfigMessagesType
2284
- > = z.nativeEnum(DeploymentGetConfigMessagesType);
2398
+ export const DeploymentGetConfigMessagesDeploymentsType$outboundSchema:
2399
+ z.ZodNativeEnum<typeof DeploymentGetConfigMessagesDeploymentsType> = z
2400
+ .nativeEnum(DeploymentGetConfigMessagesDeploymentsType);
2285
2401
 
2286
2402
  /** @internal */
2287
- export const MessagesTtl$outboundSchema: z.ZodNativeEnum<typeof MessagesTtl> = z
2288
- .nativeEnum(MessagesTtl);
2403
+ export const DeploymentGetConfigMessagesTtl$outboundSchema: z.ZodNativeEnum<
2404
+ typeof DeploymentGetConfigMessagesTtl
2405
+ > = z.nativeEnum(DeploymentGetConfigMessagesTtl);
2289
2406
 
2290
2407
  /** @internal */
2291
- export type MessagesCacheControl$Outbound = {
2408
+ export type DeploymentGetConfigMessagesCacheControl$Outbound = {
2292
2409
  type: string;
2293
2410
  ttl: string;
2294
2411
  };
2295
2412
 
2296
2413
  /** @internal */
2297
- export const MessagesCacheControl$outboundSchema: z.ZodType<
2298
- MessagesCacheControl$Outbound,
2414
+ export const DeploymentGetConfigMessagesCacheControl$outboundSchema: z.ZodType<
2415
+ DeploymentGetConfigMessagesCacheControl$Outbound,
2299
2416
  z.ZodTypeDef,
2300
- MessagesCacheControl
2417
+ DeploymentGetConfigMessagesCacheControl
2301
2418
  > = z.object({
2302
- type: DeploymentGetConfigMessagesType$outboundSchema,
2303
- ttl: MessagesTtl$outboundSchema.default("5m"),
2419
+ type: DeploymentGetConfigMessagesDeploymentsType$outboundSchema,
2420
+ ttl: DeploymentGetConfigMessagesTtl$outboundSchema.default("5m"),
2304
2421
  });
2305
2422
 
2306
- export function messagesCacheControlToJSON(
2307
- messagesCacheControl: MessagesCacheControl,
2423
+ export function deploymentGetConfigMessagesCacheControlToJSON(
2424
+ deploymentGetConfigMessagesCacheControl:
2425
+ DeploymentGetConfigMessagesCacheControl,
2308
2426
  ): string {
2309
2427
  return JSON.stringify(
2310
- MessagesCacheControl$outboundSchema.parse(messagesCacheControl),
2428
+ DeploymentGetConfigMessagesCacheControl$outboundSchema.parse(
2429
+ deploymentGetConfigMessagesCacheControl,
2430
+ ),
2311
2431
  );
2312
2432
  }
2313
2433
 
2314
2434
  /** @internal */
2315
- export type MessagesToolMessage$Outbound = {
2435
+ export type DeploymentGetConfigMessagesToolMessage$Outbound = {
2316
2436
  role: "tool";
2317
2437
  content: string | Array<components.TextContentPartSchema$Outbound>;
2318
2438
  tool_call_id: string | null;
2319
- cache_control?: MessagesCacheControl$Outbound | undefined;
2439
+ cache_control?: DeploymentGetConfigMessagesCacheControl$Outbound | undefined;
2320
2440
  };
2321
2441
 
2322
2442
  /** @internal */
2323
- export const MessagesToolMessage$outboundSchema: z.ZodType<
2324
- MessagesToolMessage$Outbound,
2443
+ export const DeploymentGetConfigMessagesToolMessage$outboundSchema: z.ZodType<
2444
+ DeploymentGetConfigMessagesToolMessage$Outbound,
2325
2445
  z.ZodTypeDef,
2326
- MessagesToolMessage
2446
+ DeploymentGetConfigMessagesToolMessage
2327
2447
  > = z.object({
2328
2448
  role: z.literal("tool"),
2329
2449
  content: z.union([
@@ -2331,7 +2451,9 @@ export const MessagesToolMessage$outboundSchema: z.ZodType<
2331
2451
  z.array(components.TextContentPartSchema$outboundSchema),
2332
2452
  ]),
2333
2453
  toolCallId: z.nullable(z.string()),
2334
- cacheControl: z.lazy(() => MessagesCacheControl$outboundSchema).optional(),
2454
+ cacheControl: z.lazy(() =>
2455
+ DeploymentGetConfigMessagesCacheControl$outboundSchema
2456
+ ).optional(),
2335
2457
  }).transform((v) => {
2336
2458
  return remap$(v, {
2337
2459
  toolCallId: "tool_call_id",
@@ -2339,27 +2461,30 @@ export const MessagesToolMessage$outboundSchema: z.ZodType<
2339
2461
  });
2340
2462
  });
2341
2463
 
2342
- export function messagesToolMessageToJSON(
2343
- messagesToolMessage: MessagesToolMessage,
2464
+ export function deploymentGetConfigMessagesToolMessageToJSON(
2465
+ deploymentGetConfigMessagesToolMessage:
2466
+ DeploymentGetConfigMessagesToolMessage,
2344
2467
  ): string {
2345
2468
  return JSON.stringify(
2346
- MessagesToolMessage$outboundSchema.parse(messagesToolMessage),
2469
+ DeploymentGetConfigMessagesToolMessage$outboundSchema.parse(
2470
+ deploymentGetConfigMessagesToolMessage,
2471
+ ),
2347
2472
  );
2348
2473
  }
2349
2474
 
2350
2475
  /** @internal */
2351
- export type DeploymentGetConfigContentDeploymentsRequestRequestBody2$Outbound =
2476
+ export type DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2$Outbound =
2352
2477
  | (components.TextContentPartSchema$Outbound & { type: "text" })
2353
2478
  | components.RefusalPartSchema$Outbound
2354
2479
  | components.ReasoningPartSchema$Outbound
2355
2480
  | components.RedactedReasoningPartSchema$Outbound;
2356
2481
 
2357
2482
  /** @internal */
2358
- export const DeploymentGetConfigContentDeploymentsRequestRequestBody2$outboundSchema:
2483
+ export const DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2$outboundSchema:
2359
2484
  z.ZodType<
2360
- DeploymentGetConfigContentDeploymentsRequestRequestBody2$Outbound,
2485
+ DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2$Outbound,
2361
2486
  z.ZodTypeDef,
2362
- DeploymentGetConfigContentDeploymentsRequestRequestBody2
2487
+ DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2
2363
2488
  > = z.union([
2364
2489
  components.TextContentPartSchema$outboundSchema.and(
2365
2490
  z.object({ type: z.literal("text") }),
@@ -2369,18 +2494,18 @@ export const DeploymentGetConfigContentDeploymentsRequestRequestBody2$outboundSc
2369
2494
  components.RedactedReasoningPartSchema$outboundSchema,
2370
2495
  ]);
2371
2496
 
2372
- export function deploymentGetConfigContentDeploymentsRequestRequestBody2ToJSON(
2373
- deploymentGetConfigContentDeploymentsRequestRequestBody2:
2374
- DeploymentGetConfigContentDeploymentsRequestRequestBody2,
2497
+ export function deploymentGetConfigContentDeploymentsRequestRequestBodyMessages2ToJSON(
2498
+ deploymentGetConfigContentDeploymentsRequestRequestBodyMessages2:
2499
+ DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2,
2375
2500
  ): string {
2376
2501
  return JSON.stringify(
2377
- DeploymentGetConfigContentDeploymentsRequestRequestBody2$outboundSchema
2378
- .parse(deploymentGetConfigContentDeploymentsRequestRequestBody2),
2502
+ DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2$outboundSchema
2503
+ .parse(deploymentGetConfigContentDeploymentsRequestRequestBodyMessages2),
2379
2504
  );
2380
2505
  }
2381
2506
 
2382
2507
  /** @internal */
2383
- export type DeploymentGetConfigMessagesDeploymentsRequestContent$Outbound =
2508
+ export type DeploymentGetConfigMessagesDeploymentsRequestRequestBodyContent$Outbound =
2384
2509
  | string
2385
2510
  | Array<
2386
2511
  | (components.TextContentPartSchema$Outbound & { type: "text" })
@@ -2390,11 +2515,11 @@ export type DeploymentGetConfigMessagesDeploymentsRequestContent$Outbound =
2390
2515
  >;
2391
2516
 
2392
2517
  /** @internal */
2393
- export const DeploymentGetConfigMessagesDeploymentsRequestContent$outboundSchema:
2518
+ export const DeploymentGetConfigMessagesDeploymentsRequestRequestBodyContent$outboundSchema:
2394
2519
  z.ZodType<
2395
- DeploymentGetConfigMessagesDeploymentsRequestContent$Outbound,
2520
+ DeploymentGetConfigMessagesDeploymentsRequestRequestBodyContent$Outbound,
2396
2521
  z.ZodTypeDef,
2397
- DeploymentGetConfigMessagesDeploymentsRequestContent
2522
+ DeploymentGetConfigMessagesDeploymentsRequestRequestBodyContent
2398
2523
  > = z.union([
2399
2524
  z.string(),
2400
2525
  z.array(
@@ -2409,80 +2534,88 @@ export const DeploymentGetConfigMessagesDeploymentsRequestContent$outboundSchema
2409
2534
  ),
2410
2535
  ]);
2411
2536
 
2412
- export function deploymentGetConfigMessagesDeploymentsRequestContentToJSON(
2413
- deploymentGetConfigMessagesDeploymentsRequestContent:
2414
- DeploymentGetConfigMessagesDeploymentsRequestContent,
2537
+ export function deploymentGetConfigMessagesDeploymentsRequestRequestBodyContentToJSON(
2538
+ deploymentGetConfigMessagesDeploymentsRequestRequestBodyContent:
2539
+ DeploymentGetConfigMessagesDeploymentsRequestRequestBodyContent,
2415
2540
  ): string {
2416
2541
  return JSON.stringify(
2417
- DeploymentGetConfigMessagesDeploymentsRequestContent$outboundSchema.parse(
2418
- deploymentGetConfigMessagesDeploymentsRequestContent,
2419
- ),
2542
+ DeploymentGetConfigMessagesDeploymentsRequestRequestBodyContent$outboundSchema
2543
+ .parse(deploymentGetConfigMessagesDeploymentsRequestRequestBodyContent),
2420
2544
  );
2421
2545
  }
2422
2546
 
2423
2547
  /** @internal */
2424
- export type MessagesAudio$Outbound = {
2548
+ export type DeploymentGetConfigMessagesAudio$Outbound = {
2425
2549
  id: string;
2426
2550
  };
2427
2551
 
2428
2552
  /** @internal */
2429
- export const MessagesAudio$outboundSchema: z.ZodType<
2430
- MessagesAudio$Outbound,
2553
+ export const DeploymentGetConfigMessagesAudio$outboundSchema: z.ZodType<
2554
+ DeploymentGetConfigMessagesAudio$Outbound,
2431
2555
  z.ZodTypeDef,
2432
- MessagesAudio
2556
+ DeploymentGetConfigMessagesAudio
2433
2557
  > = z.object({
2434
2558
  id: z.string(),
2435
2559
  });
2436
2560
 
2437
- export function messagesAudioToJSON(messagesAudio: MessagesAudio): string {
2438
- return JSON.stringify(MessagesAudio$outboundSchema.parse(messagesAudio));
2561
+ export function deploymentGetConfigMessagesAudioToJSON(
2562
+ deploymentGetConfigMessagesAudio: DeploymentGetConfigMessagesAudio,
2563
+ ): string {
2564
+ return JSON.stringify(
2565
+ DeploymentGetConfigMessagesAudio$outboundSchema.parse(
2566
+ deploymentGetConfigMessagesAudio,
2567
+ ),
2568
+ );
2439
2569
  }
2440
2570
 
2441
2571
  /** @internal */
2442
- export const MessagesType$outboundSchema: z.ZodNativeEnum<typeof MessagesType> =
2443
- z.nativeEnum(MessagesType);
2572
+ export const DeploymentGetConfigMessagesType$outboundSchema: z.ZodNativeEnum<
2573
+ typeof DeploymentGetConfigMessagesType
2574
+ > = z.nativeEnum(DeploymentGetConfigMessagesType);
2444
2575
 
2445
2576
  /** @internal */
2446
- export type MessagesFunction$Outbound = {
2577
+ export type DeploymentGetConfigMessagesFunction$Outbound = {
2447
2578
  name?: string | undefined;
2448
2579
  arguments?: string | undefined;
2449
2580
  };
2450
2581
 
2451
2582
  /** @internal */
2452
- export const MessagesFunction$outboundSchema: z.ZodType<
2453
- MessagesFunction$Outbound,
2583
+ export const DeploymentGetConfigMessagesFunction$outboundSchema: z.ZodType<
2584
+ DeploymentGetConfigMessagesFunction$Outbound,
2454
2585
  z.ZodTypeDef,
2455
- MessagesFunction
2586
+ DeploymentGetConfigMessagesFunction
2456
2587
  > = z.object({
2457
2588
  name: z.string().optional(),
2458
2589
  arguments: z.string().optional(),
2459
2590
  });
2460
2591
 
2461
- export function messagesFunctionToJSON(
2462
- messagesFunction: MessagesFunction,
2592
+ export function deploymentGetConfigMessagesFunctionToJSON(
2593
+ deploymentGetConfigMessagesFunction: DeploymentGetConfigMessagesFunction,
2463
2594
  ): string {
2464
2595
  return JSON.stringify(
2465
- MessagesFunction$outboundSchema.parse(messagesFunction),
2596
+ DeploymentGetConfigMessagesFunction$outboundSchema.parse(
2597
+ deploymentGetConfigMessagesFunction,
2598
+ ),
2466
2599
  );
2467
2600
  }
2468
2601
 
2469
2602
  /** @internal */
2470
- export type MessagesToolCalls$Outbound = {
2603
+ export type DeploymentGetConfigMessagesToolCalls$Outbound = {
2471
2604
  id: string;
2472
2605
  type: string;
2473
- function: MessagesFunction$Outbound;
2606
+ function: DeploymentGetConfigMessagesFunction$Outbound;
2474
2607
  thought_signature?: string | undefined;
2475
2608
  };
2476
2609
 
2477
2610
  /** @internal */
2478
- export const MessagesToolCalls$outboundSchema: z.ZodType<
2479
- MessagesToolCalls$Outbound,
2611
+ export const DeploymentGetConfigMessagesToolCalls$outboundSchema: z.ZodType<
2612
+ DeploymentGetConfigMessagesToolCalls$Outbound,
2480
2613
  z.ZodTypeDef,
2481
- MessagesToolCalls
2614
+ DeploymentGetConfigMessagesToolCalls
2482
2615
  > = z.object({
2483
2616
  id: z.string(),
2484
- type: MessagesType$outboundSchema,
2485
- function: z.lazy(() => MessagesFunction$outboundSchema),
2617
+ type: DeploymentGetConfigMessagesType$outboundSchema,
2618
+ function: z.lazy(() => DeploymentGetConfigMessagesFunction$outboundSchema),
2486
2619
  thoughtSignature: z.string().optional(),
2487
2620
  }).transform((v) => {
2488
2621
  return remap$(v, {
@@ -2490,16 +2623,18 @@ export const MessagesToolCalls$outboundSchema: z.ZodType<
2490
2623
  });
2491
2624
  });
2492
2625
 
2493
- export function messagesToolCallsToJSON(
2494
- messagesToolCalls: MessagesToolCalls,
2626
+ export function deploymentGetConfigMessagesToolCallsToJSON(
2627
+ deploymentGetConfigMessagesToolCalls: DeploymentGetConfigMessagesToolCalls,
2495
2628
  ): string {
2496
2629
  return JSON.stringify(
2497
- MessagesToolCalls$outboundSchema.parse(messagesToolCalls),
2630
+ DeploymentGetConfigMessagesToolCalls$outboundSchema.parse(
2631
+ deploymentGetConfigMessagesToolCalls,
2632
+ ),
2498
2633
  );
2499
2634
  }
2500
2635
 
2501
2636
  /** @internal */
2502
- export type MessagesAssistantMessage$Outbound = {
2637
+ export type DeploymentGetConfigMessagesAssistantMessage$Outbound = {
2503
2638
  content?:
2504
2639
  | string
2505
2640
  | Array<
@@ -2513,47 +2648,55 @@ export type MessagesAssistantMessage$Outbound = {
2513
2648
  refusal?: string | null | undefined;
2514
2649
  role: "assistant";
2515
2650
  name?: string | undefined;
2516
- audio?: MessagesAudio$Outbound | null | undefined;
2517
- tool_calls?: Array<MessagesToolCalls$Outbound> | undefined;
2651
+ audio?: DeploymentGetConfigMessagesAudio$Outbound | null | undefined;
2652
+ tool_calls?: Array<DeploymentGetConfigMessagesToolCalls$Outbound> | undefined;
2518
2653
  };
2519
2654
 
2520
2655
  /** @internal */
2521
- export const MessagesAssistantMessage$outboundSchema: z.ZodType<
2522
- MessagesAssistantMessage$Outbound,
2523
- z.ZodTypeDef,
2524
- MessagesAssistantMessage
2525
- > = z.object({
2526
- content: z.nullable(
2527
- z.union([
2528
- z.string(),
2529
- z.array(
2530
- z.union([
2531
- components.TextContentPartSchema$outboundSchema.and(
2532
- z.object({ type: z.literal("text") }),
2533
- ),
2534
- components.RefusalPartSchema$outboundSchema,
2535
- components.ReasoningPartSchema$outboundSchema,
2536
- components.RedactedReasoningPartSchema$outboundSchema,
2537
- ]),
2538
- ),
2539
- ]),
2540
- ).optional(),
2541
- refusal: z.nullable(z.string()).optional(),
2542
- role: z.literal("assistant"),
2543
- name: z.string().optional(),
2544
- audio: z.nullable(z.lazy(() => MessagesAudio$outboundSchema)).optional(),
2545
- toolCalls: z.array(z.lazy(() => MessagesToolCalls$outboundSchema)).optional(),
2546
- }).transform((v) => {
2547
- return remap$(v, {
2548
- toolCalls: "tool_calls",
2656
+ export const DeploymentGetConfigMessagesAssistantMessage$outboundSchema:
2657
+ z.ZodType<
2658
+ DeploymentGetConfigMessagesAssistantMessage$Outbound,
2659
+ z.ZodTypeDef,
2660
+ DeploymentGetConfigMessagesAssistantMessage
2661
+ > = z.object({
2662
+ content: z.nullable(
2663
+ z.union([
2664
+ z.string(),
2665
+ z.array(
2666
+ z.union([
2667
+ components.TextContentPartSchema$outboundSchema.and(
2668
+ z.object({ type: z.literal("text") }),
2669
+ ),
2670
+ components.RefusalPartSchema$outboundSchema,
2671
+ components.ReasoningPartSchema$outboundSchema,
2672
+ components.RedactedReasoningPartSchema$outboundSchema,
2673
+ ]),
2674
+ ),
2675
+ ]),
2676
+ ).optional(),
2677
+ refusal: z.nullable(z.string()).optional(),
2678
+ role: z.literal("assistant"),
2679
+ name: z.string().optional(),
2680
+ audio: z.nullable(
2681
+ z.lazy(() => DeploymentGetConfigMessagesAudio$outboundSchema),
2682
+ ).optional(),
2683
+ toolCalls: z.array(
2684
+ z.lazy(() => DeploymentGetConfigMessagesToolCalls$outboundSchema),
2685
+ ).optional(),
2686
+ }).transform((v) => {
2687
+ return remap$(v, {
2688
+ toolCalls: "tool_calls",
2689
+ });
2549
2690
  });
2550
- });
2551
2691
 
2552
- export function messagesAssistantMessageToJSON(
2553
- messagesAssistantMessage: MessagesAssistantMessage,
2692
+ export function deploymentGetConfigMessagesAssistantMessageToJSON(
2693
+ deploymentGetConfigMessagesAssistantMessage:
2694
+ DeploymentGetConfigMessagesAssistantMessage,
2554
2695
  ): string {
2555
2696
  return JSON.stringify(
2556
- MessagesAssistantMessage$outboundSchema.parse(messagesAssistantMessage),
2697
+ DeploymentGetConfigMessagesAssistantMessage$outboundSchema.parse(
2698
+ deploymentGetConfigMessagesAssistantMessage,
2699
+ ),
2557
2700
  );
2558
2701
  }
2559
2702
 
@@ -2564,103 +2707,122 @@ export const DeploymentGetConfig2DeploymentsRequestRequestBodyType$outboundSchem
2564
2707
  > = z.nativeEnum(DeploymentGetConfig2DeploymentsRequestRequestBodyType);
2565
2708
 
2566
2709
  /** @internal */
2567
- export const TwoTtl$outboundSchema: z.ZodNativeEnum<typeof TwoTtl> = z
2568
- .nativeEnum(TwoTtl);
2710
+ export const DeploymentGetConfig2DeploymentsTtl$outboundSchema: z.ZodNativeEnum<
2711
+ typeof DeploymentGetConfig2DeploymentsTtl
2712
+ > = z.nativeEnum(DeploymentGetConfig2DeploymentsTtl);
2569
2713
 
2570
2714
  /** @internal */
2571
- export type TwoCacheControl$Outbound = {
2715
+ export type DeploymentGetConfig2DeploymentsCacheControl$Outbound = {
2572
2716
  type: string;
2573
2717
  ttl: string;
2574
2718
  };
2575
2719
 
2576
2720
  /** @internal */
2577
- export const TwoCacheControl$outboundSchema: z.ZodType<
2578
- TwoCacheControl$Outbound,
2579
- z.ZodTypeDef,
2580
- TwoCacheControl
2581
- > = z.object({
2582
- type: DeploymentGetConfig2DeploymentsRequestRequestBodyType$outboundSchema,
2583
- ttl: TwoTtl$outboundSchema.default("5m"),
2584
- });
2721
+ export const DeploymentGetConfig2DeploymentsCacheControl$outboundSchema:
2722
+ z.ZodType<
2723
+ DeploymentGetConfig2DeploymentsCacheControl$Outbound,
2724
+ z.ZodTypeDef,
2725
+ DeploymentGetConfig2DeploymentsCacheControl
2726
+ > = z.object({
2727
+ type: DeploymentGetConfig2DeploymentsRequestRequestBodyType$outboundSchema,
2728
+ ttl: DeploymentGetConfig2DeploymentsTtl$outboundSchema.default("5m"),
2729
+ });
2585
2730
 
2586
- export function twoCacheControlToJSON(
2587
- twoCacheControl: TwoCacheControl,
2731
+ export function deploymentGetConfig2DeploymentsCacheControlToJSON(
2732
+ deploymentGetConfig2DeploymentsCacheControl:
2733
+ DeploymentGetConfig2DeploymentsCacheControl,
2588
2734
  ): string {
2589
- return JSON.stringify(TwoCacheControl$outboundSchema.parse(twoCacheControl));
2735
+ return JSON.stringify(
2736
+ DeploymentGetConfig2DeploymentsCacheControl$outboundSchema.parse(
2737
+ deploymentGetConfig2DeploymentsCacheControl,
2738
+ ),
2739
+ );
2590
2740
  }
2591
2741
 
2592
2742
  /** @internal */
2593
- export type Two4$Outbound = {
2743
+ export type DeploymentGetConfig2Deployments4$Outbound = {
2594
2744
  type: "file";
2595
- cache_control?: TwoCacheControl$Outbound | undefined;
2745
+ cache_control?:
2746
+ | DeploymentGetConfig2DeploymentsCacheControl$Outbound
2747
+ | undefined;
2596
2748
  file: components.FileContentPartSchema$Outbound;
2597
2749
  };
2598
2750
 
2599
2751
  /** @internal */
2600
- export const Two4$outboundSchema: z.ZodType<Two4$Outbound, z.ZodTypeDef, Two4> =
2601
- z.object({
2602
- type: z.literal("file"),
2603
- cacheControl: z.lazy(() => TwoCacheControl$outboundSchema).optional(),
2604
- file: components.FileContentPartSchema$outboundSchema,
2605
- }).transform((v) => {
2606
- return remap$(v, {
2607
- cacheControl: "cache_control",
2608
- });
2752
+ export const DeploymentGetConfig2Deployments4$outboundSchema: z.ZodType<
2753
+ DeploymentGetConfig2Deployments4$Outbound,
2754
+ z.ZodTypeDef,
2755
+ DeploymentGetConfig2Deployments4
2756
+ > = z.object({
2757
+ type: z.literal("file"),
2758
+ cacheControl: z.lazy(() =>
2759
+ DeploymentGetConfig2DeploymentsCacheControl$outboundSchema
2760
+ ).optional(),
2761
+ file: components.FileContentPartSchema$outboundSchema,
2762
+ }).transform((v) => {
2763
+ return remap$(v, {
2764
+ cacheControl: "cache_control",
2609
2765
  });
2766
+ });
2610
2767
 
2611
- export function two4ToJSON(two4: Two4): string {
2612
- return JSON.stringify(Two4$outboundSchema.parse(two4));
2768
+ export function deploymentGetConfig2Deployments4ToJSON(
2769
+ deploymentGetConfig2Deployments4: DeploymentGetConfig2Deployments4,
2770
+ ): string {
2771
+ return JSON.stringify(
2772
+ DeploymentGetConfig2Deployments4$outboundSchema.parse(
2773
+ deploymentGetConfig2Deployments4,
2774
+ ),
2775
+ );
2613
2776
  }
2614
2777
 
2615
2778
  /** @internal */
2616
- export type DeploymentGetConfigContentDeploymentsRequest2$Outbound =
2779
+ export type DeploymentGetConfigContentDeploymentsRequestRequestBody2$Outbound =
2617
2780
  | (components.TextContentPartSchema$Outbound & { type: "text" })
2618
2781
  | components.ImageContentPartSchema$Outbound
2619
2782
  | components.AudioContentPartSchema$Outbound
2620
- | Two4$Outbound;
2783
+ | DeploymentGetConfig2Deployments4$Outbound;
2621
2784
 
2622
2785
  /** @internal */
2623
- export const DeploymentGetConfigContentDeploymentsRequest2$outboundSchema:
2786
+ export const DeploymentGetConfigContentDeploymentsRequestRequestBody2$outboundSchema:
2624
2787
  z.ZodType<
2625
- DeploymentGetConfigContentDeploymentsRequest2$Outbound,
2788
+ DeploymentGetConfigContentDeploymentsRequestRequestBody2$Outbound,
2626
2789
  z.ZodTypeDef,
2627
- DeploymentGetConfigContentDeploymentsRequest2
2790
+ DeploymentGetConfigContentDeploymentsRequestRequestBody2
2628
2791
  > = z.union([
2629
2792
  components.TextContentPartSchema$outboundSchema.and(
2630
2793
  z.object({ type: z.literal("text") }),
2631
2794
  ),
2632
2795
  components.ImageContentPartSchema$outboundSchema,
2633
2796
  components.AudioContentPartSchema$outboundSchema,
2634
- z.lazy(() => Two4$outboundSchema),
2797
+ z.lazy(() => DeploymentGetConfig2Deployments4$outboundSchema),
2635
2798
  ]);
2636
2799
 
2637
- export function deploymentGetConfigContentDeploymentsRequest2ToJSON(
2638
- deploymentGetConfigContentDeploymentsRequest2:
2639
- DeploymentGetConfigContentDeploymentsRequest2,
2800
+ export function deploymentGetConfigContentDeploymentsRequestRequestBody2ToJSON(
2801
+ deploymentGetConfigContentDeploymentsRequestRequestBody2:
2802
+ DeploymentGetConfigContentDeploymentsRequestRequestBody2,
2640
2803
  ): string {
2641
2804
  return JSON.stringify(
2642
- DeploymentGetConfigContentDeploymentsRequest2$outboundSchema.parse(
2643
- deploymentGetConfigContentDeploymentsRequest2,
2644
- ),
2805
+ DeploymentGetConfigContentDeploymentsRequestRequestBody2$outboundSchema
2806
+ .parse(deploymentGetConfigContentDeploymentsRequestRequestBody2),
2645
2807
  );
2646
2808
  }
2647
2809
 
2648
2810
  /** @internal */
2649
- export type DeploymentGetConfigMessagesDeploymentsContent$Outbound =
2811
+ export type DeploymentGetConfigMessagesDeploymentsRequestContent$Outbound =
2650
2812
  | string
2651
2813
  | Array<
2652
2814
  | (components.TextContentPartSchema$Outbound & { type: "text" })
2653
2815
  | components.ImageContentPartSchema$Outbound
2654
2816
  | components.AudioContentPartSchema$Outbound
2655
- | Two4$Outbound
2817
+ | DeploymentGetConfig2Deployments4$Outbound
2656
2818
  >;
2657
2819
 
2658
2820
  /** @internal */
2659
- export const DeploymentGetConfigMessagesDeploymentsContent$outboundSchema:
2821
+ export const DeploymentGetConfigMessagesDeploymentsRequestContent$outboundSchema:
2660
2822
  z.ZodType<
2661
- DeploymentGetConfigMessagesDeploymentsContent$Outbound,
2823
+ DeploymentGetConfigMessagesDeploymentsRequestContent$Outbound,
2662
2824
  z.ZodTypeDef,
2663
- DeploymentGetConfigMessagesDeploymentsContent
2825
+ DeploymentGetConfigMessagesDeploymentsRequestContent
2664
2826
  > = z.union([
2665
2827
  z.string(),
2666
2828
  z.array(
@@ -2670,24 +2832,24 @@ export const DeploymentGetConfigMessagesDeploymentsContent$outboundSchema:
2670
2832
  ),
2671
2833
  components.ImageContentPartSchema$outboundSchema,
2672
2834
  components.AudioContentPartSchema$outboundSchema,
2673
- z.lazy(() => Two4$outboundSchema),
2835
+ z.lazy(() => DeploymentGetConfig2Deployments4$outboundSchema),
2674
2836
  ]),
2675
2837
  ),
2676
2838
  ]);
2677
2839
 
2678
- export function deploymentGetConfigMessagesDeploymentsContentToJSON(
2679
- deploymentGetConfigMessagesDeploymentsContent:
2680
- DeploymentGetConfigMessagesDeploymentsContent,
2840
+ export function deploymentGetConfigMessagesDeploymentsRequestContentToJSON(
2841
+ deploymentGetConfigMessagesDeploymentsRequestContent:
2842
+ DeploymentGetConfigMessagesDeploymentsRequestContent,
2681
2843
  ): string {
2682
2844
  return JSON.stringify(
2683
- DeploymentGetConfigMessagesDeploymentsContent$outboundSchema.parse(
2684
- deploymentGetConfigMessagesDeploymentsContent,
2845
+ DeploymentGetConfigMessagesDeploymentsRequestContent$outboundSchema.parse(
2846
+ deploymentGetConfigMessagesDeploymentsRequestContent,
2685
2847
  ),
2686
2848
  );
2687
2849
  }
2688
2850
 
2689
2851
  /** @internal */
2690
- export type MessagesUserMessage$Outbound = {
2852
+ export type DeploymentGetConfigMessagesUserMessage$Outbound = {
2691
2853
  role: "user";
2692
2854
  name?: string | undefined;
2693
2855
  content:
@@ -2696,15 +2858,15 @@ export type MessagesUserMessage$Outbound = {
2696
2858
  | (components.TextContentPartSchema$Outbound & { type: "text" })
2697
2859
  | components.ImageContentPartSchema$Outbound
2698
2860
  | components.AudioContentPartSchema$Outbound
2699
- | Two4$Outbound
2861
+ | DeploymentGetConfig2Deployments4$Outbound
2700
2862
  >;
2701
2863
  };
2702
2864
 
2703
2865
  /** @internal */
2704
- export const MessagesUserMessage$outboundSchema: z.ZodType<
2705
- MessagesUserMessage$Outbound,
2866
+ export const DeploymentGetConfigMessagesUserMessage$outboundSchema: z.ZodType<
2867
+ DeploymentGetConfigMessagesUserMessage$Outbound,
2706
2868
  z.ZodTypeDef,
2707
- MessagesUserMessage
2869
+ DeploymentGetConfigMessagesUserMessage
2708
2870
  > = z.object({
2709
2871
  role: z.literal("user"),
2710
2872
  name: z.string().optional(),
@@ -2717,107 +2879,120 @@ export const MessagesUserMessage$outboundSchema: z.ZodType<
2717
2879
  ),
2718
2880
  components.ImageContentPartSchema$outboundSchema,
2719
2881
  components.AudioContentPartSchema$outboundSchema,
2720
- z.lazy(() => Two4$outboundSchema),
2882
+ z.lazy(() => DeploymentGetConfig2Deployments4$outboundSchema),
2721
2883
  ]),
2722
2884
  ),
2723
2885
  ]),
2724
2886
  });
2725
2887
 
2726
- export function messagesUserMessageToJSON(
2727
- messagesUserMessage: MessagesUserMessage,
2888
+ export function deploymentGetConfigMessagesUserMessageToJSON(
2889
+ deploymentGetConfigMessagesUserMessage:
2890
+ DeploymentGetConfigMessagesUserMessage,
2728
2891
  ): string {
2729
2892
  return JSON.stringify(
2730
- MessagesUserMessage$outboundSchema.parse(messagesUserMessage),
2893
+ DeploymentGetConfigMessagesUserMessage$outboundSchema.parse(
2894
+ deploymentGetConfigMessagesUserMessage,
2895
+ ),
2731
2896
  );
2732
2897
  }
2733
2898
 
2734
2899
  /** @internal */
2735
- export type DeploymentGetConfigMessagesContent$Outbound =
2900
+ export type DeploymentGetConfigMessagesDeploymentsContent$Outbound =
2736
2901
  | string
2737
2902
  | Array<components.TextContentPartSchema$Outbound>;
2738
2903
 
2739
2904
  /** @internal */
2740
- export const DeploymentGetConfigMessagesContent$outboundSchema: z.ZodType<
2741
- DeploymentGetConfigMessagesContent$Outbound,
2742
- z.ZodTypeDef,
2743
- DeploymentGetConfigMessagesContent
2744
- > = z.union([
2745
- z.string(),
2746
- z.array(components.TextContentPartSchema$outboundSchema),
2747
- ]);
2905
+ export const DeploymentGetConfigMessagesDeploymentsContent$outboundSchema:
2906
+ z.ZodType<
2907
+ DeploymentGetConfigMessagesDeploymentsContent$Outbound,
2908
+ z.ZodTypeDef,
2909
+ DeploymentGetConfigMessagesDeploymentsContent
2910
+ > = z.union([
2911
+ z.string(),
2912
+ z.array(components.TextContentPartSchema$outboundSchema),
2913
+ ]);
2748
2914
 
2749
- export function deploymentGetConfigMessagesContentToJSON(
2750
- deploymentGetConfigMessagesContent: DeploymentGetConfigMessagesContent,
2915
+ export function deploymentGetConfigMessagesDeploymentsContentToJSON(
2916
+ deploymentGetConfigMessagesDeploymentsContent:
2917
+ DeploymentGetConfigMessagesDeploymentsContent,
2751
2918
  ): string {
2752
2919
  return JSON.stringify(
2753
- DeploymentGetConfigMessagesContent$outboundSchema.parse(
2754
- deploymentGetConfigMessagesContent,
2920
+ DeploymentGetConfigMessagesDeploymentsContent$outboundSchema.parse(
2921
+ deploymentGetConfigMessagesDeploymentsContent,
2755
2922
  ),
2756
2923
  );
2757
2924
  }
2758
2925
 
2759
2926
  /** @internal */
2760
- export type MessagesDeveloperMessage$Outbound = {
2927
+ export type DeploymentGetConfigMessagesDeveloperMessage$Outbound = {
2761
2928
  role: "developer";
2762
2929
  content: string | Array<components.TextContentPartSchema$Outbound>;
2763
2930
  name?: string | undefined;
2764
2931
  };
2765
2932
 
2766
2933
  /** @internal */
2767
- export const MessagesDeveloperMessage$outboundSchema: z.ZodType<
2768
- MessagesDeveloperMessage$Outbound,
2769
- z.ZodTypeDef,
2770
- MessagesDeveloperMessage
2771
- > = z.object({
2772
- role: z.literal("developer"),
2773
- content: z.union([
2774
- z.string(),
2775
- z.array(components.TextContentPartSchema$outboundSchema),
2776
- ]),
2777
- name: z.string().optional(),
2778
- });
2934
+ export const DeploymentGetConfigMessagesDeveloperMessage$outboundSchema:
2935
+ z.ZodType<
2936
+ DeploymentGetConfigMessagesDeveloperMessage$Outbound,
2937
+ z.ZodTypeDef,
2938
+ DeploymentGetConfigMessagesDeveloperMessage
2939
+ > = z.object({
2940
+ role: z.literal("developer"),
2941
+ content: z.union([
2942
+ z.string(),
2943
+ z.array(components.TextContentPartSchema$outboundSchema),
2944
+ ]),
2945
+ name: z.string().optional(),
2946
+ });
2779
2947
 
2780
- export function messagesDeveloperMessageToJSON(
2781
- messagesDeveloperMessage: MessagesDeveloperMessage,
2948
+ export function deploymentGetConfigMessagesDeveloperMessageToJSON(
2949
+ deploymentGetConfigMessagesDeveloperMessage:
2950
+ DeploymentGetConfigMessagesDeveloperMessage,
2782
2951
  ): string {
2783
2952
  return JSON.stringify(
2784
- MessagesDeveloperMessage$outboundSchema.parse(messagesDeveloperMessage),
2953
+ DeploymentGetConfigMessagesDeveloperMessage$outboundSchema.parse(
2954
+ deploymentGetConfigMessagesDeveloperMessage,
2955
+ ),
2785
2956
  );
2786
2957
  }
2787
2958
 
2788
2959
  /** @internal */
2789
- export type MessagesContent$Outbound =
2960
+ export type DeploymentGetConfigMessagesContent$Outbound =
2790
2961
  | string
2791
2962
  | Array<components.TextContentPartSchema$Outbound>;
2792
2963
 
2793
2964
  /** @internal */
2794
- export const MessagesContent$outboundSchema: z.ZodType<
2795
- MessagesContent$Outbound,
2965
+ export const DeploymentGetConfigMessagesContent$outboundSchema: z.ZodType<
2966
+ DeploymentGetConfigMessagesContent$Outbound,
2796
2967
  z.ZodTypeDef,
2797
- MessagesContent
2968
+ DeploymentGetConfigMessagesContent
2798
2969
  > = z.union([
2799
2970
  z.string(),
2800
2971
  z.array(components.TextContentPartSchema$outboundSchema),
2801
2972
  ]);
2802
2973
 
2803
- export function messagesContentToJSON(
2804
- messagesContent: MessagesContent,
2974
+ export function deploymentGetConfigMessagesContentToJSON(
2975
+ deploymentGetConfigMessagesContent: DeploymentGetConfigMessagesContent,
2805
2976
  ): string {
2806
- return JSON.stringify(MessagesContent$outboundSchema.parse(messagesContent));
2977
+ return JSON.stringify(
2978
+ DeploymentGetConfigMessagesContent$outboundSchema.parse(
2979
+ deploymentGetConfigMessagesContent,
2980
+ ),
2981
+ );
2807
2982
  }
2808
2983
 
2809
2984
  /** @internal */
2810
- export type MessagesSystemMessage$Outbound = {
2985
+ export type DeploymentGetConfigMessagesSystemMessage$Outbound = {
2811
2986
  role: "system";
2812
2987
  content: string | Array<components.TextContentPartSchema$Outbound>;
2813
2988
  name?: string | undefined;
2814
2989
  };
2815
2990
 
2816
2991
  /** @internal */
2817
- export const MessagesSystemMessage$outboundSchema: z.ZodType<
2818
- MessagesSystemMessage$Outbound,
2992
+ export const DeploymentGetConfigMessagesSystemMessage$outboundSchema: z.ZodType<
2993
+ DeploymentGetConfigMessagesSystemMessage$Outbound,
2819
2994
  z.ZodTypeDef,
2820
- MessagesSystemMessage
2995
+ DeploymentGetConfigMessagesSystemMessage
2821
2996
  > = z.object({
2822
2997
  role: z.literal("system"),
2823
2998
  content: z.union([
@@ -2827,21 +3002,24 @@ export const MessagesSystemMessage$outboundSchema: z.ZodType<
2827
3002
  name: z.string().optional(),
2828
3003
  });
2829
3004
 
2830
- export function messagesSystemMessageToJSON(
2831
- messagesSystemMessage: MessagesSystemMessage,
3005
+ export function deploymentGetConfigMessagesSystemMessageToJSON(
3006
+ deploymentGetConfigMessagesSystemMessage:
3007
+ DeploymentGetConfigMessagesSystemMessage,
2832
3008
  ): string {
2833
3009
  return JSON.stringify(
2834
- MessagesSystemMessage$outboundSchema.parse(messagesSystemMessage),
3010
+ DeploymentGetConfigMessagesSystemMessage$outboundSchema.parse(
3011
+ deploymentGetConfigMessagesSystemMessage,
3012
+ ),
2835
3013
  );
2836
3014
  }
2837
3015
 
2838
3016
  /** @internal */
2839
3017
  export type DeploymentGetConfigMessages$Outbound =
2840
- | MessagesSystemMessage$Outbound
2841
- | MessagesDeveloperMessage$Outbound
2842
- | MessagesUserMessage$Outbound
2843
- | MessagesAssistantMessage$Outbound
2844
- | MessagesToolMessage$Outbound;
3018
+ | DeploymentGetConfigMessagesSystemMessage$Outbound
3019
+ | DeploymentGetConfigMessagesDeveloperMessage$Outbound
3020
+ | DeploymentGetConfigMessagesUserMessage$Outbound
3021
+ | DeploymentGetConfigMessagesAssistantMessage$Outbound
3022
+ | DeploymentGetConfigMessagesToolMessage$Outbound;
2845
3023
 
2846
3024
  /** @internal */
2847
3025
  export const DeploymentGetConfigMessages$outboundSchema: z.ZodType<
@@ -2849,11 +3027,11 @@ export const DeploymentGetConfigMessages$outboundSchema: z.ZodType<
2849
3027
  z.ZodTypeDef,
2850
3028
  DeploymentGetConfigMessages
2851
3029
  > = z.union([
2852
- z.lazy(() => MessagesSystemMessage$outboundSchema),
2853
- z.lazy(() => MessagesDeveloperMessage$outboundSchema),
2854
- z.lazy(() => MessagesUserMessage$outboundSchema),
2855
- z.lazy(() => MessagesAssistantMessage$outboundSchema),
2856
- z.lazy(() => MessagesToolMessage$outboundSchema),
3030
+ z.lazy(() => DeploymentGetConfigMessagesSystemMessage$outboundSchema),
3031
+ z.lazy(() => DeploymentGetConfigMessagesDeveloperMessage$outboundSchema),
3032
+ z.lazy(() => DeploymentGetConfigMessagesUserMessage$outboundSchema),
3033
+ z.lazy(() => DeploymentGetConfigMessagesAssistantMessage$outboundSchema),
3034
+ z.lazy(() => DeploymentGetConfigMessagesToolMessage$outboundSchema),
2857
3035
  ]);
2858
3036
 
2859
3037
  export function deploymentGetConfigMessagesToJSON(
@@ -2867,17 +3045,17 @@ export function deploymentGetConfigMessagesToJSON(
2867
3045
  }
2868
3046
 
2869
3047
  /** @internal */
2870
- export type Metadata$Outbound = {
3048
+ export type DeploymentGetConfigMetadata$Outbound = {
2871
3049
  file_name?: string | undefined;
2872
3050
  file_type?: string | undefined;
2873
3051
  page_number?: number | undefined;
2874
3052
  };
2875
3053
 
2876
3054
  /** @internal */
2877
- export const Metadata$outboundSchema: z.ZodType<
2878
- Metadata$Outbound,
3055
+ export const DeploymentGetConfigMetadata$outboundSchema: z.ZodType<
3056
+ DeploymentGetConfigMetadata$Outbound,
2879
3057
  z.ZodTypeDef,
2880
- Metadata
3058
+ DeploymentGetConfigMetadata
2881
3059
  > = z.object({
2882
3060
  fileName: z.string().optional(),
2883
3061
  fileType: z.string().optional(),
@@ -2890,42 +3068,54 @@ export const Metadata$outboundSchema: z.ZodType<
2890
3068
  });
2891
3069
  });
2892
3070
 
2893
- export function metadataToJSON(metadata: Metadata): string {
2894
- return JSON.stringify(Metadata$outboundSchema.parse(metadata));
3071
+ export function deploymentGetConfigMetadataToJSON(
3072
+ deploymentGetConfigMetadata: DeploymentGetConfigMetadata,
3073
+ ): string {
3074
+ return JSON.stringify(
3075
+ DeploymentGetConfigMetadata$outboundSchema.parse(
3076
+ deploymentGetConfigMetadata,
3077
+ ),
3078
+ );
2895
3079
  }
2896
3080
 
2897
3081
  /** @internal */
2898
- export type Documents$Outbound = {
3082
+ export type DeploymentGetConfigDocuments$Outbound = {
2899
3083
  text: string;
2900
- metadata?: Metadata$Outbound | undefined;
3084
+ metadata?: DeploymentGetConfigMetadata$Outbound | undefined;
2901
3085
  };
2902
3086
 
2903
3087
  /** @internal */
2904
- export const Documents$outboundSchema: z.ZodType<
2905
- Documents$Outbound,
3088
+ export const DeploymentGetConfigDocuments$outboundSchema: z.ZodType<
3089
+ DeploymentGetConfigDocuments$Outbound,
2906
3090
  z.ZodTypeDef,
2907
- Documents
3091
+ DeploymentGetConfigDocuments
2908
3092
  > = z.object({
2909
3093
  text: z.string(),
2910
- metadata: z.lazy(() => Metadata$outboundSchema).optional(),
3094
+ metadata: z.lazy(() => DeploymentGetConfigMetadata$outboundSchema).optional(),
2911
3095
  });
2912
3096
 
2913
- export function documentsToJSON(documents: Documents): string {
2914
- return JSON.stringify(Documents$outboundSchema.parse(documents));
3097
+ export function deploymentGetConfigDocumentsToJSON(
3098
+ deploymentGetConfigDocuments: DeploymentGetConfigDocuments,
3099
+ ): string {
3100
+ return JSON.stringify(
3101
+ DeploymentGetConfigDocuments$outboundSchema.parse(
3102
+ deploymentGetConfigDocuments,
3103
+ ),
3104
+ );
2915
3105
  }
2916
3106
 
2917
3107
  /** @internal */
2918
- export type InvokeOptions$Outbound = {
3108
+ export type DeploymentGetConfigInvokeOptions$Outbound = {
2919
3109
  include_retrievals: boolean;
2920
3110
  include_usage: boolean;
2921
3111
  mock_response?: string | undefined;
2922
3112
  };
2923
3113
 
2924
3114
  /** @internal */
2925
- export const InvokeOptions$outboundSchema: z.ZodType<
2926
- InvokeOptions$Outbound,
3115
+ export const DeploymentGetConfigInvokeOptions$outboundSchema: z.ZodType<
3116
+ DeploymentGetConfigInvokeOptions$Outbound,
2927
3117
  z.ZodTypeDef,
2928
- InvokeOptions
3118
+ DeploymentGetConfigInvokeOptions
2929
3119
  > = z.object({
2930
3120
  includeRetrievals: z.boolean().default(false),
2931
3121
  includeUsage: z.boolean().default(false),
@@ -2938,911 +3128,1163 @@ export const InvokeOptions$outboundSchema: z.ZodType<
2938
3128
  });
2939
3129
  });
2940
3130
 
2941
- export function invokeOptionsToJSON(invokeOptions: InvokeOptions): string {
2942
- return JSON.stringify(InvokeOptions$outboundSchema.parse(invokeOptions));
3131
+ export function deploymentGetConfigInvokeOptionsToJSON(
3132
+ deploymentGetConfigInvokeOptions: DeploymentGetConfigInvokeOptions,
3133
+ ): string {
3134
+ return JSON.stringify(
3135
+ DeploymentGetConfigInvokeOptions$outboundSchema.parse(
3136
+ deploymentGetConfigInvokeOptions,
3137
+ ),
3138
+ );
2943
3139
  }
2944
3140
 
2945
3141
  /** @internal */
2946
- export type Thread$Outbound = {
3142
+ export type DeploymentGetConfigThread$Outbound = {
2947
3143
  id: string;
2948
3144
  tags?: Array<string> | undefined;
2949
3145
  };
2950
3146
 
2951
3147
  /** @internal */
2952
- export const Thread$outboundSchema: z.ZodType<
2953
- Thread$Outbound,
3148
+ export const DeploymentGetConfigThread$outboundSchema: z.ZodType<
3149
+ DeploymentGetConfigThread$Outbound,
2954
3150
  z.ZodTypeDef,
2955
- Thread
3151
+ DeploymentGetConfigThread
2956
3152
  > = z.object({
2957
3153
  id: z.string(),
2958
3154
  tags: z.array(z.string()).optional(),
2959
3155
  });
2960
3156
 
2961
- export function threadToJSON(thread: Thread): string {
2962
- return JSON.stringify(Thread$outboundSchema.parse(thread));
3157
+ export function deploymentGetConfigThreadToJSON(
3158
+ deploymentGetConfigThread: DeploymentGetConfigThread,
3159
+ ): string {
3160
+ return JSON.stringify(
3161
+ DeploymentGetConfigThread$outboundSchema.parse(deploymentGetConfigThread),
3162
+ );
2963
3163
  }
2964
3164
 
2965
3165
  /** @internal */
2966
- export type OrExists$Outbound = {
3166
+ export type DeploymentGetConfigOrExists$Outbound = {
2967
3167
  exists: boolean;
2968
3168
  };
2969
3169
 
2970
3170
  /** @internal */
2971
- export const OrExists$outboundSchema: z.ZodType<
2972
- OrExists$Outbound,
3171
+ export const DeploymentGetConfigOrExists$outboundSchema: z.ZodType<
3172
+ DeploymentGetConfigOrExists$Outbound,
2973
3173
  z.ZodTypeDef,
2974
- OrExists
3174
+ DeploymentGetConfigOrExists
2975
3175
  > = z.object({
2976
3176
  exists: z.boolean(),
2977
3177
  });
2978
3178
 
2979
- export function orExistsToJSON(orExists: OrExists): string {
2980
- return JSON.stringify(OrExists$outboundSchema.parse(orExists));
3179
+ export function deploymentGetConfigOrExistsToJSON(
3180
+ deploymentGetConfigOrExists: DeploymentGetConfigOrExists,
3181
+ ): string {
3182
+ return JSON.stringify(
3183
+ DeploymentGetConfigOrExists$outboundSchema.parse(
3184
+ deploymentGetConfigOrExists,
3185
+ ),
3186
+ );
2981
3187
  }
2982
3188
 
2983
3189
  /** @internal */
2984
- export type DeploymentGetConfigOrNin$Outbound = string | number | boolean;
3190
+ export type DeploymentGetConfigOrDeploymentsNin$Outbound =
3191
+ | string
3192
+ | number
3193
+ | boolean;
2985
3194
 
2986
3195
  /** @internal */
2987
- export const DeploymentGetConfigOrNin$outboundSchema: z.ZodType<
2988
- DeploymentGetConfigOrNin$Outbound,
3196
+ export const DeploymentGetConfigOrDeploymentsNin$outboundSchema: z.ZodType<
3197
+ DeploymentGetConfigOrDeploymentsNin$Outbound,
2989
3198
  z.ZodTypeDef,
2990
- DeploymentGetConfigOrNin
3199
+ DeploymentGetConfigOrDeploymentsNin
2991
3200
  > = z.union([z.string(), z.number(), z.boolean()]);
2992
3201
 
2993
- export function deploymentGetConfigOrNinToJSON(
2994
- deploymentGetConfigOrNin: DeploymentGetConfigOrNin,
3202
+ export function deploymentGetConfigOrDeploymentsNinToJSON(
3203
+ deploymentGetConfigOrDeploymentsNin: DeploymentGetConfigOrDeploymentsNin,
2995
3204
  ): string {
2996
3205
  return JSON.stringify(
2997
- DeploymentGetConfigOrNin$outboundSchema.parse(deploymentGetConfigOrNin),
3206
+ DeploymentGetConfigOrDeploymentsNin$outboundSchema.parse(
3207
+ deploymentGetConfigOrDeploymentsNin,
3208
+ ),
2998
3209
  );
2999
3210
  }
3000
3211
 
3001
3212
  /** @internal */
3002
- export type OrNin$Outbound = {
3213
+ export type DeploymentGetConfigOrNin$Outbound = {
3003
3214
  nin: Array<string | number | boolean>;
3004
3215
  };
3005
3216
 
3006
3217
  /** @internal */
3007
- export const OrNin$outboundSchema: z.ZodType<
3008
- OrNin$Outbound,
3218
+ export const DeploymentGetConfigOrNin$outboundSchema: z.ZodType<
3219
+ DeploymentGetConfigOrNin$Outbound,
3009
3220
  z.ZodTypeDef,
3010
- OrNin
3221
+ DeploymentGetConfigOrNin
3011
3222
  > = z.object({
3012
3223
  nin: z.array(z.union([z.string(), z.number(), z.boolean()])),
3013
3224
  });
3014
3225
 
3015
- export function orNinToJSON(orNin: OrNin): string {
3016
- return JSON.stringify(OrNin$outboundSchema.parse(orNin));
3226
+ export function deploymentGetConfigOrNinToJSON(
3227
+ deploymentGetConfigOrNin: DeploymentGetConfigOrNin,
3228
+ ): string {
3229
+ return JSON.stringify(
3230
+ DeploymentGetConfigOrNin$outboundSchema.parse(deploymentGetConfigOrNin),
3231
+ );
3017
3232
  }
3018
3233
 
3019
3234
  /** @internal */
3020
- export type DeploymentGetConfigOrIn$Outbound = string | number | boolean;
3235
+ export type DeploymentGetConfigOrDeploymentsIn$Outbound =
3236
+ | string
3237
+ | number
3238
+ | boolean;
3021
3239
 
3022
3240
  /** @internal */
3023
- export const DeploymentGetConfigOrIn$outboundSchema: z.ZodType<
3024
- DeploymentGetConfigOrIn$Outbound,
3241
+ export const DeploymentGetConfigOrDeploymentsIn$outboundSchema: z.ZodType<
3242
+ DeploymentGetConfigOrDeploymentsIn$Outbound,
3025
3243
  z.ZodTypeDef,
3026
- DeploymentGetConfigOrIn
3244
+ DeploymentGetConfigOrDeploymentsIn
3027
3245
  > = z.union([z.string(), z.number(), z.boolean()]);
3028
3246
 
3029
- export function deploymentGetConfigOrInToJSON(
3030
- deploymentGetConfigOrIn: DeploymentGetConfigOrIn,
3247
+ export function deploymentGetConfigOrDeploymentsInToJSON(
3248
+ deploymentGetConfigOrDeploymentsIn: DeploymentGetConfigOrDeploymentsIn,
3031
3249
  ): string {
3032
3250
  return JSON.stringify(
3033
- DeploymentGetConfigOrIn$outboundSchema.parse(deploymentGetConfigOrIn),
3251
+ DeploymentGetConfigOrDeploymentsIn$outboundSchema.parse(
3252
+ deploymentGetConfigOrDeploymentsIn,
3253
+ ),
3034
3254
  );
3035
3255
  }
3036
3256
 
3037
3257
  /** @internal */
3038
- export type OrIn$Outbound = {
3258
+ export type DeploymentGetConfigOrIn$Outbound = {
3039
3259
  in: Array<string | number | boolean>;
3040
3260
  };
3041
3261
 
3042
3262
  /** @internal */
3043
- export const OrIn$outboundSchema: z.ZodType<OrIn$Outbound, z.ZodTypeDef, OrIn> =
3044
- z.object({
3045
- in: z.array(z.union([z.string(), z.number(), z.boolean()])),
3046
- });
3263
+ export const DeploymentGetConfigOrIn$outboundSchema: z.ZodType<
3264
+ DeploymentGetConfigOrIn$Outbound,
3265
+ z.ZodTypeDef,
3266
+ DeploymentGetConfigOrIn
3267
+ > = z.object({
3268
+ in: z.array(z.union([z.string(), z.number(), z.boolean()])),
3269
+ });
3047
3270
 
3048
- export function orInToJSON(orIn: OrIn): string {
3049
- return JSON.stringify(OrIn$outboundSchema.parse(orIn));
3271
+ export function deploymentGetConfigOrInToJSON(
3272
+ deploymentGetConfigOrIn: DeploymentGetConfigOrIn,
3273
+ ): string {
3274
+ return JSON.stringify(
3275
+ DeploymentGetConfigOrIn$outboundSchema.parse(deploymentGetConfigOrIn),
3276
+ );
3050
3277
  }
3051
3278
 
3052
3279
  /** @internal */
3053
- export type OrLte$Outbound = {
3280
+ export type DeploymentGetConfigOrLte$Outbound = {
3054
3281
  lte: number;
3055
3282
  };
3056
3283
 
3057
3284
  /** @internal */
3058
- export const OrLte$outboundSchema: z.ZodType<
3059
- OrLte$Outbound,
3285
+ export const DeploymentGetConfigOrLte$outboundSchema: z.ZodType<
3286
+ DeploymentGetConfigOrLte$Outbound,
3060
3287
  z.ZodTypeDef,
3061
- OrLte
3288
+ DeploymentGetConfigOrLte
3062
3289
  > = z.object({
3063
3290
  lte: z.number(),
3064
3291
  });
3065
3292
 
3066
- export function orLteToJSON(orLte: OrLte): string {
3067
- return JSON.stringify(OrLte$outboundSchema.parse(orLte));
3293
+ export function deploymentGetConfigOrLteToJSON(
3294
+ deploymentGetConfigOrLte: DeploymentGetConfigOrLte,
3295
+ ): string {
3296
+ return JSON.stringify(
3297
+ DeploymentGetConfigOrLte$outboundSchema.parse(deploymentGetConfigOrLte),
3298
+ );
3068
3299
  }
3069
3300
 
3070
3301
  /** @internal */
3071
- export type OrLt$Outbound = {
3302
+ export type DeploymentGetConfigOrLt$Outbound = {
3072
3303
  lt: number;
3073
3304
  };
3074
3305
 
3075
3306
  /** @internal */
3076
- export const OrLt$outboundSchema: z.ZodType<OrLt$Outbound, z.ZodTypeDef, OrLt> =
3077
- z.object({
3078
- lt: z.number(),
3079
- });
3307
+ export const DeploymentGetConfigOrLt$outboundSchema: z.ZodType<
3308
+ DeploymentGetConfigOrLt$Outbound,
3309
+ z.ZodTypeDef,
3310
+ DeploymentGetConfigOrLt
3311
+ > = z.object({
3312
+ lt: z.number(),
3313
+ });
3080
3314
 
3081
- export function orLtToJSON(orLt: OrLt): string {
3082
- return JSON.stringify(OrLt$outboundSchema.parse(orLt));
3315
+ export function deploymentGetConfigOrLtToJSON(
3316
+ deploymentGetConfigOrLt: DeploymentGetConfigOrLt,
3317
+ ): string {
3318
+ return JSON.stringify(
3319
+ DeploymentGetConfigOrLt$outboundSchema.parse(deploymentGetConfigOrLt),
3320
+ );
3083
3321
  }
3084
3322
 
3085
3323
  /** @internal */
3086
- export type OrGte$Outbound = {
3324
+ export type DeploymentGetConfigOrGte$Outbound = {
3087
3325
  gte: number;
3088
3326
  };
3089
3327
 
3090
3328
  /** @internal */
3091
- export const OrGte$outboundSchema: z.ZodType<
3092
- OrGte$Outbound,
3329
+ export const DeploymentGetConfigOrGte$outboundSchema: z.ZodType<
3330
+ DeploymentGetConfigOrGte$Outbound,
3093
3331
  z.ZodTypeDef,
3094
- OrGte
3332
+ DeploymentGetConfigOrGte
3095
3333
  > = z.object({
3096
3334
  gte: z.number(),
3097
3335
  });
3098
3336
 
3099
- export function orGteToJSON(orGte: OrGte): string {
3100
- return JSON.stringify(OrGte$outboundSchema.parse(orGte));
3337
+ export function deploymentGetConfigOrGteToJSON(
3338
+ deploymentGetConfigOrGte: DeploymentGetConfigOrGte,
3339
+ ): string {
3340
+ return JSON.stringify(
3341
+ DeploymentGetConfigOrGte$outboundSchema.parse(deploymentGetConfigOrGte),
3342
+ );
3101
3343
  }
3102
3344
 
3103
3345
  /** @internal */
3104
- export type OrGt$Outbound = {
3346
+ export type DeploymentGetConfigOrGt$Outbound = {
3105
3347
  gt: number;
3106
3348
  };
3107
3349
 
3108
3350
  /** @internal */
3109
- export const OrGt$outboundSchema: z.ZodType<OrGt$Outbound, z.ZodTypeDef, OrGt> =
3110
- z.object({
3111
- gt: z.number(),
3112
- });
3351
+ export const DeploymentGetConfigOrGt$outboundSchema: z.ZodType<
3352
+ DeploymentGetConfigOrGt$Outbound,
3353
+ z.ZodTypeDef,
3354
+ DeploymentGetConfigOrGt
3355
+ > = z.object({
3356
+ gt: z.number(),
3357
+ });
3113
3358
 
3114
- export function orGtToJSON(orGt: OrGt): string {
3115
- return JSON.stringify(OrGt$outboundSchema.parse(orGt));
3359
+ export function deploymentGetConfigOrGtToJSON(
3360
+ deploymentGetConfigOrGt: DeploymentGetConfigOrGt,
3361
+ ): string {
3362
+ return JSON.stringify(
3363
+ DeploymentGetConfigOrGt$outboundSchema.parse(deploymentGetConfigOrGt),
3364
+ );
3116
3365
  }
3117
3366
 
3118
3367
  /** @internal */
3119
- export type DeploymentGetConfigOrNe$Outbound = string | number | boolean;
3368
+ export type DeploymentGetConfigOrDeploymentsNe$Outbound =
3369
+ | string
3370
+ | number
3371
+ | boolean;
3120
3372
 
3121
3373
  /** @internal */
3122
- export const DeploymentGetConfigOrNe$outboundSchema: z.ZodType<
3123
- DeploymentGetConfigOrNe$Outbound,
3374
+ export const DeploymentGetConfigOrDeploymentsNe$outboundSchema: z.ZodType<
3375
+ DeploymentGetConfigOrDeploymentsNe$Outbound,
3124
3376
  z.ZodTypeDef,
3125
- DeploymentGetConfigOrNe
3377
+ DeploymentGetConfigOrDeploymentsNe
3126
3378
  > = z.union([z.string(), z.number(), z.boolean()]);
3127
3379
 
3128
- export function deploymentGetConfigOrNeToJSON(
3129
- deploymentGetConfigOrNe: DeploymentGetConfigOrNe,
3380
+ export function deploymentGetConfigOrDeploymentsNeToJSON(
3381
+ deploymentGetConfigOrDeploymentsNe: DeploymentGetConfigOrDeploymentsNe,
3130
3382
  ): string {
3131
3383
  return JSON.stringify(
3132
- DeploymentGetConfigOrNe$outboundSchema.parse(deploymentGetConfigOrNe),
3384
+ DeploymentGetConfigOrDeploymentsNe$outboundSchema.parse(
3385
+ deploymentGetConfigOrDeploymentsNe,
3386
+ ),
3133
3387
  );
3134
3388
  }
3135
3389
 
3136
3390
  /** @internal */
3137
- export type OrNe$Outbound = {
3391
+ export type DeploymentGetConfigOrNe$Outbound = {
3138
3392
  ne: string | number | boolean;
3139
3393
  };
3140
3394
 
3141
3395
  /** @internal */
3142
- export const OrNe$outboundSchema: z.ZodType<OrNe$Outbound, z.ZodTypeDef, OrNe> =
3143
- z.object({
3144
- ne: z.union([z.string(), z.number(), z.boolean()]),
3145
- });
3396
+ export const DeploymentGetConfigOrNe$outboundSchema: z.ZodType<
3397
+ DeploymentGetConfigOrNe$Outbound,
3398
+ z.ZodTypeDef,
3399
+ DeploymentGetConfigOrNe
3400
+ > = z.object({
3401
+ ne: z.union([z.string(), z.number(), z.boolean()]),
3402
+ });
3146
3403
 
3147
- export function orNeToJSON(orNe: OrNe): string {
3148
- return JSON.stringify(OrNe$outboundSchema.parse(orNe));
3404
+ export function deploymentGetConfigOrNeToJSON(
3405
+ deploymentGetConfigOrNe: DeploymentGetConfigOrNe,
3406
+ ): string {
3407
+ return JSON.stringify(
3408
+ DeploymentGetConfigOrNe$outboundSchema.parse(deploymentGetConfigOrNe),
3409
+ );
3149
3410
  }
3150
3411
 
3151
3412
  /** @internal */
3152
- export type DeploymentGetConfigOrEq$Outbound = string | number | boolean;
3413
+ export type DeploymentGetConfigOrDeploymentsEq$Outbound =
3414
+ | string
3415
+ | number
3416
+ | boolean;
3153
3417
 
3154
3418
  /** @internal */
3155
- export const DeploymentGetConfigOrEq$outboundSchema: z.ZodType<
3156
- DeploymentGetConfigOrEq$Outbound,
3419
+ export const DeploymentGetConfigOrDeploymentsEq$outboundSchema: z.ZodType<
3420
+ DeploymentGetConfigOrDeploymentsEq$Outbound,
3157
3421
  z.ZodTypeDef,
3158
- DeploymentGetConfigOrEq
3422
+ DeploymentGetConfigOrDeploymentsEq
3159
3423
  > = z.union([z.string(), z.number(), z.boolean()]);
3160
3424
 
3161
- export function deploymentGetConfigOrEqToJSON(
3162
- deploymentGetConfigOrEq: DeploymentGetConfigOrEq,
3425
+ export function deploymentGetConfigOrDeploymentsEqToJSON(
3426
+ deploymentGetConfigOrDeploymentsEq: DeploymentGetConfigOrDeploymentsEq,
3163
3427
  ): string {
3164
3428
  return JSON.stringify(
3165
- DeploymentGetConfigOrEq$outboundSchema.parse(deploymentGetConfigOrEq),
3429
+ DeploymentGetConfigOrDeploymentsEq$outboundSchema.parse(
3430
+ deploymentGetConfigOrDeploymentsEq,
3431
+ ),
3166
3432
  );
3167
3433
  }
3168
3434
 
3169
3435
  /** @internal */
3170
- export type OrEq$Outbound = {
3436
+ export type DeploymentGetConfigOrEq$Outbound = {
3171
3437
  eq: string | number | boolean;
3172
3438
  };
3173
3439
 
3174
3440
  /** @internal */
3175
- export const OrEq$outboundSchema: z.ZodType<OrEq$Outbound, z.ZodTypeDef, OrEq> =
3176
- z.object({
3177
- eq: z.union([z.string(), z.number(), z.boolean()]),
3178
- });
3441
+ export const DeploymentGetConfigOrEq$outboundSchema: z.ZodType<
3442
+ DeploymentGetConfigOrEq$Outbound,
3443
+ z.ZodTypeDef,
3444
+ DeploymentGetConfigOrEq
3445
+ > = z.object({
3446
+ eq: z.union([z.string(), z.number(), z.boolean()]),
3447
+ });
3179
3448
 
3180
- export function orEqToJSON(orEq: OrEq): string {
3181
- return JSON.stringify(OrEq$outboundSchema.parse(orEq));
3449
+ export function deploymentGetConfigOrEqToJSON(
3450
+ deploymentGetConfigOrEq: DeploymentGetConfigOrEq,
3451
+ ): string {
3452
+ return JSON.stringify(
3453
+ DeploymentGetConfigOrEq$outboundSchema.parse(deploymentGetConfigOrEq),
3454
+ );
3182
3455
  }
3183
3456
 
3184
3457
  /** @internal */
3185
- export type KnowledgeFilterOr$Outbound =
3186
- | OrEq$Outbound
3187
- | OrNe$Outbound
3188
- | OrGt$Outbound
3189
- | OrGte$Outbound
3190
- | OrLt$Outbound
3191
- | OrLte$Outbound
3192
- | OrIn$Outbound
3193
- | OrNin$Outbound
3194
- | OrExists$Outbound;
3458
+ export type DeploymentGetConfigKnowledgeFilterDeploymentsOr$Outbound =
3459
+ | DeploymentGetConfigOrEq$Outbound
3460
+ | DeploymentGetConfigOrNe$Outbound
3461
+ | DeploymentGetConfigOrGt$Outbound
3462
+ | DeploymentGetConfigOrGte$Outbound
3463
+ | DeploymentGetConfigOrLt$Outbound
3464
+ | DeploymentGetConfigOrLte$Outbound
3465
+ | DeploymentGetConfigOrIn$Outbound
3466
+ | DeploymentGetConfigOrNin$Outbound
3467
+ | DeploymentGetConfigOrExists$Outbound;
3195
3468
 
3196
3469
  /** @internal */
3197
- export const KnowledgeFilterOr$outboundSchema: z.ZodType<
3198
- KnowledgeFilterOr$Outbound,
3199
- z.ZodTypeDef,
3200
- KnowledgeFilterOr
3201
- > = z.union([
3202
- z.lazy(() => OrEq$outboundSchema),
3203
- z.lazy(() => OrNe$outboundSchema),
3204
- z.lazy(() => OrGt$outboundSchema),
3205
- z.lazy(() => OrGte$outboundSchema),
3206
- z.lazy(() => OrLt$outboundSchema),
3207
- z.lazy(() => OrLte$outboundSchema),
3208
- z.lazy(() => OrIn$outboundSchema),
3209
- z.lazy(() => OrNin$outboundSchema),
3210
- z.lazy(() => OrExists$outboundSchema),
3211
- ]);
3470
+ export const DeploymentGetConfigKnowledgeFilterDeploymentsOr$outboundSchema:
3471
+ z.ZodType<
3472
+ DeploymentGetConfigKnowledgeFilterDeploymentsOr$Outbound,
3473
+ z.ZodTypeDef,
3474
+ DeploymentGetConfigKnowledgeFilterDeploymentsOr
3475
+ > = z.union([
3476
+ z.lazy(() => DeploymentGetConfigOrEq$outboundSchema),
3477
+ z.lazy(() => DeploymentGetConfigOrNe$outboundSchema),
3478
+ z.lazy(() => DeploymentGetConfigOrGt$outboundSchema),
3479
+ z.lazy(() => DeploymentGetConfigOrGte$outboundSchema),
3480
+ z.lazy(() => DeploymentGetConfigOrLt$outboundSchema),
3481
+ z.lazy(() => DeploymentGetConfigOrLte$outboundSchema),
3482
+ z.lazy(() => DeploymentGetConfigOrIn$outboundSchema),
3483
+ z.lazy(() => DeploymentGetConfigOrNin$outboundSchema),
3484
+ z.lazy(() => DeploymentGetConfigOrExists$outboundSchema),
3485
+ ]);
3212
3486
 
3213
- export function knowledgeFilterOrToJSON(
3214
- knowledgeFilterOr: KnowledgeFilterOr,
3487
+ export function deploymentGetConfigKnowledgeFilterDeploymentsOrToJSON(
3488
+ deploymentGetConfigKnowledgeFilterDeploymentsOr:
3489
+ DeploymentGetConfigKnowledgeFilterDeploymentsOr,
3215
3490
  ): string {
3216
3491
  return JSON.stringify(
3217
- KnowledgeFilterOr$outboundSchema.parse(knowledgeFilterOr),
3492
+ DeploymentGetConfigKnowledgeFilterDeploymentsOr$outboundSchema.parse(
3493
+ deploymentGetConfigKnowledgeFilterDeploymentsOr,
3494
+ ),
3218
3495
  );
3219
3496
  }
3220
3497
 
3221
3498
  /** @internal */
3222
- export type Or$Outbound = {
3499
+ export type DeploymentGetConfigKnowledgeFilterOr$Outbound = {
3223
3500
  or: Array<
3224
3501
  {
3225
3502
  [k: string]:
3226
- | OrEq$Outbound
3227
- | OrNe$Outbound
3228
- | OrGt$Outbound
3229
- | OrGte$Outbound
3230
- | OrLt$Outbound
3231
- | OrLte$Outbound
3232
- | OrIn$Outbound
3233
- | OrNin$Outbound
3234
- | OrExists$Outbound;
3503
+ | DeploymentGetConfigOrEq$Outbound
3504
+ | DeploymentGetConfigOrNe$Outbound
3505
+ | DeploymentGetConfigOrGt$Outbound
3506
+ | DeploymentGetConfigOrGte$Outbound
3507
+ | DeploymentGetConfigOrLt$Outbound
3508
+ | DeploymentGetConfigOrLte$Outbound
3509
+ | DeploymentGetConfigOrIn$Outbound
3510
+ | DeploymentGetConfigOrNin$Outbound
3511
+ | DeploymentGetConfigOrExists$Outbound;
3235
3512
  }
3236
3513
  >;
3237
3514
  };
3238
3515
 
3239
3516
  /** @internal */
3240
- export const Or$outboundSchema: z.ZodType<Or$Outbound, z.ZodTypeDef, Or> = z
3241
- .object({
3242
- or: z.array(
3243
- z.record(z.union([
3244
- z.lazy(() => OrEq$outboundSchema),
3245
- z.lazy(() =>
3246
- OrNe$outboundSchema
3247
- ),
3248
- z.lazy(() => OrGt$outboundSchema),
3249
- z.lazy(() => OrGte$outboundSchema),
3250
- z.lazy(() => OrLt$outboundSchema),
3251
- z.lazy(() => OrLte$outboundSchema),
3252
- z.lazy(() => OrIn$outboundSchema),
3253
- z.lazy(() => OrNin$outboundSchema),
3254
- z.lazy(() => OrExists$outboundSchema),
3255
- ])),
3256
- ),
3257
- });
3517
+ export const DeploymentGetConfigKnowledgeFilterOr$outboundSchema: z.ZodType<
3518
+ DeploymentGetConfigKnowledgeFilterOr$Outbound,
3519
+ z.ZodTypeDef,
3520
+ DeploymentGetConfigKnowledgeFilterOr
3521
+ > = z.object({
3522
+ or: z.array(
3523
+ z.record(z.union([
3524
+ z.lazy(() => DeploymentGetConfigOrEq$outboundSchema),
3525
+ z.lazy(() =>
3526
+ DeploymentGetConfigOrNe$outboundSchema
3527
+ ),
3528
+ z.lazy(() => DeploymentGetConfigOrGt$outboundSchema),
3529
+ z.lazy(() => DeploymentGetConfigOrGte$outboundSchema),
3530
+ z.lazy(() => DeploymentGetConfigOrLt$outboundSchema),
3531
+ z.lazy(() => DeploymentGetConfigOrLte$outboundSchema),
3532
+ z.lazy(() => DeploymentGetConfigOrIn$outboundSchema),
3533
+ z.lazy(() => DeploymentGetConfigOrNin$outboundSchema),
3534
+ z.lazy(() => DeploymentGetConfigOrExists$outboundSchema),
3535
+ ])),
3536
+ ),
3537
+ });
3258
3538
 
3259
- export function orToJSON(or: Or): string {
3260
- return JSON.stringify(Or$outboundSchema.parse(or));
3539
+ export function deploymentGetConfigKnowledgeFilterOrToJSON(
3540
+ deploymentGetConfigKnowledgeFilterOr: DeploymentGetConfigKnowledgeFilterOr,
3541
+ ): string {
3542
+ return JSON.stringify(
3543
+ DeploymentGetConfigKnowledgeFilterOr$outboundSchema.parse(
3544
+ deploymentGetConfigKnowledgeFilterOr,
3545
+ ),
3546
+ );
3261
3547
  }
3262
3548
 
3263
3549
  /** @internal */
3264
- export type AndExists$Outbound = {
3550
+ export type DeploymentGetConfigAndExists$Outbound = {
3265
3551
  exists: boolean;
3266
3552
  };
3267
3553
 
3268
3554
  /** @internal */
3269
- export const AndExists$outboundSchema: z.ZodType<
3270
- AndExists$Outbound,
3555
+ export const DeploymentGetConfigAndExists$outboundSchema: z.ZodType<
3556
+ DeploymentGetConfigAndExists$Outbound,
3271
3557
  z.ZodTypeDef,
3272
- AndExists
3558
+ DeploymentGetConfigAndExists
3273
3559
  > = z.object({
3274
3560
  exists: z.boolean(),
3275
3561
  });
3276
3562
 
3277
- export function andExistsToJSON(andExists: AndExists): string {
3278
- return JSON.stringify(AndExists$outboundSchema.parse(andExists));
3563
+ export function deploymentGetConfigAndExistsToJSON(
3564
+ deploymentGetConfigAndExists: DeploymentGetConfigAndExists,
3565
+ ): string {
3566
+ return JSON.stringify(
3567
+ DeploymentGetConfigAndExists$outboundSchema.parse(
3568
+ deploymentGetConfigAndExists,
3569
+ ),
3570
+ );
3279
3571
  }
3280
3572
 
3281
3573
  /** @internal */
3282
- export type DeploymentGetConfigAndNin$Outbound = string | number | boolean;
3574
+ export type DeploymentGetConfigAndDeploymentsNin$Outbound =
3575
+ | string
3576
+ | number
3577
+ | boolean;
3283
3578
 
3284
3579
  /** @internal */
3285
- export const DeploymentGetConfigAndNin$outboundSchema: z.ZodType<
3286
- DeploymentGetConfigAndNin$Outbound,
3580
+ export const DeploymentGetConfigAndDeploymentsNin$outboundSchema: z.ZodType<
3581
+ DeploymentGetConfigAndDeploymentsNin$Outbound,
3287
3582
  z.ZodTypeDef,
3288
- DeploymentGetConfigAndNin
3583
+ DeploymentGetConfigAndDeploymentsNin
3289
3584
  > = z.union([z.string(), z.number(), z.boolean()]);
3290
3585
 
3291
- export function deploymentGetConfigAndNinToJSON(
3292
- deploymentGetConfigAndNin: DeploymentGetConfigAndNin,
3586
+ export function deploymentGetConfigAndDeploymentsNinToJSON(
3587
+ deploymentGetConfigAndDeploymentsNin: DeploymentGetConfigAndDeploymentsNin,
3293
3588
  ): string {
3294
3589
  return JSON.stringify(
3295
- DeploymentGetConfigAndNin$outboundSchema.parse(deploymentGetConfigAndNin),
3590
+ DeploymentGetConfigAndDeploymentsNin$outboundSchema.parse(
3591
+ deploymentGetConfigAndDeploymentsNin,
3592
+ ),
3296
3593
  );
3297
3594
  }
3298
3595
 
3299
3596
  /** @internal */
3300
- export type AndNin$Outbound = {
3597
+ export type DeploymentGetConfigAndNin$Outbound = {
3301
3598
  nin: Array<string | number | boolean>;
3302
3599
  };
3303
3600
 
3304
3601
  /** @internal */
3305
- export const AndNin$outboundSchema: z.ZodType<
3306
- AndNin$Outbound,
3602
+ export const DeploymentGetConfigAndNin$outboundSchema: z.ZodType<
3603
+ DeploymentGetConfigAndNin$Outbound,
3307
3604
  z.ZodTypeDef,
3308
- AndNin
3605
+ DeploymentGetConfigAndNin
3309
3606
  > = z.object({
3310
3607
  nin: z.array(z.union([z.string(), z.number(), z.boolean()])),
3311
3608
  });
3312
3609
 
3313
- export function andNinToJSON(andNin: AndNin): string {
3314
- return JSON.stringify(AndNin$outboundSchema.parse(andNin));
3610
+ export function deploymentGetConfigAndNinToJSON(
3611
+ deploymentGetConfigAndNin: DeploymentGetConfigAndNin,
3612
+ ): string {
3613
+ return JSON.stringify(
3614
+ DeploymentGetConfigAndNin$outboundSchema.parse(deploymentGetConfigAndNin),
3615
+ );
3315
3616
  }
3316
3617
 
3317
3618
  /** @internal */
3318
- export type DeploymentGetConfigAndIn$Outbound = string | number | boolean;
3619
+ export type DeploymentGetConfigAndDeploymentsIn$Outbound =
3620
+ | string
3621
+ | number
3622
+ | boolean;
3319
3623
 
3320
3624
  /** @internal */
3321
- export const DeploymentGetConfigAndIn$outboundSchema: z.ZodType<
3322
- DeploymentGetConfigAndIn$Outbound,
3625
+ export const DeploymentGetConfigAndDeploymentsIn$outboundSchema: z.ZodType<
3626
+ DeploymentGetConfigAndDeploymentsIn$Outbound,
3323
3627
  z.ZodTypeDef,
3324
- DeploymentGetConfigAndIn
3628
+ DeploymentGetConfigAndDeploymentsIn
3325
3629
  > = z.union([z.string(), z.number(), z.boolean()]);
3326
3630
 
3327
- export function deploymentGetConfigAndInToJSON(
3328
- deploymentGetConfigAndIn: DeploymentGetConfigAndIn,
3631
+ export function deploymentGetConfigAndDeploymentsInToJSON(
3632
+ deploymentGetConfigAndDeploymentsIn: DeploymentGetConfigAndDeploymentsIn,
3329
3633
  ): string {
3330
3634
  return JSON.stringify(
3331
- DeploymentGetConfigAndIn$outboundSchema.parse(deploymentGetConfigAndIn),
3635
+ DeploymentGetConfigAndDeploymentsIn$outboundSchema.parse(
3636
+ deploymentGetConfigAndDeploymentsIn,
3637
+ ),
3332
3638
  );
3333
3639
  }
3334
3640
 
3335
3641
  /** @internal */
3336
- export type AndIn$Outbound = {
3642
+ export type DeploymentGetConfigAndIn$Outbound = {
3337
3643
  in: Array<string | number | boolean>;
3338
3644
  };
3339
3645
 
3340
3646
  /** @internal */
3341
- export const AndIn$outboundSchema: z.ZodType<
3342
- AndIn$Outbound,
3647
+ export const DeploymentGetConfigAndIn$outboundSchema: z.ZodType<
3648
+ DeploymentGetConfigAndIn$Outbound,
3343
3649
  z.ZodTypeDef,
3344
- AndIn
3650
+ DeploymentGetConfigAndIn
3345
3651
  > = z.object({
3346
3652
  in: z.array(z.union([z.string(), z.number(), z.boolean()])),
3347
3653
  });
3348
3654
 
3349
- export function andInToJSON(andIn: AndIn): string {
3350
- return JSON.stringify(AndIn$outboundSchema.parse(andIn));
3655
+ export function deploymentGetConfigAndInToJSON(
3656
+ deploymentGetConfigAndIn: DeploymentGetConfigAndIn,
3657
+ ): string {
3658
+ return JSON.stringify(
3659
+ DeploymentGetConfigAndIn$outboundSchema.parse(deploymentGetConfigAndIn),
3660
+ );
3351
3661
  }
3352
3662
 
3353
3663
  /** @internal */
3354
- export type AndLte$Outbound = {
3664
+ export type DeploymentGetConfigAndLte$Outbound = {
3355
3665
  lte: number;
3356
3666
  };
3357
3667
 
3358
3668
  /** @internal */
3359
- export const AndLte$outboundSchema: z.ZodType<
3360
- AndLte$Outbound,
3669
+ export const DeploymentGetConfigAndLte$outboundSchema: z.ZodType<
3670
+ DeploymentGetConfigAndLte$Outbound,
3361
3671
  z.ZodTypeDef,
3362
- AndLte
3672
+ DeploymentGetConfigAndLte
3363
3673
  > = z.object({
3364
3674
  lte: z.number(),
3365
3675
  });
3366
3676
 
3367
- export function andLteToJSON(andLte: AndLte): string {
3368
- return JSON.stringify(AndLte$outboundSchema.parse(andLte));
3677
+ export function deploymentGetConfigAndLteToJSON(
3678
+ deploymentGetConfigAndLte: DeploymentGetConfigAndLte,
3679
+ ): string {
3680
+ return JSON.stringify(
3681
+ DeploymentGetConfigAndLte$outboundSchema.parse(deploymentGetConfigAndLte),
3682
+ );
3369
3683
  }
3370
3684
 
3371
3685
  /** @internal */
3372
- export type AndLt$Outbound = {
3686
+ export type DeploymentGetConfigAndLt$Outbound = {
3373
3687
  lt: number;
3374
3688
  };
3375
3689
 
3376
3690
  /** @internal */
3377
- export const AndLt$outboundSchema: z.ZodType<
3378
- AndLt$Outbound,
3691
+ export const DeploymentGetConfigAndLt$outboundSchema: z.ZodType<
3692
+ DeploymentGetConfigAndLt$Outbound,
3379
3693
  z.ZodTypeDef,
3380
- AndLt
3694
+ DeploymentGetConfigAndLt
3381
3695
  > = z.object({
3382
3696
  lt: z.number(),
3383
3697
  });
3384
3698
 
3385
- export function andLtToJSON(andLt: AndLt): string {
3386
- return JSON.stringify(AndLt$outboundSchema.parse(andLt));
3699
+ export function deploymentGetConfigAndLtToJSON(
3700
+ deploymentGetConfigAndLt: DeploymentGetConfigAndLt,
3701
+ ): string {
3702
+ return JSON.stringify(
3703
+ DeploymentGetConfigAndLt$outboundSchema.parse(deploymentGetConfigAndLt),
3704
+ );
3387
3705
  }
3388
3706
 
3389
3707
  /** @internal */
3390
- export type AndGte$Outbound = {
3708
+ export type DeploymentGetConfigAndGte$Outbound = {
3391
3709
  gte: number;
3392
3710
  };
3393
3711
 
3394
3712
  /** @internal */
3395
- export const AndGte$outboundSchema: z.ZodType<
3396
- AndGte$Outbound,
3713
+ export const DeploymentGetConfigAndGte$outboundSchema: z.ZodType<
3714
+ DeploymentGetConfigAndGte$Outbound,
3397
3715
  z.ZodTypeDef,
3398
- AndGte
3716
+ DeploymentGetConfigAndGte
3399
3717
  > = z.object({
3400
3718
  gte: z.number(),
3401
3719
  });
3402
3720
 
3403
- export function andGteToJSON(andGte: AndGte): string {
3404
- return JSON.stringify(AndGte$outboundSchema.parse(andGte));
3721
+ export function deploymentGetConfigAndGteToJSON(
3722
+ deploymentGetConfigAndGte: DeploymentGetConfigAndGte,
3723
+ ): string {
3724
+ return JSON.stringify(
3725
+ DeploymentGetConfigAndGte$outboundSchema.parse(deploymentGetConfigAndGte),
3726
+ );
3405
3727
  }
3406
3728
 
3407
3729
  /** @internal */
3408
- export type AndGt$Outbound = {
3730
+ export type DeploymentGetConfigAndGt$Outbound = {
3409
3731
  gt: number;
3410
3732
  };
3411
3733
 
3412
3734
  /** @internal */
3413
- export const AndGt$outboundSchema: z.ZodType<
3414
- AndGt$Outbound,
3735
+ export const DeploymentGetConfigAndGt$outboundSchema: z.ZodType<
3736
+ DeploymentGetConfigAndGt$Outbound,
3415
3737
  z.ZodTypeDef,
3416
- AndGt
3738
+ DeploymentGetConfigAndGt
3417
3739
  > = z.object({
3418
3740
  gt: z.number(),
3419
3741
  });
3420
3742
 
3421
- export function andGtToJSON(andGt: AndGt): string {
3422
- return JSON.stringify(AndGt$outboundSchema.parse(andGt));
3743
+ export function deploymentGetConfigAndGtToJSON(
3744
+ deploymentGetConfigAndGt: DeploymentGetConfigAndGt,
3745
+ ): string {
3746
+ return JSON.stringify(
3747
+ DeploymentGetConfigAndGt$outboundSchema.parse(deploymentGetConfigAndGt),
3748
+ );
3423
3749
  }
3424
3750
 
3425
3751
  /** @internal */
3426
- export type DeploymentGetConfigAndNe$Outbound = string | number | boolean;
3752
+ export type DeploymentGetConfigAndDeploymentsNe$Outbound =
3753
+ | string
3754
+ | number
3755
+ | boolean;
3427
3756
 
3428
3757
  /** @internal */
3429
- export const DeploymentGetConfigAndNe$outboundSchema: z.ZodType<
3430
- DeploymentGetConfigAndNe$Outbound,
3758
+ export const DeploymentGetConfigAndDeploymentsNe$outboundSchema: z.ZodType<
3759
+ DeploymentGetConfigAndDeploymentsNe$Outbound,
3431
3760
  z.ZodTypeDef,
3432
- DeploymentGetConfigAndNe
3761
+ DeploymentGetConfigAndDeploymentsNe
3433
3762
  > = z.union([z.string(), z.number(), z.boolean()]);
3434
3763
 
3435
- export function deploymentGetConfigAndNeToJSON(
3436
- deploymentGetConfigAndNe: DeploymentGetConfigAndNe,
3764
+ export function deploymentGetConfigAndDeploymentsNeToJSON(
3765
+ deploymentGetConfigAndDeploymentsNe: DeploymentGetConfigAndDeploymentsNe,
3437
3766
  ): string {
3438
3767
  return JSON.stringify(
3439
- DeploymentGetConfigAndNe$outboundSchema.parse(deploymentGetConfigAndNe),
3768
+ DeploymentGetConfigAndDeploymentsNe$outboundSchema.parse(
3769
+ deploymentGetConfigAndDeploymentsNe,
3770
+ ),
3440
3771
  );
3441
3772
  }
3442
3773
 
3443
3774
  /** @internal */
3444
- export type AndNe$Outbound = {
3775
+ export type DeploymentGetConfigAndNe$Outbound = {
3445
3776
  ne: string | number | boolean;
3446
3777
  };
3447
3778
 
3448
3779
  /** @internal */
3449
- export const AndNe$outboundSchema: z.ZodType<
3450
- AndNe$Outbound,
3780
+ export const DeploymentGetConfigAndNe$outboundSchema: z.ZodType<
3781
+ DeploymentGetConfigAndNe$Outbound,
3451
3782
  z.ZodTypeDef,
3452
- AndNe
3783
+ DeploymentGetConfigAndNe
3453
3784
  > = z.object({
3454
3785
  ne: z.union([z.string(), z.number(), z.boolean()]),
3455
3786
  });
3456
3787
 
3457
- export function andNeToJSON(andNe: AndNe): string {
3458
- return JSON.stringify(AndNe$outboundSchema.parse(andNe));
3788
+ export function deploymentGetConfigAndNeToJSON(
3789
+ deploymentGetConfigAndNe: DeploymentGetConfigAndNe,
3790
+ ): string {
3791
+ return JSON.stringify(
3792
+ DeploymentGetConfigAndNe$outboundSchema.parse(deploymentGetConfigAndNe),
3793
+ );
3459
3794
  }
3460
3795
 
3461
3796
  /** @internal */
3462
- export type DeploymentGetConfigAndEq$Outbound = string | number | boolean;
3797
+ export type DeploymentGetConfigAndDeploymentsEq$Outbound =
3798
+ | string
3799
+ | number
3800
+ | boolean;
3463
3801
 
3464
3802
  /** @internal */
3465
- export const DeploymentGetConfigAndEq$outboundSchema: z.ZodType<
3466
- DeploymentGetConfigAndEq$Outbound,
3803
+ export const DeploymentGetConfigAndDeploymentsEq$outboundSchema: z.ZodType<
3804
+ DeploymentGetConfigAndDeploymentsEq$Outbound,
3467
3805
  z.ZodTypeDef,
3468
- DeploymentGetConfigAndEq
3806
+ DeploymentGetConfigAndDeploymentsEq
3469
3807
  > = z.union([z.string(), z.number(), z.boolean()]);
3470
3808
 
3471
- export function deploymentGetConfigAndEqToJSON(
3472
- deploymentGetConfigAndEq: DeploymentGetConfigAndEq,
3809
+ export function deploymentGetConfigAndDeploymentsEqToJSON(
3810
+ deploymentGetConfigAndDeploymentsEq: DeploymentGetConfigAndDeploymentsEq,
3473
3811
  ): string {
3474
3812
  return JSON.stringify(
3475
- DeploymentGetConfigAndEq$outboundSchema.parse(deploymentGetConfigAndEq),
3813
+ DeploymentGetConfigAndDeploymentsEq$outboundSchema.parse(
3814
+ deploymentGetConfigAndDeploymentsEq,
3815
+ ),
3476
3816
  );
3477
3817
  }
3478
3818
 
3479
3819
  /** @internal */
3480
- export type AndEq$Outbound = {
3820
+ export type DeploymentGetConfigAndEq$Outbound = {
3481
3821
  eq: string | number | boolean;
3482
3822
  };
3483
3823
 
3484
3824
  /** @internal */
3485
- export const AndEq$outboundSchema: z.ZodType<
3486
- AndEq$Outbound,
3825
+ export const DeploymentGetConfigAndEq$outboundSchema: z.ZodType<
3826
+ DeploymentGetConfigAndEq$Outbound,
3487
3827
  z.ZodTypeDef,
3488
- AndEq
3828
+ DeploymentGetConfigAndEq
3489
3829
  > = z.object({
3490
3830
  eq: z.union([z.string(), z.number(), z.boolean()]),
3491
3831
  });
3492
3832
 
3493
- export function andEqToJSON(andEq: AndEq): string {
3494
- return JSON.stringify(AndEq$outboundSchema.parse(andEq));
3833
+ export function deploymentGetConfigAndEqToJSON(
3834
+ deploymentGetConfigAndEq: DeploymentGetConfigAndEq,
3835
+ ): string {
3836
+ return JSON.stringify(
3837
+ DeploymentGetConfigAndEq$outboundSchema.parse(deploymentGetConfigAndEq),
3838
+ );
3495
3839
  }
3496
3840
 
3497
3841
  /** @internal */
3498
- export type KnowledgeFilterAnd$Outbound =
3499
- | AndEq$Outbound
3500
- | AndNe$Outbound
3501
- | AndGt$Outbound
3502
- | AndGte$Outbound
3503
- | AndLt$Outbound
3504
- | AndLte$Outbound
3505
- | AndIn$Outbound
3506
- | AndNin$Outbound
3507
- | AndExists$Outbound;
3842
+ export type DeploymentGetConfigKnowledgeFilterDeploymentsAnd$Outbound =
3843
+ | DeploymentGetConfigAndEq$Outbound
3844
+ | DeploymentGetConfigAndNe$Outbound
3845
+ | DeploymentGetConfigAndGt$Outbound
3846
+ | DeploymentGetConfigAndGte$Outbound
3847
+ | DeploymentGetConfigAndLt$Outbound
3848
+ | DeploymentGetConfigAndLte$Outbound
3849
+ | DeploymentGetConfigAndIn$Outbound
3850
+ | DeploymentGetConfigAndNin$Outbound
3851
+ | DeploymentGetConfigAndExists$Outbound;
3508
3852
 
3509
3853
  /** @internal */
3510
- export const KnowledgeFilterAnd$outboundSchema: z.ZodType<
3511
- KnowledgeFilterAnd$Outbound,
3512
- z.ZodTypeDef,
3513
- KnowledgeFilterAnd
3514
- > = z.union([
3515
- z.lazy(() => AndEq$outboundSchema),
3516
- z.lazy(() => AndNe$outboundSchema),
3517
- z.lazy(() => AndGt$outboundSchema),
3518
- z.lazy(() => AndGte$outboundSchema),
3519
- z.lazy(() => AndLt$outboundSchema),
3520
- z.lazy(() => AndLte$outboundSchema),
3521
- z.lazy(() => AndIn$outboundSchema),
3522
- z.lazy(() => AndNin$outboundSchema),
3523
- z.lazy(() => AndExists$outboundSchema),
3524
- ]);
3854
+ export const DeploymentGetConfigKnowledgeFilterDeploymentsAnd$outboundSchema:
3855
+ z.ZodType<
3856
+ DeploymentGetConfigKnowledgeFilterDeploymentsAnd$Outbound,
3857
+ z.ZodTypeDef,
3858
+ DeploymentGetConfigKnowledgeFilterDeploymentsAnd
3859
+ > = z.union([
3860
+ z.lazy(() => DeploymentGetConfigAndEq$outboundSchema),
3861
+ z.lazy(() => DeploymentGetConfigAndNe$outboundSchema),
3862
+ z.lazy(() => DeploymentGetConfigAndGt$outboundSchema),
3863
+ z.lazy(() => DeploymentGetConfigAndGte$outboundSchema),
3864
+ z.lazy(() => DeploymentGetConfigAndLt$outboundSchema),
3865
+ z.lazy(() => DeploymentGetConfigAndLte$outboundSchema),
3866
+ z.lazy(() => DeploymentGetConfigAndIn$outboundSchema),
3867
+ z.lazy(() => DeploymentGetConfigAndNin$outboundSchema),
3868
+ z.lazy(() => DeploymentGetConfigAndExists$outboundSchema),
3869
+ ]);
3525
3870
 
3526
- export function knowledgeFilterAndToJSON(
3527
- knowledgeFilterAnd: KnowledgeFilterAnd,
3871
+ export function deploymentGetConfigKnowledgeFilterDeploymentsAndToJSON(
3872
+ deploymentGetConfigKnowledgeFilterDeploymentsAnd:
3873
+ DeploymentGetConfigKnowledgeFilterDeploymentsAnd,
3528
3874
  ): string {
3529
3875
  return JSON.stringify(
3530
- KnowledgeFilterAnd$outboundSchema.parse(knowledgeFilterAnd),
3876
+ DeploymentGetConfigKnowledgeFilterDeploymentsAnd$outboundSchema.parse(
3877
+ deploymentGetConfigKnowledgeFilterDeploymentsAnd,
3878
+ ),
3531
3879
  );
3532
3880
  }
3533
3881
 
3534
3882
  /** @internal */
3535
- export type And$Outbound = {
3883
+ export type DeploymentGetConfigKnowledgeFilterAnd$Outbound = {
3536
3884
  and: Array<
3537
3885
  {
3538
3886
  [k: string]:
3539
- | AndEq$Outbound
3540
- | AndNe$Outbound
3541
- | AndGt$Outbound
3542
- | AndGte$Outbound
3543
- | AndLt$Outbound
3544
- | AndLte$Outbound
3545
- | AndIn$Outbound
3546
- | AndNin$Outbound
3547
- | AndExists$Outbound;
3887
+ | DeploymentGetConfigAndEq$Outbound
3888
+ | DeploymentGetConfigAndNe$Outbound
3889
+ | DeploymentGetConfigAndGt$Outbound
3890
+ | DeploymentGetConfigAndGte$Outbound
3891
+ | DeploymentGetConfigAndLt$Outbound
3892
+ | DeploymentGetConfigAndLte$Outbound
3893
+ | DeploymentGetConfigAndIn$Outbound
3894
+ | DeploymentGetConfigAndNin$Outbound
3895
+ | DeploymentGetConfigAndExists$Outbound;
3548
3896
  }
3549
3897
  >;
3550
3898
  };
3551
3899
 
3552
3900
  /** @internal */
3553
- export const And$outboundSchema: z.ZodType<And$Outbound, z.ZodTypeDef, And> = z
3554
- .object({
3555
- and: z.array(
3556
- z.record(z.union([
3557
- z.lazy(() => AndEq$outboundSchema),
3558
- z.lazy(() =>
3559
- AndNe$outboundSchema
3560
- ),
3561
- z.lazy(() => AndGt$outboundSchema),
3562
- z.lazy(() => AndGte$outboundSchema),
3563
- z.lazy(() => AndLt$outboundSchema),
3564
- z.lazy(() => AndLte$outboundSchema),
3565
- z.lazy(() => AndIn$outboundSchema),
3566
- z.lazy(() => AndNin$outboundSchema),
3567
- z.lazy(() => AndExists$outboundSchema),
3568
- ])),
3569
- ),
3570
- });
3901
+ export const DeploymentGetConfigKnowledgeFilterAnd$outboundSchema: z.ZodType<
3902
+ DeploymentGetConfigKnowledgeFilterAnd$Outbound,
3903
+ z.ZodTypeDef,
3904
+ DeploymentGetConfigKnowledgeFilterAnd
3905
+ > = z.object({
3906
+ and: z.array(
3907
+ z.record(z.union([
3908
+ z.lazy(() => DeploymentGetConfigAndEq$outboundSchema),
3909
+ z.lazy(() =>
3910
+ DeploymentGetConfigAndNe$outboundSchema
3911
+ ),
3912
+ z.lazy(() => DeploymentGetConfigAndGt$outboundSchema),
3913
+ z.lazy(() => DeploymentGetConfigAndGte$outboundSchema),
3914
+ z.lazy(() => DeploymentGetConfigAndLt$outboundSchema),
3915
+ z.lazy(() => DeploymentGetConfigAndLte$outboundSchema),
3916
+ z.lazy(() => DeploymentGetConfigAndIn$outboundSchema),
3917
+ z.lazy(() => DeploymentGetConfigAndNin$outboundSchema),
3918
+ z.lazy(() => DeploymentGetConfigAndExists$outboundSchema),
3919
+ ])),
3920
+ ),
3921
+ });
3571
3922
 
3572
- export function andToJSON(and: And): string {
3573
- return JSON.stringify(And$outboundSchema.parse(and));
3923
+ export function deploymentGetConfigKnowledgeFilterAndToJSON(
3924
+ deploymentGetConfigKnowledgeFilterAnd: DeploymentGetConfigKnowledgeFilterAnd,
3925
+ ): string {
3926
+ return JSON.stringify(
3927
+ DeploymentGetConfigKnowledgeFilterAnd$outboundSchema.parse(
3928
+ deploymentGetConfigKnowledgeFilterAnd,
3929
+ ),
3930
+ );
3574
3931
  }
3575
3932
 
3576
3933
  /** @internal */
3577
- export type Exists$Outbound = {
3934
+ export type OneExists$Outbound = {
3578
3935
  exists: boolean;
3579
3936
  };
3580
3937
 
3581
3938
  /** @internal */
3582
- export const Exists$outboundSchema: z.ZodType<
3583
- Exists$Outbound,
3939
+ export const OneExists$outboundSchema: z.ZodType<
3940
+ OneExists$Outbound,
3584
3941
  z.ZodTypeDef,
3585
- Exists
3942
+ OneExists
3586
3943
  > = z.object({
3587
3944
  exists: z.boolean(),
3588
3945
  });
3589
3946
 
3590
- export function existsToJSON(exists: Exists): string {
3591
- return JSON.stringify(Exists$outboundSchema.parse(exists));
3947
+ export function oneExistsToJSON(oneExists: OneExists): string {
3948
+ return JSON.stringify(OneExists$outboundSchema.parse(oneExists));
3592
3949
  }
3593
3950
 
3594
3951
  /** @internal */
3595
- export type OneNin$Outbound = string | number | boolean;
3952
+ export type DeploymentGetConfig1DeploymentsNin$Outbound =
3953
+ | string
3954
+ | number
3955
+ | boolean;
3596
3956
 
3597
3957
  /** @internal */
3598
- export const OneNin$outboundSchema: z.ZodType<
3599
- OneNin$Outbound,
3958
+ export const DeploymentGetConfig1DeploymentsNin$outboundSchema: z.ZodType<
3959
+ DeploymentGetConfig1DeploymentsNin$Outbound,
3600
3960
  z.ZodTypeDef,
3601
- OneNin
3961
+ DeploymentGetConfig1DeploymentsNin
3602
3962
  > = z.union([z.string(), z.number(), z.boolean()]);
3603
3963
 
3604
- export function oneNinToJSON(oneNin: OneNin): string {
3605
- return JSON.stringify(OneNin$outboundSchema.parse(oneNin));
3964
+ export function deploymentGetConfig1DeploymentsNinToJSON(
3965
+ deploymentGetConfig1DeploymentsNin: DeploymentGetConfig1DeploymentsNin,
3966
+ ): string {
3967
+ return JSON.stringify(
3968
+ DeploymentGetConfig1DeploymentsNin$outboundSchema.parse(
3969
+ deploymentGetConfig1DeploymentsNin,
3970
+ ),
3971
+ );
3606
3972
  }
3607
3973
 
3608
3974
  /** @internal */
3609
- export type Nin$Outbound = {
3975
+ export type DeploymentGetConfig1Nin$Outbound = {
3610
3976
  nin: Array<string | number | boolean>;
3611
3977
  };
3612
3978
 
3613
3979
  /** @internal */
3614
- export const Nin$outboundSchema: z.ZodType<Nin$Outbound, z.ZodTypeDef, Nin> = z
3615
- .object({
3616
- nin: z.array(z.union([z.string(), z.number(), z.boolean()])),
3617
- });
3980
+ export const DeploymentGetConfig1Nin$outboundSchema: z.ZodType<
3981
+ DeploymentGetConfig1Nin$Outbound,
3982
+ z.ZodTypeDef,
3983
+ DeploymentGetConfig1Nin
3984
+ > = z.object({
3985
+ nin: z.array(z.union([z.string(), z.number(), z.boolean()])),
3986
+ });
3618
3987
 
3619
- export function ninToJSON(nin: Nin): string {
3620
- return JSON.stringify(Nin$outboundSchema.parse(nin));
3988
+ export function deploymentGetConfig1NinToJSON(
3989
+ deploymentGetConfig1Nin: DeploymentGetConfig1Nin,
3990
+ ): string {
3991
+ return JSON.stringify(
3992
+ DeploymentGetConfig1Nin$outboundSchema.parse(deploymentGetConfig1Nin),
3993
+ );
3621
3994
  }
3622
3995
 
3623
3996
  /** @internal */
3624
- export type OneIn$Outbound = string | number | boolean;
3997
+ export type DeploymentGetConfig1DeploymentsIn$Outbound =
3998
+ | string
3999
+ | number
4000
+ | boolean;
3625
4001
 
3626
4002
  /** @internal */
3627
- export const OneIn$outboundSchema: z.ZodType<
3628
- OneIn$Outbound,
4003
+ export const DeploymentGetConfig1DeploymentsIn$outboundSchema: z.ZodType<
4004
+ DeploymentGetConfig1DeploymentsIn$Outbound,
3629
4005
  z.ZodTypeDef,
3630
- OneIn
4006
+ DeploymentGetConfig1DeploymentsIn
3631
4007
  > = z.union([z.string(), z.number(), z.boolean()]);
3632
4008
 
3633
- export function oneInToJSON(oneIn: OneIn): string {
3634
- return JSON.stringify(OneIn$outboundSchema.parse(oneIn));
4009
+ export function deploymentGetConfig1DeploymentsInToJSON(
4010
+ deploymentGetConfig1DeploymentsIn: DeploymentGetConfig1DeploymentsIn,
4011
+ ): string {
4012
+ return JSON.stringify(
4013
+ DeploymentGetConfig1DeploymentsIn$outboundSchema.parse(
4014
+ deploymentGetConfig1DeploymentsIn,
4015
+ ),
4016
+ );
3635
4017
  }
3636
4018
 
3637
4019
  /** @internal */
3638
- export type In$Outbound = {
4020
+ export type DeploymentGetConfig1In$Outbound = {
3639
4021
  in: Array<string | number | boolean>;
3640
4022
  };
3641
4023
 
3642
4024
  /** @internal */
3643
- export const In$outboundSchema: z.ZodType<In$Outbound, z.ZodTypeDef, In> = z
3644
- .object({
3645
- in: z.array(z.union([z.string(), z.number(), z.boolean()])),
3646
- });
4025
+ export const DeploymentGetConfig1In$outboundSchema: z.ZodType<
4026
+ DeploymentGetConfig1In$Outbound,
4027
+ z.ZodTypeDef,
4028
+ DeploymentGetConfig1In
4029
+ > = z.object({
4030
+ in: z.array(z.union([z.string(), z.number(), z.boolean()])),
4031
+ });
3647
4032
 
3648
- export function inToJSON(value: In): string {
3649
- return JSON.stringify(In$outboundSchema.parse(value));
4033
+ export function deploymentGetConfig1InToJSON(
4034
+ deploymentGetConfig1In: DeploymentGetConfig1In,
4035
+ ): string {
4036
+ return JSON.stringify(
4037
+ DeploymentGetConfig1In$outboundSchema.parse(deploymentGetConfig1In),
4038
+ );
3650
4039
  }
3651
4040
 
3652
4041
  /** @internal */
3653
- export type Lte$Outbound = {
4042
+ export type OneLte$Outbound = {
3654
4043
  lte: number;
3655
4044
  };
3656
4045
 
3657
4046
  /** @internal */
3658
- export const Lte$outboundSchema: z.ZodType<Lte$Outbound, z.ZodTypeDef, Lte> = z
3659
- .object({
3660
- lte: z.number(),
3661
- });
4047
+ export const OneLte$outboundSchema: z.ZodType<
4048
+ OneLte$Outbound,
4049
+ z.ZodTypeDef,
4050
+ OneLte
4051
+ > = z.object({
4052
+ lte: z.number(),
4053
+ });
3662
4054
 
3663
- export function lteToJSON(lte: Lte): string {
3664
- return JSON.stringify(Lte$outboundSchema.parse(lte));
4055
+ export function oneLteToJSON(oneLte: OneLte): string {
4056
+ return JSON.stringify(OneLte$outboundSchema.parse(oneLte));
3665
4057
  }
3666
4058
 
3667
4059
  /** @internal */
3668
- export type Lt$Outbound = {
4060
+ export type OneLt$Outbound = {
3669
4061
  lt: number;
3670
4062
  };
3671
4063
 
3672
4064
  /** @internal */
3673
- export const Lt$outboundSchema: z.ZodType<Lt$Outbound, z.ZodTypeDef, Lt> = z
3674
- .object({
3675
- lt: z.number(),
3676
- });
4065
+ export const OneLt$outboundSchema: z.ZodType<
4066
+ OneLt$Outbound,
4067
+ z.ZodTypeDef,
4068
+ OneLt
4069
+ > = z.object({
4070
+ lt: z.number(),
4071
+ });
3677
4072
 
3678
- export function ltToJSON(lt: Lt): string {
3679
- return JSON.stringify(Lt$outboundSchema.parse(lt));
4073
+ export function oneLtToJSON(oneLt: OneLt): string {
4074
+ return JSON.stringify(OneLt$outboundSchema.parse(oneLt));
3680
4075
  }
3681
4076
 
3682
4077
  /** @internal */
3683
- export type Gte$Outbound = {
4078
+ export type OneGte$Outbound = {
3684
4079
  gte: number;
3685
4080
  };
3686
4081
 
3687
4082
  /** @internal */
3688
- export const Gte$outboundSchema: z.ZodType<Gte$Outbound, z.ZodTypeDef, Gte> = z
3689
- .object({
3690
- gte: z.number(),
3691
- });
4083
+ export const OneGte$outboundSchema: z.ZodType<
4084
+ OneGte$Outbound,
4085
+ z.ZodTypeDef,
4086
+ OneGte
4087
+ > = z.object({
4088
+ gte: z.number(),
4089
+ });
3692
4090
 
3693
- export function gteToJSON(gte: Gte): string {
3694
- return JSON.stringify(Gte$outboundSchema.parse(gte));
4091
+ export function oneGteToJSON(oneGte: OneGte): string {
4092
+ return JSON.stringify(OneGte$outboundSchema.parse(oneGte));
3695
4093
  }
3696
4094
 
3697
4095
  /** @internal */
3698
- export type Gt$Outbound = {
4096
+ export type OneGt$Outbound = {
3699
4097
  gt: number;
3700
4098
  };
3701
4099
 
3702
4100
  /** @internal */
3703
- export const Gt$outboundSchema: z.ZodType<Gt$Outbound, z.ZodTypeDef, Gt> = z
3704
- .object({
3705
- gt: z.number(),
3706
- });
4101
+ export const OneGt$outboundSchema: z.ZodType<
4102
+ OneGt$Outbound,
4103
+ z.ZodTypeDef,
4104
+ OneGt
4105
+ > = z.object({
4106
+ gt: z.number(),
4107
+ });
3707
4108
 
3708
- export function gtToJSON(gt: Gt): string {
3709
- return JSON.stringify(Gt$outboundSchema.parse(gt));
4109
+ export function oneGtToJSON(oneGt: OneGt): string {
4110
+ return JSON.stringify(OneGt$outboundSchema.parse(oneGt));
3710
4111
  }
3711
4112
 
3712
4113
  /** @internal */
3713
- export type OneNe$Outbound = string | number | boolean;
4114
+ export type DeploymentGetConfig1DeploymentsNe$Outbound =
4115
+ | string
4116
+ | number
4117
+ | boolean;
3714
4118
 
3715
4119
  /** @internal */
3716
- export const OneNe$outboundSchema: z.ZodType<
3717
- OneNe$Outbound,
4120
+ export const DeploymentGetConfig1DeploymentsNe$outboundSchema: z.ZodType<
4121
+ DeploymentGetConfig1DeploymentsNe$Outbound,
3718
4122
  z.ZodTypeDef,
3719
- OneNe
4123
+ DeploymentGetConfig1DeploymentsNe
3720
4124
  > = z.union([z.string(), z.number(), z.boolean()]);
3721
4125
 
3722
- export function oneNeToJSON(oneNe: OneNe): string {
3723
- return JSON.stringify(OneNe$outboundSchema.parse(oneNe));
4126
+ export function deploymentGetConfig1DeploymentsNeToJSON(
4127
+ deploymentGetConfig1DeploymentsNe: DeploymentGetConfig1DeploymentsNe,
4128
+ ): string {
4129
+ return JSON.stringify(
4130
+ DeploymentGetConfig1DeploymentsNe$outboundSchema.parse(
4131
+ deploymentGetConfig1DeploymentsNe,
4132
+ ),
4133
+ );
3724
4134
  }
3725
4135
 
3726
4136
  /** @internal */
3727
- export type Ne$Outbound = {
4137
+ export type DeploymentGetConfig1Ne$Outbound = {
3728
4138
  ne: string | number | boolean;
3729
4139
  };
3730
4140
 
3731
4141
  /** @internal */
3732
- export const Ne$outboundSchema: z.ZodType<Ne$Outbound, z.ZodTypeDef, Ne> = z
3733
- .object({
3734
- ne: z.union([z.string(), z.number(), z.boolean()]),
3735
- });
4142
+ export const DeploymentGetConfig1Ne$outboundSchema: z.ZodType<
4143
+ DeploymentGetConfig1Ne$Outbound,
4144
+ z.ZodTypeDef,
4145
+ DeploymentGetConfig1Ne
4146
+ > = z.object({
4147
+ ne: z.union([z.string(), z.number(), z.boolean()]),
4148
+ });
3736
4149
 
3737
- export function neToJSON(ne: Ne): string {
3738
- return JSON.stringify(Ne$outboundSchema.parse(ne));
4150
+ export function deploymentGetConfig1NeToJSON(
4151
+ deploymentGetConfig1Ne: DeploymentGetConfig1Ne,
4152
+ ): string {
4153
+ return JSON.stringify(
4154
+ DeploymentGetConfig1Ne$outboundSchema.parse(deploymentGetConfig1Ne),
4155
+ );
3739
4156
  }
3740
4157
 
3741
4158
  /** @internal */
3742
- export type OneEq$Outbound = string | number | boolean;
4159
+ export type DeploymentGetConfig1DeploymentsEq$Outbound =
4160
+ | string
4161
+ | number
4162
+ | boolean;
3743
4163
 
3744
4164
  /** @internal */
3745
- export const OneEq$outboundSchema: z.ZodType<
3746
- OneEq$Outbound,
4165
+ export const DeploymentGetConfig1DeploymentsEq$outboundSchema: z.ZodType<
4166
+ DeploymentGetConfig1DeploymentsEq$Outbound,
3747
4167
  z.ZodTypeDef,
3748
- OneEq
4168
+ DeploymentGetConfig1DeploymentsEq
3749
4169
  > = z.union([z.string(), z.number(), z.boolean()]);
3750
4170
 
3751
- export function oneEqToJSON(oneEq: OneEq): string {
3752
- return JSON.stringify(OneEq$outboundSchema.parse(oneEq));
4171
+ export function deploymentGetConfig1DeploymentsEqToJSON(
4172
+ deploymentGetConfig1DeploymentsEq: DeploymentGetConfig1DeploymentsEq,
4173
+ ): string {
4174
+ return JSON.stringify(
4175
+ DeploymentGetConfig1DeploymentsEq$outboundSchema.parse(
4176
+ deploymentGetConfig1DeploymentsEq,
4177
+ ),
4178
+ );
3753
4179
  }
3754
4180
 
3755
4181
  /** @internal */
3756
- export type Eq$Outbound = {
4182
+ export type DeploymentGetConfig1Eq$Outbound = {
3757
4183
  eq: string | number | boolean;
3758
4184
  };
3759
4185
 
3760
4186
  /** @internal */
3761
- export const Eq$outboundSchema: z.ZodType<Eq$Outbound, z.ZodTypeDef, Eq> = z
3762
- .object({
3763
- eq: z.union([z.string(), z.number(), z.boolean()]),
3764
- });
4187
+ export const DeploymentGetConfig1Eq$outboundSchema: z.ZodType<
4188
+ DeploymentGetConfig1Eq$Outbound,
4189
+ z.ZodTypeDef,
4190
+ DeploymentGetConfig1Eq
4191
+ > = z.object({
4192
+ eq: z.union([z.string(), z.number(), z.boolean()]),
4193
+ });
3765
4194
 
3766
- export function eqToJSON(eq: Eq): string {
3767
- return JSON.stringify(Eq$outboundSchema.parse(eq));
4195
+ export function deploymentGetConfig1EqToJSON(
4196
+ deploymentGetConfig1Eq: DeploymentGetConfig1Eq,
4197
+ ): string {
4198
+ return JSON.stringify(
4199
+ DeploymentGetConfig1Eq$outboundSchema.parse(deploymentGetConfig1Eq),
4200
+ );
3768
4201
  }
3769
4202
 
3770
4203
  /** @internal */
3771
- export type KnowledgeFilter1$Outbound =
3772
- | Eq$Outbound
3773
- | Ne$Outbound
3774
- | Gt$Outbound
3775
- | Gte$Outbound
3776
- | Lt$Outbound
3777
- | Lte$Outbound
3778
- | In$Outbound
3779
- | Nin$Outbound
3780
- | Exists$Outbound;
4204
+ export type DeploymentGetConfigKnowledgeFilter1$Outbound =
4205
+ | DeploymentGetConfig1Eq$Outbound
4206
+ | DeploymentGetConfig1Ne$Outbound
4207
+ | OneGt$Outbound
4208
+ | OneGte$Outbound
4209
+ | OneLt$Outbound
4210
+ | OneLte$Outbound
4211
+ | DeploymentGetConfig1In$Outbound
4212
+ | DeploymentGetConfig1Nin$Outbound
4213
+ | OneExists$Outbound;
3781
4214
 
3782
4215
  /** @internal */
3783
- export const KnowledgeFilter1$outboundSchema: z.ZodType<
3784
- KnowledgeFilter1$Outbound,
4216
+ export const DeploymentGetConfigKnowledgeFilter1$outboundSchema: z.ZodType<
4217
+ DeploymentGetConfigKnowledgeFilter1$Outbound,
3785
4218
  z.ZodTypeDef,
3786
- KnowledgeFilter1
4219
+ DeploymentGetConfigKnowledgeFilter1
3787
4220
  > = z.union([
3788
- z.lazy(() => Eq$outboundSchema),
3789
- z.lazy(() => Ne$outboundSchema),
3790
- z.lazy(() => Gt$outboundSchema),
3791
- z.lazy(() => Gte$outboundSchema),
3792
- z.lazy(() => Lt$outboundSchema),
3793
- z.lazy(() => Lte$outboundSchema),
3794
- z.lazy(() => In$outboundSchema),
3795
- z.lazy(() => Nin$outboundSchema),
3796
- z.lazy(() => Exists$outboundSchema),
4221
+ z.lazy(() => DeploymentGetConfig1Eq$outboundSchema),
4222
+ z.lazy(() => DeploymentGetConfig1Ne$outboundSchema),
4223
+ z.lazy(() => OneGt$outboundSchema),
4224
+ z.lazy(() => OneGte$outboundSchema),
4225
+ z.lazy(() => OneLt$outboundSchema),
4226
+ z.lazy(() => OneLte$outboundSchema),
4227
+ z.lazy(() => DeploymentGetConfig1In$outboundSchema),
4228
+ z.lazy(() => DeploymentGetConfig1Nin$outboundSchema),
4229
+ z.lazy(() => OneExists$outboundSchema),
3797
4230
  ]);
3798
4231
 
3799
- export function knowledgeFilter1ToJSON(
3800
- knowledgeFilter1: KnowledgeFilter1,
4232
+ export function deploymentGetConfigKnowledgeFilter1ToJSON(
4233
+ deploymentGetConfigKnowledgeFilter1: DeploymentGetConfigKnowledgeFilter1,
3801
4234
  ): string {
3802
4235
  return JSON.stringify(
3803
- KnowledgeFilter1$outboundSchema.parse(knowledgeFilter1),
4236
+ DeploymentGetConfigKnowledgeFilter1$outboundSchema.parse(
4237
+ deploymentGetConfigKnowledgeFilter1,
4238
+ ),
3804
4239
  );
3805
4240
  }
3806
4241
 
3807
4242
  /** @internal */
3808
- export type KnowledgeFilter$Outbound = And$Outbound | Or$Outbound | {
3809
- [k: string]:
3810
- | Eq$Outbound
3811
- | Ne$Outbound
3812
- | Gt$Outbound
3813
- | Gte$Outbound
3814
- | Lt$Outbound
3815
- | Lte$Outbound
3816
- | In$Outbound
3817
- | Nin$Outbound
3818
- | Exists$Outbound;
3819
- };
3820
-
3821
- /** @internal */
3822
- export const KnowledgeFilter$outboundSchema: z.ZodType<
3823
- KnowledgeFilter$Outbound,
4243
+ export type DeploymentGetConfigKnowledgeFilter$Outbound =
4244
+ | DeploymentGetConfigKnowledgeFilterAnd$Outbound
4245
+ | DeploymentGetConfigKnowledgeFilterOr$Outbound
4246
+ | {
4247
+ [k: string]:
4248
+ | DeploymentGetConfig1Eq$Outbound
4249
+ | DeploymentGetConfig1Ne$Outbound
4250
+ | OneGt$Outbound
4251
+ | OneGte$Outbound
4252
+ | OneLt$Outbound
4253
+ | OneLte$Outbound
4254
+ | DeploymentGetConfig1In$Outbound
4255
+ | DeploymentGetConfig1Nin$Outbound
4256
+ | OneExists$Outbound;
4257
+ };
4258
+
4259
+ /** @internal */
4260
+ export const DeploymentGetConfigKnowledgeFilter$outboundSchema: z.ZodType<
4261
+ DeploymentGetConfigKnowledgeFilter$Outbound,
3824
4262
  z.ZodTypeDef,
3825
- KnowledgeFilter
4263
+ DeploymentGetConfigKnowledgeFilter
3826
4264
  > = z.union([
3827
- z.lazy(() => And$outboundSchema),
3828
- z.lazy(() => Or$outboundSchema),
4265
+ z.lazy(() => DeploymentGetConfigKnowledgeFilterAnd$outboundSchema),
4266
+ z.lazy(() => DeploymentGetConfigKnowledgeFilterOr$outboundSchema),
3829
4267
  z.record(z.union([
3830
- z.lazy(() => Eq$outboundSchema),
3831
- z.lazy(() => Ne$outboundSchema),
3832
- z.lazy(() => Gt$outboundSchema),
3833
- z.lazy(() => Gte$outboundSchema),
3834
- z.lazy(() => Lt$outboundSchema),
3835
- z.lazy(() => Lte$outboundSchema),
3836
- z.lazy(() => In$outboundSchema),
3837
- z.lazy(() => Nin$outboundSchema),
3838
- z.lazy(() => Exists$outboundSchema),
4268
+ z.lazy(() => DeploymentGetConfig1Eq$outboundSchema),
4269
+ z.lazy(() => DeploymentGetConfig1Ne$outboundSchema),
4270
+ z.lazy(() => OneGt$outboundSchema),
4271
+ z.lazy(() => OneGte$outboundSchema),
4272
+ z.lazy(() => OneLt$outboundSchema),
4273
+ z.lazy(() => OneLte$outboundSchema),
4274
+ z.lazy(() => DeploymentGetConfig1In$outboundSchema),
4275
+ z.lazy(() => DeploymentGetConfig1Nin$outboundSchema),
4276
+ z.lazy(() => OneExists$outboundSchema),
3839
4277
  ])),
3840
4278
  ]);
3841
4279
 
3842
- export function knowledgeFilterToJSON(
3843
- knowledgeFilter: KnowledgeFilter,
4280
+ export function deploymentGetConfigKnowledgeFilterToJSON(
4281
+ deploymentGetConfigKnowledgeFilter: DeploymentGetConfigKnowledgeFilter,
3844
4282
  ): string {
3845
- return JSON.stringify(KnowledgeFilter$outboundSchema.parse(knowledgeFilter));
4283
+ return JSON.stringify(
4284
+ DeploymentGetConfigKnowledgeFilter$outboundSchema.parse(
4285
+ deploymentGetConfigKnowledgeFilter,
4286
+ ),
4287
+ );
3846
4288
  }
3847
4289
 
3848
4290
  /** @internal */
@@ -3852,41 +4294,45 @@ export type DeploymentGetConfigRequestBody$Outbound = {
3852
4294
  context?: { [k: string]: any } | undefined;
3853
4295
  prefix_messages?:
3854
4296
  | Array<
3855
- | SystemMessage$Outbound
3856
- | DeveloperMessage$Outbound
3857
- | UserMessage$Outbound
3858
- | AssistantMessage$Outbound
3859
- | ToolMessage$Outbound
4297
+ | PrefixMessagesSystemMessage$Outbound
4298
+ | PrefixMessagesDeveloperMessage$Outbound
4299
+ | PrefixMessagesUserMessage$Outbound
4300
+ | PrefixMessagesAssistantMessage$Outbound
4301
+ | PrefixMessagesToolMessage$Outbound
3860
4302
  >
3861
4303
  | undefined;
3862
4304
  messages?:
3863
4305
  | Array<
3864
- | MessagesSystemMessage$Outbound
3865
- | MessagesDeveloperMessage$Outbound
3866
- | MessagesUserMessage$Outbound
3867
- | MessagesAssistantMessage$Outbound
3868
- | MessagesToolMessage$Outbound
4306
+ | DeploymentGetConfigMessagesSystemMessage$Outbound
4307
+ | DeploymentGetConfigMessagesDeveloperMessage$Outbound
4308
+ | DeploymentGetConfigMessagesUserMessage$Outbound
4309
+ | DeploymentGetConfigMessagesAssistantMessage$Outbound
4310
+ | DeploymentGetConfigMessagesToolMessage$Outbound
3869
4311
  >
3870
4312
  | undefined;
3871
4313
  identity?: components.PublicIdentity$Outbound | undefined;
3872
4314
  file_ids?: Array<string> | undefined;
3873
4315
  metadata?: { [k: string]: any } | undefined;
3874
4316
  extra_params?: { [k: string]: any } | undefined;
3875
- documents?: Array<Documents$Outbound> | undefined;
3876
- invoke_options?: InvokeOptions$Outbound | undefined;
3877
- thread?: Thread$Outbound | undefined;
3878
- knowledge_filter?: And$Outbound | Or$Outbound | {
3879
- [k: string]:
3880
- | Eq$Outbound
3881
- | Ne$Outbound
3882
- | Gt$Outbound
3883
- | Gte$Outbound
3884
- | Lt$Outbound
3885
- | Lte$Outbound
3886
- | In$Outbound
3887
- | Nin$Outbound
3888
- | Exists$Outbound;
3889
- } | undefined;
4317
+ documents?: Array<DeploymentGetConfigDocuments$Outbound> | undefined;
4318
+ invoke_options?: DeploymentGetConfigInvokeOptions$Outbound | undefined;
4319
+ thread?: DeploymentGetConfigThread$Outbound | undefined;
4320
+ knowledge_filter?:
4321
+ | DeploymentGetConfigKnowledgeFilterAnd$Outbound
4322
+ | DeploymentGetConfigKnowledgeFilterOr$Outbound
4323
+ | {
4324
+ [k: string]:
4325
+ | DeploymentGetConfig1Eq$Outbound
4326
+ | DeploymentGetConfig1Ne$Outbound
4327
+ | OneGt$Outbound
4328
+ | OneGte$Outbound
4329
+ | OneLt$Outbound
4330
+ | OneLte$Outbound
4331
+ | DeploymentGetConfig1In$Outbound
4332
+ | DeploymentGetConfig1Nin$Outbound
4333
+ | OneExists$Outbound;
4334
+ }
4335
+ | undefined;
3890
4336
  };
3891
4337
 
3892
4338
  /** @internal */
@@ -3900,43 +4346,47 @@ export const DeploymentGetConfigRequestBody$outboundSchema: z.ZodType<
3900
4346
  context: z.record(z.any()).optional(),
3901
4347
  prefixMessages: z.array(
3902
4348
  z.union([
3903
- z.lazy(() => SystemMessage$outboundSchema),
3904
- z.lazy(() => DeveloperMessage$outboundSchema),
3905
- z.lazy(() => UserMessage$outboundSchema),
3906
- z.lazy(() => AssistantMessage$outboundSchema),
3907
- z.lazy(() => ToolMessage$outboundSchema),
4349
+ z.lazy(() => PrefixMessagesSystemMessage$outboundSchema),
4350
+ z.lazy(() => PrefixMessagesDeveloperMessage$outboundSchema),
4351
+ z.lazy(() => PrefixMessagesUserMessage$outboundSchema),
4352
+ z.lazy(() => PrefixMessagesAssistantMessage$outboundSchema),
4353
+ z.lazy(() => PrefixMessagesToolMessage$outboundSchema),
3908
4354
  ]),
3909
4355
  ).optional(),
3910
4356
  messages: z.array(
3911
4357
  z.union([
3912
- z.lazy(() => MessagesSystemMessage$outboundSchema),
3913
- z.lazy(() => MessagesDeveloperMessage$outboundSchema),
3914
- z.lazy(() => MessagesUserMessage$outboundSchema),
3915
- z.lazy(() => MessagesAssistantMessage$outboundSchema),
3916
- z.lazy(() => MessagesToolMessage$outboundSchema),
4358
+ z.lazy(() => DeploymentGetConfigMessagesSystemMessage$outboundSchema),
4359
+ z.lazy(() => DeploymentGetConfigMessagesDeveloperMessage$outboundSchema),
4360
+ z.lazy(() => DeploymentGetConfigMessagesUserMessage$outboundSchema),
4361
+ z.lazy(() => DeploymentGetConfigMessagesAssistantMessage$outboundSchema),
4362
+ z.lazy(() => DeploymentGetConfigMessagesToolMessage$outboundSchema),
3917
4363
  ]),
3918
4364
  ).optional(),
3919
4365
  identity: components.PublicIdentity$outboundSchema.optional(),
3920
4366
  fileIds: z.array(z.string()).optional(),
3921
4367
  metadata: z.record(z.any()).optional(),
3922
4368
  extraParams: z.record(z.any()).optional(),
3923
- documents: z.array(z.lazy(() => Documents$outboundSchema)).optional(),
3924
- invokeOptions: z.lazy(() => InvokeOptions$outboundSchema).optional(),
3925
- thread: z.lazy(() => Thread$outboundSchema).optional(),
4369
+ documents: z.array(z.lazy(() => DeploymentGetConfigDocuments$outboundSchema))
4370
+ .optional(),
4371
+ invokeOptions: z.lazy(() => DeploymentGetConfigInvokeOptions$outboundSchema)
4372
+ .optional(),
4373
+ thread: z.lazy(() => DeploymentGetConfigThread$outboundSchema).optional(),
3926
4374
  knowledgeFilter: z.union([
3927
- z.lazy(() => And$outboundSchema),
3928
- z.lazy(() => Or$outboundSchema),
3929
- z.record(z.union([
3930
- z.lazy(() => Eq$outboundSchema),
3931
- z.lazy(() => Ne$outboundSchema),
3932
- z.lazy(() => Gt$outboundSchema),
3933
- z.lazy(() => Gte$outboundSchema),
3934
- z.lazy(() => Lt$outboundSchema),
3935
- z.lazy(() => Lte$outboundSchema),
3936
- z.lazy(() => In$outboundSchema),
3937
- z.lazy(() => Nin$outboundSchema),
3938
- z.lazy(() => Exists$outboundSchema),
3939
- ])),
4375
+ z.lazy(() => DeploymentGetConfigKnowledgeFilterAnd$outboundSchema),
4376
+ z.lazy(() => DeploymentGetConfigKnowledgeFilterOr$outboundSchema),
4377
+ z.record(
4378
+ z.union([
4379
+ z.lazy(() => DeploymentGetConfig1Eq$outboundSchema),
4380
+ z.lazy(() => DeploymentGetConfig1Ne$outboundSchema),
4381
+ z.lazy(() => OneGt$outboundSchema),
4382
+ z.lazy(() => OneGte$outboundSchema),
4383
+ z.lazy(() => OneLt$outboundSchema),
4384
+ z.lazy(() => OneLte$outboundSchema),
4385
+ z.lazy(() => DeploymentGetConfig1In$outboundSchema),
4386
+ z.lazy(() => DeploymentGetConfig1Nin$outboundSchema),
4387
+ z.lazy(() => OneExists$outboundSchema),
4388
+ ]),
4389
+ ),
3940
4390
  ]).optional(),
3941
4391
  }).transform((v) => {
3942
4392
  return remap$(v, {