@orq-ai/node 3.12.16 → 3.12.19

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