@orq-ai/node 3.1.0 → 3.1.2

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 (304) hide show
  1. package/README.md +34 -34
  2. package/docs/sdks/deployments/README.md +9 -86
  3. package/docs/sdks/files/README.md +174 -2
  4. package/docs/sdks/orq/README.md +1 -1
  5. package/docs/sdks/prompt/README.md +6 -0
  6. package/docs/sdks/prompts/README.md +128 -135
  7. package/docs/sdks/snippets/README.md +84 -0
  8. package/docs/sdks/templates/README.md +80 -0
  9. package/funcs/{deploymentsList.d.ts → deploymentsAll.d.ts} +2 -2
  10. package/funcs/deploymentsAll.d.ts.map +1 -0
  11. package/funcs/{deploymentsList.js → deploymentsAll.js} +4 -5
  12. package/funcs/deploymentsAll.js.map +1 -0
  13. package/funcs/deploymentsInvoke.d.ts +7 -1
  14. package/funcs/deploymentsInvoke.d.ts.map +1 -1
  15. package/funcs/deploymentsInvoke.js +11 -10
  16. package/funcs/deploymentsInvoke.js.map +1 -1
  17. package/funcs/filesBulkUpload.d.ts +15 -0
  18. package/funcs/filesBulkUpload.d.ts.map +1 -0
  19. package/funcs/{promptsList.js → filesBulkUpload.js} +15 -18
  20. package/funcs/filesBulkUpload.js.map +1 -0
  21. package/funcs/{promptSnippetsDelete.d.ts → filesUpdate.d.ts} +3 -3
  22. package/funcs/filesUpdate.d.ts.map +1 -0
  23. package/funcs/{promptSnippetsGetByKey.js → filesUpdate.js} +13 -12
  24. package/funcs/filesUpdate.js.map +1 -0
  25. package/funcs/{promptSnippetsList.d.ts → promptSnippetsFindOne.d.ts} +3 -3
  26. package/funcs/promptSnippetsFindOne.d.ts.map +1 -0
  27. package/funcs/{promptSnippetsGet.js → promptSnippetsFindOne.js} +6 -6
  28. package/funcs/promptSnippetsFindOne.js.map +1 -0
  29. package/funcs/{promptSnippetsCreate.d.ts → promptTemplatesGetAll.d.ts} +3 -3
  30. package/funcs/promptTemplatesGetAll.d.ts.map +1 -0
  31. package/funcs/{promptSnippetsList.js → promptTemplatesGetAll.js} +13 -13
  32. package/funcs/promptTemplatesGetAll.js.map +1 -0
  33. package/funcs/promptsCreate.d.ts +1 -1
  34. package/funcs/promptsCreate.js +2 -2
  35. package/funcs/promptsCreate.js.map +1 -1
  36. package/funcs/{promptsRetrieve.d.ts → promptsCreateVersion.d.ts} +3 -6
  37. package/funcs/{promptSnippetsDelete.d.ts.map → promptsCreateVersion.d.ts.map} +1 -1
  38. package/funcs/promptsCreateVersion.js +110 -0
  39. package/funcs/promptsCreateVersion.js.map +1 -0
  40. package/funcs/promptsDelete.js +1 -1
  41. package/funcs/promptsDelete.js.map +1 -1
  42. package/funcs/{promptSnippetsGet.d.ts → promptsDuplicate.d.ts} +3 -3
  43. package/funcs/promptsDuplicate.d.ts.map +1 -0
  44. package/funcs/{promptSnippetsDelete.js → promptsDuplicate.js} +8 -8
  45. package/funcs/promptsDuplicate.js.map +1 -0
  46. package/funcs/promptsGetAll.d.ts +12 -0
  47. package/funcs/promptsGetAll.d.ts.map +1 -0
  48. package/funcs/{promptSnippetsCreate.js → promptsGetAll.js} +8 -8
  49. package/funcs/promptsGetAll.js.map +1 -0
  50. package/funcs/promptsGetOne.d.ts +12 -0
  51. package/funcs/promptsGetOne.d.ts.map +1 -0
  52. package/funcs/{promptsRetrieve.js → promptsGetOne.js} +8 -10
  53. package/funcs/promptsGetOne.js.map +1 -0
  54. package/funcs/promptsUpdate.js +1 -1
  55. package/funcs/promptsUpdate.js.map +1 -1
  56. package/jsr.json +1 -1
  57. package/lib/config.d.ts +2 -10
  58. package/lib/config.d.ts.map +1 -1
  59. package/lib/config.js +2 -2
  60. package/lib/config.js.map +1 -1
  61. package/lib/env.d.ts +0 -13
  62. package/lib/env.d.ts.map +1 -1
  63. package/lib/env.js +0 -17
  64. package/lib/env.js.map +1 -1
  65. package/lib/sdks.js +1 -1
  66. package/lib/sdks.js.map +1 -1
  67. package/models/components/deployments.d.ts +5 -0
  68. package/models/components/deployments.d.ts.map +1 -1
  69. package/models/components/deployments.js +2 -0
  70. package/models/components/deployments.js.map +1 -1
  71. package/models/errors/index.d.ts +0 -2
  72. package/models/errors/index.d.ts.map +1 -1
  73. package/models/errors/index.js +0 -2
  74. package/models/errors/index.js.map +1 -1
  75. package/models/operations/bulkfileupload.d.ts +173 -0
  76. package/models/operations/bulkfileupload.d.ts.map +1 -0
  77. package/models/operations/bulkfileupload.js +210 -0
  78. package/models/operations/bulkfileupload.js.map +1 -0
  79. package/models/operations/createcontact.js +2 -2
  80. package/models/operations/createprompt.d.ts +381 -702
  81. package/models/operations/createprompt.d.ts.map +1 -1
  82. package/models/operations/createprompt.js +481 -641
  83. package/models/operations/createprompt.js.map +1 -1
  84. package/models/operations/createpromptversion.d.ts +2003 -0
  85. package/models/operations/createpromptversion.d.ts.map +1 -0
  86. package/models/operations/createpromptversion.js +1852 -0
  87. package/models/operations/createpromptversion.js.map +1 -0
  88. package/models/operations/deleteprompt.d.ts +1 -1
  89. package/models/operations/deploymentgetconfig.d.ts +0 -39
  90. package/models/operations/deploymentgetconfig.d.ts.map +1 -1
  91. package/models/operations/deploymentgetconfig.js +4 -29
  92. package/models/operations/deploymentgetconfig.js.map +1 -1
  93. package/models/operations/deploymentinvoke.d.ts +683 -23
  94. package/models/operations/deploymentinvoke.d.ts.map +1 -1
  95. package/models/operations/deploymentinvoke.js +614 -23
  96. package/models/operations/deploymentinvoke.js.map +1 -1
  97. package/models/operations/deployments.d.ts +8 -54
  98. package/models/operations/deployments.d.ts.map +1 -1
  99. package/models/operations/deployments.js +13 -44
  100. package/models/operations/deployments.js.map +1 -1
  101. package/models/operations/duplicateprompt.d.ts +32 -0
  102. package/models/operations/duplicateprompt.d.ts.map +1 -0
  103. package/models/operations/{deletepromptsnippet.js → duplicateprompt.js} +17 -17
  104. package/models/operations/duplicateprompt.js.map +1 -0
  105. package/models/operations/fileget.js +2 -2
  106. package/models/operations/filelist.d.ts +5 -1
  107. package/models/operations/filelist.d.ts.map +1 -1
  108. package/models/operations/filelist.js +12 -4
  109. package/models/operations/filelist.js.map +1 -1
  110. package/models/operations/fileupdate.d.ts +143 -0
  111. package/models/operations/fileupdate.d.ts.map +1 -0
  112. package/models/operations/fileupdate.js +193 -0
  113. package/models/operations/fileupdate.js.map +1 -0
  114. package/models/operations/fileupload.js +2 -2
  115. package/models/operations/findonepromptsnippet.d.ts +4768 -938
  116. package/models/operations/findonepromptsnippet.d.ts.map +1 -1
  117. package/models/operations/findonepromptsnippet.js +4751 -984
  118. package/models/operations/findonepromptsnippet.js.map +1 -1
  119. package/models/operations/getallprompts.d.ts +9926 -546
  120. package/models/operations/getallprompts.d.ts.map +1 -1
  121. package/models/operations/getallprompts.js +8805 -557
  122. package/models/operations/getallprompts.js.map +1 -1
  123. package/models/operations/getallprompttemplates.d.ts +6607 -0
  124. package/models/operations/getallprompttemplates.d.ts.map +1 -0
  125. package/models/operations/getallprompttemplates.js +6225 -0
  126. package/models/operations/getallprompttemplates.js.map +1 -0
  127. package/models/operations/getoneprompt.d.ts +1 -1203
  128. package/models/operations/getoneprompt.d.ts.map +1 -1
  129. package/models/operations/getoneprompt.js +1 -1011
  130. package/models/operations/getoneprompt.js.map +1 -1
  131. package/models/operations/index.d.ts +5 -8
  132. package/models/operations/index.d.ts.map +1 -1
  133. package/models/operations/index.js +5 -8
  134. package/models/operations/index.js.map +1 -1
  135. package/models/operations/updateprompt.d.ts +5979 -1121
  136. package/models/operations/updateprompt.d.ts.map +1 -1
  137. package/models/operations/updateprompt.js +5729 -1119
  138. package/models/operations/updateprompt.js.map +1 -1
  139. package/package.json +1 -1
  140. package/sdk/deployments.d.ts +6 -10
  141. package/sdk/deployments.d.ts.map +1 -1
  142. package/sdk/deployments.js +6 -14
  143. package/sdk/deployments.js.map +1 -1
  144. package/sdk/files.d.ts +11 -0
  145. package/sdk/files.d.ts.map +1 -1
  146. package/sdk/files.js +17 -0
  147. package/sdk/files.js.map +1 -1
  148. package/sdk/prompt.d.ts +10 -0
  149. package/sdk/prompt.d.ts.map +1 -0
  150. package/sdk/prompt.js +19 -0
  151. package/sdk/prompt.js.map +1 -0
  152. package/sdk/prompts.d.ts +14 -26
  153. package/sdk/prompts.d.ts.map +1 -1
  154. package/sdk/prompts.js +25 -37
  155. package/sdk/prompts.js.map +1 -1
  156. package/sdk/sdk.d.ts +3 -3
  157. package/sdk/sdk.d.ts.map +1 -1
  158. package/sdk/sdk.js +3 -3
  159. package/sdk/sdk.js.map +1 -1
  160. package/sdk/snippets.d.ts +9 -0
  161. package/sdk/snippets.d.ts.map +1 -0
  162. package/sdk/snippets.js +19 -0
  163. package/sdk/snippets.js.map +1 -0
  164. package/sdk/templates.d.ts +9 -0
  165. package/sdk/templates.d.ts.map +1 -0
  166. package/sdk/templates.js +19 -0
  167. package/sdk/templates.js.map +1 -0
  168. package/src/funcs/{deploymentsList.ts → deploymentsAll.ts} +2 -3
  169. package/src/funcs/deploymentsInvoke.ts +16 -21
  170. package/src/funcs/filesBulkUpload.ts +129 -0
  171. package/src/funcs/{promptSnippetsGetByKey.ts → filesUpdate.ts} +16 -18
  172. package/src/funcs/{promptSnippetsGet.ts → promptSnippetsFindOne.ts} +4 -4
  173. package/src/funcs/{promptSnippetsList.ts → promptTemplatesGetAll.ts} +16 -16
  174. package/src/funcs/promptsCreate.ts +2 -2
  175. package/src/funcs/promptsCreateVersion.ts +131 -0
  176. package/src/funcs/promptsDelete.ts +1 -1
  177. package/src/funcs/{promptSnippetsDelete.ts → promptsDuplicate.ts} +7 -8
  178. package/src/funcs/{promptSnippetsCreate.ts → promptsGetAll.ts} +9 -9
  179. package/src/funcs/{promptsRetrieve.ts → promptsGetOne.ts} +8 -10
  180. package/src/funcs/promptsUpdate.ts +1 -1
  181. package/src/lib/config.ts +2 -12
  182. package/src/lib/env.ts +0 -32
  183. package/src/lib/sdks.ts +2 -2
  184. package/src/models/components/deployments.ts +7 -0
  185. package/src/models/errors/index.ts +0 -2
  186. package/src/models/operations/bulkfileupload.ts +315 -0
  187. package/src/models/operations/createcontact.ts +2 -2
  188. package/src/models/operations/createprompt.ts +690 -1048
  189. package/src/models/operations/createpromptversion.ts +3703 -0
  190. package/src/models/operations/deleteprompt.ts +1 -1
  191. package/src/models/operations/deploymentgetconfig.ts +0 -44
  192. package/src/models/operations/deploymentinvoke.ts +1415 -174
  193. package/src/models/operations/deployments.ts +18 -68
  194. package/src/models/operations/duplicateprompt.ts +69 -0
  195. package/src/models/operations/fileget.ts +2 -2
  196. package/src/models/operations/filelist.ts +17 -5
  197. package/src/models/operations/fileupdate.ts +298 -0
  198. package/src/models/operations/fileupload.ts +2 -2
  199. package/src/models/operations/findonepromptsnippet.ts +11104 -1818
  200. package/src/models/operations/getallprompts.ts +17860 -1336
  201. package/src/models/operations/getallprompttemplates.ts +13690 -0
  202. package/src/models/operations/getoneprompt.ts +1 -1914
  203. package/src/models/operations/index.ts +5 -8
  204. package/src/models/operations/updateprompt.ts +12561 -2071
  205. package/src/sdk/deployments.ts +11 -25
  206. package/src/sdk/files.ts +33 -0
  207. package/src/sdk/prompt.ts +19 -0
  208. package/src/sdk/prompts.ts +39 -51
  209. package/src/sdk/sdk.ts +4 -4
  210. package/src/sdk/snippets.ts +24 -0
  211. package/src/sdk/templates.ts +24 -0
  212. package/docs/sdks/promptsnippets/README.md +0 -488
  213. package/funcs/deploymentsList.d.ts.map +0 -1
  214. package/funcs/deploymentsList.js.map +0 -1
  215. package/funcs/deploymentsStream.d.ts +0 -16
  216. package/funcs/deploymentsStream.d.ts.map +0 -1
  217. package/funcs/deploymentsStream.js +0 -125
  218. package/funcs/deploymentsStream.js.map +0 -1
  219. package/funcs/promptSnippetsCreate.d.ts.map +0 -1
  220. package/funcs/promptSnippetsCreate.js.map +0 -1
  221. package/funcs/promptSnippetsDelete.js.map +0 -1
  222. package/funcs/promptSnippetsGet.d.ts.map +0 -1
  223. package/funcs/promptSnippetsGet.js.map +0 -1
  224. package/funcs/promptSnippetsGetByKey.d.ts +0 -12
  225. package/funcs/promptSnippetsGetByKey.d.ts.map +0 -1
  226. package/funcs/promptSnippetsGetByKey.js.map +0 -1
  227. package/funcs/promptSnippetsList.d.ts.map +0 -1
  228. package/funcs/promptSnippetsList.js.map +0 -1
  229. package/funcs/promptSnippetsUpdate.d.ts +0 -13
  230. package/funcs/promptSnippetsUpdate.d.ts.map +0 -1
  231. package/funcs/promptSnippetsUpdate.js +0 -114
  232. package/funcs/promptSnippetsUpdate.js.map +0 -1
  233. package/funcs/promptsGetVersion.d.ts +0 -16
  234. package/funcs/promptsGetVersion.d.ts.map +0 -1
  235. package/funcs/promptsGetVersion.js +0 -120
  236. package/funcs/promptsGetVersion.js.map +0 -1
  237. package/funcs/promptsList.d.ts +0 -15
  238. package/funcs/promptsList.d.ts.map +0 -1
  239. package/funcs/promptsList.js.map +0 -1
  240. package/funcs/promptsListVersions.d.ts +0 -15
  241. package/funcs/promptsListVersions.d.ts.map +0 -1
  242. package/funcs/promptsListVersions.js +0 -118
  243. package/funcs/promptsListVersions.js.map +0 -1
  244. package/funcs/promptsRetrieve.d.ts.map +0 -1
  245. package/funcs/promptsRetrieve.js.map +0 -1
  246. package/models/errors/getpromptversion.d.ts +0 -36
  247. package/models/errors/getpromptversion.d.ts.map +0 -1
  248. package/models/errors/getpromptversion.js +0 -79
  249. package/models/errors/getpromptversion.js.map +0 -1
  250. package/models/errors/updatepromptsnippet.d.ts +0 -36
  251. package/models/errors/updatepromptsnippet.d.ts.map +0 -1
  252. package/models/errors/updatepromptsnippet.js +0 -79
  253. package/models/errors/updatepromptsnippet.js.map +0 -1
  254. package/models/operations/createpromptsnippet.d.ts +0 -3567
  255. package/models/operations/createpromptsnippet.d.ts.map +0 -1
  256. package/models/operations/createpromptsnippet.js +0 -3056
  257. package/models/operations/createpromptsnippet.js.map +0 -1
  258. package/models/operations/deletepromptsnippet.d.ts +0 -32
  259. package/models/operations/deletepromptsnippet.d.ts.map +0 -1
  260. package/models/operations/deletepromptsnippet.js.map +0 -1
  261. package/models/operations/deploymentstream.d.ts +0 -1622
  262. package/models/operations/deploymentstream.d.ts.map +0 -1
  263. package/models/operations/deploymentstream.js +0 -1571
  264. package/models/operations/deploymentstream.js.map +0 -1
  265. package/models/operations/findonebykeypromptsnippet.d.ts +0 -2448
  266. package/models/operations/findonebykeypromptsnippet.d.ts.map +0 -1
  267. package/models/operations/findonebykeypromptsnippet.js +0 -2133
  268. package/models/operations/findonebykeypromptsnippet.js.map +0 -1
  269. package/models/operations/getallpromptsnippets.d.ts +0 -2512
  270. package/models/operations/getallpromptsnippets.d.ts.map +0 -1
  271. package/models/operations/getallpromptsnippets.js +0 -2195
  272. package/models/operations/getallpromptsnippets.js.map +0 -1
  273. package/models/operations/getpromptversion.d.ts +0 -1228
  274. package/models/operations/getpromptversion.d.ts.map +0 -1
  275. package/models/operations/getpromptversion.js +0 -1080
  276. package/models/operations/getpromptversion.js.map +0 -1
  277. package/models/operations/listpromptversions.d.ts +0 -1286
  278. package/models/operations/listpromptversions.d.ts.map +0 -1
  279. package/models/operations/listpromptversions.js +0 -1142
  280. package/models/operations/listpromptversions.js.map +0 -1
  281. package/models/operations/updatepromptsnippet.d.ts +0 -3595
  282. package/models/operations/updatepromptsnippet.d.ts.map +0 -1
  283. package/models/operations/updatepromptsnippet.js +0 -3116
  284. package/models/operations/updatepromptsnippet.js.map +0 -1
  285. package/sdk/promptsnippets.d.ts +0 -29
  286. package/sdk/promptsnippets.d.ts.map +0 -1
  287. package/sdk/promptsnippets.js +0 -54
  288. package/sdk/promptsnippets.js.map +0 -1
  289. package/src/funcs/deploymentsStream.ts +0 -150
  290. package/src/funcs/promptSnippetsUpdate.ts +0 -139
  291. package/src/funcs/promptsGetVersion.ts +0 -146
  292. package/src/funcs/promptsList.ts +0 -133
  293. package/src/funcs/promptsListVersions.ts +0 -139
  294. package/src/models/errors/getpromptversion.ts +0 -71
  295. package/src/models/errors/updatepromptsnippet.ts +0 -71
  296. package/src/models/operations/createpromptsnippet.ts +0 -6239
  297. package/src/models/operations/deletepromptsnippet.ts +0 -69
  298. package/src/models/operations/deploymentstream.ts +0 -3062
  299. package/src/models/operations/findonebykeypromptsnippet.ts +0 -4483
  300. package/src/models/operations/getallpromptsnippets.ts +0 -4472
  301. package/src/models/operations/getpromptversion.ts +0 -2012
  302. package/src/models/operations/listpromptversions.ts +0 -2146
  303. package/src/models/operations/updatepromptsnippet.ts +0 -6544
  304. package/src/sdk/promptsnippets.ts +0 -99
@@ -1,2512 +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
- export type GetAllPromptSnippetsRequest = {
6
- /**
7
- * A limit on the number of objects to be returned. Limit can range between 1 and 50, and the default is 10
8
- */
9
- limit?: number | undefined;
10
- /**
11
- * A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, ending with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `after=01JJ1HDHN79XAS7A01WB3HYSDB` in order to fetch the next page of the list.
12
- */
13
- startingAfter?: string | undefined;
14
- /**
15
- * A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, starting with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `before=01JJ1HDHN79XAS7A01WB3HYSDB` in order to fetch the previous page of the list.
16
- */
17
- endingBefore?: string | undefined;
18
- };
19
- export declare const GetAllPromptSnippetsObject: {
20
- readonly List: "list";
21
- };
22
- export type GetAllPromptSnippetsObject = ClosedEnum<typeof GetAllPromptSnippetsObject>;
23
- export declare const GetAllPromptSnippetsOwner2: {
24
- readonly Vendor: "vendor";
25
- };
26
- export type GetAllPromptSnippetsOwner2 = ClosedEnum<typeof GetAllPromptSnippetsOwner2>;
27
- export type GetAllPromptSnippetsOwner = string | GetAllPromptSnippetsOwner2;
28
- /**
29
- * The type of the model
30
- */
31
- export declare const GetAllPromptSnippetsModelType: {
32
- readonly Chat: "chat";
33
- readonly Completion: "completion";
34
- readonly Embedding: "embedding";
35
- readonly Vision: "vision";
36
- readonly Image: "image";
37
- readonly Tts: "tts";
38
- readonly Stt: "stt";
39
- readonly Rerank: "rerank";
40
- readonly Moderations: "moderations";
41
- };
42
- /**
43
- * The type of the model
44
- */
45
- export type GetAllPromptSnippetsModelType = ClosedEnum<typeof GetAllPromptSnippetsModelType>;
46
- /**
47
- * Only supported on `image` models.
48
- */
49
- export declare const GetAllPromptSnippetsFormat: {
50
- readonly Url: "url";
51
- readonly B64Json: "b64_json";
52
- readonly Text: "text";
53
- readonly JsonObject: "json_object";
54
- };
55
- /**
56
- * Only supported on `image` models.
57
- */
58
- export type GetAllPromptSnippetsFormat = ClosedEnum<typeof GetAllPromptSnippetsFormat>;
59
- /**
60
- * Only supported on `image` models.
61
- */
62
- export declare const GetAllPromptSnippetsQuality: {
63
- readonly Standard: "standard";
64
- readonly Hd: "hd";
65
- };
66
- /**
67
- * Only supported on `image` models.
68
- */
69
- export type GetAllPromptSnippetsQuality = ClosedEnum<typeof GetAllPromptSnippetsQuality>;
70
- export declare const GetAllPromptSnippetsResponseFormatPromptSnippetsType: {
71
- readonly JsonObject: "json_object";
72
- };
73
- export type GetAllPromptSnippetsResponseFormatPromptSnippetsType = ClosedEnum<typeof GetAllPromptSnippetsResponseFormatPromptSnippetsType>;
74
- export type GetAllPromptSnippetsResponseFormat2 = {
75
- type: GetAllPromptSnippetsResponseFormatPromptSnippetsType;
76
- };
77
- export declare const GetAllPromptSnippetsResponseFormatType: {
78
- readonly JsonSchema: "json_schema";
79
- };
80
- export type GetAllPromptSnippetsResponseFormatType = ClosedEnum<typeof GetAllPromptSnippetsResponseFormatType>;
81
- export type GetAllPromptSnippetsResponseFormatJsonSchema = {
82
- name: string;
83
- strict: boolean;
84
- schema: {
85
- [k: string]: any;
86
- };
87
- };
88
- export type GetAllPromptSnippetsResponseFormat1 = {
89
- type: GetAllPromptSnippetsResponseFormatType;
90
- jsonSchema: GetAllPromptSnippetsResponseFormatJsonSchema;
91
- };
92
- /**
93
- * An object specifying the format that the model must output.
94
- *
95
- * @remarks
96
- *
97
- * Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema
98
- *
99
- * Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
100
- *
101
- * 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.
102
- */
103
- export type GetAllPromptSnippetsResponseFormat = GetAllPromptSnippetsResponseFormat2 | GetAllPromptSnippetsResponseFormat1;
104
- /**
105
- * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
106
- */
107
- export declare const GetAllPromptSnippetsPhotoRealVersion: {
108
- readonly V1: "v1";
109
- readonly V2: "v2";
110
- };
111
- /**
112
- * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
113
- */
114
- export type GetAllPromptSnippetsPhotoRealVersion = ClosedEnum<typeof GetAllPromptSnippetsPhotoRealVersion>;
115
- /**
116
- * The format to return the embeddings
117
- */
118
- export declare const GetAllPromptSnippetsEncodingFormat: {
119
- readonly Float: "float";
120
- readonly Base64: "base64";
121
- };
122
- /**
123
- * The format to return the embeddings
124
- */
125
- export type GetAllPromptSnippetsEncodingFormat = ClosedEnum<typeof GetAllPromptSnippetsEncodingFormat>;
126
- /**
127
- * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
128
- */
129
- export declare const GetAllPromptSnippetsReasoningEffort: {
130
- readonly Low: "low";
131
- readonly Medium: "medium";
132
- readonly High: "high";
133
- };
134
- /**
135
- * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
136
- */
137
- export type GetAllPromptSnippetsReasoningEffort = ClosedEnum<typeof GetAllPromptSnippetsReasoningEffort>;
138
- /**
139
- * Model Parameters: Not all parameters apply to every model
140
- */
141
- export type GetAllPromptSnippetsModelParameters = {
142
- /**
143
- * Only supported on `chat` and `completion` models.
144
- */
145
- temperature?: number | undefined;
146
- /**
147
- * Only supported on `chat` and `completion` models.
148
- */
149
- maxTokens?: number | undefined;
150
- /**
151
- * Only supported on `chat` and `completion` models.
152
- */
153
- topK?: number | undefined;
154
- /**
155
- * Only supported on `chat` and `completion` models.
156
- */
157
- topP?: number | undefined;
158
- /**
159
- * Only supported on `chat` and `completion` models.
160
- */
161
- frequencyPenalty?: number | undefined;
162
- /**
163
- * Only supported on `chat` and `completion` models.
164
- */
165
- presencePenalty?: number | undefined;
166
- /**
167
- * Only supported on `image` models.
168
- */
169
- numImages?: number | undefined;
170
- /**
171
- * Best effort deterministic seed for the model. Currently only OpenAI models support these
172
- */
173
- seed?: number | undefined;
174
- /**
175
- * Only supported on `image` models.
176
- */
177
- format?: GetAllPromptSnippetsFormat | undefined;
178
- /**
179
- * Only supported on `image` models.
180
- */
181
- dimensions?: string | undefined;
182
- /**
183
- * Only supported on `image` models.
184
- */
185
- quality?: GetAllPromptSnippetsQuality | undefined;
186
- /**
187
- * Only supported on `image` models.
188
- */
189
- style?: string | undefined;
190
- /**
191
- * An object specifying the format that the model must output.
192
- *
193
- * @remarks
194
- *
195
- * Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema
196
- *
197
- * Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
198
- *
199
- * 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.
200
- */
201
- responseFormat?: GetAllPromptSnippetsResponseFormat2 | GetAllPromptSnippetsResponseFormat1 | null | undefined;
202
- /**
203
- * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
204
- */
205
- photoRealVersion?: GetAllPromptSnippetsPhotoRealVersion | undefined;
206
- /**
207
- * The format to return the embeddings
208
- */
209
- encodingFormat?: GetAllPromptSnippetsEncodingFormat | undefined;
210
- /**
211
- * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
212
- */
213
- reasoningEffort?: GetAllPromptSnippetsReasoningEffort | undefined;
214
- };
215
- export declare const GetAllPromptSnippetsProvider: {
216
- readonly Cohere: "cohere";
217
- readonly Openai: "openai";
218
- readonly Anthropic: "anthropic";
219
- readonly Huggingface: "huggingface";
220
- readonly Replicate: "replicate";
221
- readonly Google: "google";
222
- readonly GoogleAi: "google-ai";
223
- readonly Azure: "azure";
224
- readonly Aws: "aws";
225
- readonly Anyscale: "anyscale";
226
- readonly Perplexity: "perplexity";
227
- readonly Groq: "groq";
228
- readonly Fal: "fal";
229
- readonly Leonardoai: "leonardoai";
230
- readonly Nvidia: "nvidia";
231
- readonly Jina: "jina";
232
- readonly Togetherai: "togetherai";
233
- readonly Elevenlabs: "elevenlabs";
234
- };
235
- export type GetAllPromptSnippetsProvider = ClosedEnum<typeof GetAllPromptSnippetsProvider>;
236
- /**
237
- * The role of the prompt message
238
- */
239
- export declare const GetAllPromptSnippetsRole: {
240
- readonly System: "system";
241
- readonly Assistant: "assistant";
242
- readonly User: "user";
243
- readonly Exception: "exception";
244
- readonly Tool: "tool";
245
- readonly Prompt: "prompt";
246
- readonly Correction: "correction";
247
- readonly ExpectedOutput: "expected_output";
248
- };
249
- /**
250
- * The role of the prompt message
251
- */
252
- export type GetAllPromptSnippetsRole = ClosedEnum<typeof GetAllPromptSnippetsRole>;
253
- export declare const GetAllPromptSnippets2PromptSnippetsType: {
254
- readonly ImageUrl: "image_url";
255
- };
256
- export type GetAllPromptSnippets2PromptSnippetsType = ClosedEnum<typeof GetAllPromptSnippets2PromptSnippetsType>;
257
- export type GetAllPromptSnippets2ImageUrl = {
258
- /**
259
- * The orq.ai id of the image
260
- */
261
- id?: string | undefined;
262
- /**
263
- * Either a URL of the image or the base64 encoded data URI.
264
- */
265
- url: string;
266
- /**
267
- * Specifies the detail level of the image. Currently only supported with OpenAI models
268
- */
269
- detail?: string | undefined;
270
- };
271
- /**
272
- * The image part of the prompt message. Only supported with vision models.
273
- */
274
- export type GetAllPromptSnippets22 = {
275
- type: GetAllPromptSnippets2PromptSnippetsType;
276
- imageUrl: GetAllPromptSnippets2ImageUrl;
277
- };
278
- export declare const GetAllPromptSnippets2Type: {
279
- readonly Text: "text";
280
- };
281
- export type GetAllPromptSnippets2Type = ClosedEnum<typeof GetAllPromptSnippets2Type>;
282
- /**
283
- * Text content part of a prompt message
284
- */
285
- export type GetAllPromptSnippets21 = {
286
- type: GetAllPromptSnippets2Type;
287
- text: string;
288
- };
289
- export type GetAllPromptSnippetsContent2 = GetAllPromptSnippets21 | GetAllPromptSnippets22;
290
- /**
291
- * 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.
292
- */
293
- export type GetAllPromptSnippetsContent = string | Array<GetAllPromptSnippets21 | GetAllPromptSnippets22>;
294
- export declare const GetAllPromptSnippetsPromptSnippetsType: {
295
- readonly Function: "function";
296
- };
297
- export type GetAllPromptSnippetsPromptSnippetsType = ClosedEnum<typeof GetAllPromptSnippetsPromptSnippetsType>;
298
- export type GetAllPromptSnippetsFunction = {
299
- name: string;
300
- /**
301
- * JSON string arguments for the functions
302
- */
303
- arguments: string;
304
- };
305
- export type GetAllPromptSnippetsToolCalls = {
306
- id?: string | undefined;
307
- index?: number | undefined;
308
- type: GetAllPromptSnippetsPromptSnippetsType;
309
- function: GetAllPromptSnippetsFunction;
310
- };
311
- export type GetAllPromptSnippetsMessages = {
312
- /**
313
- * The role of the prompt message
314
- */
315
- role: GetAllPromptSnippetsRole;
316
- /**
317
- * 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.
318
- */
319
- content: string | Array<GetAllPromptSnippets21 | GetAllPromptSnippets22>;
320
- toolCalls?: Array<GetAllPromptSnippetsToolCalls> | undefined;
321
- };
322
- /**
323
- * A list of messages compatible with the openAI schema
324
- */
325
- export type GetAllPromptSnippetsPromptConfig = {
326
- stream?: boolean | undefined;
327
- model?: string | undefined;
328
- /**
329
- * The id of the resource
330
- */
331
- modelDbId?: string | undefined;
332
- /**
333
- * The type of the model
334
- */
335
- modelType?: GetAllPromptSnippetsModelType | undefined;
336
- /**
337
- * Model Parameters: Not all parameters apply to every model
338
- */
339
- modelParameters?: GetAllPromptSnippetsModelParameters | undefined;
340
- provider?: GetAllPromptSnippetsProvider | undefined;
341
- /**
342
- * The id of the resource
343
- */
344
- integrationId?: string | null | undefined;
345
- version?: string | undefined;
346
- messages: Array<GetAllPromptSnippetsMessages>;
347
- };
348
- export declare const GetAllPromptSnippetsUseCases: {
349
- readonly Agents: "Agents";
350
- readonly AgentsSimulations: "Agents simulations";
351
- readonly APIInteraction: "API interaction";
352
- readonly AutonomousAgents: "Autonomous Agents";
353
- readonly Chatbots: "Chatbots";
354
- readonly Classification: "Classification";
355
- readonly CodeUnderstanding: "Code understanding";
356
- readonly CodeWriting: "Code writing";
357
- readonly DocumentsQA: "Documents QA";
358
- readonly Conversation: "Conversation";
359
- readonly Extraction: "Extraction";
360
- readonly MultiModal: "Multi-modal";
361
- readonly SelfChecking: "Self-checking";
362
- readonly Sql: "SQL";
363
- readonly Summarization: "Summarization";
364
- readonly Tagging: "Tagging";
365
- };
366
- export type GetAllPromptSnippetsUseCases = ClosedEnum<typeof GetAllPromptSnippetsUseCases>;
367
- /**
368
- * The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
369
- */
370
- export declare const GetAllPromptSnippetsLanguage: {
371
- readonly Chinese: "Chinese";
372
- readonly Dutch: "Dutch";
373
- readonly English: "English";
374
- readonly French: "French";
375
- readonly German: "German";
376
- readonly Russian: "Russian";
377
- readonly Spanish: "Spanish";
378
- };
379
- /**
380
- * The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
381
- */
382
- export type GetAllPromptSnippetsLanguage = ClosedEnum<typeof GetAllPromptSnippetsLanguage>;
383
- export type GetAllPromptSnippetsMetadata = {
384
- /**
385
- * 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
386
- */
387
- useCases?: Array<GetAllPromptSnippetsUseCases> | undefined;
388
- /**
389
- * The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
390
- */
391
- language?: GetAllPromptSnippetsLanguage | undefined;
392
- };
393
- export declare const GetAllPromptSnippetsType: {
394
- readonly Snippet: "snippet";
395
- };
396
- export type GetAllPromptSnippetsType = ClosedEnum<typeof GetAllPromptSnippetsType>;
397
- /**
398
- * The type of the model
399
- */
400
- export declare const GetAllPromptSnippetsPromptSnippetsModelType: {
401
- readonly Chat: "chat";
402
- readonly Completion: "completion";
403
- readonly Embedding: "embedding";
404
- readonly Vision: "vision";
405
- readonly Image: "image";
406
- readonly Tts: "tts";
407
- readonly Stt: "stt";
408
- readonly Rerank: "rerank";
409
- readonly Moderations: "moderations";
410
- };
411
- /**
412
- * The type of the model
413
- */
414
- export type GetAllPromptSnippetsPromptSnippetsModelType = ClosedEnum<typeof GetAllPromptSnippetsPromptSnippetsModelType>;
415
- /**
416
- * Only supported on `image` models.
417
- */
418
- export declare const GetAllPromptSnippetsPromptSnippetsFormat: {
419
- readonly Url: "url";
420
- readonly B64Json: "b64_json";
421
- readonly Text: "text";
422
- readonly JsonObject: "json_object";
423
- };
424
- /**
425
- * Only supported on `image` models.
426
- */
427
- export type GetAllPromptSnippetsPromptSnippetsFormat = ClosedEnum<typeof GetAllPromptSnippetsPromptSnippetsFormat>;
428
- /**
429
- * Only supported on `image` models.
430
- */
431
- export declare const GetAllPromptSnippetsPromptSnippetsQuality: {
432
- readonly Standard: "standard";
433
- readonly Hd: "hd";
434
- };
435
- /**
436
- * Only supported on `image` models.
437
- */
438
- export type GetAllPromptSnippetsPromptSnippetsQuality = ClosedEnum<typeof GetAllPromptSnippetsPromptSnippetsQuality>;
439
- export declare const GetAllPromptSnippetsResponseFormatPromptSnippetsResponse200Type: {
440
- readonly JsonObject: "json_object";
441
- };
442
- export type GetAllPromptSnippetsResponseFormatPromptSnippetsResponse200Type = ClosedEnum<typeof GetAllPromptSnippetsResponseFormatPromptSnippetsResponse200Type>;
443
- export type GetAllPromptSnippetsResponseFormatPromptSnippets2 = {
444
- type: GetAllPromptSnippetsResponseFormatPromptSnippetsResponse200Type;
445
- };
446
- export declare const GetAllPromptSnippetsResponseFormatPromptSnippetsResponseType: {
447
- readonly JsonSchema: "json_schema";
448
- };
449
- export type GetAllPromptSnippetsResponseFormatPromptSnippetsResponseType = ClosedEnum<typeof GetAllPromptSnippetsResponseFormatPromptSnippetsResponseType>;
450
- export type GetAllPromptSnippetsResponseFormatPromptSnippetsJsonSchema = {
451
- name: string;
452
- strict: boolean;
453
- schema: {
454
- [k: string]: any;
455
- };
456
- };
457
- export type GetAllPromptSnippetsResponseFormatPromptSnippets1 = {
458
- type: GetAllPromptSnippetsResponseFormatPromptSnippetsResponseType;
459
- jsonSchema: GetAllPromptSnippetsResponseFormatPromptSnippetsJsonSchema;
460
- };
461
- /**
462
- * An object specifying the format that the model must output.
463
- *
464
- * @remarks
465
- *
466
- * Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema
467
- *
468
- * Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
469
- *
470
- * 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.
471
- */
472
- export type GetAllPromptSnippetsPromptSnippetsResponseFormat = GetAllPromptSnippetsResponseFormatPromptSnippets2 | GetAllPromptSnippetsResponseFormatPromptSnippets1;
473
- /**
474
- * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
475
- */
476
- export declare const GetAllPromptSnippetsPromptSnippetsPhotoRealVersion: {
477
- readonly V1: "v1";
478
- readonly V2: "v2";
479
- };
480
- /**
481
- * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
482
- */
483
- export type GetAllPromptSnippetsPromptSnippetsPhotoRealVersion = ClosedEnum<typeof GetAllPromptSnippetsPromptSnippetsPhotoRealVersion>;
484
- /**
485
- * The format to return the embeddings
486
- */
487
- export declare const GetAllPromptSnippetsPromptSnippetsEncodingFormat: {
488
- readonly Float: "float";
489
- readonly Base64: "base64";
490
- };
491
- /**
492
- * The format to return the embeddings
493
- */
494
- export type GetAllPromptSnippetsPromptSnippetsEncodingFormat = ClosedEnum<typeof GetAllPromptSnippetsPromptSnippetsEncodingFormat>;
495
- /**
496
- * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
497
- */
498
- export declare const GetAllPromptSnippetsPromptSnippetsReasoningEffort: {
499
- readonly Low: "low";
500
- readonly Medium: "medium";
501
- readonly High: "high";
502
- };
503
- /**
504
- * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
505
- */
506
- export type GetAllPromptSnippetsPromptSnippetsReasoningEffort = ClosedEnum<typeof GetAllPromptSnippetsPromptSnippetsReasoningEffort>;
507
- /**
508
- * Model Parameters: Not all parameters apply to every model
509
- */
510
- export type GetAllPromptSnippetsPromptSnippetsModelParameters = {
511
- /**
512
- * Only supported on `chat` and `completion` models.
513
- */
514
- temperature?: number | undefined;
515
- /**
516
- * Only supported on `chat` and `completion` models.
517
- */
518
- maxTokens?: number | undefined;
519
- /**
520
- * Only supported on `chat` and `completion` models.
521
- */
522
- topK?: number | undefined;
523
- /**
524
- * Only supported on `chat` and `completion` models.
525
- */
526
- topP?: number | undefined;
527
- /**
528
- * Only supported on `chat` and `completion` models.
529
- */
530
- frequencyPenalty?: number | undefined;
531
- /**
532
- * Only supported on `chat` and `completion` models.
533
- */
534
- presencePenalty?: number | undefined;
535
- /**
536
- * Only supported on `image` models.
537
- */
538
- numImages?: number | undefined;
539
- /**
540
- * Best effort deterministic seed for the model. Currently only OpenAI models support these
541
- */
542
- seed?: number | undefined;
543
- /**
544
- * Only supported on `image` models.
545
- */
546
- format?: GetAllPromptSnippetsPromptSnippetsFormat | undefined;
547
- /**
548
- * Only supported on `image` models.
549
- */
550
- dimensions?: string | undefined;
551
- /**
552
- * Only supported on `image` models.
553
- */
554
- quality?: GetAllPromptSnippetsPromptSnippetsQuality | undefined;
555
- /**
556
- * Only supported on `image` models.
557
- */
558
- style?: string | undefined;
559
- /**
560
- * An object specifying the format that the model must output.
561
- *
562
- * @remarks
563
- *
564
- * Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema
565
- *
566
- * Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
567
- *
568
- * 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.
569
- */
570
- responseFormat?: GetAllPromptSnippetsResponseFormatPromptSnippets2 | GetAllPromptSnippetsResponseFormatPromptSnippets1 | null | undefined;
571
- /**
572
- * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
573
- */
574
- photoRealVersion?: GetAllPromptSnippetsPromptSnippetsPhotoRealVersion | undefined;
575
- /**
576
- * The format to return the embeddings
577
- */
578
- encodingFormat?: GetAllPromptSnippetsPromptSnippetsEncodingFormat | undefined;
579
- /**
580
- * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
581
- */
582
- reasoningEffort?: GetAllPromptSnippetsPromptSnippetsReasoningEffort | undefined;
583
- };
584
- export declare const GetAllPromptSnippetsPromptSnippetsProvider: {
585
- readonly Cohere: "cohere";
586
- readonly Openai: "openai";
587
- readonly Anthropic: "anthropic";
588
- readonly Huggingface: "huggingface";
589
- readonly Replicate: "replicate";
590
- readonly Google: "google";
591
- readonly GoogleAi: "google-ai";
592
- readonly Azure: "azure";
593
- readonly Aws: "aws";
594
- readonly Anyscale: "anyscale";
595
- readonly Perplexity: "perplexity";
596
- readonly Groq: "groq";
597
- readonly Fal: "fal";
598
- readonly Leonardoai: "leonardoai";
599
- readonly Nvidia: "nvidia";
600
- readonly Jina: "jina";
601
- readonly Togetherai: "togetherai";
602
- readonly Elevenlabs: "elevenlabs";
603
- };
604
- export type GetAllPromptSnippetsPromptSnippetsProvider = ClosedEnum<typeof GetAllPromptSnippetsPromptSnippetsProvider>;
605
- /**
606
- * The role of the prompt message
607
- */
608
- export declare const GetAllPromptSnippetsPromptSnippetsRole: {
609
- readonly System: "system";
610
- readonly Assistant: "assistant";
611
- readonly User: "user";
612
- readonly Exception: "exception";
613
- readonly Tool: "tool";
614
- readonly Prompt: "prompt";
615
- readonly Correction: "correction";
616
- readonly ExpectedOutput: "expected_output";
617
- };
618
- /**
619
- * The role of the prompt message
620
- */
621
- export type GetAllPromptSnippetsPromptSnippetsRole = ClosedEnum<typeof GetAllPromptSnippetsPromptSnippetsRole>;
622
- export declare const GetAllPromptSnippets2PromptSnippetsResponse200Type: {
623
- readonly ImageUrl: "image_url";
624
- };
625
- export type GetAllPromptSnippets2PromptSnippetsResponse200Type = ClosedEnum<typeof GetAllPromptSnippets2PromptSnippetsResponse200Type>;
626
- export type GetAllPromptSnippets2PromptSnippetsImageUrl = {
627
- /**
628
- * The orq.ai id of the image
629
- */
630
- id?: string | undefined;
631
- /**
632
- * Either a URL of the image or the base64 encoded data URI.
633
- */
634
- url: string;
635
- /**
636
- * Specifies the detail level of the image. Currently only supported with OpenAI models
637
- */
638
- detail?: string | undefined;
639
- };
640
- /**
641
- * The image part of the prompt message. Only supported with vision models.
642
- */
643
- export type GetAllPromptSnippets2PromptSnippets2 = {
644
- type: GetAllPromptSnippets2PromptSnippetsResponse200Type;
645
- imageUrl: GetAllPromptSnippets2PromptSnippetsImageUrl;
646
- };
647
- export declare const GetAllPromptSnippets2PromptSnippetsResponseType: {
648
- readonly Text: "text";
649
- };
650
- export type GetAllPromptSnippets2PromptSnippetsResponseType = ClosedEnum<typeof GetAllPromptSnippets2PromptSnippetsResponseType>;
651
- /**
652
- * Text content part of a prompt message
653
- */
654
- export type GetAllPromptSnippets2PromptSnippets1 = {
655
- type: GetAllPromptSnippets2PromptSnippetsResponseType;
656
- text: string;
657
- };
658
- export type GetAllPromptSnippetsContentPromptSnippets2 = GetAllPromptSnippets2PromptSnippets1 | GetAllPromptSnippets2PromptSnippets2;
659
- /**
660
- * 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.
661
- */
662
- export type GetAllPromptSnippetsPromptSnippetsContent = string | Array<GetAllPromptSnippets2PromptSnippets1 | GetAllPromptSnippets2PromptSnippets2>;
663
- export declare const GetAllPromptSnippetsPromptSnippetsResponseType: {
664
- readonly Function: "function";
665
- };
666
- export type GetAllPromptSnippetsPromptSnippetsResponseType = ClosedEnum<typeof GetAllPromptSnippetsPromptSnippetsResponseType>;
667
- export type GetAllPromptSnippetsPromptSnippetsFunction = {
668
- name: string;
669
- /**
670
- * JSON string arguments for the functions
671
- */
672
- arguments: string;
673
- };
674
- export type GetAllPromptSnippetsPromptSnippetsToolCalls = {
675
- id?: string | undefined;
676
- index?: number | undefined;
677
- type: GetAllPromptSnippetsPromptSnippetsResponseType;
678
- function: GetAllPromptSnippetsPromptSnippetsFunction;
679
- };
680
- export type GetAllPromptSnippetsPromptSnippetsMessages = {
681
- /**
682
- * The role of the prompt message
683
- */
684
- role: GetAllPromptSnippetsPromptSnippetsRole;
685
- /**
686
- * 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.
687
- */
688
- content: string | Array<GetAllPromptSnippets2PromptSnippets1 | GetAllPromptSnippets2PromptSnippets2>;
689
- toolCalls?: Array<GetAllPromptSnippetsPromptSnippetsToolCalls> | undefined;
690
- };
691
- /**
692
- * A list of messages compatible with the openAI schema
693
- */
694
- export type GetAllPromptSnippetsPromptSnippetsPromptConfig = {
695
- stream?: boolean | undefined;
696
- model?: string | undefined;
697
- /**
698
- * The id of the resource
699
- */
700
- modelDbId?: string | undefined;
701
- /**
702
- * The type of the model
703
- */
704
- modelType?: GetAllPromptSnippetsPromptSnippetsModelType | undefined;
705
- /**
706
- * Model Parameters: Not all parameters apply to every model
707
- */
708
- modelParameters?: GetAllPromptSnippetsPromptSnippetsModelParameters | undefined;
709
- provider?: GetAllPromptSnippetsPromptSnippetsProvider | undefined;
710
- /**
711
- * The id of the resource
712
- */
713
- integrationId?: string | null | undefined;
714
- version?: string | undefined;
715
- messages: Array<GetAllPromptSnippetsPromptSnippetsMessages>;
716
- };
717
- export declare const GetAllPromptSnippetsPromptSnippetsUseCases: {
718
- readonly Agents: "Agents";
719
- readonly AgentsSimulations: "Agents simulations";
720
- readonly APIInteraction: "API interaction";
721
- readonly AutonomousAgents: "Autonomous Agents";
722
- readonly Chatbots: "Chatbots";
723
- readonly Classification: "Classification";
724
- readonly CodeUnderstanding: "Code understanding";
725
- readonly CodeWriting: "Code writing";
726
- readonly DocumentsQA: "Documents QA";
727
- readonly Conversation: "Conversation";
728
- readonly Extraction: "Extraction";
729
- readonly MultiModal: "Multi-modal";
730
- readonly SelfChecking: "Self-checking";
731
- readonly Sql: "SQL";
732
- readonly Summarization: "Summarization";
733
- readonly Tagging: "Tagging";
734
- };
735
- export type GetAllPromptSnippetsPromptSnippetsUseCases = ClosedEnum<typeof GetAllPromptSnippetsPromptSnippetsUseCases>;
736
- /**
737
- * The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
738
- */
739
- export declare const GetAllPromptSnippetsPromptSnippetsLanguage: {
740
- readonly Chinese: "Chinese";
741
- readonly Dutch: "Dutch";
742
- readonly English: "English";
743
- readonly French: "French";
744
- readonly German: "German";
745
- readonly Russian: "Russian";
746
- readonly Spanish: "Spanish";
747
- };
748
- /**
749
- * The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
750
- */
751
- export type GetAllPromptSnippetsPromptSnippetsLanguage = ClosedEnum<typeof GetAllPromptSnippetsPromptSnippetsLanguage>;
752
- export type GetAllPromptSnippetsPromptSnippetsMetadata = {
753
- /**
754
- * 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
755
- */
756
- useCases?: Array<GetAllPromptSnippetsPromptSnippetsUseCases> | undefined;
757
- /**
758
- * The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
759
- */
760
- language?: GetAllPromptSnippetsPromptSnippetsLanguage | undefined;
761
- };
762
- /**
763
- * Prompt version model returned from the API
764
- */
765
- export type GetAllPromptSnippetsVersions = {
766
- id: string;
767
- /**
768
- * 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
769
- */
770
- description?: string | null | undefined;
771
- /**
772
- * A list of messages compatible with the openAI schema
773
- */
774
- promptConfig: GetAllPromptSnippetsPromptSnippetsPromptConfig;
775
- metadata: GetAllPromptSnippetsPromptSnippetsMetadata;
776
- createdById: string;
777
- updatedById: string;
778
- timestamp: string;
779
- };
780
- /**
781
- * Prompt snippet model returned from the API
782
- */
783
- export type GetAllPromptSnippetsData = {
784
- id: string;
785
- owner: string | GetAllPromptSnippetsOwner2;
786
- domainId: string;
787
- key: string;
788
- /**
789
- * 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
790
- */
791
- description?: string | null | undefined;
792
- /**
793
- * A list of messages compatible with the openAI schema
794
- */
795
- promptConfig: GetAllPromptSnippetsPromptConfig;
796
- metadata: GetAllPromptSnippetsMetadata;
797
- createdById: string;
798
- updatedById: string;
799
- /**
800
- * The date and time the resource was created
801
- */
802
- created?: Date | undefined;
803
- /**
804
- * The date and time the resource was last updated
805
- */
806
- updated?: Date | undefined;
807
- type: GetAllPromptSnippetsType;
808
- versions: Array<GetAllPromptSnippetsVersions>;
809
- };
810
- /**
811
- * Prompt snippets retrieved.
812
- */
813
- export type GetAllPromptSnippetsResponseBody = {
814
- object: GetAllPromptSnippetsObject;
815
- data: Array<GetAllPromptSnippetsData>;
816
- hasMore: boolean;
817
- };
818
- /** @internal */
819
- export declare const GetAllPromptSnippetsRequest$inboundSchema: z.ZodType<GetAllPromptSnippetsRequest, z.ZodTypeDef, unknown>;
820
- /** @internal */
821
- export type GetAllPromptSnippetsRequest$Outbound = {
822
- limit: number;
823
- starting_after?: string | undefined;
824
- ending_before?: string | undefined;
825
- };
826
- /** @internal */
827
- export declare const GetAllPromptSnippetsRequest$outboundSchema: z.ZodType<GetAllPromptSnippetsRequest$Outbound, z.ZodTypeDef, GetAllPromptSnippetsRequest>;
828
- /**
829
- * @internal
830
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
831
- */
832
- export declare namespace GetAllPromptSnippetsRequest$ {
833
- /** @deprecated use `GetAllPromptSnippetsRequest$inboundSchema` instead. */
834
- const inboundSchema: z.ZodType<GetAllPromptSnippetsRequest, z.ZodTypeDef, unknown>;
835
- /** @deprecated use `GetAllPromptSnippetsRequest$outboundSchema` instead. */
836
- const outboundSchema: z.ZodType<GetAllPromptSnippetsRequest$Outbound, z.ZodTypeDef, GetAllPromptSnippetsRequest>;
837
- /** @deprecated use `GetAllPromptSnippetsRequest$Outbound` instead. */
838
- type Outbound = GetAllPromptSnippetsRequest$Outbound;
839
- }
840
- export declare function getAllPromptSnippetsRequestToJSON(getAllPromptSnippetsRequest: GetAllPromptSnippetsRequest): string;
841
- export declare function getAllPromptSnippetsRequestFromJSON(jsonString: string): SafeParseResult<GetAllPromptSnippetsRequest, SDKValidationError>;
842
- /** @internal */
843
- export declare const GetAllPromptSnippetsObject$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsObject>;
844
- /** @internal */
845
- export declare const GetAllPromptSnippetsObject$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsObject>;
846
- /**
847
- * @internal
848
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
849
- */
850
- export declare namespace GetAllPromptSnippetsObject$ {
851
- /** @deprecated use `GetAllPromptSnippetsObject$inboundSchema` instead. */
852
- const inboundSchema: z.ZodNativeEnum<{
853
- readonly List: "list";
854
- }>;
855
- /** @deprecated use `GetAllPromptSnippetsObject$outboundSchema` instead. */
856
- const outboundSchema: z.ZodNativeEnum<{
857
- readonly List: "list";
858
- }>;
859
- }
860
- /** @internal */
861
- export declare const GetAllPromptSnippetsOwner2$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsOwner2>;
862
- /** @internal */
863
- export declare const GetAllPromptSnippetsOwner2$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsOwner2>;
864
- /**
865
- * @internal
866
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
867
- */
868
- export declare namespace GetAllPromptSnippetsOwner2$ {
869
- /** @deprecated use `GetAllPromptSnippetsOwner2$inboundSchema` instead. */
870
- const inboundSchema: z.ZodNativeEnum<{
871
- readonly Vendor: "vendor";
872
- }>;
873
- /** @deprecated use `GetAllPromptSnippetsOwner2$outboundSchema` instead. */
874
- const outboundSchema: z.ZodNativeEnum<{
875
- readonly Vendor: "vendor";
876
- }>;
877
- }
878
- /** @internal */
879
- export declare const GetAllPromptSnippetsOwner$inboundSchema: z.ZodType<GetAllPromptSnippetsOwner, z.ZodTypeDef, unknown>;
880
- /** @internal */
881
- export type GetAllPromptSnippetsOwner$Outbound = string | string;
882
- /** @internal */
883
- export declare const GetAllPromptSnippetsOwner$outboundSchema: z.ZodType<GetAllPromptSnippetsOwner$Outbound, z.ZodTypeDef, GetAllPromptSnippetsOwner>;
884
- /**
885
- * @internal
886
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
887
- */
888
- export declare namespace GetAllPromptSnippetsOwner$ {
889
- /** @deprecated use `GetAllPromptSnippetsOwner$inboundSchema` instead. */
890
- const inboundSchema: z.ZodType<string, z.ZodTypeDef, unknown>;
891
- /** @deprecated use `GetAllPromptSnippetsOwner$outboundSchema` instead. */
892
- const outboundSchema: z.ZodType<string, z.ZodTypeDef, string>;
893
- /** @deprecated use `GetAllPromptSnippetsOwner$Outbound` instead. */
894
- type Outbound = GetAllPromptSnippetsOwner$Outbound;
895
- }
896
- export declare function getAllPromptSnippetsOwnerToJSON(getAllPromptSnippetsOwner: GetAllPromptSnippetsOwner): string;
897
- export declare function getAllPromptSnippetsOwnerFromJSON(jsonString: string): SafeParseResult<GetAllPromptSnippetsOwner, SDKValidationError>;
898
- /** @internal */
899
- export declare const GetAllPromptSnippetsModelType$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsModelType>;
900
- /** @internal */
901
- export declare const GetAllPromptSnippetsModelType$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsModelType>;
902
- /**
903
- * @internal
904
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
905
- */
906
- export declare namespace GetAllPromptSnippetsModelType$ {
907
- /** @deprecated use `GetAllPromptSnippetsModelType$inboundSchema` instead. */
908
- const inboundSchema: z.ZodNativeEnum<{
909
- readonly Chat: "chat";
910
- readonly Completion: "completion";
911
- readonly Embedding: "embedding";
912
- readonly Vision: "vision";
913
- readonly Image: "image";
914
- readonly Tts: "tts";
915
- readonly Stt: "stt";
916
- readonly Rerank: "rerank";
917
- readonly Moderations: "moderations";
918
- }>;
919
- /** @deprecated use `GetAllPromptSnippetsModelType$outboundSchema` instead. */
920
- const outboundSchema: z.ZodNativeEnum<{
921
- readonly Chat: "chat";
922
- readonly Completion: "completion";
923
- readonly Embedding: "embedding";
924
- readonly Vision: "vision";
925
- readonly Image: "image";
926
- readonly Tts: "tts";
927
- readonly Stt: "stt";
928
- readonly Rerank: "rerank";
929
- readonly Moderations: "moderations";
930
- }>;
931
- }
932
- /** @internal */
933
- export declare const GetAllPromptSnippetsFormat$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsFormat>;
934
- /** @internal */
935
- export declare const GetAllPromptSnippetsFormat$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsFormat>;
936
- /**
937
- * @internal
938
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
939
- */
940
- export declare namespace GetAllPromptSnippetsFormat$ {
941
- /** @deprecated use `GetAllPromptSnippetsFormat$inboundSchema` instead. */
942
- const inboundSchema: z.ZodNativeEnum<{
943
- readonly Url: "url";
944
- readonly B64Json: "b64_json";
945
- readonly Text: "text";
946
- readonly JsonObject: "json_object";
947
- }>;
948
- /** @deprecated use `GetAllPromptSnippetsFormat$outboundSchema` instead. */
949
- const outboundSchema: z.ZodNativeEnum<{
950
- readonly Url: "url";
951
- readonly B64Json: "b64_json";
952
- readonly Text: "text";
953
- readonly JsonObject: "json_object";
954
- }>;
955
- }
956
- /** @internal */
957
- export declare const GetAllPromptSnippetsQuality$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsQuality>;
958
- /** @internal */
959
- export declare const GetAllPromptSnippetsQuality$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsQuality>;
960
- /**
961
- * @internal
962
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
963
- */
964
- export declare namespace GetAllPromptSnippetsQuality$ {
965
- /** @deprecated use `GetAllPromptSnippetsQuality$inboundSchema` instead. */
966
- const inboundSchema: z.ZodNativeEnum<{
967
- readonly Standard: "standard";
968
- readonly Hd: "hd";
969
- }>;
970
- /** @deprecated use `GetAllPromptSnippetsQuality$outboundSchema` instead. */
971
- const outboundSchema: z.ZodNativeEnum<{
972
- readonly Standard: "standard";
973
- readonly Hd: "hd";
974
- }>;
975
- }
976
- /** @internal */
977
- export declare const GetAllPromptSnippetsResponseFormatPromptSnippetsType$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsResponseFormatPromptSnippetsType>;
978
- /** @internal */
979
- export declare const GetAllPromptSnippetsResponseFormatPromptSnippetsType$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsResponseFormatPromptSnippetsType>;
980
- /**
981
- * @internal
982
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
983
- */
984
- export declare namespace GetAllPromptSnippetsResponseFormatPromptSnippetsType$ {
985
- /** @deprecated use `GetAllPromptSnippetsResponseFormatPromptSnippetsType$inboundSchema` instead. */
986
- const inboundSchema: z.ZodNativeEnum<{
987
- readonly JsonObject: "json_object";
988
- }>;
989
- /** @deprecated use `GetAllPromptSnippetsResponseFormatPromptSnippetsType$outboundSchema` instead. */
990
- const outboundSchema: z.ZodNativeEnum<{
991
- readonly JsonObject: "json_object";
992
- }>;
993
- }
994
- /** @internal */
995
- export declare const GetAllPromptSnippetsResponseFormat2$inboundSchema: z.ZodType<GetAllPromptSnippetsResponseFormat2, z.ZodTypeDef, unknown>;
996
- /** @internal */
997
- export type GetAllPromptSnippetsResponseFormat2$Outbound = {
998
- type: string;
999
- };
1000
- /** @internal */
1001
- export declare const GetAllPromptSnippetsResponseFormat2$outboundSchema: z.ZodType<GetAllPromptSnippetsResponseFormat2$Outbound, z.ZodTypeDef, GetAllPromptSnippetsResponseFormat2>;
1002
- /**
1003
- * @internal
1004
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1005
- */
1006
- export declare namespace GetAllPromptSnippetsResponseFormat2$ {
1007
- /** @deprecated use `GetAllPromptSnippetsResponseFormat2$inboundSchema` instead. */
1008
- const inboundSchema: z.ZodType<GetAllPromptSnippetsResponseFormat2, z.ZodTypeDef, unknown>;
1009
- /** @deprecated use `GetAllPromptSnippetsResponseFormat2$outboundSchema` instead. */
1010
- const outboundSchema: z.ZodType<GetAllPromptSnippetsResponseFormat2$Outbound, z.ZodTypeDef, GetAllPromptSnippetsResponseFormat2>;
1011
- /** @deprecated use `GetAllPromptSnippetsResponseFormat2$Outbound` instead. */
1012
- type Outbound = GetAllPromptSnippetsResponseFormat2$Outbound;
1013
- }
1014
- export declare function getAllPromptSnippetsResponseFormat2ToJSON(getAllPromptSnippetsResponseFormat2: GetAllPromptSnippetsResponseFormat2): string;
1015
- export declare function getAllPromptSnippetsResponseFormat2FromJSON(jsonString: string): SafeParseResult<GetAllPromptSnippetsResponseFormat2, SDKValidationError>;
1016
- /** @internal */
1017
- export declare const GetAllPromptSnippetsResponseFormatType$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsResponseFormatType>;
1018
- /** @internal */
1019
- export declare const GetAllPromptSnippetsResponseFormatType$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsResponseFormatType>;
1020
- /**
1021
- * @internal
1022
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1023
- */
1024
- export declare namespace GetAllPromptSnippetsResponseFormatType$ {
1025
- /** @deprecated use `GetAllPromptSnippetsResponseFormatType$inboundSchema` instead. */
1026
- const inboundSchema: z.ZodNativeEnum<{
1027
- readonly JsonSchema: "json_schema";
1028
- }>;
1029
- /** @deprecated use `GetAllPromptSnippetsResponseFormatType$outboundSchema` instead. */
1030
- const outboundSchema: z.ZodNativeEnum<{
1031
- readonly JsonSchema: "json_schema";
1032
- }>;
1033
- }
1034
- /** @internal */
1035
- export declare const GetAllPromptSnippetsResponseFormatJsonSchema$inboundSchema: z.ZodType<GetAllPromptSnippetsResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
1036
- /** @internal */
1037
- export type GetAllPromptSnippetsResponseFormatJsonSchema$Outbound = {
1038
- name: string;
1039
- strict: boolean;
1040
- schema: {
1041
- [k: string]: any;
1042
- };
1043
- };
1044
- /** @internal */
1045
- export declare const GetAllPromptSnippetsResponseFormatJsonSchema$outboundSchema: z.ZodType<GetAllPromptSnippetsResponseFormatJsonSchema$Outbound, z.ZodTypeDef, GetAllPromptSnippetsResponseFormatJsonSchema>;
1046
- /**
1047
- * @internal
1048
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1049
- */
1050
- export declare namespace GetAllPromptSnippetsResponseFormatJsonSchema$ {
1051
- /** @deprecated use `GetAllPromptSnippetsResponseFormatJsonSchema$inboundSchema` instead. */
1052
- const inboundSchema: z.ZodType<GetAllPromptSnippetsResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
1053
- /** @deprecated use `GetAllPromptSnippetsResponseFormatJsonSchema$outboundSchema` instead. */
1054
- const outboundSchema: z.ZodType<GetAllPromptSnippetsResponseFormatJsonSchema$Outbound, z.ZodTypeDef, GetAllPromptSnippetsResponseFormatJsonSchema>;
1055
- /** @deprecated use `GetAllPromptSnippetsResponseFormatJsonSchema$Outbound` instead. */
1056
- type Outbound = GetAllPromptSnippetsResponseFormatJsonSchema$Outbound;
1057
- }
1058
- export declare function getAllPromptSnippetsResponseFormatJsonSchemaToJSON(getAllPromptSnippetsResponseFormatJsonSchema: GetAllPromptSnippetsResponseFormatJsonSchema): string;
1059
- export declare function getAllPromptSnippetsResponseFormatJsonSchemaFromJSON(jsonString: string): SafeParseResult<GetAllPromptSnippetsResponseFormatJsonSchema, SDKValidationError>;
1060
- /** @internal */
1061
- export declare const GetAllPromptSnippetsResponseFormat1$inboundSchema: z.ZodType<GetAllPromptSnippetsResponseFormat1, z.ZodTypeDef, unknown>;
1062
- /** @internal */
1063
- export type GetAllPromptSnippetsResponseFormat1$Outbound = {
1064
- type: string;
1065
- json_schema: GetAllPromptSnippetsResponseFormatJsonSchema$Outbound;
1066
- };
1067
- /** @internal */
1068
- export declare const GetAllPromptSnippetsResponseFormat1$outboundSchema: z.ZodType<GetAllPromptSnippetsResponseFormat1$Outbound, z.ZodTypeDef, GetAllPromptSnippetsResponseFormat1>;
1069
- /**
1070
- * @internal
1071
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1072
- */
1073
- export declare namespace GetAllPromptSnippetsResponseFormat1$ {
1074
- /** @deprecated use `GetAllPromptSnippetsResponseFormat1$inboundSchema` instead. */
1075
- const inboundSchema: z.ZodType<GetAllPromptSnippetsResponseFormat1, z.ZodTypeDef, unknown>;
1076
- /** @deprecated use `GetAllPromptSnippetsResponseFormat1$outboundSchema` instead. */
1077
- const outboundSchema: z.ZodType<GetAllPromptSnippetsResponseFormat1$Outbound, z.ZodTypeDef, GetAllPromptSnippetsResponseFormat1>;
1078
- /** @deprecated use `GetAllPromptSnippetsResponseFormat1$Outbound` instead. */
1079
- type Outbound = GetAllPromptSnippetsResponseFormat1$Outbound;
1080
- }
1081
- export declare function getAllPromptSnippetsResponseFormat1ToJSON(getAllPromptSnippetsResponseFormat1: GetAllPromptSnippetsResponseFormat1): string;
1082
- export declare function getAllPromptSnippetsResponseFormat1FromJSON(jsonString: string): SafeParseResult<GetAllPromptSnippetsResponseFormat1, SDKValidationError>;
1083
- /** @internal */
1084
- export declare const GetAllPromptSnippetsResponseFormat$inboundSchema: z.ZodType<GetAllPromptSnippetsResponseFormat, z.ZodTypeDef, unknown>;
1085
- /** @internal */
1086
- export type GetAllPromptSnippetsResponseFormat$Outbound = GetAllPromptSnippetsResponseFormat2$Outbound | GetAllPromptSnippetsResponseFormat1$Outbound;
1087
- /** @internal */
1088
- export declare const GetAllPromptSnippetsResponseFormat$outboundSchema: z.ZodType<GetAllPromptSnippetsResponseFormat$Outbound, z.ZodTypeDef, GetAllPromptSnippetsResponseFormat>;
1089
- /**
1090
- * @internal
1091
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1092
- */
1093
- export declare namespace GetAllPromptSnippetsResponseFormat$ {
1094
- /** @deprecated use `GetAllPromptSnippetsResponseFormat$inboundSchema` instead. */
1095
- const inboundSchema: z.ZodType<GetAllPromptSnippetsResponseFormat, z.ZodTypeDef, unknown>;
1096
- /** @deprecated use `GetAllPromptSnippetsResponseFormat$outboundSchema` instead. */
1097
- const outboundSchema: z.ZodType<GetAllPromptSnippetsResponseFormat$Outbound, z.ZodTypeDef, GetAllPromptSnippetsResponseFormat>;
1098
- /** @deprecated use `GetAllPromptSnippetsResponseFormat$Outbound` instead. */
1099
- type Outbound = GetAllPromptSnippetsResponseFormat$Outbound;
1100
- }
1101
- export declare function getAllPromptSnippetsResponseFormatToJSON(getAllPromptSnippetsResponseFormat: GetAllPromptSnippetsResponseFormat): string;
1102
- export declare function getAllPromptSnippetsResponseFormatFromJSON(jsonString: string): SafeParseResult<GetAllPromptSnippetsResponseFormat, SDKValidationError>;
1103
- /** @internal */
1104
- export declare const GetAllPromptSnippetsPhotoRealVersion$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsPhotoRealVersion>;
1105
- /** @internal */
1106
- export declare const GetAllPromptSnippetsPhotoRealVersion$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsPhotoRealVersion>;
1107
- /**
1108
- * @internal
1109
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1110
- */
1111
- export declare namespace GetAllPromptSnippetsPhotoRealVersion$ {
1112
- /** @deprecated use `GetAllPromptSnippetsPhotoRealVersion$inboundSchema` instead. */
1113
- const inboundSchema: z.ZodNativeEnum<{
1114
- readonly V1: "v1";
1115
- readonly V2: "v2";
1116
- }>;
1117
- /** @deprecated use `GetAllPromptSnippetsPhotoRealVersion$outboundSchema` instead. */
1118
- const outboundSchema: z.ZodNativeEnum<{
1119
- readonly V1: "v1";
1120
- readonly V2: "v2";
1121
- }>;
1122
- }
1123
- /** @internal */
1124
- export declare const GetAllPromptSnippetsEncodingFormat$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsEncodingFormat>;
1125
- /** @internal */
1126
- export declare const GetAllPromptSnippetsEncodingFormat$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsEncodingFormat>;
1127
- /**
1128
- * @internal
1129
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1130
- */
1131
- export declare namespace GetAllPromptSnippetsEncodingFormat$ {
1132
- /** @deprecated use `GetAllPromptSnippetsEncodingFormat$inboundSchema` instead. */
1133
- const inboundSchema: z.ZodNativeEnum<{
1134
- readonly Float: "float";
1135
- readonly Base64: "base64";
1136
- }>;
1137
- /** @deprecated use `GetAllPromptSnippetsEncodingFormat$outboundSchema` instead. */
1138
- const outboundSchema: z.ZodNativeEnum<{
1139
- readonly Float: "float";
1140
- readonly Base64: "base64";
1141
- }>;
1142
- }
1143
- /** @internal */
1144
- export declare const GetAllPromptSnippetsReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsReasoningEffort>;
1145
- /** @internal */
1146
- export declare const GetAllPromptSnippetsReasoningEffort$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsReasoningEffort>;
1147
- /**
1148
- * @internal
1149
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1150
- */
1151
- export declare namespace GetAllPromptSnippetsReasoningEffort$ {
1152
- /** @deprecated use `GetAllPromptSnippetsReasoningEffort$inboundSchema` instead. */
1153
- const inboundSchema: z.ZodNativeEnum<{
1154
- readonly Low: "low";
1155
- readonly Medium: "medium";
1156
- readonly High: "high";
1157
- }>;
1158
- /** @deprecated use `GetAllPromptSnippetsReasoningEffort$outboundSchema` instead. */
1159
- const outboundSchema: z.ZodNativeEnum<{
1160
- readonly Low: "low";
1161
- readonly Medium: "medium";
1162
- readonly High: "high";
1163
- }>;
1164
- }
1165
- /** @internal */
1166
- export declare const GetAllPromptSnippetsModelParameters$inboundSchema: z.ZodType<GetAllPromptSnippetsModelParameters, z.ZodTypeDef, unknown>;
1167
- /** @internal */
1168
- export type GetAllPromptSnippetsModelParameters$Outbound = {
1169
- temperature?: number | undefined;
1170
- maxTokens?: number | undefined;
1171
- topK?: number | undefined;
1172
- topP?: number | undefined;
1173
- frequencyPenalty?: number | undefined;
1174
- presencePenalty?: number | undefined;
1175
- numImages?: number | undefined;
1176
- seed?: number | undefined;
1177
- format?: string | undefined;
1178
- dimensions?: string | undefined;
1179
- quality?: string | undefined;
1180
- style?: string | undefined;
1181
- responseFormat?: GetAllPromptSnippetsResponseFormat2$Outbound | GetAllPromptSnippetsResponseFormat1$Outbound | null | undefined;
1182
- photoRealVersion?: string | undefined;
1183
- encoding_format?: string | undefined;
1184
- reasoningEffort?: string | undefined;
1185
- };
1186
- /** @internal */
1187
- export declare const GetAllPromptSnippetsModelParameters$outboundSchema: z.ZodType<GetAllPromptSnippetsModelParameters$Outbound, z.ZodTypeDef, GetAllPromptSnippetsModelParameters>;
1188
- /**
1189
- * @internal
1190
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1191
- */
1192
- export declare namespace GetAllPromptSnippetsModelParameters$ {
1193
- /** @deprecated use `GetAllPromptSnippetsModelParameters$inboundSchema` instead. */
1194
- const inboundSchema: z.ZodType<GetAllPromptSnippetsModelParameters, z.ZodTypeDef, unknown>;
1195
- /** @deprecated use `GetAllPromptSnippetsModelParameters$outboundSchema` instead. */
1196
- const outboundSchema: z.ZodType<GetAllPromptSnippetsModelParameters$Outbound, z.ZodTypeDef, GetAllPromptSnippetsModelParameters>;
1197
- /** @deprecated use `GetAllPromptSnippetsModelParameters$Outbound` instead. */
1198
- type Outbound = GetAllPromptSnippetsModelParameters$Outbound;
1199
- }
1200
- export declare function getAllPromptSnippetsModelParametersToJSON(getAllPromptSnippetsModelParameters: GetAllPromptSnippetsModelParameters): string;
1201
- export declare function getAllPromptSnippetsModelParametersFromJSON(jsonString: string): SafeParseResult<GetAllPromptSnippetsModelParameters, SDKValidationError>;
1202
- /** @internal */
1203
- export declare const GetAllPromptSnippetsProvider$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsProvider>;
1204
- /** @internal */
1205
- export declare const GetAllPromptSnippetsProvider$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsProvider>;
1206
- /**
1207
- * @internal
1208
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1209
- */
1210
- export declare namespace GetAllPromptSnippetsProvider$ {
1211
- /** @deprecated use `GetAllPromptSnippetsProvider$inboundSchema` instead. */
1212
- const inboundSchema: z.ZodNativeEnum<{
1213
- readonly Cohere: "cohere";
1214
- readonly Openai: "openai";
1215
- readonly Anthropic: "anthropic";
1216
- readonly Huggingface: "huggingface";
1217
- readonly Replicate: "replicate";
1218
- readonly Google: "google";
1219
- readonly GoogleAi: "google-ai";
1220
- readonly Azure: "azure";
1221
- readonly Aws: "aws";
1222
- readonly Anyscale: "anyscale";
1223
- readonly Perplexity: "perplexity";
1224
- readonly Groq: "groq";
1225
- readonly Fal: "fal";
1226
- readonly Leonardoai: "leonardoai";
1227
- readonly Nvidia: "nvidia";
1228
- readonly Jina: "jina";
1229
- readonly Togetherai: "togetherai";
1230
- readonly Elevenlabs: "elevenlabs";
1231
- }>;
1232
- /** @deprecated use `GetAllPromptSnippetsProvider$outboundSchema` instead. */
1233
- const outboundSchema: z.ZodNativeEnum<{
1234
- readonly Cohere: "cohere";
1235
- readonly Openai: "openai";
1236
- readonly Anthropic: "anthropic";
1237
- readonly Huggingface: "huggingface";
1238
- readonly Replicate: "replicate";
1239
- readonly Google: "google";
1240
- readonly GoogleAi: "google-ai";
1241
- readonly Azure: "azure";
1242
- readonly Aws: "aws";
1243
- readonly Anyscale: "anyscale";
1244
- readonly Perplexity: "perplexity";
1245
- readonly Groq: "groq";
1246
- readonly Fal: "fal";
1247
- readonly Leonardoai: "leonardoai";
1248
- readonly Nvidia: "nvidia";
1249
- readonly Jina: "jina";
1250
- readonly Togetherai: "togetherai";
1251
- readonly Elevenlabs: "elevenlabs";
1252
- }>;
1253
- }
1254
- /** @internal */
1255
- export declare const GetAllPromptSnippetsRole$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsRole>;
1256
- /** @internal */
1257
- export declare const GetAllPromptSnippetsRole$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsRole>;
1258
- /**
1259
- * @internal
1260
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1261
- */
1262
- export declare namespace GetAllPromptSnippetsRole$ {
1263
- /** @deprecated use `GetAllPromptSnippetsRole$inboundSchema` instead. */
1264
- const inboundSchema: z.ZodNativeEnum<{
1265
- readonly System: "system";
1266
- readonly Assistant: "assistant";
1267
- readonly User: "user";
1268
- readonly Exception: "exception";
1269
- readonly Tool: "tool";
1270
- readonly Prompt: "prompt";
1271
- readonly Correction: "correction";
1272
- readonly ExpectedOutput: "expected_output";
1273
- }>;
1274
- /** @deprecated use `GetAllPromptSnippetsRole$outboundSchema` instead. */
1275
- const outboundSchema: z.ZodNativeEnum<{
1276
- readonly System: "system";
1277
- readonly Assistant: "assistant";
1278
- readonly User: "user";
1279
- readonly Exception: "exception";
1280
- readonly Tool: "tool";
1281
- readonly Prompt: "prompt";
1282
- readonly Correction: "correction";
1283
- readonly ExpectedOutput: "expected_output";
1284
- }>;
1285
- }
1286
- /** @internal */
1287
- export declare const GetAllPromptSnippets2PromptSnippetsType$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippets2PromptSnippetsType>;
1288
- /** @internal */
1289
- export declare const GetAllPromptSnippets2PromptSnippetsType$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippets2PromptSnippetsType>;
1290
- /**
1291
- * @internal
1292
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1293
- */
1294
- export declare namespace GetAllPromptSnippets2PromptSnippetsType$ {
1295
- /** @deprecated use `GetAllPromptSnippets2PromptSnippetsType$inboundSchema` instead. */
1296
- const inboundSchema: z.ZodNativeEnum<{
1297
- readonly ImageUrl: "image_url";
1298
- }>;
1299
- /** @deprecated use `GetAllPromptSnippets2PromptSnippetsType$outboundSchema` instead. */
1300
- const outboundSchema: z.ZodNativeEnum<{
1301
- readonly ImageUrl: "image_url";
1302
- }>;
1303
- }
1304
- /** @internal */
1305
- export declare const GetAllPromptSnippets2ImageUrl$inboundSchema: z.ZodType<GetAllPromptSnippets2ImageUrl, z.ZodTypeDef, unknown>;
1306
- /** @internal */
1307
- export type GetAllPromptSnippets2ImageUrl$Outbound = {
1308
- id?: string | undefined;
1309
- url: string;
1310
- detail?: string | undefined;
1311
- };
1312
- /** @internal */
1313
- export declare const GetAllPromptSnippets2ImageUrl$outboundSchema: z.ZodType<GetAllPromptSnippets2ImageUrl$Outbound, z.ZodTypeDef, GetAllPromptSnippets2ImageUrl>;
1314
- /**
1315
- * @internal
1316
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1317
- */
1318
- export declare namespace GetAllPromptSnippets2ImageUrl$ {
1319
- /** @deprecated use `GetAllPromptSnippets2ImageUrl$inboundSchema` instead. */
1320
- const inboundSchema: z.ZodType<GetAllPromptSnippets2ImageUrl, z.ZodTypeDef, unknown>;
1321
- /** @deprecated use `GetAllPromptSnippets2ImageUrl$outboundSchema` instead. */
1322
- const outboundSchema: z.ZodType<GetAllPromptSnippets2ImageUrl$Outbound, z.ZodTypeDef, GetAllPromptSnippets2ImageUrl>;
1323
- /** @deprecated use `GetAllPromptSnippets2ImageUrl$Outbound` instead. */
1324
- type Outbound = GetAllPromptSnippets2ImageUrl$Outbound;
1325
- }
1326
- export declare function getAllPromptSnippets2ImageUrlToJSON(getAllPromptSnippets2ImageUrl: GetAllPromptSnippets2ImageUrl): string;
1327
- export declare function getAllPromptSnippets2ImageUrlFromJSON(jsonString: string): SafeParseResult<GetAllPromptSnippets2ImageUrl, SDKValidationError>;
1328
- /** @internal */
1329
- export declare const GetAllPromptSnippets22$inboundSchema: z.ZodType<GetAllPromptSnippets22, z.ZodTypeDef, unknown>;
1330
- /** @internal */
1331
- export type GetAllPromptSnippets22$Outbound = {
1332
- type: string;
1333
- image_url: GetAllPromptSnippets2ImageUrl$Outbound;
1334
- };
1335
- /** @internal */
1336
- export declare const GetAllPromptSnippets22$outboundSchema: z.ZodType<GetAllPromptSnippets22$Outbound, z.ZodTypeDef, GetAllPromptSnippets22>;
1337
- /**
1338
- * @internal
1339
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1340
- */
1341
- export declare namespace GetAllPromptSnippets22$ {
1342
- /** @deprecated use `GetAllPromptSnippets22$inboundSchema` instead. */
1343
- const inboundSchema: z.ZodType<GetAllPromptSnippets22, z.ZodTypeDef, unknown>;
1344
- /** @deprecated use `GetAllPromptSnippets22$outboundSchema` instead. */
1345
- const outboundSchema: z.ZodType<GetAllPromptSnippets22$Outbound, z.ZodTypeDef, GetAllPromptSnippets22>;
1346
- /** @deprecated use `GetAllPromptSnippets22$Outbound` instead. */
1347
- type Outbound = GetAllPromptSnippets22$Outbound;
1348
- }
1349
- export declare function getAllPromptSnippets22ToJSON(getAllPromptSnippets22: GetAllPromptSnippets22): string;
1350
- export declare function getAllPromptSnippets22FromJSON(jsonString: string): SafeParseResult<GetAllPromptSnippets22, SDKValidationError>;
1351
- /** @internal */
1352
- export declare const GetAllPromptSnippets2Type$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippets2Type>;
1353
- /** @internal */
1354
- export declare const GetAllPromptSnippets2Type$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippets2Type>;
1355
- /**
1356
- * @internal
1357
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1358
- */
1359
- export declare namespace GetAllPromptSnippets2Type$ {
1360
- /** @deprecated use `GetAllPromptSnippets2Type$inboundSchema` instead. */
1361
- const inboundSchema: z.ZodNativeEnum<{
1362
- readonly Text: "text";
1363
- }>;
1364
- /** @deprecated use `GetAllPromptSnippets2Type$outboundSchema` instead. */
1365
- const outboundSchema: z.ZodNativeEnum<{
1366
- readonly Text: "text";
1367
- }>;
1368
- }
1369
- /** @internal */
1370
- export declare const GetAllPromptSnippets21$inboundSchema: z.ZodType<GetAllPromptSnippets21, z.ZodTypeDef, unknown>;
1371
- /** @internal */
1372
- export type GetAllPromptSnippets21$Outbound = {
1373
- type: string;
1374
- text: string;
1375
- };
1376
- /** @internal */
1377
- export declare const GetAllPromptSnippets21$outboundSchema: z.ZodType<GetAllPromptSnippets21$Outbound, z.ZodTypeDef, GetAllPromptSnippets21>;
1378
- /**
1379
- * @internal
1380
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1381
- */
1382
- export declare namespace GetAllPromptSnippets21$ {
1383
- /** @deprecated use `GetAllPromptSnippets21$inboundSchema` instead. */
1384
- const inboundSchema: z.ZodType<GetAllPromptSnippets21, z.ZodTypeDef, unknown>;
1385
- /** @deprecated use `GetAllPromptSnippets21$outboundSchema` instead. */
1386
- const outboundSchema: z.ZodType<GetAllPromptSnippets21$Outbound, z.ZodTypeDef, GetAllPromptSnippets21>;
1387
- /** @deprecated use `GetAllPromptSnippets21$Outbound` instead. */
1388
- type Outbound = GetAllPromptSnippets21$Outbound;
1389
- }
1390
- export declare function getAllPromptSnippets21ToJSON(getAllPromptSnippets21: GetAllPromptSnippets21): string;
1391
- export declare function getAllPromptSnippets21FromJSON(jsonString: string): SafeParseResult<GetAllPromptSnippets21, SDKValidationError>;
1392
- /** @internal */
1393
- export declare const GetAllPromptSnippetsContent2$inboundSchema: z.ZodType<GetAllPromptSnippetsContent2, z.ZodTypeDef, unknown>;
1394
- /** @internal */
1395
- export type GetAllPromptSnippetsContent2$Outbound = GetAllPromptSnippets21$Outbound | GetAllPromptSnippets22$Outbound;
1396
- /** @internal */
1397
- export declare const GetAllPromptSnippetsContent2$outboundSchema: z.ZodType<GetAllPromptSnippetsContent2$Outbound, z.ZodTypeDef, GetAllPromptSnippetsContent2>;
1398
- /**
1399
- * @internal
1400
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1401
- */
1402
- export declare namespace GetAllPromptSnippetsContent2$ {
1403
- /** @deprecated use `GetAllPromptSnippetsContent2$inboundSchema` instead. */
1404
- const inboundSchema: z.ZodType<GetAllPromptSnippetsContent2, z.ZodTypeDef, unknown>;
1405
- /** @deprecated use `GetAllPromptSnippetsContent2$outboundSchema` instead. */
1406
- const outboundSchema: z.ZodType<GetAllPromptSnippetsContent2$Outbound, z.ZodTypeDef, GetAllPromptSnippetsContent2>;
1407
- /** @deprecated use `GetAllPromptSnippetsContent2$Outbound` instead. */
1408
- type Outbound = GetAllPromptSnippetsContent2$Outbound;
1409
- }
1410
- export declare function getAllPromptSnippetsContent2ToJSON(getAllPromptSnippetsContent2: GetAllPromptSnippetsContent2): string;
1411
- export declare function getAllPromptSnippetsContent2FromJSON(jsonString: string): SafeParseResult<GetAllPromptSnippetsContent2, SDKValidationError>;
1412
- /** @internal */
1413
- export declare const GetAllPromptSnippetsContent$inboundSchema: z.ZodType<GetAllPromptSnippetsContent, z.ZodTypeDef, unknown>;
1414
- /** @internal */
1415
- export type GetAllPromptSnippetsContent$Outbound = string | Array<GetAllPromptSnippets21$Outbound | GetAllPromptSnippets22$Outbound>;
1416
- /** @internal */
1417
- export declare const GetAllPromptSnippetsContent$outboundSchema: z.ZodType<GetAllPromptSnippetsContent$Outbound, z.ZodTypeDef, GetAllPromptSnippetsContent>;
1418
- /**
1419
- * @internal
1420
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1421
- */
1422
- export declare namespace GetAllPromptSnippetsContent$ {
1423
- /** @deprecated use `GetAllPromptSnippetsContent$inboundSchema` instead. */
1424
- const inboundSchema: z.ZodType<GetAllPromptSnippetsContent, z.ZodTypeDef, unknown>;
1425
- /** @deprecated use `GetAllPromptSnippetsContent$outboundSchema` instead. */
1426
- const outboundSchema: z.ZodType<GetAllPromptSnippetsContent$Outbound, z.ZodTypeDef, GetAllPromptSnippetsContent>;
1427
- /** @deprecated use `GetAllPromptSnippetsContent$Outbound` instead. */
1428
- type Outbound = GetAllPromptSnippetsContent$Outbound;
1429
- }
1430
- export declare function getAllPromptSnippetsContentToJSON(getAllPromptSnippetsContent: GetAllPromptSnippetsContent): string;
1431
- export declare function getAllPromptSnippetsContentFromJSON(jsonString: string): SafeParseResult<GetAllPromptSnippetsContent, SDKValidationError>;
1432
- /** @internal */
1433
- export declare const GetAllPromptSnippetsPromptSnippetsType$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsPromptSnippetsType>;
1434
- /** @internal */
1435
- export declare const GetAllPromptSnippetsPromptSnippetsType$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsPromptSnippetsType>;
1436
- /**
1437
- * @internal
1438
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1439
- */
1440
- export declare namespace GetAllPromptSnippetsPromptSnippetsType$ {
1441
- /** @deprecated use `GetAllPromptSnippetsPromptSnippetsType$inboundSchema` instead. */
1442
- const inboundSchema: z.ZodNativeEnum<{
1443
- readonly Function: "function";
1444
- }>;
1445
- /** @deprecated use `GetAllPromptSnippetsPromptSnippetsType$outboundSchema` instead. */
1446
- const outboundSchema: z.ZodNativeEnum<{
1447
- readonly Function: "function";
1448
- }>;
1449
- }
1450
- /** @internal */
1451
- export declare const GetAllPromptSnippetsFunction$inboundSchema: z.ZodType<GetAllPromptSnippetsFunction, z.ZodTypeDef, unknown>;
1452
- /** @internal */
1453
- export type GetAllPromptSnippetsFunction$Outbound = {
1454
- name: string;
1455
- arguments: string;
1456
- };
1457
- /** @internal */
1458
- export declare const GetAllPromptSnippetsFunction$outboundSchema: z.ZodType<GetAllPromptSnippetsFunction$Outbound, z.ZodTypeDef, GetAllPromptSnippetsFunction>;
1459
- /**
1460
- * @internal
1461
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1462
- */
1463
- export declare namespace GetAllPromptSnippetsFunction$ {
1464
- /** @deprecated use `GetAllPromptSnippetsFunction$inboundSchema` instead. */
1465
- const inboundSchema: z.ZodType<GetAllPromptSnippetsFunction, z.ZodTypeDef, unknown>;
1466
- /** @deprecated use `GetAllPromptSnippetsFunction$outboundSchema` instead. */
1467
- const outboundSchema: z.ZodType<GetAllPromptSnippetsFunction$Outbound, z.ZodTypeDef, GetAllPromptSnippetsFunction>;
1468
- /** @deprecated use `GetAllPromptSnippetsFunction$Outbound` instead. */
1469
- type Outbound = GetAllPromptSnippetsFunction$Outbound;
1470
- }
1471
- export declare function getAllPromptSnippetsFunctionToJSON(getAllPromptSnippetsFunction: GetAllPromptSnippetsFunction): string;
1472
- export declare function getAllPromptSnippetsFunctionFromJSON(jsonString: string): SafeParseResult<GetAllPromptSnippetsFunction, SDKValidationError>;
1473
- /** @internal */
1474
- export declare const GetAllPromptSnippetsToolCalls$inboundSchema: z.ZodType<GetAllPromptSnippetsToolCalls, z.ZodTypeDef, unknown>;
1475
- /** @internal */
1476
- export type GetAllPromptSnippetsToolCalls$Outbound = {
1477
- id?: string | undefined;
1478
- index?: number | undefined;
1479
- type: string;
1480
- function: GetAllPromptSnippetsFunction$Outbound;
1481
- };
1482
- /** @internal */
1483
- export declare const GetAllPromptSnippetsToolCalls$outboundSchema: z.ZodType<GetAllPromptSnippetsToolCalls$Outbound, z.ZodTypeDef, GetAllPromptSnippetsToolCalls>;
1484
- /**
1485
- * @internal
1486
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1487
- */
1488
- export declare namespace GetAllPromptSnippetsToolCalls$ {
1489
- /** @deprecated use `GetAllPromptSnippetsToolCalls$inboundSchema` instead. */
1490
- const inboundSchema: z.ZodType<GetAllPromptSnippetsToolCalls, z.ZodTypeDef, unknown>;
1491
- /** @deprecated use `GetAllPromptSnippetsToolCalls$outboundSchema` instead. */
1492
- const outboundSchema: z.ZodType<GetAllPromptSnippetsToolCalls$Outbound, z.ZodTypeDef, GetAllPromptSnippetsToolCalls>;
1493
- /** @deprecated use `GetAllPromptSnippetsToolCalls$Outbound` instead. */
1494
- type Outbound = GetAllPromptSnippetsToolCalls$Outbound;
1495
- }
1496
- export declare function getAllPromptSnippetsToolCallsToJSON(getAllPromptSnippetsToolCalls: GetAllPromptSnippetsToolCalls): string;
1497
- export declare function getAllPromptSnippetsToolCallsFromJSON(jsonString: string): SafeParseResult<GetAllPromptSnippetsToolCalls, SDKValidationError>;
1498
- /** @internal */
1499
- export declare const GetAllPromptSnippetsMessages$inboundSchema: z.ZodType<GetAllPromptSnippetsMessages, z.ZodTypeDef, unknown>;
1500
- /** @internal */
1501
- export type GetAllPromptSnippetsMessages$Outbound = {
1502
- role: string;
1503
- content: string | Array<GetAllPromptSnippets21$Outbound | GetAllPromptSnippets22$Outbound>;
1504
- tool_calls?: Array<GetAllPromptSnippetsToolCalls$Outbound> | undefined;
1505
- };
1506
- /** @internal */
1507
- export declare const GetAllPromptSnippetsMessages$outboundSchema: z.ZodType<GetAllPromptSnippetsMessages$Outbound, z.ZodTypeDef, GetAllPromptSnippetsMessages>;
1508
- /**
1509
- * @internal
1510
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1511
- */
1512
- export declare namespace GetAllPromptSnippetsMessages$ {
1513
- /** @deprecated use `GetAllPromptSnippetsMessages$inboundSchema` instead. */
1514
- const inboundSchema: z.ZodType<GetAllPromptSnippetsMessages, z.ZodTypeDef, unknown>;
1515
- /** @deprecated use `GetAllPromptSnippetsMessages$outboundSchema` instead. */
1516
- const outboundSchema: z.ZodType<GetAllPromptSnippetsMessages$Outbound, z.ZodTypeDef, GetAllPromptSnippetsMessages>;
1517
- /** @deprecated use `GetAllPromptSnippetsMessages$Outbound` instead. */
1518
- type Outbound = GetAllPromptSnippetsMessages$Outbound;
1519
- }
1520
- export declare function getAllPromptSnippetsMessagesToJSON(getAllPromptSnippetsMessages: GetAllPromptSnippetsMessages): string;
1521
- export declare function getAllPromptSnippetsMessagesFromJSON(jsonString: string): SafeParseResult<GetAllPromptSnippetsMessages, SDKValidationError>;
1522
- /** @internal */
1523
- export declare const GetAllPromptSnippetsPromptConfig$inboundSchema: z.ZodType<GetAllPromptSnippetsPromptConfig, z.ZodTypeDef, unknown>;
1524
- /** @internal */
1525
- export type GetAllPromptSnippetsPromptConfig$Outbound = {
1526
- stream?: boolean | undefined;
1527
- model?: string | undefined;
1528
- model_db_id?: string | undefined;
1529
- model_type?: string | undefined;
1530
- model_parameters?: GetAllPromptSnippetsModelParameters$Outbound | undefined;
1531
- provider?: string | undefined;
1532
- integration_id?: string | null | undefined;
1533
- version?: string | undefined;
1534
- messages: Array<GetAllPromptSnippetsMessages$Outbound>;
1535
- };
1536
- /** @internal */
1537
- export declare const GetAllPromptSnippetsPromptConfig$outboundSchema: z.ZodType<GetAllPromptSnippetsPromptConfig$Outbound, z.ZodTypeDef, GetAllPromptSnippetsPromptConfig>;
1538
- /**
1539
- * @internal
1540
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1541
- */
1542
- export declare namespace GetAllPromptSnippetsPromptConfig$ {
1543
- /** @deprecated use `GetAllPromptSnippetsPromptConfig$inboundSchema` instead. */
1544
- const inboundSchema: z.ZodType<GetAllPromptSnippetsPromptConfig, z.ZodTypeDef, unknown>;
1545
- /** @deprecated use `GetAllPromptSnippetsPromptConfig$outboundSchema` instead. */
1546
- const outboundSchema: z.ZodType<GetAllPromptSnippetsPromptConfig$Outbound, z.ZodTypeDef, GetAllPromptSnippetsPromptConfig>;
1547
- /** @deprecated use `GetAllPromptSnippetsPromptConfig$Outbound` instead. */
1548
- type Outbound = GetAllPromptSnippetsPromptConfig$Outbound;
1549
- }
1550
- export declare function getAllPromptSnippetsPromptConfigToJSON(getAllPromptSnippetsPromptConfig: GetAllPromptSnippetsPromptConfig): string;
1551
- export declare function getAllPromptSnippetsPromptConfigFromJSON(jsonString: string): SafeParseResult<GetAllPromptSnippetsPromptConfig, SDKValidationError>;
1552
- /** @internal */
1553
- export declare const GetAllPromptSnippetsUseCases$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsUseCases>;
1554
- /** @internal */
1555
- export declare const GetAllPromptSnippetsUseCases$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsUseCases>;
1556
- /**
1557
- * @internal
1558
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1559
- */
1560
- export declare namespace GetAllPromptSnippetsUseCases$ {
1561
- /** @deprecated use `GetAllPromptSnippetsUseCases$inboundSchema` instead. */
1562
- const inboundSchema: z.ZodNativeEnum<{
1563
- readonly Agents: "Agents";
1564
- readonly AgentsSimulations: "Agents simulations";
1565
- readonly APIInteraction: "API interaction";
1566
- readonly AutonomousAgents: "Autonomous Agents";
1567
- readonly Chatbots: "Chatbots";
1568
- readonly Classification: "Classification";
1569
- readonly CodeUnderstanding: "Code understanding";
1570
- readonly CodeWriting: "Code writing";
1571
- readonly DocumentsQA: "Documents QA";
1572
- readonly Conversation: "Conversation";
1573
- readonly Extraction: "Extraction";
1574
- readonly MultiModal: "Multi-modal";
1575
- readonly SelfChecking: "Self-checking";
1576
- readonly Sql: "SQL";
1577
- readonly Summarization: "Summarization";
1578
- readonly Tagging: "Tagging";
1579
- }>;
1580
- /** @deprecated use `GetAllPromptSnippetsUseCases$outboundSchema` instead. */
1581
- const outboundSchema: z.ZodNativeEnum<{
1582
- readonly Agents: "Agents";
1583
- readonly AgentsSimulations: "Agents simulations";
1584
- readonly APIInteraction: "API interaction";
1585
- readonly AutonomousAgents: "Autonomous Agents";
1586
- readonly Chatbots: "Chatbots";
1587
- readonly Classification: "Classification";
1588
- readonly CodeUnderstanding: "Code understanding";
1589
- readonly CodeWriting: "Code writing";
1590
- readonly DocumentsQA: "Documents QA";
1591
- readonly Conversation: "Conversation";
1592
- readonly Extraction: "Extraction";
1593
- readonly MultiModal: "Multi-modal";
1594
- readonly SelfChecking: "Self-checking";
1595
- readonly Sql: "SQL";
1596
- readonly Summarization: "Summarization";
1597
- readonly Tagging: "Tagging";
1598
- }>;
1599
- }
1600
- /** @internal */
1601
- export declare const GetAllPromptSnippetsLanguage$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsLanguage>;
1602
- /** @internal */
1603
- export declare const GetAllPromptSnippetsLanguage$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsLanguage>;
1604
- /**
1605
- * @internal
1606
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1607
- */
1608
- export declare namespace GetAllPromptSnippetsLanguage$ {
1609
- /** @deprecated use `GetAllPromptSnippetsLanguage$inboundSchema` instead. */
1610
- const inboundSchema: z.ZodNativeEnum<{
1611
- readonly Chinese: "Chinese";
1612
- readonly Dutch: "Dutch";
1613
- readonly English: "English";
1614
- readonly French: "French";
1615
- readonly German: "German";
1616
- readonly Russian: "Russian";
1617
- readonly Spanish: "Spanish";
1618
- }>;
1619
- /** @deprecated use `GetAllPromptSnippetsLanguage$outboundSchema` instead. */
1620
- const outboundSchema: z.ZodNativeEnum<{
1621
- readonly Chinese: "Chinese";
1622
- readonly Dutch: "Dutch";
1623
- readonly English: "English";
1624
- readonly French: "French";
1625
- readonly German: "German";
1626
- readonly Russian: "Russian";
1627
- readonly Spanish: "Spanish";
1628
- }>;
1629
- }
1630
- /** @internal */
1631
- export declare const GetAllPromptSnippetsMetadata$inboundSchema: z.ZodType<GetAllPromptSnippetsMetadata, z.ZodTypeDef, unknown>;
1632
- /** @internal */
1633
- export type GetAllPromptSnippetsMetadata$Outbound = {
1634
- use_cases?: Array<string> | undefined;
1635
- language?: string | undefined;
1636
- };
1637
- /** @internal */
1638
- export declare const GetAllPromptSnippetsMetadata$outboundSchema: z.ZodType<GetAllPromptSnippetsMetadata$Outbound, z.ZodTypeDef, GetAllPromptSnippetsMetadata>;
1639
- /**
1640
- * @internal
1641
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1642
- */
1643
- export declare namespace GetAllPromptSnippetsMetadata$ {
1644
- /** @deprecated use `GetAllPromptSnippetsMetadata$inboundSchema` instead. */
1645
- const inboundSchema: z.ZodType<GetAllPromptSnippetsMetadata, z.ZodTypeDef, unknown>;
1646
- /** @deprecated use `GetAllPromptSnippetsMetadata$outboundSchema` instead. */
1647
- const outboundSchema: z.ZodType<GetAllPromptSnippetsMetadata$Outbound, z.ZodTypeDef, GetAllPromptSnippetsMetadata>;
1648
- /** @deprecated use `GetAllPromptSnippetsMetadata$Outbound` instead. */
1649
- type Outbound = GetAllPromptSnippetsMetadata$Outbound;
1650
- }
1651
- export declare function getAllPromptSnippetsMetadataToJSON(getAllPromptSnippetsMetadata: GetAllPromptSnippetsMetadata): string;
1652
- export declare function getAllPromptSnippetsMetadataFromJSON(jsonString: string): SafeParseResult<GetAllPromptSnippetsMetadata, SDKValidationError>;
1653
- /** @internal */
1654
- export declare const GetAllPromptSnippetsType$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsType>;
1655
- /** @internal */
1656
- export declare const GetAllPromptSnippetsType$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsType>;
1657
- /**
1658
- * @internal
1659
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1660
- */
1661
- export declare namespace GetAllPromptSnippetsType$ {
1662
- /** @deprecated use `GetAllPromptSnippetsType$inboundSchema` instead. */
1663
- const inboundSchema: z.ZodNativeEnum<{
1664
- readonly Snippet: "snippet";
1665
- }>;
1666
- /** @deprecated use `GetAllPromptSnippetsType$outboundSchema` instead. */
1667
- const outboundSchema: z.ZodNativeEnum<{
1668
- readonly Snippet: "snippet";
1669
- }>;
1670
- }
1671
- /** @internal */
1672
- export declare const GetAllPromptSnippetsPromptSnippetsModelType$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsPromptSnippetsModelType>;
1673
- /** @internal */
1674
- export declare const GetAllPromptSnippetsPromptSnippetsModelType$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsPromptSnippetsModelType>;
1675
- /**
1676
- * @internal
1677
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1678
- */
1679
- export declare namespace GetAllPromptSnippetsPromptSnippetsModelType$ {
1680
- /** @deprecated use `GetAllPromptSnippetsPromptSnippetsModelType$inboundSchema` instead. */
1681
- const inboundSchema: z.ZodNativeEnum<{
1682
- readonly Chat: "chat";
1683
- readonly Completion: "completion";
1684
- readonly Embedding: "embedding";
1685
- readonly Vision: "vision";
1686
- readonly Image: "image";
1687
- readonly Tts: "tts";
1688
- readonly Stt: "stt";
1689
- readonly Rerank: "rerank";
1690
- readonly Moderations: "moderations";
1691
- }>;
1692
- /** @deprecated use `GetAllPromptSnippetsPromptSnippetsModelType$outboundSchema` instead. */
1693
- const outboundSchema: z.ZodNativeEnum<{
1694
- readonly Chat: "chat";
1695
- readonly Completion: "completion";
1696
- readonly Embedding: "embedding";
1697
- readonly Vision: "vision";
1698
- readonly Image: "image";
1699
- readonly Tts: "tts";
1700
- readonly Stt: "stt";
1701
- readonly Rerank: "rerank";
1702
- readonly Moderations: "moderations";
1703
- }>;
1704
- }
1705
- /** @internal */
1706
- export declare const GetAllPromptSnippetsPromptSnippetsFormat$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsPromptSnippetsFormat>;
1707
- /** @internal */
1708
- export declare const GetAllPromptSnippetsPromptSnippetsFormat$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsPromptSnippetsFormat>;
1709
- /**
1710
- * @internal
1711
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1712
- */
1713
- export declare namespace GetAllPromptSnippetsPromptSnippetsFormat$ {
1714
- /** @deprecated use `GetAllPromptSnippetsPromptSnippetsFormat$inboundSchema` instead. */
1715
- const inboundSchema: z.ZodNativeEnum<{
1716
- readonly Url: "url";
1717
- readonly B64Json: "b64_json";
1718
- readonly Text: "text";
1719
- readonly JsonObject: "json_object";
1720
- }>;
1721
- /** @deprecated use `GetAllPromptSnippetsPromptSnippetsFormat$outboundSchema` instead. */
1722
- const outboundSchema: z.ZodNativeEnum<{
1723
- readonly Url: "url";
1724
- readonly B64Json: "b64_json";
1725
- readonly Text: "text";
1726
- readonly JsonObject: "json_object";
1727
- }>;
1728
- }
1729
- /** @internal */
1730
- export declare const GetAllPromptSnippetsPromptSnippetsQuality$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsPromptSnippetsQuality>;
1731
- /** @internal */
1732
- export declare const GetAllPromptSnippetsPromptSnippetsQuality$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsPromptSnippetsQuality>;
1733
- /**
1734
- * @internal
1735
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1736
- */
1737
- export declare namespace GetAllPromptSnippetsPromptSnippetsQuality$ {
1738
- /** @deprecated use `GetAllPromptSnippetsPromptSnippetsQuality$inboundSchema` instead. */
1739
- const inboundSchema: z.ZodNativeEnum<{
1740
- readonly Standard: "standard";
1741
- readonly Hd: "hd";
1742
- }>;
1743
- /** @deprecated use `GetAllPromptSnippetsPromptSnippetsQuality$outboundSchema` instead. */
1744
- const outboundSchema: z.ZodNativeEnum<{
1745
- readonly Standard: "standard";
1746
- readonly Hd: "hd";
1747
- }>;
1748
- }
1749
- /** @internal */
1750
- export declare const GetAllPromptSnippetsResponseFormatPromptSnippetsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsResponseFormatPromptSnippetsResponse200Type>;
1751
- /** @internal */
1752
- export declare const GetAllPromptSnippetsResponseFormatPromptSnippetsResponse200Type$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsResponseFormatPromptSnippetsResponse200Type>;
1753
- /**
1754
- * @internal
1755
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1756
- */
1757
- export declare namespace GetAllPromptSnippetsResponseFormatPromptSnippetsResponse200Type$ {
1758
- /** @deprecated use `GetAllPromptSnippetsResponseFormatPromptSnippetsResponse200Type$inboundSchema` instead. */
1759
- const inboundSchema: z.ZodNativeEnum<{
1760
- readonly JsonObject: "json_object";
1761
- }>;
1762
- /** @deprecated use `GetAllPromptSnippetsResponseFormatPromptSnippetsResponse200Type$outboundSchema` instead. */
1763
- const outboundSchema: z.ZodNativeEnum<{
1764
- readonly JsonObject: "json_object";
1765
- }>;
1766
- }
1767
- /** @internal */
1768
- export declare const GetAllPromptSnippetsResponseFormatPromptSnippets2$inboundSchema: z.ZodType<GetAllPromptSnippetsResponseFormatPromptSnippets2, z.ZodTypeDef, unknown>;
1769
- /** @internal */
1770
- export type GetAllPromptSnippetsResponseFormatPromptSnippets2$Outbound = {
1771
- type: string;
1772
- };
1773
- /** @internal */
1774
- export declare const GetAllPromptSnippetsResponseFormatPromptSnippets2$outboundSchema: z.ZodType<GetAllPromptSnippetsResponseFormatPromptSnippets2$Outbound, z.ZodTypeDef, GetAllPromptSnippetsResponseFormatPromptSnippets2>;
1775
- /**
1776
- * @internal
1777
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1778
- */
1779
- export declare namespace GetAllPromptSnippetsResponseFormatPromptSnippets2$ {
1780
- /** @deprecated use `GetAllPromptSnippetsResponseFormatPromptSnippets2$inboundSchema` instead. */
1781
- const inboundSchema: z.ZodType<GetAllPromptSnippetsResponseFormatPromptSnippets2, z.ZodTypeDef, unknown>;
1782
- /** @deprecated use `GetAllPromptSnippetsResponseFormatPromptSnippets2$outboundSchema` instead. */
1783
- const outboundSchema: z.ZodType<GetAllPromptSnippetsResponseFormatPromptSnippets2$Outbound, z.ZodTypeDef, GetAllPromptSnippetsResponseFormatPromptSnippets2>;
1784
- /** @deprecated use `GetAllPromptSnippetsResponseFormatPromptSnippets2$Outbound` instead. */
1785
- type Outbound = GetAllPromptSnippetsResponseFormatPromptSnippets2$Outbound;
1786
- }
1787
- export declare function getAllPromptSnippetsResponseFormatPromptSnippets2ToJSON(getAllPromptSnippetsResponseFormatPromptSnippets2: GetAllPromptSnippetsResponseFormatPromptSnippets2): string;
1788
- export declare function getAllPromptSnippetsResponseFormatPromptSnippets2FromJSON(jsonString: string): SafeParseResult<GetAllPromptSnippetsResponseFormatPromptSnippets2, SDKValidationError>;
1789
- /** @internal */
1790
- export declare const GetAllPromptSnippetsResponseFormatPromptSnippetsResponseType$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsResponseFormatPromptSnippetsResponseType>;
1791
- /** @internal */
1792
- export declare const GetAllPromptSnippetsResponseFormatPromptSnippetsResponseType$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsResponseFormatPromptSnippetsResponseType>;
1793
- /**
1794
- * @internal
1795
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1796
- */
1797
- export declare namespace GetAllPromptSnippetsResponseFormatPromptSnippetsResponseType$ {
1798
- /** @deprecated use `GetAllPromptSnippetsResponseFormatPromptSnippetsResponseType$inboundSchema` instead. */
1799
- const inboundSchema: z.ZodNativeEnum<{
1800
- readonly JsonSchema: "json_schema";
1801
- }>;
1802
- /** @deprecated use `GetAllPromptSnippetsResponseFormatPromptSnippetsResponseType$outboundSchema` instead. */
1803
- const outboundSchema: z.ZodNativeEnum<{
1804
- readonly JsonSchema: "json_schema";
1805
- }>;
1806
- }
1807
- /** @internal */
1808
- export declare const GetAllPromptSnippetsResponseFormatPromptSnippetsJsonSchema$inboundSchema: z.ZodType<GetAllPromptSnippetsResponseFormatPromptSnippetsJsonSchema, z.ZodTypeDef, unknown>;
1809
- /** @internal */
1810
- export type GetAllPromptSnippetsResponseFormatPromptSnippetsJsonSchema$Outbound = {
1811
- name: string;
1812
- strict: boolean;
1813
- schema: {
1814
- [k: string]: any;
1815
- };
1816
- };
1817
- /** @internal */
1818
- export declare const GetAllPromptSnippetsResponseFormatPromptSnippetsJsonSchema$outboundSchema: z.ZodType<GetAllPromptSnippetsResponseFormatPromptSnippetsJsonSchema$Outbound, z.ZodTypeDef, GetAllPromptSnippetsResponseFormatPromptSnippetsJsonSchema>;
1819
- /**
1820
- * @internal
1821
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1822
- */
1823
- export declare namespace GetAllPromptSnippetsResponseFormatPromptSnippetsJsonSchema$ {
1824
- /** @deprecated use `GetAllPromptSnippetsResponseFormatPromptSnippetsJsonSchema$inboundSchema` instead. */
1825
- const inboundSchema: z.ZodType<GetAllPromptSnippetsResponseFormatPromptSnippetsJsonSchema, z.ZodTypeDef, unknown>;
1826
- /** @deprecated use `GetAllPromptSnippetsResponseFormatPromptSnippetsJsonSchema$outboundSchema` instead. */
1827
- const outboundSchema: z.ZodType<GetAllPromptSnippetsResponseFormatPromptSnippetsJsonSchema$Outbound, z.ZodTypeDef, GetAllPromptSnippetsResponseFormatPromptSnippetsJsonSchema>;
1828
- /** @deprecated use `GetAllPromptSnippetsResponseFormatPromptSnippetsJsonSchema$Outbound` instead. */
1829
- type Outbound = GetAllPromptSnippetsResponseFormatPromptSnippetsJsonSchema$Outbound;
1830
- }
1831
- export declare function getAllPromptSnippetsResponseFormatPromptSnippetsJsonSchemaToJSON(getAllPromptSnippetsResponseFormatPromptSnippetsJsonSchema: GetAllPromptSnippetsResponseFormatPromptSnippetsJsonSchema): string;
1832
- export declare function getAllPromptSnippetsResponseFormatPromptSnippetsJsonSchemaFromJSON(jsonString: string): SafeParseResult<GetAllPromptSnippetsResponseFormatPromptSnippetsJsonSchema, SDKValidationError>;
1833
- /** @internal */
1834
- export declare const GetAllPromptSnippetsResponseFormatPromptSnippets1$inboundSchema: z.ZodType<GetAllPromptSnippetsResponseFormatPromptSnippets1, z.ZodTypeDef, unknown>;
1835
- /** @internal */
1836
- export type GetAllPromptSnippetsResponseFormatPromptSnippets1$Outbound = {
1837
- type: string;
1838
- json_schema: GetAllPromptSnippetsResponseFormatPromptSnippetsJsonSchema$Outbound;
1839
- };
1840
- /** @internal */
1841
- export declare const GetAllPromptSnippetsResponseFormatPromptSnippets1$outboundSchema: z.ZodType<GetAllPromptSnippetsResponseFormatPromptSnippets1$Outbound, z.ZodTypeDef, GetAllPromptSnippetsResponseFormatPromptSnippets1>;
1842
- /**
1843
- * @internal
1844
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1845
- */
1846
- export declare namespace GetAllPromptSnippetsResponseFormatPromptSnippets1$ {
1847
- /** @deprecated use `GetAllPromptSnippetsResponseFormatPromptSnippets1$inboundSchema` instead. */
1848
- const inboundSchema: z.ZodType<GetAllPromptSnippetsResponseFormatPromptSnippets1, z.ZodTypeDef, unknown>;
1849
- /** @deprecated use `GetAllPromptSnippetsResponseFormatPromptSnippets1$outboundSchema` instead. */
1850
- const outboundSchema: z.ZodType<GetAllPromptSnippetsResponseFormatPromptSnippets1$Outbound, z.ZodTypeDef, GetAllPromptSnippetsResponseFormatPromptSnippets1>;
1851
- /** @deprecated use `GetAllPromptSnippetsResponseFormatPromptSnippets1$Outbound` instead. */
1852
- type Outbound = GetAllPromptSnippetsResponseFormatPromptSnippets1$Outbound;
1853
- }
1854
- export declare function getAllPromptSnippetsResponseFormatPromptSnippets1ToJSON(getAllPromptSnippetsResponseFormatPromptSnippets1: GetAllPromptSnippetsResponseFormatPromptSnippets1): string;
1855
- export declare function getAllPromptSnippetsResponseFormatPromptSnippets1FromJSON(jsonString: string): SafeParseResult<GetAllPromptSnippetsResponseFormatPromptSnippets1, SDKValidationError>;
1856
- /** @internal */
1857
- export declare const GetAllPromptSnippetsPromptSnippetsResponseFormat$inboundSchema: z.ZodType<GetAllPromptSnippetsPromptSnippetsResponseFormat, z.ZodTypeDef, unknown>;
1858
- /** @internal */
1859
- export type GetAllPromptSnippetsPromptSnippetsResponseFormat$Outbound = GetAllPromptSnippetsResponseFormatPromptSnippets2$Outbound | GetAllPromptSnippetsResponseFormatPromptSnippets1$Outbound;
1860
- /** @internal */
1861
- export declare const GetAllPromptSnippetsPromptSnippetsResponseFormat$outboundSchema: z.ZodType<GetAllPromptSnippetsPromptSnippetsResponseFormat$Outbound, z.ZodTypeDef, GetAllPromptSnippetsPromptSnippetsResponseFormat>;
1862
- /**
1863
- * @internal
1864
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1865
- */
1866
- export declare namespace GetAllPromptSnippetsPromptSnippetsResponseFormat$ {
1867
- /** @deprecated use `GetAllPromptSnippetsPromptSnippetsResponseFormat$inboundSchema` instead. */
1868
- const inboundSchema: z.ZodType<GetAllPromptSnippetsPromptSnippetsResponseFormat, z.ZodTypeDef, unknown>;
1869
- /** @deprecated use `GetAllPromptSnippetsPromptSnippetsResponseFormat$outboundSchema` instead. */
1870
- const outboundSchema: z.ZodType<GetAllPromptSnippetsPromptSnippetsResponseFormat$Outbound, z.ZodTypeDef, GetAllPromptSnippetsPromptSnippetsResponseFormat>;
1871
- /** @deprecated use `GetAllPromptSnippetsPromptSnippetsResponseFormat$Outbound` instead. */
1872
- type Outbound = GetAllPromptSnippetsPromptSnippetsResponseFormat$Outbound;
1873
- }
1874
- export declare function getAllPromptSnippetsPromptSnippetsResponseFormatToJSON(getAllPromptSnippetsPromptSnippetsResponseFormat: GetAllPromptSnippetsPromptSnippetsResponseFormat): string;
1875
- export declare function getAllPromptSnippetsPromptSnippetsResponseFormatFromJSON(jsonString: string): SafeParseResult<GetAllPromptSnippetsPromptSnippetsResponseFormat, SDKValidationError>;
1876
- /** @internal */
1877
- export declare const GetAllPromptSnippetsPromptSnippetsPhotoRealVersion$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsPromptSnippetsPhotoRealVersion>;
1878
- /** @internal */
1879
- export declare const GetAllPromptSnippetsPromptSnippetsPhotoRealVersion$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsPromptSnippetsPhotoRealVersion>;
1880
- /**
1881
- * @internal
1882
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1883
- */
1884
- export declare namespace GetAllPromptSnippetsPromptSnippetsPhotoRealVersion$ {
1885
- /** @deprecated use `GetAllPromptSnippetsPromptSnippetsPhotoRealVersion$inboundSchema` instead. */
1886
- const inboundSchema: z.ZodNativeEnum<{
1887
- readonly V1: "v1";
1888
- readonly V2: "v2";
1889
- }>;
1890
- /** @deprecated use `GetAllPromptSnippetsPromptSnippetsPhotoRealVersion$outboundSchema` instead. */
1891
- const outboundSchema: z.ZodNativeEnum<{
1892
- readonly V1: "v1";
1893
- readonly V2: "v2";
1894
- }>;
1895
- }
1896
- /** @internal */
1897
- export declare const GetAllPromptSnippetsPromptSnippetsEncodingFormat$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsPromptSnippetsEncodingFormat>;
1898
- /** @internal */
1899
- export declare const GetAllPromptSnippetsPromptSnippetsEncodingFormat$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsPromptSnippetsEncodingFormat>;
1900
- /**
1901
- * @internal
1902
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1903
- */
1904
- export declare namespace GetAllPromptSnippetsPromptSnippetsEncodingFormat$ {
1905
- /** @deprecated use `GetAllPromptSnippetsPromptSnippetsEncodingFormat$inboundSchema` instead. */
1906
- const inboundSchema: z.ZodNativeEnum<{
1907
- readonly Float: "float";
1908
- readonly Base64: "base64";
1909
- }>;
1910
- /** @deprecated use `GetAllPromptSnippetsPromptSnippetsEncodingFormat$outboundSchema` instead. */
1911
- const outboundSchema: z.ZodNativeEnum<{
1912
- readonly Float: "float";
1913
- readonly Base64: "base64";
1914
- }>;
1915
- }
1916
- /** @internal */
1917
- export declare const GetAllPromptSnippetsPromptSnippetsReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsPromptSnippetsReasoningEffort>;
1918
- /** @internal */
1919
- export declare const GetAllPromptSnippetsPromptSnippetsReasoningEffort$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsPromptSnippetsReasoningEffort>;
1920
- /**
1921
- * @internal
1922
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1923
- */
1924
- export declare namespace GetAllPromptSnippetsPromptSnippetsReasoningEffort$ {
1925
- /** @deprecated use `GetAllPromptSnippetsPromptSnippetsReasoningEffort$inboundSchema` instead. */
1926
- const inboundSchema: z.ZodNativeEnum<{
1927
- readonly Low: "low";
1928
- readonly Medium: "medium";
1929
- readonly High: "high";
1930
- }>;
1931
- /** @deprecated use `GetAllPromptSnippetsPromptSnippetsReasoningEffort$outboundSchema` instead. */
1932
- const outboundSchema: z.ZodNativeEnum<{
1933
- readonly Low: "low";
1934
- readonly Medium: "medium";
1935
- readonly High: "high";
1936
- }>;
1937
- }
1938
- /** @internal */
1939
- export declare const GetAllPromptSnippetsPromptSnippetsModelParameters$inboundSchema: z.ZodType<GetAllPromptSnippetsPromptSnippetsModelParameters, z.ZodTypeDef, unknown>;
1940
- /** @internal */
1941
- export type GetAllPromptSnippetsPromptSnippetsModelParameters$Outbound = {
1942
- temperature?: number | undefined;
1943
- maxTokens?: number | undefined;
1944
- topK?: number | undefined;
1945
- topP?: number | undefined;
1946
- frequencyPenalty?: number | undefined;
1947
- presencePenalty?: number | undefined;
1948
- numImages?: number | undefined;
1949
- seed?: number | undefined;
1950
- format?: string | undefined;
1951
- dimensions?: string | undefined;
1952
- quality?: string | undefined;
1953
- style?: string | undefined;
1954
- responseFormat?: GetAllPromptSnippetsResponseFormatPromptSnippets2$Outbound | GetAllPromptSnippetsResponseFormatPromptSnippets1$Outbound | null | undefined;
1955
- photoRealVersion?: string | undefined;
1956
- encoding_format?: string | undefined;
1957
- reasoningEffort?: string | undefined;
1958
- };
1959
- /** @internal */
1960
- export declare const GetAllPromptSnippetsPromptSnippetsModelParameters$outboundSchema: z.ZodType<GetAllPromptSnippetsPromptSnippetsModelParameters$Outbound, z.ZodTypeDef, GetAllPromptSnippetsPromptSnippetsModelParameters>;
1961
- /**
1962
- * @internal
1963
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1964
- */
1965
- export declare namespace GetAllPromptSnippetsPromptSnippetsModelParameters$ {
1966
- /** @deprecated use `GetAllPromptSnippetsPromptSnippetsModelParameters$inboundSchema` instead. */
1967
- const inboundSchema: z.ZodType<GetAllPromptSnippetsPromptSnippetsModelParameters, z.ZodTypeDef, unknown>;
1968
- /** @deprecated use `GetAllPromptSnippetsPromptSnippetsModelParameters$outboundSchema` instead. */
1969
- const outboundSchema: z.ZodType<GetAllPromptSnippetsPromptSnippetsModelParameters$Outbound, z.ZodTypeDef, GetAllPromptSnippetsPromptSnippetsModelParameters>;
1970
- /** @deprecated use `GetAllPromptSnippetsPromptSnippetsModelParameters$Outbound` instead. */
1971
- type Outbound = GetAllPromptSnippetsPromptSnippetsModelParameters$Outbound;
1972
- }
1973
- export declare function getAllPromptSnippetsPromptSnippetsModelParametersToJSON(getAllPromptSnippetsPromptSnippetsModelParameters: GetAllPromptSnippetsPromptSnippetsModelParameters): string;
1974
- export declare function getAllPromptSnippetsPromptSnippetsModelParametersFromJSON(jsonString: string): SafeParseResult<GetAllPromptSnippetsPromptSnippetsModelParameters, SDKValidationError>;
1975
- /** @internal */
1976
- export declare const GetAllPromptSnippetsPromptSnippetsProvider$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsPromptSnippetsProvider>;
1977
- /** @internal */
1978
- export declare const GetAllPromptSnippetsPromptSnippetsProvider$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsPromptSnippetsProvider>;
1979
- /**
1980
- * @internal
1981
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1982
- */
1983
- export declare namespace GetAllPromptSnippetsPromptSnippetsProvider$ {
1984
- /** @deprecated use `GetAllPromptSnippetsPromptSnippetsProvider$inboundSchema` instead. */
1985
- const inboundSchema: z.ZodNativeEnum<{
1986
- readonly Cohere: "cohere";
1987
- readonly Openai: "openai";
1988
- readonly Anthropic: "anthropic";
1989
- readonly Huggingface: "huggingface";
1990
- readonly Replicate: "replicate";
1991
- readonly Google: "google";
1992
- readonly GoogleAi: "google-ai";
1993
- readonly Azure: "azure";
1994
- readonly Aws: "aws";
1995
- readonly Anyscale: "anyscale";
1996
- readonly Perplexity: "perplexity";
1997
- readonly Groq: "groq";
1998
- readonly Fal: "fal";
1999
- readonly Leonardoai: "leonardoai";
2000
- readonly Nvidia: "nvidia";
2001
- readonly Jina: "jina";
2002
- readonly Togetherai: "togetherai";
2003
- readonly Elevenlabs: "elevenlabs";
2004
- }>;
2005
- /** @deprecated use `GetAllPromptSnippetsPromptSnippetsProvider$outboundSchema` instead. */
2006
- const outboundSchema: z.ZodNativeEnum<{
2007
- readonly Cohere: "cohere";
2008
- readonly Openai: "openai";
2009
- readonly Anthropic: "anthropic";
2010
- readonly Huggingface: "huggingface";
2011
- readonly Replicate: "replicate";
2012
- readonly Google: "google";
2013
- readonly GoogleAi: "google-ai";
2014
- readonly Azure: "azure";
2015
- readonly Aws: "aws";
2016
- readonly Anyscale: "anyscale";
2017
- readonly Perplexity: "perplexity";
2018
- readonly Groq: "groq";
2019
- readonly Fal: "fal";
2020
- readonly Leonardoai: "leonardoai";
2021
- readonly Nvidia: "nvidia";
2022
- readonly Jina: "jina";
2023
- readonly Togetherai: "togetherai";
2024
- readonly Elevenlabs: "elevenlabs";
2025
- }>;
2026
- }
2027
- /** @internal */
2028
- export declare const GetAllPromptSnippetsPromptSnippetsRole$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsPromptSnippetsRole>;
2029
- /** @internal */
2030
- export declare const GetAllPromptSnippetsPromptSnippetsRole$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsPromptSnippetsRole>;
2031
- /**
2032
- * @internal
2033
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2034
- */
2035
- export declare namespace GetAllPromptSnippetsPromptSnippetsRole$ {
2036
- /** @deprecated use `GetAllPromptSnippetsPromptSnippetsRole$inboundSchema` instead. */
2037
- const inboundSchema: z.ZodNativeEnum<{
2038
- readonly System: "system";
2039
- readonly Assistant: "assistant";
2040
- readonly User: "user";
2041
- readonly Exception: "exception";
2042
- readonly Tool: "tool";
2043
- readonly Prompt: "prompt";
2044
- readonly Correction: "correction";
2045
- readonly ExpectedOutput: "expected_output";
2046
- }>;
2047
- /** @deprecated use `GetAllPromptSnippetsPromptSnippetsRole$outboundSchema` instead. */
2048
- const outboundSchema: z.ZodNativeEnum<{
2049
- readonly System: "system";
2050
- readonly Assistant: "assistant";
2051
- readonly User: "user";
2052
- readonly Exception: "exception";
2053
- readonly Tool: "tool";
2054
- readonly Prompt: "prompt";
2055
- readonly Correction: "correction";
2056
- readonly ExpectedOutput: "expected_output";
2057
- }>;
2058
- }
2059
- /** @internal */
2060
- export declare const GetAllPromptSnippets2PromptSnippetsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippets2PromptSnippetsResponse200Type>;
2061
- /** @internal */
2062
- export declare const GetAllPromptSnippets2PromptSnippetsResponse200Type$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippets2PromptSnippetsResponse200Type>;
2063
- /**
2064
- * @internal
2065
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2066
- */
2067
- export declare namespace GetAllPromptSnippets2PromptSnippetsResponse200Type$ {
2068
- /** @deprecated use `GetAllPromptSnippets2PromptSnippetsResponse200Type$inboundSchema` instead. */
2069
- const inboundSchema: z.ZodNativeEnum<{
2070
- readonly ImageUrl: "image_url";
2071
- }>;
2072
- /** @deprecated use `GetAllPromptSnippets2PromptSnippetsResponse200Type$outboundSchema` instead. */
2073
- const outboundSchema: z.ZodNativeEnum<{
2074
- readonly ImageUrl: "image_url";
2075
- }>;
2076
- }
2077
- /** @internal */
2078
- export declare const GetAllPromptSnippets2PromptSnippetsImageUrl$inboundSchema: z.ZodType<GetAllPromptSnippets2PromptSnippetsImageUrl, z.ZodTypeDef, unknown>;
2079
- /** @internal */
2080
- export type GetAllPromptSnippets2PromptSnippetsImageUrl$Outbound = {
2081
- id?: string | undefined;
2082
- url: string;
2083
- detail?: string | undefined;
2084
- };
2085
- /** @internal */
2086
- export declare const GetAllPromptSnippets2PromptSnippetsImageUrl$outboundSchema: z.ZodType<GetAllPromptSnippets2PromptSnippetsImageUrl$Outbound, z.ZodTypeDef, GetAllPromptSnippets2PromptSnippetsImageUrl>;
2087
- /**
2088
- * @internal
2089
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2090
- */
2091
- export declare namespace GetAllPromptSnippets2PromptSnippetsImageUrl$ {
2092
- /** @deprecated use `GetAllPromptSnippets2PromptSnippetsImageUrl$inboundSchema` instead. */
2093
- const inboundSchema: z.ZodType<GetAllPromptSnippets2PromptSnippetsImageUrl, z.ZodTypeDef, unknown>;
2094
- /** @deprecated use `GetAllPromptSnippets2PromptSnippetsImageUrl$outboundSchema` instead. */
2095
- const outboundSchema: z.ZodType<GetAllPromptSnippets2PromptSnippetsImageUrl$Outbound, z.ZodTypeDef, GetAllPromptSnippets2PromptSnippetsImageUrl>;
2096
- /** @deprecated use `GetAllPromptSnippets2PromptSnippetsImageUrl$Outbound` instead. */
2097
- type Outbound = GetAllPromptSnippets2PromptSnippetsImageUrl$Outbound;
2098
- }
2099
- export declare function getAllPromptSnippets2PromptSnippetsImageUrlToJSON(getAllPromptSnippets2PromptSnippetsImageUrl: GetAllPromptSnippets2PromptSnippetsImageUrl): string;
2100
- export declare function getAllPromptSnippets2PromptSnippetsImageUrlFromJSON(jsonString: string): SafeParseResult<GetAllPromptSnippets2PromptSnippetsImageUrl, SDKValidationError>;
2101
- /** @internal */
2102
- export declare const GetAllPromptSnippets2PromptSnippets2$inboundSchema: z.ZodType<GetAllPromptSnippets2PromptSnippets2, z.ZodTypeDef, unknown>;
2103
- /** @internal */
2104
- export type GetAllPromptSnippets2PromptSnippets2$Outbound = {
2105
- type: string;
2106
- image_url: GetAllPromptSnippets2PromptSnippetsImageUrl$Outbound;
2107
- };
2108
- /** @internal */
2109
- export declare const GetAllPromptSnippets2PromptSnippets2$outboundSchema: z.ZodType<GetAllPromptSnippets2PromptSnippets2$Outbound, z.ZodTypeDef, GetAllPromptSnippets2PromptSnippets2>;
2110
- /**
2111
- * @internal
2112
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2113
- */
2114
- export declare namespace GetAllPromptSnippets2PromptSnippets2$ {
2115
- /** @deprecated use `GetAllPromptSnippets2PromptSnippets2$inboundSchema` instead. */
2116
- const inboundSchema: z.ZodType<GetAllPromptSnippets2PromptSnippets2, z.ZodTypeDef, unknown>;
2117
- /** @deprecated use `GetAllPromptSnippets2PromptSnippets2$outboundSchema` instead. */
2118
- const outboundSchema: z.ZodType<GetAllPromptSnippets2PromptSnippets2$Outbound, z.ZodTypeDef, GetAllPromptSnippets2PromptSnippets2>;
2119
- /** @deprecated use `GetAllPromptSnippets2PromptSnippets2$Outbound` instead. */
2120
- type Outbound = GetAllPromptSnippets2PromptSnippets2$Outbound;
2121
- }
2122
- export declare function getAllPromptSnippets2PromptSnippets2ToJSON(getAllPromptSnippets2PromptSnippets2: GetAllPromptSnippets2PromptSnippets2): string;
2123
- export declare function getAllPromptSnippets2PromptSnippets2FromJSON(jsonString: string): SafeParseResult<GetAllPromptSnippets2PromptSnippets2, SDKValidationError>;
2124
- /** @internal */
2125
- export declare const GetAllPromptSnippets2PromptSnippetsResponseType$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippets2PromptSnippetsResponseType>;
2126
- /** @internal */
2127
- export declare const GetAllPromptSnippets2PromptSnippetsResponseType$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippets2PromptSnippetsResponseType>;
2128
- /**
2129
- * @internal
2130
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2131
- */
2132
- export declare namespace GetAllPromptSnippets2PromptSnippetsResponseType$ {
2133
- /** @deprecated use `GetAllPromptSnippets2PromptSnippetsResponseType$inboundSchema` instead. */
2134
- const inboundSchema: z.ZodNativeEnum<{
2135
- readonly Text: "text";
2136
- }>;
2137
- /** @deprecated use `GetAllPromptSnippets2PromptSnippetsResponseType$outboundSchema` instead. */
2138
- const outboundSchema: z.ZodNativeEnum<{
2139
- readonly Text: "text";
2140
- }>;
2141
- }
2142
- /** @internal */
2143
- export declare const GetAllPromptSnippets2PromptSnippets1$inboundSchema: z.ZodType<GetAllPromptSnippets2PromptSnippets1, z.ZodTypeDef, unknown>;
2144
- /** @internal */
2145
- export type GetAllPromptSnippets2PromptSnippets1$Outbound = {
2146
- type: string;
2147
- text: string;
2148
- };
2149
- /** @internal */
2150
- export declare const GetAllPromptSnippets2PromptSnippets1$outboundSchema: z.ZodType<GetAllPromptSnippets2PromptSnippets1$Outbound, z.ZodTypeDef, GetAllPromptSnippets2PromptSnippets1>;
2151
- /**
2152
- * @internal
2153
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2154
- */
2155
- export declare namespace GetAllPromptSnippets2PromptSnippets1$ {
2156
- /** @deprecated use `GetAllPromptSnippets2PromptSnippets1$inboundSchema` instead. */
2157
- const inboundSchema: z.ZodType<GetAllPromptSnippets2PromptSnippets1, z.ZodTypeDef, unknown>;
2158
- /** @deprecated use `GetAllPromptSnippets2PromptSnippets1$outboundSchema` instead. */
2159
- const outboundSchema: z.ZodType<GetAllPromptSnippets2PromptSnippets1$Outbound, z.ZodTypeDef, GetAllPromptSnippets2PromptSnippets1>;
2160
- /** @deprecated use `GetAllPromptSnippets2PromptSnippets1$Outbound` instead. */
2161
- type Outbound = GetAllPromptSnippets2PromptSnippets1$Outbound;
2162
- }
2163
- export declare function getAllPromptSnippets2PromptSnippets1ToJSON(getAllPromptSnippets2PromptSnippets1: GetAllPromptSnippets2PromptSnippets1): string;
2164
- export declare function getAllPromptSnippets2PromptSnippets1FromJSON(jsonString: string): SafeParseResult<GetAllPromptSnippets2PromptSnippets1, SDKValidationError>;
2165
- /** @internal */
2166
- export declare const GetAllPromptSnippetsContentPromptSnippets2$inboundSchema: z.ZodType<GetAllPromptSnippetsContentPromptSnippets2, z.ZodTypeDef, unknown>;
2167
- /** @internal */
2168
- export type GetAllPromptSnippetsContentPromptSnippets2$Outbound = GetAllPromptSnippets2PromptSnippets1$Outbound | GetAllPromptSnippets2PromptSnippets2$Outbound;
2169
- /** @internal */
2170
- export declare const GetAllPromptSnippetsContentPromptSnippets2$outboundSchema: z.ZodType<GetAllPromptSnippetsContentPromptSnippets2$Outbound, z.ZodTypeDef, GetAllPromptSnippetsContentPromptSnippets2>;
2171
- /**
2172
- * @internal
2173
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2174
- */
2175
- export declare namespace GetAllPromptSnippetsContentPromptSnippets2$ {
2176
- /** @deprecated use `GetAllPromptSnippetsContentPromptSnippets2$inboundSchema` instead. */
2177
- const inboundSchema: z.ZodType<GetAllPromptSnippetsContentPromptSnippets2, z.ZodTypeDef, unknown>;
2178
- /** @deprecated use `GetAllPromptSnippetsContentPromptSnippets2$outboundSchema` instead. */
2179
- const outboundSchema: z.ZodType<GetAllPromptSnippetsContentPromptSnippets2$Outbound, z.ZodTypeDef, GetAllPromptSnippetsContentPromptSnippets2>;
2180
- /** @deprecated use `GetAllPromptSnippetsContentPromptSnippets2$Outbound` instead. */
2181
- type Outbound = GetAllPromptSnippetsContentPromptSnippets2$Outbound;
2182
- }
2183
- export declare function getAllPromptSnippetsContentPromptSnippets2ToJSON(getAllPromptSnippetsContentPromptSnippets2: GetAllPromptSnippetsContentPromptSnippets2): string;
2184
- export declare function getAllPromptSnippetsContentPromptSnippets2FromJSON(jsonString: string): SafeParseResult<GetAllPromptSnippetsContentPromptSnippets2, SDKValidationError>;
2185
- /** @internal */
2186
- export declare const GetAllPromptSnippetsPromptSnippetsContent$inboundSchema: z.ZodType<GetAllPromptSnippetsPromptSnippetsContent, z.ZodTypeDef, unknown>;
2187
- /** @internal */
2188
- export type GetAllPromptSnippetsPromptSnippetsContent$Outbound = string | Array<GetAllPromptSnippets2PromptSnippets1$Outbound | GetAllPromptSnippets2PromptSnippets2$Outbound>;
2189
- /** @internal */
2190
- export declare const GetAllPromptSnippetsPromptSnippetsContent$outboundSchema: z.ZodType<GetAllPromptSnippetsPromptSnippetsContent$Outbound, z.ZodTypeDef, GetAllPromptSnippetsPromptSnippetsContent>;
2191
- /**
2192
- * @internal
2193
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2194
- */
2195
- export declare namespace GetAllPromptSnippetsPromptSnippetsContent$ {
2196
- /** @deprecated use `GetAllPromptSnippetsPromptSnippetsContent$inboundSchema` instead. */
2197
- const inboundSchema: z.ZodType<GetAllPromptSnippetsPromptSnippetsContent, z.ZodTypeDef, unknown>;
2198
- /** @deprecated use `GetAllPromptSnippetsPromptSnippetsContent$outboundSchema` instead. */
2199
- const outboundSchema: z.ZodType<GetAllPromptSnippetsPromptSnippetsContent$Outbound, z.ZodTypeDef, GetAllPromptSnippetsPromptSnippetsContent>;
2200
- /** @deprecated use `GetAllPromptSnippetsPromptSnippetsContent$Outbound` instead. */
2201
- type Outbound = GetAllPromptSnippetsPromptSnippetsContent$Outbound;
2202
- }
2203
- export declare function getAllPromptSnippetsPromptSnippetsContentToJSON(getAllPromptSnippetsPromptSnippetsContent: GetAllPromptSnippetsPromptSnippetsContent): string;
2204
- export declare function getAllPromptSnippetsPromptSnippetsContentFromJSON(jsonString: string): SafeParseResult<GetAllPromptSnippetsPromptSnippetsContent, SDKValidationError>;
2205
- /** @internal */
2206
- export declare const GetAllPromptSnippetsPromptSnippetsResponseType$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsPromptSnippetsResponseType>;
2207
- /** @internal */
2208
- export declare const GetAllPromptSnippetsPromptSnippetsResponseType$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsPromptSnippetsResponseType>;
2209
- /**
2210
- * @internal
2211
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2212
- */
2213
- export declare namespace GetAllPromptSnippetsPromptSnippetsResponseType$ {
2214
- /** @deprecated use `GetAllPromptSnippetsPromptSnippetsResponseType$inboundSchema` instead. */
2215
- const inboundSchema: z.ZodNativeEnum<{
2216
- readonly Function: "function";
2217
- }>;
2218
- /** @deprecated use `GetAllPromptSnippetsPromptSnippetsResponseType$outboundSchema` instead. */
2219
- const outboundSchema: z.ZodNativeEnum<{
2220
- readonly Function: "function";
2221
- }>;
2222
- }
2223
- /** @internal */
2224
- export declare const GetAllPromptSnippetsPromptSnippetsFunction$inboundSchema: z.ZodType<GetAllPromptSnippetsPromptSnippetsFunction, z.ZodTypeDef, unknown>;
2225
- /** @internal */
2226
- export type GetAllPromptSnippetsPromptSnippetsFunction$Outbound = {
2227
- name: string;
2228
- arguments: string;
2229
- };
2230
- /** @internal */
2231
- export declare const GetAllPromptSnippetsPromptSnippetsFunction$outboundSchema: z.ZodType<GetAllPromptSnippetsPromptSnippetsFunction$Outbound, z.ZodTypeDef, GetAllPromptSnippetsPromptSnippetsFunction>;
2232
- /**
2233
- * @internal
2234
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2235
- */
2236
- export declare namespace GetAllPromptSnippetsPromptSnippetsFunction$ {
2237
- /** @deprecated use `GetAllPromptSnippetsPromptSnippetsFunction$inboundSchema` instead. */
2238
- const inboundSchema: z.ZodType<GetAllPromptSnippetsPromptSnippetsFunction, z.ZodTypeDef, unknown>;
2239
- /** @deprecated use `GetAllPromptSnippetsPromptSnippetsFunction$outboundSchema` instead. */
2240
- const outboundSchema: z.ZodType<GetAllPromptSnippetsPromptSnippetsFunction$Outbound, z.ZodTypeDef, GetAllPromptSnippetsPromptSnippetsFunction>;
2241
- /** @deprecated use `GetAllPromptSnippetsPromptSnippetsFunction$Outbound` instead. */
2242
- type Outbound = GetAllPromptSnippetsPromptSnippetsFunction$Outbound;
2243
- }
2244
- export declare function getAllPromptSnippetsPromptSnippetsFunctionToJSON(getAllPromptSnippetsPromptSnippetsFunction: GetAllPromptSnippetsPromptSnippetsFunction): string;
2245
- export declare function getAllPromptSnippetsPromptSnippetsFunctionFromJSON(jsonString: string): SafeParseResult<GetAllPromptSnippetsPromptSnippetsFunction, SDKValidationError>;
2246
- /** @internal */
2247
- export declare const GetAllPromptSnippetsPromptSnippetsToolCalls$inboundSchema: z.ZodType<GetAllPromptSnippetsPromptSnippetsToolCalls, z.ZodTypeDef, unknown>;
2248
- /** @internal */
2249
- export type GetAllPromptSnippetsPromptSnippetsToolCalls$Outbound = {
2250
- id?: string | undefined;
2251
- index?: number | undefined;
2252
- type: string;
2253
- function: GetAllPromptSnippetsPromptSnippetsFunction$Outbound;
2254
- };
2255
- /** @internal */
2256
- export declare const GetAllPromptSnippetsPromptSnippetsToolCalls$outboundSchema: z.ZodType<GetAllPromptSnippetsPromptSnippetsToolCalls$Outbound, z.ZodTypeDef, GetAllPromptSnippetsPromptSnippetsToolCalls>;
2257
- /**
2258
- * @internal
2259
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2260
- */
2261
- export declare namespace GetAllPromptSnippetsPromptSnippetsToolCalls$ {
2262
- /** @deprecated use `GetAllPromptSnippetsPromptSnippetsToolCalls$inboundSchema` instead. */
2263
- const inboundSchema: z.ZodType<GetAllPromptSnippetsPromptSnippetsToolCalls, z.ZodTypeDef, unknown>;
2264
- /** @deprecated use `GetAllPromptSnippetsPromptSnippetsToolCalls$outboundSchema` instead. */
2265
- const outboundSchema: z.ZodType<GetAllPromptSnippetsPromptSnippetsToolCalls$Outbound, z.ZodTypeDef, GetAllPromptSnippetsPromptSnippetsToolCalls>;
2266
- /** @deprecated use `GetAllPromptSnippetsPromptSnippetsToolCalls$Outbound` instead. */
2267
- type Outbound = GetAllPromptSnippetsPromptSnippetsToolCalls$Outbound;
2268
- }
2269
- export declare function getAllPromptSnippetsPromptSnippetsToolCallsToJSON(getAllPromptSnippetsPromptSnippetsToolCalls: GetAllPromptSnippetsPromptSnippetsToolCalls): string;
2270
- export declare function getAllPromptSnippetsPromptSnippetsToolCallsFromJSON(jsonString: string): SafeParseResult<GetAllPromptSnippetsPromptSnippetsToolCalls, SDKValidationError>;
2271
- /** @internal */
2272
- export declare const GetAllPromptSnippetsPromptSnippetsMessages$inboundSchema: z.ZodType<GetAllPromptSnippetsPromptSnippetsMessages, z.ZodTypeDef, unknown>;
2273
- /** @internal */
2274
- export type GetAllPromptSnippetsPromptSnippetsMessages$Outbound = {
2275
- role: string;
2276
- content: string | Array<GetAllPromptSnippets2PromptSnippets1$Outbound | GetAllPromptSnippets2PromptSnippets2$Outbound>;
2277
- tool_calls?: Array<GetAllPromptSnippetsPromptSnippetsToolCalls$Outbound> | undefined;
2278
- };
2279
- /** @internal */
2280
- export declare const GetAllPromptSnippetsPromptSnippetsMessages$outboundSchema: z.ZodType<GetAllPromptSnippetsPromptSnippetsMessages$Outbound, z.ZodTypeDef, GetAllPromptSnippetsPromptSnippetsMessages>;
2281
- /**
2282
- * @internal
2283
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2284
- */
2285
- export declare namespace GetAllPromptSnippetsPromptSnippetsMessages$ {
2286
- /** @deprecated use `GetAllPromptSnippetsPromptSnippetsMessages$inboundSchema` instead. */
2287
- const inboundSchema: z.ZodType<GetAllPromptSnippetsPromptSnippetsMessages, z.ZodTypeDef, unknown>;
2288
- /** @deprecated use `GetAllPromptSnippetsPromptSnippetsMessages$outboundSchema` instead. */
2289
- const outboundSchema: z.ZodType<GetAllPromptSnippetsPromptSnippetsMessages$Outbound, z.ZodTypeDef, GetAllPromptSnippetsPromptSnippetsMessages>;
2290
- /** @deprecated use `GetAllPromptSnippetsPromptSnippetsMessages$Outbound` instead. */
2291
- type Outbound = GetAllPromptSnippetsPromptSnippetsMessages$Outbound;
2292
- }
2293
- export declare function getAllPromptSnippetsPromptSnippetsMessagesToJSON(getAllPromptSnippetsPromptSnippetsMessages: GetAllPromptSnippetsPromptSnippetsMessages): string;
2294
- export declare function getAllPromptSnippetsPromptSnippetsMessagesFromJSON(jsonString: string): SafeParseResult<GetAllPromptSnippetsPromptSnippetsMessages, SDKValidationError>;
2295
- /** @internal */
2296
- export declare const GetAllPromptSnippetsPromptSnippetsPromptConfig$inboundSchema: z.ZodType<GetAllPromptSnippetsPromptSnippetsPromptConfig, z.ZodTypeDef, unknown>;
2297
- /** @internal */
2298
- export type GetAllPromptSnippetsPromptSnippetsPromptConfig$Outbound = {
2299
- stream?: boolean | undefined;
2300
- model?: string | undefined;
2301
- model_db_id?: string | undefined;
2302
- model_type?: string | undefined;
2303
- model_parameters?: GetAllPromptSnippetsPromptSnippetsModelParameters$Outbound | undefined;
2304
- provider?: string | undefined;
2305
- integration_id?: string | null | undefined;
2306
- version?: string | undefined;
2307
- messages: Array<GetAllPromptSnippetsPromptSnippetsMessages$Outbound>;
2308
- };
2309
- /** @internal */
2310
- export declare const GetAllPromptSnippetsPromptSnippetsPromptConfig$outboundSchema: z.ZodType<GetAllPromptSnippetsPromptSnippetsPromptConfig$Outbound, z.ZodTypeDef, GetAllPromptSnippetsPromptSnippetsPromptConfig>;
2311
- /**
2312
- * @internal
2313
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2314
- */
2315
- export declare namespace GetAllPromptSnippetsPromptSnippetsPromptConfig$ {
2316
- /** @deprecated use `GetAllPromptSnippetsPromptSnippetsPromptConfig$inboundSchema` instead. */
2317
- const inboundSchema: z.ZodType<GetAllPromptSnippetsPromptSnippetsPromptConfig, z.ZodTypeDef, unknown>;
2318
- /** @deprecated use `GetAllPromptSnippetsPromptSnippetsPromptConfig$outboundSchema` instead. */
2319
- const outboundSchema: z.ZodType<GetAllPromptSnippetsPromptSnippetsPromptConfig$Outbound, z.ZodTypeDef, GetAllPromptSnippetsPromptSnippetsPromptConfig>;
2320
- /** @deprecated use `GetAllPromptSnippetsPromptSnippetsPromptConfig$Outbound` instead. */
2321
- type Outbound = GetAllPromptSnippetsPromptSnippetsPromptConfig$Outbound;
2322
- }
2323
- export declare function getAllPromptSnippetsPromptSnippetsPromptConfigToJSON(getAllPromptSnippetsPromptSnippetsPromptConfig: GetAllPromptSnippetsPromptSnippetsPromptConfig): string;
2324
- export declare function getAllPromptSnippetsPromptSnippetsPromptConfigFromJSON(jsonString: string): SafeParseResult<GetAllPromptSnippetsPromptSnippetsPromptConfig, SDKValidationError>;
2325
- /** @internal */
2326
- export declare const GetAllPromptSnippetsPromptSnippetsUseCases$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsPromptSnippetsUseCases>;
2327
- /** @internal */
2328
- export declare const GetAllPromptSnippetsPromptSnippetsUseCases$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsPromptSnippetsUseCases>;
2329
- /**
2330
- * @internal
2331
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2332
- */
2333
- export declare namespace GetAllPromptSnippetsPromptSnippetsUseCases$ {
2334
- /** @deprecated use `GetAllPromptSnippetsPromptSnippetsUseCases$inboundSchema` instead. */
2335
- const inboundSchema: z.ZodNativeEnum<{
2336
- readonly Agents: "Agents";
2337
- readonly AgentsSimulations: "Agents simulations";
2338
- readonly APIInteraction: "API interaction";
2339
- readonly AutonomousAgents: "Autonomous Agents";
2340
- readonly Chatbots: "Chatbots";
2341
- readonly Classification: "Classification";
2342
- readonly CodeUnderstanding: "Code understanding";
2343
- readonly CodeWriting: "Code writing";
2344
- readonly DocumentsQA: "Documents QA";
2345
- readonly Conversation: "Conversation";
2346
- readonly Extraction: "Extraction";
2347
- readonly MultiModal: "Multi-modal";
2348
- readonly SelfChecking: "Self-checking";
2349
- readonly Sql: "SQL";
2350
- readonly Summarization: "Summarization";
2351
- readonly Tagging: "Tagging";
2352
- }>;
2353
- /** @deprecated use `GetAllPromptSnippetsPromptSnippetsUseCases$outboundSchema` instead. */
2354
- const outboundSchema: z.ZodNativeEnum<{
2355
- readonly Agents: "Agents";
2356
- readonly AgentsSimulations: "Agents simulations";
2357
- readonly APIInteraction: "API interaction";
2358
- readonly AutonomousAgents: "Autonomous Agents";
2359
- readonly Chatbots: "Chatbots";
2360
- readonly Classification: "Classification";
2361
- readonly CodeUnderstanding: "Code understanding";
2362
- readonly CodeWriting: "Code writing";
2363
- readonly DocumentsQA: "Documents QA";
2364
- readonly Conversation: "Conversation";
2365
- readonly Extraction: "Extraction";
2366
- readonly MultiModal: "Multi-modal";
2367
- readonly SelfChecking: "Self-checking";
2368
- readonly Sql: "SQL";
2369
- readonly Summarization: "Summarization";
2370
- readonly Tagging: "Tagging";
2371
- }>;
2372
- }
2373
- /** @internal */
2374
- export declare const GetAllPromptSnippetsPromptSnippetsLanguage$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsPromptSnippetsLanguage>;
2375
- /** @internal */
2376
- export declare const GetAllPromptSnippetsPromptSnippetsLanguage$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptSnippetsPromptSnippetsLanguage>;
2377
- /**
2378
- * @internal
2379
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2380
- */
2381
- export declare namespace GetAllPromptSnippetsPromptSnippetsLanguage$ {
2382
- /** @deprecated use `GetAllPromptSnippetsPromptSnippetsLanguage$inboundSchema` instead. */
2383
- const inboundSchema: z.ZodNativeEnum<{
2384
- readonly Chinese: "Chinese";
2385
- readonly Dutch: "Dutch";
2386
- readonly English: "English";
2387
- readonly French: "French";
2388
- readonly German: "German";
2389
- readonly Russian: "Russian";
2390
- readonly Spanish: "Spanish";
2391
- }>;
2392
- /** @deprecated use `GetAllPromptSnippetsPromptSnippetsLanguage$outboundSchema` instead. */
2393
- const outboundSchema: z.ZodNativeEnum<{
2394
- readonly Chinese: "Chinese";
2395
- readonly Dutch: "Dutch";
2396
- readonly English: "English";
2397
- readonly French: "French";
2398
- readonly German: "German";
2399
- readonly Russian: "Russian";
2400
- readonly Spanish: "Spanish";
2401
- }>;
2402
- }
2403
- /** @internal */
2404
- export declare const GetAllPromptSnippetsPromptSnippetsMetadata$inboundSchema: z.ZodType<GetAllPromptSnippetsPromptSnippetsMetadata, z.ZodTypeDef, unknown>;
2405
- /** @internal */
2406
- export type GetAllPromptSnippetsPromptSnippetsMetadata$Outbound = {
2407
- use_cases?: Array<string> | undefined;
2408
- language?: string | undefined;
2409
- };
2410
- /** @internal */
2411
- export declare const GetAllPromptSnippetsPromptSnippetsMetadata$outboundSchema: z.ZodType<GetAllPromptSnippetsPromptSnippetsMetadata$Outbound, z.ZodTypeDef, GetAllPromptSnippetsPromptSnippetsMetadata>;
2412
- /**
2413
- * @internal
2414
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2415
- */
2416
- export declare namespace GetAllPromptSnippetsPromptSnippetsMetadata$ {
2417
- /** @deprecated use `GetAllPromptSnippetsPromptSnippetsMetadata$inboundSchema` instead. */
2418
- const inboundSchema: z.ZodType<GetAllPromptSnippetsPromptSnippetsMetadata, z.ZodTypeDef, unknown>;
2419
- /** @deprecated use `GetAllPromptSnippetsPromptSnippetsMetadata$outboundSchema` instead. */
2420
- const outboundSchema: z.ZodType<GetAllPromptSnippetsPromptSnippetsMetadata$Outbound, z.ZodTypeDef, GetAllPromptSnippetsPromptSnippetsMetadata>;
2421
- /** @deprecated use `GetAllPromptSnippetsPromptSnippetsMetadata$Outbound` instead. */
2422
- type Outbound = GetAllPromptSnippetsPromptSnippetsMetadata$Outbound;
2423
- }
2424
- export declare function getAllPromptSnippetsPromptSnippetsMetadataToJSON(getAllPromptSnippetsPromptSnippetsMetadata: GetAllPromptSnippetsPromptSnippetsMetadata): string;
2425
- export declare function getAllPromptSnippetsPromptSnippetsMetadataFromJSON(jsonString: string): SafeParseResult<GetAllPromptSnippetsPromptSnippetsMetadata, SDKValidationError>;
2426
- /** @internal */
2427
- export declare const GetAllPromptSnippetsVersions$inboundSchema: z.ZodType<GetAllPromptSnippetsVersions, z.ZodTypeDef, unknown>;
2428
- /** @internal */
2429
- export type GetAllPromptSnippetsVersions$Outbound = {
2430
- _id: string;
2431
- description?: string | null | undefined;
2432
- prompt_config: GetAllPromptSnippetsPromptSnippetsPromptConfig$Outbound;
2433
- metadata: GetAllPromptSnippetsPromptSnippetsMetadata$Outbound;
2434
- created_by_id: string;
2435
- updated_by_id: string;
2436
- timestamp: string;
2437
- };
2438
- /** @internal */
2439
- export declare const GetAllPromptSnippetsVersions$outboundSchema: z.ZodType<GetAllPromptSnippetsVersions$Outbound, z.ZodTypeDef, GetAllPromptSnippetsVersions>;
2440
- /**
2441
- * @internal
2442
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2443
- */
2444
- export declare namespace GetAllPromptSnippetsVersions$ {
2445
- /** @deprecated use `GetAllPromptSnippetsVersions$inboundSchema` instead. */
2446
- const inboundSchema: z.ZodType<GetAllPromptSnippetsVersions, z.ZodTypeDef, unknown>;
2447
- /** @deprecated use `GetAllPromptSnippetsVersions$outboundSchema` instead. */
2448
- const outboundSchema: z.ZodType<GetAllPromptSnippetsVersions$Outbound, z.ZodTypeDef, GetAllPromptSnippetsVersions>;
2449
- /** @deprecated use `GetAllPromptSnippetsVersions$Outbound` instead. */
2450
- type Outbound = GetAllPromptSnippetsVersions$Outbound;
2451
- }
2452
- export declare function getAllPromptSnippetsVersionsToJSON(getAllPromptSnippetsVersions: GetAllPromptSnippetsVersions): string;
2453
- export declare function getAllPromptSnippetsVersionsFromJSON(jsonString: string): SafeParseResult<GetAllPromptSnippetsVersions, SDKValidationError>;
2454
- /** @internal */
2455
- export declare const GetAllPromptSnippetsData$inboundSchema: z.ZodType<GetAllPromptSnippetsData, z.ZodTypeDef, unknown>;
2456
- /** @internal */
2457
- export type GetAllPromptSnippetsData$Outbound = {
2458
- _id: string;
2459
- owner: string | string;
2460
- domain_id: string;
2461
- key: string;
2462
- description?: string | null | undefined;
2463
- prompt_config: GetAllPromptSnippetsPromptConfig$Outbound;
2464
- metadata: GetAllPromptSnippetsMetadata$Outbound;
2465
- created_by_id: string;
2466
- updated_by_id: string;
2467
- created?: string | undefined;
2468
- updated: string;
2469
- type: string;
2470
- versions: Array<GetAllPromptSnippetsVersions$Outbound>;
2471
- };
2472
- /** @internal */
2473
- export declare const GetAllPromptSnippetsData$outboundSchema: z.ZodType<GetAllPromptSnippetsData$Outbound, z.ZodTypeDef, GetAllPromptSnippetsData>;
2474
- /**
2475
- * @internal
2476
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2477
- */
2478
- export declare namespace GetAllPromptSnippetsData$ {
2479
- /** @deprecated use `GetAllPromptSnippetsData$inboundSchema` instead. */
2480
- const inboundSchema: z.ZodType<GetAllPromptSnippetsData, z.ZodTypeDef, unknown>;
2481
- /** @deprecated use `GetAllPromptSnippetsData$outboundSchema` instead. */
2482
- const outboundSchema: z.ZodType<GetAllPromptSnippetsData$Outbound, z.ZodTypeDef, GetAllPromptSnippetsData>;
2483
- /** @deprecated use `GetAllPromptSnippetsData$Outbound` instead. */
2484
- type Outbound = GetAllPromptSnippetsData$Outbound;
2485
- }
2486
- export declare function getAllPromptSnippetsDataToJSON(getAllPromptSnippetsData: GetAllPromptSnippetsData): string;
2487
- export declare function getAllPromptSnippetsDataFromJSON(jsonString: string): SafeParseResult<GetAllPromptSnippetsData, SDKValidationError>;
2488
- /** @internal */
2489
- export declare const GetAllPromptSnippetsResponseBody$inboundSchema: z.ZodType<GetAllPromptSnippetsResponseBody, z.ZodTypeDef, unknown>;
2490
- /** @internal */
2491
- export type GetAllPromptSnippetsResponseBody$Outbound = {
2492
- object: string;
2493
- data: Array<GetAllPromptSnippetsData$Outbound>;
2494
- has_more: boolean;
2495
- };
2496
- /** @internal */
2497
- export declare const GetAllPromptSnippetsResponseBody$outboundSchema: z.ZodType<GetAllPromptSnippetsResponseBody$Outbound, z.ZodTypeDef, GetAllPromptSnippetsResponseBody>;
2498
- /**
2499
- * @internal
2500
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2501
- */
2502
- export declare namespace GetAllPromptSnippetsResponseBody$ {
2503
- /** @deprecated use `GetAllPromptSnippetsResponseBody$inboundSchema` instead. */
2504
- const inboundSchema: z.ZodType<GetAllPromptSnippetsResponseBody, z.ZodTypeDef, unknown>;
2505
- /** @deprecated use `GetAllPromptSnippetsResponseBody$outboundSchema` instead. */
2506
- const outboundSchema: z.ZodType<GetAllPromptSnippetsResponseBody$Outbound, z.ZodTypeDef, GetAllPromptSnippetsResponseBody>;
2507
- /** @deprecated use `GetAllPromptSnippetsResponseBody$Outbound` instead. */
2508
- type Outbound = GetAllPromptSnippetsResponseBody$Outbound;
2509
- }
2510
- export declare function getAllPromptSnippetsResponseBodyToJSON(getAllPromptSnippetsResponseBody: GetAllPromptSnippetsResponseBody): string;
2511
- export declare function getAllPromptSnippetsResponseBodyFromJSON(jsonString: string): SafeParseResult<GetAllPromptSnippetsResponseBody, SDKValidationError>;
2512
- //# sourceMappingURL=getallpromptsnippets.d.ts.map