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