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