@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,3488 +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 ListPromptVersionsRequest = {
14
- promptId: string;
15
- /**
16
- * A limit on the number of objects to be returned. Limit can range between 1 and 200, and the default is 10
17
- */
18
- limit?: number | undefined;
19
- /**
20
- * A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, ending with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `after=01JJ1HDHN79XAS7A01WB3HYSDB` in order to fetch the next page of the list.
21
- */
22
- startingAfter?: string | undefined;
23
- /**
24
- * A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, starting with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `before=01JJ1HDHN79XAS7A01WB3HYSDB` in order to fetch the previous page of the list.
25
- */
26
- endingBefore?: string | undefined;
27
- };
28
-
29
- export const ListPromptVersionsObject = {
30
- List: "list",
31
- } as const;
32
- export type ListPromptVersionsObject = ClosedEnum<
33
- typeof ListPromptVersionsObject
34
- >;
35
-
36
- /**
37
- * The modality of the model
38
- */
39
- export const ListPromptVersionsModelType = {
40
- Chat: "chat",
41
- Completion: "completion",
42
- Embedding: "embedding",
43
- Image: "image",
44
- Tts: "tts",
45
- Stt: "stt",
46
- Rerank: "rerank",
47
- Ocr: "ocr",
48
- Moderation: "moderation",
49
- Vision: "vision",
50
- } as const;
51
- /**
52
- * The modality of the model
53
- */
54
- export type ListPromptVersionsModelType = ClosedEnum<
55
- typeof ListPromptVersionsModelType
56
- >;
57
-
58
- /**
59
- * Only supported on `image` models.
60
- */
61
- export const ListPromptVersionsFormat = {
62
- Url: "url",
63
- B64Json: "b64_json",
64
- Text: "text",
65
- JsonObject: "json_object",
66
- } as const;
67
- /**
68
- * Only supported on `image` models.
69
- */
70
- export type ListPromptVersionsFormat = ClosedEnum<
71
- typeof ListPromptVersionsFormat
72
- >;
73
-
74
- export const ListPromptVersionsResponseFormat6 = {
75
- Json: "json",
76
- Text: "text",
77
- Srt: "srt",
78
- VerboseJson: "verbose_json",
79
- Vtt: "vtt",
80
- } as const;
81
- export type ListPromptVersionsResponseFormat6 = ClosedEnum<
82
- typeof ListPromptVersionsResponseFormat6
83
- >;
84
-
85
- export const ListPromptVersionsResponseFormat5 = {
86
- Url: "url",
87
- Base64Json: "base64_json",
88
- } as const;
89
- export type ListPromptVersionsResponseFormat5 = ClosedEnum<
90
- typeof ListPromptVersionsResponseFormat5
91
- >;
92
-
93
- export const ListPromptVersionsResponseFormat4 = {
94
- Mp3: "mp3",
95
- Opus: "opus",
96
- Aac: "aac",
97
- Flac: "flac",
98
- Wav: "wav",
99
- Pcm: "pcm",
100
- } as const;
101
- export type ListPromptVersionsResponseFormat4 = ClosedEnum<
102
- typeof ListPromptVersionsResponseFormat4
103
- >;
104
-
105
- export const ListPromptVersionsResponseFormatPromptsResponse200ApplicationJSONResponseBodyType =
106
- {
107
- Text: "text",
108
- } as const;
109
- export type ListPromptVersionsResponseFormatPromptsResponse200ApplicationJSONResponseBodyType =
110
- ClosedEnum<
111
- typeof ListPromptVersionsResponseFormatPromptsResponse200ApplicationJSONResponseBodyType
112
- >;
113
-
114
- export type ListPromptVersionsResponseFormat3 = {
115
- type:
116
- ListPromptVersionsResponseFormatPromptsResponse200ApplicationJSONResponseBodyType;
117
- };
118
-
119
- export const ListPromptVersionsResponseFormatPromptsResponse200ApplicationJSONType =
120
- {
121
- JsonObject: "json_object",
122
- } as const;
123
- export type ListPromptVersionsResponseFormatPromptsResponse200ApplicationJSONType =
124
- ClosedEnum<
125
- typeof ListPromptVersionsResponseFormatPromptsResponse200ApplicationJSONType
126
- >;
127
-
128
- export type ListPromptVersionsResponseFormat2 = {
129
- type: ListPromptVersionsResponseFormatPromptsResponse200ApplicationJSONType;
130
- };
131
-
132
- export const ListPromptVersionsResponseFormatPromptsResponse200Type = {
133
- JsonSchema: "json_schema",
134
- } as const;
135
- export type ListPromptVersionsResponseFormatPromptsResponse200Type = ClosedEnum<
136
- typeof ListPromptVersionsResponseFormatPromptsResponse200Type
137
- >;
138
-
139
- export type ListPromptVersionsResponseFormatPromptsResponseJsonSchema = {
140
- name: string;
141
- description?: string | null | undefined;
142
- strict?: boolean | undefined;
143
- schema: { [k: string]: any };
144
- };
145
-
146
- export type ListPromptVersionsResponseFormat1 = {
147
- type: ListPromptVersionsResponseFormatPromptsResponse200Type;
148
- displayName?: string | undefined;
149
- jsonSchema: ListPromptVersionsResponseFormatPromptsResponseJsonSchema;
150
- };
151
-
152
- /**
153
- * An object specifying the format that the model must output.
154
- *
155
- * @remarks
156
- *
157
- * Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema
158
- *
159
- * Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
160
- *
161
- * 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.
162
- */
163
- export type ListPromptVersionsPromptsResponseFormat =
164
- | ListPromptVersionsResponseFormat1
165
- | ListPromptVersionsResponseFormat2
166
- | ListPromptVersionsResponseFormat3
167
- | ListPromptVersionsResponseFormat4
168
- | ListPromptVersionsResponseFormat5
169
- | ListPromptVersionsResponseFormat6;
170
-
171
- /**
172
- * Create a cache control breakpoint. Accepts only the value "ephemeral".
173
- */
174
- export const ListPromptVersionsPromptsResponseType = {
175
- Ephemeral: "ephemeral",
176
- } as const;
177
- /**
178
- * Create a cache control breakpoint. Accepts only the value "ephemeral".
179
- */
180
- export type ListPromptVersionsPromptsResponseType = ClosedEnum<
181
- typeof ListPromptVersionsPromptsResponseType
182
- >;
183
-
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 const ListPromptVersionsPromptsTtl = {
195
- Fivem: "5m",
196
- Oneh: "1h",
197
- } as const;
198
- /**
199
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
200
- *
201
- * @remarks
202
- *
203
- * - `5m`: 5 minutes
204
- * - `1h`: 1 hour
205
- *
206
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
207
- */
208
- export type ListPromptVersionsPromptsTtl = ClosedEnum<
209
- typeof ListPromptVersionsPromptsTtl
210
- >;
211
-
212
- /**
213
- * Provider-level prompt caching configuration applied to the request. Creates a cache control breakpoint covering the request content. Only supported by `Anthropic` Claude models.
214
- */
215
- export type ListPromptVersionsPromptsCacheControl = {
216
- /**
217
- * Create a cache control breakpoint. Accepts only the value "ephemeral".
218
- */
219
- type: ListPromptVersionsPromptsResponseType;
220
- /**
221
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
222
- *
223
- * @remarks
224
- *
225
- * - `5m`: 5 minutes
226
- * - `1h`: 1 hour
227
- *
228
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
229
- */
230
- ttl: ListPromptVersionsPromptsTtl;
231
- };
232
-
233
- /**
234
- * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
235
- */
236
- export const ListPromptVersionsPhotoRealVersion = {
237
- V1: "v1",
238
- V2: "v2",
239
- } as const;
240
- /**
241
- * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
242
- */
243
- export type ListPromptVersionsPhotoRealVersion = ClosedEnum<
244
- typeof ListPromptVersionsPhotoRealVersion
245
- >;
246
-
247
- /**
248
- * The format to return the embeddings
249
- */
250
- export const ListPromptVersionsEncodingFormat = {
251
- Float: "float",
252
- Base64: "base64",
253
- } as const;
254
- /**
255
- * The format to return the embeddings
256
- */
257
- export type ListPromptVersionsEncodingFormat = ClosedEnum<
258
- typeof ListPromptVersionsEncodingFormat
259
- >;
260
-
261
- /**
262
- * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
263
- */
264
- export const ListPromptVersionsPromptsReasoningEffort = {
265
- None: "none",
266
- Disable: "disable",
267
- Minimal: "minimal",
268
- Low: "low",
269
- Medium: "medium",
270
- High: "high",
271
- Xhigh: "xhigh",
272
- Max: "max",
273
- } as const;
274
- /**
275
- * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
276
- */
277
- export type ListPromptVersionsPromptsReasoningEffort = ClosedEnum<
278
- typeof ListPromptVersionsPromptsReasoningEffort
279
- >;
280
-
281
- /**
282
- * Controls the verbosity of the model output.
283
- */
284
- export const ListPromptVersionsVerbosity = {
285
- Low: "low",
286
- Medium: "medium",
287
- High: "high",
288
- } as const;
289
- /**
290
- * Controls the verbosity of the model output.
291
- */
292
- export type ListPromptVersionsVerbosity = ClosedEnum<
293
- typeof ListPromptVersionsVerbosity
294
- >;
295
-
296
- /**
297
- * The level of thinking to use for the model. Only supported by `Google AI`
298
- */
299
- export const ListPromptVersionsThinkingLevel = {
300
- Minimal: "minimal",
301
- Low: "low",
302
- Medium: "medium",
303
- High: "high",
304
- } as const;
305
- /**
306
- * The level of thinking to use for the model. Only supported by `Google AI`
307
- */
308
- export type ListPromptVersionsThinkingLevel = ClosedEnum<
309
- typeof ListPromptVersionsThinkingLevel
310
- >;
311
-
312
- /**
313
- * Model Parameters: Not all parameters apply to every model
314
- */
315
- export type ListPromptVersionsModelParameters = {
316
- /**
317
- * Only supported on `chat` and `completion` models.
318
- */
319
- temperature?: number | undefined;
320
- /**
321
- * Only supported on `chat` and `completion` models.
322
- */
323
- maxTokens?: number | undefined;
324
- /**
325
- * Only supported on `chat` and `completion` models.
326
- */
327
- topK?: number | undefined;
328
- /**
329
- * Only supported on `chat` and `completion` models.
330
- */
331
- topP?: number | undefined;
332
- /**
333
- * Only supported on `chat` and `completion` models.
334
- */
335
- frequencyPenalty?: number | undefined;
336
- /**
337
- * Only supported on `chat` and `completion` models.
338
- */
339
- presencePenalty?: number | undefined;
340
- /**
341
- * Only supported on `image` models.
342
- */
343
- numImages?: number | undefined;
344
- /**
345
- * Best effort deterministic seed for the model. Currently only OpenAI models support these
346
- */
347
- seed?: number | undefined;
348
- /**
349
- * Only supported on `image` models.
350
- */
351
- format?: ListPromptVersionsFormat | undefined;
352
- /**
353
- * Only supported on `image` models.
354
- */
355
- dimensions?: string | undefined;
356
- /**
357
- * Only supported on `image` models.
358
- */
359
- quality?: string | undefined;
360
- /**
361
- * Only supported on `image` models.
362
- */
363
- style?: string | undefined;
364
- /**
365
- * An object specifying the format that the model must output.
366
- *
367
- * @remarks
368
- *
369
- * Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema
370
- *
371
- * Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
372
- *
373
- * 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.
374
- */
375
- responseFormat?:
376
- | ListPromptVersionsResponseFormat1
377
- | ListPromptVersionsResponseFormat2
378
- | ListPromptVersionsResponseFormat3
379
- | ListPromptVersionsResponseFormat4
380
- | ListPromptVersionsResponseFormat5
381
- | ListPromptVersionsResponseFormat6
382
- | null
383
- | undefined;
384
- /**
385
- * Provider-level prompt caching configuration applied to the request. Creates a cache control breakpoint covering the request content. Only supported by `Anthropic` Claude models.
386
- */
387
- cacheControl?: ListPromptVersionsPromptsCacheControl | null | undefined;
388
- /**
389
- * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
390
- */
391
- photoRealVersion?: ListPromptVersionsPhotoRealVersion | undefined;
392
- /**
393
- * The format to return the embeddings
394
- */
395
- encodingFormat?: ListPromptVersionsEncodingFormat | undefined;
396
- /**
397
- * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
398
- */
399
- reasoningEffort?: ListPromptVersionsPromptsReasoningEffort | undefined;
400
- /**
401
- * 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`
402
- */
403
- budgetTokens?: number | undefined;
404
- /**
405
- * Controls the verbosity of the model output.
406
- */
407
- verbosity?: ListPromptVersionsVerbosity | undefined;
408
- /**
409
- * The level of thinking to use for the model. Only supported by `Google AI`
410
- */
411
- thinkingLevel?: ListPromptVersionsThinkingLevel | undefined;
412
- };
413
-
414
- export const ListPromptVersionsProvider = {
415
- Openai: "openai",
416
- Groq: "groq",
417
- Cohere: "cohere",
418
- Azure: "azure",
419
- Aws: "aws",
420
- Google: "google",
421
- GoogleAi: "google-ai",
422
- Huggingface: "huggingface",
423
- Togetherai: "togetherai",
424
- Perplexity: "perplexity",
425
- Anthropic: "anthropic",
426
- Leonardoai: "leonardoai",
427
- Fal: "fal",
428
- Nvidia: "nvidia",
429
- Jina: "jina",
430
- Elevenlabs: "elevenlabs",
431
- Litellm: "litellm",
432
- Cerebras: "cerebras",
433
- Openailike: "openailike",
434
- Bytedance: "bytedance",
435
- Mistral: "mistral",
436
- Deepseek: "deepseek",
437
- Moonshotai: "moonshotai",
438
- Zai: "zai",
439
- Minimax: "minimax",
440
- Xai: "xai",
441
- Alibaba: "alibaba",
442
- Tensorix: "tensorix",
443
- Scaleway: "scaleway",
444
- Hcompany: "hcompany",
445
- Inceptron: "inceptron",
446
- Wafer: "wafer",
447
- Poolside: "poolside",
448
- Tencent: "tencent",
449
- Nebius: "nebius",
450
- Fireworks: "fireworks",
451
- Baseten: "baseten",
452
- Reson8: "reson8",
453
- Meta: "meta",
454
- Greenpt: "greenpt",
455
- Slack: "slack",
456
- Orq: "orq",
457
- } as const;
458
- export type ListPromptVersionsProvider = ClosedEnum<
459
- typeof ListPromptVersionsProvider
460
- >;
461
-
462
- /**
463
- * The role of the prompt message
464
- */
465
- export const ListPromptVersionsRole = {
466
- System: "system",
467
- Developer: "developer",
468
- Assistant: "assistant",
469
- User: "user",
470
- Exception: "exception",
471
- Tool: "tool",
472
- Prompt: "prompt",
473
- Correction: "correction",
474
- ExpectedOutput: "expected_output",
475
- } as const;
476
- /**
477
- * The role of the prompt message
478
- */
479
- export type ListPromptVersionsRole = ClosedEnum<typeof ListPromptVersionsRole>;
480
-
481
- export type ListPromptVersions2File = {
482
- /**
483
- * The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
484
- */
485
- fileData?: string | undefined;
486
- /**
487
- * URL to the file. Only supported by Anthropic Claude models for PDF files.
488
- */
489
- uri?: string | undefined;
490
- /**
491
- * MIME type of the file (e.g., application/pdf, image/png)
492
- */
493
- mimeType?: string | undefined;
494
- /**
495
- * The name of the file, used when passing the file to the model as a string.
496
- */
497
- filename?: string | undefined;
498
- };
499
-
500
- export type ListPromptVersions23 = {
501
- /**
502
- * The type of the content part. Always `file`.
503
- */
504
- type: "file";
505
- file: ListPromptVersions2File;
506
- };
507
-
508
- export type ListPromptVersions2ImageUrl = {
509
- /**
510
- * The orq.ai id of the image
511
- */
512
- id?: string | undefined;
513
- /**
514
- * Either a URL of the image or the base64 encoded data URI.
515
- */
516
- url: string;
517
- /**
518
- * Specifies the detail level of the image. Currently only supported with OpenAI models
519
- */
520
- detail?: string | undefined;
521
- };
522
-
523
- /**
524
- * The image part of the prompt message. Only supported with vision models.
525
- */
526
- export type ListPromptVersions22 = {
527
- type: "image_url";
528
- imageUrl: ListPromptVersions2ImageUrl;
529
- };
530
-
531
- /**
532
- * Text content part of a prompt message
533
- */
534
- export type ListPromptVersions21 = {
535
- type: "text";
536
- text: string;
537
- };
538
-
539
- export type ListPromptVersionsContent2 =
540
- | ListPromptVersions21
541
- | ListPromptVersions22
542
- | ListPromptVersions23;
543
-
544
- /**
545
- * 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.
546
- */
547
- export type ListPromptVersionsContent =
548
- | string
549
- | Array<ListPromptVersions21 | ListPromptVersions22 | ListPromptVersions23>;
550
-
551
- export const ListPromptVersionsPromptsResponse200Type = {
552
- Function: "function",
553
- } as const;
554
- export type ListPromptVersionsPromptsResponse200Type = ClosedEnum<
555
- typeof ListPromptVersionsPromptsResponse200Type
556
- >;
557
-
558
- export type ListPromptVersionsFunction = {
559
- name: string;
560
- /**
561
- * JSON string arguments for the functions
562
- */
563
- arguments: string;
564
- };
565
-
566
- export type ListPromptVersionsToolCalls = {
567
- id?: string | undefined;
568
- index?: number | undefined;
569
- type: ListPromptVersionsPromptsResponse200Type;
570
- function: ListPromptVersionsFunction;
571
- };
572
-
573
- export type ListPromptVersionsMessages = {
574
- /**
575
- * The role of the prompt message
576
- */
577
- role: ListPromptVersionsRole;
578
- /**
579
- * 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.
580
- */
581
- content:
582
- | string
583
- | Array<ListPromptVersions21 | ListPromptVersions22 | ListPromptVersions23>
584
- | null;
585
- toolCalls?: Array<ListPromptVersionsToolCalls> | undefined;
586
- toolCallId?: string | null | undefined;
587
- };
588
-
589
- /**
590
- * [DEPRECATED] Use the `prompt` property instead. A list of messages compatible with the openAI schema.
591
- *
592
- * @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible.
593
- */
594
- export type ListPromptVersionsPromptConfig = {
595
- stream?: boolean | undefined;
596
- model?: string | null | undefined;
597
- modelDbId?: string | null | undefined;
598
- /**
599
- * The modality of the model
600
- */
601
- modelType?: ListPromptVersionsModelType | null | undefined;
602
- /**
603
- * Model Parameters: Not all parameters apply to every model
604
- */
605
- modelParameters?: ListPromptVersionsModelParameters | undefined;
606
- provider?: ListPromptVersionsProvider | null | undefined;
607
- /**
608
- * The ID of the integration to use
609
- */
610
- integrationId?: string | null | undefined;
611
- version?: string | undefined;
612
- messages: Array<ListPromptVersionsMessages>;
613
- };
614
-
615
- /**
616
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
617
- */
618
- export const ListPromptVersionsVoice = {
619
- Alloy: "alloy",
620
- Echo: "echo",
621
- Fable: "fable",
622
- Onyx: "onyx",
623
- Nova: "nova",
624
- Shimmer: "shimmer",
625
- } as const;
626
- /**
627
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
628
- */
629
- export type ListPromptVersionsVoice = ClosedEnum<
630
- typeof ListPromptVersionsVoice
631
- >;
632
-
633
- /**
634
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
635
- */
636
- export const ListPromptVersionsPromptsFormat = {
637
- Wav: "wav",
638
- Mp3: "mp3",
639
- Flac: "flac",
640
- Opus: "opus",
641
- Pcm16: "pcm16",
642
- } as const;
643
- /**
644
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
645
- */
646
- export type ListPromptVersionsPromptsFormat = ClosedEnum<
647
- typeof ListPromptVersionsPromptsFormat
648
- >;
649
-
650
- /**
651
- * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
652
- */
653
- export type ListPromptVersionsAudio = {
654
- /**
655
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
656
- */
657
- voice: ListPromptVersionsVoice;
658
- /**
659
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
660
- */
661
- format: ListPromptVersionsPromptsFormat;
662
- };
663
-
664
- export type ListPromptVersionsResponseFormatJsonSchema = {
665
- /**
666
- * A description of what the response format is for, used by the model to determine how to respond in the format.
667
- */
668
- description?: string | undefined;
669
- /**
670
- * 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.
671
- */
672
- name: string;
673
- /**
674
- * The schema for the response format, described as a JSON Schema object.
675
- */
676
- schema?: any | undefined;
677
- /**
678
- * 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.
679
- */
680
- strict: boolean;
681
- };
682
-
683
- /**
684
- * @remarks
685
- *
686
- * JSON Schema response format. Used to generate structured JSON responses
687
- */
688
- export type ListPromptVersionsResponseFormatPromptsJSONSchema = {
689
- type: "json_schema";
690
- jsonSchema: ListPromptVersionsResponseFormatJsonSchema;
691
- };
692
-
693
- /**
694
- * @remarks
695
- *
696
- * 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.
697
- */
698
- export type ListPromptVersionsResponseFormatJSONObject = {
699
- type: "json_object";
700
- };
701
-
702
- /**
703
- * @remarks
704
- *
705
- * Default response format. Used to generate text responses
706
- */
707
- export type ListPromptVersionsResponseFormatText = {
708
- type: "text";
709
- };
710
-
711
- /**
712
- * An object specifying the format that the model must output
713
- */
714
- export type ListPromptVersionsResponseFormat =
715
- | ListPromptVersionsResponseFormatText
716
- | ListPromptVersionsResponseFormatJSONObject
717
- | ListPromptVersionsResponseFormatPromptsJSONSchema;
718
-
719
- /**
720
- * 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.
721
- *
722
- * @remarks
723
- *
724
- * - `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.
725
- * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
726
- * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
727
- * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
728
- *
729
- * Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
730
- */
731
- export const ListPromptVersionsReasoningEffort = {
732
- None: "none",
733
- Minimal: "minimal",
734
- Low: "low",
735
- Medium: "medium",
736
- High: "high",
737
- Xhigh: "xhigh",
738
- Max: "max",
739
- } as const;
740
- /**
741
- * 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.
742
- *
743
- * @remarks
744
- *
745
- * - `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.
746
- * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
747
- * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
748
- * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
749
- *
750
- * Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
751
- */
752
- export type ListPromptVersionsReasoningEffort = ClosedEnum<
753
- typeof ListPromptVersionsReasoningEffort
754
- >;
755
-
756
- /**
757
- * Up to 4 sequences where the API will stop generating further tokens.
758
- */
759
- export type ListPromptVersionsStop = string | Array<string>;
760
-
761
- /**
762
- * Options for streaming response. Only set this when you set stream: true.
763
- */
764
- export type ListPromptVersionsStreamOptions = {
765
- /**
766
- * 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.
767
- */
768
- includeUsage?: boolean | undefined;
769
- };
770
-
771
- export type ListPromptVersionsThinking =
772
- | components.ThinkingConfigDisabledSchema
773
- | components.ThinkingConfigEnabledSchema
774
- | components.ThinkingConfigAdaptiveSchema;
775
-
776
- /**
777
- * The type of the tool. Currently, only function is supported.
778
- */
779
- export const ListPromptVersionsToolChoiceType = {
780
- Function: "function",
781
- } as const;
782
- /**
783
- * The type of the tool. Currently, only function is supported.
784
- */
785
- export type ListPromptVersionsToolChoiceType = ClosedEnum<
786
- typeof ListPromptVersionsToolChoiceType
787
- >;
788
-
789
- export type ListPromptVersionsToolChoiceFunction = {
790
- /**
791
- * The name of the function to call.
792
- */
793
- name: string;
794
- };
795
-
796
- export type ListPromptVersionsToolChoice2 = {
797
- /**
798
- * The type of the tool. Currently, only function is supported.
799
- */
800
- type?: ListPromptVersionsToolChoiceType | undefined;
801
- function: ListPromptVersionsToolChoiceFunction;
802
- };
803
-
804
- export const ListPromptVersionsToolChoice1 = {
805
- None: "none",
806
- Auto: "auto",
807
- Required: "required",
808
- } as const;
809
- export type ListPromptVersionsToolChoice1 = ClosedEnum<
810
- typeof ListPromptVersionsToolChoice1
811
- >;
812
-
813
- /**
814
- * Controls which (if any) tool is called by the model.
815
- */
816
- export type ListPromptVersionsToolChoice =
817
- | ListPromptVersionsToolChoice2
818
- | ListPromptVersionsToolChoice1;
819
-
820
- export const ListPromptVersionsModalities = {
821
- Text: "text",
822
- Audio: "audio",
823
- } as const;
824
- export type ListPromptVersionsModalities = ClosedEnum<
825
- typeof ListPromptVersionsModalities
826
- >;
827
-
828
- /**
829
- * The key of the guardrail.
830
- */
831
- export const ListPromptVersionsId1 = {
832
- OrqPiiDetection: "orq_pii_detection",
833
- OrqSecretDetection: "orq_secret_detection",
834
- OrqSexualModeration: "orq_sexual_moderation",
835
- OrqHarmfulModeration: "orq_harmful_moderation",
836
- } as const;
837
- /**
838
- * The key of the guardrail.
839
- */
840
- export type ListPromptVersionsId1 = ClosedEnum<typeof ListPromptVersionsId1>;
841
-
842
- export type ListPromptVersionsId = ListPromptVersionsId1 | string;
843
-
844
- /**
845
- * Determines whether the guardrail runs on the input (user message) or output (model response).
846
- */
847
- export const ListPromptVersionsExecuteOn = {
848
- Input: "input",
849
- Output: "output",
850
- } as const;
851
- /**
852
- * Determines whether the guardrail runs on the input (user message) or output (model response).
853
- */
854
- export type ListPromptVersionsExecuteOn = ClosedEnum<
855
- typeof ListPromptVersionsExecuteOn
856
- >;
857
-
858
- export type ListPromptVersionsGuardrails = {
859
- id: ListPromptVersionsId1 | string;
860
- /**
861
- * Determines whether the guardrail runs on the input (user message) or output (model response).
862
- */
863
- executeOn: ListPromptVersionsExecuteOn;
864
- };
865
-
866
- export type ListPromptVersionsPlugins =
867
- | (components.PIIRedactionPlugin & { id: "pii_redaction" })
868
- | components.ResponseHealingPlugin
869
- | components.TraceScrubbingPlugin;
870
-
871
- export type ListPromptVersionsFallbacks = {
872
- /**
873
- * Fallback model identifier
874
- */
875
- model: string;
876
- };
877
-
878
- /**
879
- * Retry configuration for the request
880
- */
881
- export type ListPromptVersionsRetry = {
882
- /**
883
- * Number of retry attempts (1-5)
884
- */
885
- count: number;
886
- /**
887
- * HTTP status codes that trigger retry logic
888
- */
889
- onCodes?: Array<number> | undefined;
890
- };
891
-
892
- export const ListPromptVersionsType = {
893
- ExactMatch: "exact_match",
894
- } as const;
895
- export type ListPromptVersionsType = ClosedEnum<typeof ListPromptVersionsType>;
896
-
897
- /**
898
- * Cache configuration for the request.
899
- */
900
- export type ListPromptVersionsCache = {
901
- /**
902
- * Time to live for cached responses in seconds. Maximum 259200 seconds (3 days).
903
- */
904
- ttl: number;
905
- type: ListPromptVersionsType;
906
- };
907
-
908
- export const ListPromptVersionsLoadBalancerType = {
909
- WeightBased: "weight_based",
910
- } as const;
911
- export type ListPromptVersionsLoadBalancerType = ClosedEnum<
912
- typeof ListPromptVersionsLoadBalancerType
913
- >;
914
-
915
- export type ListPromptVersionsLoadBalancerModels = {
916
- /**
917
- * Model identifier for load balancing
918
- */
919
- model: string;
920
- /**
921
- * Weight assigned to this model for load balancing
922
- */
923
- weight: number;
924
- };
925
-
926
- export type ListPromptVersionsLoadBalancer1 = {
927
- type: ListPromptVersionsLoadBalancerType;
928
- models: Array<ListPromptVersionsLoadBalancerModels>;
929
- };
930
-
931
- /**
932
- * Load balancer configuration for the request.
933
- */
934
- export type ListPromptVersionsLoadBalancer = ListPromptVersionsLoadBalancer1;
935
-
936
- /**
937
- * 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.
938
- */
939
- export type ListPromptVersionsTimeout = {
940
- /**
941
- * Timeout value in milliseconds
942
- */
943
- callTimeout: number;
944
- };
945
-
946
- /**
947
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
948
- */
949
- export const ListPromptVersionsPromptsType = {
950
- Ephemeral: "ephemeral",
951
- } as const;
952
- /**
953
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
954
- */
955
- export type ListPromptVersionsPromptsType = ClosedEnum<
956
- typeof ListPromptVersionsPromptsType
957
- >;
958
-
959
- /**
960
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
961
- *
962
- * @remarks
963
- *
964
- * - `5m`: 5 minutes
965
- * - `1h`: 1 hour
966
- *
967
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
968
- */
969
- export const ListPromptVersionsTtl = {
970
- Fivem: "5m",
971
- Oneh: "1h",
972
- } as const;
973
- /**
974
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
975
- *
976
- * @remarks
977
- *
978
- * - `5m`: 5 minutes
979
- * - `1h`: 1 hour
980
- *
981
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
982
- */
983
- export type ListPromptVersionsTtl = ClosedEnum<typeof ListPromptVersionsTtl>;
984
-
985
- /**
986
- * Provider-level prompt caching configuration applied to the request. Creates a cache control breakpoint covering the request content. Only supported by `Anthropic` Claude models.
987
- */
988
- export type ListPromptVersionsCacheControl = {
989
- /**
990
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
991
- */
992
- type: ListPromptVersionsPromptsType;
993
- /**
994
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
995
- *
996
- * @remarks
997
- *
998
- * - `5m`: 5 minutes
999
- * - `1h`: 1 hour
1000
- *
1001
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
1002
- */
1003
- ttl: ListPromptVersionsTtl;
1004
- };
1005
-
1006
- export type ListPromptVersionsContentPromptsResponse2002 =
1007
- components.TextContentPartSchema;
1008
-
1009
- /**
1010
- * The contents of the tool message.
1011
- */
1012
- export type ListPromptVersionsMessagesPromptsResponse200Content =
1013
- | string
1014
- | Array<components.TextContentPartSchema>;
1015
-
1016
- /**
1017
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
1018
- */
1019
- export const ListPromptVersionsMessagesPromptsType = {
1020
- Ephemeral: "ephemeral",
1021
- } as const;
1022
- /**
1023
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
1024
- */
1025
- export type ListPromptVersionsMessagesPromptsType = ClosedEnum<
1026
- typeof ListPromptVersionsMessagesPromptsType
1027
- >;
1028
-
1029
- /**
1030
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
1031
- *
1032
- * @remarks
1033
- *
1034
- * - `5m`: 5 minutes
1035
- * - `1h`: 1 hour
1036
- *
1037
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
1038
- */
1039
- export const ListPromptVersionsMessagesTtl = {
1040
- Fivem: "5m",
1041
- Oneh: "1h",
1042
- } as const;
1043
- /**
1044
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
1045
- *
1046
- * @remarks
1047
- *
1048
- * - `5m`: 5 minutes
1049
- * - `1h`: 1 hour
1050
- *
1051
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
1052
- */
1053
- export type ListPromptVersionsMessagesTtl = ClosedEnum<
1054
- typeof ListPromptVersionsMessagesTtl
1055
- >;
1056
-
1057
- export type ListPromptVersionsMessagesCacheControl = {
1058
- /**
1059
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
1060
- */
1061
- type: ListPromptVersionsMessagesPromptsType;
1062
- /**
1063
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
1064
- *
1065
- * @remarks
1066
- *
1067
- * - `5m`: 5 minutes
1068
- * - `1h`: 1 hour
1069
- *
1070
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
1071
- */
1072
- ttl: ListPromptVersionsMessagesTtl;
1073
- };
1074
-
1075
- export type ListPromptVersionsMessagesToolMessage = {
1076
- /**
1077
- * The role of the messages author, in this case tool.
1078
- */
1079
- role: "tool";
1080
- /**
1081
- * The contents of the tool message.
1082
- */
1083
- content: string | Array<components.TextContentPartSchema>;
1084
- /**
1085
- * Tool call that this message is responding to.
1086
- */
1087
- toolCallId: string | null;
1088
- cacheControl?: ListPromptVersionsMessagesCacheControl | undefined;
1089
- };
1090
-
1091
- export type ListPromptVersionsContentPromptsResponse2 =
1092
- | (components.TextContentPartSchema & { type: "text" })
1093
- | components.RefusalPartSchema
1094
- | components.ReasoningPartSchema
1095
- | components.RedactedReasoningPartSchema;
1096
-
1097
- /**
1098
- * The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
1099
- */
1100
- export type ListPromptVersionsMessagesPromptsResponseContent =
1101
- | string
1102
- | Array<
1103
- | (components.TextContentPartSchema & { type: "text" })
1104
- | components.RefusalPartSchema
1105
- | components.ReasoningPartSchema
1106
- | components.RedactedReasoningPartSchema
1107
- >;
1108
-
1109
- /**
1110
- * Data about a previous audio response from the model.
1111
- */
1112
- export type ListPromptVersionsMessagesAudio = {
1113
- /**
1114
- * Unique identifier for a previous audio response from the model.
1115
- */
1116
- id: string;
1117
- };
1118
-
1119
- /**
1120
- * The type of the tool. Currently, only `function` is supported.
1121
- */
1122
- export const ListPromptVersionsMessagesType = {
1123
- Function: "function",
1124
- } as const;
1125
- /**
1126
- * The type of the tool. Currently, only `function` is supported.
1127
- */
1128
- export type ListPromptVersionsMessagesType = ClosedEnum<
1129
- typeof ListPromptVersionsMessagesType
1130
- >;
1131
-
1132
- export type ListPromptVersionsMessagesFunction = {
1133
- /**
1134
- * The name of the function to call.
1135
- */
1136
- name?: string | undefined;
1137
- /**
1138
- * 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.
1139
- */
1140
- arguments?: string | undefined;
1141
- };
1142
-
1143
- export type ListPromptVersionsMessagesToolCalls = {
1144
- /**
1145
- * The ID of the tool call.
1146
- */
1147
- id: string;
1148
- /**
1149
- * The type of the tool. Currently, only `function` is supported.
1150
- */
1151
- type: ListPromptVersionsMessagesType;
1152
- function: ListPromptVersionsMessagesFunction;
1153
- /**
1154
- * Encrypted representation of the model internal reasoning state during function calling. Required by Gemini 3 models when continuing a conversation after a tool call.
1155
- */
1156
- thoughtSignature?: string | undefined;
1157
- };
1158
-
1159
- export type ListPromptVersionsMessagesAssistantMessage = {
1160
- /**
1161
- * Provider reasoning content that must be replayed with assistant tool calls when continuing a reasoning-model conversation.
1162
- */
1163
- reasoningContent?: string | undefined;
1164
- /**
1165
- * The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
1166
- */
1167
- content?:
1168
- | string
1169
- | Array<
1170
- | (components.TextContentPartSchema & { type: "text" })
1171
- | components.RefusalPartSchema
1172
- | components.ReasoningPartSchema
1173
- | components.RedactedReasoningPartSchema
1174
- >
1175
- | null
1176
- | undefined;
1177
- /**
1178
- * The refusal message by the assistant.
1179
- */
1180
- refusal?: string | null | undefined;
1181
- /**
1182
- * The role of the messages author, in this case `assistant`.
1183
- */
1184
- role: "assistant";
1185
- /**
1186
- * An optional name for the participant. Provides the model information to differentiate between participants of the same role.
1187
- */
1188
- name?: string | undefined;
1189
- /**
1190
- * Data about a previous audio response from the model.
1191
- */
1192
- audio?: ListPromptVersionsMessagesAudio | null | undefined;
1193
- /**
1194
- * The tool calls generated by the model, such as function calls.
1195
- */
1196
- toolCalls?: Array<ListPromptVersionsMessagesToolCalls> | undefined;
1197
- };
1198
-
1199
- /**
1200
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
1201
- */
1202
- export const ListPromptVersions2PromptsResponse200ApplicationJSONType = {
1203
- Ephemeral: "ephemeral",
1204
- } as const;
1205
- /**
1206
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
1207
- */
1208
- export type ListPromptVersions2PromptsResponse200ApplicationJSONType =
1209
- ClosedEnum<typeof ListPromptVersions2PromptsResponse200ApplicationJSONType>;
1210
-
1211
- /**
1212
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
1213
- *
1214
- * @remarks
1215
- *
1216
- * - `5m`: 5 minutes
1217
- * - `1h`: 1 hour
1218
- *
1219
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
1220
- */
1221
- export const ListPromptVersions2Ttl = {
1222
- Fivem: "5m",
1223
- Oneh: "1h",
1224
- } as const;
1225
- /**
1226
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
1227
- *
1228
- * @remarks
1229
- *
1230
- * - `5m`: 5 minutes
1231
- * - `1h`: 1 hour
1232
- *
1233
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
1234
- */
1235
- export type ListPromptVersions2Ttl = ClosedEnum<typeof ListPromptVersions2Ttl>;
1236
-
1237
- export type ListPromptVersions2CacheControl = {
1238
- /**
1239
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
1240
- */
1241
- type: ListPromptVersions2PromptsResponse200ApplicationJSONType;
1242
- /**
1243
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
1244
- *
1245
- * @remarks
1246
- *
1247
- * - `5m`: 5 minutes
1248
- * - `1h`: 1 hour
1249
- *
1250
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
1251
- */
1252
- ttl: ListPromptVersions2Ttl;
1253
- };
1254
-
1255
- export type ListPromptVersions24 = {
1256
- /**
1257
- * The type of the content part. Always `file`.
1258
- */
1259
- type: "file";
1260
- cacheControl?: ListPromptVersions2CacheControl | undefined;
1261
- /**
1262
- * File data for the content part. Must contain either file_data or uri, but not both.
1263
- */
1264
- file: components.FileContentPartSchema;
1265
- };
1266
-
1267
- export type ListPromptVersionsContentPrompts2 =
1268
- | (components.TextContentPartSchema & { type: "text" })
1269
- | components.ImageContentPartSchema
1270
- | components.AudioContentPartSchema
1271
- | ListPromptVersions24;
1272
-
1273
- /**
1274
- * The contents of the user message.
1275
- */
1276
- export type ListPromptVersionsMessagesPromptsContent =
1277
- | string
1278
- | Array<
1279
- | (components.TextContentPartSchema & { type: "text" })
1280
- | components.ImageContentPartSchema
1281
- | components.AudioContentPartSchema
1282
- | ListPromptVersions24
1283
- >;
1284
-
1285
- export type ListPromptVersionsMessagesUserMessage = {
1286
- /**
1287
- * The role of the messages author, in this case `user`.
1288
- */
1289
- role: "user";
1290
- /**
1291
- * An optional name for the participant. Provides the model information to differentiate between participants of the same role.
1292
- */
1293
- name?: string | undefined;
1294
- /**
1295
- * The contents of the user message.
1296
- */
1297
- content:
1298
- | string
1299
- | Array<
1300
- | (components.TextContentPartSchema & { type: "text" })
1301
- | components.ImageContentPartSchema
1302
- | components.AudioContentPartSchema
1303
- | ListPromptVersions24
1304
- >;
1305
- };
1306
-
1307
- /**
1308
- * The contents of the system message.
1309
- */
1310
- export type ListPromptVersionsMessagesContent =
1311
- | string
1312
- | Array<components.TextContentPartSchema>;
1313
-
1314
- /**
1315
- * Developer-provided instructions that the model should follow, regardless of messages sent by the user.
1316
- */
1317
- export type ListPromptVersionsMessagesSystemMessage = {
1318
- /**
1319
- * The role of the messages author, in this case `system`.
1320
- */
1321
- role: "system";
1322
- /**
1323
- * The contents of the system message.
1324
- */
1325
- content: string | Array<components.TextContentPartSchema>;
1326
- /**
1327
- * An optional name for the participant. Provides the model information to differentiate between participants of the same role.
1328
- */
1329
- name?: string | undefined;
1330
- };
1331
-
1332
- export type ListPromptVersionsPromptsMessages =
1333
- | ListPromptVersionsMessagesSystemMessage
1334
- | ListPromptVersionsMessagesUserMessage
1335
- | ListPromptVersionsMessagesAssistantMessage
1336
- | ListPromptVersionsMessagesToolMessage;
1337
-
1338
- /**
1339
- * Prompt configuration with model and messages. Use this instead of prompt_config.
1340
- */
1341
- export type ListPromptVersionsPromptField = {
1342
- /**
1343
- * The name to display on the trace. If not specified, the default system name will be used.
1344
- */
1345
- name?: string | undefined;
1346
- /**
1347
- * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
1348
- */
1349
- audio?: ListPromptVersionsAudio | null | undefined;
1350
- /**
1351
- * 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.
1352
- */
1353
- frequencyPenalty?: number | null | undefined;
1354
- /**
1355
- * `[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.
1356
- *
1357
- * @remarks
1358
- *
1359
- * This value is now `deprecated` in favor of `max_completion_tokens`, and is not compatible with o1 series models.
1360
- */
1361
- maxTokens?: number | null | undefined;
1362
- /**
1363
- * An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens
1364
- */
1365
- maxCompletionTokens?: number | null | undefined;
1366
- /**
1367
- * 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.
1368
- */
1369
- logprobs?: boolean | null | undefined;
1370
- /**
1371
- * 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.
1372
- */
1373
- topLogprobs?: number | null | undefined;
1374
- /**
1375
- * 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.
1376
- */
1377
- n?: number | null | undefined;
1378
- /**
1379
- * 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.
1380
- */
1381
- presencePenalty?: number | null | undefined;
1382
- /**
1383
- * An object specifying the format that the model must output
1384
- */
1385
- responseFormat?:
1386
- | ListPromptVersionsResponseFormatText
1387
- | ListPromptVersionsResponseFormatJSONObject
1388
- | ListPromptVersionsResponseFormatPromptsJSONSchema
1389
- | undefined;
1390
- /**
1391
- * 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.
1392
- *
1393
- * @remarks
1394
- *
1395
- * - `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.
1396
- * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
1397
- * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
1398
- * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
1399
- *
1400
- * Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
1401
- */
1402
- reasoningEffort?: ListPromptVersionsReasoningEffort | undefined;
1403
- /**
1404
- * Adjusts response verbosity. Lower levels yield shorter answers.
1405
- */
1406
- verbosity?: string | undefined;
1407
- /**
1408
- * 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.
1409
- */
1410
- seed?: number | null | undefined;
1411
- /**
1412
- * Up to 4 sequences where the API will stop generating further tokens.
1413
- */
1414
- stop?: string | Array<string> | null | undefined;
1415
- /**
1416
- * Options for streaming response. Only set this when you set stream: true.
1417
- */
1418
- streamOptions?: ListPromptVersionsStreamOptions | null | undefined;
1419
- thinking?:
1420
- | components.ThinkingConfigDisabledSchema
1421
- | components.ThinkingConfigEnabledSchema
1422
- | components.ThinkingConfigAdaptiveSchema
1423
- | undefined;
1424
- /**
1425
- * 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.
1426
- */
1427
- temperature?: number | null | undefined;
1428
- /**
1429
- * An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass.
1430
- */
1431
- topP?: number | null | undefined;
1432
- /**
1433
- * Limits the model to consider only the top k most likely tokens at each step.
1434
- */
1435
- topK?: number | null | undefined;
1436
- /**
1437
- * Controls which (if any) tool is called by the model.
1438
- */
1439
- toolChoice?:
1440
- | ListPromptVersionsToolChoice2
1441
- | ListPromptVersionsToolChoice1
1442
- | undefined;
1443
- /**
1444
- * Whether to enable parallel function calling during tool use.
1445
- */
1446
- parallelToolCalls?: boolean | undefined;
1447
- /**
1448
- * 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"].
1449
- */
1450
- modalities?: Array<ListPromptVersionsModalities> | null | undefined;
1451
- /**
1452
- * A list of guardrails to apply to the request.
1453
- */
1454
- guardrails?: Array<ListPromptVersionsGuardrails> | undefined;
1455
- /**
1456
- * 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.
1457
- */
1458
- plugins?:
1459
- | Array<
1460
- | (components.PIIRedactionPlugin & { id: "pii_redaction" })
1461
- | components.ResponseHealingPlugin
1462
- | components.TraceScrubbingPlugin
1463
- >
1464
- | undefined;
1465
- /**
1466
- * Array of fallback models to use if primary model fails
1467
- */
1468
- fallbacks?: Array<ListPromptVersionsFallbacks> | undefined;
1469
- /**
1470
- * Retry configuration for the request
1471
- */
1472
- retry?: ListPromptVersionsRetry | undefined;
1473
- /**
1474
- * Cache configuration for the request.
1475
- */
1476
- cache?: ListPromptVersionsCache | undefined;
1477
- /**
1478
- * Load balancer configuration for the request.
1479
- */
1480
- loadBalancer?: ListPromptVersionsLoadBalancer1 | undefined;
1481
- /**
1482
- * 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.
1483
- */
1484
- timeout?: ListPromptVersionsTimeout | undefined;
1485
- /**
1486
- * Provider-level prompt caching configuration applied to the request. Creates a cache control breakpoint covering the request content. Only supported by `Anthropic` Claude models.
1487
- */
1488
- cacheControl?: ListPromptVersionsCacheControl | undefined;
1489
- /**
1490
- * Used by OpenAI to cache responses for similar requests to optimize your cache hit rates. Replaces the legacy `user` field for prompt caching.
1491
- */
1492
- promptCacheKey?: string | undefined;
1493
- /**
1494
- * Array of messages that make up the conversation. Each message has a role (system, user, assistant, or tool) and content.
1495
- */
1496
- messages?:
1497
- | Array<
1498
- | ListPromptVersionsMessagesSystemMessage
1499
- | ListPromptVersionsMessagesUserMessage
1500
- | ListPromptVersionsMessagesAssistantMessage
1501
- | ListPromptVersionsMessagesToolMessage
1502
- >
1503
- | undefined;
1504
- /**
1505
- * 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}`.
1506
- */
1507
- model?: string | null | undefined;
1508
- version?: string | undefined;
1509
- };
1510
-
1511
- export const ListPromptVersionsUseCases = {
1512
- AgentsSimulations: "Agents simulations",
1513
- Agents: "Agents",
1514
- APIInteraction: "API interaction",
1515
- AutonomousAgents: "Autonomous Agents",
1516
- Chatbots: "Chatbots",
1517
- Classification: "Classification",
1518
- CodeUnderstanding: "Code understanding",
1519
- CodeWriting: "Code writing",
1520
- Conversation: "Conversation",
1521
- DocumentsQA: "Documents QA",
1522
- Evaluation: "Evaluation",
1523
- Extraction: "Extraction",
1524
- MultiModal: "Multi-modal",
1525
- SelfChecking: "Self-checking",
1526
- SentimentAnalysis: "Sentiment analysis",
1527
- Sql: "SQL",
1528
- Summarization: "Summarization",
1529
- Tagging: "Tagging",
1530
- TranslationDocument: "Translation (document)",
1531
- TranslationSentences: "Translation (sentences)",
1532
- } as const;
1533
- export type ListPromptVersionsUseCases = ClosedEnum<
1534
- typeof ListPromptVersionsUseCases
1535
- >;
1536
-
1537
- /**
1538
- * The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
1539
- */
1540
- export const ListPromptVersionsLanguage = {
1541
- Chinese: "Chinese",
1542
- Dutch: "Dutch",
1543
- English: "English",
1544
- French: "French",
1545
- German: "German",
1546
- Russian: "Russian",
1547
- Spanish: "Spanish",
1548
- } as const;
1549
- /**
1550
- * The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
1551
- */
1552
- export type ListPromptVersionsLanguage = ClosedEnum<
1553
- typeof ListPromptVersionsLanguage
1554
- >;
1555
-
1556
- export type ListPromptVersionsMetadata = {
1557
- /**
1558
- * 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
1559
- */
1560
- useCases?: Array<ListPromptVersionsUseCases> | undefined;
1561
- /**
1562
- * The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
1563
- */
1564
- language?: ListPromptVersionsLanguage | null | undefined;
1565
- };
1566
-
1567
- export type ListPromptVersionsData = {
1568
- id: string;
1569
- createdById?: string | null | undefined;
1570
- updatedById?: string | null | undefined;
1571
- /**
1572
- * 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
1573
- */
1574
- description?: string | null | undefined;
1575
- /**
1576
- * [DEPRECATED] Use the `prompt` property instead. A list of messages compatible with the openAI schema.
1577
- *
1578
- * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
1579
- */
1580
- promptConfig?: ListPromptVersionsPromptConfig | undefined;
1581
- /**
1582
- * Prompt configuration with model and messages. Use this instead of prompt_config.
1583
- */
1584
- prompt: ListPromptVersionsPromptField;
1585
- metadata?: ListPromptVersionsMetadata | undefined;
1586
- timestamp: string;
1587
- };
1588
-
1589
- /**
1590
- * Prompt versions retrieved.
1591
- */
1592
- export type ListPromptVersionsResponseBody = {
1593
- object: ListPromptVersionsObject;
1594
- data: Array<ListPromptVersionsData>;
1595
- hasMore: boolean;
1596
- };
1597
-
1598
- /** @internal */
1599
- export type ListPromptVersionsRequest$Outbound = {
1600
- prompt_id: string;
1601
- limit: number;
1602
- starting_after?: string | undefined;
1603
- ending_before?: string | undefined;
1604
- };
1605
-
1606
- /** @internal */
1607
- export const ListPromptVersionsRequest$outboundSchema: z.ZodType<
1608
- ListPromptVersionsRequest$Outbound,
1609
- z.ZodTypeDef,
1610
- ListPromptVersionsRequest
1611
- > = z.object({
1612
- promptId: z.string(),
1613
- limit: z.number().int().default(10),
1614
- startingAfter: z.string().optional(),
1615
- endingBefore: z.string().optional(),
1616
- }).transform((v) => {
1617
- return remap$(v, {
1618
- promptId: "prompt_id",
1619
- startingAfter: "starting_after",
1620
- endingBefore: "ending_before",
1621
- });
1622
- });
1623
-
1624
- export function listPromptVersionsRequestToJSON(
1625
- listPromptVersionsRequest: ListPromptVersionsRequest,
1626
- ): string {
1627
- return JSON.stringify(
1628
- ListPromptVersionsRequest$outboundSchema.parse(listPromptVersionsRequest),
1629
- );
1630
- }
1631
-
1632
- /** @internal */
1633
- export const ListPromptVersionsObject$inboundSchema: z.ZodNativeEnum<
1634
- typeof ListPromptVersionsObject
1635
- > = z.nativeEnum(ListPromptVersionsObject);
1636
-
1637
- /** @internal */
1638
- export const ListPromptVersionsModelType$inboundSchema: z.ZodNativeEnum<
1639
- typeof ListPromptVersionsModelType
1640
- > = z.nativeEnum(ListPromptVersionsModelType);
1641
-
1642
- /** @internal */
1643
- export const ListPromptVersionsFormat$inboundSchema: z.ZodNativeEnum<
1644
- typeof ListPromptVersionsFormat
1645
- > = z.nativeEnum(ListPromptVersionsFormat);
1646
-
1647
- /** @internal */
1648
- export const ListPromptVersionsResponseFormat6$inboundSchema: z.ZodNativeEnum<
1649
- typeof ListPromptVersionsResponseFormat6
1650
- > = z.nativeEnum(ListPromptVersionsResponseFormat6);
1651
-
1652
- /** @internal */
1653
- export const ListPromptVersionsResponseFormat5$inboundSchema: z.ZodNativeEnum<
1654
- typeof ListPromptVersionsResponseFormat5
1655
- > = z.nativeEnum(ListPromptVersionsResponseFormat5);
1656
-
1657
- /** @internal */
1658
- export const ListPromptVersionsResponseFormat4$inboundSchema: z.ZodNativeEnum<
1659
- typeof ListPromptVersionsResponseFormat4
1660
- > = z.nativeEnum(ListPromptVersionsResponseFormat4);
1661
-
1662
- /** @internal */
1663
- export const ListPromptVersionsResponseFormatPromptsResponse200ApplicationJSONResponseBodyType$inboundSchema:
1664
- z.ZodNativeEnum<
1665
- typeof ListPromptVersionsResponseFormatPromptsResponse200ApplicationJSONResponseBodyType
1666
- > = z.nativeEnum(
1667
- ListPromptVersionsResponseFormatPromptsResponse200ApplicationJSONResponseBodyType,
1668
- );
1669
-
1670
- /** @internal */
1671
- export const ListPromptVersionsResponseFormat3$inboundSchema: z.ZodType<
1672
- ListPromptVersionsResponseFormat3,
1673
- z.ZodTypeDef,
1674
- unknown
1675
- > = z.object({
1676
- type:
1677
- ListPromptVersionsResponseFormatPromptsResponse200ApplicationJSONResponseBodyType$inboundSchema,
1678
- });
1679
-
1680
- export function listPromptVersionsResponseFormat3FromJSON(
1681
- jsonString: string,
1682
- ): SafeParseResult<ListPromptVersionsResponseFormat3, SDKValidationError> {
1683
- return safeParse(
1684
- jsonString,
1685
- (x) => ListPromptVersionsResponseFormat3$inboundSchema.parse(JSON.parse(x)),
1686
- `Failed to parse 'ListPromptVersionsResponseFormat3' from JSON`,
1687
- );
1688
- }
1689
-
1690
- /** @internal */
1691
- export const ListPromptVersionsResponseFormatPromptsResponse200ApplicationJSONType$inboundSchema:
1692
- z.ZodNativeEnum<
1693
- typeof ListPromptVersionsResponseFormatPromptsResponse200ApplicationJSONType
1694
- > = z.nativeEnum(
1695
- ListPromptVersionsResponseFormatPromptsResponse200ApplicationJSONType,
1696
- );
1697
-
1698
- /** @internal */
1699
- export const ListPromptVersionsResponseFormat2$inboundSchema: z.ZodType<
1700
- ListPromptVersionsResponseFormat2,
1701
- z.ZodTypeDef,
1702
- unknown
1703
- > = z.object({
1704
- type:
1705
- ListPromptVersionsResponseFormatPromptsResponse200ApplicationJSONType$inboundSchema,
1706
- });
1707
-
1708
- export function listPromptVersionsResponseFormat2FromJSON(
1709
- jsonString: string,
1710
- ): SafeParseResult<ListPromptVersionsResponseFormat2, SDKValidationError> {
1711
- return safeParse(
1712
- jsonString,
1713
- (x) => ListPromptVersionsResponseFormat2$inboundSchema.parse(JSON.parse(x)),
1714
- `Failed to parse 'ListPromptVersionsResponseFormat2' from JSON`,
1715
- );
1716
- }
1717
-
1718
- /** @internal */
1719
- export const ListPromptVersionsResponseFormatPromptsResponse200Type$inboundSchema:
1720
- z.ZodNativeEnum<
1721
- typeof ListPromptVersionsResponseFormatPromptsResponse200Type
1722
- > = z.nativeEnum(ListPromptVersionsResponseFormatPromptsResponse200Type);
1723
-
1724
- /** @internal */
1725
- export const ListPromptVersionsResponseFormatPromptsResponseJsonSchema$inboundSchema:
1726
- z.ZodType<
1727
- ListPromptVersionsResponseFormatPromptsResponseJsonSchema,
1728
- z.ZodTypeDef,
1729
- unknown
1730
- > = z.object({
1731
- name: z.string(),
1732
- description: z.nullable(z.string()).optional(),
1733
- strict: z.boolean().optional(),
1734
- schema: z.record(z.any()),
1735
- });
1736
-
1737
- export function listPromptVersionsResponseFormatPromptsResponseJsonSchemaFromJSON(
1738
- jsonString: string,
1739
- ): SafeParseResult<
1740
- ListPromptVersionsResponseFormatPromptsResponseJsonSchema,
1741
- SDKValidationError
1742
- > {
1743
- return safeParse(
1744
- jsonString,
1745
- (x) =>
1746
- ListPromptVersionsResponseFormatPromptsResponseJsonSchema$inboundSchema
1747
- .parse(JSON.parse(x)),
1748
- `Failed to parse 'ListPromptVersionsResponseFormatPromptsResponseJsonSchema' from JSON`,
1749
- );
1750
- }
1751
-
1752
- /** @internal */
1753
- export const ListPromptVersionsResponseFormat1$inboundSchema: z.ZodType<
1754
- ListPromptVersionsResponseFormat1,
1755
- z.ZodTypeDef,
1756
- unknown
1757
- > = z.object({
1758
- type: ListPromptVersionsResponseFormatPromptsResponse200Type$inboundSchema,
1759
- display_name: z.string().optional(),
1760
- json_schema: z.lazy(() =>
1761
- ListPromptVersionsResponseFormatPromptsResponseJsonSchema$inboundSchema
1762
- ),
1763
- }).transform((v) => {
1764
- return remap$(v, {
1765
- "display_name": "displayName",
1766
- "json_schema": "jsonSchema",
1767
- });
1768
- });
1769
-
1770
- export function listPromptVersionsResponseFormat1FromJSON(
1771
- jsonString: string,
1772
- ): SafeParseResult<ListPromptVersionsResponseFormat1, SDKValidationError> {
1773
- return safeParse(
1774
- jsonString,
1775
- (x) => ListPromptVersionsResponseFormat1$inboundSchema.parse(JSON.parse(x)),
1776
- `Failed to parse 'ListPromptVersionsResponseFormat1' from JSON`,
1777
- );
1778
- }
1779
-
1780
- /** @internal */
1781
- export const ListPromptVersionsPromptsResponseFormat$inboundSchema: z.ZodType<
1782
- ListPromptVersionsPromptsResponseFormat,
1783
- z.ZodTypeDef,
1784
- unknown
1785
- > = z.union([
1786
- z.lazy(() => ListPromptVersionsResponseFormat1$inboundSchema),
1787
- z.lazy(() => ListPromptVersionsResponseFormat2$inboundSchema),
1788
- z.lazy(() => ListPromptVersionsResponseFormat3$inboundSchema),
1789
- ListPromptVersionsResponseFormat4$inboundSchema,
1790
- ListPromptVersionsResponseFormat5$inboundSchema,
1791
- ListPromptVersionsResponseFormat6$inboundSchema,
1792
- ]);
1793
-
1794
- export function listPromptVersionsPromptsResponseFormatFromJSON(
1795
- jsonString: string,
1796
- ): SafeParseResult<
1797
- ListPromptVersionsPromptsResponseFormat,
1798
- SDKValidationError
1799
- > {
1800
- return safeParse(
1801
- jsonString,
1802
- (x) =>
1803
- ListPromptVersionsPromptsResponseFormat$inboundSchema.parse(
1804
- JSON.parse(x),
1805
- ),
1806
- `Failed to parse 'ListPromptVersionsPromptsResponseFormat' from JSON`,
1807
- );
1808
- }
1809
-
1810
- /** @internal */
1811
- export const ListPromptVersionsPromptsResponseType$inboundSchema:
1812
- z.ZodNativeEnum<typeof ListPromptVersionsPromptsResponseType> = z.nativeEnum(
1813
- ListPromptVersionsPromptsResponseType,
1814
- );
1815
-
1816
- /** @internal */
1817
- export const ListPromptVersionsPromptsTtl$inboundSchema: z.ZodNativeEnum<
1818
- typeof ListPromptVersionsPromptsTtl
1819
- > = z.nativeEnum(ListPromptVersionsPromptsTtl);
1820
-
1821
- /** @internal */
1822
- export const ListPromptVersionsPromptsCacheControl$inboundSchema: z.ZodType<
1823
- ListPromptVersionsPromptsCacheControl,
1824
- z.ZodTypeDef,
1825
- unknown
1826
- > = z.object({
1827
- type: ListPromptVersionsPromptsResponseType$inboundSchema,
1828
- ttl: ListPromptVersionsPromptsTtl$inboundSchema.default("5m"),
1829
- });
1830
-
1831
- export function listPromptVersionsPromptsCacheControlFromJSON(
1832
- jsonString: string,
1833
- ): SafeParseResult<ListPromptVersionsPromptsCacheControl, SDKValidationError> {
1834
- return safeParse(
1835
- jsonString,
1836
- (x) =>
1837
- ListPromptVersionsPromptsCacheControl$inboundSchema.parse(JSON.parse(x)),
1838
- `Failed to parse 'ListPromptVersionsPromptsCacheControl' from JSON`,
1839
- );
1840
- }
1841
-
1842
- /** @internal */
1843
- export const ListPromptVersionsPhotoRealVersion$inboundSchema: z.ZodNativeEnum<
1844
- typeof ListPromptVersionsPhotoRealVersion
1845
- > = z.nativeEnum(ListPromptVersionsPhotoRealVersion);
1846
-
1847
- /** @internal */
1848
- export const ListPromptVersionsEncodingFormat$inboundSchema: z.ZodNativeEnum<
1849
- typeof ListPromptVersionsEncodingFormat
1850
- > = z.nativeEnum(ListPromptVersionsEncodingFormat);
1851
-
1852
- /** @internal */
1853
- export const ListPromptVersionsPromptsReasoningEffort$inboundSchema:
1854
- z.ZodNativeEnum<typeof ListPromptVersionsPromptsReasoningEffort> = z
1855
- .nativeEnum(ListPromptVersionsPromptsReasoningEffort);
1856
-
1857
- /** @internal */
1858
- export const ListPromptVersionsVerbosity$inboundSchema: z.ZodNativeEnum<
1859
- typeof ListPromptVersionsVerbosity
1860
- > = z.nativeEnum(ListPromptVersionsVerbosity);
1861
-
1862
- /** @internal */
1863
- export const ListPromptVersionsThinkingLevel$inboundSchema: z.ZodNativeEnum<
1864
- typeof ListPromptVersionsThinkingLevel
1865
- > = z.nativeEnum(ListPromptVersionsThinkingLevel);
1866
-
1867
- /** @internal */
1868
- export const ListPromptVersionsModelParameters$inboundSchema: z.ZodType<
1869
- ListPromptVersionsModelParameters,
1870
- z.ZodTypeDef,
1871
- unknown
1872
- > = z.object({
1873
- temperature: z.number().optional(),
1874
- maxTokens: z.number().optional(),
1875
- topK: z.number().optional(),
1876
- topP: z.number().optional(),
1877
- frequencyPenalty: z.number().optional(),
1878
- presencePenalty: z.number().optional(),
1879
- numImages: z.number().optional(),
1880
- seed: z.number().optional(),
1881
- format: ListPromptVersionsFormat$inboundSchema.optional(),
1882
- dimensions: z.string().optional(),
1883
- quality: z.string().optional(),
1884
- style: z.string().optional(),
1885
- responseFormat: z.nullable(
1886
- z.union([
1887
- z.lazy(() => ListPromptVersionsResponseFormat1$inboundSchema),
1888
- z.lazy(() => ListPromptVersionsResponseFormat2$inboundSchema),
1889
- z.lazy(() => ListPromptVersionsResponseFormat3$inboundSchema),
1890
- ListPromptVersionsResponseFormat4$inboundSchema,
1891
- ListPromptVersionsResponseFormat5$inboundSchema,
1892
- ListPromptVersionsResponseFormat6$inboundSchema,
1893
- ]),
1894
- ).optional(),
1895
- cacheControl: z.nullable(
1896
- z.lazy(() => ListPromptVersionsPromptsCacheControl$inboundSchema),
1897
- ).optional(),
1898
- photoRealVersion: ListPromptVersionsPhotoRealVersion$inboundSchema.optional(),
1899
- encoding_format: ListPromptVersionsEncodingFormat$inboundSchema.optional(),
1900
- reasoningEffort: ListPromptVersionsPromptsReasoningEffort$inboundSchema
1901
- .optional(),
1902
- budgetTokens: z.number().optional(),
1903
- verbosity: ListPromptVersionsVerbosity$inboundSchema.optional(),
1904
- thinkingLevel: ListPromptVersionsThinkingLevel$inboundSchema.optional(),
1905
- }).transform((v) => {
1906
- return remap$(v, {
1907
- "encoding_format": "encodingFormat",
1908
- });
1909
- });
1910
-
1911
- export function listPromptVersionsModelParametersFromJSON(
1912
- jsonString: string,
1913
- ): SafeParseResult<ListPromptVersionsModelParameters, SDKValidationError> {
1914
- return safeParse(
1915
- jsonString,
1916
- (x) => ListPromptVersionsModelParameters$inboundSchema.parse(JSON.parse(x)),
1917
- `Failed to parse 'ListPromptVersionsModelParameters' from JSON`,
1918
- );
1919
- }
1920
-
1921
- /** @internal */
1922
- export const ListPromptVersionsProvider$inboundSchema: z.ZodNativeEnum<
1923
- typeof ListPromptVersionsProvider
1924
- > = z.nativeEnum(ListPromptVersionsProvider);
1925
-
1926
- /** @internal */
1927
- export const ListPromptVersionsRole$inboundSchema: z.ZodNativeEnum<
1928
- typeof ListPromptVersionsRole
1929
- > = z.nativeEnum(ListPromptVersionsRole);
1930
-
1931
- /** @internal */
1932
- export const ListPromptVersions2File$inboundSchema: z.ZodType<
1933
- ListPromptVersions2File,
1934
- z.ZodTypeDef,
1935
- unknown
1936
- > = z.object({
1937
- file_data: z.string().optional(),
1938
- uri: z.string().optional(),
1939
- mimeType: z.string().optional(),
1940
- filename: z.string().optional(),
1941
- }).transform((v) => {
1942
- return remap$(v, {
1943
- "file_data": "fileData",
1944
- });
1945
- });
1946
-
1947
- export function listPromptVersions2FileFromJSON(
1948
- jsonString: string,
1949
- ): SafeParseResult<ListPromptVersions2File, SDKValidationError> {
1950
- return safeParse(
1951
- jsonString,
1952
- (x) => ListPromptVersions2File$inboundSchema.parse(JSON.parse(x)),
1953
- `Failed to parse 'ListPromptVersions2File' from JSON`,
1954
- );
1955
- }
1956
-
1957
- /** @internal */
1958
- export const ListPromptVersions23$inboundSchema: z.ZodType<
1959
- ListPromptVersions23,
1960
- z.ZodTypeDef,
1961
- unknown
1962
- > = z.object({
1963
- type: z.literal("file"),
1964
- file: z.lazy(() => ListPromptVersions2File$inboundSchema),
1965
- });
1966
-
1967
- export function listPromptVersions23FromJSON(
1968
- jsonString: string,
1969
- ): SafeParseResult<ListPromptVersions23, SDKValidationError> {
1970
- return safeParse(
1971
- jsonString,
1972
- (x) => ListPromptVersions23$inboundSchema.parse(JSON.parse(x)),
1973
- `Failed to parse 'ListPromptVersions23' from JSON`,
1974
- );
1975
- }
1976
-
1977
- /** @internal */
1978
- export const ListPromptVersions2ImageUrl$inboundSchema: z.ZodType<
1979
- ListPromptVersions2ImageUrl,
1980
- z.ZodTypeDef,
1981
- unknown
1982
- > = z.object({
1983
- id: z.string().optional(),
1984
- url: z.string(),
1985
- detail: z.string().optional(),
1986
- });
1987
-
1988
- export function listPromptVersions2ImageUrlFromJSON(
1989
- jsonString: string,
1990
- ): SafeParseResult<ListPromptVersions2ImageUrl, SDKValidationError> {
1991
- return safeParse(
1992
- jsonString,
1993
- (x) => ListPromptVersions2ImageUrl$inboundSchema.parse(JSON.parse(x)),
1994
- `Failed to parse 'ListPromptVersions2ImageUrl' from JSON`,
1995
- );
1996
- }
1997
-
1998
- /** @internal */
1999
- export const ListPromptVersions22$inboundSchema: z.ZodType<
2000
- ListPromptVersions22,
2001
- z.ZodTypeDef,
2002
- unknown
2003
- > = z.object({
2004
- type: z.literal("image_url"),
2005
- image_url: z.lazy(() => ListPromptVersions2ImageUrl$inboundSchema),
2006
- }).transform((v) => {
2007
- return remap$(v, {
2008
- "image_url": "imageUrl",
2009
- });
2010
- });
2011
-
2012
- export function listPromptVersions22FromJSON(
2013
- jsonString: string,
2014
- ): SafeParseResult<ListPromptVersions22, SDKValidationError> {
2015
- return safeParse(
2016
- jsonString,
2017
- (x) => ListPromptVersions22$inboundSchema.parse(JSON.parse(x)),
2018
- `Failed to parse 'ListPromptVersions22' from JSON`,
2019
- );
2020
- }
2021
-
2022
- /** @internal */
2023
- export const ListPromptVersions21$inboundSchema: z.ZodType<
2024
- ListPromptVersions21,
2025
- z.ZodTypeDef,
2026
- unknown
2027
- > = z.object({
2028
- type: z.literal("text"),
2029
- text: z.string(),
2030
- });
2031
-
2032
- export function listPromptVersions21FromJSON(
2033
- jsonString: string,
2034
- ): SafeParseResult<ListPromptVersions21, SDKValidationError> {
2035
- return safeParse(
2036
- jsonString,
2037
- (x) => ListPromptVersions21$inboundSchema.parse(JSON.parse(x)),
2038
- `Failed to parse 'ListPromptVersions21' from JSON`,
2039
- );
2040
- }
2041
-
2042
- /** @internal */
2043
- export const ListPromptVersionsContent2$inboundSchema: z.ZodType<
2044
- ListPromptVersionsContent2,
2045
- z.ZodTypeDef,
2046
- unknown
2047
- > = z.union([
2048
- z.lazy(() => ListPromptVersions21$inboundSchema),
2049
- z.lazy(() => ListPromptVersions22$inboundSchema),
2050
- z.lazy(() => ListPromptVersions23$inboundSchema),
2051
- ]);
2052
-
2053
- export function listPromptVersionsContent2FromJSON(
2054
- jsonString: string,
2055
- ): SafeParseResult<ListPromptVersionsContent2, SDKValidationError> {
2056
- return safeParse(
2057
- jsonString,
2058
- (x) => ListPromptVersionsContent2$inboundSchema.parse(JSON.parse(x)),
2059
- `Failed to parse 'ListPromptVersionsContent2' from JSON`,
2060
- );
2061
- }
2062
-
2063
- /** @internal */
2064
- export const ListPromptVersionsContent$inboundSchema: z.ZodType<
2065
- ListPromptVersionsContent,
2066
- z.ZodTypeDef,
2067
- unknown
2068
- > = z.union([
2069
- z.string(),
2070
- z.array(z.union([
2071
- z.lazy(() => ListPromptVersions21$inboundSchema),
2072
- z.lazy(() => ListPromptVersions22$inboundSchema),
2073
- z.lazy(() => ListPromptVersions23$inboundSchema),
2074
- ])),
2075
- ]);
2076
-
2077
- export function listPromptVersionsContentFromJSON(
2078
- jsonString: string,
2079
- ): SafeParseResult<ListPromptVersionsContent, SDKValidationError> {
2080
- return safeParse(
2081
- jsonString,
2082
- (x) => ListPromptVersionsContent$inboundSchema.parse(JSON.parse(x)),
2083
- `Failed to parse 'ListPromptVersionsContent' from JSON`,
2084
- );
2085
- }
2086
-
2087
- /** @internal */
2088
- export const ListPromptVersionsPromptsResponse200Type$inboundSchema:
2089
- z.ZodNativeEnum<typeof ListPromptVersionsPromptsResponse200Type> = z
2090
- .nativeEnum(ListPromptVersionsPromptsResponse200Type);
2091
-
2092
- /** @internal */
2093
- export const ListPromptVersionsFunction$inboundSchema: z.ZodType<
2094
- ListPromptVersionsFunction,
2095
- z.ZodTypeDef,
2096
- unknown
2097
- > = z.object({
2098
- name: z.string(),
2099
- arguments: z.string(),
2100
- });
2101
-
2102
- export function listPromptVersionsFunctionFromJSON(
2103
- jsonString: string,
2104
- ): SafeParseResult<ListPromptVersionsFunction, SDKValidationError> {
2105
- return safeParse(
2106
- jsonString,
2107
- (x) => ListPromptVersionsFunction$inboundSchema.parse(JSON.parse(x)),
2108
- `Failed to parse 'ListPromptVersionsFunction' from JSON`,
2109
- );
2110
- }
2111
-
2112
- /** @internal */
2113
- export const ListPromptVersionsToolCalls$inboundSchema: z.ZodType<
2114
- ListPromptVersionsToolCalls,
2115
- z.ZodTypeDef,
2116
- unknown
2117
- > = z.object({
2118
- id: z.string().optional(),
2119
- index: z.number().optional(),
2120
- type: ListPromptVersionsPromptsResponse200Type$inboundSchema,
2121
- function: z.lazy(() => ListPromptVersionsFunction$inboundSchema),
2122
- });
2123
-
2124
- export function listPromptVersionsToolCallsFromJSON(
2125
- jsonString: string,
2126
- ): SafeParseResult<ListPromptVersionsToolCalls, SDKValidationError> {
2127
- return safeParse(
2128
- jsonString,
2129
- (x) => ListPromptVersionsToolCalls$inboundSchema.parse(JSON.parse(x)),
2130
- `Failed to parse 'ListPromptVersionsToolCalls' from JSON`,
2131
- );
2132
- }
2133
-
2134
- /** @internal */
2135
- export const ListPromptVersionsMessages$inboundSchema: z.ZodType<
2136
- ListPromptVersionsMessages,
2137
- z.ZodTypeDef,
2138
- unknown
2139
- > = z.object({
2140
- role: ListPromptVersionsRole$inboundSchema,
2141
- content: z.nullable(
2142
- z.union([
2143
- z.string(),
2144
- z.array(
2145
- z.union([
2146
- z.lazy(() => ListPromptVersions21$inboundSchema),
2147
- z.lazy(() => ListPromptVersions22$inboundSchema),
2148
- z.lazy(() => ListPromptVersions23$inboundSchema),
2149
- ]),
2150
- ),
2151
- ]),
2152
- ),
2153
- tool_calls: z.array(z.lazy(() => ListPromptVersionsToolCalls$inboundSchema))
2154
- .optional(),
2155
- tool_call_id: z.nullable(z.string()).optional(),
2156
- }).transform((v) => {
2157
- return remap$(v, {
2158
- "tool_calls": "toolCalls",
2159
- "tool_call_id": "toolCallId",
2160
- });
2161
- });
2162
-
2163
- export function listPromptVersionsMessagesFromJSON(
2164
- jsonString: string,
2165
- ): SafeParseResult<ListPromptVersionsMessages, SDKValidationError> {
2166
- return safeParse(
2167
- jsonString,
2168
- (x) => ListPromptVersionsMessages$inboundSchema.parse(JSON.parse(x)),
2169
- `Failed to parse 'ListPromptVersionsMessages' from JSON`,
2170
- );
2171
- }
2172
-
2173
- /** @internal */
2174
- export const ListPromptVersionsPromptConfig$inboundSchema: z.ZodType<
2175
- ListPromptVersionsPromptConfig,
2176
- z.ZodTypeDef,
2177
- unknown
2178
- > = z.object({
2179
- stream: z.boolean().optional(),
2180
- model: z.nullable(z.string()).optional(),
2181
- model_db_id: z.nullable(z.string()).optional(),
2182
- model_type: z.nullable(ListPromptVersionsModelType$inboundSchema).optional(),
2183
- model_parameters: z.lazy(() =>
2184
- ListPromptVersionsModelParameters$inboundSchema
2185
- ).optional(),
2186
- provider: z.nullable(ListPromptVersionsProvider$inboundSchema).optional(),
2187
- integration_id: z.nullable(z.string()).optional(),
2188
- version: z.string().optional(),
2189
- messages: z.array(z.lazy(() => ListPromptVersionsMessages$inboundSchema)),
2190
- }).transform((v) => {
2191
- return remap$(v, {
2192
- "model_db_id": "modelDbId",
2193
- "model_type": "modelType",
2194
- "model_parameters": "modelParameters",
2195
- "integration_id": "integrationId",
2196
- });
2197
- });
2198
-
2199
- export function listPromptVersionsPromptConfigFromJSON(
2200
- jsonString: string,
2201
- ): SafeParseResult<ListPromptVersionsPromptConfig, SDKValidationError> {
2202
- return safeParse(
2203
- jsonString,
2204
- (x) => ListPromptVersionsPromptConfig$inboundSchema.parse(JSON.parse(x)),
2205
- `Failed to parse 'ListPromptVersionsPromptConfig' from JSON`,
2206
- );
2207
- }
2208
-
2209
- /** @internal */
2210
- export const ListPromptVersionsVoice$inboundSchema: z.ZodNativeEnum<
2211
- typeof ListPromptVersionsVoice
2212
- > = z.nativeEnum(ListPromptVersionsVoice);
2213
-
2214
- /** @internal */
2215
- export const ListPromptVersionsPromptsFormat$inboundSchema: z.ZodNativeEnum<
2216
- typeof ListPromptVersionsPromptsFormat
2217
- > = z.nativeEnum(ListPromptVersionsPromptsFormat);
2218
-
2219
- /** @internal */
2220
- export const ListPromptVersionsAudio$inboundSchema: z.ZodType<
2221
- ListPromptVersionsAudio,
2222
- z.ZodTypeDef,
2223
- unknown
2224
- > = z.object({
2225
- voice: ListPromptVersionsVoice$inboundSchema,
2226
- format: ListPromptVersionsPromptsFormat$inboundSchema,
2227
- });
2228
-
2229
- export function listPromptVersionsAudioFromJSON(
2230
- jsonString: string,
2231
- ): SafeParseResult<ListPromptVersionsAudio, SDKValidationError> {
2232
- return safeParse(
2233
- jsonString,
2234
- (x) => ListPromptVersionsAudio$inboundSchema.parse(JSON.parse(x)),
2235
- `Failed to parse 'ListPromptVersionsAudio' from JSON`,
2236
- );
2237
- }
2238
-
2239
- /** @internal */
2240
- export const ListPromptVersionsResponseFormatJsonSchema$inboundSchema:
2241
- z.ZodType<ListPromptVersionsResponseFormatJsonSchema, z.ZodTypeDef, unknown> =
2242
- z.object({
2243
- description: z.string().optional(),
2244
- name: z.string(),
2245
- schema: z.any().optional(),
2246
- strict: z.boolean().default(false),
2247
- });
2248
-
2249
- export function listPromptVersionsResponseFormatJsonSchemaFromJSON(
2250
- jsonString: string,
2251
- ): SafeParseResult<
2252
- ListPromptVersionsResponseFormatJsonSchema,
2253
- SDKValidationError
2254
- > {
2255
- return safeParse(
2256
- jsonString,
2257
- (x) =>
2258
- ListPromptVersionsResponseFormatJsonSchema$inboundSchema.parse(
2259
- JSON.parse(x),
2260
- ),
2261
- `Failed to parse 'ListPromptVersionsResponseFormatJsonSchema' from JSON`,
2262
- );
2263
- }
2264
-
2265
- /** @internal */
2266
- export const ListPromptVersionsResponseFormatPromptsJSONSchema$inboundSchema:
2267
- z.ZodType<
2268
- ListPromptVersionsResponseFormatPromptsJSONSchema,
2269
- z.ZodTypeDef,
2270
- unknown
2271
- > = z.object({
2272
- type: z.literal("json_schema"),
2273
- json_schema: z.lazy(() =>
2274
- ListPromptVersionsResponseFormatJsonSchema$inboundSchema
2275
- ),
2276
- }).transform((v) => {
2277
- return remap$(v, {
2278
- "json_schema": "jsonSchema",
2279
- });
2280
- });
2281
-
2282
- export function listPromptVersionsResponseFormatPromptsJSONSchemaFromJSON(
2283
- jsonString: string,
2284
- ): SafeParseResult<
2285
- ListPromptVersionsResponseFormatPromptsJSONSchema,
2286
- SDKValidationError
2287
- > {
2288
- return safeParse(
2289
- jsonString,
2290
- (x) =>
2291
- ListPromptVersionsResponseFormatPromptsJSONSchema$inboundSchema.parse(
2292
- JSON.parse(x),
2293
- ),
2294
- `Failed to parse 'ListPromptVersionsResponseFormatPromptsJSONSchema' from JSON`,
2295
- );
2296
- }
2297
-
2298
- /** @internal */
2299
- export const ListPromptVersionsResponseFormatJSONObject$inboundSchema:
2300
- z.ZodType<ListPromptVersionsResponseFormatJSONObject, z.ZodTypeDef, unknown> =
2301
- z.object({
2302
- type: z.literal("json_object"),
2303
- });
2304
-
2305
- export function listPromptVersionsResponseFormatJSONObjectFromJSON(
2306
- jsonString: string,
2307
- ): SafeParseResult<
2308
- ListPromptVersionsResponseFormatJSONObject,
2309
- SDKValidationError
2310
- > {
2311
- return safeParse(
2312
- jsonString,
2313
- (x) =>
2314
- ListPromptVersionsResponseFormatJSONObject$inboundSchema.parse(
2315
- JSON.parse(x),
2316
- ),
2317
- `Failed to parse 'ListPromptVersionsResponseFormatJSONObject' from JSON`,
2318
- );
2319
- }
2320
-
2321
- /** @internal */
2322
- export const ListPromptVersionsResponseFormatText$inboundSchema: z.ZodType<
2323
- ListPromptVersionsResponseFormatText,
2324
- z.ZodTypeDef,
2325
- unknown
2326
- > = z.object({
2327
- type: z.literal("text"),
2328
- });
2329
-
2330
- export function listPromptVersionsResponseFormatTextFromJSON(
2331
- jsonString: string,
2332
- ): SafeParseResult<ListPromptVersionsResponseFormatText, SDKValidationError> {
2333
- return safeParse(
2334
- jsonString,
2335
- (x) =>
2336
- ListPromptVersionsResponseFormatText$inboundSchema.parse(JSON.parse(x)),
2337
- `Failed to parse 'ListPromptVersionsResponseFormatText' from JSON`,
2338
- );
2339
- }
2340
-
2341
- /** @internal */
2342
- export const ListPromptVersionsResponseFormat$inboundSchema: z.ZodType<
2343
- ListPromptVersionsResponseFormat,
2344
- z.ZodTypeDef,
2345
- unknown
2346
- > = z.union([
2347
- z.lazy(() => ListPromptVersionsResponseFormatText$inboundSchema),
2348
- z.lazy(() => ListPromptVersionsResponseFormatJSONObject$inboundSchema),
2349
- z.lazy(() => ListPromptVersionsResponseFormatPromptsJSONSchema$inboundSchema),
2350
- ]);
2351
-
2352
- export function listPromptVersionsResponseFormatFromJSON(
2353
- jsonString: string,
2354
- ): SafeParseResult<ListPromptVersionsResponseFormat, SDKValidationError> {
2355
- return safeParse(
2356
- jsonString,
2357
- (x) => ListPromptVersionsResponseFormat$inboundSchema.parse(JSON.parse(x)),
2358
- `Failed to parse 'ListPromptVersionsResponseFormat' from JSON`,
2359
- );
2360
- }
2361
-
2362
- /** @internal */
2363
- export const ListPromptVersionsReasoningEffort$inboundSchema: z.ZodNativeEnum<
2364
- typeof ListPromptVersionsReasoningEffort
2365
- > = z.nativeEnum(ListPromptVersionsReasoningEffort);
2366
-
2367
- /** @internal */
2368
- export const ListPromptVersionsStop$inboundSchema: z.ZodType<
2369
- ListPromptVersionsStop,
2370
- z.ZodTypeDef,
2371
- unknown
2372
- > = z.union([z.string(), z.array(z.string())]);
2373
-
2374
- export function listPromptVersionsStopFromJSON(
2375
- jsonString: string,
2376
- ): SafeParseResult<ListPromptVersionsStop, SDKValidationError> {
2377
- return safeParse(
2378
- jsonString,
2379
- (x) => ListPromptVersionsStop$inboundSchema.parse(JSON.parse(x)),
2380
- `Failed to parse 'ListPromptVersionsStop' from JSON`,
2381
- );
2382
- }
2383
-
2384
- /** @internal */
2385
- export const ListPromptVersionsStreamOptions$inboundSchema: z.ZodType<
2386
- ListPromptVersionsStreamOptions,
2387
- z.ZodTypeDef,
2388
- unknown
2389
- > = z.object({
2390
- include_usage: z.boolean().optional(),
2391
- }).transform((v) => {
2392
- return remap$(v, {
2393
- "include_usage": "includeUsage",
2394
- });
2395
- });
2396
-
2397
- export function listPromptVersionsStreamOptionsFromJSON(
2398
- jsonString: string,
2399
- ): SafeParseResult<ListPromptVersionsStreamOptions, SDKValidationError> {
2400
- return safeParse(
2401
- jsonString,
2402
- (x) => ListPromptVersionsStreamOptions$inboundSchema.parse(JSON.parse(x)),
2403
- `Failed to parse 'ListPromptVersionsStreamOptions' from JSON`,
2404
- );
2405
- }
2406
-
2407
- /** @internal */
2408
- export const ListPromptVersionsThinking$inboundSchema: z.ZodType<
2409
- ListPromptVersionsThinking,
2410
- z.ZodTypeDef,
2411
- unknown
2412
- > = z.union([
2413
- components.ThinkingConfigDisabledSchema$inboundSchema,
2414
- components.ThinkingConfigEnabledSchema$inboundSchema,
2415
- components.ThinkingConfigAdaptiveSchema$inboundSchema,
2416
- ]);
2417
-
2418
- export function listPromptVersionsThinkingFromJSON(
2419
- jsonString: string,
2420
- ): SafeParseResult<ListPromptVersionsThinking, SDKValidationError> {
2421
- return safeParse(
2422
- jsonString,
2423
- (x) => ListPromptVersionsThinking$inboundSchema.parse(JSON.parse(x)),
2424
- `Failed to parse 'ListPromptVersionsThinking' from JSON`,
2425
- );
2426
- }
2427
-
2428
- /** @internal */
2429
- export const ListPromptVersionsToolChoiceType$inboundSchema: z.ZodNativeEnum<
2430
- typeof ListPromptVersionsToolChoiceType
2431
- > = z.nativeEnum(ListPromptVersionsToolChoiceType);
2432
-
2433
- /** @internal */
2434
- export const ListPromptVersionsToolChoiceFunction$inboundSchema: z.ZodType<
2435
- ListPromptVersionsToolChoiceFunction,
2436
- z.ZodTypeDef,
2437
- unknown
2438
- > = z.object({
2439
- name: z.string(),
2440
- });
2441
-
2442
- export function listPromptVersionsToolChoiceFunctionFromJSON(
2443
- jsonString: string,
2444
- ): SafeParseResult<ListPromptVersionsToolChoiceFunction, SDKValidationError> {
2445
- return safeParse(
2446
- jsonString,
2447
- (x) =>
2448
- ListPromptVersionsToolChoiceFunction$inboundSchema.parse(JSON.parse(x)),
2449
- `Failed to parse 'ListPromptVersionsToolChoiceFunction' from JSON`,
2450
- );
2451
- }
2452
-
2453
- /** @internal */
2454
- export const ListPromptVersionsToolChoice2$inboundSchema: z.ZodType<
2455
- ListPromptVersionsToolChoice2,
2456
- z.ZodTypeDef,
2457
- unknown
2458
- > = z.object({
2459
- type: ListPromptVersionsToolChoiceType$inboundSchema.optional(),
2460
- function: z.lazy(() => ListPromptVersionsToolChoiceFunction$inboundSchema),
2461
- });
2462
-
2463
- export function listPromptVersionsToolChoice2FromJSON(
2464
- jsonString: string,
2465
- ): SafeParseResult<ListPromptVersionsToolChoice2, SDKValidationError> {
2466
- return safeParse(
2467
- jsonString,
2468
- (x) => ListPromptVersionsToolChoice2$inboundSchema.parse(JSON.parse(x)),
2469
- `Failed to parse 'ListPromptVersionsToolChoice2' from JSON`,
2470
- );
2471
- }
2472
-
2473
- /** @internal */
2474
- export const ListPromptVersionsToolChoice1$inboundSchema: z.ZodNativeEnum<
2475
- typeof ListPromptVersionsToolChoice1
2476
- > = z.nativeEnum(ListPromptVersionsToolChoice1);
2477
-
2478
- /** @internal */
2479
- export const ListPromptVersionsToolChoice$inboundSchema: z.ZodType<
2480
- ListPromptVersionsToolChoice,
2481
- z.ZodTypeDef,
2482
- unknown
2483
- > = z.union([
2484
- z.lazy(() => ListPromptVersionsToolChoice2$inboundSchema),
2485
- ListPromptVersionsToolChoice1$inboundSchema,
2486
- ]);
2487
-
2488
- export function listPromptVersionsToolChoiceFromJSON(
2489
- jsonString: string,
2490
- ): SafeParseResult<ListPromptVersionsToolChoice, SDKValidationError> {
2491
- return safeParse(
2492
- jsonString,
2493
- (x) => ListPromptVersionsToolChoice$inboundSchema.parse(JSON.parse(x)),
2494
- `Failed to parse 'ListPromptVersionsToolChoice' from JSON`,
2495
- );
2496
- }
2497
-
2498
- /** @internal */
2499
- export const ListPromptVersionsModalities$inboundSchema: z.ZodNativeEnum<
2500
- typeof ListPromptVersionsModalities
2501
- > = z.nativeEnum(ListPromptVersionsModalities);
2502
-
2503
- /** @internal */
2504
- export const ListPromptVersionsId1$inboundSchema: z.ZodNativeEnum<
2505
- typeof ListPromptVersionsId1
2506
- > = z.nativeEnum(ListPromptVersionsId1);
2507
-
2508
- /** @internal */
2509
- export const ListPromptVersionsId$inboundSchema: z.ZodType<
2510
- ListPromptVersionsId,
2511
- z.ZodTypeDef,
2512
- unknown
2513
- > = z.union([ListPromptVersionsId1$inboundSchema, z.string()]);
2514
-
2515
- export function listPromptVersionsIdFromJSON(
2516
- jsonString: string,
2517
- ): SafeParseResult<ListPromptVersionsId, SDKValidationError> {
2518
- return safeParse(
2519
- jsonString,
2520
- (x) => ListPromptVersionsId$inboundSchema.parse(JSON.parse(x)),
2521
- `Failed to parse 'ListPromptVersionsId' from JSON`,
2522
- );
2523
- }
2524
-
2525
- /** @internal */
2526
- export const ListPromptVersionsExecuteOn$inboundSchema: z.ZodNativeEnum<
2527
- typeof ListPromptVersionsExecuteOn
2528
- > = z.nativeEnum(ListPromptVersionsExecuteOn);
2529
-
2530
- /** @internal */
2531
- export const ListPromptVersionsGuardrails$inboundSchema: z.ZodType<
2532
- ListPromptVersionsGuardrails,
2533
- z.ZodTypeDef,
2534
- unknown
2535
- > = z.object({
2536
- id: z.union([ListPromptVersionsId1$inboundSchema, z.string()]),
2537
- execute_on: ListPromptVersionsExecuteOn$inboundSchema,
2538
- }).transform((v) => {
2539
- return remap$(v, {
2540
- "execute_on": "executeOn",
2541
- });
2542
- });
2543
-
2544
- export function listPromptVersionsGuardrailsFromJSON(
2545
- jsonString: string,
2546
- ): SafeParseResult<ListPromptVersionsGuardrails, SDKValidationError> {
2547
- return safeParse(
2548
- jsonString,
2549
- (x) => ListPromptVersionsGuardrails$inboundSchema.parse(JSON.parse(x)),
2550
- `Failed to parse 'ListPromptVersionsGuardrails' from JSON`,
2551
- );
2552
- }
2553
-
2554
- /** @internal */
2555
- export const ListPromptVersionsPlugins$inboundSchema: z.ZodType<
2556
- ListPromptVersionsPlugins,
2557
- z.ZodTypeDef,
2558
- unknown
2559
- > = z.union([
2560
- components.PIIRedactionPlugin$inboundSchema.and(
2561
- z.object({ id: z.literal("pii_redaction") }),
2562
- ),
2563
- components.ResponseHealingPlugin$inboundSchema,
2564
- components.TraceScrubbingPlugin$inboundSchema,
2565
- ]);
2566
-
2567
- export function listPromptVersionsPluginsFromJSON(
2568
- jsonString: string,
2569
- ): SafeParseResult<ListPromptVersionsPlugins, SDKValidationError> {
2570
- return safeParse(
2571
- jsonString,
2572
- (x) => ListPromptVersionsPlugins$inboundSchema.parse(JSON.parse(x)),
2573
- `Failed to parse 'ListPromptVersionsPlugins' from JSON`,
2574
- );
2575
- }
2576
-
2577
- /** @internal */
2578
- export const ListPromptVersionsFallbacks$inboundSchema: z.ZodType<
2579
- ListPromptVersionsFallbacks,
2580
- z.ZodTypeDef,
2581
- unknown
2582
- > = z.object({
2583
- model: z.string(),
2584
- });
2585
-
2586
- export function listPromptVersionsFallbacksFromJSON(
2587
- jsonString: string,
2588
- ): SafeParseResult<ListPromptVersionsFallbacks, SDKValidationError> {
2589
- return safeParse(
2590
- jsonString,
2591
- (x) => ListPromptVersionsFallbacks$inboundSchema.parse(JSON.parse(x)),
2592
- `Failed to parse 'ListPromptVersionsFallbacks' from JSON`,
2593
- );
2594
- }
2595
-
2596
- /** @internal */
2597
- export const ListPromptVersionsRetry$inboundSchema: z.ZodType<
2598
- ListPromptVersionsRetry,
2599
- z.ZodTypeDef,
2600
- unknown
2601
- > = z.object({
2602
- count: z.number().default(3),
2603
- on_codes: z.array(z.number()).optional(),
2604
- }).transform((v) => {
2605
- return remap$(v, {
2606
- "on_codes": "onCodes",
2607
- });
2608
- });
2609
-
2610
- export function listPromptVersionsRetryFromJSON(
2611
- jsonString: string,
2612
- ): SafeParseResult<ListPromptVersionsRetry, SDKValidationError> {
2613
- return safeParse(
2614
- jsonString,
2615
- (x) => ListPromptVersionsRetry$inboundSchema.parse(JSON.parse(x)),
2616
- `Failed to parse 'ListPromptVersionsRetry' from JSON`,
2617
- );
2618
- }
2619
-
2620
- /** @internal */
2621
- export const ListPromptVersionsType$inboundSchema: z.ZodNativeEnum<
2622
- typeof ListPromptVersionsType
2623
- > = z.nativeEnum(ListPromptVersionsType);
2624
-
2625
- /** @internal */
2626
- export const ListPromptVersionsCache$inboundSchema: z.ZodType<
2627
- ListPromptVersionsCache,
2628
- z.ZodTypeDef,
2629
- unknown
2630
- > = z.object({
2631
- ttl: z.number().default(1800),
2632
- type: ListPromptVersionsType$inboundSchema,
2633
- });
2634
-
2635
- export function listPromptVersionsCacheFromJSON(
2636
- jsonString: string,
2637
- ): SafeParseResult<ListPromptVersionsCache, SDKValidationError> {
2638
- return safeParse(
2639
- jsonString,
2640
- (x) => ListPromptVersionsCache$inboundSchema.parse(JSON.parse(x)),
2641
- `Failed to parse 'ListPromptVersionsCache' from JSON`,
2642
- );
2643
- }
2644
-
2645
- /** @internal */
2646
- export const ListPromptVersionsLoadBalancerType$inboundSchema: z.ZodNativeEnum<
2647
- typeof ListPromptVersionsLoadBalancerType
2648
- > = z.nativeEnum(ListPromptVersionsLoadBalancerType);
2649
-
2650
- /** @internal */
2651
- export const ListPromptVersionsLoadBalancerModels$inboundSchema: z.ZodType<
2652
- ListPromptVersionsLoadBalancerModels,
2653
- z.ZodTypeDef,
2654
- unknown
2655
- > = z.object({
2656
- model: z.string(),
2657
- weight: z.number().default(0.5),
2658
- });
2659
-
2660
- export function listPromptVersionsLoadBalancerModelsFromJSON(
2661
- jsonString: string,
2662
- ): SafeParseResult<ListPromptVersionsLoadBalancerModels, SDKValidationError> {
2663
- return safeParse(
2664
- jsonString,
2665
- (x) =>
2666
- ListPromptVersionsLoadBalancerModels$inboundSchema.parse(JSON.parse(x)),
2667
- `Failed to parse 'ListPromptVersionsLoadBalancerModels' from JSON`,
2668
- );
2669
- }
2670
-
2671
- /** @internal */
2672
- export const ListPromptVersionsLoadBalancer1$inboundSchema: z.ZodType<
2673
- ListPromptVersionsLoadBalancer1,
2674
- z.ZodTypeDef,
2675
- unknown
2676
- > = z.object({
2677
- type: ListPromptVersionsLoadBalancerType$inboundSchema,
2678
- models: z.array(
2679
- z.lazy(() => ListPromptVersionsLoadBalancerModels$inboundSchema),
2680
- ),
2681
- });
2682
-
2683
- export function listPromptVersionsLoadBalancer1FromJSON(
2684
- jsonString: string,
2685
- ): SafeParseResult<ListPromptVersionsLoadBalancer1, SDKValidationError> {
2686
- return safeParse(
2687
- jsonString,
2688
- (x) => ListPromptVersionsLoadBalancer1$inboundSchema.parse(JSON.parse(x)),
2689
- `Failed to parse 'ListPromptVersionsLoadBalancer1' from JSON`,
2690
- );
2691
- }
2692
-
2693
- /** @internal */
2694
- export const ListPromptVersionsLoadBalancer$inboundSchema: z.ZodType<
2695
- ListPromptVersionsLoadBalancer,
2696
- z.ZodTypeDef,
2697
- unknown
2698
- > = z.lazy(() => ListPromptVersionsLoadBalancer1$inboundSchema);
2699
-
2700
- export function listPromptVersionsLoadBalancerFromJSON(
2701
- jsonString: string,
2702
- ): SafeParseResult<ListPromptVersionsLoadBalancer, SDKValidationError> {
2703
- return safeParse(
2704
- jsonString,
2705
- (x) => ListPromptVersionsLoadBalancer$inboundSchema.parse(JSON.parse(x)),
2706
- `Failed to parse 'ListPromptVersionsLoadBalancer' from JSON`,
2707
- );
2708
- }
2709
-
2710
- /** @internal */
2711
- export const ListPromptVersionsTimeout$inboundSchema: z.ZodType<
2712
- ListPromptVersionsTimeout,
2713
- z.ZodTypeDef,
2714
- unknown
2715
- > = z.object({
2716
- call_timeout: z.number(),
2717
- }).transform((v) => {
2718
- return remap$(v, {
2719
- "call_timeout": "callTimeout",
2720
- });
2721
- });
2722
-
2723
- export function listPromptVersionsTimeoutFromJSON(
2724
- jsonString: string,
2725
- ): SafeParseResult<ListPromptVersionsTimeout, SDKValidationError> {
2726
- return safeParse(
2727
- jsonString,
2728
- (x) => ListPromptVersionsTimeout$inboundSchema.parse(JSON.parse(x)),
2729
- `Failed to parse 'ListPromptVersionsTimeout' from JSON`,
2730
- );
2731
- }
2732
-
2733
- /** @internal */
2734
- export const ListPromptVersionsPromptsType$inboundSchema: z.ZodNativeEnum<
2735
- typeof ListPromptVersionsPromptsType
2736
- > = z.nativeEnum(ListPromptVersionsPromptsType);
2737
-
2738
- /** @internal */
2739
- export const ListPromptVersionsTtl$inboundSchema: z.ZodNativeEnum<
2740
- typeof ListPromptVersionsTtl
2741
- > = z.nativeEnum(ListPromptVersionsTtl);
2742
-
2743
- /** @internal */
2744
- export const ListPromptVersionsCacheControl$inboundSchema: z.ZodType<
2745
- ListPromptVersionsCacheControl,
2746
- z.ZodTypeDef,
2747
- unknown
2748
- > = z.object({
2749
- type: ListPromptVersionsPromptsType$inboundSchema,
2750
- ttl: ListPromptVersionsTtl$inboundSchema.default("5m"),
2751
- });
2752
-
2753
- export function listPromptVersionsCacheControlFromJSON(
2754
- jsonString: string,
2755
- ): SafeParseResult<ListPromptVersionsCacheControl, SDKValidationError> {
2756
- return safeParse(
2757
- jsonString,
2758
- (x) => ListPromptVersionsCacheControl$inboundSchema.parse(JSON.parse(x)),
2759
- `Failed to parse 'ListPromptVersionsCacheControl' from JSON`,
2760
- );
2761
- }
2762
-
2763
- /** @internal */
2764
- export const ListPromptVersionsContentPromptsResponse2002$inboundSchema:
2765
- z.ZodType<
2766
- ListPromptVersionsContentPromptsResponse2002,
2767
- z.ZodTypeDef,
2768
- unknown
2769
- > = components.TextContentPartSchema$inboundSchema;
2770
-
2771
- export function listPromptVersionsContentPromptsResponse2002FromJSON(
2772
- jsonString: string,
2773
- ): SafeParseResult<
2774
- ListPromptVersionsContentPromptsResponse2002,
2775
- SDKValidationError
2776
- > {
2777
- return safeParse(
2778
- jsonString,
2779
- (x) =>
2780
- ListPromptVersionsContentPromptsResponse2002$inboundSchema.parse(
2781
- JSON.parse(x),
2782
- ),
2783
- `Failed to parse 'ListPromptVersionsContentPromptsResponse2002' from JSON`,
2784
- );
2785
- }
2786
-
2787
- /** @internal */
2788
- export const ListPromptVersionsMessagesPromptsResponse200Content$inboundSchema:
2789
- z.ZodType<
2790
- ListPromptVersionsMessagesPromptsResponse200Content,
2791
- z.ZodTypeDef,
2792
- unknown
2793
- > = z.union([
2794
- z.string(),
2795
- z.array(components.TextContentPartSchema$inboundSchema),
2796
- ]);
2797
-
2798
- export function listPromptVersionsMessagesPromptsResponse200ContentFromJSON(
2799
- jsonString: string,
2800
- ): SafeParseResult<
2801
- ListPromptVersionsMessagesPromptsResponse200Content,
2802
- SDKValidationError
2803
- > {
2804
- return safeParse(
2805
- jsonString,
2806
- (x) =>
2807
- ListPromptVersionsMessagesPromptsResponse200Content$inboundSchema.parse(
2808
- JSON.parse(x),
2809
- ),
2810
- `Failed to parse 'ListPromptVersionsMessagesPromptsResponse200Content' from JSON`,
2811
- );
2812
- }
2813
-
2814
- /** @internal */
2815
- export const ListPromptVersionsMessagesPromptsType$inboundSchema:
2816
- z.ZodNativeEnum<typeof ListPromptVersionsMessagesPromptsType> = z.nativeEnum(
2817
- ListPromptVersionsMessagesPromptsType,
2818
- );
2819
-
2820
- /** @internal */
2821
- export const ListPromptVersionsMessagesTtl$inboundSchema: z.ZodNativeEnum<
2822
- typeof ListPromptVersionsMessagesTtl
2823
- > = z.nativeEnum(ListPromptVersionsMessagesTtl);
2824
-
2825
- /** @internal */
2826
- export const ListPromptVersionsMessagesCacheControl$inboundSchema: z.ZodType<
2827
- ListPromptVersionsMessagesCacheControl,
2828
- z.ZodTypeDef,
2829
- unknown
2830
- > = z.object({
2831
- type: ListPromptVersionsMessagesPromptsType$inboundSchema,
2832
- ttl: ListPromptVersionsMessagesTtl$inboundSchema.default("5m"),
2833
- });
2834
-
2835
- export function listPromptVersionsMessagesCacheControlFromJSON(
2836
- jsonString: string,
2837
- ): SafeParseResult<ListPromptVersionsMessagesCacheControl, SDKValidationError> {
2838
- return safeParse(
2839
- jsonString,
2840
- (x) =>
2841
- ListPromptVersionsMessagesCacheControl$inboundSchema.parse(JSON.parse(x)),
2842
- `Failed to parse 'ListPromptVersionsMessagesCacheControl' from JSON`,
2843
- );
2844
- }
2845
-
2846
- /** @internal */
2847
- export const ListPromptVersionsMessagesToolMessage$inboundSchema: z.ZodType<
2848
- ListPromptVersionsMessagesToolMessage,
2849
- z.ZodTypeDef,
2850
- unknown
2851
- > = z.object({
2852
- role: z.literal("tool"),
2853
- content: z.union([
2854
- z.string(),
2855
- z.array(components.TextContentPartSchema$inboundSchema),
2856
- ]),
2857
- tool_call_id: z.nullable(z.string()),
2858
- cache_control: z.lazy(() =>
2859
- ListPromptVersionsMessagesCacheControl$inboundSchema
2860
- ).optional(),
2861
- }).transform((v) => {
2862
- return remap$(v, {
2863
- "tool_call_id": "toolCallId",
2864
- "cache_control": "cacheControl",
2865
- });
2866
- });
2867
-
2868
- export function listPromptVersionsMessagesToolMessageFromJSON(
2869
- jsonString: string,
2870
- ): SafeParseResult<ListPromptVersionsMessagesToolMessage, SDKValidationError> {
2871
- return safeParse(
2872
- jsonString,
2873
- (x) =>
2874
- ListPromptVersionsMessagesToolMessage$inboundSchema.parse(JSON.parse(x)),
2875
- `Failed to parse 'ListPromptVersionsMessagesToolMessage' from JSON`,
2876
- );
2877
- }
2878
-
2879
- /** @internal */
2880
- export const ListPromptVersionsContentPromptsResponse2$inboundSchema: z.ZodType<
2881
- ListPromptVersionsContentPromptsResponse2,
2882
- z.ZodTypeDef,
2883
- unknown
2884
- > = z.union([
2885
- components.TextContentPartSchema$inboundSchema.and(
2886
- z.object({ type: z.literal("text") }),
2887
- ),
2888
- components.RefusalPartSchema$inboundSchema,
2889
- components.ReasoningPartSchema$inboundSchema,
2890
- components.RedactedReasoningPartSchema$inboundSchema,
2891
- ]);
2892
-
2893
- export function listPromptVersionsContentPromptsResponse2FromJSON(
2894
- jsonString: string,
2895
- ): SafeParseResult<
2896
- ListPromptVersionsContentPromptsResponse2,
2897
- SDKValidationError
2898
- > {
2899
- return safeParse(
2900
- jsonString,
2901
- (x) =>
2902
- ListPromptVersionsContentPromptsResponse2$inboundSchema.parse(
2903
- JSON.parse(x),
2904
- ),
2905
- `Failed to parse 'ListPromptVersionsContentPromptsResponse2' from JSON`,
2906
- );
2907
- }
2908
-
2909
- /** @internal */
2910
- export const ListPromptVersionsMessagesPromptsResponseContent$inboundSchema:
2911
- z.ZodType<
2912
- ListPromptVersionsMessagesPromptsResponseContent,
2913
- z.ZodTypeDef,
2914
- unknown
2915
- > = z.union([
2916
- z.string(),
2917
- z.array(
2918
- z.union([
2919
- components.TextContentPartSchema$inboundSchema.and(
2920
- z.object({ type: z.literal("text") }),
2921
- ),
2922
- components.RefusalPartSchema$inboundSchema,
2923
- components.ReasoningPartSchema$inboundSchema,
2924
- components.RedactedReasoningPartSchema$inboundSchema,
2925
- ]),
2926
- ),
2927
- ]);
2928
-
2929
- export function listPromptVersionsMessagesPromptsResponseContentFromJSON(
2930
- jsonString: string,
2931
- ): SafeParseResult<
2932
- ListPromptVersionsMessagesPromptsResponseContent,
2933
- SDKValidationError
2934
- > {
2935
- return safeParse(
2936
- jsonString,
2937
- (x) =>
2938
- ListPromptVersionsMessagesPromptsResponseContent$inboundSchema.parse(
2939
- JSON.parse(x),
2940
- ),
2941
- `Failed to parse 'ListPromptVersionsMessagesPromptsResponseContent' from JSON`,
2942
- );
2943
- }
2944
-
2945
- /** @internal */
2946
- export const ListPromptVersionsMessagesAudio$inboundSchema: z.ZodType<
2947
- ListPromptVersionsMessagesAudio,
2948
- z.ZodTypeDef,
2949
- unknown
2950
- > = z.object({
2951
- id: z.string(),
2952
- });
2953
-
2954
- export function listPromptVersionsMessagesAudioFromJSON(
2955
- jsonString: string,
2956
- ): SafeParseResult<ListPromptVersionsMessagesAudio, SDKValidationError> {
2957
- return safeParse(
2958
- jsonString,
2959
- (x) => ListPromptVersionsMessagesAudio$inboundSchema.parse(JSON.parse(x)),
2960
- `Failed to parse 'ListPromptVersionsMessagesAudio' from JSON`,
2961
- );
2962
- }
2963
-
2964
- /** @internal */
2965
- export const ListPromptVersionsMessagesType$inboundSchema: z.ZodNativeEnum<
2966
- typeof ListPromptVersionsMessagesType
2967
- > = z.nativeEnum(ListPromptVersionsMessagesType);
2968
-
2969
- /** @internal */
2970
- export const ListPromptVersionsMessagesFunction$inboundSchema: z.ZodType<
2971
- ListPromptVersionsMessagesFunction,
2972
- z.ZodTypeDef,
2973
- unknown
2974
- > = z.object({
2975
- name: z.string().optional(),
2976
- arguments: z.string().optional(),
2977
- });
2978
-
2979
- export function listPromptVersionsMessagesFunctionFromJSON(
2980
- jsonString: string,
2981
- ): SafeParseResult<ListPromptVersionsMessagesFunction, SDKValidationError> {
2982
- return safeParse(
2983
- jsonString,
2984
- (x) =>
2985
- ListPromptVersionsMessagesFunction$inboundSchema.parse(JSON.parse(x)),
2986
- `Failed to parse 'ListPromptVersionsMessagesFunction' from JSON`,
2987
- );
2988
- }
2989
-
2990
- /** @internal */
2991
- export const ListPromptVersionsMessagesToolCalls$inboundSchema: z.ZodType<
2992
- ListPromptVersionsMessagesToolCalls,
2993
- z.ZodTypeDef,
2994
- unknown
2995
- > = z.object({
2996
- id: z.string(),
2997
- type: ListPromptVersionsMessagesType$inboundSchema,
2998
- function: z.lazy(() => ListPromptVersionsMessagesFunction$inboundSchema),
2999
- thought_signature: z.string().optional(),
3000
- }).transform((v) => {
3001
- return remap$(v, {
3002
- "thought_signature": "thoughtSignature",
3003
- });
3004
- });
3005
-
3006
- export function listPromptVersionsMessagesToolCallsFromJSON(
3007
- jsonString: string,
3008
- ): SafeParseResult<ListPromptVersionsMessagesToolCalls, SDKValidationError> {
3009
- return safeParse(
3010
- jsonString,
3011
- (x) =>
3012
- ListPromptVersionsMessagesToolCalls$inboundSchema.parse(JSON.parse(x)),
3013
- `Failed to parse 'ListPromptVersionsMessagesToolCalls' from JSON`,
3014
- );
3015
- }
3016
-
3017
- /** @internal */
3018
- export const ListPromptVersionsMessagesAssistantMessage$inboundSchema:
3019
- z.ZodType<ListPromptVersionsMessagesAssistantMessage, z.ZodTypeDef, unknown> =
3020
- z.object({
3021
- reasoning_content: z.string().optional(),
3022
- content: z.nullable(
3023
- z.union([
3024
- z.string(),
3025
- z.array(
3026
- z.union([
3027
- components.TextContentPartSchema$inboundSchema.and(
3028
- z.object({ type: z.literal("text") }),
3029
- ),
3030
- components.RefusalPartSchema$inboundSchema,
3031
- components.ReasoningPartSchema$inboundSchema,
3032
- components.RedactedReasoningPartSchema$inboundSchema,
3033
- ]),
3034
- ),
3035
- ]),
3036
- ).optional(),
3037
- refusal: z.nullable(z.string()).optional(),
3038
- role: z.literal("assistant"),
3039
- name: z.string().optional(),
3040
- audio: z.nullable(
3041
- z.lazy(() => ListPromptVersionsMessagesAudio$inboundSchema),
3042
- ).optional(),
3043
- tool_calls: z.array(
3044
- z.lazy(() => ListPromptVersionsMessagesToolCalls$inboundSchema),
3045
- ).optional(),
3046
- }).transform((v) => {
3047
- return remap$(v, {
3048
- "reasoning_content": "reasoningContent",
3049
- "tool_calls": "toolCalls",
3050
- });
3051
- });
3052
-
3053
- export function listPromptVersionsMessagesAssistantMessageFromJSON(
3054
- jsonString: string,
3055
- ): SafeParseResult<
3056
- ListPromptVersionsMessagesAssistantMessage,
3057
- SDKValidationError
3058
- > {
3059
- return safeParse(
3060
- jsonString,
3061
- (x) =>
3062
- ListPromptVersionsMessagesAssistantMessage$inboundSchema.parse(
3063
- JSON.parse(x),
3064
- ),
3065
- `Failed to parse 'ListPromptVersionsMessagesAssistantMessage' from JSON`,
3066
- );
3067
- }
3068
-
3069
- /** @internal */
3070
- export const ListPromptVersions2PromptsResponse200ApplicationJSONType$inboundSchema:
3071
- z.ZodNativeEnum<
3072
- typeof ListPromptVersions2PromptsResponse200ApplicationJSONType
3073
- > = z.nativeEnum(ListPromptVersions2PromptsResponse200ApplicationJSONType);
3074
-
3075
- /** @internal */
3076
- export const ListPromptVersions2Ttl$inboundSchema: z.ZodNativeEnum<
3077
- typeof ListPromptVersions2Ttl
3078
- > = z.nativeEnum(ListPromptVersions2Ttl);
3079
-
3080
- /** @internal */
3081
- export const ListPromptVersions2CacheControl$inboundSchema: z.ZodType<
3082
- ListPromptVersions2CacheControl,
3083
- z.ZodTypeDef,
3084
- unknown
3085
- > = z.object({
3086
- type: ListPromptVersions2PromptsResponse200ApplicationJSONType$inboundSchema,
3087
- ttl: ListPromptVersions2Ttl$inboundSchema.default("5m"),
3088
- });
3089
-
3090
- export function listPromptVersions2CacheControlFromJSON(
3091
- jsonString: string,
3092
- ): SafeParseResult<ListPromptVersions2CacheControl, SDKValidationError> {
3093
- return safeParse(
3094
- jsonString,
3095
- (x) => ListPromptVersions2CacheControl$inboundSchema.parse(JSON.parse(x)),
3096
- `Failed to parse 'ListPromptVersions2CacheControl' from JSON`,
3097
- );
3098
- }
3099
-
3100
- /** @internal */
3101
- export const ListPromptVersions24$inboundSchema: z.ZodType<
3102
- ListPromptVersions24,
3103
- z.ZodTypeDef,
3104
- unknown
3105
- > = z.object({
3106
- type: z.literal("file"),
3107
- cache_control: z.lazy(() => ListPromptVersions2CacheControl$inboundSchema)
3108
- .optional(),
3109
- file: components.FileContentPartSchema$inboundSchema,
3110
- }).transform((v) => {
3111
- return remap$(v, {
3112
- "cache_control": "cacheControl",
3113
- });
3114
- });
3115
-
3116
- export function listPromptVersions24FromJSON(
3117
- jsonString: string,
3118
- ): SafeParseResult<ListPromptVersions24, SDKValidationError> {
3119
- return safeParse(
3120
- jsonString,
3121
- (x) => ListPromptVersions24$inboundSchema.parse(JSON.parse(x)),
3122
- `Failed to parse 'ListPromptVersions24' from JSON`,
3123
- );
3124
- }
3125
-
3126
- /** @internal */
3127
- export const ListPromptVersionsContentPrompts2$inboundSchema: z.ZodType<
3128
- ListPromptVersionsContentPrompts2,
3129
- z.ZodTypeDef,
3130
- unknown
3131
- > = z.union([
3132
- components.TextContentPartSchema$inboundSchema.and(
3133
- z.object({ type: z.literal("text") }),
3134
- ),
3135
- components.ImageContentPartSchema$inboundSchema,
3136
- components.AudioContentPartSchema$inboundSchema,
3137
- z.lazy(() => ListPromptVersions24$inboundSchema),
3138
- ]);
3139
-
3140
- export function listPromptVersionsContentPrompts2FromJSON(
3141
- jsonString: string,
3142
- ): SafeParseResult<ListPromptVersionsContentPrompts2, SDKValidationError> {
3143
- return safeParse(
3144
- jsonString,
3145
- (x) => ListPromptVersionsContentPrompts2$inboundSchema.parse(JSON.parse(x)),
3146
- `Failed to parse 'ListPromptVersionsContentPrompts2' from JSON`,
3147
- );
3148
- }
3149
-
3150
- /** @internal */
3151
- export const ListPromptVersionsMessagesPromptsContent$inboundSchema: z.ZodType<
3152
- ListPromptVersionsMessagesPromptsContent,
3153
- z.ZodTypeDef,
3154
- unknown
3155
- > = z.union([
3156
- z.string(),
3157
- z.array(
3158
- z.union([
3159
- components.TextContentPartSchema$inboundSchema.and(
3160
- z.object({ type: z.literal("text") }),
3161
- ),
3162
- components.ImageContentPartSchema$inboundSchema,
3163
- components.AudioContentPartSchema$inboundSchema,
3164
- z.lazy(() => ListPromptVersions24$inboundSchema),
3165
- ]),
3166
- ),
3167
- ]);
3168
-
3169
- export function listPromptVersionsMessagesPromptsContentFromJSON(
3170
- jsonString: string,
3171
- ): SafeParseResult<
3172
- ListPromptVersionsMessagesPromptsContent,
3173
- SDKValidationError
3174
- > {
3175
- return safeParse(
3176
- jsonString,
3177
- (x) =>
3178
- ListPromptVersionsMessagesPromptsContent$inboundSchema.parse(
3179
- JSON.parse(x),
3180
- ),
3181
- `Failed to parse 'ListPromptVersionsMessagesPromptsContent' from JSON`,
3182
- );
3183
- }
3184
-
3185
- /** @internal */
3186
- export const ListPromptVersionsMessagesUserMessage$inboundSchema: z.ZodType<
3187
- ListPromptVersionsMessagesUserMessage,
3188
- z.ZodTypeDef,
3189
- unknown
3190
- > = z.object({
3191
- role: z.literal("user"),
3192
- name: z.string().optional(),
3193
- content: z.union([
3194
- z.string(),
3195
- z.array(
3196
- z.union([
3197
- components.TextContentPartSchema$inboundSchema.and(
3198
- z.object({ type: z.literal("text") }),
3199
- ),
3200
- components.ImageContentPartSchema$inboundSchema,
3201
- components.AudioContentPartSchema$inboundSchema,
3202
- z.lazy(() => ListPromptVersions24$inboundSchema),
3203
- ]),
3204
- ),
3205
- ]),
3206
- });
3207
-
3208
- export function listPromptVersionsMessagesUserMessageFromJSON(
3209
- jsonString: string,
3210
- ): SafeParseResult<ListPromptVersionsMessagesUserMessage, SDKValidationError> {
3211
- return safeParse(
3212
- jsonString,
3213
- (x) =>
3214
- ListPromptVersionsMessagesUserMessage$inboundSchema.parse(JSON.parse(x)),
3215
- `Failed to parse 'ListPromptVersionsMessagesUserMessage' from JSON`,
3216
- );
3217
- }
3218
-
3219
- /** @internal */
3220
- export const ListPromptVersionsMessagesContent$inboundSchema: z.ZodType<
3221
- ListPromptVersionsMessagesContent,
3222
- z.ZodTypeDef,
3223
- unknown
3224
- > = z.union([
3225
- z.string(),
3226
- z.array(components.TextContentPartSchema$inboundSchema),
3227
- ]);
3228
-
3229
- export function listPromptVersionsMessagesContentFromJSON(
3230
- jsonString: string,
3231
- ): SafeParseResult<ListPromptVersionsMessagesContent, SDKValidationError> {
3232
- return safeParse(
3233
- jsonString,
3234
- (x) => ListPromptVersionsMessagesContent$inboundSchema.parse(JSON.parse(x)),
3235
- `Failed to parse 'ListPromptVersionsMessagesContent' from JSON`,
3236
- );
3237
- }
3238
-
3239
- /** @internal */
3240
- export const ListPromptVersionsMessagesSystemMessage$inboundSchema: z.ZodType<
3241
- ListPromptVersionsMessagesSystemMessage,
3242
- z.ZodTypeDef,
3243
- unknown
3244
- > = z.object({
3245
- role: z.literal("system"),
3246
- content: z.union([
3247
- z.string(),
3248
- z.array(components.TextContentPartSchema$inboundSchema),
3249
- ]),
3250
- name: z.string().optional(),
3251
- });
3252
-
3253
- export function listPromptVersionsMessagesSystemMessageFromJSON(
3254
- jsonString: string,
3255
- ): SafeParseResult<
3256
- ListPromptVersionsMessagesSystemMessage,
3257
- SDKValidationError
3258
- > {
3259
- return safeParse(
3260
- jsonString,
3261
- (x) =>
3262
- ListPromptVersionsMessagesSystemMessage$inboundSchema.parse(
3263
- JSON.parse(x),
3264
- ),
3265
- `Failed to parse 'ListPromptVersionsMessagesSystemMessage' from JSON`,
3266
- );
3267
- }
3268
-
3269
- /** @internal */
3270
- export const ListPromptVersionsPromptsMessages$inboundSchema: z.ZodType<
3271
- ListPromptVersionsPromptsMessages,
3272
- z.ZodTypeDef,
3273
- unknown
3274
- > = z.union([
3275
- z.lazy(() => ListPromptVersionsMessagesSystemMessage$inboundSchema),
3276
- z.lazy(() => ListPromptVersionsMessagesUserMessage$inboundSchema),
3277
- z.lazy(() => ListPromptVersionsMessagesAssistantMessage$inboundSchema),
3278
- z.lazy(() => ListPromptVersionsMessagesToolMessage$inboundSchema),
3279
- ]);
3280
-
3281
- export function listPromptVersionsPromptsMessagesFromJSON(
3282
- jsonString: string,
3283
- ): SafeParseResult<ListPromptVersionsPromptsMessages, SDKValidationError> {
3284
- return safeParse(
3285
- jsonString,
3286
- (x) => ListPromptVersionsPromptsMessages$inboundSchema.parse(JSON.parse(x)),
3287
- `Failed to parse 'ListPromptVersionsPromptsMessages' from JSON`,
3288
- );
3289
- }
3290
-
3291
- /** @internal */
3292
- export const ListPromptVersionsPromptField$inboundSchema: z.ZodType<
3293
- ListPromptVersionsPromptField,
3294
- z.ZodTypeDef,
3295
- unknown
3296
- > = z.object({
3297
- name: z.string().optional(),
3298
- audio: z.nullable(z.lazy(() => ListPromptVersionsAudio$inboundSchema))
3299
- .optional(),
3300
- frequency_penalty: z.nullable(z.number()).optional(),
3301
- max_tokens: z.nullable(z.number().int()).optional(),
3302
- max_completion_tokens: z.nullable(z.number().int()).optional(),
3303
- logprobs: z.nullable(z.boolean()).optional(),
3304
- top_logprobs: z.nullable(z.number().int()).optional(),
3305
- n: z.nullable(z.number().int()).optional(),
3306
- presence_penalty: z.nullable(z.number()).optional(),
3307
- response_format: z.union([
3308
- z.lazy(() => ListPromptVersionsResponseFormatText$inboundSchema),
3309
- z.lazy(() => ListPromptVersionsResponseFormatJSONObject$inboundSchema),
3310
- z.lazy(() =>
3311
- ListPromptVersionsResponseFormatPromptsJSONSchema$inboundSchema
3312
- ),
3313
- ]).optional(),
3314
- reasoning_effort: ListPromptVersionsReasoningEffort$inboundSchema.optional(),
3315
- verbosity: z.string().optional(),
3316
- seed: z.nullable(z.number()).optional(),
3317
- stop: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
3318
- stream_options: z.nullable(
3319
- z.lazy(() => ListPromptVersionsStreamOptions$inboundSchema),
3320
- ).optional(),
3321
- thinking: z.union([
3322
- components.ThinkingConfigDisabledSchema$inboundSchema,
3323
- components.ThinkingConfigEnabledSchema$inboundSchema,
3324
- components.ThinkingConfigAdaptiveSchema$inboundSchema,
3325
- ]).optional(),
3326
- temperature: z.nullable(z.number()).optional(),
3327
- top_p: z.nullable(z.number()).optional(),
3328
- top_k: z.nullable(z.number()).optional(),
3329
- tool_choice: z.union([
3330
- z.lazy(() => ListPromptVersionsToolChoice2$inboundSchema),
3331
- ListPromptVersionsToolChoice1$inboundSchema,
3332
- ]).optional(),
3333
- parallel_tool_calls: z.boolean().optional(),
3334
- modalities: z.nullable(z.array(ListPromptVersionsModalities$inboundSchema))
3335
- .optional(),
3336
- guardrails: z.array(z.lazy(() => ListPromptVersionsGuardrails$inboundSchema))
3337
- .optional(),
3338
- plugins: z.array(
3339
- z.union([
3340
- components.PIIRedactionPlugin$inboundSchema.and(
3341
- z.object({ id: z.literal("pii_redaction") }),
3342
- ),
3343
- components.ResponseHealingPlugin$inboundSchema,
3344
- components.TraceScrubbingPlugin$inboundSchema,
3345
- ]),
3346
- ).optional(),
3347
- fallbacks: z.array(z.lazy(() => ListPromptVersionsFallbacks$inboundSchema))
3348
- .optional(),
3349
- retry: z.lazy(() => ListPromptVersionsRetry$inboundSchema).optional(),
3350
- cache: z.lazy(() => ListPromptVersionsCache$inboundSchema).optional(),
3351
- load_balancer: z.lazy(() => ListPromptVersionsLoadBalancer1$inboundSchema)
3352
- .optional(),
3353
- timeout: z.lazy(() => ListPromptVersionsTimeout$inboundSchema).optional(),
3354
- cache_control: z.lazy(() => ListPromptVersionsCacheControl$inboundSchema)
3355
- .optional(),
3356
- prompt_cache_key: z.string().optional(),
3357
- messages: z.array(
3358
- z.union([
3359
- z.lazy(() => ListPromptVersionsMessagesSystemMessage$inboundSchema),
3360
- z.lazy(() => ListPromptVersionsMessagesUserMessage$inboundSchema),
3361
- z.lazy(() => ListPromptVersionsMessagesAssistantMessage$inboundSchema),
3362
- z.lazy(() => ListPromptVersionsMessagesToolMessage$inboundSchema),
3363
- ]),
3364
- ).optional(),
3365
- model: z.nullable(z.string()).optional(),
3366
- version: z.string().optional(),
3367
- }).transform((v) => {
3368
- return remap$(v, {
3369
- "frequency_penalty": "frequencyPenalty",
3370
- "max_tokens": "maxTokens",
3371
- "max_completion_tokens": "maxCompletionTokens",
3372
- "top_logprobs": "topLogprobs",
3373
- "presence_penalty": "presencePenalty",
3374
- "response_format": "responseFormat",
3375
- "reasoning_effort": "reasoningEffort",
3376
- "stream_options": "streamOptions",
3377
- "top_p": "topP",
3378
- "top_k": "topK",
3379
- "tool_choice": "toolChoice",
3380
- "parallel_tool_calls": "parallelToolCalls",
3381
- "load_balancer": "loadBalancer",
3382
- "cache_control": "cacheControl",
3383
- "prompt_cache_key": "promptCacheKey",
3384
- });
3385
- });
3386
-
3387
- export function listPromptVersionsPromptFieldFromJSON(
3388
- jsonString: string,
3389
- ): SafeParseResult<ListPromptVersionsPromptField, SDKValidationError> {
3390
- return safeParse(
3391
- jsonString,
3392
- (x) => ListPromptVersionsPromptField$inboundSchema.parse(JSON.parse(x)),
3393
- `Failed to parse 'ListPromptVersionsPromptField' from JSON`,
3394
- );
3395
- }
3396
-
3397
- /** @internal */
3398
- export const ListPromptVersionsUseCases$inboundSchema: z.ZodNativeEnum<
3399
- typeof ListPromptVersionsUseCases
3400
- > = z.nativeEnum(ListPromptVersionsUseCases);
3401
-
3402
- /** @internal */
3403
- export const ListPromptVersionsLanguage$inboundSchema: z.ZodNativeEnum<
3404
- typeof ListPromptVersionsLanguage
3405
- > = z.nativeEnum(ListPromptVersionsLanguage);
3406
-
3407
- /** @internal */
3408
- export const ListPromptVersionsMetadata$inboundSchema: z.ZodType<
3409
- ListPromptVersionsMetadata,
3410
- z.ZodTypeDef,
3411
- unknown
3412
- > = z.object({
3413
- use_cases: z.array(ListPromptVersionsUseCases$inboundSchema).optional(),
3414
- language: z.nullable(ListPromptVersionsLanguage$inboundSchema).optional(),
3415
- }).transform((v) => {
3416
- return remap$(v, {
3417
- "use_cases": "useCases",
3418
- });
3419
- });
3420
-
3421
- export function listPromptVersionsMetadataFromJSON(
3422
- jsonString: string,
3423
- ): SafeParseResult<ListPromptVersionsMetadata, SDKValidationError> {
3424
- return safeParse(
3425
- jsonString,
3426
- (x) => ListPromptVersionsMetadata$inboundSchema.parse(JSON.parse(x)),
3427
- `Failed to parse 'ListPromptVersionsMetadata' from JSON`,
3428
- );
3429
- }
3430
-
3431
- /** @internal */
3432
- export const ListPromptVersionsData$inboundSchema: z.ZodType<
3433
- ListPromptVersionsData,
3434
- z.ZodTypeDef,
3435
- unknown
3436
- > = z.object({
3437
- _id: z.string(),
3438
- created_by_id: z.nullable(z.string()).optional(),
3439
- updated_by_id: z.nullable(z.string()).optional(),
3440
- description: z.nullable(z.string()).optional(),
3441
- prompt_config: z.lazy(() => ListPromptVersionsPromptConfig$inboundSchema)
3442
- .optional(),
3443
- prompt: z.lazy(() => ListPromptVersionsPromptField$inboundSchema),
3444
- metadata: z.lazy(() => ListPromptVersionsMetadata$inboundSchema).optional(),
3445
- timestamp: z.string(),
3446
- }).transform((v) => {
3447
- return remap$(v, {
3448
- "_id": "id",
3449
- "created_by_id": "createdById",
3450
- "updated_by_id": "updatedById",
3451
- "prompt_config": "promptConfig",
3452
- });
3453
- });
3454
-
3455
- export function listPromptVersionsDataFromJSON(
3456
- jsonString: string,
3457
- ): SafeParseResult<ListPromptVersionsData, SDKValidationError> {
3458
- return safeParse(
3459
- jsonString,
3460
- (x) => ListPromptVersionsData$inboundSchema.parse(JSON.parse(x)),
3461
- `Failed to parse 'ListPromptVersionsData' from JSON`,
3462
- );
3463
- }
3464
-
3465
- /** @internal */
3466
- export const ListPromptVersionsResponseBody$inboundSchema: z.ZodType<
3467
- ListPromptVersionsResponseBody,
3468
- z.ZodTypeDef,
3469
- unknown
3470
- > = z.object({
3471
- object: ListPromptVersionsObject$inboundSchema,
3472
- data: z.array(z.lazy(() => ListPromptVersionsData$inboundSchema)),
3473
- has_more: z.boolean(),
3474
- }).transform((v) => {
3475
- return remap$(v, {
3476
- "has_more": "hasMore",
3477
- });
3478
- });
3479
-
3480
- export function listPromptVersionsResponseBodyFromJSON(
3481
- jsonString: string,
3482
- ): SafeParseResult<ListPromptVersionsResponseBody, SDKValidationError> {
3483
- return safeParse(
3484
- jsonString,
3485
- (x) => ListPromptVersionsResponseBody$inboundSchema.parse(JSON.parse(x)),
3486
- `Failed to parse 'ListPromptVersionsResponseBody' from JSON`,
3487
- );
3488
- }