@orq-ai/node 3.1.2 → 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 (277) hide show
  1. package/README.md +27 -42
  2. package/docs/sdks/deployments/README.md +86 -9
  3. package/docs/sdks/files/README.md +10 -182
  4. package/docs/sdks/orq/README.md +1 -1
  5. package/docs/sdks/prompts/README.md +135 -128
  6. package/docs/sdks/{remoteconfig → remoteconfigs}/README.md +8 -8
  7. package/funcs/deploymentsInvoke.d.ts +1 -7
  8. package/funcs/deploymentsInvoke.d.ts.map +1 -1
  9. package/funcs/deploymentsInvoke.js +10 -11
  10. package/funcs/deploymentsInvoke.js.map +1 -1
  11. package/funcs/{deploymentsAll.d.ts → deploymentsList.d.ts} +2 -2
  12. package/funcs/deploymentsList.d.ts.map +1 -0
  13. package/funcs/{deploymentsAll.js → deploymentsList.js} +5 -4
  14. package/funcs/deploymentsList.js.map +1 -0
  15. package/funcs/deploymentsStream.d.ts +16 -0
  16. package/funcs/deploymentsStream.d.ts.map +1 -0
  17. package/funcs/deploymentsStream.js +125 -0
  18. package/funcs/deploymentsStream.js.map +1 -0
  19. package/funcs/{filesUpload.d.ts → filesCreate.d.ts} +3 -3
  20. package/funcs/{filesUpload.d.ts.map → filesCreate.d.ts.map} +1 -1
  21. package/funcs/{filesUpload.js → filesCreate.js} +4 -4
  22. package/funcs/{filesUpload.js.map → filesCreate.js.map} +1 -1
  23. package/funcs/filesGet.d.ts +4 -1
  24. package/funcs/filesGet.d.ts.map +1 -1
  25. package/funcs/filesGet.js +4 -1
  26. package/funcs/filesGet.js.map +1 -1
  27. package/funcs/filesList.d.ts +3 -0
  28. package/funcs/filesList.d.ts.map +1 -1
  29. package/funcs/filesList.js +5 -3
  30. package/funcs/filesList.js.map +1 -1
  31. package/funcs/promptsCreate.d.ts +1 -1
  32. package/funcs/promptsCreate.js +2 -2
  33. package/funcs/promptsCreate.js.map +1 -1
  34. package/funcs/promptsDelete.js +1 -1
  35. package/funcs/promptsDelete.js.map +1 -1
  36. package/funcs/promptsGetVersion.d.ts +16 -0
  37. package/funcs/promptsGetVersion.d.ts.map +1 -0
  38. package/funcs/{promptsCreateVersion.js → promptsGetVersion.js} +23 -13
  39. package/funcs/promptsGetVersion.js.map +1 -0
  40. package/funcs/promptsList.d.ts +15 -0
  41. package/funcs/promptsList.d.ts.map +1 -0
  42. package/funcs/{promptsGetAll.js → promptsList.js} +17 -11
  43. package/funcs/promptsList.js.map +1 -0
  44. package/funcs/promptsListVersions.d.ts +15 -0
  45. package/funcs/promptsListVersions.d.ts.map +1 -0
  46. package/funcs/{promptsDuplicate.js → promptsListVersions.js} +19 -11
  47. package/funcs/promptsListVersions.js.map +1 -0
  48. package/funcs/{promptSnippetsFindOne.d.ts → promptsRetrieve.d.ts} +6 -3
  49. package/funcs/promptsRetrieve.d.ts.map +1 -0
  50. package/funcs/{promptsGetOne.js → promptsRetrieve.js} +10 -8
  51. package/funcs/promptsRetrieve.js.map +1 -0
  52. package/funcs/promptsUpdate.js +1 -1
  53. package/funcs/promptsUpdate.js.map +1 -1
  54. package/funcs/{remoteconfigGetConfig.d.ts → remoteconfigsRetrieve.d.ts} +3 -3
  55. package/funcs/{remoteconfigGetConfig.d.ts.map → remoteconfigsRetrieve.d.ts.map} +1 -1
  56. package/funcs/{remoteconfigGetConfig.js → remoteconfigsRetrieve.js} +4 -4
  57. package/funcs/{remoteconfigGetConfig.js.map → remoteconfigsRetrieve.js.map} +1 -1
  58. package/jsr.json +1 -1
  59. package/lib/config.d.ts +10 -2
  60. package/lib/config.d.ts.map +1 -1
  61. package/lib/config.js +2 -2
  62. package/lib/config.js.map +1 -1
  63. package/lib/env.d.ts +13 -0
  64. package/lib/env.d.ts.map +1 -1
  65. package/lib/env.js +17 -0
  66. package/lib/env.js.map +1 -1
  67. package/lib/sdks.js +1 -1
  68. package/lib/sdks.js.map +1 -1
  69. package/models/components/deployments.d.ts +0 -5
  70. package/models/components/deployments.d.ts.map +1 -1
  71. package/models/components/deployments.js +0 -2
  72. package/models/components/deployments.js.map +1 -1
  73. package/models/errors/getpromptversion.d.ts +36 -0
  74. package/models/errors/getpromptversion.d.ts.map +1 -0
  75. package/models/{operations/duplicateprompt.js → errors/getpromptversion.js} +33 -23
  76. package/models/errors/getpromptversion.js.map +1 -0
  77. package/models/errors/index.d.ts +1 -0
  78. package/models/errors/index.d.ts.map +1 -1
  79. package/models/errors/index.js +1 -0
  80. package/models/errors/index.js.map +1 -1
  81. package/models/operations/createcontact.js +2 -2
  82. package/models/operations/createprompt.d.ts +406 -85
  83. package/models/operations/createprompt.d.ts.map +1 -1
  84. package/models/operations/createprompt.js +241 -78
  85. package/models/operations/createprompt.js.map +1 -1
  86. package/models/operations/deleteprompt.d.ts +1 -1
  87. package/models/operations/deploymentgetconfig.d.ts +39 -0
  88. package/models/operations/deploymentgetconfig.d.ts.map +1 -1
  89. package/models/operations/deploymentgetconfig.js +29 -4
  90. package/models/operations/deploymentgetconfig.js.map +1 -1
  91. package/models/operations/deploymentinvoke.d.ts +23 -683
  92. package/models/operations/deploymentinvoke.d.ts.map +1 -1
  93. package/models/operations/deploymentinvoke.js +23 -614
  94. package/models/operations/deploymentinvoke.js.map +1 -1
  95. package/models/operations/deployments.d.ts +54 -8
  96. package/models/operations/deployments.d.ts.map +1 -1
  97. package/models/operations/deployments.js +44 -13
  98. package/models/operations/deployments.js.map +1 -1
  99. package/models/operations/deploymentstream.d.ts +1622 -0
  100. package/models/operations/deploymentstream.d.ts.map +1 -0
  101. package/models/operations/deploymentstream.js +1571 -0
  102. package/models/operations/deploymentstream.js.map +1 -0
  103. package/models/operations/fileget.js +2 -2
  104. package/models/operations/filelist.d.ts +14 -11
  105. package/models/operations/filelist.d.ts.map +1 -1
  106. package/models/operations/filelist.js +18 -18
  107. package/models/operations/filelist.js.map +1 -1
  108. package/models/operations/fileupload.js +2 -2
  109. package/models/operations/getallprompts.d.ts +565 -9945
  110. package/models/operations/getallprompts.d.ts.map +1 -1
  111. package/models/operations/getallprompts.js +556 -8804
  112. package/models/operations/getallprompts.js.map +1 -1
  113. package/models/operations/getoneprompt.d.ts +1203 -1
  114. package/models/operations/getoneprompt.d.ts.map +1 -1
  115. package/models/operations/getoneprompt.js +1011 -1
  116. package/models/operations/getoneprompt.js.map +1 -1
  117. package/models/operations/getpromptversion.d.ts +1228 -0
  118. package/models/operations/getpromptversion.d.ts.map +1 -0
  119. package/models/operations/getpromptversion.js +1080 -0
  120. package/models/operations/getpromptversion.js.map +1 -0
  121. package/models/operations/index.d.ts +3 -6
  122. package/models/operations/index.d.ts.map +1 -1
  123. package/models/operations/index.js +3 -6
  124. package/models/operations/index.js.map +1 -1
  125. package/models/operations/listpromptversions.d.ts +1286 -0
  126. package/models/operations/listpromptversions.d.ts.map +1 -0
  127. package/models/operations/listpromptversions.js +1142 -0
  128. package/models/operations/listpromptversions.js.map +1 -0
  129. package/models/operations/updateprompt.d.ts +1123 -5981
  130. package/models/operations/updateprompt.d.ts.map +1 -1
  131. package/models/operations/updateprompt.js +1145 -5755
  132. package/models/operations/updateprompt.js.map +1 -1
  133. package/package.json +1 -1
  134. package/sdk/deployments.d.ts +10 -6
  135. package/sdk/deployments.d.ts.map +1 -1
  136. package/sdk/deployments.js +14 -6
  137. package/sdk/deployments.js.map +1 -1
  138. package/sdk/files.d.ts +9 -14
  139. package/sdk/files.d.ts.map +1 -1
  140. package/sdk/files.js +11 -22
  141. package/sdk/files.js.map +1 -1
  142. package/sdk/prompts.d.ts +26 -14
  143. package/sdk/prompts.d.ts.map +1 -1
  144. package/sdk/prompts.js +37 -25
  145. package/sdk/prompts.js.map +1 -1
  146. package/sdk/remoteconfigs.d.ts +9 -0
  147. package/sdk/remoteconfigs.d.ts.map +1 -0
  148. package/sdk/remoteconfigs.js +19 -0
  149. package/sdk/remoteconfigs.js.map +1 -0
  150. package/sdk/sdk.d.ts +3 -6
  151. package/sdk/sdk.d.ts.map +1 -1
  152. package/sdk/sdk.js +3 -7
  153. package/sdk/sdk.js.map +1 -1
  154. package/src/funcs/deploymentsInvoke.ts +21 -16
  155. package/src/funcs/{deploymentsAll.ts → deploymentsList.ts} +3 -2
  156. package/src/funcs/{promptsCreateVersion.ts → deploymentsStream.ts} +37 -18
  157. package/src/funcs/{filesUpload.ts → filesCreate.ts} +2 -2
  158. package/src/funcs/filesGet.ts +4 -1
  159. package/src/funcs/filesList.ts +5 -3
  160. package/src/funcs/promptsCreate.ts +2 -2
  161. package/src/funcs/promptsDelete.ts +1 -1
  162. package/src/funcs/{promptSnippetsFindOne.ts → promptsGetVersion.ts} +30 -14
  163. package/src/funcs/{promptsGetAll.ts → promptsList.ts} +18 -13
  164. package/src/funcs/{promptsDuplicate.ts → promptsListVersions.ts} +22 -13
  165. package/src/funcs/{promptsGetOne.ts → promptsRetrieve.ts} +10 -8
  166. package/src/funcs/promptsUpdate.ts +1 -1
  167. package/src/funcs/{remoteconfigGetConfig.ts → remoteconfigsRetrieve.ts} +2 -2
  168. package/src/lib/config.ts +12 -2
  169. package/src/lib/env.ts +32 -0
  170. package/src/lib/sdks.ts +2 -2
  171. package/src/models/components/deployments.ts +0 -7
  172. package/src/models/errors/getpromptversion.ts +71 -0
  173. package/src/models/errors/index.ts +1 -0
  174. package/src/models/operations/createcontact.ts +2 -2
  175. package/src/models/operations/createprompt.ts +380 -124
  176. package/src/models/operations/deleteprompt.ts +1 -1
  177. package/src/models/operations/deploymentgetconfig.ts +44 -0
  178. package/src/models/operations/deploymentinvoke.ts +182 -1423
  179. package/src/models/operations/deployments.ts +68 -18
  180. package/src/models/operations/deploymentstream.ts +3062 -0
  181. package/src/models/operations/fileget.ts +2 -2
  182. package/src/models/operations/filelist.ts +32 -29
  183. package/src/models/operations/fileupload.ts +2 -2
  184. package/src/models/operations/getallprompts.ts +1316 -17840
  185. package/src/models/operations/getoneprompt.ts +1914 -1
  186. package/src/models/operations/getpromptversion.ts +2012 -0
  187. package/src/models/operations/index.ts +3 -6
  188. package/src/models/operations/listpromptversions.ts +2146 -0
  189. package/src/models/operations/updateprompt.ts +2001 -12508
  190. package/src/sdk/deployments.ts +25 -11
  191. package/src/sdk/files.ts +11 -38
  192. package/src/sdk/prompts.ts +51 -39
  193. package/src/sdk/{remoteconfig.ts → remoteconfigs.ts} +5 -5
  194. package/src/sdk/sdk.ts +4 -10
  195. package/docs/sdks/prompt/README.md +0 -6
  196. package/docs/sdks/snippets/README.md +0 -84
  197. package/docs/sdks/templates/README.md +0 -80
  198. package/funcs/deploymentsAll.d.ts.map +0 -1
  199. package/funcs/deploymentsAll.js.map +0 -1
  200. package/funcs/filesBulkUpload.d.ts +0 -15
  201. package/funcs/filesBulkUpload.d.ts.map +0 -1
  202. package/funcs/filesBulkUpload.js +0 -109
  203. package/funcs/filesBulkUpload.js.map +0 -1
  204. package/funcs/filesUpdate.d.ts +0 -12
  205. package/funcs/filesUpdate.d.ts.map +0 -1
  206. package/funcs/filesUpdate.js +0 -110
  207. package/funcs/filesUpdate.js.map +0 -1
  208. package/funcs/promptSnippetsFindOne.d.ts.map +0 -1
  209. package/funcs/promptSnippetsFindOne.js +0 -109
  210. package/funcs/promptSnippetsFindOne.js.map +0 -1
  211. package/funcs/promptTemplatesGetAll.d.ts +0 -12
  212. package/funcs/promptTemplatesGetAll.d.ts.map +0 -1
  213. package/funcs/promptTemplatesGetAll.js +0 -109
  214. package/funcs/promptTemplatesGetAll.js.map +0 -1
  215. package/funcs/promptsCreateVersion.d.ts +0 -12
  216. package/funcs/promptsCreateVersion.d.ts.map +0 -1
  217. package/funcs/promptsCreateVersion.js.map +0 -1
  218. package/funcs/promptsDuplicate.d.ts +0 -12
  219. package/funcs/promptsDuplicate.d.ts.map +0 -1
  220. package/funcs/promptsDuplicate.js.map +0 -1
  221. package/funcs/promptsGetAll.d.ts +0 -12
  222. package/funcs/promptsGetAll.d.ts.map +0 -1
  223. package/funcs/promptsGetAll.js.map +0 -1
  224. package/funcs/promptsGetOne.d.ts +0 -12
  225. package/funcs/promptsGetOne.d.ts.map +0 -1
  226. package/funcs/promptsGetOne.js.map +0 -1
  227. package/models/operations/bulkfileupload.d.ts +0 -173
  228. package/models/operations/bulkfileupload.d.ts.map +0 -1
  229. package/models/operations/bulkfileupload.js +0 -210
  230. package/models/operations/bulkfileupload.js.map +0 -1
  231. package/models/operations/createpromptversion.d.ts +0 -2003
  232. package/models/operations/createpromptversion.d.ts.map +0 -1
  233. package/models/operations/createpromptversion.js +0 -1852
  234. package/models/operations/createpromptversion.js.map +0 -1
  235. package/models/operations/duplicateprompt.d.ts +0 -32
  236. package/models/operations/duplicateprompt.d.ts.map +0 -1
  237. package/models/operations/duplicateprompt.js.map +0 -1
  238. package/models/operations/fileupdate.d.ts +0 -143
  239. package/models/operations/fileupdate.d.ts.map +0 -1
  240. package/models/operations/fileupdate.js +0 -193
  241. package/models/operations/fileupdate.js.map +0 -1
  242. package/models/operations/findonepromptsnippet.d.ts +0 -6278
  243. package/models/operations/findonepromptsnippet.d.ts.map +0 -1
  244. package/models/operations/findonepromptsnippet.js +0 -5891
  245. package/models/operations/findonepromptsnippet.js.map +0 -1
  246. package/models/operations/getallprompttemplates.d.ts +0 -6607
  247. package/models/operations/getallprompttemplates.d.ts.map +0 -1
  248. package/models/operations/getallprompttemplates.js +0 -6225
  249. package/models/operations/getallprompttemplates.js.map +0 -1
  250. package/sdk/prompt.d.ts +0 -10
  251. package/sdk/prompt.d.ts.map +0 -1
  252. package/sdk/prompt.js +0 -19
  253. package/sdk/prompt.js.map +0 -1
  254. package/sdk/remoteconfig.d.ts +0 -9
  255. package/sdk/remoteconfig.d.ts.map +0 -1
  256. package/sdk/remoteconfig.js +0 -19
  257. package/sdk/remoteconfig.js.map +0 -1
  258. package/sdk/snippets.d.ts +0 -9
  259. package/sdk/snippets.d.ts.map +0 -1
  260. package/sdk/snippets.js +0 -19
  261. package/sdk/snippets.js.map +0 -1
  262. package/sdk/templates.d.ts +0 -9
  263. package/sdk/templates.d.ts.map +0 -1
  264. package/sdk/templates.js +0 -19
  265. package/sdk/templates.js.map +0 -1
  266. package/src/funcs/filesBulkUpload.ts +0 -129
  267. package/src/funcs/filesUpdate.ts +0 -130
  268. package/src/funcs/promptTemplatesGetAll.ts +0 -132
  269. package/src/models/operations/bulkfileupload.ts +0 -315
  270. package/src/models/operations/createpromptversion.ts +0 -3703
  271. package/src/models/operations/duplicateprompt.ts +0 -69
  272. package/src/models/operations/fileupdate.ts +0 -298
  273. package/src/models/operations/findonepromptsnippet.ts +0 -13629
  274. package/src/models/operations/getallprompttemplates.ts +0 -13690
  275. package/src/sdk/prompt.ts +0 -19
  276. package/src/sdk/snippets.ts +0 -24
  277. package/src/sdk/templates.ts +0 -24
@@ -100,6 +100,18 @@ export declare const EncodingFormat: {
100
100
  * The format to return the embeddings
101
101
  */
102
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>;
103
115
  /**
104
116
  * Model Parameters: Not all parameters apply to every model
105
117
  */
@@ -172,6 +184,10 @@ export type ModelParameters = {
172
184
  * The format to return the embeddings
173
185
  */
174
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;
175
191
  };
176
192
  export declare const Provider: {
177
193
  readonly Cohere: "cohere";
@@ -190,6 +206,8 @@ export declare const Provider: {
190
206
  readonly Leonardoai: "leonardoai";
191
207
  readonly Nvidia: "nvidia";
192
208
  readonly Jina: "jina";
209
+ readonly Togetherai: "togetherai";
210
+ readonly Elevenlabs: "elevenlabs";
193
211
  };
194
212
  export type Provider = ClosedEnum<typeof Provider>;
195
213
  /**
@@ -274,6 +292,9 @@ export type CreatePromptMessages = {
274
292
  content: string | Array<CreatePrompt21 | CreatePrompt22>;
275
293
  toolCalls?: Array<CreatePromptToolCalls> | undefined;
276
294
  };
295
+ /**
296
+ * A list of messages compatible with the openAI schema
297
+ */
277
298
  export type PromptConfig = {
278
299
  stream?: boolean | undefined;
279
300
  model?: string | undefined;
@@ -289,24 +310,74 @@ export type PromptConfig = {
289
310
  version?: string | undefined;
290
311
  messages: Array<CreatePromptMessages>;
291
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>;
292
348
  export type CreatePromptMetadata = {
293
- useCases?: Array<string> | undefined;
294
- language?: string | undefined;
295
- };
296
- export declare const CreatePromptPromptsType: {
297
- readonly Prompt: "prompt";
298
- readonly Snippet: "snippet";
299
- readonly Template: "template";
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;
300
357
  };
301
- export type CreatePromptPromptsType = ClosedEnum<typeof CreatePromptPromptsType>;
302
358
  export type CreatePromptRequestBody = {
359
+ /**
360
+ * The prompt’s name, meant to be displayable in the UI.
361
+ */
303
362
  displayName: string;
363
+ /**
364
+ * The prompt’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
365
+ */
304
366
  description?: string | null | undefined;
305
- promptConfig?: PromptConfig | undefined;
367
+ /**
368
+ * A list of messages compatible with the openAI schema
369
+ */
370
+ promptConfig: PromptConfig;
306
371
  metadata?: CreatePromptMetadata | undefined;
307
- key?: string | undefined;
308
- type: CreatePromptPromptsType;
372
+ /**
373
+ * 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.
374
+ */
375
+ path: string;
376
+ };
377
+ export declare const CreatePromptPromptsType: {
378
+ readonly Prompt: "prompt";
309
379
  };
380
+ export type CreatePromptPromptsType = ClosedEnum<typeof CreatePromptPromptsType>;
310
381
  /**
311
382
  * The type of the model
312
383
  */
@@ -405,6 +476,18 @@ export declare const CreatePromptEncodingFormat: {
405
476
  * The format to return the embeddings
406
477
  */
407
478
  export type CreatePromptEncodingFormat = ClosedEnum<typeof CreatePromptEncodingFormat>;
479
+ /**
480
+ * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
481
+ */
482
+ export declare const CreatePromptReasoningEffort: {
483
+ readonly Low: "low";
484
+ readonly Medium: "medium";
485
+ readonly High: "high";
486
+ };
487
+ /**
488
+ * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
489
+ */
490
+ export type CreatePromptReasoningEffort = ClosedEnum<typeof CreatePromptReasoningEffort>;
408
491
  /**
409
492
  * Model Parameters: Not all parameters apply to every model
410
493
  */
@@ -477,6 +560,10 @@ export type CreatePromptModelParameters = {
477
560
  * The format to return the embeddings
478
561
  */
479
562
  encodingFormat?: CreatePromptEncodingFormat | undefined;
563
+ /**
564
+ * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
565
+ */
566
+ reasoningEffort?: CreatePromptReasoningEffort | undefined;
480
567
  };
481
568
  export declare const CreatePromptProvider: {
482
569
  readonly Cohere: "cohere";
@@ -495,6 +582,8 @@ export declare const CreatePromptProvider: {
495
582
  readonly Leonardoai: "leonardoai";
496
583
  readonly Nvidia: "nvidia";
497
584
  readonly Jina: "jina";
585
+ readonly Togetherai: "togetherai";
586
+ readonly Elevenlabs: "elevenlabs";
498
587
  };
499
588
  export type CreatePromptProvider = ClosedEnum<typeof CreatePromptProvider>;
500
589
  /**
@@ -555,10 +644,10 @@ export type CreatePromptContentPrompts2 = CreatePrompt2Prompts1 | CreatePrompt2P
555
644
  * 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.
556
645
  */
557
646
  export type CreatePromptPromptsContent = string | Array<CreatePrompt2Prompts1 | CreatePrompt2Prompts2>;
558
- export declare const CreatePromptPromptsResponse200Type: {
647
+ export declare const CreatePromptPromptsResponseType: {
559
648
  readonly Function: "function";
560
649
  };
561
- export type CreatePromptPromptsResponse200Type = ClosedEnum<typeof CreatePromptPromptsResponse200Type>;
650
+ export type CreatePromptPromptsResponseType = ClosedEnum<typeof CreatePromptPromptsResponseType>;
562
651
  export type CreatePromptPromptsFunction = {
563
652
  name: string;
564
653
  /**
@@ -569,7 +658,7 @@ export type CreatePromptPromptsFunction = {
569
658
  export type CreatePromptPromptsToolCalls = {
570
659
  id?: string | undefined;
571
660
  index?: number | undefined;
572
- type: CreatePromptPromptsResponse200Type;
661
+ type: CreatePromptPromptsResponseType;
573
662
  function: CreatePromptPromptsFunction;
574
663
  };
575
664
  export type CreatePromptPromptsMessages = {
@@ -583,6 +672,9 @@ export type CreatePromptPromptsMessages = {
583
672
  content: string | Array<CreatePrompt2Prompts1 | CreatePrompt2Prompts2>;
584
673
  toolCalls?: Array<CreatePromptPromptsToolCalls> | undefined;
585
674
  };
675
+ /**
676
+ * A list of messages compatible with the openAI schema
677
+ */
586
678
  export type CreatePromptPromptConfig = {
587
679
  stream?: boolean | undefined;
588
680
  model?: string | undefined;
@@ -606,34 +698,76 @@ export type CreatePromptPromptConfig = {
606
698
  version?: string | undefined;
607
699
  messages: Array<CreatePromptPromptsMessages>;
608
700
  };
701
+ export declare const CreatePromptUseCases: {
702
+ readonly Agents: "Agents";
703
+ readonly AgentsSimulations: "Agents simulations";
704
+ readonly APIInteraction: "API interaction";
705
+ readonly AutonomousAgents: "Autonomous Agents";
706
+ readonly Chatbots: "Chatbots";
707
+ readonly Classification: "Classification";
708
+ readonly CodeUnderstanding: "Code understanding";
709
+ readonly CodeWriting: "Code writing";
710
+ readonly DocumentsQA: "Documents QA";
711
+ readonly Conversation: "Conversation";
712
+ readonly Extraction: "Extraction";
713
+ readonly MultiModal: "Multi-modal";
714
+ readonly SelfChecking: "Self-checking";
715
+ readonly Sql: "SQL";
716
+ readonly Summarization: "Summarization";
717
+ readonly Tagging: "Tagging";
718
+ };
719
+ export type CreatePromptUseCases = ClosedEnum<typeof CreatePromptUseCases>;
720
+ /**
721
+ * The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
722
+ */
723
+ export declare const CreatePromptLanguage: {
724
+ readonly Chinese: "Chinese";
725
+ readonly Dutch: "Dutch";
726
+ readonly English: "English";
727
+ readonly French: "French";
728
+ readonly German: "German";
729
+ readonly Russian: "Russian";
730
+ readonly Spanish: "Spanish";
731
+ };
732
+ /**
733
+ * The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
734
+ */
735
+ export type CreatePromptLanguage = ClosedEnum<typeof CreatePromptLanguage>;
609
736
  export type CreatePromptPromptsMetadata = {
610
- useCases?: Array<string> | undefined;
611
- language?: string | undefined;
612
- };
613
- export declare const CreatePromptPromptsResponseType: {
614
- readonly Prompt: "prompt";
615
- readonly Snippet: "snippet";
616
- readonly Template: "template";
737
+ /**
738
+ * 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
739
+ */
740
+ useCases?: Array<CreatePromptUseCases> | undefined;
741
+ /**
742
+ * The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
743
+ */
744
+ language?: CreatePromptLanguage | undefined;
617
745
  };
618
- export type CreatePromptPromptsResponseType = ClosedEnum<typeof CreatePromptPromptsResponseType>;
619
746
  /**
620
747
  * Prompt created.
621
748
  */
622
749
  export type CreatePromptResponseBody = {
750
+ id: string;
751
+ type: CreatePromptPromptsType;
752
+ owner: string;
753
+ domainId: string;
754
+ created: string;
755
+ updated: string;
756
+ createdById?: string | undefined;
757
+ updatedById?: string | undefined;
623
758
  /**
624
- * The id of the resource
759
+ * The prompt’s name, meant to be displayable in the UI.
625
760
  */
626
- id: string;
627
761
  displayName: string;
628
762
  /**
629
- * The id of the resource
763
+ * The prompt’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
630
764
  */
631
- domainId: string;
632
765
  description?: string | null | undefined;
633
- promptConfig?: CreatePromptPromptConfig | undefined;
766
+ /**
767
+ * A list of messages compatible with the openAI schema
768
+ */
769
+ promptConfig: CreatePromptPromptConfig;
634
770
  metadata?: CreatePromptPromptsMetadata | undefined;
635
- key?: string | undefined;
636
- type: CreatePromptPromptsResponseType;
637
771
  };
638
772
  /** @internal */
639
773
  export declare const ModelType$inboundSchema: z.ZodNativeEnum<typeof ModelType>;
@@ -881,6 +1015,28 @@ export declare namespace EncodingFormat$ {
881
1015
  }>;
882
1016
  }
883
1017
  /** @internal */
1018
+ export declare const ReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof ReasoningEffort>;
1019
+ /** @internal */
1020
+ export declare const ReasoningEffort$outboundSchema: z.ZodNativeEnum<typeof ReasoningEffort>;
1021
+ /**
1022
+ * @internal
1023
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1024
+ */
1025
+ export declare namespace ReasoningEffort$ {
1026
+ /** @deprecated use `ReasoningEffort$inboundSchema` instead. */
1027
+ const inboundSchema: z.ZodNativeEnum<{
1028
+ readonly Low: "low";
1029
+ readonly Medium: "medium";
1030
+ readonly High: "high";
1031
+ }>;
1032
+ /** @deprecated use `ReasoningEffort$outboundSchema` instead. */
1033
+ const outboundSchema: z.ZodNativeEnum<{
1034
+ readonly Low: "low";
1035
+ readonly Medium: "medium";
1036
+ readonly High: "high";
1037
+ }>;
1038
+ }
1039
+ /** @internal */
884
1040
  export declare const ModelParameters$inboundSchema: z.ZodType<ModelParameters, z.ZodTypeDef, unknown>;
885
1041
  /** @internal */
886
1042
  export type ModelParameters$Outbound = {
@@ -899,6 +1055,7 @@ export type ModelParameters$Outbound = {
899
1055
  responseFormat?: ResponseFormat2$Outbound | ResponseFormat1$Outbound | null | undefined;
900
1056
  photoRealVersion?: string | undefined;
901
1057
  encoding_format?: string | undefined;
1058
+ reasoningEffort?: string | undefined;
902
1059
  };
903
1060
  /** @internal */
904
1061
  export declare const ModelParameters$outboundSchema: z.ZodType<ModelParameters$Outbound, z.ZodTypeDef, ModelParameters>;
@@ -943,6 +1100,8 @@ export declare namespace Provider$ {
943
1100
  readonly Leonardoai: "leonardoai";
944
1101
  readonly Nvidia: "nvidia";
945
1102
  readonly Jina: "jina";
1103
+ readonly Togetherai: "togetherai";
1104
+ readonly Elevenlabs: "elevenlabs";
946
1105
  }>;
947
1106
  /** @deprecated use `Provider$outboundSchema` instead. */
948
1107
  const outboundSchema: z.ZodNativeEnum<{
@@ -962,6 +1121,8 @@ export declare namespace Provider$ {
962
1121
  readonly Leonardoai: "leonardoai";
963
1122
  readonly Nvidia: "nvidia";
964
1123
  readonly Jina: "jina";
1124
+ readonly Togetherai: "togetherai";
1125
+ readonly Elevenlabs: "elevenlabs";
965
1126
  }>;
966
1127
  }
967
1128
  /** @internal */
@@ -1260,6 +1421,84 @@ export declare namespace PromptConfig$ {
1260
1421
  export declare function promptConfigToJSON(promptConfig: PromptConfig): string;
1261
1422
  export declare function promptConfigFromJSON(jsonString: string): SafeParseResult<PromptConfig, SDKValidationError>;
1262
1423
  /** @internal */
1424
+ export declare const UseCases$inboundSchema: z.ZodNativeEnum<typeof UseCases>;
1425
+ /** @internal */
1426
+ export declare const UseCases$outboundSchema: z.ZodNativeEnum<typeof UseCases>;
1427
+ /**
1428
+ * @internal
1429
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1430
+ */
1431
+ export declare namespace UseCases$ {
1432
+ /** @deprecated use `UseCases$inboundSchema` instead. */
1433
+ const inboundSchema: z.ZodNativeEnum<{
1434
+ readonly Agents: "Agents";
1435
+ readonly AgentsSimulations: "Agents simulations";
1436
+ readonly APIInteraction: "API interaction";
1437
+ readonly AutonomousAgents: "Autonomous Agents";
1438
+ readonly Chatbots: "Chatbots";
1439
+ readonly Classification: "Classification";
1440
+ readonly CodeUnderstanding: "Code understanding";
1441
+ readonly CodeWriting: "Code writing";
1442
+ readonly DocumentsQA: "Documents QA";
1443
+ readonly Conversation: "Conversation";
1444
+ readonly Extraction: "Extraction";
1445
+ readonly MultiModal: "Multi-modal";
1446
+ readonly SelfChecking: "Self-checking";
1447
+ readonly Sql: "SQL";
1448
+ readonly Summarization: "Summarization";
1449
+ readonly Tagging: "Tagging";
1450
+ }>;
1451
+ /** @deprecated use `UseCases$outboundSchema` instead. */
1452
+ const outboundSchema: z.ZodNativeEnum<{
1453
+ readonly Agents: "Agents";
1454
+ readonly AgentsSimulations: "Agents simulations";
1455
+ readonly APIInteraction: "API interaction";
1456
+ readonly AutonomousAgents: "Autonomous Agents";
1457
+ readonly Chatbots: "Chatbots";
1458
+ readonly Classification: "Classification";
1459
+ readonly CodeUnderstanding: "Code understanding";
1460
+ readonly CodeWriting: "Code writing";
1461
+ readonly DocumentsQA: "Documents QA";
1462
+ readonly Conversation: "Conversation";
1463
+ readonly Extraction: "Extraction";
1464
+ readonly MultiModal: "Multi-modal";
1465
+ readonly SelfChecking: "Self-checking";
1466
+ readonly Sql: "SQL";
1467
+ readonly Summarization: "Summarization";
1468
+ readonly Tagging: "Tagging";
1469
+ }>;
1470
+ }
1471
+ /** @internal */
1472
+ export declare const Language$inboundSchema: z.ZodNativeEnum<typeof Language>;
1473
+ /** @internal */
1474
+ export declare const Language$outboundSchema: z.ZodNativeEnum<typeof Language>;
1475
+ /**
1476
+ * @internal
1477
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1478
+ */
1479
+ export declare namespace Language$ {
1480
+ /** @deprecated use `Language$inboundSchema` instead. */
1481
+ const inboundSchema: z.ZodNativeEnum<{
1482
+ readonly Chinese: "Chinese";
1483
+ readonly Dutch: "Dutch";
1484
+ readonly English: "English";
1485
+ readonly French: "French";
1486
+ readonly German: "German";
1487
+ readonly Russian: "Russian";
1488
+ readonly Spanish: "Spanish";
1489
+ }>;
1490
+ /** @deprecated use `Language$outboundSchema` instead. */
1491
+ const outboundSchema: z.ZodNativeEnum<{
1492
+ readonly Chinese: "Chinese";
1493
+ readonly Dutch: "Dutch";
1494
+ readonly English: "English";
1495
+ readonly French: "French";
1496
+ readonly German: "German";
1497
+ readonly Russian: "Russian";
1498
+ readonly Spanish: "Spanish";
1499
+ }>;
1500
+ }
1501
+ /** @internal */
1263
1502
  export declare const CreatePromptMetadata$inboundSchema: z.ZodType<CreatePromptMetadata, z.ZodTypeDef, unknown>;
1264
1503
  /** @internal */
1265
1504
  export type CreatePromptMetadata$Outbound = {
@@ -1283,37 +1522,14 @@ export declare namespace CreatePromptMetadata$ {
1283
1522
  export declare function createPromptMetadataToJSON(createPromptMetadata: CreatePromptMetadata): string;
1284
1523
  export declare function createPromptMetadataFromJSON(jsonString: string): SafeParseResult<CreatePromptMetadata, SDKValidationError>;
1285
1524
  /** @internal */
1286
- export declare const CreatePromptPromptsType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsType>;
1287
- /** @internal */
1288
- export declare const CreatePromptPromptsType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsType>;
1289
- /**
1290
- * @internal
1291
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1292
- */
1293
- export declare namespace CreatePromptPromptsType$ {
1294
- /** @deprecated use `CreatePromptPromptsType$inboundSchema` instead. */
1295
- const inboundSchema: z.ZodNativeEnum<{
1296
- readonly Prompt: "prompt";
1297
- readonly Snippet: "snippet";
1298
- readonly Template: "template";
1299
- }>;
1300
- /** @deprecated use `CreatePromptPromptsType$outboundSchema` instead. */
1301
- const outboundSchema: z.ZodNativeEnum<{
1302
- readonly Prompt: "prompt";
1303
- readonly Snippet: "snippet";
1304
- readonly Template: "template";
1305
- }>;
1306
- }
1307
- /** @internal */
1308
1525
  export declare const CreatePromptRequestBody$inboundSchema: z.ZodType<CreatePromptRequestBody, z.ZodTypeDef, unknown>;
1309
1526
  /** @internal */
1310
1527
  export type CreatePromptRequestBody$Outbound = {
1311
1528
  display_name: string;
1312
1529
  description?: string | null | undefined;
1313
- prompt_config?: PromptConfig$Outbound | undefined;
1530
+ prompt_config: PromptConfig$Outbound;
1314
1531
  metadata?: CreatePromptMetadata$Outbound | undefined;
1315
- key?: string | undefined;
1316
- type: string;
1532
+ path: string;
1317
1533
  };
1318
1534
  /** @internal */
1319
1535
  export declare const CreatePromptRequestBody$outboundSchema: z.ZodType<CreatePromptRequestBody$Outbound, z.ZodTypeDef, CreatePromptRequestBody>;
@@ -1332,6 +1548,24 @@ export declare namespace CreatePromptRequestBody$ {
1332
1548
  export declare function createPromptRequestBodyToJSON(createPromptRequestBody: CreatePromptRequestBody): string;
1333
1549
  export declare function createPromptRequestBodyFromJSON(jsonString: string): SafeParseResult<CreatePromptRequestBody, SDKValidationError>;
1334
1550
  /** @internal */
1551
+ export declare const CreatePromptPromptsType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsType>;
1552
+ /** @internal */
1553
+ export declare const CreatePromptPromptsType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsType>;
1554
+ /**
1555
+ * @internal
1556
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1557
+ */
1558
+ export declare namespace CreatePromptPromptsType$ {
1559
+ /** @deprecated use `CreatePromptPromptsType$inboundSchema` instead. */
1560
+ const inboundSchema: z.ZodNativeEnum<{
1561
+ readonly Prompt: "prompt";
1562
+ }>;
1563
+ /** @deprecated use `CreatePromptPromptsType$outboundSchema` instead. */
1564
+ const outboundSchema: z.ZodNativeEnum<{
1565
+ readonly Prompt: "prompt";
1566
+ }>;
1567
+ }
1568
+ /** @internal */
1335
1569
  export declare const CreatePromptModelType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptModelType>;
1336
1570
  /** @internal */
1337
1571
  export declare const CreatePromptModelType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptModelType>;
@@ -1577,6 +1811,28 @@ export declare namespace CreatePromptEncodingFormat$ {
1577
1811
  }>;
1578
1812
  }
1579
1813
  /** @internal */
1814
+ export declare const CreatePromptReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof CreatePromptReasoningEffort>;
1815
+ /** @internal */
1816
+ export declare const CreatePromptReasoningEffort$outboundSchema: z.ZodNativeEnum<typeof CreatePromptReasoningEffort>;
1817
+ /**
1818
+ * @internal
1819
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1820
+ */
1821
+ export declare namespace CreatePromptReasoningEffort$ {
1822
+ /** @deprecated use `CreatePromptReasoningEffort$inboundSchema` instead. */
1823
+ const inboundSchema: z.ZodNativeEnum<{
1824
+ readonly Low: "low";
1825
+ readonly Medium: "medium";
1826
+ readonly High: "high";
1827
+ }>;
1828
+ /** @deprecated use `CreatePromptReasoningEffort$outboundSchema` instead. */
1829
+ const outboundSchema: z.ZodNativeEnum<{
1830
+ readonly Low: "low";
1831
+ readonly Medium: "medium";
1832
+ readonly High: "high";
1833
+ }>;
1834
+ }
1835
+ /** @internal */
1580
1836
  export declare const CreatePromptModelParameters$inboundSchema: z.ZodType<CreatePromptModelParameters, z.ZodTypeDef, unknown>;
1581
1837
  /** @internal */
1582
1838
  export type CreatePromptModelParameters$Outbound = {
@@ -1595,6 +1851,7 @@ export type CreatePromptModelParameters$Outbound = {
1595
1851
  responseFormat?: CreatePromptResponseFormat2$Outbound | CreatePromptResponseFormat1$Outbound | null | undefined;
1596
1852
  photoRealVersion?: string | undefined;
1597
1853
  encoding_format?: string | undefined;
1854
+ reasoningEffort?: string | undefined;
1598
1855
  };
1599
1856
  /** @internal */
1600
1857
  export declare const CreatePromptModelParameters$outboundSchema: z.ZodType<CreatePromptModelParameters$Outbound, z.ZodTypeDef, CreatePromptModelParameters>;
@@ -1639,6 +1896,8 @@ export declare namespace CreatePromptProvider$ {
1639
1896
  readonly Leonardoai: "leonardoai";
1640
1897
  readonly Nvidia: "nvidia";
1641
1898
  readonly Jina: "jina";
1899
+ readonly Togetherai: "togetherai";
1900
+ readonly Elevenlabs: "elevenlabs";
1642
1901
  }>;
1643
1902
  /** @deprecated use `CreatePromptProvider$outboundSchema` instead. */
1644
1903
  const outboundSchema: z.ZodNativeEnum<{
@@ -1658,6 +1917,8 @@ export declare namespace CreatePromptProvider$ {
1658
1917
  readonly Leonardoai: "leonardoai";
1659
1918
  readonly Nvidia: "nvidia";
1660
1919
  readonly Jina: "jina";
1920
+ readonly Togetherai: "togetherai";
1921
+ readonly Elevenlabs: "elevenlabs";
1661
1922
  }>;
1662
1923
  }
1663
1924
  /** @internal */
@@ -1839,19 +2100,19 @@ export declare namespace CreatePromptPromptsContent$ {
1839
2100
  export declare function createPromptPromptsContentToJSON(createPromptPromptsContent: CreatePromptPromptsContent): string;
1840
2101
  export declare function createPromptPromptsContentFromJSON(jsonString: string): SafeParseResult<CreatePromptPromptsContent, SDKValidationError>;
1841
2102
  /** @internal */
1842
- export declare const CreatePromptPromptsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsResponse200Type>;
2103
+ export declare const CreatePromptPromptsResponseType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsResponseType>;
1843
2104
  /** @internal */
1844
- export declare const CreatePromptPromptsResponse200Type$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsResponse200Type>;
2105
+ export declare const CreatePromptPromptsResponseType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsResponseType>;
1845
2106
  /**
1846
2107
  * @internal
1847
2108
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1848
2109
  */
1849
- export declare namespace CreatePromptPromptsResponse200Type$ {
1850
- /** @deprecated use `CreatePromptPromptsResponse200Type$inboundSchema` instead. */
2110
+ export declare namespace CreatePromptPromptsResponseType$ {
2111
+ /** @deprecated use `CreatePromptPromptsResponseType$inboundSchema` instead. */
1851
2112
  const inboundSchema: z.ZodNativeEnum<{
1852
2113
  readonly Function: "function";
1853
2114
  }>;
1854
- /** @deprecated use `CreatePromptPromptsResponse200Type$outboundSchema` instead. */
2115
+ /** @deprecated use `CreatePromptPromptsResponseType$outboundSchema` instead. */
1855
2116
  const outboundSchema: z.ZodNativeEnum<{
1856
2117
  readonly Function: "function";
1857
2118
  }>;
@@ -1959,6 +2220,84 @@ export declare namespace CreatePromptPromptConfig$ {
1959
2220
  export declare function createPromptPromptConfigToJSON(createPromptPromptConfig: CreatePromptPromptConfig): string;
1960
2221
  export declare function createPromptPromptConfigFromJSON(jsonString: string): SafeParseResult<CreatePromptPromptConfig, SDKValidationError>;
1961
2222
  /** @internal */
2223
+ export declare const CreatePromptUseCases$inboundSchema: z.ZodNativeEnum<typeof CreatePromptUseCases>;
2224
+ /** @internal */
2225
+ export declare const CreatePromptUseCases$outboundSchema: z.ZodNativeEnum<typeof CreatePromptUseCases>;
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 CreatePromptUseCases$ {
2231
+ /** @deprecated use `CreatePromptUseCases$inboundSchema` instead. */
2232
+ const inboundSchema: z.ZodNativeEnum<{
2233
+ readonly Agents: "Agents";
2234
+ readonly AgentsSimulations: "Agents simulations";
2235
+ readonly APIInteraction: "API interaction";
2236
+ readonly AutonomousAgents: "Autonomous Agents";
2237
+ readonly Chatbots: "Chatbots";
2238
+ readonly Classification: "Classification";
2239
+ readonly CodeUnderstanding: "Code understanding";
2240
+ readonly CodeWriting: "Code writing";
2241
+ readonly DocumentsQA: "Documents QA";
2242
+ readonly Conversation: "Conversation";
2243
+ readonly Extraction: "Extraction";
2244
+ readonly MultiModal: "Multi-modal";
2245
+ readonly SelfChecking: "Self-checking";
2246
+ readonly Sql: "SQL";
2247
+ readonly Summarization: "Summarization";
2248
+ readonly Tagging: "Tagging";
2249
+ }>;
2250
+ /** @deprecated use `CreatePromptUseCases$outboundSchema` instead. */
2251
+ const outboundSchema: z.ZodNativeEnum<{
2252
+ readonly Agents: "Agents";
2253
+ readonly AgentsSimulations: "Agents simulations";
2254
+ readonly APIInteraction: "API interaction";
2255
+ readonly AutonomousAgents: "Autonomous Agents";
2256
+ readonly Chatbots: "Chatbots";
2257
+ readonly Classification: "Classification";
2258
+ readonly CodeUnderstanding: "Code understanding";
2259
+ readonly CodeWriting: "Code writing";
2260
+ readonly DocumentsQA: "Documents QA";
2261
+ readonly Conversation: "Conversation";
2262
+ readonly Extraction: "Extraction";
2263
+ readonly MultiModal: "Multi-modal";
2264
+ readonly SelfChecking: "Self-checking";
2265
+ readonly Sql: "SQL";
2266
+ readonly Summarization: "Summarization";
2267
+ readonly Tagging: "Tagging";
2268
+ }>;
2269
+ }
2270
+ /** @internal */
2271
+ export declare const CreatePromptLanguage$inboundSchema: z.ZodNativeEnum<typeof CreatePromptLanguage>;
2272
+ /** @internal */
2273
+ export declare const CreatePromptLanguage$outboundSchema: z.ZodNativeEnum<typeof CreatePromptLanguage>;
2274
+ /**
2275
+ * @internal
2276
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2277
+ */
2278
+ export declare namespace CreatePromptLanguage$ {
2279
+ /** @deprecated use `CreatePromptLanguage$inboundSchema` instead. */
2280
+ const inboundSchema: z.ZodNativeEnum<{
2281
+ readonly Chinese: "Chinese";
2282
+ readonly Dutch: "Dutch";
2283
+ readonly English: "English";
2284
+ readonly French: "French";
2285
+ readonly German: "German";
2286
+ readonly Russian: "Russian";
2287
+ readonly Spanish: "Spanish";
2288
+ }>;
2289
+ /** @deprecated use `CreatePromptLanguage$outboundSchema` instead. */
2290
+ const outboundSchema: z.ZodNativeEnum<{
2291
+ readonly Chinese: "Chinese";
2292
+ readonly Dutch: "Dutch";
2293
+ readonly English: "English";
2294
+ readonly French: "French";
2295
+ readonly German: "German";
2296
+ readonly Russian: "Russian";
2297
+ readonly Spanish: "Spanish";
2298
+ }>;
2299
+ }
2300
+ /** @internal */
1962
2301
  export declare const CreatePromptPromptsMetadata$inboundSchema: z.ZodType<CreatePromptPromptsMetadata, z.ZodTypeDef, unknown>;
1963
2302
  /** @internal */
1964
2303
  export type CreatePromptPromptsMetadata$Outbound = {
@@ -1982,39 +2321,21 @@ export declare namespace CreatePromptPromptsMetadata$ {
1982
2321
  export declare function createPromptPromptsMetadataToJSON(createPromptPromptsMetadata: CreatePromptPromptsMetadata): string;
1983
2322
  export declare function createPromptPromptsMetadataFromJSON(jsonString: string): SafeParseResult<CreatePromptPromptsMetadata, SDKValidationError>;
1984
2323
  /** @internal */
1985
- export declare const CreatePromptPromptsResponseType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsResponseType>;
1986
- /** @internal */
1987
- export declare const CreatePromptPromptsResponseType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsResponseType>;
1988
- /**
1989
- * @internal
1990
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1991
- */
1992
- export declare namespace CreatePromptPromptsResponseType$ {
1993
- /** @deprecated use `CreatePromptPromptsResponseType$inboundSchema` instead. */
1994
- const inboundSchema: z.ZodNativeEnum<{
1995
- readonly Prompt: "prompt";
1996
- readonly Snippet: "snippet";
1997
- readonly Template: "template";
1998
- }>;
1999
- /** @deprecated use `CreatePromptPromptsResponseType$outboundSchema` instead. */
2000
- const outboundSchema: z.ZodNativeEnum<{
2001
- readonly Prompt: "prompt";
2002
- readonly Snippet: "snippet";
2003
- readonly Template: "template";
2004
- }>;
2005
- }
2006
- /** @internal */
2007
2324
  export declare const CreatePromptResponseBody$inboundSchema: z.ZodType<CreatePromptResponseBody, z.ZodTypeDef, unknown>;
2008
2325
  /** @internal */
2009
2326
  export type CreatePromptResponseBody$Outbound = {
2010
2327
  _id: string;
2011
- display_name: string;
2328
+ type: string;
2329
+ owner: string;
2012
2330
  domain_id: string;
2331
+ created: string;
2332
+ updated: string;
2333
+ created_by_id?: string | undefined;
2334
+ updated_by_id?: string | undefined;
2335
+ display_name: string;
2013
2336
  description?: string | null | undefined;
2014
- prompt_config?: CreatePromptPromptConfig$Outbound | undefined;
2337
+ prompt_config: CreatePromptPromptConfig$Outbound;
2015
2338
  metadata?: CreatePromptPromptsMetadata$Outbound | undefined;
2016
- key?: string | undefined;
2017
- type: string;
2018
2339
  };
2019
2340
  /** @internal */
2020
2341
  export declare const CreatePromptResponseBody$outboundSchema: z.ZodType<CreatePromptResponseBody$Outbound, z.ZodTypeDef, CreatePromptResponseBody>;