@orq-ai/node 3.10.16 → 3.10.17

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 (132) hide show
  1. package/bin/mcp-server.js +608 -378
  2. package/bin/mcp-server.js.map +35 -35
  3. package/examples/package-lock.json +1 -1
  4. package/jsr.json +1 -1
  5. package/lib/config.d.ts +3 -3
  6. package/lib/config.js +3 -3
  7. package/mcp-server/mcp-server.js +1 -1
  8. package/mcp-server/server.js +1 -1
  9. package/models/operations/createcontact.js +2 -2
  10. package/models/operations/createdataset.js +2 -2
  11. package/models/operations/createdatasetitem.js +2 -2
  12. package/models/operations/createdatasource.js +2 -2
  13. package/models/operations/createeval.js +16 -16
  14. package/models/operations/createprompt.d.ts +163 -69
  15. package/models/operations/createprompt.d.ts.map +1 -1
  16. package/models/operations/createprompt.js +196 -96
  17. package/models/operations/createprompt.js.map +1 -1
  18. package/models/operations/deploymentgetconfig.d.ts +82 -35
  19. package/models/operations/deploymentgetconfig.d.ts.map +1 -1
  20. package/models/operations/deploymentgetconfig.js +106 -57
  21. package/models/operations/deploymentgetconfig.js.map +1 -1
  22. package/models/operations/deployments.d.ts +82 -35
  23. package/models/operations/deployments.d.ts.map +1 -1
  24. package/models/operations/deployments.js +99 -49
  25. package/models/operations/deployments.js.map +1 -1
  26. package/models/operations/fileget.js +2 -2
  27. package/models/operations/filelist.js +2 -2
  28. package/models/operations/fileupload.js +2 -2
  29. package/models/operations/getallprompts.d.ts +81 -34
  30. package/models/operations/getallprompts.d.ts.map +1 -1
  31. package/models/operations/getallprompts.js +99 -49
  32. package/models/operations/getallprompts.js.map +1 -1
  33. package/models/operations/getevals.js +28 -28
  34. package/models/operations/getoneprompt.d.ts +81 -34
  35. package/models/operations/getoneprompt.d.ts.map +1 -1
  36. package/models/operations/getoneprompt.js +99 -49
  37. package/models/operations/getoneprompt.js.map +1 -1
  38. package/models/operations/getpromptversion.d.ts +81 -34
  39. package/models/operations/getpromptversion.d.ts.map +1 -1
  40. package/models/operations/getpromptversion.js +100 -50
  41. package/models/operations/getpromptversion.js.map +1 -1
  42. package/models/operations/listcontacts.js +2 -2
  43. package/models/operations/listdatasetdatapoints.js +2 -2
  44. package/models/operations/listdatasets.js +2 -2
  45. package/models/operations/listdatasources.js +2 -2
  46. package/models/operations/listpromptversions.d.ts +81 -34
  47. package/models/operations/listpromptversions.d.ts.map +1 -1
  48. package/models/operations/listpromptversions.js +99 -50
  49. package/models/operations/listpromptversions.js.map +1 -1
  50. package/models/operations/retrievecontact.js +2 -2
  51. package/models/operations/retrievedatapoint.js +2 -2
  52. package/models/operations/retrievedataset.js +2 -2
  53. package/models/operations/retrievedatasource.js +2 -2
  54. package/models/operations/updatecontact.js +2 -2
  55. package/models/operations/updatedatapoint.js +2 -2
  56. package/models/operations/updatedataset.js +2 -2
  57. package/models/operations/updatedatasource.js +2 -2
  58. package/models/operations/updateeval.js +16 -16
  59. package/models/operations/updateprompt.d.ts +162 -68
  60. package/models/operations/updateprompt.d.ts.map +1 -1
  61. package/models/operations/updateprompt.js +197 -97
  62. package/models/operations/updateprompt.js.map +1 -1
  63. package/package.json +1 -1
  64. package/packages/orq-rc/docs/sdks/datasets/README.md +1 -1
  65. package/packages/orq-rc/docs/sdks/knowledge/README.md +1 -1
  66. package/packages/orq-rc/examples/package-lock.json +1 -1
  67. package/packages/orq-rc/jsr.json +1 -1
  68. package/packages/orq-rc/package-lock.json +2 -2
  69. package/packages/orq-rc/package.json +1 -1
  70. package/packages/orq-rc/src/funcs/datasetsCreateDatapoint.ts +5 -4
  71. package/packages/orq-rc/src/funcs/knowledgeCreateChunks.ts +4 -4
  72. package/packages/orq-rc/src/lib/config.ts +3 -3
  73. package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
  74. package/packages/orq-rc/src/mcp-server/server.ts +1 -1
  75. package/packages/orq-rc/src/models/operations/createchunk.ts +54 -44
  76. package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
  77. package/packages/orq-rc/src/models/operations/createdataset.ts +2 -2
  78. package/packages/orq-rc/src/models/operations/createdatasetitem.ts +46 -63
  79. package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
  80. package/packages/orq-rc/src/models/operations/createeval.ts +16 -16
  81. package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
  82. package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
  83. package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
  84. package/packages/orq-rc/src/models/operations/getevals.ts +28 -28
  85. package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
  86. package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +2 -2
  87. package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
  88. package/packages/orq-rc/src/models/operations/listdatasources.ts +2 -2
  89. package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
  90. package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +2 -2
  91. package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
  92. package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
  93. package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
  94. package/packages/orq-rc/src/models/operations/updatedatapoint.ts +2 -2
  95. package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
  96. package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
  97. package/packages/orq-rc/src/models/operations/updateeval.ts +16 -16
  98. package/packages/orq-rc/src/sdk/datasets.ts +1 -1
  99. package/packages/orq-rc/src/sdk/knowledge.ts +1 -1
  100. package/src/lib/config.ts +3 -3
  101. package/src/mcp-server/mcp-server.ts +1 -1
  102. package/src/mcp-server/server.ts +1 -1
  103. package/src/models/operations/createcontact.ts +2 -2
  104. package/src/models/operations/createdataset.ts +2 -2
  105. package/src/models/operations/createdatasetitem.ts +2 -2
  106. package/src/models/operations/createdatasource.ts +2 -2
  107. package/src/models/operations/createeval.ts +16 -16
  108. package/src/models/operations/createprompt.ts +347 -141
  109. package/src/models/operations/deploymentgetconfig.ts +173 -72
  110. package/src/models/operations/deployments.ts +168 -72
  111. package/src/models/operations/fileget.ts +2 -2
  112. package/src/models/operations/filelist.ts +2 -2
  113. package/src/models/operations/fileupload.ts +2 -2
  114. package/src/models/operations/getallprompts.ts +169 -71
  115. package/src/models/operations/getevals.ts +28 -28
  116. package/src/models/operations/getoneprompt.ts +169 -71
  117. package/src/models/operations/getpromptversion.ts +168 -70
  118. package/src/models/operations/listcontacts.ts +2 -2
  119. package/src/models/operations/listdatasetdatapoints.ts +2 -2
  120. package/src/models/operations/listdatasets.ts +2 -2
  121. package/src/models/operations/listdatasources.ts +2 -2
  122. package/src/models/operations/listpromptversions.ts +170 -71
  123. package/src/models/operations/retrievecontact.ts +2 -2
  124. package/src/models/operations/retrievedatapoint.ts +2 -2
  125. package/src/models/operations/retrievedataset.ts +2 -2
  126. package/src/models/operations/retrievedatasource.ts +2 -2
  127. package/src/models/operations/updatecontact.ts +2 -2
  128. package/src/models/operations/updatedatapoint.ts +2 -2
  129. package/src/models/operations/updatedataset.ts +2 -2
  130. package/src/models/operations/updatedatasource.ts +2 -2
  131. package/src/models/operations/updateeval.ts +16 -16
  132. package/src/models/operations/updateprompt.ts +347 -141
@@ -33,17 +33,17 @@ export declare const CreatePromptFormat: {
33
33
  * Only supported on `image` models.
34
34
  */
35
35
  export type CreatePromptFormat = ClosedEnum<typeof CreatePromptFormat>;
36
- export declare const CreatePromptResponseFormatType: {
36
+ export declare const CreatePromptResponseFormatPromptsType: {
37
37
  readonly JsonObject: "json_object";
38
38
  };
39
- export type CreatePromptResponseFormatType = ClosedEnum<typeof CreatePromptResponseFormatType>;
40
- export type ResponseFormat2 = {
41
- type: CreatePromptResponseFormatType;
39
+ export type CreatePromptResponseFormatPromptsType = ClosedEnum<typeof CreatePromptResponseFormatPromptsType>;
40
+ export type ResponseFormat3 = {
41
+ type: CreatePromptResponseFormatPromptsType;
42
42
  };
43
- export declare const ResponseFormatType: {
43
+ export declare const CreatePromptResponseFormatType: {
44
44
  readonly JsonSchema: "json_schema";
45
45
  };
46
- export type ResponseFormatType = ClosedEnum<typeof ResponseFormatType>;
46
+ export type CreatePromptResponseFormatType = ClosedEnum<typeof CreatePromptResponseFormatType>;
47
47
  export type JsonSchema = {
48
48
  name: string;
49
49
  strict?: boolean | undefined;
@@ -51,9 +51,16 @@ export type JsonSchema = {
51
51
  [k: string]: any;
52
52
  };
53
53
  };
54
+ export type ResponseFormat2 = {
55
+ type: CreatePromptResponseFormatType;
56
+ jsonSchema: JsonSchema;
57
+ };
58
+ export declare const ResponseFormatType: {
59
+ readonly Text: "text";
60
+ };
61
+ export type ResponseFormatType = ClosedEnum<typeof ResponseFormatType>;
54
62
  export type ResponseFormat1 = {
55
63
  type: ResponseFormatType;
56
- jsonSchema: JsonSchema;
57
64
  };
58
65
  /**
59
66
  * An object specifying the format that the model must output.
@@ -66,7 +73,7 @@ export type ResponseFormat1 = {
66
73
  *
67
74
  * 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.
68
75
  */
69
- export type ResponseFormat = ResponseFormat1 | ResponseFormat2;
76
+ export type ResponseFormat = ResponseFormat2 | ResponseFormat1 | ResponseFormat3;
70
77
  /**
71
78
  * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
72
79
  */
@@ -177,7 +184,7 @@ export type ModelParameters = {
177
184
  *
178
185
  * 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.
179
186
  */
180
- responseFormat?: ResponseFormat1 | ResponseFormat2 | null | undefined;
187
+ responseFormat?: ResponseFormat2 | ResponseFormat1 | ResponseFormat3 | null | undefined;
181
188
  /**
182
189
  * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
183
190
  */
@@ -454,17 +461,17 @@ export declare const CreatePromptPromptsFormat: {
454
461
  * Only supported on `image` models.
455
462
  */
456
463
  export type CreatePromptPromptsFormat = ClosedEnum<typeof CreatePromptPromptsFormat>;
457
- export declare const CreatePromptResponseFormatPromptsResponseType: {
464
+ export declare const CreatePromptResponseFormatPromptsResponse200ApplicationJSONType: {
458
465
  readonly JsonObject: "json_object";
459
466
  };
460
- export type CreatePromptResponseFormatPromptsResponseType = ClosedEnum<typeof CreatePromptResponseFormatPromptsResponseType>;
461
- export type CreatePromptResponseFormat2 = {
462
- type: CreatePromptResponseFormatPromptsResponseType;
467
+ export type CreatePromptResponseFormatPromptsResponse200ApplicationJSONType = ClosedEnum<typeof CreatePromptResponseFormatPromptsResponse200ApplicationJSONType>;
468
+ export type CreatePromptResponseFormat3 = {
469
+ type: CreatePromptResponseFormatPromptsResponse200ApplicationJSONType;
463
470
  };
464
- export declare const CreatePromptResponseFormatPromptsType: {
471
+ export declare const CreatePromptResponseFormatPromptsResponse200Type: {
465
472
  readonly JsonSchema: "json_schema";
466
473
  };
467
- export type CreatePromptResponseFormatPromptsType = ClosedEnum<typeof CreatePromptResponseFormatPromptsType>;
474
+ export type CreatePromptResponseFormatPromptsResponse200Type = ClosedEnum<typeof CreatePromptResponseFormatPromptsResponse200Type>;
468
475
  export type CreatePromptResponseFormatJsonSchema = {
469
476
  name: string;
470
477
  strict?: boolean | undefined;
@@ -472,10 +479,17 @@ export type CreatePromptResponseFormatJsonSchema = {
472
479
  [k: string]: any;
473
480
  };
474
481
  };
475
- export type CreatePromptResponseFormat1 = {
476
- type: CreatePromptResponseFormatPromptsType;
482
+ export type CreatePromptResponseFormat2 = {
483
+ type: CreatePromptResponseFormatPromptsResponse200Type;
477
484
  jsonSchema: CreatePromptResponseFormatJsonSchema;
478
485
  };
486
+ export declare const CreatePromptResponseFormatPromptsResponseType: {
487
+ readonly Text: "text";
488
+ };
489
+ export type CreatePromptResponseFormatPromptsResponseType = ClosedEnum<typeof CreatePromptResponseFormatPromptsResponseType>;
490
+ export type CreatePromptResponseFormat1 = {
491
+ type: CreatePromptResponseFormatPromptsResponseType;
492
+ };
479
493
  /**
480
494
  * An object specifying the format that the model must output.
481
495
  *
@@ -487,7 +501,7 @@ export type CreatePromptResponseFormat1 = {
487
501
  *
488
502
  * 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.
489
503
  */
490
- export type CreatePromptResponseFormat = CreatePromptResponseFormat1 | CreatePromptResponseFormat2;
504
+ export type CreatePromptResponseFormat = CreatePromptResponseFormat2 | CreatePromptResponseFormat1 | CreatePromptResponseFormat3;
491
505
  /**
492
506
  * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
493
507
  */
@@ -598,7 +612,7 @@ export type CreatePromptModelParameters = {
598
612
  *
599
613
  * 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.
600
614
  */
601
- responseFormat?: CreatePromptResponseFormat1 | CreatePromptResponseFormat2 | null | undefined;
615
+ responseFormat?: CreatePromptResponseFormat2 | CreatePromptResponseFormat1 | CreatePromptResponseFormat3 | null | undefined;
602
616
  /**
603
617
  * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
604
618
  */
@@ -918,59 +932,59 @@ export declare namespace CreatePromptFormat$ {
918
932
  }>;
919
933
  }
920
934
  /** @internal */
921
- export declare const CreatePromptResponseFormatType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatType>;
935
+ export declare const CreatePromptResponseFormatPromptsType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsType>;
922
936
  /** @internal */
923
- export declare const CreatePromptResponseFormatType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatType>;
937
+ export declare const CreatePromptResponseFormatPromptsType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsType>;
924
938
  /**
925
939
  * @internal
926
940
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
927
941
  */
928
- export declare namespace CreatePromptResponseFormatType$ {
929
- /** @deprecated use `CreatePromptResponseFormatType$inboundSchema` instead. */
942
+ export declare namespace CreatePromptResponseFormatPromptsType$ {
943
+ /** @deprecated use `CreatePromptResponseFormatPromptsType$inboundSchema` instead. */
930
944
  const inboundSchema: z.ZodNativeEnum<{
931
945
  readonly JsonObject: "json_object";
932
946
  }>;
933
- /** @deprecated use `CreatePromptResponseFormatType$outboundSchema` instead. */
947
+ /** @deprecated use `CreatePromptResponseFormatPromptsType$outboundSchema` instead. */
934
948
  const outboundSchema: z.ZodNativeEnum<{
935
949
  readonly JsonObject: "json_object";
936
950
  }>;
937
951
  }
938
952
  /** @internal */
939
- export declare const ResponseFormat2$inboundSchema: z.ZodType<ResponseFormat2, z.ZodTypeDef, unknown>;
953
+ export declare const ResponseFormat3$inboundSchema: z.ZodType<ResponseFormat3, z.ZodTypeDef, unknown>;
940
954
  /** @internal */
941
- export type ResponseFormat2$Outbound = {
955
+ export type ResponseFormat3$Outbound = {
942
956
  type: string;
943
957
  };
944
958
  /** @internal */
945
- export declare const ResponseFormat2$outboundSchema: z.ZodType<ResponseFormat2$Outbound, z.ZodTypeDef, ResponseFormat2>;
959
+ export declare const ResponseFormat3$outboundSchema: z.ZodType<ResponseFormat3$Outbound, z.ZodTypeDef, ResponseFormat3>;
946
960
  /**
947
961
  * @internal
948
962
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
949
963
  */
950
- export declare namespace ResponseFormat2$ {
951
- /** @deprecated use `ResponseFormat2$inboundSchema` instead. */
952
- const inboundSchema: z.ZodType<ResponseFormat2, z.ZodTypeDef, unknown>;
953
- /** @deprecated use `ResponseFormat2$outboundSchema` instead. */
954
- const outboundSchema: z.ZodType<ResponseFormat2$Outbound, z.ZodTypeDef, ResponseFormat2>;
955
- /** @deprecated use `ResponseFormat2$Outbound` instead. */
956
- type Outbound = ResponseFormat2$Outbound;
964
+ export declare namespace ResponseFormat3$ {
965
+ /** @deprecated use `ResponseFormat3$inboundSchema` instead. */
966
+ const inboundSchema: z.ZodType<ResponseFormat3, z.ZodTypeDef, unknown>;
967
+ /** @deprecated use `ResponseFormat3$outboundSchema` instead. */
968
+ const outboundSchema: z.ZodType<ResponseFormat3$Outbound, z.ZodTypeDef, ResponseFormat3>;
969
+ /** @deprecated use `ResponseFormat3$Outbound` instead. */
970
+ type Outbound = ResponseFormat3$Outbound;
957
971
  }
958
- export declare function responseFormat2ToJSON(responseFormat2: ResponseFormat2): string;
959
- export declare function responseFormat2FromJSON(jsonString: string): SafeParseResult<ResponseFormat2, SDKValidationError>;
972
+ export declare function responseFormat3ToJSON(responseFormat3: ResponseFormat3): string;
973
+ export declare function responseFormat3FromJSON(jsonString: string): SafeParseResult<ResponseFormat3, SDKValidationError>;
960
974
  /** @internal */
961
- export declare const ResponseFormatType$inboundSchema: z.ZodNativeEnum<typeof ResponseFormatType>;
975
+ export declare const CreatePromptResponseFormatType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatType>;
962
976
  /** @internal */
963
- export declare const ResponseFormatType$outboundSchema: z.ZodNativeEnum<typeof ResponseFormatType>;
977
+ export declare const CreatePromptResponseFormatType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatType>;
964
978
  /**
965
979
  * @internal
966
980
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
967
981
  */
968
- export declare namespace ResponseFormatType$ {
969
- /** @deprecated use `ResponseFormatType$inboundSchema` instead. */
982
+ export declare namespace CreatePromptResponseFormatType$ {
983
+ /** @deprecated use `CreatePromptResponseFormatType$inboundSchema` instead. */
970
984
  const inboundSchema: z.ZodNativeEnum<{
971
985
  readonly JsonSchema: "json_schema";
972
986
  }>;
973
- /** @deprecated use `ResponseFormatType$outboundSchema` instead. */
987
+ /** @deprecated use `CreatePromptResponseFormatType$outboundSchema` instead. */
974
988
  const outboundSchema: z.ZodNativeEnum<{
975
989
  readonly JsonSchema: "json_schema";
976
990
  }>;
@@ -1002,11 +1016,51 @@ export declare namespace JsonSchema$ {
1002
1016
  export declare function jsonSchemaToJSON(jsonSchema: JsonSchema): string;
1003
1017
  export declare function jsonSchemaFromJSON(jsonString: string): SafeParseResult<JsonSchema, SDKValidationError>;
1004
1018
  /** @internal */
1019
+ export declare const ResponseFormat2$inboundSchema: z.ZodType<ResponseFormat2, z.ZodTypeDef, unknown>;
1020
+ /** @internal */
1021
+ export type ResponseFormat2$Outbound = {
1022
+ type: string;
1023
+ json_schema: JsonSchema$Outbound;
1024
+ };
1025
+ /** @internal */
1026
+ export declare const ResponseFormat2$outboundSchema: z.ZodType<ResponseFormat2$Outbound, z.ZodTypeDef, ResponseFormat2>;
1027
+ /**
1028
+ * @internal
1029
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1030
+ */
1031
+ export declare namespace ResponseFormat2$ {
1032
+ /** @deprecated use `ResponseFormat2$inboundSchema` instead. */
1033
+ const inboundSchema: z.ZodType<ResponseFormat2, z.ZodTypeDef, unknown>;
1034
+ /** @deprecated use `ResponseFormat2$outboundSchema` instead. */
1035
+ const outboundSchema: z.ZodType<ResponseFormat2$Outbound, z.ZodTypeDef, ResponseFormat2>;
1036
+ /** @deprecated use `ResponseFormat2$Outbound` instead. */
1037
+ type Outbound = ResponseFormat2$Outbound;
1038
+ }
1039
+ export declare function responseFormat2ToJSON(responseFormat2: ResponseFormat2): string;
1040
+ export declare function responseFormat2FromJSON(jsonString: string): SafeParseResult<ResponseFormat2, SDKValidationError>;
1041
+ /** @internal */
1042
+ export declare const ResponseFormatType$inboundSchema: z.ZodNativeEnum<typeof ResponseFormatType>;
1043
+ /** @internal */
1044
+ export declare const ResponseFormatType$outboundSchema: z.ZodNativeEnum<typeof ResponseFormatType>;
1045
+ /**
1046
+ * @internal
1047
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1048
+ */
1049
+ export declare namespace ResponseFormatType$ {
1050
+ /** @deprecated use `ResponseFormatType$inboundSchema` instead. */
1051
+ const inboundSchema: z.ZodNativeEnum<{
1052
+ readonly Text: "text";
1053
+ }>;
1054
+ /** @deprecated use `ResponseFormatType$outboundSchema` instead. */
1055
+ const outboundSchema: z.ZodNativeEnum<{
1056
+ readonly Text: "text";
1057
+ }>;
1058
+ }
1059
+ /** @internal */
1005
1060
  export declare const ResponseFormat1$inboundSchema: z.ZodType<ResponseFormat1, z.ZodTypeDef, unknown>;
1006
1061
  /** @internal */
1007
1062
  export type ResponseFormat1$Outbound = {
1008
1063
  type: string;
1009
- json_schema: JsonSchema$Outbound;
1010
1064
  };
1011
1065
  /** @internal */
1012
1066
  export declare const ResponseFormat1$outboundSchema: z.ZodType<ResponseFormat1$Outbound, z.ZodTypeDef, ResponseFormat1>;
@@ -1027,7 +1081,7 @@ export declare function responseFormat1FromJSON(jsonString: string): SafeParseRe
1027
1081
  /** @internal */
1028
1082
  export declare const ResponseFormat$inboundSchema: z.ZodType<ResponseFormat, z.ZodTypeDef, unknown>;
1029
1083
  /** @internal */
1030
- export type ResponseFormat$Outbound = ResponseFormat1$Outbound | ResponseFormat2$Outbound;
1084
+ export type ResponseFormat$Outbound = ResponseFormat2$Outbound | ResponseFormat1$Outbound | ResponseFormat3$Outbound;
1031
1085
  /** @internal */
1032
1086
  export declare const ResponseFormat$outboundSchema: z.ZodType<ResponseFormat$Outbound, z.ZodTypeDef, ResponseFormat>;
1033
1087
  /**
@@ -1146,7 +1200,7 @@ export type ModelParameters$Outbound = {
1146
1200
  dimensions?: string | undefined;
1147
1201
  quality?: string | undefined;
1148
1202
  style?: string | undefined;
1149
- responseFormat?: ResponseFormat1$Outbound | ResponseFormat2$Outbound | null | undefined;
1203
+ responseFormat?: ResponseFormat2$Outbound | ResponseFormat1$Outbound | ResponseFormat3$Outbound | null | undefined;
1150
1204
  photoRealVersion?: string | undefined;
1151
1205
  encoding_format?: string | undefined;
1152
1206
  reasoningEffort?: string | undefined;
@@ -1799,59 +1853,59 @@ export declare namespace CreatePromptPromptsFormat$ {
1799
1853
  }>;
1800
1854
  }
1801
1855
  /** @internal */
1802
- export declare const CreatePromptResponseFormatPromptsResponseType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsResponseType>;
1856
+ export declare const CreatePromptResponseFormatPromptsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsResponse200ApplicationJSONType>;
1803
1857
  /** @internal */
1804
- export declare const CreatePromptResponseFormatPromptsResponseType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsResponseType>;
1858
+ export declare const CreatePromptResponseFormatPromptsResponse200ApplicationJSONType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsResponse200ApplicationJSONType>;
1805
1859
  /**
1806
1860
  * @internal
1807
1861
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1808
1862
  */
1809
- export declare namespace CreatePromptResponseFormatPromptsResponseType$ {
1810
- /** @deprecated use `CreatePromptResponseFormatPromptsResponseType$inboundSchema` instead. */
1863
+ export declare namespace CreatePromptResponseFormatPromptsResponse200ApplicationJSONType$ {
1864
+ /** @deprecated use `CreatePromptResponseFormatPromptsResponse200ApplicationJSONType$inboundSchema` instead. */
1811
1865
  const inboundSchema: z.ZodNativeEnum<{
1812
1866
  readonly JsonObject: "json_object";
1813
1867
  }>;
1814
- /** @deprecated use `CreatePromptResponseFormatPromptsResponseType$outboundSchema` instead. */
1868
+ /** @deprecated use `CreatePromptResponseFormatPromptsResponse200ApplicationJSONType$outboundSchema` instead. */
1815
1869
  const outboundSchema: z.ZodNativeEnum<{
1816
1870
  readonly JsonObject: "json_object";
1817
1871
  }>;
1818
1872
  }
1819
1873
  /** @internal */
1820
- export declare const CreatePromptResponseFormat2$inboundSchema: z.ZodType<CreatePromptResponseFormat2, z.ZodTypeDef, unknown>;
1874
+ export declare const CreatePromptResponseFormat3$inboundSchema: z.ZodType<CreatePromptResponseFormat3, z.ZodTypeDef, unknown>;
1821
1875
  /** @internal */
1822
- export type CreatePromptResponseFormat2$Outbound = {
1876
+ export type CreatePromptResponseFormat3$Outbound = {
1823
1877
  type: string;
1824
1878
  };
1825
1879
  /** @internal */
1826
- export declare const CreatePromptResponseFormat2$outboundSchema: z.ZodType<CreatePromptResponseFormat2$Outbound, z.ZodTypeDef, CreatePromptResponseFormat2>;
1880
+ export declare const CreatePromptResponseFormat3$outboundSchema: z.ZodType<CreatePromptResponseFormat3$Outbound, z.ZodTypeDef, CreatePromptResponseFormat3>;
1827
1881
  /**
1828
1882
  * @internal
1829
1883
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1830
1884
  */
1831
- export declare namespace CreatePromptResponseFormat2$ {
1832
- /** @deprecated use `CreatePromptResponseFormat2$inboundSchema` instead. */
1833
- const inboundSchema: z.ZodType<CreatePromptResponseFormat2, z.ZodTypeDef, unknown>;
1834
- /** @deprecated use `CreatePromptResponseFormat2$outboundSchema` instead. */
1835
- const outboundSchema: z.ZodType<CreatePromptResponseFormat2$Outbound, z.ZodTypeDef, CreatePromptResponseFormat2>;
1836
- /** @deprecated use `CreatePromptResponseFormat2$Outbound` instead. */
1837
- type Outbound = CreatePromptResponseFormat2$Outbound;
1885
+ export declare namespace CreatePromptResponseFormat3$ {
1886
+ /** @deprecated use `CreatePromptResponseFormat3$inboundSchema` instead. */
1887
+ const inboundSchema: z.ZodType<CreatePromptResponseFormat3, z.ZodTypeDef, unknown>;
1888
+ /** @deprecated use `CreatePromptResponseFormat3$outboundSchema` instead. */
1889
+ const outboundSchema: z.ZodType<CreatePromptResponseFormat3$Outbound, z.ZodTypeDef, CreatePromptResponseFormat3>;
1890
+ /** @deprecated use `CreatePromptResponseFormat3$Outbound` instead. */
1891
+ type Outbound = CreatePromptResponseFormat3$Outbound;
1838
1892
  }
1839
- export declare function createPromptResponseFormat2ToJSON(createPromptResponseFormat2: CreatePromptResponseFormat2): string;
1840
- export declare function createPromptResponseFormat2FromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormat2, SDKValidationError>;
1893
+ export declare function createPromptResponseFormat3ToJSON(createPromptResponseFormat3: CreatePromptResponseFormat3): string;
1894
+ export declare function createPromptResponseFormat3FromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormat3, SDKValidationError>;
1841
1895
  /** @internal */
1842
- export declare const CreatePromptResponseFormatPromptsType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsType>;
1896
+ export declare const CreatePromptResponseFormatPromptsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsResponse200Type>;
1843
1897
  /** @internal */
1844
- export declare const CreatePromptResponseFormatPromptsType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsType>;
1898
+ export declare const CreatePromptResponseFormatPromptsResponse200Type$outboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsResponse200Type>;
1845
1899
  /**
1846
1900
  * @internal
1847
1901
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1848
1902
  */
1849
- export declare namespace CreatePromptResponseFormatPromptsType$ {
1850
- /** @deprecated use `CreatePromptResponseFormatPromptsType$inboundSchema` instead. */
1903
+ export declare namespace CreatePromptResponseFormatPromptsResponse200Type$ {
1904
+ /** @deprecated use `CreatePromptResponseFormatPromptsResponse200Type$inboundSchema` instead. */
1851
1905
  const inboundSchema: z.ZodNativeEnum<{
1852
1906
  readonly JsonSchema: "json_schema";
1853
1907
  }>;
1854
- /** @deprecated use `CreatePromptResponseFormatPromptsType$outboundSchema` instead. */
1908
+ /** @deprecated use `CreatePromptResponseFormatPromptsResponse200Type$outboundSchema` instead. */
1855
1909
  const outboundSchema: z.ZodNativeEnum<{
1856
1910
  readonly JsonSchema: "json_schema";
1857
1911
  }>;
@@ -1883,11 +1937,51 @@ export declare namespace CreatePromptResponseFormatJsonSchema$ {
1883
1937
  export declare function createPromptResponseFormatJsonSchemaToJSON(createPromptResponseFormatJsonSchema: CreatePromptResponseFormatJsonSchema): string;
1884
1938
  export declare function createPromptResponseFormatJsonSchemaFromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormatJsonSchema, SDKValidationError>;
1885
1939
  /** @internal */
1940
+ export declare const CreatePromptResponseFormat2$inboundSchema: z.ZodType<CreatePromptResponseFormat2, z.ZodTypeDef, unknown>;
1941
+ /** @internal */
1942
+ export type CreatePromptResponseFormat2$Outbound = {
1943
+ type: string;
1944
+ json_schema: CreatePromptResponseFormatJsonSchema$Outbound;
1945
+ };
1946
+ /** @internal */
1947
+ export declare const CreatePromptResponseFormat2$outboundSchema: z.ZodType<CreatePromptResponseFormat2$Outbound, z.ZodTypeDef, CreatePromptResponseFormat2>;
1948
+ /**
1949
+ * @internal
1950
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1951
+ */
1952
+ export declare namespace CreatePromptResponseFormat2$ {
1953
+ /** @deprecated use `CreatePromptResponseFormat2$inboundSchema` instead. */
1954
+ const inboundSchema: z.ZodType<CreatePromptResponseFormat2, z.ZodTypeDef, unknown>;
1955
+ /** @deprecated use `CreatePromptResponseFormat2$outboundSchema` instead. */
1956
+ const outboundSchema: z.ZodType<CreatePromptResponseFormat2$Outbound, z.ZodTypeDef, CreatePromptResponseFormat2>;
1957
+ /** @deprecated use `CreatePromptResponseFormat2$Outbound` instead. */
1958
+ type Outbound = CreatePromptResponseFormat2$Outbound;
1959
+ }
1960
+ export declare function createPromptResponseFormat2ToJSON(createPromptResponseFormat2: CreatePromptResponseFormat2): string;
1961
+ export declare function createPromptResponseFormat2FromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormat2, SDKValidationError>;
1962
+ /** @internal */
1963
+ export declare const CreatePromptResponseFormatPromptsResponseType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsResponseType>;
1964
+ /** @internal */
1965
+ export declare const CreatePromptResponseFormatPromptsResponseType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsResponseType>;
1966
+ /**
1967
+ * @internal
1968
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1969
+ */
1970
+ export declare namespace CreatePromptResponseFormatPromptsResponseType$ {
1971
+ /** @deprecated use `CreatePromptResponseFormatPromptsResponseType$inboundSchema` instead. */
1972
+ const inboundSchema: z.ZodNativeEnum<{
1973
+ readonly Text: "text";
1974
+ }>;
1975
+ /** @deprecated use `CreatePromptResponseFormatPromptsResponseType$outboundSchema` instead. */
1976
+ const outboundSchema: z.ZodNativeEnum<{
1977
+ readonly Text: "text";
1978
+ }>;
1979
+ }
1980
+ /** @internal */
1886
1981
  export declare const CreatePromptResponseFormat1$inboundSchema: z.ZodType<CreatePromptResponseFormat1, z.ZodTypeDef, unknown>;
1887
1982
  /** @internal */
1888
1983
  export type CreatePromptResponseFormat1$Outbound = {
1889
1984
  type: string;
1890
- json_schema: CreatePromptResponseFormatJsonSchema$Outbound;
1891
1985
  };
1892
1986
  /** @internal */
1893
1987
  export declare const CreatePromptResponseFormat1$outboundSchema: z.ZodType<CreatePromptResponseFormat1$Outbound, z.ZodTypeDef, CreatePromptResponseFormat1>;
@@ -1908,7 +2002,7 @@ export declare function createPromptResponseFormat1FromJSON(jsonString: string):
1908
2002
  /** @internal */
1909
2003
  export declare const CreatePromptResponseFormat$inboundSchema: z.ZodType<CreatePromptResponseFormat, z.ZodTypeDef, unknown>;
1910
2004
  /** @internal */
1911
- export type CreatePromptResponseFormat$Outbound = CreatePromptResponseFormat1$Outbound | CreatePromptResponseFormat2$Outbound;
2005
+ export type CreatePromptResponseFormat$Outbound = CreatePromptResponseFormat2$Outbound | CreatePromptResponseFormat1$Outbound | CreatePromptResponseFormat3$Outbound;
1912
2006
  /** @internal */
1913
2007
  export declare const CreatePromptResponseFormat$outboundSchema: z.ZodType<CreatePromptResponseFormat$Outbound, z.ZodTypeDef, CreatePromptResponseFormat>;
1914
2008
  /**
@@ -2027,7 +2121,7 @@ export type CreatePromptModelParameters$Outbound = {
2027
2121
  dimensions?: string | undefined;
2028
2122
  quality?: string | undefined;
2029
2123
  style?: string | undefined;
2030
- responseFormat?: CreatePromptResponseFormat1$Outbound | CreatePromptResponseFormat2$Outbound | null | undefined;
2124
+ responseFormat?: CreatePromptResponseFormat2$Outbound | CreatePromptResponseFormat1$Outbound | CreatePromptResponseFormat3$Outbound | null | undefined;
2031
2125
  photoRealVersion?: string | undefined;
2032
2126
  encoding_format?: string | undefined;
2033
2127
  reasoningEffort?: string | undefined;