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