@orq-ai/node 4.2.0-rc.44 → 4.2.0-rc.45

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 (151) hide show
  1. package/README.md +2 -1
  2. package/bin/mcp-server.js +4769 -1624
  3. package/bin/mcp-server.js.map +57 -56
  4. package/examples/package-lock.json +1 -1
  5. package/funcs/promptsDelete.d.ts +2 -1
  6. package/funcs/promptsDelete.d.ts.map +1 -1
  7. package/funcs/promptsDelete.js +7 -3
  8. package/funcs/promptsDelete.js.map +1 -1
  9. package/jsr.json +1 -1
  10. package/lib/config.d.ts +2 -2
  11. package/lib/config.js +2 -2
  12. package/mcp-server/mcp-server.js +1 -1
  13. package/mcp-server/server.js +1 -1
  14. package/models/components/conversationresponse.js +2 -2
  15. package/models/components/conversationwithmessagesresponse.js +2 -2
  16. package/models/components/partdoneevent.js +2 -2
  17. package/models/components/reasoningpart.js +2 -2
  18. package/models/errors/deleteprompt.d.ts +29 -0
  19. package/models/errors/deleteprompt.d.ts.map +1 -0
  20. package/models/errors/deleteprompt.js +74 -0
  21. package/models/errors/deleteprompt.js.map +1 -0
  22. package/models/errors/index.d.ts +1 -0
  23. package/models/errors/index.d.ts.map +1 -1
  24. package/models/errors/index.js +1 -0
  25. package/models/errors/index.js.map +1 -1
  26. package/models/operations/createcontact.js +2 -2
  27. package/models/operations/createconversation.js +2 -2
  28. package/models/operations/createconversationresponse.js +4 -4
  29. package/models/operations/createdataset.js +2 -2
  30. package/models/operations/createdatasetitem.js +8 -8
  31. package/models/operations/createdatasource.js +2 -2
  32. package/models/operations/createeval.d.ts +16 -16
  33. package/models/operations/createeval.d.ts.map +1 -1
  34. package/models/operations/createeval.js +56 -53
  35. package/models/operations/createeval.js.map +1 -1
  36. package/models/operations/createidentity.js +2 -2
  37. package/models/operations/createprompt.d.ts +1746 -976
  38. package/models/operations/createprompt.d.ts.map +1 -1
  39. package/models/operations/createprompt.js +2032 -1282
  40. package/models/operations/createprompt.js.map +1 -1
  41. package/models/operations/createtool.js +12 -12
  42. package/models/operations/deploymentgetconfig.d.ts +88 -88
  43. package/models/operations/deploymentgetconfig.d.ts.map +1 -1
  44. package/models/operations/deploymentgetconfig.js +131 -130
  45. package/models/operations/deploymentgetconfig.js.map +1 -1
  46. package/models/operations/deploymentinvoke.d.ts +5 -5
  47. package/models/operations/deploymentinvoke.d.ts.map +1 -1
  48. package/models/operations/deploymentinvoke.js +7 -6
  49. package/models/operations/deploymentinvoke.js.map +1 -1
  50. package/models/operations/fileget.js +2 -2
  51. package/models/operations/filelist.js +2 -2
  52. package/models/operations/fileupload.js +2 -2
  53. package/models/operations/generateconversationname.js +2 -2
  54. package/models/operations/getallprompts.d.ts +1051 -42
  55. package/models/operations/getallprompts.d.ts.map +1 -1
  56. package/models/operations/getallprompts.js +1069 -48
  57. package/models/operations/getallprompts.js.map +1 -1
  58. package/models/operations/getalltools.js +12 -12
  59. package/models/operations/getevals.js +28 -28
  60. package/models/operations/getoneprompt.d.ts +1051 -42
  61. package/models/operations/getoneprompt.d.ts.map +1 -1
  62. package/models/operations/getoneprompt.js +1071 -47
  63. package/models/operations/getoneprompt.js.map +1 -1
  64. package/models/operations/getpromptversion.d.ts +1051 -42
  65. package/models/operations/getpromptversion.d.ts.map +1 -1
  66. package/models/operations/getpromptversion.js +1070 -48
  67. package/models/operations/getpromptversion.js.map +1 -1
  68. package/models/operations/listcontacts.js +2 -2
  69. package/models/operations/listdatasetdatapoints.js +8 -8
  70. package/models/operations/listdatasets.js +2 -2
  71. package/models/operations/listdatasources.js +2 -2
  72. package/models/operations/listidentities.js +2 -2
  73. package/models/operations/listpromptversions.d.ts +1051 -42
  74. package/models/operations/listpromptversions.d.ts.map +1 -1
  75. package/models/operations/listpromptversions.js +1070 -47
  76. package/models/operations/listpromptversions.js.map +1 -1
  77. package/models/operations/retrievecontact.js +2 -2
  78. package/models/operations/retrievedatapoint.js +8 -8
  79. package/models/operations/retrievedataset.js +2 -2
  80. package/models/operations/retrievedatasource.js +2 -2
  81. package/models/operations/retrieveidentity.js +2 -2
  82. package/models/operations/retrievetool.js +12 -12
  83. package/models/operations/runagent.js +2 -2
  84. package/models/operations/streamrunagent.js +2 -2
  85. package/models/operations/updatecontact.js +2 -2
  86. package/models/operations/updateconversation.js +2 -2
  87. package/models/operations/updatedatapoint.js +8 -8
  88. package/models/operations/updatedataset.js +2 -2
  89. package/models/operations/updatedatasource.js +2 -2
  90. package/models/operations/updateeval.js +28 -28
  91. package/models/operations/updateidentity.js +2 -2
  92. package/models/operations/updateprompt.d.ts +2112 -1413
  93. package/models/operations/updateprompt.d.ts.map +1 -1
  94. package/models/operations/updateprompt.js +2200 -1525
  95. package/models/operations/updateprompt.js.map +1 -1
  96. package/models/operations/updatetool.js +14 -14
  97. package/package.json +1 -1
  98. package/src/funcs/promptsDelete.ts +12 -3
  99. package/src/lib/config.ts +2 -2
  100. package/src/mcp-server/mcp-server.ts +1 -1
  101. package/src/mcp-server/server.ts +1 -1
  102. package/src/models/components/conversationresponse.ts +2 -2
  103. package/src/models/components/conversationwithmessagesresponse.ts +2 -2
  104. package/src/models/components/partdoneevent.ts +2 -2
  105. package/src/models/components/reasoningpart.ts +2 -2
  106. package/src/models/errors/deleteprompt.ts +67 -0
  107. package/src/models/errors/index.ts +1 -0
  108. package/src/models/operations/createcontact.ts +2 -2
  109. package/src/models/operations/createconversation.ts +2 -2
  110. package/src/models/operations/createconversationresponse.ts +4 -4
  111. package/src/models/operations/createdataset.ts +2 -2
  112. package/src/models/operations/createdatasetitem.ts +8 -8
  113. package/src/models/operations/createdatasource.ts +2 -2
  114. package/src/models/operations/createeval.ts +76 -96
  115. package/src/models/operations/createidentity.ts +2 -2
  116. package/src/models/operations/createprompt.ts +5179 -3019
  117. package/src/models/operations/createtool.ts +12 -12
  118. package/src/models/operations/deploymentgetconfig.ts +252 -337
  119. package/src/models/operations/deploymentinvoke.ts +9 -13
  120. package/src/models/operations/fileget.ts +2 -2
  121. package/src/models/operations/filelist.ts +2 -2
  122. package/src/models/operations/fileupload.ts +2 -2
  123. package/src/models/operations/generateconversationname.ts +2 -2
  124. package/src/models/operations/getallprompts.ts +3543 -850
  125. package/src/models/operations/getalltools.ts +12 -12
  126. package/src/models/operations/getevals.ts +28 -28
  127. package/src/models/operations/getoneprompt.ts +3463 -786
  128. package/src/models/operations/getpromptversion.ts +3579 -835
  129. package/src/models/operations/listcontacts.ts +2 -2
  130. package/src/models/operations/listdatasetdatapoints.ts +8 -8
  131. package/src/models/operations/listdatasets.ts +2 -2
  132. package/src/models/operations/listdatasources.ts +2 -2
  133. package/src/models/operations/listidentities.ts +2 -2
  134. package/src/models/operations/listpromptversions.ts +3644 -864
  135. package/src/models/operations/retrievecontact.ts +2 -2
  136. package/src/models/operations/retrievedatapoint.ts +8 -8
  137. package/src/models/operations/retrievedataset.ts +2 -2
  138. package/src/models/operations/retrievedatasource.ts +2 -2
  139. package/src/models/operations/retrieveidentity.ts +2 -2
  140. package/src/models/operations/retrievetool.ts +12 -12
  141. package/src/models/operations/runagent.ts +2 -2
  142. package/src/models/operations/streamrunagent.ts +2 -2
  143. package/src/models/operations/updatecontact.ts +2 -2
  144. package/src/models/operations/updateconversation.ts +2 -2
  145. package/src/models/operations/updatedatapoint.ts +8 -8
  146. package/src/models/operations/updatedataset.ts +2 -2
  147. package/src/models/operations/updatedatasource.ts +2 -2
  148. package/src/models/operations/updateeval.ts +28 -28
  149. package/src/models/operations/updateidentity.ts +2 -2
  150. package/src/models/operations/updateprompt.ts +5281 -3301
  151. package/src/models/operations/updatetool.ts +14 -14
@@ -3,405 +3,584 @@ import { ClosedEnum } from "../../types/enums.js";
3
3
  import { Result as SafeParseResult } from "../../types/fp.js";
4
4
  import * as components from "../components/index.js";
5
5
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
6
+ export type UpdatePromptContentPromptsRequest2 = components.TextContentPartSchema;
6
7
  /**
7
- * Only supported on `image` models.
8
+ * The contents of the tool message.
8
9
  */
9
- export declare const UpdatePromptFormat: {
10
- readonly Url: "url";
11
- readonly B64Json: "b64_json";
12
- readonly Text: "text";
13
- readonly JsonObject: "json_object";
10
+ export type UpdatePromptMessagesPromptsRequestRequestBodyContent = string | Array<components.TextContentPartSchema>;
11
+ /**
12
+ * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
13
+ */
14
+ export declare const UpdatePromptMessagesPromptsType: {
15
+ readonly Ephemeral: "ephemeral";
14
16
  };
15
17
  /**
16
- * Only supported on `image` models.
18
+ * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
17
19
  */
18
- export type UpdatePromptFormat = ClosedEnum<typeof UpdatePromptFormat>;
19
- export declare const ResponseFormat6: {
20
- readonly Json: "json";
21
- readonly Text: "text";
22
- readonly Srt: "srt";
23
- readonly VerboseJson: "verbose_json";
24
- readonly Vtt: "vtt";
20
+ export type UpdatePromptMessagesPromptsType = ClosedEnum<typeof UpdatePromptMessagesPromptsType>;
21
+ /**
22
+ * The time-to-live for the cache control breakpoint. This may be one of the following values:
23
+ *
24
+ * @remarks
25
+ *
26
+ * - `5m`: 5 minutes
27
+ * - `1h`: 1 hour
28
+ *
29
+ * Defaults to `5m`. Only supported by `Anthropic` Claude models.
30
+ */
31
+ export declare const UpdatePromptMessagesTtl: {
32
+ readonly Fivem: "5m";
33
+ readonly Oneh: "1h";
25
34
  };
26
- export type ResponseFormat6 = ClosedEnum<typeof ResponseFormat6>;
27
- export declare const ResponseFormat5: {
28
- readonly Url: "url";
29
- readonly Base64Json: "base64_json";
35
+ /**
36
+ * The time-to-live for the cache control breakpoint. This may be one of the following values:
37
+ *
38
+ * @remarks
39
+ *
40
+ * - `5m`: 5 minutes
41
+ * - `1h`: 1 hour
42
+ *
43
+ * Defaults to `5m`. Only supported by `Anthropic` Claude models.
44
+ */
45
+ export type UpdatePromptMessagesTtl = ClosedEnum<typeof UpdatePromptMessagesTtl>;
46
+ export type UpdatePromptMessagesCacheControl = {
47
+ /**
48
+ * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
49
+ */
50
+ type: UpdatePromptMessagesPromptsType;
51
+ /**
52
+ * The time-to-live for the cache control breakpoint. This may be one of the following values:
53
+ *
54
+ * @remarks
55
+ *
56
+ * - `5m`: 5 minutes
57
+ * - `1h`: 1 hour
58
+ *
59
+ * Defaults to `5m`. Only supported by `Anthropic` Claude models.
60
+ */
61
+ ttl?: UpdatePromptMessagesTtl | undefined;
30
62
  };
31
- export type ResponseFormat5 = ClosedEnum<typeof ResponseFormat5>;
32
- export declare const UpdatePromptResponseFormat4: {
33
- readonly Mp3: "mp3";
34
- readonly Opus: "opus";
35
- readonly Aac: "aac";
36
- readonly Flac: "flac";
37
- readonly Wav: "wav";
38
- readonly Pcm: "pcm";
63
+ export type UpdatePromptMessagesToolMessage = {
64
+ /**
65
+ * The role of the messages author, in this case tool.
66
+ */
67
+ role: "tool";
68
+ /**
69
+ * The contents of the tool message.
70
+ */
71
+ content: string | Array<components.TextContentPartSchema>;
72
+ /**
73
+ * Tool call that this message is responding to.
74
+ */
75
+ toolCallId: string | null;
76
+ cacheControl?: UpdatePromptMessagesCacheControl | undefined;
39
77
  };
40
- export type UpdatePromptResponseFormat4 = ClosedEnum<typeof UpdatePromptResponseFormat4>;
41
- export declare const UpdatePromptResponseFormatPromptsRequestType: {
42
- readonly Text: "text";
78
+ export type UpdatePromptContentPrompts2 = (components.TextContentPartSchema & {
79
+ type: "text";
80
+ }) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema;
81
+ /**
82
+ * The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
83
+ */
84
+ export type UpdatePromptMessagesPromptsRequestContent = string | Array<(components.TextContentPartSchema & {
85
+ type: "text";
86
+ }) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema>;
87
+ /**
88
+ * Data about a previous audio response from the model.
89
+ */
90
+ export type UpdatePromptMessagesAudio = {
91
+ /**
92
+ * Unique identifier for a previous audio response from the model.
93
+ */
94
+ id: string;
43
95
  };
44
- export type UpdatePromptResponseFormatPromptsRequestType = ClosedEnum<typeof UpdatePromptResponseFormatPromptsRequestType>;
45
- export type UpdatePromptResponseFormat3 = {
46
- type: UpdatePromptResponseFormatPromptsRequestType;
96
+ /**
97
+ * The type of the tool. Currently, only `function` is supported.
98
+ */
99
+ export declare const UpdatePromptMessagesType: {
100
+ readonly Function: "function";
47
101
  };
48
- export declare const UpdatePromptResponseFormatPromptsType: {
49
- readonly JsonObject: "json_object";
102
+ /**
103
+ * The type of the tool. Currently, only `function` is supported.
104
+ */
105
+ export type UpdatePromptMessagesType = ClosedEnum<typeof UpdatePromptMessagesType>;
106
+ export type UpdatePromptMessagesFunction = {
107
+ /**
108
+ * The name of the function to call.
109
+ */
110
+ name?: string | undefined;
111
+ /**
112
+ * The arguments to call the function with, as generated by the model in JSON format. Note that the model does not always generate valid JSON, and may hallucinate parameters not defined by your function schema. Validate the arguments in your code before calling your function.
113
+ */
114
+ arguments?: string | undefined;
50
115
  };
51
- export type UpdatePromptResponseFormatPromptsType = ClosedEnum<typeof UpdatePromptResponseFormatPromptsType>;
52
- export type UpdatePromptResponseFormat2 = {
53
- type: UpdatePromptResponseFormatPromptsType;
116
+ export type UpdatePromptMessagesToolCalls = {
117
+ /**
118
+ * The ID of the tool call.
119
+ */
120
+ id: string;
121
+ /**
122
+ * The type of the tool. Currently, only `function` is supported.
123
+ */
124
+ type: UpdatePromptMessagesType;
125
+ function: UpdatePromptMessagesFunction;
126
+ /**
127
+ * Encrypted representation of the model internal reasoning state during function calling. Required by Gemini 3 models when continuing a conversation after a tool call.
128
+ */
129
+ thoughtSignature?: string | undefined;
54
130
  };
55
- export declare const UpdatePromptResponseFormatType: {
56
- readonly JsonSchema: "json_schema";
131
+ export type UpdatePromptMessagesAssistantMessage = {
132
+ /**
133
+ * The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
134
+ */
135
+ content?: string | Array<(components.TextContentPartSchema & {
136
+ type: "text";
137
+ }) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema> | null | undefined;
138
+ /**
139
+ * The refusal message by the assistant.
140
+ */
141
+ refusal?: string | null | undefined;
142
+ /**
143
+ * The role of the messages author, in this case `assistant`.
144
+ */
145
+ role: "assistant";
146
+ /**
147
+ * An optional name for the participant. Provides the model information to differentiate between participants of the same role.
148
+ */
149
+ name?: string | undefined;
150
+ /**
151
+ * Data about a previous audio response from the model.
152
+ */
153
+ audio?: UpdatePromptMessagesAudio | null | undefined;
154
+ /**
155
+ * The tool calls generated by the model, such as function calls.
156
+ */
157
+ toolCalls?: Array<UpdatePromptMessagesToolCalls> | undefined;
57
158
  };
58
- export type UpdatePromptResponseFormatType = ClosedEnum<typeof UpdatePromptResponseFormatType>;
59
- export type UpdatePromptResponseFormatJsonSchema = {
60
- name: string;
159
+ /**
160
+ * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
161
+ */
162
+ export declare const UpdatePrompt2PromptsType: {
163
+ readonly Ephemeral: "ephemeral";
164
+ };
165
+ /**
166
+ * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
167
+ */
168
+ export type UpdatePrompt2PromptsType = ClosedEnum<typeof UpdatePrompt2PromptsType>;
169
+ /**
170
+ * The time-to-live for the cache control breakpoint. This may be one of the following values:
171
+ *
172
+ * @remarks
173
+ *
174
+ * - `5m`: 5 minutes
175
+ * - `1h`: 1 hour
176
+ *
177
+ * Defaults to `5m`. Only supported by `Anthropic` Claude models.
178
+ */
179
+ export declare const UpdatePrompt2Ttl: {
180
+ readonly Fivem: "5m";
181
+ readonly Oneh: "1h";
182
+ };
183
+ /**
184
+ * The time-to-live for the cache control breakpoint. This may be one of the following values:
185
+ *
186
+ * @remarks
187
+ *
188
+ * - `5m`: 5 minutes
189
+ * - `1h`: 1 hour
190
+ *
191
+ * Defaults to `5m`. Only supported by `Anthropic` Claude models.
192
+ */
193
+ export type UpdatePrompt2Ttl = ClosedEnum<typeof UpdatePrompt2Ttl>;
194
+ export type UpdatePrompt2CacheControl = {
195
+ /**
196
+ * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
197
+ */
198
+ type: UpdatePrompt2PromptsType;
199
+ /**
200
+ * The time-to-live for the cache control breakpoint. This may be one of the following values:
201
+ *
202
+ * @remarks
203
+ *
204
+ * - `5m`: 5 minutes
205
+ * - `1h`: 1 hour
206
+ *
207
+ * Defaults to `5m`. Only supported by `Anthropic` Claude models.
208
+ */
209
+ ttl?: UpdatePrompt2Ttl | undefined;
210
+ };
211
+ export type UpdatePrompt24 = {
212
+ /**
213
+ * The type of the content part. Always `file`.
214
+ */
215
+ type: "file";
216
+ cacheControl?: UpdatePrompt2CacheControl | undefined;
217
+ /**
218
+ * File data for the content part. Must contain either file_data or uri, but not both.
219
+ */
220
+ file: components.FileContentPartSchema;
221
+ };
222
+ export type UpdatePromptContent2 = (components.TextContentPartSchema & {
223
+ type: "text";
224
+ }) | components.ImageContentPartSchema | components.AudioContentPartSchema | UpdatePrompt24;
225
+ /**
226
+ * The contents of the user message.
227
+ */
228
+ export type UpdatePromptMessagesPromptsContent = string | Array<(components.TextContentPartSchema & {
229
+ type: "text";
230
+ }) | components.ImageContentPartSchema | components.AudioContentPartSchema | UpdatePrompt24>;
231
+ export type UpdatePromptMessagesUserMessage = {
232
+ /**
233
+ * The role of the messages author, in this case `user`.
234
+ */
235
+ role: "user";
236
+ /**
237
+ * An optional name for the participant. Provides the model information to differentiate between participants of the same role.
238
+ */
239
+ name?: string | undefined;
240
+ /**
241
+ * The contents of the user message.
242
+ */
243
+ content: string | Array<(components.TextContentPartSchema & {
244
+ type: "text";
245
+ }) | components.ImageContentPartSchema | components.AudioContentPartSchema | UpdatePrompt24>;
246
+ };
247
+ /**
248
+ * The contents of the system message.
249
+ */
250
+ export type UpdatePromptMessagesContent = string | Array<components.TextContentPartSchema>;
251
+ /**
252
+ * Developer-provided instructions that the model should follow, regardless of messages sent by the user.
253
+ */
254
+ export type UpdatePromptMessagesSystemMessage = {
255
+ /**
256
+ * The role of the messages author, in this case `system`.
257
+ */
258
+ role: "system";
259
+ /**
260
+ * The contents of the system message.
261
+ */
262
+ content: string | Array<components.TextContentPartSchema>;
263
+ /**
264
+ * An optional name for the participant. Provides the model information to differentiate between participants of the same role.
265
+ */
266
+ name?: string | undefined;
267
+ };
268
+ export type UpdatePromptMessages = UpdatePromptMessagesSystemMessage | UpdatePromptMessagesUserMessage | UpdatePromptMessagesAssistantMessage | UpdatePromptMessagesToolMessage;
269
+ /**
270
+ * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
271
+ */
272
+ export declare const UpdatePromptVoice: {
273
+ readonly Alloy: "alloy";
274
+ readonly Echo: "echo";
275
+ readonly Fable: "fable";
276
+ readonly Onyx: "onyx";
277
+ readonly Nova: "nova";
278
+ readonly Shimmer: "shimmer";
279
+ };
280
+ /**
281
+ * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
282
+ */
283
+ export type UpdatePromptVoice = ClosedEnum<typeof UpdatePromptVoice>;
284
+ /**
285
+ * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
286
+ */
287
+ export declare const UpdatePromptFormat: {
288
+ readonly Wav: "wav";
289
+ readonly Mp3: "mp3";
290
+ readonly Flac: "flac";
291
+ readonly Opus: "opus";
292
+ readonly Pcm16: "pcm16";
293
+ };
294
+ /**
295
+ * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
296
+ */
297
+ export type UpdatePromptFormat = ClosedEnum<typeof UpdatePromptFormat>;
298
+ /**
299
+ * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
300
+ */
301
+ export type UpdatePromptAudio = {
302
+ /**
303
+ * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
304
+ */
305
+ voice: UpdatePromptVoice;
306
+ /**
307
+ * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
308
+ */
309
+ format: UpdatePromptFormat;
310
+ };
311
+ export type UpdatePromptResponseFormatPromptsJsonSchema = {
312
+ /**
313
+ * A description of what the response format is for, used by the model to determine how to respond in the format.
314
+ */
61
315
  description?: string | undefined;
316
+ /**
317
+ * The name of the response format. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
318
+ */
319
+ name: string;
320
+ /**
321
+ * The schema for the response format, described as a JSON Schema object.
322
+ */
323
+ schema?: any | undefined;
324
+ /**
325
+ * Whether to enable strict schema adherence when generating the output. If set to true, the model will always follow the exact schema defined in the schema field. Only a subset of JSON Schema is supported when strict is true.
326
+ */
62
327
  strict?: boolean | undefined;
63
- schema: {
64
- [k: string]: any;
65
- };
66
- };
67
- export type UpdatePromptResponseFormat1 = {
68
- type: UpdatePromptResponseFormatType;
69
- displayName?: string | undefined;
70
- jsonSchema: UpdatePromptResponseFormatJsonSchema;
71
328
  };
72
329
  /**
73
- * An object specifying the format that the model must output.
74
- *
75
330
  * @remarks
76
331
  *
77
- * Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema
78
- *
79
- * Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
80
- *
81
- * Important: when using JSON mode, you must also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if finish_reason="length", which indicates the generation exceeded max_tokens or the conversation exceeded the max context length.
82
- */
83
- export type UpdatePromptResponseFormat = UpdatePromptResponseFormat1 | UpdatePromptResponseFormat2 | UpdatePromptResponseFormat3 | UpdatePromptResponseFormat4 | ResponseFormat5 | ResponseFormat6;
84
- /**
85
- * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
332
+ * JSON Schema response format. Used to generate structured JSON responses
86
333
  */
87
- export declare const UpdatePromptPhotoRealVersion: {
88
- readonly V1: "v1";
89
- readonly V2: "v2";
334
+ export type UpdatePromptResponseFormatJSONSchema = {
335
+ type: "json_schema";
336
+ jsonSchema: UpdatePromptResponseFormatPromptsJsonSchema;
90
337
  };
91
338
  /**
92
- * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
339
+ * @remarks
340
+ *
341
+ * JSON object response format. An older method of generating JSON responses. Using `json_schema` is recommended for models that support it. Note that the model will not generate JSON without a system or user message instructing it to do so.
93
342
  */
94
- export type UpdatePromptPhotoRealVersion = ClosedEnum<typeof UpdatePromptPhotoRealVersion>;
343
+ export type UpdatePromptResponseFormatJSONObject = {
344
+ type: "json_object";
345
+ };
95
346
  /**
96
- * The format to return the embeddings
347
+ * @remarks
348
+ *
349
+ * Default response format. Used to generate text responses
97
350
  */
98
- export declare const UpdatePromptEncodingFormat: {
99
- readonly Float: "float";
100
- readonly Base64: "base64";
351
+ export type UpdatePromptResponseFormatText = {
352
+ type: "text";
101
353
  };
102
354
  /**
103
- * The format to return the embeddings
355
+ * An object specifying the format that the model must output
104
356
  */
105
- export type UpdatePromptEncodingFormat = ClosedEnum<typeof UpdatePromptEncodingFormat>;
357
+ export type UpdatePromptResponseFormat = UpdatePromptResponseFormatText | UpdatePromptResponseFormatJSONObject | UpdatePromptResponseFormatJSONSchema;
106
358
  /**
107
- * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
359
+ * Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
360
+ *
361
+ * @remarks
362
+ *
363
+ * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool calls are supported for all reasoning values in gpt-5.1.
364
+ * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
365
+ * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
366
+ * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
367
+ *
368
+ * Any of "none", "minimal", "low", "medium", "high", "xhigh".
108
369
  */
109
370
  export declare const UpdatePromptReasoningEffort: {
110
371
  readonly None: "none";
111
- readonly Disable: "disable";
112
372
  readonly Minimal: "minimal";
113
373
  readonly Low: "low";
114
374
  readonly Medium: "medium";
115
375
  readonly High: "high";
376
+ readonly Xhigh: "xhigh";
116
377
  };
117
378
  /**
118
- * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
379
+ * Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
380
+ *
381
+ * @remarks
382
+ *
383
+ * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool calls are supported for all reasoning values in gpt-5.1.
384
+ * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
385
+ * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
386
+ * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
387
+ *
388
+ * Any of "none", "minimal", "low", "medium", "high", "xhigh".
119
389
  */
120
390
  export type UpdatePromptReasoningEffort = ClosedEnum<typeof UpdatePromptReasoningEffort>;
121
391
  /**
122
- * Controls the verbosity of the model output.
392
+ * Up to 4 sequences where the API will stop generating further tokens.
123
393
  */
124
- export declare const UpdatePromptVerbosity: {
125
- readonly Low: "low";
126
- readonly Medium: "medium";
127
- readonly High: "high";
394
+ export type UpdatePromptStop = string | Array<string>;
395
+ /**
396
+ * Options for streaming response. Only set this when you set stream: true.
397
+ */
398
+ export type UpdatePromptStreamOptions = {
399
+ /**
400
+ * If set, an additional chunk will be streamed before the data: [DONE] message. The usage field on this chunk shows the token usage statistics for the entire request, and the choices field will always be an empty array. All other chunks will also include a usage field, but with a null value.
401
+ */
402
+ includeUsage?: boolean | undefined;
128
403
  };
404
+ export type UpdatePromptThinking = components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema;
129
405
  /**
130
- * Controls the verbosity of the model output.
406
+ * The type of the tool. Currently, only function is supported.
131
407
  */
132
- export type UpdatePromptVerbosity = ClosedEnum<typeof UpdatePromptVerbosity>;
408
+ export declare const UpdatePromptToolChoiceType: {
409
+ readonly Function: "function";
410
+ };
133
411
  /**
134
- * The level of thinking to use for the model. Only supported by `Google AI`
412
+ * The type of the tool. Currently, only function is supported.
135
413
  */
136
- export declare const UpdatePromptThinkingLevel: {
137
- readonly Low: "low";
138
- readonly High: "high";
414
+ export type UpdatePromptToolChoiceType = ClosedEnum<typeof UpdatePromptToolChoiceType>;
415
+ export type UpdatePromptToolChoiceFunction = {
416
+ /**
417
+ * The name of the function to call.
418
+ */
419
+ name: string;
420
+ };
421
+ export type UpdatePromptToolChoice2 = {
422
+ /**
423
+ * The type of the tool. Currently, only function is supported.
424
+ */
425
+ type?: UpdatePromptToolChoiceType | undefined;
426
+ function: UpdatePromptToolChoiceFunction;
427
+ };
428
+ export declare const UpdatePromptToolChoice1: {
429
+ readonly None: "none";
430
+ readonly Auto: "auto";
431
+ readonly Required: "required";
139
432
  };
433
+ export type UpdatePromptToolChoice1 = ClosedEnum<typeof UpdatePromptToolChoice1>;
140
434
  /**
141
- * The level of thinking to use for the model. Only supported by `Google AI`
435
+ * Controls which (if any) tool is called by the model.
142
436
  */
143
- export type UpdatePromptThinkingLevel = ClosedEnum<typeof UpdatePromptThinkingLevel>;
437
+ export type UpdatePromptToolChoice = UpdatePromptToolChoice2 | UpdatePromptToolChoice1;
438
+ export declare const UpdatePromptModalities: {
439
+ readonly Text: "text";
440
+ readonly Audio: "audio";
441
+ };
442
+ export type UpdatePromptModalities = ClosedEnum<typeof UpdatePromptModalities>;
144
443
  /**
145
- * Model Parameters: Not all parameters apply to every model
444
+ * The key of the guardrail.
146
445
  */
147
- export type UpdatePromptModelParameters = {
446
+ export declare const UpdatePromptId1: {
447
+ readonly OrqPiiDetection: "orq_pii_detection";
448
+ readonly OrqSexualModeration: "orq_sexual_moderation";
449
+ readonly OrqHarmfulModeration: "orq_harmful_moderation";
450
+ };
451
+ /**
452
+ * The key of the guardrail.
453
+ */
454
+ export type UpdatePromptId1 = ClosedEnum<typeof UpdatePromptId1>;
455
+ export type UpdatePromptId = UpdatePromptId1 | string;
456
+ /**
457
+ * Determines whether the guardrail runs on the input (user message) or output (model response).
458
+ */
459
+ export declare const UpdatePromptExecuteOn: {
460
+ readonly Input: "input";
461
+ readonly Output: "output";
462
+ };
463
+ /**
464
+ * Determines whether the guardrail runs on the input (user message) or output (model response).
465
+ */
466
+ export type UpdatePromptExecuteOn = ClosedEnum<typeof UpdatePromptExecuteOn>;
467
+ export type UpdatePromptGuardrails = {
468
+ id: UpdatePromptId1 | string;
148
469
  /**
149
- * Only supported on `chat` and `completion` models.
470
+ * Determines whether the guardrail runs on the input (user message) or output (model response).
150
471
  */
151
- temperature?: number | undefined;
472
+ executeOn: UpdatePromptExecuteOn;
473
+ };
474
+ /**
475
+ * Prompt configuration with model and messages. Use this to update the prompt.
476
+ */
477
+ export type UpdatePromptPromptInput = {
152
478
  /**
153
- * Only supported on `chat` and `completion` models.
479
+ * Array of messages that make up the conversation. Each message has a role (system, user, assistant, or tool) and content.
154
480
  */
155
- maxTokens?: number | undefined;
481
+ messages?: Array<UpdatePromptMessagesSystemMessage | UpdatePromptMessagesUserMessage | UpdatePromptMessagesAssistantMessage | UpdatePromptMessagesToolMessage> | undefined;
156
482
  /**
157
- * Only supported on `chat` and `completion` models.
483
+ * Model ID used to generate the response, like `openai/gpt-4o` or `anthropic/claude-3-5-sonnet-20241022`. For private models, use format: `{workspaceKey}@{provider}/{model}`. The full list of models can be found at https://docs.orq.ai/docs/ai-gateway-supported-models. Only chat models are supported.
158
484
  */
159
- topK?: number | undefined;
485
+ model?: string | null | undefined;
160
486
  /**
161
- * Only supported on `chat` and `completion` models.
487
+ * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
162
488
  */
163
- topP?: number | undefined;
489
+ audio?: UpdatePromptAudio | null | undefined;
164
490
  /**
165
- * Only supported on `chat` and `completion` models.
491
+ * Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim.
166
492
  */
167
- frequencyPenalty?: number | undefined;
493
+ frequencyPenalty?: number | null | undefined;
168
494
  /**
169
- * Only supported on `chat` and `completion` models.
495
+ * `[Deprecated]`. The maximum number of tokens that can be generated in the chat completion. This value can be used to control costs for text generated via API.
496
+ *
497
+ * @remarks
498
+ *
499
+ * This value is now `deprecated` in favor of `max_completion_tokens`, and is not compatible with o1 series models.
170
500
  */
171
- presencePenalty?: number | undefined;
501
+ maxTokens?: number | null | undefined;
172
502
  /**
173
- * Only supported on `image` models.
503
+ * An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens
174
504
  */
175
- numImages?: number | undefined;
505
+ maxCompletionTokens?: number | null | undefined;
176
506
  /**
177
- * Best effort deterministic seed for the model. Currently only OpenAI models support these
507
+ * Whether to return log probabilities of the output tokens or not. If true, returns the log probabilities of each output token returned in the content of message.
178
508
  */
179
- seed?: number | undefined;
509
+ logprobs?: boolean | null | undefined;
180
510
  /**
181
- * Only supported on `image` models.
511
+ * An integer between 0 and 20 specifying the number of most likely tokens to return at each token position, each with an associated log probability. logprobs must be set to true if this parameter is used.
182
512
  */
183
- format?: UpdatePromptFormat | undefined;
513
+ topLogprobs?: number | null | undefined;
184
514
  /**
185
- * Only supported on `image` models.
515
+ * How many chat completion choices to generate for each input message. Note that you will be charged based on the number of generated tokens across all of the choices. Keep n as 1 to minimize costs.
186
516
  */
187
- dimensions?: string | undefined;
517
+ n?: number | null | undefined;
188
518
  /**
189
- * Only supported on `image` models.
519
+ * Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics.
190
520
  */
191
- quality?: string | undefined;
521
+ presencePenalty?: number | null | undefined;
192
522
  /**
193
- * Only supported on `image` models.
523
+ * An object specifying the format that the model must output
194
524
  */
195
- style?: string | undefined;
525
+ responseFormat?: UpdatePromptResponseFormatText | UpdatePromptResponseFormatJSONObject | UpdatePromptResponseFormatJSONSchema | undefined;
196
526
  /**
197
- * An object specifying the format that the model must output.
527
+ * Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
198
528
  *
199
529
  * @remarks
200
530
  *
201
- * Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema
202
- *
203
- * Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
531
+ * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool calls are supported for all reasoning values in gpt-5.1.
532
+ * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
533
+ * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
534
+ * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
204
535
  *
205
- * Important: when using JSON mode, you must also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if finish_reason="length", which indicates the generation exceeded max_tokens or the conversation exceeded the max context length.
206
- */
207
- responseFormat?: UpdatePromptResponseFormat1 | UpdatePromptResponseFormat2 | UpdatePromptResponseFormat3 | UpdatePromptResponseFormat4 | ResponseFormat5 | ResponseFormat6 | null | undefined;
208
- /**
209
- * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
210
- */
211
- photoRealVersion?: UpdatePromptPhotoRealVersion | undefined;
212
- /**
213
- * The format to return the embeddings
214
- */
215
- encodingFormat?: UpdatePromptEncodingFormat | undefined;
216
- /**
217
- * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
536
+ * Any of "none", "minimal", "low", "medium", "high", "xhigh".
218
537
  */
219
538
  reasoningEffort?: UpdatePromptReasoningEffort | undefined;
220
539
  /**
221
- * Gives the model enhanced reasoning capabilities for complex tasks. A value of 0 disables thinking. The minimum budget tokens for thinking are 1024. The Budget Tokens should never exceed the Max Tokens parameter. Only supported by `Anthropic`
222
- */
223
- budgetTokens?: number | undefined;
224
- /**
225
- * Controls the verbosity of the model output.
226
- */
227
- verbosity?: UpdatePromptVerbosity | undefined;
228
- /**
229
- * The level of thinking to use for the model. Only supported by `Google AI`
230
- */
231
- thinkingLevel?: UpdatePromptThinkingLevel | undefined;
232
- };
233
- export declare const Provider: {
234
- readonly Openai: "openai";
235
- readonly Groq: "groq";
236
- readonly Cohere: "cohere";
237
- readonly Azure: "azure";
238
- readonly Aws: "aws";
239
- readonly Google: "google";
240
- readonly GoogleAi: "google-ai";
241
- readonly Huggingface: "huggingface";
242
- readonly Togetherai: "togetherai";
243
- readonly Perplexity: "perplexity";
244
- readonly Anthropic: "anthropic";
245
- readonly Leonardoai: "leonardoai";
246
- readonly Fal: "fal";
247
- readonly Nvidia: "nvidia";
248
- readonly Jina: "jina";
249
- readonly Elevenlabs: "elevenlabs";
250
- readonly Litellm: "litellm";
251
- readonly Cerebras: "cerebras";
252
- readonly Openailike: "openailike";
253
- readonly Bytedance: "bytedance";
254
- readonly Mistral: "mistral";
255
- readonly Deepseek: "deepseek";
256
- readonly Contextualai: "contextualai";
257
- readonly Moonshotai: "moonshotai";
258
- readonly Zai: "zai";
259
- readonly Slack: "slack";
260
- };
261
- export type Provider = ClosedEnum<typeof Provider>;
262
- /**
263
- * The role of the prompt message
264
- */
265
- export declare const UpdatePromptRole: {
266
- readonly System: "system";
267
- readonly Assistant: "assistant";
268
- readonly User: "user";
269
- readonly Exception: "exception";
270
- readonly Tool: "tool";
271
- readonly Prompt: "prompt";
272
- readonly Correction: "correction";
273
- readonly ExpectedOutput: "expected_output";
274
- };
275
- /**
276
- * The role of the prompt message
277
- */
278
- export type UpdatePromptRole = ClosedEnum<typeof UpdatePromptRole>;
279
- export type UpdatePrompt2File = {
280
- /**
281
- * The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
282
- */
283
- fileData?: string | undefined;
284
- /**
285
- * URL to the file. Only supported by Anthropic Claude models for PDF files.
286
- */
287
- uri?: string | undefined;
288
- /**
289
- * MIME type of the file (e.g., application/pdf, image/png)
290
- */
291
- mimeType?: string | undefined;
292
- /**
293
- * The name of the file, used when passing the file to the model as a string.
540
+ * Adjusts response verbosity. Lower levels yield shorter answers.
294
541
  */
295
- filename?: string | undefined;
296
- };
297
- export type UpdatePrompt23 = {
542
+ verbosity?: string | undefined;
298
543
  /**
299
- * The type of the content part. Always `file`.
544
+ * If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same seed and parameters should return the same result.
300
545
  */
301
- type: "file";
302
- file: UpdatePrompt2File;
303
- };
304
- export type UpdatePrompt2ImageUrl = {
546
+ seed?: number | null | undefined;
305
547
  /**
306
- * Either a URL of the image or the base64 encoded data URI.
548
+ * Up to 4 sequences where the API will stop generating further tokens.
307
549
  */
308
- url: string;
550
+ stop?: string | Array<string> | null | undefined;
309
551
  /**
310
- * Specifies the detail level of the image. Currently only supported with OpenAI models
311
- */
312
- detail?: string | undefined;
313
- };
314
- /**
315
- * The image part of the prompt message. Only supported with vision models.
316
- */
317
- export type UpdatePrompt22 = {
318
- type: "image_url";
319
- imageUrl: UpdatePrompt2ImageUrl;
320
- };
321
- /**
322
- * Text content part of a prompt message
323
- */
324
- export type UpdatePrompt21 = {
325
- type: "text";
326
- text: string;
327
- };
328
- export type UpdatePromptContent2 = UpdatePrompt21 | UpdatePrompt22 | UpdatePrompt23;
329
- /**
330
- * The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts. Can be null for tool messages in certain scenarios.
331
- */
332
- export type UpdatePromptContent = string | Array<UpdatePrompt21 | UpdatePrompt22 | UpdatePrompt23>;
333
- export declare const UpdatePromptType: {
334
- readonly Function: "function";
335
- };
336
- export type UpdatePromptType = ClosedEnum<typeof UpdatePromptType>;
337
- export type UpdatePromptFunction = {
338
- name: string;
552
+ * Options for streaming response. Only set this when you set stream: true.
553
+ */
554
+ streamOptions?: UpdatePromptStreamOptions | null | undefined;
555
+ thinking?: components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema | undefined;
339
556
  /**
340
- * JSON string arguments for the functions
557
+ * What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
341
558
  */
342
- arguments: string;
343
- };
344
- export type UpdatePromptToolCalls = {
345
- id?: string | undefined;
346
- index?: number | undefined;
347
- type: UpdatePromptType;
348
- function: UpdatePromptFunction;
349
- };
350
- export type UpdatePromptMessages = {
559
+ temperature?: number | null | undefined;
351
560
  /**
352
- * The role of the prompt message
561
+ * An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass.
353
562
  */
354
- role: UpdatePromptRole;
563
+ topP?: number | null | undefined;
355
564
  /**
356
- * The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts. Can be null for tool messages in certain scenarios.
565
+ * Limits the model to consider only the top k most likely tokens at each step.
357
566
  */
358
- content: string | Array<UpdatePrompt21 | UpdatePrompt22 | UpdatePrompt23> | null;
359
- toolCalls?: Array<UpdatePromptToolCalls> | undefined;
360
- toolCallId?: string | null | undefined;
361
- };
362
- /**
363
- * The modality of the model
364
- */
365
- export declare const ModelType: {
366
- readonly Chat: "chat";
367
- readonly Completion: "completion";
368
- readonly Embedding: "embedding";
369
- readonly Image: "image";
370
- readonly Tts: "tts";
371
- readonly Stt: "stt";
372
- readonly Rerank: "rerank";
373
- readonly Moderation: "moderation";
374
- readonly Vision: "vision";
375
- };
376
- /**
377
- * The modality of the model
378
- */
379
- export type ModelType = ClosedEnum<typeof ModelType>;
380
- /**
381
- * [DEPRECATED]. Please use the `prompt` property instead.
382
- *
383
- * @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible.
384
- */
385
- export type PromptConfig = {
386
- stream?: boolean | undefined;
387
- model?: string | undefined;
567
+ topK?: number | null | undefined;
388
568
  /**
389
- * Model Parameters: Not all parameters apply to every model
569
+ * Controls which (if any) tool is called by the model.
390
570
  */
391
- modelParameters?: UpdatePromptModelParameters | undefined;
392
- provider?: Provider | undefined;
571
+ toolChoice?: UpdatePromptToolChoice2 | UpdatePromptToolChoice1 | undefined;
393
572
  /**
394
- * The ID of the integration to use
573
+ * Whether to enable parallel function calling during tool use.
395
574
  */
396
- integrationId?: string | null | undefined;
397
- version?: string | undefined;
398
- messages: Array<UpdatePromptMessages>;
399
- modelDbId?: string | null | undefined;
575
+ parallelToolCalls?: boolean | undefined;
400
576
  /**
401
- * The modality of the model
577
+ * Output types that you would like the model to generate. Most models are capable of generating text, which is the default: ["text"]. The gpt-4o-audio-preview model can also be used to generate audio. To request that this model generate both text and audio responses, you can use: ["text", "audio"].
578
+ */
579
+ modalities?: Array<UpdatePromptModalities> | null | undefined;
580
+ /**
581
+ * A list of guardrails to apply to the request.
402
582
  */
403
- modelType?: ModelType | null | undefined;
404
- isPrivate?: boolean | undefined;
583
+ guardrails?: Array<UpdatePromptGuardrails> | undefined;
405
584
  };
406
585
  export declare const UpdatePromptUseCases: {
407
586
  readonly AgentsSimulations: "Agents simulations";
@@ -452,270 +631,497 @@ export type UpdatePromptMetadata = {
452
631
  */
453
632
  language?: UpdatePromptLanguage | null | undefined;
454
633
  };
455
- export type UpdatePromptContentPromptsRequestRequestBody2 = components.TextContentPartSchema;
634
+ export type UpdatePromptRequestBody = {
635
+ owner?: string | undefined;
636
+ domainId?: string | undefined;
637
+ created?: string | undefined;
638
+ updated?: string | undefined;
639
+ createdById?: string | null | undefined;
640
+ updatedById?: string | null | undefined;
641
+ /**
642
+ * The prompt’s name, meant to be displayable in the UI.
643
+ */
644
+ displayName?: string | undefined;
645
+ /**
646
+ * The prompt’s description, meant to be displayable in the UI. Use this field to optionally store a long form explanation of the prompt for your own purpose
647
+ */
648
+ description?: string | null | undefined;
649
+ /**
650
+ * Prompt configuration with model and messages. Use this to update the prompt.
651
+ */
652
+ prompt?: UpdatePromptPromptInput | undefined;
653
+ metadata?: UpdatePromptMetadata | undefined;
654
+ /**
655
+ * Entity storage path in the format: `project/folder/subfolder/...`
656
+ *
657
+ * @remarks
658
+ *
659
+ * The first element identifies the project, followed by nested folders (auto-created as needed).
660
+ *
661
+ * With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
662
+ */
663
+ path?: string | undefined;
664
+ };
665
+ export type UpdatePromptRequest = {
666
+ /**
667
+ * Unique identifier of the prompt
668
+ */
669
+ id: string;
670
+ requestBody?: UpdatePromptRequestBody | undefined;
671
+ };
672
+ export declare const UpdatePromptType: {
673
+ readonly Prompt: "prompt";
674
+ };
675
+ export type UpdatePromptType = ClosedEnum<typeof UpdatePromptType>;
456
676
  /**
457
- * The contents of the tool message.
677
+ * The modality of the model
458
678
  */
459
- export type UpdatePromptMessagesPromptsRequestRequestBodyContent = string | Array<components.TextContentPartSchema>;
679
+ export declare const UpdatePromptModelType: {
680
+ readonly Chat: "chat";
681
+ readonly Completion: "completion";
682
+ readonly Embedding: "embedding";
683
+ readonly Image: "image";
684
+ readonly Tts: "tts";
685
+ readonly Stt: "stt";
686
+ readonly Rerank: "rerank";
687
+ readonly Moderation: "moderation";
688
+ readonly Vision: "vision";
689
+ };
460
690
  /**
461
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
691
+ * The modality of the model
462
692
  */
463
- export declare const UpdatePromptMessagesPromptsType: {
464
- readonly Ephemeral: "ephemeral";
693
+ export type UpdatePromptModelType = ClosedEnum<typeof UpdatePromptModelType>;
694
+ /**
695
+ * Only supported on `image` models.
696
+ */
697
+ export declare const UpdatePromptPromptsFormat: {
698
+ readonly Url: "url";
699
+ readonly B64Json: "b64_json";
700
+ readonly Text: "text";
701
+ readonly JsonObject: "json_object";
465
702
  };
466
703
  /**
467
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
704
+ * Only supported on `image` models.
468
705
  */
469
- export type UpdatePromptMessagesPromptsType = ClosedEnum<typeof UpdatePromptMessagesPromptsType>;
706
+ export type UpdatePromptPromptsFormat = ClosedEnum<typeof UpdatePromptPromptsFormat>;
707
+ export declare const UpdatePromptResponseFormat6: {
708
+ readonly Json: "json";
709
+ readonly Text: "text";
710
+ readonly Srt: "srt";
711
+ readonly VerboseJson: "verbose_json";
712
+ readonly Vtt: "vtt";
713
+ };
714
+ export type UpdatePromptResponseFormat6 = ClosedEnum<typeof UpdatePromptResponseFormat6>;
715
+ export declare const UpdatePromptResponseFormat5: {
716
+ readonly Url: "url";
717
+ readonly Base64Json: "base64_json";
718
+ };
719
+ export type UpdatePromptResponseFormat5 = ClosedEnum<typeof UpdatePromptResponseFormat5>;
720
+ export declare const UpdatePromptResponseFormat4: {
721
+ readonly Mp3: "mp3";
722
+ readonly Opus: "opus";
723
+ readonly Aac: "aac";
724
+ readonly Flac: "flac";
725
+ readonly Wav: "wav";
726
+ readonly Pcm: "pcm";
727
+ };
728
+ export type UpdatePromptResponseFormat4 = ClosedEnum<typeof UpdatePromptResponseFormat4>;
729
+ export declare const UpdatePromptResponseFormatPromptsResponse200ApplicationJSONResponseBodyPromptConfigModelParametersType: {
730
+ readonly Text: "text";
731
+ };
732
+ export type UpdatePromptResponseFormatPromptsResponse200ApplicationJSONResponseBodyPromptConfigModelParametersType = ClosedEnum<typeof UpdatePromptResponseFormatPromptsResponse200ApplicationJSONResponseBodyPromptConfigModelParametersType>;
733
+ export type UpdatePromptResponseFormat3 = {
734
+ type: UpdatePromptResponseFormatPromptsResponse200ApplicationJSONResponseBodyPromptConfigModelParametersType;
735
+ };
736
+ export declare const UpdatePromptResponseFormatPromptsResponse200ApplicationJSONResponseBodyPromptConfigType: {
737
+ readonly JsonObject: "json_object";
738
+ };
739
+ export type UpdatePromptResponseFormatPromptsResponse200ApplicationJSONResponseBodyPromptConfigType = ClosedEnum<typeof UpdatePromptResponseFormatPromptsResponse200ApplicationJSONResponseBodyPromptConfigType>;
740
+ export type UpdatePromptResponseFormat2 = {
741
+ type: UpdatePromptResponseFormatPromptsResponse200ApplicationJSONResponseBodyPromptConfigType;
742
+ };
743
+ export declare const UpdatePromptResponseFormatPromptsResponse200ApplicationJSONResponseBodyType: {
744
+ readonly JsonSchema: "json_schema";
745
+ };
746
+ export type UpdatePromptResponseFormatPromptsResponse200ApplicationJSONResponseBodyType = ClosedEnum<typeof UpdatePromptResponseFormatPromptsResponse200ApplicationJSONResponseBodyType>;
747
+ export type UpdatePromptResponseFormatPromptsResponse200ApplicationJSONJSONSchema = {
748
+ name: string;
749
+ description?: string | undefined;
750
+ strict?: boolean | undefined;
751
+ schema: {
752
+ [k: string]: any;
753
+ };
754
+ };
755
+ export type UpdatePromptResponseFormat1 = {
756
+ type: UpdatePromptResponseFormatPromptsResponse200ApplicationJSONResponseBodyType;
757
+ displayName?: string | undefined;
758
+ jsonSchema: UpdatePromptResponseFormatPromptsResponse200ApplicationJSONJSONSchema;
759
+ };
470
760
  /**
471
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
761
+ * An object specifying the format that the model must output.
472
762
  *
473
763
  * @remarks
474
764
  *
475
- * - `5m`: 5 minutes
476
- * - `1h`: 1 hour
765
+ * Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema
477
766
  *
478
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
767
+ * Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
768
+ *
769
+ * Important: when using JSON mode, you must also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if finish_reason="length", which indicates the generation exceeded max_tokens or the conversation exceeded the max context length.
479
770
  */
480
- export declare const UpdatePromptMessagesTtl: {
481
- readonly Fivem: "5m";
482
- readonly Oneh: "1h";
771
+ export type UpdatePromptPromptsResponseResponseFormat = UpdatePromptResponseFormat1 | UpdatePromptResponseFormat2 | UpdatePromptResponseFormat3 | UpdatePromptResponseFormat4 | UpdatePromptResponseFormat5 | UpdatePromptResponseFormat6;
772
+ /**
773
+ * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
774
+ */
775
+ export declare const UpdatePromptPhotoRealVersion: {
776
+ readonly V1: "v1";
777
+ readonly V2: "v2";
483
778
  };
484
779
  /**
485
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
486
- *
487
- * @remarks
488
- *
489
- * - `5m`: 5 minutes
490
- * - `1h`: 1 hour
491
- *
492
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
780
+ * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
493
781
  */
494
- export type UpdatePromptMessagesTtl = ClosedEnum<typeof UpdatePromptMessagesTtl>;
495
- export type UpdatePromptMessagesCacheControl = {
782
+ export type UpdatePromptPhotoRealVersion = ClosedEnum<typeof UpdatePromptPhotoRealVersion>;
783
+ /**
784
+ * The format to return the embeddings
785
+ */
786
+ export declare const UpdatePromptEncodingFormat: {
787
+ readonly Float: "float";
788
+ readonly Base64: "base64";
789
+ };
790
+ /**
791
+ * The format to return the embeddings
792
+ */
793
+ export type UpdatePromptEncodingFormat = ClosedEnum<typeof UpdatePromptEncodingFormat>;
794
+ /**
795
+ * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
796
+ */
797
+ export declare const UpdatePromptPromptsResponseReasoningEffort: {
798
+ readonly None: "none";
799
+ readonly Disable: "disable";
800
+ readonly Minimal: "minimal";
801
+ readonly Low: "low";
802
+ readonly Medium: "medium";
803
+ readonly High: "high";
804
+ };
805
+ /**
806
+ * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
807
+ */
808
+ export type UpdatePromptPromptsResponseReasoningEffort = ClosedEnum<typeof UpdatePromptPromptsResponseReasoningEffort>;
809
+ /**
810
+ * Controls the verbosity of the model output.
811
+ */
812
+ export declare const UpdatePromptVerbosity: {
813
+ readonly Low: "low";
814
+ readonly Medium: "medium";
815
+ readonly High: "high";
816
+ };
817
+ /**
818
+ * Controls the verbosity of the model output.
819
+ */
820
+ export type UpdatePromptVerbosity = ClosedEnum<typeof UpdatePromptVerbosity>;
821
+ /**
822
+ * The level of thinking to use for the model. Only supported by `Google AI`
823
+ */
824
+ export declare const UpdatePromptThinkingLevel: {
825
+ readonly Low: "low";
826
+ readonly High: "high";
827
+ };
828
+ /**
829
+ * The level of thinking to use for the model. Only supported by `Google AI`
830
+ */
831
+ export type UpdatePromptThinkingLevel = ClosedEnum<typeof UpdatePromptThinkingLevel>;
832
+ /**
833
+ * Model Parameters: Not all parameters apply to every model
834
+ */
835
+ export type UpdatePromptModelParameters = {
836
+ /**
837
+ * Only supported on `chat` and `completion` models.
838
+ */
839
+ temperature?: number | undefined;
840
+ /**
841
+ * Only supported on `chat` and `completion` models.
842
+ */
843
+ maxTokens?: number | undefined;
844
+ /**
845
+ * Only supported on `chat` and `completion` models.
846
+ */
847
+ topK?: number | undefined;
496
848
  /**
497
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
849
+ * Only supported on `chat` and `completion` models.
498
850
  */
499
- type: UpdatePromptMessagesPromptsType;
851
+ topP?: number | undefined;
500
852
  /**
501
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
853
+ * Only supported on `chat` and `completion` models.
854
+ */
855
+ frequencyPenalty?: number | undefined;
856
+ /**
857
+ * Only supported on `chat` and `completion` models.
858
+ */
859
+ presencePenalty?: number | undefined;
860
+ /**
861
+ * Only supported on `image` models.
862
+ */
863
+ numImages?: number | undefined;
864
+ /**
865
+ * Best effort deterministic seed for the model. Currently only OpenAI models support these
866
+ */
867
+ seed?: number | undefined;
868
+ /**
869
+ * Only supported on `image` models.
870
+ */
871
+ format?: UpdatePromptPromptsFormat | undefined;
872
+ /**
873
+ * Only supported on `image` models.
874
+ */
875
+ dimensions?: string | undefined;
876
+ /**
877
+ * Only supported on `image` models.
878
+ */
879
+ quality?: string | undefined;
880
+ /**
881
+ * Only supported on `image` models.
882
+ */
883
+ style?: string | undefined;
884
+ /**
885
+ * An object specifying the format that the model must output.
502
886
  *
503
887
  * @remarks
504
888
  *
505
- * - `5m`: 5 minutes
506
- * - `1h`: 1 hour
889
+ * Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema
507
890
  *
508
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
891
+ * Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
892
+ *
893
+ * Important: when using JSON mode, you must also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if finish_reason="length", which indicates the generation exceeded max_tokens or the conversation exceeded the max context length.
509
894
  */
510
- ttl?: UpdatePromptMessagesTtl | undefined;
511
- };
512
- export type UpdatePromptMessagesToolMessage = {
895
+ responseFormat?: UpdatePromptResponseFormat1 | UpdatePromptResponseFormat2 | UpdatePromptResponseFormat3 | UpdatePromptResponseFormat4 | UpdatePromptResponseFormat5 | UpdatePromptResponseFormat6 | null | undefined;
513
896
  /**
514
- * The role of the messages author, in this case tool.
897
+ * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
515
898
  */
516
- role: "tool";
899
+ photoRealVersion?: UpdatePromptPhotoRealVersion | undefined;
517
900
  /**
518
- * The contents of the tool message.
901
+ * The format to return the embeddings
519
902
  */
520
- content: string | Array<components.TextContentPartSchema>;
903
+ encodingFormat?: UpdatePromptEncodingFormat | undefined;
521
904
  /**
522
- * Tool call that this message is responding to.
905
+ * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
523
906
  */
524
- toolCallId: string | null;
525
- cacheControl?: UpdatePromptMessagesCacheControl | undefined;
526
- };
527
- export type UpdatePromptContentPromptsRequest2 = (components.TextContentPartSchema & {
528
- type: "text";
529
- }) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema;
530
- /**
531
- * The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
532
- */
533
- export type UpdatePromptMessagesPromptsRequestContent = string | Array<(components.TextContentPartSchema & {
534
- type: "text";
535
- }) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema>;
536
- /**
537
- * Data about a previous audio response from the model.
538
- */
539
- export type UpdatePromptMessagesAudio = {
907
+ reasoningEffort?: UpdatePromptPromptsResponseReasoningEffort | undefined;
540
908
  /**
541
- * Unique identifier for a previous audio response from the model.
909
+ * Gives the model enhanced reasoning capabilities for complex tasks. A value of 0 disables thinking. The minimum budget tokens for thinking are 1024. The Budget Tokens should never exceed the Max Tokens parameter. Only supported by `Anthropic`
542
910
  */
543
- id: string;
911
+ budgetTokens?: number | undefined;
912
+ /**
913
+ * Controls the verbosity of the model output.
914
+ */
915
+ verbosity?: UpdatePromptVerbosity | undefined;
916
+ /**
917
+ * The level of thinking to use for the model. Only supported by `Google AI`
918
+ */
919
+ thinkingLevel?: UpdatePromptThinkingLevel | undefined;
920
+ };
921
+ export declare const UpdatePromptProvider: {
922
+ readonly Openai: "openai";
923
+ readonly Groq: "groq";
924
+ readonly Cohere: "cohere";
925
+ readonly Azure: "azure";
926
+ readonly Aws: "aws";
927
+ readonly Google: "google";
928
+ readonly GoogleAi: "google-ai";
929
+ readonly Huggingface: "huggingface";
930
+ readonly Togetherai: "togetherai";
931
+ readonly Perplexity: "perplexity";
932
+ readonly Anthropic: "anthropic";
933
+ readonly Leonardoai: "leonardoai";
934
+ readonly Fal: "fal";
935
+ readonly Nvidia: "nvidia";
936
+ readonly Jina: "jina";
937
+ readonly Elevenlabs: "elevenlabs";
938
+ readonly Litellm: "litellm";
939
+ readonly Cerebras: "cerebras";
940
+ readonly Openailike: "openailike";
941
+ readonly Bytedance: "bytedance";
942
+ readonly Mistral: "mistral";
943
+ readonly Deepseek: "deepseek";
944
+ readonly Contextualai: "contextualai";
945
+ readonly Moonshotai: "moonshotai";
946
+ readonly Zai: "zai";
947
+ readonly Slack: "slack";
544
948
  };
949
+ export type UpdatePromptProvider = ClosedEnum<typeof UpdatePromptProvider>;
545
950
  /**
546
- * The type of the tool. Currently, only `function` is supported.
951
+ * The role of the prompt message
547
952
  */
548
- export declare const UpdatePromptMessagesType: {
549
- readonly Function: "function";
953
+ export declare const UpdatePromptRole: {
954
+ readonly System: "system";
955
+ readonly Assistant: "assistant";
956
+ readonly User: "user";
957
+ readonly Exception: "exception";
958
+ readonly Tool: "tool";
959
+ readonly Prompt: "prompt";
960
+ readonly Correction: "correction";
961
+ readonly ExpectedOutput: "expected_output";
550
962
  };
551
963
  /**
552
- * The type of the tool. Currently, only `function` is supported.
964
+ * The role of the prompt message
553
965
  */
554
- export type UpdatePromptMessagesType = ClosedEnum<typeof UpdatePromptMessagesType>;
555
- export type UpdatePromptMessagesFunction = {
556
- /**
557
- * The name of the function to call.
558
- */
559
- name?: string | undefined;
966
+ export type UpdatePromptRole = ClosedEnum<typeof UpdatePromptRole>;
967
+ export type UpdatePrompt2File = {
560
968
  /**
561
- * The arguments to call the function with, as generated by the model in JSON format. Note that the model does not always generate valid JSON, and may hallucinate parameters not defined by your function schema. Validate the arguments in your code before calling your function.
969
+ * The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
562
970
  */
563
- arguments?: string | undefined;
564
- };
565
- export type UpdatePromptMessagesToolCalls = {
971
+ fileData?: string | undefined;
566
972
  /**
567
- * The ID of the tool call.
973
+ * URL to the file. Only supported by Anthropic Claude models for PDF files.
568
974
  */
569
- id: string;
975
+ uri?: string | undefined;
570
976
  /**
571
- * The type of the tool. Currently, only `function` is supported.
977
+ * MIME type of the file (e.g., application/pdf, image/png)
572
978
  */
573
- type: UpdatePromptMessagesType;
574
- function: UpdatePromptMessagesFunction;
979
+ mimeType?: string | undefined;
575
980
  /**
576
- * Encrypted representation of the model internal reasoning state during function calling. Required by Gemini 3 models when continuing a conversation after a tool call.
981
+ * The name of the file, used when passing the file to the model as a string.
577
982
  */
578
- thoughtSignature?: string | undefined;
983
+ filename?: string | undefined;
579
984
  };
580
- export type UpdatePromptMessagesAssistantMessage = {
581
- /**
582
- * The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
583
- */
584
- content?: string | Array<(components.TextContentPartSchema & {
585
- type: "text";
586
- }) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema> | null | undefined;
587
- /**
588
- * The refusal message by the assistant.
589
- */
590
- refusal?: string | null | undefined;
985
+ export type UpdatePrompt23 = {
591
986
  /**
592
- * The role of the messages author, in this case `assistant`.
987
+ * The type of the content part. Always `file`.
593
988
  */
594
- role: "assistant";
989
+ type: "file";
990
+ file: UpdatePrompt2File;
991
+ };
992
+ export type UpdatePrompt2ImageUrl = {
595
993
  /**
596
- * An optional name for the participant. Provides the model information to differentiate between participants of the same role.
994
+ * The orq.ai id of the image
597
995
  */
598
- name?: string | undefined;
996
+ id?: string | undefined;
599
997
  /**
600
- * Data about a previous audio response from the model.
998
+ * Either a URL of the image or the base64 encoded data URI.
601
999
  */
602
- audio?: UpdatePromptMessagesAudio | null | undefined;
1000
+ url: string;
603
1001
  /**
604
- * The tool calls generated by the model, such as function calls.
1002
+ * Specifies the detail level of the image. Currently only supported with OpenAI models
605
1003
  */
606
- toolCalls?: Array<UpdatePromptMessagesToolCalls> | undefined;
1004
+ detail?: string | undefined;
607
1005
  };
608
1006
  /**
609
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
1007
+ * The image part of the prompt message. Only supported with vision models.
610
1008
  */
611
- export declare const UpdatePrompt2PromptsRequestRequestBodyPromptType: {
612
- readonly Ephemeral: "ephemeral";
1009
+ export type UpdatePrompt22 = {
1010
+ type: "image_url";
1011
+ imageUrl: UpdatePrompt2ImageUrl;
613
1012
  };
614
1013
  /**
615
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
616
- */
617
- export type UpdatePrompt2PromptsRequestRequestBodyPromptType = ClosedEnum<typeof UpdatePrompt2PromptsRequestRequestBodyPromptType>;
618
- /**
619
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
620
- *
621
- * @remarks
622
- *
623
- * - `5m`: 5 minutes
624
- * - `1h`: 1 hour
625
- *
626
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
1014
+ * Text content part of a prompt message
627
1015
  */
628
- export declare const UpdatePrompt2Ttl: {
629
- readonly Fivem: "5m";
630
- readonly Oneh: "1h";
1016
+ export type UpdatePrompt21 = {
1017
+ type: "text";
1018
+ text: string;
631
1019
  };
1020
+ export type UpdatePromptContentPromptsResponse2 = UpdatePrompt21 | UpdatePrompt22 | UpdatePrompt23;
632
1021
  /**
633
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
634
- *
635
- * @remarks
636
- *
637
- * - `5m`: 5 minutes
638
- * - `1h`: 1 hour
639
- *
640
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
1022
+ * The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts. Can be null for tool messages in certain scenarios.
641
1023
  */
642
- export type UpdatePrompt2Ttl = ClosedEnum<typeof UpdatePrompt2Ttl>;
643
- export type UpdatePrompt2CacheControl = {
644
- /**
645
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
646
- */
647
- type: UpdatePrompt2PromptsRequestRequestBodyPromptType;
1024
+ export type UpdatePromptContent = string | Array<UpdatePrompt21 | UpdatePrompt22 | UpdatePrompt23>;
1025
+ export declare const UpdatePromptPromptsType: {
1026
+ readonly Function: "function";
1027
+ };
1028
+ export type UpdatePromptPromptsType = ClosedEnum<typeof UpdatePromptPromptsType>;
1029
+ export type UpdatePromptFunction = {
1030
+ name: string;
648
1031
  /**
649
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
650
- *
651
- * @remarks
652
- *
653
- * - `5m`: 5 minutes
654
- * - `1h`: 1 hour
655
- *
656
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
1032
+ * JSON string arguments for the functions
657
1033
  */
658
- ttl?: UpdatePrompt2Ttl | undefined;
1034
+ arguments: string;
659
1035
  };
660
- export type UpdatePrompt24 = {
1036
+ export type UpdatePromptToolCalls = {
1037
+ id?: string | undefined;
1038
+ index?: number | undefined;
1039
+ type: UpdatePromptPromptsType;
1040
+ function: UpdatePromptFunction;
1041
+ };
1042
+ export type UpdatePromptPromptsMessages = {
661
1043
  /**
662
- * The type of the content part. Always `file`.
1044
+ * The role of the prompt message
663
1045
  */
664
- type: "file";
665
- cacheControl?: UpdatePrompt2CacheControl | undefined;
1046
+ role: UpdatePromptRole;
666
1047
  /**
667
- * File data for the content part. Must contain either file_data or uri, but not both.
1048
+ * The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts. Can be null for tool messages in certain scenarios.
668
1049
  */
669
- file: components.FileContentPartSchema;
1050
+ content: string | Array<UpdatePrompt21 | UpdatePrompt22 | UpdatePrompt23> | null;
1051
+ toolCalls?: Array<UpdatePromptToolCalls> | undefined;
1052
+ toolCallId?: string | null | undefined;
670
1053
  };
671
- export type UpdatePromptContentPrompts2 = (components.TextContentPartSchema & {
672
- type: "text";
673
- }) | components.ImageContentPartSchema | components.AudioContentPartSchema | UpdatePrompt24;
674
1054
  /**
675
- * The contents of the user message.
1055
+ * [DEPRECATED] Use the `prompt` property instead. A list of messages compatible with the openAI schema.
1056
+ *
1057
+ * @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible.
676
1058
  */
677
- export type UpdatePromptMessagesPromptsContent = string | Array<(components.TextContentPartSchema & {
678
- type: "text";
679
- }) | components.ImageContentPartSchema | components.AudioContentPartSchema | UpdatePrompt24>;
680
- export type UpdatePromptMessagesUserMessage = {
1059
+ export type UpdatePromptPromptConfig = {
1060
+ stream?: boolean | undefined;
1061
+ model?: string | null | undefined;
681
1062
  /**
682
- * The role of the messages author, in this case `user`.
1063
+ * The id of the resource
683
1064
  */
684
- role: "user";
1065
+ modelDbId?: string | null | undefined;
685
1066
  /**
686
- * An optional name for the participant. Provides the model information to differentiate between participants of the same role.
1067
+ * The modality of the model
687
1068
  */
688
- name?: string | undefined;
1069
+ modelType?: UpdatePromptModelType | null | undefined;
689
1070
  /**
690
- * The contents of the user message.
1071
+ * Model Parameters: Not all parameters apply to every model
691
1072
  */
692
- content: string | Array<(components.TextContentPartSchema & {
693
- type: "text";
694
- }) | components.ImageContentPartSchema | components.AudioContentPartSchema | UpdatePrompt24>;
1073
+ modelParameters?: UpdatePromptModelParameters | undefined;
1074
+ provider?: UpdatePromptProvider | null | undefined;
1075
+ /**
1076
+ * The ID of the integration to use
1077
+ */
1078
+ integrationId?: string | null | undefined;
1079
+ version?: string | undefined;
1080
+ messages: Array<UpdatePromptPromptsMessages>;
695
1081
  };
696
1082
  /**
697
- * The contents of the system message.
1083
+ * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
698
1084
  */
699
- export type UpdatePromptMessagesContent = string | Array<components.TextContentPartSchema>;
1085
+ export declare const UpdatePromptPromptsVoice: {
1086
+ readonly Alloy: "alloy";
1087
+ readonly Echo: "echo";
1088
+ readonly Fable: "fable";
1089
+ readonly Onyx: "onyx";
1090
+ readonly Nova: "nova";
1091
+ readonly Shimmer: "shimmer";
1092
+ };
700
1093
  /**
701
- * Developer-provided instructions that the model should follow, regardless of messages sent by the user.
1094
+ * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
702
1095
  */
703
- export type UpdatePromptMessagesSystemMessage = {
704
- /**
705
- * The role of the messages author, in this case `system`.
706
- */
707
- role: "system";
1096
+ export type UpdatePromptPromptsVoice = ClosedEnum<typeof UpdatePromptPromptsVoice>;
1097
+ /**
1098
+ * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
1099
+ */
1100
+ export declare const UpdatePromptPromptsResponse200Format: {
1101
+ readonly Wav: "wav";
1102
+ readonly Mp3: "mp3";
1103
+ readonly Flac: "flac";
1104
+ readonly Opus: "opus";
1105
+ readonly Pcm16: "pcm16";
1106
+ };
1107
+ /**
1108
+ * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
1109
+ */
1110
+ export type UpdatePromptPromptsResponse200Format = ClosedEnum<typeof UpdatePromptPromptsResponse200Format>;
1111
+ /**
1112
+ * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
1113
+ */
1114
+ export type UpdatePromptPromptsAudio = {
708
1115
  /**
709
- * The contents of the system message.
1116
+ * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
710
1117
  */
711
- content: string | Array<components.TextContentPartSchema>;
1118
+ voice: UpdatePromptPromptsVoice;
712
1119
  /**
713
- * An optional name for the participant. Provides the model information to differentiate between participants of the same role.
1120
+ * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
714
1121
  */
715
- name?: string | undefined;
1122
+ format: UpdatePromptPromptsResponse200Format;
716
1123
  };
717
- export type UpdatePromptPromptsMessages = UpdatePromptMessagesSystemMessage | UpdatePromptMessagesUserMessage | UpdatePromptMessagesAssistantMessage | UpdatePromptMessagesToolMessage;
718
- export type UpdatePromptResponseFormatPromptsRequestJsonSchema = {
1124
+ export type UpdatePromptResponseFormatPromptsResponseJsonSchema = {
719
1125
  /**
720
1126
  * A description of what the response format is for, used by the model to determine how to respond in the format.
721
1127
  */
@@ -738,16 +1144,16 @@ export type UpdatePromptResponseFormatPromptsRequestJsonSchema = {
738
1144
  *
739
1145
  * JSON Schema response format. Used to generate structured JSON responses
740
1146
  */
741
- export type UpdatePromptResponseFormatPromptsJSONSchema = {
1147
+ export type UpdatePromptResponseFormatPromptsResponse200JSONSchema = {
742
1148
  type: "json_schema";
743
- jsonSchema: UpdatePromptResponseFormatPromptsRequestJsonSchema;
1149
+ jsonSchema: UpdatePromptResponseFormatPromptsResponseJsonSchema;
744
1150
  };
745
1151
  /**
746
1152
  * @remarks
747
1153
  *
748
1154
  * JSON object response format. An older method of generating JSON responses. Using `json_schema` is recommended for models that support it. Note that the model will not generate JSON without a system or user message instructing it to do so.
749
1155
  */
750
- export type UpdatePromptResponseFormatJSONObject = {
1156
+ export type UpdatePromptResponseFormatPromptsJSONObject = {
751
1157
  type: "json_object";
752
1158
  };
753
1159
  /**
@@ -755,494 +1161,503 @@ export type UpdatePromptResponseFormatJSONObject = {
755
1161
  *
756
1162
  * Default response format. Used to generate text responses
757
1163
  */
758
- export type UpdatePromptResponseFormatText = {
1164
+ export type UpdatePromptResponseFormatPromptsText = {
759
1165
  type: "text";
760
1166
  };
761
1167
  /**
762
1168
  * An object specifying the format that the model must output
763
1169
  */
764
- export type UpdatePromptPromptsResponseFormat = UpdatePromptResponseFormatText | UpdatePromptResponseFormatJSONObject | UpdatePromptResponseFormatPromptsJSONSchema;
1170
+ export type UpdatePromptPromptsResponseFormat = UpdatePromptResponseFormatPromptsText | UpdatePromptResponseFormatPromptsJSONObject | UpdatePromptResponseFormatPromptsResponse200JSONSchema;
765
1171
  /**
766
- * Prompt configuration with model and messages. Use this to update the prompt.
1172
+ * Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
1173
+ *
1174
+ * @remarks
1175
+ *
1176
+ * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool calls are supported for all reasoning values in gpt-5.1.
1177
+ * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
1178
+ * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
1179
+ * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
1180
+ *
1181
+ * Any of "none", "minimal", "low", "medium", "high", "xhigh".
767
1182
  */
768
- export type UpdatePromptPromptInput = {
769
- /**
770
- * Array of messages that make up the conversation. Each message has a role (system, user, assistant, or tool) and content.
771
- */
772
- messages?: Array<UpdatePromptMessagesSystemMessage | UpdatePromptMessagesUserMessage | UpdatePromptMessagesAssistantMessage | UpdatePromptMessagesToolMessage> | undefined;
773
- /**
774
- * Model ID used to generate the response, like `openai/gpt-4o` or `anthropic/claude-3-5-sonnet-20241022`. The full list of models can be found at https://docs.orq.ai/docs/ai-gateway-supported-models. Only chat models are supported.
775
- */
776
- model?: string | undefined;
777
- isPrivate?: boolean | undefined;
778
- /**
779
- * What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
780
- */
781
- temperature?: number | null | undefined;
782
- /**
783
- * `[Deprecated]`. The maximum number of tokens that can be generated in the chat completion. This value can be used to control costs for text generated via API.
784
- *
785
- * @remarks
786
- *
787
- * This value is now `deprecated` in favor of `max_completion_tokens`, and is not compatible with o1 series models.
788
- */
789
- maxTokens?: number | null | undefined;
790
- /**
791
- * An object specifying the format that the model must output
792
- */
793
- responseFormat?: UpdatePromptResponseFormatText | UpdatePromptResponseFormatJSONObject | UpdatePromptResponseFormatPromptsJSONSchema | undefined;
1183
+ export declare const UpdatePromptPromptsReasoningEffort: {
1184
+ readonly None: "none";
1185
+ readonly Minimal: "minimal";
1186
+ readonly Low: "low";
1187
+ readonly Medium: "medium";
1188
+ readonly High: "high";
1189
+ readonly Xhigh: "xhigh";
794
1190
  };
795
- export type UpdatePromptRequestBody = {
796
- owner?: string | undefined;
797
- domainId?: string | undefined;
798
- created?: string | undefined;
799
- updated?: string | undefined;
800
- createdById?: string | null | undefined;
801
- updatedById?: string | null | undefined;
802
- /**
803
- * The prompt’s name, meant to be displayable in the UI.
804
- */
805
- displayName?: string | undefined;
806
- /**
807
- * The prompt’s description, meant to be displayable in the UI. Use this field to optionally store a long form explanation of the prompt for your own purpose
808
- */
809
- description?: string | null | undefined;
810
- /**
811
- * [DEPRECATED]. Please use the `prompt` property instead.
812
- *
813
- * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
814
- */
815
- promptConfig?: PromptConfig | undefined;
816
- metadata?: UpdatePromptMetadata | undefined;
1191
+ /**
1192
+ * Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
1193
+ *
1194
+ * @remarks
1195
+ *
1196
+ * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool calls are supported for all reasoning values in gpt-5.1.
1197
+ * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
1198
+ * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
1199
+ * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
1200
+ *
1201
+ * Any of "none", "minimal", "low", "medium", "high", "xhigh".
1202
+ */
1203
+ export type UpdatePromptPromptsReasoningEffort = ClosedEnum<typeof UpdatePromptPromptsReasoningEffort>;
1204
+ /**
1205
+ * Up to 4 sequences where the API will stop generating further tokens.
1206
+ */
1207
+ export type UpdatePromptPromptsStop = string | Array<string>;
1208
+ /**
1209
+ * Options for streaming response. Only set this when you set stream: true.
1210
+ */
1211
+ export type UpdatePromptPromptsStreamOptions = {
817
1212
  /**
818
- * Entity storage path in the format: `project/folder/subfolder/...`
819
- *
820
- * @remarks
821
- *
822
- * The first element identifies the project, followed by nested folders (auto-created as needed).
823
- *
824
- * With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
1213
+ * If set, an additional chunk will be streamed before the data: [DONE] message. The usage field on this chunk shows the token usage statistics for the entire request, and the choices field will always be an empty array. All other chunks will also include a usage field, but with a null value.
825
1214
  */
826
- path?: string | undefined;
1215
+ includeUsage?: boolean | undefined;
1216
+ };
1217
+ export type UpdatePromptPromptsThinking = components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema;
1218
+ /**
1219
+ * The type of the tool. Currently, only function is supported.
1220
+ */
1221
+ export declare const UpdatePromptToolChoicePromptsType: {
1222
+ readonly Function: "function";
1223
+ };
1224
+ /**
1225
+ * The type of the tool. Currently, only function is supported.
1226
+ */
1227
+ export type UpdatePromptToolChoicePromptsType = ClosedEnum<typeof UpdatePromptToolChoicePromptsType>;
1228
+ export type UpdatePromptToolChoicePromptsFunction = {
827
1229
  /**
828
- * Prompt configuration with model and messages. Use this to update the prompt.
1230
+ * The name of the function to call.
829
1231
  */
830
- prompt?: UpdatePromptPromptInput | undefined;
1232
+ name: string;
831
1233
  };
832
- export type UpdatePromptRequest = {
1234
+ export type UpdatePromptToolChoicePrompts2 = {
833
1235
  /**
834
- * Unique identifier of the prompt
1236
+ * The type of the tool. Currently, only function is supported.
835
1237
  */
836
- id: string;
837
- requestBody?: UpdatePromptRequestBody | undefined;
1238
+ type?: UpdatePromptToolChoicePromptsType | undefined;
1239
+ function: UpdatePromptToolChoicePromptsFunction;
838
1240
  };
839
- export declare const UpdatePromptPromptsType: {
840
- readonly Prompt: "prompt";
841
- };
842
- export type UpdatePromptPromptsType = ClosedEnum<typeof UpdatePromptPromptsType>;
843
- /**
844
- * The modality of the model
845
- */
846
- export declare const UpdatePromptModelType: {
847
- readonly Chat: "chat";
848
- readonly Completion: "completion";
849
- readonly Embedding: "embedding";
850
- readonly Image: "image";
851
- readonly Tts: "tts";
852
- readonly Stt: "stt";
853
- readonly Rerank: "rerank";
854
- readonly Moderation: "moderation";
855
- readonly Vision: "vision";
1241
+ export declare const UpdatePromptToolChoicePrompts1: {
1242
+ readonly None: "none";
1243
+ readonly Auto: "auto";
1244
+ readonly Required: "required";
856
1245
  };
1246
+ export type UpdatePromptToolChoicePrompts1 = ClosedEnum<typeof UpdatePromptToolChoicePrompts1>;
857
1247
  /**
858
- * The modality of the model
859
- */
860
- export type UpdatePromptModelType = ClosedEnum<typeof UpdatePromptModelType>;
861
- /**
862
- * Only supported on `image` models.
1248
+ * Controls which (if any) tool is called by the model.
863
1249
  */
864
- export declare const UpdatePromptPromptsFormat: {
865
- readonly Url: "url";
866
- readonly B64Json: "b64_json";
1250
+ export type UpdatePromptPromptsToolChoice = UpdatePromptToolChoicePrompts2 | UpdatePromptToolChoicePrompts1;
1251
+ export declare const UpdatePromptPromptsModalities: {
867
1252
  readonly Text: "text";
868
- readonly JsonObject: "json_object";
1253
+ readonly Audio: "audio";
869
1254
  };
1255
+ export type UpdatePromptPromptsModalities = ClosedEnum<typeof UpdatePromptPromptsModalities>;
870
1256
  /**
871
- * Only supported on `image` models.
1257
+ * The key of the guardrail.
872
1258
  */
873
- export type UpdatePromptPromptsFormat = ClosedEnum<typeof UpdatePromptPromptsFormat>;
874
- export declare const UpdatePromptResponseFormat6: {
875
- readonly Json: "json";
876
- readonly Text: "text";
877
- readonly Srt: "srt";
878
- readonly VerboseJson: "verbose_json";
879
- readonly Vtt: "vtt";
880
- };
881
- export type UpdatePromptResponseFormat6 = ClosedEnum<typeof UpdatePromptResponseFormat6>;
882
- export declare const UpdatePromptResponseFormat5: {
883
- readonly Url: "url";
884
- readonly Base64Json: "base64_json";
885
- };
886
- export type UpdatePromptResponseFormat5 = ClosedEnum<typeof UpdatePromptResponseFormat5>;
887
- export declare const UpdatePromptResponseFormatPrompts4: {
888
- readonly Mp3: "mp3";
889
- readonly Opus: "opus";
890
- readonly Aac: "aac";
891
- readonly Flac: "flac";
892
- readonly Wav: "wav";
893
- readonly Pcm: "pcm";
894
- };
895
- export type UpdatePromptResponseFormatPrompts4 = ClosedEnum<typeof UpdatePromptResponseFormatPrompts4>;
896
- export declare const UpdatePromptResponseFormatPromptsResponse200ApplicationJSONType: {
897
- readonly Text: "text";
898
- };
899
- export type UpdatePromptResponseFormatPromptsResponse200ApplicationJSONType = ClosedEnum<typeof UpdatePromptResponseFormatPromptsResponse200ApplicationJSONType>;
900
- export type UpdatePromptResponseFormatPrompts3 = {
901
- type: UpdatePromptResponseFormatPromptsResponse200ApplicationJSONType;
902
- };
903
- export declare const UpdatePromptResponseFormatPromptsResponse200Type: {
904
- readonly JsonObject: "json_object";
905
- };
906
- export type UpdatePromptResponseFormatPromptsResponse200Type = ClosedEnum<typeof UpdatePromptResponseFormatPromptsResponse200Type>;
907
- export type UpdatePromptResponseFormatPrompts2 = {
908
- type: UpdatePromptResponseFormatPromptsResponse200Type;
909
- };
910
- export declare const UpdatePromptResponseFormatPromptsResponseType: {
911
- readonly JsonSchema: "json_schema";
912
- };
913
- export type UpdatePromptResponseFormatPromptsResponseType = ClosedEnum<typeof UpdatePromptResponseFormatPromptsResponseType>;
914
- export type UpdatePromptResponseFormatPromptsResponseJsonSchema = {
915
- name: string;
916
- description?: string | undefined;
917
- strict?: boolean | undefined;
918
- schema: {
919
- [k: string]: any;
920
- };
921
- };
922
- export type UpdatePromptResponseFormatPrompts1 = {
923
- type: UpdatePromptResponseFormatPromptsResponseType;
924
- displayName?: string | undefined;
925
- jsonSchema: UpdatePromptResponseFormatPromptsResponseJsonSchema;
1259
+ export declare const UpdatePromptIdPrompts1: {
1260
+ readonly OrqPiiDetection: "orq_pii_detection";
1261
+ readonly OrqSexualModeration: "orq_sexual_moderation";
1262
+ readonly OrqHarmfulModeration: "orq_harmful_moderation";
926
1263
  };
927
1264
  /**
928
- * An object specifying the format that the model must output.
929
- *
930
- * @remarks
931
- *
932
- * Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema
933
- *
934
- * Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
935
- *
936
- * Important: when using JSON mode, you must also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if finish_reason="length", which indicates the generation exceeded max_tokens or the conversation exceeded the max context length.
1265
+ * The key of the guardrail.
937
1266
  */
938
- export type UpdatePromptPromptsResponseResponseFormat = UpdatePromptResponseFormatPrompts1 | UpdatePromptResponseFormatPrompts2 | UpdatePromptResponseFormatPrompts3 | UpdatePromptResponseFormatPrompts4 | UpdatePromptResponseFormat5 | UpdatePromptResponseFormat6;
1267
+ export type UpdatePromptIdPrompts1 = ClosedEnum<typeof UpdatePromptIdPrompts1>;
1268
+ export type UpdatePromptPromptsId = UpdatePromptIdPrompts1 | string;
939
1269
  /**
940
- * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
1270
+ * Determines whether the guardrail runs on the input (user message) or output (model response).
941
1271
  */
942
- export declare const UpdatePromptPromptsPhotoRealVersion: {
943
- readonly V1: "v1";
944
- readonly V2: "v2";
1272
+ export declare const UpdatePromptPromptsExecuteOn: {
1273
+ readonly Input: "input";
1274
+ readonly Output: "output";
945
1275
  };
946
1276
  /**
947
- * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
948
- */
949
- export type UpdatePromptPromptsPhotoRealVersion = ClosedEnum<typeof UpdatePromptPromptsPhotoRealVersion>;
950
- /**
951
- * The format to return the embeddings
1277
+ * Determines whether the guardrail runs on the input (user message) or output (model response).
952
1278
  */
953
- export declare const UpdatePromptPromptsEncodingFormat: {
954
- readonly Float: "float";
955
- readonly Base64: "base64";
1279
+ export type UpdatePromptPromptsExecuteOn = ClosedEnum<typeof UpdatePromptPromptsExecuteOn>;
1280
+ export type UpdatePromptPromptsGuardrails = {
1281
+ id: UpdatePromptIdPrompts1 | string;
1282
+ /**
1283
+ * Determines whether the guardrail runs on the input (user message) or output (model response).
1284
+ */
1285
+ executeOn: UpdatePromptPromptsExecuteOn;
956
1286
  };
1287
+ export type UpdatePromptContentPromptsResponse200ApplicationJSONResponseBody2 = components.TextContentPartSchema;
957
1288
  /**
958
- * The format to return the embeddings
1289
+ * The contents of the tool message.
959
1290
  */
960
- export type UpdatePromptPromptsEncodingFormat = ClosedEnum<typeof UpdatePromptPromptsEncodingFormat>;
1291
+ export type UpdatePromptMessagesPromptsResponse200ApplicationJSONResponseBodyContent = string | Array<components.TextContentPartSchema>;
961
1292
  /**
962
- * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
1293
+ * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
963
1294
  */
964
- export declare const UpdatePromptPromptsReasoningEffort: {
965
- readonly None: "none";
966
- readonly Disable: "disable";
967
- readonly Minimal: "minimal";
968
- readonly Low: "low";
969
- readonly Medium: "medium";
970
- readonly High: "high";
1295
+ export declare const UpdatePromptMessagesPromptsResponse200Type: {
1296
+ readonly Ephemeral: "ephemeral";
971
1297
  };
972
1298
  /**
973
- * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
1299
+ * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
1300
+ */
1301
+ export type UpdatePromptMessagesPromptsResponse200Type = ClosedEnum<typeof UpdatePromptMessagesPromptsResponse200Type>;
1302
+ /**
1303
+ * The time-to-live for the cache control breakpoint. This may be one of the following values:
1304
+ *
1305
+ * @remarks
1306
+ *
1307
+ * - `5m`: 5 minutes
1308
+ * - `1h`: 1 hour
1309
+ *
1310
+ * Defaults to `5m`. Only supported by `Anthropic` Claude models.
974
1311
  */
975
- export type UpdatePromptPromptsReasoningEffort = ClosedEnum<typeof UpdatePromptPromptsReasoningEffort>;
1312
+ export declare const UpdatePromptMessagesPromptsTtl: {
1313
+ readonly Fivem: "5m";
1314
+ readonly Oneh: "1h";
1315
+ };
976
1316
  /**
977
- * Controls the verbosity of the model output.
1317
+ * The time-to-live for the cache control breakpoint. This may be one of the following values:
1318
+ *
1319
+ * @remarks
1320
+ *
1321
+ * - `5m`: 5 minutes
1322
+ * - `1h`: 1 hour
1323
+ *
1324
+ * Defaults to `5m`. Only supported by `Anthropic` Claude models.
978
1325
  */
979
- export declare const UpdatePromptPromptsVerbosity: {
980
- readonly Low: "low";
981
- readonly Medium: "medium";
982
- readonly High: "high";
1326
+ export type UpdatePromptMessagesPromptsTtl = ClosedEnum<typeof UpdatePromptMessagesPromptsTtl>;
1327
+ export type UpdatePromptMessagesPromptsCacheControl = {
1328
+ /**
1329
+ * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
1330
+ */
1331
+ type: UpdatePromptMessagesPromptsResponse200Type;
1332
+ /**
1333
+ * The time-to-live for the cache control breakpoint. This may be one of the following values:
1334
+ *
1335
+ * @remarks
1336
+ *
1337
+ * - `5m`: 5 minutes
1338
+ * - `1h`: 1 hour
1339
+ *
1340
+ * Defaults to `5m`. Only supported by `Anthropic` Claude models.
1341
+ */
1342
+ ttl?: UpdatePromptMessagesPromptsTtl | undefined;
1343
+ };
1344
+ export type UpdatePromptMessagesPromptsToolMessage = {
1345
+ /**
1346
+ * The role of the messages author, in this case tool.
1347
+ */
1348
+ role: "tool";
1349
+ /**
1350
+ * The contents of the tool message.
1351
+ */
1352
+ content: string | Array<components.TextContentPartSchema>;
1353
+ /**
1354
+ * Tool call that this message is responding to.
1355
+ */
1356
+ toolCallId: string | null;
1357
+ cacheControl?: UpdatePromptMessagesPromptsCacheControl | undefined;
983
1358
  };
1359
+ export type UpdatePromptContentPromptsResponse200ApplicationJson2 = (components.TextContentPartSchema & {
1360
+ type: "text";
1361
+ }) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema;
984
1362
  /**
985
- * Controls the verbosity of the model output.
1363
+ * The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
986
1364
  */
987
- export type UpdatePromptPromptsVerbosity = ClosedEnum<typeof UpdatePromptPromptsVerbosity>;
1365
+ export type UpdatePromptMessagesPromptsResponse200ApplicationJSONContent = string | Array<(components.TextContentPartSchema & {
1366
+ type: "text";
1367
+ }) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema>;
988
1368
  /**
989
- * The level of thinking to use for the model. Only supported by `Google AI`
1369
+ * Data about a previous audio response from the model.
990
1370
  */
991
- export declare const UpdatePromptPromptsThinkingLevel: {
992
- readonly Low: "low";
993
- readonly High: "high";
1371
+ export type UpdatePromptMessagesPromptsAudio = {
1372
+ /**
1373
+ * Unique identifier for a previous audio response from the model.
1374
+ */
1375
+ id: string;
994
1376
  };
995
1377
  /**
996
- * The level of thinking to use for the model. Only supported by `Google AI`
1378
+ * The type of the tool. Currently, only `function` is supported.
997
1379
  */
998
- export type UpdatePromptPromptsThinkingLevel = ClosedEnum<typeof UpdatePromptPromptsThinkingLevel>;
1380
+ export declare const UpdatePromptMessagesPromptsResponseType: {
1381
+ readonly Function: "function";
1382
+ };
999
1383
  /**
1000
- * Model Parameters: Not all parameters apply to every model
1384
+ * The type of the tool. Currently, only `function` is supported.
1001
1385
  */
1002
- export type UpdatePromptPromptsModelParameters = {
1386
+ export type UpdatePromptMessagesPromptsResponseType = ClosedEnum<typeof UpdatePromptMessagesPromptsResponseType>;
1387
+ export type UpdatePromptMessagesPromptsFunction = {
1003
1388
  /**
1004
- * Only supported on `chat` and `completion` models.
1389
+ * The name of the function to call.
1005
1390
  */
1006
- temperature?: number | undefined;
1391
+ name?: string | undefined;
1007
1392
  /**
1008
- * Only supported on `chat` and `completion` models.
1393
+ * The arguments to call the function with, as generated by the model in JSON format. Note that the model does not always generate valid JSON, and may hallucinate parameters not defined by your function schema. Validate the arguments in your code before calling your function.
1009
1394
  */
1010
- maxTokens?: number | undefined;
1395
+ arguments?: string | undefined;
1396
+ };
1397
+ export type UpdatePromptMessagesPromptsToolCalls = {
1011
1398
  /**
1012
- * Only supported on `chat` and `completion` models.
1399
+ * The ID of the tool call.
1013
1400
  */
1014
- topK?: number | undefined;
1401
+ id: string;
1015
1402
  /**
1016
- * Only supported on `chat` and `completion` models.
1403
+ * The type of the tool. Currently, only `function` is supported.
1017
1404
  */
1018
- topP?: number | undefined;
1405
+ type: UpdatePromptMessagesPromptsResponseType;
1406
+ function: UpdatePromptMessagesPromptsFunction;
1019
1407
  /**
1020
- * Only supported on `chat` and `completion` models.
1408
+ * Encrypted representation of the model internal reasoning state during function calling. Required by Gemini 3 models when continuing a conversation after a tool call.
1021
1409
  */
1022
- frequencyPenalty?: number | undefined;
1410
+ thoughtSignature?: string | undefined;
1411
+ };
1412
+ export type UpdatePromptMessagesPromptsAssistantMessage = {
1023
1413
  /**
1024
- * Only supported on `chat` and `completion` models.
1414
+ * The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
1025
1415
  */
1026
- presencePenalty?: number | undefined;
1416
+ content?: string | Array<(components.TextContentPartSchema & {
1417
+ type: "text";
1418
+ }) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema> | null | undefined;
1027
1419
  /**
1028
- * Only supported on `image` models.
1420
+ * The refusal message by the assistant.
1029
1421
  */
1030
- numImages?: number | undefined;
1422
+ refusal?: string | null | undefined;
1031
1423
  /**
1032
- * Best effort deterministic seed for the model. Currently only OpenAI models support these
1424
+ * The role of the messages author, in this case `assistant`.
1033
1425
  */
1034
- seed?: number | undefined;
1426
+ role: "assistant";
1035
1427
  /**
1036
- * Only supported on `image` models.
1428
+ * An optional name for the participant. Provides the model information to differentiate between participants of the same role.
1037
1429
  */
1038
- format?: UpdatePromptPromptsFormat | undefined;
1430
+ name?: string | undefined;
1039
1431
  /**
1040
- * Only supported on `image` models.
1432
+ * Data about a previous audio response from the model.
1041
1433
  */
1042
- dimensions?: string | undefined;
1434
+ audio?: UpdatePromptMessagesPromptsAudio | null | undefined;
1043
1435
  /**
1044
- * Only supported on `image` models.
1436
+ * The tool calls generated by the model, such as function calls.
1045
1437
  */
1046
- quality?: string | undefined;
1438
+ toolCalls?: Array<UpdatePromptMessagesPromptsToolCalls> | undefined;
1439
+ };
1440
+ /**
1441
+ * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
1442
+ */
1443
+ export declare const UpdatePrompt2PromptsResponse200ApplicationJSONResponseBodyPromptType: {
1444
+ readonly Ephemeral: "ephemeral";
1445
+ };
1446
+ /**
1447
+ * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
1448
+ */
1449
+ export type UpdatePrompt2PromptsResponse200ApplicationJSONResponseBodyPromptType = ClosedEnum<typeof UpdatePrompt2PromptsResponse200ApplicationJSONResponseBodyPromptType>;
1450
+ /**
1451
+ * The time-to-live for the cache control breakpoint. This may be one of the following values:
1452
+ *
1453
+ * @remarks
1454
+ *
1455
+ * - `5m`: 5 minutes
1456
+ * - `1h`: 1 hour
1457
+ *
1458
+ * Defaults to `5m`. Only supported by `Anthropic` Claude models.
1459
+ */
1460
+ export declare const UpdatePrompt2PromptsTtl: {
1461
+ readonly Fivem: "5m";
1462
+ readonly Oneh: "1h";
1463
+ };
1464
+ /**
1465
+ * The time-to-live for the cache control breakpoint. This may be one of the following values:
1466
+ *
1467
+ * @remarks
1468
+ *
1469
+ * - `5m`: 5 minutes
1470
+ * - `1h`: 1 hour
1471
+ *
1472
+ * Defaults to `5m`. Only supported by `Anthropic` Claude models.
1473
+ */
1474
+ export type UpdatePrompt2PromptsTtl = ClosedEnum<typeof UpdatePrompt2PromptsTtl>;
1475
+ export type UpdatePrompt2PromptsCacheControl = {
1047
1476
  /**
1048
- * Only supported on `image` models.
1477
+ * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
1049
1478
  */
1050
- style?: string | undefined;
1479
+ type: UpdatePrompt2PromptsResponse200ApplicationJSONResponseBodyPromptType;
1051
1480
  /**
1052
- * An object specifying the format that the model must output.
1481
+ * The time-to-live for the cache control breakpoint. This may be one of the following values:
1053
1482
  *
1054
1483
  * @remarks
1055
1484
  *
1056
- * Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema
1057
- *
1058
- * Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
1485
+ * - `5m`: 5 minutes
1486
+ * - `1h`: 1 hour
1059
1487
  *
1060
- * Important: when using JSON mode, you must also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if finish_reason="length", which indicates the generation exceeded max_tokens or the conversation exceeded the max context length.
1061
- */
1062
- responseFormat?: UpdatePromptResponseFormatPrompts1 | UpdatePromptResponseFormatPrompts2 | UpdatePromptResponseFormatPrompts3 | UpdatePromptResponseFormatPrompts4 | UpdatePromptResponseFormat5 | UpdatePromptResponseFormat6 | null | undefined;
1063
- /**
1064
- * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
1488
+ * Defaults to `5m`. Only supported by `Anthropic` Claude models.
1065
1489
  */
1066
- photoRealVersion?: UpdatePromptPromptsPhotoRealVersion | undefined;
1490
+ ttl?: UpdatePrompt2PromptsTtl | undefined;
1491
+ };
1492
+ export type UpdatePrompt2Prompts4 = {
1067
1493
  /**
1068
- * The format to return the embeddings
1494
+ * The type of the content part. Always `file`.
1069
1495
  */
1070
- encodingFormat?: UpdatePromptPromptsEncodingFormat | undefined;
1496
+ type: "file";
1497
+ cacheControl?: UpdatePrompt2PromptsCacheControl | undefined;
1071
1498
  /**
1072
- * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
1499
+ * File data for the content part. Must contain either file_data or uri, but not both.
1073
1500
  */
1074
- reasoningEffort?: UpdatePromptPromptsReasoningEffort | undefined;
1501
+ file: components.FileContentPartSchema;
1502
+ };
1503
+ export type UpdatePromptContentPromptsResponse2002 = (components.TextContentPartSchema & {
1504
+ type: "text";
1505
+ }) | components.ImageContentPartSchema | components.AudioContentPartSchema | UpdatePrompt2Prompts4;
1506
+ /**
1507
+ * The contents of the user message.
1508
+ */
1509
+ export type UpdatePromptMessagesPromptsResponse200Content = string | Array<(components.TextContentPartSchema & {
1510
+ type: "text";
1511
+ }) | components.ImageContentPartSchema | components.AudioContentPartSchema | UpdatePrompt2Prompts4>;
1512
+ export type UpdatePromptMessagesPromptsUserMessage = {
1075
1513
  /**
1076
- * Gives the model enhanced reasoning capabilities for complex tasks. A value of 0 disables thinking. The minimum budget tokens for thinking are 1024. The Budget Tokens should never exceed the Max Tokens parameter. Only supported by `Anthropic`
1514
+ * The role of the messages author, in this case `user`.
1077
1515
  */
1078
- budgetTokens?: number | undefined;
1516
+ role: "user";
1079
1517
  /**
1080
- * Controls the verbosity of the model output.
1518
+ * An optional name for the participant. Provides the model information to differentiate between participants of the same role.
1081
1519
  */
1082
- verbosity?: UpdatePromptPromptsVerbosity | undefined;
1520
+ name?: string | undefined;
1083
1521
  /**
1084
- * The level of thinking to use for the model. Only supported by `Google AI`
1522
+ * The contents of the user message.
1085
1523
  */
1086
- thinkingLevel?: UpdatePromptPromptsThinkingLevel | undefined;
1087
- };
1088
- export declare const UpdatePromptProvider: {
1089
- readonly Openai: "openai";
1090
- readonly Groq: "groq";
1091
- readonly Cohere: "cohere";
1092
- readonly Azure: "azure";
1093
- readonly Aws: "aws";
1094
- readonly Google: "google";
1095
- readonly GoogleAi: "google-ai";
1096
- readonly Huggingface: "huggingface";
1097
- readonly Togetherai: "togetherai";
1098
- readonly Perplexity: "perplexity";
1099
- readonly Anthropic: "anthropic";
1100
- readonly Leonardoai: "leonardoai";
1101
- readonly Fal: "fal";
1102
- readonly Nvidia: "nvidia";
1103
- readonly Jina: "jina";
1104
- readonly Elevenlabs: "elevenlabs";
1105
- readonly Litellm: "litellm";
1106
- readonly Cerebras: "cerebras";
1107
- readonly Openailike: "openailike";
1108
- readonly Bytedance: "bytedance";
1109
- readonly Mistral: "mistral";
1110
- readonly Deepseek: "deepseek";
1111
- readonly Contextualai: "contextualai";
1112
- readonly Moonshotai: "moonshotai";
1113
- readonly Zai: "zai";
1114
- readonly Slack: "slack";
1524
+ content: string | Array<(components.TextContentPartSchema & {
1525
+ type: "text";
1526
+ }) | components.ImageContentPartSchema | components.AudioContentPartSchema | UpdatePrompt2Prompts4>;
1115
1527
  };
1116
- export type UpdatePromptProvider = ClosedEnum<typeof UpdatePromptProvider>;
1117
1528
  /**
1118
- * The role of the prompt message
1529
+ * The contents of the system message.
1119
1530
  */
1120
- export declare const UpdatePromptPromptsRole: {
1121
- readonly System: "system";
1122
- readonly Assistant: "assistant";
1123
- readonly User: "user";
1124
- readonly Exception: "exception";
1125
- readonly Tool: "tool";
1126
- readonly Prompt: "prompt";
1127
- readonly Correction: "correction";
1128
- readonly ExpectedOutput: "expected_output";
1531
+ export type UpdatePromptMessagesPromptsResponseContent = string | Array<components.TextContentPartSchema>;
1532
+ /**
1533
+ * Developer-provided instructions that the model should follow, regardless of messages sent by the user.
1534
+ */
1535
+ export type UpdatePromptMessagesPromptsSystemMessage = {
1536
+ /**
1537
+ * The role of the messages author, in this case `system`.
1538
+ */
1539
+ role: "system";
1540
+ /**
1541
+ * The contents of the system message.
1542
+ */
1543
+ content: string | Array<components.TextContentPartSchema>;
1544
+ /**
1545
+ * An optional name for the participant. Provides the model information to differentiate between participants of the same role.
1546
+ */
1547
+ name?: string | undefined;
1129
1548
  };
1549
+ export type UpdatePromptPromptsResponseMessages = UpdatePromptMessagesPromptsSystemMessage | UpdatePromptMessagesPromptsUserMessage | UpdatePromptMessagesPromptsAssistantMessage | UpdatePromptMessagesPromptsToolMessage;
1130
1550
  /**
1131
- * The role of the prompt message
1551
+ * Prompt configuration with model and messages. Use this instead of prompt_config.
1132
1552
  */
1133
- export type UpdatePromptPromptsRole = ClosedEnum<typeof UpdatePromptPromptsRole>;
1134
- export type UpdatePrompt2PromptsFile = {
1553
+ export type UpdatePromptPromptField = {
1554
+ /**
1555
+ * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
1556
+ */
1557
+ audio?: UpdatePromptPromptsAudio | null | undefined;
1558
+ /**
1559
+ * Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim.
1560
+ */
1561
+ frequencyPenalty?: number | null | undefined;
1562
+ /**
1563
+ * `[Deprecated]`. The maximum number of tokens that can be generated in the chat completion. This value can be used to control costs for text generated via API.
1564
+ *
1565
+ * @remarks
1566
+ *
1567
+ * This value is now `deprecated` in favor of `max_completion_tokens`, and is not compatible with o1 series models.
1568
+ */
1569
+ maxTokens?: number | null | undefined;
1570
+ /**
1571
+ * An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens
1572
+ */
1573
+ maxCompletionTokens?: number | null | undefined;
1574
+ /**
1575
+ * Whether to return log probabilities of the output tokens or not. If true, returns the log probabilities of each output token returned in the content of message.
1576
+ */
1577
+ logprobs?: boolean | null | undefined;
1135
1578
  /**
1136
- * The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
1579
+ * An integer between 0 and 20 specifying the number of most likely tokens to return at each token position, each with an associated log probability. logprobs must be set to true if this parameter is used.
1137
1580
  */
1138
- fileData?: string | undefined;
1581
+ topLogprobs?: number | null | undefined;
1139
1582
  /**
1140
- * URL to the file. Only supported by Anthropic Claude models for PDF files.
1583
+ * How many chat completion choices to generate for each input message. Note that you will be charged based on the number of generated tokens across all of the choices. Keep n as 1 to minimize costs.
1141
1584
  */
1142
- uri?: string | undefined;
1585
+ n?: number | null | undefined;
1143
1586
  /**
1144
- * MIME type of the file (e.g., application/pdf, image/png)
1587
+ * Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics.
1145
1588
  */
1146
- mimeType?: string | undefined;
1589
+ presencePenalty?: number | null | undefined;
1147
1590
  /**
1148
- * The name of the file, used when passing the file to the model as a string.
1591
+ * An object specifying the format that the model must output
1149
1592
  */
1150
- filename?: string | undefined;
1151
- };
1152
- export type UpdatePrompt2Prompts3 = {
1593
+ responseFormat?: UpdatePromptResponseFormatPromptsText | UpdatePromptResponseFormatPromptsJSONObject | UpdatePromptResponseFormatPromptsResponse200JSONSchema | undefined;
1153
1594
  /**
1154
- * The type of the content part. Always `file`.
1595
+ * Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
1596
+ *
1597
+ * @remarks
1598
+ *
1599
+ * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool calls are supported for all reasoning values in gpt-5.1.
1600
+ * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
1601
+ * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
1602
+ * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
1603
+ *
1604
+ * Any of "none", "minimal", "low", "medium", "high", "xhigh".
1155
1605
  */
1156
- type: "file";
1157
- file: UpdatePrompt2PromptsFile;
1158
- };
1159
- export type UpdatePrompt2PromptsImageUrl = {
1606
+ reasoningEffort?: UpdatePromptPromptsReasoningEffort | undefined;
1160
1607
  /**
1161
- * The orq.ai id of the image
1608
+ * Adjusts response verbosity. Lower levels yield shorter answers.
1162
1609
  */
1163
- id?: string | undefined;
1610
+ verbosity?: string | undefined;
1164
1611
  /**
1165
- * Either a URL of the image or the base64 encoded data URI.
1612
+ * If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same seed and parameters should return the same result.
1166
1613
  */
1167
- url: string;
1614
+ seed?: number | null | undefined;
1168
1615
  /**
1169
- * Specifies the detail level of the image. Currently only supported with OpenAI models
1616
+ * Up to 4 sequences where the API will stop generating further tokens.
1170
1617
  */
1171
- detail?: string | undefined;
1172
- };
1173
- /**
1174
- * The image part of the prompt message. Only supported with vision models.
1175
- */
1176
- export type UpdatePrompt2Prompts2 = {
1177
- type: "image_url";
1178
- imageUrl: UpdatePrompt2PromptsImageUrl;
1179
- };
1180
- /**
1181
- * Text content part of a prompt message
1182
- */
1183
- export type UpdatePrompt2Prompts1 = {
1184
- type: "text";
1185
- text: string;
1186
- };
1187
- export type UpdatePromptContentPromptsResponse2 = UpdatePrompt2Prompts1 | UpdatePrompt2Prompts2 | UpdatePrompt2Prompts3;
1188
- /**
1189
- * The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts. Can be null for tool messages in certain scenarios.
1190
- */
1191
- export type UpdatePromptPromptsContent = string | Array<UpdatePrompt2Prompts1 | UpdatePrompt2Prompts2 | UpdatePrompt2Prompts3>;
1192
- export declare const UpdatePromptPromptsResponseType: {
1193
- readonly Function: "function";
1194
- };
1195
- export type UpdatePromptPromptsResponseType = ClosedEnum<typeof UpdatePromptPromptsResponseType>;
1196
- export type UpdatePromptPromptsFunction = {
1197
- name: string;
1618
+ stop?: string | Array<string> | null | undefined;
1198
1619
  /**
1199
- * JSON string arguments for the functions
1620
+ * Options for streaming response. Only set this when you set stream: true.
1200
1621
  */
1201
- arguments: string;
1202
- };
1203
- export type UpdatePromptPromptsToolCalls = {
1204
- id?: string | undefined;
1205
- index?: number | undefined;
1206
- type: UpdatePromptPromptsResponseType;
1207
- function: UpdatePromptPromptsFunction;
1208
- };
1209
- export type UpdatePromptPromptsResponseMessages = {
1622
+ streamOptions?: UpdatePromptPromptsStreamOptions | null | undefined;
1623
+ thinking?: components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema | undefined;
1210
1624
  /**
1211
- * The role of the prompt message
1625
+ * What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
1212
1626
  */
1213
- role: UpdatePromptPromptsRole;
1627
+ temperature?: number | null | undefined;
1214
1628
  /**
1215
- * The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts. Can be null for tool messages in certain scenarios.
1629
+ * An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass.
1216
1630
  */
1217
- content: string | Array<UpdatePrompt2Prompts1 | UpdatePrompt2Prompts2 | UpdatePrompt2Prompts3> | null;
1218
- toolCalls?: Array<UpdatePromptPromptsToolCalls> | undefined;
1219
- toolCallId?: string | null | undefined;
1220
- };
1221
- /**
1222
- * A list of messages compatible with the openAI schema
1223
- */
1224
- export type UpdatePromptPromptConfig = {
1225
- stream?: boolean | undefined;
1226
- model?: string | undefined;
1631
+ topP?: number | null | undefined;
1227
1632
  /**
1228
- * The id of the resource
1633
+ * Limits the model to consider only the top k most likely tokens at each step.
1229
1634
  */
1230
- modelDbId?: string | null | undefined;
1635
+ topK?: number | null | undefined;
1231
1636
  /**
1232
- * The modality of the model
1637
+ * Controls which (if any) tool is called by the model.
1233
1638
  */
1234
- modelType?: UpdatePromptModelType | null | undefined;
1639
+ toolChoice?: UpdatePromptToolChoicePrompts2 | UpdatePromptToolChoicePrompts1 | undefined;
1235
1640
  /**
1236
- * Model Parameters: Not all parameters apply to every model
1641
+ * Whether to enable parallel function calling during tool use.
1237
1642
  */
1238
- modelParameters?: UpdatePromptPromptsModelParameters | undefined;
1239
- provider?: UpdatePromptProvider | undefined;
1643
+ parallelToolCalls?: boolean | undefined;
1240
1644
  /**
1241
- * The ID of the integration to use
1645
+ * Output types that you would like the model to generate. Most models are capable of generating text, which is the default: ["text"]. The gpt-4o-audio-preview model can also be used to generate audio. To request that this model generate both text and audio responses, you can use: ["text", "audio"].
1242
1646
  */
1243
- integrationId?: string | null | undefined;
1647
+ modalities?: Array<UpdatePromptPromptsModalities> | null | undefined;
1648
+ /**
1649
+ * A list of guardrails to apply to the request.
1650
+ */
1651
+ guardrails?: Array<UpdatePromptPromptsGuardrails> | undefined;
1652
+ /**
1653
+ * Array of messages that make up the conversation. Each message has a role (system, user, assistant, or tool) and content.
1654
+ */
1655
+ messages?: Array<UpdatePromptMessagesPromptsSystemMessage | UpdatePromptMessagesPromptsUserMessage | UpdatePromptMessagesPromptsAssistantMessage | UpdatePromptMessagesPromptsToolMessage> | undefined;
1656
+ /**
1657
+ * Model ID used to generate the response, like `openai/gpt-4o` or `anthropic/claude-3-5-sonnet-20241022`. For private models, use format: `{workspaceKey}@{provider}/{model}`.
1658
+ */
1659
+ model?: string | null | undefined;
1244
1660
  version?: string | undefined;
1245
- messages: Array<UpdatePromptPromptsResponseMessages>;
1246
1661
  };
1247
1662
  export declare const UpdatePromptPromptsUseCases: {
1248
1663
  readonly AgentsSimulations: "Agents simulations";
@@ -1298,7 +1713,7 @@ export type UpdatePromptPromptsMetadata = {
1298
1713
  */
1299
1714
  export type UpdatePromptPrompt = {
1300
1715
  id: string;
1301
- type: UpdatePromptPromptsType;
1716
+ type: UpdatePromptType;
1302
1717
  owner: string;
1303
1718
  domainId: string;
1304
1719
  created: string;
@@ -1314,901 +1729,1184 @@ export type UpdatePromptPrompt = {
1314
1729
  */
1315
1730
  description?: string | null | undefined;
1316
1731
  /**
1317
- * A list of messages compatible with the openAI schema
1732
+ * [DEPRECATED] Use the `prompt` property instead. A list of messages compatible with the openAI schema.
1733
+ *
1734
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
1735
+ */
1736
+ promptConfig?: UpdatePromptPromptConfig | undefined;
1737
+ /**
1738
+ * Prompt configuration with model and messages. Use this instead of prompt_config.
1318
1739
  */
1319
- promptConfig: UpdatePromptPromptConfig;
1740
+ prompt: UpdatePromptPromptField;
1320
1741
  metadata?: UpdatePromptPromptsMetadata | undefined;
1321
1742
  };
1322
1743
  /** @internal */
1323
- export declare const UpdatePromptFormat$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptFormat>;
1744
+ export declare const UpdatePromptContentPromptsRequest2$inboundSchema: z.ZodType<UpdatePromptContentPromptsRequest2, z.ZodTypeDef, unknown>;
1745
+ /** @internal */
1746
+ export type UpdatePromptContentPromptsRequest2$Outbound = components.TextContentPartSchema$Outbound;
1747
+ /** @internal */
1748
+ export declare const UpdatePromptContentPromptsRequest2$outboundSchema: z.ZodType<UpdatePromptContentPromptsRequest2$Outbound, z.ZodTypeDef, UpdatePromptContentPromptsRequest2>;
1749
+ export declare function updatePromptContentPromptsRequest2ToJSON(updatePromptContentPromptsRequest2: UpdatePromptContentPromptsRequest2): string;
1750
+ export declare function updatePromptContentPromptsRequest2FromJSON(jsonString: string): SafeParseResult<UpdatePromptContentPromptsRequest2, SDKValidationError>;
1751
+ /** @internal */
1752
+ export declare const UpdatePromptMessagesPromptsRequestRequestBodyContent$inboundSchema: z.ZodType<UpdatePromptMessagesPromptsRequestRequestBodyContent, z.ZodTypeDef, unknown>;
1753
+ /** @internal */
1754
+ export type UpdatePromptMessagesPromptsRequestRequestBodyContent$Outbound = string | Array<components.TextContentPartSchema$Outbound>;
1755
+ /** @internal */
1756
+ export declare const UpdatePromptMessagesPromptsRequestRequestBodyContent$outboundSchema: z.ZodType<UpdatePromptMessagesPromptsRequestRequestBodyContent$Outbound, z.ZodTypeDef, UpdatePromptMessagesPromptsRequestRequestBodyContent>;
1757
+ export declare function updatePromptMessagesPromptsRequestRequestBodyContentToJSON(updatePromptMessagesPromptsRequestRequestBodyContent: UpdatePromptMessagesPromptsRequestRequestBodyContent): string;
1758
+ export declare function updatePromptMessagesPromptsRequestRequestBodyContentFromJSON(jsonString: string): SafeParseResult<UpdatePromptMessagesPromptsRequestRequestBodyContent, SDKValidationError>;
1759
+ /** @internal */
1760
+ export declare const UpdatePromptMessagesPromptsType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptMessagesPromptsType>;
1761
+ /** @internal */
1762
+ export declare const UpdatePromptMessagesPromptsType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptMessagesPromptsType>;
1763
+ /** @internal */
1764
+ export declare const UpdatePromptMessagesTtl$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptMessagesTtl>;
1765
+ /** @internal */
1766
+ export declare const UpdatePromptMessagesTtl$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptMessagesTtl>;
1767
+ /** @internal */
1768
+ export declare const UpdatePromptMessagesCacheControl$inboundSchema: z.ZodType<UpdatePromptMessagesCacheControl, z.ZodTypeDef, unknown>;
1769
+ /** @internal */
1770
+ export type UpdatePromptMessagesCacheControl$Outbound = {
1771
+ type: string;
1772
+ ttl: string;
1773
+ };
1774
+ /** @internal */
1775
+ export declare const UpdatePromptMessagesCacheControl$outboundSchema: z.ZodType<UpdatePromptMessagesCacheControl$Outbound, z.ZodTypeDef, UpdatePromptMessagesCacheControl>;
1776
+ export declare function updatePromptMessagesCacheControlToJSON(updatePromptMessagesCacheControl: UpdatePromptMessagesCacheControl): string;
1777
+ export declare function updatePromptMessagesCacheControlFromJSON(jsonString: string): SafeParseResult<UpdatePromptMessagesCacheControl, SDKValidationError>;
1778
+ /** @internal */
1779
+ export declare const UpdatePromptMessagesToolMessage$inboundSchema: z.ZodType<UpdatePromptMessagesToolMessage, z.ZodTypeDef, unknown>;
1780
+ /** @internal */
1781
+ export type UpdatePromptMessagesToolMessage$Outbound = {
1782
+ role: "tool";
1783
+ content: string | Array<components.TextContentPartSchema$Outbound>;
1784
+ tool_call_id: string | null;
1785
+ cache_control?: UpdatePromptMessagesCacheControl$Outbound | undefined;
1786
+ };
1787
+ /** @internal */
1788
+ export declare const UpdatePromptMessagesToolMessage$outboundSchema: z.ZodType<UpdatePromptMessagesToolMessage$Outbound, z.ZodTypeDef, UpdatePromptMessagesToolMessage>;
1789
+ export declare function updatePromptMessagesToolMessageToJSON(updatePromptMessagesToolMessage: UpdatePromptMessagesToolMessage): string;
1790
+ export declare function updatePromptMessagesToolMessageFromJSON(jsonString: string): SafeParseResult<UpdatePromptMessagesToolMessage, SDKValidationError>;
1791
+ /** @internal */
1792
+ export declare const UpdatePromptContentPrompts2$inboundSchema: z.ZodType<UpdatePromptContentPrompts2, z.ZodTypeDef, unknown>;
1793
+ /** @internal */
1794
+ export type UpdatePromptContentPrompts2$Outbound = (components.TextContentPartSchema$Outbound & {
1795
+ type: "text";
1796
+ }) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound;
1797
+ /** @internal */
1798
+ export declare const UpdatePromptContentPrompts2$outboundSchema: z.ZodType<UpdatePromptContentPrompts2$Outbound, z.ZodTypeDef, UpdatePromptContentPrompts2>;
1799
+ export declare function updatePromptContentPrompts2ToJSON(updatePromptContentPrompts2: UpdatePromptContentPrompts2): string;
1800
+ export declare function updatePromptContentPrompts2FromJSON(jsonString: string): SafeParseResult<UpdatePromptContentPrompts2, SDKValidationError>;
1801
+ /** @internal */
1802
+ export declare const UpdatePromptMessagesPromptsRequestContent$inboundSchema: z.ZodType<UpdatePromptMessagesPromptsRequestContent, z.ZodTypeDef, unknown>;
1803
+ /** @internal */
1804
+ export type UpdatePromptMessagesPromptsRequestContent$Outbound = string | Array<(components.TextContentPartSchema$Outbound & {
1805
+ type: "text";
1806
+ }) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound>;
1807
+ /** @internal */
1808
+ export declare const UpdatePromptMessagesPromptsRequestContent$outboundSchema: z.ZodType<UpdatePromptMessagesPromptsRequestContent$Outbound, z.ZodTypeDef, UpdatePromptMessagesPromptsRequestContent>;
1809
+ export declare function updatePromptMessagesPromptsRequestContentToJSON(updatePromptMessagesPromptsRequestContent: UpdatePromptMessagesPromptsRequestContent): string;
1810
+ export declare function updatePromptMessagesPromptsRequestContentFromJSON(jsonString: string): SafeParseResult<UpdatePromptMessagesPromptsRequestContent, SDKValidationError>;
1811
+ /** @internal */
1812
+ export declare const UpdatePromptMessagesAudio$inboundSchema: z.ZodType<UpdatePromptMessagesAudio, z.ZodTypeDef, unknown>;
1813
+ /** @internal */
1814
+ export type UpdatePromptMessagesAudio$Outbound = {
1815
+ id: string;
1816
+ };
1817
+ /** @internal */
1818
+ export declare const UpdatePromptMessagesAudio$outboundSchema: z.ZodType<UpdatePromptMessagesAudio$Outbound, z.ZodTypeDef, UpdatePromptMessagesAudio>;
1819
+ export declare function updatePromptMessagesAudioToJSON(updatePromptMessagesAudio: UpdatePromptMessagesAudio): string;
1820
+ export declare function updatePromptMessagesAudioFromJSON(jsonString: string): SafeParseResult<UpdatePromptMessagesAudio, SDKValidationError>;
1821
+ /** @internal */
1822
+ export declare const UpdatePromptMessagesType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptMessagesType>;
1823
+ /** @internal */
1824
+ export declare const UpdatePromptMessagesType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptMessagesType>;
1825
+ /** @internal */
1826
+ export declare const UpdatePromptMessagesFunction$inboundSchema: z.ZodType<UpdatePromptMessagesFunction, z.ZodTypeDef, unknown>;
1827
+ /** @internal */
1828
+ export type UpdatePromptMessagesFunction$Outbound = {
1829
+ name?: string | undefined;
1830
+ arguments?: string | undefined;
1831
+ };
1832
+ /** @internal */
1833
+ export declare const UpdatePromptMessagesFunction$outboundSchema: z.ZodType<UpdatePromptMessagesFunction$Outbound, z.ZodTypeDef, UpdatePromptMessagesFunction>;
1834
+ export declare function updatePromptMessagesFunctionToJSON(updatePromptMessagesFunction: UpdatePromptMessagesFunction): string;
1835
+ export declare function updatePromptMessagesFunctionFromJSON(jsonString: string): SafeParseResult<UpdatePromptMessagesFunction, SDKValidationError>;
1836
+ /** @internal */
1837
+ export declare const UpdatePromptMessagesToolCalls$inboundSchema: z.ZodType<UpdatePromptMessagesToolCalls, z.ZodTypeDef, unknown>;
1838
+ /** @internal */
1839
+ export type UpdatePromptMessagesToolCalls$Outbound = {
1840
+ id: string;
1841
+ type: string;
1842
+ function: UpdatePromptMessagesFunction$Outbound;
1843
+ thought_signature?: string | undefined;
1844
+ };
1845
+ /** @internal */
1846
+ export declare const UpdatePromptMessagesToolCalls$outboundSchema: z.ZodType<UpdatePromptMessagesToolCalls$Outbound, z.ZodTypeDef, UpdatePromptMessagesToolCalls>;
1847
+ export declare function updatePromptMessagesToolCallsToJSON(updatePromptMessagesToolCalls: UpdatePromptMessagesToolCalls): string;
1848
+ export declare function updatePromptMessagesToolCallsFromJSON(jsonString: string): SafeParseResult<UpdatePromptMessagesToolCalls, SDKValidationError>;
1849
+ /** @internal */
1850
+ export declare const UpdatePromptMessagesAssistantMessage$inboundSchema: z.ZodType<UpdatePromptMessagesAssistantMessage, z.ZodTypeDef, unknown>;
1851
+ /** @internal */
1852
+ export type UpdatePromptMessagesAssistantMessage$Outbound = {
1853
+ content?: string | Array<(components.TextContentPartSchema$Outbound & {
1854
+ type: "text";
1855
+ }) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound> | null | undefined;
1856
+ refusal?: string | null | undefined;
1857
+ role: "assistant";
1858
+ name?: string | undefined;
1859
+ audio?: UpdatePromptMessagesAudio$Outbound | null | undefined;
1860
+ tool_calls?: Array<UpdatePromptMessagesToolCalls$Outbound> | undefined;
1861
+ };
1862
+ /** @internal */
1863
+ export declare const UpdatePromptMessagesAssistantMessage$outboundSchema: z.ZodType<UpdatePromptMessagesAssistantMessage$Outbound, z.ZodTypeDef, UpdatePromptMessagesAssistantMessage>;
1864
+ export declare function updatePromptMessagesAssistantMessageToJSON(updatePromptMessagesAssistantMessage: UpdatePromptMessagesAssistantMessage): string;
1865
+ export declare function updatePromptMessagesAssistantMessageFromJSON(jsonString: string): SafeParseResult<UpdatePromptMessagesAssistantMessage, SDKValidationError>;
1866
+ /** @internal */
1867
+ export declare const UpdatePrompt2PromptsType$inboundSchema: z.ZodNativeEnum<typeof UpdatePrompt2PromptsType>;
1868
+ /** @internal */
1869
+ export declare const UpdatePrompt2PromptsType$outboundSchema: z.ZodNativeEnum<typeof UpdatePrompt2PromptsType>;
1870
+ /** @internal */
1871
+ export declare const UpdatePrompt2Ttl$inboundSchema: z.ZodNativeEnum<typeof UpdatePrompt2Ttl>;
1872
+ /** @internal */
1873
+ export declare const UpdatePrompt2Ttl$outboundSchema: z.ZodNativeEnum<typeof UpdatePrompt2Ttl>;
1874
+ /** @internal */
1875
+ export declare const UpdatePrompt2CacheControl$inboundSchema: z.ZodType<UpdatePrompt2CacheControl, z.ZodTypeDef, unknown>;
1876
+ /** @internal */
1877
+ export type UpdatePrompt2CacheControl$Outbound = {
1878
+ type: string;
1879
+ ttl: string;
1880
+ };
1881
+ /** @internal */
1882
+ export declare const UpdatePrompt2CacheControl$outboundSchema: z.ZodType<UpdatePrompt2CacheControl$Outbound, z.ZodTypeDef, UpdatePrompt2CacheControl>;
1883
+ export declare function updatePrompt2CacheControlToJSON(updatePrompt2CacheControl: UpdatePrompt2CacheControl): string;
1884
+ export declare function updatePrompt2CacheControlFromJSON(jsonString: string): SafeParseResult<UpdatePrompt2CacheControl, SDKValidationError>;
1885
+ /** @internal */
1886
+ export declare const UpdatePrompt24$inboundSchema: z.ZodType<UpdatePrompt24, z.ZodTypeDef, unknown>;
1887
+ /** @internal */
1888
+ export type UpdatePrompt24$Outbound = {
1889
+ type: "file";
1890
+ cache_control?: UpdatePrompt2CacheControl$Outbound | undefined;
1891
+ file: components.FileContentPartSchema$Outbound;
1892
+ };
1893
+ /** @internal */
1894
+ export declare const UpdatePrompt24$outboundSchema: z.ZodType<UpdatePrompt24$Outbound, z.ZodTypeDef, UpdatePrompt24>;
1895
+ export declare function updatePrompt24ToJSON(updatePrompt24: UpdatePrompt24): string;
1896
+ export declare function updatePrompt24FromJSON(jsonString: string): SafeParseResult<UpdatePrompt24, SDKValidationError>;
1897
+ /** @internal */
1898
+ export declare const UpdatePromptContent2$inboundSchema: z.ZodType<UpdatePromptContent2, z.ZodTypeDef, unknown>;
1899
+ /** @internal */
1900
+ export type UpdatePromptContent2$Outbound = (components.TextContentPartSchema$Outbound & {
1901
+ type: "text";
1902
+ }) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | UpdatePrompt24$Outbound;
1903
+ /** @internal */
1904
+ export declare const UpdatePromptContent2$outboundSchema: z.ZodType<UpdatePromptContent2$Outbound, z.ZodTypeDef, UpdatePromptContent2>;
1905
+ export declare function updatePromptContent2ToJSON(updatePromptContent2: UpdatePromptContent2): string;
1906
+ export declare function updatePromptContent2FromJSON(jsonString: string): SafeParseResult<UpdatePromptContent2, SDKValidationError>;
1907
+ /** @internal */
1908
+ export declare const UpdatePromptMessagesPromptsContent$inboundSchema: z.ZodType<UpdatePromptMessagesPromptsContent, z.ZodTypeDef, unknown>;
1909
+ /** @internal */
1910
+ export type UpdatePromptMessagesPromptsContent$Outbound = string | Array<(components.TextContentPartSchema$Outbound & {
1911
+ type: "text";
1912
+ }) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | UpdatePrompt24$Outbound>;
1913
+ /** @internal */
1914
+ export declare const UpdatePromptMessagesPromptsContent$outboundSchema: z.ZodType<UpdatePromptMessagesPromptsContent$Outbound, z.ZodTypeDef, UpdatePromptMessagesPromptsContent>;
1915
+ export declare function updatePromptMessagesPromptsContentToJSON(updatePromptMessagesPromptsContent: UpdatePromptMessagesPromptsContent): string;
1916
+ export declare function updatePromptMessagesPromptsContentFromJSON(jsonString: string): SafeParseResult<UpdatePromptMessagesPromptsContent, SDKValidationError>;
1917
+ /** @internal */
1918
+ export declare const UpdatePromptMessagesUserMessage$inboundSchema: z.ZodType<UpdatePromptMessagesUserMessage, z.ZodTypeDef, unknown>;
1919
+ /** @internal */
1920
+ export type UpdatePromptMessagesUserMessage$Outbound = {
1921
+ role: "user";
1922
+ name?: string | undefined;
1923
+ content: string | Array<(components.TextContentPartSchema$Outbound & {
1924
+ type: "text";
1925
+ }) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | UpdatePrompt24$Outbound>;
1926
+ };
1927
+ /** @internal */
1928
+ export declare const UpdatePromptMessagesUserMessage$outboundSchema: z.ZodType<UpdatePromptMessagesUserMessage$Outbound, z.ZodTypeDef, UpdatePromptMessagesUserMessage>;
1929
+ export declare function updatePromptMessagesUserMessageToJSON(updatePromptMessagesUserMessage: UpdatePromptMessagesUserMessage): string;
1930
+ export declare function updatePromptMessagesUserMessageFromJSON(jsonString: string): SafeParseResult<UpdatePromptMessagesUserMessage, SDKValidationError>;
1324
1931
  /** @internal */
1325
- export declare const UpdatePromptFormat$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptFormat>;
1932
+ export declare const UpdatePromptMessagesContent$inboundSchema: z.ZodType<UpdatePromptMessagesContent, z.ZodTypeDef, unknown>;
1326
1933
  /** @internal */
1327
- export declare const ResponseFormat6$inboundSchema: z.ZodNativeEnum<typeof ResponseFormat6>;
1934
+ export type UpdatePromptMessagesContent$Outbound = string | Array<components.TextContentPartSchema$Outbound>;
1328
1935
  /** @internal */
1329
- export declare const ResponseFormat6$outboundSchema: z.ZodNativeEnum<typeof ResponseFormat6>;
1936
+ export declare const UpdatePromptMessagesContent$outboundSchema: z.ZodType<UpdatePromptMessagesContent$Outbound, z.ZodTypeDef, UpdatePromptMessagesContent>;
1937
+ export declare function updatePromptMessagesContentToJSON(updatePromptMessagesContent: UpdatePromptMessagesContent): string;
1938
+ export declare function updatePromptMessagesContentFromJSON(jsonString: string): SafeParseResult<UpdatePromptMessagesContent, SDKValidationError>;
1330
1939
  /** @internal */
1331
- export declare const ResponseFormat5$inboundSchema: z.ZodNativeEnum<typeof ResponseFormat5>;
1940
+ export declare const UpdatePromptMessagesSystemMessage$inboundSchema: z.ZodType<UpdatePromptMessagesSystemMessage, z.ZodTypeDef, unknown>;
1332
1941
  /** @internal */
1333
- export declare const ResponseFormat5$outboundSchema: z.ZodNativeEnum<typeof ResponseFormat5>;
1942
+ export type UpdatePromptMessagesSystemMessage$Outbound = {
1943
+ role: "system";
1944
+ content: string | Array<components.TextContentPartSchema$Outbound>;
1945
+ name?: string | undefined;
1946
+ };
1334
1947
  /** @internal */
1335
- export declare const UpdatePromptResponseFormat4$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormat4>;
1948
+ export declare const UpdatePromptMessagesSystemMessage$outboundSchema: z.ZodType<UpdatePromptMessagesSystemMessage$Outbound, z.ZodTypeDef, UpdatePromptMessagesSystemMessage>;
1949
+ export declare function updatePromptMessagesSystemMessageToJSON(updatePromptMessagesSystemMessage: UpdatePromptMessagesSystemMessage): string;
1950
+ export declare function updatePromptMessagesSystemMessageFromJSON(jsonString: string): SafeParseResult<UpdatePromptMessagesSystemMessage, SDKValidationError>;
1336
1951
  /** @internal */
1337
- export declare const UpdatePromptResponseFormat4$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormat4>;
1952
+ export declare const UpdatePromptMessages$inboundSchema: z.ZodType<UpdatePromptMessages, z.ZodTypeDef, unknown>;
1338
1953
  /** @internal */
1339
- export declare const UpdatePromptResponseFormatPromptsRequestType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatPromptsRequestType>;
1954
+ export type UpdatePromptMessages$Outbound = UpdatePromptMessagesSystemMessage$Outbound | UpdatePromptMessagesUserMessage$Outbound | UpdatePromptMessagesAssistantMessage$Outbound | UpdatePromptMessagesToolMessage$Outbound;
1340
1955
  /** @internal */
1341
- export declare const UpdatePromptResponseFormatPromptsRequestType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatPromptsRequestType>;
1956
+ export declare const UpdatePromptMessages$outboundSchema: z.ZodType<UpdatePromptMessages$Outbound, z.ZodTypeDef, UpdatePromptMessages>;
1957
+ export declare function updatePromptMessagesToJSON(updatePromptMessages: UpdatePromptMessages): string;
1958
+ export declare function updatePromptMessagesFromJSON(jsonString: string): SafeParseResult<UpdatePromptMessages, SDKValidationError>;
1342
1959
  /** @internal */
1343
- export declare const UpdatePromptResponseFormat3$inboundSchema: z.ZodType<UpdatePromptResponseFormat3, z.ZodTypeDef, unknown>;
1960
+ export declare const UpdatePromptVoice$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptVoice>;
1344
1961
  /** @internal */
1345
- export type UpdatePromptResponseFormat3$Outbound = {
1346
- type: string;
1347
- };
1962
+ export declare const UpdatePromptVoice$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptVoice>;
1348
1963
  /** @internal */
1349
- export declare const UpdatePromptResponseFormat3$outboundSchema: z.ZodType<UpdatePromptResponseFormat3$Outbound, z.ZodTypeDef, UpdatePromptResponseFormat3>;
1350
- export declare function updatePromptResponseFormat3ToJSON(updatePromptResponseFormat3: UpdatePromptResponseFormat3): string;
1351
- export declare function updatePromptResponseFormat3FromJSON(jsonString: string): SafeParseResult<UpdatePromptResponseFormat3, SDKValidationError>;
1964
+ export declare const UpdatePromptFormat$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptFormat>;
1352
1965
  /** @internal */
1353
- export declare const UpdatePromptResponseFormatPromptsType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatPromptsType>;
1966
+ export declare const UpdatePromptFormat$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptFormat>;
1354
1967
  /** @internal */
1355
- export declare const UpdatePromptResponseFormatPromptsType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatPromptsType>;
1968
+ export declare const UpdatePromptAudio$inboundSchema: z.ZodType<UpdatePromptAudio, z.ZodTypeDef, unknown>;
1356
1969
  /** @internal */
1357
- export declare const UpdatePromptResponseFormat2$inboundSchema: z.ZodType<UpdatePromptResponseFormat2, z.ZodTypeDef, unknown>;
1970
+ export type UpdatePromptAudio$Outbound = {
1971
+ voice: string;
1972
+ format: string;
1973
+ };
1358
1974
  /** @internal */
1359
- export type UpdatePromptResponseFormat2$Outbound = {
1360
- type: string;
1975
+ export declare const UpdatePromptAudio$outboundSchema: z.ZodType<UpdatePromptAudio$Outbound, z.ZodTypeDef, UpdatePromptAudio>;
1976
+ export declare function updatePromptAudioToJSON(updatePromptAudio: UpdatePromptAudio): string;
1977
+ export declare function updatePromptAudioFromJSON(jsonString: string): SafeParseResult<UpdatePromptAudio, SDKValidationError>;
1978
+ /** @internal */
1979
+ export declare const UpdatePromptResponseFormatPromptsJsonSchema$inboundSchema: z.ZodType<UpdatePromptResponseFormatPromptsJsonSchema, z.ZodTypeDef, unknown>;
1980
+ /** @internal */
1981
+ export type UpdatePromptResponseFormatPromptsJsonSchema$Outbound = {
1982
+ description?: string | undefined;
1983
+ name: string;
1984
+ schema?: any | undefined;
1985
+ strict: boolean;
1361
1986
  };
1362
1987
  /** @internal */
1363
- export declare const UpdatePromptResponseFormat2$outboundSchema: z.ZodType<UpdatePromptResponseFormat2$Outbound, z.ZodTypeDef, UpdatePromptResponseFormat2>;
1364
- export declare function updatePromptResponseFormat2ToJSON(updatePromptResponseFormat2: UpdatePromptResponseFormat2): string;
1365
- export declare function updatePromptResponseFormat2FromJSON(jsonString: string): SafeParseResult<UpdatePromptResponseFormat2, SDKValidationError>;
1988
+ export declare const UpdatePromptResponseFormatPromptsJsonSchema$outboundSchema: z.ZodType<UpdatePromptResponseFormatPromptsJsonSchema$Outbound, z.ZodTypeDef, UpdatePromptResponseFormatPromptsJsonSchema>;
1989
+ export declare function updatePromptResponseFormatPromptsJsonSchemaToJSON(updatePromptResponseFormatPromptsJsonSchema: UpdatePromptResponseFormatPromptsJsonSchema): string;
1990
+ export declare function updatePromptResponseFormatPromptsJsonSchemaFromJSON(jsonString: string): SafeParseResult<UpdatePromptResponseFormatPromptsJsonSchema, SDKValidationError>;
1366
1991
  /** @internal */
1367
- export declare const UpdatePromptResponseFormatType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatType>;
1992
+ export declare const UpdatePromptResponseFormatJSONSchema$inboundSchema: z.ZodType<UpdatePromptResponseFormatJSONSchema, z.ZodTypeDef, unknown>;
1368
1993
  /** @internal */
1369
- export declare const UpdatePromptResponseFormatType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatType>;
1994
+ export type UpdatePromptResponseFormatJSONSchema$Outbound = {
1995
+ type: "json_schema";
1996
+ json_schema: UpdatePromptResponseFormatPromptsJsonSchema$Outbound;
1997
+ };
1370
1998
  /** @internal */
1371
- export declare const UpdatePromptResponseFormatJsonSchema$inboundSchema: z.ZodType<UpdatePromptResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
1999
+ export declare const UpdatePromptResponseFormatJSONSchema$outboundSchema: z.ZodType<UpdatePromptResponseFormatJSONSchema$Outbound, z.ZodTypeDef, UpdatePromptResponseFormatJSONSchema>;
2000
+ export declare function updatePromptResponseFormatJSONSchemaToJSON(updatePromptResponseFormatJSONSchema: UpdatePromptResponseFormatJSONSchema): string;
2001
+ export declare function updatePromptResponseFormatJSONSchemaFromJSON(jsonString: string): SafeParseResult<UpdatePromptResponseFormatJSONSchema, SDKValidationError>;
1372
2002
  /** @internal */
1373
- export type UpdatePromptResponseFormatJsonSchema$Outbound = {
1374
- name: string;
1375
- description?: string | undefined;
1376
- strict?: boolean | undefined;
1377
- schema: {
1378
- [k: string]: any;
1379
- };
2003
+ export declare const UpdatePromptResponseFormatJSONObject$inboundSchema: z.ZodType<UpdatePromptResponseFormatJSONObject, z.ZodTypeDef, unknown>;
2004
+ /** @internal */
2005
+ export type UpdatePromptResponseFormatJSONObject$Outbound = {
2006
+ type: "json_object";
1380
2007
  };
1381
2008
  /** @internal */
1382
- export declare const UpdatePromptResponseFormatJsonSchema$outboundSchema: z.ZodType<UpdatePromptResponseFormatJsonSchema$Outbound, z.ZodTypeDef, UpdatePromptResponseFormatJsonSchema>;
1383
- export declare function updatePromptResponseFormatJsonSchemaToJSON(updatePromptResponseFormatJsonSchema: UpdatePromptResponseFormatJsonSchema): string;
1384
- export declare function updatePromptResponseFormatJsonSchemaFromJSON(jsonString: string): SafeParseResult<UpdatePromptResponseFormatJsonSchema, SDKValidationError>;
2009
+ export declare const UpdatePromptResponseFormatJSONObject$outboundSchema: z.ZodType<UpdatePromptResponseFormatJSONObject$Outbound, z.ZodTypeDef, UpdatePromptResponseFormatJSONObject>;
2010
+ export declare function updatePromptResponseFormatJSONObjectToJSON(updatePromptResponseFormatJSONObject: UpdatePromptResponseFormatJSONObject): string;
2011
+ export declare function updatePromptResponseFormatJSONObjectFromJSON(jsonString: string): SafeParseResult<UpdatePromptResponseFormatJSONObject, SDKValidationError>;
1385
2012
  /** @internal */
1386
- export declare const UpdatePromptResponseFormat1$inboundSchema: z.ZodType<UpdatePromptResponseFormat1, z.ZodTypeDef, unknown>;
2013
+ export declare const UpdatePromptResponseFormatText$inboundSchema: z.ZodType<UpdatePromptResponseFormatText, z.ZodTypeDef, unknown>;
1387
2014
  /** @internal */
1388
- export type UpdatePromptResponseFormat1$Outbound = {
1389
- type: string;
1390
- display_name?: string | undefined;
1391
- json_schema: UpdatePromptResponseFormatJsonSchema$Outbound;
2015
+ export type UpdatePromptResponseFormatText$Outbound = {
2016
+ type: "text";
1392
2017
  };
1393
2018
  /** @internal */
1394
- export declare const UpdatePromptResponseFormat1$outboundSchema: z.ZodType<UpdatePromptResponseFormat1$Outbound, z.ZodTypeDef, UpdatePromptResponseFormat1>;
1395
- export declare function updatePromptResponseFormat1ToJSON(updatePromptResponseFormat1: UpdatePromptResponseFormat1): string;
1396
- export declare function updatePromptResponseFormat1FromJSON(jsonString: string): SafeParseResult<UpdatePromptResponseFormat1, SDKValidationError>;
2019
+ export declare const UpdatePromptResponseFormatText$outboundSchema: z.ZodType<UpdatePromptResponseFormatText$Outbound, z.ZodTypeDef, UpdatePromptResponseFormatText>;
2020
+ export declare function updatePromptResponseFormatTextToJSON(updatePromptResponseFormatText: UpdatePromptResponseFormatText): string;
2021
+ export declare function updatePromptResponseFormatTextFromJSON(jsonString: string): SafeParseResult<UpdatePromptResponseFormatText, SDKValidationError>;
1397
2022
  /** @internal */
1398
2023
  export declare const UpdatePromptResponseFormat$inboundSchema: z.ZodType<UpdatePromptResponseFormat, z.ZodTypeDef, unknown>;
1399
2024
  /** @internal */
1400
- export type UpdatePromptResponseFormat$Outbound = UpdatePromptResponseFormat1$Outbound | UpdatePromptResponseFormat2$Outbound | UpdatePromptResponseFormat3$Outbound | string | string | string;
2025
+ export type UpdatePromptResponseFormat$Outbound = UpdatePromptResponseFormatText$Outbound | UpdatePromptResponseFormatJSONObject$Outbound | UpdatePromptResponseFormatJSONSchema$Outbound;
1401
2026
  /** @internal */
1402
2027
  export declare const UpdatePromptResponseFormat$outboundSchema: z.ZodType<UpdatePromptResponseFormat$Outbound, z.ZodTypeDef, UpdatePromptResponseFormat>;
1403
2028
  export declare function updatePromptResponseFormatToJSON(updatePromptResponseFormat: UpdatePromptResponseFormat): string;
1404
2029
  export declare function updatePromptResponseFormatFromJSON(jsonString: string): SafeParseResult<UpdatePromptResponseFormat, SDKValidationError>;
1405
2030
  /** @internal */
1406
- export declare const UpdatePromptPhotoRealVersion$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptPhotoRealVersion>;
2031
+ export declare const UpdatePromptReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptReasoningEffort>;
1407
2032
  /** @internal */
1408
- export declare const UpdatePromptPhotoRealVersion$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptPhotoRealVersion>;
2033
+ export declare const UpdatePromptReasoningEffort$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptReasoningEffort>;
1409
2034
  /** @internal */
1410
- export declare const UpdatePromptEncodingFormat$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptEncodingFormat>;
2035
+ export declare const UpdatePromptStop$inboundSchema: z.ZodType<UpdatePromptStop, z.ZodTypeDef, unknown>;
1411
2036
  /** @internal */
1412
- export declare const UpdatePromptEncodingFormat$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptEncodingFormat>;
2037
+ export type UpdatePromptStop$Outbound = string | Array<string>;
1413
2038
  /** @internal */
1414
- export declare const UpdatePromptReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptReasoningEffort>;
2039
+ export declare const UpdatePromptStop$outboundSchema: z.ZodType<UpdatePromptStop$Outbound, z.ZodTypeDef, UpdatePromptStop>;
2040
+ export declare function updatePromptStopToJSON(updatePromptStop: UpdatePromptStop): string;
2041
+ export declare function updatePromptStopFromJSON(jsonString: string): SafeParseResult<UpdatePromptStop, SDKValidationError>;
1415
2042
  /** @internal */
1416
- export declare const UpdatePromptReasoningEffort$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptReasoningEffort>;
2043
+ export declare const UpdatePromptStreamOptions$inboundSchema: z.ZodType<UpdatePromptStreamOptions, z.ZodTypeDef, unknown>;
1417
2044
  /** @internal */
1418
- export declare const UpdatePromptVerbosity$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptVerbosity>;
2045
+ export type UpdatePromptStreamOptions$Outbound = {
2046
+ include_usage?: boolean | undefined;
2047
+ };
1419
2048
  /** @internal */
1420
- export declare const UpdatePromptVerbosity$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptVerbosity>;
2049
+ export declare const UpdatePromptStreamOptions$outboundSchema: z.ZodType<UpdatePromptStreamOptions$Outbound, z.ZodTypeDef, UpdatePromptStreamOptions>;
2050
+ export declare function updatePromptStreamOptionsToJSON(updatePromptStreamOptions: UpdatePromptStreamOptions): string;
2051
+ export declare function updatePromptStreamOptionsFromJSON(jsonString: string): SafeParseResult<UpdatePromptStreamOptions, SDKValidationError>;
1421
2052
  /** @internal */
1422
- export declare const UpdatePromptThinkingLevel$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptThinkingLevel>;
2053
+ export declare const UpdatePromptThinking$inboundSchema: z.ZodType<UpdatePromptThinking, z.ZodTypeDef, unknown>;
1423
2054
  /** @internal */
1424
- export declare const UpdatePromptThinkingLevel$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptThinkingLevel>;
2055
+ export type UpdatePromptThinking$Outbound = components.ThinkingConfigDisabledSchema$Outbound | components.ThinkingConfigEnabledSchema$Outbound;
1425
2056
  /** @internal */
1426
- export declare const UpdatePromptModelParameters$inboundSchema: z.ZodType<UpdatePromptModelParameters, z.ZodTypeDef, unknown>;
2057
+ export declare const UpdatePromptThinking$outboundSchema: z.ZodType<UpdatePromptThinking$Outbound, z.ZodTypeDef, UpdatePromptThinking>;
2058
+ export declare function updatePromptThinkingToJSON(updatePromptThinking: UpdatePromptThinking): string;
2059
+ export declare function updatePromptThinkingFromJSON(jsonString: string): SafeParseResult<UpdatePromptThinking, SDKValidationError>;
1427
2060
  /** @internal */
1428
- export type UpdatePromptModelParameters$Outbound = {
1429
- temperature?: number | undefined;
1430
- maxTokens?: number | undefined;
1431
- topK?: number | undefined;
1432
- topP?: number | undefined;
1433
- frequencyPenalty?: number | undefined;
1434
- presencePenalty?: number | undefined;
1435
- numImages?: number | undefined;
1436
- seed?: number | undefined;
1437
- format?: string | undefined;
1438
- dimensions?: string | undefined;
1439
- quality?: string | undefined;
1440
- style?: string | undefined;
1441
- responseFormat?: UpdatePromptResponseFormat1$Outbound | UpdatePromptResponseFormat2$Outbound | UpdatePromptResponseFormat3$Outbound | string | string | string | null | undefined;
1442
- photoRealVersion?: string | undefined;
1443
- encoding_format?: string | undefined;
1444
- reasoningEffort?: string | undefined;
1445
- budgetTokens?: number | undefined;
1446
- verbosity?: string | undefined;
1447
- thinkingLevel?: string | undefined;
2061
+ export declare const UpdatePromptToolChoiceType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptToolChoiceType>;
2062
+ /** @internal */
2063
+ export declare const UpdatePromptToolChoiceType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptToolChoiceType>;
2064
+ /** @internal */
2065
+ export declare const UpdatePromptToolChoiceFunction$inboundSchema: z.ZodType<UpdatePromptToolChoiceFunction, z.ZodTypeDef, unknown>;
2066
+ /** @internal */
2067
+ export type UpdatePromptToolChoiceFunction$Outbound = {
2068
+ name: string;
1448
2069
  };
1449
2070
  /** @internal */
1450
- export declare const UpdatePromptModelParameters$outboundSchema: z.ZodType<UpdatePromptModelParameters$Outbound, z.ZodTypeDef, UpdatePromptModelParameters>;
1451
- export declare function updatePromptModelParametersToJSON(updatePromptModelParameters: UpdatePromptModelParameters): string;
1452
- export declare function updatePromptModelParametersFromJSON(jsonString: string): SafeParseResult<UpdatePromptModelParameters, SDKValidationError>;
2071
+ export declare const UpdatePromptToolChoiceFunction$outboundSchema: z.ZodType<UpdatePromptToolChoiceFunction$Outbound, z.ZodTypeDef, UpdatePromptToolChoiceFunction>;
2072
+ export declare function updatePromptToolChoiceFunctionToJSON(updatePromptToolChoiceFunction: UpdatePromptToolChoiceFunction): string;
2073
+ export declare function updatePromptToolChoiceFunctionFromJSON(jsonString: string): SafeParseResult<UpdatePromptToolChoiceFunction, SDKValidationError>;
1453
2074
  /** @internal */
1454
- export declare const Provider$inboundSchema: z.ZodNativeEnum<typeof Provider>;
2075
+ export declare const UpdatePromptToolChoice2$inboundSchema: z.ZodType<UpdatePromptToolChoice2, z.ZodTypeDef, unknown>;
1455
2076
  /** @internal */
1456
- export declare const Provider$outboundSchema: z.ZodNativeEnum<typeof Provider>;
2077
+ export type UpdatePromptToolChoice2$Outbound = {
2078
+ type?: string | undefined;
2079
+ function: UpdatePromptToolChoiceFunction$Outbound;
2080
+ };
1457
2081
  /** @internal */
1458
- export declare const UpdatePromptRole$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptRole>;
2082
+ export declare const UpdatePromptToolChoice2$outboundSchema: z.ZodType<UpdatePromptToolChoice2$Outbound, z.ZodTypeDef, UpdatePromptToolChoice2>;
2083
+ export declare function updatePromptToolChoice2ToJSON(updatePromptToolChoice2: UpdatePromptToolChoice2): string;
2084
+ export declare function updatePromptToolChoice2FromJSON(jsonString: string): SafeParseResult<UpdatePromptToolChoice2, SDKValidationError>;
1459
2085
  /** @internal */
1460
- export declare const UpdatePromptRole$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptRole>;
2086
+ export declare const UpdatePromptToolChoice1$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptToolChoice1>;
1461
2087
  /** @internal */
1462
- export declare const UpdatePrompt2File$inboundSchema: z.ZodType<UpdatePrompt2File, z.ZodTypeDef, unknown>;
2088
+ export declare const UpdatePromptToolChoice1$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptToolChoice1>;
1463
2089
  /** @internal */
1464
- export type UpdatePrompt2File$Outbound = {
1465
- file_data?: string | undefined;
1466
- uri?: string | undefined;
1467
- mimeType?: string | undefined;
1468
- filename?: string | undefined;
1469
- };
2090
+ export declare const UpdatePromptToolChoice$inboundSchema: z.ZodType<UpdatePromptToolChoice, z.ZodTypeDef, unknown>;
1470
2091
  /** @internal */
1471
- export declare const UpdatePrompt2File$outboundSchema: z.ZodType<UpdatePrompt2File$Outbound, z.ZodTypeDef, UpdatePrompt2File>;
1472
- export declare function updatePrompt2FileToJSON(updatePrompt2File: UpdatePrompt2File): string;
1473
- export declare function updatePrompt2FileFromJSON(jsonString: string): SafeParseResult<UpdatePrompt2File, SDKValidationError>;
2092
+ export type UpdatePromptToolChoice$Outbound = UpdatePromptToolChoice2$Outbound | string;
1474
2093
  /** @internal */
1475
- export declare const UpdatePrompt23$inboundSchema: z.ZodType<UpdatePrompt23, z.ZodTypeDef, unknown>;
2094
+ export declare const UpdatePromptToolChoice$outboundSchema: z.ZodType<UpdatePromptToolChoice$Outbound, z.ZodTypeDef, UpdatePromptToolChoice>;
2095
+ export declare function updatePromptToolChoiceToJSON(updatePromptToolChoice: UpdatePromptToolChoice): string;
2096
+ export declare function updatePromptToolChoiceFromJSON(jsonString: string): SafeParseResult<UpdatePromptToolChoice, SDKValidationError>;
1476
2097
  /** @internal */
1477
- export type UpdatePrompt23$Outbound = {
1478
- type: "file";
1479
- file: UpdatePrompt2File$Outbound;
1480
- };
2098
+ export declare const UpdatePromptModalities$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptModalities>;
1481
2099
  /** @internal */
1482
- export declare const UpdatePrompt23$outboundSchema: z.ZodType<UpdatePrompt23$Outbound, z.ZodTypeDef, UpdatePrompt23>;
1483
- export declare function updatePrompt23ToJSON(updatePrompt23: UpdatePrompt23): string;
1484
- export declare function updatePrompt23FromJSON(jsonString: string): SafeParseResult<UpdatePrompt23, SDKValidationError>;
2100
+ export declare const UpdatePromptModalities$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptModalities>;
1485
2101
  /** @internal */
1486
- export declare const UpdatePrompt2ImageUrl$inboundSchema: z.ZodType<UpdatePrompt2ImageUrl, z.ZodTypeDef, unknown>;
2102
+ export declare const UpdatePromptId1$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptId1>;
1487
2103
  /** @internal */
1488
- export type UpdatePrompt2ImageUrl$Outbound = {
1489
- url: string;
1490
- detail?: string | undefined;
1491
- };
2104
+ export declare const UpdatePromptId1$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptId1>;
1492
2105
  /** @internal */
1493
- export declare const UpdatePrompt2ImageUrl$outboundSchema: z.ZodType<UpdatePrompt2ImageUrl$Outbound, z.ZodTypeDef, UpdatePrompt2ImageUrl>;
1494
- export declare function updatePrompt2ImageUrlToJSON(updatePrompt2ImageUrl: UpdatePrompt2ImageUrl): string;
1495
- export declare function updatePrompt2ImageUrlFromJSON(jsonString: string): SafeParseResult<UpdatePrompt2ImageUrl, SDKValidationError>;
2106
+ export declare const UpdatePromptId$inboundSchema: z.ZodType<UpdatePromptId, z.ZodTypeDef, unknown>;
1496
2107
  /** @internal */
1497
- export declare const UpdatePrompt22$inboundSchema: z.ZodType<UpdatePrompt22, z.ZodTypeDef, unknown>;
2108
+ export type UpdatePromptId$Outbound = string | string;
1498
2109
  /** @internal */
1499
- export type UpdatePrompt22$Outbound = {
1500
- type: "image_url";
1501
- image_url: UpdatePrompt2ImageUrl$Outbound;
1502
- };
2110
+ export declare const UpdatePromptId$outboundSchema: z.ZodType<UpdatePromptId$Outbound, z.ZodTypeDef, UpdatePromptId>;
2111
+ export declare function updatePromptIdToJSON(updatePromptId: UpdatePromptId): string;
2112
+ export declare function updatePromptIdFromJSON(jsonString: string): SafeParseResult<UpdatePromptId, SDKValidationError>;
1503
2113
  /** @internal */
1504
- export declare const UpdatePrompt22$outboundSchema: z.ZodType<UpdatePrompt22$Outbound, z.ZodTypeDef, UpdatePrompt22>;
1505
- export declare function updatePrompt22ToJSON(updatePrompt22: UpdatePrompt22): string;
1506
- export declare function updatePrompt22FromJSON(jsonString: string): SafeParseResult<UpdatePrompt22, SDKValidationError>;
2114
+ export declare const UpdatePromptExecuteOn$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptExecuteOn>;
1507
2115
  /** @internal */
1508
- export declare const UpdatePrompt21$inboundSchema: z.ZodType<UpdatePrompt21, z.ZodTypeDef, unknown>;
2116
+ export declare const UpdatePromptExecuteOn$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptExecuteOn>;
1509
2117
  /** @internal */
1510
- export type UpdatePrompt21$Outbound = {
1511
- type: "text";
1512
- text: string;
1513
- };
2118
+ export declare const UpdatePromptGuardrails$inboundSchema: z.ZodType<UpdatePromptGuardrails, z.ZodTypeDef, unknown>;
1514
2119
  /** @internal */
1515
- export declare const UpdatePrompt21$outboundSchema: z.ZodType<UpdatePrompt21$Outbound, z.ZodTypeDef, UpdatePrompt21>;
1516
- export declare function updatePrompt21ToJSON(updatePrompt21: UpdatePrompt21): string;
1517
- export declare function updatePrompt21FromJSON(jsonString: string): SafeParseResult<UpdatePrompt21, SDKValidationError>;
2120
+ export type UpdatePromptGuardrails$Outbound = {
2121
+ id: string | string;
2122
+ execute_on: string;
2123
+ };
1518
2124
  /** @internal */
1519
- export declare const UpdatePromptContent2$inboundSchema: z.ZodType<UpdatePromptContent2, z.ZodTypeDef, unknown>;
2125
+ export declare const UpdatePromptGuardrails$outboundSchema: z.ZodType<UpdatePromptGuardrails$Outbound, z.ZodTypeDef, UpdatePromptGuardrails>;
2126
+ export declare function updatePromptGuardrailsToJSON(updatePromptGuardrails: UpdatePromptGuardrails): string;
2127
+ export declare function updatePromptGuardrailsFromJSON(jsonString: string): SafeParseResult<UpdatePromptGuardrails, SDKValidationError>;
1520
2128
  /** @internal */
1521
- export type UpdatePromptContent2$Outbound = UpdatePrompt21$Outbound | UpdatePrompt22$Outbound | UpdatePrompt23$Outbound;
2129
+ export declare const UpdatePromptPromptInput$inboundSchema: z.ZodType<UpdatePromptPromptInput, z.ZodTypeDef, unknown>;
1522
2130
  /** @internal */
1523
- export declare const UpdatePromptContent2$outboundSchema: z.ZodType<UpdatePromptContent2$Outbound, z.ZodTypeDef, UpdatePromptContent2>;
1524
- export declare function updatePromptContent2ToJSON(updatePromptContent2: UpdatePromptContent2): string;
1525
- export declare function updatePromptContent2FromJSON(jsonString: string): SafeParseResult<UpdatePromptContent2, SDKValidationError>;
2131
+ export type UpdatePromptPromptInput$Outbound = {
2132
+ messages?: Array<UpdatePromptMessagesSystemMessage$Outbound | UpdatePromptMessagesUserMessage$Outbound | UpdatePromptMessagesAssistantMessage$Outbound | UpdatePromptMessagesToolMessage$Outbound> | undefined;
2133
+ model?: string | null | undefined;
2134
+ audio?: UpdatePromptAudio$Outbound | null | undefined;
2135
+ frequency_penalty?: number | null | undefined;
2136
+ max_tokens?: number | null | undefined;
2137
+ max_completion_tokens?: number | null | undefined;
2138
+ logprobs?: boolean | null | undefined;
2139
+ top_logprobs?: number | null | undefined;
2140
+ n?: number | null | undefined;
2141
+ presence_penalty?: number | null | undefined;
2142
+ response_format?: UpdatePromptResponseFormatText$Outbound | UpdatePromptResponseFormatJSONObject$Outbound | UpdatePromptResponseFormatJSONSchema$Outbound | undefined;
2143
+ reasoning_effort?: string | undefined;
2144
+ verbosity?: string | undefined;
2145
+ seed?: number | null | undefined;
2146
+ stop?: string | Array<string> | null | undefined;
2147
+ stream_options?: UpdatePromptStreamOptions$Outbound | null | undefined;
2148
+ thinking?: components.ThinkingConfigDisabledSchema$Outbound | components.ThinkingConfigEnabledSchema$Outbound | undefined;
2149
+ temperature?: number | null | undefined;
2150
+ top_p?: number | null | undefined;
2151
+ top_k?: number | null | undefined;
2152
+ tool_choice?: UpdatePromptToolChoice2$Outbound | string | undefined;
2153
+ parallel_tool_calls?: boolean | undefined;
2154
+ modalities?: Array<string> | null | undefined;
2155
+ guardrails?: Array<UpdatePromptGuardrails$Outbound> | undefined;
2156
+ };
1526
2157
  /** @internal */
1527
- export declare const UpdatePromptContent$inboundSchema: z.ZodType<UpdatePromptContent, z.ZodTypeDef, unknown>;
2158
+ export declare const UpdatePromptPromptInput$outboundSchema: z.ZodType<UpdatePromptPromptInput$Outbound, z.ZodTypeDef, UpdatePromptPromptInput>;
2159
+ export declare function updatePromptPromptInputToJSON(updatePromptPromptInput: UpdatePromptPromptInput): string;
2160
+ export declare function updatePromptPromptInputFromJSON(jsonString: string): SafeParseResult<UpdatePromptPromptInput, SDKValidationError>;
1528
2161
  /** @internal */
1529
- export type UpdatePromptContent$Outbound = string | Array<UpdatePrompt21$Outbound | UpdatePrompt22$Outbound | UpdatePrompt23$Outbound>;
2162
+ export declare const UpdatePromptUseCases$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptUseCases>;
1530
2163
  /** @internal */
1531
- export declare const UpdatePromptContent$outboundSchema: z.ZodType<UpdatePromptContent$Outbound, z.ZodTypeDef, UpdatePromptContent>;
1532
- export declare function updatePromptContentToJSON(updatePromptContent: UpdatePromptContent): string;
1533
- export declare function updatePromptContentFromJSON(jsonString: string): SafeParseResult<UpdatePromptContent, SDKValidationError>;
2164
+ export declare const UpdatePromptUseCases$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptUseCases>;
1534
2165
  /** @internal */
1535
- export declare const UpdatePromptType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptType>;
2166
+ export declare const UpdatePromptLanguage$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptLanguage>;
1536
2167
  /** @internal */
1537
- export declare const UpdatePromptType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptType>;
2168
+ export declare const UpdatePromptLanguage$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptLanguage>;
1538
2169
  /** @internal */
1539
- export declare const UpdatePromptFunction$inboundSchema: z.ZodType<UpdatePromptFunction, z.ZodTypeDef, unknown>;
2170
+ export declare const UpdatePromptMetadata$inboundSchema: z.ZodType<UpdatePromptMetadata, z.ZodTypeDef, unknown>;
1540
2171
  /** @internal */
1541
- export type UpdatePromptFunction$Outbound = {
1542
- name: string;
1543
- arguments: string;
2172
+ export type UpdatePromptMetadata$Outbound = {
2173
+ use_cases?: Array<string> | undefined;
2174
+ language?: string | null | undefined;
1544
2175
  };
1545
2176
  /** @internal */
1546
- export declare const UpdatePromptFunction$outboundSchema: z.ZodType<UpdatePromptFunction$Outbound, z.ZodTypeDef, UpdatePromptFunction>;
1547
- export declare function updatePromptFunctionToJSON(updatePromptFunction: UpdatePromptFunction): string;
1548
- export declare function updatePromptFunctionFromJSON(jsonString: string): SafeParseResult<UpdatePromptFunction, SDKValidationError>;
2177
+ export declare const UpdatePromptMetadata$outboundSchema: z.ZodType<UpdatePromptMetadata$Outbound, z.ZodTypeDef, UpdatePromptMetadata>;
2178
+ export declare function updatePromptMetadataToJSON(updatePromptMetadata: UpdatePromptMetadata): string;
2179
+ export declare function updatePromptMetadataFromJSON(jsonString: string): SafeParseResult<UpdatePromptMetadata, SDKValidationError>;
1549
2180
  /** @internal */
1550
- export declare const UpdatePromptToolCalls$inboundSchema: z.ZodType<UpdatePromptToolCalls, z.ZodTypeDef, unknown>;
2181
+ export declare const UpdatePromptRequestBody$inboundSchema: z.ZodType<UpdatePromptRequestBody, z.ZodTypeDef, unknown>;
1551
2182
  /** @internal */
1552
- export type UpdatePromptToolCalls$Outbound = {
1553
- id?: string | undefined;
1554
- index?: number | undefined;
1555
- type: string;
1556
- function: UpdatePromptFunction$Outbound;
2183
+ export type UpdatePromptRequestBody$Outbound = {
2184
+ owner?: string | undefined;
2185
+ domain_id?: string | undefined;
2186
+ created?: string | undefined;
2187
+ updated?: string | undefined;
2188
+ created_by_id?: string | null | undefined;
2189
+ updated_by_id?: string | null | undefined;
2190
+ display_name?: string | undefined;
2191
+ description?: string | null | undefined;
2192
+ prompt?: UpdatePromptPromptInput$Outbound | undefined;
2193
+ metadata?: UpdatePromptMetadata$Outbound | undefined;
2194
+ path?: string | undefined;
1557
2195
  };
1558
2196
  /** @internal */
1559
- export declare const UpdatePromptToolCalls$outboundSchema: z.ZodType<UpdatePromptToolCalls$Outbound, z.ZodTypeDef, UpdatePromptToolCalls>;
1560
- export declare function updatePromptToolCallsToJSON(updatePromptToolCalls: UpdatePromptToolCalls): string;
1561
- export declare function updatePromptToolCallsFromJSON(jsonString: string): SafeParseResult<UpdatePromptToolCalls, SDKValidationError>;
2197
+ export declare const UpdatePromptRequestBody$outboundSchema: z.ZodType<UpdatePromptRequestBody$Outbound, z.ZodTypeDef, UpdatePromptRequestBody>;
2198
+ export declare function updatePromptRequestBodyToJSON(updatePromptRequestBody: UpdatePromptRequestBody): string;
2199
+ export declare function updatePromptRequestBodyFromJSON(jsonString: string): SafeParseResult<UpdatePromptRequestBody, SDKValidationError>;
1562
2200
  /** @internal */
1563
- export declare const UpdatePromptMessages$inboundSchema: z.ZodType<UpdatePromptMessages, z.ZodTypeDef, unknown>;
2201
+ export declare const UpdatePromptRequest$inboundSchema: z.ZodType<UpdatePromptRequest, z.ZodTypeDef, unknown>;
1564
2202
  /** @internal */
1565
- export type UpdatePromptMessages$Outbound = {
1566
- role: string;
1567
- content: string | Array<UpdatePrompt21$Outbound | UpdatePrompt22$Outbound | UpdatePrompt23$Outbound> | null;
1568
- tool_calls?: Array<UpdatePromptToolCalls$Outbound> | undefined;
1569
- tool_call_id?: string | null | undefined;
2203
+ export type UpdatePromptRequest$Outbound = {
2204
+ id: string;
2205
+ RequestBody?: UpdatePromptRequestBody$Outbound | undefined;
1570
2206
  };
1571
2207
  /** @internal */
1572
- export declare const UpdatePromptMessages$outboundSchema: z.ZodType<UpdatePromptMessages$Outbound, z.ZodTypeDef, UpdatePromptMessages>;
1573
- export declare function updatePromptMessagesToJSON(updatePromptMessages: UpdatePromptMessages): string;
1574
- export declare function updatePromptMessagesFromJSON(jsonString: string): SafeParseResult<UpdatePromptMessages, SDKValidationError>;
2208
+ export declare const UpdatePromptRequest$outboundSchema: z.ZodType<UpdatePromptRequest$Outbound, z.ZodTypeDef, UpdatePromptRequest>;
2209
+ export declare function updatePromptRequestToJSON(updatePromptRequest: UpdatePromptRequest): string;
2210
+ export declare function updatePromptRequestFromJSON(jsonString: string): SafeParseResult<UpdatePromptRequest, SDKValidationError>;
2211
+ /** @internal */
2212
+ export declare const UpdatePromptType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptType>;
2213
+ /** @internal */
2214
+ export declare const UpdatePromptType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptType>;
2215
+ /** @internal */
2216
+ export declare const UpdatePromptModelType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptModelType>;
2217
+ /** @internal */
2218
+ export declare const UpdatePromptModelType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptModelType>;
2219
+ /** @internal */
2220
+ export declare const UpdatePromptPromptsFormat$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsFormat>;
1575
2221
  /** @internal */
1576
- export declare const ModelType$inboundSchema: z.ZodNativeEnum<typeof ModelType>;
2222
+ export declare const UpdatePromptPromptsFormat$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsFormat>;
1577
2223
  /** @internal */
1578
- export declare const ModelType$outboundSchema: z.ZodNativeEnum<typeof ModelType>;
2224
+ export declare const UpdatePromptResponseFormat6$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormat6>;
1579
2225
  /** @internal */
1580
- export declare const PromptConfig$inboundSchema: z.ZodType<PromptConfig, z.ZodTypeDef, unknown>;
2226
+ export declare const UpdatePromptResponseFormat6$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormat6>;
1581
2227
  /** @internal */
1582
- export type PromptConfig$Outbound = {
1583
- stream?: boolean | undefined;
1584
- model?: string | undefined;
1585
- model_parameters?: UpdatePromptModelParameters$Outbound | undefined;
1586
- provider?: string | undefined;
1587
- integration_id?: string | null | undefined;
1588
- version?: string | undefined;
1589
- messages: Array<UpdatePromptMessages$Outbound>;
1590
- model_db_id?: string | null | undefined;
1591
- model_type?: string | null | undefined;
1592
- is_private: boolean;
1593
- };
2228
+ export declare const UpdatePromptResponseFormat5$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormat5>;
1594
2229
  /** @internal */
1595
- export declare const PromptConfig$outboundSchema: z.ZodType<PromptConfig$Outbound, z.ZodTypeDef, PromptConfig>;
1596
- export declare function promptConfigToJSON(promptConfig: PromptConfig): string;
1597
- export declare function promptConfigFromJSON(jsonString: string): SafeParseResult<PromptConfig, SDKValidationError>;
2230
+ export declare const UpdatePromptResponseFormat5$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormat5>;
1598
2231
  /** @internal */
1599
- export declare const UpdatePromptUseCases$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptUseCases>;
2232
+ export declare const UpdatePromptResponseFormat4$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormat4>;
1600
2233
  /** @internal */
1601
- export declare const UpdatePromptUseCases$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptUseCases>;
2234
+ export declare const UpdatePromptResponseFormat4$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormat4>;
1602
2235
  /** @internal */
1603
- export declare const UpdatePromptLanguage$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptLanguage>;
2236
+ export declare const UpdatePromptResponseFormatPromptsResponse200ApplicationJSONResponseBodyPromptConfigModelParametersType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatPromptsResponse200ApplicationJSONResponseBodyPromptConfigModelParametersType>;
1604
2237
  /** @internal */
1605
- export declare const UpdatePromptLanguage$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptLanguage>;
2238
+ export declare const UpdatePromptResponseFormatPromptsResponse200ApplicationJSONResponseBodyPromptConfigModelParametersType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatPromptsResponse200ApplicationJSONResponseBodyPromptConfigModelParametersType>;
1606
2239
  /** @internal */
1607
- export declare const UpdatePromptMetadata$inboundSchema: z.ZodType<UpdatePromptMetadata, z.ZodTypeDef, unknown>;
2240
+ export declare const UpdatePromptResponseFormat3$inboundSchema: z.ZodType<UpdatePromptResponseFormat3, z.ZodTypeDef, unknown>;
1608
2241
  /** @internal */
1609
- export type UpdatePromptMetadata$Outbound = {
1610
- use_cases?: Array<string> | undefined;
1611
- language?: string | null | undefined;
2242
+ export type UpdatePromptResponseFormat3$Outbound = {
2243
+ type: string;
1612
2244
  };
1613
2245
  /** @internal */
1614
- export declare const UpdatePromptMetadata$outboundSchema: z.ZodType<UpdatePromptMetadata$Outbound, z.ZodTypeDef, UpdatePromptMetadata>;
1615
- export declare function updatePromptMetadataToJSON(updatePromptMetadata: UpdatePromptMetadata): string;
1616
- export declare function updatePromptMetadataFromJSON(jsonString: string): SafeParseResult<UpdatePromptMetadata, SDKValidationError>;
2246
+ export declare const UpdatePromptResponseFormat3$outboundSchema: z.ZodType<UpdatePromptResponseFormat3$Outbound, z.ZodTypeDef, UpdatePromptResponseFormat3>;
2247
+ export declare function updatePromptResponseFormat3ToJSON(updatePromptResponseFormat3: UpdatePromptResponseFormat3): string;
2248
+ export declare function updatePromptResponseFormat3FromJSON(jsonString: string): SafeParseResult<UpdatePromptResponseFormat3, SDKValidationError>;
1617
2249
  /** @internal */
1618
- export declare const UpdatePromptContentPromptsRequestRequestBody2$inboundSchema: z.ZodType<UpdatePromptContentPromptsRequestRequestBody2, z.ZodTypeDef, unknown>;
2250
+ export declare const UpdatePromptResponseFormatPromptsResponse200ApplicationJSONResponseBodyPromptConfigType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatPromptsResponse200ApplicationJSONResponseBodyPromptConfigType>;
1619
2251
  /** @internal */
1620
- export type UpdatePromptContentPromptsRequestRequestBody2$Outbound = components.TextContentPartSchema$Outbound;
2252
+ export declare const UpdatePromptResponseFormatPromptsResponse200ApplicationJSONResponseBodyPromptConfigType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatPromptsResponse200ApplicationJSONResponseBodyPromptConfigType>;
1621
2253
  /** @internal */
1622
- export declare const UpdatePromptContentPromptsRequestRequestBody2$outboundSchema: z.ZodType<UpdatePromptContentPromptsRequestRequestBody2$Outbound, z.ZodTypeDef, UpdatePromptContentPromptsRequestRequestBody2>;
1623
- export declare function updatePromptContentPromptsRequestRequestBody2ToJSON(updatePromptContentPromptsRequestRequestBody2: UpdatePromptContentPromptsRequestRequestBody2): string;
1624
- export declare function updatePromptContentPromptsRequestRequestBody2FromJSON(jsonString: string): SafeParseResult<UpdatePromptContentPromptsRequestRequestBody2, SDKValidationError>;
2254
+ export declare const UpdatePromptResponseFormat2$inboundSchema: z.ZodType<UpdatePromptResponseFormat2, z.ZodTypeDef, unknown>;
1625
2255
  /** @internal */
1626
- export declare const UpdatePromptMessagesPromptsRequestRequestBodyContent$inboundSchema: z.ZodType<UpdatePromptMessagesPromptsRequestRequestBodyContent, z.ZodTypeDef, unknown>;
2256
+ export type UpdatePromptResponseFormat2$Outbound = {
2257
+ type: string;
2258
+ };
1627
2259
  /** @internal */
1628
- export type UpdatePromptMessagesPromptsRequestRequestBodyContent$Outbound = string | Array<components.TextContentPartSchema$Outbound>;
2260
+ export declare const UpdatePromptResponseFormat2$outboundSchema: z.ZodType<UpdatePromptResponseFormat2$Outbound, z.ZodTypeDef, UpdatePromptResponseFormat2>;
2261
+ export declare function updatePromptResponseFormat2ToJSON(updatePromptResponseFormat2: UpdatePromptResponseFormat2): string;
2262
+ export declare function updatePromptResponseFormat2FromJSON(jsonString: string): SafeParseResult<UpdatePromptResponseFormat2, SDKValidationError>;
1629
2263
  /** @internal */
1630
- export declare const UpdatePromptMessagesPromptsRequestRequestBodyContent$outboundSchema: z.ZodType<UpdatePromptMessagesPromptsRequestRequestBodyContent$Outbound, z.ZodTypeDef, UpdatePromptMessagesPromptsRequestRequestBodyContent>;
1631
- export declare function updatePromptMessagesPromptsRequestRequestBodyContentToJSON(updatePromptMessagesPromptsRequestRequestBodyContent: UpdatePromptMessagesPromptsRequestRequestBodyContent): string;
1632
- export declare function updatePromptMessagesPromptsRequestRequestBodyContentFromJSON(jsonString: string): SafeParseResult<UpdatePromptMessagesPromptsRequestRequestBodyContent, SDKValidationError>;
2264
+ export declare const UpdatePromptResponseFormatPromptsResponse200ApplicationJSONResponseBodyType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatPromptsResponse200ApplicationJSONResponseBodyType>;
1633
2265
  /** @internal */
1634
- export declare const UpdatePromptMessagesPromptsType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptMessagesPromptsType>;
2266
+ export declare const UpdatePromptResponseFormatPromptsResponse200ApplicationJSONResponseBodyType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatPromptsResponse200ApplicationJSONResponseBodyType>;
1635
2267
  /** @internal */
1636
- export declare const UpdatePromptMessagesPromptsType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptMessagesPromptsType>;
2268
+ export declare const UpdatePromptResponseFormatPromptsResponse200ApplicationJSONJSONSchema$inboundSchema: z.ZodType<UpdatePromptResponseFormatPromptsResponse200ApplicationJSONJSONSchema, z.ZodTypeDef, unknown>;
1637
2269
  /** @internal */
1638
- export declare const UpdatePromptMessagesTtl$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptMessagesTtl>;
2270
+ export type UpdatePromptResponseFormatPromptsResponse200ApplicationJSONJSONSchema$Outbound = {
2271
+ name: string;
2272
+ description?: string | undefined;
2273
+ strict?: boolean | undefined;
2274
+ schema: {
2275
+ [k: string]: any;
2276
+ };
2277
+ };
1639
2278
  /** @internal */
1640
- export declare const UpdatePromptMessagesTtl$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptMessagesTtl>;
2279
+ export declare const UpdatePromptResponseFormatPromptsResponse200ApplicationJSONJSONSchema$outboundSchema: z.ZodType<UpdatePromptResponseFormatPromptsResponse200ApplicationJSONJSONSchema$Outbound, z.ZodTypeDef, UpdatePromptResponseFormatPromptsResponse200ApplicationJSONJSONSchema>;
2280
+ export declare function updatePromptResponseFormatPromptsResponse200ApplicationJSONJSONSchemaToJSON(updatePromptResponseFormatPromptsResponse200ApplicationJSONJSONSchema: UpdatePromptResponseFormatPromptsResponse200ApplicationJSONJSONSchema): string;
2281
+ export declare function updatePromptResponseFormatPromptsResponse200ApplicationJSONJSONSchemaFromJSON(jsonString: string): SafeParseResult<UpdatePromptResponseFormatPromptsResponse200ApplicationJSONJSONSchema, SDKValidationError>;
1641
2282
  /** @internal */
1642
- export declare const UpdatePromptMessagesCacheControl$inboundSchema: z.ZodType<UpdatePromptMessagesCacheControl, z.ZodTypeDef, unknown>;
2283
+ export declare const UpdatePromptResponseFormat1$inboundSchema: z.ZodType<UpdatePromptResponseFormat1, z.ZodTypeDef, unknown>;
1643
2284
  /** @internal */
1644
- export type UpdatePromptMessagesCacheControl$Outbound = {
2285
+ export type UpdatePromptResponseFormat1$Outbound = {
1645
2286
  type: string;
1646
- ttl: string;
2287
+ display_name?: string | undefined;
2288
+ json_schema: UpdatePromptResponseFormatPromptsResponse200ApplicationJSONJSONSchema$Outbound;
1647
2289
  };
1648
2290
  /** @internal */
1649
- export declare const UpdatePromptMessagesCacheControl$outboundSchema: z.ZodType<UpdatePromptMessagesCacheControl$Outbound, z.ZodTypeDef, UpdatePromptMessagesCacheControl>;
1650
- export declare function updatePromptMessagesCacheControlToJSON(updatePromptMessagesCacheControl: UpdatePromptMessagesCacheControl): string;
1651
- export declare function updatePromptMessagesCacheControlFromJSON(jsonString: string): SafeParseResult<UpdatePromptMessagesCacheControl, SDKValidationError>;
1652
- /** @internal */
1653
- export declare const UpdatePromptMessagesToolMessage$inboundSchema: z.ZodType<UpdatePromptMessagesToolMessage, z.ZodTypeDef, unknown>;
2291
+ export declare const UpdatePromptResponseFormat1$outboundSchema: z.ZodType<UpdatePromptResponseFormat1$Outbound, z.ZodTypeDef, UpdatePromptResponseFormat1>;
2292
+ export declare function updatePromptResponseFormat1ToJSON(updatePromptResponseFormat1: UpdatePromptResponseFormat1): string;
2293
+ export declare function updatePromptResponseFormat1FromJSON(jsonString: string): SafeParseResult<UpdatePromptResponseFormat1, SDKValidationError>;
1654
2294
  /** @internal */
1655
- export type UpdatePromptMessagesToolMessage$Outbound = {
1656
- role: "tool";
1657
- content: string | Array<components.TextContentPartSchema$Outbound>;
1658
- tool_call_id: string | null;
1659
- cache_control?: UpdatePromptMessagesCacheControl$Outbound | undefined;
1660
- };
2295
+ export declare const UpdatePromptPromptsResponseResponseFormat$inboundSchema: z.ZodType<UpdatePromptPromptsResponseResponseFormat, z.ZodTypeDef, unknown>;
1661
2296
  /** @internal */
1662
- export declare const UpdatePromptMessagesToolMessage$outboundSchema: z.ZodType<UpdatePromptMessagesToolMessage$Outbound, z.ZodTypeDef, UpdatePromptMessagesToolMessage>;
1663
- export declare function updatePromptMessagesToolMessageToJSON(updatePromptMessagesToolMessage: UpdatePromptMessagesToolMessage): string;
1664
- export declare function updatePromptMessagesToolMessageFromJSON(jsonString: string): SafeParseResult<UpdatePromptMessagesToolMessage, SDKValidationError>;
2297
+ export type UpdatePromptPromptsResponseResponseFormat$Outbound = UpdatePromptResponseFormat1$Outbound | UpdatePromptResponseFormat2$Outbound | UpdatePromptResponseFormat3$Outbound | string | string | string;
1665
2298
  /** @internal */
1666
- export declare const UpdatePromptContentPromptsRequest2$inboundSchema: z.ZodType<UpdatePromptContentPromptsRequest2, z.ZodTypeDef, unknown>;
2299
+ export declare const UpdatePromptPromptsResponseResponseFormat$outboundSchema: z.ZodType<UpdatePromptPromptsResponseResponseFormat$Outbound, z.ZodTypeDef, UpdatePromptPromptsResponseResponseFormat>;
2300
+ export declare function updatePromptPromptsResponseResponseFormatToJSON(updatePromptPromptsResponseResponseFormat: UpdatePromptPromptsResponseResponseFormat): string;
2301
+ export declare function updatePromptPromptsResponseResponseFormatFromJSON(jsonString: string): SafeParseResult<UpdatePromptPromptsResponseResponseFormat, SDKValidationError>;
1667
2302
  /** @internal */
1668
- export type UpdatePromptContentPromptsRequest2$Outbound = (components.TextContentPartSchema$Outbound & {
1669
- type: "text";
1670
- }) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound;
2303
+ export declare const UpdatePromptPhotoRealVersion$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptPhotoRealVersion>;
1671
2304
  /** @internal */
1672
- export declare const UpdatePromptContentPromptsRequest2$outboundSchema: z.ZodType<UpdatePromptContentPromptsRequest2$Outbound, z.ZodTypeDef, UpdatePromptContentPromptsRequest2>;
1673
- export declare function updatePromptContentPromptsRequest2ToJSON(updatePromptContentPromptsRequest2: UpdatePromptContentPromptsRequest2): string;
1674
- export declare function updatePromptContentPromptsRequest2FromJSON(jsonString: string): SafeParseResult<UpdatePromptContentPromptsRequest2, SDKValidationError>;
2305
+ export declare const UpdatePromptPhotoRealVersion$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptPhotoRealVersion>;
1675
2306
  /** @internal */
1676
- export declare const UpdatePromptMessagesPromptsRequestContent$inboundSchema: z.ZodType<UpdatePromptMessagesPromptsRequestContent, z.ZodTypeDef, unknown>;
2307
+ export declare const UpdatePromptEncodingFormat$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptEncodingFormat>;
1677
2308
  /** @internal */
1678
- export type UpdatePromptMessagesPromptsRequestContent$Outbound = string | Array<(components.TextContentPartSchema$Outbound & {
1679
- type: "text";
1680
- }) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound>;
2309
+ export declare const UpdatePromptEncodingFormat$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptEncodingFormat>;
1681
2310
  /** @internal */
1682
- export declare const UpdatePromptMessagesPromptsRequestContent$outboundSchema: z.ZodType<UpdatePromptMessagesPromptsRequestContent$Outbound, z.ZodTypeDef, UpdatePromptMessagesPromptsRequestContent>;
1683
- export declare function updatePromptMessagesPromptsRequestContentToJSON(updatePromptMessagesPromptsRequestContent: UpdatePromptMessagesPromptsRequestContent): string;
1684
- export declare function updatePromptMessagesPromptsRequestContentFromJSON(jsonString: string): SafeParseResult<UpdatePromptMessagesPromptsRequestContent, SDKValidationError>;
2311
+ export declare const UpdatePromptPromptsResponseReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsResponseReasoningEffort>;
1685
2312
  /** @internal */
1686
- export declare const UpdatePromptMessagesAudio$inboundSchema: z.ZodType<UpdatePromptMessagesAudio, z.ZodTypeDef, unknown>;
2313
+ export declare const UpdatePromptPromptsResponseReasoningEffort$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsResponseReasoningEffort>;
1687
2314
  /** @internal */
1688
- export type UpdatePromptMessagesAudio$Outbound = {
1689
- id: string;
1690
- };
2315
+ export declare const UpdatePromptVerbosity$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptVerbosity>;
1691
2316
  /** @internal */
1692
- export declare const UpdatePromptMessagesAudio$outboundSchema: z.ZodType<UpdatePromptMessagesAudio$Outbound, z.ZodTypeDef, UpdatePromptMessagesAudio>;
1693
- export declare function updatePromptMessagesAudioToJSON(updatePromptMessagesAudio: UpdatePromptMessagesAudio): string;
1694
- export declare function updatePromptMessagesAudioFromJSON(jsonString: string): SafeParseResult<UpdatePromptMessagesAudio, SDKValidationError>;
2317
+ export declare const UpdatePromptVerbosity$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptVerbosity>;
1695
2318
  /** @internal */
1696
- export declare const UpdatePromptMessagesType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptMessagesType>;
2319
+ export declare const UpdatePromptThinkingLevel$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptThinkingLevel>;
1697
2320
  /** @internal */
1698
- export declare const UpdatePromptMessagesType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptMessagesType>;
2321
+ export declare const UpdatePromptThinkingLevel$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptThinkingLevel>;
1699
2322
  /** @internal */
1700
- export declare const UpdatePromptMessagesFunction$inboundSchema: z.ZodType<UpdatePromptMessagesFunction, z.ZodTypeDef, unknown>;
2323
+ export declare const UpdatePromptModelParameters$inboundSchema: z.ZodType<UpdatePromptModelParameters, z.ZodTypeDef, unknown>;
1701
2324
  /** @internal */
1702
- export type UpdatePromptMessagesFunction$Outbound = {
1703
- name?: string | undefined;
1704
- arguments?: string | undefined;
2325
+ export type UpdatePromptModelParameters$Outbound = {
2326
+ temperature?: number | undefined;
2327
+ maxTokens?: number | undefined;
2328
+ topK?: number | undefined;
2329
+ topP?: number | undefined;
2330
+ frequencyPenalty?: number | undefined;
2331
+ presencePenalty?: number | undefined;
2332
+ numImages?: number | undefined;
2333
+ seed?: number | undefined;
2334
+ format?: string | undefined;
2335
+ dimensions?: string | undefined;
2336
+ quality?: string | undefined;
2337
+ style?: string | undefined;
2338
+ responseFormat?: UpdatePromptResponseFormat1$Outbound | UpdatePromptResponseFormat2$Outbound | UpdatePromptResponseFormat3$Outbound | string | string | string | null | undefined;
2339
+ photoRealVersion?: string | undefined;
2340
+ encoding_format?: string | undefined;
2341
+ reasoningEffort?: string | undefined;
2342
+ budgetTokens?: number | undefined;
2343
+ verbosity?: string | undefined;
2344
+ thinkingLevel?: string | undefined;
1705
2345
  };
1706
2346
  /** @internal */
1707
- export declare const UpdatePromptMessagesFunction$outboundSchema: z.ZodType<UpdatePromptMessagesFunction$Outbound, z.ZodTypeDef, UpdatePromptMessagesFunction>;
1708
- export declare function updatePromptMessagesFunctionToJSON(updatePromptMessagesFunction: UpdatePromptMessagesFunction): string;
1709
- export declare function updatePromptMessagesFunctionFromJSON(jsonString: string): SafeParseResult<UpdatePromptMessagesFunction, SDKValidationError>;
2347
+ export declare const UpdatePromptModelParameters$outboundSchema: z.ZodType<UpdatePromptModelParameters$Outbound, z.ZodTypeDef, UpdatePromptModelParameters>;
2348
+ export declare function updatePromptModelParametersToJSON(updatePromptModelParameters: UpdatePromptModelParameters): string;
2349
+ export declare function updatePromptModelParametersFromJSON(jsonString: string): SafeParseResult<UpdatePromptModelParameters, SDKValidationError>;
1710
2350
  /** @internal */
1711
- export declare const UpdatePromptMessagesToolCalls$inboundSchema: z.ZodType<UpdatePromptMessagesToolCalls, z.ZodTypeDef, unknown>;
2351
+ export declare const UpdatePromptProvider$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptProvider>;
1712
2352
  /** @internal */
1713
- export type UpdatePromptMessagesToolCalls$Outbound = {
1714
- id: string;
1715
- type: string;
1716
- function: UpdatePromptMessagesFunction$Outbound;
1717
- thought_signature?: string | undefined;
1718
- };
2353
+ export declare const UpdatePromptProvider$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptProvider>;
1719
2354
  /** @internal */
1720
- export declare const UpdatePromptMessagesToolCalls$outboundSchema: z.ZodType<UpdatePromptMessagesToolCalls$Outbound, z.ZodTypeDef, UpdatePromptMessagesToolCalls>;
1721
- export declare function updatePromptMessagesToolCallsToJSON(updatePromptMessagesToolCalls: UpdatePromptMessagesToolCalls): string;
1722
- export declare function updatePromptMessagesToolCallsFromJSON(jsonString: string): SafeParseResult<UpdatePromptMessagesToolCalls, SDKValidationError>;
2355
+ export declare const UpdatePromptRole$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptRole>;
1723
2356
  /** @internal */
1724
- export declare const UpdatePromptMessagesAssistantMessage$inboundSchema: z.ZodType<UpdatePromptMessagesAssistantMessage, z.ZodTypeDef, unknown>;
2357
+ export declare const UpdatePromptRole$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptRole>;
1725
2358
  /** @internal */
1726
- export type UpdatePromptMessagesAssistantMessage$Outbound = {
1727
- content?: string | Array<(components.TextContentPartSchema$Outbound & {
1728
- type: "text";
1729
- }) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound> | null | undefined;
1730
- refusal?: string | null | undefined;
1731
- role: "assistant";
1732
- name?: string | undefined;
1733
- audio?: UpdatePromptMessagesAudio$Outbound | null | undefined;
1734
- tool_calls?: Array<UpdatePromptMessagesToolCalls$Outbound> | undefined;
1735
- };
2359
+ export declare const UpdatePrompt2File$inboundSchema: z.ZodType<UpdatePrompt2File, z.ZodTypeDef, unknown>;
1736
2360
  /** @internal */
1737
- export declare const UpdatePromptMessagesAssistantMessage$outboundSchema: z.ZodType<UpdatePromptMessagesAssistantMessage$Outbound, z.ZodTypeDef, UpdatePromptMessagesAssistantMessage>;
1738
- export declare function updatePromptMessagesAssistantMessageToJSON(updatePromptMessagesAssistantMessage: UpdatePromptMessagesAssistantMessage): string;
1739
- export declare function updatePromptMessagesAssistantMessageFromJSON(jsonString: string): SafeParseResult<UpdatePromptMessagesAssistantMessage, SDKValidationError>;
2361
+ export type UpdatePrompt2File$Outbound = {
2362
+ file_data?: string | undefined;
2363
+ uri?: string | undefined;
2364
+ mimeType?: string | undefined;
2365
+ filename?: string | undefined;
2366
+ };
1740
2367
  /** @internal */
1741
- export declare const UpdatePrompt2PromptsRequestRequestBodyPromptType$inboundSchema: z.ZodNativeEnum<typeof UpdatePrompt2PromptsRequestRequestBodyPromptType>;
2368
+ export declare const UpdatePrompt2File$outboundSchema: z.ZodType<UpdatePrompt2File$Outbound, z.ZodTypeDef, UpdatePrompt2File>;
2369
+ export declare function updatePrompt2FileToJSON(updatePrompt2File: UpdatePrompt2File): string;
2370
+ export declare function updatePrompt2FileFromJSON(jsonString: string): SafeParseResult<UpdatePrompt2File, SDKValidationError>;
1742
2371
  /** @internal */
1743
- export declare const UpdatePrompt2PromptsRequestRequestBodyPromptType$outboundSchema: z.ZodNativeEnum<typeof UpdatePrompt2PromptsRequestRequestBodyPromptType>;
2372
+ export declare const UpdatePrompt23$inboundSchema: z.ZodType<UpdatePrompt23, z.ZodTypeDef, unknown>;
1744
2373
  /** @internal */
1745
- export declare const UpdatePrompt2Ttl$inboundSchema: z.ZodNativeEnum<typeof UpdatePrompt2Ttl>;
2374
+ export type UpdatePrompt23$Outbound = {
2375
+ type: "file";
2376
+ file: UpdatePrompt2File$Outbound;
2377
+ };
1746
2378
  /** @internal */
1747
- export declare const UpdatePrompt2Ttl$outboundSchema: z.ZodNativeEnum<typeof UpdatePrompt2Ttl>;
2379
+ export declare const UpdatePrompt23$outboundSchema: z.ZodType<UpdatePrompt23$Outbound, z.ZodTypeDef, UpdatePrompt23>;
2380
+ export declare function updatePrompt23ToJSON(updatePrompt23: UpdatePrompt23): string;
2381
+ export declare function updatePrompt23FromJSON(jsonString: string): SafeParseResult<UpdatePrompt23, SDKValidationError>;
1748
2382
  /** @internal */
1749
- export declare const UpdatePrompt2CacheControl$inboundSchema: z.ZodType<UpdatePrompt2CacheControl, z.ZodTypeDef, unknown>;
2383
+ export declare const UpdatePrompt2ImageUrl$inboundSchema: z.ZodType<UpdatePrompt2ImageUrl, z.ZodTypeDef, unknown>;
1750
2384
  /** @internal */
1751
- export type UpdatePrompt2CacheControl$Outbound = {
1752
- type: string;
1753
- ttl: string;
2385
+ export type UpdatePrompt2ImageUrl$Outbound = {
2386
+ id?: string | undefined;
2387
+ url: string;
2388
+ detail?: string | undefined;
1754
2389
  };
1755
2390
  /** @internal */
1756
- export declare const UpdatePrompt2CacheControl$outboundSchema: z.ZodType<UpdatePrompt2CacheControl$Outbound, z.ZodTypeDef, UpdatePrompt2CacheControl>;
1757
- export declare function updatePrompt2CacheControlToJSON(updatePrompt2CacheControl: UpdatePrompt2CacheControl): string;
1758
- export declare function updatePrompt2CacheControlFromJSON(jsonString: string): SafeParseResult<UpdatePrompt2CacheControl, SDKValidationError>;
2391
+ export declare const UpdatePrompt2ImageUrl$outboundSchema: z.ZodType<UpdatePrompt2ImageUrl$Outbound, z.ZodTypeDef, UpdatePrompt2ImageUrl>;
2392
+ export declare function updatePrompt2ImageUrlToJSON(updatePrompt2ImageUrl: UpdatePrompt2ImageUrl): string;
2393
+ export declare function updatePrompt2ImageUrlFromJSON(jsonString: string): SafeParseResult<UpdatePrompt2ImageUrl, SDKValidationError>;
1759
2394
  /** @internal */
1760
- export declare const UpdatePrompt24$inboundSchema: z.ZodType<UpdatePrompt24, z.ZodTypeDef, unknown>;
2395
+ export declare const UpdatePrompt22$inboundSchema: z.ZodType<UpdatePrompt22, z.ZodTypeDef, unknown>;
1761
2396
  /** @internal */
1762
- export type UpdatePrompt24$Outbound = {
1763
- type: "file";
1764
- cache_control?: UpdatePrompt2CacheControl$Outbound | undefined;
1765
- file: components.FileContentPartSchema$Outbound;
2397
+ export type UpdatePrompt22$Outbound = {
2398
+ type: "image_url";
2399
+ image_url: UpdatePrompt2ImageUrl$Outbound;
1766
2400
  };
1767
2401
  /** @internal */
1768
- export declare const UpdatePrompt24$outboundSchema: z.ZodType<UpdatePrompt24$Outbound, z.ZodTypeDef, UpdatePrompt24>;
1769
- export declare function updatePrompt24ToJSON(updatePrompt24: UpdatePrompt24): string;
1770
- export declare function updatePrompt24FromJSON(jsonString: string): SafeParseResult<UpdatePrompt24, SDKValidationError>;
2402
+ export declare const UpdatePrompt22$outboundSchema: z.ZodType<UpdatePrompt22$Outbound, z.ZodTypeDef, UpdatePrompt22>;
2403
+ export declare function updatePrompt22ToJSON(updatePrompt22: UpdatePrompt22): string;
2404
+ export declare function updatePrompt22FromJSON(jsonString: string): SafeParseResult<UpdatePrompt22, SDKValidationError>;
1771
2405
  /** @internal */
1772
- export declare const UpdatePromptContentPrompts2$inboundSchema: z.ZodType<UpdatePromptContentPrompts2, z.ZodTypeDef, unknown>;
2406
+ export declare const UpdatePrompt21$inboundSchema: z.ZodType<UpdatePrompt21, z.ZodTypeDef, unknown>;
1773
2407
  /** @internal */
1774
- export type UpdatePromptContentPrompts2$Outbound = (components.TextContentPartSchema$Outbound & {
2408
+ export type UpdatePrompt21$Outbound = {
1775
2409
  type: "text";
1776
- }) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | UpdatePrompt24$Outbound;
2410
+ text: string;
2411
+ };
1777
2412
  /** @internal */
1778
- export declare const UpdatePromptContentPrompts2$outboundSchema: z.ZodType<UpdatePromptContentPrompts2$Outbound, z.ZodTypeDef, UpdatePromptContentPrompts2>;
1779
- export declare function updatePromptContentPrompts2ToJSON(updatePromptContentPrompts2: UpdatePromptContentPrompts2): string;
1780
- export declare function updatePromptContentPrompts2FromJSON(jsonString: string): SafeParseResult<UpdatePromptContentPrompts2, SDKValidationError>;
2413
+ export declare const UpdatePrompt21$outboundSchema: z.ZodType<UpdatePrompt21$Outbound, z.ZodTypeDef, UpdatePrompt21>;
2414
+ export declare function updatePrompt21ToJSON(updatePrompt21: UpdatePrompt21): string;
2415
+ export declare function updatePrompt21FromJSON(jsonString: string): SafeParseResult<UpdatePrompt21, SDKValidationError>;
1781
2416
  /** @internal */
1782
- export declare const UpdatePromptMessagesPromptsContent$inboundSchema: z.ZodType<UpdatePromptMessagesPromptsContent, z.ZodTypeDef, unknown>;
2417
+ export declare const UpdatePromptContentPromptsResponse2$inboundSchema: z.ZodType<UpdatePromptContentPromptsResponse2, z.ZodTypeDef, unknown>;
1783
2418
  /** @internal */
1784
- export type UpdatePromptMessagesPromptsContent$Outbound = string | Array<(components.TextContentPartSchema$Outbound & {
1785
- type: "text";
1786
- }) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | UpdatePrompt24$Outbound>;
2419
+ export type UpdatePromptContentPromptsResponse2$Outbound = UpdatePrompt21$Outbound | UpdatePrompt22$Outbound | UpdatePrompt23$Outbound;
1787
2420
  /** @internal */
1788
- export declare const UpdatePromptMessagesPromptsContent$outboundSchema: z.ZodType<UpdatePromptMessagesPromptsContent$Outbound, z.ZodTypeDef, UpdatePromptMessagesPromptsContent>;
1789
- export declare function updatePromptMessagesPromptsContentToJSON(updatePromptMessagesPromptsContent: UpdatePromptMessagesPromptsContent): string;
1790
- export declare function updatePromptMessagesPromptsContentFromJSON(jsonString: string): SafeParseResult<UpdatePromptMessagesPromptsContent, SDKValidationError>;
2421
+ export declare const UpdatePromptContentPromptsResponse2$outboundSchema: z.ZodType<UpdatePromptContentPromptsResponse2$Outbound, z.ZodTypeDef, UpdatePromptContentPromptsResponse2>;
2422
+ export declare function updatePromptContentPromptsResponse2ToJSON(updatePromptContentPromptsResponse2: UpdatePromptContentPromptsResponse2): string;
2423
+ export declare function updatePromptContentPromptsResponse2FromJSON(jsonString: string): SafeParseResult<UpdatePromptContentPromptsResponse2, SDKValidationError>;
1791
2424
  /** @internal */
1792
- export declare const UpdatePromptMessagesUserMessage$inboundSchema: z.ZodType<UpdatePromptMessagesUserMessage, z.ZodTypeDef, unknown>;
2425
+ export declare const UpdatePromptContent$inboundSchema: z.ZodType<UpdatePromptContent, z.ZodTypeDef, unknown>;
1793
2426
  /** @internal */
1794
- export type UpdatePromptMessagesUserMessage$Outbound = {
1795
- role: "user";
1796
- name?: string | undefined;
1797
- content: string | Array<(components.TextContentPartSchema$Outbound & {
1798
- type: "text";
1799
- }) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | UpdatePrompt24$Outbound>;
1800
- };
2427
+ export type UpdatePromptContent$Outbound = string | Array<UpdatePrompt21$Outbound | UpdatePrompt22$Outbound | UpdatePrompt23$Outbound>;
2428
+ /** @internal */
2429
+ export declare const UpdatePromptContent$outboundSchema: z.ZodType<UpdatePromptContent$Outbound, z.ZodTypeDef, UpdatePromptContent>;
2430
+ export declare function updatePromptContentToJSON(updatePromptContent: UpdatePromptContent): string;
2431
+ export declare function updatePromptContentFromJSON(jsonString: string): SafeParseResult<UpdatePromptContent, SDKValidationError>;
1801
2432
  /** @internal */
1802
- export declare const UpdatePromptMessagesUserMessage$outboundSchema: z.ZodType<UpdatePromptMessagesUserMessage$Outbound, z.ZodTypeDef, UpdatePromptMessagesUserMessage>;
1803
- export declare function updatePromptMessagesUserMessageToJSON(updatePromptMessagesUserMessage: UpdatePromptMessagesUserMessage): string;
1804
- export declare function updatePromptMessagesUserMessageFromJSON(jsonString: string): SafeParseResult<UpdatePromptMessagesUserMessage, SDKValidationError>;
2433
+ export declare const UpdatePromptPromptsType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsType>;
1805
2434
  /** @internal */
1806
- export declare const UpdatePromptMessagesContent$inboundSchema: z.ZodType<UpdatePromptMessagesContent, z.ZodTypeDef, unknown>;
2435
+ export declare const UpdatePromptPromptsType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsType>;
1807
2436
  /** @internal */
1808
- export type UpdatePromptMessagesContent$Outbound = string | Array<components.TextContentPartSchema$Outbound>;
2437
+ export declare const UpdatePromptFunction$inboundSchema: z.ZodType<UpdatePromptFunction, z.ZodTypeDef, unknown>;
1809
2438
  /** @internal */
1810
- export declare const UpdatePromptMessagesContent$outboundSchema: z.ZodType<UpdatePromptMessagesContent$Outbound, z.ZodTypeDef, UpdatePromptMessagesContent>;
1811
- export declare function updatePromptMessagesContentToJSON(updatePromptMessagesContent: UpdatePromptMessagesContent): string;
1812
- export declare function updatePromptMessagesContentFromJSON(jsonString: string): SafeParseResult<UpdatePromptMessagesContent, SDKValidationError>;
2439
+ export type UpdatePromptFunction$Outbound = {
2440
+ name: string;
2441
+ arguments: string;
2442
+ };
1813
2443
  /** @internal */
1814
- export declare const UpdatePromptMessagesSystemMessage$inboundSchema: z.ZodType<UpdatePromptMessagesSystemMessage, z.ZodTypeDef, unknown>;
2444
+ export declare const UpdatePromptFunction$outboundSchema: z.ZodType<UpdatePromptFunction$Outbound, z.ZodTypeDef, UpdatePromptFunction>;
2445
+ export declare function updatePromptFunctionToJSON(updatePromptFunction: UpdatePromptFunction): string;
2446
+ export declare function updatePromptFunctionFromJSON(jsonString: string): SafeParseResult<UpdatePromptFunction, SDKValidationError>;
1815
2447
  /** @internal */
1816
- export type UpdatePromptMessagesSystemMessage$Outbound = {
1817
- role: "system";
1818
- content: string | Array<components.TextContentPartSchema$Outbound>;
1819
- name?: string | undefined;
2448
+ export declare const UpdatePromptToolCalls$inboundSchema: z.ZodType<UpdatePromptToolCalls, z.ZodTypeDef, unknown>;
2449
+ /** @internal */
2450
+ export type UpdatePromptToolCalls$Outbound = {
2451
+ id?: string | undefined;
2452
+ index?: number | undefined;
2453
+ type: string;
2454
+ function: UpdatePromptFunction$Outbound;
1820
2455
  };
1821
2456
  /** @internal */
1822
- export declare const UpdatePromptMessagesSystemMessage$outboundSchema: z.ZodType<UpdatePromptMessagesSystemMessage$Outbound, z.ZodTypeDef, UpdatePromptMessagesSystemMessage>;
1823
- export declare function updatePromptMessagesSystemMessageToJSON(updatePromptMessagesSystemMessage: UpdatePromptMessagesSystemMessage): string;
1824
- export declare function updatePromptMessagesSystemMessageFromJSON(jsonString: string): SafeParseResult<UpdatePromptMessagesSystemMessage, SDKValidationError>;
2457
+ export declare const UpdatePromptToolCalls$outboundSchema: z.ZodType<UpdatePromptToolCalls$Outbound, z.ZodTypeDef, UpdatePromptToolCalls>;
2458
+ export declare function updatePromptToolCallsToJSON(updatePromptToolCalls: UpdatePromptToolCalls): string;
2459
+ export declare function updatePromptToolCallsFromJSON(jsonString: string): SafeParseResult<UpdatePromptToolCalls, SDKValidationError>;
1825
2460
  /** @internal */
1826
2461
  export declare const UpdatePromptPromptsMessages$inboundSchema: z.ZodType<UpdatePromptPromptsMessages, z.ZodTypeDef, unknown>;
1827
2462
  /** @internal */
1828
- export type UpdatePromptPromptsMessages$Outbound = UpdatePromptMessagesSystemMessage$Outbound | UpdatePromptMessagesUserMessage$Outbound | UpdatePromptMessagesAssistantMessage$Outbound | UpdatePromptMessagesToolMessage$Outbound;
2463
+ export type UpdatePromptPromptsMessages$Outbound = {
2464
+ role: string;
2465
+ content: string | Array<UpdatePrompt21$Outbound | UpdatePrompt22$Outbound | UpdatePrompt23$Outbound> | null;
2466
+ tool_calls?: Array<UpdatePromptToolCalls$Outbound> | undefined;
2467
+ tool_call_id?: string | null | undefined;
2468
+ };
1829
2469
  /** @internal */
1830
2470
  export declare const UpdatePromptPromptsMessages$outboundSchema: z.ZodType<UpdatePromptPromptsMessages$Outbound, z.ZodTypeDef, UpdatePromptPromptsMessages>;
1831
2471
  export declare function updatePromptPromptsMessagesToJSON(updatePromptPromptsMessages: UpdatePromptPromptsMessages): string;
1832
2472
  export declare function updatePromptPromptsMessagesFromJSON(jsonString: string): SafeParseResult<UpdatePromptPromptsMessages, SDKValidationError>;
1833
2473
  /** @internal */
1834
- export declare const UpdatePromptResponseFormatPromptsRequestJsonSchema$inboundSchema: z.ZodType<UpdatePromptResponseFormatPromptsRequestJsonSchema, z.ZodTypeDef, unknown>;
2474
+ export declare const UpdatePromptPromptConfig$inboundSchema: z.ZodType<UpdatePromptPromptConfig, z.ZodTypeDef, unknown>;
2475
+ /** @internal */
2476
+ export type UpdatePromptPromptConfig$Outbound = {
2477
+ stream?: boolean | undefined;
2478
+ model?: string | null | undefined;
2479
+ model_db_id?: string | null | undefined;
2480
+ model_type?: string | null | undefined;
2481
+ model_parameters?: UpdatePromptModelParameters$Outbound | undefined;
2482
+ provider?: string | null | undefined;
2483
+ integration_id?: string | null | undefined;
2484
+ version?: string | undefined;
2485
+ messages: Array<UpdatePromptPromptsMessages$Outbound>;
2486
+ };
2487
+ /** @internal */
2488
+ export declare const UpdatePromptPromptConfig$outboundSchema: z.ZodType<UpdatePromptPromptConfig$Outbound, z.ZodTypeDef, UpdatePromptPromptConfig>;
2489
+ export declare function updatePromptPromptConfigToJSON(updatePromptPromptConfig: UpdatePromptPromptConfig): string;
2490
+ export declare function updatePromptPromptConfigFromJSON(jsonString: string): SafeParseResult<UpdatePromptPromptConfig, SDKValidationError>;
2491
+ /** @internal */
2492
+ export declare const UpdatePromptPromptsVoice$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsVoice>;
2493
+ /** @internal */
2494
+ export declare const UpdatePromptPromptsVoice$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsVoice>;
2495
+ /** @internal */
2496
+ export declare const UpdatePromptPromptsResponse200Format$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsResponse200Format>;
2497
+ /** @internal */
2498
+ export declare const UpdatePromptPromptsResponse200Format$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsResponse200Format>;
2499
+ /** @internal */
2500
+ export declare const UpdatePromptPromptsAudio$inboundSchema: z.ZodType<UpdatePromptPromptsAudio, z.ZodTypeDef, unknown>;
2501
+ /** @internal */
2502
+ export type UpdatePromptPromptsAudio$Outbound = {
2503
+ voice: string;
2504
+ format: string;
2505
+ };
2506
+ /** @internal */
2507
+ export declare const UpdatePromptPromptsAudio$outboundSchema: z.ZodType<UpdatePromptPromptsAudio$Outbound, z.ZodTypeDef, UpdatePromptPromptsAudio>;
2508
+ export declare function updatePromptPromptsAudioToJSON(updatePromptPromptsAudio: UpdatePromptPromptsAudio): string;
2509
+ export declare function updatePromptPromptsAudioFromJSON(jsonString: string): SafeParseResult<UpdatePromptPromptsAudio, SDKValidationError>;
1835
2510
  /** @internal */
1836
- export type UpdatePromptResponseFormatPromptsRequestJsonSchema$Outbound = {
2511
+ export declare const UpdatePromptResponseFormatPromptsResponseJsonSchema$inboundSchema: z.ZodType<UpdatePromptResponseFormatPromptsResponseJsonSchema, z.ZodTypeDef, unknown>;
2512
+ /** @internal */
2513
+ export type UpdatePromptResponseFormatPromptsResponseJsonSchema$Outbound = {
1837
2514
  description?: string | undefined;
1838
2515
  name: string;
1839
2516
  schema?: any | undefined;
1840
2517
  strict: boolean;
1841
2518
  };
1842
2519
  /** @internal */
1843
- export declare const UpdatePromptResponseFormatPromptsRequestJsonSchema$outboundSchema: z.ZodType<UpdatePromptResponseFormatPromptsRequestJsonSchema$Outbound, z.ZodTypeDef, UpdatePromptResponseFormatPromptsRequestJsonSchema>;
1844
- export declare function updatePromptResponseFormatPromptsRequestJsonSchemaToJSON(updatePromptResponseFormatPromptsRequestJsonSchema: UpdatePromptResponseFormatPromptsRequestJsonSchema): string;
1845
- export declare function updatePromptResponseFormatPromptsRequestJsonSchemaFromJSON(jsonString: string): SafeParseResult<UpdatePromptResponseFormatPromptsRequestJsonSchema, SDKValidationError>;
2520
+ export declare const UpdatePromptResponseFormatPromptsResponseJsonSchema$outboundSchema: z.ZodType<UpdatePromptResponseFormatPromptsResponseJsonSchema$Outbound, z.ZodTypeDef, UpdatePromptResponseFormatPromptsResponseJsonSchema>;
2521
+ export declare function updatePromptResponseFormatPromptsResponseJsonSchemaToJSON(updatePromptResponseFormatPromptsResponseJsonSchema: UpdatePromptResponseFormatPromptsResponseJsonSchema): string;
2522
+ export declare function updatePromptResponseFormatPromptsResponseJsonSchemaFromJSON(jsonString: string): SafeParseResult<UpdatePromptResponseFormatPromptsResponseJsonSchema, SDKValidationError>;
1846
2523
  /** @internal */
1847
- export declare const UpdatePromptResponseFormatPromptsJSONSchema$inboundSchema: z.ZodType<UpdatePromptResponseFormatPromptsJSONSchema, z.ZodTypeDef, unknown>;
2524
+ export declare const UpdatePromptResponseFormatPromptsResponse200JSONSchema$inboundSchema: z.ZodType<UpdatePromptResponseFormatPromptsResponse200JSONSchema, z.ZodTypeDef, unknown>;
1848
2525
  /** @internal */
1849
- export type UpdatePromptResponseFormatPromptsJSONSchema$Outbound = {
2526
+ export type UpdatePromptResponseFormatPromptsResponse200JSONSchema$Outbound = {
1850
2527
  type: "json_schema";
1851
- json_schema: UpdatePromptResponseFormatPromptsRequestJsonSchema$Outbound;
2528
+ json_schema: UpdatePromptResponseFormatPromptsResponseJsonSchema$Outbound;
1852
2529
  };
1853
2530
  /** @internal */
1854
- export declare const UpdatePromptResponseFormatPromptsJSONSchema$outboundSchema: z.ZodType<UpdatePromptResponseFormatPromptsJSONSchema$Outbound, z.ZodTypeDef, UpdatePromptResponseFormatPromptsJSONSchema>;
1855
- export declare function updatePromptResponseFormatPromptsJSONSchemaToJSON(updatePromptResponseFormatPromptsJSONSchema: UpdatePromptResponseFormatPromptsJSONSchema): string;
1856
- export declare function updatePromptResponseFormatPromptsJSONSchemaFromJSON(jsonString: string): SafeParseResult<UpdatePromptResponseFormatPromptsJSONSchema, SDKValidationError>;
2531
+ export declare const UpdatePromptResponseFormatPromptsResponse200JSONSchema$outboundSchema: z.ZodType<UpdatePromptResponseFormatPromptsResponse200JSONSchema$Outbound, z.ZodTypeDef, UpdatePromptResponseFormatPromptsResponse200JSONSchema>;
2532
+ export declare function updatePromptResponseFormatPromptsResponse200JSONSchemaToJSON(updatePromptResponseFormatPromptsResponse200JSONSchema: UpdatePromptResponseFormatPromptsResponse200JSONSchema): string;
2533
+ export declare function updatePromptResponseFormatPromptsResponse200JSONSchemaFromJSON(jsonString: string): SafeParseResult<UpdatePromptResponseFormatPromptsResponse200JSONSchema, SDKValidationError>;
1857
2534
  /** @internal */
1858
- export declare const UpdatePromptResponseFormatJSONObject$inboundSchema: z.ZodType<UpdatePromptResponseFormatJSONObject, z.ZodTypeDef, unknown>;
2535
+ export declare const UpdatePromptResponseFormatPromptsJSONObject$inboundSchema: z.ZodType<UpdatePromptResponseFormatPromptsJSONObject, z.ZodTypeDef, unknown>;
1859
2536
  /** @internal */
1860
- export type UpdatePromptResponseFormatJSONObject$Outbound = {
2537
+ export type UpdatePromptResponseFormatPromptsJSONObject$Outbound = {
1861
2538
  type: "json_object";
1862
2539
  };
1863
2540
  /** @internal */
1864
- export declare const UpdatePromptResponseFormatJSONObject$outboundSchema: z.ZodType<UpdatePromptResponseFormatJSONObject$Outbound, z.ZodTypeDef, UpdatePromptResponseFormatJSONObject>;
1865
- export declare function updatePromptResponseFormatJSONObjectToJSON(updatePromptResponseFormatJSONObject: UpdatePromptResponseFormatJSONObject): string;
1866
- export declare function updatePromptResponseFormatJSONObjectFromJSON(jsonString: string): SafeParseResult<UpdatePromptResponseFormatJSONObject, SDKValidationError>;
2541
+ export declare const UpdatePromptResponseFormatPromptsJSONObject$outboundSchema: z.ZodType<UpdatePromptResponseFormatPromptsJSONObject$Outbound, z.ZodTypeDef, UpdatePromptResponseFormatPromptsJSONObject>;
2542
+ export declare function updatePromptResponseFormatPromptsJSONObjectToJSON(updatePromptResponseFormatPromptsJSONObject: UpdatePromptResponseFormatPromptsJSONObject): string;
2543
+ export declare function updatePromptResponseFormatPromptsJSONObjectFromJSON(jsonString: string): SafeParseResult<UpdatePromptResponseFormatPromptsJSONObject, SDKValidationError>;
1867
2544
  /** @internal */
1868
- export declare const UpdatePromptResponseFormatText$inboundSchema: z.ZodType<UpdatePromptResponseFormatText, z.ZodTypeDef, unknown>;
2545
+ export declare const UpdatePromptResponseFormatPromptsText$inboundSchema: z.ZodType<UpdatePromptResponseFormatPromptsText, z.ZodTypeDef, unknown>;
1869
2546
  /** @internal */
1870
- export type UpdatePromptResponseFormatText$Outbound = {
2547
+ export type UpdatePromptResponseFormatPromptsText$Outbound = {
1871
2548
  type: "text";
1872
2549
  };
1873
2550
  /** @internal */
1874
- export declare const UpdatePromptResponseFormatText$outboundSchema: z.ZodType<UpdatePromptResponseFormatText$Outbound, z.ZodTypeDef, UpdatePromptResponseFormatText>;
1875
- export declare function updatePromptResponseFormatTextToJSON(updatePromptResponseFormatText: UpdatePromptResponseFormatText): string;
1876
- export declare function updatePromptResponseFormatTextFromJSON(jsonString: string): SafeParseResult<UpdatePromptResponseFormatText, SDKValidationError>;
2551
+ export declare const UpdatePromptResponseFormatPromptsText$outboundSchema: z.ZodType<UpdatePromptResponseFormatPromptsText$Outbound, z.ZodTypeDef, UpdatePromptResponseFormatPromptsText>;
2552
+ export declare function updatePromptResponseFormatPromptsTextToJSON(updatePromptResponseFormatPromptsText: UpdatePromptResponseFormatPromptsText): string;
2553
+ export declare function updatePromptResponseFormatPromptsTextFromJSON(jsonString: string): SafeParseResult<UpdatePromptResponseFormatPromptsText, SDKValidationError>;
1877
2554
  /** @internal */
1878
2555
  export declare const UpdatePromptPromptsResponseFormat$inboundSchema: z.ZodType<UpdatePromptPromptsResponseFormat, z.ZodTypeDef, unknown>;
1879
2556
  /** @internal */
1880
- export type UpdatePromptPromptsResponseFormat$Outbound = UpdatePromptResponseFormatText$Outbound | UpdatePromptResponseFormatJSONObject$Outbound | UpdatePromptResponseFormatPromptsJSONSchema$Outbound;
2557
+ export type UpdatePromptPromptsResponseFormat$Outbound = UpdatePromptResponseFormatPromptsText$Outbound | UpdatePromptResponseFormatPromptsJSONObject$Outbound | UpdatePromptResponseFormatPromptsResponse200JSONSchema$Outbound;
1881
2558
  /** @internal */
1882
2559
  export declare const UpdatePromptPromptsResponseFormat$outboundSchema: z.ZodType<UpdatePromptPromptsResponseFormat$Outbound, z.ZodTypeDef, UpdatePromptPromptsResponseFormat>;
1883
2560
  export declare function updatePromptPromptsResponseFormatToJSON(updatePromptPromptsResponseFormat: UpdatePromptPromptsResponseFormat): string;
1884
2561
  export declare function updatePromptPromptsResponseFormatFromJSON(jsonString: string): SafeParseResult<UpdatePromptPromptsResponseFormat, SDKValidationError>;
1885
2562
  /** @internal */
1886
- export declare const UpdatePromptPromptInput$inboundSchema: z.ZodType<UpdatePromptPromptInput, z.ZodTypeDef, unknown>;
2563
+ export declare const UpdatePromptPromptsReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsReasoningEffort>;
1887
2564
  /** @internal */
1888
- export type UpdatePromptPromptInput$Outbound = {
1889
- messages?: Array<UpdatePromptMessagesSystemMessage$Outbound | UpdatePromptMessagesUserMessage$Outbound | UpdatePromptMessagesAssistantMessage$Outbound | UpdatePromptMessagesToolMessage$Outbound> | undefined;
1890
- model?: string | undefined;
1891
- is_private: boolean;
1892
- temperature?: number | null | undefined;
1893
- max_tokens?: number | null | undefined;
1894
- response_format?: UpdatePromptResponseFormatText$Outbound | UpdatePromptResponseFormatJSONObject$Outbound | UpdatePromptResponseFormatPromptsJSONSchema$Outbound | undefined;
2565
+ export declare const UpdatePromptPromptsReasoningEffort$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsReasoningEffort>;
2566
+ /** @internal */
2567
+ export declare const UpdatePromptPromptsStop$inboundSchema: z.ZodType<UpdatePromptPromptsStop, z.ZodTypeDef, unknown>;
2568
+ /** @internal */
2569
+ export type UpdatePromptPromptsStop$Outbound = string | Array<string>;
2570
+ /** @internal */
2571
+ export declare const UpdatePromptPromptsStop$outboundSchema: z.ZodType<UpdatePromptPromptsStop$Outbound, z.ZodTypeDef, UpdatePromptPromptsStop>;
2572
+ export declare function updatePromptPromptsStopToJSON(updatePromptPromptsStop: UpdatePromptPromptsStop): string;
2573
+ export declare function updatePromptPromptsStopFromJSON(jsonString: string): SafeParseResult<UpdatePromptPromptsStop, SDKValidationError>;
2574
+ /** @internal */
2575
+ export declare const UpdatePromptPromptsStreamOptions$inboundSchema: z.ZodType<UpdatePromptPromptsStreamOptions, z.ZodTypeDef, unknown>;
2576
+ /** @internal */
2577
+ export type UpdatePromptPromptsStreamOptions$Outbound = {
2578
+ include_usage?: boolean | undefined;
1895
2579
  };
1896
2580
  /** @internal */
1897
- export declare const UpdatePromptPromptInput$outboundSchema: z.ZodType<UpdatePromptPromptInput$Outbound, z.ZodTypeDef, UpdatePromptPromptInput>;
1898
- export declare function updatePromptPromptInputToJSON(updatePromptPromptInput: UpdatePromptPromptInput): string;
1899
- export declare function updatePromptPromptInputFromJSON(jsonString: string): SafeParseResult<UpdatePromptPromptInput, SDKValidationError>;
2581
+ export declare const UpdatePromptPromptsStreamOptions$outboundSchema: z.ZodType<UpdatePromptPromptsStreamOptions$Outbound, z.ZodTypeDef, UpdatePromptPromptsStreamOptions>;
2582
+ export declare function updatePromptPromptsStreamOptionsToJSON(updatePromptPromptsStreamOptions: UpdatePromptPromptsStreamOptions): string;
2583
+ export declare function updatePromptPromptsStreamOptionsFromJSON(jsonString: string): SafeParseResult<UpdatePromptPromptsStreamOptions, SDKValidationError>;
1900
2584
  /** @internal */
1901
- export declare const UpdatePromptRequestBody$inboundSchema: z.ZodType<UpdatePromptRequestBody, z.ZodTypeDef, unknown>;
2585
+ export declare const UpdatePromptPromptsThinking$inboundSchema: z.ZodType<UpdatePromptPromptsThinking, z.ZodTypeDef, unknown>;
1902
2586
  /** @internal */
1903
- export type UpdatePromptRequestBody$Outbound = {
1904
- owner?: string | undefined;
1905
- domain_id?: string | undefined;
1906
- created?: string | undefined;
1907
- updated?: string | undefined;
1908
- created_by_id?: string | null | undefined;
1909
- updated_by_id?: string | null | undefined;
1910
- display_name?: string | undefined;
1911
- description?: string | null | undefined;
1912
- prompt_config?: PromptConfig$Outbound | undefined;
1913
- metadata?: UpdatePromptMetadata$Outbound | undefined;
1914
- path?: string | undefined;
1915
- prompt?: UpdatePromptPromptInput$Outbound | undefined;
2587
+ export type UpdatePromptPromptsThinking$Outbound = components.ThinkingConfigDisabledSchema$Outbound | components.ThinkingConfigEnabledSchema$Outbound;
2588
+ /** @internal */
2589
+ export declare const UpdatePromptPromptsThinking$outboundSchema: z.ZodType<UpdatePromptPromptsThinking$Outbound, z.ZodTypeDef, UpdatePromptPromptsThinking>;
2590
+ export declare function updatePromptPromptsThinkingToJSON(updatePromptPromptsThinking: UpdatePromptPromptsThinking): string;
2591
+ export declare function updatePromptPromptsThinkingFromJSON(jsonString: string): SafeParseResult<UpdatePromptPromptsThinking, SDKValidationError>;
2592
+ /** @internal */
2593
+ export declare const UpdatePromptToolChoicePromptsType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptToolChoicePromptsType>;
2594
+ /** @internal */
2595
+ export declare const UpdatePromptToolChoicePromptsType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptToolChoicePromptsType>;
2596
+ /** @internal */
2597
+ export declare const UpdatePromptToolChoicePromptsFunction$inboundSchema: z.ZodType<UpdatePromptToolChoicePromptsFunction, z.ZodTypeDef, unknown>;
2598
+ /** @internal */
2599
+ export type UpdatePromptToolChoicePromptsFunction$Outbound = {
2600
+ name: string;
1916
2601
  };
1917
2602
  /** @internal */
1918
- export declare const UpdatePromptRequestBody$outboundSchema: z.ZodType<UpdatePromptRequestBody$Outbound, z.ZodTypeDef, UpdatePromptRequestBody>;
1919
- export declare function updatePromptRequestBodyToJSON(updatePromptRequestBody: UpdatePromptRequestBody): string;
1920
- export declare function updatePromptRequestBodyFromJSON(jsonString: string): SafeParseResult<UpdatePromptRequestBody, SDKValidationError>;
2603
+ export declare const UpdatePromptToolChoicePromptsFunction$outboundSchema: z.ZodType<UpdatePromptToolChoicePromptsFunction$Outbound, z.ZodTypeDef, UpdatePromptToolChoicePromptsFunction>;
2604
+ export declare function updatePromptToolChoicePromptsFunctionToJSON(updatePromptToolChoicePromptsFunction: UpdatePromptToolChoicePromptsFunction): string;
2605
+ export declare function updatePromptToolChoicePromptsFunctionFromJSON(jsonString: string): SafeParseResult<UpdatePromptToolChoicePromptsFunction, SDKValidationError>;
1921
2606
  /** @internal */
1922
- export declare const UpdatePromptRequest$inboundSchema: z.ZodType<UpdatePromptRequest, z.ZodTypeDef, unknown>;
2607
+ export declare const UpdatePromptToolChoicePrompts2$inboundSchema: z.ZodType<UpdatePromptToolChoicePrompts2, z.ZodTypeDef, unknown>;
1923
2608
  /** @internal */
1924
- export type UpdatePromptRequest$Outbound = {
1925
- id: string;
1926
- RequestBody?: UpdatePromptRequestBody$Outbound | undefined;
2609
+ export type UpdatePromptToolChoicePrompts2$Outbound = {
2610
+ type?: string | undefined;
2611
+ function: UpdatePromptToolChoicePromptsFunction$Outbound;
1927
2612
  };
1928
2613
  /** @internal */
1929
- export declare const UpdatePromptRequest$outboundSchema: z.ZodType<UpdatePromptRequest$Outbound, z.ZodTypeDef, UpdatePromptRequest>;
1930
- export declare function updatePromptRequestToJSON(updatePromptRequest: UpdatePromptRequest): string;
1931
- export declare function updatePromptRequestFromJSON(jsonString: string): SafeParseResult<UpdatePromptRequest, SDKValidationError>;
2614
+ export declare const UpdatePromptToolChoicePrompts2$outboundSchema: z.ZodType<UpdatePromptToolChoicePrompts2$Outbound, z.ZodTypeDef, UpdatePromptToolChoicePrompts2>;
2615
+ export declare function updatePromptToolChoicePrompts2ToJSON(updatePromptToolChoicePrompts2: UpdatePromptToolChoicePrompts2): string;
2616
+ export declare function updatePromptToolChoicePrompts2FromJSON(jsonString: string): SafeParseResult<UpdatePromptToolChoicePrompts2, SDKValidationError>;
1932
2617
  /** @internal */
1933
- export declare const UpdatePromptPromptsType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsType>;
2618
+ export declare const UpdatePromptToolChoicePrompts1$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptToolChoicePrompts1>;
1934
2619
  /** @internal */
1935
- export declare const UpdatePromptPromptsType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsType>;
2620
+ export declare const UpdatePromptToolChoicePrompts1$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptToolChoicePrompts1>;
1936
2621
  /** @internal */
1937
- export declare const UpdatePromptModelType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptModelType>;
2622
+ export declare const UpdatePromptPromptsToolChoice$inboundSchema: z.ZodType<UpdatePromptPromptsToolChoice, z.ZodTypeDef, unknown>;
1938
2623
  /** @internal */
1939
- export declare const UpdatePromptModelType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptModelType>;
2624
+ export type UpdatePromptPromptsToolChoice$Outbound = UpdatePromptToolChoicePrompts2$Outbound | string;
1940
2625
  /** @internal */
1941
- export declare const UpdatePromptPromptsFormat$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsFormat>;
2626
+ export declare const UpdatePromptPromptsToolChoice$outboundSchema: z.ZodType<UpdatePromptPromptsToolChoice$Outbound, z.ZodTypeDef, UpdatePromptPromptsToolChoice>;
2627
+ export declare function updatePromptPromptsToolChoiceToJSON(updatePromptPromptsToolChoice: UpdatePromptPromptsToolChoice): string;
2628
+ export declare function updatePromptPromptsToolChoiceFromJSON(jsonString: string): SafeParseResult<UpdatePromptPromptsToolChoice, SDKValidationError>;
1942
2629
  /** @internal */
1943
- export declare const UpdatePromptPromptsFormat$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsFormat>;
2630
+ export declare const UpdatePromptPromptsModalities$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsModalities>;
1944
2631
  /** @internal */
1945
- export declare const UpdatePromptResponseFormat6$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormat6>;
2632
+ export declare const UpdatePromptPromptsModalities$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsModalities>;
1946
2633
  /** @internal */
1947
- export declare const UpdatePromptResponseFormat6$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormat6>;
2634
+ export declare const UpdatePromptIdPrompts1$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptIdPrompts1>;
1948
2635
  /** @internal */
1949
- export declare const UpdatePromptResponseFormat5$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormat5>;
2636
+ export declare const UpdatePromptIdPrompts1$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptIdPrompts1>;
1950
2637
  /** @internal */
1951
- export declare const UpdatePromptResponseFormat5$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormat5>;
2638
+ export declare const UpdatePromptPromptsId$inboundSchema: z.ZodType<UpdatePromptPromptsId, z.ZodTypeDef, unknown>;
1952
2639
  /** @internal */
1953
- export declare const UpdatePromptResponseFormatPrompts4$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatPrompts4>;
2640
+ export type UpdatePromptPromptsId$Outbound = string | string;
1954
2641
  /** @internal */
1955
- export declare const UpdatePromptResponseFormatPrompts4$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatPrompts4>;
2642
+ export declare const UpdatePromptPromptsId$outboundSchema: z.ZodType<UpdatePromptPromptsId$Outbound, z.ZodTypeDef, UpdatePromptPromptsId>;
2643
+ export declare function updatePromptPromptsIdToJSON(updatePromptPromptsId: UpdatePromptPromptsId): string;
2644
+ export declare function updatePromptPromptsIdFromJSON(jsonString: string): SafeParseResult<UpdatePromptPromptsId, SDKValidationError>;
1956
2645
  /** @internal */
1957
- export declare const UpdatePromptResponseFormatPromptsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatPromptsResponse200ApplicationJSONType>;
2646
+ export declare const UpdatePromptPromptsExecuteOn$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsExecuteOn>;
1958
2647
  /** @internal */
1959
- export declare const UpdatePromptResponseFormatPromptsResponse200ApplicationJSONType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatPromptsResponse200ApplicationJSONType>;
2648
+ export declare const UpdatePromptPromptsExecuteOn$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsExecuteOn>;
1960
2649
  /** @internal */
1961
- export declare const UpdatePromptResponseFormatPrompts3$inboundSchema: z.ZodType<UpdatePromptResponseFormatPrompts3, z.ZodTypeDef, unknown>;
2650
+ export declare const UpdatePromptPromptsGuardrails$inboundSchema: z.ZodType<UpdatePromptPromptsGuardrails, z.ZodTypeDef, unknown>;
1962
2651
  /** @internal */
1963
- export type UpdatePromptResponseFormatPrompts3$Outbound = {
1964
- type: string;
2652
+ export type UpdatePromptPromptsGuardrails$Outbound = {
2653
+ id: string | string;
2654
+ execute_on: string;
1965
2655
  };
1966
2656
  /** @internal */
1967
- export declare const UpdatePromptResponseFormatPrompts3$outboundSchema: z.ZodType<UpdatePromptResponseFormatPrompts3$Outbound, z.ZodTypeDef, UpdatePromptResponseFormatPrompts3>;
1968
- export declare function updatePromptResponseFormatPrompts3ToJSON(updatePromptResponseFormatPrompts3: UpdatePromptResponseFormatPrompts3): string;
1969
- export declare function updatePromptResponseFormatPrompts3FromJSON(jsonString: string): SafeParseResult<UpdatePromptResponseFormatPrompts3, SDKValidationError>;
2657
+ export declare const UpdatePromptPromptsGuardrails$outboundSchema: z.ZodType<UpdatePromptPromptsGuardrails$Outbound, z.ZodTypeDef, UpdatePromptPromptsGuardrails>;
2658
+ export declare function updatePromptPromptsGuardrailsToJSON(updatePromptPromptsGuardrails: UpdatePromptPromptsGuardrails): string;
2659
+ export declare function updatePromptPromptsGuardrailsFromJSON(jsonString: string): SafeParseResult<UpdatePromptPromptsGuardrails, SDKValidationError>;
1970
2660
  /** @internal */
1971
- export declare const UpdatePromptResponseFormatPromptsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatPromptsResponse200Type>;
2661
+ export declare const UpdatePromptContentPromptsResponse200ApplicationJSONResponseBody2$inboundSchema: z.ZodType<UpdatePromptContentPromptsResponse200ApplicationJSONResponseBody2, z.ZodTypeDef, unknown>;
1972
2662
  /** @internal */
1973
- export declare const UpdatePromptResponseFormatPromptsResponse200Type$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatPromptsResponse200Type>;
2663
+ export type UpdatePromptContentPromptsResponse200ApplicationJSONResponseBody2$Outbound = components.TextContentPartSchema$Outbound;
1974
2664
  /** @internal */
1975
- export declare const UpdatePromptResponseFormatPrompts2$inboundSchema: z.ZodType<UpdatePromptResponseFormatPrompts2, z.ZodTypeDef, unknown>;
2665
+ export declare const UpdatePromptContentPromptsResponse200ApplicationJSONResponseBody2$outboundSchema: z.ZodType<UpdatePromptContentPromptsResponse200ApplicationJSONResponseBody2$Outbound, z.ZodTypeDef, UpdatePromptContentPromptsResponse200ApplicationJSONResponseBody2>;
2666
+ export declare function updatePromptContentPromptsResponse200ApplicationJSONResponseBody2ToJSON(updatePromptContentPromptsResponse200ApplicationJSONResponseBody2: UpdatePromptContentPromptsResponse200ApplicationJSONResponseBody2): string;
2667
+ export declare function updatePromptContentPromptsResponse200ApplicationJSONResponseBody2FromJSON(jsonString: string): SafeParseResult<UpdatePromptContentPromptsResponse200ApplicationJSONResponseBody2, SDKValidationError>;
1976
2668
  /** @internal */
1977
- export type UpdatePromptResponseFormatPrompts2$Outbound = {
1978
- type: string;
1979
- };
2669
+ export declare const UpdatePromptMessagesPromptsResponse200ApplicationJSONResponseBodyContent$inboundSchema: z.ZodType<UpdatePromptMessagesPromptsResponse200ApplicationJSONResponseBodyContent, z.ZodTypeDef, unknown>;
1980
2670
  /** @internal */
1981
- export declare const UpdatePromptResponseFormatPrompts2$outboundSchema: z.ZodType<UpdatePromptResponseFormatPrompts2$Outbound, z.ZodTypeDef, UpdatePromptResponseFormatPrompts2>;
1982
- export declare function updatePromptResponseFormatPrompts2ToJSON(updatePromptResponseFormatPrompts2: UpdatePromptResponseFormatPrompts2): string;
1983
- export declare function updatePromptResponseFormatPrompts2FromJSON(jsonString: string): SafeParseResult<UpdatePromptResponseFormatPrompts2, SDKValidationError>;
2671
+ export type UpdatePromptMessagesPromptsResponse200ApplicationJSONResponseBodyContent$Outbound = string | Array<components.TextContentPartSchema$Outbound>;
1984
2672
  /** @internal */
1985
- export declare const UpdatePromptResponseFormatPromptsResponseType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatPromptsResponseType>;
2673
+ export declare const UpdatePromptMessagesPromptsResponse200ApplicationJSONResponseBodyContent$outboundSchema: z.ZodType<UpdatePromptMessagesPromptsResponse200ApplicationJSONResponseBodyContent$Outbound, z.ZodTypeDef, UpdatePromptMessagesPromptsResponse200ApplicationJSONResponseBodyContent>;
2674
+ export declare function updatePromptMessagesPromptsResponse200ApplicationJSONResponseBodyContentToJSON(updatePromptMessagesPromptsResponse200ApplicationJSONResponseBodyContent: UpdatePromptMessagesPromptsResponse200ApplicationJSONResponseBodyContent): string;
2675
+ export declare function updatePromptMessagesPromptsResponse200ApplicationJSONResponseBodyContentFromJSON(jsonString: string): SafeParseResult<UpdatePromptMessagesPromptsResponse200ApplicationJSONResponseBodyContent, SDKValidationError>;
1986
2676
  /** @internal */
1987
- export declare const UpdatePromptResponseFormatPromptsResponseType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatPromptsResponseType>;
2677
+ export declare const UpdatePromptMessagesPromptsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptMessagesPromptsResponse200Type>;
1988
2678
  /** @internal */
1989
- export declare const UpdatePromptResponseFormatPromptsResponseJsonSchema$inboundSchema: z.ZodType<UpdatePromptResponseFormatPromptsResponseJsonSchema, z.ZodTypeDef, unknown>;
2679
+ export declare const UpdatePromptMessagesPromptsResponse200Type$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptMessagesPromptsResponse200Type>;
1990
2680
  /** @internal */
1991
- export type UpdatePromptResponseFormatPromptsResponseJsonSchema$Outbound = {
1992
- name: string;
1993
- description?: string | undefined;
1994
- strict?: boolean | undefined;
1995
- schema: {
1996
- [k: string]: any;
1997
- };
1998
- };
2681
+ export declare const UpdatePromptMessagesPromptsTtl$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptMessagesPromptsTtl>;
1999
2682
  /** @internal */
2000
- export declare const UpdatePromptResponseFormatPromptsResponseJsonSchema$outboundSchema: z.ZodType<UpdatePromptResponseFormatPromptsResponseJsonSchema$Outbound, z.ZodTypeDef, UpdatePromptResponseFormatPromptsResponseJsonSchema>;
2001
- export declare function updatePromptResponseFormatPromptsResponseJsonSchemaToJSON(updatePromptResponseFormatPromptsResponseJsonSchema: UpdatePromptResponseFormatPromptsResponseJsonSchema): string;
2002
- export declare function updatePromptResponseFormatPromptsResponseJsonSchemaFromJSON(jsonString: string): SafeParseResult<UpdatePromptResponseFormatPromptsResponseJsonSchema, SDKValidationError>;
2683
+ export declare const UpdatePromptMessagesPromptsTtl$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptMessagesPromptsTtl>;
2003
2684
  /** @internal */
2004
- export declare const UpdatePromptResponseFormatPrompts1$inboundSchema: z.ZodType<UpdatePromptResponseFormatPrompts1, z.ZodTypeDef, unknown>;
2685
+ export declare const UpdatePromptMessagesPromptsCacheControl$inboundSchema: z.ZodType<UpdatePromptMessagesPromptsCacheControl, z.ZodTypeDef, unknown>;
2005
2686
  /** @internal */
2006
- export type UpdatePromptResponseFormatPrompts1$Outbound = {
2687
+ export type UpdatePromptMessagesPromptsCacheControl$Outbound = {
2007
2688
  type: string;
2008
- display_name?: string | undefined;
2009
- json_schema: UpdatePromptResponseFormatPromptsResponseJsonSchema$Outbound;
2689
+ ttl: string;
2010
2690
  };
2011
2691
  /** @internal */
2012
- export declare const UpdatePromptResponseFormatPrompts1$outboundSchema: z.ZodType<UpdatePromptResponseFormatPrompts1$Outbound, z.ZodTypeDef, UpdatePromptResponseFormatPrompts1>;
2013
- export declare function updatePromptResponseFormatPrompts1ToJSON(updatePromptResponseFormatPrompts1: UpdatePromptResponseFormatPrompts1): string;
2014
- export declare function updatePromptResponseFormatPrompts1FromJSON(jsonString: string): SafeParseResult<UpdatePromptResponseFormatPrompts1, SDKValidationError>;
2692
+ export declare const UpdatePromptMessagesPromptsCacheControl$outboundSchema: z.ZodType<UpdatePromptMessagesPromptsCacheControl$Outbound, z.ZodTypeDef, UpdatePromptMessagesPromptsCacheControl>;
2693
+ export declare function updatePromptMessagesPromptsCacheControlToJSON(updatePromptMessagesPromptsCacheControl: UpdatePromptMessagesPromptsCacheControl): string;
2694
+ export declare function updatePromptMessagesPromptsCacheControlFromJSON(jsonString: string): SafeParseResult<UpdatePromptMessagesPromptsCacheControl, SDKValidationError>;
2015
2695
  /** @internal */
2016
- export declare const UpdatePromptPromptsResponseResponseFormat$inboundSchema: z.ZodType<UpdatePromptPromptsResponseResponseFormat, z.ZodTypeDef, unknown>;
2696
+ export declare const UpdatePromptMessagesPromptsToolMessage$inboundSchema: z.ZodType<UpdatePromptMessagesPromptsToolMessage, z.ZodTypeDef, unknown>;
2017
2697
  /** @internal */
2018
- export type UpdatePromptPromptsResponseResponseFormat$Outbound = UpdatePromptResponseFormatPrompts1$Outbound | UpdatePromptResponseFormatPrompts2$Outbound | UpdatePromptResponseFormatPrompts3$Outbound | string | string | string;
2698
+ export type UpdatePromptMessagesPromptsToolMessage$Outbound = {
2699
+ role: "tool";
2700
+ content: string | Array<components.TextContentPartSchema$Outbound>;
2701
+ tool_call_id: string | null;
2702
+ cache_control?: UpdatePromptMessagesPromptsCacheControl$Outbound | undefined;
2703
+ };
2019
2704
  /** @internal */
2020
- export declare const UpdatePromptPromptsResponseResponseFormat$outboundSchema: z.ZodType<UpdatePromptPromptsResponseResponseFormat$Outbound, z.ZodTypeDef, UpdatePromptPromptsResponseResponseFormat>;
2021
- export declare function updatePromptPromptsResponseResponseFormatToJSON(updatePromptPromptsResponseResponseFormat: UpdatePromptPromptsResponseResponseFormat): string;
2022
- export declare function updatePromptPromptsResponseResponseFormatFromJSON(jsonString: string): SafeParseResult<UpdatePromptPromptsResponseResponseFormat, SDKValidationError>;
2705
+ export declare const UpdatePromptMessagesPromptsToolMessage$outboundSchema: z.ZodType<UpdatePromptMessagesPromptsToolMessage$Outbound, z.ZodTypeDef, UpdatePromptMessagesPromptsToolMessage>;
2706
+ export declare function updatePromptMessagesPromptsToolMessageToJSON(updatePromptMessagesPromptsToolMessage: UpdatePromptMessagesPromptsToolMessage): string;
2707
+ export declare function updatePromptMessagesPromptsToolMessageFromJSON(jsonString: string): SafeParseResult<UpdatePromptMessagesPromptsToolMessage, SDKValidationError>;
2023
2708
  /** @internal */
2024
- export declare const UpdatePromptPromptsPhotoRealVersion$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsPhotoRealVersion>;
2709
+ export declare const UpdatePromptContentPromptsResponse200ApplicationJson2$inboundSchema: z.ZodType<UpdatePromptContentPromptsResponse200ApplicationJson2, z.ZodTypeDef, unknown>;
2025
2710
  /** @internal */
2026
- export declare const UpdatePromptPromptsPhotoRealVersion$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsPhotoRealVersion>;
2711
+ export type UpdatePromptContentPromptsResponse200ApplicationJson2$Outbound = (components.TextContentPartSchema$Outbound & {
2712
+ type: "text";
2713
+ }) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound;
2027
2714
  /** @internal */
2028
- export declare const UpdatePromptPromptsEncodingFormat$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsEncodingFormat>;
2715
+ export declare const UpdatePromptContentPromptsResponse200ApplicationJson2$outboundSchema: z.ZodType<UpdatePromptContentPromptsResponse200ApplicationJson2$Outbound, z.ZodTypeDef, UpdatePromptContentPromptsResponse200ApplicationJson2>;
2716
+ export declare function updatePromptContentPromptsResponse200ApplicationJSON2ToJSON(updatePromptContentPromptsResponse200ApplicationJson2: UpdatePromptContentPromptsResponse200ApplicationJson2): string;
2717
+ export declare function updatePromptContentPromptsResponse200ApplicationJSON2FromJSON(jsonString: string): SafeParseResult<UpdatePromptContentPromptsResponse200ApplicationJson2, SDKValidationError>;
2029
2718
  /** @internal */
2030
- export declare const UpdatePromptPromptsEncodingFormat$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsEncodingFormat>;
2719
+ export declare const UpdatePromptMessagesPromptsResponse200ApplicationJSONContent$inboundSchema: z.ZodType<UpdatePromptMessagesPromptsResponse200ApplicationJSONContent, z.ZodTypeDef, unknown>;
2031
2720
  /** @internal */
2032
- export declare const UpdatePromptPromptsReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsReasoningEffort>;
2721
+ export type UpdatePromptMessagesPromptsResponse200ApplicationJSONContent$Outbound = string | Array<(components.TextContentPartSchema$Outbound & {
2722
+ type: "text";
2723
+ }) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound>;
2033
2724
  /** @internal */
2034
- export declare const UpdatePromptPromptsReasoningEffort$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsReasoningEffort>;
2725
+ export declare const UpdatePromptMessagesPromptsResponse200ApplicationJSONContent$outboundSchema: z.ZodType<UpdatePromptMessagesPromptsResponse200ApplicationJSONContent$Outbound, z.ZodTypeDef, UpdatePromptMessagesPromptsResponse200ApplicationJSONContent>;
2726
+ export declare function updatePromptMessagesPromptsResponse200ApplicationJSONContentToJSON(updatePromptMessagesPromptsResponse200ApplicationJSONContent: UpdatePromptMessagesPromptsResponse200ApplicationJSONContent): string;
2727
+ export declare function updatePromptMessagesPromptsResponse200ApplicationJSONContentFromJSON(jsonString: string): SafeParseResult<UpdatePromptMessagesPromptsResponse200ApplicationJSONContent, SDKValidationError>;
2035
2728
  /** @internal */
2036
- export declare const UpdatePromptPromptsVerbosity$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsVerbosity>;
2729
+ export declare const UpdatePromptMessagesPromptsAudio$inboundSchema: z.ZodType<UpdatePromptMessagesPromptsAudio, z.ZodTypeDef, unknown>;
2037
2730
  /** @internal */
2038
- export declare const UpdatePromptPromptsVerbosity$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsVerbosity>;
2731
+ export type UpdatePromptMessagesPromptsAudio$Outbound = {
2732
+ id: string;
2733
+ };
2039
2734
  /** @internal */
2040
- export declare const UpdatePromptPromptsThinkingLevel$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsThinkingLevel>;
2735
+ export declare const UpdatePromptMessagesPromptsAudio$outboundSchema: z.ZodType<UpdatePromptMessagesPromptsAudio$Outbound, z.ZodTypeDef, UpdatePromptMessagesPromptsAudio>;
2736
+ export declare function updatePromptMessagesPromptsAudioToJSON(updatePromptMessagesPromptsAudio: UpdatePromptMessagesPromptsAudio): string;
2737
+ export declare function updatePromptMessagesPromptsAudioFromJSON(jsonString: string): SafeParseResult<UpdatePromptMessagesPromptsAudio, SDKValidationError>;
2041
2738
  /** @internal */
2042
- export declare const UpdatePromptPromptsThinkingLevel$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsThinkingLevel>;
2739
+ export declare const UpdatePromptMessagesPromptsResponseType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptMessagesPromptsResponseType>;
2043
2740
  /** @internal */
2044
- export declare const UpdatePromptPromptsModelParameters$inboundSchema: z.ZodType<UpdatePromptPromptsModelParameters, z.ZodTypeDef, unknown>;
2741
+ export declare const UpdatePromptMessagesPromptsResponseType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptMessagesPromptsResponseType>;
2045
2742
  /** @internal */
2046
- export type UpdatePromptPromptsModelParameters$Outbound = {
2047
- temperature?: number | undefined;
2048
- maxTokens?: number | undefined;
2049
- topK?: number | undefined;
2050
- topP?: number | undefined;
2051
- frequencyPenalty?: number | undefined;
2052
- presencePenalty?: number | undefined;
2053
- numImages?: number | undefined;
2054
- seed?: number | undefined;
2055
- format?: string | undefined;
2056
- dimensions?: string | undefined;
2057
- quality?: string | undefined;
2058
- style?: string | undefined;
2059
- responseFormat?: UpdatePromptResponseFormatPrompts1$Outbound | UpdatePromptResponseFormatPrompts2$Outbound | UpdatePromptResponseFormatPrompts3$Outbound | string | string | string | null | undefined;
2060
- photoRealVersion?: string | undefined;
2061
- encoding_format?: string | undefined;
2062
- reasoningEffort?: string | undefined;
2063
- budgetTokens?: number | undefined;
2064
- verbosity?: string | undefined;
2065
- thinkingLevel?: string | undefined;
2066
- };
2743
+ export declare const UpdatePromptMessagesPromptsFunction$inboundSchema: z.ZodType<UpdatePromptMessagesPromptsFunction, z.ZodTypeDef, unknown>;
2067
2744
  /** @internal */
2068
- export declare const UpdatePromptPromptsModelParameters$outboundSchema: z.ZodType<UpdatePromptPromptsModelParameters$Outbound, z.ZodTypeDef, UpdatePromptPromptsModelParameters>;
2069
- export declare function updatePromptPromptsModelParametersToJSON(updatePromptPromptsModelParameters: UpdatePromptPromptsModelParameters): string;
2070
- export declare function updatePromptPromptsModelParametersFromJSON(jsonString: string): SafeParseResult<UpdatePromptPromptsModelParameters, SDKValidationError>;
2745
+ export type UpdatePromptMessagesPromptsFunction$Outbound = {
2746
+ name?: string | undefined;
2747
+ arguments?: string | undefined;
2748
+ };
2071
2749
  /** @internal */
2072
- export declare const UpdatePromptProvider$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptProvider>;
2750
+ export declare const UpdatePromptMessagesPromptsFunction$outboundSchema: z.ZodType<UpdatePromptMessagesPromptsFunction$Outbound, z.ZodTypeDef, UpdatePromptMessagesPromptsFunction>;
2751
+ export declare function updatePromptMessagesPromptsFunctionToJSON(updatePromptMessagesPromptsFunction: UpdatePromptMessagesPromptsFunction): string;
2752
+ export declare function updatePromptMessagesPromptsFunctionFromJSON(jsonString: string): SafeParseResult<UpdatePromptMessagesPromptsFunction, SDKValidationError>;
2073
2753
  /** @internal */
2074
- export declare const UpdatePromptProvider$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptProvider>;
2754
+ export declare const UpdatePromptMessagesPromptsToolCalls$inboundSchema: z.ZodType<UpdatePromptMessagesPromptsToolCalls, z.ZodTypeDef, unknown>;
2075
2755
  /** @internal */
2076
- export declare const UpdatePromptPromptsRole$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsRole>;
2756
+ export type UpdatePromptMessagesPromptsToolCalls$Outbound = {
2757
+ id: string;
2758
+ type: string;
2759
+ function: UpdatePromptMessagesPromptsFunction$Outbound;
2760
+ thought_signature?: string | undefined;
2761
+ };
2077
2762
  /** @internal */
2078
- export declare const UpdatePromptPromptsRole$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsRole>;
2763
+ export declare const UpdatePromptMessagesPromptsToolCalls$outboundSchema: z.ZodType<UpdatePromptMessagesPromptsToolCalls$Outbound, z.ZodTypeDef, UpdatePromptMessagesPromptsToolCalls>;
2764
+ export declare function updatePromptMessagesPromptsToolCallsToJSON(updatePromptMessagesPromptsToolCalls: UpdatePromptMessagesPromptsToolCalls): string;
2765
+ export declare function updatePromptMessagesPromptsToolCallsFromJSON(jsonString: string): SafeParseResult<UpdatePromptMessagesPromptsToolCalls, SDKValidationError>;
2079
2766
  /** @internal */
2080
- export declare const UpdatePrompt2PromptsFile$inboundSchema: z.ZodType<UpdatePrompt2PromptsFile, z.ZodTypeDef, unknown>;
2767
+ export declare const UpdatePromptMessagesPromptsAssistantMessage$inboundSchema: z.ZodType<UpdatePromptMessagesPromptsAssistantMessage, z.ZodTypeDef, unknown>;
2081
2768
  /** @internal */
2082
- export type UpdatePrompt2PromptsFile$Outbound = {
2083
- file_data?: string | undefined;
2084
- uri?: string | undefined;
2085
- mimeType?: string | undefined;
2086
- filename?: string | undefined;
2769
+ export type UpdatePromptMessagesPromptsAssistantMessage$Outbound = {
2770
+ content?: string | Array<(components.TextContentPartSchema$Outbound & {
2771
+ type: "text";
2772
+ }) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound> | null | undefined;
2773
+ refusal?: string | null | undefined;
2774
+ role: "assistant";
2775
+ name?: string | undefined;
2776
+ audio?: UpdatePromptMessagesPromptsAudio$Outbound | null | undefined;
2777
+ tool_calls?: Array<UpdatePromptMessagesPromptsToolCalls$Outbound> | undefined;
2087
2778
  };
2088
2779
  /** @internal */
2089
- export declare const UpdatePrompt2PromptsFile$outboundSchema: z.ZodType<UpdatePrompt2PromptsFile$Outbound, z.ZodTypeDef, UpdatePrompt2PromptsFile>;
2090
- export declare function updatePrompt2PromptsFileToJSON(updatePrompt2PromptsFile: UpdatePrompt2PromptsFile): string;
2091
- export declare function updatePrompt2PromptsFileFromJSON(jsonString: string): SafeParseResult<UpdatePrompt2PromptsFile, SDKValidationError>;
2780
+ export declare const UpdatePromptMessagesPromptsAssistantMessage$outboundSchema: z.ZodType<UpdatePromptMessagesPromptsAssistantMessage$Outbound, z.ZodTypeDef, UpdatePromptMessagesPromptsAssistantMessage>;
2781
+ export declare function updatePromptMessagesPromptsAssistantMessageToJSON(updatePromptMessagesPromptsAssistantMessage: UpdatePromptMessagesPromptsAssistantMessage): string;
2782
+ export declare function updatePromptMessagesPromptsAssistantMessageFromJSON(jsonString: string): SafeParseResult<UpdatePromptMessagesPromptsAssistantMessage, SDKValidationError>;
2092
2783
  /** @internal */
2093
- export declare const UpdatePrompt2Prompts3$inboundSchema: z.ZodType<UpdatePrompt2Prompts3, z.ZodTypeDef, unknown>;
2784
+ export declare const UpdatePrompt2PromptsResponse200ApplicationJSONResponseBodyPromptType$inboundSchema: z.ZodNativeEnum<typeof UpdatePrompt2PromptsResponse200ApplicationJSONResponseBodyPromptType>;
2094
2785
  /** @internal */
2095
- export type UpdatePrompt2Prompts3$Outbound = {
2096
- type: "file";
2097
- file: UpdatePrompt2PromptsFile$Outbound;
2098
- };
2786
+ export declare const UpdatePrompt2PromptsResponse200ApplicationJSONResponseBodyPromptType$outboundSchema: z.ZodNativeEnum<typeof UpdatePrompt2PromptsResponse200ApplicationJSONResponseBodyPromptType>;
2099
2787
  /** @internal */
2100
- export declare const UpdatePrompt2Prompts3$outboundSchema: z.ZodType<UpdatePrompt2Prompts3$Outbound, z.ZodTypeDef, UpdatePrompt2Prompts3>;
2101
- export declare function updatePrompt2Prompts3ToJSON(updatePrompt2Prompts3: UpdatePrompt2Prompts3): string;
2102
- export declare function updatePrompt2Prompts3FromJSON(jsonString: string): SafeParseResult<UpdatePrompt2Prompts3, SDKValidationError>;
2788
+ export declare const UpdatePrompt2PromptsTtl$inboundSchema: z.ZodNativeEnum<typeof UpdatePrompt2PromptsTtl>;
2103
2789
  /** @internal */
2104
- export declare const UpdatePrompt2PromptsImageUrl$inboundSchema: z.ZodType<UpdatePrompt2PromptsImageUrl, z.ZodTypeDef, unknown>;
2790
+ export declare const UpdatePrompt2PromptsTtl$outboundSchema: z.ZodNativeEnum<typeof UpdatePrompt2PromptsTtl>;
2105
2791
  /** @internal */
2106
- export type UpdatePrompt2PromptsImageUrl$Outbound = {
2107
- id?: string | undefined;
2108
- url: string;
2109
- detail?: string | undefined;
2792
+ export declare const UpdatePrompt2PromptsCacheControl$inboundSchema: z.ZodType<UpdatePrompt2PromptsCacheControl, z.ZodTypeDef, unknown>;
2793
+ /** @internal */
2794
+ export type UpdatePrompt2PromptsCacheControl$Outbound = {
2795
+ type: string;
2796
+ ttl: string;
2110
2797
  };
2111
2798
  /** @internal */
2112
- export declare const UpdatePrompt2PromptsImageUrl$outboundSchema: z.ZodType<UpdatePrompt2PromptsImageUrl$Outbound, z.ZodTypeDef, UpdatePrompt2PromptsImageUrl>;
2113
- export declare function updatePrompt2PromptsImageUrlToJSON(updatePrompt2PromptsImageUrl: UpdatePrompt2PromptsImageUrl): string;
2114
- export declare function updatePrompt2PromptsImageUrlFromJSON(jsonString: string): SafeParseResult<UpdatePrompt2PromptsImageUrl, SDKValidationError>;
2799
+ export declare const UpdatePrompt2PromptsCacheControl$outboundSchema: z.ZodType<UpdatePrompt2PromptsCacheControl$Outbound, z.ZodTypeDef, UpdatePrompt2PromptsCacheControl>;
2800
+ export declare function updatePrompt2PromptsCacheControlToJSON(updatePrompt2PromptsCacheControl: UpdatePrompt2PromptsCacheControl): string;
2801
+ export declare function updatePrompt2PromptsCacheControlFromJSON(jsonString: string): SafeParseResult<UpdatePrompt2PromptsCacheControl, SDKValidationError>;
2115
2802
  /** @internal */
2116
- export declare const UpdatePrompt2Prompts2$inboundSchema: z.ZodType<UpdatePrompt2Prompts2, z.ZodTypeDef, unknown>;
2803
+ export declare const UpdatePrompt2Prompts4$inboundSchema: z.ZodType<UpdatePrompt2Prompts4, z.ZodTypeDef, unknown>;
2117
2804
  /** @internal */
2118
- export type UpdatePrompt2Prompts2$Outbound = {
2119
- type: "image_url";
2120
- image_url: UpdatePrompt2PromptsImageUrl$Outbound;
2805
+ export type UpdatePrompt2Prompts4$Outbound = {
2806
+ type: "file";
2807
+ cache_control?: UpdatePrompt2PromptsCacheControl$Outbound | undefined;
2808
+ file: components.FileContentPartSchema$Outbound;
2121
2809
  };
2122
2810
  /** @internal */
2123
- export declare const UpdatePrompt2Prompts2$outboundSchema: z.ZodType<UpdatePrompt2Prompts2$Outbound, z.ZodTypeDef, UpdatePrompt2Prompts2>;
2124
- export declare function updatePrompt2Prompts2ToJSON(updatePrompt2Prompts2: UpdatePrompt2Prompts2): string;
2125
- export declare function updatePrompt2Prompts2FromJSON(jsonString: string): SafeParseResult<UpdatePrompt2Prompts2, SDKValidationError>;
2811
+ export declare const UpdatePrompt2Prompts4$outboundSchema: z.ZodType<UpdatePrompt2Prompts4$Outbound, z.ZodTypeDef, UpdatePrompt2Prompts4>;
2812
+ export declare function updatePrompt2Prompts4ToJSON(updatePrompt2Prompts4: UpdatePrompt2Prompts4): string;
2813
+ export declare function updatePrompt2Prompts4FromJSON(jsonString: string): SafeParseResult<UpdatePrompt2Prompts4, SDKValidationError>;
2126
2814
  /** @internal */
2127
- export declare const UpdatePrompt2Prompts1$inboundSchema: z.ZodType<UpdatePrompt2Prompts1, z.ZodTypeDef, unknown>;
2815
+ export declare const UpdatePromptContentPromptsResponse2002$inboundSchema: z.ZodType<UpdatePromptContentPromptsResponse2002, z.ZodTypeDef, unknown>;
2128
2816
  /** @internal */
2129
- export type UpdatePrompt2Prompts1$Outbound = {
2817
+ export type UpdatePromptContentPromptsResponse2002$Outbound = (components.TextContentPartSchema$Outbound & {
2130
2818
  type: "text";
2131
- text: string;
2132
- };
2819
+ }) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | UpdatePrompt2Prompts4$Outbound;
2133
2820
  /** @internal */
2134
- export declare const UpdatePrompt2Prompts1$outboundSchema: z.ZodType<UpdatePrompt2Prompts1$Outbound, z.ZodTypeDef, UpdatePrompt2Prompts1>;
2135
- export declare function updatePrompt2Prompts1ToJSON(updatePrompt2Prompts1: UpdatePrompt2Prompts1): string;
2136
- export declare function updatePrompt2Prompts1FromJSON(jsonString: string): SafeParseResult<UpdatePrompt2Prompts1, SDKValidationError>;
2821
+ export declare const UpdatePromptContentPromptsResponse2002$outboundSchema: z.ZodType<UpdatePromptContentPromptsResponse2002$Outbound, z.ZodTypeDef, UpdatePromptContentPromptsResponse2002>;
2822
+ export declare function updatePromptContentPromptsResponse2002ToJSON(updatePromptContentPromptsResponse2002: UpdatePromptContentPromptsResponse2002): string;
2823
+ export declare function updatePromptContentPromptsResponse2002FromJSON(jsonString: string): SafeParseResult<UpdatePromptContentPromptsResponse2002, SDKValidationError>;
2137
2824
  /** @internal */
2138
- export declare const UpdatePromptContentPromptsResponse2$inboundSchema: z.ZodType<UpdatePromptContentPromptsResponse2, z.ZodTypeDef, unknown>;
2139
- /** @internal */
2140
- export type UpdatePromptContentPromptsResponse2$Outbound = UpdatePrompt2Prompts1$Outbound | UpdatePrompt2Prompts2$Outbound | UpdatePrompt2Prompts3$Outbound;
2141
- /** @internal */
2142
- export declare const UpdatePromptContentPromptsResponse2$outboundSchema: z.ZodType<UpdatePromptContentPromptsResponse2$Outbound, z.ZodTypeDef, UpdatePromptContentPromptsResponse2>;
2143
- export declare function updatePromptContentPromptsResponse2ToJSON(updatePromptContentPromptsResponse2: UpdatePromptContentPromptsResponse2): string;
2144
- export declare function updatePromptContentPromptsResponse2FromJSON(jsonString: string): SafeParseResult<UpdatePromptContentPromptsResponse2, SDKValidationError>;
2825
+ export declare const UpdatePromptMessagesPromptsResponse200Content$inboundSchema: z.ZodType<UpdatePromptMessagesPromptsResponse200Content, z.ZodTypeDef, unknown>;
2145
2826
  /** @internal */
2146
- export declare const UpdatePromptPromptsContent$inboundSchema: z.ZodType<UpdatePromptPromptsContent, z.ZodTypeDef, unknown>;
2827
+ export type UpdatePromptMessagesPromptsResponse200Content$Outbound = string | Array<(components.TextContentPartSchema$Outbound & {
2828
+ type: "text";
2829
+ }) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | UpdatePrompt2Prompts4$Outbound>;
2147
2830
  /** @internal */
2148
- export type UpdatePromptPromptsContent$Outbound = string | Array<UpdatePrompt2Prompts1$Outbound | UpdatePrompt2Prompts2$Outbound | UpdatePrompt2Prompts3$Outbound>;
2831
+ export declare const UpdatePromptMessagesPromptsResponse200Content$outboundSchema: z.ZodType<UpdatePromptMessagesPromptsResponse200Content$Outbound, z.ZodTypeDef, UpdatePromptMessagesPromptsResponse200Content>;
2832
+ export declare function updatePromptMessagesPromptsResponse200ContentToJSON(updatePromptMessagesPromptsResponse200Content: UpdatePromptMessagesPromptsResponse200Content): string;
2833
+ export declare function updatePromptMessagesPromptsResponse200ContentFromJSON(jsonString: string): SafeParseResult<UpdatePromptMessagesPromptsResponse200Content, SDKValidationError>;
2149
2834
  /** @internal */
2150
- export declare const UpdatePromptPromptsContent$outboundSchema: z.ZodType<UpdatePromptPromptsContent$Outbound, z.ZodTypeDef, UpdatePromptPromptsContent>;
2151
- export declare function updatePromptPromptsContentToJSON(updatePromptPromptsContent: UpdatePromptPromptsContent): string;
2152
- export declare function updatePromptPromptsContentFromJSON(jsonString: string): SafeParseResult<UpdatePromptPromptsContent, SDKValidationError>;
2835
+ export declare const UpdatePromptMessagesPromptsUserMessage$inboundSchema: z.ZodType<UpdatePromptMessagesPromptsUserMessage, z.ZodTypeDef, unknown>;
2153
2836
  /** @internal */
2154
- export declare const UpdatePromptPromptsResponseType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsResponseType>;
2837
+ export type UpdatePromptMessagesPromptsUserMessage$Outbound = {
2838
+ role: "user";
2839
+ name?: string | undefined;
2840
+ content: string | Array<(components.TextContentPartSchema$Outbound & {
2841
+ type: "text";
2842
+ }) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | UpdatePrompt2Prompts4$Outbound>;
2843
+ };
2155
2844
  /** @internal */
2156
- export declare const UpdatePromptPromptsResponseType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsResponseType>;
2845
+ export declare const UpdatePromptMessagesPromptsUserMessage$outboundSchema: z.ZodType<UpdatePromptMessagesPromptsUserMessage$Outbound, z.ZodTypeDef, UpdatePromptMessagesPromptsUserMessage>;
2846
+ export declare function updatePromptMessagesPromptsUserMessageToJSON(updatePromptMessagesPromptsUserMessage: UpdatePromptMessagesPromptsUserMessage): string;
2847
+ export declare function updatePromptMessagesPromptsUserMessageFromJSON(jsonString: string): SafeParseResult<UpdatePromptMessagesPromptsUserMessage, SDKValidationError>;
2157
2848
  /** @internal */
2158
- export declare const UpdatePromptPromptsFunction$inboundSchema: z.ZodType<UpdatePromptPromptsFunction, z.ZodTypeDef, unknown>;
2849
+ export declare const UpdatePromptMessagesPromptsResponseContent$inboundSchema: z.ZodType<UpdatePromptMessagesPromptsResponseContent, z.ZodTypeDef, unknown>;
2159
2850
  /** @internal */
2160
- export type UpdatePromptPromptsFunction$Outbound = {
2161
- name: string;
2162
- arguments: string;
2163
- };
2851
+ export type UpdatePromptMessagesPromptsResponseContent$Outbound = string | Array<components.TextContentPartSchema$Outbound>;
2164
2852
  /** @internal */
2165
- export declare const UpdatePromptPromptsFunction$outboundSchema: z.ZodType<UpdatePromptPromptsFunction$Outbound, z.ZodTypeDef, UpdatePromptPromptsFunction>;
2166
- export declare function updatePromptPromptsFunctionToJSON(updatePromptPromptsFunction: UpdatePromptPromptsFunction): string;
2167
- export declare function updatePromptPromptsFunctionFromJSON(jsonString: string): SafeParseResult<UpdatePromptPromptsFunction, SDKValidationError>;
2853
+ export declare const UpdatePromptMessagesPromptsResponseContent$outboundSchema: z.ZodType<UpdatePromptMessagesPromptsResponseContent$Outbound, z.ZodTypeDef, UpdatePromptMessagesPromptsResponseContent>;
2854
+ export declare function updatePromptMessagesPromptsResponseContentToJSON(updatePromptMessagesPromptsResponseContent: UpdatePromptMessagesPromptsResponseContent): string;
2855
+ export declare function updatePromptMessagesPromptsResponseContentFromJSON(jsonString: string): SafeParseResult<UpdatePromptMessagesPromptsResponseContent, SDKValidationError>;
2168
2856
  /** @internal */
2169
- export declare const UpdatePromptPromptsToolCalls$inboundSchema: z.ZodType<UpdatePromptPromptsToolCalls, z.ZodTypeDef, unknown>;
2857
+ export declare const UpdatePromptMessagesPromptsSystemMessage$inboundSchema: z.ZodType<UpdatePromptMessagesPromptsSystemMessage, z.ZodTypeDef, unknown>;
2170
2858
  /** @internal */
2171
- export type UpdatePromptPromptsToolCalls$Outbound = {
2172
- id?: string | undefined;
2173
- index?: number | undefined;
2174
- type: string;
2175
- function: UpdatePromptPromptsFunction$Outbound;
2859
+ export type UpdatePromptMessagesPromptsSystemMessage$Outbound = {
2860
+ role: "system";
2861
+ content: string | Array<components.TextContentPartSchema$Outbound>;
2862
+ name?: string | undefined;
2176
2863
  };
2177
2864
  /** @internal */
2178
- export declare const UpdatePromptPromptsToolCalls$outboundSchema: z.ZodType<UpdatePromptPromptsToolCalls$Outbound, z.ZodTypeDef, UpdatePromptPromptsToolCalls>;
2179
- export declare function updatePromptPromptsToolCallsToJSON(updatePromptPromptsToolCalls: UpdatePromptPromptsToolCalls): string;
2180
- export declare function updatePromptPromptsToolCallsFromJSON(jsonString: string): SafeParseResult<UpdatePromptPromptsToolCalls, SDKValidationError>;
2865
+ export declare const UpdatePromptMessagesPromptsSystemMessage$outboundSchema: z.ZodType<UpdatePromptMessagesPromptsSystemMessage$Outbound, z.ZodTypeDef, UpdatePromptMessagesPromptsSystemMessage>;
2866
+ export declare function updatePromptMessagesPromptsSystemMessageToJSON(updatePromptMessagesPromptsSystemMessage: UpdatePromptMessagesPromptsSystemMessage): string;
2867
+ export declare function updatePromptMessagesPromptsSystemMessageFromJSON(jsonString: string): SafeParseResult<UpdatePromptMessagesPromptsSystemMessage, SDKValidationError>;
2181
2868
  /** @internal */
2182
2869
  export declare const UpdatePromptPromptsResponseMessages$inboundSchema: z.ZodType<UpdatePromptPromptsResponseMessages, z.ZodTypeDef, unknown>;
2183
2870
  /** @internal */
2184
- export type UpdatePromptPromptsResponseMessages$Outbound = {
2185
- role: string;
2186
- content: string | Array<UpdatePrompt2Prompts1$Outbound | UpdatePrompt2Prompts2$Outbound | UpdatePrompt2Prompts3$Outbound> | null;
2187
- tool_calls?: Array<UpdatePromptPromptsToolCalls$Outbound> | undefined;
2188
- tool_call_id?: string | null | undefined;
2189
- };
2871
+ export type UpdatePromptPromptsResponseMessages$Outbound = UpdatePromptMessagesPromptsSystemMessage$Outbound | UpdatePromptMessagesPromptsUserMessage$Outbound | UpdatePromptMessagesPromptsAssistantMessage$Outbound | UpdatePromptMessagesPromptsToolMessage$Outbound;
2190
2872
  /** @internal */
2191
2873
  export declare const UpdatePromptPromptsResponseMessages$outboundSchema: z.ZodType<UpdatePromptPromptsResponseMessages$Outbound, z.ZodTypeDef, UpdatePromptPromptsResponseMessages>;
2192
2874
  export declare function updatePromptPromptsResponseMessagesToJSON(updatePromptPromptsResponseMessages: UpdatePromptPromptsResponseMessages): string;
2193
2875
  export declare function updatePromptPromptsResponseMessagesFromJSON(jsonString: string): SafeParseResult<UpdatePromptPromptsResponseMessages, SDKValidationError>;
2194
2876
  /** @internal */
2195
- export declare const UpdatePromptPromptConfig$inboundSchema: z.ZodType<UpdatePromptPromptConfig, z.ZodTypeDef, unknown>;
2877
+ export declare const UpdatePromptPromptField$inboundSchema: z.ZodType<UpdatePromptPromptField, z.ZodTypeDef, unknown>;
2196
2878
  /** @internal */
2197
- export type UpdatePromptPromptConfig$Outbound = {
2198
- stream?: boolean | undefined;
2199
- model?: string | undefined;
2200
- model_db_id?: string | null | undefined;
2201
- model_type?: string | null | undefined;
2202
- model_parameters?: UpdatePromptPromptsModelParameters$Outbound | undefined;
2203
- provider?: string | undefined;
2204
- integration_id?: string | null | undefined;
2879
+ export type UpdatePromptPromptField$Outbound = {
2880
+ audio?: UpdatePromptPromptsAudio$Outbound | null | undefined;
2881
+ frequency_penalty?: number | null | undefined;
2882
+ max_tokens?: number | null | undefined;
2883
+ max_completion_tokens?: number | null | undefined;
2884
+ logprobs?: boolean | null | undefined;
2885
+ top_logprobs?: number | null | undefined;
2886
+ n?: number | null | undefined;
2887
+ presence_penalty?: number | null | undefined;
2888
+ response_format?: UpdatePromptResponseFormatPromptsText$Outbound | UpdatePromptResponseFormatPromptsJSONObject$Outbound | UpdatePromptResponseFormatPromptsResponse200JSONSchema$Outbound | undefined;
2889
+ reasoning_effort?: string | undefined;
2890
+ verbosity?: string | undefined;
2891
+ seed?: number | null | undefined;
2892
+ stop?: string | Array<string> | null | undefined;
2893
+ stream_options?: UpdatePromptPromptsStreamOptions$Outbound | null | undefined;
2894
+ thinking?: components.ThinkingConfigDisabledSchema$Outbound | components.ThinkingConfigEnabledSchema$Outbound | undefined;
2895
+ temperature?: number | null | undefined;
2896
+ top_p?: number | null | undefined;
2897
+ top_k?: number | null | undefined;
2898
+ tool_choice?: UpdatePromptToolChoicePrompts2$Outbound | string | undefined;
2899
+ parallel_tool_calls?: boolean | undefined;
2900
+ modalities?: Array<string> | null | undefined;
2901
+ guardrails?: Array<UpdatePromptPromptsGuardrails$Outbound> | undefined;
2902
+ messages?: Array<UpdatePromptMessagesPromptsSystemMessage$Outbound | UpdatePromptMessagesPromptsUserMessage$Outbound | UpdatePromptMessagesPromptsAssistantMessage$Outbound | UpdatePromptMessagesPromptsToolMessage$Outbound> | undefined;
2903
+ model?: string | null | undefined;
2205
2904
  version?: string | undefined;
2206
- messages: Array<UpdatePromptPromptsResponseMessages$Outbound>;
2207
2905
  };
2208
2906
  /** @internal */
2209
- export declare const UpdatePromptPromptConfig$outboundSchema: z.ZodType<UpdatePromptPromptConfig$Outbound, z.ZodTypeDef, UpdatePromptPromptConfig>;
2210
- export declare function updatePromptPromptConfigToJSON(updatePromptPromptConfig: UpdatePromptPromptConfig): string;
2211
- export declare function updatePromptPromptConfigFromJSON(jsonString: string): SafeParseResult<UpdatePromptPromptConfig, SDKValidationError>;
2907
+ export declare const UpdatePromptPromptField$outboundSchema: z.ZodType<UpdatePromptPromptField$Outbound, z.ZodTypeDef, UpdatePromptPromptField>;
2908
+ export declare function updatePromptPromptFieldToJSON(updatePromptPromptField: UpdatePromptPromptField): string;
2909
+ export declare function updatePromptPromptFieldFromJSON(jsonString: string): SafeParseResult<UpdatePromptPromptField, SDKValidationError>;
2212
2910
  /** @internal */
2213
2911
  export declare const UpdatePromptPromptsUseCases$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsUseCases>;
2214
2912
  /** @internal */
@@ -2242,7 +2940,8 @@ export type UpdatePromptPrompt$Outbound = {
2242
2940
  updated_by_id?: string | null | undefined;
2243
2941
  display_name: string;
2244
2942
  description?: string | null | undefined;
2245
- prompt_config: UpdatePromptPromptConfig$Outbound;
2943
+ prompt_config?: UpdatePromptPromptConfig$Outbound | undefined;
2944
+ prompt: UpdatePromptPromptField$Outbound;
2246
2945
  metadata?: UpdatePromptPromptsMetadata$Outbound | undefined;
2247
2946
  };
2248
2947
  /** @internal */