@orq-ai/node 3.1.0-rc.54 → 3.1.0-rc.55

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 (240) hide show
  1. package/README.md +7 -3
  2. package/docs/sdks/prompts/README.md +182 -25
  3. package/funcs/contactsCreate.d.ts.map +1 -1
  4. package/funcs/contactsCreate.js +0 -4
  5. package/funcs/contactsCreate.js.map +1 -1
  6. package/funcs/deploymentsGetConfig.d.ts.map +1 -1
  7. package/funcs/deploymentsGetConfig.js +0 -4
  8. package/funcs/deploymentsGetConfig.js.map +1 -1
  9. package/funcs/deploymentsList.d.ts.map +1 -1
  10. package/funcs/deploymentsList.js +0 -4
  11. package/funcs/deploymentsList.js.map +1 -1
  12. package/funcs/deploymentsMetricsCreate.d.ts.map +1 -1
  13. package/funcs/deploymentsMetricsCreate.js +0 -4
  14. package/funcs/deploymentsMetricsCreate.js.map +1 -1
  15. package/funcs/feedbackCreate.d.ts.map +1 -1
  16. package/funcs/feedbackCreate.js +0 -4
  17. package/funcs/feedbackCreate.js.map +1 -1
  18. package/funcs/filesDelete.d.ts.map +1 -1
  19. package/funcs/filesDelete.js +0 -4
  20. package/funcs/filesDelete.js.map +1 -1
  21. package/funcs/filesGet.d.ts.map +1 -1
  22. package/funcs/filesGet.js +0 -4
  23. package/funcs/filesGet.js.map +1 -1
  24. package/funcs/filesList.d.ts.map +1 -1
  25. package/funcs/filesList.js +0 -4
  26. package/funcs/filesList.js.map +1 -1
  27. package/funcs/filesUpload.d.ts.map +1 -1
  28. package/funcs/filesUpload.js +0 -4
  29. package/funcs/filesUpload.js.map +1 -1
  30. package/funcs/promptSnippetsCreate.d.ts.map +1 -1
  31. package/funcs/promptSnippetsCreate.js +0 -4
  32. package/funcs/promptSnippetsCreate.js.map +1 -1
  33. package/funcs/promptSnippetsDelete.d.ts.map +1 -1
  34. package/funcs/promptSnippetsDelete.js +0 -4
  35. package/funcs/promptSnippetsDelete.js.map +1 -1
  36. package/funcs/promptSnippetsGet.d.ts.map +1 -1
  37. package/funcs/promptSnippetsGet.js +0 -4
  38. package/funcs/promptSnippetsGet.js.map +1 -1
  39. package/funcs/promptSnippetsGetByKey.d.ts.map +1 -1
  40. package/funcs/promptSnippetsGetByKey.js +0 -4
  41. package/funcs/promptSnippetsGetByKey.js.map +1 -1
  42. package/funcs/promptSnippetsList.d.ts.map +1 -1
  43. package/funcs/promptSnippetsList.js +0 -4
  44. package/funcs/promptSnippetsList.js.map +1 -1
  45. package/funcs/promptSnippetsUpdate.d.ts.map +1 -1
  46. package/funcs/promptSnippetsUpdate.js +0 -4
  47. package/funcs/promptSnippetsUpdate.js.map +1 -1
  48. package/funcs/promptsCreate.d.ts.map +1 -1
  49. package/funcs/promptsCreate.js +0 -4
  50. package/funcs/promptsCreate.js.map +1 -1
  51. package/funcs/promptsDelete.d.ts.map +1 -1
  52. package/funcs/promptsDelete.js +0 -4
  53. package/funcs/promptsDelete.js.map +1 -1
  54. package/funcs/promptsGetVersion.d.ts +16 -0
  55. package/funcs/promptsGetVersion.d.ts.map +1 -0
  56. package/funcs/promptsGetVersion.js +120 -0
  57. package/funcs/promptsGetVersion.js.map +1 -0
  58. package/funcs/promptsList.d.ts +3 -0
  59. package/funcs/promptsList.d.ts.map +1 -1
  60. package/funcs/promptsList.js +3 -4
  61. package/funcs/promptsList.js.map +1 -1
  62. package/funcs/promptsListVersions.d.ts +15 -0
  63. package/funcs/promptsListVersions.d.ts.map +1 -0
  64. package/funcs/promptsListVersions.js +118 -0
  65. package/funcs/promptsListVersions.js.map +1 -0
  66. package/funcs/{promptsGet.d.ts → promptsRetrieve.d.ts} +5 -2
  67. package/funcs/promptsRetrieve.d.ts.map +1 -0
  68. package/funcs/{promptsGet.js → promptsRetrieve.js} +6 -7
  69. package/funcs/promptsRetrieve.js.map +1 -0
  70. package/funcs/promptsUpdate.d.ts.map +1 -1
  71. package/funcs/promptsUpdate.js +0 -4
  72. package/funcs/promptsUpdate.js.map +1 -1
  73. package/funcs/remoteconfigGetConfig.d.ts.map +1 -1
  74. package/funcs/remoteconfigGetConfig.js +0 -4
  75. package/funcs/remoteconfigGetConfig.js.map +1 -1
  76. package/jsr.json +1 -1
  77. package/lib/config.d.ts +2 -2
  78. package/lib/config.js +2 -2
  79. package/models/errors/getpromptversion.d.ts +36 -0
  80. package/models/errors/getpromptversion.d.ts.map +1 -0
  81. package/models/errors/getpromptversion.js +79 -0
  82. package/models/errors/getpromptversion.js.map +1 -0
  83. package/models/errors/index.d.ts +1 -0
  84. package/models/errors/index.d.ts.map +1 -1
  85. package/models/errors/index.js +1 -0
  86. package/models/errors/index.js.map +1 -1
  87. package/models/operations/createcontact.d.ts +0 -25
  88. package/models/operations/createcontact.d.ts.map +1 -1
  89. package/models/operations/createcontact.js +3 -30
  90. package/models/operations/createcontact.js.map +1 -1
  91. package/models/operations/createfeedback.d.ts +0 -25
  92. package/models/operations/createfeedback.d.ts.map +1 -1
  93. package/models/operations/createfeedback.js +1 -28
  94. package/models/operations/createfeedback.js.map +1 -1
  95. package/models/operations/createprompt.d.ts +690 -1932
  96. package/models/operations/createprompt.d.ts.map +1 -1
  97. package/models/operations/createprompt.js +49 -1105
  98. package/models/operations/createprompt.js.map +1 -1
  99. package/models/operations/createpromptsnippet.d.ts +0 -25
  100. package/models/operations/createpromptsnippet.d.ts.map +1 -1
  101. package/models/operations/createpromptsnippet.js +9 -36
  102. package/models/operations/createpromptsnippet.js.map +1 -1
  103. package/models/operations/deleteprompt.d.ts +0 -25
  104. package/models/operations/deleteprompt.d.ts.map +1 -1
  105. package/models/operations/deleteprompt.js +1 -28
  106. package/models/operations/deleteprompt.js.map +1 -1
  107. package/models/operations/deletepromptsnippet.d.ts +0 -25
  108. package/models/operations/deletepromptsnippet.d.ts.map +1 -1
  109. package/models/operations/deletepromptsnippet.js +1 -28
  110. package/models/operations/deletepromptsnippet.js.map +1 -1
  111. package/models/operations/deploymentcreatemetric.d.ts +0 -25
  112. package/models/operations/deploymentcreatemetric.d.ts.map +1 -1
  113. package/models/operations/deploymentcreatemetric.js +2 -29
  114. package/models/operations/deploymentcreatemetric.js.map +1 -1
  115. package/models/operations/deploymentgetconfig.d.ts +0 -25
  116. package/models/operations/deploymentgetconfig.d.ts.map +1 -1
  117. package/models/operations/deploymentgetconfig.js +4 -31
  118. package/models/operations/deploymentgetconfig.js.map +1 -1
  119. package/models/operations/deployments.d.ts +0 -25
  120. package/models/operations/deployments.d.ts.map +1 -1
  121. package/models/operations/deployments.js +3 -30
  122. package/models/operations/deployments.js.map +1 -1
  123. package/models/operations/filedelete.d.ts +0 -25
  124. package/models/operations/filedelete.d.ts.map +1 -1
  125. package/models/operations/filedelete.js +1 -28
  126. package/models/operations/filedelete.js.map +1 -1
  127. package/models/operations/fileget.d.ts +0 -25
  128. package/models/operations/fileget.d.ts.map +1 -1
  129. package/models/operations/fileget.js +3 -30
  130. package/models/operations/fileget.js.map +1 -1
  131. package/models/operations/filelist.d.ts +0 -25
  132. package/models/operations/filelist.d.ts.map +1 -1
  133. package/models/operations/filelist.js +3 -30
  134. package/models/operations/filelist.js.map +1 -1
  135. package/models/operations/fileupload.d.ts +0 -25
  136. package/models/operations/fileupload.d.ts.map +1 -1
  137. package/models/operations/fileupload.js +3 -30
  138. package/models/operations/fileupload.js.map +1 -1
  139. package/models/operations/findonebykeypromptsnippet.d.ts +0 -25
  140. package/models/operations/findonebykeypromptsnippet.d.ts.map +1 -1
  141. package/models/operations/findonebykeypromptsnippet.js +7 -34
  142. package/models/operations/findonebykeypromptsnippet.js.map +1 -1
  143. package/models/operations/findonepromptsnippet.d.ts +0 -25
  144. package/models/operations/findonepromptsnippet.d.ts.map +1 -1
  145. package/models/operations/findonepromptsnippet.js +7 -34
  146. package/models/operations/findonepromptsnippet.js.map +1 -1
  147. package/models/operations/getallprompts.d.ts +426 -1671
  148. package/models/operations/getallprompts.d.ts.map +1 -1
  149. package/models/operations/getallprompts.js +47 -1099
  150. package/models/operations/getallprompts.js.map +1 -1
  151. package/models/operations/getallpromptsnippets.d.ts +0 -25
  152. package/models/operations/getallpromptsnippets.d.ts.map +1 -1
  153. package/models/operations/getallpromptsnippets.js +7 -34
  154. package/models/operations/getallpromptsnippets.js.map +1 -1
  155. package/models/operations/getoneprompt.d.ts +0 -25
  156. package/models/operations/getoneprompt.d.ts.map +1 -1
  157. package/models/operations/getoneprompt.js +1 -28
  158. package/models/operations/getoneprompt.js.map +1 -1
  159. package/models/operations/getpromptversion.d.ts +1228 -0
  160. package/models/operations/getpromptversion.d.ts.map +1 -0
  161. package/models/operations/getpromptversion.js +1080 -0
  162. package/models/operations/getpromptversion.js.map +1 -0
  163. package/models/operations/index.d.ts +2 -0
  164. package/models/operations/index.d.ts.map +1 -1
  165. package/models/operations/index.js +2 -0
  166. package/models/operations/index.js.map +1 -1
  167. package/models/operations/listpromptversions.d.ts +1286 -0
  168. package/models/operations/listpromptversions.d.ts.map +1 -0
  169. package/models/operations/listpromptversions.js +1142 -0
  170. package/models/operations/listpromptversions.js.map +1 -0
  171. package/models/operations/remoteconfigsgetconfig.d.ts +0 -25
  172. package/models/operations/remoteconfigsgetconfig.d.ts.map +1 -1
  173. package/models/operations/remoteconfigsgetconfig.js +1 -28
  174. package/models/operations/remoteconfigsgetconfig.js.map +1 -1
  175. package/models/operations/updateprompt.d.ts +728 -1958
  176. package/models/operations/updateprompt.d.ts.map +1 -1
  177. package/models/operations/updateprompt.js +67 -1105
  178. package/models/operations/updateprompt.js.map +1 -1
  179. package/models/operations/updatepromptsnippet.d.ts +0 -25
  180. package/models/operations/updatepromptsnippet.d.ts.map +1 -1
  181. package/models/operations/updatepromptsnippet.js +9 -36
  182. package/models/operations/updatepromptsnippet.js.map +1 -1
  183. package/package.json +1 -1
  184. package/sdk/prompts.d.ts +24 -4
  185. package/sdk/prompts.d.ts.map +1 -1
  186. package/sdk/prompts.js +33 -7
  187. package/sdk/prompts.js.map +1 -1
  188. package/src/funcs/contactsCreate.ts +1 -5
  189. package/src/funcs/deploymentsGetConfig.ts +1 -5
  190. package/src/funcs/deploymentsList.ts +1 -5
  191. package/src/funcs/deploymentsMetricsCreate.ts +0 -4
  192. package/src/funcs/feedbackCreate.ts +1 -5
  193. package/src/funcs/filesDelete.ts +0 -4
  194. package/src/funcs/filesGet.ts +0 -4
  195. package/src/funcs/filesList.ts +1 -5
  196. package/src/funcs/filesUpload.ts +1 -5
  197. package/src/funcs/promptSnippetsCreate.ts +1 -5
  198. package/src/funcs/promptSnippetsDelete.ts +0 -4
  199. package/src/funcs/promptSnippetsGet.ts +0 -4
  200. package/src/funcs/promptSnippetsGetByKey.ts +0 -4
  201. package/src/funcs/promptSnippetsList.ts +1 -5
  202. package/src/funcs/promptSnippetsUpdate.ts +0 -4
  203. package/src/funcs/promptsCreate.ts +1 -5
  204. package/src/funcs/promptsDelete.ts +0 -4
  205. package/src/funcs/promptsGetVersion.ts +146 -0
  206. package/src/funcs/promptsList.ts +4 -5
  207. package/src/funcs/promptsListVersions.ts +139 -0
  208. package/src/funcs/{promptsGet.ts → promptsRetrieve.ts} +4 -5
  209. package/src/funcs/promptsUpdate.ts +0 -4
  210. package/src/funcs/remoteconfigGetConfig.ts +1 -5
  211. package/src/lib/config.ts +2 -2
  212. package/src/models/errors/getpromptversion.ts +71 -0
  213. package/src/models/errors/index.ts +1 -0
  214. package/src/models/operations/createcontact.ts +2 -60
  215. package/src/models/operations/createfeedback.ts +0 -58
  216. package/src/models/operations/createprompt.ts +1375 -3592
  217. package/src/models/operations/createpromptsnippet.ts +2 -60
  218. package/src/models/operations/deleteprompt.ts +0 -58
  219. package/src/models/operations/deletepromptsnippet.ts +0 -58
  220. package/src/models/operations/deploymentcreatemetric.ts +0 -60
  221. package/src/models/operations/deploymentgetconfig.ts +0 -58
  222. package/src/models/operations/deployments.ts +0 -58
  223. package/src/models/operations/filedelete.ts +0 -58
  224. package/src/models/operations/fileget.ts +2 -56
  225. package/src/models/operations/filelist.ts +2 -58
  226. package/src/models/operations/fileupload.ts +2 -60
  227. package/src/models/operations/findonebykeypromptsnippet.ts +2 -62
  228. package/src/models/operations/findonepromptsnippet.ts +2 -62
  229. package/src/models/operations/getallprompts.ts +732 -2826
  230. package/src/models/operations/getallpromptsnippets.ts +2 -62
  231. package/src/models/operations/getoneprompt.ts +0 -58
  232. package/src/models/operations/getpromptversion.ts +2012 -0
  233. package/src/models/operations/index.ts +2 -0
  234. package/src/models/operations/listpromptversions.ts +2146 -0
  235. package/src/models/operations/remoteconfigsgetconfig.ts +0 -60
  236. package/src/models/operations/updateprompt.ts +1544 -3731
  237. package/src/models/operations/updatepromptsnippet.ts +2 -60
  238. package/src/sdk/prompts.ts +53 -11
  239. package/funcs/promptsGet.d.ts.map +0 -1
  240. package/funcs/promptsGet.js.map +0 -1
@@ -36,17 +36,11 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.GetAllPromptsModelType$outboundSchema = exports.GetAllPromptsModelType$inboundSchema = exports.GetAllPromptsOwner$ = exports.GetAllPromptsOwner$outboundSchema = exports.GetAllPromptsOwner$inboundSchema = exports.GetAllPromptsOwner2$ = exports.GetAllPromptsOwner2$outboundSchema = exports.GetAllPromptsOwner2$inboundSchema = exports.GetAllPromptsObject$ = exports.GetAllPromptsObject$outboundSchema = exports.GetAllPromptsObject$inboundSchema = exports.GetAllPromptsRequest$ = exports.GetAllPromptsRequest$outboundSchema = exports.GetAllPromptsRequest$inboundSchema = exports.GetAllPromptsGlobals$ = exports.GetAllPromptsGlobals$outboundSchema = exports.GetAllPromptsGlobals$inboundSchema = exports.GetAllPromptsPromptsLanguage = exports.GetAllPromptsPromptsUseCases = exports.GetAllPromptsPromptsResponseType = exports.GetAllPrompts2PromptsResponseType = exports.GetAllPrompts2PromptsResponse200Type = exports.GetAllPromptsPromptsRole = exports.GetAllPromptsPromptsProvider = exports.GetAllPromptsPromptsReasoningEffort = exports.GetAllPromptsPromptsEncodingFormat = exports.GetAllPromptsPromptsPhotoRealVersion = exports.GetAllPromptsResponseFormatPromptsResponseType = exports.GetAllPromptsResponseFormatPromptsResponse200Type = exports.GetAllPromptsPromptsQuality = exports.GetAllPromptsPromptsFormat = exports.GetAllPromptsPromptsModelType = exports.GetAllPromptsType = exports.GetAllPromptsLanguage = exports.GetAllPromptsUseCases = exports.GetAllPromptsPromptsType = exports.GetAllPrompts2Type = exports.GetAllPrompts2PromptsType = exports.GetAllPromptsRole = exports.GetAllPromptsProvider = exports.GetAllPromptsReasoningEffort = exports.GetAllPromptsEncodingFormat = exports.GetAllPromptsPhotoRealVersion = exports.GetAllPromptsResponseFormatType = exports.GetAllPromptsResponseFormatPromptsType = exports.GetAllPromptsQuality = exports.GetAllPromptsFormat = exports.GetAllPromptsModelType = exports.GetAllPromptsOwner2 = exports.GetAllPromptsObject = void 0;
40
- exports.GetAllPrompts22$inboundSchema = exports.GetAllPrompts2ImageUrl$ = exports.GetAllPrompts2ImageUrl$outboundSchema = exports.GetAllPrompts2ImageUrl$inboundSchema = exports.GetAllPrompts2PromptsType$ = exports.GetAllPrompts2PromptsType$outboundSchema = exports.GetAllPrompts2PromptsType$inboundSchema = exports.GetAllPromptsRole$ = exports.GetAllPromptsRole$outboundSchema = exports.GetAllPromptsRole$inboundSchema = exports.GetAllPromptsProvider$ = exports.GetAllPromptsProvider$outboundSchema = exports.GetAllPromptsProvider$inboundSchema = exports.GetAllPromptsModelParameters$ = exports.GetAllPromptsModelParameters$outboundSchema = exports.GetAllPromptsModelParameters$inboundSchema = exports.GetAllPromptsReasoningEffort$ = exports.GetAllPromptsReasoningEffort$outboundSchema = exports.GetAllPromptsReasoningEffort$inboundSchema = exports.GetAllPromptsEncodingFormat$ = exports.GetAllPromptsEncodingFormat$outboundSchema = exports.GetAllPromptsEncodingFormat$inboundSchema = exports.GetAllPromptsPhotoRealVersion$ = exports.GetAllPromptsPhotoRealVersion$outboundSchema = exports.GetAllPromptsPhotoRealVersion$inboundSchema = exports.GetAllPromptsResponseFormat$ = exports.GetAllPromptsResponseFormat$outboundSchema = exports.GetAllPromptsResponseFormat$inboundSchema = exports.GetAllPromptsResponseFormat1$ = exports.GetAllPromptsResponseFormat1$outboundSchema = exports.GetAllPromptsResponseFormat1$inboundSchema = exports.GetAllPromptsResponseFormatJsonSchema$ = exports.GetAllPromptsResponseFormatJsonSchema$outboundSchema = exports.GetAllPromptsResponseFormatJsonSchema$inboundSchema = exports.GetAllPromptsResponseFormatType$ = exports.GetAllPromptsResponseFormatType$outboundSchema = exports.GetAllPromptsResponseFormatType$inboundSchema = exports.GetAllPromptsResponseFormat2$ = exports.GetAllPromptsResponseFormat2$outboundSchema = exports.GetAllPromptsResponseFormat2$inboundSchema = exports.GetAllPromptsResponseFormatPromptsType$ = exports.GetAllPromptsResponseFormatPromptsType$outboundSchema = exports.GetAllPromptsResponseFormatPromptsType$inboundSchema = exports.GetAllPromptsQuality$ = exports.GetAllPromptsQuality$outboundSchema = exports.GetAllPromptsQuality$inboundSchema = exports.GetAllPromptsFormat$ = exports.GetAllPromptsFormat$outboundSchema = exports.GetAllPromptsFormat$inboundSchema = exports.GetAllPromptsModelType$ = void 0;
41
- exports.GetAllPromptsPromptsQuality$ = exports.GetAllPromptsPromptsQuality$outboundSchema = exports.GetAllPromptsPromptsQuality$inboundSchema = exports.GetAllPromptsPromptsFormat$ = exports.GetAllPromptsPromptsFormat$outboundSchema = exports.GetAllPromptsPromptsFormat$inboundSchema = exports.GetAllPromptsPromptsModelType$ = exports.GetAllPromptsPromptsModelType$outboundSchema = exports.GetAllPromptsPromptsModelType$inboundSchema = exports.GetAllPromptsType$ = exports.GetAllPromptsType$outboundSchema = exports.GetAllPromptsType$inboundSchema = exports.GetAllPromptsMetadata$ = exports.GetAllPromptsMetadata$outboundSchema = exports.GetAllPromptsMetadata$inboundSchema = exports.GetAllPromptsLanguage$ = exports.GetAllPromptsLanguage$outboundSchema = exports.GetAllPromptsLanguage$inboundSchema = exports.GetAllPromptsUseCases$ = exports.GetAllPromptsUseCases$outboundSchema = exports.GetAllPromptsUseCases$inboundSchema = exports.GetAllPromptsPromptConfig$ = exports.GetAllPromptsPromptConfig$outboundSchema = exports.GetAllPromptsPromptConfig$inboundSchema = exports.GetAllPromptsMessages$ = exports.GetAllPromptsMessages$outboundSchema = exports.GetAllPromptsMessages$inboundSchema = exports.GetAllPromptsToolCalls$ = exports.GetAllPromptsToolCalls$outboundSchema = exports.GetAllPromptsToolCalls$inboundSchema = exports.GetAllPromptsFunction$ = exports.GetAllPromptsFunction$outboundSchema = exports.GetAllPromptsFunction$inboundSchema = exports.GetAllPromptsPromptsType$ = exports.GetAllPromptsPromptsType$outboundSchema = exports.GetAllPromptsPromptsType$inboundSchema = exports.GetAllPromptsContent$ = exports.GetAllPromptsContent$outboundSchema = exports.GetAllPromptsContent$inboundSchema = exports.GetAllPromptsContent2$ = exports.GetAllPromptsContent2$outboundSchema = exports.GetAllPromptsContent2$inboundSchema = exports.GetAllPrompts21$ = exports.GetAllPrompts21$outboundSchema = exports.GetAllPrompts21$inboundSchema = exports.GetAllPrompts2Type$ = exports.GetAllPrompts2Type$outboundSchema = exports.GetAllPrompts2Type$inboundSchema = exports.GetAllPrompts22$ = exports.GetAllPrompts22$outboundSchema = void 0;
42
- exports.GetAllPrompts2Prompts1$outboundSchema = exports.GetAllPrompts2Prompts1$inboundSchema = exports.GetAllPrompts2PromptsResponseType$ = exports.GetAllPrompts2PromptsResponseType$outboundSchema = exports.GetAllPrompts2PromptsResponseType$inboundSchema = exports.GetAllPrompts2Prompts2$ = exports.GetAllPrompts2Prompts2$outboundSchema = exports.GetAllPrompts2Prompts2$inboundSchema = exports.GetAllPrompts2PromptsImageUrl$ = exports.GetAllPrompts2PromptsImageUrl$outboundSchema = exports.GetAllPrompts2PromptsImageUrl$inboundSchema = exports.GetAllPrompts2PromptsResponse200Type$ = exports.GetAllPrompts2PromptsResponse200Type$outboundSchema = exports.GetAllPrompts2PromptsResponse200Type$inboundSchema = exports.GetAllPromptsPromptsRole$ = exports.GetAllPromptsPromptsRole$outboundSchema = exports.GetAllPromptsPromptsRole$inboundSchema = exports.GetAllPromptsPromptsProvider$ = exports.GetAllPromptsPromptsProvider$outboundSchema = exports.GetAllPromptsPromptsProvider$inboundSchema = exports.GetAllPromptsPromptsModelParameters$ = exports.GetAllPromptsPromptsModelParameters$outboundSchema = exports.GetAllPromptsPromptsModelParameters$inboundSchema = exports.GetAllPromptsPromptsReasoningEffort$ = exports.GetAllPromptsPromptsReasoningEffort$outboundSchema = exports.GetAllPromptsPromptsReasoningEffort$inboundSchema = exports.GetAllPromptsPromptsEncodingFormat$ = exports.GetAllPromptsPromptsEncodingFormat$outboundSchema = exports.GetAllPromptsPromptsEncodingFormat$inboundSchema = exports.GetAllPromptsPromptsPhotoRealVersion$ = exports.GetAllPromptsPromptsPhotoRealVersion$outboundSchema = exports.GetAllPromptsPromptsPhotoRealVersion$inboundSchema = exports.GetAllPromptsPromptsResponseFormat$ = exports.GetAllPromptsPromptsResponseFormat$outboundSchema = exports.GetAllPromptsPromptsResponseFormat$inboundSchema = exports.GetAllPromptsResponseFormatPrompts1$ = exports.GetAllPromptsResponseFormatPrompts1$outboundSchema = exports.GetAllPromptsResponseFormatPrompts1$inboundSchema = exports.GetAllPromptsResponseFormatPromptsJsonSchema$ = exports.GetAllPromptsResponseFormatPromptsJsonSchema$outboundSchema = exports.GetAllPromptsResponseFormatPromptsJsonSchema$inboundSchema = exports.GetAllPromptsResponseFormatPromptsResponseType$ = exports.GetAllPromptsResponseFormatPromptsResponseType$outboundSchema = exports.GetAllPromptsResponseFormatPromptsResponseType$inboundSchema = exports.GetAllPromptsResponseFormatPrompts2$ = exports.GetAllPromptsResponseFormatPrompts2$outboundSchema = exports.GetAllPromptsResponseFormatPrompts2$inboundSchema = exports.GetAllPromptsResponseFormatPromptsResponse200Type$ = exports.GetAllPromptsResponseFormatPromptsResponse200Type$outboundSchema = exports.GetAllPromptsResponseFormatPromptsResponse200Type$inboundSchema = void 0;
43
- exports.GetAllPromptsResponseBody$ = exports.GetAllPromptsResponseBody$outboundSchema = exports.GetAllPromptsResponseBody$inboundSchema = exports.GetAllPromptsData$ = exports.GetAllPromptsData$outboundSchema = exports.GetAllPromptsData$inboundSchema = exports.GetAllPromptsVersions$ = exports.GetAllPromptsVersions$outboundSchema = exports.GetAllPromptsVersions$inboundSchema = exports.GetAllPromptsPromptsMetadata$ = exports.GetAllPromptsPromptsMetadata$outboundSchema = exports.GetAllPromptsPromptsMetadata$inboundSchema = exports.GetAllPromptsPromptsLanguage$ = exports.GetAllPromptsPromptsLanguage$outboundSchema = exports.GetAllPromptsPromptsLanguage$inboundSchema = exports.GetAllPromptsPromptsUseCases$ = exports.GetAllPromptsPromptsUseCases$outboundSchema = exports.GetAllPromptsPromptsUseCases$inboundSchema = exports.GetAllPromptsPromptsPromptConfig$ = exports.GetAllPromptsPromptsPromptConfig$outboundSchema = exports.GetAllPromptsPromptsPromptConfig$inboundSchema = exports.GetAllPromptsPromptsMessages$ = exports.GetAllPromptsPromptsMessages$outboundSchema = exports.GetAllPromptsPromptsMessages$inboundSchema = exports.GetAllPromptsPromptsToolCalls$ = exports.GetAllPromptsPromptsToolCalls$outboundSchema = exports.GetAllPromptsPromptsToolCalls$inboundSchema = exports.GetAllPromptsPromptsFunction$ = exports.GetAllPromptsPromptsFunction$outboundSchema = exports.GetAllPromptsPromptsFunction$inboundSchema = exports.GetAllPromptsPromptsResponseType$ = exports.GetAllPromptsPromptsResponseType$outboundSchema = exports.GetAllPromptsPromptsResponseType$inboundSchema = exports.GetAllPromptsPromptsContent$ = exports.GetAllPromptsPromptsContent$outboundSchema = exports.GetAllPromptsPromptsContent$inboundSchema = exports.GetAllPromptsContentPrompts2$ = exports.GetAllPromptsContentPrompts2$outboundSchema = exports.GetAllPromptsContentPrompts2$inboundSchema = exports.GetAllPrompts2Prompts1$ = void 0;
44
- exports.getAllPromptsGlobalsToJSON = getAllPromptsGlobalsToJSON;
45
- exports.getAllPromptsGlobalsFromJSON = getAllPromptsGlobalsFromJSON;
39
+ exports.GetAllPromptsResponseFormat1$ = exports.GetAllPromptsResponseFormat1$outboundSchema = exports.GetAllPromptsResponseFormat1$inboundSchema = exports.GetAllPromptsResponseFormatJsonSchema$ = exports.GetAllPromptsResponseFormatJsonSchema$outboundSchema = exports.GetAllPromptsResponseFormatJsonSchema$inboundSchema = exports.GetAllPromptsResponseFormatType$ = exports.GetAllPromptsResponseFormatType$outboundSchema = exports.GetAllPromptsResponseFormatType$inboundSchema = exports.GetAllPromptsResponseFormat2$ = exports.GetAllPromptsResponseFormat2$outboundSchema = exports.GetAllPromptsResponseFormat2$inboundSchema = exports.GetAllPromptsResponseFormatPromptsType$ = exports.GetAllPromptsResponseFormatPromptsType$outboundSchema = exports.GetAllPromptsResponseFormatPromptsType$inboundSchema = exports.GetAllPromptsQuality$ = exports.GetAllPromptsQuality$outboundSchema = exports.GetAllPromptsQuality$inboundSchema = exports.GetAllPromptsFormat$ = exports.GetAllPromptsFormat$outboundSchema = exports.GetAllPromptsFormat$inboundSchema = exports.GetAllPromptsModelType$ = exports.GetAllPromptsModelType$outboundSchema = exports.GetAllPromptsModelType$inboundSchema = exports.GetAllPromptsType$ = exports.GetAllPromptsType$outboundSchema = exports.GetAllPromptsType$inboundSchema = exports.GetAllPromptsObject$ = exports.GetAllPromptsObject$outboundSchema = exports.GetAllPromptsObject$inboundSchema = exports.GetAllPromptsRequest$ = exports.GetAllPromptsRequest$outboundSchema = exports.GetAllPromptsRequest$inboundSchema = exports.GetAllPromptsLanguage = exports.GetAllPromptsUseCases = exports.GetAllPromptsPromptsType = exports.GetAllPrompts2Type = exports.GetAllPrompts2PromptsType = exports.GetAllPromptsRole = exports.GetAllPromptsProvider = exports.GetAllPromptsReasoningEffort = exports.GetAllPromptsEncodingFormat = exports.GetAllPromptsPhotoRealVersion = exports.GetAllPromptsResponseFormatType = exports.GetAllPromptsResponseFormatPromptsType = exports.GetAllPromptsQuality = exports.GetAllPromptsFormat = exports.GetAllPromptsModelType = exports.GetAllPromptsType = exports.GetAllPromptsObject = void 0;
40
+ exports.GetAllPromptsToolCalls$outboundSchema = exports.GetAllPromptsToolCalls$inboundSchema = exports.GetAllPromptsFunction$ = exports.GetAllPromptsFunction$outboundSchema = exports.GetAllPromptsFunction$inboundSchema = exports.GetAllPromptsPromptsType$ = exports.GetAllPromptsPromptsType$outboundSchema = exports.GetAllPromptsPromptsType$inboundSchema = exports.GetAllPromptsContent$ = exports.GetAllPromptsContent$outboundSchema = exports.GetAllPromptsContent$inboundSchema = exports.GetAllPromptsContent2$ = exports.GetAllPromptsContent2$outboundSchema = exports.GetAllPromptsContent2$inboundSchema = exports.GetAllPrompts21$ = exports.GetAllPrompts21$outboundSchema = exports.GetAllPrompts21$inboundSchema = exports.GetAllPrompts2Type$ = exports.GetAllPrompts2Type$outboundSchema = exports.GetAllPrompts2Type$inboundSchema = exports.GetAllPrompts22$ = exports.GetAllPrompts22$outboundSchema = exports.GetAllPrompts22$inboundSchema = exports.GetAllPrompts2ImageUrl$ = exports.GetAllPrompts2ImageUrl$outboundSchema = exports.GetAllPrompts2ImageUrl$inboundSchema = exports.GetAllPrompts2PromptsType$ = exports.GetAllPrompts2PromptsType$outboundSchema = exports.GetAllPrompts2PromptsType$inboundSchema = exports.GetAllPromptsRole$ = exports.GetAllPromptsRole$outboundSchema = exports.GetAllPromptsRole$inboundSchema = exports.GetAllPromptsProvider$ = exports.GetAllPromptsProvider$outboundSchema = exports.GetAllPromptsProvider$inboundSchema = exports.GetAllPromptsModelParameters$ = exports.GetAllPromptsModelParameters$outboundSchema = exports.GetAllPromptsModelParameters$inboundSchema = exports.GetAllPromptsReasoningEffort$ = exports.GetAllPromptsReasoningEffort$outboundSchema = exports.GetAllPromptsReasoningEffort$inboundSchema = exports.GetAllPromptsEncodingFormat$ = exports.GetAllPromptsEncodingFormat$outboundSchema = exports.GetAllPromptsEncodingFormat$inboundSchema = exports.GetAllPromptsPhotoRealVersion$ = exports.GetAllPromptsPhotoRealVersion$outboundSchema = exports.GetAllPromptsPhotoRealVersion$inboundSchema = exports.GetAllPromptsResponseFormat$ = exports.GetAllPromptsResponseFormat$outboundSchema = exports.GetAllPromptsResponseFormat$inboundSchema = void 0;
41
+ exports.GetAllPromptsResponseBody$ = exports.GetAllPromptsResponseBody$outboundSchema = exports.GetAllPromptsResponseBody$inboundSchema = exports.GetAllPromptsData$ = exports.GetAllPromptsData$outboundSchema = exports.GetAllPromptsData$inboundSchema = exports.GetAllPromptsMetadata$ = exports.GetAllPromptsMetadata$outboundSchema = exports.GetAllPromptsMetadata$inboundSchema = exports.GetAllPromptsLanguage$ = exports.GetAllPromptsLanguage$outboundSchema = exports.GetAllPromptsLanguage$inboundSchema = exports.GetAllPromptsUseCases$ = exports.GetAllPromptsUseCases$outboundSchema = exports.GetAllPromptsUseCases$inboundSchema = exports.GetAllPromptsPromptConfig$ = exports.GetAllPromptsPromptConfig$outboundSchema = exports.GetAllPromptsPromptConfig$inboundSchema = exports.GetAllPromptsMessages$ = exports.GetAllPromptsMessages$outboundSchema = exports.GetAllPromptsMessages$inboundSchema = exports.GetAllPromptsToolCalls$ = void 0;
46
42
  exports.getAllPromptsRequestToJSON = getAllPromptsRequestToJSON;
47
43
  exports.getAllPromptsRequestFromJSON = getAllPromptsRequestFromJSON;
48
- exports.getAllPromptsOwnerToJSON = getAllPromptsOwnerToJSON;
49
- exports.getAllPromptsOwnerFromJSON = getAllPromptsOwnerFromJSON;
50
44
  exports.getAllPromptsResponseFormat2ToJSON = getAllPromptsResponseFormat2ToJSON;
51
45
  exports.getAllPromptsResponseFormat2FromJSON = getAllPromptsResponseFormat2FromJSON;
52
46
  exports.getAllPromptsResponseFormatJsonSchemaToJSON = getAllPromptsResponseFormatJsonSchemaToJSON;
@@ -77,38 +71,6 @@ exports.getAllPromptsPromptConfigToJSON = getAllPromptsPromptConfigToJSON;
77
71
  exports.getAllPromptsPromptConfigFromJSON = getAllPromptsPromptConfigFromJSON;
78
72
  exports.getAllPromptsMetadataToJSON = getAllPromptsMetadataToJSON;
79
73
  exports.getAllPromptsMetadataFromJSON = getAllPromptsMetadataFromJSON;
80
- exports.getAllPromptsResponseFormatPrompts2ToJSON = getAllPromptsResponseFormatPrompts2ToJSON;
81
- exports.getAllPromptsResponseFormatPrompts2FromJSON = getAllPromptsResponseFormatPrompts2FromJSON;
82
- exports.getAllPromptsResponseFormatPromptsJsonSchemaToJSON = getAllPromptsResponseFormatPromptsJsonSchemaToJSON;
83
- exports.getAllPromptsResponseFormatPromptsJsonSchemaFromJSON = getAllPromptsResponseFormatPromptsJsonSchemaFromJSON;
84
- exports.getAllPromptsResponseFormatPrompts1ToJSON = getAllPromptsResponseFormatPrompts1ToJSON;
85
- exports.getAllPromptsResponseFormatPrompts1FromJSON = getAllPromptsResponseFormatPrompts1FromJSON;
86
- exports.getAllPromptsPromptsResponseFormatToJSON = getAllPromptsPromptsResponseFormatToJSON;
87
- exports.getAllPromptsPromptsResponseFormatFromJSON = getAllPromptsPromptsResponseFormatFromJSON;
88
- exports.getAllPromptsPromptsModelParametersToJSON = getAllPromptsPromptsModelParametersToJSON;
89
- exports.getAllPromptsPromptsModelParametersFromJSON = getAllPromptsPromptsModelParametersFromJSON;
90
- exports.getAllPrompts2PromptsImageUrlToJSON = getAllPrompts2PromptsImageUrlToJSON;
91
- exports.getAllPrompts2PromptsImageUrlFromJSON = getAllPrompts2PromptsImageUrlFromJSON;
92
- exports.getAllPrompts2Prompts2ToJSON = getAllPrompts2Prompts2ToJSON;
93
- exports.getAllPrompts2Prompts2FromJSON = getAllPrompts2Prompts2FromJSON;
94
- exports.getAllPrompts2Prompts1ToJSON = getAllPrompts2Prompts1ToJSON;
95
- exports.getAllPrompts2Prompts1FromJSON = getAllPrompts2Prompts1FromJSON;
96
- exports.getAllPromptsContentPrompts2ToJSON = getAllPromptsContentPrompts2ToJSON;
97
- exports.getAllPromptsContentPrompts2FromJSON = getAllPromptsContentPrompts2FromJSON;
98
- exports.getAllPromptsPromptsContentToJSON = getAllPromptsPromptsContentToJSON;
99
- exports.getAllPromptsPromptsContentFromJSON = getAllPromptsPromptsContentFromJSON;
100
- exports.getAllPromptsPromptsFunctionToJSON = getAllPromptsPromptsFunctionToJSON;
101
- exports.getAllPromptsPromptsFunctionFromJSON = getAllPromptsPromptsFunctionFromJSON;
102
- exports.getAllPromptsPromptsToolCallsToJSON = getAllPromptsPromptsToolCallsToJSON;
103
- exports.getAllPromptsPromptsToolCallsFromJSON = getAllPromptsPromptsToolCallsFromJSON;
104
- exports.getAllPromptsPromptsMessagesToJSON = getAllPromptsPromptsMessagesToJSON;
105
- exports.getAllPromptsPromptsMessagesFromJSON = getAllPromptsPromptsMessagesFromJSON;
106
- exports.getAllPromptsPromptsPromptConfigToJSON = getAllPromptsPromptsPromptConfigToJSON;
107
- exports.getAllPromptsPromptsPromptConfigFromJSON = getAllPromptsPromptsPromptConfigFromJSON;
108
- exports.getAllPromptsPromptsMetadataToJSON = getAllPromptsPromptsMetadataToJSON;
109
- exports.getAllPromptsPromptsMetadataFromJSON = getAllPromptsPromptsMetadataFromJSON;
110
- exports.getAllPromptsVersionsToJSON = getAllPromptsVersionsToJSON;
111
- exports.getAllPromptsVersionsFromJSON = getAllPromptsVersionsFromJSON;
112
74
  exports.getAllPromptsDataToJSON = getAllPromptsDataToJSON;
113
75
  exports.getAllPromptsDataFromJSON = getAllPromptsDataFromJSON;
114
76
  exports.getAllPromptsResponseBodyToJSON = getAllPromptsResponseBodyToJSON;
@@ -119,8 +81,8 @@ const schemas_js_1 = require("../../lib/schemas.js");
119
81
  exports.GetAllPromptsObject = {
120
82
  List: "list",
121
83
  };
122
- exports.GetAllPromptsOwner2 = {
123
- Vendor: "vendor",
84
+ exports.GetAllPromptsType = {
85
+ Prompt: "prompt",
124
86
  };
125
87
  /**
126
88
  * The type of the model
@@ -252,164 +214,6 @@ exports.GetAllPromptsLanguage = {
252
214
  Russian: "Russian",
253
215
  Spanish: "Spanish",
254
216
  };
255
- exports.GetAllPromptsType = {
256
- Prompt: "prompt",
257
- };
258
- /**
259
- * The type of the model
260
- */
261
- exports.GetAllPromptsPromptsModelType = {
262
- Chat: "chat",
263
- Completion: "completion",
264
- Embedding: "embedding",
265
- Vision: "vision",
266
- Image: "image",
267
- Tts: "tts",
268
- Stt: "stt",
269
- Rerank: "rerank",
270
- Moderations: "moderations",
271
- };
272
- /**
273
- * Only supported on `image` models.
274
- */
275
- exports.GetAllPromptsPromptsFormat = {
276
- Url: "url",
277
- B64Json: "b64_json",
278
- Text: "text",
279
- JsonObject: "json_object",
280
- };
281
- /**
282
- * Only supported on `image` models.
283
- */
284
- exports.GetAllPromptsPromptsQuality = {
285
- Standard: "standard",
286
- Hd: "hd",
287
- };
288
- exports.GetAllPromptsResponseFormatPromptsResponse200Type = {
289
- JsonObject: "json_object",
290
- };
291
- exports.GetAllPromptsResponseFormatPromptsResponseType = {
292
- JsonSchema: "json_schema",
293
- };
294
- /**
295
- * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
296
- */
297
- exports.GetAllPromptsPromptsPhotoRealVersion = {
298
- V1: "v1",
299
- V2: "v2",
300
- };
301
- /**
302
- * The format to return the embeddings
303
- */
304
- exports.GetAllPromptsPromptsEncodingFormat = {
305
- Float: "float",
306
- Base64: "base64",
307
- };
308
- /**
309
- * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
310
- */
311
- exports.GetAllPromptsPromptsReasoningEffort = {
312
- Low: "low",
313
- Medium: "medium",
314
- High: "high",
315
- };
316
- exports.GetAllPromptsPromptsProvider = {
317
- Cohere: "cohere",
318
- Openai: "openai",
319
- Anthropic: "anthropic",
320
- Huggingface: "huggingface",
321
- Replicate: "replicate",
322
- Google: "google",
323
- GoogleAi: "google-ai",
324
- Azure: "azure",
325
- Aws: "aws",
326
- Anyscale: "anyscale",
327
- Perplexity: "perplexity",
328
- Groq: "groq",
329
- Fal: "fal",
330
- Leonardoai: "leonardoai",
331
- Nvidia: "nvidia",
332
- Jina: "jina",
333
- Togetherai: "togetherai",
334
- Elevenlabs: "elevenlabs",
335
- };
336
- /**
337
- * The role of the prompt message
338
- */
339
- exports.GetAllPromptsPromptsRole = {
340
- System: "system",
341
- Assistant: "assistant",
342
- User: "user",
343
- Exception: "exception",
344
- Tool: "tool",
345
- Prompt: "prompt",
346
- Correction: "correction",
347
- ExpectedOutput: "expected_output",
348
- };
349
- exports.GetAllPrompts2PromptsResponse200Type = {
350
- ImageUrl: "image_url",
351
- };
352
- exports.GetAllPrompts2PromptsResponseType = {
353
- Text: "text",
354
- };
355
- exports.GetAllPromptsPromptsResponseType = {
356
- Function: "function",
357
- };
358
- exports.GetAllPromptsPromptsUseCases = {
359
- Agents: "Agents",
360
- AgentsSimulations: "Agents simulations",
361
- APIInteraction: "API interaction",
362
- AutonomousAgents: "Autonomous Agents",
363
- Chatbots: "Chatbots",
364
- Classification: "Classification",
365
- CodeUnderstanding: "Code understanding",
366
- CodeWriting: "Code writing",
367
- DocumentsQA: "Documents QA",
368
- Conversation: "Conversation",
369
- Extraction: "Extraction",
370
- MultiModal: "Multi-modal",
371
- SelfChecking: "Self-checking",
372
- Sql: "SQL",
373
- Summarization: "Summarization",
374
- Tagging: "Tagging",
375
- };
376
- /**
377
- * The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
378
- */
379
- exports.GetAllPromptsPromptsLanguage = {
380
- Chinese: "Chinese",
381
- Dutch: "Dutch",
382
- English: "English",
383
- French: "French",
384
- German: "German",
385
- Russian: "Russian",
386
- Spanish: "Spanish",
387
- };
388
- /** @internal */
389
- exports.GetAllPromptsGlobals$inboundSchema = z.object({
390
- contactId: z.string().optional(),
391
- });
392
- /** @internal */
393
- exports.GetAllPromptsGlobals$outboundSchema = z.object({
394
- contactId: z.string().optional(),
395
- });
396
- /**
397
- * @internal
398
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
399
- */
400
- var GetAllPromptsGlobals$;
401
- (function (GetAllPromptsGlobals$) {
402
- /** @deprecated use `GetAllPromptsGlobals$inboundSchema` instead. */
403
- GetAllPromptsGlobals$.inboundSchema = exports.GetAllPromptsGlobals$inboundSchema;
404
- /** @deprecated use `GetAllPromptsGlobals$outboundSchema` instead. */
405
- GetAllPromptsGlobals$.outboundSchema = exports.GetAllPromptsGlobals$outboundSchema;
406
- })(GetAllPromptsGlobals$ || (exports.GetAllPromptsGlobals$ = GetAllPromptsGlobals$ = {}));
407
- function getAllPromptsGlobalsToJSON(getAllPromptsGlobals) {
408
- return JSON.stringify(exports.GetAllPromptsGlobals$outboundSchema.parse(getAllPromptsGlobals));
409
- }
410
- function getAllPromptsGlobalsFromJSON(jsonString) {
411
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetAllPromptsGlobals$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllPromptsGlobals' from JSON`);
412
- }
413
217
  /** @internal */
414
218
  exports.GetAllPromptsRequest$inboundSchema = z.object({
415
219
  limit: z.number().default(10),
@@ -465,41 +269,20 @@ var GetAllPromptsObject$;
465
269
  GetAllPromptsObject$.outboundSchema = exports.GetAllPromptsObject$outboundSchema;
466
270
  })(GetAllPromptsObject$ || (exports.GetAllPromptsObject$ = GetAllPromptsObject$ = {}));
467
271
  /** @internal */
468
- exports.GetAllPromptsOwner2$inboundSchema = z.nativeEnum(exports.GetAllPromptsOwner2);
469
- /** @internal */
470
- exports.GetAllPromptsOwner2$outboundSchema = exports.GetAllPromptsOwner2$inboundSchema;
471
- /**
472
- * @internal
473
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
474
- */
475
- var GetAllPromptsOwner2$;
476
- (function (GetAllPromptsOwner2$) {
477
- /** @deprecated use `GetAllPromptsOwner2$inboundSchema` instead. */
478
- GetAllPromptsOwner2$.inboundSchema = exports.GetAllPromptsOwner2$inboundSchema;
479
- /** @deprecated use `GetAllPromptsOwner2$outboundSchema` instead. */
480
- GetAllPromptsOwner2$.outboundSchema = exports.GetAllPromptsOwner2$outboundSchema;
481
- })(GetAllPromptsOwner2$ || (exports.GetAllPromptsOwner2$ = GetAllPromptsOwner2$ = {}));
482
- /** @internal */
483
- exports.GetAllPromptsOwner$inboundSchema = z.union([z.string(), exports.GetAllPromptsOwner2$inboundSchema]);
272
+ exports.GetAllPromptsType$inboundSchema = z.nativeEnum(exports.GetAllPromptsType);
484
273
  /** @internal */
485
- exports.GetAllPromptsOwner$outboundSchema = z.union([z.string(), exports.GetAllPromptsOwner2$outboundSchema]);
274
+ exports.GetAllPromptsType$outboundSchema = exports.GetAllPromptsType$inboundSchema;
486
275
  /**
487
276
  * @internal
488
277
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
489
278
  */
490
- var GetAllPromptsOwner$;
491
- (function (GetAllPromptsOwner$) {
492
- /** @deprecated use `GetAllPromptsOwner$inboundSchema` instead. */
493
- GetAllPromptsOwner$.inboundSchema = exports.GetAllPromptsOwner$inboundSchema;
494
- /** @deprecated use `GetAllPromptsOwner$outboundSchema` instead. */
495
- GetAllPromptsOwner$.outboundSchema = exports.GetAllPromptsOwner$outboundSchema;
496
- })(GetAllPromptsOwner$ || (exports.GetAllPromptsOwner$ = GetAllPromptsOwner$ = {}));
497
- function getAllPromptsOwnerToJSON(getAllPromptsOwner) {
498
- return JSON.stringify(exports.GetAllPromptsOwner$outboundSchema.parse(getAllPromptsOwner));
499
- }
500
- function getAllPromptsOwnerFromJSON(jsonString) {
501
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetAllPromptsOwner$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllPromptsOwner' from JSON`);
502
- }
279
+ var GetAllPromptsType$;
280
+ (function (GetAllPromptsType$) {
281
+ /** @deprecated use `GetAllPromptsType$inboundSchema` instead. */
282
+ GetAllPromptsType$.inboundSchema = exports.GetAllPromptsType$inboundSchema;
283
+ /** @deprecated use `GetAllPromptsType$outboundSchema` instead. */
284
+ GetAllPromptsType$.outboundSchema = exports.GetAllPromptsType$outboundSchema;
285
+ })(GetAllPromptsType$ || (exports.GetAllPromptsType$ = GetAllPromptsType$ = {}));
503
286
  /** @internal */
504
287
  exports.GetAllPromptsModelType$inboundSchema = z.nativeEnum(exports.GetAllPromptsModelType);
505
288
  /** @internal */
@@ -1263,885 +1046,50 @@ function getAllPromptsMetadataFromJSON(jsonString) {
1263
1046
  return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetAllPromptsMetadata$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllPromptsMetadata' from JSON`);
1264
1047
  }
1265
1048
  /** @internal */
1266
- exports.GetAllPromptsType$inboundSchema = z.nativeEnum(exports.GetAllPromptsType);
1267
- /** @internal */
1268
- exports.GetAllPromptsType$outboundSchema = exports.GetAllPromptsType$inboundSchema;
1269
- /**
1270
- * @internal
1271
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1272
- */
1273
- var GetAllPromptsType$;
1274
- (function (GetAllPromptsType$) {
1275
- /** @deprecated use `GetAllPromptsType$inboundSchema` instead. */
1276
- GetAllPromptsType$.inboundSchema = exports.GetAllPromptsType$inboundSchema;
1277
- /** @deprecated use `GetAllPromptsType$outboundSchema` instead. */
1278
- GetAllPromptsType$.outboundSchema = exports.GetAllPromptsType$outboundSchema;
1279
- })(GetAllPromptsType$ || (exports.GetAllPromptsType$ = GetAllPromptsType$ = {}));
1280
- /** @internal */
1281
- exports.GetAllPromptsPromptsModelType$inboundSchema = z.nativeEnum(exports.GetAllPromptsPromptsModelType);
1282
- /** @internal */
1283
- exports.GetAllPromptsPromptsModelType$outboundSchema = exports.GetAllPromptsPromptsModelType$inboundSchema;
1284
- /**
1285
- * @internal
1286
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1287
- */
1288
- var GetAllPromptsPromptsModelType$;
1289
- (function (GetAllPromptsPromptsModelType$) {
1290
- /** @deprecated use `GetAllPromptsPromptsModelType$inboundSchema` instead. */
1291
- GetAllPromptsPromptsModelType$.inboundSchema = exports.GetAllPromptsPromptsModelType$inboundSchema;
1292
- /** @deprecated use `GetAllPromptsPromptsModelType$outboundSchema` instead. */
1293
- GetAllPromptsPromptsModelType$.outboundSchema = exports.GetAllPromptsPromptsModelType$outboundSchema;
1294
- })(GetAllPromptsPromptsModelType$ || (exports.GetAllPromptsPromptsModelType$ = GetAllPromptsPromptsModelType$ = {}));
1295
- /** @internal */
1296
- exports.GetAllPromptsPromptsFormat$inboundSchema = z.nativeEnum(exports.GetAllPromptsPromptsFormat);
1297
- /** @internal */
1298
- exports.GetAllPromptsPromptsFormat$outboundSchema = exports.GetAllPromptsPromptsFormat$inboundSchema;
1299
- /**
1300
- * @internal
1301
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1302
- */
1303
- var GetAllPromptsPromptsFormat$;
1304
- (function (GetAllPromptsPromptsFormat$) {
1305
- /** @deprecated use `GetAllPromptsPromptsFormat$inboundSchema` instead. */
1306
- GetAllPromptsPromptsFormat$.inboundSchema = exports.GetAllPromptsPromptsFormat$inboundSchema;
1307
- /** @deprecated use `GetAllPromptsPromptsFormat$outboundSchema` instead. */
1308
- GetAllPromptsPromptsFormat$.outboundSchema = exports.GetAllPromptsPromptsFormat$outboundSchema;
1309
- })(GetAllPromptsPromptsFormat$ || (exports.GetAllPromptsPromptsFormat$ = GetAllPromptsPromptsFormat$ = {}));
1310
- /** @internal */
1311
- exports.GetAllPromptsPromptsQuality$inboundSchema = z.nativeEnum(exports.GetAllPromptsPromptsQuality);
1312
- /** @internal */
1313
- exports.GetAllPromptsPromptsQuality$outboundSchema = exports.GetAllPromptsPromptsQuality$inboundSchema;
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
- var GetAllPromptsPromptsQuality$;
1319
- (function (GetAllPromptsPromptsQuality$) {
1320
- /** @deprecated use `GetAllPromptsPromptsQuality$inboundSchema` instead. */
1321
- GetAllPromptsPromptsQuality$.inboundSchema = exports.GetAllPromptsPromptsQuality$inboundSchema;
1322
- /** @deprecated use `GetAllPromptsPromptsQuality$outboundSchema` instead. */
1323
- GetAllPromptsPromptsQuality$.outboundSchema = exports.GetAllPromptsPromptsQuality$outboundSchema;
1324
- })(GetAllPromptsPromptsQuality$ || (exports.GetAllPromptsPromptsQuality$ = GetAllPromptsPromptsQuality$ = {}));
1325
- /** @internal */
1326
- exports.GetAllPromptsResponseFormatPromptsResponse200Type$inboundSchema = z
1327
- .nativeEnum(exports.GetAllPromptsResponseFormatPromptsResponse200Type);
1328
- /** @internal */
1329
- exports.GetAllPromptsResponseFormatPromptsResponse200Type$outboundSchema = exports.GetAllPromptsResponseFormatPromptsResponse200Type$inboundSchema;
1330
- /**
1331
- * @internal
1332
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1333
- */
1334
- var GetAllPromptsResponseFormatPromptsResponse200Type$;
1335
- (function (GetAllPromptsResponseFormatPromptsResponse200Type$) {
1336
- /** @deprecated use `GetAllPromptsResponseFormatPromptsResponse200Type$inboundSchema` instead. */
1337
- GetAllPromptsResponseFormatPromptsResponse200Type$.inboundSchema = exports.GetAllPromptsResponseFormatPromptsResponse200Type$inboundSchema;
1338
- /** @deprecated use `GetAllPromptsResponseFormatPromptsResponse200Type$outboundSchema` instead. */
1339
- GetAllPromptsResponseFormatPromptsResponse200Type$.outboundSchema = exports.GetAllPromptsResponseFormatPromptsResponse200Type$outboundSchema;
1340
- })(GetAllPromptsResponseFormatPromptsResponse200Type$ || (exports.GetAllPromptsResponseFormatPromptsResponse200Type$ = GetAllPromptsResponseFormatPromptsResponse200Type$ = {}));
1341
- /** @internal */
1342
- exports.GetAllPromptsResponseFormatPrompts2$inboundSchema = z.object({
1343
- type: exports.GetAllPromptsResponseFormatPromptsResponse200Type$inboundSchema,
1344
- });
1345
- /** @internal */
1346
- exports.GetAllPromptsResponseFormatPrompts2$outboundSchema = z.object({
1347
- type: exports.GetAllPromptsResponseFormatPromptsResponse200Type$outboundSchema,
1348
- });
1349
- /**
1350
- * @internal
1351
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1352
- */
1353
- var GetAllPromptsResponseFormatPrompts2$;
1354
- (function (GetAllPromptsResponseFormatPrompts2$) {
1355
- /** @deprecated use `GetAllPromptsResponseFormatPrompts2$inboundSchema` instead. */
1356
- GetAllPromptsResponseFormatPrompts2$.inboundSchema = exports.GetAllPromptsResponseFormatPrompts2$inboundSchema;
1357
- /** @deprecated use `GetAllPromptsResponseFormatPrompts2$outboundSchema` instead. */
1358
- GetAllPromptsResponseFormatPrompts2$.outboundSchema = exports.GetAllPromptsResponseFormatPrompts2$outboundSchema;
1359
- })(GetAllPromptsResponseFormatPrompts2$ || (exports.GetAllPromptsResponseFormatPrompts2$ = GetAllPromptsResponseFormatPrompts2$ = {}));
1360
- function getAllPromptsResponseFormatPrompts2ToJSON(getAllPromptsResponseFormatPrompts2) {
1361
- return JSON.stringify(exports.GetAllPromptsResponseFormatPrompts2$outboundSchema.parse(getAllPromptsResponseFormatPrompts2));
1362
- }
1363
- function getAllPromptsResponseFormatPrompts2FromJSON(jsonString) {
1364
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetAllPromptsResponseFormatPrompts2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllPromptsResponseFormatPrompts2' from JSON`);
1365
- }
1366
- /** @internal */
1367
- exports.GetAllPromptsResponseFormatPromptsResponseType$inboundSchema = z
1368
- .nativeEnum(exports.GetAllPromptsResponseFormatPromptsResponseType);
1369
- /** @internal */
1370
- exports.GetAllPromptsResponseFormatPromptsResponseType$outboundSchema = exports.GetAllPromptsResponseFormatPromptsResponseType$inboundSchema;
1371
- /**
1372
- * @internal
1373
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1374
- */
1375
- var GetAllPromptsResponseFormatPromptsResponseType$;
1376
- (function (GetAllPromptsResponseFormatPromptsResponseType$) {
1377
- /** @deprecated use `GetAllPromptsResponseFormatPromptsResponseType$inboundSchema` instead. */
1378
- GetAllPromptsResponseFormatPromptsResponseType$.inboundSchema = exports.GetAllPromptsResponseFormatPromptsResponseType$inboundSchema;
1379
- /** @deprecated use `GetAllPromptsResponseFormatPromptsResponseType$outboundSchema` instead. */
1380
- GetAllPromptsResponseFormatPromptsResponseType$.outboundSchema = exports.GetAllPromptsResponseFormatPromptsResponseType$outboundSchema;
1381
- })(GetAllPromptsResponseFormatPromptsResponseType$ || (exports.GetAllPromptsResponseFormatPromptsResponseType$ = GetAllPromptsResponseFormatPromptsResponseType$ = {}));
1382
- /** @internal */
1383
- exports.GetAllPromptsResponseFormatPromptsJsonSchema$inboundSchema = z.object({
1384
- name: z.string(),
1385
- strict: z.boolean(),
1386
- schema: z.record(z.any()),
1387
- });
1388
- /** @internal */
1389
- exports.GetAllPromptsResponseFormatPromptsJsonSchema$outboundSchema = z.object({
1390
- name: z.string(),
1391
- strict: z.boolean(),
1392
- schema: z.record(z.any()),
1393
- });
1394
- /**
1395
- * @internal
1396
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1397
- */
1398
- var GetAllPromptsResponseFormatPromptsJsonSchema$;
1399
- (function (GetAllPromptsResponseFormatPromptsJsonSchema$) {
1400
- /** @deprecated use `GetAllPromptsResponseFormatPromptsJsonSchema$inboundSchema` instead. */
1401
- GetAllPromptsResponseFormatPromptsJsonSchema$.inboundSchema = exports.GetAllPromptsResponseFormatPromptsJsonSchema$inboundSchema;
1402
- /** @deprecated use `GetAllPromptsResponseFormatPromptsJsonSchema$outboundSchema` instead. */
1403
- GetAllPromptsResponseFormatPromptsJsonSchema$.outboundSchema = exports.GetAllPromptsResponseFormatPromptsJsonSchema$outboundSchema;
1404
- })(GetAllPromptsResponseFormatPromptsJsonSchema$ || (exports.GetAllPromptsResponseFormatPromptsJsonSchema$ = GetAllPromptsResponseFormatPromptsJsonSchema$ = {}));
1405
- function getAllPromptsResponseFormatPromptsJsonSchemaToJSON(getAllPromptsResponseFormatPromptsJsonSchema) {
1406
- return JSON.stringify(exports.GetAllPromptsResponseFormatPromptsJsonSchema$outboundSchema.parse(getAllPromptsResponseFormatPromptsJsonSchema));
1407
- }
1408
- function getAllPromptsResponseFormatPromptsJsonSchemaFromJSON(jsonString) {
1409
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetAllPromptsResponseFormatPromptsJsonSchema$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllPromptsResponseFormatPromptsJsonSchema' from JSON`);
1410
- }
1411
- /** @internal */
1412
- exports.GetAllPromptsResponseFormatPrompts1$inboundSchema = z.object({
1413
- type: exports.GetAllPromptsResponseFormatPromptsResponseType$inboundSchema,
1414
- json_schema: z.lazy(() => exports.GetAllPromptsResponseFormatPromptsJsonSchema$inboundSchema),
1049
+ exports.GetAllPromptsData$inboundSchema = z.object({
1050
+ _id: z.string(),
1051
+ type: exports.GetAllPromptsType$inboundSchema,
1052
+ owner: z.string(),
1053
+ domain_id: z.string(),
1054
+ created: z.string(),
1055
+ updated: z.string(),
1056
+ created_by_id: z.string().optional(),
1057
+ updated_by_id: z.string().optional(),
1058
+ display_name: z.string(),
1059
+ description: z.nullable(z.string()).optional(),
1060
+ prompt_config: z.lazy(() => exports.GetAllPromptsPromptConfig$inboundSchema),
1061
+ metadata: z.lazy(() => exports.GetAllPromptsMetadata$inboundSchema).optional(),
1415
1062
  }).transform((v) => {
1416
1063
  return (0, primitives_js_1.remap)(v, {
1417
- "json_schema": "jsonSchema",
1064
+ "_id": "id",
1065
+ "domain_id": "domainId",
1066
+ "created_by_id": "createdById",
1067
+ "updated_by_id": "updatedById",
1068
+ "display_name": "displayName",
1069
+ "prompt_config": "promptConfig",
1418
1070
  });
1419
1071
  });
1420
1072
  /** @internal */
1421
- exports.GetAllPromptsResponseFormatPrompts1$outboundSchema = z.object({
1422
- type: exports.GetAllPromptsResponseFormatPromptsResponseType$outboundSchema,
1423
- jsonSchema: z.lazy(() => exports.GetAllPromptsResponseFormatPromptsJsonSchema$outboundSchema),
1424
- }).transform((v) => {
1425
- return (0, primitives_js_1.remap)(v, {
1426
- jsonSchema: "json_schema",
1427
- });
1428
- });
1429
- /**
1430
- * @internal
1431
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1432
- */
1433
- var GetAllPromptsResponseFormatPrompts1$;
1434
- (function (GetAllPromptsResponseFormatPrompts1$) {
1435
- /** @deprecated use `GetAllPromptsResponseFormatPrompts1$inboundSchema` instead. */
1436
- GetAllPromptsResponseFormatPrompts1$.inboundSchema = exports.GetAllPromptsResponseFormatPrompts1$inboundSchema;
1437
- /** @deprecated use `GetAllPromptsResponseFormatPrompts1$outboundSchema` instead. */
1438
- GetAllPromptsResponseFormatPrompts1$.outboundSchema = exports.GetAllPromptsResponseFormatPrompts1$outboundSchema;
1439
- })(GetAllPromptsResponseFormatPrompts1$ || (exports.GetAllPromptsResponseFormatPrompts1$ = GetAllPromptsResponseFormatPrompts1$ = {}));
1440
- function getAllPromptsResponseFormatPrompts1ToJSON(getAllPromptsResponseFormatPrompts1) {
1441
- return JSON.stringify(exports.GetAllPromptsResponseFormatPrompts1$outboundSchema.parse(getAllPromptsResponseFormatPrompts1));
1442
- }
1443
- function getAllPromptsResponseFormatPrompts1FromJSON(jsonString) {
1444
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetAllPromptsResponseFormatPrompts1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllPromptsResponseFormatPrompts1' from JSON`);
1445
- }
1446
- /** @internal */
1447
- exports.GetAllPromptsPromptsResponseFormat$inboundSchema = z.union([
1448
- z.lazy(() => exports.GetAllPromptsResponseFormatPrompts2$inboundSchema),
1449
- z.lazy(() => exports.GetAllPromptsResponseFormatPrompts1$inboundSchema),
1450
- ]);
1451
- /** @internal */
1452
- exports.GetAllPromptsPromptsResponseFormat$outboundSchema = z.union([
1453
- z.lazy(() => exports.GetAllPromptsResponseFormatPrompts2$outboundSchema),
1454
- z.lazy(() => exports.GetAllPromptsResponseFormatPrompts1$outboundSchema),
1455
- ]);
1456
- /**
1457
- * @internal
1458
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1459
- */
1460
- var GetAllPromptsPromptsResponseFormat$;
1461
- (function (GetAllPromptsPromptsResponseFormat$) {
1462
- /** @deprecated use `GetAllPromptsPromptsResponseFormat$inboundSchema` instead. */
1463
- GetAllPromptsPromptsResponseFormat$.inboundSchema = exports.GetAllPromptsPromptsResponseFormat$inboundSchema;
1464
- /** @deprecated use `GetAllPromptsPromptsResponseFormat$outboundSchema` instead. */
1465
- GetAllPromptsPromptsResponseFormat$.outboundSchema = exports.GetAllPromptsPromptsResponseFormat$outboundSchema;
1466
- })(GetAllPromptsPromptsResponseFormat$ || (exports.GetAllPromptsPromptsResponseFormat$ = GetAllPromptsPromptsResponseFormat$ = {}));
1467
- function getAllPromptsPromptsResponseFormatToJSON(getAllPromptsPromptsResponseFormat) {
1468
- return JSON.stringify(exports.GetAllPromptsPromptsResponseFormat$outboundSchema.parse(getAllPromptsPromptsResponseFormat));
1469
- }
1470
- function getAllPromptsPromptsResponseFormatFromJSON(jsonString) {
1471
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetAllPromptsPromptsResponseFormat$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllPromptsPromptsResponseFormat' from JSON`);
1472
- }
1473
- /** @internal */
1474
- exports.GetAllPromptsPromptsPhotoRealVersion$inboundSchema = z.nativeEnum(exports.GetAllPromptsPromptsPhotoRealVersion);
1475
- /** @internal */
1476
- exports.GetAllPromptsPromptsPhotoRealVersion$outboundSchema = exports.GetAllPromptsPromptsPhotoRealVersion$inboundSchema;
1477
- /**
1478
- * @internal
1479
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1480
- */
1481
- var GetAllPromptsPromptsPhotoRealVersion$;
1482
- (function (GetAllPromptsPromptsPhotoRealVersion$) {
1483
- /** @deprecated use `GetAllPromptsPromptsPhotoRealVersion$inboundSchema` instead. */
1484
- GetAllPromptsPromptsPhotoRealVersion$.inboundSchema = exports.GetAllPromptsPromptsPhotoRealVersion$inboundSchema;
1485
- /** @deprecated use `GetAllPromptsPromptsPhotoRealVersion$outboundSchema` instead. */
1486
- GetAllPromptsPromptsPhotoRealVersion$.outboundSchema = exports.GetAllPromptsPromptsPhotoRealVersion$outboundSchema;
1487
- })(GetAllPromptsPromptsPhotoRealVersion$ || (exports.GetAllPromptsPromptsPhotoRealVersion$ = GetAllPromptsPromptsPhotoRealVersion$ = {}));
1488
- /** @internal */
1489
- exports.GetAllPromptsPromptsEncodingFormat$inboundSchema = z.nativeEnum(exports.GetAllPromptsPromptsEncodingFormat);
1490
- /** @internal */
1491
- exports.GetAllPromptsPromptsEncodingFormat$outboundSchema = exports.GetAllPromptsPromptsEncodingFormat$inboundSchema;
1492
- /**
1493
- * @internal
1494
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1495
- */
1496
- var GetAllPromptsPromptsEncodingFormat$;
1497
- (function (GetAllPromptsPromptsEncodingFormat$) {
1498
- /** @deprecated use `GetAllPromptsPromptsEncodingFormat$inboundSchema` instead. */
1499
- GetAllPromptsPromptsEncodingFormat$.inboundSchema = exports.GetAllPromptsPromptsEncodingFormat$inboundSchema;
1500
- /** @deprecated use `GetAllPromptsPromptsEncodingFormat$outboundSchema` instead. */
1501
- GetAllPromptsPromptsEncodingFormat$.outboundSchema = exports.GetAllPromptsPromptsEncodingFormat$outboundSchema;
1502
- })(GetAllPromptsPromptsEncodingFormat$ || (exports.GetAllPromptsPromptsEncodingFormat$ = GetAllPromptsPromptsEncodingFormat$ = {}));
1503
- /** @internal */
1504
- exports.GetAllPromptsPromptsReasoningEffort$inboundSchema = z.nativeEnum(exports.GetAllPromptsPromptsReasoningEffort);
1505
- /** @internal */
1506
- exports.GetAllPromptsPromptsReasoningEffort$outboundSchema = exports.GetAllPromptsPromptsReasoningEffort$inboundSchema;
1507
- /**
1508
- * @internal
1509
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1510
- */
1511
- var GetAllPromptsPromptsReasoningEffort$;
1512
- (function (GetAllPromptsPromptsReasoningEffort$) {
1513
- /** @deprecated use `GetAllPromptsPromptsReasoningEffort$inboundSchema` instead. */
1514
- GetAllPromptsPromptsReasoningEffort$.inboundSchema = exports.GetAllPromptsPromptsReasoningEffort$inboundSchema;
1515
- /** @deprecated use `GetAllPromptsPromptsReasoningEffort$outboundSchema` instead. */
1516
- GetAllPromptsPromptsReasoningEffort$.outboundSchema = exports.GetAllPromptsPromptsReasoningEffort$outboundSchema;
1517
- })(GetAllPromptsPromptsReasoningEffort$ || (exports.GetAllPromptsPromptsReasoningEffort$ = GetAllPromptsPromptsReasoningEffort$ = {}));
1518
- /** @internal */
1519
- exports.GetAllPromptsPromptsModelParameters$inboundSchema = z.object({
1520
- temperature: z.number().optional(),
1521
- maxTokens: z.number().optional(),
1522
- topK: z.number().optional(),
1523
- topP: z.number().optional(),
1524
- frequencyPenalty: z.number().optional(),
1525
- presencePenalty: z.number().optional(),
1526
- numImages: z.number().optional(),
1527
- seed: z.number().optional(),
1528
- format: exports.GetAllPromptsPromptsFormat$inboundSchema.optional(),
1529
- dimensions: z.string().optional(),
1530
- quality: exports.GetAllPromptsPromptsQuality$inboundSchema.optional(),
1531
- style: z.string().optional(),
1532
- responseFormat: z.nullable(z.union([
1533
- z.lazy(() => exports.GetAllPromptsResponseFormatPrompts2$inboundSchema),
1534
- z.lazy(() => exports.GetAllPromptsResponseFormatPrompts1$inboundSchema),
1535
- ])).optional(),
1536
- photoRealVersion: exports.GetAllPromptsPromptsPhotoRealVersion$inboundSchema
1537
- .optional(),
1538
- encoding_format: exports.GetAllPromptsPromptsEncodingFormat$inboundSchema.optional(),
1539
- reasoningEffort: exports.GetAllPromptsPromptsReasoningEffort$inboundSchema.optional(),
1540
- }).transform((v) => {
1541
- return (0, primitives_js_1.remap)(v, {
1542
- "encoding_format": "encodingFormat",
1543
- });
1544
- });
1545
- /** @internal */
1546
- exports.GetAllPromptsPromptsModelParameters$outboundSchema = z.object({
1547
- temperature: z.number().optional(),
1548
- maxTokens: z.number().optional(),
1549
- topK: z.number().optional(),
1550
- topP: z.number().optional(),
1551
- frequencyPenalty: z.number().optional(),
1552
- presencePenalty: z.number().optional(),
1553
- numImages: z.number().optional(),
1554
- seed: z.number().optional(),
1555
- format: exports.GetAllPromptsPromptsFormat$outboundSchema.optional(),
1556
- dimensions: z.string().optional(),
1557
- quality: exports.GetAllPromptsPromptsQuality$outboundSchema.optional(),
1558
- style: z.string().optional(),
1559
- responseFormat: z.nullable(z.union([
1560
- z.lazy(() => exports.GetAllPromptsResponseFormatPrompts2$outboundSchema),
1561
- z.lazy(() => exports.GetAllPromptsResponseFormatPrompts1$outboundSchema),
1562
- ])).optional(),
1563
- photoRealVersion: exports.GetAllPromptsPromptsPhotoRealVersion$outboundSchema
1564
- .optional(),
1565
- encodingFormat: exports.GetAllPromptsPromptsEncodingFormat$outboundSchema.optional(),
1566
- reasoningEffort: exports.GetAllPromptsPromptsReasoningEffort$outboundSchema
1567
- .optional(),
1568
- }).transform((v) => {
1569
- return (0, primitives_js_1.remap)(v, {
1570
- encodingFormat: "encoding_format",
1571
- });
1572
- });
1573
- /**
1574
- * @internal
1575
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1576
- */
1577
- var GetAllPromptsPromptsModelParameters$;
1578
- (function (GetAllPromptsPromptsModelParameters$) {
1579
- /** @deprecated use `GetAllPromptsPromptsModelParameters$inboundSchema` instead. */
1580
- GetAllPromptsPromptsModelParameters$.inboundSchema = exports.GetAllPromptsPromptsModelParameters$inboundSchema;
1581
- /** @deprecated use `GetAllPromptsPromptsModelParameters$outboundSchema` instead. */
1582
- GetAllPromptsPromptsModelParameters$.outboundSchema = exports.GetAllPromptsPromptsModelParameters$outboundSchema;
1583
- })(GetAllPromptsPromptsModelParameters$ || (exports.GetAllPromptsPromptsModelParameters$ = GetAllPromptsPromptsModelParameters$ = {}));
1584
- function getAllPromptsPromptsModelParametersToJSON(getAllPromptsPromptsModelParameters) {
1585
- return JSON.stringify(exports.GetAllPromptsPromptsModelParameters$outboundSchema.parse(getAllPromptsPromptsModelParameters));
1586
- }
1587
- function getAllPromptsPromptsModelParametersFromJSON(jsonString) {
1588
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetAllPromptsPromptsModelParameters$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllPromptsPromptsModelParameters' from JSON`);
1589
- }
1590
- /** @internal */
1591
- exports.GetAllPromptsPromptsProvider$inboundSchema = z.nativeEnum(exports.GetAllPromptsPromptsProvider);
1592
- /** @internal */
1593
- exports.GetAllPromptsPromptsProvider$outboundSchema = exports.GetAllPromptsPromptsProvider$inboundSchema;
1594
- /**
1595
- * @internal
1596
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1597
- */
1598
- var GetAllPromptsPromptsProvider$;
1599
- (function (GetAllPromptsPromptsProvider$) {
1600
- /** @deprecated use `GetAllPromptsPromptsProvider$inboundSchema` instead. */
1601
- GetAllPromptsPromptsProvider$.inboundSchema = exports.GetAllPromptsPromptsProvider$inboundSchema;
1602
- /** @deprecated use `GetAllPromptsPromptsProvider$outboundSchema` instead. */
1603
- GetAllPromptsPromptsProvider$.outboundSchema = exports.GetAllPromptsPromptsProvider$outboundSchema;
1604
- })(GetAllPromptsPromptsProvider$ || (exports.GetAllPromptsPromptsProvider$ = GetAllPromptsPromptsProvider$ = {}));
1605
- /** @internal */
1606
- exports.GetAllPromptsPromptsRole$inboundSchema = z.nativeEnum(exports.GetAllPromptsPromptsRole);
1607
- /** @internal */
1608
- exports.GetAllPromptsPromptsRole$outboundSchema = exports.GetAllPromptsPromptsRole$inboundSchema;
1609
- /**
1610
- * @internal
1611
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1612
- */
1613
- var GetAllPromptsPromptsRole$;
1614
- (function (GetAllPromptsPromptsRole$) {
1615
- /** @deprecated use `GetAllPromptsPromptsRole$inboundSchema` instead. */
1616
- GetAllPromptsPromptsRole$.inboundSchema = exports.GetAllPromptsPromptsRole$inboundSchema;
1617
- /** @deprecated use `GetAllPromptsPromptsRole$outboundSchema` instead. */
1618
- GetAllPromptsPromptsRole$.outboundSchema = exports.GetAllPromptsPromptsRole$outboundSchema;
1619
- })(GetAllPromptsPromptsRole$ || (exports.GetAllPromptsPromptsRole$ = GetAllPromptsPromptsRole$ = {}));
1620
- /** @internal */
1621
- exports.GetAllPrompts2PromptsResponse200Type$inboundSchema = z.nativeEnum(exports.GetAllPrompts2PromptsResponse200Type);
1622
- /** @internal */
1623
- exports.GetAllPrompts2PromptsResponse200Type$outboundSchema = exports.GetAllPrompts2PromptsResponse200Type$inboundSchema;
1624
- /**
1625
- * @internal
1626
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1627
- */
1628
- var GetAllPrompts2PromptsResponse200Type$;
1629
- (function (GetAllPrompts2PromptsResponse200Type$) {
1630
- /** @deprecated use `GetAllPrompts2PromptsResponse200Type$inboundSchema` instead. */
1631
- GetAllPrompts2PromptsResponse200Type$.inboundSchema = exports.GetAllPrompts2PromptsResponse200Type$inboundSchema;
1632
- /** @deprecated use `GetAllPrompts2PromptsResponse200Type$outboundSchema` instead. */
1633
- GetAllPrompts2PromptsResponse200Type$.outboundSchema = exports.GetAllPrompts2PromptsResponse200Type$outboundSchema;
1634
- })(GetAllPrompts2PromptsResponse200Type$ || (exports.GetAllPrompts2PromptsResponse200Type$ = GetAllPrompts2PromptsResponse200Type$ = {}));
1635
- /** @internal */
1636
- exports.GetAllPrompts2PromptsImageUrl$inboundSchema = z.object({
1637
- id: z.string().optional(),
1638
- url: z.string(),
1639
- detail: z.string().optional(),
1640
- });
1641
- /** @internal */
1642
- exports.GetAllPrompts2PromptsImageUrl$outboundSchema = z.object({
1643
- id: z.string().optional(),
1644
- url: z.string(),
1645
- detail: z.string().optional(),
1646
- });
1647
- /**
1648
- * @internal
1649
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1650
- */
1651
- var GetAllPrompts2PromptsImageUrl$;
1652
- (function (GetAllPrompts2PromptsImageUrl$) {
1653
- /** @deprecated use `GetAllPrompts2PromptsImageUrl$inboundSchema` instead. */
1654
- GetAllPrompts2PromptsImageUrl$.inboundSchema = exports.GetAllPrompts2PromptsImageUrl$inboundSchema;
1655
- /** @deprecated use `GetAllPrompts2PromptsImageUrl$outboundSchema` instead. */
1656
- GetAllPrompts2PromptsImageUrl$.outboundSchema = exports.GetAllPrompts2PromptsImageUrl$outboundSchema;
1657
- })(GetAllPrompts2PromptsImageUrl$ || (exports.GetAllPrompts2PromptsImageUrl$ = GetAllPrompts2PromptsImageUrl$ = {}));
1658
- function getAllPrompts2PromptsImageUrlToJSON(getAllPrompts2PromptsImageUrl) {
1659
- return JSON.stringify(exports.GetAllPrompts2PromptsImageUrl$outboundSchema.parse(getAllPrompts2PromptsImageUrl));
1660
- }
1661
- function getAllPrompts2PromptsImageUrlFromJSON(jsonString) {
1662
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetAllPrompts2PromptsImageUrl$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllPrompts2PromptsImageUrl' from JSON`);
1663
- }
1664
- /** @internal */
1665
- exports.GetAllPrompts2Prompts2$inboundSchema = z.object({
1666
- type: exports.GetAllPrompts2PromptsResponse200Type$inboundSchema,
1667
- image_url: z.lazy(() => exports.GetAllPrompts2PromptsImageUrl$inboundSchema),
1668
- }).transform((v) => {
1669
- return (0, primitives_js_1.remap)(v, {
1670
- "image_url": "imageUrl",
1671
- });
1672
- });
1673
- /** @internal */
1674
- exports.GetAllPrompts2Prompts2$outboundSchema = z.object({
1675
- type: exports.GetAllPrompts2PromptsResponse200Type$outboundSchema,
1676
- imageUrl: z.lazy(() => exports.GetAllPrompts2PromptsImageUrl$outboundSchema),
1677
- }).transform((v) => {
1678
- return (0, primitives_js_1.remap)(v, {
1679
- imageUrl: "image_url",
1680
- });
1681
- });
1682
- /**
1683
- * @internal
1684
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1685
- */
1686
- var GetAllPrompts2Prompts2$;
1687
- (function (GetAllPrompts2Prompts2$) {
1688
- /** @deprecated use `GetAllPrompts2Prompts2$inboundSchema` instead. */
1689
- GetAllPrompts2Prompts2$.inboundSchema = exports.GetAllPrompts2Prompts2$inboundSchema;
1690
- /** @deprecated use `GetAllPrompts2Prompts2$outboundSchema` instead. */
1691
- GetAllPrompts2Prompts2$.outboundSchema = exports.GetAllPrompts2Prompts2$outboundSchema;
1692
- })(GetAllPrompts2Prompts2$ || (exports.GetAllPrompts2Prompts2$ = GetAllPrompts2Prompts2$ = {}));
1693
- function getAllPrompts2Prompts2ToJSON(getAllPrompts2Prompts2) {
1694
- return JSON.stringify(exports.GetAllPrompts2Prompts2$outboundSchema.parse(getAllPrompts2Prompts2));
1695
- }
1696
- function getAllPrompts2Prompts2FromJSON(jsonString) {
1697
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetAllPrompts2Prompts2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllPrompts2Prompts2' from JSON`);
1698
- }
1699
- /** @internal */
1700
- exports.GetAllPrompts2PromptsResponseType$inboundSchema = z.nativeEnum(exports.GetAllPrompts2PromptsResponseType);
1701
- /** @internal */
1702
- exports.GetAllPrompts2PromptsResponseType$outboundSchema = exports.GetAllPrompts2PromptsResponseType$inboundSchema;
1703
- /**
1704
- * @internal
1705
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1706
- */
1707
- var GetAllPrompts2PromptsResponseType$;
1708
- (function (GetAllPrompts2PromptsResponseType$) {
1709
- /** @deprecated use `GetAllPrompts2PromptsResponseType$inboundSchema` instead. */
1710
- GetAllPrompts2PromptsResponseType$.inboundSchema = exports.GetAllPrompts2PromptsResponseType$inboundSchema;
1711
- /** @deprecated use `GetAllPrompts2PromptsResponseType$outboundSchema` instead. */
1712
- GetAllPrompts2PromptsResponseType$.outboundSchema = exports.GetAllPrompts2PromptsResponseType$outboundSchema;
1713
- })(GetAllPrompts2PromptsResponseType$ || (exports.GetAllPrompts2PromptsResponseType$ = GetAllPrompts2PromptsResponseType$ = {}));
1714
- /** @internal */
1715
- exports.GetAllPrompts2Prompts1$inboundSchema = z.object({
1716
- type: exports.GetAllPrompts2PromptsResponseType$inboundSchema,
1717
- text: z.string(),
1718
- });
1719
- /** @internal */
1720
- exports.GetAllPrompts2Prompts1$outboundSchema = z.object({
1721
- type: exports.GetAllPrompts2PromptsResponseType$outboundSchema,
1722
- text: z.string(),
1723
- });
1724
- /**
1725
- * @internal
1726
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1727
- */
1728
- var GetAllPrompts2Prompts1$;
1729
- (function (GetAllPrompts2Prompts1$) {
1730
- /** @deprecated use `GetAllPrompts2Prompts1$inboundSchema` instead. */
1731
- GetAllPrompts2Prompts1$.inboundSchema = exports.GetAllPrompts2Prompts1$inboundSchema;
1732
- /** @deprecated use `GetAllPrompts2Prompts1$outboundSchema` instead. */
1733
- GetAllPrompts2Prompts1$.outboundSchema = exports.GetAllPrompts2Prompts1$outboundSchema;
1734
- })(GetAllPrompts2Prompts1$ || (exports.GetAllPrompts2Prompts1$ = GetAllPrompts2Prompts1$ = {}));
1735
- function getAllPrompts2Prompts1ToJSON(getAllPrompts2Prompts1) {
1736
- return JSON.stringify(exports.GetAllPrompts2Prompts1$outboundSchema.parse(getAllPrompts2Prompts1));
1737
- }
1738
- function getAllPrompts2Prompts1FromJSON(jsonString) {
1739
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetAllPrompts2Prompts1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllPrompts2Prompts1' from JSON`);
1740
- }
1741
- /** @internal */
1742
- exports.GetAllPromptsContentPrompts2$inboundSchema = z.union([
1743
- z.lazy(() => exports.GetAllPrompts2Prompts1$inboundSchema),
1744
- z.lazy(() => exports.GetAllPrompts2Prompts2$inboundSchema),
1745
- ]);
1746
- /** @internal */
1747
- exports.GetAllPromptsContentPrompts2$outboundSchema = z.union([
1748
- z.lazy(() => exports.GetAllPrompts2Prompts1$outboundSchema),
1749
- z.lazy(() => exports.GetAllPrompts2Prompts2$outboundSchema),
1750
- ]);
1751
- /**
1752
- * @internal
1753
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1754
- */
1755
- var GetAllPromptsContentPrompts2$;
1756
- (function (GetAllPromptsContentPrompts2$) {
1757
- /** @deprecated use `GetAllPromptsContentPrompts2$inboundSchema` instead. */
1758
- GetAllPromptsContentPrompts2$.inboundSchema = exports.GetAllPromptsContentPrompts2$inboundSchema;
1759
- /** @deprecated use `GetAllPromptsContentPrompts2$outboundSchema` instead. */
1760
- GetAllPromptsContentPrompts2$.outboundSchema = exports.GetAllPromptsContentPrompts2$outboundSchema;
1761
- })(GetAllPromptsContentPrompts2$ || (exports.GetAllPromptsContentPrompts2$ = GetAllPromptsContentPrompts2$ = {}));
1762
- function getAllPromptsContentPrompts2ToJSON(getAllPromptsContentPrompts2) {
1763
- return JSON.stringify(exports.GetAllPromptsContentPrompts2$outboundSchema.parse(getAllPromptsContentPrompts2));
1764
- }
1765
- function getAllPromptsContentPrompts2FromJSON(jsonString) {
1766
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetAllPromptsContentPrompts2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllPromptsContentPrompts2' from JSON`);
1767
- }
1768
- /** @internal */
1769
- exports.GetAllPromptsPromptsContent$inboundSchema = z.union([
1770
- z.string(),
1771
- z.array(z.union([
1772
- z.lazy(() => exports.GetAllPrompts2Prompts1$inboundSchema),
1773
- z.lazy(() => exports.GetAllPrompts2Prompts2$inboundSchema),
1774
- ])),
1775
- ]);
1776
- /** @internal */
1777
- exports.GetAllPromptsPromptsContent$outboundSchema = z.union([
1778
- z.string(),
1779
- z.array(z.union([
1780
- z.lazy(() => exports.GetAllPrompts2Prompts1$outboundSchema),
1781
- z.lazy(() => exports.GetAllPrompts2Prompts2$outboundSchema),
1782
- ])),
1783
- ]);
1784
- /**
1785
- * @internal
1786
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1787
- */
1788
- var GetAllPromptsPromptsContent$;
1789
- (function (GetAllPromptsPromptsContent$) {
1790
- /** @deprecated use `GetAllPromptsPromptsContent$inboundSchema` instead. */
1791
- GetAllPromptsPromptsContent$.inboundSchema = exports.GetAllPromptsPromptsContent$inboundSchema;
1792
- /** @deprecated use `GetAllPromptsPromptsContent$outboundSchema` instead. */
1793
- GetAllPromptsPromptsContent$.outboundSchema = exports.GetAllPromptsPromptsContent$outboundSchema;
1794
- })(GetAllPromptsPromptsContent$ || (exports.GetAllPromptsPromptsContent$ = GetAllPromptsPromptsContent$ = {}));
1795
- function getAllPromptsPromptsContentToJSON(getAllPromptsPromptsContent) {
1796
- return JSON.stringify(exports.GetAllPromptsPromptsContent$outboundSchema.parse(getAllPromptsPromptsContent));
1797
- }
1798
- function getAllPromptsPromptsContentFromJSON(jsonString) {
1799
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetAllPromptsPromptsContent$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllPromptsPromptsContent' from JSON`);
1800
- }
1801
- /** @internal */
1802
- exports.GetAllPromptsPromptsResponseType$inboundSchema = z.nativeEnum(exports.GetAllPromptsPromptsResponseType);
1803
- /** @internal */
1804
- exports.GetAllPromptsPromptsResponseType$outboundSchema = exports.GetAllPromptsPromptsResponseType$inboundSchema;
1805
- /**
1806
- * @internal
1807
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1808
- */
1809
- var GetAllPromptsPromptsResponseType$;
1810
- (function (GetAllPromptsPromptsResponseType$) {
1811
- /** @deprecated use `GetAllPromptsPromptsResponseType$inboundSchema` instead. */
1812
- GetAllPromptsPromptsResponseType$.inboundSchema = exports.GetAllPromptsPromptsResponseType$inboundSchema;
1813
- /** @deprecated use `GetAllPromptsPromptsResponseType$outboundSchema` instead. */
1814
- GetAllPromptsPromptsResponseType$.outboundSchema = exports.GetAllPromptsPromptsResponseType$outboundSchema;
1815
- })(GetAllPromptsPromptsResponseType$ || (exports.GetAllPromptsPromptsResponseType$ = GetAllPromptsPromptsResponseType$ = {}));
1816
- /** @internal */
1817
- exports.GetAllPromptsPromptsFunction$inboundSchema = z.object({
1818
- name: z.string(),
1819
- arguments: z.string(),
1820
- });
1821
- /** @internal */
1822
- exports.GetAllPromptsPromptsFunction$outboundSchema = z.object({
1823
- name: z.string(),
1824
- arguments: z.string(),
1825
- });
1826
- /**
1827
- * @internal
1828
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1829
- */
1830
- var GetAllPromptsPromptsFunction$;
1831
- (function (GetAllPromptsPromptsFunction$) {
1832
- /** @deprecated use `GetAllPromptsPromptsFunction$inboundSchema` instead. */
1833
- GetAllPromptsPromptsFunction$.inboundSchema = exports.GetAllPromptsPromptsFunction$inboundSchema;
1834
- /** @deprecated use `GetAllPromptsPromptsFunction$outboundSchema` instead. */
1835
- GetAllPromptsPromptsFunction$.outboundSchema = exports.GetAllPromptsPromptsFunction$outboundSchema;
1836
- })(GetAllPromptsPromptsFunction$ || (exports.GetAllPromptsPromptsFunction$ = GetAllPromptsPromptsFunction$ = {}));
1837
- function getAllPromptsPromptsFunctionToJSON(getAllPromptsPromptsFunction) {
1838
- return JSON.stringify(exports.GetAllPromptsPromptsFunction$outboundSchema.parse(getAllPromptsPromptsFunction));
1839
- }
1840
- function getAllPromptsPromptsFunctionFromJSON(jsonString) {
1841
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetAllPromptsPromptsFunction$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllPromptsPromptsFunction' from JSON`);
1842
- }
1843
- /** @internal */
1844
- exports.GetAllPromptsPromptsToolCalls$inboundSchema = z.object({
1845
- id: z.string().optional(),
1846
- index: z.number().optional(),
1847
- type: exports.GetAllPromptsPromptsResponseType$inboundSchema,
1848
- function: z.lazy(() => exports.GetAllPromptsPromptsFunction$inboundSchema),
1849
- });
1850
- /** @internal */
1851
- exports.GetAllPromptsPromptsToolCalls$outboundSchema = z.object({
1852
- id: z.string().optional(),
1853
- index: z.number().optional(),
1854
- type: exports.GetAllPromptsPromptsResponseType$outboundSchema,
1855
- function: z.lazy(() => exports.GetAllPromptsPromptsFunction$outboundSchema),
1856
- });
1857
- /**
1858
- * @internal
1859
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1860
- */
1861
- var GetAllPromptsPromptsToolCalls$;
1862
- (function (GetAllPromptsPromptsToolCalls$) {
1863
- /** @deprecated use `GetAllPromptsPromptsToolCalls$inboundSchema` instead. */
1864
- GetAllPromptsPromptsToolCalls$.inboundSchema = exports.GetAllPromptsPromptsToolCalls$inboundSchema;
1865
- /** @deprecated use `GetAllPromptsPromptsToolCalls$outboundSchema` instead. */
1866
- GetAllPromptsPromptsToolCalls$.outboundSchema = exports.GetAllPromptsPromptsToolCalls$outboundSchema;
1867
- })(GetAllPromptsPromptsToolCalls$ || (exports.GetAllPromptsPromptsToolCalls$ = GetAllPromptsPromptsToolCalls$ = {}));
1868
- function getAllPromptsPromptsToolCallsToJSON(getAllPromptsPromptsToolCalls) {
1869
- return JSON.stringify(exports.GetAllPromptsPromptsToolCalls$outboundSchema.parse(getAllPromptsPromptsToolCalls));
1870
- }
1871
- function getAllPromptsPromptsToolCallsFromJSON(jsonString) {
1872
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetAllPromptsPromptsToolCalls$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllPromptsPromptsToolCalls' from JSON`);
1873
- }
1874
- /** @internal */
1875
- exports.GetAllPromptsPromptsMessages$inboundSchema = z.object({
1876
- role: exports.GetAllPromptsPromptsRole$inboundSchema,
1877
- content: z.union([
1878
- z.string(),
1879
- z.array(z.union([
1880
- z.lazy(() => exports.GetAllPrompts2Prompts1$inboundSchema),
1881
- z.lazy(() => exports.GetAllPrompts2Prompts2$inboundSchema),
1882
- ])),
1883
- ]),
1884
- tool_calls: z.array(z.lazy(() => exports.GetAllPromptsPromptsToolCalls$inboundSchema))
1885
- .optional(),
1886
- }).transform((v) => {
1887
- return (0, primitives_js_1.remap)(v, {
1888
- "tool_calls": "toolCalls",
1889
- });
1890
- });
1891
- /** @internal */
1892
- exports.GetAllPromptsPromptsMessages$outboundSchema = z.object({
1893
- role: exports.GetAllPromptsPromptsRole$outboundSchema,
1894
- content: z.union([
1895
- z.string(),
1896
- z.array(z.union([
1897
- z.lazy(() => exports.GetAllPrompts2Prompts1$outboundSchema),
1898
- z.lazy(() => exports.GetAllPrompts2Prompts2$outboundSchema),
1899
- ])),
1900
- ]),
1901
- toolCalls: z.array(z.lazy(() => exports.GetAllPromptsPromptsToolCalls$outboundSchema))
1902
- .optional(),
1903
- }).transform((v) => {
1904
- return (0, primitives_js_1.remap)(v, {
1905
- toolCalls: "tool_calls",
1906
- });
1907
- });
1908
- /**
1909
- * @internal
1910
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1911
- */
1912
- var GetAllPromptsPromptsMessages$;
1913
- (function (GetAllPromptsPromptsMessages$) {
1914
- /** @deprecated use `GetAllPromptsPromptsMessages$inboundSchema` instead. */
1915
- GetAllPromptsPromptsMessages$.inboundSchema = exports.GetAllPromptsPromptsMessages$inboundSchema;
1916
- /** @deprecated use `GetAllPromptsPromptsMessages$outboundSchema` instead. */
1917
- GetAllPromptsPromptsMessages$.outboundSchema = exports.GetAllPromptsPromptsMessages$outboundSchema;
1918
- })(GetAllPromptsPromptsMessages$ || (exports.GetAllPromptsPromptsMessages$ = GetAllPromptsPromptsMessages$ = {}));
1919
- function getAllPromptsPromptsMessagesToJSON(getAllPromptsPromptsMessages) {
1920
- return JSON.stringify(exports.GetAllPromptsPromptsMessages$outboundSchema.parse(getAllPromptsPromptsMessages));
1921
- }
1922
- function getAllPromptsPromptsMessagesFromJSON(jsonString) {
1923
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetAllPromptsPromptsMessages$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllPromptsPromptsMessages' from JSON`);
1924
- }
1925
- /** @internal */
1926
- exports.GetAllPromptsPromptsPromptConfig$inboundSchema = z.object({
1927
- stream: z.boolean().optional(),
1928
- model: z.string().optional(),
1929
- model_db_id: z.string().optional(),
1930
- model_type: exports.GetAllPromptsPromptsModelType$inboundSchema.optional(),
1931
- model_parameters: z.lazy(() => exports.GetAllPromptsPromptsModelParameters$inboundSchema).optional(),
1932
- provider: exports.GetAllPromptsPromptsProvider$inboundSchema.optional(),
1933
- integration_id: z.nullable(z.string()).optional(),
1934
- version: z.string().optional(),
1935
- messages: z.array(z.lazy(() => exports.GetAllPromptsPromptsMessages$inboundSchema)),
1936
- }).transform((v) => {
1937
- return (0, primitives_js_1.remap)(v, {
1938
- "model_db_id": "modelDbId",
1939
- "model_type": "modelType",
1940
- "model_parameters": "modelParameters",
1941
- "integration_id": "integrationId",
1942
- });
1943
- });
1944
- /** @internal */
1945
- exports.GetAllPromptsPromptsPromptConfig$outboundSchema = z.object({
1946
- stream: z.boolean().optional(),
1947
- model: z.string().optional(),
1948
- modelDbId: z.string().optional(),
1949
- modelType: exports.GetAllPromptsPromptsModelType$outboundSchema.optional(),
1950
- modelParameters: z.lazy(() => exports.GetAllPromptsPromptsModelParameters$outboundSchema).optional(),
1951
- provider: exports.GetAllPromptsPromptsProvider$outboundSchema.optional(),
1952
- integrationId: z.nullable(z.string()).optional(),
1953
- version: z.string().optional(),
1954
- messages: z.array(z.lazy(() => exports.GetAllPromptsPromptsMessages$outboundSchema)),
1955
- }).transform((v) => {
1956
- return (0, primitives_js_1.remap)(v, {
1957
- modelDbId: "model_db_id",
1958
- modelType: "model_type",
1959
- modelParameters: "model_parameters",
1960
- integrationId: "integration_id",
1961
- });
1962
- });
1963
- /**
1964
- * @internal
1965
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1966
- */
1967
- var GetAllPromptsPromptsPromptConfig$;
1968
- (function (GetAllPromptsPromptsPromptConfig$) {
1969
- /** @deprecated use `GetAllPromptsPromptsPromptConfig$inboundSchema` instead. */
1970
- GetAllPromptsPromptsPromptConfig$.inboundSchema = exports.GetAllPromptsPromptsPromptConfig$inboundSchema;
1971
- /** @deprecated use `GetAllPromptsPromptsPromptConfig$outboundSchema` instead. */
1972
- GetAllPromptsPromptsPromptConfig$.outboundSchema = exports.GetAllPromptsPromptsPromptConfig$outboundSchema;
1973
- })(GetAllPromptsPromptsPromptConfig$ || (exports.GetAllPromptsPromptsPromptConfig$ = GetAllPromptsPromptsPromptConfig$ = {}));
1974
- function getAllPromptsPromptsPromptConfigToJSON(getAllPromptsPromptsPromptConfig) {
1975
- return JSON.stringify(exports.GetAllPromptsPromptsPromptConfig$outboundSchema.parse(getAllPromptsPromptsPromptConfig));
1976
- }
1977
- function getAllPromptsPromptsPromptConfigFromJSON(jsonString) {
1978
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetAllPromptsPromptsPromptConfig$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllPromptsPromptsPromptConfig' from JSON`);
1979
- }
1980
- /** @internal */
1981
- exports.GetAllPromptsPromptsUseCases$inboundSchema = z.nativeEnum(exports.GetAllPromptsPromptsUseCases);
1982
- /** @internal */
1983
- exports.GetAllPromptsPromptsUseCases$outboundSchema = exports.GetAllPromptsPromptsUseCases$inboundSchema;
1984
- /**
1985
- * @internal
1986
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1987
- */
1988
- var GetAllPromptsPromptsUseCases$;
1989
- (function (GetAllPromptsPromptsUseCases$) {
1990
- /** @deprecated use `GetAllPromptsPromptsUseCases$inboundSchema` instead. */
1991
- GetAllPromptsPromptsUseCases$.inboundSchema = exports.GetAllPromptsPromptsUseCases$inboundSchema;
1992
- /** @deprecated use `GetAllPromptsPromptsUseCases$outboundSchema` instead. */
1993
- GetAllPromptsPromptsUseCases$.outboundSchema = exports.GetAllPromptsPromptsUseCases$outboundSchema;
1994
- })(GetAllPromptsPromptsUseCases$ || (exports.GetAllPromptsPromptsUseCases$ = GetAllPromptsPromptsUseCases$ = {}));
1995
- /** @internal */
1996
- exports.GetAllPromptsPromptsLanguage$inboundSchema = z.nativeEnum(exports.GetAllPromptsPromptsLanguage);
1997
- /** @internal */
1998
- exports.GetAllPromptsPromptsLanguage$outboundSchema = exports.GetAllPromptsPromptsLanguage$inboundSchema;
1999
- /**
2000
- * @internal
2001
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2002
- */
2003
- var GetAllPromptsPromptsLanguage$;
2004
- (function (GetAllPromptsPromptsLanguage$) {
2005
- /** @deprecated use `GetAllPromptsPromptsLanguage$inboundSchema` instead. */
2006
- GetAllPromptsPromptsLanguage$.inboundSchema = exports.GetAllPromptsPromptsLanguage$inboundSchema;
2007
- /** @deprecated use `GetAllPromptsPromptsLanguage$outboundSchema` instead. */
2008
- GetAllPromptsPromptsLanguage$.outboundSchema = exports.GetAllPromptsPromptsLanguage$outboundSchema;
2009
- })(GetAllPromptsPromptsLanguage$ || (exports.GetAllPromptsPromptsLanguage$ = GetAllPromptsPromptsLanguage$ = {}));
2010
- /** @internal */
2011
- exports.GetAllPromptsPromptsMetadata$inboundSchema = z.object({
2012
- use_cases: z.array(exports.GetAllPromptsPromptsUseCases$inboundSchema).optional(),
2013
- language: exports.GetAllPromptsPromptsLanguage$inboundSchema.optional(),
2014
- }).transform((v) => {
2015
- return (0, primitives_js_1.remap)(v, {
2016
- "use_cases": "useCases",
2017
- });
2018
- });
2019
- /** @internal */
2020
- exports.GetAllPromptsPromptsMetadata$outboundSchema = z.object({
2021
- useCases: z.array(exports.GetAllPromptsPromptsUseCases$outboundSchema).optional(),
2022
- language: exports.GetAllPromptsPromptsLanguage$outboundSchema.optional(),
2023
- }).transform((v) => {
2024
- return (0, primitives_js_1.remap)(v, {
2025
- useCases: "use_cases",
2026
- });
2027
- });
2028
- /**
2029
- * @internal
2030
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2031
- */
2032
- var GetAllPromptsPromptsMetadata$;
2033
- (function (GetAllPromptsPromptsMetadata$) {
2034
- /** @deprecated use `GetAllPromptsPromptsMetadata$inboundSchema` instead. */
2035
- GetAllPromptsPromptsMetadata$.inboundSchema = exports.GetAllPromptsPromptsMetadata$inboundSchema;
2036
- /** @deprecated use `GetAllPromptsPromptsMetadata$outboundSchema` instead. */
2037
- GetAllPromptsPromptsMetadata$.outboundSchema = exports.GetAllPromptsPromptsMetadata$outboundSchema;
2038
- })(GetAllPromptsPromptsMetadata$ || (exports.GetAllPromptsPromptsMetadata$ = GetAllPromptsPromptsMetadata$ = {}));
2039
- function getAllPromptsPromptsMetadataToJSON(getAllPromptsPromptsMetadata) {
2040
- return JSON.stringify(exports.GetAllPromptsPromptsMetadata$outboundSchema.parse(getAllPromptsPromptsMetadata));
2041
- }
2042
- function getAllPromptsPromptsMetadataFromJSON(jsonString) {
2043
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetAllPromptsPromptsMetadata$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllPromptsPromptsMetadata' from JSON`);
2044
- }
2045
- /** @internal */
2046
- exports.GetAllPromptsVersions$inboundSchema = z.object({
2047
- _id: z.string(),
2048
- created_by_id: z.string().optional(),
2049
- updated_by_id: z.string().optional(),
2050
- description: z.nullable(z.string()).optional(),
2051
- prompt_config: z.lazy(() => exports.GetAllPromptsPromptsPromptConfig$inboundSchema),
2052
- metadata: z.lazy(() => exports.GetAllPromptsPromptsMetadata$inboundSchema),
2053
- timestamp: z.string(),
2054
- }).transform((v) => {
2055
- return (0, primitives_js_1.remap)(v, {
2056
- "_id": "id",
2057
- "created_by_id": "createdById",
2058
- "updated_by_id": "updatedById",
2059
- "prompt_config": "promptConfig",
2060
- });
2061
- });
2062
- /** @internal */
2063
- exports.GetAllPromptsVersions$outboundSchema = z.object({
2064
- id: z.string(),
2065
- createdById: z.string().optional(),
2066
- updatedById: z.string().optional(),
2067
- description: z.nullable(z.string()).optional(),
2068
- promptConfig: z.lazy(() => exports.GetAllPromptsPromptsPromptConfig$outboundSchema),
2069
- metadata: z.lazy(() => exports.GetAllPromptsPromptsMetadata$outboundSchema),
2070
- timestamp: z.string(),
2071
- }).transform((v) => {
2072
- return (0, primitives_js_1.remap)(v, {
2073
- id: "_id",
2074
- createdById: "created_by_id",
2075
- updatedById: "updated_by_id",
2076
- promptConfig: "prompt_config",
2077
- });
2078
- });
2079
- /**
2080
- * @internal
2081
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2082
- */
2083
- var GetAllPromptsVersions$;
2084
- (function (GetAllPromptsVersions$) {
2085
- /** @deprecated use `GetAllPromptsVersions$inboundSchema` instead. */
2086
- GetAllPromptsVersions$.inboundSchema = exports.GetAllPromptsVersions$inboundSchema;
2087
- /** @deprecated use `GetAllPromptsVersions$outboundSchema` instead. */
2088
- GetAllPromptsVersions$.outboundSchema = exports.GetAllPromptsVersions$outboundSchema;
2089
- })(GetAllPromptsVersions$ || (exports.GetAllPromptsVersions$ = GetAllPromptsVersions$ = {}));
2090
- function getAllPromptsVersionsToJSON(getAllPromptsVersions) {
2091
- return JSON.stringify(exports.GetAllPromptsVersions$outboundSchema.parse(getAllPromptsVersions));
2092
- }
2093
- function getAllPromptsVersionsFromJSON(jsonString) {
2094
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetAllPromptsVersions$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllPromptsVersions' from JSON`);
2095
- }
2096
- /** @internal */
2097
- exports.GetAllPromptsData$inboundSchema = z.object({
2098
- _id: z.string(),
2099
- owner: z.union([z.string(), exports.GetAllPromptsOwner2$inboundSchema]),
2100
- domain_id: z.string(),
2101
- created_by_id: z.string().optional(),
2102
- display_name: z.string(),
2103
- updated_by_id: z.string().optional(),
2104
- description: z.nullable(z.string()).optional(),
2105
- prompt_config: z.lazy(() => exports.GetAllPromptsPromptConfig$inboundSchema),
2106
- metadata: z.lazy(() => exports.GetAllPromptsMetadata$inboundSchema),
2107
- created: z.string().datetime({ offset: true }).transform(v => new Date(v))
2108
- .optional(),
2109
- updated: z.string().datetime({ offset: true }).default("2025-02-10T17:12:36.462Z").transform(v => new Date(v)),
2110
- type: exports.GetAllPromptsType$inboundSchema,
2111
- versions: z.array(z.lazy(() => exports.GetAllPromptsVersions$inboundSchema)),
2112
- }).transform((v) => {
2113
- return (0, primitives_js_1.remap)(v, {
2114
- "_id": "id",
2115
- "domain_id": "domainId",
2116
- "created_by_id": "createdById",
2117
- "display_name": "displayName",
2118
- "updated_by_id": "updatedById",
2119
- "prompt_config": "promptConfig",
2120
- });
2121
- });
2122
- /** @internal */
2123
- exports.GetAllPromptsData$outboundSchema = z.object({
2124
- id: z.string(),
2125
- owner: z.union([z.string(), exports.GetAllPromptsOwner2$outboundSchema]),
2126
- domainId: z.string(),
2127
- createdById: z.string().optional(),
2128
- displayName: z.string(),
2129
- updatedById: z.string().optional(),
2130
- description: z.nullable(z.string()).optional(),
2131
- promptConfig: z.lazy(() => exports.GetAllPromptsPromptConfig$outboundSchema),
2132
- metadata: z.lazy(() => exports.GetAllPromptsMetadata$outboundSchema),
2133
- created: z.date().transform(v => v.toISOString()).optional(),
2134
- updated: z.date().default(() => new Date("2025-02-10T17:12:36.462Z"))
2135
- .transform(v => v.toISOString()),
2136
- type: exports.GetAllPromptsType$outboundSchema,
2137
- versions: z.array(z.lazy(() => exports.GetAllPromptsVersions$outboundSchema)),
1073
+ exports.GetAllPromptsData$outboundSchema = z.object({
1074
+ id: z.string(),
1075
+ type: exports.GetAllPromptsType$outboundSchema,
1076
+ owner: z.string(),
1077
+ domainId: z.string(),
1078
+ created: z.string(),
1079
+ updated: z.string(),
1080
+ createdById: z.string().optional(),
1081
+ updatedById: z.string().optional(),
1082
+ displayName: z.string(),
1083
+ description: z.nullable(z.string()).optional(),
1084
+ promptConfig: z.lazy(() => exports.GetAllPromptsPromptConfig$outboundSchema),
1085
+ metadata: z.lazy(() => exports.GetAllPromptsMetadata$outboundSchema).optional(),
2138
1086
  }).transform((v) => {
2139
1087
  return (0, primitives_js_1.remap)(v, {
2140
1088
  id: "_id",
2141
1089
  domainId: "domain_id",
2142
1090
  createdById: "created_by_id",
2143
- displayName: "display_name",
2144
1091
  updatedById: "updated_by_id",
1092
+ displayName: "display_name",
2145
1093
  promptConfig: "prompt_config",
2146
1094
  });
2147
1095
  });