@orq-ai/node 3.12.14 → 3.12.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 (167) hide show
  1. package/README.md +1 -4
  2. package/bin/mcp-server.js +113 -113
  3. package/bin/mcp-server.js.map +31 -31
  4. package/examples/package-lock.json +1 -1
  5. package/jsr.json +1 -1
  6. package/lib/config.d.ts +3 -3
  7. package/lib/config.js +3 -3
  8. package/lib/url.js +1 -1
  9. package/lib/url.js.map +1 -1
  10. package/mcp-server/mcp-server.js +1 -1
  11. package/mcp-server/server.js +1 -1
  12. package/models/operations/createbudget.js +2 -2
  13. package/models/operations/createcontact.js +2 -2
  14. package/models/operations/createdataset.js +2 -2
  15. package/models/operations/createdatasetitem.js +2 -2
  16. package/models/operations/createdatasource.js +2 -2
  17. package/models/operations/createeval.js +16 -16
  18. package/models/operations/fileget.js +2 -2
  19. package/models/operations/filelist.js +2 -2
  20. package/models/operations/fileupload.js +2 -2
  21. package/models/operations/getbudget.js +2 -2
  22. package/models/operations/getevals.js +28 -28
  23. package/models/operations/listbudgets.js +2 -2
  24. package/models/operations/listcontacts.js +2 -2
  25. package/models/operations/listdatasetdatapoints.js +2 -2
  26. package/models/operations/listdatasets.js +2 -2
  27. package/models/operations/listdatasources.js +2 -2
  28. package/models/operations/retrievecontact.js +2 -2
  29. package/models/operations/retrievedatapoint.js +2 -2
  30. package/models/operations/retrievedataset.js +2 -2
  31. package/models/operations/retrievedatasource.js +2 -2
  32. package/models/operations/updatebudget.js +2 -2
  33. package/models/operations/updatecontact.js +2 -2
  34. package/models/operations/updatedatapoint.js +2 -2
  35. package/models/operations/updatedataset.js +2 -2
  36. package/models/operations/updatedatasource.js +2 -2
  37. package/models/operations/updateeval.js +16 -16
  38. package/package.json +1 -1
  39. package/packages/orq-rc/README.md +108 -94
  40. package/packages/orq-rc/docs/sdks/agents/README.md +8 -2
  41. package/packages/orq-rc/docs/sdks/evals/README.md +2 -0
  42. package/packages/orq-rc/docs/sdks/tools/README.md +488 -0
  43. package/packages/orq-rc/examples/package-lock.json +1 -1
  44. package/packages/orq-rc/jsr.json +1 -1
  45. package/packages/orq-rc/package-lock.json +2 -2
  46. package/packages/orq-rc/package.json +1 -1
  47. package/packages/orq-rc/src/funcs/toolsCreate.ts +163 -0
  48. package/packages/orq-rc/src/funcs/toolsDelete.ts +167 -0
  49. package/packages/orq-rc/src/funcs/toolsDuplicate.ts +175 -0
  50. package/packages/orq-rc/src/funcs/toolsList.ts +176 -0
  51. package/packages/orq-rc/src/funcs/toolsRetrieve.ts +166 -0
  52. package/packages/orq-rc/src/funcs/toolsUpdate.ts +176 -0
  53. package/packages/orq-rc/src/lib/config.ts +3 -3
  54. package/packages/orq-rc/src/lib/url.ts +1 -1
  55. package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
  56. package/packages/orq-rc/src/mcp-server/server.ts +13 -1
  57. package/packages/orq-rc/src/mcp-server/tools/toolsCreate.ts +37 -0
  58. package/packages/orq-rc/src/mcp-server/tools/toolsDelete.ts +35 -0
  59. package/packages/orq-rc/src/mcp-server/tools/toolsDuplicate.ts +37 -0
  60. package/packages/orq-rc/src/mcp-server/tools/toolsList.ts +37 -0
  61. package/packages/orq-rc/src/mcp-server/tools/toolsRetrieve.ts +37 -0
  62. package/packages/orq-rc/src/mcp-server/tools/toolsUpdate.ts +37 -0
  63. package/packages/orq-rc/src/models/components/callsubagenttool.ts +109 -0
  64. package/packages/orq-rc/src/models/components/codeexecutiontool.ts +293 -0
  65. package/packages/orq-rc/src/models/components/currentdatetool.ts +107 -0
  66. package/packages/orq-rc/src/models/components/deployments.ts +52 -45
  67. package/packages/orq-rc/src/models/components/functiontool.ts +195 -0
  68. package/packages/orq-rc/src/models/components/googlesearchtool.ts +108 -0
  69. package/packages/orq-rc/src/models/components/httptool.ts +532 -0
  70. package/packages/orq-rc/src/models/components/index.ts +13 -0
  71. package/packages/orq-rc/src/models/components/queryknowledgebasetool.ts +111 -0
  72. package/packages/orq-rc/src/models/components/querymemorystoretool.ts +111 -0
  73. package/packages/orq-rc/src/models/components/retrieveagentstool.ts +109 -0
  74. package/packages/orq-rc/src/models/components/retrieveknowledgebasestool.ts +111 -0
  75. package/packages/orq-rc/src/models/components/retrievememorystorestool.ts +111 -0
  76. package/packages/orq-rc/src/models/components/webscrapertool.ts +105 -0
  77. package/packages/orq-rc/src/models/components/writememorystoretool.ts +111 -0
  78. package/packages/orq-rc/src/models/errors/duplicatetool.ts +91 -0
  79. package/packages/orq-rc/src/models/errors/index.ts +2 -0
  80. package/packages/orq-rc/src/models/errors/updatetool.ts +91 -0
  81. package/packages/orq-rc/src/models/operations/createbudget.ts +2 -2
  82. package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
  83. package/packages/orq-rc/src/models/operations/createdataset.ts +2 -2
  84. package/packages/orq-rc/src/models/operations/createdatasetitem.ts +10 -8
  85. package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
  86. package/packages/orq-rc/src/models/operations/createeval.ts +199 -56
  87. package/packages/orq-rc/src/models/operations/createknowledge.ts +18 -0
  88. package/packages/orq-rc/src/models/operations/creatememorystore.ts +137 -136
  89. package/packages/orq-rc/src/models/operations/createprompt.ts +633 -314
  90. package/packages/orq-rc/src/models/operations/createtool.ts +4027 -0
  91. package/packages/orq-rc/src/models/operations/deletetool.ts +75 -0
  92. package/packages/orq-rc/src/models/operations/deploymentcreatemetric.ts +8 -6
  93. package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +363 -194
  94. package/packages/orq-rc/src/models/operations/deployments.ts +330 -160
  95. package/packages/orq-rc/src/models/operations/deploymentstream.ts +8 -6
  96. package/packages/orq-rc/src/models/operations/duplicatetool.ts +2311 -0
  97. package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
  98. package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
  99. package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
  100. package/packages/orq-rc/src/models/operations/getagent.ts +10 -10
  101. package/packages/orq-rc/src/models/operations/getallprompts.ts +334 -168
  102. package/packages/orq-rc/src/models/operations/getalltools.ts +2278 -0
  103. package/packages/orq-rc/src/models/operations/getbudget.ts +2 -2
  104. package/packages/orq-rc/src/models/operations/getevals.ts +28 -28
  105. package/packages/orq-rc/src/models/operations/getoneknowledge.ts +9 -0
  106. package/packages/orq-rc/src/models/operations/getoneprompt.ts +330 -167
  107. package/packages/orq-rc/src/models/operations/getpromptversion.ts +338 -168
  108. package/packages/orq-rc/src/models/operations/index.ts +6 -0
  109. package/packages/orq-rc/src/models/operations/listagents.ts +10 -10
  110. package/packages/orq-rc/src/models/operations/listbudgets.ts +2 -2
  111. package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
  112. package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +6 -5
  113. package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
  114. package/packages/orq-rc/src/models/operations/listdatasources.ts +2 -2
  115. package/packages/orq-rc/src/models/operations/listknowledgebases.ts +9 -0
  116. package/packages/orq-rc/src/models/operations/listpromptversions.ts +355 -183
  117. package/packages/orq-rc/src/models/operations/parse.ts +20 -335
  118. package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
  119. package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +6 -5
  120. package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
  121. package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
  122. package/packages/orq-rc/src/models/operations/retrievetool.ts +2303 -0
  123. package/packages/orq-rc/src/models/operations/runagent.ts +428 -1384
  124. package/packages/orq-rc/src/models/operations/searchknowledge.ts +2 -2
  125. package/packages/orq-rc/src/models/operations/streamrunagent.ts +409 -1452
  126. package/packages/orq-rc/src/models/operations/updatebudget.ts +2 -2
  127. package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
  128. package/packages/orq-rc/src/models/operations/updatedatapoint.ts +10 -8
  129. package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
  130. package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
  131. package/packages/orq-rc/src/models/operations/updateeval.ts +210 -57
  132. package/packages/orq-rc/src/models/operations/updateknowledge.ts +18 -0
  133. package/packages/orq-rc/src/models/operations/updatememorystore.ts +136 -168
  134. package/packages/orq-rc/src/models/operations/updateprompt.ts +670 -335
  135. package/packages/orq-rc/src/models/operations/updatetool.ts +4231 -0
  136. package/packages/orq-rc/src/sdk/sdk.ts +6 -0
  137. package/packages/orq-rc/src/sdk/tools.ts +117 -0
  138. package/src/lib/config.ts +3 -3
  139. package/src/lib/url.ts +1 -1
  140. package/src/mcp-server/mcp-server.ts +1 -1
  141. package/src/mcp-server/server.ts +1 -1
  142. package/src/models/operations/createbudget.ts +2 -2
  143. package/src/models/operations/createcontact.ts +2 -2
  144. package/src/models/operations/createdataset.ts +2 -2
  145. package/src/models/operations/createdatasetitem.ts +2 -2
  146. package/src/models/operations/createdatasource.ts +2 -2
  147. package/src/models/operations/createeval.ts +16 -16
  148. package/src/models/operations/fileget.ts +2 -2
  149. package/src/models/operations/filelist.ts +2 -2
  150. package/src/models/operations/fileupload.ts +2 -2
  151. package/src/models/operations/getbudget.ts +2 -2
  152. package/src/models/operations/getevals.ts +28 -28
  153. package/src/models/operations/listbudgets.ts +2 -2
  154. package/src/models/operations/listcontacts.ts +2 -2
  155. package/src/models/operations/listdatasetdatapoints.ts +2 -2
  156. package/src/models/operations/listdatasets.ts +2 -2
  157. package/src/models/operations/listdatasources.ts +2 -2
  158. package/src/models/operations/retrievecontact.ts +2 -2
  159. package/src/models/operations/retrievedatapoint.ts +2 -2
  160. package/src/models/operations/retrievedataset.ts +2 -2
  161. package/src/models/operations/retrievedatasource.ts +2 -2
  162. package/src/models/operations/updatebudget.ts +2 -2
  163. package/src/models/operations/updatecontact.ts +2 -2
  164. package/src/models/operations/updatedatapoint.ts +2 -2
  165. package/src/models/operations/updatedataset.ts +2 -2
  166. package/src/models/operations/updatedatasource.ts +2 -2
  167. package/src/models/operations/updateeval.ts +16 -16
@@ -42,32 +42,55 @@ export const CreatePromptFormat = {
42
42
  */
43
43
  export type CreatePromptFormat = ClosedEnum<typeof CreatePromptFormat>;
44
44
 
45
- export const CreatePromptResponseFormatPromptsType = {
45
+ export const ResponseFormat4 = {
46
+ Json: "json",
46
47
  Text: "text",
48
+ Srt: "srt",
49
+ VerboseJson: "verbose_json",
50
+ Vtt: "vtt",
47
51
  } as const;
48
- export type CreatePromptResponseFormatPromptsType = ClosedEnum<
49
- typeof CreatePromptResponseFormatPromptsType
52
+ export type ResponseFormat4 = ClosedEnum<typeof ResponseFormat4>;
53
+
54
+ export const ResponseFormat3 = {
55
+ Url: "url",
56
+ Base64Json: "base64_json",
57
+ } as const;
58
+ export type ResponseFormat3 = ClosedEnum<typeof ResponseFormat3>;
59
+
60
+ export const ResponseFormat2 = {
61
+ Mp3: "mp3",
62
+ Opus: "opus",
63
+ Aac: "aac",
64
+ Flac: "flac",
65
+ Wav: "wav",
66
+ Pcm: "pcm",
67
+ } as const;
68
+ export type ResponseFormat2 = ClosedEnum<typeof ResponseFormat2>;
69
+
70
+ export const CreatePrompt1PromptsType = {
71
+ Text: "text",
72
+ } as const;
73
+ export type CreatePrompt1PromptsType = ClosedEnum<
74
+ typeof CreatePrompt1PromptsType
50
75
  >;
51
76
 
52
- export type ResponseFormat3 = {
53
- type: CreatePromptResponseFormatPromptsType;
77
+ export type CreatePrompt13 = {
78
+ type: CreatePrompt1PromptsType;
54
79
  };
55
80
 
56
- export const CreatePromptResponseFormatType = {
81
+ export const CreatePrompt1Type = {
57
82
  JsonObject: "json_object",
58
83
  } as const;
59
- export type CreatePromptResponseFormatType = ClosedEnum<
60
- typeof CreatePromptResponseFormatType
61
- >;
84
+ export type CreatePrompt1Type = ClosedEnum<typeof CreatePrompt1Type>;
62
85
 
63
- export type ResponseFormat2 = {
64
- type: CreatePromptResponseFormatType;
86
+ export type One2 = {
87
+ type: CreatePrompt1Type;
65
88
  };
66
89
 
67
- export const ResponseFormatType = {
90
+ export const OneType = {
68
91
  JsonSchema: "json_schema",
69
92
  } as const;
70
- export type ResponseFormatType = ClosedEnum<typeof ResponseFormatType>;
93
+ export type OneType = ClosedEnum<typeof OneType>;
71
94
 
72
95
  export type JsonSchema = {
73
96
  name: string;
@@ -75,11 +98,13 @@ export type JsonSchema = {
75
98
  schema: { [k: string]: any };
76
99
  };
77
100
 
78
- export type ResponseFormat1 = {
79
- type: ResponseFormatType;
101
+ export type One1 = {
102
+ type: OneType;
80
103
  jsonSchema: JsonSchema;
81
104
  };
82
105
 
106
+ export type ResponseFormat1 = One1 | One2 | CreatePrompt13;
107
+
83
108
  /**
84
109
  * An object specifying the format that the model must output.
85
110
  *
@@ -92,9 +117,12 @@ export type ResponseFormat1 = {
92
117
  * 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.
93
118
  */
94
119
  export type ResponseFormat =
95
- | ResponseFormat1
120
+ | One1
121
+ | One2
122
+ | CreatePrompt13
96
123
  | ResponseFormat2
97
- | ResponseFormat3;
124
+ | ResponseFormat3
125
+ | ResponseFormat4;
98
126
 
99
127
  /**
100
128
  * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
@@ -125,6 +153,7 @@ export type EncodingFormat = ClosedEnum<typeof EncodingFormat>;
125
153
  */
126
154
  export const ReasoningEffort = {
127
155
  Disable: "disable",
156
+ Minimal: "minimal",
128
157
  Low: "low",
129
158
  Medium: "medium",
130
159
  High: "high",
@@ -211,9 +240,12 @@ export type ModelParameters = {
211
240
  * 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.
212
241
  */
213
242
  responseFormat?:
214
- | ResponseFormat1
243
+ | One1
244
+ | One2
245
+ | CreatePrompt13
215
246
  | ResponseFormat2
216
247
  | ResponseFormat3
248
+ | ResponseFormat4
217
249
  | null
218
250
  | undefined;
219
251
  /**
@@ -531,47 +563,82 @@ export type CreatePromptPromptsFormat = ClosedEnum<
531
563
  typeof CreatePromptPromptsFormat
532
564
  >;
533
565
 
534
- export const CreatePromptResponseFormatPromptsResponse200ApplicationJSONType = {
566
+ export const CreatePromptResponseFormat4 = {
567
+ Json: "json",
535
568
  Text: "text",
569
+ Srt: "srt",
570
+ VerboseJson: "verbose_json",
571
+ Vtt: "vtt",
536
572
  } as const;
537
- export type CreatePromptResponseFormatPromptsResponse200ApplicationJSONType =
538
- ClosedEnum<
539
- typeof CreatePromptResponseFormatPromptsResponse200ApplicationJSONType
540
- >;
573
+ export type CreatePromptResponseFormat4 = ClosedEnum<
574
+ typeof CreatePromptResponseFormat4
575
+ >;
576
+
577
+ export const CreatePromptResponseFormat3 = {
578
+ Url: "url",
579
+ Base64Json: "base64_json",
580
+ } as const;
581
+ export type CreatePromptResponseFormat3 = ClosedEnum<
582
+ typeof CreatePromptResponseFormat3
583
+ >;
541
584
 
542
- export type CreatePromptResponseFormat3 = {
543
- type: CreatePromptResponseFormatPromptsResponse200ApplicationJSONType;
585
+ export const CreatePromptResponseFormat2 = {
586
+ Mp3: "mp3",
587
+ Opus: "opus",
588
+ Aac: "aac",
589
+ Flac: "flac",
590
+ Wav: "wav",
591
+ Pcm: "pcm",
592
+ } as const;
593
+ export type CreatePromptResponseFormat2 = ClosedEnum<
594
+ typeof CreatePromptResponseFormat2
595
+ >;
596
+
597
+ export const CreatePrompt1PromptsResponse200ApplicationJSONType = {
598
+ Text: "text",
599
+ } as const;
600
+ export type CreatePrompt1PromptsResponse200ApplicationJSONType = ClosedEnum<
601
+ typeof CreatePrompt1PromptsResponse200ApplicationJSONType
602
+ >;
603
+
604
+ export type CreatePrompt1Prompts3 = {
605
+ type: CreatePrompt1PromptsResponse200ApplicationJSONType;
544
606
  };
545
607
 
546
- export const CreatePromptResponseFormatPromptsResponse200Type = {
608
+ export const CreatePrompt1PromptsResponse200Type = {
547
609
  JsonObject: "json_object",
548
610
  } as const;
549
- export type CreatePromptResponseFormatPromptsResponse200Type = ClosedEnum<
550
- typeof CreatePromptResponseFormatPromptsResponse200Type
611
+ export type CreatePrompt1PromptsResponse200Type = ClosedEnum<
612
+ typeof CreatePrompt1PromptsResponse200Type
551
613
  >;
552
614
 
553
- export type CreatePromptResponseFormat2 = {
554
- type: CreatePromptResponseFormatPromptsResponse200Type;
615
+ export type CreatePrompt12 = {
616
+ type: CreatePrompt1PromptsResponse200Type;
555
617
  };
556
618
 
557
- export const CreatePromptResponseFormatPromptsResponseType = {
619
+ export const CreatePrompt1PromptsResponseType = {
558
620
  JsonSchema: "json_schema",
559
621
  } as const;
560
- export type CreatePromptResponseFormatPromptsResponseType = ClosedEnum<
561
- typeof CreatePromptResponseFormatPromptsResponseType
622
+ export type CreatePrompt1PromptsResponseType = ClosedEnum<
623
+ typeof CreatePrompt1PromptsResponseType
562
624
  >;
563
625
 
564
- export type CreatePromptResponseFormatJsonSchema = {
626
+ export type CreatePrompt1JsonSchema = {
565
627
  name: string;
566
628
  strict?: boolean | undefined;
567
629
  schema: { [k: string]: any };
568
630
  };
569
631
 
570
- export type CreatePromptResponseFormat1 = {
571
- type: CreatePromptResponseFormatPromptsResponseType;
572
- jsonSchema: CreatePromptResponseFormatJsonSchema;
632
+ export type CreatePrompt11 = {
633
+ type: CreatePrompt1PromptsResponseType;
634
+ jsonSchema: CreatePrompt1JsonSchema;
573
635
  };
574
636
 
637
+ export type CreatePromptResponseFormat1 =
638
+ | CreatePrompt11
639
+ | CreatePrompt12
640
+ | CreatePrompt1Prompts3;
641
+
575
642
  /**
576
643
  * An object specifying the format that the model must output.
577
644
  *
@@ -584,9 +651,12 @@ export type CreatePromptResponseFormat1 = {
584
651
  * 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.
585
652
  */
586
653
  export type CreatePromptResponseFormat =
587
- | CreatePromptResponseFormat1
654
+ | CreatePrompt11
655
+ | CreatePrompt12
656
+ | CreatePrompt1Prompts3
588
657
  | CreatePromptResponseFormat2
589
- | CreatePromptResponseFormat3;
658
+ | CreatePromptResponseFormat3
659
+ | CreatePromptResponseFormat4;
590
660
 
591
661
  /**
592
662
  * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
@@ -621,6 +691,7 @@ export type CreatePromptEncodingFormat = ClosedEnum<
621
691
  */
622
692
  export const CreatePromptReasoningEffort = {
623
693
  Disable: "disable",
694
+ Minimal: "minimal",
624
695
  Low: "low",
625
696
  Medium: "medium",
626
697
  High: "high",
@@ -709,9 +780,12 @@ export type CreatePromptModelParameters = {
709
780
  * 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.
710
781
  */
711
782
  responseFormat?:
712
- | CreatePromptResponseFormat1
783
+ | CreatePrompt11
784
+ | CreatePrompt12
785
+ | CreatePrompt1Prompts3
713
786
  | CreatePromptResponseFormat2
714
787
  | CreatePromptResponseFormat3
788
+ | CreatePromptResponseFormat4
715
789
  | null
716
790
  | undefined;
717
791
  /**
@@ -1059,173 +1133,221 @@ export namespace CreatePromptFormat$ {
1059
1133
  }
1060
1134
 
1061
1135
  /** @internal */
1062
- export const CreatePromptResponseFormatPromptsType$inboundSchema:
1063
- z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsType> = z.nativeEnum(
1064
- CreatePromptResponseFormatPromptsType,
1065
- );
1136
+ export const ResponseFormat4$inboundSchema: z.ZodNativeEnum<
1137
+ typeof ResponseFormat4
1138
+ > = z.nativeEnum(ResponseFormat4);
1066
1139
 
1067
1140
  /** @internal */
1068
- export const CreatePromptResponseFormatPromptsType$outboundSchema:
1069
- z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsType> =
1070
- CreatePromptResponseFormatPromptsType$inboundSchema;
1141
+ export const ResponseFormat4$outboundSchema: z.ZodNativeEnum<
1142
+ typeof ResponseFormat4
1143
+ > = ResponseFormat4$inboundSchema;
1071
1144
 
1072
1145
  /**
1073
1146
  * @internal
1074
1147
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1075
1148
  */
1076
- export namespace CreatePromptResponseFormatPromptsType$ {
1077
- /** @deprecated use `CreatePromptResponseFormatPromptsType$inboundSchema` instead. */
1078
- export const inboundSchema =
1079
- CreatePromptResponseFormatPromptsType$inboundSchema;
1080
- /** @deprecated use `CreatePromptResponseFormatPromptsType$outboundSchema` instead. */
1081
- export const outboundSchema =
1082
- CreatePromptResponseFormatPromptsType$outboundSchema;
1149
+ export namespace ResponseFormat4$ {
1150
+ /** @deprecated use `ResponseFormat4$inboundSchema` instead. */
1151
+ export const inboundSchema = ResponseFormat4$inboundSchema;
1152
+ /** @deprecated use `ResponseFormat4$outboundSchema` instead. */
1153
+ export const outboundSchema = ResponseFormat4$outboundSchema;
1154
+ }
1155
+
1156
+ /** @internal */
1157
+ export const ResponseFormat3$inboundSchema: z.ZodNativeEnum<
1158
+ typeof ResponseFormat3
1159
+ > = z.nativeEnum(ResponseFormat3);
1160
+
1161
+ /** @internal */
1162
+ export const ResponseFormat3$outboundSchema: z.ZodNativeEnum<
1163
+ typeof ResponseFormat3
1164
+ > = ResponseFormat3$inboundSchema;
1165
+
1166
+ /**
1167
+ * @internal
1168
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1169
+ */
1170
+ export namespace ResponseFormat3$ {
1171
+ /** @deprecated use `ResponseFormat3$inboundSchema` instead. */
1172
+ export const inboundSchema = ResponseFormat3$inboundSchema;
1173
+ /** @deprecated use `ResponseFormat3$outboundSchema` instead. */
1174
+ export const outboundSchema = ResponseFormat3$outboundSchema;
1175
+ }
1176
+
1177
+ /** @internal */
1178
+ export const ResponseFormat2$inboundSchema: z.ZodNativeEnum<
1179
+ typeof ResponseFormat2
1180
+ > = z.nativeEnum(ResponseFormat2);
1181
+
1182
+ /** @internal */
1183
+ export const ResponseFormat2$outboundSchema: z.ZodNativeEnum<
1184
+ typeof ResponseFormat2
1185
+ > = ResponseFormat2$inboundSchema;
1186
+
1187
+ /**
1188
+ * @internal
1189
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1190
+ */
1191
+ export namespace ResponseFormat2$ {
1192
+ /** @deprecated use `ResponseFormat2$inboundSchema` instead. */
1193
+ export const inboundSchema = ResponseFormat2$inboundSchema;
1194
+ /** @deprecated use `ResponseFormat2$outboundSchema` instead. */
1195
+ export const outboundSchema = ResponseFormat2$outboundSchema;
1196
+ }
1197
+
1198
+ /** @internal */
1199
+ export const CreatePrompt1PromptsType$inboundSchema: z.ZodNativeEnum<
1200
+ typeof CreatePrompt1PromptsType
1201
+ > = z.nativeEnum(CreatePrompt1PromptsType);
1202
+
1203
+ /** @internal */
1204
+ export const CreatePrompt1PromptsType$outboundSchema: z.ZodNativeEnum<
1205
+ typeof CreatePrompt1PromptsType
1206
+ > = CreatePrompt1PromptsType$inboundSchema;
1207
+
1208
+ /**
1209
+ * @internal
1210
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1211
+ */
1212
+ export namespace CreatePrompt1PromptsType$ {
1213
+ /** @deprecated use `CreatePrompt1PromptsType$inboundSchema` instead. */
1214
+ export const inboundSchema = CreatePrompt1PromptsType$inboundSchema;
1215
+ /** @deprecated use `CreatePrompt1PromptsType$outboundSchema` instead. */
1216
+ export const outboundSchema = CreatePrompt1PromptsType$outboundSchema;
1083
1217
  }
1084
1218
 
1085
1219
  /** @internal */
1086
- export const ResponseFormat3$inboundSchema: z.ZodType<
1087
- ResponseFormat3,
1220
+ export const CreatePrompt13$inboundSchema: z.ZodType<
1221
+ CreatePrompt13,
1088
1222
  z.ZodTypeDef,
1089
1223
  unknown
1090
1224
  > = z.object({
1091
- type: CreatePromptResponseFormatPromptsType$inboundSchema,
1225
+ type: CreatePrompt1PromptsType$inboundSchema,
1092
1226
  });
1093
1227
 
1094
1228
  /** @internal */
1095
- export type ResponseFormat3$Outbound = {
1229
+ export type CreatePrompt13$Outbound = {
1096
1230
  type: string;
1097
1231
  };
1098
1232
 
1099
1233
  /** @internal */
1100
- export const ResponseFormat3$outboundSchema: z.ZodType<
1101
- ResponseFormat3$Outbound,
1234
+ export const CreatePrompt13$outboundSchema: z.ZodType<
1235
+ CreatePrompt13$Outbound,
1102
1236
  z.ZodTypeDef,
1103
- ResponseFormat3
1237
+ CreatePrompt13
1104
1238
  > = z.object({
1105
- type: CreatePromptResponseFormatPromptsType$outboundSchema,
1239
+ type: CreatePrompt1PromptsType$outboundSchema,
1106
1240
  });
1107
1241
 
1108
1242
  /**
1109
1243
  * @internal
1110
1244
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1111
1245
  */
1112
- export namespace ResponseFormat3$ {
1113
- /** @deprecated use `ResponseFormat3$inboundSchema` instead. */
1114
- export const inboundSchema = ResponseFormat3$inboundSchema;
1115
- /** @deprecated use `ResponseFormat3$outboundSchema` instead. */
1116
- export const outboundSchema = ResponseFormat3$outboundSchema;
1117
- /** @deprecated use `ResponseFormat3$Outbound` instead. */
1118
- export type Outbound = ResponseFormat3$Outbound;
1246
+ export namespace CreatePrompt13$ {
1247
+ /** @deprecated use `CreatePrompt13$inboundSchema` instead. */
1248
+ export const inboundSchema = CreatePrompt13$inboundSchema;
1249
+ /** @deprecated use `CreatePrompt13$outboundSchema` instead. */
1250
+ export const outboundSchema = CreatePrompt13$outboundSchema;
1251
+ /** @deprecated use `CreatePrompt13$Outbound` instead. */
1252
+ export type Outbound = CreatePrompt13$Outbound;
1119
1253
  }
1120
1254
 
1121
- export function responseFormat3ToJSON(
1122
- responseFormat3: ResponseFormat3,
1123
- ): string {
1124
- return JSON.stringify(ResponseFormat3$outboundSchema.parse(responseFormat3));
1255
+ export function createPrompt13ToJSON(createPrompt13: CreatePrompt13): string {
1256
+ return JSON.stringify(CreatePrompt13$outboundSchema.parse(createPrompt13));
1125
1257
  }
1126
1258
 
1127
- export function responseFormat3FromJSON(
1259
+ export function createPrompt13FromJSON(
1128
1260
  jsonString: string,
1129
- ): SafeParseResult<ResponseFormat3, SDKValidationError> {
1261
+ ): SafeParseResult<CreatePrompt13, SDKValidationError> {
1130
1262
  return safeParse(
1131
1263
  jsonString,
1132
- (x) => ResponseFormat3$inboundSchema.parse(JSON.parse(x)),
1133
- `Failed to parse 'ResponseFormat3' from JSON`,
1264
+ (x) => CreatePrompt13$inboundSchema.parse(JSON.parse(x)),
1265
+ `Failed to parse 'CreatePrompt13' from JSON`,
1134
1266
  );
1135
1267
  }
1136
1268
 
1137
1269
  /** @internal */
1138
- export const CreatePromptResponseFormatType$inboundSchema: z.ZodNativeEnum<
1139
- typeof CreatePromptResponseFormatType
1140
- > = z.nativeEnum(CreatePromptResponseFormatType);
1270
+ export const CreatePrompt1Type$inboundSchema: z.ZodNativeEnum<
1271
+ typeof CreatePrompt1Type
1272
+ > = z.nativeEnum(CreatePrompt1Type);
1141
1273
 
1142
1274
  /** @internal */
1143
- export const CreatePromptResponseFormatType$outboundSchema: z.ZodNativeEnum<
1144
- typeof CreatePromptResponseFormatType
1145
- > = CreatePromptResponseFormatType$inboundSchema;
1275
+ export const CreatePrompt1Type$outboundSchema: z.ZodNativeEnum<
1276
+ typeof CreatePrompt1Type
1277
+ > = CreatePrompt1Type$inboundSchema;
1146
1278
 
1147
1279
  /**
1148
1280
  * @internal
1149
1281
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1150
1282
  */
1151
- export namespace CreatePromptResponseFormatType$ {
1152
- /** @deprecated use `CreatePromptResponseFormatType$inboundSchema` instead. */
1153
- export const inboundSchema = CreatePromptResponseFormatType$inboundSchema;
1154
- /** @deprecated use `CreatePromptResponseFormatType$outboundSchema` instead. */
1155
- export const outboundSchema = CreatePromptResponseFormatType$outboundSchema;
1283
+ export namespace CreatePrompt1Type$ {
1284
+ /** @deprecated use `CreatePrompt1Type$inboundSchema` instead. */
1285
+ export const inboundSchema = CreatePrompt1Type$inboundSchema;
1286
+ /** @deprecated use `CreatePrompt1Type$outboundSchema` instead. */
1287
+ export const outboundSchema = CreatePrompt1Type$outboundSchema;
1156
1288
  }
1157
1289
 
1158
1290
  /** @internal */
1159
- export const ResponseFormat2$inboundSchema: z.ZodType<
1160
- ResponseFormat2,
1161
- z.ZodTypeDef,
1162
- unknown
1163
- > = z.object({
1164
- type: CreatePromptResponseFormatType$inboundSchema,
1165
- });
1291
+ export const One2$inboundSchema: z.ZodType<One2, z.ZodTypeDef, unknown> = z
1292
+ .object({
1293
+ type: CreatePrompt1Type$inboundSchema,
1294
+ });
1166
1295
 
1167
1296
  /** @internal */
1168
- export type ResponseFormat2$Outbound = {
1297
+ export type One2$Outbound = {
1169
1298
  type: string;
1170
1299
  };
1171
1300
 
1172
1301
  /** @internal */
1173
- export const ResponseFormat2$outboundSchema: z.ZodType<
1174
- ResponseFormat2$Outbound,
1175
- z.ZodTypeDef,
1176
- ResponseFormat2
1177
- > = z.object({
1178
- type: CreatePromptResponseFormatType$outboundSchema,
1179
- });
1302
+ export const One2$outboundSchema: z.ZodType<One2$Outbound, z.ZodTypeDef, One2> =
1303
+ z.object({
1304
+ type: CreatePrompt1Type$outboundSchema,
1305
+ });
1180
1306
 
1181
1307
  /**
1182
1308
  * @internal
1183
1309
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1184
1310
  */
1185
- export namespace ResponseFormat2$ {
1186
- /** @deprecated use `ResponseFormat2$inboundSchema` instead. */
1187
- export const inboundSchema = ResponseFormat2$inboundSchema;
1188
- /** @deprecated use `ResponseFormat2$outboundSchema` instead. */
1189
- export const outboundSchema = ResponseFormat2$outboundSchema;
1190
- /** @deprecated use `ResponseFormat2$Outbound` instead. */
1191
- export type Outbound = ResponseFormat2$Outbound;
1311
+ export namespace One2$ {
1312
+ /** @deprecated use `One2$inboundSchema` instead. */
1313
+ export const inboundSchema = One2$inboundSchema;
1314
+ /** @deprecated use `One2$outboundSchema` instead. */
1315
+ export const outboundSchema = One2$outboundSchema;
1316
+ /** @deprecated use `One2$Outbound` instead. */
1317
+ export type Outbound = One2$Outbound;
1192
1318
  }
1193
1319
 
1194
- export function responseFormat2ToJSON(
1195
- responseFormat2: ResponseFormat2,
1196
- ): string {
1197
- return JSON.stringify(ResponseFormat2$outboundSchema.parse(responseFormat2));
1320
+ export function one2ToJSON(one2: One2): string {
1321
+ return JSON.stringify(One2$outboundSchema.parse(one2));
1198
1322
  }
1199
1323
 
1200
- export function responseFormat2FromJSON(
1324
+ export function one2FromJSON(
1201
1325
  jsonString: string,
1202
- ): SafeParseResult<ResponseFormat2, SDKValidationError> {
1326
+ ): SafeParseResult<One2, SDKValidationError> {
1203
1327
  return safeParse(
1204
1328
  jsonString,
1205
- (x) => ResponseFormat2$inboundSchema.parse(JSON.parse(x)),
1206
- `Failed to parse 'ResponseFormat2' from JSON`,
1329
+ (x) => One2$inboundSchema.parse(JSON.parse(x)),
1330
+ `Failed to parse 'One2' from JSON`,
1207
1331
  );
1208
1332
  }
1209
1333
 
1210
1334
  /** @internal */
1211
- export const ResponseFormatType$inboundSchema: z.ZodNativeEnum<
1212
- typeof ResponseFormatType
1213
- > = z.nativeEnum(ResponseFormatType);
1335
+ export const OneType$inboundSchema: z.ZodNativeEnum<typeof OneType> = z
1336
+ .nativeEnum(OneType);
1214
1337
 
1215
1338
  /** @internal */
1216
- export const ResponseFormatType$outboundSchema: z.ZodNativeEnum<
1217
- typeof ResponseFormatType
1218
- > = ResponseFormatType$inboundSchema;
1339
+ export const OneType$outboundSchema: z.ZodNativeEnum<typeof OneType> =
1340
+ OneType$inboundSchema;
1219
1341
 
1220
1342
  /**
1221
1343
  * @internal
1222
1344
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1223
1345
  */
1224
- export namespace ResponseFormatType$ {
1225
- /** @deprecated use `ResponseFormatType$inboundSchema` instead. */
1226
- export const inboundSchema = ResponseFormatType$inboundSchema;
1227
- /** @deprecated use `ResponseFormatType$outboundSchema` instead. */
1228
- export const outboundSchema = ResponseFormatType$outboundSchema;
1346
+ export namespace OneType$ {
1347
+ /** @deprecated use `OneType$inboundSchema` instead. */
1348
+ export const inboundSchema = OneType$inboundSchema;
1349
+ /** @deprecated use `OneType$outboundSchema` instead. */
1350
+ export const outboundSchema = OneType$outboundSchema;
1229
1351
  }
1230
1352
 
1231
1353
  /** @internal */
@@ -1285,38 +1407,87 @@ export function jsonSchemaFromJSON(
1285
1407
  }
1286
1408
 
1287
1409
  /** @internal */
1288
- export const ResponseFormat1$inboundSchema: z.ZodType<
1289
- ResponseFormat1,
1290
- z.ZodTypeDef,
1291
- unknown
1292
- > = z.object({
1293
- type: ResponseFormatType$inboundSchema,
1294
- json_schema: z.lazy(() => JsonSchema$inboundSchema),
1295
- }).transform((v) => {
1296
- return remap$(v, {
1297
- "json_schema": "jsonSchema",
1410
+ export const One1$inboundSchema: z.ZodType<One1, z.ZodTypeDef, unknown> = z
1411
+ .object({
1412
+ type: OneType$inboundSchema,
1413
+ json_schema: z.lazy(() => JsonSchema$inboundSchema),
1414
+ }).transform((v) => {
1415
+ return remap$(v, {
1416
+ "json_schema": "jsonSchema",
1417
+ });
1298
1418
  });
1299
- });
1300
1419
 
1301
1420
  /** @internal */
1302
- export type ResponseFormat1$Outbound = {
1421
+ export type One1$Outbound = {
1303
1422
  type: string;
1304
1423
  json_schema: JsonSchema$Outbound;
1305
1424
  };
1306
1425
 
1426
+ /** @internal */
1427
+ export const One1$outboundSchema: z.ZodType<One1$Outbound, z.ZodTypeDef, One1> =
1428
+ z.object({
1429
+ type: OneType$outboundSchema,
1430
+ jsonSchema: z.lazy(() => JsonSchema$outboundSchema),
1431
+ }).transform((v) => {
1432
+ return remap$(v, {
1433
+ jsonSchema: "json_schema",
1434
+ });
1435
+ });
1436
+
1437
+ /**
1438
+ * @internal
1439
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1440
+ */
1441
+ export namespace One1$ {
1442
+ /** @deprecated use `One1$inboundSchema` instead. */
1443
+ export const inboundSchema = One1$inboundSchema;
1444
+ /** @deprecated use `One1$outboundSchema` instead. */
1445
+ export const outboundSchema = One1$outboundSchema;
1446
+ /** @deprecated use `One1$Outbound` instead. */
1447
+ export type Outbound = One1$Outbound;
1448
+ }
1449
+
1450
+ export function one1ToJSON(one1: One1): string {
1451
+ return JSON.stringify(One1$outboundSchema.parse(one1));
1452
+ }
1453
+
1454
+ export function one1FromJSON(
1455
+ jsonString: string,
1456
+ ): SafeParseResult<One1, SDKValidationError> {
1457
+ return safeParse(
1458
+ jsonString,
1459
+ (x) => One1$inboundSchema.parse(JSON.parse(x)),
1460
+ `Failed to parse 'One1' from JSON`,
1461
+ );
1462
+ }
1463
+
1464
+ /** @internal */
1465
+ export const ResponseFormat1$inboundSchema: z.ZodType<
1466
+ ResponseFormat1,
1467
+ z.ZodTypeDef,
1468
+ unknown
1469
+ > = z.union([
1470
+ z.lazy(() => One1$inboundSchema),
1471
+ z.lazy(() => One2$inboundSchema),
1472
+ z.lazy(() => CreatePrompt13$inboundSchema),
1473
+ ]);
1474
+
1475
+ /** @internal */
1476
+ export type ResponseFormat1$Outbound =
1477
+ | One1$Outbound
1478
+ | One2$Outbound
1479
+ | CreatePrompt13$Outbound;
1480
+
1307
1481
  /** @internal */
1308
1482
  export const ResponseFormat1$outboundSchema: z.ZodType<
1309
1483
  ResponseFormat1$Outbound,
1310
1484
  z.ZodTypeDef,
1311
1485
  ResponseFormat1
1312
- > = z.object({
1313
- type: ResponseFormatType$outboundSchema,
1314
- jsonSchema: z.lazy(() => JsonSchema$outboundSchema),
1315
- }).transform((v) => {
1316
- return remap$(v, {
1317
- jsonSchema: "json_schema",
1318
- });
1319
- });
1486
+ > = z.union([
1487
+ z.lazy(() => One1$outboundSchema),
1488
+ z.lazy(() => One2$outboundSchema),
1489
+ z.lazy(() => CreatePrompt13$outboundSchema),
1490
+ ]);
1320
1491
 
1321
1492
  /**
1322
1493
  * @internal
@@ -1353,16 +1524,24 @@ export const ResponseFormat$inboundSchema: z.ZodType<
1353
1524
  z.ZodTypeDef,
1354
1525
  unknown
1355
1526
  > = z.union([
1356
- z.lazy(() => ResponseFormat1$inboundSchema),
1357
- z.lazy(() => ResponseFormat2$inboundSchema),
1358
- z.lazy(() => ResponseFormat3$inboundSchema),
1527
+ z.union([
1528
+ z.lazy(() => One1$inboundSchema),
1529
+ z.lazy(() => One2$inboundSchema),
1530
+ z.lazy(() => CreatePrompt13$inboundSchema),
1531
+ ]),
1532
+ ResponseFormat2$inboundSchema,
1533
+ ResponseFormat3$inboundSchema,
1534
+ ResponseFormat4$inboundSchema,
1359
1535
  ]);
1360
1536
 
1361
1537
  /** @internal */
1362
1538
  export type ResponseFormat$Outbound =
1363
- | ResponseFormat1$Outbound
1364
- | ResponseFormat2$Outbound
1365
- | ResponseFormat3$Outbound;
1539
+ | One1$Outbound
1540
+ | One2$Outbound
1541
+ | CreatePrompt13$Outbound
1542
+ | string
1543
+ | string
1544
+ | string;
1366
1545
 
1367
1546
  /** @internal */
1368
1547
  export const ResponseFormat$outboundSchema: z.ZodType<
@@ -1370,9 +1549,14 @@ export const ResponseFormat$outboundSchema: z.ZodType<
1370
1549
  z.ZodTypeDef,
1371
1550
  ResponseFormat
1372
1551
  > = z.union([
1373
- z.lazy(() => ResponseFormat1$outboundSchema),
1374
- z.lazy(() => ResponseFormat2$outboundSchema),
1375
- z.lazy(() => ResponseFormat3$outboundSchema),
1552
+ z.union([
1553
+ z.lazy(() => One1$outboundSchema),
1554
+ z.lazy(() => One2$outboundSchema),
1555
+ z.lazy(() => CreatePrompt13$outboundSchema),
1556
+ ]),
1557
+ ResponseFormat2$outboundSchema,
1558
+ ResponseFormat3$outboundSchema,
1559
+ ResponseFormat4$outboundSchema,
1376
1560
  ]);
1377
1561
 
1378
1562
  /**
@@ -1504,9 +1688,14 @@ export const ModelParameters$inboundSchema: z.ZodType<
1504
1688
  style: z.string().optional(),
1505
1689
  responseFormat: z.nullable(
1506
1690
  z.union([
1507
- z.lazy(() => ResponseFormat1$inboundSchema),
1508
- z.lazy(() => ResponseFormat2$inboundSchema),
1509
- z.lazy(() => ResponseFormat3$inboundSchema),
1691
+ z.union([
1692
+ z.lazy(() => One1$inboundSchema),
1693
+ z.lazy(() => One2$inboundSchema),
1694
+ z.lazy(() => CreatePrompt13$inboundSchema),
1695
+ ]),
1696
+ ResponseFormat2$inboundSchema,
1697
+ ResponseFormat3$inboundSchema,
1698
+ ResponseFormat4$inboundSchema,
1510
1699
  ]),
1511
1700
  ).optional(),
1512
1701
  photoRealVersion: PhotoRealVersion$inboundSchema.optional(),
@@ -1535,9 +1724,12 @@ export type ModelParameters$Outbound = {
1535
1724
  quality?: string | undefined;
1536
1725
  style?: string | undefined;
1537
1726
  responseFormat?:
1538
- | ResponseFormat1$Outbound
1539
- | ResponseFormat2$Outbound
1540
- | ResponseFormat3$Outbound
1727
+ | One1$Outbound
1728
+ | One2$Outbound
1729
+ | CreatePrompt13$Outbound
1730
+ | string
1731
+ | string
1732
+ | string
1541
1733
  | null
1542
1734
  | undefined;
1543
1735
  photoRealVersion?: string | undefined;
@@ -1567,9 +1759,14 @@ export const ModelParameters$outboundSchema: z.ZodType<
1567
1759
  style: z.string().optional(),
1568
1760
  responseFormat: z.nullable(
1569
1761
  z.union([
1570
- z.lazy(() => ResponseFormat1$outboundSchema),
1571
- z.lazy(() => ResponseFormat2$outboundSchema),
1572
- z.lazy(() => ResponseFormat3$outboundSchema),
1762
+ z.union([
1763
+ z.lazy(() => One1$outboundSchema),
1764
+ z.lazy(() => One2$outboundSchema),
1765
+ z.lazy(() => CreatePrompt13$outboundSchema),
1766
+ ]),
1767
+ ResponseFormat2$outboundSchema,
1768
+ ResponseFormat3$outboundSchema,
1769
+ ResponseFormat4$outboundSchema,
1573
1770
  ]),
1574
1771
  ).optional(),
1575
1772
  photoRealVersion: PhotoRealVersion$outboundSchema.optional(),
@@ -2686,196 +2883,242 @@ export namespace CreatePromptPromptsFormat$ {
2686
2883
  }
2687
2884
 
2688
2885
  /** @internal */
2689
- export const CreatePromptResponseFormatPromptsResponse200ApplicationJSONType$inboundSchema:
2690
- z.ZodNativeEnum<
2691
- typeof CreatePromptResponseFormatPromptsResponse200ApplicationJSONType
2692
- > = z.nativeEnum(
2693
- CreatePromptResponseFormatPromptsResponse200ApplicationJSONType,
2694
- );
2886
+ export const CreatePromptResponseFormat4$inboundSchema: z.ZodNativeEnum<
2887
+ typeof CreatePromptResponseFormat4
2888
+ > = z.nativeEnum(CreatePromptResponseFormat4);
2695
2889
 
2696
2890
  /** @internal */
2697
- export const CreatePromptResponseFormatPromptsResponse200ApplicationJSONType$outboundSchema:
2698
- z.ZodNativeEnum<
2699
- typeof CreatePromptResponseFormatPromptsResponse200ApplicationJSONType
2700
- > =
2701
- CreatePromptResponseFormatPromptsResponse200ApplicationJSONType$inboundSchema;
2891
+ export const CreatePromptResponseFormat4$outboundSchema: z.ZodNativeEnum<
2892
+ typeof CreatePromptResponseFormat4
2893
+ > = CreatePromptResponseFormat4$inboundSchema;
2702
2894
 
2703
2895
  /**
2704
2896
  * @internal
2705
2897
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2706
2898
  */
2707
- export namespace CreatePromptResponseFormatPromptsResponse200ApplicationJSONType$ {
2708
- /** @deprecated use `CreatePromptResponseFormatPromptsResponse200ApplicationJSONType$inboundSchema` instead. */
2899
+ export namespace CreatePromptResponseFormat4$ {
2900
+ /** @deprecated use `CreatePromptResponseFormat4$inboundSchema` instead. */
2901
+ export const inboundSchema = CreatePromptResponseFormat4$inboundSchema;
2902
+ /** @deprecated use `CreatePromptResponseFormat4$outboundSchema` instead. */
2903
+ export const outboundSchema = CreatePromptResponseFormat4$outboundSchema;
2904
+ }
2905
+
2906
+ /** @internal */
2907
+ export const CreatePromptResponseFormat3$inboundSchema: z.ZodNativeEnum<
2908
+ typeof CreatePromptResponseFormat3
2909
+ > = z.nativeEnum(CreatePromptResponseFormat3);
2910
+
2911
+ /** @internal */
2912
+ export const CreatePromptResponseFormat3$outboundSchema: z.ZodNativeEnum<
2913
+ typeof CreatePromptResponseFormat3
2914
+ > = CreatePromptResponseFormat3$inboundSchema;
2915
+
2916
+ /**
2917
+ * @internal
2918
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2919
+ */
2920
+ export namespace CreatePromptResponseFormat3$ {
2921
+ /** @deprecated use `CreatePromptResponseFormat3$inboundSchema` instead. */
2922
+ export const inboundSchema = CreatePromptResponseFormat3$inboundSchema;
2923
+ /** @deprecated use `CreatePromptResponseFormat3$outboundSchema` instead. */
2924
+ export const outboundSchema = CreatePromptResponseFormat3$outboundSchema;
2925
+ }
2926
+
2927
+ /** @internal */
2928
+ export const CreatePromptResponseFormat2$inboundSchema: z.ZodNativeEnum<
2929
+ typeof CreatePromptResponseFormat2
2930
+ > = z.nativeEnum(CreatePromptResponseFormat2);
2931
+
2932
+ /** @internal */
2933
+ export const CreatePromptResponseFormat2$outboundSchema: z.ZodNativeEnum<
2934
+ typeof CreatePromptResponseFormat2
2935
+ > = CreatePromptResponseFormat2$inboundSchema;
2936
+
2937
+ /**
2938
+ * @internal
2939
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2940
+ */
2941
+ export namespace CreatePromptResponseFormat2$ {
2942
+ /** @deprecated use `CreatePromptResponseFormat2$inboundSchema` instead. */
2943
+ export const inboundSchema = CreatePromptResponseFormat2$inboundSchema;
2944
+ /** @deprecated use `CreatePromptResponseFormat2$outboundSchema` instead. */
2945
+ export const outboundSchema = CreatePromptResponseFormat2$outboundSchema;
2946
+ }
2947
+
2948
+ /** @internal */
2949
+ export const CreatePrompt1PromptsResponse200ApplicationJSONType$inboundSchema:
2950
+ z.ZodNativeEnum<typeof CreatePrompt1PromptsResponse200ApplicationJSONType> = z
2951
+ .nativeEnum(CreatePrompt1PromptsResponse200ApplicationJSONType);
2952
+
2953
+ /** @internal */
2954
+ export const CreatePrompt1PromptsResponse200ApplicationJSONType$outboundSchema:
2955
+ z.ZodNativeEnum<typeof CreatePrompt1PromptsResponse200ApplicationJSONType> =
2956
+ CreatePrompt1PromptsResponse200ApplicationJSONType$inboundSchema;
2957
+
2958
+ /**
2959
+ * @internal
2960
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2961
+ */
2962
+ export namespace CreatePrompt1PromptsResponse200ApplicationJSONType$ {
2963
+ /** @deprecated use `CreatePrompt1PromptsResponse200ApplicationJSONType$inboundSchema` instead. */
2709
2964
  export const inboundSchema =
2710
- CreatePromptResponseFormatPromptsResponse200ApplicationJSONType$inboundSchema;
2711
- /** @deprecated use `CreatePromptResponseFormatPromptsResponse200ApplicationJSONType$outboundSchema` instead. */
2965
+ CreatePrompt1PromptsResponse200ApplicationJSONType$inboundSchema;
2966
+ /** @deprecated use `CreatePrompt1PromptsResponse200ApplicationJSONType$outboundSchema` instead. */
2712
2967
  export const outboundSchema =
2713
- CreatePromptResponseFormatPromptsResponse200ApplicationJSONType$outboundSchema;
2968
+ CreatePrompt1PromptsResponse200ApplicationJSONType$outboundSchema;
2714
2969
  }
2715
2970
 
2716
2971
  /** @internal */
2717
- export const CreatePromptResponseFormat3$inboundSchema: z.ZodType<
2718
- CreatePromptResponseFormat3,
2972
+ export const CreatePrompt1Prompts3$inboundSchema: z.ZodType<
2973
+ CreatePrompt1Prompts3,
2719
2974
  z.ZodTypeDef,
2720
2975
  unknown
2721
2976
  > = z.object({
2722
- type:
2723
- CreatePromptResponseFormatPromptsResponse200ApplicationJSONType$inboundSchema,
2977
+ type: CreatePrompt1PromptsResponse200ApplicationJSONType$inboundSchema,
2724
2978
  });
2725
2979
 
2726
2980
  /** @internal */
2727
- export type CreatePromptResponseFormat3$Outbound = {
2981
+ export type CreatePrompt1Prompts3$Outbound = {
2728
2982
  type: string;
2729
2983
  };
2730
2984
 
2731
2985
  /** @internal */
2732
- export const CreatePromptResponseFormat3$outboundSchema: z.ZodType<
2733
- CreatePromptResponseFormat3$Outbound,
2986
+ export const CreatePrompt1Prompts3$outboundSchema: z.ZodType<
2987
+ CreatePrompt1Prompts3$Outbound,
2734
2988
  z.ZodTypeDef,
2735
- CreatePromptResponseFormat3
2989
+ CreatePrompt1Prompts3
2736
2990
  > = z.object({
2737
- type:
2738
- CreatePromptResponseFormatPromptsResponse200ApplicationJSONType$outboundSchema,
2991
+ type: CreatePrompt1PromptsResponse200ApplicationJSONType$outboundSchema,
2739
2992
  });
2740
2993
 
2741
2994
  /**
2742
2995
  * @internal
2743
2996
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2744
2997
  */
2745
- export namespace CreatePromptResponseFormat3$ {
2746
- /** @deprecated use `CreatePromptResponseFormat3$inboundSchema` instead. */
2747
- export const inboundSchema = CreatePromptResponseFormat3$inboundSchema;
2748
- /** @deprecated use `CreatePromptResponseFormat3$outboundSchema` instead. */
2749
- export const outboundSchema = CreatePromptResponseFormat3$outboundSchema;
2750
- /** @deprecated use `CreatePromptResponseFormat3$Outbound` instead. */
2751
- export type Outbound = CreatePromptResponseFormat3$Outbound;
2998
+ export namespace CreatePrompt1Prompts3$ {
2999
+ /** @deprecated use `CreatePrompt1Prompts3$inboundSchema` instead. */
3000
+ export const inboundSchema = CreatePrompt1Prompts3$inboundSchema;
3001
+ /** @deprecated use `CreatePrompt1Prompts3$outboundSchema` instead. */
3002
+ export const outboundSchema = CreatePrompt1Prompts3$outboundSchema;
3003
+ /** @deprecated use `CreatePrompt1Prompts3$Outbound` instead. */
3004
+ export type Outbound = CreatePrompt1Prompts3$Outbound;
2752
3005
  }
2753
3006
 
2754
- export function createPromptResponseFormat3ToJSON(
2755
- createPromptResponseFormat3: CreatePromptResponseFormat3,
3007
+ export function createPrompt1Prompts3ToJSON(
3008
+ createPrompt1Prompts3: CreatePrompt1Prompts3,
2756
3009
  ): string {
2757
3010
  return JSON.stringify(
2758
- CreatePromptResponseFormat3$outboundSchema.parse(
2759
- createPromptResponseFormat3,
2760
- ),
3011
+ CreatePrompt1Prompts3$outboundSchema.parse(createPrompt1Prompts3),
2761
3012
  );
2762
3013
  }
2763
3014
 
2764
- export function createPromptResponseFormat3FromJSON(
3015
+ export function createPrompt1Prompts3FromJSON(
2765
3016
  jsonString: string,
2766
- ): SafeParseResult<CreatePromptResponseFormat3, SDKValidationError> {
3017
+ ): SafeParseResult<CreatePrompt1Prompts3, SDKValidationError> {
2767
3018
  return safeParse(
2768
3019
  jsonString,
2769
- (x) => CreatePromptResponseFormat3$inboundSchema.parse(JSON.parse(x)),
2770
- `Failed to parse 'CreatePromptResponseFormat3' from JSON`,
3020
+ (x) => CreatePrompt1Prompts3$inboundSchema.parse(JSON.parse(x)),
3021
+ `Failed to parse 'CreatePrompt1Prompts3' from JSON`,
2771
3022
  );
2772
3023
  }
2773
3024
 
2774
3025
  /** @internal */
2775
- export const CreatePromptResponseFormatPromptsResponse200Type$inboundSchema:
2776
- z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsResponse200Type> = z
2777
- .nativeEnum(CreatePromptResponseFormatPromptsResponse200Type);
3026
+ export const CreatePrompt1PromptsResponse200Type$inboundSchema: z.ZodNativeEnum<
3027
+ typeof CreatePrompt1PromptsResponse200Type
3028
+ > = z.nativeEnum(CreatePrompt1PromptsResponse200Type);
2778
3029
 
2779
3030
  /** @internal */
2780
- export const CreatePromptResponseFormatPromptsResponse200Type$outboundSchema:
2781
- z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsResponse200Type> =
2782
- CreatePromptResponseFormatPromptsResponse200Type$inboundSchema;
3031
+ export const CreatePrompt1PromptsResponse200Type$outboundSchema:
3032
+ z.ZodNativeEnum<typeof CreatePrompt1PromptsResponse200Type> =
3033
+ CreatePrompt1PromptsResponse200Type$inboundSchema;
2783
3034
 
2784
3035
  /**
2785
3036
  * @internal
2786
3037
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2787
3038
  */
2788
- export namespace CreatePromptResponseFormatPromptsResponse200Type$ {
2789
- /** @deprecated use `CreatePromptResponseFormatPromptsResponse200Type$inboundSchema` instead. */
3039
+ export namespace CreatePrompt1PromptsResponse200Type$ {
3040
+ /** @deprecated use `CreatePrompt1PromptsResponse200Type$inboundSchema` instead. */
2790
3041
  export const inboundSchema =
2791
- CreatePromptResponseFormatPromptsResponse200Type$inboundSchema;
2792
- /** @deprecated use `CreatePromptResponseFormatPromptsResponse200Type$outboundSchema` instead. */
3042
+ CreatePrompt1PromptsResponse200Type$inboundSchema;
3043
+ /** @deprecated use `CreatePrompt1PromptsResponse200Type$outboundSchema` instead. */
2793
3044
  export const outboundSchema =
2794
- CreatePromptResponseFormatPromptsResponse200Type$outboundSchema;
3045
+ CreatePrompt1PromptsResponse200Type$outboundSchema;
2795
3046
  }
2796
3047
 
2797
3048
  /** @internal */
2798
- export const CreatePromptResponseFormat2$inboundSchema: z.ZodType<
2799
- CreatePromptResponseFormat2,
3049
+ export const CreatePrompt12$inboundSchema: z.ZodType<
3050
+ CreatePrompt12,
2800
3051
  z.ZodTypeDef,
2801
3052
  unknown
2802
3053
  > = z.object({
2803
- type: CreatePromptResponseFormatPromptsResponse200Type$inboundSchema,
3054
+ type: CreatePrompt1PromptsResponse200Type$inboundSchema,
2804
3055
  });
2805
3056
 
2806
3057
  /** @internal */
2807
- export type CreatePromptResponseFormat2$Outbound = {
3058
+ export type CreatePrompt12$Outbound = {
2808
3059
  type: string;
2809
3060
  };
2810
3061
 
2811
3062
  /** @internal */
2812
- export const CreatePromptResponseFormat2$outboundSchema: z.ZodType<
2813
- CreatePromptResponseFormat2$Outbound,
3063
+ export const CreatePrompt12$outboundSchema: z.ZodType<
3064
+ CreatePrompt12$Outbound,
2814
3065
  z.ZodTypeDef,
2815
- CreatePromptResponseFormat2
3066
+ CreatePrompt12
2816
3067
  > = z.object({
2817
- type: CreatePromptResponseFormatPromptsResponse200Type$outboundSchema,
3068
+ type: CreatePrompt1PromptsResponse200Type$outboundSchema,
2818
3069
  });
2819
3070
 
2820
3071
  /**
2821
3072
  * @internal
2822
3073
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2823
3074
  */
2824
- export namespace CreatePromptResponseFormat2$ {
2825
- /** @deprecated use `CreatePromptResponseFormat2$inboundSchema` instead. */
2826
- export const inboundSchema = CreatePromptResponseFormat2$inboundSchema;
2827
- /** @deprecated use `CreatePromptResponseFormat2$outboundSchema` instead. */
2828
- export const outboundSchema = CreatePromptResponseFormat2$outboundSchema;
2829
- /** @deprecated use `CreatePromptResponseFormat2$Outbound` instead. */
2830
- export type Outbound = CreatePromptResponseFormat2$Outbound;
3075
+ export namespace CreatePrompt12$ {
3076
+ /** @deprecated use `CreatePrompt12$inboundSchema` instead. */
3077
+ export const inboundSchema = CreatePrompt12$inboundSchema;
3078
+ /** @deprecated use `CreatePrompt12$outboundSchema` instead. */
3079
+ export const outboundSchema = CreatePrompt12$outboundSchema;
3080
+ /** @deprecated use `CreatePrompt12$Outbound` instead. */
3081
+ export type Outbound = CreatePrompt12$Outbound;
2831
3082
  }
2832
3083
 
2833
- export function createPromptResponseFormat2ToJSON(
2834
- createPromptResponseFormat2: CreatePromptResponseFormat2,
2835
- ): string {
2836
- return JSON.stringify(
2837
- CreatePromptResponseFormat2$outboundSchema.parse(
2838
- createPromptResponseFormat2,
2839
- ),
2840
- );
3084
+ export function createPrompt12ToJSON(createPrompt12: CreatePrompt12): string {
3085
+ return JSON.stringify(CreatePrompt12$outboundSchema.parse(createPrompt12));
2841
3086
  }
2842
3087
 
2843
- export function createPromptResponseFormat2FromJSON(
3088
+ export function createPrompt12FromJSON(
2844
3089
  jsonString: string,
2845
- ): SafeParseResult<CreatePromptResponseFormat2, SDKValidationError> {
3090
+ ): SafeParseResult<CreatePrompt12, SDKValidationError> {
2846
3091
  return safeParse(
2847
3092
  jsonString,
2848
- (x) => CreatePromptResponseFormat2$inboundSchema.parse(JSON.parse(x)),
2849
- `Failed to parse 'CreatePromptResponseFormat2' from JSON`,
3093
+ (x) => CreatePrompt12$inboundSchema.parse(JSON.parse(x)),
3094
+ `Failed to parse 'CreatePrompt12' from JSON`,
2850
3095
  );
2851
3096
  }
2852
3097
 
2853
3098
  /** @internal */
2854
- export const CreatePromptResponseFormatPromptsResponseType$inboundSchema:
2855
- z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsResponseType> = z
2856
- .nativeEnum(CreatePromptResponseFormatPromptsResponseType);
3099
+ export const CreatePrompt1PromptsResponseType$inboundSchema: z.ZodNativeEnum<
3100
+ typeof CreatePrompt1PromptsResponseType
3101
+ > = z.nativeEnum(CreatePrompt1PromptsResponseType);
2857
3102
 
2858
3103
  /** @internal */
2859
- export const CreatePromptResponseFormatPromptsResponseType$outboundSchema:
2860
- z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsResponseType> =
2861
- CreatePromptResponseFormatPromptsResponseType$inboundSchema;
3104
+ export const CreatePrompt1PromptsResponseType$outboundSchema: z.ZodNativeEnum<
3105
+ typeof CreatePrompt1PromptsResponseType
3106
+ > = CreatePrompt1PromptsResponseType$inboundSchema;
2862
3107
 
2863
3108
  /**
2864
3109
  * @internal
2865
3110
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2866
3111
  */
2867
- export namespace CreatePromptResponseFormatPromptsResponseType$ {
2868
- /** @deprecated use `CreatePromptResponseFormatPromptsResponseType$inboundSchema` instead. */
2869
- export const inboundSchema =
2870
- CreatePromptResponseFormatPromptsResponseType$inboundSchema;
2871
- /** @deprecated use `CreatePromptResponseFormatPromptsResponseType$outboundSchema` instead. */
2872
- export const outboundSchema =
2873
- CreatePromptResponseFormatPromptsResponseType$outboundSchema;
3112
+ export namespace CreatePrompt1PromptsResponseType$ {
3113
+ /** @deprecated use `CreatePrompt1PromptsResponseType$inboundSchema` instead. */
3114
+ export const inboundSchema = CreatePrompt1PromptsResponseType$inboundSchema;
3115
+ /** @deprecated use `CreatePrompt1PromptsResponseType$outboundSchema` instead. */
3116
+ export const outboundSchema = CreatePrompt1PromptsResponseType$outboundSchema;
2874
3117
  }
2875
3118
 
2876
3119
  /** @internal */
2877
- export const CreatePromptResponseFormatJsonSchema$inboundSchema: z.ZodType<
2878
- CreatePromptResponseFormatJsonSchema,
3120
+ export const CreatePrompt1JsonSchema$inboundSchema: z.ZodType<
3121
+ CreatePrompt1JsonSchema,
2879
3122
  z.ZodTypeDef,
2880
3123
  unknown
2881
3124
  > = z.object({
@@ -2885,17 +3128,17 @@ export const CreatePromptResponseFormatJsonSchema$inboundSchema: z.ZodType<
2885
3128
  });
2886
3129
 
2887
3130
  /** @internal */
2888
- export type CreatePromptResponseFormatJsonSchema$Outbound = {
3131
+ export type CreatePrompt1JsonSchema$Outbound = {
2889
3132
  name: string;
2890
3133
  strict?: boolean | undefined;
2891
3134
  schema: { [k: string]: any };
2892
3135
  };
2893
3136
 
2894
3137
  /** @internal */
2895
- export const CreatePromptResponseFormatJsonSchema$outboundSchema: z.ZodType<
2896
- CreatePromptResponseFormatJsonSchema$Outbound,
3138
+ export const CreatePrompt1JsonSchema$outboundSchema: z.ZodType<
3139
+ CreatePrompt1JsonSchema$Outbound,
2897
3140
  z.ZodTypeDef,
2898
- CreatePromptResponseFormatJsonSchema
3141
+ CreatePrompt1JsonSchema
2899
3142
  > = z.object({
2900
3143
  name: z.string(),
2901
3144
  strict: z.boolean().optional(),
@@ -2906,46 +3149,41 @@ export const CreatePromptResponseFormatJsonSchema$outboundSchema: z.ZodType<
2906
3149
  * @internal
2907
3150
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2908
3151
  */
2909
- export namespace CreatePromptResponseFormatJsonSchema$ {
2910
- /** @deprecated use `CreatePromptResponseFormatJsonSchema$inboundSchema` instead. */
2911
- export const inboundSchema =
2912
- CreatePromptResponseFormatJsonSchema$inboundSchema;
2913
- /** @deprecated use `CreatePromptResponseFormatJsonSchema$outboundSchema` instead. */
2914
- export const outboundSchema =
2915
- CreatePromptResponseFormatJsonSchema$outboundSchema;
2916
- /** @deprecated use `CreatePromptResponseFormatJsonSchema$Outbound` instead. */
2917
- export type Outbound = CreatePromptResponseFormatJsonSchema$Outbound;
3152
+ export namespace CreatePrompt1JsonSchema$ {
3153
+ /** @deprecated use `CreatePrompt1JsonSchema$inboundSchema` instead. */
3154
+ export const inboundSchema = CreatePrompt1JsonSchema$inboundSchema;
3155
+ /** @deprecated use `CreatePrompt1JsonSchema$outboundSchema` instead. */
3156
+ export const outboundSchema = CreatePrompt1JsonSchema$outboundSchema;
3157
+ /** @deprecated use `CreatePrompt1JsonSchema$Outbound` instead. */
3158
+ export type Outbound = CreatePrompt1JsonSchema$Outbound;
2918
3159
  }
2919
3160
 
2920
- export function createPromptResponseFormatJsonSchemaToJSON(
2921
- createPromptResponseFormatJsonSchema: CreatePromptResponseFormatJsonSchema,
3161
+ export function createPrompt1JsonSchemaToJSON(
3162
+ createPrompt1JsonSchema: CreatePrompt1JsonSchema,
2922
3163
  ): string {
2923
3164
  return JSON.stringify(
2924
- CreatePromptResponseFormatJsonSchema$outboundSchema.parse(
2925
- createPromptResponseFormatJsonSchema,
2926
- ),
3165
+ CreatePrompt1JsonSchema$outboundSchema.parse(createPrompt1JsonSchema),
2927
3166
  );
2928
3167
  }
2929
3168
 
2930
- export function createPromptResponseFormatJsonSchemaFromJSON(
3169
+ export function createPrompt1JsonSchemaFromJSON(
2931
3170
  jsonString: string,
2932
- ): SafeParseResult<CreatePromptResponseFormatJsonSchema, SDKValidationError> {
3171
+ ): SafeParseResult<CreatePrompt1JsonSchema, SDKValidationError> {
2933
3172
  return safeParse(
2934
3173
  jsonString,
2935
- (x) =>
2936
- CreatePromptResponseFormatJsonSchema$inboundSchema.parse(JSON.parse(x)),
2937
- `Failed to parse 'CreatePromptResponseFormatJsonSchema' from JSON`,
3174
+ (x) => CreatePrompt1JsonSchema$inboundSchema.parse(JSON.parse(x)),
3175
+ `Failed to parse 'CreatePrompt1JsonSchema' from JSON`,
2938
3176
  );
2939
3177
  }
2940
3178
 
2941
3179
  /** @internal */
2942
- export const CreatePromptResponseFormat1$inboundSchema: z.ZodType<
2943
- CreatePromptResponseFormat1,
3180
+ export const CreatePrompt11$inboundSchema: z.ZodType<
3181
+ CreatePrompt11,
2944
3182
  z.ZodTypeDef,
2945
3183
  unknown
2946
3184
  > = z.object({
2947
- type: CreatePromptResponseFormatPromptsResponseType$inboundSchema,
2948
- json_schema: z.lazy(() => CreatePromptResponseFormatJsonSchema$inboundSchema),
3185
+ type: CreatePrompt1PromptsResponseType$inboundSchema,
3186
+ json_schema: z.lazy(() => CreatePrompt1JsonSchema$inboundSchema),
2949
3187
  }).transform((v) => {
2950
3188
  return remap$(v, {
2951
3189
  "json_schema": "jsonSchema",
@@ -2953,25 +3191,80 @@ export const CreatePromptResponseFormat1$inboundSchema: z.ZodType<
2953
3191
  });
2954
3192
 
2955
3193
  /** @internal */
2956
- export type CreatePromptResponseFormat1$Outbound = {
3194
+ export type CreatePrompt11$Outbound = {
2957
3195
  type: string;
2958
- json_schema: CreatePromptResponseFormatJsonSchema$Outbound;
3196
+ json_schema: CreatePrompt1JsonSchema$Outbound;
2959
3197
  };
2960
3198
 
2961
3199
  /** @internal */
2962
- export const CreatePromptResponseFormat1$outboundSchema: z.ZodType<
2963
- CreatePromptResponseFormat1$Outbound,
3200
+ export const CreatePrompt11$outboundSchema: z.ZodType<
3201
+ CreatePrompt11$Outbound,
2964
3202
  z.ZodTypeDef,
2965
- CreatePromptResponseFormat1
3203
+ CreatePrompt11
2966
3204
  > = z.object({
2967
- type: CreatePromptResponseFormatPromptsResponseType$outboundSchema,
2968
- jsonSchema: z.lazy(() => CreatePromptResponseFormatJsonSchema$outboundSchema),
3205
+ type: CreatePrompt1PromptsResponseType$outboundSchema,
3206
+ jsonSchema: z.lazy(() => CreatePrompt1JsonSchema$outboundSchema),
2969
3207
  }).transform((v) => {
2970
3208
  return remap$(v, {
2971
3209
  jsonSchema: "json_schema",
2972
3210
  });
2973
3211
  });
2974
3212
 
3213
+ /**
3214
+ * @internal
3215
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3216
+ */
3217
+ export namespace CreatePrompt11$ {
3218
+ /** @deprecated use `CreatePrompt11$inboundSchema` instead. */
3219
+ export const inboundSchema = CreatePrompt11$inboundSchema;
3220
+ /** @deprecated use `CreatePrompt11$outboundSchema` instead. */
3221
+ export const outboundSchema = CreatePrompt11$outboundSchema;
3222
+ /** @deprecated use `CreatePrompt11$Outbound` instead. */
3223
+ export type Outbound = CreatePrompt11$Outbound;
3224
+ }
3225
+
3226
+ export function createPrompt11ToJSON(createPrompt11: CreatePrompt11): string {
3227
+ return JSON.stringify(CreatePrompt11$outboundSchema.parse(createPrompt11));
3228
+ }
3229
+
3230
+ export function createPrompt11FromJSON(
3231
+ jsonString: string,
3232
+ ): SafeParseResult<CreatePrompt11, SDKValidationError> {
3233
+ return safeParse(
3234
+ jsonString,
3235
+ (x) => CreatePrompt11$inboundSchema.parse(JSON.parse(x)),
3236
+ `Failed to parse 'CreatePrompt11' from JSON`,
3237
+ );
3238
+ }
3239
+
3240
+ /** @internal */
3241
+ export const CreatePromptResponseFormat1$inboundSchema: z.ZodType<
3242
+ CreatePromptResponseFormat1,
3243
+ z.ZodTypeDef,
3244
+ unknown
3245
+ > = z.union([
3246
+ z.lazy(() => CreatePrompt11$inboundSchema),
3247
+ z.lazy(() => CreatePrompt12$inboundSchema),
3248
+ z.lazy(() => CreatePrompt1Prompts3$inboundSchema),
3249
+ ]);
3250
+
3251
+ /** @internal */
3252
+ export type CreatePromptResponseFormat1$Outbound =
3253
+ | CreatePrompt11$Outbound
3254
+ | CreatePrompt12$Outbound
3255
+ | CreatePrompt1Prompts3$Outbound;
3256
+
3257
+ /** @internal */
3258
+ export const CreatePromptResponseFormat1$outboundSchema: z.ZodType<
3259
+ CreatePromptResponseFormat1$Outbound,
3260
+ z.ZodTypeDef,
3261
+ CreatePromptResponseFormat1
3262
+ > = z.union([
3263
+ z.lazy(() => CreatePrompt11$outboundSchema),
3264
+ z.lazy(() => CreatePrompt12$outboundSchema),
3265
+ z.lazy(() => CreatePrompt1Prompts3$outboundSchema),
3266
+ ]);
3267
+
2975
3268
  /**
2976
3269
  * @internal
2977
3270
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
@@ -3011,16 +3304,24 @@ export const CreatePromptResponseFormat$inboundSchema: z.ZodType<
3011
3304
  z.ZodTypeDef,
3012
3305
  unknown
3013
3306
  > = z.union([
3014
- z.lazy(() => CreatePromptResponseFormat1$inboundSchema),
3015
- z.lazy(() => CreatePromptResponseFormat2$inboundSchema),
3016
- z.lazy(() => CreatePromptResponseFormat3$inboundSchema),
3307
+ z.union([
3308
+ z.lazy(() => CreatePrompt11$inboundSchema),
3309
+ z.lazy(() => CreatePrompt12$inboundSchema),
3310
+ z.lazy(() => CreatePrompt1Prompts3$inboundSchema),
3311
+ ]),
3312
+ CreatePromptResponseFormat2$inboundSchema,
3313
+ CreatePromptResponseFormat3$inboundSchema,
3314
+ CreatePromptResponseFormat4$inboundSchema,
3017
3315
  ]);
3018
3316
 
3019
3317
  /** @internal */
3020
3318
  export type CreatePromptResponseFormat$Outbound =
3021
- | CreatePromptResponseFormat1$Outbound
3022
- | CreatePromptResponseFormat2$Outbound
3023
- | CreatePromptResponseFormat3$Outbound;
3319
+ | CreatePrompt11$Outbound
3320
+ | CreatePrompt12$Outbound
3321
+ | CreatePrompt1Prompts3$Outbound
3322
+ | string
3323
+ | string
3324
+ | string;
3024
3325
 
3025
3326
  /** @internal */
3026
3327
  export const CreatePromptResponseFormat$outboundSchema: z.ZodType<
@@ -3028,9 +3329,14 @@ export const CreatePromptResponseFormat$outboundSchema: z.ZodType<
3028
3329
  z.ZodTypeDef,
3029
3330
  CreatePromptResponseFormat
3030
3331
  > = z.union([
3031
- z.lazy(() => CreatePromptResponseFormat1$outboundSchema),
3032
- z.lazy(() => CreatePromptResponseFormat2$outboundSchema),
3033
- z.lazy(() => CreatePromptResponseFormat3$outboundSchema),
3332
+ z.union([
3333
+ z.lazy(() => CreatePrompt11$outboundSchema),
3334
+ z.lazy(() => CreatePrompt12$outboundSchema),
3335
+ z.lazy(() => CreatePrompt1Prompts3$outboundSchema),
3336
+ ]),
3337
+ CreatePromptResponseFormat2$outboundSchema,
3338
+ CreatePromptResponseFormat3$outboundSchema,
3339
+ CreatePromptResponseFormat4$outboundSchema,
3034
3340
  ]);
3035
3341
 
3036
3342
  /**
@@ -3168,9 +3474,14 @@ export const CreatePromptModelParameters$inboundSchema: z.ZodType<
3168
3474
  style: z.string().optional(),
3169
3475
  responseFormat: z.nullable(
3170
3476
  z.union([
3171
- z.lazy(() => CreatePromptResponseFormat1$inboundSchema),
3172
- z.lazy(() => CreatePromptResponseFormat2$inboundSchema),
3173
- z.lazy(() => CreatePromptResponseFormat3$inboundSchema),
3477
+ z.union([
3478
+ z.lazy(() => CreatePrompt11$inboundSchema),
3479
+ z.lazy(() => CreatePrompt12$inboundSchema),
3480
+ z.lazy(() => CreatePrompt1Prompts3$inboundSchema),
3481
+ ]),
3482
+ CreatePromptResponseFormat2$inboundSchema,
3483
+ CreatePromptResponseFormat3$inboundSchema,
3484
+ CreatePromptResponseFormat4$inboundSchema,
3174
3485
  ]),
3175
3486
  ).optional(),
3176
3487
  photoRealVersion: CreatePromptPhotoRealVersion$inboundSchema.optional(),
@@ -3199,9 +3510,12 @@ export type CreatePromptModelParameters$Outbound = {
3199
3510
  quality?: string | undefined;
3200
3511
  style?: string | undefined;
3201
3512
  responseFormat?:
3202
- | CreatePromptResponseFormat1$Outbound
3203
- | CreatePromptResponseFormat2$Outbound
3204
- | CreatePromptResponseFormat3$Outbound
3513
+ | CreatePrompt11$Outbound
3514
+ | CreatePrompt12$Outbound
3515
+ | CreatePrompt1Prompts3$Outbound
3516
+ | string
3517
+ | string
3518
+ | string
3205
3519
  | null
3206
3520
  | undefined;
3207
3521
  photoRealVersion?: string | undefined;
@@ -3231,9 +3545,14 @@ export const CreatePromptModelParameters$outboundSchema: z.ZodType<
3231
3545
  style: z.string().optional(),
3232
3546
  responseFormat: z.nullable(
3233
3547
  z.union([
3234
- z.lazy(() => CreatePromptResponseFormat1$outboundSchema),
3235
- z.lazy(() => CreatePromptResponseFormat2$outboundSchema),
3236
- z.lazy(() => CreatePromptResponseFormat3$outboundSchema),
3548
+ z.union([
3549
+ z.lazy(() => CreatePrompt11$outboundSchema),
3550
+ z.lazy(() => CreatePrompt12$outboundSchema),
3551
+ z.lazy(() => CreatePrompt1Prompts3$outboundSchema),
3552
+ ]),
3553
+ CreatePromptResponseFormat2$outboundSchema,
3554
+ CreatePromptResponseFormat3$outboundSchema,
3555
+ CreatePromptResponseFormat4$outboundSchema,
3237
3556
  ]),
3238
3557
  ).optional(),
3239
3558
  photoRealVersion: CreatePromptPhotoRealVersion$outboundSchema.optional(),