@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
@@ -904,7 +904,7 @@ export declare const DeploymentGetConfigRole: {
904
904
  * The role of the prompt message
905
905
  */
906
906
  export type DeploymentGetConfigRole = ClosedEnum<typeof DeploymentGetConfigRole>;
907
- export type DeploymentGetConfig2File = {
907
+ export type TwoFile = {
908
908
  /**
909
909
  * The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
910
910
  */
@@ -922,14 +922,14 @@ export type DeploymentGetConfig2File = {
922
922
  */
923
923
  filename?: string | undefined;
924
924
  };
925
- export type DeploymentGetConfig23 = {
925
+ export type Two3 = {
926
926
  /**
927
927
  * The type of the content part. Always `file`.
928
928
  */
929
929
  type: "file";
930
- file: DeploymentGetConfig2File;
930
+ file: TwoFile;
931
931
  };
932
- export type DeploymentGetConfig2ImageUrl = {
932
+ export type TwoImageUrl = {
933
933
  /**
934
934
  * The orq.ai id of the image
935
935
  */
@@ -948,20 +948,20 @@ export type DeploymentGetConfig2ImageUrl = {
948
948
  */
949
949
  export type DeploymentGetConfig22 = {
950
950
  type: "image_url";
951
- imageUrl: DeploymentGetConfig2ImageUrl;
951
+ imageUrl: TwoImageUrl;
952
952
  };
953
953
  /**
954
954
  * Text content part of a prompt message
955
955
  */
956
- export type DeploymentGetConfig21 = {
956
+ export type Two1 = {
957
957
  type: "text";
958
958
  text: string;
959
959
  };
960
- export type DeploymentGetConfigContentDeploymentsResponse2 = DeploymentGetConfig21 | DeploymentGetConfig22 | DeploymentGetConfig23;
960
+ export type DeploymentGetConfigContentDeploymentsResponse2 = Two1 | DeploymentGetConfig22 | Two3;
961
961
  /**
962
962
  * 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.
963
963
  */
964
- export type DeploymentGetConfigContent = string | Array<DeploymentGetConfig21 | DeploymentGetConfig22 | DeploymentGetConfig23>;
964
+ export type DeploymentGetConfigContent = string | Array<Two1 | DeploymentGetConfig22 | Two3>;
965
965
  export declare const DeploymentGetConfigDeploymentsResponseType: {
966
966
  readonly Function: "function";
967
967
  };
@@ -987,7 +987,7 @@ export type DeploymentGetConfigDeploymentsMessages = {
987
987
  /**
988
988
  * 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.
989
989
  */
990
- content: string | Array<DeploymentGetConfig21 | DeploymentGetConfig22 | DeploymentGetConfig23> | null;
990
+ content: string | Array<Two1 | DeploymentGetConfig22 | Two3> | null;
991
991
  toolCalls?: Array<DeploymentGetConfigToolCalls> | undefined;
992
992
  toolCallId?: string | null | undefined;
993
993
  };
@@ -1004,20 +1004,20 @@ export declare const DeploymentGetConfigFormat: {
1004
1004
  * Only supported on `image` models.
1005
1005
  */
1006
1006
  export type DeploymentGetConfigFormat = ClosedEnum<typeof DeploymentGetConfigFormat>;
1007
- export declare const DeploymentGetConfigResponseFormat6: {
1007
+ export declare const ResponseFormat6: {
1008
1008
  readonly Json: "json";
1009
1009
  readonly Text: "text";
1010
1010
  readonly Srt: "srt";
1011
1011
  readonly VerboseJson: "verbose_json";
1012
1012
  readonly Vtt: "vtt";
1013
1013
  };
1014
- export type DeploymentGetConfigResponseFormat6 = ClosedEnum<typeof DeploymentGetConfigResponseFormat6>;
1015
- export declare const DeploymentGetConfigResponseFormat5: {
1014
+ export type ResponseFormat6 = ClosedEnum<typeof ResponseFormat6>;
1015
+ export declare const ResponseFormat5: {
1016
1016
  readonly Url: "url";
1017
1017
  readonly Base64Json: "base64_json";
1018
1018
  };
1019
- export type DeploymentGetConfigResponseFormat5 = ClosedEnum<typeof DeploymentGetConfigResponseFormat5>;
1020
- export declare const DeploymentGetConfigResponseFormat4: {
1019
+ export type ResponseFormat5 = ClosedEnum<typeof ResponseFormat5>;
1020
+ export declare const ResponseFormat4: {
1021
1021
  readonly Mp3: "mp3";
1022
1022
  readonly Opus: "opus";
1023
1023
  readonly Aac: "aac";
@@ -1025,19 +1025,19 @@ export declare const DeploymentGetConfigResponseFormat4: {
1025
1025
  readonly Wav: "wav";
1026
1026
  readonly Pcm: "pcm";
1027
1027
  };
1028
- export type DeploymentGetConfigResponseFormat4 = ClosedEnum<typeof DeploymentGetConfigResponseFormat4>;
1028
+ export type ResponseFormat4 = ClosedEnum<typeof ResponseFormat4>;
1029
1029
  export declare const DeploymentGetConfigResponseFormatDeploymentsType: {
1030
1030
  readonly Text: "text";
1031
1031
  };
1032
1032
  export type DeploymentGetConfigResponseFormatDeploymentsType = ClosedEnum<typeof DeploymentGetConfigResponseFormatDeploymentsType>;
1033
- export type DeploymentGetConfigResponseFormat3 = {
1033
+ export type ResponseFormat3 = {
1034
1034
  type: DeploymentGetConfigResponseFormatDeploymentsType;
1035
1035
  };
1036
1036
  export declare const DeploymentGetConfigResponseFormatType: {
1037
1037
  readonly JsonObject: "json_object";
1038
1038
  };
1039
1039
  export type DeploymentGetConfigResponseFormatType = ClosedEnum<typeof DeploymentGetConfigResponseFormatType>;
1040
- export type DeploymentGetConfigResponseFormat2 = {
1040
+ export type ResponseFormat2 = {
1041
1041
  type: DeploymentGetConfigResponseFormatType;
1042
1042
  };
1043
1043
  export declare const DeploymentGetConfigResponseFormatDeploymentsResponseType: {
@@ -1052,7 +1052,7 @@ export type DeploymentGetConfigResponseFormatJsonSchema = {
1052
1052
  [k: string]: any;
1053
1053
  };
1054
1054
  };
1055
- export type DeploymentGetConfigResponseFormat1 = {
1055
+ export type ResponseFormat1 = {
1056
1056
  type: DeploymentGetConfigResponseFormatDeploymentsResponseType;
1057
1057
  displayName?: string | undefined;
1058
1058
  jsonSchema: DeploymentGetConfigResponseFormatJsonSchema;
@@ -1068,29 +1068,29 @@ export type DeploymentGetConfigResponseFormat1 = {
1068
1068
  *
1069
1069
  * 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.
1070
1070
  */
1071
- export type DeploymentGetConfigResponseFormat = DeploymentGetConfigResponseFormat1 | DeploymentGetConfigResponseFormat2 | DeploymentGetConfigResponseFormat3 | DeploymentGetConfigResponseFormat4 | DeploymentGetConfigResponseFormat5 | DeploymentGetConfigResponseFormat6;
1071
+ export type DeploymentGetConfigResponseFormat = ResponseFormat1 | ResponseFormat2 | ResponseFormat3 | ResponseFormat4 | ResponseFormat5 | ResponseFormat6;
1072
1072
  /**
1073
1073
  * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
1074
1074
  */
1075
- export declare const DeploymentGetConfigPhotoRealVersion: {
1075
+ export declare const PhotoRealVersion: {
1076
1076
  readonly V1: "v1";
1077
1077
  readonly V2: "v2";
1078
1078
  };
1079
1079
  /**
1080
1080
  * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
1081
1081
  */
1082
- export type DeploymentGetConfigPhotoRealVersion = ClosedEnum<typeof DeploymentGetConfigPhotoRealVersion>;
1082
+ export type PhotoRealVersion = ClosedEnum<typeof PhotoRealVersion>;
1083
1083
  /**
1084
1084
  * The format to return the embeddings
1085
1085
  */
1086
- export declare const DeploymentGetConfigEncodingFormat: {
1086
+ export declare const EncodingFormat: {
1087
1087
  readonly Float: "float";
1088
1088
  readonly Base64: "base64";
1089
1089
  };
1090
1090
  /**
1091
1091
  * The format to return the embeddings
1092
1092
  */
1093
- export type DeploymentGetConfigEncodingFormat = ClosedEnum<typeof DeploymentGetConfigEncodingFormat>;
1093
+ export type EncodingFormat = ClosedEnum<typeof EncodingFormat>;
1094
1094
  /**
1095
1095
  * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
1096
1096
  */
@@ -1109,7 +1109,7 @@ export type DeploymentGetConfigReasoningEffort = ClosedEnum<typeof DeploymentGet
1109
1109
  /**
1110
1110
  * Controls the verbosity of the model output.
1111
1111
  */
1112
- export declare const DeploymentGetConfigVerbosity: {
1112
+ export declare const Verbosity: {
1113
1113
  readonly Low: "low";
1114
1114
  readonly Medium: "medium";
1115
1115
  readonly High: "high";
@@ -1117,18 +1117,18 @@ export declare const DeploymentGetConfigVerbosity: {
1117
1117
  /**
1118
1118
  * Controls the verbosity of the model output.
1119
1119
  */
1120
- export type DeploymentGetConfigVerbosity = ClosedEnum<typeof DeploymentGetConfigVerbosity>;
1120
+ export type Verbosity = ClosedEnum<typeof Verbosity>;
1121
1121
  /**
1122
1122
  * The level of thinking to use for the model. Only supported by `Google AI`
1123
1123
  */
1124
- export declare const DeploymentGetConfigThinkingLevel: {
1124
+ export declare const ThinkingLevel: {
1125
1125
  readonly Low: "low";
1126
1126
  readonly High: "high";
1127
1127
  };
1128
1128
  /**
1129
1129
  * The level of thinking to use for the model. Only supported by `Google AI`
1130
1130
  */
1131
- export type DeploymentGetConfigThinkingLevel = ClosedEnum<typeof DeploymentGetConfigThinkingLevel>;
1131
+ export type ThinkingLevel = ClosedEnum<typeof ThinkingLevel>;
1132
1132
  /**
1133
1133
  * Model Parameters: Not all parameters apply to every model
1134
1134
  */
@@ -1192,15 +1192,15 @@ export type DeploymentGetConfigParameters = {
1192
1192
  *
1193
1193
  * 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.
1194
1194
  */
1195
- responseFormat?: DeploymentGetConfigResponseFormat1 | DeploymentGetConfigResponseFormat2 | DeploymentGetConfigResponseFormat3 | DeploymentGetConfigResponseFormat4 | DeploymentGetConfigResponseFormat5 | DeploymentGetConfigResponseFormat6 | null | undefined;
1195
+ responseFormat?: ResponseFormat1 | ResponseFormat2 | ResponseFormat3 | ResponseFormat4 | ResponseFormat5 | ResponseFormat6 | null | undefined;
1196
1196
  /**
1197
1197
  * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
1198
1198
  */
1199
- photoRealVersion?: DeploymentGetConfigPhotoRealVersion | undefined;
1199
+ photoRealVersion?: PhotoRealVersion | undefined;
1200
1200
  /**
1201
1201
  * The format to return the embeddings
1202
1202
  */
1203
- encodingFormat?: DeploymentGetConfigEncodingFormat | undefined;
1203
+ encodingFormat?: EncodingFormat | undefined;
1204
1204
  /**
1205
1205
  * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
1206
1206
  */
@@ -1212,11 +1212,11 @@ export type DeploymentGetConfigParameters = {
1212
1212
  /**
1213
1213
  * Controls the verbosity of the model output.
1214
1214
  */
1215
- verbosity?: DeploymentGetConfigVerbosity | undefined;
1215
+ verbosity?: Verbosity | undefined;
1216
1216
  /**
1217
1217
  * The level of thinking to use for the model. Only supported by `Google AI`
1218
1218
  */
1219
- thinkingLevel?: DeploymentGetConfigThinkingLevel | undefined;
1219
+ thinkingLevel?: ThinkingLevel | undefined;
1220
1220
  };
1221
1221
  /**
1222
1222
  * The type of the tool. Currently, only `function` is supported.
@@ -2271,67 +2271,67 @@ export declare const DeploymentGetConfigRole$inboundSchema: z.ZodNativeEnum<type
2271
2271
  /** @internal */
2272
2272
  export declare const DeploymentGetConfigRole$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigRole>;
2273
2273
  /** @internal */
2274
- export declare const DeploymentGetConfig2File$inboundSchema: z.ZodType<DeploymentGetConfig2File, z.ZodTypeDef, unknown>;
2274
+ export declare const TwoFile$inboundSchema: z.ZodType<TwoFile, z.ZodTypeDef, unknown>;
2275
2275
  /** @internal */
2276
- export type DeploymentGetConfig2File$Outbound = {
2276
+ export type TwoFile$Outbound = {
2277
2277
  file_data?: string | undefined;
2278
2278
  uri?: string | undefined;
2279
2279
  mimeType?: string | undefined;
2280
2280
  filename?: string | undefined;
2281
2281
  };
2282
2282
  /** @internal */
2283
- export declare const DeploymentGetConfig2File$outboundSchema: z.ZodType<DeploymentGetConfig2File$Outbound, z.ZodTypeDef, DeploymentGetConfig2File>;
2284
- export declare function deploymentGetConfig2FileToJSON(deploymentGetConfig2File: DeploymentGetConfig2File): string;
2285
- export declare function deploymentGetConfig2FileFromJSON(jsonString: string): SafeParseResult<DeploymentGetConfig2File, SDKValidationError>;
2283
+ export declare const TwoFile$outboundSchema: z.ZodType<TwoFile$Outbound, z.ZodTypeDef, TwoFile>;
2284
+ export declare function twoFileToJSON(twoFile: TwoFile): string;
2285
+ export declare function twoFileFromJSON(jsonString: string): SafeParseResult<TwoFile, SDKValidationError>;
2286
2286
  /** @internal */
2287
- export declare const DeploymentGetConfig23$inboundSchema: z.ZodType<DeploymentGetConfig23, z.ZodTypeDef, unknown>;
2287
+ export declare const Two3$inboundSchema: z.ZodType<Two3, z.ZodTypeDef, unknown>;
2288
2288
  /** @internal */
2289
- export type DeploymentGetConfig23$Outbound = {
2289
+ export type Two3$Outbound = {
2290
2290
  type: "file";
2291
- file: DeploymentGetConfig2File$Outbound;
2291
+ file: TwoFile$Outbound;
2292
2292
  };
2293
2293
  /** @internal */
2294
- export declare const DeploymentGetConfig23$outboundSchema: z.ZodType<DeploymentGetConfig23$Outbound, z.ZodTypeDef, DeploymentGetConfig23>;
2295
- export declare function deploymentGetConfig23ToJSON(deploymentGetConfig23: DeploymentGetConfig23): string;
2296
- export declare function deploymentGetConfig23FromJSON(jsonString: string): SafeParseResult<DeploymentGetConfig23, SDKValidationError>;
2294
+ export declare const Two3$outboundSchema: z.ZodType<Two3$Outbound, z.ZodTypeDef, Two3>;
2295
+ export declare function two3ToJSON(two3: Two3): string;
2296
+ export declare function two3FromJSON(jsonString: string): SafeParseResult<Two3, SDKValidationError>;
2297
2297
  /** @internal */
2298
- export declare const DeploymentGetConfig2ImageUrl$inboundSchema: z.ZodType<DeploymentGetConfig2ImageUrl, z.ZodTypeDef, unknown>;
2298
+ export declare const TwoImageUrl$inboundSchema: z.ZodType<TwoImageUrl, z.ZodTypeDef, unknown>;
2299
2299
  /** @internal */
2300
- export type DeploymentGetConfig2ImageUrl$Outbound = {
2300
+ export type TwoImageUrl$Outbound = {
2301
2301
  id?: string | undefined;
2302
2302
  url: string;
2303
2303
  detail?: string | undefined;
2304
2304
  };
2305
2305
  /** @internal */
2306
- export declare const DeploymentGetConfig2ImageUrl$outboundSchema: z.ZodType<DeploymentGetConfig2ImageUrl$Outbound, z.ZodTypeDef, DeploymentGetConfig2ImageUrl>;
2307
- export declare function deploymentGetConfig2ImageUrlToJSON(deploymentGetConfig2ImageUrl: DeploymentGetConfig2ImageUrl): string;
2308
- export declare function deploymentGetConfig2ImageUrlFromJSON(jsonString: string): SafeParseResult<DeploymentGetConfig2ImageUrl, SDKValidationError>;
2306
+ export declare const TwoImageUrl$outboundSchema: z.ZodType<TwoImageUrl$Outbound, z.ZodTypeDef, TwoImageUrl>;
2307
+ export declare function twoImageUrlToJSON(twoImageUrl: TwoImageUrl): string;
2308
+ export declare function twoImageUrlFromJSON(jsonString: string): SafeParseResult<TwoImageUrl, SDKValidationError>;
2309
2309
  /** @internal */
2310
2310
  export declare const DeploymentGetConfig22$inboundSchema: z.ZodType<DeploymentGetConfig22, z.ZodTypeDef, unknown>;
2311
2311
  /** @internal */
2312
2312
  export type DeploymentGetConfig22$Outbound = {
2313
2313
  type: "image_url";
2314
- image_url: DeploymentGetConfig2ImageUrl$Outbound;
2314
+ image_url: TwoImageUrl$Outbound;
2315
2315
  };
2316
2316
  /** @internal */
2317
2317
  export declare const DeploymentGetConfig22$outboundSchema: z.ZodType<DeploymentGetConfig22$Outbound, z.ZodTypeDef, DeploymentGetConfig22>;
2318
2318
  export declare function deploymentGetConfig22ToJSON(deploymentGetConfig22: DeploymentGetConfig22): string;
2319
2319
  export declare function deploymentGetConfig22FromJSON(jsonString: string): SafeParseResult<DeploymentGetConfig22, SDKValidationError>;
2320
2320
  /** @internal */
2321
- export declare const DeploymentGetConfig21$inboundSchema: z.ZodType<DeploymentGetConfig21, z.ZodTypeDef, unknown>;
2321
+ export declare const Two1$inboundSchema: z.ZodType<Two1, z.ZodTypeDef, unknown>;
2322
2322
  /** @internal */
2323
- export type DeploymentGetConfig21$Outbound = {
2323
+ export type Two1$Outbound = {
2324
2324
  type: "text";
2325
2325
  text: string;
2326
2326
  };
2327
2327
  /** @internal */
2328
- export declare const DeploymentGetConfig21$outboundSchema: z.ZodType<DeploymentGetConfig21$Outbound, z.ZodTypeDef, DeploymentGetConfig21>;
2329
- export declare function deploymentGetConfig21ToJSON(deploymentGetConfig21: DeploymentGetConfig21): string;
2330
- export declare function deploymentGetConfig21FromJSON(jsonString: string): SafeParseResult<DeploymentGetConfig21, SDKValidationError>;
2328
+ export declare const Two1$outboundSchema: z.ZodType<Two1$Outbound, z.ZodTypeDef, Two1>;
2329
+ export declare function two1ToJSON(two1: Two1): string;
2330
+ export declare function two1FromJSON(jsonString: string): SafeParseResult<Two1, SDKValidationError>;
2331
2331
  /** @internal */
2332
2332
  export declare const DeploymentGetConfigContentDeploymentsResponse2$inboundSchema: z.ZodType<DeploymentGetConfigContentDeploymentsResponse2, z.ZodTypeDef, unknown>;
2333
2333
  /** @internal */
2334
- export type DeploymentGetConfigContentDeploymentsResponse2$Outbound = DeploymentGetConfig21$Outbound | DeploymentGetConfig22$Outbound | DeploymentGetConfig23$Outbound;
2334
+ export type DeploymentGetConfigContentDeploymentsResponse2$Outbound = Two1$Outbound | DeploymentGetConfig22$Outbound | Two3$Outbound;
2335
2335
  /** @internal */
2336
2336
  export declare const DeploymentGetConfigContentDeploymentsResponse2$outboundSchema: z.ZodType<DeploymentGetConfigContentDeploymentsResponse2$Outbound, z.ZodTypeDef, DeploymentGetConfigContentDeploymentsResponse2>;
2337
2337
  export declare function deploymentGetConfigContentDeploymentsResponse2ToJSON(deploymentGetConfigContentDeploymentsResponse2: DeploymentGetConfigContentDeploymentsResponse2): string;
@@ -2339,7 +2339,7 @@ export declare function deploymentGetConfigContentDeploymentsResponse2FromJSON(j
2339
2339
  /** @internal */
2340
2340
  export declare const DeploymentGetConfigContent$inboundSchema: z.ZodType<DeploymentGetConfigContent, z.ZodTypeDef, unknown>;
2341
2341
  /** @internal */
2342
- export type DeploymentGetConfigContent$Outbound = string | Array<DeploymentGetConfig21$Outbound | DeploymentGetConfig22$Outbound | DeploymentGetConfig23$Outbound>;
2342
+ export type DeploymentGetConfigContent$Outbound = string | Array<Two1$Outbound | DeploymentGetConfig22$Outbound | Two3$Outbound>;
2343
2343
  /** @internal */
2344
2344
  export declare const DeploymentGetConfigContent$outboundSchema: z.ZodType<DeploymentGetConfigContent$Outbound, z.ZodTypeDef, DeploymentGetConfigContent>;
2345
2345
  export declare function deploymentGetConfigContentToJSON(deploymentGetConfigContent: DeploymentGetConfigContent): string;
@@ -2377,7 +2377,7 @@ export declare const DeploymentGetConfigDeploymentsMessages$inboundSchema: z.Zod
2377
2377
  /** @internal */
2378
2378
  export type DeploymentGetConfigDeploymentsMessages$Outbound = {
2379
2379
  role: string;
2380
- content: string | Array<DeploymentGetConfig21$Outbound | DeploymentGetConfig22$Outbound | DeploymentGetConfig23$Outbound> | null;
2380
+ content: string | Array<Two1$Outbound | DeploymentGetConfig22$Outbound | Two3$Outbound> | null;
2381
2381
  tool_calls?: Array<DeploymentGetConfigToolCalls$Outbound> | undefined;
2382
2382
  tool_call_id?: string | null | undefined;
2383
2383
  };
@@ -2390,45 +2390,45 @@ export declare const DeploymentGetConfigFormat$inboundSchema: z.ZodNativeEnum<ty
2390
2390
  /** @internal */
2391
2391
  export declare const DeploymentGetConfigFormat$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigFormat>;
2392
2392
  /** @internal */
2393
- export declare const DeploymentGetConfigResponseFormat6$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigResponseFormat6>;
2393
+ export declare const ResponseFormat6$inboundSchema: z.ZodNativeEnum<typeof ResponseFormat6>;
2394
2394
  /** @internal */
2395
- export declare const DeploymentGetConfigResponseFormat6$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigResponseFormat6>;
2395
+ export declare const ResponseFormat6$outboundSchema: z.ZodNativeEnum<typeof ResponseFormat6>;
2396
2396
  /** @internal */
2397
- export declare const DeploymentGetConfigResponseFormat5$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigResponseFormat5>;
2397
+ export declare const ResponseFormat5$inboundSchema: z.ZodNativeEnum<typeof ResponseFormat5>;
2398
2398
  /** @internal */
2399
- export declare const DeploymentGetConfigResponseFormat5$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigResponseFormat5>;
2399
+ export declare const ResponseFormat5$outboundSchema: z.ZodNativeEnum<typeof ResponseFormat5>;
2400
2400
  /** @internal */
2401
- export declare const DeploymentGetConfigResponseFormat4$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigResponseFormat4>;
2401
+ export declare const ResponseFormat4$inboundSchema: z.ZodNativeEnum<typeof ResponseFormat4>;
2402
2402
  /** @internal */
2403
- export declare const DeploymentGetConfigResponseFormat4$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigResponseFormat4>;
2403
+ export declare const ResponseFormat4$outboundSchema: z.ZodNativeEnum<typeof ResponseFormat4>;
2404
2404
  /** @internal */
2405
2405
  export declare const DeploymentGetConfigResponseFormatDeploymentsType$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigResponseFormatDeploymentsType>;
2406
2406
  /** @internal */
2407
2407
  export declare const DeploymentGetConfigResponseFormatDeploymentsType$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigResponseFormatDeploymentsType>;
2408
2408
  /** @internal */
2409
- export declare const DeploymentGetConfigResponseFormat3$inboundSchema: z.ZodType<DeploymentGetConfigResponseFormat3, z.ZodTypeDef, unknown>;
2409
+ export declare const ResponseFormat3$inboundSchema: z.ZodType<ResponseFormat3, z.ZodTypeDef, unknown>;
2410
2410
  /** @internal */
2411
- export type DeploymentGetConfigResponseFormat3$Outbound = {
2411
+ export type ResponseFormat3$Outbound = {
2412
2412
  type: string;
2413
2413
  };
2414
2414
  /** @internal */
2415
- export declare const DeploymentGetConfigResponseFormat3$outboundSchema: z.ZodType<DeploymentGetConfigResponseFormat3$Outbound, z.ZodTypeDef, DeploymentGetConfigResponseFormat3>;
2416
- export declare function deploymentGetConfigResponseFormat3ToJSON(deploymentGetConfigResponseFormat3: DeploymentGetConfigResponseFormat3): string;
2417
- export declare function deploymentGetConfigResponseFormat3FromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigResponseFormat3, SDKValidationError>;
2415
+ export declare const ResponseFormat3$outboundSchema: z.ZodType<ResponseFormat3$Outbound, z.ZodTypeDef, ResponseFormat3>;
2416
+ export declare function responseFormat3ToJSON(responseFormat3: ResponseFormat3): string;
2417
+ export declare function responseFormat3FromJSON(jsonString: string): SafeParseResult<ResponseFormat3, SDKValidationError>;
2418
2418
  /** @internal */
2419
2419
  export declare const DeploymentGetConfigResponseFormatType$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigResponseFormatType>;
2420
2420
  /** @internal */
2421
2421
  export declare const DeploymentGetConfigResponseFormatType$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigResponseFormatType>;
2422
2422
  /** @internal */
2423
- export declare const DeploymentGetConfigResponseFormat2$inboundSchema: z.ZodType<DeploymentGetConfigResponseFormat2, z.ZodTypeDef, unknown>;
2423
+ export declare const ResponseFormat2$inboundSchema: z.ZodType<ResponseFormat2, z.ZodTypeDef, unknown>;
2424
2424
  /** @internal */
2425
- export type DeploymentGetConfigResponseFormat2$Outbound = {
2425
+ export type ResponseFormat2$Outbound = {
2426
2426
  type: string;
2427
2427
  };
2428
2428
  /** @internal */
2429
- export declare const DeploymentGetConfigResponseFormat2$outboundSchema: z.ZodType<DeploymentGetConfigResponseFormat2$Outbound, z.ZodTypeDef, DeploymentGetConfigResponseFormat2>;
2430
- export declare function deploymentGetConfigResponseFormat2ToJSON(deploymentGetConfigResponseFormat2: DeploymentGetConfigResponseFormat2): string;
2431
- export declare function deploymentGetConfigResponseFormat2FromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigResponseFormat2, SDKValidationError>;
2429
+ export declare const ResponseFormat2$outboundSchema: z.ZodType<ResponseFormat2$Outbound, z.ZodTypeDef, ResponseFormat2>;
2430
+ export declare function responseFormat2ToJSON(responseFormat2: ResponseFormat2): string;
2431
+ export declare function responseFormat2FromJSON(jsonString: string): SafeParseResult<ResponseFormat2, SDKValidationError>;
2432
2432
  /** @internal */
2433
2433
  export declare const DeploymentGetConfigResponseFormatDeploymentsResponseType$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigResponseFormatDeploymentsResponseType>;
2434
2434
  /** @internal */
@@ -2449,45 +2449,45 @@ export declare const DeploymentGetConfigResponseFormatJsonSchema$outboundSchema:
2449
2449
  export declare function deploymentGetConfigResponseFormatJsonSchemaToJSON(deploymentGetConfigResponseFormatJsonSchema: DeploymentGetConfigResponseFormatJsonSchema): string;
2450
2450
  export declare function deploymentGetConfigResponseFormatJsonSchemaFromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigResponseFormatJsonSchema, SDKValidationError>;
2451
2451
  /** @internal */
2452
- export declare const DeploymentGetConfigResponseFormat1$inboundSchema: z.ZodType<DeploymentGetConfigResponseFormat1, z.ZodTypeDef, unknown>;
2452
+ export declare const ResponseFormat1$inboundSchema: z.ZodType<ResponseFormat1, z.ZodTypeDef, unknown>;
2453
2453
  /** @internal */
2454
- export type DeploymentGetConfigResponseFormat1$Outbound = {
2454
+ export type ResponseFormat1$Outbound = {
2455
2455
  type: string;
2456
2456
  display_name?: string | undefined;
2457
2457
  json_schema: DeploymentGetConfigResponseFormatJsonSchema$Outbound;
2458
2458
  };
2459
2459
  /** @internal */
2460
- export declare const DeploymentGetConfigResponseFormat1$outboundSchema: z.ZodType<DeploymentGetConfigResponseFormat1$Outbound, z.ZodTypeDef, DeploymentGetConfigResponseFormat1>;
2461
- export declare function deploymentGetConfigResponseFormat1ToJSON(deploymentGetConfigResponseFormat1: DeploymentGetConfigResponseFormat1): string;
2462
- export declare function deploymentGetConfigResponseFormat1FromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigResponseFormat1, SDKValidationError>;
2460
+ export declare const ResponseFormat1$outboundSchema: z.ZodType<ResponseFormat1$Outbound, z.ZodTypeDef, ResponseFormat1>;
2461
+ export declare function responseFormat1ToJSON(responseFormat1: ResponseFormat1): string;
2462
+ export declare function responseFormat1FromJSON(jsonString: string): SafeParseResult<ResponseFormat1, SDKValidationError>;
2463
2463
  /** @internal */
2464
2464
  export declare const DeploymentGetConfigResponseFormat$inboundSchema: z.ZodType<DeploymentGetConfigResponseFormat, z.ZodTypeDef, unknown>;
2465
2465
  /** @internal */
2466
- export type DeploymentGetConfigResponseFormat$Outbound = DeploymentGetConfigResponseFormat1$Outbound | DeploymentGetConfigResponseFormat2$Outbound | DeploymentGetConfigResponseFormat3$Outbound | string | string | string;
2466
+ export type DeploymentGetConfigResponseFormat$Outbound = ResponseFormat1$Outbound | ResponseFormat2$Outbound | ResponseFormat3$Outbound | string | string | string;
2467
2467
  /** @internal */
2468
2468
  export declare const DeploymentGetConfigResponseFormat$outboundSchema: z.ZodType<DeploymentGetConfigResponseFormat$Outbound, z.ZodTypeDef, DeploymentGetConfigResponseFormat>;
2469
2469
  export declare function deploymentGetConfigResponseFormatToJSON(deploymentGetConfigResponseFormat: DeploymentGetConfigResponseFormat): string;
2470
2470
  export declare function deploymentGetConfigResponseFormatFromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigResponseFormat, SDKValidationError>;
2471
2471
  /** @internal */
2472
- export declare const DeploymentGetConfigPhotoRealVersion$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigPhotoRealVersion>;
2472
+ export declare const PhotoRealVersion$inboundSchema: z.ZodNativeEnum<typeof PhotoRealVersion>;
2473
2473
  /** @internal */
2474
- export declare const DeploymentGetConfigPhotoRealVersion$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigPhotoRealVersion>;
2474
+ export declare const PhotoRealVersion$outboundSchema: z.ZodNativeEnum<typeof PhotoRealVersion>;
2475
2475
  /** @internal */
2476
- export declare const DeploymentGetConfigEncodingFormat$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigEncodingFormat>;
2476
+ export declare const EncodingFormat$inboundSchema: z.ZodNativeEnum<typeof EncodingFormat>;
2477
2477
  /** @internal */
2478
- export declare const DeploymentGetConfigEncodingFormat$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigEncodingFormat>;
2478
+ export declare const EncodingFormat$outboundSchema: z.ZodNativeEnum<typeof EncodingFormat>;
2479
2479
  /** @internal */
2480
2480
  export declare const DeploymentGetConfigReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigReasoningEffort>;
2481
2481
  /** @internal */
2482
2482
  export declare const DeploymentGetConfigReasoningEffort$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigReasoningEffort>;
2483
2483
  /** @internal */
2484
- export declare const DeploymentGetConfigVerbosity$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigVerbosity>;
2484
+ export declare const Verbosity$inboundSchema: z.ZodNativeEnum<typeof Verbosity>;
2485
2485
  /** @internal */
2486
- export declare const DeploymentGetConfigVerbosity$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigVerbosity>;
2486
+ export declare const Verbosity$outboundSchema: z.ZodNativeEnum<typeof Verbosity>;
2487
2487
  /** @internal */
2488
- export declare const DeploymentGetConfigThinkingLevel$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigThinkingLevel>;
2488
+ export declare const ThinkingLevel$inboundSchema: z.ZodNativeEnum<typeof ThinkingLevel>;
2489
2489
  /** @internal */
2490
- export declare const DeploymentGetConfigThinkingLevel$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigThinkingLevel>;
2490
+ export declare const ThinkingLevel$outboundSchema: z.ZodNativeEnum<typeof ThinkingLevel>;
2491
2491
  /** @internal */
2492
2492
  export declare const DeploymentGetConfigParameters$inboundSchema: z.ZodType<DeploymentGetConfigParameters, z.ZodTypeDef, unknown>;
2493
2493
  /** @internal */
@@ -2504,7 +2504,7 @@ export type DeploymentGetConfigParameters$Outbound = {
2504
2504
  dimensions?: string | undefined;
2505
2505
  quality?: string | undefined;
2506
2506
  style?: string | undefined;
2507
- responseFormat?: DeploymentGetConfigResponseFormat1$Outbound | DeploymentGetConfigResponseFormat2$Outbound | DeploymentGetConfigResponseFormat3$Outbound | string | string | string | null | undefined;
2507
+ responseFormat?: ResponseFormat1$Outbound | ResponseFormat2$Outbound | ResponseFormat3$Outbound | string | string | string | null | undefined;
2508
2508
  photoRealVersion?: string | undefined;
2509
2509
  encoding_format?: string | undefined;
2510
2510
  reasoningEffort?: string | undefined;