@orq-ai/node 3.1.3 → 3.1.4

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 (149) hide show
  1. package/README.md +8 -23
  2. package/docs/sdks/files/README.md +8 -8
  3. package/docs/sdks/{remoteconfig → remoteconfigs}/README.md +8 -8
  4. package/funcs/{filesUpload.d.ts → filesCreate.d.ts} +3 -3
  5. package/funcs/{filesUpload.d.ts.map → filesCreate.d.ts.map} +1 -1
  6. package/funcs/{filesUpload.js → filesCreate.js} +4 -4
  7. package/funcs/{filesUpload.js.map → filesCreate.js.map} +1 -1
  8. package/funcs/filesGet.d.ts +4 -1
  9. package/funcs/filesGet.d.ts.map +1 -1
  10. package/funcs/filesGet.js +4 -1
  11. package/funcs/filesGet.js.map +1 -1
  12. package/funcs/filesList.d.ts +3 -0
  13. package/funcs/filesList.d.ts.map +1 -1
  14. package/funcs/filesList.js +5 -3
  15. package/funcs/filesList.js.map +1 -1
  16. package/funcs/{remoteconfigGetConfig.d.ts → remoteconfigsRetrieve.d.ts} +3 -3
  17. package/funcs/{remoteconfigGetConfig.d.ts.map → remoteconfigsRetrieve.d.ts.map} +1 -1
  18. package/funcs/{remoteconfigGetConfig.js → remoteconfigsRetrieve.js} +4 -4
  19. package/funcs/{remoteconfigGetConfig.js.map → remoteconfigsRetrieve.js.map} +1 -1
  20. package/jsr.json +1 -1
  21. package/lib/config.d.ts +2 -2
  22. package/lib/config.js +2 -2
  23. package/models/errors/index.d.ts +0 -1
  24. package/models/errors/index.d.ts.map +1 -1
  25. package/models/errors/index.js +0 -1
  26. package/models/errors/index.js.map +1 -1
  27. package/models/operations/createcontact.js +2 -2
  28. package/models/operations/createprompt.d.ts +348 -348
  29. package/models/operations/createprompt.d.ts.map +1 -1
  30. package/models/operations/createprompt.js +486 -483
  31. package/models/operations/createprompt.js.map +1 -1
  32. package/models/operations/fileget.js +2 -2
  33. package/models/operations/filelist.d.ts +13 -6
  34. package/models/operations/filelist.d.ts.map +1 -1
  35. package/models/operations/filelist.js +18 -10
  36. package/models/operations/filelist.js.map +1 -1
  37. package/models/operations/fileupload.js +2 -2
  38. package/models/operations/index.d.ts +0 -6
  39. package/models/operations/index.d.ts.map +1 -1
  40. package/models/operations/index.js +0 -6
  41. package/models/operations/index.js.map +1 -1
  42. package/models/operations/updateprompt.d.ts +30 -30
  43. package/models/operations/updateprompt.d.ts.map +1 -1
  44. package/models/operations/updateprompt.js +38 -38
  45. package/models/operations/updateprompt.js.map +1 -1
  46. package/package.json +1 -1
  47. package/sdk/files.d.ts +9 -3
  48. package/sdk/files.d.ts.map +1 -1
  49. package/sdk/files.js +11 -5
  50. package/sdk/files.js.map +1 -1
  51. package/sdk/remoteconfigs.d.ts +9 -0
  52. package/sdk/remoteconfigs.d.ts.map +1 -0
  53. package/sdk/remoteconfigs.js +19 -0
  54. package/sdk/remoteconfigs.js.map +1 -0
  55. package/sdk/sdk.d.ts +3 -6
  56. package/sdk/sdk.d.ts.map +1 -1
  57. package/sdk/sdk.js +3 -7
  58. package/sdk/sdk.js.map +1 -1
  59. package/src/funcs/{filesUpload.ts → filesCreate.ts} +2 -2
  60. package/src/funcs/filesGet.ts +4 -1
  61. package/src/funcs/filesList.ts +5 -3
  62. package/src/funcs/{remoteconfigGetConfig.ts → remoteconfigsRetrieve.ts} +2 -2
  63. package/src/lib/config.ts +2 -2
  64. package/src/models/errors/index.ts +0 -1
  65. package/src/models/operations/createcontact.ts +2 -2
  66. package/src/models/operations/createprompt.ts +668 -770
  67. package/src/models/operations/fileget.ts +2 -2
  68. package/src/models/operations/filelist.ts +31 -16
  69. package/src/models/operations/fileupload.ts +2 -2
  70. package/src/models/operations/index.ts +0 -6
  71. package/src/models/operations/updateprompt.ts +64 -81
  72. package/src/sdk/files.ts +11 -5
  73. package/src/sdk/{remoteconfig.ts → remoteconfigs.ts} +5 -5
  74. package/src/sdk/sdk.ts +4 -10
  75. package/docs/sdks/promptsnippets/README.md +0 -488
  76. package/funcs/promptSnippetsCreate.d.ts +0 -12
  77. package/funcs/promptSnippetsCreate.d.ts.map +0 -1
  78. package/funcs/promptSnippetsCreate.js +0 -106
  79. package/funcs/promptSnippetsCreate.js.map +0 -1
  80. package/funcs/promptSnippetsDelete.d.ts +0 -12
  81. package/funcs/promptSnippetsDelete.d.ts.map +0 -1
  82. package/funcs/promptSnippetsDelete.js +0 -110
  83. package/funcs/promptSnippetsDelete.js.map +0 -1
  84. package/funcs/promptSnippetsGet.d.ts +0 -12
  85. package/funcs/promptSnippetsGet.d.ts.map +0 -1
  86. package/funcs/promptSnippetsGet.js +0 -109
  87. package/funcs/promptSnippetsGet.js.map +0 -1
  88. package/funcs/promptSnippetsGetByKey.d.ts +0 -12
  89. package/funcs/promptSnippetsGetByKey.d.ts.map +0 -1
  90. package/funcs/promptSnippetsGetByKey.js +0 -109
  91. package/funcs/promptSnippetsGetByKey.js.map +0 -1
  92. package/funcs/promptSnippetsList.d.ts +0 -12
  93. package/funcs/promptSnippetsList.d.ts.map +0 -1
  94. package/funcs/promptSnippetsList.js +0 -109
  95. package/funcs/promptSnippetsList.js.map +0 -1
  96. package/funcs/promptSnippetsUpdate.d.ts +0 -13
  97. package/funcs/promptSnippetsUpdate.d.ts.map +0 -1
  98. package/funcs/promptSnippetsUpdate.js +0 -114
  99. package/funcs/promptSnippetsUpdate.js.map +0 -1
  100. package/models/errors/updatepromptsnippet.d.ts +0 -36
  101. package/models/errors/updatepromptsnippet.d.ts.map +0 -1
  102. package/models/errors/updatepromptsnippet.js +0 -79
  103. package/models/errors/updatepromptsnippet.js.map +0 -1
  104. package/models/operations/createpromptsnippet.d.ts +0 -3567
  105. package/models/operations/createpromptsnippet.d.ts.map +0 -1
  106. package/models/operations/createpromptsnippet.js +0 -3056
  107. package/models/operations/createpromptsnippet.js.map +0 -1
  108. package/models/operations/deletepromptsnippet.d.ts +0 -32
  109. package/models/operations/deletepromptsnippet.d.ts.map +0 -1
  110. package/models/operations/deletepromptsnippet.js +0 -69
  111. package/models/operations/deletepromptsnippet.js.map +0 -1
  112. package/models/operations/findonebykeypromptsnippet.d.ts +0 -2448
  113. package/models/operations/findonebykeypromptsnippet.d.ts.map +0 -1
  114. package/models/operations/findonebykeypromptsnippet.js +0 -2133
  115. package/models/operations/findonebykeypromptsnippet.js.map +0 -1
  116. package/models/operations/findonepromptsnippet.d.ts +0 -2448
  117. package/models/operations/findonepromptsnippet.d.ts.map +0 -1
  118. package/models/operations/findonepromptsnippet.js +0 -2124
  119. package/models/operations/findonepromptsnippet.js.map +0 -1
  120. package/models/operations/getallpromptsnippets.d.ts +0 -2512
  121. package/models/operations/getallpromptsnippets.d.ts.map +0 -1
  122. package/models/operations/getallpromptsnippets.js +0 -2195
  123. package/models/operations/getallpromptsnippets.js.map +0 -1
  124. package/models/operations/updatepromptsnippet.d.ts +0 -3595
  125. package/models/operations/updatepromptsnippet.d.ts.map +0 -1
  126. package/models/operations/updatepromptsnippet.js +0 -3116
  127. package/models/operations/updatepromptsnippet.js.map +0 -1
  128. package/sdk/promptsnippets.d.ts +0 -29
  129. package/sdk/promptsnippets.d.ts.map +0 -1
  130. package/sdk/promptsnippets.js +0 -54
  131. package/sdk/promptsnippets.js.map +0 -1
  132. package/sdk/remoteconfig.d.ts +0 -9
  133. package/sdk/remoteconfig.d.ts.map +0 -1
  134. package/sdk/remoteconfig.js +0 -19
  135. package/sdk/remoteconfig.js.map +0 -1
  136. package/src/funcs/promptSnippetsCreate.ts +0 -128
  137. package/src/funcs/promptSnippetsDelete.ts +0 -131
  138. package/src/funcs/promptSnippetsGet.ts +0 -130
  139. package/src/funcs/promptSnippetsGetByKey.ts +0 -132
  140. package/src/funcs/promptSnippetsList.ts +0 -132
  141. package/src/funcs/promptSnippetsUpdate.ts +0 -139
  142. package/src/models/errors/updatepromptsnippet.ts +0 -71
  143. package/src/models/operations/createpromptsnippet.ts +0 -6239
  144. package/src/models/operations/deletepromptsnippet.ts +0 -69
  145. package/src/models/operations/findonebykeypromptsnippet.ts +0 -4483
  146. package/src/models/operations/findonepromptsnippet.ts +0 -4343
  147. package/src/models/operations/getallpromptsnippets.ts +0 -4472
  148. package/src/models/operations/updatepromptsnippet.ts +0 -6544
  149. package/src/sdk/promptsnippets.ts +0 -99
@@ -1,3567 +0,0 @@
1
- import * as z from "zod";
2
- import { ClosedEnum } from "../../types/enums.js";
3
- import { Result as SafeParseResult } from "../../types/fp.js";
4
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
- /**
6
- * The type of the model
7
- */
8
- export declare const ModelType: {
9
- readonly Chat: "chat";
10
- readonly Completion: "completion";
11
- readonly Embedding: "embedding";
12
- readonly Vision: "vision";
13
- readonly Image: "image";
14
- readonly Tts: "tts";
15
- readonly Stt: "stt";
16
- readonly Rerank: "rerank";
17
- readonly Moderations: "moderations";
18
- };
19
- /**
20
- * The type of the model
21
- */
22
- export type ModelType = ClosedEnum<typeof ModelType>;
23
- /**
24
- * Only supported on `image` models.
25
- */
26
- export declare const Format: {
27
- readonly Url: "url";
28
- readonly B64Json: "b64_json";
29
- readonly Text: "text";
30
- readonly JsonObject: "json_object";
31
- };
32
- /**
33
- * Only supported on `image` models.
34
- */
35
- export type Format = ClosedEnum<typeof Format>;
36
- /**
37
- * Only supported on `image` models.
38
- */
39
- export declare const Quality: {
40
- readonly Standard: "standard";
41
- readonly Hd: "hd";
42
- };
43
- /**
44
- * Only supported on `image` models.
45
- */
46
- export type Quality = ClosedEnum<typeof Quality>;
47
- export declare const CreatePromptSnippetResponseFormatType: {
48
- readonly JsonObject: "json_object";
49
- };
50
- export type CreatePromptSnippetResponseFormatType = ClosedEnum<typeof CreatePromptSnippetResponseFormatType>;
51
- export type ResponseFormat2 = {
52
- type: CreatePromptSnippetResponseFormatType;
53
- };
54
- export declare const ResponseFormatType: {
55
- readonly JsonSchema: "json_schema";
56
- };
57
- export type ResponseFormatType = ClosedEnum<typeof ResponseFormatType>;
58
- export type JsonSchema = {
59
- name: string;
60
- strict: boolean;
61
- schema: {
62
- [k: string]: any;
63
- };
64
- };
65
- export type ResponseFormat1 = {
66
- type: ResponseFormatType;
67
- jsonSchema: JsonSchema;
68
- };
69
- /**
70
- * An object specifying the format that the model must output.
71
- *
72
- * @remarks
73
- *
74
- * Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema
75
- *
76
- * Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
77
- *
78
- * 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.
79
- */
80
- export type ResponseFormat = ResponseFormat2 | ResponseFormat1;
81
- /**
82
- * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
83
- */
84
- export declare const PhotoRealVersion: {
85
- readonly V1: "v1";
86
- readonly V2: "v2";
87
- };
88
- /**
89
- * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
90
- */
91
- export type PhotoRealVersion = ClosedEnum<typeof PhotoRealVersion>;
92
- /**
93
- * The format to return the embeddings
94
- */
95
- export declare const EncodingFormat: {
96
- readonly Float: "float";
97
- readonly Base64: "base64";
98
- };
99
- /**
100
- * The format to return the embeddings
101
- */
102
- export type EncodingFormat = ClosedEnum<typeof EncodingFormat>;
103
- /**
104
- * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
105
- */
106
- export declare const ReasoningEffort: {
107
- readonly Low: "low";
108
- readonly Medium: "medium";
109
- readonly High: "high";
110
- };
111
- /**
112
- * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
113
- */
114
- export type ReasoningEffort = ClosedEnum<typeof ReasoningEffort>;
115
- /**
116
- * Model Parameters: Not all parameters apply to every model
117
- */
118
- export type ModelParameters = {
119
- /**
120
- * Only supported on `chat` and `completion` models.
121
- */
122
- temperature?: number | undefined;
123
- /**
124
- * Only supported on `chat` and `completion` models.
125
- */
126
- maxTokens?: number | undefined;
127
- /**
128
- * Only supported on `chat` and `completion` models.
129
- */
130
- topK?: number | undefined;
131
- /**
132
- * Only supported on `chat` and `completion` models.
133
- */
134
- topP?: number | undefined;
135
- /**
136
- * Only supported on `chat` and `completion` models.
137
- */
138
- frequencyPenalty?: number | undefined;
139
- /**
140
- * Only supported on `chat` and `completion` models.
141
- */
142
- presencePenalty?: number | undefined;
143
- /**
144
- * Only supported on `image` models.
145
- */
146
- numImages?: number | undefined;
147
- /**
148
- * Best effort deterministic seed for the model. Currently only OpenAI models support these
149
- */
150
- seed?: number | undefined;
151
- /**
152
- * Only supported on `image` models.
153
- */
154
- format?: Format | undefined;
155
- /**
156
- * Only supported on `image` models.
157
- */
158
- dimensions?: string | undefined;
159
- /**
160
- * Only supported on `image` models.
161
- */
162
- quality?: Quality | undefined;
163
- /**
164
- * Only supported on `image` models.
165
- */
166
- style?: string | undefined;
167
- /**
168
- * An object specifying the format that the model must output.
169
- *
170
- * @remarks
171
- *
172
- * Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema
173
- *
174
- * Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
175
- *
176
- * 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.
177
- */
178
- responseFormat?: ResponseFormat2 | ResponseFormat1 | null | undefined;
179
- /**
180
- * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
181
- */
182
- photoRealVersion?: PhotoRealVersion | undefined;
183
- /**
184
- * The format to return the embeddings
185
- */
186
- encodingFormat?: EncodingFormat | undefined;
187
- /**
188
- * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
189
- */
190
- reasoningEffort?: ReasoningEffort | undefined;
191
- };
192
- export declare const Provider: {
193
- readonly Cohere: "cohere";
194
- readonly Openai: "openai";
195
- readonly Anthropic: "anthropic";
196
- readonly Huggingface: "huggingface";
197
- readonly Replicate: "replicate";
198
- readonly Google: "google";
199
- readonly GoogleAi: "google-ai";
200
- readonly Azure: "azure";
201
- readonly Aws: "aws";
202
- readonly Anyscale: "anyscale";
203
- readonly Perplexity: "perplexity";
204
- readonly Groq: "groq";
205
- readonly Fal: "fal";
206
- readonly Leonardoai: "leonardoai";
207
- readonly Nvidia: "nvidia";
208
- readonly Jina: "jina";
209
- readonly Togetherai: "togetherai";
210
- readonly Elevenlabs: "elevenlabs";
211
- };
212
- export type Provider = ClosedEnum<typeof Provider>;
213
- /**
214
- * The role of the prompt message
215
- */
216
- export declare const CreatePromptSnippetRole: {
217
- readonly System: "system";
218
- readonly Assistant: "assistant";
219
- readonly User: "user";
220
- readonly Exception: "exception";
221
- readonly Tool: "tool";
222
- readonly Prompt: "prompt";
223
- readonly Correction: "correction";
224
- readonly ExpectedOutput: "expected_output";
225
- };
226
- /**
227
- * The role of the prompt message
228
- */
229
- export type CreatePromptSnippetRole = ClosedEnum<typeof CreatePromptSnippetRole>;
230
- export declare const CreatePromptSnippet2PromptSnippetsType: {
231
- readonly ImageUrl: "image_url";
232
- };
233
- export type CreatePromptSnippet2PromptSnippetsType = ClosedEnum<typeof CreatePromptSnippet2PromptSnippetsType>;
234
- export type CreatePromptSnippet2ImageUrl = {
235
- /**
236
- * Either a URL of the image or the base64 encoded data URI.
237
- */
238
- url: string;
239
- /**
240
- * Specifies the detail level of the image. Currently only supported with OpenAI models
241
- */
242
- detail?: string | undefined;
243
- };
244
- /**
245
- * The image part of the prompt message. Only supported with vision models.
246
- */
247
- export type CreatePromptSnippet22 = {
248
- type: CreatePromptSnippet2PromptSnippetsType;
249
- imageUrl: CreatePromptSnippet2ImageUrl;
250
- };
251
- export declare const CreatePromptSnippet2Type: {
252
- readonly Text: "text";
253
- };
254
- export type CreatePromptSnippet2Type = ClosedEnum<typeof CreatePromptSnippet2Type>;
255
- /**
256
- * Text content part of a prompt message
257
- */
258
- export type CreatePromptSnippet21 = {
259
- type: CreatePromptSnippet2Type;
260
- text: string;
261
- };
262
- export type CreatePromptSnippetContent2 = CreatePromptSnippet21 | CreatePromptSnippet22;
263
- /**
264
- * The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts.
265
- */
266
- export type CreatePromptSnippetContent = string | Array<CreatePromptSnippet21 | CreatePromptSnippet22>;
267
- export declare const CreatePromptSnippetType: {
268
- readonly Function: "function";
269
- };
270
- export type CreatePromptSnippetType = ClosedEnum<typeof CreatePromptSnippetType>;
271
- export type CreatePromptSnippetFunction = {
272
- name: string;
273
- /**
274
- * JSON string arguments for the functions
275
- */
276
- arguments: string;
277
- };
278
- export type CreatePromptSnippetToolCalls = {
279
- id?: string | undefined;
280
- index?: number | undefined;
281
- type: CreatePromptSnippetType;
282
- function: CreatePromptSnippetFunction;
283
- };
284
- export type CreatePromptSnippetMessages = {
285
- /**
286
- * The role of the prompt message
287
- */
288
- role: CreatePromptSnippetRole;
289
- /**
290
- * The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts.
291
- */
292
- content: string | Array<CreatePromptSnippet21 | CreatePromptSnippet22>;
293
- toolCalls?: Array<CreatePromptSnippetToolCalls> | undefined;
294
- };
295
- /**
296
- * A list of messages compatible with the openAI schema
297
- */
298
- export type PromptConfig = {
299
- stream?: boolean | undefined;
300
- model?: string | undefined;
301
- /**
302
- * The type of the model
303
- */
304
- modelType?: ModelType | undefined;
305
- /**
306
- * Model Parameters: Not all parameters apply to every model
307
- */
308
- modelParameters?: ModelParameters | undefined;
309
- provider?: Provider | undefined;
310
- version?: string | undefined;
311
- messages: Array<CreatePromptSnippetMessages>;
312
- };
313
- export declare const UseCases: {
314
- readonly Agents: "Agents";
315
- readonly AgentsSimulations: "Agents simulations";
316
- readonly APIInteraction: "API interaction";
317
- readonly AutonomousAgents: "Autonomous Agents";
318
- readonly Chatbots: "Chatbots";
319
- readonly Classification: "Classification";
320
- readonly CodeUnderstanding: "Code understanding";
321
- readonly CodeWriting: "Code writing";
322
- readonly DocumentsQA: "Documents QA";
323
- readonly Conversation: "Conversation";
324
- readonly Extraction: "Extraction";
325
- readonly MultiModal: "Multi-modal";
326
- readonly SelfChecking: "Self-checking";
327
- readonly Sql: "SQL";
328
- readonly Summarization: "Summarization";
329
- readonly Tagging: "Tagging";
330
- };
331
- export type UseCases = ClosedEnum<typeof UseCases>;
332
- /**
333
- * The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
334
- */
335
- export declare const Language: {
336
- readonly Chinese: "Chinese";
337
- readonly Dutch: "Dutch";
338
- readonly English: "English";
339
- readonly French: "French";
340
- readonly German: "German";
341
- readonly Russian: "Russian";
342
- readonly Spanish: "Spanish";
343
- };
344
- /**
345
- * The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
346
- */
347
- export type Language = ClosedEnum<typeof Language>;
348
- export type CreatePromptSnippetMetadata = {
349
- /**
350
- * A list of use cases that the prompt is meant to be used for. Use this field to categorize the prompt for your own purpose
351
- */
352
- useCases?: Array<UseCases> | undefined;
353
- /**
354
- * The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
355
- */
356
- language?: Language | undefined;
357
- };
358
- export type CreatePromptSnippetRequestBody = {
359
- key: string;
360
- /**
361
- * The prompt snippet’s description, meant to be displayable in the UI. Use this field to optionally store a long form explanation of the prompt for your own purpose
362
- */
363
- description?: string | null | undefined;
364
- /**
365
- * A list of messages compatible with the openAI schema
366
- */
367
- promptConfig: PromptConfig;
368
- metadata?: CreatePromptSnippetMetadata | undefined;
369
- /**
370
- * The path where the entity is stored in the project structure. The first element of the path always represents the project name. Any subsequent path element after the project will be created as a folder in the project if it does not exists.
371
- */
372
- path: string;
373
- };
374
- export declare const Owner2: {
375
- readonly Vendor: "vendor";
376
- };
377
- export type Owner2 = ClosedEnum<typeof Owner2>;
378
- export type Owner = string | Owner2;
379
- /**
380
- * The type of the model
381
- */
382
- export declare const CreatePromptSnippetModelType: {
383
- readonly Chat: "chat";
384
- readonly Completion: "completion";
385
- readonly Embedding: "embedding";
386
- readonly Vision: "vision";
387
- readonly Image: "image";
388
- readonly Tts: "tts";
389
- readonly Stt: "stt";
390
- readonly Rerank: "rerank";
391
- readonly Moderations: "moderations";
392
- };
393
- /**
394
- * The type of the model
395
- */
396
- export type CreatePromptSnippetModelType = ClosedEnum<typeof CreatePromptSnippetModelType>;
397
- /**
398
- * Only supported on `image` models.
399
- */
400
- export declare const CreatePromptSnippetFormat: {
401
- readonly Url: "url";
402
- readonly B64Json: "b64_json";
403
- readonly Text: "text";
404
- readonly JsonObject: "json_object";
405
- };
406
- /**
407
- * Only supported on `image` models.
408
- */
409
- export type CreatePromptSnippetFormat = ClosedEnum<typeof CreatePromptSnippetFormat>;
410
- /**
411
- * Only supported on `image` models.
412
- */
413
- export declare const CreatePromptSnippetQuality: {
414
- readonly Standard: "standard";
415
- readonly Hd: "hd";
416
- };
417
- /**
418
- * Only supported on `image` models.
419
- */
420
- export type CreatePromptSnippetQuality = ClosedEnum<typeof CreatePromptSnippetQuality>;
421
- export declare const CreatePromptSnippetResponseFormatPromptSnippetsResponseType: {
422
- readonly JsonObject: "json_object";
423
- };
424
- export type CreatePromptSnippetResponseFormatPromptSnippetsResponseType = ClosedEnum<typeof CreatePromptSnippetResponseFormatPromptSnippetsResponseType>;
425
- export type CreatePromptSnippetResponseFormat2 = {
426
- type: CreatePromptSnippetResponseFormatPromptSnippetsResponseType;
427
- };
428
- export declare const CreatePromptSnippetResponseFormatPromptSnippetsType: {
429
- readonly JsonSchema: "json_schema";
430
- };
431
- export type CreatePromptSnippetResponseFormatPromptSnippetsType = ClosedEnum<typeof CreatePromptSnippetResponseFormatPromptSnippetsType>;
432
- export type CreatePromptSnippetResponseFormatJsonSchema = {
433
- name: string;
434
- strict: boolean;
435
- schema: {
436
- [k: string]: any;
437
- };
438
- };
439
- export type CreatePromptSnippetResponseFormat1 = {
440
- type: CreatePromptSnippetResponseFormatPromptSnippetsType;
441
- jsonSchema: CreatePromptSnippetResponseFormatJsonSchema;
442
- };
443
- /**
444
- * An object specifying the format that the model must output.
445
- *
446
- * @remarks
447
- *
448
- * Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema
449
- *
450
- * Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
451
- *
452
- * 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.
453
- */
454
- export type CreatePromptSnippetResponseFormat = CreatePromptSnippetResponseFormat2 | CreatePromptSnippetResponseFormat1;
455
- /**
456
- * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
457
- */
458
- export declare const CreatePromptSnippetPhotoRealVersion: {
459
- readonly V1: "v1";
460
- readonly V2: "v2";
461
- };
462
- /**
463
- * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
464
- */
465
- export type CreatePromptSnippetPhotoRealVersion = ClosedEnum<typeof CreatePromptSnippetPhotoRealVersion>;
466
- /**
467
- * The format to return the embeddings
468
- */
469
- export declare const CreatePromptSnippetEncodingFormat: {
470
- readonly Float: "float";
471
- readonly Base64: "base64";
472
- };
473
- /**
474
- * The format to return the embeddings
475
- */
476
- export type CreatePromptSnippetEncodingFormat = ClosedEnum<typeof CreatePromptSnippetEncodingFormat>;
477
- /**
478
- * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
479
- */
480
- export declare const CreatePromptSnippetReasoningEffort: {
481
- readonly Low: "low";
482
- readonly Medium: "medium";
483
- readonly High: "high";
484
- };
485
- /**
486
- * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
487
- */
488
- export type CreatePromptSnippetReasoningEffort = ClosedEnum<typeof CreatePromptSnippetReasoningEffort>;
489
- /**
490
- * Model Parameters: Not all parameters apply to every model
491
- */
492
- export type CreatePromptSnippetModelParameters = {
493
- /**
494
- * Only supported on `chat` and `completion` models.
495
- */
496
- temperature?: number | undefined;
497
- /**
498
- * Only supported on `chat` and `completion` models.
499
- */
500
- maxTokens?: number | undefined;
501
- /**
502
- * Only supported on `chat` and `completion` models.
503
- */
504
- topK?: number | undefined;
505
- /**
506
- * Only supported on `chat` and `completion` models.
507
- */
508
- topP?: number | undefined;
509
- /**
510
- * Only supported on `chat` and `completion` models.
511
- */
512
- frequencyPenalty?: number | undefined;
513
- /**
514
- * Only supported on `chat` and `completion` models.
515
- */
516
- presencePenalty?: number | undefined;
517
- /**
518
- * Only supported on `image` models.
519
- */
520
- numImages?: number | undefined;
521
- /**
522
- * Best effort deterministic seed for the model. Currently only OpenAI models support these
523
- */
524
- seed?: number | undefined;
525
- /**
526
- * Only supported on `image` models.
527
- */
528
- format?: CreatePromptSnippetFormat | undefined;
529
- /**
530
- * Only supported on `image` models.
531
- */
532
- dimensions?: string | undefined;
533
- /**
534
- * Only supported on `image` models.
535
- */
536
- quality?: CreatePromptSnippetQuality | undefined;
537
- /**
538
- * Only supported on `image` models.
539
- */
540
- style?: string | undefined;
541
- /**
542
- * An object specifying the format that the model must output.
543
- *
544
- * @remarks
545
- *
546
- * Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema
547
- *
548
- * Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
549
- *
550
- * 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.
551
- */
552
- responseFormat?: CreatePromptSnippetResponseFormat2 | CreatePromptSnippetResponseFormat1 | null | undefined;
553
- /**
554
- * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
555
- */
556
- photoRealVersion?: CreatePromptSnippetPhotoRealVersion | undefined;
557
- /**
558
- * The format to return the embeddings
559
- */
560
- encodingFormat?: CreatePromptSnippetEncodingFormat | undefined;
561
- /**
562
- * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
563
- */
564
- reasoningEffort?: CreatePromptSnippetReasoningEffort | undefined;
565
- };
566
- export declare const CreatePromptSnippetProvider: {
567
- readonly Cohere: "cohere";
568
- readonly Openai: "openai";
569
- readonly Anthropic: "anthropic";
570
- readonly Huggingface: "huggingface";
571
- readonly Replicate: "replicate";
572
- readonly Google: "google";
573
- readonly GoogleAi: "google-ai";
574
- readonly Azure: "azure";
575
- readonly Aws: "aws";
576
- readonly Anyscale: "anyscale";
577
- readonly Perplexity: "perplexity";
578
- readonly Groq: "groq";
579
- readonly Fal: "fal";
580
- readonly Leonardoai: "leonardoai";
581
- readonly Nvidia: "nvidia";
582
- readonly Jina: "jina";
583
- readonly Togetherai: "togetherai";
584
- readonly Elevenlabs: "elevenlabs";
585
- };
586
- export type CreatePromptSnippetProvider = ClosedEnum<typeof CreatePromptSnippetProvider>;
587
- /**
588
- * The role of the prompt message
589
- */
590
- export declare const CreatePromptSnippetPromptSnippetsRole: {
591
- readonly System: "system";
592
- readonly Assistant: "assistant";
593
- readonly User: "user";
594
- readonly Exception: "exception";
595
- readonly Tool: "tool";
596
- readonly Prompt: "prompt";
597
- readonly Correction: "correction";
598
- readonly ExpectedOutput: "expected_output";
599
- };
600
- /**
601
- * The role of the prompt message
602
- */
603
- export type CreatePromptSnippetPromptSnippetsRole = ClosedEnum<typeof CreatePromptSnippetPromptSnippetsRole>;
604
- export declare const CreatePromptSnippet2PromptSnippetsResponse200Type: {
605
- readonly ImageUrl: "image_url";
606
- };
607
- export type CreatePromptSnippet2PromptSnippetsResponse200Type = ClosedEnum<typeof CreatePromptSnippet2PromptSnippetsResponse200Type>;
608
- export type CreatePromptSnippet2PromptSnippetsImageUrl = {
609
- /**
610
- * The orq.ai id of the image
611
- */
612
- id?: string | undefined;
613
- /**
614
- * Either a URL of the image or the base64 encoded data URI.
615
- */
616
- url: string;
617
- /**
618
- * Specifies the detail level of the image. Currently only supported with OpenAI models
619
- */
620
- detail?: string | undefined;
621
- };
622
- /**
623
- * The image part of the prompt message. Only supported with vision models.
624
- */
625
- export type CreatePromptSnippet2PromptSnippets2 = {
626
- type: CreatePromptSnippet2PromptSnippetsResponse200Type;
627
- imageUrl: CreatePromptSnippet2PromptSnippetsImageUrl;
628
- };
629
- export declare const CreatePromptSnippet2PromptSnippetsResponseType: {
630
- readonly Text: "text";
631
- };
632
- export type CreatePromptSnippet2PromptSnippetsResponseType = ClosedEnum<typeof CreatePromptSnippet2PromptSnippetsResponseType>;
633
- /**
634
- * Text content part of a prompt message
635
- */
636
- export type CreatePromptSnippet2PromptSnippets1 = {
637
- type: CreatePromptSnippet2PromptSnippetsResponseType;
638
- text: string;
639
- };
640
- export type CreatePromptSnippetContentPromptSnippets2 = CreatePromptSnippet2PromptSnippets1 | CreatePromptSnippet2PromptSnippets2;
641
- /**
642
- * The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts.
643
- */
644
- export type CreatePromptSnippetPromptSnippetsContent = string | Array<CreatePromptSnippet2PromptSnippets1 | CreatePromptSnippet2PromptSnippets2>;
645
- export declare const CreatePromptSnippetPromptSnippetsResponseType: {
646
- readonly Function: "function";
647
- };
648
- export type CreatePromptSnippetPromptSnippetsResponseType = ClosedEnum<typeof CreatePromptSnippetPromptSnippetsResponseType>;
649
- export type CreatePromptSnippetPromptSnippetsFunction = {
650
- name: string;
651
- /**
652
- * JSON string arguments for the functions
653
- */
654
- arguments: string;
655
- };
656
- export type CreatePromptSnippetPromptSnippetsToolCalls = {
657
- id?: string | undefined;
658
- index?: number | undefined;
659
- type: CreatePromptSnippetPromptSnippetsResponseType;
660
- function: CreatePromptSnippetPromptSnippetsFunction;
661
- };
662
- export type CreatePromptSnippetPromptSnippetsMessages = {
663
- /**
664
- * The role of the prompt message
665
- */
666
- role: CreatePromptSnippetPromptSnippetsRole;
667
- /**
668
- * The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts.
669
- */
670
- content: string | Array<CreatePromptSnippet2PromptSnippets1 | CreatePromptSnippet2PromptSnippets2>;
671
- toolCalls?: Array<CreatePromptSnippetPromptSnippetsToolCalls> | undefined;
672
- };
673
- /**
674
- * A list of messages compatible with the openAI schema
675
- */
676
- export type CreatePromptSnippetPromptConfig = {
677
- stream?: boolean | undefined;
678
- model?: string | undefined;
679
- /**
680
- * The id of the resource
681
- */
682
- modelDbId?: string | undefined;
683
- /**
684
- * The type of the model
685
- */
686
- modelType?: CreatePromptSnippetModelType | undefined;
687
- /**
688
- * Model Parameters: Not all parameters apply to every model
689
- */
690
- modelParameters?: CreatePromptSnippetModelParameters | undefined;
691
- provider?: CreatePromptSnippetProvider | undefined;
692
- /**
693
- * The id of the resource
694
- */
695
- integrationId?: string | null | undefined;
696
- version?: string | undefined;
697
- messages: Array<CreatePromptSnippetPromptSnippetsMessages>;
698
- };
699
- export declare const CreatePromptSnippetUseCases: {
700
- readonly Agents: "Agents";
701
- readonly AgentsSimulations: "Agents simulations";
702
- readonly APIInteraction: "API interaction";
703
- readonly AutonomousAgents: "Autonomous Agents";
704
- readonly Chatbots: "Chatbots";
705
- readonly Classification: "Classification";
706
- readonly CodeUnderstanding: "Code understanding";
707
- readonly CodeWriting: "Code writing";
708
- readonly DocumentsQA: "Documents QA";
709
- readonly Conversation: "Conversation";
710
- readonly Extraction: "Extraction";
711
- readonly MultiModal: "Multi-modal";
712
- readonly SelfChecking: "Self-checking";
713
- readonly Sql: "SQL";
714
- readonly Summarization: "Summarization";
715
- readonly Tagging: "Tagging";
716
- };
717
- export type CreatePromptSnippetUseCases = ClosedEnum<typeof CreatePromptSnippetUseCases>;
718
- /**
719
- * The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
720
- */
721
- export declare const CreatePromptSnippetLanguage: {
722
- readonly Chinese: "Chinese";
723
- readonly Dutch: "Dutch";
724
- readonly English: "English";
725
- readonly French: "French";
726
- readonly German: "German";
727
- readonly Russian: "Russian";
728
- readonly Spanish: "Spanish";
729
- };
730
- /**
731
- * The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
732
- */
733
- export type CreatePromptSnippetLanguage = ClosedEnum<typeof CreatePromptSnippetLanguage>;
734
- export type CreatePromptSnippetPromptSnippetsMetadata = {
735
- /**
736
- * A list of use cases that the prompt is meant to be used for. Use this field to categorize the prompt for your own purpose
737
- */
738
- useCases?: Array<CreatePromptSnippetUseCases> | undefined;
739
- /**
740
- * The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
741
- */
742
- language?: CreatePromptSnippetLanguage | undefined;
743
- };
744
- export declare const CreatePromptSnippetPromptSnippetsType: {
745
- readonly Snippet: "snippet";
746
- };
747
- export type CreatePromptSnippetPromptSnippetsType = ClosedEnum<typeof CreatePromptSnippetPromptSnippetsType>;
748
- /**
749
- * The type of the model
750
- */
751
- export declare const CreatePromptSnippetPromptSnippetsModelType: {
752
- readonly Chat: "chat";
753
- readonly Completion: "completion";
754
- readonly Embedding: "embedding";
755
- readonly Vision: "vision";
756
- readonly Image: "image";
757
- readonly Tts: "tts";
758
- readonly Stt: "stt";
759
- readonly Rerank: "rerank";
760
- readonly Moderations: "moderations";
761
- };
762
- /**
763
- * The type of the model
764
- */
765
- export type CreatePromptSnippetPromptSnippetsModelType = ClosedEnum<typeof CreatePromptSnippetPromptSnippetsModelType>;
766
- /**
767
- * Only supported on `image` models.
768
- */
769
- export declare const CreatePromptSnippetPromptSnippetsFormat: {
770
- readonly Url: "url";
771
- readonly B64Json: "b64_json";
772
- readonly Text: "text";
773
- readonly JsonObject: "json_object";
774
- };
775
- /**
776
- * Only supported on `image` models.
777
- */
778
- export type CreatePromptSnippetPromptSnippetsFormat = ClosedEnum<typeof CreatePromptSnippetPromptSnippetsFormat>;
779
- /**
780
- * Only supported on `image` models.
781
- */
782
- export declare const CreatePromptSnippetPromptSnippetsQuality: {
783
- readonly Standard: "standard";
784
- readonly Hd: "hd";
785
- };
786
- /**
787
- * Only supported on `image` models.
788
- */
789
- export type CreatePromptSnippetPromptSnippetsQuality = ClosedEnum<typeof CreatePromptSnippetPromptSnippetsQuality>;
790
- export declare const CreatePromptSnippetResponseFormatPromptSnippetsResponse200ApplicationJSONType: {
791
- readonly JsonObject: "json_object";
792
- };
793
- export type CreatePromptSnippetResponseFormatPromptSnippetsResponse200ApplicationJSONType = ClosedEnum<typeof CreatePromptSnippetResponseFormatPromptSnippetsResponse200ApplicationJSONType>;
794
- export type CreatePromptSnippetResponseFormatPromptSnippets2 = {
795
- type: CreatePromptSnippetResponseFormatPromptSnippetsResponse200ApplicationJSONType;
796
- };
797
- export declare const CreatePromptSnippetResponseFormatPromptSnippetsResponse200Type: {
798
- readonly JsonSchema: "json_schema";
799
- };
800
- export type CreatePromptSnippetResponseFormatPromptSnippetsResponse200Type = ClosedEnum<typeof CreatePromptSnippetResponseFormatPromptSnippetsResponse200Type>;
801
- export type CreatePromptSnippetResponseFormatPromptSnippetsJsonSchema = {
802
- name: string;
803
- strict: boolean;
804
- schema: {
805
- [k: string]: any;
806
- };
807
- };
808
- export type CreatePromptSnippetResponseFormatPromptSnippets1 = {
809
- type: CreatePromptSnippetResponseFormatPromptSnippetsResponse200Type;
810
- jsonSchema: CreatePromptSnippetResponseFormatPromptSnippetsJsonSchema;
811
- };
812
- /**
813
- * An object specifying the format that the model must output.
814
- *
815
- * @remarks
816
- *
817
- * Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema
818
- *
819
- * Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
820
- *
821
- * 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.
822
- */
823
- export type CreatePromptSnippetPromptSnippetsResponseFormat = CreatePromptSnippetResponseFormatPromptSnippets2 | CreatePromptSnippetResponseFormatPromptSnippets1;
824
- /**
825
- * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
826
- */
827
- export declare const CreatePromptSnippetPromptSnippetsPhotoRealVersion: {
828
- readonly V1: "v1";
829
- readonly V2: "v2";
830
- };
831
- /**
832
- * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
833
- */
834
- export type CreatePromptSnippetPromptSnippetsPhotoRealVersion = ClosedEnum<typeof CreatePromptSnippetPromptSnippetsPhotoRealVersion>;
835
- /**
836
- * The format to return the embeddings
837
- */
838
- export declare const CreatePromptSnippetPromptSnippetsEncodingFormat: {
839
- readonly Float: "float";
840
- readonly Base64: "base64";
841
- };
842
- /**
843
- * The format to return the embeddings
844
- */
845
- export type CreatePromptSnippetPromptSnippetsEncodingFormat = ClosedEnum<typeof CreatePromptSnippetPromptSnippetsEncodingFormat>;
846
- /**
847
- * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
848
- */
849
- export declare const CreatePromptSnippetPromptSnippetsReasoningEffort: {
850
- readonly Low: "low";
851
- readonly Medium: "medium";
852
- readonly High: "high";
853
- };
854
- /**
855
- * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
856
- */
857
- export type CreatePromptSnippetPromptSnippetsReasoningEffort = ClosedEnum<typeof CreatePromptSnippetPromptSnippetsReasoningEffort>;
858
- /**
859
- * Model Parameters: Not all parameters apply to every model
860
- */
861
- export type CreatePromptSnippetPromptSnippetsModelParameters = {
862
- /**
863
- * Only supported on `chat` and `completion` models.
864
- */
865
- temperature?: number | undefined;
866
- /**
867
- * Only supported on `chat` and `completion` models.
868
- */
869
- maxTokens?: number | undefined;
870
- /**
871
- * Only supported on `chat` and `completion` models.
872
- */
873
- topK?: number | undefined;
874
- /**
875
- * Only supported on `chat` and `completion` models.
876
- */
877
- topP?: number | undefined;
878
- /**
879
- * Only supported on `chat` and `completion` models.
880
- */
881
- frequencyPenalty?: number | undefined;
882
- /**
883
- * Only supported on `chat` and `completion` models.
884
- */
885
- presencePenalty?: number | undefined;
886
- /**
887
- * Only supported on `image` models.
888
- */
889
- numImages?: number | undefined;
890
- /**
891
- * Best effort deterministic seed for the model. Currently only OpenAI models support these
892
- */
893
- seed?: number | undefined;
894
- /**
895
- * Only supported on `image` models.
896
- */
897
- format?: CreatePromptSnippetPromptSnippetsFormat | undefined;
898
- /**
899
- * Only supported on `image` models.
900
- */
901
- dimensions?: string | undefined;
902
- /**
903
- * Only supported on `image` models.
904
- */
905
- quality?: CreatePromptSnippetPromptSnippetsQuality | undefined;
906
- /**
907
- * Only supported on `image` models.
908
- */
909
- style?: string | undefined;
910
- /**
911
- * An object specifying the format that the model must output.
912
- *
913
- * @remarks
914
- *
915
- * Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema
916
- *
917
- * Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
918
- *
919
- * 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.
920
- */
921
- responseFormat?: CreatePromptSnippetResponseFormatPromptSnippets2 | CreatePromptSnippetResponseFormatPromptSnippets1 | null | undefined;
922
- /**
923
- * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
924
- */
925
- photoRealVersion?: CreatePromptSnippetPromptSnippetsPhotoRealVersion | undefined;
926
- /**
927
- * The format to return the embeddings
928
- */
929
- encodingFormat?: CreatePromptSnippetPromptSnippetsEncodingFormat | undefined;
930
- /**
931
- * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
932
- */
933
- reasoningEffort?: CreatePromptSnippetPromptSnippetsReasoningEffort | undefined;
934
- };
935
- export declare const CreatePromptSnippetPromptSnippetsProvider: {
936
- readonly Cohere: "cohere";
937
- readonly Openai: "openai";
938
- readonly Anthropic: "anthropic";
939
- readonly Huggingface: "huggingface";
940
- readonly Replicate: "replicate";
941
- readonly Google: "google";
942
- readonly GoogleAi: "google-ai";
943
- readonly Azure: "azure";
944
- readonly Aws: "aws";
945
- readonly Anyscale: "anyscale";
946
- readonly Perplexity: "perplexity";
947
- readonly Groq: "groq";
948
- readonly Fal: "fal";
949
- readonly Leonardoai: "leonardoai";
950
- readonly Nvidia: "nvidia";
951
- readonly Jina: "jina";
952
- readonly Togetherai: "togetherai";
953
- readonly Elevenlabs: "elevenlabs";
954
- };
955
- export type CreatePromptSnippetPromptSnippetsProvider = ClosedEnum<typeof CreatePromptSnippetPromptSnippetsProvider>;
956
- /**
957
- * The role of the prompt message
958
- */
959
- export declare const CreatePromptSnippetPromptSnippetsResponseRole: {
960
- readonly System: "system";
961
- readonly Assistant: "assistant";
962
- readonly User: "user";
963
- readonly Exception: "exception";
964
- readonly Tool: "tool";
965
- readonly Prompt: "prompt";
966
- readonly Correction: "correction";
967
- readonly ExpectedOutput: "expected_output";
968
- };
969
- /**
970
- * The role of the prompt message
971
- */
972
- export type CreatePromptSnippetPromptSnippetsResponseRole = ClosedEnum<typeof CreatePromptSnippetPromptSnippetsResponseRole>;
973
- export declare const CreatePromptSnippet2PromptSnippetsResponse200ApplicationJSONResponseBodyType: {
974
- readonly ImageUrl: "image_url";
975
- };
976
- export type CreatePromptSnippet2PromptSnippetsResponse200ApplicationJSONResponseBodyType = ClosedEnum<typeof CreatePromptSnippet2PromptSnippetsResponse200ApplicationJSONResponseBodyType>;
977
- export type CreatePromptSnippet2PromptSnippetsResponseImageUrl = {
978
- /**
979
- * The orq.ai id of the image
980
- */
981
- id?: string | undefined;
982
- /**
983
- * Either a URL of the image or the base64 encoded data URI.
984
- */
985
- url: string;
986
- /**
987
- * Specifies the detail level of the image. Currently only supported with OpenAI models
988
- */
989
- detail?: string | undefined;
990
- };
991
- /**
992
- * The image part of the prompt message. Only supported with vision models.
993
- */
994
- export type CreatePromptSnippet2PromptSnippetsResponse2 = {
995
- type: CreatePromptSnippet2PromptSnippetsResponse200ApplicationJSONResponseBodyType;
996
- imageUrl: CreatePromptSnippet2PromptSnippetsResponseImageUrl;
997
- };
998
- export declare const CreatePromptSnippet2PromptSnippetsResponse200ApplicationJSONType: {
999
- readonly Text: "text";
1000
- };
1001
- export type CreatePromptSnippet2PromptSnippetsResponse200ApplicationJSONType = ClosedEnum<typeof CreatePromptSnippet2PromptSnippetsResponse200ApplicationJSONType>;
1002
- /**
1003
- * Text content part of a prompt message
1004
- */
1005
- export type CreatePromptSnippet2PromptSnippetsResponse1 = {
1006
- type: CreatePromptSnippet2PromptSnippetsResponse200ApplicationJSONType;
1007
- text: string;
1008
- };
1009
- export type CreatePromptSnippetContentPromptSnippetsResponse2 = CreatePromptSnippet2PromptSnippetsResponse1 | CreatePromptSnippet2PromptSnippetsResponse2;
1010
- /**
1011
- * The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts.
1012
- */
1013
- export type CreatePromptSnippetPromptSnippetsResponseContent = string | Array<CreatePromptSnippet2PromptSnippetsResponse1 | CreatePromptSnippet2PromptSnippetsResponse2>;
1014
- export declare const CreatePromptSnippetPromptSnippetsResponse200Type: {
1015
- readonly Function: "function";
1016
- };
1017
- export type CreatePromptSnippetPromptSnippetsResponse200Type = ClosedEnum<typeof CreatePromptSnippetPromptSnippetsResponse200Type>;
1018
- export type CreatePromptSnippetPromptSnippetsResponseFunction = {
1019
- name: string;
1020
- /**
1021
- * JSON string arguments for the functions
1022
- */
1023
- arguments: string;
1024
- };
1025
- export type CreatePromptSnippetPromptSnippetsResponseToolCalls = {
1026
- id?: string | undefined;
1027
- index?: number | undefined;
1028
- type: CreatePromptSnippetPromptSnippetsResponse200Type;
1029
- function: CreatePromptSnippetPromptSnippetsResponseFunction;
1030
- };
1031
- export type CreatePromptSnippetPromptSnippetsResponseMessages = {
1032
- /**
1033
- * The role of the prompt message
1034
- */
1035
- role: CreatePromptSnippetPromptSnippetsResponseRole;
1036
- /**
1037
- * The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts.
1038
- */
1039
- content: string | Array<CreatePromptSnippet2PromptSnippetsResponse1 | CreatePromptSnippet2PromptSnippetsResponse2>;
1040
- toolCalls?: Array<CreatePromptSnippetPromptSnippetsResponseToolCalls> | undefined;
1041
- };
1042
- /**
1043
- * A list of messages compatible with the openAI schema
1044
- */
1045
- export type CreatePromptSnippetPromptSnippetsPromptConfig = {
1046
- stream?: boolean | undefined;
1047
- model?: string | undefined;
1048
- /**
1049
- * The id of the resource
1050
- */
1051
- modelDbId?: string | undefined;
1052
- /**
1053
- * The type of the model
1054
- */
1055
- modelType?: CreatePromptSnippetPromptSnippetsModelType | undefined;
1056
- /**
1057
- * Model Parameters: Not all parameters apply to every model
1058
- */
1059
- modelParameters?: CreatePromptSnippetPromptSnippetsModelParameters | undefined;
1060
- provider?: CreatePromptSnippetPromptSnippetsProvider | undefined;
1061
- /**
1062
- * The id of the resource
1063
- */
1064
- integrationId?: string | null | undefined;
1065
- version?: string | undefined;
1066
- messages: Array<CreatePromptSnippetPromptSnippetsResponseMessages>;
1067
- };
1068
- export declare const CreatePromptSnippetPromptSnippetsUseCases: {
1069
- readonly Agents: "Agents";
1070
- readonly AgentsSimulations: "Agents simulations";
1071
- readonly APIInteraction: "API interaction";
1072
- readonly AutonomousAgents: "Autonomous Agents";
1073
- readonly Chatbots: "Chatbots";
1074
- readonly Classification: "Classification";
1075
- readonly CodeUnderstanding: "Code understanding";
1076
- readonly CodeWriting: "Code writing";
1077
- readonly DocumentsQA: "Documents QA";
1078
- readonly Conversation: "Conversation";
1079
- readonly Extraction: "Extraction";
1080
- readonly MultiModal: "Multi-modal";
1081
- readonly SelfChecking: "Self-checking";
1082
- readonly Sql: "SQL";
1083
- readonly Summarization: "Summarization";
1084
- readonly Tagging: "Tagging";
1085
- };
1086
- export type CreatePromptSnippetPromptSnippetsUseCases = ClosedEnum<typeof CreatePromptSnippetPromptSnippetsUseCases>;
1087
- /**
1088
- * The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
1089
- */
1090
- export declare const CreatePromptSnippetPromptSnippetsLanguage: {
1091
- readonly Chinese: "Chinese";
1092
- readonly Dutch: "Dutch";
1093
- readonly English: "English";
1094
- readonly French: "French";
1095
- readonly German: "German";
1096
- readonly Russian: "Russian";
1097
- readonly Spanish: "Spanish";
1098
- };
1099
- /**
1100
- * The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
1101
- */
1102
- export type CreatePromptSnippetPromptSnippetsLanguage = ClosedEnum<typeof CreatePromptSnippetPromptSnippetsLanguage>;
1103
- export type CreatePromptSnippetPromptSnippetsResponseMetadata = {
1104
- /**
1105
- * A list of use cases that the prompt is meant to be used for. Use this field to categorize the prompt for your own purpose
1106
- */
1107
- useCases?: Array<CreatePromptSnippetPromptSnippetsUseCases> | undefined;
1108
- /**
1109
- * The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
1110
- */
1111
- language?: CreatePromptSnippetPromptSnippetsLanguage | undefined;
1112
- };
1113
- /**
1114
- * Prompt version model returned from the API
1115
- */
1116
- export type Versions = {
1117
- id: string;
1118
- /**
1119
- * The prompt snippet’s description, meant to be displayable in the UI. Use this field to optionally store a long form explanation of the prompt for your own purpose
1120
- */
1121
- description?: string | null | undefined;
1122
- /**
1123
- * A list of messages compatible with the openAI schema
1124
- */
1125
- promptConfig: CreatePromptSnippetPromptSnippetsPromptConfig;
1126
- metadata: CreatePromptSnippetPromptSnippetsResponseMetadata;
1127
- createdById: string;
1128
- updatedById: string;
1129
- timestamp: string;
1130
- };
1131
- /**
1132
- * Prompt snippet model returned from the API
1133
- */
1134
- export type CreatePromptSnippetResponseBody = {
1135
- id: string;
1136
- owner: string | Owner2;
1137
- domainId: string;
1138
- key: string;
1139
- /**
1140
- * The prompt snippet’s description, meant to be displayable in the UI. Use this field to optionally store a long form explanation of the prompt for your own purpose
1141
- */
1142
- description?: string | null | undefined;
1143
- /**
1144
- * A list of messages compatible with the openAI schema
1145
- */
1146
- promptConfig: CreatePromptSnippetPromptConfig;
1147
- metadata: CreatePromptSnippetPromptSnippetsMetadata;
1148
- createdById: string;
1149
- updatedById: string;
1150
- /**
1151
- * The date and time the resource was created
1152
- */
1153
- created?: Date | undefined;
1154
- /**
1155
- * The date and time the resource was last updated
1156
- */
1157
- updated?: Date | undefined;
1158
- type: CreatePromptSnippetPromptSnippetsType;
1159
- versions: Array<Versions>;
1160
- };
1161
- /** @internal */
1162
- export declare const ModelType$inboundSchema: z.ZodNativeEnum<typeof ModelType>;
1163
- /** @internal */
1164
- export declare const ModelType$outboundSchema: z.ZodNativeEnum<typeof ModelType>;
1165
- /**
1166
- * @internal
1167
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1168
- */
1169
- export declare namespace ModelType$ {
1170
- /** @deprecated use `ModelType$inboundSchema` instead. */
1171
- const inboundSchema: z.ZodNativeEnum<{
1172
- readonly Chat: "chat";
1173
- readonly Completion: "completion";
1174
- readonly Embedding: "embedding";
1175
- readonly Vision: "vision";
1176
- readonly Image: "image";
1177
- readonly Tts: "tts";
1178
- readonly Stt: "stt";
1179
- readonly Rerank: "rerank";
1180
- readonly Moderations: "moderations";
1181
- }>;
1182
- /** @deprecated use `ModelType$outboundSchema` instead. */
1183
- const outboundSchema: z.ZodNativeEnum<{
1184
- readonly Chat: "chat";
1185
- readonly Completion: "completion";
1186
- readonly Embedding: "embedding";
1187
- readonly Vision: "vision";
1188
- readonly Image: "image";
1189
- readonly Tts: "tts";
1190
- readonly Stt: "stt";
1191
- readonly Rerank: "rerank";
1192
- readonly Moderations: "moderations";
1193
- }>;
1194
- }
1195
- /** @internal */
1196
- export declare const Format$inboundSchema: z.ZodNativeEnum<typeof Format>;
1197
- /** @internal */
1198
- export declare const Format$outboundSchema: z.ZodNativeEnum<typeof Format>;
1199
- /**
1200
- * @internal
1201
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1202
- */
1203
- export declare namespace Format$ {
1204
- /** @deprecated use `Format$inboundSchema` instead. */
1205
- const inboundSchema: z.ZodNativeEnum<{
1206
- readonly Url: "url";
1207
- readonly B64Json: "b64_json";
1208
- readonly Text: "text";
1209
- readonly JsonObject: "json_object";
1210
- }>;
1211
- /** @deprecated use `Format$outboundSchema` instead. */
1212
- const outboundSchema: z.ZodNativeEnum<{
1213
- readonly Url: "url";
1214
- readonly B64Json: "b64_json";
1215
- readonly Text: "text";
1216
- readonly JsonObject: "json_object";
1217
- }>;
1218
- }
1219
- /** @internal */
1220
- export declare const Quality$inboundSchema: z.ZodNativeEnum<typeof Quality>;
1221
- /** @internal */
1222
- export declare const Quality$outboundSchema: z.ZodNativeEnum<typeof Quality>;
1223
- /**
1224
- * @internal
1225
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1226
- */
1227
- export declare namespace Quality$ {
1228
- /** @deprecated use `Quality$inboundSchema` instead. */
1229
- const inboundSchema: z.ZodNativeEnum<{
1230
- readonly Standard: "standard";
1231
- readonly Hd: "hd";
1232
- }>;
1233
- /** @deprecated use `Quality$outboundSchema` instead. */
1234
- const outboundSchema: z.ZodNativeEnum<{
1235
- readonly Standard: "standard";
1236
- readonly Hd: "hd";
1237
- }>;
1238
- }
1239
- /** @internal */
1240
- export declare const CreatePromptSnippetResponseFormatType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetResponseFormatType>;
1241
- /** @internal */
1242
- export declare const CreatePromptSnippetResponseFormatType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetResponseFormatType>;
1243
- /**
1244
- * @internal
1245
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1246
- */
1247
- export declare namespace CreatePromptSnippetResponseFormatType$ {
1248
- /** @deprecated use `CreatePromptSnippetResponseFormatType$inboundSchema` instead. */
1249
- const inboundSchema: z.ZodNativeEnum<{
1250
- readonly JsonObject: "json_object";
1251
- }>;
1252
- /** @deprecated use `CreatePromptSnippetResponseFormatType$outboundSchema` instead. */
1253
- const outboundSchema: z.ZodNativeEnum<{
1254
- readonly JsonObject: "json_object";
1255
- }>;
1256
- }
1257
- /** @internal */
1258
- export declare const ResponseFormat2$inboundSchema: z.ZodType<ResponseFormat2, z.ZodTypeDef, unknown>;
1259
- /** @internal */
1260
- export type ResponseFormat2$Outbound = {
1261
- type: string;
1262
- };
1263
- /** @internal */
1264
- export declare const ResponseFormat2$outboundSchema: z.ZodType<ResponseFormat2$Outbound, z.ZodTypeDef, ResponseFormat2>;
1265
- /**
1266
- * @internal
1267
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1268
- */
1269
- export declare namespace ResponseFormat2$ {
1270
- /** @deprecated use `ResponseFormat2$inboundSchema` instead. */
1271
- const inboundSchema: z.ZodType<ResponseFormat2, z.ZodTypeDef, unknown>;
1272
- /** @deprecated use `ResponseFormat2$outboundSchema` instead. */
1273
- const outboundSchema: z.ZodType<ResponseFormat2$Outbound, z.ZodTypeDef, ResponseFormat2>;
1274
- /** @deprecated use `ResponseFormat2$Outbound` instead. */
1275
- type Outbound = ResponseFormat2$Outbound;
1276
- }
1277
- export declare function responseFormat2ToJSON(responseFormat2: ResponseFormat2): string;
1278
- export declare function responseFormat2FromJSON(jsonString: string): SafeParseResult<ResponseFormat2, SDKValidationError>;
1279
- /** @internal */
1280
- export declare const ResponseFormatType$inboundSchema: z.ZodNativeEnum<typeof ResponseFormatType>;
1281
- /** @internal */
1282
- export declare const ResponseFormatType$outboundSchema: z.ZodNativeEnum<typeof ResponseFormatType>;
1283
- /**
1284
- * @internal
1285
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1286
- */
1287
- export declare namespace ResponseFormatType$ {
1288
- /** @deprecated use `ResponseFormatType$inboundSchema` instead. */
1289
- const inboundSchema: z.ZodNativeEnum<{
1290
- readonly JsonSchema: "json_schema";
1291
- }>;
1292
- /** @deprecated use `ResponseFormatType$outboundSchema` instead. */
1293
- const outboundSchema: z.ZodNativeEnum<{
1294
- readonly JsonSchema: "json_schema";
1295
- }>;
1296
- }
1297
- /** @internal */
1298
- export declare const JsonSchema$inboundSchema: z.ZodType<JsonSchema, z.ZodTypeDef, unknown>;
1299
- /** @internal */
1300
- export type JsonSchema$Outbound = {
1301
- name: string;
1302
- strict: boolean;
1303
- schema: {
1304
- [k: string]: any;
1305
- };
1306
- };
1307
- /** @internal */
1308
- export declare const JsonSchema$outboundSchema: z.ZodType<JsonSchema$Outbound, z.ZodTypeDef, JsonSchema>;
1309
- /**
1310
- * @internal
1311
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1312
- */
1313
- export declare namespace JsonSchema$ {
1314
- /** @deprecated use `JsonSchema$inboundSchema` instead. */
1315
- const inboundSchema: z.ZodType<JsonSchema, z.ZodTypeDef, unknown>;
1316
- /** @deprecated use `JsonSchema$outboundSchema` instead. */
1317
- const outboundSchema: z.ZodType<JsonSchema$Outbound, z.ZodTypeDef, JsonSchema>;
1318
- /** @deprecated use `JsonSchema$Outbound` instead. */
1319
- type Outbound = JsonSchema$Outbound;
1320
- }
1321
- export declare function jsonSchemaToJSON(jsonSchema: JsonSchema): string;
1322
- export declare function jsonSchemaFromJSON(jsonString: string): SafeParseResult<JsonSchema, SDKValidationError>;
1323
- /** @internal */
1324
- export declare const ResponseFormat1$inboundSchema: z.ZodType<ResponseFormat1, z.ZodTypeDef, unknown>;
1325
- /** @internal */
1326
- export type ResponseFormat1$Outbound = {
1327
- type: string;
1328
- json_schema: JsonSchema$Outbound;
1329
- };
1330
- /** @internal */
1331
- export declare const ResponseFormat1$outboundSchema: z.ZodType<ResponseFormat1$Outbound, z.ZodTypeDef, ResponseFormat1>;
1332
- /**
1333
- * @internal
1334
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1335
- */
1336
- export declare namespace ResponseFormat1$ {
1337
- /** @deprecated use `ResponseFormat1$inboundSchema` instead. */
1338
- const inboundSchema: z.ZodType<ResponseFormat1, z.ZodTypeDef, unknown>;
1339
- /** @deprecated use `ResponseFormat1$outboundSchema` instead. */
1340
- const outboundSchema: z.ZodType<ResponseFormat1$Outbound, z.ZodTypeDef, ResponseFormat1>;
1341
- /** @deprecated use `ResponseFormat1$Outbound` instead. */
1342
- type Outbound = ResponseFormat1$Outbound;
1343
- }
1344
- export declare function responseFormat1ToJSON(responseFormat1: ResponseFormat1): string;
1345
- export declare function responseFormat1FromJSON(jsonString: string): SafeParseResult<ResponseFormat1, SDKValidationError>;
1346
- /** @internal */
1347
- export declare const ResponseFormat$inboundSchema: z.ZodType<ResponseFormat, z.ZodTypeDef, unknown>;
1348
- /** @internal */
1349
- export type ResponseFormat$Outbound = ResponseFormat2$Outbound | ResponseFormat1$Outbound;
1350
- /** @internal */
1351
- export declare const ResponseFormat$outboundSchema: z.ZodType<ResponseFormat$Outbound, z.ZodTypeDef, ResponseFormat>;
1352
- /**
1353
- * @internal
1354
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1355
- */
1356
- export declare namespace ResponseFormat$ {
1357
- /** @deprecated use `ResponseFormat$inboundSchema` instead. */
1358
- const inboundSchema: z.ZodType<ResponseFormat, z.ZodTypeDef, unknown>;
1359
- /** @deprecated use `ResponseFormat$outboundSchema` instead. */
1360
- const outboundSchema: z.ZodType<ResponseFormat$Outbound, z.ZodTypeDef, ResponseFormat>;
1361
- /** @deprecated use `ResponseFormat$Outbound` instead. */
1362
- type Outbound = ResponseFormat$Outbound;
1363
- }
1364
- export declare function responseFormatToJSON(responseFormat: ResponseFormat): string;
1365
- export declare function responseFormatFromJSON(jsonString: string): SafeParseResult<ResponseFormat, SDKValidationError>;
1366
- /** @internal */
1367
- export declare const PhotoRealVersion$inboundSchema: z.ZodNativeEnum<typeof PhotoRealVersion>;
1368
- /** @internal */
1369
- export declare const PhotoRealVersion$outboundSchema: z.ZodNativeEnum<typeof PhotoRealVersion>;
1370
- /**
1371
- * @internal
1372
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1373
- */
1374
- export declare namespace PhotoRealVersion$ {
1375
- /** @deprecated use `PhotoRealVersion$inboundSchema` instead. */
1376
- const inboundSchema: z.ZodNativeEnum<{
1377
- readonly V1: "v1";
1378
- readonly V2: "v2";
1379
- }>;
1380
- /** @deprecated use `PhotoRealVersion$outboundSchema` instead. */
1381
- const outboundSchema: z.ZodNativeEnum<{
1382
- readonly V1: "v1";
1383
- readonly V2: "v2";
1384
- }>;
1385
- }
1386
- /** @internal */
1387
- export declare const EncodingFormat$inboundSchema: z.ZodNativeEnum<typeof EncodingFormat>;
1388
- /** @internal */
1389
- export declare const EncodingFormat$outboundSchema: z.ZodNativeEnum<typeof EncodingFormat>;
1390
- /**
1391
- * @internal
1392
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1393
- */
1394
- export declare namespace EncodingFormat$ {
1395
- /** @deprecated use `EncodingFormat$inboundSchema` instead. */
1396
- const inboundSchema: z.ZodNativeEnum<{
1397
- readonly Float: "float";
1398
- readonly Base64: "base64";
1399
- }>;
1400
- /** @deprecated use `EncodingFormat$outboundSchema` instead. */
1401
- const outboundSchema: z.ZodNativeEnum<{
1402
- readonly Float: "float";
1403
- readonly Base64: "base64";
1404
- }>;
1405
- }
1406
- /** @internal */
1407
- export declare const ReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof ReasoningEffort>;
1408
- /** @internal */
1409
- export declare const ReasoningEffort$outboundSchema: z.ZodNativeEnum<typeof ReasoningEffort>;
1410
- /**
1411
- * @internal
1412
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1413
- */
1414
- export declare namespace ReasoningEffort$ {
1415
- /** @deprecated use `ReasoningEffort$inboundSchema` instead. */
1416
- const inboundSchema: z.ZodNativeEnum<{
1417
- readonly Low: "low";
1418
- readonly Medium: "medium";
1419
- readonly High: "high";
1420
- }>;
1421
- /** @deprecated use `ReasoningEffort$outboundSchema` instead. */
1422
- const outboundSchema: z.ZodNativeEnum<{
1423
- readonly Low: "low";
1424
- readonly Medium: "medium";
1425
- readonly High: "high";
1426
- }>;
1427
- }
1428
- /** @internal */
1429
- export declare const ModelParameters$inboundSchema: z.ZodType<ModelParameters, z.ZodTypeDef, unknown>;
1430
- /** @internal */
1431
- export type ModelParameters$Outbound = {
1432
- temperature?: number | undefined;
1433
- maxTokens?: number | undefined;
1434
- topK?: number | undefined;
1435
- topP?: number | undefined;
1436
- frequencyPenalty?: number | undefined;
1437
- presencePenalty?: number | undefined;
1438
- numImages?: number | undefined;
1439
- seed?: number | undefined;
1440
- format?: string | undefined;
1441
- dimensions?: string | undefined;
1442
- quality?: string | undefined;
1443
- style?: string | undefined;
1444
- responseFormat?: ResponseFormat2$Outbound | ResponseFormat1$Outbound | null | undefined;
1445
- photoRealVersion?: string | undefined;
1446
- encoding_format?: string | undefined;
1447
- reasoningEffort?: string | undefined;
1448
- };
1449
- /** @internal */
1450
- export declare const ModelParameters$outboundSchema: z.ZodType<ModelParameters$Outbound, z.ZodTypeDef, ModelParameters>;
1451
- /**
1452
- * @internal
1453
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1454
- */
1455
- export declare namespace ModelParameters$ {
1456
- /** @deprecated use `ModelParameters$inboundSchema` instead. */
1457
- const inboundSchema: z.ZodType<ModelParameters, z.ZodTypeDef, unknown>;
1458
- /** @deprecated use `ModelParameters$outboundSchema` instead. */
1459
- const outboundSchema: z.ZodType<ModelParameters$Outbound, z.ZodTypeDef, ModelParameters>;
1460
- /** @deprecated use `ModelParameters$Outbound` instead. */
1461
- type Outbound = ModelParameters$Outbound;
1462
- }
1463
- export declare function modelParametersToJSON(modelParameters: ModelParameters): string;
1464
- export declare function modelParametersFromJSON(jsonString: string): SafeParseResult<ModelParameters, SDKValidationError>;
1465
- /** @internal */
1466
- export declare const Provider$inboundSchema: z.ZodNativeEnum<typeof Provider>;
1467
- /** @internal */
1468
- export declare const Provider$outboundSchema: z.ZodNativeEnum<typeof Provider>;
1469
- /**
1470
- * @internal
1471
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1472
- */
1473
- export declare namespace Provider$ {
1474
- /** @deprecated use `Provider$inboundSchema` instead. */
1475
- const inboundSchema: z.ZodNativeEnum<{
1476
- readonly Cohere: "cohere";
1477
- readonly Openai: "openai";
1478
- readonly Anthropic: "anthropic";
1479
- readonly Huggingface: "huggingface";
1480
- readonly Replicate: "replicate";
1481
- readonly Google: "google";
1482
- readonly GoogleAi: "google-ai";
1483
- readonly Azure: "azure";
1484
- readonly Aws: "aws";
1485
- readonly Anyscale: "anyscale";
1486
- readonly Perplexity: "perplexity";
1487
- readonly Groq: "groq";
1488
- readonly Fal: "fal";
1489
- readonly Leonardoai: "leonardoai";
1490
- readonly Nvidia: "nvidia";
1491
- readonly Jina: "jina";
1492
- readonly Togetherai: "togetherai";
1493
- readonly Elevenlabs: "elevenlabs";
1494
- }>;
1495
- /** @deprecated use `Provider$outboundSchema` instead. */
1496
- const outboundSchema: z.ZodNativeEnum<{
1497
- readonly Cohere: "cohere";
1498
- readonly Openai: "openai";
1499
- readonly Anthropic: "anthropic";
1500
- readonly Huggingface: "huggingface";
1501
- readonly Replicate: "replicate";
1502
- readonly Google: "google";
1503
- readonly GoogleAi: "google-ai";
1504
- readonly Azure: "azure";
1505
- readonly Aws: "aws";
1506
- readonly Anyscale: "anyscale";
1507
- readonly Perplexity: "perplexity";
1508
- readonly Groq: "groq";
1509
- readonly Fal: "fal";
1510
- readonly Leonardoai: "leonardoai";
1511
- readonly Nvidia: "nvidia";
1512
- readonly Jina: "jina";
1513
- readonly Togetherai: "togetherai";
1514
- readonly Elevenlabs: "elevenlabs";
1515
- }>;
1516
- }
1517
- /** @internal */
1518
- export declare const CreatePromptSnippetRole$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetRole>;
1519
- /** @internal */
1520
- export declare const CreatePromptSnippetRole$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetRole>;
1521
- /**
1522
- * @internal
1523
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1524
- */
1525
- export declare namespace CreatePromptSnippetRole$ {
1526
- /** @deprecated use `CreatePromptSnippetRole$inboundSchema` instead. */
1527
- const inboundSchema: z.ZodNativeEnum<{
1528
- readonly System: "system";
1529
- readonly Assistant: "assistant";
1530
- readonly User: "user";
1531
- readonly Exception: "exception";
1532
- readonly Tool: "tool";
1533
- readonly Prompt: "prompt";
1534
- readonly Correction: "correction";
1535
- readonly ExpectedOutput: "expected_output";
1536
- }>;
1537
- /** @deprecated use `CreatePromptSnippetRole$outboundSchema` instead. */
1538
- const outboundSchema: z.ZodNativeEnum<{
1539
- readonly System: "system";
1540
- readonly Assistant: "assistant";
1541
- readonly User: "user";
1542
- readonly Exception: "exception";
1543
- readonly Tool: "tool";
1544
- readonly Prompt: "prompt";
1545
- readonly Correction: "correction";
1546
- readonly ExpectedOutput: "expected_output";
1547
- }>;
1548
- }
1549
- /** @internal */
1550
- export declare const CreatePromptSnippet2PromptSnippetsType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippet2PromptSnippetsType>;
1551
- /** @internal */
1552
- export declare const CreatePromptSnippet2PromptSnippetsType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippet2PromptSnippetsType>;
1553
- /**
1554
- * @internal
1555
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1556
- */
1557
- export declare namespace CreatePromptSnippet2PromptSnippetsType$ {
1558
- /** @deprecated use `CreatePromptSnippet2PromptSnippetsType$inboundSchema` instead. */
1559
- const inboundSchema: z.ZodNativeEnum<{
1560
- readonly ImageUrl: "image_url";
1561
- }>;
1562
- /** @deprecated use `CreatePromptSnippet2PromptSnippetsType$outboundSchema` instead. */
1563
- const outboundSchema: z.ZodNativeEnum<{
1564
- readonly ImageUrl: "image_url";
1565
- }>;
1566
- }
1567
- /** @internal */
1568
- export declare const CreatePromptSnippet2ImageUrl$inboundSchema: z.ZodType<CreatePromptSnippet2ImageUrl, z.ZodTypeDef, unknown>;
1569
- /** @internal */
1570
- export type CreatePromptSnippet2ImageUrl$Outbound = {
1571
- url: string;
1572
- detail?: string | undefined;
1573
- };
1574
- /** @internal */
1575
- export declare const CreatePromptSnippet2ImageUrl$outboundSchema: z.ZodType<CreatePromptSnippet2ImageUrl$Outbound, z.ZodTypeDef, CreatePromptSnippet2ImageUrl>;
1576
- /**
1577
- * @internal
1578
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1579
- */
1580
- export declare namespace CreatePromptSnippet2ImageUrl$ {
1581
- /** @deprecated use `CreatePromptSnippet2ImageUrl$inboundSchema` instead. */
1582
- const inboundSchema: z.ZodType<CreatePromptSnippet2ImageUrl, z.ZodTypeDef, unknown>;
1583
- /** @deprecated use `CreatePromptSnippet2ImageUrl$outboundSchema` instead. */
1584
- const outboundSchema: z.ZodType<CreatePromptSnippet2ImageUrl$Outbound, z.ZodTypeDef, CreatePromptSnippet2ImageUrl>;
1585
- /** @deprecated use `CreatePromptSnippet2ImageUrl$Outbound` instead. */
1586
- type Outbound = CreatePromptSnippet2ImageUrl$Outbound;
1587
- }
1588
- export declare function createPromptSnippet2ImageUrlToJSON(createPromptSnippet2ImageUrl: CreatePromptSnippet2ImageUrl): string;
1589
- export declare function createPromptSnippet2ImageUrlFromJSON(jsonString: string): SafeParseResult<CreatePromptSnippet2ImageUrl, SDKValidationError>;
1590
- /** @internal */
1591
- export declare const CreatePromptSnippet22$inboundSchema: z.ZodType<CreatePromptSnippet22, z.ZodTypeDef, unknown>;
1592
- /** @internal */
1593
- export type CreatePromptSnippet22$Outbound = {
1594
- type: string;
1595
- image_url: CreatePromptSnippet2ImageUrl$Outbound;
1596
- };
1597
- /** @internal */
1598
- export declare const CreatePromptSnippet22$outboundSchema: z.ZodType<CreatePromptSnippet22$Outbound, z.ZodTypeDef, CreatePromptSnippet22>;
1599
- /**
1600
- * @internal
1601
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1602
- */
1603
- export declare namespace CreatePromptSnippet22$ {
1604
- /** @deprecated use `CreatePromptSnippet22$inboundSchema` instead. */
1605
- const inboundSchema: z.ZodType<CreatePromptSnippet22, z.ZodTypeDef, unknown>;
1606
- /** @deprecated use `CreatePromptSnippet22$outboundSchema` instead. */
1607
- const outboundSchema: z.ZodType<CreatePromptSnippet22$Outbound, z.ZodTypeDef, CreatePromptSnippet22>;
1608
- /** @deprecated use `CreatePromptSnippet22$Outbound` instead. */
1609
- type Outbound = CreatePromptSnippet22$Outbound;
1610
- }
1611
- export declare function createPromptSnippet22ToJSON(createPromptSnippet22: CreatePromptSnippet22): string;
1612
- export declare function createPromptSnippet22FromJSON(jsonString: string): SafeParseResult<CreatePromptSnippet22, SDKValidationError>;
1613
- /** @internal */
1614
- export declare const CreatePromptSnippet2Type$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippet2Type>;
1615
- /** @internal */
1616
- export declare const CreatePromptSnippet2Type$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippet2Type>;
1617
- /**
1618
- * @internal
1619
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1620
- */
1621
- export declare namespace CreatePromptSnippet2Type$ {
1622
- /** @deprecated use `CreatePromptSnippet2Type$inboundSchema` instead. */
1623
- const inboundSchema: z.ZodNativeEnum<{
1624
- readonly Text: "text";
1625
- }>;
1626
- /** @deprecated use `CreatePromptSnippet2Type$outboundSchema` instead. */
1627
- const outboundSchema: z.ZodNativeEnum<{
1628
- readonly Text: "text";
1629
- }>;
1630
- }
1631
- /** @internal */
1632
- export declare const CreatePromptSnippet21$inboundSchema: z.ZodType<CreatePromptSnippet21, z.ZodTypeDef, unknown>;
1633
- /** @internal */
1634
- export type CreatePromptSnippet21$Outbound = {
1635
- type: string;
1636
- text: string;
1637
- };
1638
- /** @internal */
1639
- export declare const CreatePromptSnippet21$outboundSchema: z.ZodType<CreatePromptSnippet21$Outbound, z.ZodTypeDef, CreatePromptSnippet21>;
1640
- /**
1641
- * @internal
1642
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1643
- */
1644
- export declare namespace CreatePromptSnippet21$ {
1645
- /** @deprecated use `CreatePromptSnippet21$inboundSchema` instead. */
1646
- const inboundSchema: z.ZodType<CreatePromptSnippet21, z.ZodTypeDef, unknown>;
1647
- /** @deprecated use `CreatePromptSnippet21$outboundSchema` instead. */
1648
- const outboundSchema: z.ZodType<CreatePromptSnippet21$Outbound, z.ZodTypeDef, CreatePromptSnippet21>;
1649
- /** @deprecated use `CreatePromptSnippet21$Outbound` instead. */
1650
- type Outbound = CreatePromptSnippet21$Outbound;
1651
- }
1652
- export declare function createPromptSnippet21ToJSON(createPromptSnippet21: CreatePromptSnippet21): string;
1653
- export declare function createPromptSnippet21FromJSON(jsonString: string): SafeParseResult<CreatePromptSnippet21, SDKValidationError>;
1654
- /** @internal */
1655
- export declare const CreatePromptSnippetContent2$inboundSchema: z.ZodType<CreatePromptSnippetContent2, z.ZodTypeDef, unknown>;
1656
- /** @internal */
1657
- export type CreatePromptSnippetContent2$Outbound = CreatePromptSnippet21$Outbound | CreatePromptSnippet22$Outbound;
1658
- /** @internal */
1659
- export declare const CreatePromptSnippetContent2$outboundSchema: z.ZodType<CreatePromptSnippetContent2$Outbound, z.ZodTypeDef, CreatePromptSnippetContent2>;
1660
- /**
1661
- * @internal
1662
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1663
- */
1664
- export declare namespace CreatePromptSnippetContent2$ {
1665
- /** @deprecated use `CreatePromptSnippetContent2$inboundSchema` instead. */
1666
- const inboundSchema: z.ZodType<CreatePromptSnippetContent2, z.ZodTypeDef, unknown>;
1667
- /** @deprecated use `CreatePromptSnippetContent2$outboundSchema` instead. */
1668
- const outboundSchema: z.ZodType<CreatePromptSnippetContent2$Outbound, z.ZodTypeDef, CreatePromptSnippetContent2>;
1669
- /** @deprecated use `CreatePromptSnippetContent2$Outbound` instead. */
1670
- type Outbound = CreatePromptSnippetContent2$Outbound;
1671
- }
1672
- export declare function createPromptSnippetContent2ToJSON(createPromptSnippetContent2: CreatePromptSnippetContent2): string;
1673
- export declare function createPromptSnippetContent2FromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetContent2, SDKValidationError>;
1674
- /** @internal */
1675
- export declare const CreatePromptSnippetContent$inboundSchema: z.ZodType<CreatePromptSnippetContent, z.ZodTypeDef, unknown>;
1676
- /** @internal */
1677
- export type CreatePromptSnippetContent$Outbound = string | Array<CreatePromptSnippet21$Outbound | CreatePromptSnippet22$Outbound>;
1678
- /** @internal */
1679
- export declare const CreatePromptSnippetContent$outboundSchema: z.ZodType<CreatePromptSnippetContent$Outbound, z.ZodTypeDef, CreatePromptSnippetContent>;
1680
- /**
1681
- * @internal
1682
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1683
- */
1684
- export declare namespace CreatePromptSnippetContent$ {
1685
- /** @deprecated use `CreatePromptSnippetContent$inboundSchema` instead. */
1686
- const inboundSchema: z.ZodType<CreatePromptSnippetContent, z.ZodTypeDef, unknown>;
1687
- /** @deprecated use `CreatePromptSnippetContent$outboundSchema` instead. */
1688
- const outboundSchema: z.ZodType<CreatePromptSnippetContent$Outbound, z.ZodTypeDef, CreatePromptSnippetContent>;
1689
- /** @deprecated use `CreatePromptSnippetContent$Outbound` instead. */
1690
- type Outbound = CreatePromptSnippetContent$Outbound;
1691
- }
1692
- export declare function createPromptSnippetContentToJSON(createPromptSnippetContent: CreatePromptSnippetContent): string;
1693
- export declare function createPromptSnippetContentFromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetContent, SDKValidationError>;
1694
- /** @internal */
1695
- export declare const CreatePromptSnippetType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetType>;
1696
- /** @internal */
1697
- export declare const CreatePromptSnippetType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetType>;
1698
- /**
1699
- * @internal
1700
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1701
- */
1702
- export declare namespace CreatePromptSnippetType$ {
1703
- /** @deprecated use `CreatePromptSnippetType$inboundSchema` instead. */
1704
- const inboundSchema: z.ZodNativeEnum<{
1705
- readonly Function: "function";
1706
- }>;
1707
- /** @deprecated use `CreatePromptSnippetType$outboundSchema` instead. */
1708
- const outboundSchema: z.ZodNativeEnum<{
1709
- readonly Function: "function";
1710
- }>;
1711
- }
1712
- /** @internal */
1713
- export declare const CreatePromptSnippetFunction$inboundSchema: z.ZodType<CreatePromptSnippetFunction, z.ZodTypeDef, unknown>;
1714
- /** @internal */
1715
- export type CreatePromptSnippetFunction$Outbound = {
1716
- name: string;
1717
- arguments: string;
1718
- };
1719
- /** @internal */
1720
- export declare const CreatePromptSnippetFunction$outboundSchema: z.ZodType<CreatePromptSnippetFunction$Outbound, z.ZodTypeDef, CreatePromptSnippetFunction>;
1721
- /**
1722
- * @internal
1723
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1724
- */
1725
- export declare namespace CreatePromptSnippetFunction$ {
1726
- /** @deprecated use `CreatePromptSnippetFunction$inboundSchema` instead. */
1727
- const inboundSchema: z.ZodType<CreatePromptSnippetFunction, z.ZodTypeDef, unknown>;
1728
- /** @deprecated use `CreatePromptSnippetFunction$outboundSchema` instead. */
1729
- const outboundSchema: z.ZodType<CreatePromptSnippetFunction$Outbound, z.ZodTypeDef, CreatePromptSnippetFunction>;
1730
- /** @deprecated use `CreatePromptSnippetFunction$Outbound` instead. */
1731
- type Outbound = CreatePromptSnippetFunction$Outbound;
1732
- }
1733
- export declare function createPromptSnippetFunctionToJSON(createPromptSnippetFunction: CreatePromptSnippetFunction): string;
1734
- export declare function createPromptSnippetFunctionFromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetFunction, SDKValidationError>;
1735
- /** @internal */
1736
- export declare const CreatePromptSnippetToolCalls$inboundSchema: z.ZodType<CreatePromptSnippetToolCalls, z.ZodTypeDef, unknown>;
1737
- /** @internal */
1738
- export type CreatePromptSnippetToolCalls$Outbound = {
1739
- id?: string | undefined;
1740
- index?: number | undefined;
1741
- type: string;
1742
- function: CreatePromptSnippetFunction$Outbound;
1743
- };
1744
- /** @internal */
1745
- export declare const CreatePromptSnippetToolCalls$outboundSchema: z.ZodType<CreatePromptSnippetToolCalls$Outbound, z.ZodTypeDef, CreatePromptSnippetToolCalls>;
1746
- /**
1747
- * @internal
1748
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1749
- */
1750
- export declare namespace CreatePromptSnippetToolCalls$ {
1751
- /** @deprecated use `CreatePromptSnippetToolCalls$inboundSchema` instead. */
1752
- const inboundSchema: z.ZodType<CreatePromptSnippetToolCalls, z.ZodTypeDef, unknown>;
1753
- /** @deprecated use `CreatePromptSnippetToolCalls$outboundSchema` instead. */
1754
- const outboundSchema: z.ZodType<CreatePromptSnippetToolCalls$Outbound, z.ZodTypeDef, CreatePromptSnippetToolCalls>;
1755
- /** @deprecated use `CreatePromptSnippetToolCalls$Outbound` instead. */
1756
- type Outbound = CreatePromptSnippetToolCalls$Outbound;
1757
- }
1758
- export declare function createPromptSnippetToolCallsToJSON(createPromptSnippetToolCalls: CreatePromptSnippetToolCalls): string;
1759
- export declare function createPromptSnippetToolCallsFromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetToolCalls, SDKValidationError>;
1760
- /** @internal */
1761
- export declare const CreatePromptSnippetMessages$inboundSchema: z.ZodType<CreatePromptSnippetMessages, z.ZodTypeDef, unknown>;
1762
- /** @internal */
1763
- export type CreatePromptSnippetMessages$Outbound = {
1764
- role: string;
1765
- content: string | Array<CreatePromptSnippet21$Outbound | CreatePromptSnippet22$Outbound>;
1766
- tool_calls?: Array<CreatePromptSnippetToolCalls$Outbound> | undefined;
1767
- };
1768
- /** @internal */
1769
- export declare const CreatePromptSnippetMessages$outboundSchema: z.ZodType<CreatePromptSnippetMessages$Outbound, z.ZodTypeDef, CreatePromptSnippetMessages>;
1770
- /**
1771
- * @internal
1772
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1773
- */
1774
- export declare namespace CreatePromptSnippetMessages$ {
1775
- /** @deprecated use `CreatePromptSnippetMessages$inboundSchema` instead. */
1776
- const inboundSchema: z.ZodType<CreatePromptSnippetMessages, z.ZodTypeDef, unknown>;
1777
- /** @deprecated use `CreatePromptSnippetMessages$outboundSchema` instead. */
1778
- const outboundSchema: z.ZodType<CreatePromptSnippetMessages$Outbound, z.ZodTypeDef, CreatePromptSnippetMessages>;
1779
- /** @deprecated use `CreatePromptSnippetMessages$Outbound` instead. */
1780
- type Outbound = CreatePromptSnippetMessages$Outbound;
1781
- }
1782
- export declare function createPromptSnippetMessagesToJSON(createPromptSnippetMessages: CreatePromptSnippetMessages): string;
1783
- export declare function createPromptSnippetMessagesFromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetMessages, SDKValidationError>;
1784
- /** @internal */
1785
- export declare const PromptConfig$inboundSchema: z.ZodType<PromptConfig, z.ZodTypeDef, unknown>;
1786
- /** @internal */
1787
- export type PromptConfig$Outbound = {
1788
- stream?: boolean | undefined;
1789
- model?: string | undefined;
1790
- model_type?: string | undefined;
1791
- model_parameters?: ModelParameters$Outbound | undefined;
1792
- provider?: string | undefined;
1793
- version?: string | undefined;
1794
- messages: Array<CreatePromptSnippetMessages$Outbound>;
1795
- };
1796
- /** @internal */
1797
- export declare const PromptConfig$outboundSchema: z.ZodType<PromptConfig$Outbound, z.ZodTypeDef, PromptConfig>;
1798
- /**
1799
- * @internal
1800
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1801
- */
1802
- export declare namespace PromptConfig$ {
1803
- /** @deprecated use `PromptConfig$inboundSchema` instead. */
1804
- const inboundSchema: z.ZodType<PromptConfig, z.ZodTypeDef, unknown>;
1805
- /** @deprecated use `PromptConfig$outboundSchema` instead. */
1806
- const outboundSchema: z.ZodType<PromptConfig$Outbound, z.ZodTypeDef, PromptConfig>;
1807
- /** @deprecated use `PromptConfig$Outbound` instead. */
1808
- type Outbound = PromptConfig$Outbound;
1809
- }
1810
- export declare function promptConfigToJSON(promptConfig: PromptConfig): string;
1811
- export declare function promptConfigFromJSON(jsonString: string): SafeParseResult<PromptConfig, SDKValidationError>;
1812
- /** @internal */
1813
- export declare const UseCases$inboundSchema: z.ZodNativeEnum<typeof UseCases>;
1814
- /** @internal */
1815
- export declare const UseCases$outboundSchema: z.ZodNativeEnum<typeof UseCases>;
1816
- /**
1817
- * @internal
1818
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1819
- */
1820
- export declare namespace UseCases$ {
1821
- /** @deprecated use `UseCases$inboundSchema` instead. */
1822
- const inboundSchema: z.ZodNativeEnum<{
1823
- readonly Agents: "Agents";
1824
- readonly AgentsSimulations: "Agents simulations";
1825
- readonly APIInteraction: "API interaction";
1826
- readonly AutonomousAgents: "Autonomous Agents";
1827
- readonly Chatbots: "Chatbots";
1828
- readonly Classification: "Classification";
1829
- readonly CodeUnderstanding: "Code understanding";
1830
- readonly CodeWriting: "Code writing";
1831
- readonly DocumentsQA: "Documents QA";
1832
- readonly Conversation: "Conversation";
1833
- readonly Extraction: "Extraction";
1834
- readonly MultiModal: "Multi-modal";
1835
- readonly SelfChecking: "Self-checking";
1836
- readonly Sql: "SQL";
1837
- readonly Summarization: "Summarization";
1838
- readonly Tagging: "Tagging";
1839
- }>;
1840
- /** @deprecated use `UseCases$outboundSchema` instead. */
1841
- const outboundSchema: z.ZodNativeEnum<{
1842
- readonly Agents: "Agents";
1843
- readonly AgentsSimulations: "Agents simulations";
1844
- readonly APIInteraction: "API interaction";
1845
- readonly AutonomousAgents: "Autonomous Agents";
1846
- readonly Chatbots: "Chatbots";
1847
- readonly Classification: "Classification";
1848
- readonly CodeUnderstanding: "Code understanding";
1849
- readonly CodeWriting: "Code writing";
1850
- readonly DocumentsQA: "Documents QA";
1851
- readonly Conversation: "Conversation";
1852
- readonly Extraction: "Extraction";
1853
- readonly MultiModal: "Multi-modal";
1854
- readonly SelfChecking: "Self-checking";
1855
- readonly Sql: "SQL";
1856
- readonly Summarization: "Summarization";
1857
- readonly Tagging: "Tagging";
1858
- }>;
1859
- }
1860
- /** @internal */
1861
- export declare const Language$inboundSchema: z.ZodNativeEnum<typeof Language>;
1862
- /** @internal */
1863
- export declare const Language$outboundSchema: z.ZodNativeEnum<typeof Language>;
1864
- /**
1865
- * @internal
1866
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1867
- */
1868
- export declare namespace Language$ {
1869
- /** @deprecated use `Language$inboundSchema` instead. */
1870
- const inboundSchema: z.ZodNativeEnum<{
1871
- readonly Chinese: "Chinese";
1872
- readonly Dutch: "Dutch";
1873
- readonly English: "English";
1874
- readonly French: "French";
1875
- readonly German: "German";
1876
- readonly Russian: "Russian";
1877
- readonly Spanish: "Spanish";
1878
- }>;
1879
- /** @deprecated use `Language$outboundSchema` instead. */
1880
- const outboundSchema: z.ZodNativeEnum<{
1881
- readonly Chinese: "Chinese";
1882
- readonly Dutch: "Dutch";
1883
- readonly English: "English";
1884
- readonly French: "French";
1885
- readonly German: "German";
1886
- readonly Russian: "Russian";
1887
- readonly Spanish: "Spanish";
1888
- }>;
1889
- }
1890
- /** @internal */
1891
- export declare const CreatePromptSnippetMetadata$inboundSchema: z.ZodType<CreatePromptSnippetMetadata, z.ZodTypeDef, unknown>;
1892
- /** @internal */
1893
- export type CreatePromptSnippetMetadata$Outbound = {
1894
- use_cases?: Array<string> | undefined;
1895
- language?: string | undefined;
1896
- };
1897
- /** @internal */
1898
- export declare const CreatePromptSnippetMetadata$outboundSchema: z.ZodType<CreatePromptSnippetMetadata$Outbound, z.ZodTypeDef, CreatePromptSnippetMetadata>;
1899
- /**
1900
- * @internal
1901
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1902
- */
1903
- export declare namespace CreatePromptSnippetMetadata$ {
1904
- /** @deprecated use `CreatePromptSnippetMetadata$inboundSchema` instead. */
1905
- const inboundSchema: z.ZodType<CreatePromptSnippetMetadata, z.ZodTypeDef, unknown>;
1906
- /** @deprecated use `CreatePromptSnippetMetadata$outboundSchema` instead. */
1907
- const outboundSchema: z.ZodType<CreatePromptSnippetMetadata$Outbound, z.ZodTypeDef, CreatePromptSnippetMetadata>;
1908
- /** @deprecated use `CreatePromptSnippetMetadata$Outbound` instead. */
1909
- type Outbound = CreatePromptSnippetMetadata$Outbound;
1910
- }
1911
- export declare function createPromptSnippetMetadataToJSON(createPromptSnippetMetadata: CreatePromptSnippetMetadata): string;
1912
- export declare function createPromptSnippetMetadataFromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetMetadata, SDKValidationError>;
1913
- /** @internal */
1914
- export declare const CreatePromptSnippetRequestBody$inboundSchema: z.ZodType<CreatePromptSnippetRequestBody, z.ZodTypeDef, unknown>;
1915
- /** @internal */
1916
- export type CreatePromptSnippetRequestBody$Outbound = {
1917
- key: string;
1918
- description?: string | null | undefined;
1919
- prompt_config: PromptConfig$Outbound;
1920
- metadata?: CreatePromptSnippetMetadata$Outbound | undefined;
1921
- path: string;
1922
- };
1923
- /** @internal */
1924
- export declare const CreatePromptSnippetRequestBody$outboundSchema: z.ZodType<CreatePromptSnippetRequestBody$Outbound, z.ZodTypeDef, CreatePromptSnippetRequestBody>;
1925
- /**
1926
- * @internal
1927
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1928
- */
1929
- export declare namespace CreatePromptSnippetRequestBody$ {
1930
- /** @deprecated use `CreatePromptSnippetRequestBody$inboundSchema` instead. */
1931
- const inboundSchema: z.ZodType<CreatePromptSnippetRequestBody, z.ZodTypeDef, unknown>;
1932
- /** @deprecated use `CreatePromptSnippetRequestBody$outboundSchema` instead. */
1933
- const outboundSchema: z.ZodType<CreatePromptSnippetRequestBody$Outbound, z.ZodTypeDef, CreatePromptSnippetRequestBody>;
1934
- /** @deprecated use `CreatePromptSnippetRequestBody$Outbound` instead. */
1935
- type Outbound = CreatePromptSnippetRequestBody$Outbound;
1936
- }
1937
- export declare function createPromptSnippetRequestBodyToJSON(createPromptSnippetRequestBody: CreatePromptSnippetRequestBody): string;
1938
- export declare function createPromptSnippetRequestBodyFromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetRequestBody, SDKValidationError>;
1939
- /** @internal */
1940
- export declare const Owner2$inboundSchema: z.ZodNativeEnum<typeof Owner2>;
1941
- /** @internal */
1942
- export declare const Owner2$outboundSchema: z.ZodNativeEnum<typeof Owner2>;
1943
- /**
1944
- * @internal
1945
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1946
- */
1947
- export declare namespace Owner2$ {
1948
- /** @deprecated use `Owner2$inboundSchema` instead. */
1949
- const inboundSchema: z.ZodNativeEnum<{
1950
- readonly Vendor: "vendor";
1951
- }>;
1952
- /** @deprecated use `Owner2$outboundSchema` instead. */
1953
- const outboundSchema: z.ZodNativeEnum<{
1954
- readonly Vendor: "vendor";
1955
- }>;
1956
- }
1957
- /** @internal */
1958
- export declare const Owner$inboundSchema: z.ZodType<Owner, z.ZodTypeDef, unknown>;
1959
- /** @internal */
1960
- export type Owner$Outbound = string | string;
1961
- /** @internal */
1962
- export declare const Owner$outboundSchema: z.ZodType<Owner$Outbound, z.ZodTypeDef, Owner>;
1963
- /**
1964
- * @internal
1965
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1966
- */
1967
- export declare namespace Owner$ {
1968
- /** @deprecated use `Owner$inboundSchema` instead. */
1969
- const inboundSchema: z.ZodType<string, z.ZodTypeDef, unknown>;
1970
- /** @deprecated use `Owner$outboundSchema` instead. */
1971
- const outboundSchema: z.ZodType<string, z.ZodTypeDef, string>;
1972
- /** @deprecated use `Owner$Outbound` instead. */
1973
- type Outbound = Owner$Outbound;
1974
- }
1975
- export declare function ownerToJSON(owner: Owner): string;
1976
- export declare function ownerFromJSON(jsonString: string): SafeParseResult<Owner, SDKValidationError>;
1977
- /** @internal */
1978
- export declare const CreatePromptSnippetModelType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetModelType>;
1979
- /** @internal */
1980
- export declare const CreatePromptSnippetModelType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetModelType>;
1981
- /**
1982
- * @internal
1983
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1984
- */
1985
- export declare namespace CreatePromptSnippetModelType$ {
1986
- /** @deprecated use `CreatePromptSnippetModelType$inboundSchema` instead. */
1987
- const inboundSchema: z.ZodNativeEnum<{
1988
- readonly Chat: "chat";
1989
- readonly Completion: "completion";
1990
- readonly Embedding: "embedding";
1991
- readonly Vision: "vision";
1992
- readonly Image: "image";
1993
- readonly Tts: "tts";
1994
- readonly Stt: "stt";
1995
- readonly Rerank: "rerank";
1996
- readonly Moderations: "moderations";
1997
- }>;
1998
- /** @deprecated use `CreatePromptSnippetModelType$outboundSchema` instead. */
1999
- const outboundSchema: z.ZodNativeEnum<{
2000
- readonly Chat: "chat";
2001
- readonly Completion: "completion";
2002
- readonly Embedding: "embedding";
2003
- readonly Vision: "vision";
2004
- readonly Image: "image";
2005
- readonly Tts: "tts";
2006
- readonly Stt: "stt";
2007
- readonly Rerank: "rerank";
2008
- readonly Moderations: "moderations";
2009
- }>;
2010
- }
2011
- /** @internal */
2012
- export declare const CreatePromptSnippetFormat$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetFormat>;
2013
- /** @internal */
2014
- export declare const CreatePromptSnippetFormat$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetFormat>;
2015
- /**
2016
- * @internal
2017
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2018
- */
2019
- export declare namespace CreatePromptSnippetFormat$ {
2020
- /** @deprecated use `CreatePromptSnippetFormat$inboundSchema` instead. */
2021
- const inboundSchema: z.ZodNativeEnum<{
2022
- readonly Url: "url";
2023
- readonly B64Json: "b64_json";
2024
- readonly Text: "text";
2025
- readonly JsonObject: "json_object";
2026
- }>;
2027
- /** @deprecated use `CreatePromptSnippetFormat$outboundSchema` instead. */
2028
- const outboundSchema: z.ZodNativeEnum<{
2029
- readonly Url: "url";
2030
- readonly B64Json: "b64_json";
2031
- readonly Text: "text";
2032
- readonly JsonObject: "json_object";
2033
- }>;
2034
- }
2035
- /** @internal */
2036
- export declare const CreatePromptSnippetQuality$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetQuality>;
2037
- /** @internal */
2038
- export declare const CreatePromptSnippetQuality$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetQuality>;
2039
- /**
2040
- * @internal
2041
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2042
- */
2043
- export declare namespace CreatePromptSnippetQuality$ {
2044
- /** @deprecated use `CreatePromptSnippetQuality$inboundSchema` instead. */
2045
- const inboundSchema: z.ZodNativeEnum<{
2046
- readonly Standard: "standard";
2047
- readonly Hd: "hd";
2048
- }>;
2049
- /** @deprecated use `CreatePromptSnippetQuality$outboundSchema` instead. */
2050
- const outboundSchema: z.ZodNativeEnum<{
2051
- readonly Standard: "standard";
2052
- readonly Hd: "hd";
2053
- }>;
2054
- }
2055
- /** @internal */
2056
- export declare const CreatePromptSnippetResponseFormatPromptSnippetsResponseType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetResponseFormatPromptSnippetsResponseType>;
2057
- /** @internal */
2058
- export declare const CreatePromptSnippetResponseFormatPromptSnippetsResponseType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetResponseFormatPromptSnippetsResponseType>;
2059
- /**
2060
- * @internal
2061
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2062
- */
2063
- export declare namespace CreatePromptSnippetResponseFormatPromptSnippetsResponseType$ {
2064
- /** @deprecated use `CreatePromptSnippetResponseFormatPromptSnippetsResponseType$inboundSchema` instead. */
2065
- const inboundSchema: z.ZodNativeEnum<{
2066
- readonly JsonObject: "json_object";
2067
- }>;
2068
- /** @deprecated use `CreatePromptSnippetResponseFormatPromptSnippetsResponseType$outboundSchema` instead. */
2069
- const outboundSchema: z.ZodNativeEnum<{
2070
- readonly JsonObject: "json_object";
2071
- }>;
2072
- }
2073
- /** @internal */
2074
- export declare const CreatePromptSnippetResponseFormat2$inboundSchema: z.ZodType<CreatePromptSnippetResponseFormat2, z.ZodTypeDef, unknown>;
2075
- /** @internal */
2076
- export type CreatePromptSnippetResponseFormat2$Outbound = {
2077
- type: string;
2078
- };
2079
- /** @internal */
2080
- export declare const CreatePromptSnippetResponseFormat2$outboundSchema: z.ZodType<CreatePromptSnippetResponseFormat2$Outbound, z.ZodTypeDef, CreatePromptSnippetResponseFormat2>;
2081
- /**
2082
- * @internal
2083
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2084
- */
2085
- export declare namespace CreatePromptSnippetResponseFormat2$ {
2086
- /** @deprecated use `CreatePromptSnippetResponseFormat2$inboundSchema` instead. */
2087
- const inboundSchema: z.ZodType<CreatePromptSnippetResponseFormat2, z.ZodTypeDef, unknown>;
2088
- /** @deprecated use `CreatePromptSnippetResponseFormat2$outboundSchema` instead. */
2089
- const outboundSchema: z.ZodType<CreatePromptSnippetResponseFormat2$Outbound, z.ZodTypeDef, CreatePromptSnippetResponseFormat2>;
2090
- /** @deprecated use `CreatePromptSnippetResponseFormat2$Outbound` instead. */
2091
- type Outbound = CreatePromptSnippetResponseFormat2$Outbound;
2092
- }
2093
- export declare function createPromptSnippetResponseFormat2ToJSON(createPromptSnippetResponseFormat2: CreatePromptSnippetResponseFormat2): string;
2094
- export declare function createPromptSnippetResponseFormat2FromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetResponseFormat2, SDKValidationError>;
2095
- /** @internal */
2096
- export declare const CreatePromptSnippetResponseFormatPromptSnippetsType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetResponseFormatPromptSnippetsType>;
2097
- /** @internal */
2098
- export declare const CreatePromptSnippetResponseFormatPromptSnippetsType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetResponseFormatPromptSnippetsType>;
2099
- /**
2100
- * @internal
2101
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2102
- */
2103
- export declare namespace CreatePromptSnippetResponseFormatPromptSnippetsType$ {
2104
- /** @deprecated use `CreatePromptSnippetResponseFormatPromptSnippetsType$inboundSchema` instead. */
2105
- const inboundSchema: z.ZodNativeEnum<{
2106
- readonly JsonSchema: "json_schema";
2107
- }>;
2108
- /** @deprecated use `CreatePromptSnippetResponseFormatPromptSnippetsType$outboundSchema` instead. */
2109
- const outboundSchema: z.ZodNativeEnum<{
2110
- readonly JsonSchema: "json_schema";
2111
- }>;
2112
- }
2113
- /** @internal */
2114
- export declare const CreatePromptSnippetResponseFormatJsonSchema$inboundSchema: z.ZodType<CreatePromptSnippetResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
2115
- /** @internal */
2116
- export type CreatePromptSnippetResponseFormatJsonSchema$Outbound = {
2117
- name: string;
2118
- strict: boolean;
2119
- schema: {
2120
- [k: string]: any;
2121
- };
2122
- };
2123
- /** @internal */
2124
- export declare const CreatePromptSnippetResponseFormatJsonSchema$outboundSchema: z.ZodType<CreatePromptSnippetResponseFormatJsonSchema$Outbound, z.ZodTypeDef, CreatePromptSnippetResponseFormatJsonSchema>;
2125
- /**
2126
- * @internal
2127
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2128
- */
2129
- export declare namespace CreatePromptSnippetResponseFormatJsonSchema$ {
2130
- /** @deprecated use `CreatePromptSnippetResponseFormatJsonSchema$inboundSchema` instead. */
2131
- const inboundSchema: z.ZodType<CreatePromptSnippetResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
2132
- /** @deprecated use `CreatePromptSnippetResponseFormatJsonSchema$outboundSchema` instead. */
2133
- const outboundSchema: z.ZodType<CreatePromptSnippetResponseFormatJsonSchema$Outbound, z.ZodTypeDef, CreatePromptSnippetResponseFormatJsonSchema>;
2134
- /** @deprecated use `CreatePromptSnippetResponseFormatJsonSchema$Outbound` instead. */
2135
- type Outbound = CreatePromptSnippetResponseFormatJsonSchema$Outbound;
2136
- }
2137
- export declare function createPromptSnippetResponseFormatJsonSchemaToJSON(createPromptSnippetResponseFormatJsonSchema: CreatePromptSnippetResponseFormatJsonSchema): string;
2138
- export declare function createPromptSnippetResponseFormatJsonSchemaFromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetResponseFormatJsonSchema, SDKValidationError>;
2139
- /** @internal */
2140
- export declare const CreatePromptSnippetResponseFormat1$inboundSchema: z.ZodType<CreatePromptSnippetResponseFormat1, z.ZodTypeDef, unknown>;
2141
- /** @internal */
2142
- export type CreatePromptSnippetResponseFormat1$Outbound = {
2143
- type: string;
2144
- json_schema: CreatePromptSnippetResponseFormatJsonSchema$Outbound;
2145
- };
2146
- /** @internal */
2147
- export declare const CreatePromptSnippetResponseFormat1$outboundSchema: z.ZodType<CreatePromptSnippetResponseFormat1$Outbound, z.ZodTypeDef, CreatePromptSnippetResponseFormat1>;
2148
- /**
2149
- * @internal
2150
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2151
- */
2152
- export declare namespace CreatePromptSnippetResponseFormat1$ {
2153
- /** @deprecated use `CreatePromptSnippetResponseFormat1$inboundSchema` instead. */
2154
- const inboundSchema: z.ZodType<CreatePromptSnippetResponseFormat1, z.ZodTypeDef, unknown>;
2155
- /** @deprecated use `CreatePromptSnippetResponseFormat1$outboundSchema` instead. */
2156
- const outboundSchema: z.ZodType<CreatePromptSnippetResponseFormat1$Outbound, z.ZodTypeDef, CreatePromptSnippetResponseFormat1>;
2157
- /** @deprecated use `CreatePromptSnippetResponseFormat1$Outbound` instead. */
2158
- type Outbound = CreatePromptSnippetResponseFormat1$Outbound;
2159
- }
2160
- export declare function createPromptSnippetResponseFormat1ToJSON(createPromptSnippetResponseFormat1: CreatePromptSnippetResponseFormat1): string;
2161
- export declare function createPromptSnippetResponseFormat1FromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetResponseFormat1, SDKValidationError>;
2162
- /** @internal */
2163
- export declare const CreatePromptSnippetResponseFormat$inboundSchema: z.ZodType<CreatePromptSnippetResponseFormat, z.ZodTypeDef, unknown>;
2164
- /** @internal */
2165
- export type CreatePromptSnippetResponseFormat$Outbound = CreatePromptSnippetResponseFormat2$Outbound | CreatePromptSnippetResponseFormat1$Outbound;
2166
- /** @internal */
2167
- export declare const CreatePromptSnippetResponseFormat$outboundSchema: z.ZodType<CreatePromptSnippetResponseFormat$Outbound, z.ZodTypeDef, CreatePromptSnippetResponseFormat>;
2168
- /**
2169
- * @internal
2170
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2171
- */
2172
- export declare namespace CreatePromptSnippetResponseFormat$ {
2173
- /** @deprecated use `CreatePromptSnippetResponseFormat$inboundSchema` instead. */
2174
- const inboundSchema: z.ZodType<CreatePromptSnippetResponseFormat, z.ZodTypeDef, unknown>;
2175
- /** @deprecated use `CreatePromptSnippetResponseFormat$outboundSchema` instead. */
2176
- const outboundSchema: z.ZodType<CreatePromptSnippetResponseFormat$Outbound, z.ZodTypeDef, CreatePromptSnippetResponseFormat>;
2177
- /** @deprecated use `CreatePromptSnippetResponseFormat$Outbound` instead. */
2178
- type Outbound = CreatePromptSnippetResponseFormat$Outbound;
2179
- }
2180
- export declare function createPromptSnippetResponseFormatToJSON(createPromptSnippetResponseFormat: CreatePromptSnippetResponseFormat): string;
2181
- export declare function createPromptSnippetResponseFormatFromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetResponseFormat, SDKValidationError>;
2182
- /** @internal */
2183
- export declare const CreatePromptSnippetPhotoRealVersion$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPhotoRealVersion>;
2184
- /** @internal */
2185
- export declare const CreatePromptSnippetPhotoRealVersion$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPhotoRealVersion>;
2186
- /**
2187
- * @internal
2188
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2189
- */
2190
- export declare namespace CreatePromptSnippetPhotoRealVersion$ {
2191
- /** @deprecated use `CreatePromptSnippetPhotoRealVersion$inboundSchema` instead. */
2192
- const inboundSchema: z.ZodNativeEnum<{
2193
- readonly V1: "v1";
2194
- readonly V2: "v2";
2195
- }>;
2196
- /** @deprecated use `CreatePromptSnippetPhotoRealVersion$outboundSchema` instead. */
2197
- const outboundSchema: z.ZodNativeEnum<{
2198
- readonly V1: "v1";
2199
- readonly V2: "v2";
2200
- }>;
2201
- }
2202
- /** @internal */
2203
- export declare const CreatePromptSnippetEncodingFormat$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetEncodingFormat>;
2204
- /** @internal */
2205
- export declare const CreatePromptSnippetEncodingFormat$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetEncodingFormat>;
2206
- /**
2207
- * @internal
2208
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2209
- */
2210
- export declare namespace CreatePromptSnippetEncodingFormat$ {
2211
- /** @deprecated use `CreatePromptSnippetEncodingFormat$inboundSchema` instead. */
2212
- const inboundSchema: z.ZodNativeEnum<{
2213
- readonly Float: "float";
2214
- readonly Base64: "base64";
2215
- }>;
2216
- /** @deprecated use `CreatePromptSnippetEncodingFormat$outboundSchema` instead. */
2217
- const outboundSchema: z.ZodNativeEnum<{
2218
- readonly Float: "float";
2219
- readonly Base64: "base64";
2220
- }>;
2221
- }
2222
- /** @internal */
2223
- export declare const CreatePromptSnippetReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetReasoningEffort>;
2224
- /** @internal */
2225
- export declare const CreatePromptSnippetReasoningEffort$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetReasoningEffort>;
2226
- /**
2227
- * @internal
2228
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2229
- */
2230
- export declare namespace CreatePromptSnippetReasoningEffort$ {
2231
- /** @deprecated use `CreatePromptSnippetReasoningEffort$inboundSchema` instead. */
2232
- const inboundSchema: z.ZodNativeEnum<{
2233
- readonly Low: "low";
2234
- readonly Medium: "medium";
2235
- readonly High: "high";
2236
- }>;
2237
- /** @deprecated use `CreatePromptSnippetReasoningEffort$outboundSchema` instead. */
2238
- const outboundSchema: z.ZodNativeEnum<{
2239
- readonly Low: "low";
2240
- readonly Medium: "medium";
2241
- readonly High: "high";
2242
- }>;
2243
- }
2244
- /** @internal */
2245
- export declare const CreatePromptSnippetModelParameters$inboundSchema: z.ZodType<CreatePromptSnippetModelParameters, z.ZodTypeDef, unknown>;
2246
- /** @internal */
2247
- export type CreatePromptSnippetModelParameters$Outbound = {
2248
- temperature?: number | undefined;
2249
- maxTokens?: number | undefined;
2250
- topK?: number | undefined;
2251
- topP?: number | undefined;
2252
- frequencyPenalty?: number | undefined;
2253
- presencePenalty?: number | undefined;
2254
- numImages?: number | undefined;
2255
- seed?: number | undefined;
2256
- format?: string | undefined;
2257
- dimensions?: string | undefined;
2258
- quality?: string | undefined;
2259
- style?: string | undefined;
2260
- responseFormat?: CreatePromptSnippetResponseFormat2$Outbound | CreatePromptSnippetResponseFormat1$Outbound | null | undefined;
2261
- photoRealVersion?: string | undefined;
2262
- encoding_format?: string | undefined;
2263
- reasoningEffort?: string | undefined;
2264
- };
2265
- /** @internal */
2266
- export declare const CreatePromptSnippetModelParameters$outboundSchema: z.ZodType<CreatePromptSnippetModelParameters$Outbound, z.ZodTypeDef, CreatePromptSnippetModelParameters>;
2267
- /**
2268
- * @internal
2269
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2270
- */
2271
- export declare namespace CreatePromptSnippetModelParameters$ {
2272
- /** @deprecated use `CreatePromptSnippetModelParameters$inboundSchema` instead. */
2273
- const inboundSchema: z.ZodType<CreatePromptSnippetModelParameters, z.ZodTypeDef, unknown>;
2274
- /** @deprecated use `CreatePromptSnippetModelParameters$outboundSchema` instead. */
2275
- const outboundSchema: z.ZodType<CreatePromptSnippetModelParameters$Outbound, z.ZodTypeDef, CreatePromptSnippetModelParameters>;
2276
- /** @deprecated use `CreatePromptSnippetModelParameters$Outbound` instead. */
2277
- type Outbound = CreatePromptSnippetModelParameters$Outbound;
2278
- }
2279
- export declare function createPromptSnippetModelParametersToJSON(createPromptSnippetModelParameters: CreatePromptSnippetModelParameters): string;
2280
- export declare function createPromptSnippetModelParametersFromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetModelParameters, SDKValidationError>;
2281
- /** @internal */
2282
- export declare const CreatePromptSnippetProvider$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetProvider>;
2283
- /** @internal */
2284
- export declare const CreatePromptSnippetProvider$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetProvider>;
2285
- /**
2286
- * @internal
2287
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2288
- */
2289
- export declare namespace CreatePromptSnippetProvider$ {
2290
- /** @deprecated use `CreatePromptSnippetProvider$inboundSchema` instead. */
2291
- const inboundSchema: z.ZodNativeEnum<{
2292
- readonly Cohere: "cohere";
2293
- readonly Openai: "openai";
2294
- readonly Anthropic: "anthropic";
2295
- readonly Huggingface: "huggingface";
2296
- readonly Replicate: "replicate";
2297
- readonly Google: "google";
2298
- readonly GoogleAi: "google-ai";
2299
- readonly Azure: "azure";
2300
- readonly Aws: "aws";
2301
- readonly Anyscale: "anyscale";
2302
- readonly Perplexity: "perplexity";
2303
- readonly Groq: "groq";
2304
- readonly Fal: "fal";
2305
- readonly Leonardoai: "leonardoai";
2306
- readonly Nvidia: "nvidia";
2307
- readonly Jina: "jina";
2308
- readonly Togetherai: "togetherai";
2309
- readonly Elevenlabs: "elevenlabs";
2310
- }>;
2311
- /** @deprecated use `CreatePromptSnippetProvider$outboundSchema` instead. */
2312
- const outboundSchema: z.ZodNativeEnum<{
2313
- readonly Cohere: "cohere";
2314
- readonly Openai: "openai";
2315
- readonly Anthropic: "anthropic";
2316
- readonly Huggingface: "huggingface";
2317
- readonly Replicate: "replicate";
2318
- readonly Google: "google";
2319
- readonly GoogleAi: "google-ai";
2320
- readonly Azure: "azure";
2321
- readonly Aws: "aws";
2322
- readonly Anyscale: "anyscale";
2323
- readonly Perplexity: "perplexity";
2324
- readonly Groq: "groq";
2325
- readonly Fal: "fal";
2326
- readonly Leonardoai: "leonardoai";
2327
- readonly Nvidia: "nvidia";
2328
- readonly Jina: "jina";
2329
- readonly Togetherai: "togetherai";
2330
- readonly Elevenlabs: "elevenlabs";
2331
- }>;
2332
- }
2333
- /** @internal */
2334
- export declare const CreatePromptSnippetPromptSnippetsRole$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPromptSnippetsRole>;
2335
- /** @internal */
2336
- export declare const CreatePromptSnippetPromptSnippetsRole$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPromptSnippetsRole>;
2337
- /**
2338
- * @internal
2339
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2340
- */
2341
- export declare namespace CreatePromptSnippetPromptSnippetsRole$ {
2342
- /** @deprecated use `CreatePromptSnippetPromptSnippetsRole$inboundSchema` instead. */
2343
- const inboundSchema: z.ZodNativeEnum<{
2344
- readonly System: "system";
2345
- readonly Assistant: "assistant";
2346
- readonly User: "user";
2347
- readonly Exception: "exception";
2348
- readonly Tool: "tool";
2349
- readonly Prompt: "prompt";
2350
- readonly Correction: "correction";
2351
- readonly ExpectedOutput: "expected_output";
2352
- }>;
2353
- /** @deprecated use `CreatePromptSnippetPromptSnippetsRole$outboundSchema` instead. */
2354
- const outboundSchema: z.ZodNativeEnum<{
2355
- readonly System: "system";
2356
- readonly Assistant: "assistant";
2357
- readonly User: "user";
2358
- readonly Exception: "exception";
2359
- readonly Tool: "tool";
2360
- readonly Prompt: "prompt";
2361
- readonly Correction: "correction";
2362
- readonly ExpectedOutput: "expected_output";
2363
- }>;
2364
- }
2365
- /** @internal */
2366
- export declare const CreatePromptSnippet2PromptSnippetsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippet2PromptSnippetsResponse200Type>;
2367
- /** @internal */
2368
- export declare const CreatePromptSnippet2PromptSnippetsResponse200Type$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippet2PromptSnippetsResponse200Type>;
2369
- /**
2370
- * @internal
2371
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2372
- */
2373
- export declare namespace CreatePromptSnippet2PromptSnippetsResponse200Type$ {
2374
- /** @deprecated use `CreatePromptSnippet2PromptSnippetsResponse200Type$inboundSchema` instead. */
2375
- const inboundSchema: z.ZodNativeEnum<{
2376
- readonly ImageUrl: "image_url";
2377
- }>;
2378
- /** @deprecated use `CreatePromptSnippet2PromptSnippetsResponse200Type$outboundSchema` instead. */
2379
- const outboundSchema: z.ZodNativeEnum<{
2380
- readonly ImageUrl: "image_url";
2381
- }>;
2382
- }
2383
- /** @internal */
2384
- export declare const CreatePromptSnippet2PromptSnippetsImageUrl$inboundSchema: z.ZodType<CreatePromptSnippet2PromptSnippetsImageUrl, z.ZodTypeDef, unknown>;
2385
- /** @internal */
2386
- export type CreatePromptSnippet2PromptSnippetsImageUrl$Outbound = {
2387
- id?: string | undefined;
2388
- url: string;
2389
- detail?: string | undefined;
2390
- };
2391
- /** @internal */
2392
- export declare const CreatePromptSnippet2PromptSnippetsImageUrl$outboundSchema: z.ZodType<CreatePromptSnippet2PromptSnippetsImageUrl$Outbound, z.ZodTypeDef, CreatePromptSnippet2PromptSnippetsImageUrl>;
2393
- /**
2394
- * @internal
2395
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2396
- */
2397
- export declare namespace CreatePromptSnippet2PromptSnippetsImageUrl$ {
2398
- /** @deprecated use `CreatePromptSnippet2PromptSnippetsImageUrl$inboundSchema` instead. */
2399
- const inboundSchema: z.ZodType<CreatePromptSnippet2PromptSnippetsImageUrl, z.ZodTypeDef, unknown>;
2400
- /** @deprecated use `CreatePromptSnippet2PromptSnippetsImageUrl$outboundSchema` instead. */
2401
- const outboundSchema: z.ZodType<CreatePromptSnippet2PromptSnippetsImageUrl$Outbound, z.ZodTypeDef, CreatePromptSnippet2PromptSnippetsImageUrl>;
2402
- /** @deprecated use `CreatePromptSnippet2PromptSnippetsImageUrl$Outbound` instead. */
2403
- type Outbound = CreatePromptSnippet2PromptSnippetsImageUrl$Outbound;
2404
- }
2405
- export declare function createPromptSnippet2PromptSnippetsImageUrlToJSON(createPromptSnippet2PromptSnippetsImageUrl: CreatePromptSnippet2PromptSnippetsImageUrl): string;
2406
- export declare function createPromptSnippet2PromptSnippetsImageUrlFromJSON(jsonString: string): SafeParseResult<CreatePromptSnippet2PromptSnippetsImageUrl, SDKValidationError>;
2407
- /** @internal */
2408
- export declare const CreatePromptSnippet2PromptSnippets2$inboundSchema: z.ZodType<CreatePromptSnippet2PromptSnippets2, z.ZodTypeDef, unknown>;
2409
- /** @internal */
2410
- export type CreatePromptSnippet2PromptSnippets2$Outbound = {
2411
- type: string;
2412
- image_url: CreatePromptSnippet2PromptSnippetsImageUrl$Outbound;
2413
- };
2414
- /** @internal */
2415
- export declare const CreatePromptSnippet2PromptSnippets2$outboundSchema: z.ZodType<CreatePromptSnippet2PromptSnippets2$Outbound, z.ZodTypeDef, CreatePromptSnippet2PromptSnippets2>;
2416
- /**
2417
- * @internal
2418
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2419
- */
2420
- export declare namespace CreatePromptSnippet2PromptSnippets2$ {
2421
- /** @deprecated use `CreatePromptSnippet2PromptSnippets2$inboundSchema` instead. */
2422
- const inboundSchema: z.ZodType<CreatePromptSnippet2PromptSnippets2, z.ZodTypeDef, unknown>;
2423
- /** @deprecated use `CreatePromptSnippet2PromptSnippets2$outboundSchema` instead. */
2424
- const outboundSchema: z.ZodType<CreatePromptSnippet2PromptSnippets2$Outbound, z.ZodTypeDef, CreatePromptSnippet2PromptSnippets2>;
2425
- /** @deprecated use `CreatePromptSnippet2PromptSnippets2$Outbound` instead. */
2426
- type Outbound = CreatePromptSnippet2PromptSnippets2$Outbound;
2427
- }
2428
- export declare function createPromptSnippet2PromptSnippets2ToJSON(createPromptSnippet2PromptSnippets2: CreatePromptSnippet2PromptSnippets2): string;
2429
- export declare function createPromptSnippet2PromptSnippets2FromJSON(jsonString: string): SafeParseResult<CreatePromptSnippet2PromptSnippets2, SDKValidationError>;
2430
- /** @internal */
2431
- export declare const CreatePromptSnippet2PromptSnippetsResponseType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippet2PromptSnippetsResponseType>;
2432
- /** @internal */
2433
- export declare const CreatePromptSnippet2PromptSnippetsResponseType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippet2PromptSnippetsResponseType>;
2434
- /**
2435
- * @internal
2436
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2437
- */
2438
- export declare namespace CreatePromptSnippet2PromptSnippetsResponseType$ {
2439
- /** @deprecated use `CreatePromptSnippet2PromptSnippetsResponseType$inboundSchema` instead. */
2440
- const inboundSchema: z.ZodNativeEnum<{
2441
- readonly Text: "text";
2442
- }>;
2443
- /** @deprecated use `CreatePromptSnippet2PromptSnippetsResponseType$outboundSchema` instead. */
2444
- const outboundSchema: z.ZodNativeEnum<{
2445
- readonly Text: "text";
2446
- }>;
2447
- }
2448
- /** @internal */
2449
- export declare const CreatePromptSnippet2PromptSnippets1$inboundSchema: z.ZodType<CreatePromptSnippet2PromptSnippets1, z.ZodTypeDef, unknown>;
2450
- /** @internal */
2451
- export type CreatePromptSnippet2PromptSnippets1$Outbound = {
2452
- type: string;
2453
- text: string;
2454
- };
2455
- /** @internal */
2456
- export declare const CreatePromptSnippet2PromptSnippets1$outboundSchema: z.ZodType<CreatePromptSnippet2PromptSnippets1$Outbound, z.ZodTypeDef, CreatePromptSnippet2PromptSnippets1>;
2457
- /**
2458
- * @internal
2459
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2460
- */
2461
- export declare namespace CreatePromptSnippet2PromptSnippets1$ {
2462
- /** @deprecated use `CreatePromptSnippet2PromptSnippets1$inboundSchema` instead. */
2463
- const inboundSchema: z.ZodType<CreatePromptSnippet2PromptSnippets1, z.ZodTypeDef, unknown>;
2464
- /** @deprecated use `CreatePromptSnippet2PromptSnippets1$outboundSchema` instead. */
2465
- const outboundSchema: z.ZodType<CreatePromptSnippet2PromptSnippets1$Outbound, z.ZodTypeDef, CreatePromptSnippet2PromptSnippets1>;
2466
- /** @deprecated use `CreatePromptSnippet2PromptSnippets1$Outbound` instead. */
2467
- type Outbound = CreatePromptSnippet2PromptSnippets1$Outbound;
2468
- }
2469
- export declare function createPromptSnippet2PromptSnippets1ToJSON(createPromptSnippet2PromptSnippets1: CreatePromptSnippet2PromptSnippets1): string;
2470
- export declare function createPromptSnippet2PromptSnippets1FromJSON(jsonString: string): SafeParseResult<CreatePromptSnippet2PromptSnippets1, SDKValidationError>;
2471
- /** @internal */
2472
- export declare const CreatePromptSnippetContentPromptSnippets2$inboundSchema: z.ZodType<CreatePromptSnippetContentPromptSnippets2, z.ZodTypeDef, unknown>;
2473
- /** @internal */
2474
- export type CreatePromptSnippetContentPromptSnippets2$Outbound = CreatePromptSnippet2PromptSnippets1$Outbound | CreatePromptSnippet2PromptSnippets2$Outbound;
2475
- /** @internal */
2476
- export declare const CreatePromptSnippetContentPromptSnippets2$outboundSchema: z.ZodType<CreatePromptSnippetContentPromptSnippets2$Outbound, z.ZodTypeDef, CreatePromptSnippetContentPromptSnippets2>;
2477
- /**
2478
- * @internal
2479
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2480
- */
2481
- export declare namespace CreatePromptSnippetContentPromptSnippets2$ {
2482
- /** @deprecated use `CreatePromptSnippetContentPromptSnippets2$inboundSchema` instead. */
2483
- const inboundSchema: z.ZodType<CreatePromptSnippetContentPromptSnippets2, z.ZodTypeDef, unknown>;
2484
- /** @deprecated use `CreatePromptSnippetContentPromptSnippets2$outboundSchema` instead. */
2485
- const outboundSchema: z.ZodType<CreatePromptSnippetContentPromptSnippets2$Outbound, z.ZodTypeDef, CreatePromptSnippetContentPromptSnippets2>;
2486
- /** @deprecated use `CreatePromptSnippetContentPromptSnippets2$Outbound` instead. */
2487
- type Outbound = CreatePromptSnippetContentPromptSnippets2$Outbound;
2488
- }
2489
- export declare function createPromptSnippetContentPromptSnippets2ToJSON(createPromptSnippetContentPromptSnippets2: CreatePromptSnippetContentPromptSnippets2): string;
2490
- export declare function createPromptSnippetContentPromptSnippets2FromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetContentPromptSnippets2, SDKValidationError>;
2491
- /** @internal */
2492
- export declare const CreatePromptSnippetPromptSnippetsContent$inboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsContent, z.ZodTypeDef, unknown>;
2493
- /** @internal */
2494
- export type CreatePromptSnippetPromptSnippetsContent$Outbound = string | Array<CreatePromptSnippet2PromptSnippets1$Outbound | CreatePromptSnippet2PromptSnippets2$Outbound>;
2495
- /** @internal */
2496
- export declare const CreatePromptSnippetPromptSnippetsContent$outboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsContent$Outbound, z.ZodTypeDef, CreatePromptSnippetPromptSnippetsContent>;
2497
- /**
2498
- * @internal
2499
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2500
- */
2501
- export declare namespace CreatePromptSnippetPromptSnippetsContent$ {
2502
- /** @deprecated use `CreatePromptSnippetPromptSnippetsContent$inboundSchema` instead. */
2503
- const inboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsContent, z.ZodTypeDef, unknown>;
2504
- /** @deprecated use `CreatePromptSnippetPromptSnippetsContent$outboundSchema` instead. */
2505
- const outboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsContent$Outbound, z.ZodTypeDef, CreatePromptSnippetPromptSnippetsContent>;
2506
- /** @deprecated use `CreatePromptSnippetPromptSnippetsContent$Outbound` instead. */
2507
- type Outbound = CreatePromptSnippetPromptSnippetsContent$Outbound;
2508
- }
2509
- export declare function createPromptSnippetPromptSnippetsContentToJSON(createPromptSnippetPromptSnippetsContent: CreatePromptSnippetPromptSnippetsContent): string;
2510
- export declare function createPromptSnippetPromptSnippetsContentFromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetPromptSnippetsContent, SDKValidationError>;
2511
- /** @internal */
2512
- export declare const CreatePromptSnippetPromptSnippetsResponseType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPromptSnippetsResponseType>;
2513
- /** @internal */
2514
- export declare const CreatePromptSnippetPromptSnippetsResponseType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPromptSnippetsResponseType>;
2515
- /**
2516
- * @internal
2517
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2518
- */
2519
- export declare namespace CreatePromptSnippetPromptSnippetsResponseType$ {
2520
- /** @deprecated use `CreatePromptSnippetPromptSnippetsResponseType$inboundSchema` instead. */
2521
- const inboundSchema: z.ZodNativeEnum<{
2522
- readonly Function: "function";
2523
- }>;
2524
- /** @deprecated use `CreatePromptSnippetPromptSnippetsResponseType$outboundSchema` instead. */
2525
- const outboundSchema: z.ZodNativeEnum<{
2526
- readonly Function: "function";
2527
- }>;
2528
- }
2529
- /** @internal */
2530
- export declare const CreatePromptSnippetPromptSnippetsFunction$inboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsFunction, z.ZodTypeDef, unknown>;
2531
- /** @internal */
2532
- export type CreatePromptSnippetPromptSnippetsFunction$Outbound = {
2533
- name: string;
2534
- arguments: string;
2535
- };
2536
- /** @internal */
2537
- export declare const CreatePromptSnippetPromptSnippetsFunction$outboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsFunction$Outbound, z.ZodTypeDef, CreatePromptSnippetPromptSnippetsFunction>;
2538
- /**
2539
- * @internal
2540
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2541
- */
2542
- export declare namespace CreatePromptSnippetPromptSnippetsFunction$ {
2543
- /** @deprecated use `CreatePromptSnippetPromptSnippetsFunction$inboundSchema` instead. */
2544
- const inboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsFunction, z.ZodTypeDef, unknown>;
2545
- /** @deprecated use `CreatePromptSnippetPromptSnippetsFunction$outboundSchema` instead. */
2546
- const outboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsFunction$Outbound, z.ZodTypeDef, CreatePromptSnippetPromptSnippetsFunction>;
2547
- /** @deprecated use `CreatePromptSnippetPromptSnippetsFunction$Outbound` instead. */
2548
- type Outbound = CreatePromptSnippetPromptSnippetsFunction$Outbound;
2549
- }
2550
- export declare function createPromptSnippetPromptSnippetsFunctionToJSON(createPromptSnippetPromptSnippetsFunction: CreatePromptSnippetPromptSnippetsFunction): string;
2551
- export declare function createPromptSnippetPromptSnippetsFunctionFromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetPromptSnippetsFunction, SDKValidationError>;
2552
- /** @internal */
2553
- export declare const CreatePromptSnippetPromptSnippetsToolCalls$inboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsToolCalls, z.ZodTypeDef, unknown>;
2554
- /** @internal */
2555
- export type CreatePromptSnippetPromptSnippetsToolCalls$Outbound = {
2556
- id?: string | undefined;
2557
- index?: number | undefined;
2558
- type: string;
2559
- function: CreatePromptSnippetPromptSnippetsFunction$Outbound;
2560
- };
2561
- /** @internal */
2562
- export declare const CreatePromptSnippetPromptSnippetsToolCalls$outboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsToolCalls$Outbound, z.ZodTypeDef, CreatePromptSnippetPromptSnippetsToolCalls>;
2563
- /**
2564
- * @internal
2565
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2566
- */
2567
- export declare namespace CreatePromptSnippetPromptSnippetsToolCalls$ {
2568
- /** @deprecated use `CreatePromptSnippetPromptSnippetsToolCalls$inboundSchema` instead. */
2569
- const inboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsToolCalls, z.ZodTypeDef, unknown>;
2570
- /** @deprecated use `CreatePromptSnippetPromptSnippetsToolCalls$outboundSchema` instead. */
2571
- const outboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsToolCalls$Outbound, z.ZodTypeDef, CreatePromptSnippetPromptSnippetsToolCalls>;
2572
- /** @deprecated use `CreatePromptSnippetPromptSnippetsToolCalls$Outbound` instead. */
2573
- type Outbound = CreatePromptSnippetPromptSnippetsToolCalls$Outbound;
2574
- }
2575
- export declare function createPromptSnippetPromptSnippetsToolCallsToJSON(createPromptSnippetPromptSnippetsToolCalls: CreatePromptSnippetPromptSnippetsToolCalls): string;
2576
- export declare function createPromptSnippetPromptSnippetsToolCallsFromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetPromptSnippetsToolCalls, SDKValidationError>;
2577
- /** @internal */
2578
- export declare const CreatePromptSnippetPromptSnippetsMessages$inboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsMessages, z.ZodTypeDef, unknown>;
2579
- /** @internal */
2580
- export type CreatePromptSnippetPromptSnippetsMessages$Outbound = {
2581
- role: string;
2582
- content: string | Array<CreatePromptSnippet2PromptSnippets1$Outbound | CreatePromptSnippet2PromptSnippets2$Outbound>;
2583
- tool_calls?: Array<CreatePromptSnippetPromptSnippetsToolCalls$Outbound> | undefined;
2584
- };
2585
- /** @internal */
2586
- export declare const CreatePromptSnippetPromptSnippetsMessages$outboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsMessages$Outbound, z.ZodTypeDef, CreatePromptSnippetPromptSnippetsMessages>;
2587
- /**
2588
- * @internal
2589
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2590
- */
2591
- export declare namespace CreatePromptSnippetPromptSnippetsMessages$ {
2592
- /** @deprecated use `CreatePromptSnippetPromptSnippetsMessages$inboundSchema` instead. */
2593
- const inboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsMessages, z.ZodTypeDef, unknown>;
2594
- /** @deprecated use `CreatePromptSnippetPromptSnippetsMessages$outboundSchema` instead. */
2595
- const outboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsMessages$Outbound, z.ZodTypeDef, CreatePromptSnippetPromptSnippetsMessages>;
2596
- /** @deprecated use `CreatePromptSnippetPromptSnippetsMessages$Outbound` instead. */
2597
- type Outbound = CreatePromptSnippetPromptSnippetsMessages$Outbound;
2598
- }
2599
- export declare function createPromptSnippetPromptSnippetsMessagesToJSON(createPromptSnippetPromptSnippetsMessages: CreatePromptSnippetPromptSnippetsMessages): string;
2600
- export declare function createPromptSnippetPromptSnippetsMessagesFromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetPromptSnippetsMessages, SDKValidationError>;
2601
- /** @internal */
2602
- export declare const CreatePromptSnippetPromptConfig$inboundSchema: z.ZodType<CreatePromptSnippetPromptConfig, z.ZodTypeDef, unknown>;
2603
- /** @internal */
2604
- export type CreatePromptSnippetPromptConfig$Outbound = {
2605
- stream?: boolean | undefined;
2606
- model?: string | undefined;
2607
- model_db_id?: string | undefined;
2608
- model_type?: string | undefined;
2609
- model_parameters?: CreatePromptSnippetModelParameters$Outbound | undefined;
2610
- provider?: string | undefined;
2611
- integration_id?: string | null | undefined;
2612
- version?: string | undefined;
2613
- messages: Array<CreatePromptSnippetPromptSnippetsMessages$Outbound>;
2614
- };
2615
- /** @internal */
2616
- export declare const CreatePromptSnippetPromptConfig$outboundSchema: z.ZodType<CreatePromptSnippetPromptConfig$Outbound, z.ZodTypeDef, CreatePromptSnippetPromptConfig>;
2617
- /**
2618
- * @internal
2619
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2620
- */
2621
- export declare namespace CreatePromptSnippetPromptConfig$ {
2622
- /** @deprecated use `CreatePromptSnippetPromptConfig$inboundSchema` instead. */
2623
- const inboundSchema: z.ZodType<CreatePromptSnippetPromptConfig, z.ZodTypeDef, unknown>;
2624
- /** @deprecated use `CreatePromptSnippetPromptConfig$outboundSchema` instead. */
2625
- const outboundSchema: z.ZodType<CreatePromptSnippetPromptConfig$Outbound, z.ZodTypeDef, CreatePromptSnippetPromptConfig>;
2626
- /** @deprecated use `CreatePromptSnippetPromptConfig$Outbound` instead. */
2627
- type Outbound = CreatePromptSnippetPromptConfig$Outbound;
2628
- }
2629
- export declare function createPromptSnippetPromptConfigToJSON(createPromptSnippetPromptConfig: CreatePromptSnippetPromptConfig): string;
2630
- export declare function createPromptSnippetPromptConfigFromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetPromptConfig, SDKValidationError>;
2631
- /** @internal */
2632
- export declare const CreatePromptSnippetUseCases$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetUseCases>;
2633
- /** @internal */
2634
- export declare const CreatePromptSnippetUseCases$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetUseCases>;
2635
- /**
2636
- * @internal
2637
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2638
- */
2639
- export declare namespace CreatePromptSnippetUseCases$ {
2640
- /** @deprecated use `CreatePromptSnippetUseCases$inboundSchema` instead. */
2641
- const inboundSchema: z.ZodNativeEnum<{
2642
- readonly Agents: "Agents";
2643
- readonly AgentsSimulations: "Agents simulations";
2644
- readonly APIInteraction: "API interaction";
2645
- readonly AutonomousAgents: "Autonomous Agents";
2646
- readonly Chatbots: "Chatbots";
2647
- readonly Classification: "Classification";
2648
- readonly CodeUnderstanding: "Code understanding";
2649
- readonly CodeWriting: "Code writing";
2650
- readonly DocumentsQA: "Documents QA";
2651
- readonly Conversation: "Conversation";
2652
- readonly Extraction: "Extraction";
2653
- readonly MultiModal: "Multi-modal";
2654
- readonly SelfChecking: "Self-checking";
2655
- readonly Sql: "SQL";
2656
- readonly Summarization: "Summarization";
2657
- readonly Tagging: "Tagging";
2658
- }>;
2659
- /** @deprecated use `CreatePromptSnippetUseCases$outboundSchema` instead. */
2660
- const outboundSchema: z.ZodNativeEnum<{
2661
- readonly Agents: "Agents";
2662
- readonly AgentsSimulations: "Agents simulations";
2663
- readonly APIInteraction: "API interaction";
2664
- readonly AutonomousAgents: "Autonomous Agents";
2665
- readonly Chatbots: "Chatbots";
2666
- readonly Classification: "Classification";
2667
- readonly CodeUnderstanding: "Code understanding";
2668
- readonly CodeWriting: "Code writing";
2669
- readonly DocumentsQA: "Documents QA";
2670
- readonly Conversation: "Conversation";
2671
- readonly Extraction: "Extraction";
2672
- readonly MultiModal: "Multi-modal";
2673
- readonly SelfChecking: "Self-checking";
2674
- readonly Sql: "SQL";
2675
- readonly Summarization: "Summarization";
2676
- readonly Tagging: "Tagging";
2677
- }>;
2678
- }
2679
- /** @internal */
2680
- export declare const CreatePromptSnippetLanguage$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetLanguage>;
2681
- /** @internal */
2682
- export declare const CreatePromptSnippetLanguage$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetLanguage>;
2683
- /**
2684
- * @internal
2685
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2686
- */
2687
- export declare namespace CreatePromptSnippetLanguage$ {
2688
- /** @deprecated use `CreatePromptSnippetLanguage$inboundSchema` instead. */
2689
- const inboundSchema: z.ZodNativeEnum<{
2690
- readonly Chinese: "Chinese";
2691
- readonly Dutch: "Dutch";
2692
- readonly English: "English";
2693
- readonly French: "French";
2694
- readonly German: "German";
2695
- readonly Russian: "Russian";
2696
- readonly Spanish: "Spanish";
2697
- }>;
2698
- /** @deprecated use `CreatePromptSnippetLanguage$outboundSchema` instead. */
2699
- const outboundSchema: z.ZodNativeEnum<{
2700
- readonly Chinese: "Chinese";
2701
- readonly Dutch: "Dutch";
2702
- readonly English: "English";
2703
- readonly French: "French";
2704
- readonly German: "German";
2705
- readonly Russian: "Russian";
2706
- readonly Spanish: "Spanish";
2707
- }>;
2708
- }
2709
- /** @internal */
2710
- export declare const CreatePromptSnippetPromptSnippetsMetadata$inboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsMetadata, z.ZodTypeDef, unknown>;
2711
- /** @internal */
2712
- export type CreatePromptSnippetPromptSnippetsMetadata$Outbound = {
2713
- use_cases?: Array<string> | undefined;
2714
- language?: string | undefined;
2715
- };
2716
- /** @internal */
2717
- export declare const CreatePromptSnippetPromptSnippetsMetadata$outboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsMetadata$Outbound, z.ZodTypeDef, CreatePromptSnippetPromptSnippetsMetadata>;
2718
- /**
2719
- * @internal
2720
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2721
- */
2722
- export declare namespace CreatePromptSnippetPromptSnippetsMetadata$ {
2723
- /** @deprecated use `CreatePromptSnippetPromptSnippetsMetadata$inboundSchema` instead. */
2724
- const inboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsMetadata, z.ZodTypeDef, unknown>;
2725
- /** @deprecated use `CreatePromptSnippetPromptSnippetsMetadata$outboundSchema` instead. */
2726
- const outboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsMetadata$Outbound, z.ZodTypeDef, CreatePromptSnippetPromptSnippetsMetadata>;
2727
- /** @deprecated use `CreatePromptSnippetPromptSnippetsMetadata$Outbound` instead. */
2728
- type Outbound = CreatePromptSnippetPromptSnippetsMetadata$Outbound;
2729
- }
2730
- export declare function createPromptSnippetPromptSnippetsMetadataToJSON(createPromptSnippetPromptSnippetsMetadata: CreatePromptSnippetPromptSnippetsMetadata): string;
2731
- export declare function createPromptSnippetPromptSnippetsMetadataFromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetPromptSnippetsMetadata, SDKValidationError>;
2732
- /** @internal */
2733
- export declare const CreatePromptSnippetPromptSnippetsType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPromptSnippetsType>;
2734
- /** @internal */
2735
- export declare const CreatePromptSnippetPromptSnippetsType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPromptSnippetsType>;
2736
- /**
2737
- * @internal
2738
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2739
- */
2740
- export declare namespace CreatePromptSnippetPromptSnippetsType$ {
2741
- /** @deprecated use `CreatePromptSnippetPromptSnippetsType$inboundSchema` instead. */
2742
- const inboundSchema: z.ZodNativeEnum<{
2743
- readonly Snippet: "snippet";
2744
- }>;
2745
- /** @deprecated use `CreatePromptSnippetPromptSnippetsType$outboundSchema` instead. */
2746
- const outboundSchema: z.ZodNativeEnum<{
2747
- readonly Snippet: "snippet";
2748
- }>;
2749
- }
2750
- /** @internal */
2751
- export declare const CreatePromptSnippetPromptSnippetsModelType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPromptSnippetsModelType>;
2752
- /** @internal */
2753
- export declare const CreatePromptSnippetPromptSnippetsModelType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPromptSnippetsModelType>;
2754
- /**
2755
- * @internal
2756
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2757
- */
2758
- export declare namespace CreatePromptSnippetPromptSnippetsModelType$ {
2759
- /** @deprecated use `CreatePromptSnippetPromptSnippetsModelType$inboundSchema` instead. */
2760
- const inboundSchema: z.ZodNativeEnum<{
2761
- readonly Chat: "chat";
2762
- readonly Completion: "completion";
2763
- readonly Embedding: "embedding";
2764
- readonly Vision: "vision";
2765
- readonly Image: "image";
2766
- readonly Tts: "tts";
2767
- readonly Stt: "stt";
2768
- readonly Rerank: "rerank";
2769
- readonly Moderations: "moderations";
2770
- }>;
2771
- /** @deprecated use `CreatePromptSnippetPromptSnippetsModelType$outboundSchema` instead. */
2772
- const outboundSchema: z.ZodNativeEnum<{
2773
- readonly Chat: "chat";
2774
- readonly Completion: "completion";
2775
- readonly Embedding: "embedding";
2776
- readonly Vision: "vision";
2777
- readonly Image: "image";
2778
- readonly Tts: "tts";
2779
- readonly Stt: "stt";
2780
- readonly Rerank: "rerank";
2781
- readonly Moderations: "moderations";
2782
- }>;
2783
- }
2784
- /** @internal */
2785
- export declare const CreatePromptSnippetPromptSnippetsFormat$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPromptSnippetsFormat>;
2786
- /** @internal */
2787
- export declare const CreatePromptSnippetPromptSnippetsFormat$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPromptSnippetsFormat>;
2788
- /**
2789
- * @internal
2790
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2791
- */
2792
- export declare namespace CreatePromptSnippetPromptSnippetsFormat$ {
2793
- /** @deprecated use `CreatePromptSnippetPromptSnippetsFormat$inboundSchema` instead. */
2794
- const inboundSchema: z.ZodNativeEnum<{
2795
- readonly Url: "url";
2796
- readonly B64Json: "b64_json";
2797
- readonly Text: "text";
2798
- readonly JsonObject: "json_object";
2799
- }>;
2800
- /** @deprecated use `CreatePromptSnippetPromptSnippetsFormat$outboundSchema` instead. */
2801
- const outboundSchema: z.ZodNativeEnum<{
2802
- readonly Url: "url";
2803
- readonly B64Json: "b64_json";
2804
- readonly Text: "text";
2805
- readonly JsonObject: "json_object";
2806
- }>;
2807
- }
2808
- /** @internal */
2809
- export declare const CreatePromptSnippetPromptSnippetsQuality$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPromptSnippetsQuality>;
2810
- /** @internal */
2811
- export declare const CreatePromptSnippetPromptSnippetsQuality$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPromptSnippetsQuality>;
2812
- /**
2813
- * @internal
2814
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2815
- */
2816
- export declare namespace CreatePromptSnippetPromptSnippetsQuality$ {
2817
- /** @deprecated use `CreatePromptSnippetPromptSnippetsQuality$inboundSchema` instead. */
2818
- const inboundSchema: z.ZodNativeEnum<{
2819
- readonly Standard: "standard";
2820
- readonly Hd: "hd";
2821
- }>;
2822
- /** @deprecated use `CreatePromptSnippetPromptSnippetsQuality$outboundSchema` instead. */
2823
- const outboundSchema: z.ZodNativeEnum<{
2824
- readonly Standard: "standard";
2825
- readonly Hd: "hd";
2826
- }>;
2827
- }
2828
- /** @internal */
2829
- export declare const CreatePromptSnippetResponseFormatPromptSnippetsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetResponseFormatPromptSnippetsResponse200ApplicationJSONType>;
2830
- /** @internal */
2831
- export declare const CreatePromptSnippetResponseFormatPromptSnippetsResponse200ApplicationJSONType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetResponseFormatPromptSnippetsResponse200ApplicationJSONType>;
2832
- /**
2833
- * @internal
2834
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2835
- */
2836
- export declare namespace CreatePromptSnippetResponseFormatPromptSnippetsResponse200ApplicationJSONType$ {
2837
- /** @deprecated use `CreatePromptSnippetResponseFormatPromptSnippetsResponse200ApplicationJSONType$inboundSchema` instead. */
2838
- const inboundSchema: z.ZodNativeEnum<{
2839
- readonly JsonObject: "json_object";
2840
- }>;
2841
- /** @deprecated use `CreatePromptSnippetResponseFormatPromptSnippetsResponse200ApplicationJSONType$outboundSchema` instead. */
2842
- const outboundSchema: z.ZodNativeEnum<{
2843
- readonly JsonObject: "json_object";
2844
- }>;
2845
- }
2846
- /** @internal */
2847
- export declare const CreatePromptSnippetResponseFormatPromptSnippets2$inboundSchema: z.ZodType<CreatePromptSnippetResponseFormatPromptSnippets2, z.ZodTypeDef, unknown>;
2848
- /** @internal */
2849
- export type CreatePromptSnippetResponseFormatPromptSnippets2$Outbound = {
2850
- type: string;
2851
- };
2852
- /** @internal */
2853
- export declare const CreatePromptSnippetResponseFormatPromptSnippets2$outboundSchema: z.ZodType<CreatePromptSnippetResponseFormatPromptSnippets2$Outbound, z.ZodTypeDef, CreatePromptSnippetResponseFormatPromptSnippets2>;
2854
- /**
2855
- * @internal
2856
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2857
- */
2858
- export declare namespace CreatePromptSnippetResponseFormatPromptSnippets2$ {
2859
- /** @deprecated use `CreatePromptSnippetResponseFormatPromptSnippets2$inboundSchema` instead. */
2860
- const inboundSchema: z.ZodType<CreatePromptSnippetResponseFormatPromptSnippets2, z.ZodTypeDef, unknown>;
2861
- /** @deprecated use `CreatePromptSnippetResponseFormatPromptSnippets2$outboundSchema` instead. */
2862
- const outboundSchema: z.ZodType<CreatePromptSnippetResponseFormatPromptSnippets2$Outbound, z.ZodTypeDef, CreatePromptSnippetResponseFormatPromptSnippets2>;
2863
- /** @deprecated use `CreatePromptSnippetResponseFormatPromptSnippets2$Outbound` instead. */
2864
- type Outbound = CreatePromptSnippetResponseFormatPromptSnippets2$Outbound;
2865
- }
2866
- export declare function createPromptSnippetResponseFormatPromptSnippets2ToJSON(createPromptSnippetResponseFormatPromptSnippets2: CreatePromptSnippetResponseFormatPromptSnippets2): string;
2867
- export declare function createPromptSnippetResponseFormatPromptSnippets2FromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetResponseFormatPromptSnippets2, SDKValidationError>;
2868
- /** @internal */
2869
- export declare const CreatePromptSnippetResponseFormatPromptSnippetsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetResponseFormatPromptSnippetsResponse200Type>;
2870
- /** @internal */
2871
- export declare const CreatePromptSnippetResponseFormatPromptSnippetsResponse200Type$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetResponseFormatPromptSnippetsResponse200Type>;
2872
- /**
2873
- * @internal
2874
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2875
- */
2876
- export declare namespace CreatePromptSnippetResponseFormatPromptSnippetsResponse200Type$ {
2877
- /** @deprecated use `CreatePromptSnippetResponseFormatPromptSnippetsResponse200Type$inboundSchema` instead. */
2878
- const inboundSchema: z.ZodNativeEnum<{
2879
- readonly JsonSchema: "json_schema";
2880
- }>;
2881
- /** @deprecated use `CreatePromptSnippetResponseFormatPromptSnippetsResponse200Type$outboundSchema` instead. */
2882
- const outboundSchema: z.ZodNativeEnum<{
2883
- readonly JsonSchema: "json_schema";
2884
- }>;
2885
- }
2886
- /** @internal */
2887
- export declare const CreatePromptSnippetResponseFormatPromptSnippetsJsonSchema$inboundSchema: z.ZodType<CreatePromptSnippetResponseFormatPromptSnippetsJsonSchema, z.ZodTypeDef, unknown>;
2888
- /** @internal */
2889
- export type CreatePromptSnippetResponseFormatPromptSnippetsJsonSchema$Outbound = {
2890
- name: string;
2891
- strict: boolean;
2892
- schema: {
2893
- [k: string]: any;
2894
- };
2895
- };
2896
- /** @internal */
2897
- export declare const CreatePromptSnippetResponseFormatPromptSnippetsJsonSchema$outboundSchema: z.ZodType<CreatePromptSnippetResponseFormatPromptSnippetsJsonSchema$Outbound, z.ZodTypeDef, CreatePromptSnippetResponseFormatPromptSnippetsJsonSchema>;
2898
- /**
2899
- * @internal
2900
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2901
- */
2902
- export declare namespace CreatePromptSnippetResponseFormatPromptSnippetsJsonSchema$ {
2903
- /** @deprecated use `CreatePromptSnippetResponseFormatPromptSnippetsJsonSchema$inboundSchema` instead. */
2904
- const inboundSchema: z.ZodType<CreatePromptSnippetResponseFormatPromptSnippetsJsonSchema, z.ZodTypeDef, unknown>;
2905
- /** @deprecated use `CreatePromptSnippetResponseFormatPromptSnippetsJsonSchema$outboundSchema` instead. */
2906
- const outboundSchema: z.ZodType<CreatePromptSnippetResponseFormatPromptSnippetsJsonSchema$Outbound, z.ZodTypeDef, CreatePromptSnippetResponseFormatPromptSnippetsJsonSchema>;
2907
- /** @deprecated use `CreatePromptSnippetResponseFormatPromptSnippetsJsonSchema$Outbound` instead. */
2908
- type Outbound = CreatePromptSnippetResponseFormatPromptSnippetsJsonSchema$Outbound;
2909
- }
2910
- export declare function createPromptSnippetResponseFormatPromptSnippetsJsonSchemaToJSON(createPromptSnippetResponseFormatPromptSnippetsJsonSchema: CreatePromptSnippetResponseFormatPromptSnippetsJsonSchema): string;
2911
- export declare function createPromptSnippetResponseFormatPromptSnippetsJsonSchemaFromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetResponseFormatPromptSnippetsJsonSchema, SDKValidationError>;
2912
- /** @internal */
2913
- export declare const CreatePromptSnippetResponseFormatPromptSnippets1$inboundSchema: z.ZodType<CreatePromptSnippetResponseFormatPromptSnippets1, z.ZodTypeDef, unknown>;
2914
- /** @internal */
2915
- export type CreatePromptSnippetResponseFormatPromptSnippets1$Outbound = {
2916
- type: string;
2917
- json_schema: CreatePromptSnippetResponseFormatPromptSnippetsJsonSchema$Outbound;
2918
- };
2919
- /** @internal */
2920
- export declare const CreatePromptSnippetResponseFormatPromptSnippets1$outboundSchema: z.ZodType<CreatePromptSnippetResponseFormatPromptSnippets1$Outbound, z.ZodTypeDef, CreatePromptSnippetResponseFormatPromptSnippets1>;
2921
- /**
2922
- * @internal
2923
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2924
- */
2925
- export declare namespace CreatePromptSnippetResponseFormatPromptSnippets1$ {
2926
- /** @deprecated use `CreatePromptSnippetResponseFormatPromptSnippets1$inboundSchema` instead. */
2927
- const inboundSchema: z.ZodType<CreatePromptSnippetResponseFormatPromptSnippets1, z.ZodTypeDef, unknown>;
2928
- /** @deprecated use `CreatePromptSnippetResponseFormatPromptSnippets1$outboundSchema` instead. */
2929
- const outboundSchema: z.ZodType<CreatePromptSnippetResponseFormatPromptSnippets1$Outbound, z.ZodTypeDef, CreatePromptSnippetResponseFormatPromptSnippets1>;
2930
- /** @deprecated use `CreatePromptSnippetResponseFormatPromptSnippets1$Outbound` instead. */
2931
- type Outbound = CreatePromptSnippetResponseFormatPromptSnippets1$Outbound;
2932
- }
2933
- export declare function createPromptSnippetResponseFormatPromptSnippets1ToJSON(createPromptSnippetResponseFormatPromptSnippets1: CreatePromptSnippetResponseFormatPromptSnippets1): string;
2934
- export declare function createPromptSnippetResponseFormatPromptSnippets1FromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetResponseFormatPromptSnippets1, SDKValidationError>;
2935
- /** @internal */
2936
- export declare const CreatePromptSnippetPromptSnippetsResponseFormat$inboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsResponseFormat, z.ZodTypeDef, unknown>;
2937
- /** @internal */
2938
- export type CreatePromptSnippetPromptSnippetsResponseFormat$Outbound = CreatePromptSnippetResponseFormatPromptSnippets2$Outbound | CreatePromptSnippetResponseFormatPromptSnippets1$Outbound;
2939
- /** @internal */
2940
- export declare const CreatePromptSnippetPromptSnippetsResponseFormat$outboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsResponseFormat$Outbound, z.ZodTypeDef, CreatePromptSnippetPromptSnippetsResponseFormat>;
2941
- /**
2942
- * @internal
2943
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2944
- */
2945
- export declare namespace CreatePromptSnippetPromptSnippetsResponseFormat$ {
2946
- /** @deprecated use `CreatePromptSnippetPromptSnippetsResponseFormat$inboundSchema` instead. */
2947
- const inboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsResponseFormat, z.ZodTypeDef, unknown>;
2948
- /** @deprecated use `CreatePromptSnippetPromptSnippetsResponseFormat$outboundSchema` instead. */
2949
- const outboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsResponseFormat$Outbound, z.ZodTypeDef, CreatePromptSnippetPromptSnippetsResponseFormat>;
2950
- /** @deprecated use `CreatePromptSnippetPromptSnippetsResponseFormat$Outbound` instead. */
2951
- type Outbound = CreatePromptSnippetPromptSnippetsResponseFormat$Outbound;
2952
- }
2953
- export declare function createPromptSnippetPromptSnippetsResponseFormatToJSON(createPromptSnippetPromptSnippetsResponseFormat: CreatePromptSnippetPromptSnippetsResponseFormat): string;
2954
- export declare function createPromptSnippetPromptSnippetsResponseFormatFromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetPromptSnippetsResponseFormat, SDKValidationError>;
2955
- /** @internal */
2956
- export declare const CreatePromptSnippetPromptSnippetsPhotoRealVersion$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPromptSnippetsPhotoRealVersion>;
2957
- /** @internal */
2958
- export declare const CreatePromptSnippetPromptSnippetsPhotoRealVersion$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPromptSnippetsPhotoRealVersion>;
2959
- /**
2960
- * @internal
2961
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2962
- */
2963
- export declare namespace CreatePromptSnippetPromptSnippetsPhotoRealVersion$ {
2964
- /** @deprecated use `CreatePromptSnippetPromptSnippetsPhotoRealVersion$inboundSchema` instead. */
2965
- const inboundSchema: z.ZodNativeEnum<{
2966
- readonly V1: "v1";
2967
- readonly V2: "v2";
2968
- }>;
2969
- /** @deprecated use `CreatePromptSnippetPromptSnippetsPhotoRealVersion$outboundSchema` instead. */
2970
- const outboundSchema: z.ZodNativeEnum<{
2971
- readonly V1: "v1";
2972
- readonly V2: "v2";
2973
- }>;
2974
- }
2975
- /** @internal */
2976
- export declare const CreatePromptSnippetPromptSnippetsEncodingFormat$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPromptSnippetsEncodingFormat>;
2977
- /** @internal */
2978
- export declare const CreatePromptSnippetPromptSnippetsEncodingFormat$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPromptSnippetsEncodingFormat>;
2979
- /**
2980
- * @internal
2981
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2982
- */
2983
- export declare namespace CreatePromptSnippetPromptSnippetsEncodingFormat$ {
2984
- /** @deprecated use `CreatePromptSnippetPromptSnippetsEncodingFormat$inboundSchema` instead. */
2985
- const inboundSchema: z.ZodNativeEnum<{
2986
- readonly Float: "float";
2987
- readonly Base64: "base64";
2988
- }>;
2989
- /** @deprecated use `CreatePromptSnippetPromptSnippetsEncodingFormat$outboundSchema` instead. */
2990
- const outboundSchema: z.ZodNativeEnum<{
2991
- readonly Float: "float";
2992
- readonly Base64: "base64";
2993
- }>;
2994
- }
2995
- /** @internal */
2996
- export declare const CreatePromptSnippetPromptSnippetsReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPromptSnippetsReasoningEffort>;
2997
- /** @internal */
2998
- export declare const CreatePromptSnippetPromptSnippetsReasoningEffort$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPromptSnippetsReasoningEffort>;
2999
- /**
3000
- * @internal
3001
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3002
- */
3003
- export declare namespace CreatePromptSnippetPromptSnippetsReasoningEffort$ {
3004
- /** @deprecated use `CreatePromptSnippetPromptSnippetsReasoningEffort$inboundSchema` instead. */
3005
- const inboundSchema: z.ZodNativeEnum<{
3006
- readonly Low: "low";
3007
- readonly Medium: "medium";
3008
- readonly High: "high";
3009
- }>;
3010
- /** @deprecated use `CreatePromptSnippetPromptSnippetsReasoningEffort$outboundSchema` instead. */
3011
- const outboundSchema: z.ZodNativeEnum<{
3012
- readonly Low: "low";
3013
- readonly Medium: "medium";
3014
- readonly High: "high";
3015
- }>;
3016
- }
3017
- /** @internal */
3018
- export declare const CreatePromptSnippetPromptSnippetsModelParameters$inboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsModelParameters, z.ZodTypeDef, unknown>;
3019
- /** @internal */
3020
- export type CreatePromptSnippetPromptSnippetsModelParameters$Outbound = {
3021
- temperature?: number | undefined;
3022
- maxTokens?: number | undefined;
3023
- topK?: number | undefined;
3024
- topP?: number | undefined;
3025
- frequencyPenalty?: number | undefined;
3026
- presencePenalty?: number | undefined;
3027
- numImages?: number | undefined;
3028
- seed?: number | undefined;
3029
- format?: string | undefined;
3030
- dimensions?: string | undefined;
3031
- quality?: string | undefined;
3032
- style?: string | undefined;
3033
- responseFormat?: CreatePromptSnippetResponseFormatPromptSnippets2$Outbound | CreatePromptSnippetResponseFormatPromptSnippets1$Outbound | null | undefined;
3034
- photoRealVersion?: string | undefined;
3035
- encoding_format?: string | undefined;
3036
- reasoningEffort?: string | undefined;
3037
- };
3038
- /** @internal */
3039
- export declare const CreatePromptSnippetPromptSnippetsModelParameters$outboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsModelParameters$Outbound, z.ZodTypeDef, CreatePromptSnippetPromptSnippetsModelParameters>;
3040
- /**
3041
- * @internal
3042
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3043
- */
3044
- export declare namespace CreatePromptSnippetPromptSnippetsModelParameters$ {
3045
- /** @deprecated use `CreatePromptSnippetPromptSnippetsModelParameters$inboundSchema` instead. */
3046
- const inboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsModelParameters, z.ZodTypeDef, unknown>;
3047
- /** @deprecated use `CreatePromptSnippetPromptSnippetsModelParameters$outboundSchema` instead. */
3048
- const outboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsModelParameters$Outbound, z.ZodTypeDef, CreatePromptSnippetPromptSnippetsModelParameters>;
3049
- /** @deprecated use `CreatePromptSnippetPromptSnippetsModelParameters$Outbound` instead. */
3050
- type Outbound = CreatePromptSnippetPromptSnippetsModelParameters$Outbound;
3051
- }
3052
- export declare function createPromptSnippetPromptSnippetsModelParametersToJSON(createPromptSnippetPromptSnippetsModelParameters: CreatePromptSnippetPromptSnippetsModelParameters): string;
3053
- export declare function createPromptSnippetPromptSnippetsModelParametersFromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetPromptSnippetsModelParameters, SDKValidationError>;
3054
- /** @internal */
3055
- export declare const CreatePromptSnippetPromptSnippetsProvider$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPromptSnippetsProvider>;
3056
- /** @internal */
3057
- export declare const CreatePromptSnippetPromptSnippetsProvider$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPromptSnippetsProvider>;
3058
- /**
3059
- * @internal
3060
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3061
- */
3062
- export declare namespace CreatePromptSnippetPromptSnippetsProvider$ {
3063
- /** @deprecated use `CreatePromptSnippetPromptSnippetsProvider$inboundSchema` instead. */
3064
- const inboundSchema: z.ZodNativeEnum<{
3065
- readonly Cohere: "cohere";
3066
- readonly Openai: "openai";
3067
- readonly Anthropic: "anthropic";
3068
- readonly Huggingface: "huggingface";
3069
- readonly Replicate: "replicate";
3070
- readonly Google: "google";
3071
- readonly GoogleAi: "google-ai";
3072
- readonly Azure: "azure";
3073
- readonly Aws: "aws";
3074
- readonly Anyscale: "anyscale";
3075
- readonly Perplexity: "perplexity";
3076
- readonly Groq: "groq";
3077
- readonly Fal: "fal";
3078
- readonly Leonardoai: "leonardoai";
3079
- readonly Nvidia: "nvidia";
3080
- readonly Jina: "jina";
3081
- readonly Togetherai: "togetherai";
3082
- readonly Elevenlabs: "elevenlabs";
3083
- }>;
3084
- /** @deprecated use `CreatePromptSnippetPromptSnippetsProvider$outboundSchema` instead. */
3085
- const outboundSchema: z.ZodNativeEnum<{
3086
- readonly Cohere: "cohere";
3087
- readonly Openai: "openai";
3088
- readonly Anthropic: "anthropic";
3089
- readonly Huggingface: "huggingface";
3090
- readonly Replicate: "replicate";
3091
- readonly Google: "google";
3092
- readonly GoogleAi: "google-ai";
3093
- readonly Azure: "azure";
3094
- readonly Aws: "aws";
3095
- readonly Anyscale: "anyscale";
3096
- readonly Perplexity: "perplexity";
3097
- readonly Groq: "groq";
3098
- readonly Fal: "fal";
3099
- readonly Leonardoai: "leonardoai";
3100
- readonly Nvidia: "nvidia";
3101
- readonly Jina: "jina";
3102
- readonly Togetherai: "togetherai";
3103
- readonly Elevenlabs: "elevenlabs";
3104
- }>;
3105
- }
3106
- /** @internal */
3107
- export declare const CreatePromptSnippetPromptSnippetsResponseRole$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPromptSnippetsResponseRole>;
3108
- /** @internal */
3109
- export declare const CreatePromptSnippetPromptSnippetsResponseRole$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPromptSnippetsResponseRole>;
3110
- /**
3111
- * @internal
3112
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3113
- */
3114
- export declare namespace CreatePromptSnippetPromptSnippetsResponseRole$ {
3115
- /** @deprecated use `CreatePromptSnippetPromptSnippetsResponseRole$inboundSchema` instead. */
3116
- const inboundSchema: z.ZodNativeEnum<{
3117
- readonly System: "system";
3118
- readonly Assistant: "assistant";
3119
- readonly User: "user";
3120
- readonly Exception: "exception";
3121
- readonly Tool: "tool";
3122
- readonly Prompt: "prompt";
3123
- readonly Correction: "correction";
3124
- readonly ExpectedOutput: "expected_output";
3125
- }>;
3126
- /** @deprecated use `CreatePromptSnippetPromptSnippetsResponseRole$outboundSchema` instead. */
3127
- const outboundSchema: z.ZodNativeEnum<{
3128
- readonly System: "system";
3129
- readonly Assistant: "assistant";
3130
- readonly User: "user";
3131
- readonly Exception: "exception";
3132
- readonly Tool: "tool";
3133
- readonly Prompt: "prompt";
3134
- readonly Correction: "correction";
3135
- readonly ExpectedOutput: "expected_output";
3136
- }>;
3137
- }
3138
- /** @internal */
3139
- export declare const CreatePromptSnippet2PromptSnippetsResponse200ApplicationJSONResponseBodyType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippet2PromptSnippetsResponse200ApplicationJSONResponseBodyType>;
3140
- /** @internal */
3141
- export declare const CreatePromptSnippet2PromptSnippetsResponse200ApplicationJSONResponseBodyType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippet2PromptSnippetsResponse200ApplicationJSONResponseBodyType>;
3142
- /**
3143
- * @internal
3144
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3145
- */
3146
- export declare namespace CreatePromptSnippet2PromptSnippetsResponse200ApplicationJSONResponseBodyType$ {
3147
- /** @deprecated use `CreatePromptSnippet2PromptSnippetsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */
3148
- const inboundSchema: z.ZodNativeEnum<{
3149
- readonly ImageUrl: "image_url";
3150
- }>;
3151
- /** @deprecated use `CreatePromptSnippet2PromptSnippetsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */
3152
- const outboundSchema: z.ZodNativeEnum<{
3153
- readonly ImageUrl: "image_url";
3154
- }>;
3155
- }
3156
- /** @internal */
3157
- export declare const CreatePromptSnippet2PromptSnippetsResponseImageUrl$inboundSchema: z.ZodType<CreatePromptSnippet2PromptSnippetsResponseImageUrl, z.ZodTypeDef, unknown>;
3158
- /** @internal */
3159
- export type CreatePromptSnippet2PromptSnippetsResponseImageUrl$Outbound = {
3160
- id?: string | undefined;
3161
- url: string;
3162
- detail?: string | undefined;
3163
- };
3164
- /** @internal */
3165
- export declare const CreatePromptSnippet2PromptSnippetsResponseImageUrl$outboundSchema: z.ZodType<CreatePromptSnippet2PromptSnippetsResponseImageUrl$Outbound, z.ZodTypeDef, CreatePromptSnippet2PromptSnippetsResponseImageUrl>;
3166
- /**
3167
- * @internal
3168
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3169
- */
3170
- export declare namespace CreatePromptSnippet2PromptSnippetsResponseImageUrl$ {
3171
- /** @deprecated use `CreatePromptSnippet2PromptSnippetsResponseImageUrl$inboundSchema` instead. */
3172
- const inboundSchema: z.ZodType<CreatePromptSnippet2PromptSnippetsResponseImageUrl, z.ZodTypeDef, unknown>;
3173
- /** @deprecated use `CreatePromptSnippet2PromptSnippetsResponseImageUrl$outboundSchema` instead. */
3174
- const outboundSchema: z.ZodType<CreatePromptSnippet2PromptSnippetsResponseImageUrl$Outbound, z.ZodTypeDef, CreatePromptSnippet2PromptSnippetsResponseImageUrl>;
3175
- /** @deprecated use `CreatePromptSnippet2PromptSnippetsResponseImageUrl$Outbound` instead. */
3176
- type Outbound = CreatePromptSnippet2PromptSnippetsResponseImageUrl$Outbound;
3177
- }
3178
- export declare function createPromptSnippet2PromptSnippetsResponseImageUrlToJSON(createPromptSnippet2PromptSnippetsResponseImageUrl: CreatePromptSnippet2PromptSnippetsResponseImageUrl): string;
3179
- export declare function createPromptSnippet2PromptSnippetsResponseImageUrlFromJSON(jsonString: string): SafeParseResult<CreatePromptSnippet2PromptSnippetsResponseImageUrl, SDKValidationError>;
3180
- /** @internal */
3181
- export declare const CreatePromptSnippet2PromptSnippetsResponse2$inboundSchema: z.ZodType<CreatePromptSnippet2PromptSnippetsResponse2, z.ZodTypeDef, unknown>;
3182
- /** @internal */
3183
- export type CreatePromptSnippet2PromptSnippetsResponse2$Outbound = {
3184
- type: string;
3185
- image_url: CreatePromptSnippet2PromptSnippetsResponseImageUrl$Outbound;
3186
- };
3187
- /** @internal */
3188
- export declare const CreatePromptSnippet2PromptSnippetsResponse2$outboundSchema: z.ZodType<CreatePromptSnippet2PromptSnippetsResponse2$Outbound, z.ZodTypeDef, CreatePromptSnippet2PromptSnippetsResponse2>;
3189
- /**
3190
- * @internal
3191
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3192
- */
3193
- export declare namespace CreatePromptSnippet2PromptSnippetsResponse2$ {
3194
- /** @deprecated use `CreatePromptSnippet2PromptSnippetsResponse2$inboundSchema` instead. */
3195
- const inboundSchema: z.ZodType<CreatePromptSnippet2PromptSnippetsResponse2, z.ZodTypeDef, unknown>;
3196
- /** @deprecated use `CreatePromptSnippet2PromptSnippetsResponse2$outboundSchema` instead. */
3197
- const outboundSchema: z.ZodType<CreatePromptSnippet2PromptSnippetsResponse2$Outbound, z.ZodTypeDef, CreatePromptSnippet2PromptSnippetsResponse2>;
3198
- /** @deprecated use `CreatePromptSnippet2PromptSnippetsResponse2$Outbound` instead. */
3199
- type Outbound = CreatePromptSnippet2PromptSnippetsResponse2$Outbound;
3200
- }
3201
- export declare function createPromptSnippet2PromptSnippetsResponse2ToJSON(createPromptSnippet2PromptSnippetsResponse2: CreatePromptSnippet2PromptSnippetsResponse2): string;
3202
- export declare function createPromptSnippet2PromptSnippetsResponse2FromJSON(jsonString: string): SafeParseResult<CreatePromptSnippet2PromptSnippetsResponse2, SDKValidationError>;
3203
- /** @internal */
3204
- export declare const CreatePromptSnippet2PromptSnippetsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippet2PromptSnippetsResponse200ApplicationJSONType>;
3205
- /** @internal */
3206
- export declare const CreatePromptSnippet2PromptSnippetsResponse200ApplicationJSONType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippet2PromptSnippetsResponse200ApplicationJSONType>;
3207
- /**
3208
- * @internal
3209
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3210
- */
3211
- export declare namespace CreatePromptSnippet2PromptSnippetsResponse200ApplicationJSONType$ {
3212
- /** @deprecated use `CreatePromptSnippet2PromptSnippetsResponse200ApplicationJSONType$inboundSchema` instead. */
3213
- const inboundSchema: z.ZodNativeEnum<{
3214
- readonly Text: "text";
3215
- }>;
3216
- /** @deprecated use `CreatePromptSnippet2PromptSnippetsResponse200ApplicationJSONType$outboundSchema` instead. */
3217
- const outboundSchema: z.ZodNativeEnum<{
3218
- readonly Text: "text";
3219
- }>;
3220
- }
3221
- /** @internal */
3222
- export declare const CreatePromptSnippet2PromptSnippetsResponse1$inboundSchema: z.ZodType<CreatePromptSnippet2PromptSnippetsResponse1, z.ZodTypeDef, unknown>;
3223
- /** @internal */
3224
- export type CreatePromptSnippet2PromptSnippetsResponse1$Outbound = {
3225
- type: string;
3226
- text: string;
3227
- };
3228
- /** @internal */
3229
- export declare const CreatePromptSnippet2PromptSnippetsResponse1$outboundSchema: z.ZodType<CreatePromptSnippet2PromptSnippetsResponse1$Outbound, z.ZodTypeDef, CreatePromptSnippet2PromptSnippetsResponse1>;
3230
- /**
3231
- * @internal
3232
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3233
- */
3234
- export declare namespace CreatePromptSnippet2PromptSnippetsResponse1$ {
3235
- /** @deprecated use `CreatePromptSnippet2PromptSnippetsResponse1$inboundSchema` instead. */
3236
- const inboundSchema: z.ZodType<CreatePromptSnippet2PromptSnippetsResponse1, z.ZodTypeDef, unknown>;
3237
- /** @deprecated use `CreatePromptSnippet2PromptSnippetsResponse1$outboundSchema` instead. */
3238
- const outboundSchema: z.ZodType<CreatePromptSnippet2PromptSnippetsResponse1$Outbound, z.ZodTypeDef, CreatePromptSnippet2PromptSnippetsResponse1>;
3239
- /** @deprecated use `CreatePromptSnippet2PromptSnippetsResponse1$Outbound` instead. */
3240
- type Outbound = CreatePromptSnippet2PromptSnippetsResponse1$Outbound;
3241
- }
3242
- export declare function createPromptSnippet2PromptSnippetsResponse1ToJSON(createPromptSnippet2PromptSnippetsResponse1: CreatePromptSnippet2PromptSnippetsResponse1): string;
3243
- export declare function createPromptSnippet2PromptSnippetsResponse1FromJSON(jsonString: string): SafeParseResult<CreatePromptSnippet2PromptSnippetsResponse1, SDKValidationError>;
3244
- /** @internal */
3245
- export declare const CreatePromptSnippetContentPromptSnippetsResponse2$inboundSchema: z.ZodType<CreatePromptSnippetContentPromptSnippetsResponse2, z.ZodTypeDef, unknown>;
3246
- /** @internal */
3247
- export type CreatePromptSnippetContentPromptSnippetsResponse2$Outbound = CreatePromptSnippet2PromptSnippetsResponse1$Outbound | CreatePromptSnippet2PromptSnippetsResponse2$Outbound;
3248
- /** @internal */
3249
- export declare const CreatePromptSnippetContentPromptSnippetsResponse2$outboundSchema: z.ZodType<CreatePromptSnippetContentPromptSnippetsResponse2$Outbound, z.ZodTypeDef, CreatePromptSnippetContentPromptSnippetsResponse2>;
3250
- /**
3251
- * @internal
3252
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3253
- */
3254
- export declare namespace CreatePromptSnippetContentPromptSnippetsResponse2$ {
3255
- /** @deprecated use `CreatePromptSnippetContentPromptSnippetsResponse2$inboundSchema` instead. */
3256
- const inboundSchema: z.ZodType<CreatePromptSnippetContentPromptSnippetsResponse2, z.ZodTypeDef, unknown>;
3257
- /** @deprecated use `CreatePromptSnippetContentPromptSnippetsResponse2$outboundSchema` instead. */
3258
- const outboundSchema: z.ZodType<CreatePromptSnippetContentPromptSnippetsResponse2$Outbound, z.ZodTypeDef, CreatePromptSnippetContentPromptSnippetsResponse2>;
3259
- /** @deprecated use `CreatePromptSnippetContentPromptSnippetsResponse2$Outbound` instead. */
3260
- type Outbound = CreatePromptSnippetContentPromptSnippetsResponse2$Outbound;
3261
- }
3262
- export declare function createPromptSnippetContentPromptSnippetsResponse2ToJSON(createPromptSnippetContentPromptSnippetsResponse2: CreatePromptSnippetContentPromptSnippetsResponse2): string;
3263
- export declare function createPromptSnippetContentPromptSnippetsResponse2FromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetContentPromptSnippetsResponse2, SDKValidationError>;
3264
- /** @internal */
3265
- export declare const CreatePromptSnippetPromptSnippetsResponseContent$inboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsResponseContent, z.ZodTypeDef, unknown>;
3266
- /** @internal */
3267
- export type CreatePromptSnippetPromptSnippetsResponseContent$Outbound = string | Array<CreatePromptSnippet2PromptSnippetsResponse1$Outbound | CreatePromptSnippet2PromptSnippetsResponse2$Outbound>;
3268
- /** @internal */
3269
- export declare const CreatePromptSnippetPromptSnippetsResponseContent$outboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsResponseContent$Outbound, z.ZodTypeDef, CreatePromptSnippetPromptSnippetsResponseContent>;
3270
- /**
3271
- * @internal
3272
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3273
- */
3274
- export declare namespace CreatePromptSnippetPromptSnippetsResponseContent$ {
3275
- /** @deprecated use `CreatePromptSnippetPromptSnippetsResponseContent$inboundSchema` instead. */
3276
- const inboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsResponseContent, z.ZodTypeDef, unknown>;
3277
- /** @deprecated use `CreatePromptSnippetPromptSnippetsResponseContent$outboundSchema` instead. */
3278
- const outboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsResponseContent$Outbound, z.ZodTypeDef, CreatePromptSnippetPromptSnippetsResponseContent>;
3279
- /** @deprecated use `CreatePromptSnippetPromptSnippetsResponseContent$Outbound` instead. */
3280
- type Outbound = CreatePromptSnippetPromptSnippetsResponseContent$Outbound;
3281
- }
3282
- export declare function createPromptSnippetPromptSnippetsResponseContentToJSON(createPromptSnippetPromptSnippetsResponseContent: CreatePromptSnippetPromptSnippetsResponseContent): string;
3283
- export declare function createPromptSnippetPromptSnippetsResponseContentFromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetPromptSnippetsResponseContent, SDKValidationError>;
3284
- /** @internal */
3285
- export declare const CreatePromptSnippetPromptSnippetsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPromptSnippetsResponse200Type>;
3286
- /** @internal */
3287
- export declare const CreatePromptSnippetPromptSnippetsResponse200Type$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPromptSnippetsResponse200Type>;
3288
- /**
3289
- * @internal
3290
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3291
- */
3292
- export declare namespace CreatePromptSnippetPromptSnippetsResponse200Type$ {
3293
- /** @deprecated use `CreatePromptSnippetPromptSnippetsResponse200Type$inboundSchema` instead. */
3294
- const inboundSchema: z.ZodNativeEnum<{
3295
- readonly Function: "function";
3296
- }>;
3297
- /** @deprecated use `CreatePromptSnippetPromptSnippetsResponse200Type$outboundSchema` instead. */
3298
- const outboundSchema: z.ZodNativeEnum<{
3299
- readonly Function: "function";
3300
- }>;
3301
- }
3302
- /** @internal */
3303
- export declare const CreatePromptSnippetPromptSnippetsResponseFunction$inboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsResponseFunction, z.ZodTypeDef, unknown>;
3304
- /** @internal */
3305
- export type CreatePromptSnippetPromptSnippetsResponseFunction$Outbound = {
3306
- name: string;
3307
- arguments: string;
3308
- };
3309
- /** @internal */
3310
- export declare const CreatePromptSnippetPromptSnippetsResponseFunction$outboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsResponseFunction$Outbound, z.ZodTypeDef, CreatePromptSnippetPromptSnippetsResponseFunction>;
3311
- /**
3312
- * @internal
3313
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3314
- */
3315
- export declare namespace CreatePromptSnippetPromptSnippetsResponseFunction$ {
3316
- /** @deprecated use `CreatePromptSnippetPromptSnippetsResponseFunction$inboundSchema` instead. */
3317
- const inboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsResponseFunction, z.ZodTypeDef, unknown>;
3318
- /** @deprecated use `CreatePromptSnippetPromptSnippetsResponseFunction$outboundSchema` instead. */
3319
- const outboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsResponseFunction$Outbound, z.ZodTypeDef, CreatePromptSnippetPromptSnippetsResponseFunction>;
3320
- /** @deprecated use `CreatePromptSnippetPromptSnippetsResponseFunction$Outbound` instead. */
3321
- type Outbound = CreatePromptSnippetPromptSnippetsResponseFunction$Outbound;
3322
- }
3323
- export declare function createPromptSnippetPromptSnippetsResponseFunctionToJSON(createPromptSnippetPromptSnippetsResponseFunction: CreatePromptSnippetPromptSnippetsResponseFunction): string;
3324
- export declare function createPromptSnippetPromptSnippetsResponseFunctionFromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetPromptSnippetsResponseFunction, SDKValidationError>;
3325
- /** @internal */
3326
- export declare const CreatePromptSnippetPromptSnippetsResponseToolCalls$inboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsResponseToolCalls, z.ZodTypeDef, unknown>;
3327
- /** @internal */
3328
- export type CreatePromptSnippetPromptSnippetsResponseToolCalls$Outbound = {
3329
- id?: string | undefined;
3330
- index?: number | undefined;
3331
- type: string;
3332
- function: CreatePromptSnippetPromptSnippetsResponseFunction$Outbound;
3333
- };
3334
- /** @internal */
3335
- export declare const CreatePromptSnippetPromptSnippetsResponseToolCalls$outboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsResponseToolCalls$Outbound, z.ZodTypeDef, CreatePromptSnippetPromptSnippetsResponseToolCalls>;
3336
- /**
3337
- * @internal
3338
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3339
- */
3340
- export declare namespace CreatePromptSnippetPromptSnippetsResponseToolCalls$ {
3341
- /** @deprecated use `CreatePromptSnippetPromptSnippetsResponseToolCalls$inboundSchema` instead. */
3342
- const inboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsResponseToolCalls, z.ZodTypeDef, unknown>;
3343
- /** @deprecated use `CreatePromptSnippetPromptSnippetsResponseToolCalls$outboundSchema` instead. */
3344
- const outboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsResponseToolCalls$Outbound, z.ZodTypeDef, CreatePromptSnippetPromptSnippetsResponseToolCalls>;
3345
- /** @deprecated use `CreatePromptSnippetPromptSnippetsResponseToolCalls$Outbound` instead. */
3346
- type Outbound = CreatePromptSnippetPromptSnippetsResponseToolCalls$Outbound;
3347
- }
3348
- export declare function createPromptSnippetPromptSnippetsResponseToolCallsToJSON(createPromptSnippetPromptSnippetsResponseToolCalls: CreatePromptSnippetPromptSnippetsResponseToolCalls): string;
3349
- export declare function createPromptSnippetPromptSnippetsResponseToolCallsFromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetPromptSnippetsResponseToolCalls, SDKValidationError>;
3350
- /** @internal */
3351
- export declare const CreatePromptSnippetPromptSnippetsResponseMessages$inboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsResponseMessages, z.ZodTypeDef, unknown>;
3352
- /** @internal */
3353
- export type CreatePromptSnippetPromptSnippetsResponseMessages$Outbound = {
3354
- role: string;
3355
- content: string | Array<CreatePromptSnippet2PromptSnippetsResponse1$Outbound | CreatePromptSnippet2PromptSnippetsResponse2$Outbound>;
3356
- tool_calls?: Array<CreatePromptSnippetPromptSnippetsResponseToolCalls$Outbound> | undefined;
3357
- };
3358
- /** @internal */
3359
- export declare const CreatePromptSnippetPromptSnippetsResponseMessages$outboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsResponseMessages$Outbound, z.ZodTypeDef, CreatePromptSnippetPromptSnippetsResponseMessages>;
3360
- /**
3361
- * @internal
3362
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3363
- */
3364
- export declare namespace CreatePromptSnippetPromptSnippetsResponseMessages$ {
3365
- /** @deprecated use `CreatePromptSnippetPromptSnippetsResponseMessages$inboundSchema` instead. */
3366
- const inboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsResponseMessages, z.ZodTypeDef, unknown>;
3367
- /** @deprecated use `CreatePromptSnippetPromptSnippetsResponseMessages$outboundSchema` instead. */
3368
- const outboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsResponseMessages$Outbound, z.ZodTypeDef, CreatePromptSnippetPromptSnippetsResponseMessages>;
3369
- /** @deprecated use `CreatePromptSnippetPromptSnippetsResponseMessages$Outbound` instead. */
3370
- type Outbound = CreatePromptSnippetPromptSnippetsResponseMessages$Outbound;
3371
- }
3372
- export declare function createPromptSnippetPromptSnippetsResponseMessagesToJSON(createPromptSnippetPromptSnippetsResponseMessages: CreatePromptSnippetPromptSnippetsResponseMessages): string;
3373
- export declare function createPromptSnippetPromptSnippetsResponseMessagesFromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetPromptSnippetsResponseMessages, SDKValidationError>;
3374
- /** @internal */
3375
- export declare const CreatePromptSnippetPromptSnippetsPromptConfig$inboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsPromptConfig, z.ZodTypeDef, unknown>;
3376
- /** @internal */
3377
- export type CreatePromptSnippetPromptSnippetsPromptConfig$Outbound = {
3378
- stream?: boolean | undefined;
3379
- model?: string | undefined;
3380
- model_db_id?: string | undefined;
3381
- model_type?: string | undefined;
3382
- model_parameters?: CreatePromptSnippetPromptSnippetsModelParameters$Outbound | undefined;
3383
- provider?: string | undefined;
3384
- integration_id?: string | null | undefined;
3385
- version?: string | undefined;
3386
- messages: Array<CreatePromptSnippetPromptSnippetsResponseMessages$Outbound>;
3387
- };
3388
- /** @internal */
3389
- export declare const CreatePromptSnippetPromptSnippetsPromptConfig$outboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsPromptConfig$Outbound, z.ZodTypeDef, CreatePromptSnippetPromptSnippetsPromptConfig>;
3390
- /**
3391
- * @internal
3392
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3393
- */
3394
- export declare namespace CreatePromptSnippetPromptSnippetsPromptConfig$ {
3395
- /** @deprecated use `CreatePromptSnippetPromptSnippetsPromptConfig$inboundSchema` instead. */
3396
- const inboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsPromptConfig, z.ZodTypeDef, unknown>;
3397
- /** @deprecated use `CreatePromptSnippetPromptSnippetsPromptConfig$outboundSchema` instead. */
3398
- const outboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsPromptConfig$Outbound, z.ZodTypeDef, CreatePromptSnippetPromptSnippetsPromptConfig>;
3399
- /** @deprecated use `CreatePromptSnippetPromptSnippetsPromptConfig$Outbound` instead. */
3400
- type Outbound = CreatePromptSnippetPromptSnippetsPromptConfig$Outbound;
3401
- }
3402
- export declare function createPromptSnippetPromptSnippetsPromptConfigToJSON(createPromptSnippetPromptSnippetsPromptConfig: CreatePromptSnippetPromptSnippetsPromptConfig): string;
3403
- export declare function createPromptSnippetPromptSnippetsPromptConfigFromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetPromptSnippetsPromptConfig, SDKValidationError>;
3404
- /** @internal */
3405
- export declare const CreatePromptSnippetPromptSnippetsUseCases$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPromptSnippetsUseCases>;
3406
- /** @internal */
3407
- export declare const CreatePromptSnippetPromptSnippetsUseCases$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPromptSnippetsUseCases>;
3408
- /**
3409
- * @internal
3410
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3411
- */
3412
- export declare namespace CreatePromptSnippetPromptSnippetsUseCases$ {
3413
- /** @deprecated use `CreatePromptSnippetPromptSnippetsUseCases$inboundSchema` instead. */
3414
- const inboundSchema: z.ZodNativeEnum<{
3415
- readonly Agents: "Agents";
3416
- readonly AgentsSimulations: "Agents simulations";
3417
- readonly APIInteraction: "API interaction";
3418
- readonly AutonomousAgents: "Autonomous Agents";
3419
- readonly Chatbots: "Chatbots";
3420
- readonly Classification: "Classification";
3421
- readonly CodeUnderstanding: "Code understanding";
3422
- readonly CodeWriting: "Code writing";
3423
- readonly DocumentsQA: "Documents QA";
3424
- readonly Conversation: "Conversation";
3425
- readonly Extraction: "Extraction";
3426
- readonly MultiModal: "Multi-modal";
3427
- readonly SelfChecking: "Self-checking";
3428
- readonly Sql: "SQL";
3429
- readonly Summarization: "Summarization";
3430
- readonly Tagging: "Tagging";
3431
- }>;
3432
- /** @deprecated use `CreatePromptSnippetPromptSnippetsUseCases$outboundSchema` instead. */
3433
- const outboundSchema: z.ZodNativeEnum<{
3434
- readonly Agents: "Agents";
3435
- readonly AgentsSimulations: "Agents simulations";
3436
- readonly APIInteraction: "API interaction";
3437
- readonly AutonomousAgents: "Autonomous Agents";
3438
- readonly Chatbots: "Chatbots";
3439
- readonly Classification: "Classification";
3440
- readonly CodeUnderstanding: "Code understanding";
3441
- readonly CodeWriting: "Code writing";
3442
- readonly DocumentsQA: "Documents QA";
3443
- readonly Conversation: "Conversation";
3444
- readonly Extraction: "Extraction";
3445
- readonly MultiModal: "Multi-modal";
3446
- readonly SelfChecking: "Self-checking";
3447
- readonly Sql: "SQL";
3448
- readonly Summarization: "Summarization";
3449
- readonly Tagging: "Tagging";
3450
- }>;
3451
- }
3452
- /** @internal */
3453
- export declare const CreatePromptSnippetPromptSnippetsLanguage$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPromptSnippetsLanguage>;
3454
- /** @internal */
3455
- export declare const CreatePromptSnippetPromptSnippetsLanguage$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPromptSnippetsLanguage>;
3456
- /**
3457
- * @internal
3458
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3459
- */
3460
- export declare namespace CreatePromptSnippetPromptSnippetsLanguage$ {
3461
- /** @deprecated use `CreatePromptSnippetPromptSnippetsLanguage$inboundSchema` instead. */
3462
- const inboundSchema: z.ZodNativeEnum<{
3463
- readonly Chinese: "Chinese";
3464
- readonly Dutch: "Dutch";
3465
- readonly English: "English";
3466
- readonly French: "French";
3467
- readonly German: "German";
3468
- readonly Russian: "Russian";
3469
- readonly Spanish: "Spanish";
3470
- }>;
3471
- /** @deprecated use `CreatePromptSnippetPromptSnippetsLanguage$outboundSchema` instead. */
3472
- const outboundSchema: z.ZodNativeEnum<{
3473
- readonly Chinese: "Chinese";
3474
- readonly Dutch: "Dutch";
3475
- readonly English: "English";
3476
- readonly French: "French";
3477
- readonly German: "German";
3478
- readonly Russian: "Russian";
3479
- readonly Spanish: "Spanish";
3480
- }>;
3481
- }
3482
- /** @internal */
3483
- export declare const CreatePromptSnippetPromptSnippetsResponseMetadata$inboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsResponseMetadata, z.ZodTypeDef, unknown>;
3484
- /** @internal */
3485
- export type CreatePromptSnippetPromptSnippetsResponseMetadata$Outbound = {
3486
- use_cases?: Array<string> | undefined;
3487
- language?: string | undefined;
3488
- };
3489
- /** @internal */
3490
- export declare const CreatePromptSnippetPromptSnippetsResponseMetadata$outboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsResponseMetadata$Outbound, z.ZodTypeDef, CreatePromptSnippetPromptSnippetsResponseMetadata>;
3491
- /**
3492
- * @internal
3493
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3494
- */
3495
- export declare namespace CreatePromptSnippetPromptSnippetsResponseMetadata$ {
3496
- /** @deprecated use `CreatePromptSnippetPromptSnippetsResponseMetadata$inboundSchema` instead. */
3497
- const inboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsResponseMetadata, z.ZodTypeDef, unknown>;
3498
- /** @deprecated use `CreatePromptSnippetPromptSnippetsResponseMetadata$outboundSchema` instead. */
3499
- const outboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsResponseMetadata$Outbound, z.ZodTypeDef, CreatePromptSnippetPromptSnippetsResponseMetadata>;
3500
- /** @deprecated use `CreatePromptSnippetPromptSnippetsResponseMetadata$Outbound` instead. */
3501
- type Outbound = CreatePromptSnippetPromptSnippetsResponseMetadata$Outbound;
3502
- }
3503
- export declare function createPromptSnippetPromptSnippetsResponseMetadataToJSON(createPromptSnippetPromptSnippetsResponseMetadata: CreatePromptSnippetPromptSnippetsResponseMetadata): string;
3504
- export declare function createPromptSnippetPromptSnippetsResponseMetadataFromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetPromptSnippetsResponseMetadata, SDKValidationError>;
3505
- /** @internal */
3506
- export declare const Versions$inboundSchema: z.ZodType<Versions, z.ZodTypeDef, unknown>;
3507
- /** @internal */
3508
- export type Versions$Outbound = {
3509
- _id: string;
3510
- description?: string | null | undefined;
3511
- prompt_config: CreatePromptSnippetPromptSnippetsPromptConfig$Outbound;
3512
- metadata: CreatePromptSnippetPromptSnippetsResponseMetadata$Outbound;
3513
- created_by_id: string;
3514
- updated_by_id: string;
3515
- timestamp: string;
3516
- };
3517
- /** @internal */
3518
- export declare const Versions$outboundSchema: z.ZodType<Versions$Outbound, z.ZodTypeDef, Versions>;
3519
- /**
3520
- * @internal
3521
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3522
- */
3523
- export declare namespace Versions$ {
3524
- /** @deprecated use `Versions$inboundSchema` instead. */
3525
- const inboundSchema: z.ZodType<Versions, z.ZodTypeDef, unknown>;
3526
- /** @deprecated use `Versions$outboundSchema` instead. */
3527
- const outboundSchema: z.ZodType<Versions$Outbound, z.ZodTypeDef, Versions>;
3528
- /** @deprecated use `Versions$Outbound` instead. */
3529
- type Outbound = Versions$Outbound;
3530
- }
3531
- export declare function versionsToJSON(versions: Versions): string;
3532
- export declare function versionsFromJSON(jsonString: string): SafeParseResult<Versions, SDKValidationError>;
3533
- /** @internal */
3534
- export declare const CreatePromptSnippetResponseBody$inboundSchema: z.ZodType<CreatePromptSnippetResponseBody, z.ZodTypeDef, unknown>;
3535
- /** @internal */
3536
- export type CreatePromptSnippetResponseBody$Outbound = {
3537
- _id: string;
3538
- owner: string | string;
3539
- domain_id: string;
3540
- key: string;
3541
- description?: string | null | undefined;
3542
- prompt_config: CreatePromptSnippetPromptConfig$Outbound;
3543
- metadata: CreatePromptSnippetPromptSnippetsMetadata$Outbound;
3544
- created_by_id: string;
3545
- updated_by_id: string;
3546
- created?: string | undefined;
3547
- updated: string;
3548
- type: string;
3549
- versions: Array<Versions$Outbound>;
3550
- };
3551
- /** @internal */
3552
- export declare const CreatePromptSnippetResponseBody$outboundSchema: z.ZodType<CreatePromptSnippetResponseBody$Outbound, z.ZodTypeDef, CreatePromptSnippetResponseBody>;
3553
- /**
3554
- * @internal
3555
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3556
- */
3557
- export declare namespace CreatePromptSnippetResponseBody$ {
3558
- /** @deprecated use `CreatePromptSnippetResponseBody$inboundSchema` instead. */
3559
- const inboundSchema: z.ZodType<CreatePromptSnippetResponseBody, z.ZodTypeDef, unknown>;
3560
- /** @deprecated use `CreatePromptSnippetResponseBody$outboundSchema` instead. */
3561
- const outboundSchema: z.ZodType<CreatePromptSnippetResponseBody$Outbound, z.ZodTypeDef, CreatePromptSnippetResponseBody>;
3562
- /** @deprecated use `CreatePromptSnippetResponseBody$Outbound` instead. */
3563
- type Outbound = CreatePromptSnippetResponseBody$Outbound;
3564
- }
3565
- export declare function createPromptSnippetResponseBodyToJSON(createPromptSnippetResponseBody: CreatePromptSnippetResponseBody): string;
3566
- export declare function createPromptSnippetResponseBodyFromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetResponseBody, SDKValidationError>;
3567
- //# sourceMappingURL=createpromptsnippet.d.ts.map