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