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