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