@orq-ai/node 4.15.2 → 4.16.0-rc.1

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 (1381) hide show
  1. package/jsr.json +1 -1
  2. package/lib/config.d.ts +2 -2
  3. package/lib/config.js +2 -2
  4. package/lib/config.js.map +1 -1
  5. package/models/components/reasoningpart.js +1 -1
  6. package/models/operations/createdataset.js +1 -1
  7. package/models/operations/createdatasetitem.js +5 -5
  8. package/models/operations/createtool.js +4 -4
  9. package/models/operations/getalltools.js +4 -4
  10. package/models/operations/getv2humanevalsets.js +2 -2
  11. package/models/operations/getv2humanevalsetsid.js +2 -2
  12. package/models/operations/listdatasetdatapoints.js +5 -5
  13. package/models/operations/listdatasets.js +1 -1
  14. package/models/operations/patchv2humanevalsetsid.js +2 -2
  15. package/models/operations/postv2feedbackevaluation.js +4 -4
  16. package/models/operations/postv2humanevalsets.js +2 -2
  17. package/models/operations/retrievedatapoint.js +5 -5
  18. package/models/operations/retrievedataset.js +1 -1
  19. package/models/operations/retrievetool.js +4 -4
  20. package/models/operations/runagent.js +1 -1
  21. package/models/operations/streamrunagent.js +1 -1
  22. package/models/operations/updatedatapoint.js +5 -5
  23. package/models/operations/updatedataset.js +1 -1
  24. package/models/operations/updatetool.js +4 -4
  25. package/package.json +3 -2
  26. package/src/lib/config.ts +2 -2
  27. package/src/models/components/reasoningpart.ts +1 -1
  28. package/src/models/operations/createdataset.ts +1 -1
  29. package/src/models/operations/createdatasetitem.ts +5 -5
  30. package/src/models/operations/createtool.ts +4 -4
  31. package/src/models/operations/getalltools.ts +4 -4
  32. package/src/models/operations/getv2humanevalsets.ts +2 -2
  33. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  34. package/src/models/operations/listdatasetdatapoints.ts +5 -5
  35. package/src/models/operations/listdatasets.ts +1 -1
  36. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  37. package/src/models/operations/postv2feedbackevaluation.ts +4 -4
  38. package/src/models/operations/postv2humanevalsets.ts +2 -2
  39. package/src/models/operations/retrievedatapoint.ts +5 -5
  40. package/src/models/operations/retrievedataset.ts +1 -1
  41. package/src/models/operations/retrievetool.ts +4 -4
  42. package/src/models/operations/runagent.ts +1 -1
  43. package/src/models/operations/streamrunagent.ts +1 -1
  44. package/src/models/operations/updatedatapoint.ts +5 -5
  45. package/src/models/operations/updatedataset.ts +1 -1
  46. package/src/models/operations/updatetool.ts +4 -4
  47. package/packages/orq-rc/examples/deploymentsInvoke.example.ts +0 -62
  48. package/packages/orq-rc/src/core.ts +0 -13
  49. package/packages/orq-rc/src/funcs/agentsCreate.ts +0 -163
  50. package/packages/orq-rc/src/funcs/agentsDelete.ts +0 -181
  51. package/packages/orq-rc/src/funcs/agentsInvoke.ts +0 -178
  52. package/packages/orq-rc/src/funcs/agentsList.ts +0 -186
  53. package/packages/orq-rc/src/funcs/agentsResponsesCreate.ts +0 -189
  54. package/packages/orq-rc/src/funcs/agentsResponsesGet.ts +0 -185
  55. package/packages/orq-rc/src/funcs/agentsRetrieve.ts +0 -181
  56. package/packages/orq-rc/src/funcs/agentsRun.ts +0 -164
  57. package/packages/orq-rc/src/funcs/agentsStream.ts +0 -205
  58. package/packages/orq-rc/src/funcs/agentsStreamRun.ts +0 -191
  59. package/packages/orq-rc/src/funcs/agentsUpdate.ts +0 -185
  60. package/packages/orq-rc/src/funcs/alertsCreate.ts +0 -162
  61. package/packages/orq-rc/src/funcs/alertsDelete.ts +0 -168
  62. package/packages/orq-rc/src/funcs/alertsGet.ts +0 -168
  63. package/packages/orq-rc/src/funcs/alertsList.ts +0 -171
  64. package/packages/orq-rc/src/funcs/alertsListTriggerEvents.ts +0 -182
  65. package/packages/orq-rc/src/funcs/alertsListTriggers.ts +0 -175
  66. package/packages/orq-rc/src/funcs/alertsUpdate.ts +0 -171
  67. package/packages/orq-rc/src/funcs/annotationQueuesAddItems.ts +0 -176
  68. package/packages/orq-rc/src/funcs/annotationQueuesClear.ts +0 -172
  69. package/packages/orq-rc/src/funcs/annotationQueuesCreate.ts +0 -163
  70. package/packages/orq-rc/src/funcs/annotationQueuesDelete.ts +0 -172
  71. package/packages/orq-rc/src/funcs/annotationQueuesList.ts +0 -174
  72. package/packages/orq-rc/src/funcs/annotationQueuesListItems.ts +0 -179
  73. package/packages/orq-rc/src/funcs/annotationQueuesRemoveItems.ts +0 -175
  74. package/packages/orq-rc/src/funcs/annotationQueuesRetrieve.ts +0 -172
  75. package/packages/orq-rc/src/funcs/annotationQueuesRetrieveItem.ts +0 -178
  76. package/packages/orq-rc/src/funcs/annotationQueuesUpdate.ts +0 -175
  77. package/packages/orq-rc/src/funcs/annotationsCreate.ts +0 -175
  78. package/packages/orq-rc/src/funcs/annotationsDelete.ts +0 -175
  79. package/packages/orq-rc/src/funcs/apiKeysCreate.ts +0 -162
  80. package/packages/orq-rc/src/funcs/apiKeysDelete.ts +0 -168
  81. package/packages/orq-rc/src/funcs/apiKeysGet.ts +0 -173
  82. package/packages/orq-rc/src/funcs/apiKeysList.ts +0 -177
  83. package/packages/orq-rc/src/funcs/apiKeysListCapabilities.ts +0 -144
  84. package/packages/orq-rc/src/funcs/apiKeysUpdate.ts +0 -171
  85. package/packages/orq-rc/src/funcs/auditLogsQuery.ts +0 -162
  86. package/packages/orq-rc/src/funcs/budgetsCreate.ts +0 -162
  87. package/packages/orq-rc/src/funcs/budgetsDelete.ts +0 -168
  88. package/packages/orq-rc/src/funcs/budgetsGet.ts +0 -168
  89. package/packages/orq-rc/src/funcs/budgetsList.ts +0 -176
  90. package/packages/orq-rc/src/funcs/budgetsResetConsumption.ts +0 -174
  91. package/packages/orq-rc/src/funcs/budgetsUpdate.ts +0 -171
  92. package/packages/orq-rc/src/funcs/chunkingParse.ts +0 -163
  93. package/packages/orq-rc/src/funcs/datasetsClear.ts +0 -177
  94. package/packages/orq-rc/src/funcs/datasetsCreate.ts +0 -167
  95. package/packages/orq-rc/src/funcs/datasetsCreateDatapoint.ts +0 -178
  96. package/packages/orq-rc/src/funcs/datasetsDelete.ts +0 -168
  97. package/packages/orq-rc/src/funcs/datasetsDeleteDatapoint.ts +0 -183
  98. package/packages/orq-rc/src/funcs/datasetsList.ts +0 -172
  99. package/packages/orq-rc/src/funcs/datasetsListDatapoints.ts +0 -184
  100. package/packages/orq-rc/src/funcs/datasetsRetrieve.ts +0 -176
  101. package/packages/orq-rc/src/funcs/datasetsRetrieveDatapoint.ts +0 -182
  102. package/packages/orq-rc/src/funcs/datasetsUpdate.ts +0 -177
  103. package/packages/orq-rc/src/funcs/datasetsUpdateDatapoint.ts +0 -183
  104. package/packages/orq-rc/src/funcs/deploymentsGetConfig.ts +0 -170
  105. package/packages/orq-rc/src/funcs/deploymentsInvoke.ts +0 -170
  106. package/packages/orq-rc/src/funcs/deploymentsList.ts +0 -178
  107. package/packages/orq-rc/src/funcs/deploymentsStream.ts +0 -180
  108. package/packages/orq-rc/src/funcs/evalsAll.ts +0 -181
  109. package/packages/orq-rc/src/funcs/evalsCreate.ts +0 -174
  110. package/packages/orq-rc/src/funcs/evalsDelete.ts +0 -181
  111. package/packages/orq-rc/src/funcs/evalsGet.ts +0 -176
  112. package/packages/orq-rc/src/funcs/evalsGetVersion.ts +0 -173
  113. package/packages/orq-rc/src/funcs/evalsInvoke.ts +0 -171
  114. package/packages/orq-rc/src/funcs/evalsListVersions.ts +0 -175
  115. package/packages/orq-rc/src/funcs/evalsUpdate.ts +0 -177
  116. package/packages/orq-rc/src/funcs/feedbackCreate.ts +0 -174
  117. package/packages/orq-rc/src/funcs/feedbackCreateEvaluation.ts +0 -161
  118. package/packages/orq-rc/src/funcs/feedbackRemove.ts +0 -169
  119. package/packages/orq-rc/src/funcs/feedbackRemoveEvaluation.ts +0 -161
  120. package/packages/orq-rc/src/funcs/fileSystemsCreate.ts +0 -162
  121. package/packages/orq-rc/src/funcs/fileSystemsCreateFolder.ts +0 -173
  122. package/packages/orq-rc/src/funcs/fileSystemsDelete.ts +0 -169
  123. package/packages/orq-rc/src/funcs/fileSystemsDeleteFile.ts +0 -183
  124. package/packages/orq-rc/src/funcs/fileSystemsList.ts +0 -172
  125. package/packages/orq-rc/src/funcs/fileSystemsListFiles.ts +0 -177
  126. package/packages/orq-rc/src/funcs/fileSystemsMoveFile.ts +0 -173
  127. package/packages/orq-rc/src/funcs/fileSystemsRetrieve.ts +0 -168
  128. package/packages/orq-rc/src/funcs/fileSystemsStatFile.ts +0 -175
  129. package/packages/orq-rc/src/funcs/fileSystemsUpdate.ts +0 -171
  130. package/packages/orq-rc/src/funcs/filesCreate.ts +0 -162
  131. package/packages/orq-rc/src/funcs/filesDelete.ts +0 -168
  132. package/packages/orq-rc/src/funcs/filesGet.ts +0 -168
  133. package/packages/orq-rc/src/funcs/filesGetContent.ts +0 -168
  134. package/packages/orq-rc/src/funcs/filesList.ts +0 -172
  135. package/packages/orq-rc/src/funcs/filesUpdate.ts +0 -169
  136. package/packages/orq-rc/src/funcs/guardrailRulesCreate.ts +0 -163
  137. package/packages/orq-rc/src/funcs/guardrailRulesDelete.ts +0 -172
  138. package/packages/orq-rc/src/funcs/guardrailRulesList.ts +0 -177
  139. package/packages/orq-rc/src/funcs/guardrailRulesListUsedGuardrails.ts +0 -172
  140. package/packages/orq-rc/src/funcs/guardrailRulesRetrieve.ts +0 -171
  141. package/packages/orq-rc/src/funcs/guardrailRulesUpdate.ts +0 -175
  142. package/packages/orq-rc/src/funcs/hubGet.ts +0 -168
  143. package/packages/orq-rc/src/funcs/hubSearch.ts +0 -169
  144. package/packages/orq-rc/src/funcs/humanReviewSetsCreate.ts +0 -164
  145. package/packages/orq-rc/src/funcs/humanReviewSetsDelete.ts +0 -166
  146. package/packages/orq-rc/src/funcs/humanReviewSetsGet.ts +0 -165
  147. package/packages/orq-rc/src/funcs/humanReviewSetsList.ts +0 -170
  148. package/packages/orq-rc/src/funcs/humanReviewSetsUpdate.ts +0 -166
  149. package/packages/orq-rc/src/funcs/identitiesCreate.ts +0 -170
  150. package/packages/orq-rc/src/funcs/identitiesDelete.ts +0 -168
  151. package/packages/orq-rc/src/funcs/identitiesList.ts +0 -175
  152. package/packages/orq-rc/src/funcs/identitiesRetrieve.ts +0 -174
  153. package/packages/orq-rc/src/funcs/identitiesUpdate.ts +0 -171
  154. package/packages/orq-rc/src/funcs/knowledgeCreate.ts +0 -163
  155. package/packages/orq-rc/src/funcs/knowledgeCreateChunks.ts +0 -176
  156. package/packages/orq-rc/src/funcs/knowledgeCreateDatasource.ts +0 -173
  157. package/packages/orq-rc/src/funcs/knowledgeDelete.ts +0 -168
  158. package/packages/orq-rc/src/funcs/knowledgeDeleteChunk.ts +0 -178
  159. package/packages/orq-rc/src/funcs/knowledgeDeleteChunks.ts +0 -177
  160. package/packages/orq-rc/src/funcs/knowledgeDeleteDatasource.ts +0 -174
  161. package/packages/orq-rc/src/funcs/knowledgeGetChunksCount.ts +0 -177
  162. package/packages/orq-rc/src/funcs/knowledgeList.ts +0 -176
  163. package/packages/orq-rc/src/funcs/knowledgeListChunks.ts +0 -183
  164. package/packages/orq-rc/src/funcs/knowledgeListChunksPaginated.ts +0 -178
  165. package/packages/orq-rc/src/funcs/knowledgeListDatasources.ts +0 -179
  166. package/packages/orq-rc/src/funcs/knowledgePreviewChunks.ts +0 -179
  167. package/packages/orq-rc/src/funcs/knowledgeRetrieve.ts +0 -168
  168. package/packages/orq-rc/src/funcs/knowledgeRetrieveChunk.ts +0 -178
  169. package/packages/orq-rc/src/funcs/knowledgeRetrieveDatasource.ts +0 -174
  170. package/packages/orq-rc/src/funcs/knowledgeRetrieveFileUrl.ts +0 -187
  171. package/packages/orq-rc/src/funcs/knowledgeRetrieveProcessingStatus.ts +0 -180
  172. package/packages/orq-rc/src/funcs/knowledgeSearch.ts +0 -171
  173. package/packages/orq-rc/src/funcs/knowledgeToggleChunk.ts +0 -181
  174. package/packages/orq-rc/src/funcs/knowledgeUpdate.ts +0 -171
  175. package/packages/orq-rc/src/funcs/knowledgeUpdateChunk.ts +0 -181
  176. package/packages/orq-rc/src/funcs/knowledgeUpdateDatasource.ts +0 -177
  177. package/packages/orq-rc/src/funcs/logsAggregate.ts +0 -162
  178. package/packages/orq-rc/src/funcs/logsContext.ts +0 -171
  179. package/packages/orq-rc/src/funcs/logsFindPatterns.ts +0 -162
  180. package/packages/orq-rc/src/funcs/logsGet.ts +0 -168
  181. package/packages/orq-rc/src/funcs/logsListFacetValues.ts +0 -176
  182. package/packages/orq-rc/src/funcs/logsListFacets.ts +0 -162
  183. package/packages/orq-rc/src/funcs/logsListFields.ts +0 -144
  184. package/packages/orq-rc/src/funcs/logsListTraceLogs.ts +0 -174
  185. package/packages/orq-rc/src/funcs/logsQuery.ts +0 -162
  186. package/packages/orq-rc/src/funcs/logsSearch.ts +0 -162
  187. package/packages/orq-rc/src/funcs/managementKeysCreate.ts +0 -163
  188. package/packages/orq-rc/src/funcs/managementKeysDelete.ts +0 -172
  189. package/packages/orq-rc/src/funcs/managementKeysGet.ts +0 -171
  190. package/packages/orq-rc/src/funcs/managementKeysList.ts +0 -175
  191. package/packages/orq-rc/src/funcs/managementKeysListCapabilities.ts +0 -144
  192. package/packages/orq-rc/src/funcs/managementKeysUpdate.ts +0 -175
  193. package/packages/orq-rc/src/funcs/mcpGatewaysCreate.ts +0 -162
  194. package/packages/orq-rc/src/funcs/mcpGatewaysDelete.ts +0 -168
  195. package/packages/orq-rc/src/funcs/mcpGatewaysList.ts +0 -172
  196. package/packages/orq-rc/src/funcs/mcpGatewaysListTools.ts +0 -177
  197. package/packages/orq-rc/src/funcs/mcpGatewaysRetrieve.ts +0 -168
  198. package/packages/orq-rc/src/funcs/mcpGatewaysUpdate.ts +0 -171
  199. package/packages/orq-rc/src/funcs/mcpServersCreate.ts +0 -162
  200. package/packages/orq-rc/src/funcs/mcpServersDelete.ts +0 -168
  201. package/packages/orq-rc/src/funcs/mcpServersList.ts +0 -171
  202. package/packages/orq-rc/src/funcs/mcpServersRetrieve.ts +0 -168
  203. package/packages/orq-rc/src/funcs/mcpServersSync.ts +0 -171
  204. package/packages/orq-rc/src/funcs/mcpServersTestTool.ts +0 -171
  205. package/packages/orq-rc/src/funcs/mcpServersUpdate.ts +0 -171
  206. package/packages/orq-rc/src/funcs/memoryStoresCreate.ts +0 -159
  207. package/packages/orq-rc/src/funcs/memoryStoresCreateDocument.ts +0 -180
  208. package/packages/orq-rc/src/funcs/memoryStoresCreateMemory.ts +0 -174
  209. package/packages/orq-rc/src/funcs/memoryStoresDelete.ts +0 -169
  210. package/packages/orq-rc/src/funcs/memoryStoresDeleteDocument.ts +0 -186
  211. package/packages/orq-rc/src/funcs/memoryStoresDeleteMemory.ts +0 -181
  212. package/packages/orq-rc/src/funcs/memoryStoresList.ts +0 -184
  213. package/packages/orq-rc/src/funcs/memoryStoresListDocuments.ts +0 -186
  214. package/packages/orq-rc/src/funcs/memoryStoresListMemories.ts +0 -179
  215. package/packages/orq-rc/src/funcs/memoryStoresRetrieve.ts +0 -179
  216. package/packages/orq-rc/src/funcs/memoryStoresRetrieveDocument.ts +0 -181
  217. package/packages/orq-rc/src/funcs/memoryStoresRetrieveMemory.ts +0 -176
  218. package/packages/orq-rc/src/funcs/memoryStoresUpdate.ts +0 -172
  219. package/packages/orq-rc/src/funcs/memoryStoresUpdateDocument.ts +0 -184
  220. package/packages/orq-rc/src/funcs/memoryStoresUpdateMemory.ts +0 -179
  221. package/packages/orq-rc/src/funcs/modelCatalogGet.ts +0 -168
  222. package/packages/orq-rc/src/funcs/modelCatalogList.ts +0 -182
  223. package/packages/orq-rc/src/funcs/modelCatalogListOfferings.ts +0 -187
  224. package/packages/orq-rc/src/funcs/modelsAzureFoundryDeployments.ts +0 -168
  225. package/packages/orq-rc/src/funcs/modelsCreate.ts +0 -162
  226. package/packages/orq-rc/src/funcs/modelsCreateAwsBedrock.ts +0 -163
  227. package/packages/orq-rc/src/funcs/modelsCreateOpenaiLike.ts +0 -163
  228. package/packages/orq-rc/src/funcs/modelsCreateVertex.ts +0 -163
  229. package/packages/orq-rc/src/funcs/modelsDelete.ts +0 -168
  230. package/packages/orq-rc/src/funcs/modelsDisable.ts +0 -168
  231. package/packages/orq-rc/src/funcs/modelsEnable.ts +0 -163
  232. package/packages/orq-rc/src/funcs/modelsImportLitellm.ts +0 -166
  233. package/packages/orq-rc/src/funcs/modelsList.ts +0 -144
  234. package/packages/orq-rc/src/funcs/modelsListLitellm.ts +0 -144
  235. package/packages/orq-rc/src/funcs/modelsUpdate.ts +0 -168
  236. package/packages/orq-rc/src/funcs/modelsUpdateAwsBedrock.ts +0 -169
  237. package/packages/orq-rc/src/funcs/modelsUpdateOpenaiLike.ts +0 -169
  238. package/packages/orq-rc/src/funcs/modelsValidate.ts +0 -163
  239. package/packages/orq-rc/src/funcs/modelsValidateAwsBedrock.ts +0 -164
  240. package/packages/orq-rc/src/funcs/notifiersCreate.ts +0 -162
  241. package/packages/orq-rc/src/funcs/notifiersDelete.ts +0 -168
  242. package/packages/orq-rc/src/funcs/notifiersGet.ts +0 -168
  243. package/packages/orq-rc/src/funcs/notifiersList.ts +0 -173
  244. package/packages/orq-rc/src/funcs/notifiersUpdate.ts +0 -171
  245. package/packages/orq-rc/src/funcs/piiCapabilities.ts +0 -144
  246. package/packages/orq-rc/src/funcs/piiDetect.ts +0 -162
  247. package/packages/orq-rc/src/funcs/piiRedact.ts +0 -162
  248. package/packages/orq-rc/src/funcs/piiRestore.ts +0 -162
  249. package/packages/orq-rc/src/funcs/policiesCreate.ts +0 -162
  250. package/packages/orq-rc/src/funcs/policiesDelete.ts +0 -168
  251. package/packages/orq-rc/src/funcs/policiesList.ts +0 -170
  252. package/packages/orq-rc/src/funcs/policiesRetrieve.ts +0 -167
  253. package/packages/orq-rc/src/funcs/policiesUpdate.ts +0 -168
  254. package/packages/orq-rc/src/funcs/projectsCreate.ts +0 -162
  255. package/packages/orq-rc/src/funcs/projectsDelete.ts +0 -168
  256. package/packages/orq-rc/src/funcs/projectsGet.ts +0 -168
  257. package/packages/orq-rc/src/funcs/projectsList.ts +0 -170
  258. package/packages/orq-rc/src/funcs/projectsUpdate.ts +0 -171
  259. package/packages/orq-rc/src/funcs/promptsCreate.ts +0 -166
  260. package/packages/orq-rc/src/funcs/promptsDelete.ts +0 -177
  261. package/packages/orq-rc/src/funcs/promptsGetVersion.ts +0 -182
  262. package/packages/orq-rc/src/funcs/promptsList.ts +0 -169
  263. package/packages/orq-rc/src/funcs/promptsListVersions.ts +0 -174
  264. package/packages/orq-rc/src/funcs/promptsRetrieve.ts +0 -167
  265. package/packages/orq-rc/src/funcs/promptsUpdate.ts +0 -177
  266. package/packages/orq-rc/src/funcs/reportingQuery.ts +0 -162
  267. package/packages/orq-rc/src/funcs/responsesCreate.ts +0 -170
  268. package/packages/orq-rc/src/funcs/responsesGet.ts +0 -176
  269. package/packages/orq-rc/src/funcs/routerAudioSpeechCreate.ts +0 -163
  270. package/packages/orq-rc/src/funcs/routerAudioTranscriptionsCreate.ts +0 -275
  271. package/packages/orq-rc/src/funcs/routerAudioTranslationsCreate.ts +0 -265
  272. package/packages/orq-rc/src/funcs/routerChatCompletionsCreate.ts +0 -170
  273. package/packages/orq-rc/src/funcs/routerCompletionsCreate.ts +0 -170
  274. package/packages/orq-rc/src/funcs/routerEmbeddingsCreate.ts +0 -163
  275. package/packages/orq-rc/src/funcs/routerImagesEditsCreate.ts +0 -255
  276. package/packages/orq-rc/src/funcs/routerImagesGenerationsCreate.ts +0 -162
  277. package/packages/orq-rc/src/funcs/routerImagesVariationsCreate.ts +0 -251
  278. package/packages/orq-rc/src/funcs/routerModerationsCreate.ts +0 -172
  279. package/packages/orq-rc/src/funcs/routerOcr.ts +0 -160
  280. package/packages/orq-rc/src/funcs/routerRerankCreate.ts +0 -162
  281. package/packages/orq-rc/src/funcs/routingRulesCreate.ts +0 -162
  282. package/packages/orq-rc/src/funcs/routingRulesDelete.ts +0 -168
  283. package/packages/orq-rc/src/funcs/routingRulesList.ts +0 -174
  284. package/packages/orq-rc/src/funcs/routingRulesListUsedModels.ts +0 -169
  285. package/packages/orq-rc/src/funcs/routingRulesRetrieve.ts +0 -168
  286. package/packages/orq-rc/src/funcs/routingRulesUpdate.ts +0 -171
  287. package/packages/orq-rc/src/funcs/schedulesCreate.ts +0 -185
  288. package/packages/orq-rc/src/funcs/schedulesDelete.ts +0 -184
  289. package/packages/orq-rc/src/funcs/schedulesList.ts +0 -167
  290. package/packages/orq-rc/src/funcs/schedulesRetrieve.ts +0 -183
  291. package/packages/orq-rc/src/funcs/schedulesTrigger.ts +0 -190
  292. package/packages/orq-rc/src/funcs/schedulesUpdate.ts +0 -191
  293. package/packages/orq-rc/src/funcs/sessionsCreate.ts +0 -162
  294. package/packages/orq-rc/src/funcs/sessionsDelete.ts +0 -168
  295. package/packages/orq-rc/src/funcs/sessionsGet.ts +0 -168
  296. package/packages/orq-rc/src/funcs/sessionsGetCount.ts +0 -162
  297. package/packages/orq-rc/src/funcs/sessionsList.ts +0 -162
  298. package/packages/orq-rc/src/funcs/sessionsListTags.ts +0 -144
  299. package/packages/orq-rc/src/funcs/sessionsUpdate.ts +0 -171
  300. package/packages/orq-rc/src/funcs/skillsCreate.ts +0 -162
  301. package/packages/orq-rc/src/funcs/skillsDelete.ts +0 -168
  302. package/packages/orq-rc/src/funcs/skillsGet.ts +0 -168
  303. package/packages/orq-rc/src/funcs/skillsList.ts +0 -170
  304. package/packages/orq-rc/src/funcs/skillsUpdate.ts +0 -171
  305. package/packages/orq-rc/src/funcs/smartRoutersCreate.ts +0 -162
  306. package/packages/orq-rc/src/funcs/smartRoutersDelete.ts +0 -168
  307. package/packages/orq-rc/src/funcs/smartRoutersGet.ts +0 -168
  308. package/packages/orq-rc/src/funcs/smartRoutersList.ts +0 -173
  309. package/packages/orq-rc/src/funcs/smartRoutersUpdate.ts +0 -179
  310. package/packages/orq-rc/src/funcs/toolsCreate.ts +0 -165
  311. package/packages/orq-rc/src/funcs/toolsDelete.ts +0 -168
  312. package/packages/orq-rc/src/funcs/toolsGetVersion.ts +0 -191
  313. package/packages/orq-rc/src/funcs/toolsList.ts +0 -178
  314. package/packages/orq-rc/src/funcs/toolsListVersions.ts +0 -184
  315. package/packages/orq-rc/src/funcs/toolsRetrieve.ts +0 -167
  316. package/packages/orq-rc/src/funcs/toolsUpdate.ts +0 -177
  317. package/packages/orq-rc/src/funcs/tracesAggregate.ts +0 -162
  318. package/packages/orq-rc/src/funcs/tracesGet.ts +0 -168
  319. package/packages/orq-rc/src/funcs/tracesGetSpan.ts +0 -172
  320. package/packages/orq-rc/src/funcs/tracesListFacetValues.ts +0 -177
  321. package/packages/orq-rc/src/funcs/tracesListFacets.ts +0 -144
  322. package/packages/orq-rc/src/funcs/tracesListFields.ts +0 -144
  323. package/packages/orq-rc/src/funcs/tracesListSpans.ts +0 -174
  324. package/packages/orq-rc/src/funcs/tracesQuery.ts +0 -162
  325. package/packages/orq-rc/src/funcs/tracesSearch.ts +0 -162
  326. package/packages/orq-rc/src/funcs/webhooksCount.ts +0 -144
  327. package/packages/orq-rc/src/funcs/webhooksCreate.ts +0 -162
  328. package/packages/orq-rc/src/funcs/webhooksDelete.ts +0 -168
  329. package/packages/orq-rc/src/funcs/webhooksGenerateSecret.ts +0 -144
  330. package/packages/orq-rc/src/funcs/webhooksGet.ts +0 -168
  331. package/packages/orq-rc/src/funcs/webhooksList.ts +0 -175
  332. package/packages/orq-rc/src/funcs/webhooksQuery.ts +0 -164
  333. package/packages/orq-rc/src/funcs/webhooksUpdate.ts +0 -168
  334. package/packages/orq-rc/src/funcs/workspaceSecurityAddIPRange.ts +0 -172
  335. package/packages/orq-rc/src/funcs/workspaceSecurityCreateDomain.ts +0 -174
  336. package/packages/orq-rc/src/funcs/workspaceSecurityDeleteDomain.ts +0 -177
  337. package/packages/orq-rc/src/funcs/workspaceSecurityDeleteIPRange.ts +0 -177
  338. package/packages/orq-rc/src/funcs/workspaceSecurityGetIPAllowlist.ts +0 -171
  339. package/packages/orq-rc/src/funcs/workspaceSecurityListDomains.ts +0 -171
  340. package/packages/orq-rc/src/funcs/workspaceSecurityUpdateIPAllowlist.ts +0 -174
  341. package/packages/orq-rc/src/funcs/workspaceSecurityVerifyDomain.ts +0 -177
  342. package/packages/orq-rc/src/funcs/workspaceSettingsGet.ts +0 -144
  343. package/packages/orq-rc/src/funcs/workspaceSettingsUpdate.ts +0 -163
  344. package/packages/orq-rc/src/funcs/workspacesGet.ts +0 -168
  345. package/packages/orq-rc/src/funcs/workspacesList.ts +0 -170
  346. package/packages/orq-rc/src/funcs/workspacesUpdate.ts +0 -171
  347. package/packages/orq-rc/src/hooks/global.ts +0 -44
  348. package/packages/orq-rc/src/hooks/hooks.ts +0 -132
  349. package/packages/orq-rc/src/hooks/index.ts +0 -6
  350. package/packages/orq-rc/src/hooks/registration.ts +0 -15
  351. package/packages/orq-rc/src/hooks/types.ts +0 -113
  352. package/packages/orq-rc/src/index.ts +0 -9
  353. package/packages/orq-rc/src/lib/base64.ts +0 -37
  354. package/packages/orq-rc/src/lib/config.ts +0 -64
  355. package/packages/orq-rc/src/lib/encodings.ts +0 -560
  356. package/packages/orq-rc/src/lib/env.ts +0 -61
  357. package/packages/orq-rc/src/lib/event-streams.ts +0 -191
  358. package/packages/orq-rc/src/lib/files.ts +0 -104
  359. package/packages/orq-rc/src/lib/http.ts +0 -325
  360. package/packages/orq-rc/src/lib/logger.ts +0 -9
  361. package/packages/orq-rc/src/lib/matchers.ts +0 -346
  362. package/packages/orq-rc/src/lib/primitives.ts +0 -166
  363. package/packages/orq-rc/src/lib/retries.ts +0 -226
  364. package/packages/orq-rc/src/lib/schemas.ts +0 -91
  365. package/packages/orq-rc/src/lib/sdks.ts +0 -443
  366. package/packages/orq-rc/src/lib/security.ts +0 -280
  367. package/packages/orq-rc/src/lib/url.ts +0 -35
  368. package/packages/orq-rc/src/models/components/accesslevel.ts +0 -20
  369. package/packages/orq-rc/src/models/components/actionreviewedstreamingevent.ts +0 -99
  370. package/packages/orq-rc/src/models/components/actionreviewrequestedstreamingevent.ts +0 -190
  371. package/packages/orq-rc/src/models/components/addannotationqueueitemsrequest.ts +0 -41
  372. package/packages/orq-rc/src/models/components/addiprangerequest.ts +0 -34
  373. package/packages/orq-rc/src/models/components/addiprangeresponse.ts +0 -32
  374. package/packages/orq-rc/src/models/components/advisortoolinput.ts +0 -51
  375. package/packages/orq-rc/src/models/components/agenterroredstreamingevent.ts +0 -73
  376. package/packages/orq-rc/src/models/components/agentexecutionstartedstreamingevent.ts +0 -91
  377. package/packages/orq-rc/src/models/components/agenthandedoffstreamingevent.ts +0 -71
  378. package/packages/orq-rc/src/models/components/agenticragconfig.ts +0 -43
  379. package/packages/orq-rc/src/models/components/agentinactivestreamingevent.ts +0 -507
  380. package/packages/orq-rc/src/models/components/agentmessagecreatedstreamingevent.ts +0 -165
  381. package/packages/orq-rc/src/models/components/agentresponsemessage.ts +0 -103
  382. package/packages/orq-rc/src/models/components/agentresponserequest.ts +0 -576
  383. package/packages/orq-rc/src/models/components/agentstartedstreamingevent.ts +0 -541
  384. package/packages/orq-rc/src/models/components/agentthoughtstreamingevent.ts +0 -807
  385. package/packages/orq-rc/src/models/components/agenttoolinputcrud.ts +0 -189
  386. package/packages/orq-rc/src/models/components/aggregatebucket.ts +0 -45
  387. package/packages/orq-rc/src/models/components/aggregatelogsrequest.ts +0 -52
  388. package/packages/orq-rc/src/models/components/aggregatelogsresponse.ts +0 -37
  389. package/packages/orq-rc/src/models/components/aggregatetracesrequest.ts +0 -65
  390. package/packages/orq-rc/src/models/components/aggregatetracesresponse.ts +0 -37
  391. package/packages/orq-rc/src/models/components/alert.ts +0 -187
  392. package/packages/orq-rc/src/models/components/alertcondition.ts +0 -206
  393. package/packages/orq-rc/src/models/components/alertdisplay.ts +0 -109
  394. package/packages/orq-rc/src/models/components/alertevidence.ts +0 -56
  395. package/packages/orq-rc/src/models/components/alertquery.ts +0 -67
  396. package/packages/orq-rc/src/models/components/alertrun.ts +0 -76
  397. package/packages/orq-rc/src/models/components/alerttrigger.ts +0 -149
  398. package/packages/orq-rc/src/models/components/alerttriggerevent.ts +0 -67
  399. package/packages/orq-rc/src/models/components/allprojects.ts +0 -21
  400. package/packages/orq-rc/src/models/components/annotationqueue.ts +0 -101
  401. package/packages/orq-rc/src/models/components/annotationqueueitem.ts +0 -80
  402. package/packages/orq-rc/src/models/components/annotationqueueitemref.ts +0 -43
  403. package/packages/orq-rc/src/models/components/annotationqueuemetadata.ts +0 -42
  404. package/packages/orq-rc/src/models/components/apierror.ts +0 -39
  405. package/packages/orq-rc/src/models/components/apikeybudgetscope.ts +0 -66
  406. package/packages/orq-rc/src/models/components/apikeybudgetscoperestresponse.ts +0 -37
  407. package/packages/orq-rc/src/models/components/apikeyowner.ts +0 -55
  408. package/packages/orq-rc/src/models/components/apikeyrestresponse.ts +0 -119
  409. package/packages/orq-rc/src/models/components/apikeystatus.ts +0 -18
  410. package/packages/orq-rc/src/models/components/audiocontentpartschema.ts +0 -136
  411. package/packages/orq-rc/src/models/components/auditlog.ts +0 -122
  412. package/packages/orq-rc/src/models/components/auditlogfilter.ts +0 -51
  413. package/packages/orq-rc/src/models/components/auditlogfilterquery.ts +0 -54
  414. package/packages/orq-rc/src/models/components/auditlogpagination.ts +0 -55
  415. package/packages/orq-rc/src/models/components/auditlogsort.ts +0 -39
  416. package/packages/orq-rc/src/models/components/autorouterconfig.ts +0 -92
  417. package/packages/orq-rc/src/models/components/autorouterv2config.ts +0 -152
  418. package/packages/orq-rc/src/models/components/autorouterv2creatorconfig.ts +0 -59
  419. package/packages/orq-rc/src/models/components/autorouterv2effortconfig.ts +0 -66
  420. package/packages/orq-rc/src/models/components/azurefoundrydeployment.ts +0 -51
  421. package/packages/orq-rc/src/models/components/azurefoundrydeploymentmasterdata.ts +0 -60
  422. package/packages/orq-rc/src/models/components/budgetalert.ts +0 -92
  423. package/packages/orq-rc/src/models/components/budgetalertdimension.ts +0 -22
  424. package/packages/orq-rc/src/models/components/budgetalertrestresponse.ts +0 -58
  425. package/packages/orq-rc/src/models/components/budgetlimit.ts +0 -85
  426. package/packages/orq-rc/src/models/components/budgetlimits.ts +0 -84
  427. package/packages/orq-rc/src/models/components/budgetlimitsrestresponse.ts +0 -51
  428. package/packages/orq-rc/src/models/components/budgetmatch.ts +0 -50
  429. package/packages/orq-rc/src/models/components/budgetperiod.ts +0 -23
  430. package/packages/orq-rc/src/models/components/budgetrestresponse.ts +0 -116
  431. package/packages/orq-rc/src/models/components/budgetscope.ts +0 -146
  432. package/packages/orq-rc/src/models/components/budgetscopekind.ts +0 -22
  433. package/packages/orq-rc/src/models/components/budgetscoperestresponse.ts +0 -99
  434. package/packages/orq-rc/src/models/components/budgetsortfield.ts +0 -19
  435. package/packages/orq-rc/src/models/components/budgetusage.ts +0 -54
  436. package/packages/orq-rc/src/models/components/cacheconfig.ts +0 -30
  437. package/packages/orq-rc/src/models/components/callsubagenttoolinput.ts +0 -51
  438. package/packages/orq-rc/src/models/components/capabilitiesresponse.ts +0 -96
  439. package/packages/orq-rc/src/models/components/chatkitresource.ts +0 -45
  440. package/packages/orq-rc/src/models/components/chatkitresources.ts +0 -36
  441. package/packages/orq-rc/src/models/components/chunk.ts +0 -35
  442. package/packages/orq-rc/src/models/components/chunkingcleanupoptions.ts +0 -64
  443. package/packages/orq-rc/src/models/components/chunkingconfiguration.ts +0 -579
  444. package/packages/orq-rc/src/models/components/chunkmetadata.ts +0 -42
  445. package/packages/orq-rc/src/models/components/chunkprocessingattempts.ts +0 -42
  446. package/packages/orq-rc/src/models/components/chunksservicecountrequest.ts +0 -63
  447. package/packages/orq-rc/src/models/components/chunksservicecountresponse.ts +0 -31
  448. package/packages/orq-rc/src/models/components/chunksservicedeletemanyrequest.ts +0 -41
  449. package/packages/orq-rc/src/models/components/chunksservicedeletemanyresponse.ts +0 -39
  450. package/packages/orq-rc/src/models/components/chunksservicelistpaginatedrequest.ts +0 -71
  451. package/packages/orq-rc/src/models/components/chunksservicelistpaginatedresponse.ts +0 -58
  452. package/packages/orq-rc/src/models/components/chunksservicelistresponse.ts +0 -57
  453. package/packages/orq-rc/src/models/components/chunksservicesetenabledrequest.ts +0 -33
  454. package/packages/orq-rc/src/models/components/chunksserviceupdaterequest.ts +0 -68
  455. package/packages/orq-rc/src/models/components/codeinterpretertoolinput.ts +0 -51
  456. package/packages/orq-rc/src/models/components/codetoolinput.ts +0 -62
  457. package/packages/orq-rc/src/models/components/conversationparam.ts +0 -51
  458. package/packages/orq-rc/src/models/components/countmetadata.ts +0 -86
  459. package/packages/orq-rc/src/models/components/countwebhooksresponse.ts +0 -37
  460. package/packages/orq-rc/src/models/components/createagentresponse.ts +0 -305
  461. package/packages/orq-rc/src/models/components/createalertrequest.ts +0 -107
  462. package/packages/orq-rc/src/models/components/createalertresponse.ts +0 -35
  463. package/packages/orq-rc/src/models/components/createannotationqueuerequest.ts +0 -54
  464. package/packages/orq-rc/src/models/components/createapikeyrequest.ts +0 -116
  465. package/packages/orq-rc/src/models/components/createbudgetrequest.ts +0 -123
  466. package/packages/orq-rc/src/models/components/createbudgetresponse.ts +0 -38
  467. package/packages/orq-rc/src/models/components/createdomainrequest.ts +0 -31
  468. package/packages/orq-rc/src/models/components/createdomainresponse.ts +0 -35
  469. package/packages/orq-rc/src/models/components/createfilerequest.ts +0 -62
  470. package/packages/orq-rc/src/models/components/createfileresponse.ts +0 -35
  471. package/packages/orq-rc/src/models/components/createfilesystemfolderrequest.ts +0 -36
  472. package/packages/orq-rc/src/models/components/createfilesystemfolderresponse.ts +0 -31
  473. package/packages/orq-rc/src/models/components/createfilesystemrequest.ts +0 -94
  474. package/packages/orq-rc/src/models/components/createguardrailrulerequest.ts +0 -76
  475. package/packages/orq-rc/src/models/components/createguardrailruleresponse.ts +0 -37
  476. package/packages/orq-rc/src/models/components/createidentityrequest.ts +0 -74
  477. package/packages/orq-rc/src/models/components/createidentityresponse.ts +0 -35
  478. package/packages/orq-rc/src/models/components/createmanagementkeyrequest.ts +0 -70
  479. package/packages/orq-rc/src/models/components/createmanagementkeyresponse.ts +0 -48
  480. package/packages/orq-rc/src/models/components/createmcpgatewayrequest.ts +0 -100
  481. package/packages/orq-rc/src/models/components/createmcpgatewayresponse.ts +0 -37
  482. package/packages/orq-rc/src/models/components/createmcpserverrequest.ts +0 -96
  483. package/packages/orq-rc/src/models/components/createmcpserverresponse.ts +0 -37
  484. package/packages/orq-rc/src/models/components/creatememorydocumentrequest.ts +0 -42
  485. package/packages/orq-rc/src/models/components/creatememoryrequest.ts +0 -39
  486. package/packages/orq-rc/src/models/components/creatememorystorerequest.ts +0 -59
  487. package/packages/orq-rc/src/models/components/createmodelparameter.ts +0 -54
  488. package/packages/orq-rc/src/models/components/createnotifierrequest.ts +0 -433
  489. package/packages/orq-rc/src/models/components/createnotifierresponse.ts +0 -35
  490. package/packages/orq-rc/src/models/components/createprojectrequest.ts +0 -46
  491. package/packages/orq-rc/src/models/components/createprojectresponse.ts +0 -35
  492. package/packages/orq-rc/src/models/components/createroutingrulerequest.ts +0 -89
  493. package/packages/orq-rc/src/models/components/createskillrequest.ts +0 -159
  494. package/packages/orq-rc/src/models/components/createskillresponse.ts +0 -35
  495. package/packages/orq-rc/src/models/components/createsmartrouterrequest.ts +0 -47
  496. package/packages/orq-rc/src/models/components/createsmartrouterresponse.ts +0 -37
  497. package/packages/orq-rc/src/models/components/createthreadrequest.ts +0 -91
  498. package/packages/orq-rc/src/models/components/createwebhookrequest.ts +0 -100
  499. package/packages/orq-rc/src/models/components/currentdatetoolinput.ts +0 -51
  500. package/packages/orq-rc/src/models/components/datapart.ts +0 -38
  501. package/packages/orq-rc/src/models/components/datapoint.ts +0 -61
  502. package/packages/orq-rc/src/models/components/datasource.ts +0 -108
  503. package/packages/orq-rc/src/models/components/datasourceattachment.ts +0 -64
  504. package/packages/orq-rc/src/models/components/datasourcechunkingoptions.ts +0 -53
  505. package/packages/orq-rc/src/models/components/datasourcesservicecreaterequest.ts +0 -79
  506. package/packages/orq-rc/src/models/components/datasourcesservicegetprocessingstatusresponse.ts +0 -69
  507. package/packages/orq-rc/src/models/components/datasourcesservicelistresponse.ts +0 -55
  508. package/packages/orq-rc/src/models/components/datasourcesservicepreviewchunksrequest.ts +0 -48
  509. package/packages/orq-rc/src/models/components/datasourcesservicepreviewchunksresponse.ts +0 -44
  510. package/packages/orq-rc/src/models/components/datasourcesserviceupdaterequest.ts +0 -41
  511. package/packages/orq-rc/src/models/components/deletealertresponse.ts +0 -27
  512. package/packages/orq-rc/src/models/components/deletebudgetresponse.ts +0 -27
  513. package/packages/orq-rc/src/models/components/deletefileresponse.ts +0 -27
  514. package/packages/orq-rc/src/models/components/deletefilesystemfileresponse.ts +0 -49
  515. package/packages/orq-rc/src/models/components/deletefilesystemresponse.ts +0 -27
  516. package/packages/orq-rc/src/models/components/deleteguardrailruleresponse.ts +0 -27
  517. package/packages/orq-rc/src/models/components/deleteidentityresponse.ts +0 -27
  518. package/packages/orq-rc/src/models/components/deletemanagementkeyresponse.ts +0 -27
  519. package/packages/orq-rc/src/models/components/deletemcpgatewayresponse.ts +0 -30
  520. package/packages/orq-rc/src/models/components/deletemcpserverresponse.ts +0 -30
  521. package/packages/orq-rc/src/models/components/deletememorydocumenttoolinput.ts +0 -53
  522. package/packages/orq-rc/src/models/components/deletenotifierresponse.ts +0 -27
  523. package/packages/orq-rc/src/models/components/deleteprojectresponse.ts +0 -27
  524. package/packages/orq-rc/src/models/components/deleteskillresponse.ts +0 -27
  525. package/packages/orq-rc/src/models/components/deletesmartrouterresponse.ts +0 -27
  526. package/packages/orq-rc/src/models/components/deletewebhookresponse.ts +0 -34
  527. package/packages/orq-rc/src/models/components/detectrequest.ts +0 -104
  528. package/packages/orq-rc/src/models/components/detectresponse.ts +0 -41
  529. package/packages/orq-rc/src/models/components/domain.ts +0 -85
  530. package/packages/orq-rc/src/models/components/domaingroup.ts +0 -17
  531. package/packages/orq-rc/src/models/components/domainverification.ts +0 -63
  532. package/packages/orq-rc/src/models/components/domainverificationstatus.ts +0 -20
  533. package/packages/orq-rc/src/models/components/embeddingcacheconfig.ts +0 -59
  534. package/packages/orq-rc/src/models/components/embeddingcontactparams.ts +0 -48
  535. package/packages/orq-rc/src/models/components/embeddingdimensionsupport.ts +0 -59
  536. package/packages/orq-rc/src/models/components/embeddingloadbalancerconfig.ts +0 -66
  537. package/packages/orq-rc/src/models/components/embeddingloadbalancermodelconfig.ts +0 -42
  538. package/packages/orq-rc/src/models/components/embeddingorqparams.ts +0 -98
  539. package/packages/orq-rc/src/models/components/embeddingretryconfig.ts +0 -45
  540. package/packages/orq-rc/src/models/components/embeddingsconfig.ts +0 -92
  541. package/packages/orq-rc/src/models/components/embeddingsmodelparameters.ts +0 -64
  542. package/packages/orq-rc/src/models/components/embeddingtimeoutconfig.ts +0 -39
  543. package/packages/orq-rc/src/models/components/entitylist.ts +0 -37
  544. package/packages/orq-rc/src/models/components/errorpart.ts +0 -58
  545. package/packages/orq-rc/src/models/components/errorstreamingevent.ts +0 -66
  546. package/packages/orq-rc/src/models/components/evaluationcontext.ts +0 -63
  547. package/packages/orq-rc/src/models/components/evaluationresult.ts +0 -104
  548. package/packages/orq-rc/src/models/components/evaluatorref.ts +0 -95
  549. package/packages/orq-rc/src/models/components/evaluatorresponsefunction.ts +0 -928
  550. package/packages/orq-rc/src/models/components/evaluatorresponsehttp.ts +0 -77
  551. package/packages/orq-rc/src/models/components/evaluatorresponsejsonschema.ts +0 -60
  552. package/packages/orq-rc/src/models/components/evaluatorresponsellm.ts +0 -310
  553. package/packages/orq-rc/src/models/components/evaluatorresponsepython.ts +0 -60
  554. package/packages/orq-rc/src/models/components/evaluatorresponseragas.ts +0 -84
  555. package/packages/orq-rc/src/models/components/evaluatorresponsetypescript.ts +0 -60
  556. package/packages/orq-rc/src/models/components/executionnamedstreamingevent.ts +0 -71
  557. package/packages/orq-rc/src/models/components/executionreviewedstreamingevent.ts +0 -61
  558. package/packages/orq-rc/src/models/components/executionreviewrequiredstreamingevent.ts +0 -67
  559. package/packages/orq-rc/src/models/components/extendedmessage.ts +0 -146
  560. package/packages/orq-rc/src/models/components/facetgroup.ts +0 -41
  561. package/packages/orq-rc/src/models/components/facetkey.ts +0 -57
  562. package/packages/orq-rc/src/models/components/facetvalue.ts +0 -33
  563. package/packages/orq-rc/src/models/components/fallbackconfig.ts +0 -27
  564. package/packages/orq-rc/src/models/components/fieldinfo.ts +0 -33
  565. package/packages/orq-rc/src/models/components/file.ts +0 -64
  566. package/packages/orq-rc/src/models/components/filecontentpartschema.ts +0 -87
  567. package/packages/orq-rc/src/models/components/fileentry.ts +0 -86
  568. package/packages/orq-rc/src/models/components/filepart.ts +0 -223
  569. package/packages/orq-rc/src/models/components/filepurpose.ts +0 -22
  570. package/packages/orq-rc/src/models/components/filesystem.ts +0 -116
  571. package/packages/orq-rc/src/models/components/filesystemexternalaccess.ts +0 -20
  572. package/packages/orq-rc/src/models/components/filesystemtoolinput.ts +0 -108
  573. package/packages/orq-rc/src/models/components/filter.ts +0 -137
  574. package/packages/orq-rc/src/models/components/findlogpatternsmeta.ts +0 -53
  575. package/packages/orq-rc/src/models/components/findlogpatternsrequest.ts +0 -59
  576. package/packages/orq-rc/src/models/components/findlogpatternsresponse.ts +0 -43
  577. package/packages/orq-rc/src/models/components/functiontoolinput.ts +0 -60
  578. package/packages/orq-rc/src/models/components/generatewebhooksecretresponse.ts +0 -37
  579. package/packages/orq-rc/src/models/components/getagentresponse.ts +0 -348
  580. package/packages/orq-rc/src/models/components/getalertresponse.ts +0 -35
  581. package/packages/orq-rc/src/models/components/getbudgetresponse.ts +0 -38
  582. package/packages/orq-rc/src/models/components/getfilecontentresponse.ts +0 -39
  583. package/packages/orq-rc/src/models/components/getfileresponse.ts +0 -35
  584. package/packages/orq-rc/src/models/components/getguardrailruleresponse.ts +0 -37
  585. package/packages/orq-rc/src/models/components/gethubitemresponse.ts +0 -37
  586. package/packages/orq-rc/src/models/components/getipallowlistresponse.ts +0 -40
  587. package/packages/orq-rc/src/models/components/getlogcontextrequest.ts +0 -71
  588. package/packages/orq-rc/src/models/components/getlogcontextresponse.ts +0 -55
  589. package/packages/orq-rc/src/models/components/getlogresponse.ts +0 -35
  590. package/packages/orq-rc/src/models/components/getmanagementkeyresponse.ts +0 -40
  591. package/packages/orq-rc/src/models/components/getmcpgatewayresponse.ts +0 -37
  592. package/packages/orq-rc/src/models/components/getmcpserverresponse.ts +0 -37
  593. package/packages/orq-rc/src/models/components/getmodelcatalogmodelresponse.ts +0 -35
  594. package/packages/orq-rc/src/models/components/getnotifierresponse.ts +0 -35
  595. package/packages/orq-rc/src/models/components/getprojectresponse.ts +0 -35
  596. package/packages/orq-rc/src/models/components/getskillresponse.ts +0 -35
  597. package/packages/orq-rc/src/models/components/getsmartrouterresponse.ts +0 -37
  598. package/packages/orq-rc/src/models/components/getthreadcountrequest.ts +0 -42
  599. package/packages/orq-rc/src/models/components/getthreadcountresponse.ts +0 -31
  600. package/packages/orq-rc/src/models/components/gettraceresponse.ts +0 -32
  601. package/packages/orq-rc/src/models/components/gettracespanresponse.ts +0 -32
  602. package/packages/orq-rc/src/models/components/getuploadfileurlresponse.ts +0 -42
  603. package/packages/orq-rc/src/models/components/getworkspaceresponse.ts +0 -32
  604. package/packages/orq-rc/src/models/components/getworkspacesettingsresponse.ts +0 -38
  605. package/packages/orq-rc/src/models/components/googlesearchtoolinput.ts +0 -51
  606. package/packages/orq-rc/src/models/components/guardrailrule.ts +0 -81
  607. package/packages/orq-rc/src/models/components/guardrailruleexpression.ts +0 -86
  608. package/packages/orq-rc/src/models/components/guardrailruleguardrail.ts +0 -108
  609. package/packages/orq-rc/src/models/components/guardrailruleplugin.ts +0 -106
  610. package/packages/orq-rc/src/models/components/httptoolinput.ts +0 -62
  611. package/packages/orq-rc/src/models/components/hubitem.ts +0 -136
  612. package/packages/orq-rc/src/models/components/hubitemsummary.ts +0 -60
  613. package/packages/orq-rc/src/models/components/hubsearchhit.ts +0 -35
  614. package/packages/orq-rc/src/models/components/identity.ts +0 -230
  615. package/packages/orq-rc/src/models/components/identitybudgetscope.ts +0 -66
  616. package/packages/orq-rc/src/models/components/identitybudgetscoperestresponse.ts +0 -37
  617. package/packages/orq-rc/src/models/components/identitymetrics.ts +0 -57
  618. package/packages/orq-rc/src/models/components/identitysortfield.ts +0 -18
  619. package/packages/orq-rc/src/models/components/imagecontentpartschema.ts +0 -268
  620. package/packages/orq-rc/src/models/components/incompletedetails.ts +0 -31
  621. package/packages/orq-rc/src/models/components/index.ts +0 -659
  622. package/packages/orq-rc/src/models/components/inputtokensdetails.ts +0 -48
  623. package/packages/orq-rc/src/models/components/internalretrievalconfig.ts +0 -44
  624. package/packages/orq-rc/src/models/components/invokedeploymentrequest.ts +0 -3444
  625. package/packages/orq-rc/src/models/components/invokeevaluatorrequest.ts +0 -110
  626. package/packages/orq-rc/src/models/components/ipallowlist.ts +0 -34
  627. package/packages/orq-rc/src/models/components/iprange.ts +0 -44
  628. package/packages/orq-rc/src/models/components/jsonschematoolinput.ts +0 -60
  629. package/packages/orq-rc/src/models/components/knowledge.ts +0 -558
  630. package/packages/orq-rc/src/models/components/knowledgebasesservicecreaterequest.ts +0 -439
  631. package/packages/orq-rc/src/models/components/knowledgebasesservicelistresponse.ts +0 -54
  632. package/packages/orq-rc/src/models/components/knowledgebasesserviceupdaterequest.ts +0 -649
  633. package/packages/orq-rc/src/models/components/knowledgechunk.ts +0 -120
  634. package/packages/orq-rc/src/models/components/knowledgemetadata.ts +0 -48
  635. package/packages/orq-rc/src/models/components/knowledgesettings.ts +0 -54
  636. package/packages/orq-rc/src/models/components/knowledgeupdatesettings.ts +0 -55
  637. package/packages/orq-rc/src/models/components/limits.ts +0 -70
  638. package/packages/orq-rc/src/models/components/listalertsresponse.ts +0 -53
  639. package/packages/orq-rc/src/models/components/listalerttriggereventsresponse.ts +0 -56
  640. package/packages/orq-rc/src/models/components/listalerttriggersresponse.ts +0 -53
  641. package/packages/orq-rc/src/models/components/listannotationqueueitemsresponse.ts +0 -53
  642. package/packages/orq-rc/src/models/components/listannotationqueuesresponse.ts +0 -53
  643. package/packages/orq-rc/src/models/components/listbudgetsresponse.ts +0 -51
  644. package/packages/orq-rc/src/models/components/listcapabilitiesresponse.ts +0 -38
  645. package/packages/orq-rc/src/models/components/listdomainsresponse.ts +0 -35
  646. package/packages/orq-rc/src/models/components/listevaluatorversionsresponse.ts +0 -59
  647. package/packages/orq-rc/src/models/components/listfilesresponse.ts +0 -50
  648. package/packages/orq-rc/src/models/components/listfilesystemfilesresponse.ts +0 -57
  649. package/packages/orq-rc/src/models/components/listfilesystemsresponse.ts +0 -51
  650. package/packages/orq-rc/src/models/components/listguardrailrulesresponse.ts +0 -41
  651. package/packages/orq-rc/src/models/components/listguardrailruleusedguardrailsresponse.ts +0 -44
  652. package/packages/orq-rc/src/models/components/listidentitiesresponse.ts +0 -53
  653. package/packages/orq-rc/src/models/components/listlogfacetsrequest.ts +0 -61
  654. package/packages/orq-rc/src/models/components/listlogfacetsresponse.ts +0 -32
  655. package/packages/orq-rc/src/models/components/listlogfacetvaluesresponse.ts +0 -32
  656. package/packages/orq-rc/src/models/components/listlogfieldsresponse.ts +0 -32
  657. package/packages/orq-rc/src/models/components/listmanagementcapabilitiesresponse.ts +0 -39
  658. package/packages/orq-rc/src/models/components/listmanagementkeysresponse.ts +0 -56
  659. package/packages/orq-rc/src/models/components/listmcpgatewaysresponse.ts +0 -50
  660. package/packages/orq-rc/src/models/components/listmcpgatewaytoolsresponse.ts +0 -53
  661. package/packages/orq-rc/src/models/components/listmcpserversresponse.ts +0 -50
  662. package/packages/orq-rc/src/models/components/listmemoriesresponse.ts +0 -54
  663. package/packages/orq-rc/src/models/components/listmemorydocumentsresponse.ts +0 -57
  664. package/packages/orq-rc/src/models/components/listmemorystoresresponse.ts +0 -54
  665. package/packages/orq-rc/src/models/components/listmodelcatalogofferingsresponse.ts +0 -53
  666. package/packages/orq-rc/src/models/components/listmodelcatalogresponse.ts +0 -53
  667. package/packages/orq-rc/src/models/components/listnotifiersresponse.ts +0 -50
  668. package/packages/orq-rc/src/models/components/listprojectsresponse.ts +0 -53
  669. package/packages/orq-rc/src/models/components/listroutingrulesresponse.ts +0 -41
  670. package/packages/orq-rc/src/models/components/listroutingruleusedmodelsresponse.ts +0 -33
  671. package/packages/orq-rc/src/models/components/listskillsresponse.ts +0 -53
  672. package/packages/orq-rc/src/models/components/listsmartroutersresponse.ts +0 -50
  673. package/packages/orq-rc/src/models/components/listthreadsrequest.ts +0 -42
  674. package/packages/orq-rc/src/models/components/listthreadsresponse.ts +0 -41
  675. package/packages/orq-rc/src/models/components/listtracefacetsresponse.ts +0 -32
  676. package/packages/orq-rc/src/models/components/listtracefacetvaluesresponse.ts +0 -44
  677. package/packages/orq-rc/src/models/components/listtracefieldsresponse.ts +0 -32
  678. package/packages/orq-rc/src/models/components/listtracelogsresponse.ts +0 -44
  679. package/packages/orq-rc/src/models/components/listtracespansresponse.ts +0 -44
  680. package/packages/orq-rc/src/models/components/listwebhooksresponse.ts +0 -53
  681. package/packages/orq-rc/src/models/components/listworkspacesresponse.ts +0 -41
  682. package/packages/orq-rc/src/models/components/litellmmodel.ts +0 -50
  683. package/packages/orq-rc/src/models/components/litellmmodelinfo.ts +0 -97
  684. package/packages/orq-rc/src/models/components/litellmparams.ts +0 -43
  685. package/packages/orq-rc/src/models/components/loadbalancerconfig.ts +0 -39
  686. package/packages/orq-rc/src/models/components/loadbalancermodelconfig.ts +0 -34
  687. package/packages/orq-rc/src/models/components/log.ts +0 -99
  688. package/packages/orq-rc/src/models/components/logpattern.ts +0 -84
  689. package/packages/orq-rc/src/models/components/managementdomain.ts +0 -70
  690. package/packages/orq-rc/src/models/components/managementdomaingroup.ts +0 -16
  691. package/packages/orq-rc/src/models/components/managementkey.ts +0 -131
  692. package/packages/orq-rc/src/models/components/managementkeystatus.ts +0 -23
  693. package/packages/orq-rc/src/models/components/managementpermissionmode.ts +0 -25
  694. package/packages/orq-rc/src/models/components/mcpaccess.ts +0 -93
  695. package/packages/orq-rc/src/models/components/mcpauthconfig.ts +0 -55
  696. package/packages/orq-rc/src/models/components/mcpauthconfigoutput.ts +0 -55
  697. package/packages/orq-rc/src/models/components/mcpauthtype.ts +0 -22
  698. package/packages/orq-rc/src/models/components/mcpconnection.ts +0 -59
  699. package/packages/orq-rc/src/models/components/mcpconnectiontype.ts +0 -23
  700. package/packages/orq-rc/src/models/components/mcpgateway.ts +0 -117
  701. package/packages/orq-rc/src/models/components/mcpgatewaymode.ts +0 -22
  702. package/packages/orq-rc/src/models/components/mcpgatewayplugin.ts +0 -83
  703. package/packages/orq-rc/src/models/components/mcpgatewayserverlink.ts +0 -92
  704. package/packages/orq-rc/src/models/components/mcpgatewaystatus.ts +0 -22
  705. package/packages/orq-rc/src/models/components/mcpgatewaytool.ts +0 -109
  706. package/packages/orq-rc/src/models/components/mcpgatewaytooltestresult.ts +0 -79
  707. package/packages/orq-rc/src/models/components/mcpheadersecret.ts +0 -49
  708. package/packages/orq-rc/src/models/components/mcpheadersecretoutput.ts +0 -44
  709. package/packages/orq-rc/src/models/components/mcpoauthconfig.ts +0 -62
  710. package/packages/orq-rc/src/models/components/mcpoauthconfigoutput.ts +0 -56
  711. package/packages/orq-rc/src/models/components/mcpserver.ts +0 -114
  712. package/packages/orq-rc/src/models/components/mcpsyncstate.ts +0 -65
  713. package/packages/orq-rc/src/models/components/mcptool.ts +0 -92
  714. package/packages/orq-rc/src/models/components/mcptoolannotations.ts +0 -58
  715. package/packages/orq-rc/src/models/components/mcptoolexposure.ts +0 -79
  716. package/packages/orq-rc/src/models/components/mcptoolexposuremode.ts +0 -23
  717. package/packages/orq-rc/src/models/components/mcptoolinput.ts +0 -63
  718. package/packages/orq-rc/src/models/components/mcptoolnaming.ts +0 -22
  719. package/packages/orq-rc/src/models/components/memory.ts +0 -74
  720. package/packages/orq-rc/src/models/components/memorydocument.ts +0 -65
  721. package/packages/orq-rc/src/models/components/memoryparam.ts +0 -56
  722. package/packages/orq-rc/src/models/components/memorystore.ts +0 -80
  723. package/packages/orq-rc/src/models/components/memorystoreembeddingconfig.ts +0 -54
  724. package/packages/orq-rc/src/models/components/model.ts +0 -206
  725. package/packages/orq-rc/src/models/components/modelbudgetscope.ts +0 -67
  726. package/packages/orq-rc/src/models/components/modelbudgetscoperestresponse.ts +0 -38
  727. package/packages/orq-rc/src/models/components/modelconfigurationresponse.ts +0 -82
  728. package/packages/orq-rc/src/models/components/modeldocument.ts +0 -121
  729. package/packages/orq-rc/src/models/components/modelmetadata.ts +0 -814
  730. package/packages/orq-rc/src/models/components/modelmodalities.ts +0 -39
  731. package/packages/orq-rc/src/models/components/modelparameterdocument.ts +0 -53
  732. package/packages/orq-rc/src/models/components/modelprovider.ts +0 -39
  733. package/packages/orq-rc/src/models/components/modelref.ts +0 -70
  734. package/packages/orq-rc/src/models/components/modelsconfig.ts +0 -75
  735. package/packages/orq-rc/src/models/components/modelsharingconfig.ts +0 -47
  736. package/packages/orq-rc/src/models/components/monitorfilter.ts +0 -99
  737. package/packages/orq-rc/src/models/components/movefilesystemfilerequest.ts +0 -40
  738. package/packages/orq-rc/src/models/components/movefilesystemfileresponse.ts +0 -33
  739. package/packages/orq-rc/src/models/components/notifier.ts +0 -465
  740. package/packages/orq-rc/src/models/components/notifiertype.ts +0 -21
  741. package/packages/orq-rc/src/models/components/openaipromptcacheoptions.ts +0 -84
  742. package/packages/orq-rc/src/models/components/orqadvisortool.ts +0 -100
  743. package/packages/orq-rc/src/models/components/orqsidekicktool.ts +0 -128
  744. package/packages/orq-rc/src/models/components/outputtokensdetails.ts +0 -36
  745. package/packages/orq-rc/src/models/components/ownertype.ts +0 -17
  746. package/packages/orq-rc/src/models/components/parseresponse.ts +0 -32
  747. package/packages/orq-rc/src/models/components/partdelta.ts +0 -39
  748. package/packages/orq-rc/src/models/components/partdeltaevent.ts +0 -73
  749. package/packages/orq-rc/src/models/components/partdoneevent.ts +0 -70
  750. package/packages/orq-rc/src/models/components/permissionmode.ts +0 -19
  751. package/packages/orq-rc/src/models/components/piiredaction.ts +0 -70
  752. package/packages/orq-rc/src/models/components/piiredactionconfig.ts +0 -128
  753. package/packages/orq-rc/src/models/components/piiredactionplugin.ts +0 -143
  754. package/packages/orq-rc/src/models/components/policy.ts +0 -80
  755. package/packages/orq-rc/src/models/components/policyretryconfig.ts +0 -64
  756. package/packages/orq-rc/src/models/components/previewchunk.ts +0 -38
  757. package/packages/orq-rc/src/models/components/previewchunksmetadata.ts +0 -51
  758. package/packages/orq-rc/src/models/components/price.ts +0 -56
  759. package/packages/orq-rc/src/models/components/pricing.ts +0 -105
  760. package/packages/orq-rc/src/models/components/pricingvariant.ts +0 -102
  761. package/packages/orq-rc/src/models/components/processingattempt.ts +0 -52
  762. package/packages/orq-rc/src/models/components/processingerror.ts +0 -33
  763. package/packages/orq-rc/src/models/components/project.ts +0 -108
  764. package/packages/orq-rc/src/models/components/projectbudgetscope.ts +0 -63
  765. package/packages/orq-rc/src/models/components/projectbudgetscoperestresponse.ts +0 -34
  766. package/packages/orq-rc/src/models/components/projectscope.ts +0 -47
  767. package/packages/orq-rc/src/models/components/providerbudgetscope.ts +0 -57
  768. package/packages/orq-rc/src/models/components/providertoolinput.ts +0 -72
  769. package/packages/orq-rc/src/models/components/publiccontact.ts +0 -71
  770. package/packages/orq-rc/src/models/components/publicembeddingdata.ts +0 -63
  771. package/packages/orq-rc/src/models/components/publicembeddingusage.ts +0 -45
  772. package/packages/orq-rc/src/models/components/publicidentity.ts +0 -69
  773. package/packages/orq-rc/src/models/components/publicmodelentry.ts +0 -71
  774. package/packages/orq-rc/src/models/components/publicplugin.ts +0 -129
  775. package/packages/orq-rc/src/models/components/publicresponseresource.ts +0 -216
  776. package/packages/orq-rc/src/models/components/publicschedule.ts +0 -130
  777. package/packages/orq-rc/src/models/components/publicscheduleerrordetail.ts +0 -39
  778. package/packages/orq-rc/src/models/components/publicschedulepayload.ts +0 -84
  779. package/packages/orq-rc/src/models/components/publicusage.ts +0 -84
  780. package/packages/orq-rc/src/models/components/queryauditlogsrequest.ts +0 -64
  781. package/packages/orq-rc/src/models/components/queryauditlogsresponse.ts +0 -55
  782. package/packages/orq-rc/src/models/components/queryknowledgebasetoolinput.ts +0 -53
  783. package/packages/orq-rc/src/models/components/querylogsrequest.ts +0 -60
  784. package/packages/orq-rc/src/models/components/querylogsresponse.ts +0 -40
  785. package/packages/orq-rc/src/models/components/querymemorystoretoolinput.ts +0 -51
  786. package/packages/orq-rc/src/models/components/queryparamspagination.ts +0 -40
  787. package/packages/orq-rc/src/models/components/queryparamssort.ts +0 -32
  788. package/packages/orq-rc/src/models/components/queryreportrequest.ts +0 -296
  789. package/packages/orq-rc/src/models/components/queryreportresponse.ts +0 -99
  790. package/packages/orq-rc/src/models/components/querytracesrequest.ts +0 -48
  791. package/packages/orq-rc/src/models/components/querytracesresponse.ts +0 -37
  792. package/packages/orq-rc/src/models/components/querywebhooksrequest.ts +0 -85
  793. package/packages/orq-rc/src/models/components/querywebhooksresponse.ts +0 -34
  794. package/packages/orq-rc/src/models/components/ratelimit.ts +0 -62
  795. package/packages/orq-rc/src/models/components/ratelimitrestresponse.ts +0 -37
  796. package/packages/orq-rc/src/models/components/reasoning.ts +0 -80
  797. package/packages/orq-rc/src/models/components/reasoningparam.ts +0 -75
  798. package/packages/orq-rc/src/models/components/reasoningpart.ts +0 -62
  799. package/packages/orq-rc/src/models/components/reasoningpartschema.ts +0 -71
  800. package/packages/orq-rc/src/models/components/redactedreasoningpartschema.ts +0 -66
  801. package/packages/orq-rc/src/models/components/redactrequest.ts +0 -85
  802. package/packages/orq-rc/src/models/components/redactresponse.ts +0 -41
  803. package/packages/orq-rc/src/models/components/refusalpartschema.ts +0 -64
  804. package/packages/orq-rc/src/models/components/removeannotationqueueitemsrequest.ts +0 -41
  805. package/packages/orq-rc/src/models/components/requestlimit.ts +0 -69
  806. package/packages/orq-rc/src/models/components/rerankconfig.ts +0 -58
  807. package/packages/orq-rc/src/models/components/rerankmodelparameters.ts +0 -31
  808. package/packages/orq-rc/src/models/components/resetbudgetconsumptionrequest.ts +0 -27
  809. package/packages/orq-rc/src/models/components/resetbudgetconsumptionresponse.ts +0 -41
  810. package/packages/orq-rc/src/models/components/responsecodeinterpretercallcodedeltastreamevent.ts +0 -79
  811. package/packages/orq-rc/src/models/components/responsecodeinterpretercallcodedonestreamevent.ts +0 -79
  812. package/packages/orq-rc/src/models/components/responsecodeinterpretercallcompletedstreamevent.ts +0 -74
  813. package/packages/orq-rc/src/models/components/responsecodeinterpretercallinprogressstreamevent.ts +0 -74
  814. package/packages/orq-rc/src/models/components/responsecodeinterpretercallinterpretingstreamevent.ts +0 -74
  815. package/packages/orq-rc/src/models/components/responsecompletedstreamevent.ts +0 -61
  816. package/packages/orq-rc/src/models/components/responsecontentpartaddedstreamevent.ts +0 -79
  817. package/packages/orq-rc/src/models/components/responsecontentpartdonestreamevent.ts +0 -79
  818. package/packages/orq-rc/src/models/components/responsecreatedstreamevent.ts +0 -61
  819. package/packages/orq-rc/src/models/components/responsecustomtoolcallinputdeltastreamevent.ts +0 -79
  820. package/packages/orq-rc/src/models/components/responsecustomtoolcallinputdonestreamevent.ts +0 -76
  821. package/packages/orq-rc/src/models/components/responsedoneevent.ts +0 -324
  822. package/packages/orq-rc/src/models/components/responseerror.ts +0 -33
  823. package/packages/orq-rc/src/models/components/responseerrorstreamevent.ts +0 -58
  824. package/packages/orq-rc/src/models/components/responseexecutionlimits.ts +0 -52
  825. package/packages/orq-rc/src/models/components/responsefailedevent.ts +0 -72
  826. package/packages/orq-rc/src/models/components/responsefailedstreamevent.ts +0 -61
  827. package/packages/orq-rc/src/models/components/responsefilesearchcallcompletedstreamevent.ts +0 -71
  828. package/packages/orq-rc/src/models/components/responsefilesearchcallinprogressstreamevent.ts +0 -74
  829. package/packages/orq-rc/src/models/components/responsefilesearchcallsearchingstreamevent.ts +0 -71
  830. package/packages/orq-rc/src/models/components/responsefunctioncallargumentsdeltastreamevent.ts +0 -84
  831. package/packages/orq-rc/src/models/components/responsefunctioncallargumentsdonestreamevent.ts +0 -79
  832. package/packages/orq-rc/src/models/components/responsehealingplugin.ts +0 -54
  833. package/packages/orq-rc/src/models/components/responseidentity.ts +0 -48
  834. package/packages/orq-rc/src/models/components/responseimagegenerationcallcompletedstreamevent.ts +0 -74
  835. package/packages/orq-rc/src/models/components/responseimagegenerationcallgeneratingstreamevent.ts +0 -74
  836. package/packages/orq-rc/src/models/components/responseimagegenerationcallinprogressstreamevent.ts +0 -74
  837. package/packages/orq-rc/src/models/components/responseimagegenerationcallpartialimagestreamevent.ts +0 -86
  838. package/packages/orq-rc/src/models/components/responseincompletestreamevent.ts +0 -61
  839. package/packages/orq-rc/src/models/components/responseinprogressstreamevent.ts +0 -61
  840. package/packages/orq-rc/src/models/components/responsemcpcallargumentsdeltastreamevent.ts +0 -78
  841. package/packages/orq-rc/src/models/components/responsemcpcallargumentsdonestreamevent.ts +0 -78
  842. package/packages/orq-rc/src/models/components/responsemcpcallcompletedstreamevent.ts +0 -68
  843. package/packages/orq-rc/src/models/components/responsemcpcallfailedstreamevent.ts +0 -67
  844. package/packages/orq-rc/src/models/components/responsemcpcallinprogressstreamevent.ts +0 -68
  845. package/packages/orq-rc/src/models/components/responsemcplisttoolscompletedstreamevent.ts +0 -73
  846. package/packages/orq-rc/src/models/components/responsemcplisttoolsfailedstreamevent.ts +0 -68
  847. package/packages/orq-rc/src/models/components/responsemcplisttoolsinprogressstreamevent.ts +0 -73
  848. package/packages/orq-rc/src/models/components/responsemeta.ts +0 -102
  849. package/packages/orq-rc/src/models/components/responseoutputitemaddedstreamevent.ts +0 -67
  850. package/packages/orq-rc/src/models/components/responseoutputitemdonestreamevent.ts +0 -66
  851. package/packages/orq-rc/src/models/components/responseoutputtextannotationaddedstreamevent.ts +0 -91
  852. package/packages/orq-rc/src/models/components/responseoutputtextdeltastreamevent.ts +0 -89
  853. package/packages/orq-rc/src/models/components/responseoutputtextdonestreamevent.ts +0 -83
  854. package/packages/orq-rc/src/models/components/responsequeuedstreamevent.ts +0 -61
  855. package/packages/orq-rc/src/models/components/responsereasoningdeltastreamevent.ts +0 -83
  856. package/packages/orq-rc/src/models/components/responsereasoningdonestreamevent.ts +0 -78
  857. package/packages/orq-rc/src/models/components/responsereasoningsummarypartaddedstreamevent.ts +0 -85
  858. package/packages/orq-rc/src/models/components/responsereasoningsummarypartdonestreamevent.ts +0 -85
  859. package/packages/orq-rc/src/models/components/responsereasoningsummarytextdeltastreamevent.ts +0 -90
  860. package/packages/orq-rc/src/models/components/responsereasoningsummarytextdonestreamevent.ts +0 -85
  861. package/packages/orq-rc/src/models/components/responsereasoningtextdeltastreamevent.ts +0 -84
  862. package/packages/orq-rc/src/models/components/responsereasoningtextdonestreamevent.ts +0 -79
  863. package/packages/orq-rc/src/models/components/responserefusaldeltastreamevent.ts +0 -78
  864. package/packages/orq-rc/src/models/components/responserefusaldonestreamevent.ts +0 -78
  865. package/packages/orq-rc/src/models/components/responseretryconfig.ts +0 -45
  866. package/packages/orq-rc/src/models/components/responsestartedevent.ts +0 -97
  867. package/packages/orq-rc/src/models/components/responsestreamevent.ts +0 -337
  868. package/packages/orq-rc/src/models/components/responsestreamingevent.ts +0 -85
  869. package/packages/orq-rc/src/models/components/responsetelemetry.ts +0 -39
  870. package/packages/orq-rc/src/models/components/responsethread.ts +0 -30
  871. package/packages/orq-rc/src/models/components/responsewebsearchcallcompletedstreamevent.ts +0 -73
  872. package/packages/orq-rc/src/models/components/responsewebsearchcallinprogressstreamevent.ts +0 -71
  873. package/packages/orq-rc/src/models/components/responsewebsearchcallsearchingstreamevent.ts +0 -73
  874. package/packages/orq-rc/src/models/components/restorerequest.ts +0 -38
  875. package/packages/orq-rc/src/models/components/restoreresponse.ts +0 -36
  876. package/packages/orq-rc/src/models/components/retrieveagentstoolinput.ts +0 -51
  877. package/packages/orq-rc/src/models/components/retrieveidentityresponse.ts +0 -35
  878. package/packages/orq-rc/src/models/components/retrieveknowledgebasestoolinput.ts +0 -53
  879. package/packages/orq-rc/src/models/components/retrievememorystorestoolinput.ts +0 -53
  880. package/packages/orq-rc/src/models/components/reviewoutcome.ts +0 -23
  881. package/packages/orq-rc/src/models/components/routingrule.ts +0 -95
  882. package/packages/orq-rc/src/models/components/routingrulecacheconfig.ts +0 -54
  883. package/packages/orq-rc/src/models/components/routingruleexpression.ts +0 -95
  884. package/packages/orq-rc/src/models/components/routingrulemodel.ts +0 -74
  885. package/packages/orq-rc/src/models/components/routingrulemodelsconfig.ts +0 -64
  886. package/packages/orq-rc/src/models/components/routingruleplugin.ts +0 -110
  887. package/packages/orq-rc/src/models/components/scopemode.ts +0 -16
  888. package/packages/orq-rc/src/models/components/searchhubitemsresponse.ts +0 -32
  889. package/packages/orq-rc/src/models/components/searchknowledgematch.ts +0 -74
  890. package/packages/orq-rc/src/models/components/searchknowledgerequest.ts +0 -1647
  891. package/packages/orq-rc/src/models/components/searchknowledgeresponse.ts +0 -38
  892. package/packages/orq-rc/src/models/components/searchknowledgescores.ts +0 -39
  893. package/packages/orq-rc/src/models/components/searchlogsrequest.ts +0 -83
  894. package/packages/orq-rc/src/models/components/searchlogsresponse.ts +0 -65
  895. package/packages/orq-rc/src/models/components/searchoptions.ts +0 -49
  896. package/packages/orq-rc/src/models/components/searchrerankconfig.ts +0 -51
  897. package/packages/orq-rc/src/models/components/searchretrievalconfig.ts +0 -153
  898. package/packages/orq-rc/src/models/components/searchtracesrequest.ts +0 -68
  899. package/packages/orq-rc/src/models/components/searchtracesresponse.ts +0 -72
  900. package/packages/orq-rc/src/models/components/searchtype.ts +0 -17
  901. package/packages/orq-rc/src/models/components/security.ts +0 -32
  902. package/packages/orq-rc/src/models/components/securityconfig.ts +0 -27
  903. package/packages/orq-rc/src/models/components/servertoolusedetails.ts +0 -63
  904. package/packages/orq-rc/src/models/components/serviceaccountowner.ts +0 -25
  905. package/packages/orq-rc/src/models/components/sessioninterval.ts +0 -26
  906. package/packages/orq-rc/src/models/components/sharing.ts +0 -118
  907. package/packages/orq-rc/src/models/components/sharingallprojects.ts +0 -43
  908. package/packages/orq-rc/src/models/components/sharingselectedprojects.ts +0 -63
  909. package/packages/orq-rc/src/models/components/sidekicktoolinput.ts +0 -51
  910. package/packages/orq-rc/src/models/components/singleproject.ts +0 -35
  911. package/packages/orq-rc/src/models/components/skill.ts +0 -108
  912. package/packages/orq-rc/src/models/components/smartrouter.ts +0 -78
  913. package/packages/orq-rc/src/models/components/smartrouterprofile.ts +0 -23
  914. package/packages/orq-rc/src/models/components/spandetail.ts +0 -53
  915. package/packages/orq-rc/src/models/components/spansummary.ts +0 -97
  916. package/packages/orq-rc/src/models/components/statfilesystemfileresponse.ts +0 -63
  917. package/packages/orq-rc/src/models/components/streamoptions.ts +0 -32
  918. package/packages/orq-rc/src/models/components/structuredinput.ts +0 -51
  919. package/packages/orq-rc/src/models/components/structuredoutput.ts +0 -44
  920. package/packages/orq-rc/src/models/components/structuredtoolcall.ts +0 -43
  921. package/packages/orq-rc/src/models/components/syncmcpserverrequest.ts +0 -39
  922. package/packages/orq-rc/src/models/components/syncmcpserverresponse.ts +0 -37
  923. package/packages/orq-rc/src/models/components/syncstatus.ts +0 -18
  924. package/packages/orq-rc/src/models/components/telemetry.ts +0 -48
  925. package/packages/orq-rc/src/models/components/testmcpservertoolrequest.ts +0 -71
  926. package/packages/orq-rc/src/models/components/testmcpservertoolresponse.ts +0 -35
  927. package/packages/orq-rc/src/models/components/textcontentpartschema.ts +0 -212
  928. package/packages/orq-rc/src/models/components/textpart.ts +0 -54
  929. package/packages/orq-rc/src/models/components/thinkingconfigadaptiveschema.ts +0 -59
  930. package/packages/orq-rc/src/models/components/thinkingconfigdisabledschema.ts +0 -59
  931. package/packages/orq-rc/src/models/components/thinkingconfigenabledschema.ts +0 -108
  932. package/packages/orq-rc/src/models/components/thread.ts +0 -101
  933. package/packages/orq-rc/src/models/components/threadbilling.ts +0 -68
  934. package/packages/orq-rc/src/models/components/threadfilters.ts +0 -66
  935. package/packages/orq-rc/src/models/components/threadkind.ts +0 -20
  936. package/packages/orq-rc/src/models/components/threadusage.ts +0 -68
  937. package/packages/orq-rc/src/models/components/timeoutconfig.ts +0 -32
  938. package/packages/orq-rc/src/models/components/timeoutstreamingevent.ts +0 -64
  939. package/packages/orq-rc/src/models/components/tokenlimit.ts +0 -69
  940. package/packages/orq-rc/src/models/components/toolcallpart.ts +0 -51
  941. package/packages/orq-rc/src/models/components/tooldoneevent.ts +0 -77
  942. package/packages/orq-rc/src/models/components/toolexecutionfailedstreamingevent.ts +0 -236
  943. package/packages/orq-rc/src/models/components/toolexecutionfinishedstreamingevent.ts +0 -220
  944. package/packages/orq-rc/src/models/components/toolexecutionstartedstreamingevent.ts +0 -216
  945. package/packages/orq-rc/src/models/components/toolfailedevent.ts +0 -77
  946. package/packages/orq-rc/src/models/components/toolresultpart.ts +0 -71
  947. package/packages/orq-rc/src/models/components/toolreviewdoneevent.ts +0 -78
  948. package/packages/orq-rc/src/models/components/toolreviewrequestedevent.ts +0 -87
  949. package/packages/orq-rc/src/models/components/toolstartedevent.ts +0 -82
  950. package/packages/orq-rc/src/models/components/totals.ts +0 -34
  951. package/packages/orq-rc/src/models/components/traceagent.ts +0 -33
  952. package/packages/orq-rc/src/models/components/traceaggregaterow.ts +0 -33
  953. package/packages/orq-rc/src/models/components/tracecompute.ts +0 -30
  954. package/packages/orq-rc/src/models/components/tracecontext.ts +0 -39
  955. package/packages/orq-rc/src/models/components/tracecost.ts +0 -77
  956. package/packages/orq-rc/src/models/components/tracefacet.ts +0 -35
  957. package/packages/orq-rc/src/models/components/tracefacetvalue.ts +0 -33
  958. package/packages/orq-rc/src/models/components/tracefield.ts +0 -56
  959. package/packages/orq-rc/src/models/components/tracefilter.ts +0 -33
  960. package/packages/orq-rc/src/models/components/tracescrubbingplugin.ts +0 -80
  961. package/packages/orq-rc/src/models/components/tracesearchmeta.ts +0 -45
  962. package/packages/orq-rc/src/models/components/tracesort.ts +0 -30
  963. package/packages/orq-rc/src/models/components/tracesummary.ts +0 -152
  964. package/packages/orq-rc/src/models/components/traceusage.ts +0 -65
  965. package/packages/orq-rc/src/models/components/updatealertrequest.ts +0 -97
  966. package/packages/orq-rc/src/models/components/updatealertresponse.ts +0 -35
  967. package/packages/orq-rc/src/models/components/updateannotationqueuerequest.ts +0 -61
  968. package/packages/orq-rc/src/models/components/updateapikeyrequest.ts +0 -110
  969. package/packages/orq-rc/src/models/components/updatebudgetrequest.ts +0 -115
  970. package/packages/orq-rc/src/models/components/updatebudgetresponse.ts +0 -38
  971. package/packages/orq-rc/src/models/components/updatefilerequest.ts +0 -39
  972. package/packages/orq-rc/src/models/components/updatefileresponse.ts +0 -35
  973. package/packages/orq-rc/src/models/components/updatefilesystemrequest.ts +0 -83
  974. package/packages/orq-rc/src/models/components/updateguardrailrulerequest.ts +0 -66
  975. package/packages/orq-rc/src/models/components/updateguardrailruleresponse.ts +0 -37
  976. package/packages/orq-rc/src/models/components/updateidentityrequest.ts +0 -64
  977. package/packages/orq-rc/src/models/components/updateidentityresponse.ts +0 -35
  978. package/packages/orq-rc/src/models/components/updateipallowlistrequest.ts +0 -31
  979. package/packages/orq-rc/src/models/components/updateipallowlistresponse.ts +0 -37
  980. package/packages/orq-rc/src/models/components/updatemanagementkeyrequest.ts +0 -81
  981. package/packages/orq-rc/src/models/components/updatemanagementkeyresponse.ts +0 -40
  982. package/packages/orq-rc/src/models/components/updatemcpgatewayrequest.ts +0 -118
  983. package/packages/orq-rc/src/models/components/updatemcpgatewayresponse.ts +0 -37
  984. package/packages/orq-rc/src/models/components/updatemcpserverrequest.ts +0 -100
  985. package/packages/orq-rc/src/models/components/updatemcpserverresponse.ts +0 -37
  986. package/packages/orq-rc/src/models/components/updatememorydocumentrequest.ts +0 -42
  987. package/packages/orq-rc/src/models/components/updatememoryrequest.ts +0 -31
  988. package/packages/orq-rc/src/models/components/updatememorystorerequest.ts +0 -48
  989. package/packages/orq-rc/src/models/components/updatemodelparameter.ts +0 -61
  990. package/packages/orq-rc/src/models/components/updatenotifierrequest.ts +0 -130
  991. package/packages/orq-rc/src/models/components/updatenotifierresponse.ts +0 -35
  992. package/packages/orq-rc/src/models/components/updateprojectrequest.ts +0 -49
  993. package/packages/orq-rc/src/models/components/updateprojectresponse.ts +0 -35
  994. package/packages/orq-rc/src/models/components/updateroutingrulerequest.ts +0 -79
  995. package/packages/orq-rc/src/models/components/updateskillrequest.ts +0 -70
  996. package/packages/orq-rc/src/models/components/updateskillresponse.ts +0 -35
  997. package/packages/orq-rc/src/models/components/updatesmartrouterrequest.ts +0 -41
  998. package/packages/orq-rc/src/models/components/updatesmartrouterresponse.ts +0 -37
  999. package/packages/orq-rc/src/models/components/updatethreadrequest.ts +0 -105
  1000. package/packages/orq-rc/src/models/components/updateworkspacerequest.ts +0 -90
  1001. package/packages/orq-rc/src/models/components/updateworkspaceresponse.ts +0 -32
  1002. package/packages/orq-rc/src/models/components/updateworkspacesettingsrequest.ts +0 -78
  1003. package/packages/orq-rc/src/models/components/updateworkspacesettingsresponse.ts +0 -38
  1004. package/packages/orq-rc/src/models/components/uploadpostpolicy.ts +0 -33
  1005. package/packages/orq-rc/src/models/components/upsertchunk.ts +0 -70
  1006. package/packages/orq-rc/src/models/components/userowner.ts +0 -35
  1007. package/packages/orq-rc/src/models/components/value.ts +0 -24
  1008. package/packages/orq-rc/src/models/components/verifydomainresponse.ts +0 -35
  1009. package/packages/orq-rc/src/models/components/vertexcapabilities.ts +0 -37
  1010. package/packages/orq-rc/src/models/components/vertexconfiguration.ts +0 -45
  1011. package/packages/orq-rc/src/models/components/vertexmodelconfiguration.ts +0 -53
  1012. package/packages/orq-rc/src/models/components/vertexparameters.ts +0 -47
  1013. package/packages/orq-rc/src/models/components/vertexparamrange.ts +0 -34
  1014. package/packages/orq-rc/src/models/components/vertexparamrangeint.ts +0 -34
  1015. package/packages/orq-rc/src/models/components/webhook.ts +0 -116
  1016. package/packages/orq-rc/src/models/components/webscrapertoolinput.ts +0 -51
  1017. package/packages/orq-rc/src/models/components/workspace.ts +0 -116
  1018. package/packages/orq-rc/src/models/components/workspacebudgetscope.ts +0 -46
  1019. package/packages/orq-rc/src/models/components/workspacecapabilities.ts +0 -33
  1020. package/packages/orq-rc/src/models/components/workspaceorganization.ts +0 -33
  1021. package/packages/orq-rc/src/models/components/workspacesettings.ts +0 -66
  1022. package/packages/orq-rc/src/models/components/workspacesettingsfields.ts +0 -135
  1023. package/packages/orq-rc/src/models/components/writememorystoretoolinput.ts +0 -51
  1024. package/packages/orq-rc/src/models/errors/apierror.ts +0 -40
  1025. package/packages/orq-rc/src/models/errors/createagentschedule.ts +0 -105
  1026. package/packages/orq-rc/src/models/errors/createeval.ts +0 -51
  1027. package/packages/orq-rc/src/models/errors/createmoderation.ts +0 -84
  1028. package/packages/orq-rc/src/models/errors/createtranscription.ts +0 -87
  1029. package/packages/orq-rc/src/models/errors/createtranslation.ts +0 -87
  1030. package/packages/orq-rc/src/models/errors/deleteagent.ts +0 -51
  1031. package/packages/orq-rc/src/models/errors/deleteagentschedule.ts +0 -56
  1032. package/packages/orq-rc/src/models/errors/deleteeval.ts +0 -96
  1033. package/packages/orq-rc/src/models/errors/deleteprompt.ts +0 -51
  1034. package/packages/orq-rc/src/models/errors/geteval.ts +0 -51
  1035. package/packages/orq-rc/src/models/errors/getevals.ts +0 -51
  1036. package/packages/orq-rc/src/models/errors/getpromptversion.ts +0 -51
  1037. package/packages/orq-rc/src/models/errors/getv2toolstoolidversions.ts +0 -51
  1038. package/packages/orq-rc/src/models/errors/getv2toolstoolidversionsversionid.ts +0 -52
  1039. package/packages/orq-rc/src/models/errors/honoapierror.ts +0 -59
  1040. package/packages/orq-rc/src/models/errors/httpclienterrors.ts +0 -62
  1041. package/packages/orq-rc/src/models/errors/index.ts +0 -38
  1042. package/packages/orq-rc/src/models/errors/knowledgeapierror.ts +0 -59
  1043. package/packages/orq-rc/src/models/errors/orqerror.ts +0 -35
  1044. package/packages/orq-rc/src/models/errors/postv2feedback.ts +0 -96
  1045. package/packages/orq-rc/src/models/errors/postv2feedbackremove.ts +0 -51
  1046. package/packages/orq-rc/src/models/errors/responsevalidationerror.ts +0 -50
  1047. package/packages/orq-rc/src/models/errors/retrieveagentrequest.ts +0 -51
  1048. package/packages/orq-rc/src/models/errors/retrieveagentschedule.ts +0 -56
  1049. package/packages/orq-rc/src/models/errors/retrieveresponse.ts +0 -56
  1050. package/packages/orq-rc/src/models/errors/sdkvalidationerror.ts +0 -109
  1051. package/packages/orq-rc/src/models/errors/streamagent.ts +0 -51
  1052. package/packages/orq-rc/src/models/errors/streamrunagent.ts +0 -51
  1053. package/packages/orq-rc/src/models/errors/triggeragentschedule.ts +0 -105
  1054. package/packages/orq-rc/src/models/errors/updateagent.ts +0 -51
  1055. package/packages/orq-rc/src/models/errors/updateagentschedule.ts +0 -105
  1056. package/packages/orq-rc/src/models/errors/updateeval.ts +0 -51
  1057. package/packages/orq-rc/src/models/errors/updateprompt.ts +0 -51
  1058. package/packages/orq-rc/src/models/errors/updatetool.ts +0 -62
  1059. package/packages/orq-rc/src/models/operations/addannotationqueueitems.ts +0 -45
  1060. package/packages/orq-rc/src/models/operations/alertdelete.ts +0 -39
  1061. package/packages/orq-rc/src/models/operations/alertget.ts +0 -37
  1062. package/packages/orq-rc/src/models/operations/alertlist.ts +0 -65
  1063. package/packages/orq-rc/src/models/operations/alertlisttriggerevents.ts +0 -74
  1064. package/packages/orq-rc/src/models/operations/alertlisttriggers.ts +0 -65
  1065. package/packages/orq-rc/src/models/operations/alertupdate.ts +0 -44
  1066. package/packages/orq-rc/src/models/operations/apikeydelete.ts +0 -39
  1067. package/packages/orq-rc/src/models/operations/apikeyget.ts +0 -49
  1068. package/packages/orq-rc/src/models/operations/apikeylist.ts +0 -118
  1069. package/packages/orq-rc/src/models/operations/apikeyupdate.ts +0 -44
  1070. package/packages/orq-rc/src/models/operations/budgetdelete.ts +0 -39
  1071. package/packages/orq-rc/src/models/operations/budgetget.ts +0 -39
  1072. package/packages/orq-rc/src/models/operations/budgetlist.ts +0 -108
  1073. package/packages/orq-rc/src/models/operations/budgetresetconsumption.ts +0 -48
  1074. package/packages/orq-rc/src/models/operations/budgetupdate.ts +0 -44
  1075. package/packages/orq-rc/src/models/operations/clearannotationqueue.ts +0 -38
  1076. package/packages/orq-rc/src/models/operations/cleardataset.ts +0 -39
  1077. package/packages/orq-rc/src/models/operations/createagentrequest.ts +0 -5910
  1078. package/packages/orq-rc/src/models/operations/createagentresponserequest.ts +0 -125
  1079. package/packages/orq-rc/src/models/operations/createagentschedule.ts +0 -244
  1080. package/packages/orq-rc/src/models/operations/createannotation.ts +0 -256
  1081. package/packages/orq-rc/src/models/operations/createchatcompletion.ts +0 -6410
  1082. package/packages/orq-rc/src/models/operations/createchunk.ts +0 -45
  1083. package/packages/orq-rc/src/models/operations/createcompletion.ts +0 -3370
  1084. package/packages/orq-rc/src/models/operations/createdataset.ts +0 -162
  1085. package/packages/orq-rc/src/models/operations/createdatasetitem.ts +0 -3112
  1086. package/packages/orq-rc/src/models/operations/createdatasource.ts +0 -43
  1087. package/packages/orq-rc/src/models/operations/createembedding.ts +0 -219
  1088. package/packages/orq-rc/src/models/operations/createeval.ts +0 -672
  1089. package/packages/orq-rc/src/models/operations/createfolder.ts +0 -43
  1090. package/packages/orq-rc/src/models/operations/createidentity.ts +0 -40
  1091. package/packages/orq-rc/src/models/operations/createimage.ts +0 -1040
  1092. package/packages/orq-rc/src/models/operations/createimageedit.ts +0 -1076
  1093. package/packages/orq-rc/src/models/operations/createimagevariation.ts +0 -1104
  1094. package/packages/orq-rc/src/models/operations/creatememory.ts +0 -41
  1095. package/packages/orq-rc/src/models/operations/creatememorydocument.ts +0 -48
  1096. package/packages/orq-rc/src/models/operations/createmoderation.ts +0 -664
  1097. package/packages/orq-rc/src/models/operations/createprompt.ts +0 -5868
  1098. package/packages/orq-rc/src/models/operations/creatererank.ts +0 -903
  1099. package/packages/orq-rc/src/models/operations/createrouterresponse.ts +0 -2464
  1100. package/packages/orq-rc/src/models/operations/createspeech.ts +0 -700
  1101. package/packages/orq-rc/src/models/operations/createtool.ts +0 -2013
  1102. package/packages/orq-rc/src/models/operations/createtranscription.ts +0 -950
  1103. package/packages/orq-rc/src/models/operations/createtranslation.ts +0 -930
  1104. package/packages/orq-rc/src/models/operations/deleteagent.ts +0 -39
  1105. package/packages/orq-rc/src/models/operations/deleteagentschedule.ts +0 -46
  1106. package/packages/orq-rc/src/models/operations/deleteannotation.ts +0 -125
  1107. package/packages/orq-rc/src/models/operations/deleteannotationqueue.ts +0 -38
  1108. package/packages/orq-rc/src/models/operations/deletechunk.ts +0 -44
  1109. package/packages/orq-rc/src/models/operations/deletechunks.ts +0 -47
  1110. package/packages/orq-rc/src/models/operations/deletedatapoint.ts +0 -46
  1111. package/packages/orq-rc/src/models/operations/deletedataset.ts +0 -39
  1112. package/packages/orq-rc/src/models/operations/deletedatasource.ts +0 -40
  1113. package/packages/orq-rc/src/models/operations/deleteeval.ts +0 -31
  1114. package/packages/orq-rc/src/models/operations/deletefile.ts +0 -42
  1115. package/packages/orq-rc/src/models/operations/deletefilesystem.ts +0 -36
  1116. package/packages/orq-rc/src/models/operations/deleteidentity.ts +0 -34
  1117. package/packages/orq-rc/src/models/operations/deleteknowledge.ts +0 -36
  1118. package/packages/orq-rc/src/models/operations/deletememory.ts +0 -40
  1119. package/packages/orq-rc/src/models/operations/deletememorydocument.ts +0 -46
  1120. package/packages/orq-rc/src/models/operations/deletememorystore.ts +0 -36
  1121. package/packages/orq-rc/src/models/operations/deleteprompt.ts +0 -34
  1122. package/packages/orq-rc/src/models/operations/deletesession.ts +0 -36
  1123. package/packages/orq-rc/src/models/operations/deletetool.ts +0 -36
  1124. package/packages/orq-rc/src/models/operations/deletev2humanevalsetsid.ts +0 -36
  1125. package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +0 -4949
  1126. package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +0 -732
  1127. package/packages/orq-rc/src/models/operations/deployments.ts +0 -1384
  1128. package/packages/orq-rc/src/models/operations/deploymentstream.ts +0 -4102
  1129. package/packages/orq-rc/src/models/operations/filecontent.ts +0 -39
  1130. package/packages/orq-rc/src/models/operations/filedelete.ts +0 -39
  1131. package/packages/orq-rc/src/models/operations/fileget.ts +0 -35
  1132. package/packages/orq-rc/src/models/operations/filelist.ts +0 -71
  1133. package/packages/orq-rc/src/models/operations/fileupdate.ts +0 -44
  1134. package/packages/orq-rc/src/models/operations/getagentresponse.ts +0 -46
  1135. package/packages/orq-rc/src/models/operations/getallmemories.ts +0 -65
  1136. package/packages/orq-rc/src/models/operations/getallmemorydocuments.ts +0 -82
  1137. package/packages/orq-rc/src/models/operations/getallmemorystores.ts +0 -72
  1138. package/packages/orq-rc/src/models/operations/getallprompts.ts +0 -3441
  1139. package/packages/orq-rc/src/models/operations/getalltools.ts +0 -1102
  1140. package/packages/orq-rc/src/models/operations/getchunkscount.ts +0 -46
  1141. package/packages/orq-rc/src/models/operations/geteval.ts +0 -2800
  1142. package/packages/orq-rc/src/models/operations/getevals.ts +0 -172
  1143. package/packages/orq-rc/src/models/operations/getevalversion.ts +0 -64
  1144. package/packages/orq-rc/src/models/operations/getlog.ts +0 -27
  1145. package/packages/orq-rc/src/models/operations/getlogcontext.ts +0 -40
  1146. package/packages/orq-rc/src/models/operations/getonechunk.ts +0 -44
  1147. package/packages/orq-rc/src/models/operations/getonedatasourceprocessingstatus.ts +0 -43
  1148. package/packages/orq-rc/src/models/operations/getonefileuploadurl.ts +0 -54
  1149. package/packages/orq-rc/src/models/operations/getoneknowledge.ts +0 -36
  1150. package/packages/orq-rc/src/models/operations/getoneprompt.ts +0 -3364
  1151. package/packages/orq-rc/src/models/operations/getpromptversion.ts +0 -3413
  1152. package/packages/orq-rc/src/models/operations/getsession.ts +0 -36
  1153. package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +0 -234
  1154. package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +0 -235
  1155. package/packages/orq-rc/src/models/operations/getv2toolstoolidversions.ts +0 -163
  1156. package/packages/orq-rc/src/models/operations/getv2toolstoolidversionsversionid.ts +0 -110
  1157. package/packages/orq-rc/src/models/operations/guardrailruledelete.ts +0 -36
  1158. package/packages/orq-rc/src/models/operations/guardrailruleget.ts +0 -36
  1159. package/packages/orq-rc/src/models/operations/guardrailrulelist.ts +0 -61
  1160. package/packages/orq-rc/src/models/operations/guardrailrulelistusedguardrails.ts +0 -39
  1161. package/packages/orq-rc/src/models/operations/guardrailruleupdate.ts +0 -42
  1162. package/packages/orq-rc/src/models/operations/hubget.ts +0 -27
  1163. package/packages/orq-rc/src/models/operations/hubsearch.ts +0 -34
  1164. package/packages/orq-rc/src/models/operations/index.ts +0 -254
  1165. package/packages/orq-rc/src/models/operations/invokeagent.ts +0 -775
  1166. package/packages/orq-rc/src/models/operations/invokeeval.ts +0 -43
  1167. package/packages/orq-rc/src/models/operations/listagents.ts +0 -3041
  1168. package/packages/orq-rc/src/models/operations/listagentschedules.ts +0 -69
  1169. package/packages/orq-rc/src/models/operations/listannotationqueueitems.ts +0 -58
  1170. package/packages/orq-rc/src/models/operations/listannotationqueues.ts +0 -67
  1171. package/packages/orq-rc/src/models/operations/listchunks.ts +0 -131
  1172. package/packages/orq-rc/src/models/operations/listchunkspaginated.ts +0 -48
  1173. package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +0 -2092
  1174. package/packages/orq-rc/src/models/operations/listdatasets.ts +0 -225
  1175. package/packages/orq-rc/src/models/operations/listdatasources.ts +0 -96
  1176. package/packages/orq-rc/src/models/operations/listevalversions.ts +0 -49
  1177. package/packages/orq-rc/src/models/operations/listfiles.ts +0 -46
  1178. package/packages/orq-rc/src/models/operations/listfilesystems.ts +0 -50
  1179. package/packages/orq-rc/src/models/operations/listidentities.ts +0 -94
  1180. package/packages/orq-rc/src/models/operations/listknowledgebases.ts +0 -98
  1181. package/packages/orq-rc/src/models/operations/listlogfacetvalues.ts +0 -46
  1182. package/packages/orq-rc/src/models/operations/listmodels.ts +0 -60
  1183. package/packages/orq-rc/src/models/operations/listpromptversions.ts +0 -3488
  1184. package/packages/orq-rc/src/models/operations/listtracelogs.ts +0 -43
  1185. package/packages/orq-rc/src/models/operations/managementkeydelete.ts +0 -39
  1186. package/packages/orq-rc/src/models/operations/managementkeyget.ts +0 -39
  1187. package/packages/orq-rc/src/models/operations/managementkeylist.ts +0 -85
  1188. package/packages/orq-rc/src/models/operations/managementkeyupdate.ts +0 -45
  1189. package/packages/orq-rc/src/models/operations/mcpgatewaydelete.ts +0 -34
  1190. package/packages/orq-rc/src/models/operations/mcpgatewayget.ts +0 -34
  1191. package/packages/orq-rc/src/models/operations/mcpgatewaylist.ts +0 -65
  1192. package/packages/orq-rc/src/models/operations/mcpgatewaylisttools.ts +0 -66
  1193. package/packages/orq-rc/src/models/operations/mcpgatewayupdate.ts +0 -43
  1194. package/packages/orq-rc/src/models/operations/mcpserverdelete.ts +0 -34
  1195. package/packages/orq-rc/src/models/operations/mcpserverget.ts +0 -34
  1196. package/packages/orq-rc/src/models/operations/mcpserverlist.ts +0 -58
  1197. package/packages/orq-rc/src/models/operations/mcpserversync.ts +0 -43
  1198. package/packages/orq-rc/src/models/operations/mcpservertesttool.ts +0 -43
  1199. package/packages/orq-rc/src/models/operations/mcpserverupdate.ts +0 -43
  1200. package/packages/orq-rc/src/models/operations/modelazurefoundrydeployments.ts +0 -90
  1201. package/packages/orq-rc/src/models/operations/modelcatalogget.ts +0 -34
  1202. package/packages/orq-rc/src/models/operations/modelcataloglist.ts +0 -147
  1203. package/packages/orq-rc/src/models/operations/modelcataloglistofferings.ts +0 -151
  1204. package/packages/orq-rc/src/models/operations/modelcreate.ts +0 -189
  1205. package/packages/orq-rc/src/models/operations/modelcreateawsbedrock.ts +0 -247
  1206. package/packages/orq-rc/src/models/operations/modelcreateopenailike.ts +0 -215
  1207. package/packages/orq-rc/src/models/operations/modelcreatevertex.ts +0 -149
  1208. package/packages/orq-rc/src/models/operations/modeldelete.ts +0 -34
  1209. package/packages/orq-rc/src/models/operations/modeldisable.ts +0 -39
  1210. package/packages/orq-rc/src/models/operations/modelenable.ts +0 -36
  1211. package/packages/orq-rc/src/models/operations/modelupdate.ts +0 -203
  1212. package/packages/orq-rc/src/models/operations/modelupdateawsbedrock.ts +0 -273
  1213. package/packages/orq-rc/src/models/operations/modelupdateopenailike.ts +0 -249
  1214. package/packages/orq-rc/src/models/operations/modelvalidate.ts +0 -57
  1215. package/packages/orq-rc/src/models/operations/modelvalidateawsbedrock.ts +0 -61
  1216. package/packages/orq-rc/src/models/operations/movefile.ts +0 -40
  1217. package/packages/orq-rc/src/models/operations/notifierdelete.ts +0 -36
  1218. package/packages/orq-rc/src/models/operations/notifierget.ts +0 -36
  1219. package/packages/orq-rc/src/models/operations/notifierlist.ts +0 -72
  1220. package/packages/orq-rc/src/models/operations/notifierupdate.ts +0 -41
  1221. package/packages/orq-rc/src/models/operations/parse.ts +0 -809
  1222. package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +0 -415
  1223. package/packages/orq-rc/src/models/operations/policycreate.ts +0 -138
  1224. package/packages/orq-rc/src/models/operations/policydelete.ts +0 -39
  1225. package/packages/orq-rc/src/models/operations/policyget.ts +0 -110
  1226. package/packages/orq-rc/src/models/operations/policylist.ts +0 -94
  1227. package/packages/orq-rc/src/models/operations/policyupdate.ts +0 -174
  1228. package/packages/orq-rc/src/models/operations/postv2feedback.ts +0 -216
  1229. package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +0 -453
  1230. package/packages/orq-rc/src/models/operations/postv2feedbackevaluationremove.ts +0 -43
  1231. package/packages/orq-rc/src/models/operations/postv2feedbackremove.ts +0 -137
  1232. package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +0 -365
  1233. package/packages/orq-rc/src/models/operations/postv2routerocr.ts +0 -510
  1234. package/packages/orq-rc/src/models/operations/previewdatasourcechunks.ts +0 -47
  1235. package/packages/orq-rc/src/models/operations/projectdelete.ts +0 -39
  1236. package/packages/orq-rc/src/models/operations/projectget.ts +0 -39
  1237. package/packages/orq-rc/src/models/operations/projectlist.ts +0 -58
  1238. package/packages/orq-rc/src/models/operations/projectupdate.ts +0 -44
  1239. package/packages/orq-rc/src/models/operations/removeannotationqueueitems.ts +0 -46
  1240. package/packages/orq-rc/src/models/operations/retrieveagentrequest.ts +0 -3103
  1241. package/packages/orq-rc/src/models/operations/retrieveagentschedule.ts +0 -174
  1242. package/packages/orq-rc/src/models/operations/retrieveannotationqueue.ts +0 -38
  1243. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitem.ts +0 -73
  1244. package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +0 -1977
  1245. package/packages/orq-rc/src/models/operations/retrievedataset.ts +0 -150
  1246. package/packages/orq-rc/src/models/operations/retrievedatasource.ts +0 -40
  1247. package/packages/orq-rc/src/models/operations/retrievefilesystem.ts +0 -36
  1248. package/packages/orq-rc/src/models/operations/retrieveidentity.ts +0 -55
  1249. package/packages/orq-rc/src/models/operations/retrievememory.ts +0 -40
  1250. package/packages/orq-rc/src/models/operations/retrievememorydocument.ts +0 -46
  1251. package/packages/orq-rc/src/models/operations/retrievememorystore.ts +0 -36
  1252. package/packages/orq-rc/src/models/operations/retrieveresponse.ts +0 -239
  1253. package/packages/orq-rc/src/models/operations/retrievetool.ts +0 -1081
  1254. package/packages/orq-rc/src/models/operations/routingruledelete.ts +0 -36
  1255. package/packages/orq-rc/src/models/operations/routingruleget.ts +0 -36
  1256. package/packages/orq-rc/src/models/operations/routingrulelist.ts +0 -56
  1257. package/packages/orq-rc/src/models/operations/routingrulelistusedmodels.ts +0 -38
  1258. package/packages/orq-rc/src/models/operations/routingruleupdate.ts +0 -41
  1259. package/packages/orq-rc/src/models/operations/runagent.ts +0 -4902
  1260. package/packages/orq-rc/src/models/operations/searchknowledge.ts +0 -47
  1261. package/packages/orq-rc/src/models/operations/skilldelete.ts +0 -39
  1262. package/packages/orq-rc/src/models/operations/skillget.ts +0 -40
  1263. package/packages/orq-rc/src/models/operations/skilllist.ts +0 -61
  1264. package/packages/orq-rc/src/models/operations/skillupdate.ts +0 -44
  1265. package/packages/orq-rc/src/models/operations/smartrouterdelete.ts +0 -36
  1266. package/packages/orq-rc/src/models/operations/smartrouterget.ts +0 -36
  1267. package/packages/orq-rc/src/models/operations/smartrouterlist.ts +0 -53
  1268. package/packages/orq-rc/src/models/operations/smartrouterupdate.ts +0 -41
  1269. package/packages/orq-rc/src/models/operations/statfile.ts +0 -37
  1270. package/packages/orq-rc/src/models/operations/streamagent.ts +0 -698
  1271. package/packages/orq-rc/src/models/operations/streamrunagent.ts +0 -5037
  1272. package/packages/orq-rc/src/models/operations/tracesget.ts +0 -36
  1273. package/packages/orq-rc/src/models/operations/tracesgetspan.ts +0 -40
  1274. package/packages/orq-rc/src/models/operations/traceslistfacetvalues.ts +0 -50
  1275. package/packages/orq-rc/src/models/operations/traceslistspans.ts +0 -43
  1276. package/packages/orq-rc/src/models/operations/triggeragentschedule.ts +0 -86
  1277. package/packages/orq-rc/src/models/operations/updateagent.ts +0 -6184
  1278. package/packages/orq-rc/src/models/operations/updateagentschedule.ts +0 -258
  1279. package/packages/orq-rc/src/models/operations/updateannotationqueue.ts +0 -45
  1280. package/packages/orq-rc/src/models/operations/updatechunk.ts +0 -50
  1281. package/packages/orq-rc/src/models/operations/updatechunkenabled.ts +0 -51
  1282. package/packages/orq-rc/src/models/operations/updatedatapoint.ts +0 -3156
  1283. package/packages/orq-rc/src/models/operations/updatedataset.ts +0 -206
  1284. package/packages/orq-rc/src/models/operations/updatedatasource.ts +0 -47
  1285. package/packages/orq-rc/src/models/operations/updateeval.ts +0 -468
  1286. package/packages/orq-rc/src/models/operations/updatefilesystem.ts +0 -41
  1287. package/packages/orq-rc/src/models/operations/updateidentity.ts +0 -43
  1288. package/packages/orq-rc/src/models/operations/updateknowledge.ts +0 -44
  1289. package/packages/orq-rc/src/models/operations/updatememory.ts +0 -45
  1290. package/packages/orq-rc/src/models/operations/updatememorydocument.ts +0 -52
  1291. package/packages/orq-rc/src/models/operations/updatememorystore.ts +0 -41
  1292. package/packages/orq-rc/src/models/operations/updateprompt.ts +0 -5955
  1293. package/packages/orq-rc/src/models/operations/updatesession.ts +0 -41
  1294. package/packages/orq-rc/src/models/operations/updatetool.ts +0 -2216
  1295. package/packages/orq-rc/src/models/operations/webhookdelete.ts +0 -31
  1296. package/packages/orq-rc/src/models/operations/webhookget.ts +0 -31
  1297. package/packages/orq-rc/src/models/operations/webhooklist.ts +0 -101
  1298. package/packages/orq-rc/src/models/operations/webhookupdate.ts +0 -84
  1299. package/packages/orq-rc/src/models/operations/workspaceget.ts +0 -31
  1300. package/packages/orq-rc/src/models/operations/workspacelist.ts +0 -43
  1301. package/packages/orq-rc/src/models/operations/workspacesecurityaddiprange.ts +0 -43
  1302. package/packages/orq-rc/src/models/operations/workspacesecuritycreatedomain.ts +0 -43
  1303. package/packages/orq-rc/src/models/operations/workspacesecuritydeletedomain.ts +0 -42
  1304. package/packages/orq-rc/src/models/operations/workspacesecuritydeleteiprange.ts +0 -42
  1305. package/packages/orq-rc/src/models/operations/workspacesecuritygetipallowlist.ts +0 -39
  1306. package/packages/orq-rc/src/models/operations/workspacesecuritylistdomains.ts +0 -38
  1307. package/packages/orq-rc/src/models/operations/workspacesecurityupdateipallowlist.ts +0 -46
  1308. package/packages/orq-rc/src/models/operations/workspacesecurityverifydomain.ts +0 -42
  1309. package/packages/orq-rc/src/models/operations/workspaceupdate.ts +0 -40
  1310. package/packages/orq-rc/src/sdk/agents.ts +0 -198
  1311. package/packages/orq-rc/src/sdk/alerts.ts +0 -136
  1312. package/packages/orq-rc/src/sdk/annotationqueues.ts +0 -190
  1313. package/packages/orq-rc/src/sdk/annotations.ts +0 -45
  1314. package/packages/orq-rc/src/sdk/apikeys.ts +0 -116
  1315. package/packages/orq-rc/src/sdk/audio.ts +0 -25
  1316. package/packages/orq-rc/src/sdk/auditlogs.ts +0 -27
  1317. package/packages/orq-rc/src/sdk/budgets.ts +0 -118
  1318. package/packages/orq-rc/src/sdk/chat.ts +0 -13
  1319. package/packages/orq-rc/src/sdk/chunking.ts +0 -28
  1320. package/packages/orq-rc/src/sdk/completions.ts +0 -32
  1321. package/packages/orq-rc/src/sdk/datasets.ts +0 -207
  1322. package/packages/orq-rc/src/sdk/deployments.ts +0 -83
  1323. package/packages/orq-rc/src/sdk/edits.ts +0 -27
  1324. package/packages/orq-rc/src/sdk/embeddings.ts +0 -27
  1325. package/packages/orq-rc/src/sdk/evals.ts +0 -154
  1326. package/packages/orq-rc/src/sdk/feedback.ts +0 -57
  1327. package/packages/orq-rc/src/sdk/files.ts +0 -118
  1328. package/packages/orq-rc/src/sdk/filesystems.ts +0 -190
  1329. package/packages/orq-rc/src/sdk/generations.ts +0 -27
  1330. package/packages/orq-rc/src/sdk/guardrailrules.ts +0 -118
  1331. package/packages/orq-rc/src/sdk/hub.ts +0 -46
  1332. package/packages/orq-rc/src/sdk/humanreviewsets.ts +0 -84
  1333. package/packages/orq-rc/src/sdk/identities.ts +0 -100
  1334. package/packages/orq-rc/src/sdk/images.ts +0 -25
  1335. package/packages/orq-rc/src/sdk/index.ts +0 -5
  1336. package/packages/orq-rc/src/sdk/knowledge.ts +0 -424
  1337. package/packages/orq-rc/src/sdk/logs.ts +0 -188
  1338. package/packages/orq-rc/src/sdk/managementkeys.ts +0 -116
  1339. package/packages/orq-rc/src/sdk/mcpgateways.ts +0 -118
  1340. package/packages/orq-rc/src/sdk/mcpservers.ts +0 -136
  1341. package/packages/orq-rc/src/sdk/memorystores.ts +0 -287
  1342. package/packages/orq-rc/src/sdk/modelcatalog.ts +0 -64
  1343. package/packages/orq-rc/src/sdk/models.ts +0 -294
  1344. package/packages/orq-rc/src/sdk/moderations.ts +0 -27
  1345. package/packages/orq-rc/src/sdk/notifiers.ts +0 -100
  1346. package/packages/orq-rc/src/sdk/orqcompletions.ts +0 -32
  1347. package/packages/orq-rc/src/sdk/orqresponses.ts +0 -57
  1348. package/packages/orq-rc/src/sdk/pii.ts +0 -79
  1349. package/packages/orq-rc/src/sdk/policies.ts +0 -99
  1350. package/packages/orq-rc/src/sdk/projects.ts +0 -100
  1351. package/packages/orq-rc/src/sdk/prompts.ts +0 -135
  1352. package/packages/orq-rc/src/sdk/reporting.ts +0 -27
  1353. package/packages/orq-rc/src/sdk/rerank.ts +0 -27
  1354. package/packages/orq-rc/src/sdk/responses.ts +0 -47
  1355. package/packages/orq-rc/src/sdk/router.ts +0 -66
  1356. package/packages/orq-rc/src/sdk/routingrules.ts +0 -118
  1357. package/packages/orq-rc/src/sdk/schedules.ts +0 -117
  1358. package/packages/orq-rc/src/sdk/sdk.ts +0 -277
  1359. package/packages/orq-rc/src/sdk/sessions.ts +0 -134
  1360. package/packages/orq-rc/src/sdk/skills.ts +0 -100
  1361. package/packages/orq-rc/src/sdk/smartrouters.ts +0 -102
  1362. package/packages/orq-rc/src/sdk/speech.ts +0 -27
  1363. package/packages/orq-rc/src/sdk/tools.ts +0 -135
  1364. package/packages/orq-rc/src/sdk/traces.ts +0 -168
  1365. package/packages/orq-rc/src/sdk/transcriptions.ts +0 -27
  1366. package/packages/orq-rc/src/sdk/translations.ts +0 -27
  1367. package/packages/orq-rc/src/sdk/variations.ts +0 -27
  1368. package/packages/orq-rc/src/sdk/webhooks.ts +0 -152
  1369. package/packages/orq-rc/src/sdk/workspaces.ts +0 -64
  1370. package/packages/orq-rc/src/sdk/workspacesecurity.ts +0 -154
  1371. package/packages/orq-rc/src/sdk/workspacesettings.ts +0 -43
  1372. package/packages/orq-rc/src/types/async.ts +0 -69
  1373. package/packages/orq-rc/src/types/blobs.ts +0 -32
  1374. package/packages/orq-rc/src/types/constdatetime.ts +0 -15
  1375. package/packages/orq-rc/src/types/enums.ts +0 -45
  1376. package/packages/orq-rc/src/types/fp.ts +0 -50
  1377. package/packages/orq-rc/src/types/index.ts +0 -11
  1378. package/packages/orq-rc/src/types/operations.ts +0 -105
  1379. package/packages/orq-rc/src/types/rfcdate.ts +0 -54
  1380. package/packages/orq-rc/src/types/streams.ts +0 -21
  1381. package/packages/orq-rc/src/types/unrecognized.ts +0 -35
@@ -1,3413 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v3";
6
- import { remap as remap$ } from "../../lib/primitives.js";
7
- import { safeParse } from "../../lib/schemas.js";
8
- import { ClosedEnum } from "../../types/enums.js";
9
- import { Result as SafeParseResult } from "../../types/fp.js";
10
- import * as components from "../components/index.js";
11
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
12
-
13
- export type GetPromptVersionRequest = {
14
- /**
15
- * The unique identifier of the prompt
16
- */
17
- promptId: string;
18
- /**
19
- * The unique identifier of the prompt version
20
- */
21
- versionId: string;
22
- };
23
-
24
- /**
25
- * The modality of the model
26
- */
27
- export const GetPromptVersionModelType = {
28
- Chat: "chat",
29
- Completion: "completion",
30
- Embedding: "embedding",
31
- Image: "image",
32
- Tts: "tts",
33
- Stt: "stt",
34
- Rerank: "rerank",
35
- Ocr: "ocr",
36
- Moderation: "moderation",
37
- Vision: "vision",
38
- } as const;
39
- /**
40
- * The modality of the model
41
- */
42
- export type GetPromptVersionModelType = ClosedEnum<
43
- typeof GetPromptVersionModelType
44
- >;
45
-
46
- /**
47
- * Only supported on `image` models.
48
- */
49
- export const GetPromptVersionFormat = {
50
- Url: "url",
51
- B64Json: "b64_json",
52
- Text: "text",
53
- JsonObject: "json_object",
54
- } as const;
55
- /**
56
- * Only supported on `image` models.
57
- */
58
- export type GetPromptVersionFormat = ClosedEnum<typeof GetPromptVersionFormat>;
59
-
60
- export const GetPromptVersionResponseFormat6 = {
61
- Json: "json",
62
- Text: "text",
63
- Srt: "srt",
64
- VerboseJson: "verbose_json",
65
- Vtt: "vtt",
66
- } as const;
67
- export type GetPromptVersionResponseFormat6 = ClosedEnum<
68
- typeof GetPromptVersionResponseFormat6
69
- >;
70
-
71
- export const GetPromptVersionResponseFormat5 = {
72
- Url: "url",
73
- Base64Json: "base64_json",
74
- } as const;
75
- export type GetPromptVersionResponseFormat5 = ClosedEnum<
76
- typeof GetPromptVersionResponseFormat5
77
- >;
78
-
79
- export const GetPromptVersionResponseFormat4 = {
80
- Mp3: "mp3",
81
- Opus: "opus",
82
- Aac: "aac",
83
- Flac: "flac",
84
- Wav: "wav",
85
- Pcm: "pcm",
86
- } as const;
87
- export type GetPromptVersionResponseFormat4 = ClosedEnum<
88
- typeof GetPromptVersionResponseFormat4
89
- >;
90
-
91
- export const GetPromptVersionResponseFormatPromptsResponse200ApplicationJSONResponseBodyType =
92
- {
93
- Text: "text",
94
- } as const;
95
- export type GetPromptVersionResponseFormatPromptsResponse200ApplicationJSONResponseBodyType =
96
- ClosedEnum<
97
- typeof GetPromptVersionResponseFormatPromptsResponse200ApplicationJSONResponseBodyType
98
- >;
99
-
100
- export type GetPromptVersionResponseFormat3 = {
101
- type:
102
- GetPromptVersionResponseFormatPromptsResponse200ApplicationJSONResponseBodyType;
103
- };
104
-
105
- export const GetPromptVersionResponseFormatPromptsResponse200ApplicationJSONType =
106
- {
107
- JsonObject: "json_object",
108
- } as const;
109
- export type GetPromptVersionResponseFormatPromptsResponse200ApplicationJSONType =
110
- ClosedEnum<
111
- typeof GetPromptVersionResponseFormatPromptsResponse200ApplicationJSONType
112
- >;
113
-
114
- export type GetPromptVersionResponseFormat2 = {
115
- type: GetPromptVersionResponseFormatPromptsResponse200ApplicationJSONType;
116
- };
117
-
118
- export const GetPromptVersionResponseFormatPromptsResponse200Type = {
119
- JsonSchema: "json_schema",
120
- } as const;
121
- export type GetPromptVersionResponseFormatPromptsResponse200Type = ClosedEnum<
122
- typeof GetPromptVersionResponseFormatPromptsResponse200Type
123
- >;
124
-
125
- export type GetPromptVersionResponseFormatPromptsResponseJsonSchema = {
126
- name: string;
127
- description?: string | null | undefined;
128
- strict?: boolean | undefined;
129
- schema: { [k: string]: any };
130
- };
131
-
132
- export type GetPromptVersionResponseFormat1 = {
133
- type: GetPromptVersionResponseFormatPromptsResponse200Type;
134
- displayName?: string | undefined;
135
- jsonSchema: GetPromptVersionResponseFormatPromptsResponseJsonSchema;
136
- };
137
-
138
- /**
139
- * An object specifying the format that the model must output.
140
- *
141
- * @remarks
142
- *
143
- * Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema
144
- *
145
- * Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
146
- *
147
- * Important: when using JSON mode, you must also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if finish_reason="length", which indicates the generation exceeded max_tokens or the conversation exceeded the max context length.
148
- */
149
- export type GetPromptVersionPromptsResponseFormat =
150
- | GetPromptVersionResponseFormat1
151
- | GetPromptVersionResponseFormat2
152
- | GetPromptVersionResponseFormat3
153
- | GetPromptVersionResponseFormat4
154
- | GetPromptVersionResponseFormat5
155
- | GetPromptVersionResponseFormat6;
156
-
157
- /**
158
- * Create a cache control breakpoint. Accepts only the value "ephemeral".
159
- */
160
- export const GetPromptVersionPromptsResponseType = {
161
- Ephemeral: "ephemeral",
162
- } as const;
163
- /**
164
- * Create a cache control breakpoint. Accepts only the value "ephemeral".
165
- */
166
- export type GetPromptVersionPromptsResponseType = ClosedEnum<
167
- typeof GetPromptVersionPromptsResponseType
168
- >;
169
-
170
- /**
171
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
172
- *
173
- * @remarks
174
- *
175
- * - `5m`: 5 minutes
176
- * - `1h`: 1 hour
177
- *
178
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
179
- */
180
- export const GetPromptVersionPromptsTtl = {
181
- Fivem: "5m",
182
- Oneh: "1h",
183
- } as const;
184
- /**
185
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
186
- *
187
- * @remarks
188
- *
189
- * - `5m`: 5 minutes
190
- * - `1h`: 1 hour
191
- *
192
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
193
- */
194
- export type GetPromptVersionPromptsTtl = ClosedEnum<
195
- typeof GetPromptVersionPromptsTtl
196
- >;
197
-
198
- /**
199
- * Provider-level prompt caching configuration applied to the request. Creates a cache control breakpoint covering the request content. Only supported by `Anthropic` Claude models.
200
- */
201
- export type GetPromptVersionPromptsCacheControl = {
202
- /**
203
- * Create a cache control breakpoint. Accepts only the value "ephemeral".
204
- */
205
- type: GetPromptVersionPromptsResponseType;
206
- /**
207
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
208
- *
209
- * @remarks
210
- *
211
- * - `5m`: 5 minutes
212
- * - `1h`: 1 hour
213
- *
214
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
215
- */
216
- ttl: GetPromptVersionPromptsTtl;
217
- };
218
-
219
- /**
220
- * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
221
- */
222
- export const GetPromptVersionPhotoRealVersion = {
223
- V1: "v1",
224
- V2: "v2",
225
- } as const;
226
- /**
227
- * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
228
- */
229
- export type GetPromptVersionPhotoRealVersion = ClosedEnum<
230
- typeof GetPromptVersionPhotoRealVersion
231
- >;
232
-
233
- /**
234
- * The format to return the embeddings
235
- */
236
- export const GetPromptVersionEncodingFormat = {
237
- Float: "float",
238
- Base64: "base64",
239
- } as const;
240
- /**
241
- * The format to return the embeddings
242
- */
243
- export type GetPromptVersionEncodingFormat = ClosedEnum<
244
- typeof GetPromptVersionEncodingFormat
245
- >;
246
-
247
- /**
248
- * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
249
- */
250
- export const GetPromptVersionPromptsReasoningEffort = {
251
- None: "none",
252
- Disable: "disable",
253
- Minimal: "minimal",
254
- Low: "low",
255
- Medium: "medium",
256
- High: "high",
257
- Xhigh: "xhigh",
258
- Max: "max",
259
- } as const;
260
- /**
261
- * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
262
- */
263
- export type GetPromptVersionPromptsReasoningEffort = ClosedEnum<
264
- typeof GetPromptVersionPromptsReasoningEffort
265
- >;
266
-
267
- /**
268
- * Controls the verbosity of the model output.
269
- */
270
- export const GetPromptVersionVerbosity = {
271
- Low: "low",
272
- Medium: "medium",
273
- High: "high",
274
- } as const;
275
- /**
276
- * Controls the verbosity of the model output.
277
- */
278
- export type GetPromptVersionVerbosity = ClosedEnum<
279
- typeof GetPromptVersionVerbosity
280
- >;
281
-
282
- /**
283
- * The level of thinking to use for the model. Only supported by `Google AI`
284
- */
285
- export const GetPromptVersionThinkingLevel = {
286
- Minimal: "minimal",
287
- Low: "low",
288
- Medium: "medium",
289
- High: "high",
290
- } as const;
291
- /**
292
- * The level of thinking to use for the model. Only supported by `Google AI`
293
- */
294
- export type GetPromptVersionThinkingLevel = ClosedEnum<
295
- typeof GetPromptVersionThinkingLevel
296
- >;
297
-
298
- /**
299
- * Model Parameters: Not all parameters apply to every model
300
- */
301
- export type GetPromptVersionModelParameters = {
302
- /**
303
- * Only supported on `chat` and `completion` models.
304
- */
305
- temperature?: number | undefined;
306
- /**
307
- * Only supported on `chat` and `completion` models.
308
- */
309
- maxTokens?: number | undefined;
310
- /**
311
- * Only supported on `chat` and `completion` models.
312
- */
313
- topK?: number | undefined;
314
- /**
315
- * Only supported on `chat` and `completion` models.
316
- */
317
- topP?: number | undefined;
318
- /**
319
- * Only supported on `chat` and `completion` models.
320
- */
321
- frequencyPenalty?: number | undefined;
322
- /**
323
- * Only supported on `chat` and `completion` models.
324
- */
325
- presencePenalty?: number | undefined;
326
- /**
327
- * Only supported on `image` models.
328
- */
329
- numImages?: number | undefined;
330
- /**
331
- * Best effort deterministic seed for the model. Currently only OpenAI models support these
332
- */
333
- seed?: number | undefined;
334
- /**
335
- * Only supported on `image` models.
336
- */
337
- format?: GetPromptVersionFormat | undefined;
338
- /**
339
- * Only supported on `image` models.
340
- */
341
- dimensions?: string | undefined;
342
- /**
343
- * Only supported on `image` models.
344
- */
345
- quality?: string | undefined;
346
- /**
347
- * Only supported on `image` models.
348
- */
349
- style?: string | undefined;
350
- /**
351
- * An object specifying the format that the model must output.
352
- *
353
- * @remarks
354
- *
355
- * Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema
356
- *
357
- * Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
358
- *
359
- * Important: when using JSON mode, you must also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if finish_reason="length", which indicates the generation exceeded max_tokens or the conversation exceeded the max context length.
360
- */
361
- responseFormat?:
362
- | GetPromptVersionResponseFormat1
363
- | GetPromptVersionResponseFormat2
364
- | GetPromptVersionResponseFormat3
365
- | GetPromptVersionResponseFormat4
366
- | GetPromptVersionResponseFormat5
367
- | GetPromptVersionResponseFormat6
368
- | null
369
- | undefined;
370
- /**
371
- * Provider-level prompt caching configuration applied to the request. Creates a cache control breakpoint covering the request content. Only supported by `Anthropic` Claude models.
372
- */
373
- cacheControl?: GetPromptVersionPromptsCacheControl | null | undefined;
374
- /**
375
- * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
376
- */
377
- photoRealVersion?: GetPromptVersionPhotoRealVersion | undefined;
378
- /**
379
- * The format to return the embeddings
380
- */
381
- encodingFormat?: GetPromptVersionEncodingFormat | undefined;
382
- /**
383
- * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
384
- */
385
- reasoningEffort?: GetPromptVersionPromptsReasoningEffort | undefined;
386
- /**
387
- * Gives the model enhanced reasoning capabilities for complex tasks. A value of 0 disables thinking. The minimum budget tokens for thinking are 1024. The Budget Tokens should never exceed the Max Tokens parameter. Only supported by `Anthropic`
388
- */
389
- budgetTokens?: number | undefined;
390
- /**
391
- * Controls the verbosity of the model output.
392
- */
393
- verbosity?: GetPromptVersionVerbosity | undefined;
394
- /**
395
- * The level of thinking to use for the model. Only supported by `Google AI`
396
- */
397
- thinkingLevel?: GetPromptVersionThinkingLevel | undefined;
398
- };
399
-
400
- export const GetPromptVersionProvider = {
401
- Openai: "openai",
402
- Groq: "groq",
403
- Cohere: "cohere",
404
- Azure: "azure",
405
- Aws: "aws",
406
- Google: "google",
407
- GoogleAi: "google-ai",
408
- Huggingface: "huggingface",
409
- Togetherai: "togetherai",
410
- Perplexity: "perplexity",
411
- Anthropic: "anthropic",
412
- Leonardoai: "leonardoai",
413
- Fal: "fal",
414
- Nvidia: "nvidia",
415
- Jina: "jina",
416
- Elevenlabs: "elevenlabs",
417
- Litellm: "litellm",
418
- Cerebras: "cerebras",
419
- Openailike: "openailike",
420
- Bytedance: "bytedance",
421
- Mistral: "mistral",
422
- Deepseek: "deepseek",
423
- Moonshotai: "moonshotai",
424
- Zai: "zai",
425
- Minimax: "minimax",
426
- Xai: "xai",
427
- Alibaba: "alibaba",
428
- Tensorix: "tensorix",
429
- Scaleway: "scaleway",
430
- Hcompany: "hcompany",
431
- Inceptron: "inceptron",
432
- Wafer: "wafer",
433
- Poolside: "poolside",
434
- Tencent: "tencent",
435
- Nebius: "nebius",
436
- Fireworks: "fireworks",
437
- Baseten: "baseten",
438
- Reson8: "reson8",
439
- Meta: "meta",
440
- Greenpt: "greenpt",
441
- Slack: "slack",
442
- Orq: "orq",
443
- } as const;
444
- export type GetPromptVersionProvider = ClosedEnum<
445
- typeof GetPromptVersionProvider
446
- >;
447
-
448
- /**
449
- * The role of the prompt message
450
- */
451
- export const GetPromptVersionRole = {
452
- System: "system",
453
- Developer: "developer",
454
- Assistant: "assistant",
455
- User: "user",
456
- Exception: "exception",
457
- Tool: "tool",
458
- Prompt: "prompt",
459
- Correction: "correction",
460
- ExpectedOutput: "expected_output",
461
- } as const;
462
- /**
463
- * The role of the prompt message
464
- */
465
- export type GetPromptVersionRole = ClosedEnum<typeof GetPromptVersionRole>;
466
-
467
- export type GetPromptVersion2File = {
468
- /**
469
- * The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
470
- */
471
- fileData?: string | undefined;
472
- /**
473
- * URL to the file. Only supported by Anthropic Claude models for PDF files.
474
- */
475
- uri?: string | undefined;
476
- /**
477
- * MIME type of the file (e.g., application/pdf, image/png)
478
- */
479
- mimeType?: string | undefined;
480
- /**
481
- * The name of the file, used when passing the file to the model as a string.
482
- */
483
- filename?: string | undefined;
484
- };
485
-
486
- export type GetPromptVersion23 = {
487
- /**
488
- * The type of the content part. Always `file`.
489
- */
490
- type: "file";
491
- file: GetPromptVersion2File;
492
- };
493
-
494
- export type GetPromptVersion2ImageUrl = {
495
- /**
496
- * The orq.ai id of the image
497
- */
498
- id?: string | undefined;
499
- /**
500
- * Either a URL of the image or the base64 encoded data URI.
501
- */
502
- url: string;
503
- /**
504
- * Specifies the detail level of the image. Currently only supported with OpenAI models
505
- */
506
- detail?: string | undefined;
507
- };
508
-
509
- /**
510
- * The image part of the prompt message. Only supported with vision models.
511
- */
512
- export type GetPromptVersion22 = {
513
- type: "image_url";
514
- imageUrl: GetPromptVersion2ImageUrl;
515
- };
516
-
517
- /**
518
- * Text content part of a prompt message
519
- */
520
- export type GetPromptVersion21 = {
521
- type: "text";
522
- text: string;
523
- };
524
-
525
- export type GetPromptVersionContent2 =
526
- | GetPromptVersion21
527
- | GetPromptVersion22
528
- | GetPromptVersion23;
529
-
530
- /**
531
- * The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts. Can be null for tool messages in certain scenarios.
532
- */
533
- export type GetPromptVersionContent =
534
- | string
535
- | Array<GetPromptVersion21 | GetPromptVersion22 | GetPromptVersion23>;
536
-
537
- export const GetPromptVersionPromptsResponse200Type = {
538
- Function: "function",
539
- } as const;
540
- export type GetPromptVersionPromptsResponse200Type = ClosedEnum<
541
- typeof GetPromptVersionPromptsResponse200Type
542
- >;
543
-
544
- export type GetPromptVersionFunction = {
545
- name: string;
546
- /**
547
- * JSON string arguments for the functions
548
- */
549
- arguments: string;
550
- };
551
-
552
- export type GetPromptVersionToolCalls = {
553
- id?: string | undefined;
554
- index?: number | undefined;
555
- type: GetPromptVersionPromptsResponse200Type;
556
- function: GetPromptVersionFunction;
557
- };
558
-
559
- export type GetPromptVersionMessages = {
560
- /**
561
- * The role of the prompt message
562
- */
563
- role: GetPromptVersionRole;
564
- /**
565
- * The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts. Can be null for tool messages in certain scenarios.
566
- */
567
- content:
568
- | string
569
- | Array<GetPromptVersion21 | GetPromptVersion22 | GetPromptVersion23>
570
- | null;
571
- toolCalls?: Array<GetPromptVersionToolCalls> | undefined;
572
- toolCallId?: string | null | undefined;
573
- };
574
-
575
- /**
576
- * [DEPRECATED] Use the `prompt` property instead. A list of messages compatible with the openAI schema.
577
- *
578
- * @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible.
579
- */
580
- export type GetPromptVersionPromptConfig = {
581
- stream?: boolean | undefined;
582
- model?: string | null | undefined;
583
- modelDbId?: string | null | undefined;
584
- /**
585
- * The modality of the model
586
- */
587
- modelType?: GetPromptVersionModelType | null | undefined;
588
- /**
589
- * Model Parameters: Not all parameters apply to every model
590
- */
591
- modelParameters?: GetPromptVersionModelParameters | undefined;
592
- provider?: GetPromptVersionProvider | null | undefined;
593
- /**
594
- * The ID of the integration to use
595
- */
596
- integrationId?: string | null | undefined;
597
- version?: string | undefined;
598
- messages: Array<GetPromptVersionMessages>;
599
- };
600
-
601
- /**
602
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
603
- */
604
- export const GetPromptVersionVoice = {
605
- Alloy: "alloy",
606
- Echo: "echo",
607
- Fable: "fable",
608
- Onyx: "onyx",
609
- Nova: "nova",
610
- Shimmer: "shimmer",
611
- } as const;
612
- /**
613
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
614
- */
615
- export type GetPromptVersionVoice = ClosedEnum<typeof GetPromptVersionVoice>;
616
-
617
- /**
618
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
619
- */
620
- export const GetPromptVersionPromptsFormat = {
621
- Wav: "wav",
622
- Mp3: "mp3",
623
- Flac: "flac",
624
- Opus: "opus",
625
- Pcm16: "pcm16",
626
- } as const;
627
- /**
628
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
629
- */
630
- export type GetPromptVersionPromptsFormat = ClosedEnum<
631
- typeof GetPromptVersionPromptsFormat
632
- >;
633
-
634
- /**
635
- * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
636
- */
637
- export type GetPromptVersionAudio = {
638
- /**
639
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
640
- */
641
- voice: GetPromptVersionVoice;
642
- /**
643
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
644
- */
645
- format: GetPromptVersionPromptsFormat;
646
- };
647
-
648
- export type GetPromptVersionResponseFormatJsonSchema = {
649
- /**
650
- * A description of what the response format is for, used by the model to determine how to respond in the format.
651
- */
652
- description?: string | undefined;
653
- /**
654
- * The name of the response format. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
655
- */
656
- name: string;
657
- /**
658
- * The schema for the response format, described as a JSON Schema object.
659
- */
660
- schema?: any | undefined;
661
- /**
662
- * Whether to enable strict schema adherence when generating the output. If set to true, the model will always follow the exact schema defined in the schema field. Only a subset of JSON Schema is supported when strict is true.
663
- */
664
- strict: boolean;
665
- };
666
-
667
- /**
668
- * @remarks
669
- *
670
- * JSON Schema response format. Used to generate structured JSON responses
671
- */
672
- export type GetPromptVersionResponseFormatPromptsJSONSchema = {
673
- type: "json_schema";
674
- jsonSchema: GetPromptVersionResponseFormatJsonSchema;
675
- };
676
-
677
- /**
678
- * @remarks
679
- *
680
- * JSON object response format. An older method of generating JSON responses. Using `json_schema` is recommended for models that support it. Note that the model will not generate JSON without a system or user message instructing it to do so.
681
- */
682
- export type GetPromptVersionResponseFormatJSONObject = {
683
- type: "json_object";
684
- };
685
-
686
- /**
687
- * @remarks
688
- *
689
- * Default response format. Used to generate text responses
690
- */
691
- export type GetPromptVersionResponseFormatText = {
692
- type: "text";
693
- };
694
-
695
- /**
696
- * An object specifying the format that the model must output
697
- */
698
- export type GetPromptVersionResponseFormat =
699
- | GetPromptVersionResponseFormatText
700
- | GetPromptVersionResponseFormatJSONObject
701
- | GetPromptVersionResponseFormatPromptsJSONSchema;
702
-
703
- /**
704
- * Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
705
- *
706
- * @remarks
707
- *
708
- * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool calls are supported for all reasoning values in gpt-5.1.
709
- * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
710
- * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
711
- * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
712
- *
713
- * Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
714
- */
715
- export const GetPromptVersionReasoningEffort = {
716
- None: "none",
717
- Minimal: "minimal",
718
- Low: "low",
719
- Medium: "medium",
720
- High: "high",
721
- Xhigh: "xhigh",
722
- Max: "max",
723
- } as const;
724
- /**
725
- * Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
726
- *
727
- * @remarks
728
- *
729
- * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool calls are supported for all reasoning values in gpt-5.1.
730
- * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
731
- * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
732
- * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
733
- *
734
- * Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
735
- */
736
- export type GetPromptVersionReasoningEffort = ClosedEnum<
737
- typeof GetPromptVersionReasoningEffort
738
- >;
739
-
740
- /**
741
- * Up to 4 sequences where the API will stop generating further tokens.
742
- */
743
- export type GetPromptVersionStop = string | Array<string>;
744
-
745
- /**
746
- * Options for streaming response. Only set this when you set stream: true.
747
- */
748
- export type GetPromptVersionStreamOptions = {
749
- /**
750
- * If set, an additional chunk will be streamed before the data: [DONE] message. The usage field on this chunk shows the token usage statistics for the entire request, and the choices field will always be an empty array. All other chunks will also include a usage field, but with a null value.
751
- */
752
- includeUsage?: boolean | undefined;
753
- };
754
-
755
- export type GetPromptVersionThinking =
756
- | components.ThinkingConfigDisabledSchema
757
- | components.ThinkingConfigEnabledSchema
758
- | components.ThinkingConfigAdaptiveSchema;
759
-
760
- /**
761
- * The type of the tool. Currently, only function is supported.
762
- */
763
- export const GetPromptVersionToolChoiceType = {
764
- Function: "function",
765
- } as const;
766
- /**
767
- * The type of the tool. Currently, only function is supported.
768
- */
769
- export type GetPromptVersionToolChoiceType = ClosedEnum<
770
- typeof GetPromptVersionToolChoiceType
771
- >;
772
-
773
- export type GetPromptVersionToolChoiceFunction = {
774
- /**
775
- * The name of the function to call.
776
- */
777
- name: string;
778
- };
779
-
780
- export type GetPromptVersionToolChoice2 = {
781
- /**
782
- * The type of the tool. Currently, only function is supported.
783
- */
784
- type?: GetPromptVersionToolChoiceType | undefined;
785
- function: GetPromptVersionToolChoiceFunction;
786
- };
787
-
788
- export const GetPromptVersionToolChoice1 = {
789
- None: "none",
790
- Auto: "auto",
791
- Required: "required",
792
- } as const;
793
- export type GetPromptVersionToolChoice1 = ClosedEnum<
794
- typeof GetPromptVersionToolChoice1
795
- >;
796
-
797
- /**
798
- * Controls which (if any) tool is called by the model.
799
- */
800
- export type GetPromptVersionToolChoice =
801
- | GetPromptVersionToolChoice2
802
- | GetPromptVersionToolChoice1;
803
-
804
- export const GetPromptVersionModalities = {
805
- Text: "text",
806
- Audio: "audio",
807
- } as const;
808
- export type GetPromptVersionModalities = ClosedEnum<
809
- typeof GetPromptVersionModalities
810
- >;
811
-
812
- /**
813
- * The key of the guardrail.
814
- */
815
- export const GetPromptVersionId1 = {
816
- OrqPiiDetection: "orq_pii_detection",
817
- OrqSecretDetection: "orq_secret_detection",
818
- OrqSexualModeration: "orq_sexual_moderation",
819
- OrqHarmfulModeration: "orq_harmful_moderation",
820
- } as const;
821
- /**
822
- * The key of the guardrail.
823
- */
824
- export type GetPromptVersionId1 = ClosedEnum<typeof GetPromptVersionId1>;
825
-
826
- export type GetPromptVersionId = GetPromptVersionId1 | string;
827
-
828
- /**
829
- * Determines whether the guardrail runs on the input (user message) or output (model response).
830
- */
831
- export const GetPromptVersionExecuteOn = {
832
- Input: "input",
833
- Output: "output",
834
- } as const;
835
- /**
836
- * Determines whether the guardrail runs on the input (user message) or output (model response).
837
- */
838
- export type GetPromptVersionExecuteOn = ClosedEnum<
839
- typeof GetPromptVersionExecuteOn
840
- >;
841
-
842
- export type GetPromptVersionGuardrails = {
843
- id: GetPromptVersionId1 | string;
844
- /**
845
- * Determines whether the guardrail runs on the input (user message) or output (model response).
846
- */
847
- executeOn: GetPromptVersionExecuteOn;
848
- };
849
-
850
- export type GetPromptVersionPlugins =
851
- | (components.PIIRedactionPlugin & { id: "pii_redaction" })
852
- | components.ResponseHealingPlugin
853
- | components.TraceScrubbingPlugin;
854
-
855
- export type GetPromptVersionFallbacks = {
856
- /**
857
- * Fallback model identifier
858
- */
859
- model: string;
860
- };
861
-
862
- /**
863
- * Retry configuration for the request
864
- */
865
- export type GetPromptVersionRetry = {
866
- /**
867
- * Number of retry attempts (1-5)
868
- */
869
- count: number;
870
- /**
871
- * HTTP status codes that trigger retry logic
872
- */
873
- onCodes?: Array<number> | undefined;
874
- };
875
-
876
- export const GetPromptVersionType = {
877
- ExactMatch: "exact_match",
878
- } as const;
879
- export type GetPromptVersionType = ClosedEnum<typeof GetPromptVersionType>;
880
-
881
- /**
882
- * Cache configuration for the request.
883
- */
884
- export type GetPromptVersionCache = {
885
- /**
886
- * Time to live for cached responses in seconds. Maximum 259200 seconds (3 days).
887
- */
888
- ttl: number;
889
- type: GetPromptVersionType;
890
- };
891
-
892
- export const GetPromptVersionLoadBalancerType = {
893
- WeightBased: "weight_based",
894
- } as const;
895
- export type GetPromptVersionLoadBalancerType = ClosedEnum<
896
- typeof GetPromptVersionLoadBalancerType
897
- >;
898
-
899
- export type GetPromptVersionLoadBalancerModels = {
900
- /**
901
- * Model identifier for load balancing
902
- */
903
- model: string;
904
- /**
905
- * Weight assigned to this model for load balancing
906
- */
907
- weight: number;
908
- };
909
-
910
- export type GetPromptVersionLoadBalancer1 = {
911
- type: GetPromptVersionLoadBalancerType;
912
- models: Array<GetPromptVersionLoadBalancerModels>;
913
- };
914
-
915
- /**
916
- * Load balancer configuration for the request.
917
- */
918
- export type GetPromptVersionLoadBalancer = GetPromptVersionLoadBalancer1;
919
-
920
- /**
921
- * Timeout configuration to apply to the request. If the request exceeds the timeout, it will be retried or fallback to the next model if configured.
922
- */
923
- export type GetPromptVersionTimeout = {
924
- /**
925
- * Timeout value in milliseconds
926
- */
927
- callTimeout: number;
928
- };
929
-
930
- /**
931
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
932
- */
933
- export const GetPromptVersionPromptsType = {
934
- Ephemeral: "ephemeral",
935
- } as const;
936
- /**
937
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
938
- */
939
- export type GetPromptVersionPromptsType = ClosedEnum<
940
- typeof GetPromptVersionPromptsType
941
- >;
942
-
943
- /**
944
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
945
- *
946
- * @remarks
947
- *
948
- * - `5m`: 5 minutes
949
- * - `1h`: 1 hour
950
- *
951
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
952
- */
953
- export const GetPromptVersionTtl = {
954
- Fivem: "5m",
955
- Oneh: "1h",
956
- } as const;
957
- /**
958
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
959
- *
960
- * @remarks
961
- *
962
- * - `5m`: 5 minutes
963
- * - `1h`: 1 hour
964
- *
965
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
966
- */
967
- export type GetPromptVersionTtl = ClosedEnum<typeof GetPromptVersionTtl>;
968
-
969
- /**
970
- * Provider-level prompt caching configuration applied to the request. Creates a cache control breakpoint covering the request content. Only supported by `Anthropic` Claude models.
971
- */
972
- export type GetPromptVersionCacheControl = {
973
- /**
974
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
975
- */
976
- type: GetPromptVersionPromptsType;
977
- /**
978
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
979
- *
980
- * @remarks
981
- *
982
- * - `5m`: 5 minutes
983
- * - `1h`: 1 hour
984
- *
985
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
986
- */
987
- ttl: GetPromptVersionTtl;
988
- };
989
-
990
- export type GetPromptVersionContentPromptsResponse2002 =
991
- components.TextContentPartSchema;
992
-
993
- /**
994
- * The contents of the tool message.
995
- */
996
- export type GetPromptVersionMessagesPromptsResponse200Content =
997
- | string
998
- | Array<components.TextContentPartSchema>;
999
-
1000
- /**
1001
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
1002
- */
1003
- export const GetPromptVersionMessagesPromptsType = {
1004
- Ephemeral: "ephemeral",
1005
- } as const;
1006
- /**
1007
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
1008
- */
1009
- export type GetPromptVersionMessagesPromptsType = ClosedEnum<
1010
- typeof GetPromptVersionMessagesPromptsType
1011
- >;
1012
-
1013
- /**
1014
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
1015
- *
1016
- * @remarks
1017
- *
1018
- * - `5m`: 5 minutes
1019
- * - `1h`: 1 hour
1020
- *
1021
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
1022
- */
1023
- export const GetPromptVersionMessagesTtl = {
1024
- Fivem: "5m",
1025
- Oneh: "1h",
1026
- } as const;
1027
- /**
1028
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
1029
- *
1030
- * @remarks
1031
- *
1032
- * - `5m`: 5 minutes
1033
- * - `1h`: 1 hour
1034
- *
1035
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
1036
- */
1037
- export type GetPromptVersionMessagesTtl = ClosedEnum<
1038
- typeof GetPromptVersionMessagesTtl
1039
- >;
1040
-
1041
- export type GetPromptVersionMessagesCacheControl = {
1042
- /**
1043
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
1044
- */
1045
- type: GetPromptVersionMessagesPromptsType;
1046
- /**
1047
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
1048
- *
1049
- * @remarks
1050
- *
1051
- * - `5m`: 5 minutes
1052
- * - `1h`: 1 hour
1053
- *
1054
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
1055
- */
1056
- ttl: GetPromptVersionMessagesTtl;
1057
- };
1058
-
1059
- export type GetPromptVersionMessagesToolMessage = {
1060
- /**
1061
- * The role of the messages author, in this case tool.
1062
- */
1063
- role: "tool";
1064
- /**
1065
- * The contents of the tool message.
1066
- */
1067
- content: string | Array<components.TextContentPartSchema>;
1068
- /**
1069
- * Tool call that this message is responding to.
1070
- */
1071
- toolCallId: string | null;
1072
- cacheControl?: GetPromptVersionMessagesCacheControl | undefined;
1073
- };
1074
-
1075
- export type GetPromptVersionContentPromptsResponse2 =
1076
- | (components.TextContentPartSchema & { type: "text" })
1077
- | components.RefusalPartSchema
1078
- | components.ReasoningPartSchema
1079
- | components.RedactedReasoningPartSchema;
1080
-
1081
- /**
1082
- * The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
1083
- */
1084
- export type GetPromptVersionMessagesPromptsResponseContent =
1085
- | string
1086
- | Array<
1087
- | (components.TextContentPartSchema & { type: "text" })
1088
- | components.RefusalPartSchema
1089
- | components.ReasoningPartSchema
1090
- | components.RedactedReasoningPartSchema
1091
- >;
1092
-
1093
- /**
1094
- * Data about a previous audio response from the model.
1095
- */
1096
- export type GetPromptVersionMessagesAudio = {
1097
- /**
1098
- * Unique identifier for a previous audio response from the model.
1099
- */
1100
- id: string;
1101
- };
1102
-
1103
- /**
1104
- * The type of the tool. Currently, only `function` is supported.
1105
- */
1106
- export const GetPromptVersionMessagesType = {
1107
- Function: "function",
1108
- } as const;
1109
- /**
1110
- * The type of the tool. Currently, only `function` is supported.
1111
- */
1112
- export type GetPromptVersionMessagesType = ClosedEnum<
1113
- typeof GetPromptVersionMessagesType
1114
- >;
1115
-
1116
- export type GetPromptVersionMessagesFunction = {
1117
- /**
1118
- * The name of the function to call.
1119
- */
1120
- name?: string | undefined;
1121
- /**
1122
- * The arguments to call the function with, as generated by the model in JSON format. Note that the model does not always generate valid JSON, and may hallucinate parameters not defined by your function schema. Validate the arguments in your code before calling your function.
1123
- */
1124
- arguments?: string | undefined;
1125
- };
1126
-
1127
- export type GetPromptVersionMessagesToolCalls = {
1128
- /**
1129
- * The ID of the tool call.
1130
- */
1131
- id: string;
1132
- /**
1133
- * The type of the tool. Currently, only `function` is supported.
1134
- */
1135
- type: GetPromptVersionMessagesType;
1136
- function: GetPromptVersionMessagesFunction;
1137
- /**
1138
- * Encrypted representation of the model internal reasoning state during function calling. Required by Gemini 3 models when continuing a conversation after a tool call.
1139
- */
1140
- thoughtSignature?: string | undefined;
1141
- };
1142
-
1143
- export type GetPromptVersionMessagesAssistantMessage = {
1144
- /**
1145
- * Provider reasoning content that must be replayed with assistant tool calls when continuing a reasoning-model conversation.
1146
- */
1147
- reasoningContent?: string | undefined;
1148
- /**
1149
- * The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
1150
- */
1151
- content?:
1152
- | string
1153
- | Array<
1154
- | (components.TextContentPartSchema & { type: "text" })
1155
- | components.RefusalPartSchema
1156
- | components.ReasoningPartSchema
1157
- | components.RedactedReasoningPartSchema
1158
- >
1159
- | null
1160
- | undefined;
1161
- /**
1162
- * The refusal message by the assistant.
1163
- */
1164
- refusal?: string | null | undefined;
1165
- /**
1166
- * The role of the messages author, in this case `assistant`.
1167
- */
1168
- role: "assistant";
1169
- /**
1170
- * An optional name for the participant. Provides the model information to differentiate between participants of the same role.
1171
- */
1172
- name?: string | undefined;
1173
- /**
1174
- * Data about a previous audio response from the model.
1175
- */
1176
- audio?: GetPromptVersionMessagesAudio | null | undefined;
1177
- /**
1178
- * The tool calls generated by the model, such as function calls.
1179
- */
1180
- toolCalls?: Array<GetPromptVersionMessagesToolCalls> | undefined;
1181
- };
1182
-
1183
- /**
1184
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
1185
- */
1186
- export const GetPromptVersion2PromptsResponse200ApplicationJSONType = {
1187
- Ephemeral: "ephemeral",
1188
- } as const;
1189
- /**
1190
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
1191
- */
1192
- export type GetPromptVersion2PromptsResponse200ApplicationJSONType = ClosedEnum<
1193
- typeof GetPromptVersion2PromptsResponse200ApplicationJSONType
1194
- >;
1195
-
1196
- /**
1197
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
1198
- *
1199
- * @remarks
1200
- *
1201
- * - `5m`: 5 minutes
1202
- * - `1h`: 1 hour
1203
- *
1204
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
1205
- */
1206
- export const GetPromptVersion2Ttl = {
1207
- Fivem: "5m",
1208
- Oneh: "1h",
1209
- } as const;
1210
- /**
1211
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
1212
- *
1213
- * @remarks
1214
- *
1215
- * - `5m`: 5 minutes
1216
- * - `1h`: 1 hour
1217
- *
1218
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
1219
- */
1220
- export type GetPromptVersion2Ttl = ClosedEnum<typeof GetPromptVersion2Ttl>;
1221
-
1222
- export type GetPromptVersion2CacheControl = {
1223
- /**
1224
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
1225
- */
1226
- type: GetPromptVersion2PromptsResponse200ApplicationJSONType;
1227
- /**
1228
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
1229
- *
1230
- * @remarks
1231
- *
1232
- * - `5m`: 5 minutes
1233
- * - `1h`: 1 hour
1234
- *
1235
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
1236
- */
1237
- ttl: GetPromptVersion2Ttl;
1238
- };
1239
-
1240
- export type GetPromptVersion24 = {
1241
- /**
1242
- * The type of the content part. Always `file`.
1243
- */
1244
- type: "file";
1245
- cacheControl?: GetPromptVersion2CacheControl | undefined;
1246
- /**
1247
- * File data for the content part. Must contain either file_data or uri, but not both.
1248
- */
1249
- file: components.FileContentPartSchema;
1250
- };
1251
-
1252
- export type GetPromptVersionContentPrompts2 =
1253
- | (components.TextContentPartSchema & { type: "text" })
1254
- | components.ImageContentPartSchema
1255
- | components.AudioContentPartSchema
1256
- | GetPromptVersion24;
1257
-
1258
- /**
1259
- * The contents of the user message.
1260
- */
1261
- export type GetPromptVersionMessagesPromptsContent =
1262
- | string
1263
- | Array<
1264
- | (components.TextContentPartSchema & { type: "text" })
1265
- | components.ImageContentPartSchema
1266
- | components.AudioContentPartSchema
1267
- | GetPromptVersion24
1268
- >;
1269
-
1270
- export type GetPromptVersionMessagesUserMessage = {
1271
- /**
1272
- * The role of the messages author, in this case `user`.
1273
- */
1274
- role: "user";
1275
- /**
1276
- * An optional name for the participant. Provides the model information to differentiate between participants of the same role.
1277
- */
1278
- name?: string | undefined;
1279
- /**
1280
- * The contents of the user message.
1281
- */
1282
- content:
1283
- | string
1284
- | Array<
1285
- | (components.TextContentPartSchema & { type: "text" })
1286
- | components.ImageContentPartSchema
1287
- | components.AudioContentPartSchema
1288
- | GetPromptVersion24
1289
- >;
1290
- };
1291
-
1292
- /**
1293
- * The contents of the system message.
1294
- */
1295
- export type GetPromptVersionMessagesContent =
1296
- | string
1297
- | Array<components.TextContentPartSchema>;
1298
-
1299
- /**
1300
- * Developer-provided instructions that the model should follow, regardless of messages sent by the user.
1301
- */
1302
- export type GetPromptVersionMessagesSystemMessage = {
1303
- /**
1304
- * The role of the messages author, in this case `system`.
1305
- */
1306
- role: "system";
1307
- /**
1308
- * The contents of the system message.
1309
- */
1310
- content: string | Array<components.TextContentPartSchema>;
1311
- /**
1312
- * An optional name for the participant. Provides the model information to differentiate between participants of the same role.
1313
- */
1314
- name?: string | undefined;
1315
- };
1316
-
1317
- export type GetPromptVersionPromptsMessages =
1318
- | GetPromptVersionMessagesSystemMessage
1319
- | GetPromptVersionMessagesUserMessage
1320
- | GetPromptVersionMessagesAssistantMessage
1321
- | GetPromptVersionMessagesToolMessage;
1322
-
1323
- /**
1324
- * Prompt configuration with model and messages. Use this instead of prompt_config.
1325
- */
1326
- export type GetPromptVersionPromptField = {
1327
- /**
1328
- * The name to display on the trace. If not specified, the default system name will be used.
1329
- */
1330
- name?: string | undefined;
1331
- /**
1332
- * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
1333
- */
1334
- audio?: GetPromptVersionAudio | null | undefined;
1335
- /**
1336
- * Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim.
1337
- */
1338
- frequencyPenalty?: number | null | undefined;
1339
- /**
1340
- * `[Deprecated]`. The maximum number of tokens that can be generated in the chat completion. This value can be used to control costs for text generated via API.
1341
- *
1342
- * @remarks
1343
- *
1344
- * This value is now `deprecated` in favor of `max_completion_tokens`, and is not compatible with o1 series models.
1345
- */
1346
- maxTokens?: number | null | undefined;
1347
- /**
1348
- * An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens
1349
- */
1350
- maxCompletionTokens?: number | null | undefined;
1351
- /**
1352
- * Whether to return log probabilities of the output tokens or not. If true, returns the log probabilities of each output token returned in the content of message.
1353
- */
1354
- logprobs?: boolean | null | undefined;
1355
- /**
1356
- * An integer between 0 and 20 specifying the number of most likely tokens to return at each token position, each with an associated log probability. logprobs must be set to true if this parameter is used.
1357
- */
1358
- topLogprobs?: number | null | undefined;
1359
- /**
1360
- * How many chat completion choices to generate for each input message. Note that you will be charged based on the number of generated tokens across all of the choices. Keep n as 1 to minimize costs.
1361
- */
1362
- n?: number | null | undefined;
1363
- /**
1364
- * Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics.
1365
- */
1366
- presencePenalty?: number | null | undefined;
1367
- /**
1368
- * An object specifying the format that the model must output
1369
- */
1370
- responseFormat?:
1371
- | GetPromptVersionResponseFormatText
1372
- | GetPromptVersionResponseFormatJSONObject
1373
- | GetPromptVersionResponseFormatPromptsJSONSchema
1374
- | undefined;
1375
- /**
1376
- * Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
1377
- *
1378
- * @remarks
1379
- *
1380
- * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool calls are supported for all reasoning values in gpt-5.1.
1381
- * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
1382
- * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
1383
- * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
1384
- *
1385
- * Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
1386
- */
1387
- reasoningEffort?: GetPromptVersionReasoningEffort | undefined;
1388
- /**
1389
- * Adjusts response verbosity. Lower levels yield shorter answers.
1390
- */
1391
- verbosity?: string | undefined;
1392
- /**
1393
- * If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same seed and parameters should return the same result.
1394
- */
1395
- seed?: number | null | undefined;
1396
- /**
1397
- * Up to 4 sequences where the API will stop generating further tokens.
1398
- */
1399
- stop?: string | Array<string> | null | undefined;
1400
- /**
1401
- * Options for streaming response. Only set this when you set stream: true.
1402
- */
1403
- streamOptions?: GetPromptVersionStreamOptions | null | undefined;
1404
- thinking?:
1405
- | components.ThinkingConfigDisabledSchema
1406
- | components.ThinkingConfigEnabledSchema
1407
- | components.ThinkingConfigAdaptiveSchema
1408
- | undefined;
1409
- /**
1410
- * What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
1411
- */
1412
- temperature?: number | null | undefined;
1413
- /**
1414
- * An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass.
1415
- */
1416
- topP?: number | null | undefined;
1417
- /**
1418
- * Limits the model to consider only the top k most likely tokens at each step.
1419
- */
1420
- topK?: number | null | undefined;
1421
- /**
1422
- * Controls which (if any) tool is called by the model.
1423
- */
1424
- toolChoice?:
1425
- | GetPromptVersionToolChoice2
1426
- | GetPromptVersionToolChoice1
1427
- | undefined;
1428
- /**
1429
- * Whether to enable parallel function calling during tool use.
1430
- */
1431
- parallelToolCalls?: boolean | undefined;
1432
- /**
1433
- * Output types that you would like the model to generate. Most models are capable of generating text, which is the default: ["text"]. The gpt-4o-audio-preview model can also be used to generate audio. To request that this model generate both text and audio responses, you can use: ["text", "audio"].
1434
- */
1435
- modalities?: Array<GetPromptVersionModalities> | null | undefined;
1436
- /**
1437
- * A list of guardrails to apply to the request.
1438
- */
1439
- guardrails?: Array<GetPromptVersionGuardrails> | undefined;
1440
- /**
1441
- * Request-scoped transforms applied to the text exchanged with the model. Supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response, and `response_healing`, which repairs malformed JSON in non-streaming output.
1442
- */
1443
- plugins?:
1444
- | Array<
1445
- | (components.PIIRedactionPlugin & { id: "pii_redaction" })
1446
- | components.ResponseHealingPlugin
1447
- | components.TraceScrubbingPlugin
1448
- >
1449
- | undefined;
1450
- /**
1451
- * Array of fallback models to use if primary model fails
1452
- */
1453
- fallbacks?: Array<GetPromptVersionFallbacks> | undefined;
1454
- /**
1455
- * Retry configuration for the request
1456
- */
1457
- retry?: GetPromptVersionRetry | undefined;
1458
- /**
1459
- * Cache configuration for the request.
1460
- */
1461
- cache?: GetPromptVersionCache | undefined;
1462
- /**
1463
- * Load balancer configuration for the request.
1464
- */
1465
- loadBalancer?: GetPromptVersionLoadBalancer1 | undefined;
1466
- /**
1467
- * Timeout configuration to apply to the request. If the request exceeds the timeout, it will be retried or fallback to the next model if configured.
1468
- */
1469
- timeout?: GetPromptVersionTimeout | undefined;
1470
- /**
1471
- * Provider-level prompt caching configuration applied to the request. Creates a cache control breakpoint covering the request content. Only supported by `Anthropic` Claude models.
1472
- */
1473
- cacheControl?: GetPromptVersionCacheControl | undefined;
1474
- /**
1475
- * Used by OpenAI to cache responses for similar requests to optimize your cache hit rates. Replaces the legacy `user` field for prompt caching.
1476
- */
1477
- promptCacheKey?: string | undefined;
1478
- /**
1479
- * Array of messages that make up the conversation. Each message has a role (system, user, assistant, or tool) and content.
1480
- */
1481
- messages?:
1482
- | Array<
1483
- | GetPromptVersionMessagesSystemMessage
1484
- | GetPromptVersionMessagesUserMessage
1485
- | GetPromptVersionMessagesAssistantMessage
1486
- | GetPromptVersionMessagesToolMessage
1487
- >
1488
- | undefined;
1489
- /**
1490
- * Model ID used to generate the response, like `openai/gpt-5.6-sol` or `anthropic/claude-sonnet-5`. For private models, use format: `{workspaceKey}@{provider}/{model}`.
1491
- */
1492
- model?: string | null | undefined;
1493
- version?: string | undefined;
1494
- };
1495
-
1496
- export const GetPromptVersionUseCases = {
1497
- AgentsSimulations: "Agents simulations",
1498
- Agents: "Agents",
1499
- APIInteraction: "API interaction",
1500
- AutonomousAgents: "Autonomous Agents",
1501
- Chatbots: "Chatbots",
1502
- Classification: "Classification",
1503
- CodeUnderstanding: "Code understanding",
1504
- CodeWriting: "Code writing",
1505
- Conversation: "Conversation",
1506
- DocumentsQA: "Documents QA",
1507
- Evaluation: "Evaluation",
1508
- Extraction: "Extraction",
1509
- MultiModal: "Multi-modal",
1510
- SelfChecking: "Self-checking",
1511
- SentimentAnalysis: "Sentiment analysis",
1512
- Sql: "SQL",
1513
- Summarization: "Summarization",
1514
- Tagging: "Tagging",
1515
- TranslationDocument: "Translation (document)",
1516
- TranslationSentences: "Translation (sentences)",
1517
- } as const;
1518
- export type GetPromptVersionUseCases = ClosedEnum<
1519
- typeof GetPromptVersionUseCases
1520
- >;
1521
-
1522
- /**
1523
- * The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
1524
- */
1525
- export const GetPromptVersionLanguage = {
1526
- Chinese: "Chinese",
1527
- Dutch: "Dutch",
1528
- English: "English",
1529
- French: "French",
1530
- German: "German",
1531
- Russian: "Russian",
1532
- Spanish: "Spanish",
1533
- } as const;
1534
- /**
1535
- * The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
1536
- */
1537
- export type GetPromptVersionLanguage = ClosedEnum<
1538
- typeof GetPromptVersionLanguage
1539
- >;
1540
-
1541
- export type GetPromptVersionMetadata = {
1542
- /**
1543
- * A list of use cases that the prompt is meant to be used for. Use this field to categorize the prompt for your own purpose
1544
- */
1545
- useCases?: Array<GetPromptVersionUseCases> | undefined;
1546
- /**
1547
- * The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
1548
- */
1549
- language?: GetPromptVersionLanguage | null | undefined;
1550
- };
1551
-
1552
- /**
1553
- * Prompt version retrieved successfully.
1554
- */
1555
- export type GetPromptVersionResponseBody = {
1556
- id: string;
1557
- createdById?: string | null | undefined;
1558
- updatedById?: string | null | undefined;
1559
- /**
1560
- * The prompt’s description, meant to be displayable in the UI. Use this field to optionally store a long form explanation of the prompt for your own purpose
1561
- */
1562
- description?: string | null | undefined;
1563
- /**
1564
- * [DEPRECATED] Use the `prompt` property instead. A list of messages compatible with the openAI schema.
1565
- *
1566
- * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
1567
- */
1568
- promptConfig?: GetPromptVersionPromptConfig | undefined;
1569
- /**
1570
- * Prompt configuration with model and messages. Use this instead of prompt_config.
1571
- */
1572
- prompt: GetPromptVersionPromptField;
1573
- metadata?: GetPromptVersionMetadata | undefined;
1574
- timestamp: string;
1575
- };
1576
-
1577
- /** @internal */
1578
- export type GetPromptVersionRequest$Outbound = {
1579
- prompt_id: string;
1580
- version_id: string;
1581
- };
1582
-
1583
- /** @internal */
1584
- export const GetPromptVersionRequest$outboundSchema: z.ZodType<
1585
- GetPromptVersionRequest$Outbound,
1586
- z.ZodTypeDef,
1587
- GetPromptVersionRequest
1588
- > = z.object({
1589
- promptId: z.string(),
1590
- versionId: z.string(),
1591
- }).transform((v) => {
1592
- return remap$(v, {
1593
- promptId: "prompt_id",
1594
- versionId: "version_id",
1595
- });
1596
- });
1597
-
1598
- export function getPromptVersionRequestToJSON(
1599
- getPromptVersionRequest: GetPromptVersionRequest,
1600
- ): string {
1601
- return JSON.stringify(
1602
- GetPromptVersionRequest$outboundSchema.parse(getPromptVersionRequest),
1603
- );
1604
- }
1605
-
1606
- /** @internal */
1607
- export const GetPromptVersionModelType$inboundSchema: z.ZodNativeEnum<
1608
- typeof GetPromptVersionModelType
1609
- > = z.nativeEnum(GetPromptVersionModelType);
1610
-
1611
- /** @internal */
1612
- export const GetPromptVersionFormat$inboundSchema: z.ZodNativeEnum<
1613
- typeof GetPromptVersionFormat
1614
- > = z.nativeEnum(GetPromptVersionFormat);
1615
-
1616
- /** @internal */
1617
- export const GetPromptVersionResponseFormat6$inboundSchema: z.ZodNativeEnum<
1618
- typeof GetPromptVersionResponseFormat6
1619
- > = z.nativeEnum(GetPromptVersionResponseFormat6);
1620
-
1621
- /** @internal */
1622
- export const GetPromptVersionResponseFormat5$inboundSchema: z.ZodNativeEnum<
1623
- typeof GetPromptVersionResponseFormat5
1624
- > = z.nativeEnum(GetPromptVersionResponseFormat5);
1625
-
1626
- /** @internal */
1627
- export const GetPromptVersionResponseFormat4$inboundSchema: z.ZodNativeEnum<
1628
- typeof GetPromptVersionResponseFormat4
1629
- > = z.nativeEnum(GetPromptVersionResponseFormat4);
1630
-
1631
- /** @internal */
1632
- export const GetPromptVersionResponseFormatPromptsResponse200ApplicationJSONResponseBodyType$inboundSchema:
1633
- z.ZodNativeEnum<
1634
- typeof GetPromptVersionResponseFormatPromptsResponse200ApplicationJSONResponseBodyType
1635
- > = z.nativeEnum(
1636
- GetPromptVersionResponseFormatPromptsResponse200ApplicationJSONResponseBodyType,
1637
- );
1638
-
1639
- /** @internal */
1640
- export const GetPromptVersionResponseFormat3$inboundSchema: z.ZodType<
1641
- GetPromptVersionResponseFormat3,
1642
- z.ZodTypeDef,
1643
- unknown
1644
- > = z.object({
1645
- type:
1646
- GetPromptVersionResponseFormatPromptsResponse200ApplicationJSONResponseBodyType$inboundSchema,
1647
- });
1648
-
1649
- export function getPromptVersionResponseFormat3FromJSON(
1650
- jsonString: string,
1651
- ): SafeParseResult<GetPromptVersionResponseFormat3, SDKValidationError> {
1652
- return safeParse(
1653
- jsonString,
1654
- (x) => GetPromptVersionResponseFormat3$inboundSchema.parse(JSON.parse(x)),
1655
- `Failed to parse 'GetPromptVersionResponseFormat3' from JSON`,
1656
- );
1657
- }
1658
-
1659
- /** @internal */
1660
- export const GetPromptVersionResponseFormatPromptsResponse200ApplicationJSONType$inboundSchema:
1661
- z.ZodNativeEnum<
1662
- typeof GetPromptVersionResponseFormatPromptsResponse200ApplicationJSONType
1663
- > = z.nativeEnum(
1664
- GetPromptVersionResponseFormatPromptsResponse200ApplicationJSONType,
1665
- );
1666
-
1667
- /** @internal */
1668
- export const GetPromptVersionResponseFormat2$inboundSchema: z.ZodType<
1669
- GetPromptVersionResponseFormat2,
1670
- z.ZodTypeDef,
1671
- unknown
1672
- > = z.object({
1673
- type:
1674
- GetPromptVersionResponseFormatPromptsResponse200ApplicationJSONType$inboundSchema,
1675
- });
1676
-
1677
- export function getPromptVersionResponseFormat2FromJSON(
1678
- jsonString: string,
1679
- ): SafeParseResult<GetPromptVersionResponseFormat2, SDKValidationError> {
1680
- return safeParse(
1681
- jsonString,
1682
- (x) => GetPromptVersionResponseFormat2$inboundSchema.parse(JSON.parse(x)),
1683
- `Failed to parse 'GetPromptVersionResponseFormat2' from JSON`,
1684
- );
1685
- }
1686
-
1687
- /** @internal */
1688
- export const GetPromptVersionResponseFormatPromptsResponse200Type$inboundSchema:
1689
- z.ZodNativeEnum<typeof GetPromptVersionResponseFormatPromptsResponse200Type> =
1690
- z.nativeEnum(GetPromptVersionResponseFormatPromptsResponse200Type);
1691
-
1692
- /** @internal */
1693
- export const GetPromptVersionResponseFormatPromptsResponseJsonSchema$inboundSchema:
1694
- z.ZodType<
1695
- GetPromptVersionResponseFormatPromptsResponseJsonSchema,
1696
- z.ZodTypeDef,
1697
- unknown
1698
- > = z.object({
1699
- name: z.string(),
1700
- description: z.nullable(z.string()).optional(),
1701
- strict: z.boolean().optional(),
1702
- schema: z.record(z.any()),
1703
- });
1704
-
1705
- export function getPromptVersionResponseFormatPromptsResponseJsonSchemaFromJSON(
1706
- jsonString: string,
1707
- ): SafeParseResult<
1708
- GetPromptVersionResponseFormatPromptsResponseJsonSchema,
1709
- SDKValidationError
1710
- > {
1711
- return safeParse(
1712
- jsonString,
1713
- (x) =>
1714
- GetPromptVersionResponseFormatPromptsResponseJsonSchema$inboundSchema
1715
- .parse(JSON.parse(x)),
1716
- `Failed to parse 'GetPromptVersionResponseFormatPromptsResponseJsonSchema' from JSON`,
1717
- );
1718
- }
1719
-
1720
- /** @internal */
1721
- export const GetPromptVersionResponseFormat1$inboundSchema: z.ZodType<
1722
- GetPromptVersionResponseFormat1,
1723
- z.ZodTypeDef,
1724
- unknown
1725
- > = z.object({
1726
- type: GetPromptVersionResponseFormatPromptsResponse200Type$inboundSchema,
1727
- display_name: z.string().optional(),
1728
- json_schema: z.lazy(() =>
1729
- GetPromptVersionResponseFormatPromptsResponseJsonSchema$inboundSchema
1730
- ),
1731
- }).transform((v) => {
1732
- return remap$(v, {
1733
- "display_name": "displayName",
1734
- "json_schema": "jsonSchema",
1735
- });
1736
- });
1737
-
1738
- export function getPromptVersionResponseFormat1FromJSON(
1739
- jsonString: string,
1740
- ): SafeParseResult<GetPromptVersionResponseFormat1, SDKValidationError> {
1741
- return safeParse(
1742
- jsonString,
1743
- (x) => GetPromptVersionResponseFormat1$inboundSchema.parse(JSON.parse(x)),
1744
- `Failed to parse 'GetPromptVersionResponseFormat1' from JSON`,
1745
- );
1746
- }
1747
-
1748
- /** @internal */
1749
- export const GetPromptVersionPromptsResponseFormat$inboundSchema: z.ZodType<
1750
- GetPromptVersionPromptsResponseFormat,
1751
- z.ZodTypeDef,
1752
- unknown
1753
- > = z.union([
1754
- z.lazy(() => GetPromptVersionResponseFormat1$inboundSchema),
1755
- z.lazy(() => GetPromptVersionResponseFormat2$inboundSchema),
1756
- z.lazy(() => GetPromptVersionResponseFormat3$inboundSchema),
1757
- GetPromptVersionResponseFormat4$inboundSchema,
1758
- GetPromptVersionResponseFormat5$inboundSchema,
1759
- GetPromptVersionResponseFormat6$inboundSchema,
1760
- ]);
1761
-
1762
- export function getPromptVersionPromptsResponseFormatFromJSON(
1763
- jsonString: string,
1764
- ): SafeParseResult<GetPromptVersionPromptsResponseFormat, SDKValidationError> {
1765
- return safeParse(
1766
- jsonString,
1767
- (x) =>
1768
- GetPromptVersionPromptsResponseFormat$inboundSchema.parse(JSON.parse(x)),
1769
- `Failed to parse 'GetPromptVersionPromptsResponseFormat' from JSON`,
1770
- );
1771
- }
1772
-
1773
- /** @internal */
1774
- export const GetPromptVersionPromptsResponseType$inboundSchema: z.ZodNativeEnum<
1775
- typeof GetPromptVersionPromptsResponseType
1776
- > = z.nativeEnum(GetPromptVersionPromptsResponseType);
1777
-
1778
- /** @internal */
1779
- export const GetPromptVersionPromptsTtl$inboundSchema: z.ZodNativeEnum<
1780
- typeof GetPromptVersionPromptsTtl
1781
- > = z.nativeEnum(GetPromptVersionPromptsTtl);
1782
-
1783
- /** @internal */
1784
- export const GetPromptVersionPromptsCacheControl$inboundSchema: z.ZodType<
1785
- GetPromptVersionPromptsCacheControl,
1786
- z.ZodTypeDef,
1787
- unknown
1788
- > = z.object({
1789
- type: GetPromptVersionPromptsResponseType$inboundSchema,
1790
- ttl: GetPromptVersionPromptsTtl$inboundSchema.default("5m"),
1791
- });
1792
-
1793
- export function getPromptVersionPromptsCacheControlFromJSON(
1794
- jsonString: string,
1795
- ): SafeParseResult<GetPromptVersionPromptsCacheControl, SDKValidationError> {
1796
- return safeParse(
1797
- jsonString,
1798
- (x) =>
1799
- GetPromptVersionPromptsCacheControl$inboundSchema.parse(JSON.parse(x)),
1800
- `Failed to parse 'GetPromptVersionPromptsCacheControl' from JSON`,
1801
- );
1802
- }
1803
-
1804
- /** @internal */
1805
- export const GetPromptVersionPhotoRealVersion$inboundSchema: z.ZodNativeEnum<
1806
- typeof GetPromptVersionPhotoRealVersion
1807
- > = z.nativeEnum(GetPromptVersionPhotoRealVersion);
1808
-
1809
- /** @internal */
1810
- export const GetPromptVersionEncodingFormat$inboundSchema: z.ZodNativeEnum<
1811
- typeof GetPromptVersionEncodingFormat
1812
- > = z.nativeEnum(GetPromptVersionEncodingFormat);
1813
-
1814
- /** @internal */
1815
- export const GetPromptVersionPromptsReasoningEffort$inboundSchema:
1816
- z.ZodNativeEnum<typeof GetPromptVersionPromptsReasoningEffort> = z.nativeEnum(
1817
- GetPromptVersionPromptsReasoningEffort,
1818
- );
1819
-
1820
- /** @internal */
1821
- export const GetPromptVersionVerbosity$inboundSchema: z.ZodNativeEnum<
1822
- typeof GetPromptVersionVerbosity
1823
- > = z.nativeEnum(GetPromptVersionVerbosity);
1824
-
1825
- /** @internal */
1826
- export const GetPromptVersionThinkingLevel$inboundSchema: z.ZodNativeEnum<
1827
- typeof GetPromptVersionThinkingLevel
1828
- > = z.nativeEnum(GetPromptVersionThinkingLevel);
1829
-
1830
- /** @internal */
1831
- export const GetPromptVersionModelParameters$inboundSchema: z.ZodType<
1832
- GetPromptVersionModelParameters,
1833
- z.ZodTypeDef,
1834
- unknown
1835
- > = z.object({
1836
- temperature: z.number().optional(),
1837
- maxTokens: z.number().optional(),
1838
- topK: z.number().optional(),
1839
- topP: z.number().optional(),
1840
- frequencyPenalty: z.number().optional(),
1841
- presencePenalty: z.number().optional(),
1842
- numImages: z.number().optional(),
1843
- seed: z.number().optional(),
1844
- format: GetPromptVersionFormat$inboundSchema.optional(),
1845
- dimensions: z.string().optional(),
1846
- quality: z.string().optional(),
1847
- style: z.string().optional(),
1848
- responseFormat: z.nullable(
1849
- z.union([
1850
- z.lazy(() => GetPromptVersionResponseFormat1$inboundSchema),
1851
- z.lazy(() => GetPromptVersionResponseFormat2$inboundSchema),
1852
- z.lazy(() => GetPromptVersionResponseFormat3$inboundSchema),
1853
- GetPromptVersionResponseFormat4$inboundSchema,
1854
- GetPromptVersionResponseFormat5$inboundSchema,
1855
- GetPromptVersionResponseFormat6$inboundSchema,
1856
- ]),
1857
- ).optional(),
1858
- cacheControl: z.nullable(
1859
- z.lazy(() => GetPromptVersionPromptsCacheControl$inboundSchema),
1860
- ).optional(),
1861
- photoRealVersion: GetPromptVersionPhotoRealVersion$inboundSchema.optional(),
1862
- encoding_format: GetPromptVersionEncodingFormat$inboundSchema.optional(),
1863
- reasoningEffort: GetPromptVersionPromptsReasoningEffort$inboundSchema
1864
- .optional(),
1865
- budgetTokens: z.number().optional(),
1866
- verbosity: GetPromptVersionVerbosity$inboundSchema.optional(),
1867
- thinkingLevel: GetPromptVersionThinkingLevel$inboundSchema.optional(),
1868
- }).transform((v) => {
1869
- return remap$(v, {
1870
- "encoding_format": "encodingFormat",
1871
- });
1872
- });
1873
-
1874
- export function getPromptVersionModelParametersFromJSON(
1875
- jsonString: string,
1876
- ): SafeParseResult<GetPromptVersionModelParameters, SDKValidationError> {
1877
- return safeParse(
1878
- jsonString,
1879
- (x) => GetPromptVersionModelParameters$inboundSchema.parse(JSON.parse(x)),
1880
- `Failed to parse 'GetPromptVersionModelParameters' from JSON`,
1881
- );
1882
- }
1883
-
1884
- /** @internal */
1885
- export const GetPromptVersionProvider$inboundSchema: z.ZodNativeEnum<
1886
- typeof GetPromptVersionProvider
1887
- > = z.nativeEnum(GetPromptVersionProvider);
1888
-
1889
- /** @internal */
1890
- export const GetPromptVersionRole$inboundSchema: z.ZodNativeEnum<
1891
- typeof GetPromptVersionRole
1892
- > = z.nativeEnum(GetPromptVersionRole);
1893
-
1894
- /** @internal */
1895
- export const GetPromptVersion2File$inboundSchema: z.ZodType<
1896
- GetPromptVersion2File,
1897
- z.ZodTypeDef,
1898
- unknown
1899
- > = z.object({
1900
- file_data: z.string().optional(),
1901
- uri: z.string().optional(),
1902
- mimeType: z.string().optional(),
1903
- filename: z.string().optional(),
1904
- }).transform((v) => {
1905
- return remap$(v, {
1906
- "file_data": "fileData",
1907
- });
1908
- });
1909
-
1910
- export function getPromptVersion2FileFromJSON(
1911
- jsonString: string,
1912
- ): SafeParseResult<GetPromptVersion2File, SDKValidationError> {
1913
- return safeParse(
1914
- jsonString,
1915
- (x) => GetPromptVersion2File$inboundSchema.parse(JSON.parse(x)),
1916
- `Failed to parse 'GetPromptVersion2File' from JSON`,
1917
- );
1918
- }
1919
-
1920
- /** @internal */
1921
- export const GetPromptVersion23$inboundSchema: z.ZodType<
1922
- GetPromptVersion23,
1923
- z.ZodTypeDef,
1924
- unknown
1925
- > = z.object({
1926
- type: z.literal("file"),
1927
- file: z.lazy(() => GetPromptVersion2File$inboundSchema),
1928
- });
1929
-
1930
- export function getPromptVersion23FromJSON(
1931
- jsonString: string,
1932
- ): SafeParseResult<GetPromptVersion23, SDKValidationError> {
1933
- return safeParse(
1934
- jsonString,
1935
- (x) => GetPromptVersion23$inboundSchema.parse(JSON.parse(x)),
1936
- `Failed to parse 'GetPromptVersion23' from JSON`,
1937
- );
1938
- }
1939
-
1940
- /** @internal */
1941
- export const GetPromptVersion2ImageUrl$inboundSchema: z.ZodType<
1942
- GetPromptVersion2ImageUrl,
1943
- z.ZodTypeDef,
1944
- unknown
1945
- > = z.object({
1946
- id: z.string().optional(),
1947
- url: z.string(),
1948
- detail: z.string().optional(),
1949
- });
1950
-
1951
- export function getPromptVersion2ImageUrlFromJSON(
1952
- jsonString: string,
1953
- ): SafeParseResult<GetPromptVersion2ImageUrl, SDKValidationError> {
1954
- return safeParse(
1955
- jsonString,
1956
- (x) => GetPromptVersion2ImageUrl$inboundSchema.parse(JSON.parse(x)),
1957
- `Failed to parse 'GetPromptVersion2ImageUrl' from JSON`,
1958
- );
1959
- }
1960
-
1961
- /** @internal */
1962
- export const GetPromptVersion22$inboundSchema: z.ZodType<
1963
- GetPromptVersion22,
1964
- z.ZodTypeDef,
1965
- unknown
1966
- > = z.object({
1967
- type: z.literal("image_url"),
1968
- image_url: z.lazy(() => GetPromptVersion2ImageUrl$inboundSchema),
1969
- }).transform((v) => {
1970
- return remap$(v, {
1971
- "image_url": "imageUrl",
1972
- });
1973
- });
1974
-
1975
- export function getPromptVersion22FromJSON(
1976
- jsonString: string,
1977
- ): SafeParseResult<GetPromptVersion22, SDKValidationError> {
1978
- return safeParse(
1979
- jsonString,
1980
- (x) => GetPromptVersion22$inboundSchema.parse(JSON.parse(x)),
1981
- `Failed to parse 'GetPromptVersion22' from JSON`,
1982
- );
1983
- }
1984
-
1985
- /** @internal */
1986
- export const GetPromptVersion21$inboundSchema: z.ZodType<
1987
- GetPromptVersion21,
1988
- z.ZodTypeDef,
1989
- unknown
1990
- > = z.object({
1991
- type: z.literal("text"),
1992
- text: z.string(),
1993
- });
1994
-
1995
- export function getPromptVersion21FromJSON(
1996
- jsonString: string,
1997
- ): SafeParseResult<GetPromptVersion21, SDKValidationError> {
1998
- return safeParse(
1999
- jsonString,
2000
- (x) => GetPromptVersion21$inboundSchema.parse(JSON.parse(x)),
2001
- `Failed to parse 'GetPromptVersion21' from JSON`,
2002
- );
2003
- }
2004
-
2005
- /** @internal */
2006
- export const GetPromptVersionContent2$inboundSchema: z.ZodType<
2007
- GetPromptVersionContent2,
2008
- z.ZodTypeDef,
2009
- unknown
2010
- > = z.union([
2011
- z.lazy(() => GetPromptVersion21$inboundSchema),
2012
- z.lazy(() => GetPromptVersion22$inboundSchema),
2013
- z.lazy(() => GetPromptVersion23$inboundSchema),
2014
- ]);
2015
-
2016
- export function getPromptVersionContent2FromJSON(
2017
- jsonString: string,
2018
- ): SafeParseResult<GetPromptVersionContent2, SDKValidationError> {
2019
- return safeParse(
2020
- jsonString,
2021
- (x) => GetPromptVersionContent2$inboundSchema.parse(JSON.parse(x)),
2022
- `Failed to parse 'GetPromptVersionContent2' from JSON`,
2023
- );
2024
- }
2025
-
2026
- /** @internal */
2027
- export const GetPromptVersionContent$inboundSchema: z.ZodType<
2028
- GetPromptVersionContent,
2029
- z.ZodTypeDef,
2030
- unknown
2031
- > = z.union([
2032
- z.string(),
2033
- z.array(z.union([
2034
- z.lazy(() => GetPromptVersion21$inboundSchema),
2035
- z.lazy(() => GetPromptVersion22$inboundSchema),
2036
- z.lazy(() => GetPromptVersion23$inboundSchema),
2037
- ])),
2038
- ]);
2039
-
2040
- export function getPromptVersionContentFromJSON(
2041
- jsonString: string,
2042
- ): SafeParseResult<GetPromptVersionContent, SDKValidationError> {
2043
- return safeParse(
2044
- jsonString,
2045
- (x) => GetPromptVersionContent$inboundSchema.parse(JSON.parse(x)),
2046
- `Failed to parse 'GetPromptVersionContent' from JSON`,
2047
- );
2048
- }
2049
-
2050
- /** @internal */
2051
- export const GetPromptVersionPromptsResponse200Type$inboundSchema:
2052
- z.ZodNativeEnum<typeof GetPromptVersionPromptsResponse200Type> = z.nativeEnum(
2053
- GetPromptVersionPromptsResponse200Type,
2054
- );
2055
-
2056
- /** @internal */
2057
- export const GetPromptVersionFunction$inboundSchema: z.ZodType<
2058
- GetPromptVersionFunction,
2059
- z.ZodTypeDef,
2060
- unknown
2061
- > = z.object({
2062
- name: z.string(),
2063
- arguments: z.string(),
2064
- });
2065
-
2066
- export function getPromptVersionFunctionFromJSON(
2067
- jsonString: string,
2068
- ): SafeParseResult<GetPromptVersionFunction, SDKValidationError> {
2069
- return safeParse(
2070
- jsonString,
2071
- (x) => GetPromptVersionFunction$inboundSchema.parse(JSON.parse(x)),
2072
- `Failed to parse 'GetPromptVersionFunction' from JSON`,
2073
- );
2074
- }
2075
-
2076
- /** @internal */
2077
- export const GetPromptVersionToolCalls$inboundSchema: z.ZodType<
2078
- GetPromptVersionToolCalls,
2079
- z.ZodTypeDef,
2080
- unknown
2081
- > = z.object({
2082
- id: z.string().optional(),
2083
- index: z.number().optional(),
2084
- type: GetPromptVersionPromptsResponse200Type$inboundSchema,
2085
- function: z.lazy(() => GetPromptVersionFunction$inboundSchema),
2086
- });
2087
-
2088
- export function getPromptVersionToolCallsFromJSON(
2089
- jsonString: string,
2090
- ): SafeParseResult<GetPromptVersionToolCalls, SDKValidationError> {
2091
- return safeParse(
2092
- jsonString,
2093
- (x) => GetPromptVersionToolCalls$inboundSchema.parse(JSON.parse(x)),
2094
- `Failed to parse 'GetPromptVersionToolCalls' from JSON`,
2095
- );
2096
- }
2097
-
2098
- /** @internal */
2099
- export const GetPromptVersionMessages$inboundSchema: z.ZodType<
2100
- GetPromptVersionMessages,
2101
- z.ZodTypeDef,
2102
- unknown
2103
- > = z.object({
2104
- role: GetPromptVersionRole$inboundSchema,
2105
- content: z.nullable(
2106
- z.union([
2107
- z.string(),
2108
- z.array(
2109
- z.union([
2110
- z.lazy(() => GetPromptVersion21$inboundSchema),
2111
- z.lazy(() => GetPromptVersion22$inboundSchema),
2112
- z.lazy(() => GetPromptVersion23$inboundSchema),
2113
- ]),
2114
- ),
2115
- ]),
2116
- ),
2117
- tool_calls: z.array(z.lazy(() => GetPromptVersionToolCalls$inboundSchema))
2118
- .optional(),
2119
- tool_call_id: z.nullable(z.string()).optional(),
2120
- }).transform((v) => {
2121
- return remap$(v, {
2122
- "tool_calls": "toolCalls",
2123
- "tool_call_id": "toolCallId",
2124
- });
2125
- });
2126
-
2127
- export function getPromptVersionMessagesFromJSON(
2128
- jsonString: string,
2129
- ): SafeParseResult<GetPromptVersionMessages, SDKValidationError> {
2130
- return safeParse(
2131
- jsonString,
2132
- (x) => GetPromptVersionMessages$inboundSchema.parse(JSON.parse(x)),
2133
- `Failed to parse 'GetPromptVersionMessages' from JSON`,
2134
- );
2135
- }
2136
-
2137
- /** @internal */
2138
- export const GetPromptVersionPromptConfig$inboundSchema: z.ZodType<
2139
- GetPromptVersionPromptConfig,
2140
- z.ZodTypeDef,
2141
- unknown
2142
- > = z.object({
2143
- stream: z.boolean().optional(),
2144
- model: z.nullable(z.string()).optional(),
2145
- model_db_id: z.nullable(z.string()).optional(),
2146
- model_type: z.nullable(GetPromptVersionModelType$inboundSchema).optional(),
2147
- model_parameters: z.lazy(() => GetPromptVersionModelParameters$inboundSchema)
2148
- .optional(),
2149
- provider: z.nullable(GetPromptVersionProvider$inboundSchema).optional(),
2150
- integration_id: z.nullable(z.string()).optional(),
2151
- version: z.string().optional(),
2152
- messages: z.array(z.lazy(() => GetPromptVersionMessages$inboundSchema)),
2153
- }).transform((v) => {
2154
- return remap$(v, {
2155
- "model_db_id": "modelDbId",
2156
- "model_type": "modelType",
2157
- "model_parameters": "modelParameters",
2158
- "integration_id": "integrationId",
2159
- });
2160
- });
2161
-
2162
- export function getPromptVersionPromptConfigFromJSON(
2163
- jsonString: string,
2164
- ): SafeParseResult<GetPromptVersionPromptConfig, SDKValidationError> {
2165
- return safeParse(
2166
- jsonString,
2167
- (x) => GetPromptVersionPromptConfig$inboundSchema.parse(JSON.parse(x)),
2168
- `Failed to parse 'GetPromptVersionPromptConfig' from JSON`,
2169
- );
2170
- }
2171
-
2172
- /** @internal */
2173
- export const GetPromptVersionVoice$inboundSchema: z.ZodNativeEnum<
2174
- typeof GetPromptVersionVoice
2175
- > = z.nativeEnum(GetPromptVersionVoice);
2176
-
2177
- /** @internal */
2178
- export const GetPromptVersionPromptsFormat$inboundSchema: z.ZodNativeEnum<
2179
- typeof GetPromptVersionPromptsFormat
2180
- > = z.nativeEnum(GetPromptVersionPromptsFormat);
2181
-
2182
- /** @internal */
2183
- export const GetPromptVersionAudio$inboundSchema: z.ZodType<
2184
- GetPromptVersionAudio,
2185
- z.ZodTypeDef,
2186
- unknown
2187
- > = z.object({
2188
- voice: GetPromptVersionVoice$inboundSchema,
2189
- format: GetPromptVersionPromptsFormat$inboundSchema,
2190
- });
2191
-
2192
- export function getPromptVersionAudioFromJSON(
2193
- jsonString: string,
2194
- ): SafeParseResult<GetPromptVersionAudio, SDKValidationError> {
2195
- return safeParse(
2196
- jsonString,
2197
- (x) => GetPromptVersionAudio$inboundSchema.parse(JSON.parse(x)),
2198
- `Failed to parse 'GetPromptVersionAudio' from JSON`,
2199
- );
2200
- }
2201
-
2202
- /** @internal */
2203
- export const GetPromptVersionResponseFormatJsonSchema$inboundSchema: z.ZodType<
2204
- GetPromptVersionResponseFormatJsonSchema,
2205
- z.ZodTypeDef,
2206
- unknown
2207
- > = z.object({
2208
- description: z.string().optional(),
2209
- name: z.string(),
2210
- schema: z.any().optional(),
2211
- strict: z.boolean().default(false),
2212
- });
2213
-
2214
- export function getPromptVersionResponseFormatJsonSchemaFromJSON(
2215
- jsonString: string,
2216
- ): SafeParseResult<
2217
- GetPromptVersionResponseFormatJsonSchema,
2218
- SDKValidationError
2219
- > {
2220
- return safeParse(
2221
- jsonString,
2222
- (x) =>
2223
- GetPromptVersionResponseFormatJsonSchema$inboundSchema.parse(
2224
- JSON.parse(x),
2225
- ),
2226
- `Failed to parse 'GetPromptVersionResponseFormatJsonSchema' from JSON`,
2227
- );
2228
- }
2229
-
2230
- /** @internal */
2231
- export const GetPromptVersionResponseFormatPromptsJSONSchema$inboundSchema:
2232
- z.ZodType<
2233
- GetPromptVersionResponseFormatPromptsJSONSchema,
2234
- z.ZodTypeDef,
2235
- unknown
2236
- > = z.object({
2237
- type: z.literal("json_schema"),
2238
- json_schema: z.lazy(() =>
2239
- GetPromptVersionResponseFormatJsonSchema$inboundSchema
2240
- ),
2241
- }).transform((v) => {
2242
- return remap$(v, {
2243
- "json_schema": "jsonSchema",
2244
- });
2245
- });
2246
-
2247
- export function getPromptVersionResponseFormatPromptsJSONSchemaFromJSON(
2248
- jsonString: string,
2249
- ): SafeParseResult<
2250
- GetPromptVersionResponseFormatPromptsJSONSchema,
2251
- SDKValidationError
2252
- > {
2253
- return safeParse(
2254
- jsonString,
2255
- (x) =>
2256
- GetPromptVersionResponseFormatPromptsJSONSchema$inboundSchema.parse(
2257
- JSON.parse(x),
2258
- ),
2259
- `Failed to parse 'GetPromptVersionResponseFormatPromptsJSONSchema' from JSON`,
2260
- );
2261
- }
2262
-
2263
- /** @internal */
2264
- export const GetPromptVersionResponseFormatJSONObject$inboundSchema: z.ZodType<
2265
- GetPromptVersionResponseFormatJSONObject,
2266
- z.ZodTypeDef,
2267
- unknown
2268
- > = z.object({
2269
- type: z.literal("json_object"),
2270
- });
2271
-
2272
- export function getPromptVersionResponseFormatJSONObjectFromJSON(
2273
- jsonString: string,
2274
- ): SafeParseResult<
2275
- GetPromptVersionResponseFormatJSONObject,
2276
- SDKValidationError
2277
- > {
2278
- return safeParse(
2279
- jsonString,
2280
- (x) =>
2281
- GetPromptVersionResponseFormatJSONObject$inboundSchema.parse(
2282
- JSON.parse(x),
2283
- ),
2284
- `Failed to parse 'GetPromptVersionResponseFormatJSONObject' from JSON`,
2285
- );
2286
- }
2287
-
2288
- /** @internal */
2289
- export const GetPromptVersionResponseFormatText$inboundSchema: z.ZodType<
2290
- GetPromptVersionResponseFormatText,
2291
- z.ZodTypeDef,
2292
- unknown
2293
- > = z.object({
2294
- type: z.literal("text"),
2295
- });
2296
-
2297
- export function getPromptVersionResponseFormatTextFromJSON(
2298
- jsonString: string,
2299
- ): SafeParseResult<GetPromptVersionResponseFormatText, SDKValidationError> {
2300
- return safeParse(
2301
- jsonString,
2302
- (x) =>
2303
- GetPromptVersionResponseFormatText$inboundSchema.parse(JSON.parse(x)),
2304
- `Failed to parse 'GetPromptVersionResponseFormatText' from JSON`,
2305
- );
2306
- }
2307
-
2308
- /** @internal */
2309
- export const GetPromptVersionResponseFormat$inboundSchema: z.ZodType<
2310
- GetPromptVersionResponseFormat,
2311
- z.ZodTypeDef,
2312
- unknown
2313
- > = z.union([
2314
- z.lazy(() => GetPromptVersionResponseFormatText$inboundSchema),
2315
- z.lazy(() => GetPromptVersionResponseFormatJSONObject$inboundSchema),
2316
- z.lazy(() => GetPromptVersionResponseFormatPromptsJSONSchema$inboundSchema),
2317
- ]);
2318
-
2319
- export function getPromptVersionResponseFormatFromJSON(
2320
- jsonString: string,
2321
- ): SafeParseResult<GetPromptVersionResponseFormat, SDKValidationError> {
2322
- return safeParse(
2323
- jsonString,
2324
- (x) => GetPromptVersionResponseFormat$inboundSchema.parse(JSON.parse(x)),
2325
- `Failed to parse 'GetPromptVersionResponseFormat' from JSON`,
2326
- );
2327
- }
2328
-
2329
- /** @internal */
2330
- export const GetPromptVersionReasoningEffort$inboundSchema: z.ZodNativeEnum<
2331
- typeof GetPromptVersionReasoningEffort
2332
- > = z.nativeEnum(GetPromptVersionReasoningEffort);
2333
-
2334
- /** @internal */
2335
- export const GetPromptVersionStop$inboundSchema: z.ZodType<
2336
- GetPromptVersionStop,
2337
- z.ZodTypeDef,
2338
- unknown
2339
- > = z.union([z.string(), z.array(z.string())]);
2340
-
2341
- export function getPromptVersionStopFromJSON(
2342
- jsonString: string,
2343
- ): SafeParseResult<GetPromptVersionStop, SDKValidationError> {
2344
- return safeParse(
2345
- jsonString,
2346
- (x) => GetPromptVersionStop$inboundSchema.parse(JSON.parse(x)),
2347
- `Failed to parse 'GetPromptVersionStop' from JSON`,
2348
- );
2349
- }
2350
-
2351
- /** @internal */
2352
- export const GetPromptVersionStreamOptions$inboundSchema: z.ZodType<
2353
- GetPromptVersionStreamOptions,
2354
- z.ZodTypeDef,
2355
- unknown
2356
- > = z.object({
2357
- include_usage: z.boolean().optional(),
2358
- }).transform((v) => {
2359
- return remap$(v, {
2360
- "include_usage": "includeUsage",
2361
- });
2362
- });
2363
-
2364
- export function getPromptVersionStreamOptionsFromJSON(
2365
- jsonString: string,
2366
- ): SafeParseResult<GetPromptVersionStreamOptions, SDKValidationError> {
2367
- return safeParse(
2368
- jsonString,
2369
- (x) => GetPromptVersionStreamOptions$inboundSchema.parse(JSON.parse(x)),
2370
- `Failed to parse 'GetPromptVersionStreamOptions' from JSON`,
2371
- );
2372
- }
2373
-
2374
- /** @internal */
2375
- export const GetPromptVersionThinking$inboundSchema: z.ZodType<
2376
- GetPromptVersionThinking,
2377
- z.ZodTypeDef,
2378
- unknown
2379
- > = z.union([
2380
- components.ThinkingConfigDisabledSchema$inboundSchema,
2381
- components.ThinkingConfigEnabledSchema$inboundSchema,
2382
- components.ThinkingConfigAdaptiveSchema$inboundSchema,
2383
- ]);
2384
-
2385
- export function getPromptVersionThinkingFromJSON(
2386
- jsonString: string,
2387
- ): SafeParseResult<GetPromptVersionThinking, SDKValidationError> {
2388
- return safeParse(
2389
- jsonString,
2390
- (x) => GetPromptVersionThinking$inboundSchema.parse(JSON.parse(x)),
2391
- `Failed to parse 'GetPromptVersionThinking' from JSON`,
2392
- );
2393
- }
2394
-
2395
- /** @internal */
2396
- export const GetPromptVersionToolChoiceType$inboundSchema: z.ZodNativeEnum<
2397
- typeof GetPromptVersionToolChoiceType
2398
- > = z.nativeEnum(GetPromptVersionToolChoiceType);
2399
-
2400
- /** @internal */
2401
- export const GetPromptVersionToolChoiceFunction$inboundSchema: z.ZodType<
2402
- GetPromptVersionToolChoiceFunction,
2403
- z.ZodTypeDef,
2404
- unknown
2405
- > = z.object({
2406
- name: z.string(),
2407
- });
2408
-
2409
- export function getPromptVersionToolChoiceFunctionFromJSON(
2410
- jsonString: string,
2411
- ): SafeParseResult<GetPromptVersionToolChoiceFunction, SDKValidationError> {
2412
- return safeParse(
2413
- jsonString,
2414
- (x) =>
2415
- GetPromptVersionToolChoiceFunction$inboundSchema.parse(JSON.parse(x)),
2416
- `Failed to parse 'GetPromptVersionToolChoiceFunction' from JSON`,
2417
- );
2418
- }
2419
-
2420
- /** @internal */
2421
- export const GetPromptVersionToolChoice2$inboundSchema: z.ZodType<
2422
- GetPromptVersionToolChoice2,
2423
- z.ZodTypeDef,
2424
- unknown
2425
- > = z.object({
2426
- type: GetPromptVersionToolChoiceType$inboundSchema.optional(),
2427
- function: z.lazy(() => GetPromptVersionToolChoiceFunction$inboundSchema),
2428
- });
2429
-
2430
- export function getPromptVersionToolChoice2FromJSON(
2431
- jsonString: string,
2432
- ): SafeParseResult<GetPromptVersionToolChoice2, SDKValidationError> {
2433
- return safeParse(
2434
- jsonString,
2435
- (x) => GetPromptVersionToolChoice2$inboundSchema.parse(JSON.parse(x)),
2436
- `Failed to parse 'GetPromptVersionToolChoice2' from JSON`,
2437
- );
2438
- }
2439
-
2440
- /** @internal */
2441
- export const GetPromptVersionToolChoice1$inboundSchema: z.ZodNativeEnum<
2442
- typeof GetPromptVersionToolChoice1
2443
- > = z.nativeEnum(GetPromptVersionToolChoice1);
2444
-
2445
- /** @internal */
2446
- export const GetPromptVersionToolChoice$inboundSchema: z.ZodType<
2447
- GetPromptVersionToolChoice,
2448
- z.ZodTypeDef,
2449
- unknown
2450
- > = z.union([
2451
- z.lazy(() => GetPromptVersionToolChoice2$inboundSchema),
2452
- GetPromptVersionToolChoice1$inboundSchema,
2453
- ]);
2454
-
2455
- export function getPromptVersionToolChoiceFromJSON(
2456
- jsonString: string,
2457
- ): SafeParseResult<GetPromptVersionToolChoice, SDKValidationError> {
2458
- return safeParse(
2459
- jsonString,
2460
- (x) => GetPromptVersionToolChoice$inboundSchema.parse(JSON.parse(x)),
2461
- `Failed to parse 'GetPromptVersionToolChoice' from JSON`,
2462
- );
2463
- }
2464
-
2465
- /** @internal */
2466
- export const GetPromptVersionModalities$inboundSchema: z.ZodNativeEnum<
2467
- typeof GetPromptVersionModalities
2468
- > = z.nativeEnum(GetPromptVersionModalities);
2469
-
2470
- /** @internal */
2471
- export const GetPromptVersionId1$inboundSchema: z.ZodNativeEnum<
2472
- typeof GetPromptVersionId1
2473
- > = z.nativeEnum(GetPromptVersionId1);
2474
-
2475
- /** @internal */
2476
- export const GetPromptVersionId$inboundSchema: z.ZodType<
2477
- GetPromptVersionId,
2478
- z.ZodTypeDef,
2479
- unknown
2480
- > = z.union([GetPromptVersionId1$inboundSchema, z.string()]);
2481
-
2482
- export function getPromptVersionIdFromJSON(
2483
- jsonString: string,
2484
- ): SafeParseResult<GetPromptVersionId, SDKValidationError> {
2485
- return safeParse(
2486
- jsonString,
2487
- (x) => GetPromptVersionId$inboundSchema.parse(JSON.parse(x)),
2488
- `Failed to parse 'GetPromptVersionId' from JSON`,
2489
- );
2490
- }
2491
-
2492
- /** @internal */
2493
- export const GetPromptVersionExecuteOn$inboundSchema: z.ZodNativeEnum<
2494
- typeof GetPromptVersionExecuteOn
2495
- > = z.nativeEnum(GetPromptVersionExecuteOn);
2496
-
2497
- /** @internal */
2498
- export const GetPromptVersionGuardrails$inboundSchema: z.ZodType<
2499
- GetPromptVersionGuardrails,
2500
- z.ZodTypeDef,
2501
- unknown
2502
- > = z.object({
2503
- id: z.union([GetPromptVersionId1$inboundSchema, z.string()]),
2504
- execute_on: GetPromptVersionExecuteOn$inboundSchema,
2505
- }).transform((v) => {
2506
- return remap$(v, {
2507
- "execute_on": "executeOn",
2508
- });
2509
- });
2510
-
2511
- export function getPromptVersionGuardrailsFromJSON(
2512
- jsonString: string,
2513
- ): SafeParseResult<GetPromptVersionGuardrails, SDKValidationError> {
2514
- return safeParse(
2515
- jsonString,
2516
- (x) => GetPromptVersionGuardrails$inboundSchema.parse(JSON.parse(x)),
2517
- `Failed to parse 'GetPromptVersionGuardrails' from JSON`,
2518
- );
2519
- }
2520
-
2521
- /** @internal */
2522
- export const GetPromptVersionPlugins$inboundSchema: z.ZodType<
2523
- GetPromptVersionPlugins,
2524
- z.ZodTypeDef,
2525
- unknown
2526
- > = z.union([
2527
- components.PIIRedactionPlugin$inboundSchema.and(
2528
- z.object({ id: z.literal("pii_redaction") }),
2529
- ),
2530
- components.ResponseHealingPlugin$inboundSchema,
2531
- components.TraceScrubbingPlugin$inboundSchema,
2532
- ]);
2533
-
2534
- export function getPromptVersionPluginsFromJSON(
2535
- jsonString: string,
2536
- ): SafeParseResult<GetPromptVersionPlugins, SDKValidationError> {
2537
- return safeParse(
2538
- jsonString,
2539
- (x) => GetPromptVersionPlugins$inboundSchema.parse(JSON.parse(x)),
2540
- `Failed to parse 'GetPromptVersionPlugins' from JSON`,
2541
- );
2542
- }
2543
-
2544
- /** @internal */
2545
- export const GetPromptVersionFallbacks$inboundSchema: z.ZodType<
2546
- GetPromptVersionFallbacks,
2547
- z.ZodTypeDef,
2548
- unknown
2549
- > = z.object({
2550
- model: z.string(),
2551
- });
2552
-
2553
- export function getPromptVersionFallbacksFromJSON(
2554
- jsonString: string,
2555
- ): SafeParseResult<GetPromptVersionFallbacks, SDKValidationError> {
2556
- return safeParse(
2557
- jsonString,
2558
- (x) => GetPromptVersionFallbacks$inboundSchema.parse(JSON.parse(x)),
2559
- `Failed to parse 'GetPromptVersionFallbacks' from JSON`,
2560
- );
2561
- }
2562
-
2563
- /** @internal */
2564
- export const GetPromptVersionRetry$inboundSchema: z.ZodType<
2565
- GetPromptVersionRetry,
2566
- z.ZodTypeDef,
2567
- unknown
2568
- > = z.object({
2569
- count: z.number().default(3),
2570
- on_codes: z.array(z.number()).optional(),
2571
- }).transform((v) => {
2572
- return remap$(v, {
2573
- "on_codes": "onCodes",
2574
- });
2575
- });
2576
-
2577
- export function getPromptVersionRetryFromJSON(
2578
- jsonString: string,
2579
- ): SafeParseResult<GetPromptVersionRetry, SDKValidationError> {
2580
- return safeParse(
2581
- jsonString,
2582
- (x) => GetPromptVersionRetry$inboundSchema.parse(JSON.parse(x)),
2583
- `Failed to parse 'GetPromptVersionRetry' from JSON`,
2584
- );
2585
- }
2586
-
2587
- /** @internal */
2588
- export const GetPromptVersionType$inboundSchema: z.ZodNativeEnum<
2589
- typeof GetPromptVersionType
2590
- > = z.nativeEnum(GetPromptVersionType);
2591
-
2592
- /** @internal */
2593
- export const GetPromptVersionCache$inboundSchema: z.ZodType<
2594
- GetPromptVersionCache,
2595
- z.ZodTypeDef,
2596
- unknown
2597
- > = z.object({
2598
- ttl: z.number().default(1800),
2599
- type: GetPromptVersionType$inboundSchema,
2600
- });
2601
-
2602
- export function getPromptVersionCacheFromJSON(
2603
- jsonString: string,
2604
- ): SafeParseResult<GetPromptVersionCache, SDKValidationError> {
2605
- return safeParse(
2606
- jsonString,
2607
- (x) => GetPromptVersionCache$inboundSchema.parse(JSON.parse(x)),
2608
- `Failed to parse 'GetPromptVersionCache' from JSON`,
2609
- );
2610
- }
2611
-
2612
- /** @internal */
2613
- export const GetPromptVersionLoadBalancerType$inboundSchema: z.ZodNativeEnum<
2614
- typeof GetPromptVersionLoadBalancerType
2615
- > = z.nativeEnum(GetPromptVersionLoadBalancerType);
2616
-
2617
- /** @internal */
2618
- export const GetPromptVersionLoadBalancerModels$inboundSchema: z.ZodType<
2619
- GetPromptVersionLoadBalancerModels,
2620
- z.ZodTypeDef,
2621
- unknown
2622
- > = z.object({
2623
- model: z.string(),
2624
- weight: z.number().default(0.5),
2625
- });
2626
-
2627
- export function getPromptVersionLoadBalancerModelsFromJSON(
2628
- jsonString: string,
2629
- ): SafeParseResult<GetPromptVersionLoadBalancerModels, SDKValidationError> {
2630
- return safeParse(
2631
- jsonString,
2632
- (x) =>
2633
- GetPromptVersionLoadBalancerModels$inboundSchema.parse(JSON.parse(x)),
2634
- `Failed to parse 'GetPromptVersionLoadBalancerModels' from JSON`,
2635
- );
2636
- }
2637
-
2638
- /** @internal */
2639
- export const GetPromptVersionLoadBalancer1$inboundSchema: z.ZodType<
2640
- GetPromptVersionLoadBalancer1,
2641
- z.ZodTypeDef,
2642
- unknown
2643
- > = z.object({
2644
- type: GetPromptVersionLoadBalancerType$inboundSchema,
2645
- models: z.array(
2646
- z.lazy(() => GetPromptVersionLoadBalancerModels$inboundSchema),
2647
- ),
2648
- });
2649
-
2650
- export function getPromptVersionLoadBalancer1FromJSON(
2651
- jsonString: string,
2652
- ): SafeParseResult<GetPromptVersionLoadBalancer1, SDKValidationError> {
2653
- return safeParse(
2654
- jsonString,
2655
- (x) => GetPromptVersionLoadBalancer1$inboundSchema.parse(JSON.parse(x)),
2656
- `Failed to parse 'GetPromptVersionLoadBalancer1' from JSON`,
2657
- );
2658
- }
2659
-
2660
- /** @internal */
2661
- export const GetPromptVersionLoadBalancer$inboundSchema: z.ZodType<
2662
- GetPromptVersionLoadBalancer,
2663
- z.ZodTypeDef,
2664
- unknown
2665
- > = z.lazy(() => GetPromptVersionLoadBalancer1$inboundSchema);
2666
-
2667
- export function getPromptVersionLoadBalancerFromJSON(
2668
- jsonString: string,
2669
- ): SafeParseResult<GetPromptVersionLoadBalancer, SDKValidationError> {
2670
- return safeParse(
2671
- jsonString,
2672
- (x) => GetPromptVersionLoadBalancer$inboundSchema.parse(JSON.parse(x)),
2673
- `Failed to parse 'GetPromptVersionLoadBalancer' from JSON`,
2674
- );
2675
- }
2676
-
2677
- /** @internal */
2678
- export const GetPromptVersionTimeout$inboundSchema: z.ZodType<
2679
- GetPromptVersionTimeout,
2680
- z.ZodTypeDef,
2681
- unknown
2682
- > = z.object({
2683
- call_timeout: z.number(),
2684
- }).transform((v) => {
2685
- return remap$(v, {
2686
- "call_timeout": "callTimeout",
2687
- });
2688
- });
2689
-
2690
- export function getPromptVersionTimeoutFromJSON(
2691
- jsonString: string,
2692
- ): SafeParseResult<GetPromptVersionTimeout, SDKValidationError> {
2693
- return safeParse(
2694
- jsonString,
2695
- (x) => GetPromptVersionTimeout$inboundSchema.parse(JSON.parse(x)),
2696
- `Failed to parse 'GetPromptVersionTimeout' from JSON`,
2697
- );
2698
- }
2699
-
2700
- /** @internal */
2701
- export const GetPromptVersionPromptsType$inboundSchema: z.ZodNativeEnum<
2702
- typeof GetPromptVersionPromptsType
2703
- > = z.nativeEnum(GetPromptVersionPromptsType);
2704
-
2705
- /** @internal */
2706
- export const GetPromptVersionTtl$inboundSchema: z.ZodNativeEnum<
2707
- typeof GetPromptVersionTtl
2708
- > = z.nativeEnum(GetPromptVersionTtl);
2709
-
2710
- /** @internal */
2711
- export const GetPromptVersionCacheControl$inboundSchema: z.ZodType<
2712
- GetPromptVersionCacheControl,
2713
- z.ZodTypeDef,
2714
- unknown
2715
- > = z.object({
2716
- type: GetPromptVersionPromptsType$inboundSchema,
2717
- ttl: GetPromptVersionTtl$inboundSchema.default("5m"),
2718
- });
2719
-
2720
- export function getPromptVersionCacheControlFromJSON(
2721
- jsonString: string,
2722
- ): SafeParseResult<GetPromptVersionCacheControl, SDKValidationError> {
2723
- return safeParse(
2724
- jsonString,
2725
- (x) => GetPromptVersionCacheControl$inboundSchema.parse(JSON.parse(x)),
2726
- `Failed to parse 'GetPromptVersionCacheControl' from JSON`,
2727
- );
2728
- }
2729
-
2730
- /** @internal */
2731
- export const GetPromptVersionContentPromptsResponse2002$inboundSchema:
2732
- z.ZodType<GetPromptVersionContentPromptsResponse2002, z.ZodTypeDef, unknown> =
2733
- components.TextContentPartSchema$inboundSchema;
2734
-
2735
- export function getPromptVersionContentPromptsResponse2002FromJSON(
2736
- jsonString: string,
2737
- ): SafeParseResult<
2738
- GetPromptVersionContentPromptsResponse2002,
2739
- SDKValidationError
2740
- > {
2741
- return safeParse(
2742
- jsonString,
2743
- (x) =>
2744
- GetPromptVersionContentPromptsResponse2002$inboundSchema.parse(
2745
- JSON.parse(x),
2746
- ),
2747
- `Failed to parse 'GetPromptVersionContentPromptsResponse2002' from JSON`,
2748
- );
2749
- }
2750
-
2751
- /** @internal */
2752
- export const GetPromptVersionMessagesPromptsResponse200Content$inboundSchema:
2753
- z.ZodType<
2754
- GetPromptVersionMessagesPromptsResponse200Content,
2755
- z.ZodTypeDef,
2756
- unknown
2757
- > = z.union([
2758
- z.string(),
2759
- z.array(components.TextContentPartSchema$inboundSchema),
2760
- ]);
2761
-
2762
- export function getPromptVersionMessagesPromptsResponse200ContentFromJSON(
2763
- jsonString: string,
2764
- ): SafeParseResult<
2765
- GetPromptVersionMessagesPromptsResponse200Content,
2766
- SDKValidationError
2767
- > {
2768
- return safeParse(
2769
- jsonString,
2770
- (x) =>
2771
- GetPromptVersionMessagesPromptsResponse200Content$inboundSchema.parse(
2772
- JSON.parse(x),
2773
- ),
2774
- `Failed to parse 'GetPromptVersionMessagesPromptsResponse200Content' from JSON`,
2775
- );
2776
- }
2777
-
2778
- /** @internal */
2779
- export const GetPromptVersionMessagesPromptsType$inboundSchema: z.ZodNativeEnum<
2780
- typeof GetPromptVersionMessagesPromptsType
2781
- > = z.nativeEnum(GetPromptVersionMessagesPromptsType);
2782
-
2783
- /** @internal */
2784
- export const GetPromptVersionMessagesTtl$inboundSchema: z.ZodNativeEnum<
2785
- typeof GetPromptVersionMessagesTtl
2786
- > = z.nativeEnum(GetPromptVersionMessagesTtl);
2787
-
2788
- /** @internal */
2789
- export const GetPromptVersionMessagesCacheControl$inboundSchema: z.ZodType<
2790
- GetPromptVersionMessagesCacheControl,
2791
- z.ZodTypeDef,
2792
- unknown
2793
- > = z.object({
2794
- type: GetPromptVersionMessagesPromptsType$inboundSchema,
2795
- ttl: GetPromptVersionMessagesTtl$inboundSchema.default("5m"),
2796
- });
2797
-
2798
- export function getPromptVersionMessagesCacheControlFromJSON(
2799
- jsonString: string,
2800
- ): SafeParseResult<GetPromptVersionMessagesCacheControl, SDKValidationError> {
2801
- return safeParse(
2802
- jsonString,
2803
- (x) =>
2804
- GetPromptVersionMessagesCacheControl$inboundSchema.parse(JSON.parse(x)),
2805
- `Failed to parse 'GetPromptVersionMessagesCacheControl' from JSON`,
2806
- );
2807
- }
2808
-
2809
- /** @internal */
2810
- export const GetPromptVersionMessagesToolMessage$inboundSchema: z.ZodType<
2811
- GetPromptVersionMessagesToolMessage,
2812
- z.ZodTypeDef,
2813
- unknown
2814
- > = z.object({
2815
- role: z.literal("tool"),
2816
- content: z.union([
2817
- z.string(),
2818
- z.array(components.TextContentPartSchema$inboundSchema),
2819
- ]),
2820
- tool_call_id: z.nullable(z.string()),
2821
- cache_control: z.lazy(() =>
2822
- GetPromptVersionMessagesCacheControl$inboundSchema
2823
- ).optional(),
2824
- }).transform((v) => {
2825
- return remap$(v, {
2826
- "tool_call_id": "toolCallId",
2827
- "cache_control": "cacheControl",
2828
- });
2829
- });
2830
-
2831
- export function getPromptVersionMessagesToolMessageFromJSON(
2832
- jsonString: string,
2833
- ): SafeParseResult<GetPromptVersionMessagesToolMessage, SDKValidationError> {
2834
- return safeParse(
2835
- jsonString,
2836
- (x) =>
2837
- GetPromptVersionMessagesToolMessage$inboundSchema.parse(JSON.parse(x)),
2838
- `Failed to parse 'GetPromptVersionMessagesToolMessage' from JSON`,
2839
- );
2840
- }
2841
-
2842
- /** @internal */
2843
- export const GetPromptVersionContentPromptsResponse2$inboundSchema: z.ZodType<
2844
- GetPromptVersionContentPromptsResponse2,
2845
- z.ZodTypeDef,
2846
- unknown
2847
- > = z.union([
2848
- components.TextContentPartSchema$inboundSchema.and(
2849
- z.object({ type: z.literal("text") }),
2850
- ),
2851
- components.RefusalPartSchema$inboundSchema,
2852
- components.ReasoningPartSchema$inboundSchema,
2853
- components.RedactedReasoningPartSchema$inboundSchema,
2854
- ]);
2855
-
2856
- export function getPromptVersionContentPromptsResponse2FromJSON(
2857
- jsonString: string,
2858
- ): SafeParseResult<
2859
- GetPromptVersionContentPromptsResponse2,
2860
- SDKValidationError
2861
- > {
2862
- return safeParse(
2863
- jsonString,
2864
- (x) =>
2865
- GetPromptVersionContentPromptsResponse2$inboundSchema.parse(
2866
- JSON.parse(x),
2867
- ),
2868
- `Failed to parse 'GetPromptVersionContentPromptsResponse2' from JSON`,
2869
- );
2870
- }
2871
-
2872
- /** @internal */
2873
- export const GetPromptVersionMessagesPromptsResponseContent$inboundSchema:
2874
- z.ZodType<
2875
- GetPromptVersionMessagesPromptsResponseContent,
2876
- z.ZodTypeDef,
2877
- unknown
2878
- > = z.union([
2879
- z.string(),
2880
- z.array(
2881
- z.union([
2882
- components.TextContentPartSchema$inboundSchema.and(
2883
- z.object({ type: z.literal("text") }),
2884
- ),
2885
- components.RefusalPartSchema$inboundSchema,
2886
- components.ReasoningPartSchema$inboundSchema,
2887
- components.RedactedReasoningPartSchema$inboundSchema,
2888
- ]),
2889
- ),
2890
- ]);
2891
-
2892
- export function getPromptVersionMessagesPromptsResponseContentFromJSON(
2893
- jsonString: string,
2894
- ): SafeParseResult<
2895
- GetPromptVersionMessagesPromptsResponseContent,
2896
- SDKValidationError
2897
- > {
2898
- return safeParse(
2899
- jsonString,
2900
- (x) =>
2901
- GetPromptVersionMessagesPromptsResponseContent$inboundSchema.parse(
2902
- JSON.parse(x),
2903
- ),
2904
- `Failed to parse 'GetPromptVersionMessagesPromptsResponseContent' from JSON`,
2905
- );
2906
- }
2907
-
2908
- /** @internal */
2909
- export const GetPromptVersionMessagesAudio$inboundSchema: z.ZodType<
2910
- GetPromptVersionMessagesAudio,
2911
- z.ZodTypeDef,
2912
- unknown
2913
- > = z.object({
2914
- id: z.string(),
2915
- });
2916
-
2917
- export function getPromptVersionMessagesAudioFromJSON(
2918
- jsonString: string,
2919
- ): SafeParseResult<GetPromptVersionMessagesAudio, SDKValidationError> {
2920
- return safeParse(
2921
- jsonString,
2922
- (x) => GetPromptVersionMessagesAudio$inboundSchema.parse(JSON.parse(x)),
2923
- `Failed to parse 'GetPromptVersionMessagesAudio' from JSON`,
2924
- );
2925
- }
2926
-
2927
- /** @internal */
2928
- export const GetPromptVersionMessagesType$inboundSchema: z.ZodNativeEnum<
2929
- typeof GetPromptVersionMessagesType
2930
- > = z.nativeEnum(GetPromptVersionMessagesType);
2931
-
2932
- /** @internal */
2933
- export const GetPromptVersionMessagesFunction$inboundSchema: z.ZodType<
2934
- GetPromptVersionMessagesFunction,
2935
- z.ZodTypeDef,
2936
- unknown
2937
- > = z.object({
2938
- name: z.string().optional(),
2939
- arguments: z.string().optional(),
2940
- });
2941
-
2942
- export function getPromptVersionMessagesFunctionFromJSON(
2943
- jsonString: string,
2944
- ): SafeParseResult<GetPromptVersionMessagesFunction, SDKValidationError> {
2945
- return safeParse(
2946
- jsonString,
2947
- (x) => GetPromptVersionMessagesFunction$inboundSchema.parse(JSON.parse(x)),
2948
- `Failed to parse 'GetPromptVersionMessagesFunction' from JSON`,
2949
- );
2950
- }
2951
-
2952
- /** @internal */
2953
- export const GetPromptVersionMessagesToolCalls$inboundSchema: z.ZodType<
2954
- GetPromptVersionMessagesToolCalls,
2955
- z.ZodTypeDef,
2956
- unknown
2957
- > = z.object({
2958
- id: z.string(),
2959
- type: GetPromptVersionMessagesType$inboundSchema,
2960
- function: z.lazy(() => GetPromptVersionMessagesFunction$inboundSchema),
2961
- thought_signature: z.string().optional(),
2962
- }).transform((v) => {
2963
- return remap$(v, {
2964
- "thought_signature": "thoughtSignature",
2965
- });
2966
- });
2967
-
2968
- export function getPromptVersionMessagesToolCallsFromJSON(
2969
- jsonString: string,
2970
- ): SafeParseResult<GetPromptVersionMessagesToolCalls, SDKValidationError> {
2971
- return safeParse(
2972
- jsonString,
2973
- (x) => GetPromptVersionMessagesToolCalls$inboundSchema.parse(JSON.parse(x)),
2974
- `Failed to parse 'GetPromptVersionMessagesToolCalls' from JSON`,
2975
- );
2976
- }
2977
-
2978
- /** @internal */
2979
- export const GetPromptVersionMessagesAssistantMessage$inboundSchema: z.ZodType<
2980
- GetPromptVersionMessagesAssistantMessage,
2981
- z.ZodTypeDef,
2982
- unknown
2983
- > = z.object({
2984
- reasoning_content: z.string().optional(),
2985
- content: z.nullable(
2986
- z.union([
2987
- z.string(),
2988
- z.array(
2989
- z.union([
2990
- components.TextContentPartSchema$inboundSchema.and(
2991
- z.object({ type: z.literal("text") }),
2992
- ),
2993
- components.RefusalPartSchema$inboundSchema,
2994
- components.ReasoningPartSchema$inboundSchema,
2995
- components.RedactedReasoningPartSchema$inboundSchema,
2996
- ]),
2997
- ),
2998
- ]),
2999
- ).optional(),
3000
- refusal: z.nullable(z.string()).optional(),
3001
- role: z.literal("assistant"),
3002
- name: z.string().optional(),
3003
- audio: z.nullable(z.lazy(() => GetPromptVersionMessagesAudio$inboundSchema))
3004
- .optional(),
3005
- tool_calls: z.array(
3006
- z.lazy(() => GetPromptVersionMessagesToolCalls$inboundSchema),
3007
- ).optional(),
3008
- }).transform((v) => {
3009
- return remap$(v, {
3010
- "reasoning_content": "reasoningContent",
3011
- "tool_calls": "toolCalls",
3012
- });
3013
- });
3014
-
3015
- export function getPromptVersionMessagesAssistantMessageFromJSON(
3016
- jsonString: string,
3017
- ): SafeParseResult<
3018
- GetPromptVersionMessagesAssistantMessage,
3019
- SDKValidationError
3020
- > {
3021
- return safeParse(
3022
- jsonString,
3023
- (x) =>
3024
- GetPromptVersionMessagesAssistantMessage$inboundSchema.parse(
3025
- JSON.parse(x),
3026
- ),
3027
- `Failed to parse 'GetPromptVersionMessagesAssistantMessage' from JSON`,
3028
- );
3029
- }
3030
-
3031
- /** @internal */
3032
- export const GetPromptVersion2PromptsResponse200ApplicationJSONType$inboundSchema:
3033
- z.ZodNativeEnum<
3034
- typeof GetPromptVersion2PromptsResponse200ApplicationJSONType
3035
- > = z.nativeEnum(GetPromptVersion2PromptsResponse200ApplicationJSONType);
3036
-
3037
- /** @internal */
3038
- export const GetPromptVersion2Ttl$inboundSchema: z.ZodNativeEnum<
3039
- typeof GetPromptVersion2Ttl
3040
- > = z.nativeEnum(GetPromptVersion2Ttl);
3041
-
3042
- /** @internal */
3043
- export const GetPromptVersion2CacheControl$inboundSchema: z.ZodType<
3044
- GetPromptVersion2CacheControl,
3045
- z.ZodTypeDef,
3046
- unknown
3047
- > = z.object({
3048
- type: GetPromptVersion2PromptsResponse200ApplicationJSONType$inboundSchema,
3049
- ttl: GetPromptVersion2Ttl$inboundSchema.default("5m"),
3050
- });
3051
-
3052
- export function getPromptVersion2CacheControlFromJSON(
3053
- jsonString: string,
3054
- ): SafeParseResult<GetPromptVersion2CacheControl, SDKValidationError> {
3055
- return safeParse(
3056
- jsonString,
3057
- (x) => GetPromptVersion2CacheControl$inboundSchema.parse(JSON.parse(x)),
3058
- `Failed to parse 'GetPromptVersion2CacheControl' from JSON`,
3059
- );
3060
- }
3061
-
3062
- /** @internal */
3063
- export const GetPromptVersion24$inboundSchema: z.ZodType<
3064
- GetPromptVersion24,
3065
- z.ZodTypeDef,
3066
- unknown
3067
- > = z.object({
3068
- type: z.literal("file"),
3069
- cache_control: z.lazy(() => GetPromptVersion2CacheControl$inboundSchema)
3070
- .optional(),
3071
- file: components.FileContentPartSchema$inboundSchema,
3072
- }).transform((v) => {
3073
- return remap$(v, {
3074
- "cache_control": "cacheControl",
3075
- });
3076
- });
3077
-
3078
- export function getPromptVersion24FromJSON(
3079
- jsonString: string,
3080
- ): SafeParseResult<GetPromptVersion24, SDKValidationError> {
3081
- return safeParse(
3082
- jsonString,
3083
- (x) => GetPromptVersion24$inboundSchema.parse(JSON.parse(x)),
3084
- `Failed to parse 'GetPromptVersion24' from JSON`,
3085
- );
3086
- }
3087
-
3088
- /** @internal */
3089
- export const GetPromptVersionContentPrompts2$inboundSchema: z.ZodType<
3090
- GetPromptVersionContentPrompts2,
3091
- z.ZodTypeDef,
3092
- unknown
3093
- > = z.union([
3094
- components.TextContentPartSchema$inboundSchema.and(
3095
- z.object({ type: z.literal("text") }),
3096
- ),
3097
- components.ImageContentPartSchema$inboundSchema,
3098
- components.AudioContentPartSchema$inboundSchema,
3099
- z.lazy(() => GetPromptVersion24$inboundSchema),
3100
- ]);
3101
-
3102
- export function getPromptVersionContentPrompts2FromJSON(
3103
- jsonString: string,
3104
- ): SafeParseResult<GetPromptVersionContentPrompts2, SDKValidationError> {
3105
- return safeParse(
3106
- jsonString,
3107
- (x) => GetPromptVersionContentPrompts2$inboundSchema.parse(JSON.parse(x)),
3108
- `Failed to parse 'GetPromptVersionContentPrompts2' from JSON`,
3109
- );
3110
- }
3111
-
3112
- /** @internal */
3113
- export const GetPromptVersionMessagesPromptsContent$inboundSchema: z.ZodType<
3114
- GetPromptVersionMessagesPromptsContent,
3115
- z.ZodTypeDef,
3116
- unknown
3117
- > = z.union([
3118
- z.string(),
3119
- z.array(
3120
- z.union([
3121
- components.TextContentPartSchema$inboundSchema.and(
3122
- z.object({ type: z.literal("text") }),
3123
- ),
3124
- components.ImageContentPartSchema$inboundSchema,
3125
- components.AudioContentPartSchema$inboundSchema,
3126
- z.lazy(() => GetPromptVersion24$inboundSchema),
3127
- ]),
3128
- ),
3129
- ]);
3130
-
3131
- export function getPromptVersionMessagesPromptsContentFromJSON(
3132
- jsonString: string,
3133
- ): SafeParseResult<GetPromptVersionMessagesPromptsContent, SDKValidationError> {
3134
- return safeParse(
3135
- jsonString,
3136
- (x) =>
3137
- GetPromptVersionMessagesPromptsContent$inboundSchema.parse(JSON.parse(x)),
3138
- `Failed to parse 'GetPromptVersionMessagesPromptsContent' from JSON`,
3139
- );
3140
- }
3141
-
3142
- /** @internal */
3143
- export const GetPromptVersionMessagesUserMessage$inboundSchema: z.ZodType<
3144
- GetPromptVersionMessagesUserMessage,
3145
- z.ZodTypeDef,
3146
- unknown
3147
- > = z.object({
3148
- role: z.literal("user"),
3149
- name: z.string().optional(),
3150
- content: z.union([
3151
- z.string(),
3152
- z.array(
3153
- z.union([
3154
- components.TextContentPartSchema$inboundSchema.and(
3155
- z.object({ type: z.literal("text") }),
3156
- ),
3157
- components.ImageContentPartSchema$inboundSchema,
3158
- components.AudioContentPartSchema$inboundSchema,
3159
- z.lazy(() => GetPromptVersion24$inboundSchema),
3160
- ]),
3161
- ),
3162
- ]),
3163
- });
3164
-
3165
- export function getPromptVersionMessagesUserMessageFromJSON(
3166
- jsonString: string,
3167
- ): SafeParseResult<GetPromptVersionMessagesUserMessage, SDKValidationError> {
3168
- return safeParse(
3169
- jsonString,
3170
- (x) =>
3171
- GetPromptVersionMessagesUserMessage$inboundSchema.parse(JSON.parse(x)),
3172
- `Failed to parse 'GetPromptVersionMessagesUserMessage' from JSON`,
3173
- );
3174
- }
3175
-
3176
- /** @internal */
3177
- export const GetPromptVersionMessagesContent$inboundSchema: z.ZodType<
3178
- GetPromptVersionMessagesContent,
3179
- z.ZodTypeDef,
3180
- unknown
3181
- > = z.union([
3182
- z.string(),
3183
- z.array(components.TextContentPartSchema$inboundSchema),
3184
- ]);
3185
-
3186
- export function getPromptVersionMessagesContentFromJSON(
3187
- jsonString: string,
3188
- ): SafeParseResult<GetPromptVersionMessagesContent, SDKValidationError> {
3189
- return safeParse(
3190
- jsonString,
3191
- (x) => GetPromptVersionMessagesContent$inboundSchema.parse(JSON.parse(x)),
3192
- `Failed to parse 'GetPromptVersionMessagesContent' from JSON`,
3193
- );
3194
- }
3195
-
3196
- /** @internal */
3197
- export const GetPromptVersionMessagesSystemMessage$inboundSchema: z.ZodType<
3198
- GetPromptVersionMessagesSystemMessage,
3199
- z.ZodTypeDef,
3200
- unknown
3201
- > = z.object({
3202
- role: z.literal("system"),
3203
- content: z.union([
3204
- z.string(),
3205
- z.array(components.TextContentPartSchema$inboundSchema),
3206
- ]),
3207
- name: z.string().optional(),
3208
- });
3209
-
3210
- export function getPromptVersionMessagesSystemMessageFromJSON(
3211
- jsonString: string,
3212
- ): SafeParseResult<GetPromptVersionMessagesSystemMessage, SDKValidationError> {
3213
- return safeParse(
3214
- jsonString,
3215
- (x) =>
3216
- GetPromptVersionMessagesSystemMessage$inboundSchema.parse(JSON.parse(x)),
3217
- `Failed to parse 'GetPromptVersionMessagesSystemMessage' from JSON`,
3218
- );
3219
- }
3220
-
3221
- /** @internal */
3222
- export const GetPromptVersionPromptsMessages$inboundSchema: z.ZodType<
3223
- GetPromptVersionPromptsMessages,
3224
- z.ZodTypeDef,
3225
- unknown
3226
- > = z.union([
3227
- z.lazy(() => GetPromptVersionMessagesSystemMessage$inboundSchema),
3228
- z.lazy(() => GetPromptVersionMessagesUserMessage$inboundSchema),
3229
- z.lazy(() => GetPromptVersionMessagesAssistantMessage$inboundSchema),
3230
- z.lazy(() => GetPromptVersionMessagesToolMessage$inboundSchema),
3231
- ]);
3232
-
3233
- export function getPromptVersionPromptsMessagesFromJSON(
3234
- jsonString: string,
3235
- ): SafeParseResult<GetPromptVersionPromptsMessages, SDKValidationError> {
3236
- return safeParse(
3237
- jsonString,
3238
- (x) => GetPromptVersionPromptsMessages$inboundSchema.parse(JSON.parse(x)),
3239
- `Failed to parse 'GetPromptVersionPromptsMessages' from JSON`,
3240
- );
3241
- }
3242
-
3243
- /** @internal */
3244
- export const GetPromptVersionPromptField$inboundSchema: z.ZodType<
3245
- GetPromptVersionPromptField,
3246
- z.ZodTypeDef,
3247
- unknown
3248
- > = z.object({
3249
- name: z.string().optional(),
3250
- audio: z.nullable(z.lazy(() => GetPromptVersionAudio$inboundSchema))
3251
- .optional(),
3252
- frequency_penalty: z.nullable(z.number()).optional(),
3253
- max_tokens: z.nullable(z.number().int()).optional(),
3254
- max_completion_tokens: z.nullable(z.number().int()).optional(),
3255
- logprobs: z.nullable(z.boolean()).optional(),
3256
- top_logprobs: z.nullable(z.number().int()).optional(),
3257
- n: z.nullable(z.number().int()).optional(),
3258
- presence_penalty: z.nullable(z.number()).optional(),
3259
- response_format: z.union([
3260
- z.lazy(() => GetPromptVersionResponseFormatText$inboundSchema),
3261
- z.lazy(() => GetPromptVersionResponseFormatJSONObject$inboundSchema),
3262
- z.lazy(() => GetPromptVersionResponseFormatPromptsJSONSchema$inboundSchema),
3263
- ]).optional(),
3264
- reasoning_effort: GetPromptVersionReasoningEffort$inboundSchema.optional(),
3265
- verbosity: z.string().optional(),
3266
- seed: z.nullable(z.number()).optional(),
3267
- stop: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
3268
- stream_options: z.nullable(
3269
- z.lazy(() => GetPromptVersionStreamOptions$inboundSchema),
3270
- ).optional(),
3271
- thinking: z.union([
3272
- components.ThinkingConfigDisabledSchema$inboundSchema,
3273
- components.ThinkingConfigEnabledSchema$inboundSchema,
3274
- components.ThinkingConfigAdaptiveSchema$inboundSchema,
3275
- ]).optional(),
3276
- temperature: z.nullable(z.number()).optional(),
3277
- top_p: z.nullable(z.number()).optional(),
3278
- top_k: z.nullable(z.number()).optional(),
3279
- tool_choice: z.union([
3280
- z.lazy(() => GetPromptVersionToolChoice2$inboundSchema),
3281
- GetPromptVersionToolChoice1$inboundSchema,
3282
- ]).optional(),
3283
- parallel_tool_calls: z.boolean().optional(),
3284
- modalities: z.nullable(z.array(GetPromptVersionModalities$inboundSchema))
3285
- .optional(),
3286
- guardrails: z.array(z.lazy(() => GetPromptVersionGuardrails$inboundSchema))
3287
- .optional(),
3288
- plugins: z.array(
3289
- z.union([
3290
- components.PIIRedactionPlugin$inboundSchema.and(
3291
- z.object({ id: z.literal("pii_redaction") }),
3292
- ),
3293
- components.ResponseHealingPlugin$inboundSchema,
3294
- components.TraceScrubbingPlugin$inboundSchema,
3295
- ]),
3296
- ).optional(),
3297
- fallbacks: z.array(z.lazy(() => GetPromptVersionFallbacks$inboundSchema))
3298
- .optional(),
3299
- retry: z.lazy(() => GetPromptVersionRetry$inboundSchema).optional(),
3300
- cache: z.lazy(() => GetPromptVersionCache$inboundSchema).optional(),
3301
- load_balancer: z.lazy(() => GetPromptVersionLoadBalancer1$inboundSchema)
3302
- .optional(),
3303
- timeout: z.lazy(() => GetPromptVersionTimeout$inboundSchema).optional(),
3304
- cache_control: z.lazy(() => GetPromptVersionCacheControl$inboundSchema)
3305
- .optional(),
3306
- prompt_cache_key: z.string().optional(),
3307
- messages: z.array(
3308
- z.union([
3309
- z.lazy(() => GetPromptVersionMessagesSystemMessage$inboundSchema),
3310
- z.lazy(() => GetPromptVersionMessagesUserMessage$inboundSchema),
3311
- z.lazy(() => GetPromptVersionMessagesAssistantMessage$inboundSchema),
3312
- z.lazy(() => GetPromptVersionMessagesToolMessage$inboundSchema),
3313
- ]),
3314
- ).optional(),
3315
- model: z.nullable(z.string()).optional(),
3316
- version: z.string().optional(),
3317
- }).transform((v) => {
3318
- return remap$(v, {
3319
- "frequency_penalty": "frequencyPenalty",
3320
- "max_tokens": "maxTokens",
3321
- "max_completion_tokens": "maxCompletionTokens",
3322
- "top_logprobs": "topLogprobs",
3323
- "presence_penalty": "presencePenalty",
3324
- "response_format": "responseFormat",
3325
- "reasoning_effort": "reasoningEffort",
3326
- "stream_options": "streamOptions",
3327
- "top_p": "topP",
3328
- "top_k": "topK",
3329
- "tool_choice": "toolChoice",
3330
- "parallel_tool_calls": "parallelToolCalls",
3331
- "load_balancer": "loadBalancer",
3332
- "cache_control": "cacheControl",
3333
- "prompt_cache_key": "promptCacheKey",
3334
- });
3335
- });
3336
-
3337
- export function getPromptVersionPromptFieldFromJSON(
3338
- jsonString: string,
3339
- ): SafeParseResult<GetPromptVersionPromptField, SDKValidationError> {
3340
- return safeParse(
3341
- jsonString,
3342
- (x) => GetPromptVersionPromptField$inboundSchema.parse(JSON.parse(x)),
3343
- `Failed to parse 'GetPromptVersionPromptField' from JSON`,
3344
- );
3345
- }
3346
-
3347
- /** @internal */
3348
- export const GetPromptVersionUseCases$inboundSchema: z.ZodNativeEnum<
3349
- typeof GetPromptVersionUseCases
3350
- > = z.nativeEnum(GetPromptVersionUseCases);
3351
-
3352
- /** @internal */
3353
- export const GetPromptVersionLanguage$inboundSchema: z.ZodNativeEnum<
3354
- typeof GetPromptVersionLanguage
3355
- > = z.nativeEnum(GetPromptVersionLanguage);
3356
-
3357
- /** @internal */
3358
- export const GetPromptVersionMetadata$inboundSchema: z.ZodType<
3359
- GetPromptVersionMetadata,
3360
- z.ZodTypeDef,
3361
- unknown
3362
- > = z.object({
3363
- use_cases: z.array(GetPromptVersionUseCases$inboundSchema).optional(),
3364
- language: z.nullable(GetPromptVersionLanguage$inboundSchema).optional(),
3365
- }).transform((v) => {
3366
- return remap$(v, {
3367
- "use_cases": "useCases",
3368
- });
3369
- });
3370
-
3371
- export function getPromptVersionMetadataFromJSON(
3372
- jsonString: string,
3373
- ): SafeParseResult<GetPromptVersionMetadata, SDKValidationError> {
3374
- return safeParse(
3375
- jsonString,
3376
- (x) => GetPromptVersionMetadata$inboundSchema.parse(JSON.parse(x)),
3377
- `Failed to parse 'GetPromptVersionMetadata' from JSON`,
3378
- );
3379
- }
3380
-
3381
- /** @internal */
3382
- export const GetPromptVersionResponseBody$inboundSchema: z.ZodType<
3383
- GetPromptVersionResponseBody,
3384
- z.ZodTypeDef,
3385
- unknown
3386
- > = z.object({
3387
- _id: z.string(),
3388
- created_by_id: z.nullable(z.string()).optional(),
3389
- updated_by_id: z.nullable(z.string()).optional(),
3390
- description: z.nullable(z.string()).optional(),
3391
- prompt_config: z.lazy(() => GetPromptVersionPromptConfig$inboundSchema)
3392
- .optional(),
3393
- prompt: z.lazy(() => GetPromptVersionPromptField$inboundSchema),
3394
- metadata: z.lazy(() => GetPromptVersionMetadata$inboundSchema).optional(),
3395
- timestamp: z.string(),
3396
- }).transform((v) => {
3397
- return remap$(v, {
3398
- "_id": "id",
3399
- "created_by_id": "createdById",
3400
- "updated_by_id": "updatedById",
3401
- "prompt_config": "promptConfig",
3402
- });
3403
- });
3404
-
3405
- export function getPromptVersionResponseBodyFromJSON(
3406
- jsonString: string,
3407
- ): SafeParseResult<GetPromptVersionResponseBody, SDKValidationError> {
3408
- return safeParse(
3409
- jsonString,
3410
- (x) => GetPromptVersionResponseBody$inboundSchema.parse(JSON.parse(x)),
3411
- `Failed to parse 'GetPromptVersionResponseBody' from JSON`,
3412
- );
3413
- }