@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,4663 +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 DeploymentStreamContentDeploymentsRequest2 =
14
- components.TextContentPartSchema;
15
-
16
- /**
17
- * The contents of the tool message.
18
- */
19
- export type DeploymentStreamPrefixMessagesDeploymentsRequestRequestBody5Content =
20
- | string
21
- | Array<components.TextContentPartSchema>;
22
-
23
- /**
24
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
25
- */
26
- export const DeploymentStreamPrefixMessagesDeploymentsType = {
27
- Ephemeral: "ephemeral",
28
- } as const;
29
- /**
30
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
31
- */
32
- export type DeploymentStreamPrefixMessagesDeploymentsType = ClosedEnum<
33
- typeof DeploymentStreamPrefixMessagesDeploymentsType
34
- >;
35
-
36
- /**
37
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
38
- *
39
- * @remarks
40
- *
41
- * - `5m`: 5 minutes
42
- * - `1h`: 1 hour
43
- *
44
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
45
- */
46
- export const DeploymentStreamPrefixMessagesTtl = {
47
- Fivem: "5m",
48
- Oneh: "1h",
49
- } as const;
50
- /**
51
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
52
- *
53
- * @remarks
54
- *
55
- * - `5m`: 5 minutes
56
- * - `1h`: 1 hour
57
- *
58
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
59
- */
60
- export type DeploymentStreamPrefixMessagesTtl = ClosedEnum<
61
- typeof DeploymentStreamPrefixMessagesTtl
62
- >;
63
-
64
- export type DeploymentStreamPrefixMessagesCacheControl = {
65
- /**
66
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
67
- */
68
- type: DeploymentStreamPrefixMessagesDeploymentsType;
69
- /**
70
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
71
- *
72
- * @remarks
73
- *
74
- * - `5m`: 5 minutes
75
- * - `1h`: 1 hour
76
- *
77
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
78
- */
79
- ttl?: DeploymentStreamPrefixMessagesTtl | undefined;
80
- };
81
-
82
- export type PrefixMessagesToolMessage = {
83
- /**
84
- * The role of the messages author, in this case tool.
85
- */
86
- role: "tool";
87
- /**
88
- * The contents of the tool message.
89
- */
90
- content: string | Array<components.TextContentPartSchema>;
91
- /**
92
- * Tool call that this message is responding to.
93
- */
94
- toolCallId: string | null;
95
- cacheControl?: DeploymentStreamPrefixMessagesCacheControl | undefined;
96
- };
97
-
98
- export type DeploymentStreamContentDeployments2 =
99
- | (components.TextContentPartSchema & { type: "text" })
100
- | components.RefusalPartSchema
101
- | components.ReasoningPartSchema
102
- | components.RedactedReasoningPartSchema;
103
-
104
- /**
105
- * The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
106
- */
107
- export type DeploymentStreamPrefixMessagesDeploymentsRequestRequestBodyContent =
108
- | string
109
- | Array<
110
- | (components.TextContentPartSchema & { type: "text" })
111
- | components.RefusalPartSchema
112
- | components.ReasoningPartSchema
113
- | components.RedactedReasoningPartSchema
114
- >;
115
-
116
- /**
117
- * Data about a previous audio response from the model.
118
- */
119
- export type PrefixMessagesAudio = {
120
- /**
121
- * Unique identifier for a previous audio response from the model.
122
- */
123
- id: string;
124
- };
125
-
126
- /**
127
- * The type of the tool. Currently, only `function` is supported.
128
- */
129
- export const DeploymentStreamPrefixMessagesType = {
130
- Function: "function",
131
- } as const;
132
- /**
133
- * The type of the tool. Currently, only `function` is supported.
134
- */
135
- export type DeploymentStreamPrefixMessagesType = ClosedEnum<
136
- typeof DeploymentStreamPrefixMessagesType
137
- >;
138
-
139
- export type DeploymentStreamPrefixMessagesFunction = {
140
- /**
141
- * The name of the function to call.
142
- */
143
- name?: string | undefined;
144
- /**
145
- * 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.
146
- */
147
- arguments?: string | undefined;
148
- };
149
-
150
- export type DeploymentStreamPrefixMessagesToolCalls = {
151
- /**
152
- * The ID of the tool call.
153
- */
154
- id: string;
155
- /**
156
- * The type of the tool. Currently, only `function` is supported.
157
- */
158
- type: DeploymentStreamPrefixMessagesType;
159
- function: DeploymentStreamPrefixMessagesFunction;
160
- /**
161
- * Encrypted representation of the model internal reasoning state during function calling. Required by Gemini 3 models when continuing a conversation after a tool call.
162
- */
163
- thoughtSignature?: string | undefined;
164
- };
165
-
166
- export type PrefixMessagesAssistantMessage = {
167
- /**
168
- * The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
169
- */
170
- content?:
171
- | string
172
- | Array<
173
- | (components.TextContentPartSchema & { type: "text" })
174
- | components.RefusalPartSchema
175
- | components.ReasoningPartSchema
176
- | components.RedactedReasoningPartSchema
177
- >
178
- | null
179
- | undefined;
180
- /**
181
- * The refusal message by the assistant.
182
- */
183
- refusal?: string | null | undefined;
184
- /**
185
- * The role of the messages author, in this case `assistant`.
186
- */
187
- role: "assistant";
188
- /**
189
- * An optional name for the participant. Provides the model information to differentiate between participants of the same role.
190
- */
191
- name?: string | undefined;
192
- /**
193
- * Data about a previous audio response from the model.
194
- */
195
- audio?: PrefixMessagesAudio | null | undefined;
196
- /**
197
- * The tool calls generated by the model, such as function calls.
198
- */
199
- toolCalls?: Array<DeploymentStreamPrefixMessagesToolCalls> | undefined;
200
- };
201
-
202
- /**
203
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
204
- */
205
- export const DeploymentStream2DeploymentsType = {
206
- Ephemeral: "ephemeral",
207
- } as const;
208
- /**
209
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
210
- */
211
- export type DeploymentStream2DeploymentsType = ClosedEnum<
212
- typeof DeploymentStream2DeploymentsType
213
- >;
214
-
215
- /**
216
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
217
- *
218
- * @remarks
219
- *
220
- * - `5m`: 5 minutes
221
- * - `1h`: 1 hour
222
- *
223
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
224
- */
225
- export const DeploymentStream2Ttl = {
226
- Fivem: "5m",
227
- Oneh: "1h",
228
- } as const;
229
- /**
230
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
231
- *
232
- * @remarks
233
- *
234
- * - `5m`: 5 minutes
235
- * - `1h`: 1 hour
236
- *
237
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
238
- */
239
- export type DeploymentStream2Ttl = ClosedEnum<typeof DeploymentStream2Ttl>;
240
-
241
- export type DeploymentStream2CacheControl = {
242
- /**
243
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
244
- */
245
- type: DeploymentStream2DeploymentsType;
246
- /**
247
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
248
- *
249
- * @remarks
250
- *
251
- * - `5m`: 5 minutes
252
- * - `1h`: 1 hour
253
- *
254
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
255
- */
256
- ttl?: DeploymentStream2Ttl | undefined;
257
- };
258
-
259
- export type DeploymentStream24 = {
260
- /**
261
- * The type of the content part. Always `file`.
262
- */
263
- type: "file";
264
- cacheControl?: DeploymentStream2CacheControl | undefined;
265
- /**
266
- * File data for the content part. Must contain either file_data or uri, but not both.
267
- */
268
- file: components.FileContentPartSchema;
269
- };
270
-
271
- export type DeploymentStreamContent2 =
272
- | (components.TextContentPartSchema & { type: "text" })
273
- | components.ImageContentPartSchema
274
- | components.AudioContentPartSchema
275
- | DeploymentStream24;
276
-
277
- /**
278
- * The contents of the user message.
279
- */
280
- export type DeploymentStreamPrefixMessagesDeploymentsRequestContent =
281
- | string
282
- | Array<
283
- | (components.TextContentPartSchema & { type: "text" })
284
- | components.ImageContentPartSchema
285
- | components.AudioContentPartSchema
286
- | DeploymentStream24
287
- >;
288
-
289
- export type PrefixMessagesUserMessage = {
290
- /**
291
- * The role of the messages author, in this case `user`.
292
- */
293
- role: "user";
294
- /**
295
- * An optional name for the participant. Provides the model information to differentiate between participants of the same role.
296
- */
297
- name?: string | undefined;
298
- /**
299
- * The contents of the user message.
300
- */
301
- content:
302
- | string
303
- | Array<
304
- | (components.TextContentPartSchema & { type: "text" })
305
- | components.ImageContentPartSchema
306
- | components.AudioContentPartSchema
307
- | DeploymentStream24
308
- >;
309
- };
310
-
311
- /**
312
- * The contents of the developer message.
313
- */
314
- export type DeploymentStreamPrefixMessagesDeploymentsContent =
315
- | string
316
- | Array<components.TextContentPartSchema>;
317
-
318
- export type PrefixMessagesDeveloperMessage = {
319
- /**
320
- * The role of the messages author, in this case `developer`.
321
- */
322
- role: "developer";
323
- /**
324
- * The contents of the developer message.
325
- */
326
- content: string | Array<components.TextContentPartSchema>;
327
- /**
328
- * An optional name for the participant. Provides the model information to differentiate between participants of the same role.
329
- */
330
- name?: string | undefined;
331
- };
332
-
333
- /**
334
- * The contents of the system message.
335
- */
336
- export type DeploymentStreamPrefixMessagesContent =
337
- | string
338
- | Array<components.TextContentPartSchema>;
339
-
340
- /**
341
- * Developer-provided instructions that the model should follow, regardless of messages sent by the user.
342
- */
343
- export type PrefixMessagesSystemMessage = {
344
- /**
345
- * The role of the messages author, in this case `system`.
346
- */
347
- role: "system";
348
- /**
349
- * The contents of the system message.
350
- */
351
- content: string | Array<components.TextContentPartSchema>;
352
- /**
353
- * An optional name for the participant. Provides the model information to differentiate between participants of the same role.
354
- */
355
- name?: string | undefined;
356
- };
357
-
358
- export type DeploymentStreamPrefixMessages =
359
- | PrefixMessagesSystemMessage
360
- | PrefixMessagesDeveloperMessage
361
- | PrefixMessagesUserMessage
362
- | PrefixMessagesAssistantMessage
363
- | PrefixMessagesToolMessage;
364
-
365
- export type DeploymentStreamContentDeploymentsRequestRequestBodyMessages52 =
366
- components.TextContentPartSchema;
367
-
368
- /**
369
- * The contents of the tool message.
370
- */
371
- export type DeploymentStreamMessagesDeploymentsRequestRequestBody5Content =
372
- | string
373
- | Array<components.TextContentPartSchema>;
374
-
375
- /**
376
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
377
- */
378
- export const DeploymentStreamMessagesDeploymentsType = {
379
- Ephemeral: "ephemeral",
380
- } as const;
381
- /**
382
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
383
- */
384
- export type DeploymentStreamMessagesDeploymentsType = ClosedEnum<
385
- typeof DeploymentStreamMessagesDeploymentsType
386
- >;
387
-
388
- /**
389
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
390
- *
391
- * @remarks
392
- *
393
- * - `5m`: 5 minutes
394
- * - `1h`: 1 hour
395
- *
396
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
397
- */
398
- export const DeploymentStreamMessagesTtl = {
399
- Fivem: "5m",
400
- Oneh: "1h",
401
- } as const;
402
- /**
403
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
404
- *
405
- * @remarks
406
- *
407
- * - `5m`: 5 minutes
408
- * - `1h`: 1 hour
409
- *
410
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
411
- */
412
- export type DeploymentStreamMessagesTtl = ClosedEnum<
413
- typeof DeploymentStreamMessagesTtl
414
- >;
415
-
416
- export type DeploymentStreamMessagesCacheControl = {
417
- /**
418
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
419
- */
420
- type: DeploymentStreamMessagesDeploymentsType;
421
- /**
422
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
423
- *
424
- * @remarks
425
- *
426
- * - `5m`: 5 minutes
427
- * - `1h`: 1 hour
428
- *
429
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
430
- */
431
- ttl?: DeploymentStreamMessagesTtl | undefined;
432
- };
433
-
434
- export type DeploymentStreamMessagesToolMessage = {
435
- /**
436
- * The role of the messages author, in this case tool.
437
- */
438
- role: "tool";
439
- /**
440
- * The contents of the tool message.
441
- */
442
- content: string | Array<components.TextContentPartSchema>;
443
- /**
444
- * Tool call that this message is responding to.
445
- */
446
- toolCallId: string | null;
447
- cacheControl?: DeploymentStreamMessagesCacheControl | undefined;
448
- };
449
-
450
- export type DeploymentStreamContentDeploymentsRequestRequestBodyMessages2 =
451
- | (components.TextContentPartSchema & { type: "text" })
452
- | components.RefusalPartSchema
453
- | components.ReasoningPartSchema
454
- | components.RedactedReasoningPartSchema;
455
-
456
- /**
457
- * The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
458
- */
459
- export type DeploymentStreamMessagesDeploymentsRequestRequestBodyContent =
460
- | string
461
- | Array<
462
- | (components.TextContentPartSchema & { type: "text" })
463
- | components.RefusalPartSchema
464
- | components.ReasoningPartSchema
465
- | components.RedactedReasoningPartSchema
466
- >;
467
-
468
- /**
469
- * Data about a previous audio response from the model.
470
- */
471
- export type DeploymentStreamMessagesAudio = {
472
- /**
473
- * Unique identifier for a previous audio response from the model.
474
- */
475
- id: string;
476
- };
477
-
478
- /**
479
- * The type of the tool. Currently, only `function` is supported.
480
- */
481
- export const DeploymentStreamMessagesType = {
482
- Function: "function",
483
- } as const;
484
- /**
485
- * The type of the tool. Currently, only `function` is supported.
486
- */
487
- export type DeploymentStreamMessagesType = ClosedEnum<
488
- typeof DeploymentStreamMessagesType
489
- >;
490
-
491
- export type DeploymentStreamMessagesFunction = {
492
- /**
493
- * The name of the function to call.
494
- */
495
- name?: string | undefined;
496
- /**
497
- * 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.
498
- */
499
- arguments?: string | undefined;
500
- };
501
-
502
- export type DeploymentStreamMessagesToolCalls = {
503
- /**
504
- * The ID of the tool call.
505
- */
506
- id: string;
507
- /**
508
- * The type of the tool. Currently, only `function` is supported.
509
- */
510
- type: DeploymentStreamMessagesType;
511
- function: DeploymentStreamMessagesFunction;
512
- /**
513
- * Encrypted representation of the model internal reasoning state during function calling. Required by Gemini 3 models when continuing a conversation after a tool call.
514
- */
515
- thoughtSignature?: string | undefined;
516
- };
517
-
518
- export type DeploymentStreamMessagesAssistantMessage = {
519
- /**
520
- * The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
521
- */
522
- content?:
523
- | string
524
- | Array<
525
- | (components.TextContentPartSchema & { type: "text" })
526
- | components.RefusalPartSchema
527
- | components.ReasoningPartSchema
528
- | components.RedactedReasoningPartSchema
529
- >
530
- | null
531
- | undefined;
532
- /**
533
- * The refusal message by the assistant.
534
- */
535
- refusal?: string | null | undefined;
536
- /**
537
- * The role of the messages author, in this case `assistant`.
538
- */
539
- role: "assistant";
540
- /**
541
- * An optional name for the participant. Provides the model information to differentiate between participants of the same role.
542
- */
543
- name?: string | undefined;
544
- /**
545
- * Data about a previous audio response from the model.
546
- */
547
- audio?: DeploymentStreamMessagesAudio | null | undefined;
548
- /**
549
- * The tool calls generated by the model, such as function calls.
550
- */
551
- toolCalls?: Array<DeploymentStreamMessagesToolCalls> | undefined;
552
- };
553
-
554
- /**
555
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
556
- */
557
- export const DeploymentStream2DeploymentsRequestRequestBodyType = {
558
- Ephemeral: "ephemeral",
559
- } as const;
560
- /**
561
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
562
- */
563
- export type DeploymentStream2DeploymentsRequestRequestBodyType = ClosedEnum<
564
- typeof DeploymentStream2DeploymentsRequestRequestBodyType
565
- >;
566
-
567
- /**
568
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
569
- *
570
- * @remarks
571
- *
572
- * - `5m`: 5 minutes
573
- * - `1h`: 1 hour
574
- *
575
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
576
- */
577
- export const DeploymentStream2DeploymentsTtl = {
578
- Fivem: "5m",
579
- Oneh: "1h",
580
- } as const;
581
- /**
582
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
583
- *
584
- * @remarks
585
- *
586
- * - `5m`: 5 minutes
587
- * - `1h`: 1 hour
588
- *
589
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
590
- */
591
- export type DeploymentStream2DeploymentsTtl = ClosedEnum<
592
- typeof DeploymentStream2DeploymentsTtl
593
- >;
594
-
595
- export type DeploymentStream2DeploymentsCacheControl = {
596
- /**
597
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
598
- */
599
- type: DeploymentStream2DeploymentsRequestRequestBodyType;
600
- /**
601
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
602
- *
603
- * @remarks
604
- *
605
- * - `5m`: 5 minutes
606
- * - `1h`: 1 hour
607
- *
608
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
609
- */
610
- ttl?: DeploymentStream2DeploymentsTtl | undefined;
611
- };
612
-
613
- export type DeploymentStream2Deployments4 = {
614
- /**
615
- * The type of the content part. Always `file`.
616
- */
617
- type: "file";
618
- cacheControl?: DeploymentStream2DeploymentsCacheControl | undefined;
619
- /**
620
- * File data for the content part. Must contain either file_data or uri, but not both.
621
- */
622
- file: components.FileContentPartSchema;
623
- };
624
-
625
- export type DeploymentStreamContentDeploymentsRequestRequestBody2 =
626
- | (components.TextContentPartSchema & { type: "text" })
627
- | components.ImageContentPartSchema
628
- | components.AudioContentPartSchema
629
- | DeploymentStream2Deployments4;
630
-
631
- /**
632
- * The contents of the user message.
633
- */
634
- export type DeploymentStreamMessagesDeploymentsRequestContent =
635
- | string
636
- | Array<
637
- | (components.TextContentPartSchema & { type: "text" })
638
- | components.ImageContentPartSchema
639
- | components.AudioContentPartSchema
640
- | DeploymentStream2Deployments4
641
- >;
642
-
643
- export type DeploymentStreamMessagesUserMessage = {
644
- /**
645
- * The role of the messages author, in this case `user`.
646
- */
647
- role: "user";
648
- /**
649
- * An optional name for the participant. Provides the model information to differentiate between participants of the same role.
650
- */
651
- name?: string | undefined;
652
- /**
653
- * The contents of the user message.
654
- */
655
- content:
656
- | string
657
- | Array<
658
- | (components.TextContentPartSchema & { type: "text" })
659
- | components.ImageContentPartSchema
660
- | components.AudioContentPartSchema
661
- | DeploymentStream2Deployments4
662
- >;
663
- };
664
-
665
- /**
666
- * The contents of the developer message.
667
- */
668
- export type DeploymentStreamMessagesDeploymentsContent =
669
- | string
670
- | Array<components.TextContentPartSchema>;
671
-
672
- export type DeploymentStreamMessagesDeveloperMessage = {
673
- /**
674
- * The role of the messages author, in this case `developer`.
675
- */
676
- role: "developer";
677
- /**
678
- * The contents of the developer message.
679
- */
680
- content: string | Array<components.TextContentPartSchema>;
681
- /**
682
- * An optional name for the participant. Provides the model information to differentiate between participants of the same role.
683
- */
684
- name?: string | undefined;
685
- };
686
-
687
- /**
688
- * The contents of the system message.
689
- */
690
- export type DeploymentStreamMessagesContent =
691
- | string
692
- | Array<components.TextContentPartSchema>;
693
-
694
- /**
695
- * Developer-provided instructions that the model should follow, regardless of messages sent by the user.
696
- */
697
- export type DeploymentStreamMessagesSystemMessage = {
698
- /**
699
- * The role of the messages author, in this case `system`.
700
- */
701
- role: "system";
702
- /**
703
- * The contents of the system message.
704
- */
705
- content: string | Array<components.TextContentPartSchema>;
706
- /**
707
- * An optional name for the participant. Provides the model information to differentiate between participants of the same role.
708
- */
709
- name?: string | undefined;
710
- };
711
-
712
- export type DeploymentStreamMessages =
713
- | DeploymentStreamMessagesSystemMessage
714
- | DeploymentStreamMessagesDeveloperMessage
715
- | DeploymentStreamMessagesUserMessage
716
- | DeploymentStreamMessagesAssistantMessage
717
- | DeploymentStreamMessagesToolMessage;
718
-
719
- /**
720
- * Metadata about the document
721
- */
722
- export type DeploymentStreamMetadata = {
723
- /**
724
- * Name of the file the text is from.
725
- */
726
- fileName?: string | undefined;
727
- /**
728
- * Content type of the file the text is from.
729
- */
730
- fileType?: string | undefined;
731
- /**
732
- * The page number the text is from.
733
- */
734
- pageNumber?: number | undefined;
735
- };
736
-
737
- export type DeploymentStreamDocuments = {
738
- /**
739
- * The text content of the document
740
- */
741
- text: string;
742
- /**
743
- * Metadata about the document
744
- */
745
- metadata?: DeploymentStreamMetadata | undefined;
746
- };
747
-
748
- export type DeploymentStreamInvokeOptions = {
749
- /**
750
- * Whether to include the retrieved knowledge chunks in the response.
751
- */
752
- includeRetrievals?: boolean | undefined;
753
- /**
754
- * Whether to include the usage metrics in the response.
755
- */
756
- includeUsage?: boolean | undefined;
757
- /**
758
- * A mock response to use instead of calling the LLM API. This is useful for testing purposes. When provided, the system will return a response object with this content as the completion, without making an actual API call to the LLM provider. This works for both streaming and non-streaming requests. Mock responses will not generate logs, traces or be counted for your plan usage.
759
- */
760
- mockResponse?: string | undefined;
761
- };
762
-
763
- export type DeploymentStreamThread = {
764
- /**
765
- * Unique thread identifier to group related invocations.
766
- */
767
- id: string;
768
- /**
769
- * Optional tags to differentiate or categorize threads
770
- */
771
- tags?: Array<string> | undefined;
772
- };
773
-
774
- /**
775
- * Exists
776
- */
777
- export type DeploymentStreamOrExists = {
778
- exists: boolean;
779
- };
780
-
781
- export type DeploymentStreamOrDeploymentsNin = string | number | boolean;
782
-
783
- /**
784
- * Not in
785
- */
786
- export type DeploymentStreamOrNin = {
787
- nin: Array<string | number | boolean>;
788
- };
789
-
790
- export type DeploymentStreamOrDeploymentsIn = string | number | boolean;
791
-
792
- /**
793
- * In
794
- */
795
- export type DeploymentStreamOrIn = {
796
- in: Array<string | number | boolean>;
797
- };
798
-
799
- /**
800
- * Less than or equal to
801
- */
802
- export type DeploymentStreamOrLte = {
803
- lte: number;
804
- };
805
-
806
- /**
807
- * Less than
808
- */
809
- export type DeploymentStreamOrLt = {
810
- lt: number;
811
- };
812
-
813
- /**
814
- * Greater than or equal to
815
- */
816
- export type DeploymentStreamOrGte = {
817
- gte: number;
818
- };
819
-
820
- /**
821
- * Greater than
822
- */
823
- export type DeploymentStreamOrGt = {
824
- gt: number;
825
- };
826
-
827
- export type DeploymentStreamOrDeploymentsNe = string | number | boolean;
828
-
829
- /**
830
- * Not equal to
831
- */
832
- export type DeploymentStreamOrNe = {
833
- ne: string | number | boolean;
834
- };
835
-
836
- export type DeploymentStreamOrDeploymentsEq = string | number | boolean;
837
-
838
- /**
839
- * Equal to
840
- */
841
- export type DeploymentStreamOrEq = {
842
- eq: string | number | boolean;
843
- };
844
-
845
- export type DeploymentStreamKnowledgeFilterDeploymentsOr =
846
- | DeploymentStreamOrEq
847
- | DeploymentStreamOrNe
848
- | DeploymentStreamOrGt
849
- | DeploymentStreamOrGte
850
- | DeploymentStreamOrLt
851
- | DeploymentStreamOrLte
852
- | DeploymentStreamOrIn
853
- | DeploymentStreamOrNin
854
- | DeploymentStreamOrExists;
855
-
856
- /**
857
- * Or
858
- */
859
- export type DeploymentStreamKnowledgeFilterOr = {
860
- or: Array<
861
- {
862
- [k: string]:
863
- | DeploymentStreamOrEq
864
- | DeploymentStreamOrNe
865
- | DeploymentStreamOrGt
866
- | DeploymentStreamOrGte
867
- | DeploymentStreamOrLt
868
- | DeploymentStreamOrLte
869
- | DeploymentStreamOrIn
870
- | DeploymentStreamOrNin
871
- | DeploymentStreamOrExists;
872
- }
873
- >;
874
- };
875
-
876
- /**
877
- * Exists
878
- */
879
- export type DeploymentStreamAndExists = {
880
- exists: boolean;
881
- };
882
-
883
- export type DeploymentStreamAndDeploymentsNin = string | number | boolean;
884
-
885
- /**
886
- * Not in
887
- */
888
- export type DeploymentStreamAndNin = {
889
- nin: Array<string | number | boolean>;
890
- };
891
-
892
- export type DeploymentStreamAndDeploymentsIn = string | number | boolean;
893
-
894
- /**
895
- * In
896
- */
897
- export type DeploymentStreamAndIn = {
898
- in: Array<string | number | boolean>;
899
- };
900
-
901
- /**
902
- * Less than or equal to
903
- */
904
- export type DeploymentStreamAndLte = {
905
- lte: number;
906
- };
907
-
908
- /**
909
- * Less than
910
- */
911
- export type DeploymentStreamAndLt = {
912
- lt: number;
913
- };
914
-
915
- /**
916
- * Greater than or equal to
917
- */
918
- export type DeploymentStreamAndGte = {
919
- gte: number;
920
- };
921
-
922
- /**
923
- * Greater than
924
- */
925
- export type DeploymentStreamAndGt = {
926
- gt: number;
927
- };
928
-
929
- export type DeploymentStreamAndDeploymentsNe = string | number | boolean;
930
-
931
- /**
932
- * Not equal to
933
- */
934
- export type DeploymentStreamAndNe = {
935
- ne: string | number | boolean;
936
- };
937
-
938
- export type DeploymentStreamAndDeploymentsEq = string | number | boolean;
939
-
940
- /**
941
- * Equal to
942
- */
943
- export type DeploymentStreamAndEq = {
944
- eq: string | number | boolean;
945
- };
946
-
947
- export type DeploymentStreamKnowledgeFilterDeploymentsAnd =
948
- | DeploymentStreamAndEq
949
- | DeploymentStreamAndNe
950
- | DeploymentStreamAndGt
951
- | DeploymentStreamAndGte
952
- | DeploymentStreamAndLt
953
- | DeploymentStreamAndLte
954
- | DeploymentStreamAndIn
955
- | DeploymentStreamAndNin
956
- | DeploymentStreamAndExists;
957
-
958
- /**
959
- * And
960
- */
961
- export type DeploymentStreamKnowledgeFilterAnd = {
962
- and: Array<
963
- {
964
- [k: string]:
965
- | DeploymentStreamAndEq
966
- | DeploymentStreamAndNe
967
- | DeploymentStreamAndGt
968
- | DeploymentStreamAndGte
969
- | DeploymentStreamAndLt
970
- | DeploymentStreamAndLte
971
- | DeploymentStreamAndIn
972
- | DeploymentStreamAndNin
973
- | DeploymentStreamAndExists;
974
- }
975
- >;
976
- };
977
-
978
- /**
979
- * Exists
980
- */
981
- export type OneExists = {
982
- exists: boolean;
983
- };
984
-
985
- export type DeploymentStream1DeploymentsNin = string | number | boolean;
986
-
987
- /**
988
- * Not in
989
- */
990
- export type DeploymentStream1Nin = {
991
- nin: Array<string | number | boolean>;
992
- };
993
-
994
- export type DeploymentStream1DeploymentsIn = string | number | boolean;
995
-
996
- /**
997
- * In
998
- */
999
- export type DeploymentStream1In = {
1000
- in: Array<string | number | boolean>;
1001
- };
1002
-
1003
- /**
1004
- * Less than or equal to
1005
- */
1006
- export type OneLte = {
1007
- lte: number;
1008
- };
1009
-
1010
- /**
1011
- * Less than
1012
- */
1013
- export type OneLt = {
1014
- lt: number;
1015
- };
1016
-
1017
- /**
1018
- * Greater than or equal to
1019
- */
1020
- export type OneGte = {
1021
- gte: number;
1022
- };
1023
-
1024
- /**
1025
- * Greater than
1026
- */
1027
- export type OneGt = {
1028
- gt: number;
1029
- };
1030
-
1031
- export type DeploymentStream1DeploymentsNe = string | number | boolean;
1032
-
1033
- /**
1034
- * Not equal to
1035
- */
1036
- export type DeploymentStream1Ne = {
1037
- ne: string | number | boolean;
1038
- };
1039
-
1040
- export type DeploymentStream1DeploymentsEq = string | number | boolean;
1041
-
1042
- /**
1043
- * Equal to
1044
- */
1045
- export type DeploymentStream1Eq = {
1046
- eq: string | number | boolean;
1047
- };
1048
-
1049
- export type DeploymentStreamKnowledgeFilter1 =
1050
- | DeploymentStream1Eq
1051
- | DeploymentStream1Ne
1052
- | OneGt
1053
- | OneGte
1054
- | OneLt
1055
- | OneLte
1056
- | DeploymentStream1In
1057
- | DeploymentStream1Nin
1058
- | OneExists;
1059
-
1060
- /**
1061
- * A filter to apply to the knowledge base chunk metadata when using knowledge bases in the deployment.
1062
- */
1063
- export type DeploymentStreamKnowledgeFilter =
1064
- | DeploymentStreamKnowledgeFilterAnd
1065
- | DeploymentStreamKnowledgeFilterOr
1066
- | {
1067
- [k: string]:
1068
- | DeploymentStream1Eq
1069
- | DeploymentStream1Ne
1070
- | OneGt
1071
- | OneGte
1072
- | OneLt
1073
- | OneLte
1074
- | DeploymentStream1In
1075
- | DeploymentStream1Nin
1076
- | OneExists;
1077
- };
1078
-
1079
- export type DeploymentStreamRequestBody = {
1080
- /**
1081
- * The deployment key to invoke
1082
- */
1083
- key: string;
1084
- /**
1085
- * Key-value pairs variables to replace in your prompts. If a variable is not provided that is defined in the prompt, the default variables are used.
1086
- */
1087
- inputs?: { [k: string]: any } | undefined;
1088
- /**
1089
- * Key-value pairs that match your data model and fields declared in your deployment routing configuration
1090
- */
1091
- context?: { [k: string]: any } | undefined;
1092
- /**
1093
- * A list of messages to include after the `System` message, but before the `User` and `Assistant` pairs configured in your deployment.
1094
- */
1095
- prefixMessages?:
1096
- | Array<
1097
- | PrefixMessagesSystemMessage
1098
- | PrefixMessagesDeveloperMessage
1099
- | PrefixMessagesUserMessage
1100
- | PrefixMessagesAssistantMessage
1101
- | PrefixMessagesToolMessage
1102
- >
1103
- | undefined;
1104
- /**
1105
- * A list of messages to send to the deployment.
1106
- */
1107
- messages?:
1108
- | Array<
1109
- | DeploymentStreamMessagesSystemMessage
1110
- | DeploymentStreamMessagesDeveloperMessage
1111
- | DeploymentStreamMessagesUserMessage
1112
- | DeploymentStreamMessagesAssistantMessage
1113
- | DeploymentStreamMessagesToolMessage
1114
- >
1115
- | undefined;
1116
- /**
1117
- * Information about the identity making the request. If the identity does not exist, it will be created automatically.
1118
- */
1119
- identity?: components.PublicIdentity | undefined;
1120
- /**
1121
- * A list of file IDs that are associated with the deployment request.
1122
- */
1123
- fileIds?: Array<string> | undefined;
1124
- /**
1125
- * Key-value pairs that you want to attach to the log generated by this request.
1126
- */
1127
- metadata?: { [k: string]: any } | undefined;
1128
- /**
1129
- * Utilized for passing additional parameters to the model provider. Exercise caution when using this feature, as the included parameters will overwrite any parameters specified in the deployment prompt configuration.
1130
- */
1131
- extraParams?: { [k: string]: any } | undefined;
1132
- /**
1133
- * A list of documents from your external knowledge base (e.g., chunks retrieved from your own vector database or RAG pipeline) that provide context for the model response. These documents can be used by evaluators and guardrails to assess the relevance and accuracy of the model output against the provided context.
1134
- */
1135
- documents?: Array<DeploymentStreamDocuments> | undefined;
1136
- invokeOptions?: DeploymentStreamInvokeOptions | undefined;
1137
- thread?: DeploymentStreamThread | undefined;
1138
- /**
1139
- * A filter to apply to the knowledge base chunk metadata when using knowledge bases in the deployment.
1140
- */
1141
- knowledgeFilter?:
1142
- | DeploymentStreamKnowledgeFilterAnd
1143
- | DeploymentStreamKnowledgeFilterOr
1144
- | {
1145
- [k: string]:
1146
- | DeploymentStream1Eq
1147
- | DeploymentStream1Ne
1148
- | OneGt
1149
- | OneGte
1150
- | OneLt
1151
- | OneLte
1152
- | DeploymentStream1In
1153
- | DeploymentStream1Nin
1154
- | OneExists;
1155
- }
1156
- | undefined;
1157
- };
1158
-
1159
- /**
1160
- * Indicates the type of model used to generate the response
1161
- */
1162
- export const DeploymentStreamObject = {
1163
- Chat: "chat",
1164
- Completion: "completion",
1165
- Image: "image",
1166
- } as const;
1167
- /**
1168
- * Indicates the type of model used to generate the response
1169
- */
1170
- export type DeploymentStreamObject = ClosedEnum<typeof DeploymentStreamObject>;
1171
-
1172
- /**
1173
- * The provider used to generate the response
1174
- */
1175
- export const DeploymentStreamProvider = {
1176
- Openai: "openai",
1177
- Groq: "groq",
1178
- Cohere: "cohere",
1179
- Azure: "azure",
1180
- Aws: "aws",
1181
- Google: "google",
1182
- GoogleAi: "google-ai",
1183
- Huggingface: "huggingface",
1184
- Togetherai: "togetherai",
1185
- Perplexity: "perplexity",
1186
- Anthropic: "anthropic",
1187
- Leonardoai: "leonardoai",
1188
- Fal: "fal",
1189
- Nvidia: "nvidia",
1190
- Jina: "jina",
1191
- Elevenlabs: "elevenlabs",
1192
- Litellm: "litellm",
1193
- Cerebras: "cerebras",
1194
- Openailike: "openailike",
1195
- Bytedance: "bytedance",
1196
- Mistral: "mistral",
1197
- Deepseek: "deepseek",
1198
- Moonshotai: "moonshotai",
1199
- Zai: "zai",
1200
- Minimax: "minimax",
1201
- Xai: "xai",
1202
- Alibaba: "alibaba",
1203
- Tensorix: "tensorix",
1204
- Scaleway: "scaleway",
1205
- Hcompany: "hcompany",
1206
- Inceptron: "inceptron",
1207
- Wafer: "wafer",
1208
- Poolside: "poolside",
1209
- Tencent: "tencent",
1210
- Nebius: "nebius",
1211
- Fireworks: "fireworks",
1212
- Baseten: "baseten",
1213
- Reson8: "reson8",
1214
- Slack: "slack",
1215
- Orq: "orq",
1216
- } as const;
1217
- /**
1218
- * The provider used to generate the response
1219
- */
1220
- export type DeploymentStreamProvider = ClosedEnum<
1221
- typeof DeploymentStreamProvider
1222
- >;
1223
-
1224
- export type DeploymentStreamTelemetry = {
1225
- /**
1226
- * The trace id for the request that generated this response
1227
- */
1228
- traceId: string;
1229
- /**
1230
- * The span id for the request that generated this response
1231
- */
1232
- spanId: string;
1233
- };
1234
-
1235
- /**
1236
- * Metadata of the retrieved chunk from the knowledge base
1237
- */
1238
- export type DeploymentStreamDeploymentsMetadata = {
1239
- /**
1240
- * Name of the file
1241
- */
1242
- fileName: string;
1243
- /**
1244
- * Page number of the chunk
1245
- */
1246
- pageNumber: number | null;
1247
- /**
1248
- * Type of the file
1249
- */
1250
- fileType: string;
1251
- /**
1252
- * Rerank scores are normalized to be in the range [0, 1]. Scores close to 1 indicate a high relevance to the query, and scores closer to 0 indicate low relevance. It is not accurate to assume a score of 0.9 means the document is 2x more relevant than a document with a score of 0.45
1253
- */
1254
- rerankScore?: number | undefined;
1255
- /**
1256
- * Search scores are normalized to be in the range [0, 1]. Search score is calculated based on `[Cosine Similarity](https://en.wikipedia.org/wiki/Cosine_similarity)` algorithm. Scores close to 1 indicate the document is closer to the query, and scores closer to 0 indicate the document is farther from the query.
1257
- */
1258
- searchScore: number;
1259
- };
1260
-
1261
- export type DeploymentStreamRetrievals = {
1262
- /**
1263
- * Content of the retrieved chunk from the knowledge base
1264
- */
1265
- document: string;
1266
- /**
1267
- * Metadata of the retrieved chunk from the knowledge base
1268
- */
1269
- metadata: DeploymentStreamDeploymentsMetadata;
1270
- };
1271
-
1272
- export type DeploymentStreamPromptTokensDetails = {
1273
- cachedTokens?: number | null | undefined;
1274
- };
1275
-
1276
- export type DeploymentStreamCompletionTokensDetails = {
1277
- reasoningTokens?: number | null | undefined;
1278
- };
1279
-
1280
- /**
1281
- * Usage metrics for the response
1282
- */
1283
- export type DeploymentStreamUsage = {
1284
- totalTokens?: number | undefined;
1285
- promptTokens?: number | undefined;
1286
- completionTokens?: number | undefined;
1287
- promptTokensDetails?: DeploymentStreamPromptTokensDetails | undefined;
1288
- completionTokensDetails?:
1289
- | DeploymentStreamCompletionTokensDetails
1290
- | null
1291
- | undefined;
1292
- };
1293
-
1294
- /**
1295
- * The role of the prompt message
1296
- */
1297
- export const DeploymentStreamMessageDeploymentsResponseRole = {
1298
- System: "system",
1299
- Developer: "developer",
1300
- Assistant: "assistant",
1301
- User: "user",
1302
- Exception: "exception",
1303
- Tool: "tool",
1304
- Prompt: "prompt",
1305
- Correction: "correction",
1306
- ExpectedOutput: "expected_output",
1307
- } as const;
1308
- /**
1309
- * The role of the prompt message
1310
- */
1311
- export type DeploymentStreamMessageDeploymentsResponseRole = ClosedEnum<
1312
- typeof DeploymentStreamMessageDeploymentsResponseRole
1313
- >;
1314
-
1315
- export type DeploymentStreamMessage3 = {
1316
- type: "image";
1317
- /**
1318
- * The role of the prompt message
1319
- */
1320
- role: DeploymentStreamMessageDeploymentsResponseRole;
1321
- url: string;
1322
- };
1323
-
1324
- /**
1325
- * The role of the prompt message
1326
- */
1327
- export const DeploymentStreamMessageDeploymentsRole = {
1328
- System: "system",
1329
- Developer: "developer",
1330
- Assistant: "assistant",
1331
- User: "user",
1332
- Exception: "exception",
1333
- Tool: "tool",
1334
- Prompt: "prompt",
1335
- Correction: "correction",
1336
- ExpectedOutput: "expected_output",
1337
- } as const;
1338
- /**
1339
- * The role of the prompt message
1340
- */
1341
- export type DeploymentStreamMessageDeploymentsRole = ClosedEnum<
1342
- typeof DeploymentStreamMessageDeploymentsRole
1343
- >;
1344
-
1345
- export type DeploymentStreamMessage2 = {
1346
- type: "content";
1347
- /**
1348
- * The role of the prompt message
1349
- */
1350
- role: DeploymentStreamMessageDeploymentsRole;
1351
- content: string | null;
1352
- /**
1353
- * Internal thought process of the model
1354
- */
1355
- reasoning?: string | undefined;
1356
- /**
1357
- * The signature holds a cryptographic token which verifies that the thinking block was generated by the model, and is verified when thinking is part of a multiturn conversation. This value should not be modified and should always be sent to the API when the reasoning is redacted. Currently only supported by `Anthropic`.
1358
- */
1359
- reasoningSignature?: string | undefined;
1360
- /**
1361
- * Occasionally the model's internal reasoning will be flagged by the safety systems of the provider. When this occurs, the provider will encrypt the reasoning. These redacted reasoning is decrypted when passed back to the API, allowing the model to continue its response without losing context.
1362
- */
1363
- redactedReasoning?: string | undefined;
1364
- };
1365
-
1366
- /**
1367
- * The role of the prompt message
1368
- */
1369
- export const DeploymentStreamMessageRole = {
1370
- System: "system",
1371
- Developer: "developer",
1372
- Assistant: "assistant",
1373
- User: "user",
1374
- Exception: "exception",
1375
- Tool: "tool",
1376
- Prompt: "prompt",
1377
- Correction: "correction",
1378
- ExpectedOutput: "expected_output",
1379
- } as const;
1380
- /**
1381
- * The role of the prompt message
1382
- */
1383
- export type DeploymentStreamMessageRole = ClosedEnum<
1384
- typeof DeploymentStreamMessageRole
1385
- >;
1386
-
1387
- export const DeploymentStreamMessageDeploymentsResponse200Type = {
1388
- Function: "function",
1389
- } as const;
1390
- export type DeploymentStreamMessageDeploymentsResponse200Type = ClosedEnum<
1391
- typeof DeploymentStreamMessageDeploymentsResponse200Type
1392
- >;
1393
-
1394
- export type DeploymentStreamMessageFunction = {
1395
- name: string;
1396
- /**
1397
- * JSON string arguments for the functions
1398
- */
1399
- arguments: string;
1400
- };
1401
-
1402
- export type DeploymentStreamMessageToolCalls = {
1403
- id?: string | undefined;
1404
- index?: number | undefined;
1405
- type: DeploymentStreamMessageDeploymentsResponse200Type;
1406
- function: DeploymentStreamMessageFunction;
1407
- };
1408
-
1409
- export type DeploymentStreamMessage1 = {
1410
- type: "tool_calls";
1411
- /**
1412
- * The role of the prompt message
1413
- */
1414
- role: DeploymentStreamMessageRole;
1415
- content?: string | null | undefined;
1416
- toolCalls: Array<DeploymentStreamMessageToolCalls>;
1417
- /**
1418
- * Internal thought process of the model
1419
- */
1420
- reasoning?: string | undefined;
1421
- /**
1422
- * The signature holds a cryptographic token which verifies that the thinking block was generated by the model, and is verified when thinking is part of a multiturn conversation. This value should not be modified and should always be sent to the API when the reasoning is redacted. Currently only supported by `Anthropic`.
1423
- */
1424
- reasoningSignature?: string | undefined;
1425
- /**
1426
- * Occasionally the model's internal reasoning will be flagged by the safety systems of the provider. When this occurs, the provider will encrypt the reasoning. These redacted reasoning is decrypted when passed back to the API, allowing the model to continue its response without losing context.
1427
- */
1428
- redactedReasoning?: string | undefined;
1429
- };
1430
-
1431
- export type DeploymentStreamMessage =
1432
- | DeploymentStreamMessage1
1433
- | DeploymentStreamMessage2
1434
- | DeploymentStreamMessage3;
1435
-
1436
- export type DeploymentStreamChoices = {
1437
- index: number;
1438
- message:
1439
- | DeploymentStreamMessage1
1440
- | DeploymentStreamMessage2
1441
- | DeploymentStreamMessage3;
1442
- finishReason?: string | null | undefined;
1443
- };
1444
-
1445
- export type DeploymentStreamData = {
1446
- /**
1447
- * A unique identifier for the response. Can be used to add metrics to the transaction.
1448
- */
1449
- id: string;
1450
- /**
1451
- * A timestamp indicating when the object was created. Usually in a standardized format like ISO 8601
1452
- */
1453
- created: Date;
1454
- /**
1455
- * Indicates the type of model used to generate the response
1456
- */
1457
- object: DeploymentStreamObject;
1458
- /**
1459
- * The model used to generate the response
1460
- */
1461
- model: string;
1462
- /**
1463
- * The provider used to generate the response
1464
- */
1465
- provider: DeploymentStreamProvider;
1466
- /**
1467
- * Indicates if the response is the final response
1468
- */
1469
- isFinal: boolean;
1470
- /**
1471
- * Indicates integration id used to generate the response
1472
- */
1473
- integrationId?: string | undefined;
1474
- telemetry: DeploymentStreamTelemetry;
1475
- /**
1476
- * A timestamp indicating when the object was finalized. Usually in a standardized format like ISO 8601
1477
- */
1478
- finalized?: Date | undefined;
1479
- /**
1480
- * Provider backed system fingerprint.
1481
- */
1482
- systemFingerprint?: string | null | undefined;
1483
- /**
1484
- * List of documents retrieved from the knowledge base. This property is only available when the `include_retrievals` flag is set to `true` in the invoke settings. When stream is set to true, the `retrievals` property will be returned in the last streamed chunk where the property `is_final` is set to `true`.
1485
- */
1486
- retrievals?: Array<DeploymentStreamRetrievals> | undefined;
1487
- /**
1488
- * Response returned by the model provider. This functionality is only supported when streaming is not used. If streaming is used, the `provider_response` property will be set to `null`.
1489
- */
1490
- providerResponse?: any | undefined;
1491
- /**
1492
- * Usage metrics for the response
1493
- */
1494
- usage?: DeploymentStreamUsage | null | undefined;
1495
- /**
1496
- * A list of choices generated by the model
1497
- */
1498
- choices: Array<DeploymentStreamChoices>;
1499
- };
1500
-
1501
- /**
1502
- * Successful operation
1503
- */
1504
- export type DeploymentStreamResponseBody = {
1505
- data?: DeploymentStreamData | undefined;
1506
- };
1507
-
1508
- /** @internal */
1509
- export type DeploymentStreamContentDeploymentsRequest2$Outbound =
1510
- components.TextContentPartSchema$Outbound;
1511
-
1512
- /** @internal */
1513
- export const DeploymentStreamContentDeploymentsRequest2$outboundSchema:
1514
- z.ZodType<
1515
- DeploymentStreamContentDeploymentsRequest2$Outbound,
1516
- z.ZodTypeDef,
1517
- DeploymentStreamContentDeploymentsRequest2
1518
- > = components.TextContentPartSchema$outboundSchema;
1519
-
1520
- export function deploymentStreamContentDeploymentsRequest2ToJSON(
1521
- deploymentStreamContentDeploymentsRequest2:
1522
- DeploymentStreamContentDeploymentsRequest2,
1523
- ): string {
1524
- return JSON.stringify(
1525
- DeploymentStreamContentDeploymentsRequest2$outboundSchema.parse(
1526
- deploymentStreamContentDeploymentsRequest2,
1527
- ),
1528
- );
1529
- }
1530
-
1531
- /** @internal */
1532
- export type DeploymentStreamPrefixMessagesDeploymentsRequestRequestBody5Content$Outbound =
1533
- | string
1534
- | Array<components.TextContentPartSchema$Outbound>;
1535
-
1536
- /** @internal */
1537
- export const DeploymentStreamPrefixMessagesDeploymentsRequestRequestBody5Content$outboundSchema:
1538
- z.ZodType<
1539
- DeploymentStreamPrefixMessagesDeploymentsRequestRequestBody5Content$Outbound,
1540
- z.ZodTypeDef,
1541
- DeploymentStreamPrefixMessagesDeploymentsRequestRequestBody5Content
1542
- > = z.union([
1543
- z.string(),
1544
- z.array(components.TextContentPartSchema$outboundSchema),
1545
- ]);
1546
-
1547
- export function deploymentStreamPrefixMessagesDeploymentsRequestRequestBody5ContentToJSON(
1548
- deploymentStreamPrefixMessagesDeploymentsRequestRequestBody5Content:
1549
- DeploymentStreamPrefixMessagesDeploymentsRequestRequestBody5Content,
1550
- ): string {
1551
- return JSON.stringify(
1552
- DeploymentStreamPrefixMessagesDeploymentsRequestRequestBody5Content$outboundSchema
1553
- .parse(
1554
- deploymentStreamPrefixMessagesDeploymentsRequestRequestBody5Content,
1555
- ),
1556
- );
1557
- }
1558
-
1559
- /** @internal */
1560
- export const DeploymentStreamPrefixMessagesDeploymentsType$outboundSchema:
1561
- z.ZodNativeEnum<typeof DeploymentStreamPrefixMessagesDeploymentsType> = z
1562
- .nativeEnum(DeploymentStreamPrefixMessagesDeploymentsType);
1563
-
1564
- /** @internal */
1565
- export const DeploymentStreamPrefixMessagesTtl$outboundSchema: z.ZodNativeEnum<
1566
- typeof DeploymentStreamPrefixMessagesTtl
1567
- > = z.nativeEnum(DeploymentStreamPrefixMessagesTtl);
1568
-
1569
- /** @internal */
1570
- export type DeploymentStreamPrefixMessagesCacheControl$Outbound = {
1571
- type: string;
1572
- ttl: string;
1573
- };
1574
-
1575
- /** @internal */
1576
- export const DeploymentStreamPrefixMessagesCacheControl$outboundSchema:
1577
- z.ZodType<
1578
- DeploymentStreamPrefixMessagesCacheControl$Outbound,
1579
- z.ZodTypeDef,
1580
- DeploymentStreamPrefixMessagesCacheControl
1581
- > = z.object({
1582
- type: DeploymentStreamPrefixMessagesDeploymentsType$outboundSchema,
1583
- ttl: DeploymentStreamPrefixMessagesTtl$outboundSchema.default("5m"),
1584
- });
1585
-
1586
- export function deploymentStreamPrefixMessagesCacheControlToJSON(
1587
- deploymentStreamPrefixMessagesCacheControl:
1588
- DeploymentStreamPrefixMessagesCacheControl,
1589
- ): string {
1590
- return JSON.stringify(
1591
- DeploymentStreamPrefixMessagesCacheControl$outboundSchema.parse(
1592
- deploymentStreamPrefixMessagesCacheControl,
1593
- ),
1594
- );
1595
- }
1596
-
1597
- /** @internal */
1598
- export type PrefixMessagesToolMessage$Outbound = {
1599
- role: "tool";
1600
- content: string | Array<components.TextContentPartSchema$Outbound>;
1601
- tool_call_id: string | null;
1602
- cache_control?:
1603
- | DeploymentStreamPrefixMessagesCacheControl$Outbound
1604
- | undefined;
1605
- };
1606
-
1607
- /** @internal */
1608
- export const PrefixMessagesToolMessage$outboundSchema: z.ZodType<
1609
- PrefixMessagesToolMessage$Outbound,
1610
- z.ZodTypeDef,
1611
- PrefixMessagesToolMessage
1612
- > = z.object({
1613
- role: z.literal("tool"),
1614
- content: z.union([
1615
- z.string(),
1616
- z.array(components.TextContentPartSchema$outboundSchema),
1617
- ]),
1618
- toolCallId: z.nullable(z.string()),
1619
- cacheControl: z.lazy(() =>
1620
- DeploymentStreamPrefixMessagesCacheControl$outboundSchema
1621
- ).optional(),
1622
- }).transform((v) => {
1623
- return remap$(v, {
1624
- toolCallId: "tool_call_id",
1625
- cacheControl: "cache_control",
1626
- });
1627
- });
1628
-
1629
- export function prefixMessagesToolMessageToJSON(
1630
- prefixMessagesToolMessage: PrefixMessagesToolMessage,
1631
- ): string {
1632
- return JSON.stringify(
1633
- PrefixMessagesToolMessage$outboundSchema.parse(prefixMessagesToolMessage),
1634
- );
1635
- }
1636
-
1637
- /** @internal */
1638
- export type DeploymentStreamContentDeployments2$Outbound =
1639
- | (components.TextContentPartSchema$Outbound & { type: "text" })
1640
- | components.RefusalPartSchema$Outbound
1641
- | components.ReasoningPartSchema$Outbound
1642
- | components.RedactedReasoningPartSchema$Outbound;
1643
-
1644
- /** @internal */
1645
- export const DeploymentStreamContentDeployments2$outboundSchema: z.ZodType<
1646
- DeploymentStreamContentDeployments2$Outbound,
1647
- z.ZodTypeDef,
1648
- DeploymentStreamContentDeployments2
1649
- > = z.union([
1650
- components.TextContentPartSchema$outboundSchema.and(
1651
- z.object({ type: z.literal("text") }),
1652
- ),
1653
- components.RefusalPartSchema$outboundSchema,
1654
- components.ReasoningPartSchema$outboundSchema,
1655
- components.RedactedReasoningPartSchema$outboundSchema,
1656
- ]);
1657
-
1658
- export function deploymentStreamContentDeployments2ToJSON(
1659
- deploymentStreamContentDeployments2: DeploymentStreamContentDeployments2,
1660
- ): string {
1661
- return JSON.stringify(
1662
- DeploymentStreamContentDeployments2$outboundSchema.parse(
1663
- deploymentStreamContentDeployments2,
1664
- ),
1665
- );
1666
- }
1667
-
1668
- /** @internal */
1669
- export type DeploymentStreamPrefixMessagesDeploymentsRequestRequestBodyContent$Outbound =
1670
- | string
1671
- | Array<
1672
- | (components.TextContentPartSchema$Outbound & { type: "text" })
1673
- | components.RefusalPartSchema$Outbound
1674
- | components.ReasoningPartSchema$Outbound
1675
- | components.RedactedReasoningPartSchema$Outbound
1676
- >;
1677
-
1678
- /** @internal */
1679
- export const DeploymentStreamPrefixMessagesDeploymentsRequestRequestBodyContent$outboundSchema:
1680
- z.ZodType<
1681
- DeploymentStreamPrefixMessagesDeploymentsRequestRequestBodyContent$Outbound,
1682
- z.ZodTypeDef,
1683
- DeploymentStreamPrefixMessagesDeploymentsRequestRequestBodyContent
1684
- > = z.union([
1685
- z.string(),
1686
- z.array(
1687
- z.union([
1688
- components.TextContentPartSchema$outboundSchema.and(
1689
- z.object({ type: z.literal("text") }),
1690
- ),
1691
- components.RefusalPartSchema$outboundSchema,
1692
- components.ReasoningPartSchema$outboundSchema,
1693
- components.RedactedReasoningPartSchema$outboundSchema,
1694
- ]),
1695
- ),
1696
- ]);
1697
-
1698
- export function deploymentStreamPrefixMessagesDeploymentsRequestRequestBodyContentToJSON(
1699
- deploymentStreamPrefixMessagesDeploymentsRequestRequestBodyContent:
1700
- DeploymentStreamPrefixMessagesDeploymentsRequestRequestBodyContent,
1701
- ): string {
1702
- return JSON.stringify(
1703
- DeploymentStreamPrefixMessagesDeploymentsRequestRequestBodyContent$outboundSchema
1704
- .parse(
1705
- deploymentStreamPrefixMessagesDeploymentsRequestRequestBodyContent,
1706
- ),
1707
- );
1708
- }
1709
-
1710
- /** @internal */
1711
- export type PrefixMessagesAudio$Outbound = {
1712
- id: string;
1713
- };
1714
-
1715
- /** @internal */
1716
- export const PrefixMessagesAudio$outboundSchema: z.ZodType<
1717
- PrefixMessagesAudio$Outbound,
1718
- z.ZodTypeDef,
1719
- PrefixMessagesAudio
1720
- > = z.object({
1721
- id: z.string(),
1722
- });
1723
-
1724
- export function prefixMessagesAudioToJSON(
1725
- prefixMessagesAudio: PrefixMessagesAudio,
1726
- ): string {
1727
- return JSON.stringify(
1728
- PrefixMessagesAudio$outboundSchema.parse(prefixMessagesAudio),
1729
- );
1730
- }
1731
-
1732
- /** @internal */
1733
- export const DeploymentStreamPrefixMessagesType$outboundSchema: z.ZodNativeEnum<
1734
- typeof DeploymentStreamPrefixMessagesType
1735
- > = z.nativeEnum(DeploymentStreamPrefixMessagesType);
1736
-
1737
- /** @internal */
1738
- export type DeploymentStreamPrefixMessagesFunction$Outbound = {
1739
- name?: string | undefined;
1740
- arguments?: string | undefined;
1741
- };
1742
-
1743
- /** @internal */
1744
- export const DeploymentStreamPrefixMessagesFunction$outboundSchema: z.ZodType<
1745
- DeploymentStreamPrefixMessagesFunction$Outbound,
1746
- z.ZodTypeDef,
1747
- DeploymentStreamPrefixMessagesFunction
1748
- > = z.object({
1749
- name: z.string().optional(),
1750
- arguments: z.string().optional(),
1751
- });
1752
-
1753
- export function deploymentStreamPrefixMessagesFunctionToJSON(
1754
- deploymentStreamPrefixMessagesFunction:
1755
- DeploymentStreamPrefixMessagesFunction,
1756
- ): string {
1757
- return JSON.stringify(
1758
- DeploymentStreamPrefixMessagesFunction$outboundSchema.parse(
1759
- deploymentStreamPrefixMessagesFunction,
1760
- ),
1761
- );
1762
- }
1763
-
1764
- /** @internal */
1765
- export type DeploymentStreamPrefixMessagesToolCalls$Outbound = {
1766
- id: string;
1767
- type: string;
1768
- function: DeploymentStreamPrefixMessagesFunction$Outbound;
1769
- thought_signature?: string | undefined;
1770
- };
1771
-
1772
- /** @internal */
1773
- export const DeploymentStreamPrefixMessagesToolCalls$outboundSchema: z.ZodType<
1774
- DeploymentStreamPrefixMessagesToolCalls$Outbound,
1775
- z.ZodTypeDef,
1776
- DeploymentStreamPrefixMessagesToolCalls
1777
- > = z.object({
1778
- id: z.string(),
1779
- type: DeploymentStreamPrefixMessagesType$outboundSchema,
1780
- function: z.lazy(() => DeploymentStreamPrefixMessagesFunction$outboundSchema),
1781
- thoughtSignature: z.string().optional(),
1782
- }).transform((v) => {
1783
- return remap$(v, {
1784
- thoughtSignature: "thought_signature",
1785
- });
1786
- });
1787
-
1788
- export function deploymentStreamPrefixMessagesToolCallsToJSON(
1789
- deploymentStreamPrefixMessagesToolCalls:
1790
- DeploymentStreamPrefixMessagesToolCalls,
1791
- ): string {
1792
- return JSON.stringify(
1793
- DeploymentStreamPrefixMessagesToolCalls$outboundSchema.parse(
1794
- deploymentStreamPrefixMessagesToolCalls,
1795
- ),
1796
- );
1797
- }
1798
-
1799
- /** @internal */
1800
- export type PrefixMessagesAssistantMessage$Outbound = {
1801
- content?:
1802
- | string
1803
- | Array<
1804
- | (components.TextContentPartSchema$Outbound & { type: "text" })
1805
- | components.RefusalPartSchema$Outbound
1806
- | components.ReasoningPartSchema$Outbound
1807
- | components.RedactedReasoningPartSchema$Outbound
1808
- >
1809
- | null
1810
- | undefined;
1811
- refusal?: string | null | undefined;
1812
- role: "assistant";
1813
- name?: string | undefined;
1814
- audio?: PrefixMessagesAudio$Outbound | null | undefined;
1815
- tool_calls?:
1816
- | Array<DeploymentStreamPrefixMessagesToolCalls$Outbound>
1817
- | undefined;
1818
- };
1819
-
1820
- /** @internal */
1821
- export const PrefixMessagesAssistantMessage$outboundSchema: z.ZodType<
1822
- PrefixMessagesAssistantMessage$Outbound,
1823
- z.ZodTypeDef,
1824
- PrefixMessagesAssistantMessage
1825
- > = z.object({
1826
- content: z.nullable(
1827
- z.union([
1828
- z.string(),
1829
- z.array(
1830
- z.union([
1831
- components.TextContentPartSchema$outboundSchema.and(
1832
- z.object({ type: z.literal("text") }),
1833
- ),
1834
- components.RefusalPartSchema$outboundSchema,
1835
- components.ReasoningPartSchema$outboundSchema,
1836
- components.RedactedReasoningPartSchema$outboundSchema,
1837
- ]),
1838
- ),
1839
- ]),
1840
- ).optional(),
1841
- refusal: z.nullable(z.string()).optional(),
1842
- role: z.literal("assistant"),
1843
- name: z.string().optional(),
1844
- audio: z.nullable(z.lazy(() => PrefixMessagesAudio$outboundSchema))
1845
- .optional(),
1846
- toolCalls: z.array(
1847
- z.lazy(() => DeploymentStreamPrefixMessagesToolCalls$outboundSchema),
1848
- ).optional(),
1849
- }).transform((v) => {
1850
- return remap$(v, {
1851
- toolCalls: "tool_calls",
1852
- });
1853
- });
1854
-
1855
- export function prefixMessagesAssistantMessageToJSON(
1856
- prefixMessagesAssistantMessage: PrefixMessagesAssistantMessage,
1857
- ): string {
1858
- return JSON.stringify(
1859
- PrefixMessagesAssistantMessage$outboundSchema.parse(
1860
- prefixMessagesAssistantMessage,
1861
- ),
1862
- );
1863
- }
1864
-
1865
- /** @internal */
1866
- export const DeploymentStream2DeploymentsType$outboundSchema: z.ZodNativeEnum<
1867
- typeof DeploymentStream2DeploymentsType
1868
- > = z.nativeEnum(DeploymentStream2DeploymentsType);
1869
-
1870
- /** @internal */
1871
- export const DeploymentStream2Ttl$outboundSchema: z.ZodNativeEnum<
1872
- typeof DeploymentStream2Ttl
1873
- > = z.nativeEnum(DeploymentStream2Ttl);
1874
-
1875
- /** @internal */
1876
- export type DeploymentStream2CacheControl$Outbound = {
1877
- type: string;
1878
- ttl: string;
1879
- };
1880
-
1881
- /** @internal */
1882
- export const DeploymentStream2CacheControl$outboundSchema: z.ZodType<
1883
- DeploymentStream2CacheControl$Outbound,
1884
- z.ZodTypeDef,
1885
- DeploymentStream2CacheControl
1886
- > = z.object({
1887
- type: DeploymentStream2DeploymentsType$outboundSchema,
1888
- ttl: DeploymentStream2Ttl$outboundSchema.default("5m"),
1889
- });
1890
-
1891
- export function deploymentStream2CacheControlToJSON(
1892
- deploymentStream2CacheControl: DeploymentStream2CacheControl,
1893
- ): string {
1894
- return JSON.stringify(
1895
- DeploymentStream2CacheControl$outboundSchema.parse(
1896
- deploymentStream2CacheControl,
1897
- ),
1898
- );
1899
- }
1900
-
1901
- /** @internal */
1902
- export type DeploymentStream24$Outbound = {
1903
- type: "file";
1904
- cache_control?: DeploymentStream2CacheControl$Outbound | undefined;
1905
- file: components.FileContentPartSchema$Outbound;
1906
- };
1907
-
1908
- /** @internal */
1909
- export const DeploymentStream24$outboundSchema: z.ZodType<
1910
- DeploymentStream24$Outbound,
1911
- z.ZodTypeDef,
1912
- DeploymentStream24
1913
- > = z.object({
1914
- type: z.literal("file"),
1915
- cacheControl: z.lazy(() => DeploymentStream2CacheControl$outboundSchema)
1916
- .optional(),
1917
- file: components.FileContentPartSchema$outboundSchema,
1918
- }).transform((v) => {
1919
- return remap$(v, {
1920
- cacheControl: "cache_control",
1921
- });
1922
- });
1923
-
1924
- export function deploymentStream24ToJSON(
1925
- deploymentStream24: DeploymentStream24,
1926
- ): string {
1927
- return JSON.stringify(
1928
- DeploymentStream24$outboundSchema.parse(deploymentStream24),
1929
- );
1930
- }
1931
-
1932
- /** @internal */
1933
- export type DeploymentStreamContent2$Outbound =
1934
- | (components.TextContentPartSchema$Outbound & { type: "text" })
1935
- | components.ImageContentPartSchema$Outbound
1936
- | components.AudioContentPartSchema$Outbound
1937
- | DeploymentStream24$Outbound;
1938
-
1939
- /** @internal */
1940
- export const DeploymentStreamContent2$outboundSchema: z.ZodType<
1941
- DeploymentStreamContent2$Outbound,
1942
- z.ZodTypeDef,
1943
- DeploymentStreamContent2
1944
- > = z.union([
1945
- components.TextContentPartSchema$outboundSchema.and(
1946
- z.object({ type: z.literal("text") }),
1947
- ),
1948
- components.ImageContentPartSchema$outboundSchema,
1949
- components.AudioContentPartSchema$outboundSchema,
1950
- z.lazy(() => DeploymentStream24$outboundSchema),
1951
- ]);
1952
-
1953
- export function deploymentStreamContent2ToJSON(
1954
- deploymentStreamContent2: DeploymentStreamContent2,
1955
- ): string {
1956
- return JSON.stringify(
1957
- DeploymentStreamContent2$outboundSchema.parse(deploymentStreamContent2),
1958
- );
1959
- }
1960
-
1961
- /** @internal */
1962
- export type DeploymentStreamPrefixMessagesDeploymentsRequestContent$Outbound =
1963
- | string
1964
- | Array<
1965
- | (components.TextContentPartSchema$Outbound & { type: "text" })
1966
- | components.ImageContentPartSchema$Outbound
1967
- | components.AudioContentPartSchema$Outbound
1968
- | DeploymentStream24$Outbound
1969
- >;
1970
-
1971
- /** @internal */
1972
- export const DeploymentStreamPrefixMessagesDeploymentsRequestContent$outboundSchema:
1973
- z.ZodType<
1974
- DeploymentStreamPrefixMessagesDeploymentsRequestContent$Outbound,
1975
- z.ZodTypeDef,
1976
- DeploymentStreamPrefixMessagesDeploymentsRequestContent
1977
- > = z.union([
1978
- z.string(),
1979
- z.array(
1980
- z.union([
1981
- components.TextContentPartSchema$outboundSchema.and(
1982
- z.object({ type: z.literal("text") }),
1983
- ),
1984
- components.ImageContentPartSchema$outboundSchema,
1985
- components.AudioContentPartSchema$outboundSchema,
1986
- z.lazy(() => DeploymentStream24$outboundSchema),
1987
- ]),
1988
- ),
1989
- ]);
1990
-
1991
- export function deploymentStreamPrefixMessagesDeploymentsRequestContentToJSON(
1992
- deploymentStreamPrefixMessagesDeploymentsRequestContent:
1993
- DeploymentStreamPrefixMessagesDeploymentsRequestContent,
1994
- ): string {
1995
- return JSON.stringify(
1996
- DeploymentStreamPrefixMessagesDeploymentsRequestContent$outboundSchema
1997
- .parse(deploymentStreamPrefixMessagesDeploymentsRequestContent),
1998
- );
1999
- }
2000
-
2001
- /** @internal */
2002
- export type PrefixMessagesUserMessage$Outbound = {
2003
- role: "user";
2004
- name?: string | undefined;
2005
- content:
2006
- | string
2007
- | Array<
2008
- | (components.TextContentPartSchema$Outbound & { type: "text" })
2009
- | components.ImageContentPartSchema$Outbound
2010
- | components.AudioContentPartSchema$Outbound
2011
- | DeploymentStream24$Outbound
2012
- >;
2013
- };
2014
-
2015
- /** @internal */
2016
- export const PrefixMessagesUserMessage$outboundSchema: z.ZodType<
2017
- PrefixMessagesUserMessage$Outbound,
2018
- z.ZodTypeDef,
2019
- PrefixMessagesUserMessage
2020
- > = z.object({
2021
- role: z.literal("user"),
2022
- name: z.string().optional(),
2023
- content: z.union([
2024
- z.string(),
2025
- z.array(
2026
- z.union([
2027
- components.TextContentPartSchema$outboundSchema.and(
2028
- z.object({ type: z.literal("text") }),
2029
- ),
2030
- components.ImageContentPartSchema$outboundSchema,
2031
- components.AudioContentPartSchema$outboundSchema,
2032
- z.lazy(() => DeploymentStream24$outboundSchema),
2033
- ]),
2034
- ),
2035
- ]),
2036
- });
2037
-
2038
- export function prefixMessagesUserMessageToJSON(
2039
- prefixMessagesUserMessage: PrefixMessagesUserMessage,
2040
- ): string {
2041
- return JSON.stringify(
2042
- PrefixMessagesUserMessage$outboundSchema.parse(prefixMessagesUserMessage),
2043
- );
2044
- }
2045
-
2046
- /** @internal */
2047
- export type DeploymentStreamPrefixMessagesDeploymentsContent$Outbound =
2048
- | string
2049
- | Array<components.TextContentPartSchema$Outbound>;
2050
-
2051
- /** @internal */
2052
- export const DeploymentStreamPrefixMessagesDeploymentsContent$outboundSchema:
2053
- z.ZodType<
2054
- DeploymentStreamPrefixMessagesDeploymentsContent$Outbound,
2055
- z.ZodTypeDef,
2056
- DeploymentStreamPrefixMessagesDeploymentsContent
2057
- > = z.union([
2058
- z.string(),
2059
- z.array(components.TextContentPartSchema$outboundSchema),
2060
- ]);
2061
-
2062
- export function deploymentStreamPrefixMessagesDeploymentsContentToJSON(
2063
- deploymentStreamPrefixMessagesDeploymentsContent:
2064
- DeploymentStreamPrefixMessagesDeploymentsContent,
2065
- ): string {
2066
- return JSON.stringify(
2067
- DeploymentStreamPrefixMessagesDeploymentsContent$outboundSchema.parse(
2068
- deploymentStreamPrefixMessagesDeploymentsContent,
2069
- ),
2070
- );
2071
- }
2072
-
2073
- /** @internal */
2074
- export type PrefixMessagesDeveloperMessage$Outbound = {
2075
- role: "developer";
2076
- content: string | Array<components.TextContentPartSchema$Outbound>;
2077
- name?: string | undefined;
2078
- };
2079
-
2080
- /** @internal */
2081
- export const PrefixMessagesDeveloperMessage$outboundSchema: z.ZodType<
2082
- PrefixMessagesDeveloperMessage$Outbound,
2083
- z.ZodTypeDef,
2084
- PrefixMessagesDeveloperMessage
2085
- > = z.object({
2086
- role: z.literal("developer"),
2087
- content: z.union([
2088
- z.string(),
2089
- z.array(components.TextContentPartSchema$outboundSchema),
2090
- ]),
2091
- name: z.string().optional(),
2092
- });
2093
-
2094
- export function prefixMessagesDeveloperMessageToJSON(
2095
- prefixMessagesDeveloperMessage: PrefixMessagesDeveloperMessage,
2096
- ): string {
2097
- return JSON.stringify(
2098
- PrefixMessagesDeveloperMessage$outboundSchema.parse(
2099
- prefixMessagesDeveloperMessage,
2100
- ),
2101
- );
2102
- }
2103
-
2104
- /** @internal */
2105
- export type DeploymentStreamPrefixMessagesContent$Outbound =
2106
- | string
2107
- | Array<components.TextContentPartSchema$Outbound>;
2108
-
2109
- /** @internal */
2110
- export const DeploymentStreamPrefixMessagesContent$outboundSchema: z.ZodType<
2111
- DeploymentStreamPrefixMessagesContent$Outbound,
2112
- z.ZodTypeDef,
2113
- DeploymentStreamPrefixMessagesContent
2114
- > = z.union([
2115
- z.string(),
2116
- z.array(components.TextContentPartSchema$outboundSchema),
2117
- ]);
2118
-
2119
- export function deploymentStreamPrefixMessagesContentToJSON(
2120
- deploymentStreamPrefixMessagesContent: DeploymentStreamPrefixMessagesContent,
2121
- ): string {
2122
- return JSON.stringify(
2123
- DeploymentStreamPrefixMessagesContent$outboundSchema.parse(
2124
- deploymentStreamPrefixMessagesContent,
2125
- ),
2126
- );
2127
- }
2128
-
2129
- /** @internal */
2130
- export type PrefixMessagesSystemMessage$Outbound = {
2131
- role: "system";
2132
- content: string | Array<components.TextContentPartSchema$Outbound>;
2133
- name?: string | undefined;
2134
- };
2135
-
2136
- /** @internal */
2137
- export const PrefixMessagesSystemMessage$outboundSchema: z.ZodType<
2138
- PrefixMessagesSystemMessage$Outbound,
2139
- z.ZodTypeDef,
2140
- PrefixMessagesSystemMessage
2141
- > = z.object({
2142
- role: z.literal("system"),
2143
- content: z.union([
2144
- z.string(),
2145
- z.array(components.TextContentPartSchema$outboundSchema),
2146
- ]),
2147
- name: z.string().optional(),
2148
- });
2149
-
2150
- export function prefixMessagesSystemMessageToJSON(
2151
- prefixMessagesSystemMessage: PrefixMessagesSystemMessage,
2152
- ): string {
2153
- return JSON.stringify(
2154
- PrefixMessagesSystemMessage$outboundSchema.parse(
2155
- prefixMessagesSystemMessage,
2156
- ),
2157
- );
2158
- }
2159
-
2160
- /** @internal */
2161
- export type DeploymentStreamPrefixMessages$Outbound =
2162
- | PrefixMessagesSystemMessage$Outbound
2163
- | PrefixMessagesDeveloperMessage$Outbound
2164
- | PrefixMessagesUserMessage$Outbound
2165
- | PrefixMessagesAssistantMessage$Outbound
2166
- | PrefixMessagesToolMessage$Outbound;
2167
-
2168
- /** @internal */
2169
- export const DeploymentStreamPrefixMessages$outboundSchema: z.ZodType<
2170
- DeploymentStreamPrefixMessages$Outbound,
2171
- z.ZodTypeDef,
2172
- DeploymentStreamPrefixMessages
2173
- > = z.union([
2174
- z.lazy(() => PrefixMessagesSystemMessage$outboundSchema),
2175
- z.lazy(() => PrefixMessagesDeveloperMessage$outboundSchema),
2176
- z.lazy(() => PrefixMessagesUserMessage$outboundSchema),
2177
- z.lazy(() => PrefixMessagesAssistantMessage$outboundSchema),
2178
- z.lazy(() => PrefixMessagesToolMessage$outboundSchema),
2179
- ]);
2180
-
2181
- export function deploymentStreamPrefixMessagesToJSON(
2182
- deploymentStreamPrefixMessages: DeploymentStreamPrefixMessages,
2183
- ): string {
2184
- return JSON.stringify(
2185
- DeploymentStreamPrefixMessages$outboundSchema.parse(
2186
- deploymentStreamPrefixMessages,
2187
- ),
2188
- );
2189
- }
2190
-
2191
- /** @internal */
2192
- export type DeploymentStreamContentDeploymentsRequestRequestBodyMessages52$Outbound =
2193
- components.TextContentPartSchema$Outbound;
2194
-
2195
- /** @internal */
2196
- export const DeploymentStreamContentDeploymentsRequestRequestBodyMessages52$outboundSchema:
2197
- z.ZodType<
2198
- DeploymentStreamContentDeploymentsRequestRequestBodyMessages52$Outbound,
2199
- z.ZodTypeDef,
2200
- DeploymentStreamContentDeploymentsRequestRequestBodyMessages52
2201
- > = components.TextContentPartSchema$outboundSchema;
2202
-
2203
- export function deploymentStreamContentDeploymentsRequestRequestBodyMessages52ToJSON(
2204
- deploymentStreamContentDeploymentsRequestRequestBodyMessages52:
2205
- DeploymentStreamContentDeploymentsRequestRequestBodyMessages52,
2206
- ): string {
2207
- return JSON.stringify(
2208
- DeploymentStreamContentDeploymentsRequestRequestBodyMessages52$outboundSchema
2209
- .parse(deploymentStreamContentDeploymentsRequestRequestBodyMessages52),
2210
- );
2211
- }
2212
-
2213
- /** @internal */
2214
- export type DeploymentStreamMessagesDeploymentsRequestRequestBody5Content$Outbound =
2215
- | string
2216
- | Array<components.TextContentPartSchema$Outbound>;
2217
-
2218
- /** @internal */
2219
- export const DeploymentStreamMessagesDeploymentsRequestRequestBody5Content$outboundSchema:
2220
- z.ZodType<
2221
- DeploymentStreamMessagesDeploymentsRequestRequestBody5Content$Outbound,
2222
- z.ZodTypeDef,
2223
- DeploymentStreamMessagesDeploymentsRequestRequestBody5Content
2224
- > = z.union([
2225
- z.string(),
2226
- z.array(components.TextContentPartSchema$outboundSchema),
2227
- ]);
2228
-
2229
- export function deploymentStreamMessagesDeploymentsRequestRequestBody5ContentToJSON(
2230
- deploymentStreamMessagesDeploymentsRequestRequestBody5Content:
2231
- DeploymentStreamMessagesDeploymentsRequestRequestBody5Content,
2232
- ): string {
2233
- return JSON.stringify(
2234
- DeploymentStreamMessagesDeploymentsRequestRequestBody5Content$outboundSchema
2235
- .parse(deploymentStreamMessagesDeploymentsRequestRequestBody5Content),
2236
- );
2237
- }
2238
-
2239
- /** @internal */
2240
- export const DeploymentStreamMessagesDeploymentsType$outboundSchema:
2241
- z.ZodNativeEnum<typeof DeploymentStreamMessagesDeploymentsType> = z
2242
- .nativeEnum(DeploymentStreamMessagesDeploymentsType);
2243
-
2244
- /** @internal */
2245
- export const DeploymentStreamMessagesTtl$outboundSchema: z.ZodNativeEnum<
2246
- typeof DeploymentStreamMessagesTtl
2247
- > = z.nativeEnum(DeploymentStreamMessagesTtl);
2248
-
2249
- /** @internal */
2250
- export type DeploymentStreamMessagesCacheControl$Outbound = {
2251
- type: string;
2252
- ttl: string;
2253
- };
2254
-
2255
- /** @internal */
2256
- export const DeploymentStreamMessagesCacheControl$outboundSchema: z.ZodType<
2257
- DeploymentStreamMessagesCacheControl$Outbound,
2258
- z.ZodTypeDef,
2259
- DeploymentStreamMessagesCacheControl
2260
- > = z.object({
2261
- type: DeploymentStreamMessagesDeploymentsType$outboundSchema,
2262
- ttl: DeploymentStreamMessagesTtl$outboundSchema.default("5m"),
2263
- });
2264
-
2265
- export function deploymentStreamMessagesCacheControlToJSON(
2266
- deploymentStreamMessagesCacheControl: DeploymentStreamMessagesCacheControl,
2267
- ): string {
2268
- return JSON.stringify(
2269
- DeploymentStreamMessagesCacheControl$outboundSchema.parse(
2270
- deploymentStreamMessagesCacheControl,
2271
- ),
2272
- );
2273
- }
2274
-
2275
- /** @internal */
2276
- export type DeploymentStreamMessagesToolMessage$Outbound = {
2277
- role: "tool";
2278
- content: string | Array<components.TextContentPartSchema$Outbound>;
2279
- tool_call_id: string | null;
2280
- cache_control?: DeploymentStreamMessagesCacheControl$Outbound | undefined;
2281
- };
2282
-
2283
- /** @internal */
2284
- export const DeploymentStreamMessagesToolMessage$outboundSchema: z.ZodType<
2285
- DeploymentStreamMessagesToolMessage$Outbound,
2286
- z.ZodTypeDef,
2287
- DeploymentStreamMessagesToolMessage
2288
- > = z.object({
2289
- role: z.literal("tool"),
2290
- content: z.union([
2291
- z.string(),
2292
- z.array(components.TextContentPartSchema$outboundSchema),
2293
- ]),
2294
- toolCallId: z.nullable(z.string()),
2295
- cacheControl: z.lazy(() =>
2296
- DeploymentStreamMessagesCacheControl$outboundSchema
2297
- ).optional(),
2298
- }).transform((v) => {
2299
- return remap$(v, {
2300
- toolCallId: "tool_call_id",
2301
- cacheControl: "cache_control",
2302
- });
2303
- });
2304
-
2305
- export function deploymentStreamMessagesToolMessageToJSON(
2306
- deploymentStreamMessagesToolMessage: DeploymentStreamMessagesToolMessage,
2307
- ): string {
2308
- return JSON.stringify(
2309
- DeploymentStreamMessagesToolMessage$outboundSchema.parse(
2310
- deploymentStreamMessagesToolMessage,
2311
- ),
2312
- );
2313
- }
2314
-
2315
- /** @internal */
2316
- export type DeploymentStreamContentDeploymentsRequestRequestBodyMessages2$Outbound =
2317
- | (components.TextContentPartSchema$Outbound & { type: "text" })
2318
- | components.RefusalPartSchema$Outbound
2319
- | components.ReasoningPartSchema$Outbound
2320
- | components.RedactedReasoningPartSchema$Outbound;
2321
-
2322
- /** @internal */
2323
- export const DeploymentStreamContentDeploymentsRequestRequestBodyMessages2$outboundSchema:
2324
- z.ZodType<
2325
- DeploymentStreamContentDeploymentsRequestRequestBodyMessages2$Outbound,
2326
- z.ZodTypeDef,
2327
- DeploymentStreamContentDeploymentsRequestRequestBodyMessages2
2328
- > = z.union([
2329
- components.TextContentPartSchema$outboundSchema.and(
2330
- z.object({ type: z.literal("text") }),
2331
- ),
2332
- components.RefusalPartSchema$outboundSchema,
2333
- components.ReasoningPartSchema$outboundSchema,
2334
- components.RedactedReasoningPartSchema$outboundSchema,
2335
- ]);
2336
-
2337
- export function deploymentStreamContentDeploymentsRequestRequestBodyMessages2ToJSON(
2338
- deploymentStreamContentDeploymentsRequestRequestBodyMessages2:
2339
- DeploymentStreamContentDeploymentsRequestRequestBodyMessages2,
2340
- ): string {
2341
- return JSON.stringify(
2342
- DeploymentStreamContentDeploymentsRequestRequestBodyMessages2$outboundSchema
2343
- .parse(deploymentStreamContentDeploymentsRequestRequestBodyMessages2),
2344
- );
2345
- }
2346
-
2347
- /** @internal */
2348
- export type DeploymentStreamMessagesDeploymentsRequestRequestBodyContent$Outbound =
2349
- | string
2350
- | Array<
2351
- | (components.TextContentPartSchema$Outbound & { type: "text" })
2352
- | components.RefusalPartSchema$Outbound
2353
- | components.ReasoningPartSchema$Outbound
2354
- | components.RedactedReasoningPartSchema$Outbound
2355
- >;
2356
-
2357
- /** @internal */
2358
- export const DeploymentStreamMessagesDeploymentsRequestRequestBodyContent$outboundSchema:
2359
- z.ZodType<
2360
- DeploymentStreamMessagesDeploymentsRequestRequestBodyContent$Outbound,
2361
- z.ZodTypeDef,
2362
- DeploymentStreamMessagesDeploymentsRequestRequestBodyContent
2363
- > = z.union([
2364
- z.string(),
2365
- z.array(
2366
- z.union([
2367
- components.TextContentPartSchema$outboundSchema.and(
2368
- z.object({ type: z.literal("text") }),
2369
- ),
2370
- components.RefusalPartSchema$outboundSchema,
2371
- components.ReasoningPartSchema$outboundSchema,
2372
- components.RedactedReasoningPartSchema$outboundSchema,
2373
- ]),
2374
- ),
2375
- ]);
2376
-
2377
- export function deploymentStreamMessagesDeploymentsRequestRequestBodyContentToJSON(
2378
- deploymentStreamMessagesDeploymentsRequestRequestBodyContent:
2379
- DeploymentStreamMessagesDeploymentsRequestRequestBodyContent,
2380
- ): string {
2381
- return JSON.stringify(
2382
- DeploymentStreamMessagesDeploymentsRequestRequestBodyContent$outboundSchema
2383
- .parse(deploymentStreamMessagesDeploymentsRequestRequestBodyContent),
2384
- );
2385
- }
2386
-
2387
- /** @internal */
2388
- export type DeploymentStreamMessagesAudio$Outbound = {
2389
- id: string;
2390
- };
2391
-
2392
- /** @internal */
2393
- export const DeploymentStreamMessagesAudio$outboundSchema: z.ZodType<
2394
- DeploymentStreamMessagesAudio$Outbound,
2395
- z.ZodTypeDef,
2396
- DeploymentStreamMessagesAudio
2397
- > = z.object({
2398
- id: z.string(),
2399
- });
2400
-
2401
- export function deploymentStreamMessagesAudioToJSON(
2402
- deploymentStreamMessagesAudio: DeploymentStreamMessagesAudio,
2403
- ): string {
2404
- return JSON.stringify(
2405
- DeploymentStreamMessagesAudio$outboundSchema.parse(
2406
- deploymentStreamMessagesAudio,
2407
- ),
2408
- );
2409
- }
2410
-
2411
- /** @internal */
2412
- export const DeploymentStreamMessagesType$outboundSchema: z.ZodNativeEnum<
2413
- typeof DeploymentStreamMessagesType
2414
- > = z.nativeEnum(DeploymentStreamMessagesType);
2415
-
2416
- /** @internal */
2417
- export type DeploymentStreamMessagesFunction$Outbound = {
2418
- name?: string | undefined;
2419
- arguments?: string | undefined;
2420
- };
2421
-
2422
- /** @internal */
2423
- export const DeploymentStreamMessagesFunction$outboundSchema: z.ZodType<
2424
- DeploymentStreamMessagesFunction$Outbound,
2425
- z.ZodTypeDef,
2426
- DeploymentStreamMessagesFunction
2427
- > = z.object({
2428
- name: z.string().optional(),
2429
- arguments: z.string().optional(),
2430
- });
2431
-
2432
- export function deploymentStreamMessagesFunctionToJSON(
2433
- deploymentStreamMessagesFunction: DeploymentStreamMessagesFunction,
2434
- ): string {
2435
- return JSON.stringify(
2436
- DeploymentStreamMessagesFunction$outboundSchema.parse(
2437
- deploymentStreamMessagesFunction,
2438
- ),
2439
- );
2440
- }
2441
-
2442
- /** @internal */
2443
- export type DeploymentStreamMessagesToolCalls$Outbound = {
2444
- id: string;
2445
- type: string;
2446
- function: DeploymentStreamMessagesFunction$Outbound;
2447
- thought_signature?: string | undefined;
2448
- };
2449
-
2450
- /** @internal */
2451
- export const DeploymentStreamMessagesToolCalls$outboundSchema: z.ZodType<
2452
- DeploymentStreamMessagesToolCalls$Outbound,
2453
- z.ZodTypeDef,
2454
- DeploymentStreamMessagesToolCalls
2455
- > = z.object({
2456
- id: z.string(),
2457
- type: DeploymentStreamMessagesType$outboundSchema,
2458
- function: z.lazy(() => DeploymentStreamMessagesFunction$outboundSchema),
2459
- thoughtSignature: z.string().optional(),
2460
- }).transform((v) => {
2461
- return remap$(v, {
2462
- thoughtSignature: "thought_signature",
2463
- });
2464
- });
2465
-
2466
- export function deploymentStreamMessagesToolCallsToJSON(
2467
- deploymentStreamMessagesToolCalls: DeploymentStreamMessagesToolCalls,
2468
- ): string {
2469
- return JSON.stringify(
2470
- DeploymentStreamMessagesToolCalls$outboundSchema.parse(
2471
- deploymentStreamMessagesToolCalls,
2472
- ),
2473
- );
2474
- }
2475
-
2476
- /** @internal */
2477
- export type DeploymentStreamMessagesAssistantMessage$Outbound = {
2478
- content?:
2479
- | string
2480
- | Array<
2481
- | (components.TextContentPartSchema$Outbound & { type: "text" })
2482
- | components.RefusalPartSchema$Outbound
2483
- | components.ReasoningPartSchema$Outbound
2484
- | components.RedactedReasoningPartSchema$Outbound
2485
- >
2486
- | null
2487
- | undefined;
2488
- refusal?: string | null | undefined;
2489
- role: "assistant";
2490
- name?: string | undefined;
2491
- audio?: DeploymentStreamMessagesAudio$Outbound | null | undefined;
2492
- tool_calls?: Array<DeploymentStreamMessagesToolCalls$Outbound> | undefined;
2493
- };
2494
-
2495
- /** @internal */
2496
- export const DeploymentStreamMessagesAssistantMessage$outboundSchema: z.ZodType<
2497
- DeploymentStreamMessagesAssistantMessage$Outbound,
2498
- z.ZodTypeDef,
2499
- DeploymentStreamMessagesAssistantMessage
2500
- > = z.object({
2501
- content: z.nullable(
2502
- z.union([
2503
- z.string(),
2504
- z.array(
2505
- z.union([
2506
- components.TextContentPartSchema$outboundSchema.and(
2507
- z.object({ type: z.literal("text") }),
2508
- ),
2509
- components.RefusalPartSchema$outboundSchema,
2510
- components.ReasoningPartSchema$outboundSchema,
2511
- components.RedactedReasoningPartSchema$outboundSchema,
2512
- ]),
2513
- ),
2514
- ]),
2515
- ).optional(),
2516
- refusal: z.nullable(z.string()).optional(),
2517
- role: z.literal("assistant"),
2518
- name: z.string().optional(),
2519
- audio: z.nullable(z.lazy(() => DeploymentStreamMessagesAudio$outboundSchema))
2520
- .optional(),
2521
- toolCalls: z.array(
2522
- z.lazy(() => DeploymentStreamMessagesToolCalls$outboundSchema),
2523
- ).optional(),
2524
- }).transform((v) => {
2525
- return remap$(v, {
2526
- toolCalls: "tool_calls",
2527
- });
2528
- });
2529
-
2530
- export function deploymentStreamMessagesAssistantMessageToJSON(
2531
- deploymentStreamMessagesAssistantMessage:
2532
- DeploymentStreamMessagesAssistantMessage,
2533
- ): string {
2534
- return JSON.stringify(
2535
- DeploymentStreamMessagesAssistantMessage$outboundSchema.parse(
2536
- deploymentStreamMessagesAssistantMessage,
2537
- ),
2538
- );
2539
- }
2540
-
2541
- /** @internal */
2542
- export const DeploymentStream2DeploymentsRequestRequestBodyType$outboundSchema:
2543
- z.ZodNativeEnum<typeof DeploymentStream2DeploymentsRequestRequestBodyType> = z
2544
- .nativeEnum(DeploymentStream2DeploymentsRequestRequestBodyType);
2545
-
2546
- /** @internal */
2547
- export const DeploymentStream2DeploymentsTtl$outboundSchema: z.ZodNativeEnum<
2548
- typeof DeploymentStream2DeploymentsTtl
2549
- > = z.nativeEnum(DeploymentStream2DeploymentsTtl);
2550
-
2551
- /** @internal */
2552
- export type DeploymentStream2DeploymentsCacheControl$Outbound = {
2553
- type: string;
2554
- ttl: string;
2555
- };
2556
-
2557
- /** @internal */
2558
- export const DeploymentStream2DeploymentsCacheControl$outboundSchema: z.ZodType<
2559
- DeploymentStream2DeploymentsCacheControl$Outbound,
2560
- z.ZodTypeDef,
2561
- DeploymentStream2DeploymentsCacheControl
2562
- > = z.object({
2563
- type: DeploymentStream2DeploymentsRequestRequestBodyType$outboundSchema,
2564
- ttl: DeploymentStream2DeploymentsTtl$outboundSchema.default("5m"),
2565
- });
2566
-
2567
- export function deploymentStream2DeploymentsCacheControlToJSON(
2568
- deploymentStream2DeploymentsCacheControl:
2569
- DeploymentStream2DeploymentsCacheControl,
2570
- ): string {
2571
- return JSON.stringify(
2572
- DeploymentStream2DeploymentsCacheControl$outboundSchema.parse(
2573
- deploymentStream2DeploymentsCacheControl,
2574
- ),
2575
- );
2576
- }
2577
-
2578
- /** @internal */
2579
- export type DeploymentStream2Deployments4$Outbound = {
2580
- type: "file";
2581
- cache_control?: DeploymentStream2DeploymentsCacheControl$Outbound | undefined;
2582
- file: components.FileContentPartSchema$Outbound;
2583
- };
2584
-
2585
- /** @internal */
2586
- export const DeploymentStream2Deployments4$outboundSchema: z.ZodType<
2587
- DeploymentStream2Deployments4$Outbound,
2588
- z.ZodTypeDef,
2589
- DeploymentStream2Deployments4
2590
- > = z.object({
2591
- type: z.literal("file"),
2592
- cacheControl: z.lazy(() =>
2593
- DeploymentStream2DeploymentsCacheControl$outboundSchema
2594
- ).optional(),
2595
- file: components.FileContentPartSchema$outboundSchema,
2596
- }).transform((v) => {
2597
- return remap$(v, {
2598
- cacheControl: "cache_control",
2599
- });
2600
- });
2601
-
2602
- export function deploymentStream2Deployments4ToJSON(
2603
- deploymentStream2Deployments4: DeploymentStream2Deployments4,
2604
- ): string {
2605
- return JSON.stringify(
2606
- DeploymentStream2Deployments4$outboundSchema.parse(
2607
- deploymentStream2Deployments4,
2608
- ),
2609
- );
2610
- }
2611
-
2612
- /** @internal */
2613
- export type DeploymentStreamContentDeploymentsRequestRequestBody2$Outbound =
2614
- | (components.TextContentPartSchema$Outbound & { type: "text" })
2615
- | components.ImageContentPartSchema$Outbound
2616
- | components.AudioContentPartSchema$Outbound
2617
- | DeploymentStream2Deployments4$Outbound;
2618
-
2619
- /** @internal */
2620
- export const DeploymentStreamContentDeploymentsRequestRequestBody2$outboundSchema:
2621
- z.ZodType<
2622
- DeploymentStreamContentDeploymentsRequestRequestBody2$Outbound,
2623
- z.ZodTypeDef,
2624
- DeploymentStreamContentDeploymentsRequestRequestBody2
2625
- > = z.union([
2626
- components.TextContentPartSchema$outboundSchema.and(
2627
- z.object({ type: z.literal("text") }),
2628
- ),
2629
- components.ImageContentPartSchema$outboundSchema,
2630
- components.AudioContentPartSchema$outboundSchema,
2631
- z.lazy(() => DeploymentStream2Deployments4$outboundSchema),
2632
- ]);
2633
-
2634
- export function deploymentStreamContentDeploymentsRequestRequestBody2ToJSON(
2635
- deploymentStreamContentDeploymentsRequestRequestBody2:
2636
- DeploymentStreamContentDeploymentsRequestRequestBody2,
2637
- ): string {
2638
- return JSON.stringify(
2639
- DeploymentStreamContentDeploymentsRequestRequestBody2$outboundSchema.parse(
2640
- deploymentStreamContentDeploymentsRequestRequestBody2,
2641
- ),
2642
- );
2643
- }
2644
-
2645
- /** @internal */
2646
- export type DeploymentStreamMessagesDeploymentsRequestContent$Outbound =
2647
- | string
2648
- | Array<
2649
- | (components.TextContentPartSchema$Outbound & { type: "text" })
2650
- | components.ImageContentPartSchema$Outbound
2651
- | components.AudioContentPartSchema$Outbound
2652
- | DeploymentStream2Deployments4$Outbound
2653
- >;
2654
-
2655
- /** @internal */
2656
- export const DeploymentStreamMessagesDeploymentsRequestContent$outboundSchema:
2657
- z.ZodType<
2658
- DeploymentStreamMessagesDeploymentsRequestContent$Outbound,
2659
- z.ZodTypeDef,
2660
- DeploymentStreamMessagesDeploymentsRequestContent
2661
- > = z.union([
2662
- z.string(),
2663
- z.array(
2664
- z.union([
2665
- components.TextContentPartSchema$outboundSchema.and(
2666
- z.object({ type: z.literal("text") }),
2667
- ),
2668
- components.ImageContentPartSchema$outboundSchema,
2669
- components.AudioContentPartSchema$outboundSchema,
2670
- z.lazy(() => DeploymentStream2Deployments4$outboundSchema),
2671
- ]),
2672
- ),
2673
- ]);
2674
-
2675
- export function deploymentStreamMessagesDeploymentsRequestContentToJSON(
2676
- deploymentStreamMessagesDeploymentsRequestContent:
2677
- DeploymentStreamMessagesDeploymentsRequestContent,
2678
- ): string {
2679
- return JSON.stringify(
2680
- DeploymentStreamMessagesDeploymentsRequestContent$outboundSchema.parse(
2681
- deploymentStreamMessagesDeploymentsRequestContent,
2682
- ),
2683
- );
2684
- }
2685
-
2686
- /** @internal */
2687
- export type DeploymentStreamMessagesUserMessage$Outbound = {
2688
- role: "user";
2689
- name?: string | undefined;
2690
- content:
2691
- | string
2692
- | Array<
2693
- | (components.TextContentPartSchema$Outbound & { type: "text" })
2694
- | components.ImageContentPartSchema$Outbound
2695
- | components.AudioContentPartSchema$Outbound
2696
- | DeploymentStream2Deployments4$Outbound
2697
- >;
2698
- };
2699
-
2700
- /** @internal */
2701
- export const DeploymentStreamMessagesUserMessage$outboundSchema: z.ZodType<
2702
- DeploymentStreamMessagesUserMessage$Outbound,
2703
- z.ZodTypeDef,
2704
- DeploymentStreamMessagesUserMessage
2705
- > = z.object({
2706
- role: z.literal("user"),
2707
- name: z.string().optional(),
2708
- content: z.union([
2709
- z.string(),
2710
- z.array(
2711
- z.union([
2712
- components.TextContentPartSchema$outboundSchema.and(
2713
- z.object({ type: z.literal("text") }),
2714
- ),
2715
- components.ImageContentPartSchema$outboundSchema,
2716
- components.AudioContentPartSchema$outboundSchema,
2717
- z.lazy(() => DeploymentStream2Deployments4$outboundSchema),
2718
- ]),
2719
- ),
2720
- ]),
2721
- });
2722
-
2723
- export function deploymentStreamMessagesUserMessageToJSON(
2724
- deploymentStreamMessagesUserMessage: DeploymentStreamMessagesUserMessage,
2725
- ): string {
2726
- return JSON.stringify(
2727
- DeploymentStreamMessagesUserMessage$outboundSchema.parse(
2728
- deploymentStreamMessagesUserMessage,
2729
- ),
2730
- );
2731
- }
2732
-
2733
- /** @internal */
2734
- export type DeploymentStreamMessagesDeploymentsContent$Outbound =
2735
- | string
2736
- | Array<components.TextContentPartSchema$Outbound>;
2737
-
2738
- /** @internal */
2739
- export const DeploymentStreamMessagesDeploymentsContent$outboundSchema:
2740
- z.ZodType<
2741
- DeploymentStreamMessagesDeploymentsContent$Outbound,
2742
- z.ZodTypeDef,
2743
- DeploymentStreamMessagesDeploymentsContent
2744
- > = z.union([
2745
- z.string(),
2746
- z.array(components.TextContentPartSchema$outboundSchema),
2747
- ]);
2748
-
2749
- export function deploymentStreamMessagesDeploymentsContentToJSON(
2750
- deploymentStreamMessagesDeploymentsContent:
2751
- DeploymentStreamMessagesDeploymentsContent,
2752
- ): string {
2753
- return JSON.stringify(
2754
- DeploymentStreamMessagesDeploymentsContent$outboundSchema.parse(
2755
- deploymentStreamMessagesDeploymentsContent,
2756
- ),
2757
- );
2758
- }
2759
-
2760
- /** @internal */
2761
- export type DeploymentStreamMessagesDeveloperMessage$Outbound = {
2762
- role: "developer";
2763
- content: string | Array<components.TextContentPartSchema$Outbound>;
2764
- name?: string | undefined;
2765
- };
2766
-
2767
- /** @internal */
2768
- export const DeploymentStreamMessagesDeveloperMessage$outboundSchema: z.ZodType<
2769
- DeploymentStreamMessagesDeveloperMessage$Outbound,
2770
- z.ZodTypeDef,
2771
- DeploymentStreamMessagesDeveloperMessage
2772
- > = z.object({
2773
- role: z.literal("developer"),
2774
- content: z.union([
2775
- z.string(),
2776
- z.array(components.TextContentPartSchema$outboundSchema),
2777
- ]),
2778
- name: z.string().optional(),
2779
- });
2780
-
2781
- export function deploymentStreamMessagesDeveloperMessageToJSON(
2782
- deploymentStreamMessagesDeveloperMessage:
2783
- DeploymentStreamMessagesDeveloperMessage,
2784
- ): string {
2785
- return JSON.stringify(
2786
- DeploymentStreamMessagesDeveloperMessage$outboundSchema.parse(
2787
- deploymentStreamMessagesDeveloperMessage,
2788
- ),
2789
- );
2790
- }
2791
-
2792
- /** @internal */
2793
- export type DeploymentStreamMessagesContent$Outbound =
2794
- | string
2795
- | Array<components.TextContentPartSchema$Outbound>;
2796
-
2797
- /** @internal */
2798
- export const DeploymentStreamMessagesContent$outboundSchema: z.ZodType<
2799
- DeploymentStreamMessagesContent$Outbound,
2800
- z.ZodTypeDef,
2801
- DeploymentStreamMessagesContent
2802
- > = z.union([
2803
- z.string(),
2804
- z.array(components.TextContentPartSchema$outboundSchema),
2805
- ]);
2806
-
2807
- export function deploymentStreamMessagesContentToJSON(
2808
- deploymentStreamMessagesContent: DeploymentStreamMessagesContent,
2809
- ): string {
2810
- return JSON.stringify(
2811
- DeploymentStreamMessagesContent$outboundSchema.parse(
2812
- deploymentStreamMessagesContent,
2813
- ),
2814
- );
2815
- }
2816
-
2817
- /** @internal */
2818
- export type DeploymentStreamMessagesSystemMessage$Outbound = {
2819
- role: "system";
2820
- content: string | Array<components.TextContentPartSchema$Outbound>;
2821
- name?: string | undefined;
2822
- };
2823
-
2824
- /** @internal */
2825
- export const DeploymentStreamMessagesSystemMessage$outboundSchema: z.ZodType<
2826
- DeploymentStreamMessagesSystemMessage$Outbound,
2827
- z.ZodTypeDef,
2828
- DeploymentStreamMessagesSystemMessage
2829
- > = z.object({
2830
- role: z.literal("system"),
2831
- content: z.union([
2832
- z.string(),
2833
- z.array(components.TextContentPartSchema$outboundSchema),
2834
- ]),
2835
- name: z.string().optional(),
2836
- });
2837
-
2838
- export function deploymentStreamMessagesSystemMessageToJSON(
2839
- deploymentStreamMessagesSystemMessage: DeploymentStreamMessagesSystemMessage,
2840
- ): string {
2841
- return JSON.stringify(
2842
- DeploymentStreamMessagesSystemMessage$outboundSchema.parse(
2843
- deploymentStreamMessagesSystemMessage,
2844
- ),
2845
- );
2846
- }
2847
-
2848
- /** @internal */
2849
- export type DeploymentStreamMessages$Outbound =
2850
- | DeploymentStreamMessagesSystemMessage$Outbound
2851
- | DeploymentStreamMessagesDeveloperMessage$Outbound
2852
- | DeploymentStreamMessagesUserMessage$Outbound
2853
- | DeploymentStreamMessagesAssistantMessage$Outbound
2854
- | DeploymentStreamMessagesToolMessage$Outbound;
2855
-
2856
- /** @internal */
2857
- export const DeploymentStreamMessages$outboundSchema: z.ZodType<
2858
- DeploymentStreamMessages$Outbound,
2859
- z.ZodTypeDef,
2860
- DeploymentStreamMessages
2861
- > = z.union([
2862
- z.lazy(() => DeploymentStreamMessagesSystemMessage$outboundSchema),
2863
- z.lazy(() => DeploymentStreamMessagesDeveloperMessage$outboundSchema),
2864
- z.lazy(() => DeploymentStreamMessagesUserMessage$outboundSchema),
2865
- z.lazy(() => DeploymentStreamMessagesAssistantMessage$outboundSchema),
2866
- z.lazy(() => DeploymentStreamMessagesToolMessage$outboundSchema),
2867
- ]);
2868
-
2869
- export function deploymentStreamMessagesToJSON(
2870
- deploymentStreamMessages: DeploymentStreamMessages,
2871
- ): string {
2872
- return JSON.stringify(
2873
- DeploymentStreamMessages$outboundSchema.parse(deploymentStreamMessages),
2874
- );
2875
- }
2876
-
2877
- /** @internal */
2878
- export type DeploymentStreamMetadata$Outbound = {
2879
- file_name?: string | undefined;
2880
- file_type?: string | undefined;
2881
- page_number?: number | undefined;
2882
- };
2883
-
2884
- /** @internal */
2885
- export const DeploymentStreamMetadata$outboundSchema: z.ZodType<
2886
- DeploymentStreamMetadata$Outbound,
2887
- z.ZodTypeDef,
2888
- DeploymentStreamMetadata
2889
- > = z.object({
2890
- fileName: z.string().optional(),
2891
- fileType: z.string().optional(),
2892
- pageNumber: z.number().optional(),
2893
- }).transform((v) => {
2894
- return remap$(v, {
2895
- fileName: "file_name",
2896
- fileType: "file_type",
2897
- pageNumber: "page_number",
2898
- });
2899
- });
2900
-
2901
- export function deploymentStreamMetadataToJSON(
2902
- deploymentStreamMetadata: DeploymentStreamMetadata,
2903
- ): string {
2904
- return JSON.stringify(
2905
- DeploymentStreamMetadata$outboundSchema.parse(deploymentStreamMetadata),
2906
- );
2907
- }
2908
-
2909
- /** @internal */
2910
- export type DeploymentStreamDocuments$Outbound = {
2911
- text: string;
2912
- metadata?: DeploymentStreamMetadata$Outbound | undefined;
2913
- };
2914
-
2915
- /** @internal */
2916
- export const DeploymentStreamDocuments$outboundSchema: z.ZodType<
2917
- DeploymentStreamDocuments$Outbound,
2918
- z.ZodTypeDef,
2919
- DeploymentStreamDocuments
2920
- > = z.object({
2921
- text: z.string(),
2922
- metadata: z.lazy(() => DeploymentStreamMetadata$outboundSchema).optional(),
2923
- });
2924
-
2925
- export function deploymentStreamDocumentsToJSON(
2926
- deploymentStreamDocuments: DeploymentStreamDocuments,
2927
- ): string {
2928
- return JSON.stringify(
2929
- DeploymentStreamDocuments$outboundSchema.parse(deploymentStreamDocuments),
2930
- );
2931
- }
2932
-
2933
- /** @internal */
2934
- export type DeploymentStreamInvokeOptions$Outbound = {
2935
- include_retrievals: boolean;
2936
- include_usage: boolean;
2937
- mock_response?: string | undefined;
2938
- };
2939
-
2940
- /** @internal */
2941
- export const DeploymentStreamInvokeOptions$outboundSchema: z.ZodType<
2942
- DeploymentStreamInvokeOptions$Outbound,
2943
- z.ZodTypeDef,
2944
- DeploymentStreamInvokeOptions
2945
- > = z.object({
2946
- includeRetrievals: z.boolean().default(false),
2947
- includeUsage: z.boolean().default(false),
2948
- mockResponse: z.string().optional(),
2949
- }).transform((v) => {
2950
- return remap$(v, {
2951
- includeRetrievals: "include_retrievals",
2952
- includeUsage: "include_usage",
2953
- mockResponse: "mock_response",
2954
- });
2955
- });
2956
-
2957
- export function deploymentStreamInvokeOptionsToJSON(
2958
- deploymentStreamInvokeOptions: DeploymentStreamInvokeOptions,
2959
- ): string {
2960
- return JSON.stringify(
2961
- DeploymentStreamInvokeOptions$outboundSchema.parse(
2962
- deploymentStreamInvokeOptions,
2963
- ),
2964
- );
2965
- }
2966
-
2967
- /** @internal */
2968
- export type DeploymentStreamThread$Outbound = {
2969
- id: string;
2970
- tags?: Array<string> | undefined;
2971
- };
2972
-
2973
- /** @internal */
2974
- export const DeploymentStreamThread$outboundSchema: z.ZodType<
2975
- DeploymentStreamThread$Outbound,
2976
- z.ZodTypeDef,
2977
- DeploymentStreamThread
2978
- > = z.object({
2979
- id: z.string(),
2980
- tags: z.array(z.string()).optional(),
2981
- });
2982
-
2983
- export function deploymentStreamThreadToJSON(
2984
- deploymentStreamThread: DeploymentStreamThread,
2985
- ): string {
2986
- return JSON.stringify(
2987
- DeploymentStreamThread$outboundSchema.parse(deploymentStreamThread),
2988
- );
2989
- }
2990
-
2991
- /** @internal */
2992
- export type DeploymentStreamOrExists$Outbound = {
2993
- exists: boolean;
2994
- };
2995
-
2996
- /** @internal */
2997
- export const DeploymentStreamOrExists$outboundSchema: z.ZodType<
2998
- DeploymentStreamOrExists$Outbound,
2999
- z.ZodTypeDef,
3000
- DeploymentStreamOrExists
3001
- > = z.object({
3002
- exists: z.boolean(),
3003
- });
3004
-
3005
- export function deploymentStreamOrExistsToJSON(
3006
- deploymentStreamOrExists: DeploymentStreamOrExists,
3007
- ): string {
3008
- return JSON.stringify(
3009
- DeploymentStreamOrExists$outboundSchema.parse(deploymentStreamOrExists),
3010
- );
3011
- }
3012
-
3013
- /** @internal */
3014
- export type DeploymentStreamOrDeploymentsNin$Outbound =
3015
- | string
3016
- | number
3017
- | boolean;
3018
-
3019
- /** @internal */
3020
- export const DeploymentStreamOrDeploymentsNin$outboundSchema: z.ZodType<
3021
- DeploymentStreamOrDeploymentsNin$Outbound,
3022
- z.ZodTypeDef,
3023
- DeploymentStreamOrDeploymentsNin
3024
- > = z.union([z.string(), z.number(), z.boolean()]);
3025
-
3026
- export function deploymentStreamOrDeploymentsNinToJSON(
3027
- deploymentStreamOrDeploymentsNin: DeploymentStreamOrDeploymentsNin,
3028
- ): string {
3029
- return JSON.stringify(
3030
- DeploymentStreamOrDeploymentsNin$outboundSchema.parse(
3031
- deploymentStreamOrDeploymentsNin,
3032
- ),
3033
- );
3034
- }
3035
-
3036
- /** @internal */
3037
- export type DeploymentStreamOrNin$Outbound = {
3038
- nin: Array<string | number | boolean>;
3039
- };
3040
-
3041
- /** @internal */
3042
- export const DeploymentStreamOrNin$outboundSchema: z.ZodType<
3043
- DeploymentStreamOrNin$Outbound,
3044
- z.ZodTypeDef,
3045
- DeploymentStreamOrNin
3046
- > = z.object({
3047
- nin: z.array(z.union([z.string(), z.number(), z.boolean()])),
3048
- });
3049
-
3050
- export function deploymentStreamOrNinToJSON(
3051
- deploymentStreamOrNin: DeploymentStreamOrNin,
3052
- ): string {
3053
- return JSON.stringify(
3054
- DeploymentStreamOrNin$outboundSchema.parse(deploymentStreamOrNin),
3055
- );
3056
- }
3057
-
3058
- /** @internal */
3059
- export type DeploymentStreamOrDeploymentsIn$Outbound =
3060
- | string
3061
- | number
3062
- | boolean;
3063
-
3064
- /** @internal */
3065
- export const DeploymentStreamOrDeploymentsIn$outboundSchema: z.ZodType<
3066
- DeploymentStreamOrDeploymentsIn$Outbound,
3067
- z.ZodTypeDef,
3068
- DeploymentStreamOrDeploymentsIn
3069
- > = z.union([z.string(), z.number(), z.boolean()]);
3070
-
3071
- export function deploymentStreamOrDeploymentsInToJSON(
3072
- deploymentStreamOrDeploymentsIn: DeploymentStreamOrDeploymentsIn,
3073
- ): string {
3074
- return JSON.stringify(
3075
- DeploymentStreamOrDeploymentsIn$outboundSchema.parse(
3076
- deploymentStreamOrDeploymentsIn,
3077
- ),
3078
- );
3079
- }
3080
-
3081
- /** @internal */
3082
- export type DeploymentStreamOrIn$Outbound = {
3083
- in: Array<string | number | boolean>;
3084
- };
3085
-
3086
- /** @internal */
3087
- export const DeploymentStreamOrIn$outboundSchema: z.ZodType<
3088
- DeploymentStreamOrIn$Outbound,
3089
- z.ZodTypeDef,
3090
- DeploymentStreamOrIn
3091
- > = z.object({
3092
- in: z.array(z.union([z.string(), z.number(), z.boolean()])),
3093
- });
3094
-
3095
- export function deploymentStreamOrInToJSON(
3096
- deploymentStreamOrIn: DeploymentStreamOrIn,
3097
- ): string {
3098
- return JSON.stringify(
3099
- DeploymentStreamOrIn$outboundSchema.parse(deploymentStreamOrIn),
3100
- );
3101
- }
3102
-
3103
- /** @internal */
3104
- export type DeploymentStreamOrLte$Outbound = {
3105
- lte: number;
3106
- };
3107
-
3108
- /** @internal */
3109
- export const DeploymentStreamOrLte$outboundSchema: z.ZodType<
3110
- DeploymentStreamOrLte$Outbound,
3111
- z.ZodTypeDef,
3112
- DeploymentStreamOrLte
3113
- > = z.object({
3114
- lte: z.number(),
3115
- });
3116
-
3117
- export function deploymentStreamOrLteToJSON(
3118
- deploymentStreamOrLte: DeploymentStreamOrLte,
3119
- ): string {
3120
- return JSON.stringify(
3121
- DeploymentStreamOrLte$outboundSchema.parse(deploymentStreamOrLte),
3122
- );
3123
- }
3124
-
3125
- /** @internal */
3126
- export type DeploymentStreamOrLt$Outbound = {
3127
- lt: number;
3128
- };
3129
-
3130
- /** @internal */
3131
- export const DeploymentStreamOrLt$outboundSchema: z.ZodType<
3132
- DeploymentStreamOrLt$Outbound,
3133
- z.ZodTypeDef,
3134
- DeploymentStreamOrLt
3135
- > = z.object({
3136
- lt: z.number(),
3137
- });
3138
-
3139
- export function deploymentStreamOrLtToJSON(
3140
- deploymentStreamOrLt: DeploymentStreamOrLt,
3141
- ): string {
3142
- return JSON.stringify(
3143
- DeploymentStreamOrLt$outboundSchema.parse(deploymentStreamOrLt),
3144
- );
3145
- }
3146
-
3147
- /** @internal */
3148
- export type DeploymentStreamOrGte$Outbound = {
3149
- gte: number;
3150
- };
3151
-
3152
- /** @internal */
3153
- export const DeploymentStreamOrGte$outboundSchema: z.ZodType<
3154
- DeploymentStreamOrGte$Outbound,
3155
- z.ZodTypeDef,
3156
- DeploymentStreamOrGte
3157
- > = z.object({
3158
- gte: z.number(),
3159
- });
3160
-
3161
- export function deploymentStreamOrGteToJSON(
3162
- deploymentStreamOrGte: DeploymentStreamOrGte,
3163
- ): string {
3164
- return JSON.stringify(
3165
- DeploymentStreamOrGte$outboundSchema.parse(deploymentStreamOrGte),
3166
- );
3167
- }
3168
-
3169
- /** @internal */
3170
- export type DeploymentStreamOrGt$Outbound = {
3171
- gt: number;
3172
- };
3173
-
3174
- /** @internal */
3175
- export const DeploymentStreamOrGt$outboundSchema: z.ZodType<
3176
- DeploymentStreamOrGt$Outbound,
3177
- z.ZodTypeDef,
3178
- DeploymentStreamOrGt
3179
- > = z.object({
3180
- gt: z.number(),
3181
- });
3182
-
3183
- export function deploymentStreamOrGtToJSON(
3184
- deploymentStreamOrGt: DeploymentStreamOrGt,
3185
- ): string {
3186
- return JSON.stringify(
3187
- DeploymentStreamOrGt$outboundSchema.parse(deploymentStreamOrGt),
3188
- );
3189
- }
3190
-
3191
- /** @internal */
3192
- export type DeploymentStreamOrDeploymentsNe$Outbound =
3193
- | string
3194
- | number
3195
- | boolean;
3196
-
3197
- /** @internal */
3198
- export const DeploymentStreamOrDeploymentsNe$outboundSchema: z.ZodType<
3199
- DeploymentStreamOrDeploymentsNe$Outbound,
3200
- z.ZodTypeDef,
3201
- DeploymentStreamOrDeploymentsNe
3202
- > = z.union([z.string(), z.number(), z.boolean()]);
3203
-
3204
- export function deploymentStreamOrDeploymentsNeToJSON(
3205
- deploymentStreamOrDeploymentsNe: DeploymentStreamOrDeploymentsNe,
3206
- ): string {
3207
- return JSON.stringify(
3208
- DeploymentStreamOrDeploymentsNe$outboundSchema.parse(
3209
- deploymentStreamOrDeploymentsNe,
3210
- ),
3211
- );
3212
- }
3213
-
3214
- /** @internal */
3215
- export type DeploymentStreamOrNe$Outbound = {
3216
- ne: string | number | boolean;
3217
- };
3218
-
3219
- /** @internal */
3220
- export const DeploymentStreamOrNe$outboundSchema: z.ZodType<
3221
- DeploymentStreamOrNe$Outbound,
3222
- z.ZodTypeDef,
3223
- DeploymentStreamOrNe
3224
- > = z.object({
3225
- ne: z.union([z.string(), z.number(), z.boolean()]),
3226
- });
3227
-
3228
- export function deploymentStreamOrNeToJSON(
3229
- deploymentStreamOrNe: DeploymentStreamOrNe,
3230
- ): string {
3231
- return JSON.stringify(
3232
- DeploymentStreamOrNe$outboundSchema.parse(deploymentStreamOrNe),
3233
- );
3234
- }
3235
-
3236
- /** @internal */
3237
- export type DeploymentStreamOrDeploymentsEq$Outbound =
3238
- | string
3239
- | number
3240
- | boolean;
3241
-
3242
- /** @internal */
3243
- export const DeploymentStreamOrDeploymentsEq$outboundSchema: z.ZodType<
3244
- DeploymentStreamOrDeploymentsEq$Outbound,
3245
- z.ZodTypeDef,
3246
- DeploymentStreamOrDeploymentsEq
3247
- > = z.union([z.string(), z.number(), z.boolean()]);
3248
-
3249
- export function deploymentStreamOrDeploymentsEqToJSON(
3250
- deploymentStreamOrDeploymentsEq: DeploymentStreamOrDeploymentsEq,
3251
- ): string {
3252
- return JSON.stringify(
3253
- DeploymentStreamOrDeploymentsEq$outboundSchema.parse(
3254
- deploymentStreamOrDeploymentsEq,
3255
- ),
3256
- );
3257
- }
3258
-
3259
- /** @internal */
3260
- export type DeploymentStreamOrEq$Outbound = {
3261
- eq: string | number | boolean;
3262
- };
3263
-
3264
- /** @internal */
3265
- export const DeploymentStreamOrEq$outboundSchema: z.ZodType<
3266
- DeploymentStreamOrEq$Outbound,
3267
- z.ZodTypeDef,
3268
- DeploymentStreamOrEq
3269
- > = z.object({
3270
- eq: z.union([z.string(), z.number(), z.boolean()]),
3271
- });
3272
-
3273
- export function deploymentStreamOrEqToJSON(
3274
- deploymentStreamOrEq: DeploymentStreamOrEq,
3275
- ): string {
3276
- return JSON.stringify(
3277
- DeploymentStreamOrEq$outboundSchema.parse(deploymentStreamOrEq),
3278
- );
3279
- }
3280
-
3281
- /** @internal */
3282
- export type DeploymentStreamKnowledgeFilterDeploymentsOr$Outbound =
3283
- | DeploymentStreamOrEq$Outbound
3284
- | DeploymentStreamOrNe$Outbound
3285
- | DeploymentStreamOrGt$Outbound
3286
- | DeploymentStreamOrGte$Outbound
3287
- | DeploymentStreamOrLt$Outbound
3288
- | DeploymentStreamOrLte$Outbound
3289
- | DeploymentStreamOrIn$Outbound
3290
- | DeploymentStreamOrNin$Outbound
3291
- | DeploymentStreamOrExists$Outbound;
3292
-
3293
- /** @internal */
3294
- export const DeploymentStreamKnowledgeFilterDeploymentsOr$outboundSchema:
3295
- z.ZodType<
3296
- DeploymentStreamKnowledgeFilterDeploymentsOr$Outbound,
3297
- z.ZodTypeDef,
3298
- DeploymentStreamKnowledgeFilterDeploymentsOr
3299
- > = z.union([
3300
- z.lazy(() => DeploymentStreamOrEq$outboundSchema),
3301
- z.lazy(() => DeploymentStreamOrNe$outboundSchema),
3302
- z.lazy(() => DeploymentStreamOrGt$outboundSchema),
3303
- z.lazy(() => DeploymentStreamOrGte$outboundSchema),
3304
- z.lazy(() => DeploymentStreamOrLt$outboundSchema),
3305
- z.lazy(() => DeploymentStreamOrLte$outboundSchema),
3306
- z.lazy(() => DeploymentStreamOrIn$outboundSchema),
3307
- z.lazy(() => DeploymentStreamOrNin$outboundSchema),
3308
- z.lazy(() => DeploymentStreamOrExists$outboundSchema),
3309
- ]);
3310
-
3311
- export function deploymentStreamKnowledgeFilterDeploymentsOrToJSON(
3312
- deploymentStreamKnowledgeFilterDeploymentsOr:
3313
- DeploymentStreamKnowledgeFilterDeploymentsOr,
3314
- ): string {
3315
- return JSON.stringify(
3316
- DeploymentStreamKnowledgeFilterDeploymentsOr$outboundSchema.parse(
3317
- deploymentStreamKnowledgeFilterDeploymentsOr,
3318
- ),
3319
- );
3320
- }
3321
-
3322
- /** @internal */
3323
- export type DeploymentStreamKnowledgeFilterOr$Outbound = {
3324
- or: Array<
3325
- {
3326
- [k: string]:
3327
- | DeploymentStreamOrEq$Outbound
3328
- | DeploymentStreamOrNe$Outbound
3329
- | DeploymentStreamOrGt$Outbound
3330
- | DeploymentStreamOrGte$Outbound
3331
- | DeploymentStreamOrLt$Outbound
3332
- | DeploymentStreamOrLte$Outbound
3333
- | DeploymentStreamOrIn$Outbound
3334
- | DeploymentStreamOrNin$Outbound
3335
- | DeploymentStreamOrExists$Outbound;
3336
- }
3337
- >;
3338
- };
3339
-
3340
- /** @internal */
3341
- export const DeploymentStreamKnowledgeFilterOr$outboundSchema: z.ZodType<
3342
- DeploymentStreamKnowledgeFilterOr$Outbound,
3343
- z.ZodTypeDef,
3344
- DeploymentStreamKnowledgeFilterOr
3345
- > = z.object({
3346
- or: z.array(
3347
- z.record(z.union([
3348
- z.lazy(() => DeploymentStreamOrEq$outboundSchema),
3349
- z.lazy(() =>
3350
- DeploymentStreamOrNe$outboundSchema
3351
- ),
3352
- z.lazy(() => DeploymentStreamOrGt$outboundSchema),
3353
- z.lazy(() => DeploymentStreamOrGte$outboundSchema),
3354
- z.lazy(() => DeploymentStreamOrLt$outboundSchema),
3355
- z.lazy(() => DeploymentStreamOrLte$outboundSchema),
3356
- z.lazy(() => DeploymentStreamOrIn$outboundSchema),
3357
- z.lazy(() => DeploymentStreamOrNin$outboundSchema),
3358
- z.lazy(() => DeploymentStreamOrExists$outboundSchema),
3359
- ])),
3360
- ),
3361
- });
3362
-
3363
- export function deploymentStreamKnowledgeFilterOrToJSON(
3364
- deploymentStreamKnowledgeFilterOr: DeploymentStreamKnowledgeFilterOr,
3365
- ): string {
3366
- return JSON.stringify(
3367
- DeploymentStreamKnowledgeFilterOr$outboundSchema.parse(
3368
- deploymentStreamKnowledgeFilterOr,
3369
- ),
3370
- );
3371
- }
3372
-
3373
- /** @internal */
3374
- export type DeploymentStreamAndExists$Outbound = {
3375
- exists: boolean;
3376
- };
3377
-
3378
- /** @internal */
3379
- export const DeploymentStreamAndExists$outboundSchema: z.ZodType<
3380
- DeploymentStreamAndExists$Outbound,
3381
- z.ZodTypeDef,
3382
- DeploymentStreamAndExists
3383
- > = z.object({
3384
- exists: z.boolean(),
3385
- });
3386
-
3387
- export function deploymentStreamAndExistsToJSON(
3388
- deploymentStreamAndExists: DeploymentStreamAndExists,
3389
- ): string {
3390
- return JSON.stringify(
3391
- DeploymentStreamAndExists$outboundSchema.parse(deploymentStreamAndExists),
3392
- );
3393
- }
3394
-
3395
- /** @internal */
3396
- export type DeploymentStreamAndDeploymentsNin$Outbound =
3397
- | string
3398
- | number
3399
- | boolean;
3400
-
3401
- /** @internal */
3402
- export const DeploymentStreamAndDeploymentsNin$outboundSchema: z.ZodType<
3403
- DeploymentStreamAndDeploymentsNin$Outbound,
3404
- z.ZodTypeDef,
3405
- DeploymentStreamAndDeploymentsNin
3406
- > = z.union([z.string(), z.number(), z.boolean()]);
3407
-
3408
- export function deploymentStreamAndDeploymentsNinToJSON(
3409
- deploymentStreamAndDeploymentsNin: DeploymentStreamAndDeploymentsNin,
3410
- ): string {
3411
- return JSON.stringify(
3412
- DeploymentStreamAndDeploymentsNin$outboundSchema.parse(
3413
- deploymentStreamAndDeploymentsNin,
3414
- ),
3415
- );
3416
- }
3417
-
3418
- /** @internal */
3419
- export type DeploymentStreamAndNin$Outbound = {
3420
- nin: Array<string | number | boolean>;
3421
- };
3422
-
3423
- /** @internal */
3424
- export const DeploymentStreamAndNin$outboundSchema: z.ZodType<
3425
- DeploymentStreamAndNin$Outbound,
3426
- z.ZodTypeDef,
3427
- DeploymentStreamAndNin
3428
- > = z.object({
3429
- nin: z.array(z.union([z.string(), z.number(), z.boolean()])),
3430
- });
3431
-
3432
- export function deploymentStreamAndNinToJSON(
3433
- deploymentStreamAndNin: DeploymentStreamAndNin,
3434
- ): string {
3435
- return JSON.stringify(
3436
- DeploymentStreamAndNin$outboundSchema.parse(deploymentStreamAndNin),
3437
- );
3438
- }
3439
-
3440
- /** @internal */
3441
- export type DeploymentStreamAndDeploymentsIn$Outbound =
3442
- | string
3443
- | number
3444
- | boolean;
3445
-
3446
- /** @internal */
3447
- export const DeploymentStreamAndDeploymentsIn$outboundSchema: z.ZodType<
3448
- DeploymentStreamAndDeploymentsIn$Outbound,
3449
- z.ZodTypeDef,
3450
- DeploymentStreamAndDeploymentsIn
3451
- > = z.union([z.string(), z.number(), z.boolean()]);
3452
-
3453
- export function deploymentStreamAndDeploymentsInToJSON(
3454
- deploymentStreamAndDeploymentsIn: DeploymentStreamAndDeploymentsIn,
3455
- ): string {
3456
- return JSON.stringify(
3457
- DeploymentStreamAndDeploymentsIn$outboundSchema.parse(
3458
- deploymentStreamAndDeploymentsIn,
3459
- ),
3460
- );
3461
- }
3462
-
3463
- /** @internal */
3464
- export type DeploymentStreamAndIn$Outbound = {
3465
- in: Array<string | number | boolean>;
3466
- };
3467
-
3468
- /** @internal */
3469
- export const DeploymentStreamAndIn$outboundSchema: z.ZodType<
3470
- DeploymentStreamAndIn$Outbound,
3471
- z.ZodTypeDef,
3472
- DeploymentStreamAndIn
3473
- > = z.object({
3474
- in: z.array(z.union([z.string(), z.number(), z.boolean()])),
3475
- });
3476
-
3477
- export function deploymentStreamAndInToJSON(
3478
- deploymentStreamAndIn: DeploymentStreamAndIn,
3479
- ): string {
3480
- return JSON.stringify(
3481
- DeploymentStreamAndIn$outboundSchema.parse(deploymentStreamAndIn),
3482
- );
3483
- }
3484
-
3485
- /** @internal */
3486
- export type DeploymentStreamAndLte$Outbound = {
3487
- lte: number;
3488
- };
3489
-
3490
- /** @internal */
3491
- export const DeploymentStreamAndLte$outboundSchema: z.ZodType<
3492
- DeploymentStreamAndLte$Outbound,
3493
- z.ZodTypeDef,
3494
- DeploymentStreamAndLte
3495
- > = z.object({
3496
- lte: z.number(),
3497
- });
3498
-
3499
- export function deploymentStreamAndLteToJSON(
3500
- deploymentStreamAndLte: DeploymentStreamAndLte,
3501
- ): string {
3502
- return JSON.stringify(
3503
- DeploymentStreamAndLte$outboundSchema.parse(deploymentStreamAndLte),
3504
- );
3505
- }
3506
-
3507
- /** @internal */
3508
- export type DeploymentStreamAndLt$Outbound = {
3509
- lt: number;
3510
- };
3511
-
3512
- /** @internal */
3513
- export const DeploymentStreamAndLt$outboundSchema: z.ZodType<
3514
- DeploymentStreamAndLt$Outbound,
3515
- z.ZodTypeDef,
3516
- DeploymentStreamAndLt
3517
- > = z.object({
3518
- lt: z.number(),
3519
- });
3520
-
3521
- export function deploymentStreamAndLtToJSON(
3522
- deploymentStreamAndLt: DeploymentStreamAndLt,
3523
- ): string {
3524
- return JSON.stringify(
3525
- DeploymentStreamAndLt$outboundSchema.parse(deploymentStreamAndLt),
3526
- );
3527
- }
3528
-
3529
- /** @internal */
3530
- export type DeploymentStreamAndGte$Outbound = {
3531
- gte: number;
3532
- };
3533
-
3534
- /** @internal */
3535
- export const DeploymentStreamAndGte$outboundSchema: z.ZodType<
3536
- DeploymentStreamAndGte$Outbound,
3537
- z.ZodTypeDef,
3538
- DeploymentStreamAndGte
3539
- > = z.object({
3540
- gte: z.number(),
3541
- });
3542
-
3543
- export function deploymentStreamAndGteToJSON(
3544
- deploymentStreamAndGte: DeploymentStreamAndGte,
3545
- ): string {
3546
- return JSON.stringify(
3547
- DeploymentStreamAndGte$outboundSchema.parse(deploymentStreamAndGte),
3548
- );
3549
- }
3550
-
3551
- /** @internal */
3552
- export type DeploymentStreamAndGt$Outbound = {
3553
- gt: number;
3554
- };
3555
-
3556
- /** @internal */
3557
- export const DeploymentStreamAndGt$outboundSchema: z.ZodType<
3558
- DeploymentStreamAndGt$Outbound,
3559
- z.ZodTypeDef,
3560
- DeploymentStreamAndGt
3561
- > = z.object({
3562
- gt: z.number(),
3563
- });
3564
-
3565
- export function deploymentStreamAndGtToJSON(
3566
- deploymentStreamAndGt: DeploymentStreamAndGt,
3567
- ): string {
3568
- return JSON.stringify(
3569
- DeploymentStreamAndGt$outboundSchema.parse(deploymentStreamAndGt),
3570
- );
3571
- }
3572
-
3573
- /** @internal */
3574
- export type DeploymentStreamAndDeploymentsNe$Outbound =
3575
- | string
3576
- | number
3577
- | boolean;
3578
-
3579
- /** @internal */
3580
- export const DeploymentStreamAndDeploymentsNe$outboundSchema: z.ZodType<
3581
- DeploymentStreamAndDeploymentsNe$Outbound,
3582
- z.ZodTypeDef,
3583
- DeploymentStreamAndDeploymentsNe
3584
- > = z.union([z.string(), z.number(), z.boolean()]);
3585
-
3586
- export function deploymentStreamAndDeploymentsNeToJSON(
3587
- deploymentStreamAndDeploymentsNe: DeploymentStreamAndDeploymentsNe,
3588
- ): string {
3589
- return JSON.stringify(
3590
- DeploymentStreamAndDeploymentsNe$outboundSchema.parse(
3591
- deploymentStreamAndDeploymentsNe,
3592
- ),
3593
- );
3594
- }
3595
-
3596
- /** @internal */
3597
- export type DeploymentStreamAndNe$Outbound = {
3598
- ne: string | number | boolean;
3599
- };
3600
-
3601
- /** @internal */
3602
- export const DeploymentStreamAndNe$outboundSchema: z.ZodType<
3603
- DeploymentStreamAndNe$Outbound,
3604
- z.ZodTypeDef,
3605
- DeploymentStreamAndNe
3606
- > = z.object({
3607
- ne: z.union([z.string(), z.number(), z.boolean()]),
3608
- });
3609
-
3610
- export function deploymentStreamAndNeToJSON(
3611
- deploymentStreamAndNe: DeploymentStreamAndNe,
3612
- ): string {
3613
- return JSON.stringify(
3614
- DeploymentStreamAndNe$outboundSchema.parse(deploymentStreamAndNe),
3615
- );
3616
- }
3617
-
3618
- /** @internal */
3619
- export type DeploymentStreamAndDeploymentsEq$Outbound =
3620
- | string
3621
- | number
3622
- | boolean;
3623
-
3624
- /** @internal */
3625
- export const DeploymentStreamAndDeploymentsEq$outboundSchema: z.ZodType<
3626
- DeploymentStreamAndDeploymentsEq$Outbound,
3627
- z.ZodTypeDef,
3628
- DeploymentStreamAndDeploymentsEq
3629
- > = z.union([z.string(), z.number(), z.boolean()]);
3630
-
3631
- export function deploymentStreamAndDeploymentsEqToJSON(
3632
- deploymentStreamAndDeploymentsEq: DeploymentStreamAndDeploymentsEq,
3633
- ): string {
3634
- return JSON.stringify(
3635
- DeploymentStreamAndDeploymentsEq$outboundSchema.parse(
3636
- deploymentStreamAndDeploymentsEq,
3637
- ),
3638
- );
3639
- }
3640
-
3641
- /** @internal */
3642
- export type DeploymentStreamAndEq$Outbound = {
3643
- eq: string | number | boolean;
3644
- };
3645
-
3646
- /** @internal */
3647
- export const DeploymentStreamAndEq$outboundSchema: z.ZodType<
3648
- DeploymentStreamAndEq$Outbound,
3649
- z.ZodTypeDef,
3650
- DeploymentStreamAndEq
3651
- > = z.object({
3652
- eq: z.union([z.string(), z.number(), z.boolean()]),
3653
- });
3654
-
3655
- export function deploymentStreamAndEqToJSON(
3656
- deploymentStreamAndEq: DeploymentStreamAndEq,
3657
- ): string {
3658
- return JSON.stringify(
3659
- DeploymentStreamAndEq$outboundSchema.parse(deploymentStreamAndEq),
3660
- );
3661
- }
3662
-
3663
- /** @internal */
3664
- export type DeploymentStreamKnowledgeFilterDeploymentsAnd$Outbound =
3665
- | DeploymentStreamAndEq$Outbound
3666
- | DeploymentStreamAndNe$Outbound
3667
- | DeploymentStreamAndGt$Outbound
3668
- | DeploymentStreamAndGte$Outbound
3669
- | DeploymentStreamAndLt$Outbound
3670
- | DeploymentStreamAndLte$Outbound
3671
- | DeploymentStreamAndIn$Outbound
3672
- | DeploymentStreamAndNin$Outbound
3673
- | DeploymentStreamAndExists$Outbound;
3674
-
3675
- /** @internal */
3676
- export const DeploymentStreamKnowledgeFilterDeploymentsAnd$outboundSchema:
3677
- z.ZodType<
3678
- DeploymentStreamKnowledgeFilterDeploymentsAnd$Outbound,
3679
- z.ZodTypeDef,
3680
- DeploymentStreamKnowledgeFilterDeploymentsAnd
3681
- > = z.union([
3682
- z.lazy(() => DeploymentStreamAndEq$outboundSchema),
3683
- z.lazy(() => DeploymentStreamAndNe$outboundSchema),
3684
- z.lazy(() => DeploymentStreamAndGt$outboundSchema),
3685
- z.lazy(() => DeploymentStreamAndGte$outboundSchema),
3686
- z.lazy(() => DeploymentStreamAndLt$outboundSchema),
3687
- z.lazy(() => DeploymentStreamAndLte$outboundSchema),
3688
- z.lazy(() => DeploymentStreamAndIn$outboundSchema),
3689
- z.lazy(() => DeploymentStreamAndNin$outboundSchema),
3690
- z.lazy(() => DeploymentStreamAndExists$outboundSchema),
3691
- ]);
3692
-
3693
- export function deploymentStreamKnowledgeFilterDeploymentsAndToJSON(
3694
- deploymentStreamKnowledgeFilterDeploymentsAnd:
3695
- DeploymentStreamKnowledgeFilterDeploymentsAnd,
3696
- ): string {
3697
- return JSON.stringify(
3698
- DeploymentStreamKnowledgeFilterDeploymentsAnd$outboundSchema.parse(
3699
- deploymentStreamKnowledgeFilterDeploymentsAnd,
3700
- ),
3701
- );
3702
- }
3703
-
3704
- /** @internal */
3705
- export type DeploymentStreamKnowledgeFilterAnd$Outbound = {
3706
- and: Array<
3707
- {
3708
- [k: string]:
3709
- | DeploymentStreamAndEq$Outbound
3710
- | DeploymentStreamAndNe$Outbound
3711
- | DeploymentStreamAndGt$Outbound
3712
- | DeploymentStreamAndGte$Outbound
3713
- | DeploymentStreamAndLt$Outbound
3714
- | DeploymentStreamAndLte$Outbound
3715
- | DeploymentStreamAndIn$Outbound
3716
- | DeploymentStreamAndNin$Outbound
3717
- | DeploymentStreamAndExists$Outbound;
3718
- }
3719
- >;
3720
- };
3721
-
3722
- /** @internal */
3723
- export const DeploymentStreamKnowledgeFilterAnd$outboundSchema: z.ZodType<
3724
- DeploymentStreamKnowledgeFilterAnd$Outbound,
3725
- z.ZodTypeDef,
3726
- DeploymentStreamKnowledgeFilterAnd
3727
- > = z.object({
3728
- and: z.array(
3729
- z.record(z.union([
3730
- z.lazy(() => DeploymentStreamAndEq$outboundSchema),
3731
- z.lazy(() =>
3732
- DeploymentStreamAndNe$outboundSchema
3733
- ),
3734
- z.lazy(() => DeploymentStreamAndGt$outboundSchema),
3735
- z.lazy(() => DeploymentStreamAndGte$outboundSchema),
3736
- z.lazy(() => DeploymentStreamAndLt$outboundSchema),
3737
- z.lazy(() => DeploymentStreamAndLte$outboundSchema),
3738
- z.lazy(() => DeploymentStreamAndIn$outboundSchema),
3739
- z.lazy(() => DeploymentStreamAndNin$outboundSchema),
3740
- z.lazy(() => DeploymentStreamAndExists$outboundSchema),
3741
- ])),
3742
- ),
3743
- });
3744
-
3745
- export function deploymentStreamKnowledgeFilterAndToJSON(
3746
- deploymentStreamKnowledgeFilterAnd: DeploymentStreamKnowledgeFilterAnd,
3747
- ): string {
3748
- return JSON.stringify(
3749
- DeploymentStreamKnowledgeFilterAnd$outboundSchema.parse(
3750
- deploymentStreamKnowledgeFilterAnd,
3751
- ),
3752
- );
3753
- }
3754
-
3755
- /** @internal */
3756
- export type OneExists$Outbound = {
3757
- exists: boolean;
3758
- };
3759
-
3760
- /** @internal */
3761
- export const OneExists$outboundSchema: z.ZodType<
3762
- OneExists$Outbound,
3763
- z.ZodTypeDef,
3764
- OneExists
3765
- > = z.object({
3766
- exists: z.boolean(),
3767
- });
3768
-
3769
- export function oneExistsToJSON(oneExists: OneExists): string {
3770
- return JSON.stringify(OneExists$outboundSchema.parse(oneExists));
3771
- }
3772
-
3773
- /** @internal */
3774
- export type DeploymentStream1DeploymentsNin$Outbound =
3775
- | string
3776
- | number
3777
- | boolean;
3778
-
3779
- /** @internal */
3780
- export const DeploymentStream1DeploymentsNin$outboundSchema: z.ZodType<
3781
- DeploymentStream1DeploymentsNin$Outbound,
3782
- z.ZodTypeDef,
3783
- DeploymentStream1DeploymentsNin
3784
- > = z.union([z.string(), z.number(), z.boolean()]);
3785
-
3786
- export function deploymentStream1DeploymentsNinToJSON(
3787
- deploymentStream1DeploymentsNin: DeploymentStream1DeploymentsNin,
3788
- ): string {
3789
- return JSON.stringify(
3790
- DeploymentStream1DeploymentsNin$outboundSchema.parse(
3791
- deploymentStream1DeploymentsNin,
3792
- ),
3793
- );
3794
- }
3795
-
3796
- /** @internal */
3797
- export type DeploymentStream1Nin$Outbound = {
3798
- nin: Array<string | number | boolean>;
3799
- };
3800
-
3801
- /** @internal */
3802
- export const DeploymentStream1Nin$outboundSchema: z.ZodType<
3803
- DeploymentStream1Nin$Outbound,
3804
- z.ZodTypeDef,
3805
- DeploymentStream1Nin
3806
- > = z.object({
3807
- nin: z.array(z.union([z.string(), z.number(), z.boolean()])),
3808
- });
3809
-
3810
- export function deploymentStream1NinToJSON(
3811
- deploymentStream1Nin: DeploymentStream1Nin,
3812
- ): string {
3813
- return JSON.stringify(
3814
- DeploymentStream1Nin$outboundSchema.parse(deploymentStream1Nin),
3815
- );
3816
- }
3817
-
3818
- /** @internal */
3819
- export type DeploymentStream1DeploymentsIn$Outbound = string | number | boolean;
3820
-
3821
- /** @internal */
3822
- export const DeploymentStream1DeploymentsIn$outboundSchema: z.ZodType<
3823
- DeploymentStream1DeploymentsIn$Outbound,
3824
- z.ZodTypeDef,
3825
- DeploymentStream1DeploymentsIn
3826
- > = z.union([z.string(), z.number(), z.boolean()]);
3827
-
3828
- export function deploymentStream1DeploymentsInToJSON(
3829
- deploymentStream1DeploymentsIn: DeploymentStream1DeploymentsIn,
3830
- ): string {
3831
- return JSON.stringify(
3832
- DeploymentStream1DeploymentsIn$outboundSchema.parse(
3833
- deploymentStream1DeploymentsIn,
3834
- ),
3835
- );
3836
- }
3837
-
3838
- /** @internal */
3839
- export type DeploymentStream1In$Outbound = {
3840
- in: Array<string | number | boolean>;
3841
- };
3842
-
3843
- /** @internal */
3844
- export const DeploymentStream1In$outboundSchema: z.ZodType<
3845
- DeploymentStream1In$Outbound,
3846
- z.ZodTypeDef,
3847
- DeploymentStream1In
3848
- > = z.object({
3849
- in: z.array(z.union([z.string(), z.number(), z.boolean()])),
3850
- });
3851
-
3852
- export function deploymentStream1InToJSON(
3853
- deploymentStream1In: DeploymentStream1In,
3854
- ): string {
3855
- return JSON.stringify(
3856
- DeploymentStream1In$outboundSchema.parse(deploymentStream1In),
3857
- );
3858
- }
3859
-
3860
- /** @internal */
3861
- export type OneLte$Outbound = {
3862
- lte: number;
3863
- };
3864
-
3865
- /** @internal */
3866
- export const OneLte$outboundSchema: z.ZodType<
3867
- OneLte$Outbound,
3868
- z.ZodTypeDef,
3869
- OneLte
3870
- > = z.object({
3871
- lte: z.number(),
3872
- });
3873
-
3874
- export function oneLteToJSON(oneLte: OneLte): string {
3875
- return JSON.stringify(OneLte$outboundSchema.parse(oneLte));
3876
- }
3877
-
3878
- /** @internal */
3879
- export type OneLt$Outbound = {
3880
- lt: number;
3881
- };
3882
-
3883
- /** @internal */
3884
- export const OneLt$outboundSchema: z.ZodType<
3885
- OneLt$Outbound,
3886
- z.ZodTypeDef,
3887
- OneLt
3888
- > = z.object({
3889
- lt: z.number(),
3890
- });
3891
-
3892
- export function oneLtToJSON(oneLt: OneLt): string {
3893
- return JSON.stringify(OneLt$outboundSchema.parse(oneLt));
3894
- }
3895
-
3896
- /** @internal */
3897
- export type OneGte$Outbound = {
3898
- gte: number;
3899
- };
3900
-
3901
- /** @internal */
3902
- export const OneGte$outboundSchema: z.ZodType<
3903
- OneGte$Outbound,
3904
- z.ZodTypeDef,
3905
- OneGte
3906
- > = z.object({
3907
- gte: z.number(),
3908
- });
3909
-
3910
- export function oneGteToJSON(oneGte: OneGte): string {
3911
- return JSON.stringify(OneGte$outboundSchema.parse(oneGte));
3912
- }
3913
-
3914
- /** @internal */
3915
- export type OneGt$Outbound = {
3916
- gt: number;
3917
- };
3918
-
3919
- /** @internal */
3920
- export const OneGt$outboundSchema: z.ZodType<
3921
- OneGt$Outbound,
3922
- z.ZodTypeDef,
3923
- OneGt
3924
- > = z.object({
3925
- gt: z.number(),
3926
- });
3927
-
3928
- export function oneGtToJSON(oneGt: OneGt): string {
3929
- return JSON.stringify(OneGt$outboundSchema.parse(oneGt));
3930
- }
3931
-
3932
- /** @internal */
3933
- export type DeploymentStream1DeploymentsNe$Outbound = string | number | boolean;
3934
-
3935
- /** @internal */
3936
- export const DeploymentStream1DeploymentsNe$outboundSchema: z.ZodType<
3937
- DeploymentStream1DeploymentsNe$Outbound,
3938
- z.ZodTypeDef,
3939
- DeploymentStream1DeploymentsNe
3940
- > = z.union([z.string(), z.number(), z.boolean()]);
3941
-
3942
- export function deploymentStream1DeploymentsNeToJSON(
3943
- deploymentStream1DeploymentsNe: DeploymentStream1DeploymentsNe,
3944
- ): string {
3945
- return JSON.stringify(
3946
- DeploymentStream1DeploymentsNe$outboundSchema.parse(
3947
- deploymentStream1DeploymentsNe,
3948
- ),
3949
- );
3950
- }
3951
-
3952
- /** @internal */
3953
- export type DeploymentStream1Ne$Outbound = {
3954
- ne: string | number | boolean;
3955
- };
3956
-
3957
- /** @internal */
3958
- export const DeploymentStream1Ne$outboundSchema: z.ZodType<
3959
- DeploymentStream1Ne$Outbound,
3960
- z.ZodTypeDef,
3961
- DeploymentStream1Ne
3962
- > = z.object({
3963
- ne: z.union([z.string(), z.number(), z.boolean()]),
3964
- });
3965
-
3966
- export function deploymentStream1NeToJSON(
3967
- deploymentStream1Ne: DeploymentStream1Ne,
3968
- ): string {
3969
- return JSON.stringify(
3970
- DeploymentStream1Ne$outboundSchema.parse(deploymentStream1Ne),
3971
- );
3972
- }
3973
-
3974
- /** @internal */
3975
- export type DeploymentStream1DeploymentsEq$Outbound = string | number | boolean;
3976
-
3977
- /** @internal */
3978
- export const DeploymentStream1DeploymentsEq$outboundSchema: z.ZodType<
3979
- DeploymentStream1DeploymentsEq$Outbound,
3980
- z.ZodTypeDef,
3981
- DeploymentStream1DeploymentsEq
3982
- > = z.union([z.string(), z.number(), z.boolean()]);
3983
-
3984
- export function deploymentStream1DeploymentsEqToJSON(
3985
- deploymentStream1DeploymentsEq: DeploymentStream1DeploymentsEq,
3986
- ): string {
3987
- return JSON.stringify(
3988
- DeploymentStream1DeploymentsEq$outboundSchema.parse(
3989
- deploymentStream1DeploymentsEq,
3990
- ),
3991
- );
3992
- }
3993
-
3994
- /** @internal */
3995
- export type DeploymentStream1Eq$Outbound = {
3996
- eq: string | number | boolean;
3997
- };
3998
-
3999
- /** @internal */
4000
- export const DeploymentStream1Eq$outboundSchema: z.ZodType<
4001
- DeploymentStream1Eq$Outbound,
4002
- z.ZodTypeDef,
4003
- DeploymentStream1Eq
4004
- > = z.object({
4005
- eq: z.union([z.string(), z.number(), z.boolean()]),
4006
- });
4007
-
4008
- export function deploymentStream1EqToJSON(
4009
- deploymentStream1Eq: DeploymentStream1Eq,
4010
- ): string {
4011
- return JSON.stringify(
4012
- DeploymentStream1Eq$outboundSchema.parse(deploymentStream1Eq),
4013
- );
4014
- }
4015
-
4016
- /** @internal */
4017
- export type DeploymentStreamKnowledgeFilter1$Outbound =
4018
- | DeploymentStream1Eq$Outbound
4019
- | DeploymentStream1Ne$Outbound
4020
- | OneGt$Outbound
4021
- | OneGte$Outbound
4022
- | OneLt$Outbound
4023
- | OneLte$Outbound
4024
- | DeploymentStream1In$Outbound
4025
- | DeploymentStream1Nin$Outbound
4026
- | OneExists$Outbound;
4027
-
4028
- /** @internal */
4029
- export const DeploymentStreamKnowledgeFilter1$outboundSchema: z.ZodType<
4030
- DeploymentStreamKnowledgeFilter1$Outbound,
4031
- z.ZodTypeDef,
4032
- DeploymentStreamKnowledgeFilter1
4033
- > = z.union([
4034
- z.lazy(() => DeploymentStream1Eq$outboundSchema),
4035
- z.lazy(() => DeploymentStream1Ne$outboundSchema),
4036
- z.lazy(() => OneGt$outboundSchema),
4037
- z.lazy(() => OneGte$outboundSchema),
4038
- z.lazy(() => OneLt$outboundSchema),
4039
- z.lazy(() => OneLte$outboundSchema),
4040
- z.lazy(() => DeploymentStream1In$outboundSchema),
4041
- z.lazy(() => DeploymentStream1Nin$outboundSchema),
4042
- z.lazy(() => OneExists$outboundSchema),
4043
- ]);
4044
-
4045
- export function deploymentStreamKnowledgeFilter1ToJSON(
4046
- deploymentStreamKnowledgeFilter1: DeploymentStreamKnowledgeFilter1,
4047
- ): string {
4048
- return JSON.stringify(
4049
- DeploymentStreamKnowledgeFilter1$outboundSchema.parse(
4050
- deploymentStreamKnowledgeFilter1,
4051
- ),
4052
- );
4053
- }
4054
-
4055
- /** @internal */
4056
- export type DeploymentStreamKnowledgeFilter$Outbound =
4057
- | DeploymentStreamKnowledgeFilterAnd$Outbound
4058
- | DeploymentStreamKnowledgeFilterOr$Outbound
4059
- | {
4060
- [k: string]:
4061
- | DeploymentStream1Eq$Outbound
4062
- | DeploymentStream1Ne$Outbound
4063
- | OneGt$Outbound
4064
- | OneGte$Outbound
4065
- | OneLt$Outbound
4066
- | OneLte$Outbound
4067
- | DeploymentStream1In$Outbound
4068
- | DeploymentStream1Nin$Outbound
4069
- | OneExists$Outbound;
4070
- };
4071
-
4072
- /** @internal */
4073
- export const DeploymentStreamKnowledgeFilter$outboundSchema: z.ZodType<
4074
- DeploymentStreamKnowledgeFilter$Outbound,
4075
- z.ZodTypeDef,
4076
- DeploymentStreamKnowledgeFilter
4077
- > = z.union([
4078
- z.lazy(() => DeploymentStreamKnowledgeFilterAnd$outboundSchema),
4079
- z.lazy(() => DeploymentStreamKnowledgeFilterOr$outboundSchema),
4080
- z.record(z.union([
4081
- z.lazy(() => DeploymentStream1Eq$outboundSchema),
4082
- z.lazy(() => DeploymentStream1Ne$outboundSchema),
4083
- z.lazy(() => OneGt$outboundSchema),
4084
- z.lazy(() => OneGte$outboundSchema),
4085
- z.lazy(() => OneLt$outboundSchema),
4086
- z.lazy(() => OneLte$outboundSchema),
4087
- z.lazy(() => DeploymentStream1In$outboundSchema),
4088
- z.lazy(() => DeploymentStream1Nin$outboundSchema),
4089
- z.lazy(() => OneExists$outboundSchema),
4090
- ])),
4091
- ]);
4092
-
4093
- export function deploymentStreamKnowledgeFilterToJSON(
4094
- deploymentStreamKnowledgeFilter: DeploymentStreamKnowledgeFilter,
4095
- ): string {
4096
- return JSON.stringify(
4097
- DeploymentStreamKnowledgeFilter$outboundSchema.parse(
4098
- deploymentStreamKnowledgeFilter,
4099
- ),
4100
- );
4101
- }
4102
-
4103
- /** @internal */
4104
- export type DeploymentStreamRequestBody$Outbound = {
4105
- key: string;
4106
- inputs?: { [k: string]: any } | undefined;
4107
- context?: { [k: string]: any } | undefined;
4108
- prefix_messages?:
4109
- | Array<
4110
- | PrefixMessagesSystemMessage$Outbound
4111
- | PrefixMessagesDeveloperMessage$Outbound
4112
- | PrefixMessagesUserMessage$Outbound
4113
- | PrefixMessagesAssistantMessage$Outbound
4114
- | PrefixMessagesToolMessage$Outbound
4115
- >
4116
- | undefined;
4117
- messages?:
4118
- | Array<
4119
- | DeploymentStreamMessagesSystemMessage$Outbound
4120
- | DeploymentStreamMessagesDeveloperMessage$Outbound
4121
- | DeploymentStreamMessagesUserMessage$Outbound
4122
- | DeploymentStreamMessagesAssistantMessage$Outbound
4123
- | DeploymentStreamMessagesToolMessage$Outbound
4124
- >
4125
- | undefined;
4126
- identity?: components.PublicIdentity$Outbound | undefined;
4127
- file_ids?: Array<string> | undefined;
4128
- metadata?: { [k: string]: any } | undefined;
4129
- extra_params?: { [k: string]: any } | undefined;
4130
- documents?: Array<DeploymentStreamDocuments$Outbound> | undefined;
4131
- invoke_options?: DeploymentStreamInvokeOptions$Outbound | undefined;
4132
- thread?: DeploymentStreamThread$Outbound | undefined;
4133
- knowledge_filter?:
4134
- | DeploymentStreamKnowledgeFilterAnd$Outbound
4135
- | DeploymentStreamKnowledgeFilterOr$Outbound
4136
- | {
4137
- [k: string]:
4138
- | DeploymentStream1Eq$Outbound
4139
- | DeploymentStream1Ne$Outbound
4140
- | OneGt$Outbound
4141
- | OneGte$Outbound
4142
- | OneLt$Outbound
4143
- | OneLte$Outbound
4144
- | DeploymentStream1In$Outbound
4145
- | DeploymentStream1Nin$Outbound
4146
- | OneExists$Outbound;
4147
- }
4148
- | undefined;
4149
- };
4150
-
4151
- /** @internal */
4152
- export const DeploymentStreamRequestBody$outboundSchema: z.ZodType<
4153
- DeploymentStreamRequestBody$Outbound,
4154
- z.ZodTypeDef,
4155
- DeploymentStreamRequestBody
4156
- > = z.object({
4157
- key: z.string(),
4158
- inputs: z.record(z.any()).optional(),
4159
- context: z.record(z.any()).optional(),
4160
- prefixMessages: z.array(
4161
- z.union([
4162
- z.lazy(() => PrefixMessagesSystemMessage$outboundSchema),
4163
- z.lazy(() => PrefixMessagesDeveloperMessage$outboundSchema),
4164
- z.lazy(() => PrefixMessagesUserMessage$outboundSchema),
4165
- z.lazy(() => PrefixMessagesAssistantMessage$outboundSchema),
4166
- z.lazy(() => PrefixMessagesToolMessage$outboundSchema),
4167
- ]),
4168
- ).optional(),
4169
- messages: z.array(
4170
- z.union([
4171
- z.lazy(() => DeploymentStreamMessagesSystemMessage$outboundSchema),
4172
- z.lazy(() => DeploymentStreamMessagesDeveloperMessage$outboundSchema),
4173
- z.lazy(() => DeploymentStreamMessagesUserMessage$outboundSchema),
4174
- z.lazy(() => DeploymentStreamMessagesAssistantMessage$outboundSchema),
4175
- z.lazy(() => DeploymentStreamMessagesToolMessage$outboundSchema),
4176
- ]),
4177
- ).optional(),
4178
- identity: components.PublicIdentity$outboundSchema.optional(),
4179
- fileIds: z.array(z.string()).optional(),
4180
- metadata: z.record(z.any()).optional(),
4181
- extraParams: z.record(z.any()).optional(),
4182
- documents: z.array(z.lazy(() => DeploymentStreamDocuments$outboundSchema))
4183
- .optional(),
4184
- invokeOptions: z.lazy(() => DeploymentStreamInvokeOptions$outboundSchema)
4185
- .optional(),
4186
- thread: z.lazy(() => DeploymentStreamThread$outboundSchema).optional(),
4187
- knowledgeFilter: z.union([
4188
- z.lazy(() => DeploymentStreamKnowledgeFilterAnd$outboundSchema),
4189
- z.lazy(() => DeploymentStreamKnowledgeFilterOr$outboundSchema),
4190
- z.record(
4191
- z.union([
4192
- z.lazy(() => DeploymentStream1Eq$outboundSchema),
4193
- z.lazy(() => DeploymentStream1Ne$outboundSchema),
4194
- z.lazy(() => OneGt$outboundSchema),
4195
- z.lazy(() => OneGte$outboundSchema),
4196
- z.lazy(() => OneLt$outboundSchema),
4197
- z.lazy(() => OneLte$outboundSchema),
4198
- z.lazy(() => DeploymentStream1In$outboundSchema),
4199
- z.lazy(() => DeploymentStream1Nin$outboundSchema),
4200
- z.lazy(() => OneExists$outboundSchema),
4201
- ]),
4202
- ),
4203
- ]).optional(),
4204
- }).transform((v) => {
4205
- return remap$(v, {
4206
- prefixMessages: "prefix_messages",
4207
- fileIds: "file_ids",
4208
- extraParams: "extra_params",
4209
- invokeOptions: "invoke_options",
4210
- knowledgeFilter: "knowledge_filter",
4211
- });
4212
- });
4213
-
4214
- export function deploymentStreamRequestBodyToJSON(
4215
- deploymentStreamRequestBody: DeploymentStreamRequestBody,
4216
- ): string {
4217
- return JSON.stringify(
4218
- DeploymentStreamRequestBody$outboundSchema.parse(
4219
- deploymentStreamRequestBody,
4220
- ),
4221
- );
4222
- }
4223
-
4224
- /** @internal */
4225
- export const DeploymentStreamObject$inboundSchema: z.ZodNativeEnum<
4226
- typeof DeploymentStreamObject
4227
- > = z.nativeEnum(DeploymentStreamObject);
4228
-
4229
- /** @internal */
4230
- export const DeploymentStreamProvider$inboundSchema: z.ZodNativeEnum<
4231
- typeof DeploymentStreamProvider
4232
- > = z.nativeEnum(DeploymentStreamProvider);
4233
-
4234
- /** @internal */
4235
- export const DeploymentStreamTelemetry$inboundSchema: z.ZodType<
4236
- DeploymentStreamTelemetry,
4237
- z.ZodTypeDef,
4238
- unknown
4239
- > = z.object({
4240
- trace_id: z.string(),
4241
- span_id: z.string(),
4242
- }).transform((v) => {
4243
- return remap$(v, {
4244
- "trace_id": "traceId",
4245
- "span_id": "spanId",
4246
- });
4247
- });
4248
-
4249
- export function deploymentStreamTelemetryFromJSON(
4250
- jsonString: string,
4251
- ): SafeParseResult<DeploymentStreamTelemetry, SDKValidationError> {
4252
- return safeParse(
4253
- jsonString,
4254
- (x) => DeploymentStreamTelemetry$inboundSchema.parse(JSON.parse(x)),
4255
- `Failed to parse 'DeploymentStreamTelemetry' from JSON`,
4256
- );
4257
- }
4258
-
4259
- /** @internal */
4260
- export const DeploymentStreamDeploymentsMetadata$inboundSchema: z.ZodType<
4261
- DeploymentStreamDeploymentsMetadata,
4262
- z.ZodTypeDef,
4263
- unknown
4264
- > = z.object({
4265
- file_name: z.string(),
4266
- page_number: z.nullable(z.number()),
4267
- file_type: z.string(),
4268
- rerank_score: z.number().optional(),
4269
- search_score: z.number(),
4270
- }).transform((v) => {
4271
- return remap$(v, {
4272
- "file_name": "fileName",
4273
- "page_number": "pageNumber",
4274
- "file_type": "fileType",
4275
- "rerank_score": "rerankScore",
4276
- "search_score": "searchScore",
4277
- });
4278
- });
4279
-
4280
- export function deploymentStreamDeploymentsMetadataFromJSON(
4281
- jsonString: string,
4282
- ): SafeParseResult<DeploymentStreamDeploymentsMetadata, SDKValidationError> {
4283
- return safeParse(
4284
- jsonString,
4285
- (x) =>
4286
- DeploymentStreamDeploymentsMetadata$inboundSchema.parse(JSON.parse(x)),
4287
- `Failed to parse 'DeploymentStreamDeploymentsMetadata' from JSON`,
4288
- );
4289
- }
4290
-
4291
- /** @internal */
4292
- export const DeploymentStreamRetrievals$inboundSchema: z.ZodType<
4293
- DeploymentStreamRetrievals,
4294
- z.ZodTypeDef,
4295
- unknown
4296
- > = z.object({
4297
- document: z.string(),
4298
- metadata: z.lazy(() => DeploymentStreamDeploymentsMetadata$inboundSchema),
4299
- });
4300
-
4301
- export function deploymentStreamRetrievalsFromJSON(
4302
- jsonString: string,
4303
- ): SafeParseResult<DeploymentStreamRetrievals, SDKValidationError> {
4304
- return safeParse(
4305
- jsonString,
4306
- (x) => DeploymentStreamRetrievals$inboundSchema.parse(JSON.parse(x)),
4307
- `Failed to parse 'DeploymentStreamRetrievals' from JSON`,
4308
- );
4309
- }
4310
-
4311
- /** @internal */
4312
- export const DeploymentStreamPromptTokensDetails$inboundSchema: z.ZodType<
4313
- DeploymentStreamPromptTokensDetails,
4314
- z.ZodTypeDef,
4315
- unknown
4316
- > = z.object({
4317
- cached_tokens: z.nullable(z.number()).optional(),
4318
- }).transform((v) => {
4319
- return remap$(v, {
4320
- "cached_tokens": "cachedTokens",
4321
- });
4322
- });
4323
-
4324
- export function deploymentStreamPromptTokensDetailsFromJSON(
4325
- jsonString: string,
4326
- ): SafeParseResult<DeploymentStreamPromptTokensDetails, SDKValidationError> {
4327
- return safeParse(
4328
- jsonString,
4329
- (x) =>
4330
- DeploymentStreamPromptTokensDetails$inboundSchema.parse(JSON.parse(x)),
4331
- `Failed to parse 'DeploymentStreamPromptTokensDetails' from JSON`,
4332
- );
4333
- }
4334
-
4335
- /** @internal */
4336
- export const DeploymentStreamCompletionTokensDetails$inboundSchema: z.ZodType<
4337
- DeploymentStreamCompletionTokensDetails,
4338
- z.ZodTypeDef,
4339
- unknown
4340
- > = z.object({
4341
- reasoning_tokens: z.nullable(z.number()).optional(),
4342
- }).transform((v) => {
4343
- return remap$(v, {
4344
- "reasoning_tokens": "reasoningTokens",
4345
- });
4346
- });
4347
-
4348
- export function deploymentStreamCompletionTokensDetailsFromJSON(
4349
- jsonString: string,
4350
- ): SafeParseResult<
4351
- DeploymentStreamCompletionTokensDetails,
4352
- SDKValidationError
4353
- > {
4354
- return safeParse(
4355
- jsonString,
4356
- (x) =>
4357
- DeploymentStreamCompletionTokensDetails$inboundSchema.parse(
4358
- JSON.parse(x),
4359
- ),
4360
- `Failed to parse 'DeploymentStreamCompletionTokensDetails' from JSON`,
4361
- );
4362
- }
4363
-
4364
- /** @internal */
4365
- export const DeploymentStreamUsage$inboundSchema: z.ZodType<
4366
- DeploymentStreamUsage,
4367
- z.ZodTypeDef,
4368
- unknown
4369
- > = z.object({
4370
- total_tokens: z.number().optional(),
4371
- prompt_tokens: z.number().optional(),
4372
- completion_tokens: z.number().optional(),
4373
- prompt_tokens_details: z.lazy(() =>
4374
- DeploymentStreamPromptTokensDetails$inboundSchema
4375
- ).optional(),
4376
- completion_tokens_details: z.nullable(
4377
- z.lazy(() => DeploymentStreamCompletionTokensDetails$inboundSchema),
4378
- ).optional(),
4379
- }).transform((v) => {
4380
- return remap$(v, {
4381
- "total_tokens": "totalTokens",
4382
- "prompt_tokens": "promptTokens",
4383
- "completion_tokens": "completionTokens",
4384
- "prompt_tokens_details": "promptTokensDetails",
4385
- "completion_tokens_details": "completionTokensDetails",
4386
- });
4387
- });
4388
-
4389
- export function deploymentStreamUsageFromJSON(
4390
- jsonString: string,
4391
- ): SafeParseResult<DeploymentStreamUsage, SDKValidationError> {
4392
- return safeParse(
4393
- jsonString,
4394
- (x) => DeploymentStreamUsage$inboundSchema.parse(JSON.parse(x)),
4395
- `Failed to parse 'DeploymentStreamUsage' from JSON`,
4396
- );
4397
- }
4398
-
4399
- /** @internal */
4400
- export const DeploymentStreamMessageDeploymentsResponseRole$inboundSchema:
4401
- z.ZodNativeEnum<typeof DeploymentStreamMessageDeploymentsResponseRole> = z
4402
- .nativeEnum(DeploymentStreamMessageDeploymentsResponseRole);
4403
-
4404
- /** @internal */
4405
- export const DeploymentStreamMessage3$inboundSchema: z.ZodType<
4406
- DeploymentStreamMessage3,
4407
- z.ZodTypeDef,
4408
- unknown
4409
- > = z.object({
4410
- type: z.literal("image"),
4411
- role: DeploymentStreamMessageDeploymentsResponseRole$inboundSchema,
4412
- url: z.string(),
4413
- });
4414
-
4415
- export function deploymentStreamMessage3FromJSON(
4416
- jsonString: string,
4417
- ): SafeParseResult<DeploymentStreamMessage3, SDKValidationError> {
4418
- return safeParse(
4419
- jsonString,
4420
- (x) => DeploymentStreamMessage3$inboundSchema.parse(JSON.parse(x)),
4421
- `Failed to parse 'DeploymentStreamMessage3' from JSON`,
4422
- );
4423
- }
4424
-
4425
- /** @internal */
4426
- export const DeploymentStreamMessageDeploymentsRole$inboundSchema:
4427
- z.ZodNativeEnum<typeof DeploymentStreamMessageDeploymentsRole> = z.nativeEnum(
4428
- DeploymentStreamMessageDeploymentsRole,
4429
- );
4430
-
4431
- /** @internal */
4432
- export const DeploymentStreamMessage2$inboundSchema: z.ZodType<
4433
- DeploymentStreamMessage2,
4434
- z.ZodTypeDef,
4435
- unknown
4436
- > = z.object({
4437
- type: z.literal("content"),
4438
- role: DeploymentStreamMessageDeploymentsRole$inboundSchema,
4439
- content: z.nullable(z.string()),
4440
- reasoning: z.string().optional(),
4441
- reasoning_signature: z.string().optional(),
4442
- redacted_reasoning: z.string().optional(),
4443
- }).transform((v) => {
4444
- return remap$(v, {
4445
- "reasoning_signature": "reasoningSignature",
4446
- "redacted_reasoning": "redactedReasoning",
4447
- });
4448
- });
4449
-
4450
- export function deploymentStreamMessage2FromJSON(
4451
- jsonString: string,
4452
- ): SafeParseResult<DeploymentStreamMessage2, SDKValidationError> {
4453
- return safeParse(
4454
- jsonString,
4455
- (x) => DeploymentStreamMessage2$inboundSchema.parse(JSON.parse(x)),
4456
- `Failed to parse 'DeploymentStreamMessage2' from JSON`,
4457
- );
4458
- }
4459
-
4460
- /** @internal */
4461
- export const DeploymentStreamMessageRole$inboundSchema: z.ZodNativeEnum<
4462
- typeof DeploymentStreamMessageRole
4463
- > = z.nativeEnum(DeploymentStreamMessageRole);
4464
-
4465
- /** @internal */
4466
- export const DeploymentStreamMessageDeploymentsResponse200Type$inboundSchema:
4467
- z.ZodNativeEnum<typeof DeploymentStreamMessageDeploymentsResponse200Type> = z
4468
- .nativeEnum(DeploymentStreamMessageDeploymentsResponse200Type);
4469
-
4470
- /** @internal */
4471
- export const DeploymentStreamMessageFunction$inboundSchema: z.ZodType<
4472
- DeploymentStreamMessageFunction,
4473
- z.ZodTypeDef,
4474
- unknown
4475
- > = z.object({
4476
- name: z.string(),
4477
- arguments: z.string(),
4478
- });
4479
-
4480
- export function deploymentStreamMessageFunctionFromJSON(
4481
- jsonString: string,
4482
- ): SafeParseResult<DeploymentStreamMessageFunction, SDKValidationError> {
4483
- return safeParse(
4484
- jsonString,
4485
- (x) => DeploymentStreamMessageFunction$inboundSchema.parse(JSON.parse(x)),
4486
- `Failed to parse 'DeploymentStreamMessageFunction' from JSON`,
4487
- );
4488
- }
4489
-
4490
- /** @internal */
4491
- export const DeploymentStreamMessageToolCalls$inboundSchema: z.ZodType<
4492
- DeploymentStreamMessageToolCalls,
4493
- z.ZodTypeDef,
4494
- unknown
4495
- > = z.object({
4496
- id: z.string().optional(),
4497
- index: z.number().optional(),
4498
- type: DeploymentStreamMessageDeploymentsResponse200Type$inboundSchema,
4499
- function: z.lazy(() => DeploymentStreamMessageFunction$inboundSchema),
4500
- });
4501
-
4502
- export function deploymentStreamMessageToolCallsFromJSON(
4503
- jsonString: string,
4504
- ): SafeParseResult<DeploymentStreamMessageToolCalls, SDKValidationError> {
4505
- return safeParse(
4506
- jsonString,
4507
- (x) => DeploymentStreamMessageToolCalls$inboundSchema.parse(JSON.parse(x)),
4508
- `Failed to parse 'DeploymentStreamMessageToolCalls' from JSON`,
4509
- );
4510
- }
4511
-
4512
- /** @internal */
4513
- export const DeploymentStreamMessage1$inboundSchema: z.ZodType<
4514
- DeploymentStreamMessage1,
4515
- z.ZodTypeDef,
4516
- unknown
4517
- > = z.object({
4518
- type: z.literal("tool_calls"),
4519
- role: DeploymentStreamMessageRole$inboundSchema,
4520
- content: z.nullable(z.string()).optional(),
4521
- tool_calls: z.array(
4522
- z.lazy(() => DeploymentStreamMessageToolCalls$inboundSchema),
4523
- ),
4524
- reasoning: z.string().optional(),
4525
- reasoning_signature: z.string().optional(),
4526
- redacted_reasoning: z.string().optional(),
4527
- }).transform((v) => {
4528
- return remap$(v, {
4529
- "tool_calls": "toolCalls",
4530
- "reasoning_signature": "reasoningSignature",
4531
- "redacted_reasoning": "redactedReasoning",
4532
- });
4533
- });
4534
-
4535
- export function deploymentStreamMessage1FromJSON(
4536
- jsonString: string,
4537
- ): SafeParseResult<DeploymentStreamMessage1, SDKValidationError> {
4538
- return safeParse(
4539
- jsonString,
4540
- (x) => DeploymentStreamMessage1$inboundSchema.parse(JSON.parse(x)),
4541
- `Failed to parse 'DeploymentStreamMessage1' from JSON`,
4542
- );
4543
- }
4544
-
4545
- /** @internal */
4546
- export const DeploymentStreamMessage$inboundSchema: z.ZodType<
4547
- DeploymentStreamMessage,
4548
- z.ZodTypeDef,
4549
- unknown
4550
- > = z.union([
4551
- z.lazy(() => DeploymentStreamMessage1$inboundSchema),
4552
- z.lazy(() => DeploymentStreamMessage2$inboundSchema),
4553
- z.lazy(() => DeploymentStreamMessage3$inboundSchema),
4554
- ]);
4555
-
4556
- export function deploymentStreamMessageFromJSON(
4557
- jsonString: string,
4558
- ): SafeParseResult<DeploymentStreamMessage, SDKValidationError> {
4559
- return safeParse(
4560
- jsonString,
4561
- (x) => DeploymentStreamMessage$inboundSchema.parse(JSON.parse(x)),
4562
- `Failed to parse 'DeploymentStreamMessage' from JSON`,
4563
- );
4564
- }
4565
-
4566
- /** @internal */
4567
- export const DeploymentStreamChoices$inboundSchema: z.ZodType<
4568
- DeploymentStreamChoices,
4569
- z.ZodTypeDef,
4570
- unknown
4571
- > = z.object({
4572
- index: z.number(),
4573
- message: z.union([
4574
- z.lazy(() => DeploymentStreamMessage1$inboundSchema),
4575
- z.lazy(() => DeploymentStreamMessage2$inboundSchema),
4576
- z.lazy(() => DeploymentStreamMessage3$inboundSchema),
4577
- ]),
4578
- finish_reason: z.nullable(z.string()).optional(),
4579
- }).transform((v) => {
4580
- return remap$(v, {
4581
- "finish_reason": "finishReason",
4582
- });
4583
- });
4584
-
4585
- export function deploymentStreamChoicesFromJSON(
4586
- jsonString: string,
4587
- ): SafeParseResult<DeploymentStreamChoices, SDKValidationError> {
4588
- return safeParse(
4589
- jsonString,
4590
- (x) => DeploymentStreamChoices$inboundSchema.parse(JSON.parse(x)),
4591
- `Failed to parse 'DeploymentStreamChoices' from JSON`,
4592
- );
4593
- }
4594
-
4595
- /** @internal */
4596
- export const DeploymentStreamData$inboundSchema: z.ZodType<
4597
- DeploymentStreamData,
4598
- z.ZodTypeDef,
4599
- unknown
4600
- > = z.object({
4601
- id: z.string(),
4602
- created: z.string().datetime({ offset: true }).transform(v => new Date(v)),
4603
- object: DeploymentStreamObject$inboundSchema,
4604
- model: z.string(),
4605
- provider: DeploymentStreamProvider$inboundSchema,
4606
- is_final: z.boolean(),
4607
- integration_id: z.string().optional(),
4608
- telemetry: z.lazy(() => DeploymentStreamTelemetry$inboundSchema),
4609
- finalized: z.string().datetime({ offset: true }).transform(v => new Date(v))
4610
- .optional(),
4611
- system_fingerprint: z.nullable(z.string()).optional(),
4612
- retrievals: z.array(z.lazy(() => DeploymentStreamRetrievals$inboundSchema))
4613
- .optional(),
4614
- provider_response: z.any().optional(),
4615
- usage: z.nullable(z.lazy(() => DeploymentStreamUsage$inboundSchema))
4616
- .optional(),
4617
- choices: z.array(z.lazy(() => DeploymentStreamChoices$inboundSchema)),
4618
- }).transform((v) => {
4619
- return remap$(v, {
4620
- "is_final": "isFinal",
4621
- "integration_id": "integrationId",
4622
- "system_fingerprint": "systemFingerprint",
4623
- "provider_response": "providerResponse",
4624
- });
4625
- });
4626
-
4627
- export function deploymentStreamDataFromJSON(
4628
- jsonString: string,
4629
- ): SafeParseResult<DeploymentStreamData, SDKValidationError> {
4630
- return safeParse(
4631
- jsonString,
4632
- (x) => DeploymentStreamData$inboundSchema.parse(JSON.parse(x)),
4633
- `Failed to parse 'DeploymentStreamData' from JSON`,
4634
- );
4635
- }
4636
-
4637
- /** @internal */
4638
- export const DeploymentStreamResponseBody$inboundSchema: z.ZodType<
4639
- DeploymentStreamResponseBody,
4640
- z.ZodTypeDef,
4641
- unknown
4642
- > = z.object({
4643
- data: z.unknown().optional().transform((v, ctx) => {
4644
- if (v === undefined) return undefined;
4645
- if (typeof v !== "string") return v;
4646
- try {
4647
- return JSON.parse(v);
4648
- } catch (err) {
4649
- ctx.addIssue({ code: "custom", message: `malformed json: ${err}` });
4650
- return z.NEVER;
4651
- }
4652
- }).pipe(z.lazy(() => DeploymentStreamData$inboundSchema).optional()),
4653
- });
4654
-
4655
- export function deploymentStreamResponseBodyFromJSON(
4656
- jsonString: string,
4657
- ): SafeParseResult<DeploymentStreamResponseBody, SDKValidationError> {
4658
- return safeParse(
4659
- jsonString,
4660
- (x) => DeploymentStreamResponseBody$inboundSchema.parse(JSON.parse(x)),
4661
- `Failed to parse 'DeploymentStreamResponseBody' from JSON`,
4662
- );
4663
- }