@orq-ai/node 4.0.0-rc.5 → 4.0.0-rc.7

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 (154) hide show
  1. package/bin/mcp-server.js +7487 -543
  2. package/bin/mcp-server.js.map +52 -52
  3. package/examples/package-lock.json +1 -1
  4. package/jsr.json +1 -1
  5. package/lib/config.d.ts +2 -2
  6. package/lib/config.js +2 -2
  7. package/mcp-server/mcp-server.js +1 -1
  8. package/mcp-server/server.js +1 -1
  9. package/models/operations/createagent.d.ts +4141 -865
  10. package/models/operations/createagent.d.ts.map +1 -1
  11. package/models/operations/createagent.js +3767 -768
  12. package/models/operations/createagent.js.map +1 -1
  13. package/models/operations/createbudget.js +2 -2
  14. package/models/operations/createcontact.js +2 -2
  15. package/models/operations/createdataset.js +2 -2
  16. package/models/operations/createdatasetitem.js +8 -8
  17. package/models/operations/createdatasource.js +2 -2
  18. package/models/operations/createeval.js +28 -28
  19. package/models/operations/creatememorystore.d.ts +42 -42
  20. package/models/operations/creatememorystore.d.ts.map +1 -1
  21. package/models/operations/creatememorystore.js +61 -63
  22. package/models/operations/creatememorystore.js.map +1 -1
  23. package/models/operations/createprompt.d.ts +263 -263
  24. package/models/operations/createprompt.d.ts.map +1 -1
  25. package/models/operations/createprompt.js +345 -345
  26. package/models/operations/createprompt.js.map +1 -1
  27. package/models/operations/createtool.js +10 -10
  28. package/models/operations/deploymentgetconfig.d.ts +19 -19
  29. package/models/operations/deploymentgetconfig.d.ts.map +1 -1
  30. package/models/operations/deploymentgetconfig.js +22 -22
  31. package/models/operations/deploymentgetconfig.js.map +1 -1
  32. package/models/operations/deployments.d.ts +4 -4
  33. package/models/operations/deployments.d.ts.map +1 -1
  34. package/models/operations/deployments.js +4 -4
  35. package/models/operations/deployments.js.map +1 -1
  36. package/models/operations/duplicatetool.js +10 -10
  37. package/models/operations/fileget.js +2 -2
  38. package/models/operations/filelist.js +2 -2
  39. package/models/operations/fileupload.js +2 -2
  40. package/models/operations/getagent.d.ts +1614 -11
  41. package/models/operations/getagent.d.ts.map +1 -1
  42. package/models/operations/getagent.js +1475 -9
  43. package/models/operations/getagent.js.map +1 -1
  44. package/models/operations/getallprompts.d.ts +4 -4
  45. package/models/operations/getallprompts.d.ts.map +1 -1
  46. package/models/operations/getallprompts.js +4 -4
  47. package/models/operations/getallprompts.js.map +1 -1
  48. package/models/operations/getalltools.js +10 -10
  49. package/models/operations/getbudget.js +2 -2
  50. package/models/operations/getevals.js +28 -28
  51. package/models/operations/getoneprompt.d.ts +4 -4
  52. package/models/operations/getoneprompt.d.ts.map +1 -1
  53. package/models/operations/getoneprompt.js +4 -4
  54. package/models/operations/getoneprompt.js.map +1 -1
  55. package/models/operations/getpromptversion.d.ts +4 -4
  56. package/models/operations/getpromptversion.d.ts.map +1 -1
  57. package/models/operations/getpromptversion.js +4 -4
  58. package/models/operations/getpromptversion.js.map +1 -1
  59. package/models/operations/listagents.d.ts +1614 -11
  60. package/models/operations/listagents.d.ts.map +1 -1
  61. package/models/operations/listagents.js +1481 -9
  62. package/models/operations/listagents.js.map +1 -1
  63. package/models/operations/listagenttasks.d.ts +1614 -11
  64. package/models/operations/listagenttasks.d.ts.map +1 -1
  65. package/models/operations/listagenttasks.js +1479 -9
  66. package/models/operations/listagenttasks.js.map +1 -1
  67. package/models/operations/listbudgets.js +2 -2
  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/listpromptversions.d.ts +4 -4
  73. package/models/operations/listpromptversions.d.ts.map +1 -1
  74. package/models/operations/listpromptversions.js +4 -4
  75. package/models/operations/listpromptversions.js.map +1 -1
  76. package/models/operations/retrievecontact.js +2 -2
  77. package/models/operations/retrievedatapoint.js +8 -8
  78. package/models/operations/retrievedataset.js +2 -2
  79. package/models/operations/retrievedatasource.js +2 -2
  80. package/models/operations/retrievetool.js +10 -10
  81. package/models/operations/runagent.d.ts +2176 -503
  82. package/models/operations/runagent.d.ts.map +1 -1
  83. package/models/operations/runagent.js +1534 -9
  84. package/models/operations/runagent.js.map +1 -1
  85. package/models/operations/streamrunagent.d.ts +2128 -455
  86. package/models/operations/streamrunagent.d.ts.map +1 -1
  87. package/models/operations/streamrunagent.js +1630 -89
  88. package/models/operations/streamrunagent.js.map +1 -1
  89. package/models/operations/updateagent.d.ts +4129 -853
  90. package/models/operations/updateagent.d.ts.map +1 -1
  91. package/models/operations/updateagent.js +3837 -825
  92. package/models/operations/updateagent.js.map +1 -1
  93. package/models/operations/updatebudget.js +2 -2
  94. package/models/operations/updatecontact.js +2 -2
  95. package/models/operations/updatedatapoint.js +8 -8
  96. package/models/operations/updatedataset.js +2 -2
  97. package/models/operations/updatedatasource.js +2 -2
  98. package/models/operations/updateeval.js +28 -28
  99. package/models/operations/updateprompt.d.ts +8 -8
  100. package/models/operations/updateprompt.d.ts.map +1 -1
  101. package/models/operations/updateprompt.js +8 -8
  102. package/models/operations/updateprompt.js.map +1 -1
  103. package/models/operations/updatetool.js +10 -10
  104. package/package.json +1 -1
  105. package/src/lib/config.ts +2 -2
  106. package/src/mcp-server/mcp-server.ts +1 -1
  107. package/src/mcp-server/server.ts +1 -1
  108. package/src/models/operations/createagent.ts +7853 -1626
  109. package/src/models/operations/createbudget.ts +2 -2
  110. package/src/models/operations/createcontact.ts +2 -2
  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 +28 -28
  115. package/src/models/operations/creatememorystore.ts +120 -103
  116. package/src/models/operations/createprompt.ts +742 -621
  117. package/src/models/operations/createtool.ts +10 -10
  118. package/src/models/operations/deploymentgetconfig.ts +60 -44
  119. package/src/models/operations/deployments.ts +25 -20
  120. package/src/models/operations/duplicatetool.ts +10 -10
  121. package/src/models/operations/fileget.ts +2 -2
  122. package/src/models/operations/filelist.ts +2 -2
  123. package/src/models/operations/fileupload.ts +2 -2
  124. package/src/models/operations/getagent.ts +3274 -246
  125. package/src/models/operations/getallprompts.ts +30 -20
  126. package/src/models/operations/getalltools.ts +10 -10
  127. package/src/models/operations/getbudget.ts +2 -2
  128. package/src/models/operations/getevals.ts +28 -28
  129. package/src/models/operations/getoneprompt.ts +28 -20
  130. package/src/models/operations/getpromptversion.ts +30 -20
  131. package/src/models/operations/listagents.ts +3351 -270
  132. package/src/models/operations/listagenttasks.ts +3347 -180
  133. package/src/models/operations/listbudgets.ts +2 -2
  134. package/src/models/operations/listcontacts.ts +2 -2
  135. package/src/models/operations/listdatasetdatapoints.ts +8 -8
  136. package/src/models/operations/listdatasets.ts +2 -2
  137. package/src/models/operations/listdatasources.ts +2 -2
  138. package/src/models/operations/listpromptversions.ts +30 -20
  139. package/src/models/operations/retrievecontact.ts +2 -2
  140. package/src/models/operations/retrievedatapoint.ts +8 -8
  141. package/src/models/operations/retrievedataset.ts +2 -2
  142. package/src/models/operations/retrievedatasource.ts +2 -2
  143. package/src/models/operations/retrievetool.ts +10 -10
  144. package/src/models/operations/runagent.ts +3799 -610
  145. package/src/models/operations/streamrunagent.ts +3945 -605
  146. package/src/models/operations/updateagent.ts +8331 -1757
  147. package/src/models/operations/updatebudget.ts +2 -2
  148. package/src/models/operations/updatecontact.ts +2 -2
  149. package/src/models/operations/updatedatapoint.ts +8 -8
  150. package/src/models/operations/updatedataset.ts +2 -2
  151. package/src/models/operations/updatedatasource.ts +2 -2
  152. package/src/models/operations/updateeval.ts +28 -28
  153. package/src/models/operations/updateprompt.ts +58 -40
  154. package/src/models/operations/updatetool.ts +10 -10
@@ -137,7 +137,7 @@ export type CreatePrompt21 = {
137
137
  };
138
138
  export type CreatePromptContent2 = CreatePrompt21 | CreatePrompt22 | CreatePrompt23;
139
139
  /**
140
- * 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.
140
+ * 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.
141
141
  */
142
142
  export type CreatePromptContent = string | Array<CreatePrompt21 | CreatePrompt22 | CreatePrompt23>;
143
143
  export declare const CreatePromptType: {
@@ -163,9 +163,9 @@ export type CreatePromptMessages = {
163
163
  */
164
164
  role: CreatePromptRole;
165
165
  /**
166
- * 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.
166
+ * 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.
167
167
  */
168
- content: string | Array<CreatePrompt21 | CreatePrompt22 | CreatePrompt23>;
168
+ content: string | Array<CreatePrompt21 | CreatePrompt22 | CreatePrompt23> | null;
169
169
  toolCalls?: Array<CreatePromptToolCalls> | undefined;
170
170
  toolCallId?: string | undefined;
171
171
  };
@@ -204,25 +204,25 @@ export declare const ResponseFormat4: {
204
204
  readonly Pcm: "pcm";
205
205
  };
206
206
  export type ResponseFormat4 = ClosedEnum<typeof ResponseFormat4>;
207
- export declare const CreatePromptResponseFormatPromptsType: {
207
+ export declare const CreatePromptResponseFormatPromptsRequestType: {
208
208
  readonly Text: "text";
209
209
  };
210
- export type CreatePromptResponseFormatPromptsType = ClosedEnum<typeof CreatePromptResponseFormatPromptsType>;
211
- export type ResponseFormat3 = {
212
- type: CreatePromptResponseFormatPromptsType;
210
+ export type CreatePromptResponseFormatPromptsRequestType = ClosedEnum<typeof CreatePromptResponseFormatPromptsRequestType>;
211
+ export type CreatePromptResponseFormat3 = {
212
+ type: CreatePromptResponseFormatPromptsRequestType;
213
213
  };
214
- export declare const CreatePromptResponseFormatType: {
214
+ export declare const CreatePromptResponseFormatPromptsType: {
215
215
  readonly JsonObject: "json_object";
216
216
  };
217
- export type CreatePromptResponseFormatType = ClosedEnum<typeof CreatePromptResponseFormatType>;
218
- export type ResponseFormat2 = {
219
- type: CreatePromptResponseFormatType;
217
+ export type CreatePromptResponseFormatPromptsType = ClosedEnum<typeof CreatePromptResponseFormatPromptsType>;
218
+ export type CreatePromptResponseFormat2 = {
219
+ type: CreatePromptResponseFormatPromptsType;
220
220
  };
221
- export declare const ResponseFormatType: {
221
+ export declare const CreatePromptResponseFormatType: {
222
222
  readonly JsonSchema: "json_schema";
223
223
  };
224
- export type ResponseFormatType = ClosedEnum<typeof ResponseFormatType>;
225
- export type JsonSchema = {
224
+ export type CreatePromptResponseFormatType = ClosedEnum<typeof CreatePromptResponseFormatType>;
225
+ export type CreatePromptResponseFormatJsonSchema = {
226
226
  name: string;
227
227
  description?: string | undefined;
228
228
  strict?: boolean | undefined;
@@ -230,9 +230,9 @@ export type JsonSchema = {
230
230
  [k: string]: any;
231
231
  };
232
232
  };
233
- export type ResponseFormat1 = {
234
- type: ResponseFormatType;
235
- jsonSchema: JsonSchema;
233
+ export type CreatePromptResponseFormat1 = {
234
+ type: CreatePromptResponseFormatType;
235
+ jsonSchema: CreatePromptResponseFormatJsonSchema;
236
236
  };
237
237
  /**
238
238
  * An object specifying the format that the model must output.
@@ -245,7 +245,7 @@ export type ResponseFormat1 = {
245
245
  *
246
246
  * 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.
247
247
  */
248
- export type ResponseFormat = ResponseFormat1 | ResponseFormat2 | ResponseFormat3 | ResponseFormat4 | Five | Six;
248
+ export type CreatePromptResponseFormat = CreatePromptResponseFormat1 | CreatePromptResponseFormat2 | CreatePromptResponseFormat3 | ResponseFormat4 | Five | Six;
249
249
  /**
250
250
  * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
251
251
  */
@@ -357,7 +357,7 @@ export type ModelParameters = {
357
357
  *
358
358
  * 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.
359
359
  */
360
- responseFormat?: ResponseFormat1 | ResponseFormat2 | ResponseFormat3 | ResponseFormat4 | Five | Six | null | undefined;
360
+ responseFormat?: CreatePromptResponseFormat1 | CreatePromptResponseFormat2 | CreatePromptResponseFormat3 | ResponseFormat4 | Five | Six | null | undefined;
361
361
  /**
362
362
  * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
363
363
  */
@@ -755,11 +755,11 @@ export type CreatePromptMessagesSystemMessage = {
755
755
  name?: string | undefined;
756
756
  };
757
757
  export type CreatePromptPromptsMessages = CreatePromptMessagesToolMessage | CreatePromptMessagesSystemMessage | CreatePromptMessagesUserMessage | CreatePromptMessagesAssistantMessage;
758
- export declare const CreatePromptResponseFormatPromptsRequestRequestBodyPromptType: {
758
+ export declare const CreatePromptResponseFormatPromptsRequestRequestBodyPrompt3Type: {
759
759
  readonly JsonSchema: "json_schema";
760
760
  };
761
- export type CreatePromptResponseFormatPromptsRequestRequestBodyPromptType = ClosedEnum<typeof CreatePromptResponseFormatPromptsRequestRequestBodyPromptType>;
762
- export type ResponseFormatJsonSchema = {
761
+ export type CreatePromptResponseFormatPromptsRequestRequestBodyPrompt3Type = ClosedEnum<typeof CreatePromptResponseFormatPromptsRequestRequestBodyPrompt3Type>;
762
+ export type CreatePromptResponseFormatPromptsJsonSchema = {
763
763
  /**
764
764
  * A description of what the response format is for, used by the model to determine how to respond in the format.
765
765
  */
@@ -777,28 +777,28 @@ export type ResponseFormatJsonSchema = {
777
777
  */
778
778
  strict?: boolean | undefined;
779
779
  };
780
- export type CreatePromptResponseFormat3 = {
781
- type: CreatePromptResponseFormatPromptsRequestRequestBodyPromptType;
782
- jsonSchema: ResponseFormatJsonSchema;
780
+ export type CreatePromptResponseFormatPrompts3 = {
781
+ type: CreatePromptResponseFormatPromptsRequestRequestBodyPrompt3Type;
782
+ jsonSchema: CreatePromptResponseFormatPromptsJsonSchema;
783
783
  };
784
- export declare const CreatePromptResponseFormatPromptsRequestRequestBodyType: {
784
+ export declare const CreatePromptResponseFormatPromptsRequestRequestBodyPromptType: {
785
785
  readonly JsonObject: "json_object";
786
786
  };
787
- export type CreatePromptResponseFormatPromptsRequestRequestBodyType = ClosedEnum<typeof CreatePromptResponseFormatPromptsRequestRequestBodyType>;
788
- export type CreatePromptResponseFormat2 = {
789
- type: CreatePromptResponseFormatPromptsRequestRequestBodyType;
787
+ export type CreatePromptResponseFormatPromptsRequestRequestBodyPromptType = ClosedEnum<typeof CreatePromptResponseFormatPromptsRequestRequestBodyPromptType>;
788
+ export type CreatePromptResponseFormatPrompts2 = {
789
+ type: CreatePromptResponseFormatPromptsRequestRequestBodyPromptType;
790
790
  };
791
- export declare const CreatePromptResponseFormatPromptsRequestType: {
791
+ export declare const CreatePromptResponseFormatPromptsRequestRequestBodyType: {
792
792
  readonly Text: "text";
793
793
  };
794
- export type CreatePromptResponseFormatPromptsRequestType = ClosedEnum<typeof CreatePromptResponseFormatPromptsRequestType>;
795
- export type CreatePromptResponseFormat1 = {
796
- type: CreatePromptResponseFormatPromptsRequestType;
794
+ export type CreatePromptResponseFormatPromptsRequestRequestBodyType = ClosedEnum<typeof CreatePromptResponseFormatPromptsRequestRequestBodyType>;
795
+ export type CreatePromptResponseFormatPrompts1 = {
796
+ type: CreatePromptResponseFormatPromptsRequestRequestBodyType;
797
797
  };
798
798
  /**
799
799
  * An object specifying the format that the model must output
800
800
  */
801
- export type CreatePromptResponseFormat = CreatePromptResponseFormat3 | CreatePromptResponseFormat1 | CreatePromptResponseFormat2;
801
+ export type CreatePromptPromptsResponseFormat = CreatePromptResponseFormatPrompts3 | CreatePromptResponseFormatPrompts1 | CreatePromptResponseFormatPrompts2;
802
802
  /**
803
803
  * Prompt configuration with model and messages. Either this field or `prompt_config` must be provided.
804
804
  */
@@ -826,7 +826,7 @@ export type PromptInput = {
826
826
  /**
827
827
  * An object specifying the format that the model must output
828
828
  */
829
- responseFormat?: CreatePromptResponseFormat3 | CreatePromptResponseFormat1 | CreatePromptResponseFormat2 | undefined;
829
+ responseFormat?: CreatePromptResponseFormatPrompts3 | CreatePromptResponseFormatPrompts1 | CreatePromptResponseFormatPrompts2 | undefined;
830
830
  };
831
831
  export type CreatePromptRequestBody = {
832
832
  /**
@@ -920,21 +920,21 @@ export declare const CreatePromptResponseFormatPromptsResponse200ApplicationJSON
920
920
  readonly Text: "text";
921
921
  };
922
922
  export type CreatePromptResponseFormatPromptsResponse200ApplicationJSONType = ClosedEnum<typeof CreatePromptResponseFormatPromptsResponse200ApplicationJSONType>;
923
- export type CreatePromptResponseFormatPrompts3 = {
923
+ export type CreatePromptResponseFormatPromptsResponse3 = {
924
924
  type: CreatePromptResponseFormatPromptsResponse200ApplicationJSONType;
925
925
  };
926
926
  export declare const CreatePromptResponseFormatPromptsResponse200Type: {
927
927
  readonly JsonObject: "json_object";
928
928
  };
929
929
  export type CreatePromptResponseFormatPromptsResponse200Type = ClosedEnum<typeof CreatePromptResponseFormatPromptsResponse200Type>;
930
- export type CreatePromptResponseFormatPrompts2 = {
930
+ export type CreatePromptResponseFormatPromptsResponse2 = {
931
931
  type: CreatePromptResponseFormatPromptsResponse200Type;
932
932
  };
933
933
  export declare const CreatePromptResponseFormatPromptsResponseType: {
934
934
  readonly JsonSchema: "json_schema";
935
935
  };
936
936
  export type CreatePromptResponseFormatPromptsResponseType = ClosedEnum<typeof CreatePromptResponseFormatPromptsResponseType>;
937
- export type CreatePromptResponseFormatJsonSchema = {
937
+ export type CreatePromptResponseFormatPromptsResponseJsonSchema = {
938
938
  name: string;
939
939
  description?: string | undefined;
940
940
  strict?: boolean | undefined;
@@ -942,9 +942,9 @@ export type CreatePromptResponseFormatJsonSchema = {
942
942
  [k: string]: any;
943
943
  };
944
944
  };
945
- export type CreatePromptResponseFormatPrompts1 = {
945
+ export type CreatePromptResponseFormatPromptsResponse1 = {
946
946
  type: CreatePromptResponseFormatPromptsResponseType;
947
- jsonSchema: CreatePromptResponseFormatJsonSchema;
947
+ jsonSchema: CreatePromptResponseFormatPromptsResponseJsonSchema;
948
948
  };
949
949
  /**
950
950
  * An object specifying the format that the model must output.
@@ -957,7 +957,7 @@ export type CreatePromptResponseFormatPrompts1 = {
957
957
  *
958
958
  * 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.
959
959
  */
960
- export type CreatePromptPromptsResponseFormat = CreatePromptResponseFormatPrompts1 | CreatePromptResponseFormatPrompts2 | CreatePromptResponseFormatPrompts3 | CreatePromptResponseFormat4 | CreatePromptResponseFormat5 | CreatePromptResponseFormat6;
960
+ export type CreatePromptPromptsResponseResponseFormat = CreatePromptResponseFormatPromptsResponse1 | CreatePromptResponseFormatPromptsResponse2 | CreatePromptResponseFormatPromptsResponse3 | CreatePromptResponseFormat4 | CreatePromptResponseFormat5 | CreatePromptResponseFormat6;
961
961
  /**
962
962
  * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
963
963
  */
@@ -1069,7 +1069,7 @@ export type CreatePromptModelParameters = {
1069
1069
  *
1070
1070
  * 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.
1071
1071
  */
1072
- responseFormat?: CreatePromptResponseFormatPrompts1 | CreatePromptResponseFormatPrompts2 | CreatePromptResponseFormatPrompts3 | CreatePromptResponseFormat4 | CreatePromptResponseFormat5 | CreatePromptResponseFormat6 | null | undefined;
1072
+ responseFormat?: CreatePromptResponseFormatPromptsResponse1 | CreatePromptResponseFormatPromptsResponse2 | CreatePromptResponseFormatPromptsResponse3 | CreatePromptResponseFormat4 | CreatePromptResponseFormat5 | CreatePromptResponseFormat6 | null | undefined;
1073
1073
  /**
1074
1074
  * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
1075
1075
  */
@@ -1207,7 +1207,7 @@ export type CreatePrompt2PromptsResponse1 = {
1207
1207
  };
1208
1208
  export type CreatePromptContentPromptsResponse2 = CreatePrompt2PromptsResponse1 | CreatePrompt2PromptsResponse2 | CreatePrompt2PromptsResponse3;
1209
1209
  /**
1210
- * 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.
1210
+ * 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.
1211
1211
  */
1212
1212
  export type CreatePromptPromptsContent = string | Array<CreatePrompt2PromptsResponse1 | CreatePrompt2PromptsResponse2 | CreatePrompt2PromptsResponse3>;
1213
1213
  export declare const CreatePromptPromptsResponseType: {
@@ -1233,9 +1233,9 @@ export type CreatePromptPromptsResponseMessages = {
1233
1233
  */
1234
1234
  role: CreatePromptPromptsRole;
1235
1235
  /**
1236
- * 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.
1236
+ * 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.
1237
1237
  */
1238
- content: string | Array<CreatePrompt2PromptsResponse1 | CreatePrompt2PromptsResponse2 | CreatePrompt2PromptsResponse3>;
1238
+ content: string | Array<CreatePrompt2PromptsResponse1 | CreatePrompt2PromptsResponse2 | CreatePrompt2PromptsResponse3> | null;
1239
1239
  toolCalls?: Array<CreatePromptPromptsToolCalls> | undefined;
1240
1240
  toolCallId?: string | undefined;
1241
1241
  };
@@ -1763,7 +1763,7 @@ export declare const CreatePromptMessages$inboundSchema: z.ZodType<CreatePromptM
1763
1763
  /** @internal */
1764
1764
  export type CreatePromptMessages$Outbound = {
1765
1765
  role: string;
1766
- content: string | Array<CreatePrompt21$Outbound | CreatePrompt22$Outbound | CreatePrompt23$Outbound>;
1766
+ content: string | Array<CreatePrompt21$Outbound | CreatePrompt22$Outbound | CreatePrompt23$Outbound> | null;
1767
1767
  tool_calls?: Array<CreatePromptToolCalls$Outbound> | undefined;
1768
1768
  tool_call_id?: string | undefined;
1769
1769
  };
@@ -1882,107 +1882,107 @@ export declare namespace ResponseFormat4$ {
1882
1882
  }>;
1883
1883
  }
1884
1884
  /** @internal */
1885
- export declare const CreatePromptResponseFormatPromptsType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsType>;
1885
+ export declare const CreatePromptResponseFormatPromptsRequestType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsRequestType>;
1886
1886
  /** @internal */
1887
- export declare const CreatePromptResponseFormatPromptsType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsType>;
1887
+ export declare const CreatePromptResponseFormatPromptsRequestType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsRequestType>;
1888
1888
  /**
1889
1889
  * @internal
1890
1890
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1891
1891
  */
1892
- export declare namespace CreatePromptResponseFormatPromptsType$ {
1893
- /** @deprecated use `CreatePromptResponseFormatPromptsType$inboundSchema` instead. */
1892
+ export declare namespace CreatePromptResponseFormatPromptsRequestType$ {
1893
+ /** @deprecated use `CreatePromptResponseFormatPromptsRequestType$inboundSchema` instead. */
1894
1894
  const inboundSchema: z.ZodNativeEnum<{
1895
1895
  readonly Text: "text";
1896
1896
  }>;
1897
- /** @deprecated use `CreatePromptResponseFormatPromptsType$outboundSchema` instead. */
1897
+ /** @deprecated use `CreatePromptResponseFormatPromptsRequestType$outboundSchema` instead. */
1898
1898
  const outboundSchema: z.ZodNativeEnum<{
1899
1899
  readonly Text: "text";
1900
1900
  }>;
1901
1901
  }
1902
1902
  /** @internal */
1903
- export declare const ResponseFormat3$inboundSchema: z.ZodType<ResponseFormat3, z.ZodTypeDef, unknown>;
1903
+ export declare const CreatePromptResponseFormat3$inboundSchema: z.ZodType<CreatePromptResponseFormat3, z.ZodTypeDef, unknown>;
1904
1904
  /** @internal */
1905
- export type ResponseFormat3$Outbound = {
1905
+ export type CreatePromptResponseFormat3$Outbound = {
1906
1906
  type: string;
1907
1907
  };
1908
1908
  /** @internal */
1909
- export declare const ResponseFormat3$outboundSchema: z.ZodType<ResponseFormat3$Outbound, z.ZodTypeDef, ResponseFormat3>;
1909
+ export declare const CreatePromptResponseFormat3$outboundSchema: z.ZodType<CreatePromptResponseFormat3$Outbound, z.ZodTypeDef, CreatePromptResponseFormat3>;
1910
1910
  /**
1911
1911
  * @internal
1912
1912
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1913
1913
  */
1914
- export declare namespace ResponseFormat3$ {
1915
- /** @deprecated use `ResponseFormat3$inboundSchema` instead. */
1916
- const inboundSchema: z.ZodType<ResponseFormat3, z.ZodTypeDef, unknown>;
1917
- /** @deprecated use `ResponseFormat3$outboundSchema` instead. */
1918
- const outboundSchema: z.ZodType<ResponseFormat3$Outbound, z.ZodTypeDef, ResponseFormat3>;
1919
- /** @deprecated use `ResponseFormat3$Outbound` instead. */
1920
- type Outbound = ResponseFormat3$Outbound;
1914
+ export declare namespace CreatePromptResponseFormat3$ {
1915
+ /** @deprecated use `CreatePromptResponseFormat3$inboundSchema` instead. */
1916
+ const inboundSchema: z.ZodType<CreatePromptResponseFormat3, z.ZodTypeDef, unknown>;
1917
+ /** @deprecated use `CreatePromptResponseFormat3$outboundSchema` instead. */
1918
+ const outboundSchema: z.ZodType<CreatePromptResponseFormat3$Outbound, z.ZodTypeDef, CreatePromptResponseFormat3>;
1919
+ /** @deprecated use `CreatePromptResponseFormat3$Outbound` instead. */
1920
+ type Outbound = CreatePromptResponseFormat3$Outbound;
1921
1921
  }
1922
- export declare function responseFormat3ToJSON(responseFormat3: ResponseFormat3): string;
1923
- export declare function responseFormat3FromJSON(jsonString: string): SafeParseResult<ResponseFormat3, SDKValidationError>;
1922
+ export declare function createPromptResponseFormat3ToJSON(createPromptResponseFormat3: CreatePromptResponseFormat3): string;
1923
+ export declare function createPromptResponseFormat3FromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormat3, SDKValidationError>;
1924
1924
  /** @internal */
1925
- export declare const CreatePromptResponseFormatType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatType>;
1925
+ export declare const CreatePromptResponseFormatPromptsType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsType>;
1926
1926
  /** @internal */
1927
- export declare const CreatePromptResponseFormatType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatType>;
1927
+ export declare const CreatePromptResponseFormatPromptsType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsType>;
1928
1928
  /**
1929
1929
  * @internal
1930
1930
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1931
1931
  */
1932
- export declare namespace CreatePromptResponseFormatType$ {
1933
- /** @deprecated use `CreatePromptResponseFormatType$inboundSchema` instead. */
1932
+ export declare namespace CreatePromptResponseFormatPromptsType$ {
1933
+ /** @deprecated use `CreatePromptResponseFormatPromptsType$inboundSchema` instead. */
1934
1934
  const inboundSchema: z.ZodNativeEnum<{
1935
1935
  readonly JsonObject: "json_object";
1936
1936
  }>;
1937
- /** @deprecated use `CreatePromptResponseFormatType$outboundSchema` instead. */
1937
+ /** @deprecated use `CreatePromptResponseFormatPromptsType$outboundSchema` instead. */
1938
1938
  const outboundSchema: z.ZodNativeEnum<{
1939
1939
  readonly JsonObject: "json_object";
1940
1940
  }>;
1941
1941
  }
1942
1942
  /** @internal */
1943
- export declare const ResponseFormat2$inboundSchema: z.ZodType<ResponseFormat2, z.ZodTypeDef, unknown>;
1943
+ export declare const CreatePromptResponseFormat2$inboundSchema: z.ZodType<CreatePromptResponseFormat2, z.ZodTypeDef, unknown>;
1944
1944
  /** @internal */
1945
- export type ResponseFormat2$Outbound = {
1945
+ export type CreatePromptResponseFormat2$Outbound = {
1946
1946
  type: string;
1947
1947
  };
1948
1948
  /** @internal */
1949
- export declare const ResponseFormat2$outboundSchema: z.ZodType<ResponseFormat2$Outbound, z.ZodTypeDef, ResponseFormat2>;
1949
+ export declare const CreatePromptResponseFormat2$outboundSchema: z.ZodType<CreatePromptResponseFormat2$Outbound, z.ZodTypeDef, CreatePromptResponseFormat2>;
1950
1950
  /**
1951
1951
  * @internal
1952
1952
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1953
1953
  */
1954
- export declare namespace ResponseFormat2$ {
1955
- /** @deprecated use `ResponseFormat2$inboundSchema` instead. */
1956
- const inboundSchema: z.ZodType<ResponseFormat2, z.ZodTypeDef, unknown>;
1957
- /** @deprecated use `ResponseFormat2$outboundSchema` instead. */
1958
- const outboundSchema: z.ZodType<ResponseFormat2$Outbound, z.ZodTypeDef, ResponseFormat2>;
1959
- /** @deprecated use `ResponseFormat2$Outbound` instead. */
1960
- type Outbound = ResponseFormat2$Outbound;
1954
+ export declare namespace CreatePromptResponseFormat2$ {
1955
+ /** @deprecated use `CreatePromptResponseFormat2$inboundSchema` instead. */
1956
+ const inboundSchema: z.ZodType<CreatePromptResponseFormat2, z.ZodTypeDef, unknown>;
1957
+ /** @deprecated use `CreatePromptResponseFormat2$outboundSchema` instead. */
1958
+ const outboundSchema: z.ZodType<CreatePromptResponseFormat2$Outbound, z.ZodTypeDef, CreatePromptResponseFormat2>;
1959
+ /** @deprecated use `CreatePromptResponseFormat2$Outbound` instead. */
1960
+ type Outbound = CreatePromptResponseFormat2$Outbound;
1961
1961
  }
1962
- export declare function responseFormat2ToJSON(responseFormat2: ResponseFormat2): string;
1963
- export declare function responseFormat2FromJSON(jsonString: string): SafeParseResult<ResponseFormat2, SDKValidationError>;
1962
+ export declare function createPromptResponseFormat2ToJSON(createPromptResponseFormat2: CreatePromptResponseFormat2): string;
1963
+ export declare function createPromptResponseFormat2FromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormat2, SDKValidationError>;
1964
1964
  /** @internal */
1965
- export declare const ResponseFormatType$inboundSchema: z.ZodNativeEnum<typeof ResponseFormatType>;
1965
+ export declare const CreatePromptResponseFormatType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatType>;
1966
1966
  /** @internal */
1967
- export declare const ResponseFormatType$outboundSchema: z.ZodNativeEnum<typeof ResponseFormatType>;
1967
+ export declare const CreatePromptResponseFormatType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatType>;
1968
1968
  /**
1969
1969
  * @internal
1970
1970
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1971
1971
  */
1972
- export declare namespace ResponseFormatType$ {
1973
- /** @deprecated use `ResponseFormatType$inboundSchema` instead. */
1972
+ export declare namespace CreatePromptResponseFormatType$ {
1973
+ /** @deprecated use `CreatePromptResponseFormatType$inboundSchema` instead. */
1974
1974
  const inboundSchema: z.ZodNativeEnum<{
1975
1975
  readonly JsonSchema: "json_schema";
1976
1976
  }>;
1977
- /** @deprecated use `ResponseFormatType$outboundSchema` instead. */
1977
+ /** @deprecated use `CreatePromptResponseFormatType$outboundSchema` instead. */
1978
1978
  const outboundSchema: z.ZodNativeEnum<{
1979
1979
  readonly JsonSchema: "json_schema";
1980
1980
  }>;
1981
1981
  }
1982
1982
  /** @internal */
1983
- export declare const JsonSchema$inboundSchema: z.ZodType<JsonSchema, z.ZodTypeDef, unknown>;
1983
+ export declare const CreatePromptResponseFormatJsonSchema$inboundSchema: z.ZodType<CreatePromptResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
1984
1984
  /** @internal */
1985
- export type JsonSchema$Outbound = {
1985
+ export type CreatePromptResponseFormatJsonSchema$Outbound = {
1986
1986
  name: string;
1987
1987
  description?: string | undefined;
1988
1988
  strict?: boolean | undefined;
@@ -1991,64 +1991,64 @@ export type JsonSchema$Outbound = {
1991
1991
  };
1992
1992
  };
1993
1993
  /** @internal */
1994
- export declare const JsonSchema$outboundSchema: z.ZodType<JsonSchema$Outbound, z.ZodTypeDef, JsonSchema>;
1994
+ export declare const CreatePromptResponseFormatJsonSchema$outboundSchema: z.ZodType<CreatePromptResponseFormatJsonSchema$Outbound, z.ZodTypeDef, CreatePromptResponseFormatJsonSchema>;
1995
1995
  /**
1996
1996
  * @internal
1997
1997
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1998
1998
  */
1999
- export declare namespace JsonSchema$ {
2000
- /** @deprecated use `JsonSchema$inboundSchema` instead. */
2001
- const inboundSchema: z.ZodType<JsonSchema, z.ZodTypeDef, unknown>;
2002
- /** @deprecated use `JsonSchema$outboundSchema` instead. */
2003
- const outboundSchema: z.ZodType<JsonSchema$Outbound, z.ZodTypeDef, JsonSchema>;
2004
- /** @deprecated use `JsonSchema$Outbound` instead. */
2005
- type Outbound = JsonSchema$Outbound;
1999
+ export declare namespace CreatePromptResponseFormatJsonSchema$ {
2000
+ /** @deprecated use `CreatePromptResponseFormatJsonSchema$inboundSchema` instead. */
2001
+ const inboundSchema: z.ZodType<CreatePromptResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
2002
+ /** @deprecated use `CreatePromptResponseFormatJsonSchema$outboundSchema` instead. */
2003
+ const outboundSchema: z.ZodType<CreatePromptResponseFormatJsonSchema$Outbound, z.ZodTypeDef, CreatePromptResponseFormatJsonSchema>;
2004
+ /** @deprecated use `CreatePromptResponseFormatJsonSchema$Outbound` instead. */
2005
+ type Outbound = CreatePromptResponseFormatJsonSchema$Outbound;
2006
2006
  }
2007
- export declare function jsonSchemaToJSON(jsonSchema: JsonSchema): string;
2008
- export declare function jsonSchemaFromJSON(jsonString: string): SafeParseResult<JsonSchema, SDKValidationError>;
2007
+ export declare function createPromptResponseFormatJsonSchemaToJSON(createPromptResponseFormatJsonSchema: CreatePromptResponseFormatJsonSchema): string;
2008
+ export declare function createPromptResponseFormatJsonSchemaFromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormatJsonSchema, SDKValidationError>;
2009
2009
  /** @internal */
2010
- export declare const ResponseFormat1$inboundSchema: z.ZodType<ResponseFormat1, z.ZodTypeDef, unknown>;
2010
+ export declare const CreatePromptResponseFormat1$inboundSchema: z.ZodType<CreatePromptResponseFormat1, z.ZodTypeDef, unknown>;
2011
2011
  /** @internal */
2012
- export type ResponseFormat1$Outbound = {
2012
+ export type CreatePromptResponseFormat1$Outbound = {
2013
2013
  type: string;
2014
- json_schema: JsonSchema$Outbound;
2014
+ json_schema: CreatePromptResponseFormatJsonSchema$Outbound;
2015
2015
  };
2016
2016
  /** @internal */
2017
- export declare const ResponseFormat1$outboundSchema: z.ZodType<ResponseFormat1$Outbound, z.ZodTypeDef, ResponseFormat1>;
2017
+ export declare const CreatePromptResponseFormat1$outboundSchema: z.ZodType<CreatePromptResponseFormat1$Outbound, z.ZodTypeDef, CreatePromptResponseFormat1>;
2018
2018
  /**
2019
2019
  * @internal
2020
2020
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2021
2021
  */
2022
- export declare namespace ResponseFormat1$ {
2023
- /** @deprecated use `ResponseFormat1$inboundSchema` instead. */
2024
- const inboundSchema: z.ZodType<ResponseFormat1, z.ZodTypeDef, unknown>;
2025
- /** @deprecated use `ResponseFormat1$outboundSchema` instead. */
2026
- const outboundSchema: z.ZodType<ResponseFormat1$Outbound, z.ZodTypeDef, ResponseFormat1>;
2027
- /** @deprecated use `ResponseFormat1$Outbound` instead. */
2028
- type Outbound = ResponseFormat1$Outbound;
2022
+ export declare namespace CreatePromptResponseFormat1$ {
2023
+ /** @deprecated use `CreatePromptResponseFormat1$inboundSchema` instead. */
2024
+ const inboundSchema: z.ZodType<CreatePromptResponseFormat1, z.ZodTypeDef, unknown>;
2025
+ /** @deprecated use `CreatePromptResponseFormat1$outboundSchema` instead. */
2026
+ const outboundSchema: z.ZodType<CreatePromptResponseFormat1$Outbound, z.ZodTypeDef, CreatePromptResponseFormat1>;
2027
+ /** @deprecated use `CreatePromptResponseFormat1$Outbound` instead. */
2028
+ type Outbound = CreatePromptResponseFormat1$Outbound;
2029
2029
  }
2030
- export declare function responseFormat1ToJSON(responseFormat1: ResponseFormat1): string;
2031
- export declare function responseFormat1FromJSON(jsonString: string): SafeParseResult<ResponseFormat1, SDKValidationError>;
2030
+ export declare function createPromptResponseFormat1ToJSON(createPromptResponseFormat1: CreatePromptResponseFormat1): string;
2031
+ export declare function createPromptResponseFormat1FromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormat1, SDKValidationError>;
2032
2032
  /** @internal */
2033
- export declare const ResponseFormat$inboundSchema: z.ZodType<ResponseFormat, z.ZodTypeDef, unknown>;
2033
+ export declare const CreatePromptResponseFormat$inboundSchema: z.ZodType<CreatePromptResponseFormat, z.ZodTypeDef, unknown>;
2034
2034
  /** @internal */
2035
- export type ResponseFormat$Outbound = ResponseFormat1$Outbound | ResponseFormat2$Outbound | ResponseFormat3$Outbound | string | string | string;
2035
+ export type CreatePromptResponseFormat$Outbound = CreatePromptResponseFormat1$Outbound | CreatePromptResponseFormat2$Outbound | CreatePromptResponseFormat3$Outbound | string | string | string;
2036
2036
  /** @internal */
2037
- export declare const ResponseFormat$outboundSchema: z.ZodType<ResponseFormat$Outbound, z.ZodTypeDef, ResponseFormat>;
2037
+ export declare const CreatePromptResponseFormat$outboundSchema: z.ZodType<CreatePromptResponseFormat$Outbound, z.ZodTypeDef, CreatePromptResponseFormat>;
2038
2038
  /**
2039
2039
  * @internal
2040
2040
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2041
2041
  */
2042
- export declare namespace ResponseFormat$ {
2043
- /** @deprecated use `ResponseFormat$inboundSchema` instead. */
2044
- const inboundSchema: z.ZodType<ResponseFormat, z.ZodTypeDef, unknown>;
2045
- /** @deprecated use `ResponseFormat$outboundSchema` instead. */
2046
- const outboundSchema: z.ZodType<ResponseFormat$Outbound, z.ZodTypeDef, ResponseFormat>;
2047
- /** @deprecated use `ResponseFormat$Outbound` instead. */
2048
- type Outbound = ResponseFormat$Outbound;
2042
+ export declare namespace CreatePromptResponseFormat$ {
2043
+ /** @deprecated use `CreatePromptResponseFormat$inboundSchema` instead. */
2044
+ const inboundSchema: z.ZodType<CreatePromptResponseFormat, z.ZodTypeDef, unknown>;
2045
+ /** @deprecated use `CreatePromptResponseFormat$outboundSchema` instead. */
2046
+ const outboundSchema: z.ZodType<CreatePromptResponseFormat$Outbound, z.ZodTypeDef, CreatePromptResponseFormat>;
2047
+ /** @deprecated use `CreatePromptResponseFormat$Outbound` instead. */
2048
+ type Outbound = CreatePromptResponseFormat$Outbound;
2049
2049
  }
2050
- export declare function responseFormatToJSON(responseFormat: ResponseFormat): string;
2051
- export declare function responseFormatFromJSON(jsonString: string): SafeParseResult<ResponseFormat, SDKValidationError>;
2050
+ export declare function createPromptResponseFormatToJSON(createPromptResponseFormat: CreatePromptResponseFormat): string;
2051
+ export declare function createPromptResponseFormatFromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormat, SDKValidationError>;
2052
2052
  /** @internal */
2053
2053
  export declare const PhotoRealVersion$inboundSchema: z.ZodNativeEnum<typeof PhotoRealVersion>;
2054
2054
  /** @internal */
@@ -2153,7 +2153,7 @@ export type ModelParameters$Outbound = {
2153
2153
  dimensions?: string | undefined;
2154
2154
  quality?: string | undefined;
2155
2155
  style?: string | undefined;
2156
- responseFormat?: ResponseFormat1$Outbound | ResponseFormat2$Outbound | ResponseFormat3$Outbound | string | string | string | null | undefined;
2156
+ responseFormat?: CreatePromptResponseFormat1$Outbound | CreatePromptResponseFormat2$Outbound | CreatePromptResponseFormat3$Outbound | string | string | string | null | undefined;
2157
2157
  photoRealVersion?: string | undefined;
2158
2158
  encoding_format?: string | undefined;
2159
2159
  reasoningEffort?: string | undefined;
@@ -3095,171 +3095,171 @@ export declare namespace CreatePromptPromptsMessages$ {
3095
3095
  export declare function createPromptPromptsMessagesToJSON(createPromptPromptsMessages: CreatePromptPromptsMessages): string;
3096
3096
  export declare function createPromptPromptsMessagesFromJSON(jsonString: string): SafeParseResult<CreatePromptPromptsMessages, SDKValidationError>;
3097
3097
  /** @internal */
3098
- export declare const CreatePromptResponseFormatPromptsRequestRequestBodyPromptType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsRequestRequestBodyPromptType>;
3098
+ export declare const CreatePromptResponseFormatPromptsRequestRequestBodyPrompt3Type$inboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsRequestRequestBodyPrompt3Type>;
3099
3099
  /** @internal */
3100
- export declare const CreatePromptResponseFormatPromptsRequestRequestBodyPromptType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsRequestRequestBodyPromptType>;
3100
+ export declare const CreatePromptResponseFormatPromptsRequestRequestBodyPrompt3Type$outboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsRequestRequestBodyPrompt3Type>;
3101
3101
  /**
3102
3102
  * @internal
3103
3103
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3104
3104
  */
3105
- export declare namespace CreatePromptResponseFormatPromptsRequestRequestBodyPromptType$ {
3106
- /** @deprecated use `CreatePromptResponseFormatPromptsRequestRequestBodyPromptType$inboundSchema` instead. */
3105
+ export declare namespace CreatePromptResponseFormatPromptsRequestRequestBodyPrompt3Type$ {
3106
+ /** @deprecated use `CreatePromptResponseFormatPromptsRequestRequestBodyPrompt3Type$inboundSchema` instead. */
3107
3107
  const inboundSchema: z.ZodNativeEnum<{
3108
3108
  readonly JsonSchema: "json_schema";
3109
3109
  }>;
3110
- /** @deprecated use `CreatePromptResponseFormatPromptsRequestRequestBodyPromptType$outboundSchema` instead. */
3110
+ /** @deprecated use `CreatePromptResponseFormatPromptsRequestRequestBodyPrompt3Type$outboundSchema` instead. */
3111
3111
  const outboundSchema: z.ZodNativeEnum<{
3112
3112
  readonly JsonSchema: "json_schema";
3113
3113
  }>;
3114
3114
  }
3115
3115
  /** @internal */
3116
- export declare const ResponseFormatJsonSchema$inboundSchema: z.ZodType<ResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
3116
+ export declare const CreatePromptResponseFormatPromptsJsonSchema$inboundSchema: z.ZodType<CreatePromptResponseFormatPromptsJsonSchema, z.ZodTypeDef, unknown>;
3117
3117
  /** @internal */
3118
- export type ResponseFormatJsonSchema$Outbound = {
3118
+ export type CreatePromptResponseFormatPromptsJsonSchema$Outbound = {
3119
3119
  description?: string | undefined;
3120
3120
  name: string;
3121
3121
  schema?: any | undefined;
3122
3122
  strict?: boolean | undefined;
3123
3123
  };
3124
3124
  /** @internal */
3125
- export declare const ResponseFormatJsonSchema$outboundSchema: z.ZodType<ResponseFormatJsonSchema$Outbound, z.ZodTypeDef, ResponseFormatJsonSchema>;
3125
+ export declare const CreatePromptResponseFormatPromptsJsonSchema$outboundSchema: z.ZodType<CreatePromptResponseFormatPromptsJsonSchema$Outbound, z.ZodTypeDef, CreatePromptResponseFormatPromptsJsonSchema>;
3126
3126
  /**
3127
3127
  * @internal
3128
3128
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3129
3129
  */
3130
- export declare namespace ResponseFormatJsonSchema$ {
3131
- /** @deprecated use `ResponseFormatJsonSchema$inboundSchema` instead. */
3132
- const inboundSchema: z.ZodType<ResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
3133
- /** @deprecated use `ResponseFormatJsonSchema$outboundSchema` instead. */
3134
- const outboundSchema: z.ZodType<ResponseFormatJsonSchema$Outbound, z.ZodTypeDef, ResponseFormatJsonSchema>;
3135
- /** @deprecated use `ResponseFormatJsonSchema$Outbound` instead. */
3136
- type Outbound = ResponseFormatJsonSchema$Outbound;
3130
+ export declare namespace CreatePromptResponseFormatPromptsJsonSchema$ {
3131
+ /** @deprecated use `CreatePromptResponseFormatPromptsJsonSchema$inboundSchema` instead. */
3132
+ const inboundSchema: z.ZodType<CreatePromptResponseFormatPromptsJsonSchema, z.ZodTypeDef, unknown>;
3133
+ /** @deprecated use `CreatePromptResponseFormatPromptsJsonSchema$outboundSchema` instead. */
3134
+ const outboundSchema: z.ZodType<CreatePromptResponseFormatPromptsJsonSchema$Outbound, z.ZodTypeDef, CreatePromptResponseFormatPromptsJsonSchema>;
3135
+ /** @deprecated use `CreatePromptResponseFormatPromptsJsonSchema$Outbound` instead. */
3136
+ type Outbound = CreatePromptResponseFormatPromptsJsonSchema$Outbound;
3137
3137
  }
3138
- export declare function responseFormatJsonSchemaToJSON(responseFormatJsonSchema: ResponseFormatJsonSchema): string;
3139
- export declare function responseFormatJsonSchemaFromJSON(jsonString: string): SafeParseResult<ResponseFormatJsonSchema, SDKValidationError>;
3138
+ export declare function createPromptResponseFormatPromptsJsonSchemaToJSON(createPromptResponseFormatPromptsJsonSchema: CreatePromptResponseFormatPromptsJsonSchema): string;
3139
+ export declare function createPromptResponseFormatPromptsJsonSchemaFromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormatPromptsJsonSchema, SDKValidationError>;
3140
3140
  /** @internal */
3141
- export declare const CreatePromptResponseFormat3$inboundSchema: z.ZodType<CreatePromptResponseFormat3, z.ZodTypeDef, unknown>;
3141
+ export declare const CreatePromptResponseFormatPrompts3$inboundSchema: z.ZodType<CreatePromptResponseFormatPrompts3, z.ZodTypeDef, unknown>;
3142
3142
  /** @internal */
3143
- export type CreatePromptResponseFormat3$Outbound = {
3143
+ export type CreatePromptResponseFormatPrompts3$Outbound = {
3144
3144
  type: string;
3145
- json_schema: ResponseFormatJsonSchema$Outbound;
3145
+ json_schema: CreatePromptResponseFormatPromptsJsonSchema$Outbound;
3146
3146
  };
3147
3147
  /** @internal */
3148
- export declare const CreatePromptResponseFormat3$outboundSchema: z.ZodType<CreatePromptResponseFormat3$Outbound, z.ZodTypeDef, CreatePromptResponseFormat3>;
3148
+ export declare const CreatePromptResponseFormatPrompts3$outboundSchema: z.ZodType<CreatePromptResponseFormatPrompts3$Outbound, z.ZodTypeDef, CreatePromptResponseFormatPrompts3>;
3149
3149
  /**
3150
3150
  * @internal
3151
3151
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3152
3152
  */
3153
- export declare namespace CreatePromptResponseFormat3$ {
3154
- /** @deprecated use `CreatePromptResponseFormat3$inboundSchema` instead. */
3155
- const inboundSchema: z.ZodType<CreatePromptResponseFormat3, z.ZodTypeDef, unknown>;
3156
- /** @deprecated use `CreatePromptResponseFormat3$outboundSchema` instead. */
3157
- const outboundSchema: z.ZodType<CreatePromptResponseFormat3$Outbound, z.ZodTypeDef, CreatePromptResponseFormat3>;
3158
- /** @deprecated use `CreatePromptResponseFormat3$Outbound` instead. */
3159
- type Outbound = CreatePromptResponseFormat3$Outbound;
3153
+ export declare namespace CreatePromptResponseFormatPrompts3$ {
3154
+ /** @deprecated use `CreatePromptResponseFormatPrompts3$inboundSchema` instead. */
3155
+ const inboundSchema: z.ZodType<CreatePromptResponseFormatPrompts3, z.ZodTypeDef, unknown>;
3156
+ /** @deprecated use `CreatePromptResponseFormatPrompts3$outboundSchema` instead. */
3157
+ const outboundSchema: z.ZodType<CreatePromptResponseFormatPrompts3$Outbound, z.ZodTypeDef, CreatePromptResponseFormatPrompts3>;
3158
+ /** @deprecated use `CreatePromptResponseFormatPrompts3$Outbound` instead. */
3159
+ type Outbound = CreatePromptResponseFormatPrompts3$Outbound;
3160
3160
  }
3161
- export declare function createPromptResponseFormat3ToJSON(createPromptResponseFormat3: CreatePromptResponseFormat3): string;
3162
- export declare function createPromptResponseFormat3FromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormat3, SDKValidationError>;
3161
+ export declare function createPromptResponseFormatPrompts3ToJSON(createPromptResponseFormatPrompts3: CreatePromptResponseFormatPrompts3): string;
3162
+ export declare function createPromptResponseFormatPrompts3FromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormatPrompts3, SDKValidationError>;
3163
3163
  /** @internal */
3164
- export declare const CreatePromptResponseFormatPromptsRequestRequestBodyType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsRequestRequestBodyType>;
3164
+ export declare const CreatePromptResponseFormatPromptsRequestRequestBodyPromptType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsRequestRequestBodyPromptType>;
3165
3165
  /** @internal */
3166
- export declare const CreatePromptResponseFormatPromptsRequestRequestBodyType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsRequestRequestBodyType>;
3166
+ export declare const CreatePromptResponseFormatPromptsRequestRequestBodyPromptType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsRequestRequestBodyPromptType>;
3167
3167
  /**
3168
3168
  * @internal
3169
3169
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3170
3170
  */
3171
- export declare namespace CreatePromptResponseFormatPromptsRequestRequestBodyType$ {
3172
- /** @deprecated use `CreatePromptResponseFormatPromptsRequestRequestBodyType$inboundSchema` instead. */
3171
+ export declare namespace CreatePromptResponseFormatPromptsRequestRequestBodyPromptType$ {
3172
+ /** @deprecated use `CreatePromptResponseFormatPromptsRequestRequestBodyPromptType$inboundSchema` instead. */
3173
3173
  const inboundSchema: z.ZodNativeEnum<{
3174
3174
  readonly JsonObject: "json_object";
3175
3175
  }>;
3176
- /** @deprecated use `CreatePromptResponseFormatPromptsRequestRequestBodyType$outboundSchema` instead. */
3176
+ /** @deprecated use `CreatePromptResponseFormatPromptsRequestRequestBodyPromptType$outboundSchema` instead. */
3177
3177
  const outboundSchema: z.ZodNativeEnum<{
3178
3178
  readonly JsonObject: "json_object";
3179
3179
  }>;
3180
3180
  }
3181
3181
  /** @internal */
3182
- export declare const CreatePromptResponseFormat2$inboundSchema: z.ZodType<CreatePromptResponseFormat2, z.ZodTypeDef, unknown>;
3182
+ export declare const CreatePromptResponseFormatPrompts2$inboundSchema: z.ZodType<CreatePromptResponseFormatPrompts2, z.ZodTypeDef, unknown>;
3183
3183
  /** @internal */
3184
- export type CreatePromptResponseFormat2$Outbound = {
3184
+ export type CreatePromptResponseFormatPrompts2$Outbound = {
3185
3185
  type: string;
3186
3186
  };
3187
3187
  /** @internal */
3188
- export declare const CreatePromptResponseFormat2$outboundSchema: z.ZodType<CreatePromptResponseFormat2$Outbound, z.ZodTypeDef, CreatePromptResponseFormat2>;
3188
+ export declare const CreatePromptResponseFormatPrompts2$outboundSchema: z.ZodType<CreatePromptResponseFormatPrompts2$Outbound, z.ZodTypeDef, CreatePromptResponseFormatPrompts2>;
3189
3189
  /**
3190
3190
  * @internal
3191
3191
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3192
3192
  */
3193
- export declare namespace CreatePromptResponseFormat2$ {
3194
- /** @deprecated use `CreatePromptResponseFormat2$inboundSchema` instead. */
3195
- const inboundSchema: z.ZodType<CreatePromptResponseFormat2, z.ZodTypeDef, unknown>;
3196
- /** @deprecated use `CreatePromptResponseFormat2$outboundSchema` instead. */
3197
- const outboundSchema: z.ZodType<CreatePromptResponseFormat2$Outbound, z.ZodTypeDef, CreatePromptResponseFormat2>;
3198
- /** @deprecated use `CreatePromptResponseFormat2$Outbound` instead. */
3199
- type Outbound = CreatePromptResponseFormat2$Outbound;
3193
+ export declare namespace CreatePromptResponseFormatPrompts2$ {
3194
+ /** @deprecated use `CreatePromptResponseFormatPrompts2$inboundSchema` instead. */
3195
+ const inboundSchema: z.ZodType<CreatePromptResponseFormatPrompts2, z.ZodTypeDef, unknown>;
3196
+ /** @deprecated use `CreatePromptResponseFormatPrompts2$outboundSchema` instead. */
3197
+ const outboundSchema: z.ZodType<CreatePromptResponseFormatPrompts2$Outbound, z.ZodTypeDef, CreatePromptResponseFormatPrompts2>;
3198
+ /** @deprecated use `CreatePromptResponseFormatPrompts2$Outbound` instead. */
3199
+ type Outbound = CreatePromptResponseFormatPrompts2$Outbound;
3200
3200
  }
3201
- export declare function createPromptResponseFormat2ToJSON(createPromptResponseFormat2: CreatePromptResponseFormat2): string;
3202
- export declare function createPromptResponseFormat2FromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormat2, SDKValidationError>;
3201
+ export declare function createPromptResponseFormatPrompts2ToJSON(createPromptResponseFormatPrompts2: CreatePromptResponseFormatPrompts2): string;
3202
+ export declare function createPromptResponseFormatPrompts2FromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormatPrompts2, SDKValidationError>;
3203
3203
  /** @internal */
3204
- export declare const CreatePromptResponseFormatPromptsRequestType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsRequestType>;
3204
+ export declare const CreatePromptResponseFormatPromptsRequestRequestBodyType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsRequestRequestBodyType>;
3205
3205
  /** @internal */
3206
- export declare const CreatePromptResponseFormatPromptsRequestType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsRequestType>;
3206
+ export declare const CreatePromptResponseFormatPromptsRequestRequestBodyType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsRequestRequestBodyType>;
3207
3207
  /**
3208
3208
  * @internal
3209
3209
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3210
3210
  */
3211
- export declare namespace CreatePromptResponseFormatPromptsRequestType$ {
3212
- /** @deprecated use `CreatePromptResponseFormatPromptsRequestType$inboundSchema` instead. */
3211
+ export declare namespace CreatePromptResponseFormatPromptsRequestRequestBodyType$ {
3212
+ /** @deprecated use `CreatePromptResponseFormatPromptsRequestRequestBodyType$inboundSchema` instead. */
3213
3213
  const inboundSchema: z.ZodNativeEnum<{
3214
3214
  readonly Text: "text";
3215
3215
  }>;
3216
- /** @deprecated use `CreatePromptResponseFormatPromptsRequestType$outboundSchema` instead. */
3216
+ /** @deprecated use `CreatePromptResponseFormatPromptsRequestRequestBodyType$outboundSchema` instead. */
3217
3217
  const outboundSchema: z.ZodNativeEnum<{
3218
3218
  readonly Text: "text";
3219
3219
  }>;
3220
3220
  }
3221
3221
  /** @internal */
3222
- export declare const CreatePromptResponseFormat1$inboundSchema: z.ZodType<CreatePromptResponseFormat1, z.ZodTypeDef, unknown>;
3222
+ export declare const CreatePromptResponseFormatPrompts1$inboundSchema: z.ZodType<CreatePromptResponseFormatPrompts1, z.ZodTypeDef, unknown>;
3223
3223
  /** @internal */
3224
- export type CreatePromptResponseFormat1$Outbound = {
3224
+ export type CreatePromptResponseFormatPrompts1$Outbound = {
3225
3225
  type: string;
3226
3226
  };
3227
3227
  /** @internal */
3228
- export declare const CreatePromptResponseFormat1$outboundSchema: z.ZodType<CreatePromptResponseFormat1$Outbound, z.ZodTypeDef, CreatePromptResponseFormat1>;
3228
+ export declare const CreatePromptResponseFormatPrompts1$outboundSchema: z.ZodType<CreatePromptResponseFormatPrompts1$Outbound, z.ZodTypeDef, CreatePromptResponseFormatPrompts1>;
3229
3229
  /**
3230
3230
  * @internal
3231
3231
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3232
3232
  */
3233
- export declare namespace CreatePromptResponseFormat1$ {
3234
- /** @deprecated use `CreatePromptResponseFormat1$inboundSchema` instead. */
3235
- const inboundSchema: z.ZodType<CreatePromptResponseFormat1, z.ZodTypeDef, unknown>;
3236
- /** @deprecated use `CreatePromptResponseFormat1$outboundSchema` instead. */
3237
- const outboundSchema: z.ZodType<CreatePromptResponseFormat1$Outbound, z.ZodTypeDef, CreatePromptResponseFormat1>;
3238
- /** @deprecated use `CreatePromptResponseFormat1$Outbound` instead. */
3239
- type Outbound = CreatePromptResponseFormat1$Outbound;
3233
+ export declare namespace CreatePromptResponseFormatPrompts1$ {
3234
+ /** @deprecated use `CreatePromptResponseFormatPrompts1$inboundSchema` instead. */
3235
+ const inboundSchema: z.ZodType<CreatePromptResponseFormatPrompts1, z.ZodTypeDef, unknown>;
3236
+ /** @deprecated use `CreatePromptResponseFormatPrompts1$outboundSchema` instead. */
3237
+ const outboundSchema: z.ZodType<CreatePromptResponseFormatPrompts1$Outbound, z.ZodTypeDef, CreatePromptResponseFormatPrompts1>;
3238
+ /** @deprecated use `CreatePromptResponseFormatPrompts1$Outbound` instead. */
3239
+ type Outbound = CreatePromptResponseFormatPrompts1$Outbound;
3240
3240
  }
3241
- export declare function createPromptResponseFormat1ToJSON(createPromptResponseFormat1: CreatePromptResponseFormat1): string;
3242
- export declare function createPromptResponseFormat1FromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormat1, SDKValidationError>;
3241
+ export declare function createPromptResponseFormatPrompts1ToJSON(createPromptResponseFormatPrompts1: CreatePromptResponseFormatPrompts1): string;
3242
+ export declare function createPromptResponseFormatPrompts1FromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormatPrompts1, SDKValidationError>;
3243
3243
  /** @internal */
3244
- export declare const CreatePromptResponseFormat$inboundSchema: z.ZodType<CreatePromptResponseFormat, z.ZodTypeDef, unknown>;
3244
+ export declare const CreatePromptPromptsResponseFormat$inboundSchema: z.ZodType<CreatePromptPromptsResponseFormat, z.ZodTypeDef, unknown>;
3245
3245
  /** @internal */
3246
- export type CreatePromptResponseFormat$Outbound = CreatePromptResponseFormat3$Outbound | CreatePromptResponseFormat1$Outbound | CreatePromptResponseFormat2$Outbound;
3246
+ export type CreatePromptPromptsResponseFormat$Outbound = CreatePromptResponseFormatPrompts3$Outbound | CreatePromptResponseFormatPrompts1$Outbound | CreatePromptResponseFormatPrompts2$Outbound;
3247
3247
  /** @internal */
3248
- export declare const CreatePromptResponseFormat$outboundSchema: z.ZodType<CreatePromptResponseFormat$Outbound, z.ZodTypeDef, CreatePromptResponseFormat>;
3248
+ export declare const CreatePromptPromptsResponseFormat$outboundSchema: z.ZodType<CreatePromptPromptsResponseFormat$Outbound, z.ZodTypeDef, CreatePromptPromptsResponseFormat>;
3249
3249
  /**
3250
3250
  * @internal
3251
3251
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3252
3252
  */
3253
- export declare namespace CreatePromptResponseFormat$ {
3254
- /** @deprecated use `CreatePromptResponseFormat$inboundSchema` instead. */
3255
- const inboundSchema: z.ZodType<CreatePromptResponseFormat, z.ZodTypeDef, unknown>;
3256
- /** @deprecated use `CreatePromptResponseFormat$outboundSchema` instead. */
3257
- const outboundSchema: z.ZodType<CreatePromptResponseFormat$Outbound, z.ZodTypeDef, CreatePromptResponseFormat>;
3258
- /** @deprecated use `CreatePromptResponseFormat$Outbound` instead. */
3259
- type Outbound = CreatePromptResponseFormat$Outbound;
3253
+ export declare namespace CreatePromptPromptsResponseFormat$ {
3254
+ /** @deprecated use `CreatePromptPromptsResponseFormat$inboundSchema` instead. */
3255
+ const inboundSchema: z.ZodType<CreatePromptPromptsResponseFormat, z.ZodTypeDef, unknown>;
3256
+ /** @deprecated use `CreatePromptPromptsResponseFormat$outboundSchema` instead. */
3257
+ const outboundSchema: z.ZodType<CreatePromptPromptsResponseFormat$Outbound, z.ZodTypeDef, CreatePromptPromptsResponseFormat>;
3258
+ /** @deprecated use `CreatePromptPromptsResponseFormat$Outbound` instead. */
3259
+ type Outbound = CreatePromptPromptsResponseFormat$Outbound;
3260
3260
  }
3261
- export declare function createPromptResponseFormatToJSON(createPromptResponseFormat: CreatePromptResponseFormat): string;
3262
- export declare function createPromptResponseFormatFromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormat, SDKValidationError>;
3261
+ export declare function createPromptPromptsResponseFormatToJSON(createPromptPromptsResponseFormat: CreatePromptPromptsResponseFormat): string;
3262
+ export declare function createPromptPromptsResponseFormatFromJSON(jsonString: string): SafeParseResult<CreatePromptPromptsResponseFormat, SDKValidationError>;
3263
3263
  /** @internal */
3264
3264
  export declare const PromptInput$inboundSchema: z.ZodType<PromptInput, z.ZodTypeDef, unknown>;
3265
3265
  /** @internal */
@@ -3268,7 +3268,7 @@ export type PromptInput$Outbound = {
3268
3268
  model?: string | undefined;
3269
3269
  temperature?: number | null | undefined;
3270
3270
  max_tokens?: number | null | undefined;
3271
- response_format?: CreatePromptResponseFormat3$Outbound | CreatePromptResponseFormat1$Outbound | CreatePromptResponseFormat2$Outbound | undefined;
3271
+ response_format?: CreatePromptResponseFormatPrompts3$Outbound | CreatePromptResponseFormatPrompts1$Outbound | CreatePromptResponseFormatPrompts2$Outbound | undefined;
3272
3272
  };
3273
3273
  /** @internal */
3274
3274
  export declare const PromptInput$outboundSchema: z.ZodType<PromptInput$Outbound, z.ZodTypeDef, PromptInput>;
@@ -3482,27 +3482,27 @@ export declare namespace CreatePromptResponseFormatPromptsResponse200Application
3482
3482
  }>;
3483
3483
  }
3484
3484
  /** @internal */
3485
- export declare const CreatePromptResponseFormatPrompts3$inboundSchema: z.ZodType<CreatePromptResponseFormatPrompts3, z.ZodTypeDef, unknown>;
3485
+ export declare const CreatePromptResponseFormatPromptsResponse3$inboundSchema: z.ZodType<CreatePromptResponseFormatPromptsResponse3, z.ZodTypeDef, unknown>;
3486
3486
  /** @internal */
3487
- export type CreatePromptResponseFormatPrompts3$Outbound = {
3487
+ export type CreatePromptResponseFormatPromptsResponse3$Outbound = {
3488
3488
  type: string;
3489
3489
  };
3490
3490
  /** @internal */
3491
- export declare const CreatePromptResponseFormatPrompts3$outboundSchema: z.ZodType<CreatePromptResponseFormatPrompts3$Outbound, z.ZodTypeDef, CreatePromptResponseFormatPrompts3>;
3491
+ export declare const CreatePromptResponseFormatPromptsResponse3$outboundSchema: z.ZodType<CreatePromptResponseFormatPromptsResponse3$Outbound, z.ZodTypeDef, CreatePromptResponseFormatPromptsResponse3>;
3492
3492
  /**
3493
3493
  * @internal
3494
3494
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3495
3495
  */
3496
- export declare namespace CreatePromptResponseFormatPrompts3$ {
3497
- /** @deprecated use `CreatePromptResponseFormatPrompts3$inboundSchema` instead. */
3498
- const inboundSchema: z.ZodType<CreatePromptResponseFormatPrompts3, z.ZodTypeDef, unknown>;
3499
- /** @deprecated use `CreatePromptResponseFormatPrompts3$outboundSchema` instead. */
3500
- const outboundSchema: z.ZodType<CreatePromptResponseFormatPrompts3$Outbound, z.ZodTypeDef, CreatePromptResponseFormatPrompts3>;
3501
- /** @deprecated use `CreatePromptResponseFormatPrompts3$Outbound` instead. */
3502
- type Outbound = CreatePromptResponseFormatPrompts3$Outbound;
3496
+ export declare namespace CreatePromptResponseFormatPromptsResponse3$ {
3497
+ /** @deprecated use `CreatePromptResponseFormatPromptsResponse3$inboundSchema` instead. */
3498
+ const inboundSchema: z.ZodType<CreatePromptResponseFormatPromptsResponse3, z.ZodTypeDef, unknown>;
3499
+ /** @deprecated use `CreatePromptResponseFormatPromptsResponse3$outboundSchema` instead. */
3500
+ const outboundSchema: z.ZodType<CreatePromptResponseFormatPromptsResponse3$Outbound, z.ZodTypeDef, CreatePromptResponseFormatPromptsResponse3>;
3501
+ /** @deprecated use `CreatePromptResponseFormatPromptsResponse3$Outbound` instead. */
3502
+ type Outbound = CreatePromptResponseFormatPromptsResponse3$Outbound;
3503
3503
  }
3504
- export declare function createPromptResponseFormatPrompts3ToJSON(createPromptResponseFormatPrompts3: CreatePromptResponseFormatPrompts3): string;
3505
- export declare function createPromptResponseFormatPrompts3FromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormatPrompts3, SDKValidationError>;
3504
+ export declare function createPromptResponseFormatPromptsResponse3ToJSON(createPromptResponseFormatPromptsResponse3: CreatePromptResponseFormatPromptsResponse3): string;
3505
+ export declare function createPromptResponseFormatPromptsResponse3FromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormatPromptsResponse3, SDKValidationError>;
3506
3506
  /** @internal */
3507
3507
  export declare const CreatePromptResponseFormatPromptsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsResponse200Type>;
3508
3508
  /** @internal */
@@ -3522,27 +3522,27 @@ export declare namespace CreatePromptResponseFormatPromptsResponse200Type$ {
3522
3522
  }>;
3523
3523
  }
3524
3524
  /** @internal */
3525
- export declare const CreatePromptResponseFormatPrompts2$inboundSchema: z.ZodType<CreatePromptResponseFormatPrompts2, z.ZodTypeDef, unknown>;
3525
+ export declare const CreatePromptResponseFormatPromptsResponse2$inboundSchema: z.ZodType<CreatePromptResponseFormatPromptsResponse2, z.ZodTypeDef, unknown>;
3526
3526
  /** @internal */
3527
- export type CreatePromptResponseFormatPrompts2$Outbound = {
3527
+ export type CreatePromptResponseFormatPromptsResponse2$Outbound = {
3528
3528
  type: string;
3529
3529
  };
3530
3530
  /** @internal */
3531
- export declare const CreatePromptResponseFormatPrompts2$outboundSchema: z.ZodType<CreatePromptResponseFormatPrompts2$Outbound, z.ZodTypeDef, CreatePromptResponseFormatPrompts2>;
3531
+ export declare const CreatePromptResponseFormatPromptsResponse2$outboundSchema: z.ZodType<CreatePromptResponseFormatPromptsResponse2$Outbound, z.ZodTypeDef, CreatePromptResponseFormatPromptsResponse2>;
3532
3532
  /**
3533
3533
  * @internal
3534
3534
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3535
3535
  */
3536
- export declare namespace CreatePromptResponseFormatPrompts2$ {
3537
- /** @deprecated use `CreatePromptResponseFormatPrompts2$inboundSchema` instead. */
3538
- const inboundSchema: z.ZodType<CreatePromptResponseFormatPrompts2, z.ZodTypeDef, unknown>;
3539
- /** @deprecated use `CreatePromptResponseFormatPrompts2$outboundSchema` instead. */
3540
- const outboundSchema: z.ZodType<CreatePromptResponseFormatPrompts2$Outbound, z.ZodTypeDef, CreatePromptResponseFormatPrompts2>;
3541
- /** @deprecated use `CreatePromptResponseFormatPrompts2$Outbound` instead. */
3542
- type Outbound = CreatePromptResponseFormatPrompts2$Outbound;
3536
+ export declare namespace CreatePromptResponseFormatPromptsResponse2$ {
3537
+ /** @deprecated use `CreatePromptResponseFormatPromptsResponse2$inboundSchema` instead. */
3538
+ const inboundSchema: z.ZodType<CreatePromptResponseFormatPromptsResponse2, z.ZodTypeDef, unknown>;
3539
+ /** @deprecated use `CreatePromptResponseFormatPromptsResponse2$outboundSchema` instead. */
3540
+ const outboundSchema: z.ZodType<CreatePromptResponseFormatPromptsResponse2$Outbound, z.ZodTypeDef, CreatePromptResponseFormatPromptsResponse2>;
3541
+ /** @deprecated use `CreatePromptResponseFormatPromptsResponse2$Outbound` instead. */
3542
+ type Outbound = CreatePromptResponseFormatPromptsResponse2$Outbound;
3543
3543
  }
3544
- export declare function createPromptResponseFormatPrompts2ToJSON(createPromptResponseFormatPrompts2: CreatePromptResponseFormatPrompts2): string;
3545
- export declare function createPromptResponseFormatPrompts2FromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormatPrompts2, SDKValidationError>;
3544
+ export declare function createPromptResponseFormatPromptsResponse2ToJSON(createPromptResponseFormatPromptsResponse2: CreatePromptResponseFormatPromptsResponse2): string;
3545
+ export declare function createPromptResponseFormatPromptsResponse2FromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormatPromptsResponse2, SDKValidationError>;
3546
3546
  /** @internal */
3547
3547
  export declare const CreatePromptResponseFormatPromptsResponseType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsResponseType>;
3548
3548
  /** @internal */
@@ -3562,9 +3562,9 @@ export declare namespace CreatePromptResponseFormatPromptsResponseType$ {
3562
3562
  }>;
3563
3563
  }
3564
3564
  /** @internal */
3565
- export declare const CreatePromptResponseFormatJsonSchema$inboundSchema: z.ZodType<CreatePromptResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
3565
+ export declare const CreatePromptResponseFormatPromptsResponseJsonSchema$inboundSchema: z.ZodType<CreatePromptResponseFormatPromptsResponseJsonSchema, z.ZodTypeDef, unknown>;
3566
3566
  /** @internal */
3567
- export type CreatePromptResponseFormatJsonSchema$Outbound = {
3567
+ export type CreatePromptResponseFormatPromptsResponseJsonSchema$Outbound = {
3568
3568
  name: string;
3569
3569
  description?: string | undefined;
3570
3570
  strict?: boolean | undefined;
@@ -3573,64 +3573,64 @@ export type CreatePromptResponseFormatJsonSchema$Outbound = {
3573
3573
  };
3574
3574
  };
3575
3575
  /** @internal */
3576
- export declare const CreatePromptResponseFormatJsonSchema$outboundSchema: z.ZodType<CreatePromptResponseFormatJsonSchema$Outbound, z.ZodTypeDef, CreatePromptResponseFormatJsonSchema>;
3576
+ export declare const CreatePromptResponseFormatPromptsResponseJsonSchema$outboundSchema: z.ZodType<CreatePromptResponseFormatPromptsResponseJsonSchema$Outbound, z.ZodTypeDef, CreatePromptResponseFormatPromptsResponseJsonSchema>;
3577
3577
  /**
3578
3578
  * @internal
3579
3579
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3580
3580
  */
3581
- export declare namespace CreatePromptResponseFormatJsonSchema$ {
3582
- /** @deprecated use `CreatePromptResponseFormatJsonSchema$inboundSchema` instead. */
3583
- const inboundSchema: z.ZodType<CreatePromptResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
3584
- /** @deprecated use `CreatePromptResponseFormatJsonSchema$outboundSchema` instead. */
3585
- const outboundSchema: z.ZodType<CreatePromptResponseFormatJsonSchema$Outbound, z.ZodTypeDef, CreatePromptResponseFormatJsonSchema>;
3586
- /** @deprecated use `CreatePromptResponseFormatJsonSchema$Outbound` instead. */
3587
- type Outbound = CreatePromptResponseFormatJsonSchema$Outbound;
3581
+ export declare namespace CreatePromptResponseFormatPromptsResponseJsonSchema$ {
3582
+ /** @deprecated use `CreatePromptResponseFormatPromptsResponseJsonSchema$inboundSchema` instead. */
3583
+ const inboundSchema: z.ZodType<CreatePromptResponseFormatPromptsResponseJsonSchema, z.ZodTypeDef, unknown>;
3584
+ /** @deprecated use `CreatePromptResponseFormatPromptsResponseJsonSchema$outboundSchema` instead. */
3585
+ const outboundSchema: z.ZodType<CreatePromptResponseFormatPromptsResponseJsonSchema$Outbound, z.ZodTypeDef, CreatePromptResponseFormatPromptsResponseJsonSchema>;
3586
+ /** @deprecated use `CreatePromptResponseFormatPromptsResponseJsonSchema$Outbound` instead. */
3587
+ type Outbound = CreatePromptResponseFormatPromptsResponseJsonSchema$Outbound;
3588
3588
  }
3589
- export declare function createPromptResponseFormatJsonSchemaToJSON(createPromptResponseFormatJsonSchema: CreatePromptResponseFormatJsonSchema): string;
3590
- export declare function createPromptResponseFormatJsonSchemaFromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormatJsonSchema, SDKValidationError>;
3589
+ export declare function createPromptResponseFormatPromptsResponseJsonSchemaToJSON(createPromptResponseFormatPromptsResponseJsonSchema: CreatePromptResponseFormatPromptsResponseJsonSchema): string;
3590
+ export declare function createPromptResponseFormatPromptsResponseJsonSchemaFromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormatPromptsResponseJsonSchema, SDKValidationError>;
3591
3591
  /** @internal */
3592
- export declare const CreatePromptResponseFormatPrompts1$inboundSchema: z.ZodType<CreatePromptResponseFormatPrompts1, z.ZodTypeDef, unknown>;
3592
+ export declare const CreatePromptResponseFormatPromptsResponse1$inboundSchema: z.ZodType<CreatePromptResponseFormatPromptsResponse1, z.ZodTypeDef, unknown>;
3593
3593
  /** @internal */
3594
- export type CreatePromptResponseFormatPrompts1$Outbound = {
3594
+ export type CreatePromptResponseFormatPromptsResponse1$Outbound = {
3595
3595
  type: string;
3596
- json_schema: CreatePromptResponseFormatJsonSchema$Outbound;
3596
+ json_schema: CreatePromptResponseFormatPromptsResponseJsonSchema$Outbound;
3597
3597
  };
3598
3598
  /** @internal */
3599
- export declare const CreatePromptResponseFormatPrompts1$outboundSchema: z.ZodType<CreatePromptResponseFormatPrompts1$Outbound, z.ZodTypeDef, CreatePromptResponseFormatPrompts1>;
3599
+ export declare const CreatePromptResponseFormatPromptsResponse1$outboundSchema: z.ZodType<CreatePromptResponseFormatPromptsResponse1$Outbound, z.ZodTypeDef, CreatePromptResponseFormatPromptsResponse1>;
3600
3600
  /**
3601
3601
  * @internal
3602
3602
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3603
3603
  */
3604
- export declare namespace CreatePromptResponseFormatPrompts1$ {
3605
- /** @deprecated use `CreatePromptResponseFormatPrompts1$inboundSchema` instead. */
3606
- const inboundSchema: z.ZodType<CreatePromptResponseFormatPrompts1, z.ZodTypeDef, unknown>;
3607
- /** @deprecated use `CreatePromptResponseFormatPrompts1$outboundSchema` instead. */
3608
- const outboundSchema: z.ZodType<CreatePromptResponseFormatPrompts1$Outbound, z.ZodTypeDef, CreatePromptResponseFormatPrompts1>;
3609
- /** @deprecated use `CreatePromptResponseFormatPrompts1$Outbound` instead. */
3610
- type Outbound = CreatePromptResponseFormatPrompts1$Outbound;
3604
+ export declare namespace CreatePromptResponseFormatPromptsResponse1$ {
3605
+ /** @deprecated use `CreatePromptResponseFormatPromptsResponse1$inboundSchema` instead. */
3606
+ const inboundSchema: z.ZodType<CreatePromptResponseFormatPromptsResponse1, z.ZodTypeDef, unknown>;
3607
+ /** @deprecated use `CreatePromptResponseFormatPromptsResponse1$outboundSchema` instead. */
3608
+ const outboundSchema: z.ZodType<CreatePromptResponseFormatPromptsResponse1$Outbound, z.ZodTypeDef, CreatePromptResponseFormatPromptsResponse1>;
3609
+ /** @deprecated use `CreatePromptResponseFormatPromptsResponse1$Outbound` instead. */
3610
+ type Outbound = CreatePromptResponseFormatPromptsResponse1$Outbound;
3611
3611
  }
3612
- export declare function createPromptResponseFormatPrompts1ToJSON(createPromptResponseFormatPrompts1: CreatePromptResponseFormatPrompts1): string;
3613
- export declare function createPromptResponseFormatPrompts1FromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormatPrompts1, SDKValidationError>;
3612
+ export declare function createPromptResponseFormatPromptsResponse1ToJSON(createPromptResponseFormatPromptsResponse1: CreatePromptResponseFormatPromptsResponse1): string;
3613
+ export declare function createPromptResponseFormatPromptsResponse1FromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormatPromptsResponse1, SDKValidationError>;
3614
3614
  /** @internal */
3615
- export declare const CreatePromptPromptsResponseFormat$inboundSchema: z.ZodType<CreatePromptPromptsResponseFormat, z.ZodTypeDef, unknown>;
3615
+ export declare const CreatePromptPromptsResponseResponseFormat$inboundSchema: z.ZodType<CreatePromptPromptsResponseResponseFormat, z.ZodTypeDef, unknown>;
3616
3616
  /** @internal */
3617
- export type CreatePromptPromptsResponseFormat$Outbound = CreatePromptResponseFormatPrompts1$Outbound | CreatePromptResponseFormatPrompts2$Outbound | CreatePromptResponseFormatPrompts3$Outbound | string | string | string;
3617
+ export type CreatePromptPromptsResponseResponseFormat$Outbound = CreatePromptResponseFormatPromptsResponse1$Outbound | CreatePromptResponseFormatPromptsResponse2$Outbound | CreatePromptResponseFormatPromptsResponse3$Outbound | string | string | string;
3618
3618
  /** @internal */
3619
- export declare const CreatePromptPromptsResponseFormat$outboundSchema: z.ZodType<CreatePromptPromptsResponseFormat$Outbound, z.ZodTypeDef, CreatePromptPromptsResponseFormat>;
3619
+ export declare const CreatePromptPromptsResponseResponseFormat$outboundSchema: z.ZodType<CreatePromptPromptsResponseResponseFormat$Outbound, z.ZodTypeDef, CreatePromptPromptsResponseResponseFormat>;
3620
3620
  /**
3621
3621
  * @internal
3622
3622
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3623
3623
  */
3624
- export declare namespace CreatePromptPromptsResponseFormat$ {
3625
- /** @deprecated use `CreatePromptPromptsResponseFormat$inboundSchema` instead. */
3626
- const inboundSchema: z.ZodType<CreatePromptPromptsResponseFormat, z.ZodTypeDef, unknown>;
3627
- /** @deprecated use `CreatePromptPromptsResponseFormat$outboundSchema` instead. */
3628
- const outboundSchema: z.ZodType<CreatePromptPromptsResponseFormat$Outbound, z.ZodTypeDef, CreatePromptPromptsResponseFormat>;
3629
- /** @deprecated use `CreatePromptPromptsResponseFormat$Outbound` instead. */
3630
- type Outbound = CreatePromptPromptsResponseFormat$Outbound;
3624
+ export declare namespace CreatePromptPromptsResponseResponseFormat$ {
3625
+ /** @deprecated use `CreatePromptPromptsResponseResponseFormat$inboundSchema` instead. */
3626
+ const inboundSchema: z.ZodType<CreatePromptPromptsResponseResponseFormat, z.ZodTypeDef, unknown>;
3627
+ /** @deprecated use `CreatePromptPromptsResponseResponseFormat$outboundSchema` instead. */
3628
+ const outboundSchema: z.ZodType<CreatePromptPromptsResponseResponseFormat$Outbound, z.ZodTypeDef, CreatePromptPromptsResponseResponseFormat>;
3629
+ /** @deprecated use `CreatePromptPromptsResponseResponseFormat$Outbound` instead. */
3630
+ type Outbound = CreatePromptPromptsResponseResponseFormat$Outbound;
3631
3631
  }
3632
- export declare function createPromptPromptsResponseFormatToJSON(createPromptPromptsResponseFormat: CreatePromptPromptsResponseFormat): string;
3633
- export declare function createPromptPromptsResponseFormatFromJSON(jsonString: string): SafeParseResult<CreatePromptPromptsResponseFormat, SDKValidationError>;
3632
+ export declare function createPromptPromptsResponseResponseFormatToJSON(createPromptPromptsResponseResponseFormat: CreatePromptPromptsResponseResponseFormat): string;
3633
+ export declare function createPromptPromptsResponseResponseFormatFromJSON(jsonString: string): SafeParseResult<CreatePromptPromptsResponseResponseFormat, SDKValidationError>;
3634
3634
  /** @internal */
3635
3635
  export declare const CreatePromptPhotoRealVersion$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPhotoRealVersion>;
3636
3636
  /** @internal */
@@ -3735,7 +3735,7 @@ export type CreatePromptModelParameters$Outbound = {
3735
3735
  dimensions?: string | undefined;
3736
3736
  quality?: string | undefined;
3737
3737
  style?: string | undefined;
3738
- responseFormat?: CreatePromptResponseFormatPrompts1$Outbound | CreatePromptResponseFormatPrompts2$Outbound | CreatePromptResponseFormatPrompts3$Outbound | string | string | string | null | undefined;
3738
+ responseFormat?: CreatePromptResponseFormatPromptsResponse1$Outbound | CreatePromptResponseFormatPromptsResponse2$Outbound | CreatePromptResponseFormatPromptsResponse3$Outbound | string | string | string | null | undefined;
3739
3739
  photoRealVersion?: string | undefined;
3740
3740
  encoding_format?: string | undefined;
3741
3741
  reasoningEffort?: string | undefined;
@@ -4135,7 +4135,7 @@ export declare const CreatePromptPromptsResponseMessages$inboundSchema: z.ZodTyp
4135
4135
  /** @internal */
4136
4136
  export type CreatePromptPromptsResponseMessages$Outbound = {
4137
4137
  role: string;
4138
- content: string | Array<CreatePrompt2PromptsResponse1$Outbound | CreatePrompt2PromptsResponse2$Outbound | CreatePrompt2PromptsResponse3$Outbound>;
4138
+ content: string | Array<CreatePrompt2PromptsResponse1$Outbound | CreatePrompt2PromptsResponse2$Outbound | CreatePrompt2PromptsResponse3$Outbound> | null;
4139
4139
  tool_calls?: Array<CreatePromptPromptsToolCalls$Outbound> | undefined;
4140
4140
  tool_call_id?: string | undefined;
4141
4141
  };