@coraxai/api-client 2.313.0

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 (852) hide show
  1. package/.openapi-generator/FILES +287 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +46 -0
  5. package/dist/apis/APIKeysApi.d.ts +60 -0
  6. package/dist/apis/APIKeysApi.js +286 -0
  7. package/dist/apis/AuthApi.d.ts +28 -0
  8. package/dist/apis/AuthApi.js +142 -0
  9. package/dist/apis/CapabilitiesApi.d.ts +296 -0
  10. package/dist/apis/CapabilitiesApi.js +1447 -0
  11. package/dist/apis/CapabilityEvaluationsApi.d.ts +225 -0
  12. package/dist/apis/CapabilityEvaluationsApi.js +1089 -0
  13. package/dist/apis/CapabilityTypesApi.d.ts +55 -0
  14. package/dist/apis/CapabilityTypesApi.js +279 -0
  15. package/dist/apis/ComplianceApi.d.ts +241 -0
  16. package/dist/apis/ComplianceApi.js +1238 -0
  17. package/dist/apis/ConversationsApi.d.ts +60 -0
  18. package/dist/apis/ConversationsApi.js +285 -0
  19. package/dist/apis/CriterionTypesApi.d.ts +47 -0
  20. package/dist/apis/CriterionTypesApi.js +221 -0
  21. package/dist/apis/DefaultApi.d.ts +111 -0
  22. package/dist/apis/DefaultApi.js +522 -0
  23. package/dist/apis/EvaluationDatasetsApi.d.ts +161 -0
  24. package/dist/apis/EvaluationDatasetsApi.js +785 -0
  25. package/dist/apis/KnowledgeCollectionsApi.d.ts +146 -0
  26. package/dist/apis/KnowledgeCollectionsApi.js +785 -0
  27. package/dist/apis/MCPServersApi.d.ts +223 -0
  28. package/dist/apis/MCPServersApi.js +1023 -0
  29. package/dist/apis/ModelCatalogApi.d.ts +54 -0
  30. package/dist/apis/ModelCatalogApi.js +274 -0
  31. package/dist/apis/ModelDeploymentsApi.d.ts +113 -0
  32. package/dist/apis/ModelDeploymentsApi.js +555 -0
  33. package/dist/apis/ModelDiscoveryApi.d.ts +31 -0
  34. package/dist/apis/ModelDiscoveryApi.js +147 -0
  35. package/dist/apis/ModelProviderTypesApi.d.ts +73 -0
  36. package/dist/apis/ModelProviderTypesApi.js +353 -0
  37. package/dist/apis/ModelProvidersApi.d.ts +139 -0
  38. package/dist/apis/ModelProvidersApi.js +688 -0
  39. package/dist/apis/ProjectsApi.d.ts +87 -0
  40. package/dist/apis/ProjectsApi.js +423 -0
  41. package/dist/apis/RBACAdminApi.d.ts +100 -0
  42. package/dist/apis/RBACAdminApi.js +551 -0
  43. package/dist/apis/index.d.ts +19 -0
  44. package/dist/apis/index.js +37 -0
  45. package/dist/index.d.ts +3 -0
  46. package/dist/index.js +21 -0
  47. package/dist/models/ActualOutput.d.ts +26 -0
  48. package/dist/models/ActualOutput.js +39 -0
  49. package/dist/models/AnthropicConfiguration.d.ts +32 -0
  50. package/dist/models/AnthropicConfiguration.js +51 -0
  51. package/dist/models/AnthropicProviderValidationRequest.d.ts +46 -0
  52. package/dist/models/AnthropicProviderValidationRequest.js +63 -0
  53. package/dist/models/AnthropicProviderWithDeploymentsCreate.d.ts +59 -0
  54. package/dist/models/AnthropicProviderWithDeploymentsCreate.js +72 -0
  55. package/dist/models/ApiKey.d.ts +113 -0
  56. package/dist/models/ApiKey.js +87 -0
  57. package/dist/models/ApiKeyCreate.d.ts +50 -0
  58. package/dist/models/ApiKeyCreate.js +57 -0
  59. package/dist/models/ApplicablePolicyResponse.d.ts +63 -0
  60. package/dist/models/ApplicablePolicyResponse.js +70 -0
  61. package/dist/models/AppliedControl.d.ts +38 -0
  62. package/dist/models/AppliedControl.js +55 -0
  63. package/dist/models/ApplyControlsResponse.d.ts +39 -0
  64. package/dist/models/ApplyControlsResponse.js +56 -0
  65. package/dist/models/ArrayPropertyInput.d.ts +52 -0
  66. package/dist/models/ArrayPropertyInput.js +67 -0
  67. package/dist/models/ArrayPropertyOutput.d.ts +52 -0
  68. package/dist/models/ArrayPropertyOutput.js +67 -0
  69. package/dist/models/AssetResponse.d.ts +70 -0
  70. package/dist/models/AssetResponse.js +71 -0
  71. package/dist/models/AuthMeResponse.d.ts +71 -0
  72. package/dist/models/AuthMeResponse.js +74 -0
  73. package/dist/models/AvailableModel.d.ts +50 -0
  74. package/dist/models/AvailableModel.js +57 -0
  75. package/dist/models/AzureAiProviderValidationRequest.d.ts +46 -0
  76. package/dist/models/AzureAiProviderValidationRequest.js +63 -0
  77. package/dist/models/AzureAiProviderWithDeploymentsCreate.d.ts +59 -0
  78. package/dist/models/AzureAiProviderWithDeploymentsCreate.js +72 -0
  79. package/dist/models/AzureConfiguration.d.ts +38 -0
  80. package/dist/models/AzureConfiguration.js +55 -0
  81. package/dist/models/AzureProviderValidationRequest.d.ts +46 -0
  82. package/dist/models/AzureProviderValidationRequest.js +63 -0
  83. package/dist/models/AzureProviderWithDeploymentsCreate.d.ts +59 -0
  84. package/dist/models/AzureProviderWithDeploymentsCreate.js +72 -0
  85. package/dist/models/AzureSpeechProviderValidationRequest.d.ts +46 -0
  86. package/dist/models/AzureSpeechProviderValidationRequest.js +63 -0
  87. package/dist/models/AzureSpeechProviderWithDeploymentsCreate.d.ts +59 -0
  88. package/dist/models/AzureSpeechProviderWithDeploymentsCreate.js +72 -0
  89. package/dist/models/BadgeResponse.d.ts +39 -0
  90. package/dist/models/BadgeResponse.js +54 -0
  91. package/dist/models/BasicProperty.d.ts +48 -0
  92. package/dist/models/BasicProperty.js +65 -0
  93. package/dist/models/BedrockConfiguration.d.ts +44 -0
  94. package/dist/models/BedrockConfiguration.js +59 -0
  95. package/dist/models/BedrockProviderValidationRequest.d.ts +46 -0
  96. package/dist/models/BedrockProviderValidationRequest.js +63 -0
  97. package/dist/models/BedrockProviderWithDeploymentsCreate.d.ts +59 -0
  98. package/dist/models/BedrockProviderWithDeploymentsCreate.js +72 -0
  99. package/dist/models/BlobConfig.d.ts +44 -0
  100. package/dist/models/BlobConfig.js +53 -0
  101. package/dist/models/BooleanConfigurationField.d.ts +81 -0
  102. package/dist/models/BooleanConfigurationField.js +76 -0
  103. package/dist/models/Capability.d.ts +143 -0
  104. package/dist/models/Capability.js +113 -0
  105. package/dist/models/Capability1.d.ts +132 -0
  106. package/dist/models/Capability1.js +105 -0
  107. package/dist/models/Capability2.d.ts +138 -0
  108. package/dist/models/Capability2.js +101 -0
  109. package/dist/models/CapabilityConfig.d.ts +98 -0
  110. package/dist/models/CapabilityConfig.js +77 -0
  111. package/dist/models/CapabilityCriterionOperationType.d.ts +26 -0
  112. package/dist/models/CapabilityCriterionOperationType.js +52 -0
  113. package/dist/models/CapabilityCriterionType.d.ts +32 -0
  114. package/dist/models/CapabilityCriterionType.js +58 -0
  115. package/dist/models/CapabilityEvaluationConfiguration.d.ts +38 -0
  116. package/dist/models/CapabilityEvaluationConfiguration.js +51 -0
  117. package/dist/models/CapabilityEvaluationCreate.d.ts +69 -0
  118. package/dist/models/CapabilityEvaluationCreate.js +70 -0
  119. package/dist/models/CapabilityEvaluationCriterionCreate.d.ts +47 -0
  120. package/dist/models/CapabilityEvaluationCriterionCreate.js +58 -0
  121. package/dist/models/CapabilityEvaluationCriterionRepresentation.d.ts +62 -0
  122. package/dist/models/CapabilityEvaluationCriterionRepresentation.js +64 -0
  123. package/dist/models/CapabilityEvaluationCriterionTypeRepresentation.d.ts +75 -0
  124. package/dist/models/CapabilityEvaluationCriterionTypeRepresentation.js +77 -0
  125. package/dist/models/CapabilityEvaluationRepresentation.d.ts +114 -0
  126. package/dist/models/CapabilityEvaluationRepresentation.js +88 -0
  127. package/dist/models/CapabilityEvaluationUpdate.d.ts +69 -0
  128. package/dist/models/CapabilityEvaluationUpdate.js +70 -0
  129. package/dist/models/CapabilityId.d.ts +26 -0
  130. package/dist/models/CapabilityId.js +39 -0
  131. package/dist/models/CapabilityId1.d.ts +26 -0
  132. package/dist/models/CapabilityId1.js +39 -0
  133. package/dist/models/CapabilityRepresentation.d.ts +173 -0
  134. package/dist/models/CapabilityRepresentation.js +129 -0
  135. package/dist/models/CapabilitySetDefaultVersionRequest.d.ts +32 -0
  136. package/dist/models/CapabilitySetDefaultVersionRequest.js +51 -0
  137. package/dist/models/CapabilityType.d.ts +29 -0
  138. package/dist/models/CapabilityType.js +55 -0
  139. package/dist/models/CapabilityTypeRepresentation.d.ts +67 -0
  140. package/dist/models/CapabilityTypeRepresentation.js +65 -0
  141. package/dist/models/CapabilityTypesRepresentation.d.ts +42 -0
  142. package/dist/models/CapabilityTypesRepresentation.js +56 -0
  143. package/dist/models/CapabilityVersion.d.ts +86 -0
  144. package/dist/models/CapabilityVersion.js +86 -0
  145. package/dist/models/CatalogSource.d.ts +25 -0
  146. package/dist/models/CatalogSource.js +51 -0
  147. package/dist/models/CatalogSourceSnapshot.d.ts +52 -0
  148. package/dist/models/CatalogSourceSnapshot.js +65 -0
  149. package/dist/models/CatalogStalenessMetadata.d.ts +40 -0
  150. package/dist/models/CatalogStalenessMetadata.js +61 -0
  151. package/dist/models/ChatCapability.d.ts +157 -0
  152. package/dist/models/ChatCapability.js +113 -0
  153. package/dist/models/ChatCapabilityCreate.d.ts +100 -0
  154. package/dist/models/ChatCapabilityCreate.js +83 -0
  155. package/dist/models/ChatCapabilityUpdate.d.ts +106 -0
  156. package/dist/models/ChatCapabilityUpdate.js +83 -0
  157. package/dist/models/ChatConversation.d.ts +90 -0
  158. package/dist/models/ChatConversation.js +88 -0
  159. package/dist/models/Collection.d.ts +101 -0
  160. package/dist/models/Collection.js +87 -0
  161. package/dist/models/CollectionCreate.d.ts +50 -0
  162. package/dist/models/CollectionCreate.js +57 -0
  163. package/dist/models/CollectionUpdate.d.ts +50 -0
  164. package/dist/models/CollectionUpdate.js +57 -0
  165. package/dist/models/CompletionCapability.d.ts +180 -0
  166. package/dist/models/CompletionCapability.js +129 -0
  167. package/dist/models/CompletionCapabilityCreate.d.ts +123 -0
  168. package/dist/models/CompletionCapabilityCreate.js +100 -0
  169. package/dist/models/CompletionCapabilityCreateSchemaDefValue.d.ts +39 -0
  170. package/dist/models/CompletionCapabilityCreateSchemaDefValue.js +76 -0
  171. package/dist/models/CompletionCapabilitySchemaDefValue.d.ts +39 -0
  172. package/dist/models/CompletionCapabilitySchemaDefValue.js +76 -0
  173. package/dist/models/CompletionCapabilityUpdate.d.ts +121 -0
  174. package/dist/models/CompletionCapabilityUpdate.js +89 -0
  175. package/dist/models/ComplianceStatus.d.ts +25 -0
  176. package/dist/models/ComplianceStatus.js +51 -0
  177. package/dist/models/ComplianceSummary.d.ts +44 -0
  178. package/dist/models/ComplianceSummary.js +59 -0
  179. package/dist/models/ConfigurationField.d.ts +42 -0
  180. package/dist/models/ConfigurationField.js +79 -0
  181. package/dist/models/ConfigurationFieldOption.d.ts +38 -0
  182. package/dist/models/ConfigurationFieldOption.js +55 -0
  183. package/dist/models/ConflictView.d.ts +46 -0
  184. package/dist/models/ConflictView.js +63 -0
  185. package/dist/models/ConnectedCapabilityResponse.d.ts +50 -0
  186. package/dist/models/ConnectedCapabilityResponse.js +63 -0
  187. package/dist/models/Content.d.ts +26 -0
  188. package/dist/models/Content.js +39 -0
  189. package/dist/models/ControlComplianceStatus.d.ts +25 -0
  190. package/dist/models/ControlComplianceStatus.js +51 -0
  191. package/dist/models/ControlResult.d.ts +50 -0
  192. package/dist/models/ControlResult.js +63 -0
  193. package/dist/models/Data.d.ts +59 -0
  194. package/dist/models/Data.js +72 -0
  195. package/dist/models/DataRetention.d.ts +27 -0
  196. package/dist/models/DataRetention.js +54 -0
  197. package/dist/models/DefaultModelDeploymentUpdate.d.ts +38 -0
  198. package/dist/models/DefaultModelDeploymentUpdate.js +51 -0
  199. package/dist/models/DeploymentCreate.d.ts +44 -0
  200. package/dist/models/DeploymentCreate.js +59 -0
  201. package/dist/models/DeploymentHealthResponse.d.ts +53 -0
  202. package/dist/models/DeploymentHealthResponse.js +64 -0
  203. package/dist/models/Document.d.ts +139 -0
  204. package/dist/models/Document.js +97 -0
  205. package/dist/models/DocumentEmbeddingResponse.d.ts +74 -0
  206. package/dist/models/DocumentEmbeddingResponse.js +74 -0
  207. package/dist/models/DryRunRequest.d.ts +45 -0
  208. package/dist/models/DryRunRequest.js +56 -0
  209. package/dist/models/DryRunResponse.d.ts +39 -0
  210. package/dist/models/DryRunResponse.js +56 -0
  211. package/dist/models/EnumProperty.d.ts +51 -0
  212. package/dist/models/EnumProperty.js +66 -0
  213. package/dist/models/EvaluationCriterionExecutionRepresentation.d.ts +61 -0
  214. package/dist/models/EvaluationCriterionExecutionRepresentation.js +69 -0
  215. package/dist/models/EvaluationCriterionExecutionResult.d.ts +39 -0
  216. package/dist/models/EvaluationCriterionExecutionResult.js +54 -0
  217. package/dist/models/EvaluationDatasetConfigurationBase.d.ts +53 -0
  218. package/dist/models/EvaluationDatasetConfigurationBase.js +58 -0
  219. package/dist/models/EvaluationDatasetCreate.d.ts +51 -0
  220. package/dist/models/EvaluationDatasetCreate.js +60 -0
  221. package/dist/models/EvaluationDatasetItemCreate.d.ts +48 -0
  222. package/dist/models/EvaluationDatasetItemCreate.js +57 -0
  223. package/dist/models/EvaluationDatasetItemRepresentation.d.ts +69 -0
  224. package/dist/models/EvaluationDatasetItemRepresentation.js +67 -0
  225. package/dist/models/EvaluationDatasetItemUpdate.d.ts +54 -0
  226. package/dist/models/EvaluationDatasetItemUpdate.js +61 -0
  227. package/dist/models/EvaluationDatasetOutputType.d.ts +25 -0
  228. package/dist/models/EvaluationDatasetOutputType.js +51 -0
  229. package/dist/models/EvaluationDatasetRepresentation.d.ts +78 -0
  230. package/dist/models/EvaluationDatasetRepresentation.js +72 -0
  231. package/dist/models/EvaluationDatasetUpdate.d.ts +57 -0
  232. package/dist/models/EvaluationDatasetUpdate.js +64 -0
  233. package/dist/models/EvaluationExecutionConfiguration.d.ts +39 -0
  234. package/dist/models/EvaluationExecutionConfiguration.js +52 -0
  235. package/dist/models/EvaluationExecutionCreate.d.ts +39 -0
  236. package/dist/models/EvaluationExecutionCreate.js +54 -0
  237. package/dist/models/EvaluationExecutionData.d.ts +56 -0
  238. package/dist/models/EvaluationExecutionData.js +63 -0
  239. package/dist/models/EvaluationExecutionMode.d.ts +25 -0
  240. package/dist/models/EvaluationExecutionMode.js +51 -0
  241. package/dist/models/EvaluationExecutionProgress.d.ts +50 -0
  242. package/dist/models/EvaluationExecutionProgress.js +63 -0
  243. package/dist/models/EvaluationExecutionRepresentation.d.ts +117 -0
  244. package/dist/models/EvaluationExecutionRepresentation.js +94 -0
  245. package/dist/models/EvaluationExecutionStatus.d.ts +28 -0
  246. package/dist/models/EvaluationExecutionStatus.js +54 -0
  247. package/dist/models/Execution.d.ts +104 -0
  248. package/dist/models/Execution.js +86 -0
  249. package/dist/models/ExecutionCallback.d.ts +107 -0
  250. package/dist/models/ExecutionCallback.js +93 -0
  251. package/dist/models/ExecutionContext.d.ts +44 -0
  252. package/dist/models/ExecutionContext.js +57 -0
  253. package/dist/models/ExecutionCreate.d.ts +44 -0
  254. package/dist/models/ExecutionCreate.js +53 -0
  255. package/dist/models/ExecutionResult.d.ts +50 -0
  256. package/dist/models/ExecutionResult.js +61 -0
  257. package/dist/models/ExecutionSparse.d.ts +100 -0
  258. package/dist/models/ExecutionSparse.js +84 -0
  259. package/dist/models/ExecutionStatus.d.ts +27 -0
  260. package/dist/models/ExecutionStatus.js +53 -0
  261. package/dist/models/ExecutionUsage.d.ts +68 -0
  262. package/dist/models/ExecutionUsage.js +69 -0
  263. package/dist/models/ExtractionCapability.d.ts +158 -0
  264. package/dist/models/ExtractionCapability.js +115 -0
  265. package/dist/models/ExtractionCapabilityCreate.d.ts +101 -0
  266. package/dist/models/ExtractionCapabilityCreate.js +85 -0
  267. package/dist/models/ExtractionCapabilityUpdate.d.ts +107 -0
  268. package/dist/models/ExtractionCapabilityUpdate.js +87 -0
  269. package/dist/models/Feedback.d.ts +105 -0
  270. package/dist/models/Feedback.js +91 -0
  271. package/dist/models/FeedbackCreate.d.ts +45 -0
  272. package/dist/models/FeedbackCreate.js +56 -0
  273. package/dist/models/FeedbackSentiment.d.ts +25 -0
  274. package/dist/models/FeedbackSentiment.js +51 -0
  275. package/dist/models/FieldProvenanceAny.d.ts +47 -0
  276. package/dist/models/FieldProvenanceAny.js +58 -0
  277. package/dist/models/FieldValueFormat.d.ts +24 -0
  278. package/dist/models/FieldValueFormat.js +50 -0
  279. package/dist/models/FileListPage.d.ts +50 -0
  280. package/dist/models/FileListPage.js +63 -0
  281. package/dist/models/FileListResponse.d.ts +40 -0
  282. package/dist/models/FileListResponse.js +57 -0
  283. package/dist/models/FileResponse.d.ts +62 -0
  284. package/dist/models/FileResponse.js +67 -0
  285. package/dist/models/GeminiProviderValidationRequest.d.ts +46 -0
  286. package/dist/models/GeminiProviderValidationRequest.js +63 -0
  287. package/dist/models/GeminiProviderWithDeploymentsCreate.d.ts +59 -0
  288. package/dist/models/GeminiProviderWithDeploymentsCreate.js +72 -0
  289. package/dist/models/GuardrailEventListResponse.d.ts +51 -0
  290. package/dist/models/GuardrailEventListResponse.js +64 -0
  291. package/dist/models/GuardrailEventResponse.d.ts +104 -0
  292. package/dist/models/GuardrailEventResponse.js +97 -0
  293. package/dist/models/GuardrailRow.d.ts +72 -0
  294. package/dist/models/GuardrailRow.js +68 -0
  295. package/dist/models/HTTPValidationError.d.ts +33 -0
  296. package/dist/models/HTTPValidationError.js +50 -0
  297. package/dist/models/HateoasLink.d.ts +39 -0
  298. package/dist/models/HateoasLink.js +54 -0
  299. package/dist/models/ImageGenerationCapability.d.ts +164 -0
  300. package/dist/models/ImageGenerationCapability.js +117 -0
  301. package/dist/models/ImageGenerationCapabilityCreate.d.ts +101 -0
  302. package/dist/models/ImageGenerationCapabilityCreate.js +83 -0
  303. package/dist/models/ImageGenerationCapabilityUpdate.d.ts +107 -0
  304. package/dist/models/ImageGenerationCapabilityUpdate.js +87 -0
  305. package/dist/models/InfiniteDataRetention.d.ts +39 -0
  306. package/dist/models/InfiniteDataRetention.js +56 -0
  307. package/dist/models/Input.d.ts +26 -0
  308. package/dist/models/Input.js +39 -0
  309. package/dist/models/InputAnyOfInner.d.ts +56 -0
  310. package/dist/models/InputAnyOfInner.js +59 -0
  311. package/dist/models/Items.d.ts +39 -0
  312. package/dist/models/Items.js +76 -0
  313. package/dist/models/Items1.d.ts +39 -0
  314. package/dist/models/Items1.js +76 -0
  315. package/dist/models/KeyConfigurationField.d.ts +88 -0
  316. package/dist/models/KeyConfigurationField.js +79 -0
  317. package/dist/models/Limits.d.ts +39 -0
  318. package/dist/models/Limits.js +56 -0
  319. package/dist/models/MCPAuthModeSchema.d.ts +57 -0
  320. package/dist/models/MCPAuthModeSchema.js +62 -0
  321. package/dist/models/MCPAuthSchema.d.ts +39 -0
  322. package/dist/models/MCPAuthSchema.js +54 -0
  323. package/dist/models/MCPConfigSchemaResponse.d.ts +50 -0
  324. package/dist/models/MCPConfigSchemaResponse.js +57 -0
  325. package/dist/models/MCPConnectionType.d.ts +25 -0
  326. package/dist/models/MCPConnectionType.js +51 -0
  327. package/dist/models/MCPResourceReadRequest.d.ts +32 -0
  328. package/dist/models/MCPResourceReadRequest.js +51 -0
  329. package/dist/models/MCPResourceReadResponse.d.ts +32 -0
  330. package/dist/models/MCPResourceReadResponse.js +51 -0
  331. package/dist/models/MCPServerBase.d.ts +59 -0
  332. package/dist/models/MCPServerBase.js +62 -0
  333. package/dist/models/MCPServerResponse.d.ts +86 -0
  334. package/dist/models/MCPServerResponse.js +78 -0
  335. package/dist/models/MCPToolCallRequest.d.ts +40 -0
  336. package/dist/models/MCPToolCallRequest.js +53 -0
  337. package/dist/models/MCPToolCallResponse.d.ts +54 -0
  338. package/dist/models/MCPToolCallResponse.js +55 -0
  339. package/dist/models/MLLMImage.d.ts +56 -0
  340. package/dist/models/MLLMImage.js +59 -0
  341. package/dist/models/Message.d.ts +90 -0
  342. package/dist/models/Message.js +77 -0
  343. package/dist/models/MetricData.d.ts +86 -0
  344. package/dist/models/MetricData.js +73 -0
  345. package/dist/models/MistralProviderValidationRequest.d.ts +46 -0
  346. package/dist/models/MistralProviderValidationRequest.js +63 -0
  347. package/dist/models/MistralProviderWithDeploymentsCreate.d.ts +59 -0
  348. package/dist/models/MistralProviderWithDeploymentsCreate.js +72 -0
  349. package/dist/models/Modality.d.ts +27 -0
  350. package/dist/models/Modality.js +53 -0
  351. package/dist/models/ModalitySupport.d.ts +40 -0
  352. package/dist/models/ModalitySupport.js +61 -0
  353. package/dist/models/ModelCapability.d.ts +41 -0
  354. package/dist/models/ModelCapability.js +67 -0
  355. package/dist/models/ModelCatalogEntry.d.ts +146 -0
  356. package/dist/models/ModelCatalogEntry.js +92 -0
  357. package/dist/models/ModelCatalogEntryResponse.d.ts +41 -0
  358. package/dist/models/ModelCatalogEntryResponse.js +62 -0
  359. package/dist/models/ModelCatalogListResponse.d.ts +41 -0
  360. package/dist/models/ModelCatalogListResponse.js +62 -0
  361. package/dist/models/ModelConfiguration.d.ts +42 -0
  362. package/dist/models/ModelConfiguration.js +56 -0
  363. package/dist/models/ModelDeployment.d.ts +104 -0
  364. package/dist/models/ModelDeployment.js +86 -0
  365. package/dist/models/ModelDeploymentCreate.d.ts +65 -0
  366. package/dist/models/ModelDeploymentCreate.js +66 -0
  367. package/dist/models/ModelDeploymentUpdate.d.ts +65 -0
  368. package/dist/models/ModelDeploymentUpdate.js +66 -0
  369. package/dist/models/ModelHTTPMethod.d.ts +37 -0
  370. package/dist/models/ModelHTTPMethod.js +63 -0
  371. package/dist/models/ModelMode.d.ts +41 -0
  372. package/dist/models/ModelMode.js +67 -0
  373. package/dist/models/ModelProvider.d.ts +85 -0
  374. package/dist/models/ModelProvider.js +79 -0
  375. package/dist/models/ModelProviderCreate.d.ts +46 -0
  376. package/dist/models/ModelProviderCreate.js +59 -0
  377. package/dist/models/ModelProviderType.d.ts +72 -0
  378. package/dist/models/ModelProviderType.js +72 -0
  379. package/dist/models/ModelProviderUpdate.d.ts +52 -0
  380. package/dist/models/ModelProviderUpdate.js +63 -0
  381. package/dist/models/MultiSelectConfigurationField.d.ts +88 -0
  382. package/dist/models/MultiSelectConfigurationField.js +81 -0
  383. package/dist/models/NumberConfigurationField.d.ts +99 -0
  384. package/dist/models/NumberConfigurationField.js +88 -0
  385. package/dist/models/ObjectPropertyInput.d.ts +54 -0
  386. package/dist/models/ObjectPropertyInput.js +68 -0
  387. package/dist/models/ObjectPropertyOutput.d.ts +54 -0
  388. package/dist/models/ObjectPropertyOutput.js +68 -0
  389. package/dist/models/OllamaConfiguration.d.ts +32 -0
  390. package/dist/models/OllamaConfiguration.js +49 -0
  391. package/dist/models/OllamaProviderValidationRequest.d.ts +46 -0
  392. package/dist/models/OllamaProviderValidationRequest.js +63 -0
  393. package/dist/models/OllamaProviderWithDeploymentsCreate.d.ts +59 -0
  394. package/dist/models/OllamaProviderWithDeploymentsCreate.js +72 -0
  395. package/dist/models/OpenAIConfiguration.d.ts +32 -0
  396. package/dist/models/OpenAIConfiguration.js +51 -0
  397. package/dist/models/OpenAILikeConfiguration.d.ts +38 -0
  398. package/dist/models/OpenAILikeConfiguration.js +53 -0
  399. package/dist/models/OpenAILikeProviderValidationRequest.d.ts +46 -0
  400. package/dist/models/OpenAILikeProviderValidationRequest.js +63 -0
  401. package/dist/models/OpenAILikeProviderWithDeploymentsCreate.d.ts +59 -0
  402. package/dist/models/OpenAILikeProviderWithDeploymentsCreate.js +72 -0
  403. package/dist/models/OpenAIProviderValidationRequest.d.ts +46 -0
  404. package/dist/models/OpenAIProviderValidationRequest.js +63 -0
  405. package/dist/models/OpenAIProviderWithDeploymentsCreate.d.ts +59 -0
  406. package/dist/models/OpenAIProviderWithDeploymentsCreate.js +72 -0
  407. package/dist/models/OpenRouterProviderValidationRequest.d.ts +46 -0
  408. package/dist/models/OpenRouterProviderValidationRequest.js +63 -0
  409. package/dist/models/OpenRouterProviderWithDeploymentsCreate.d.ts +59 -0
  410. package/dist/models/OpenRouterProviderWithDeploymentsCreate.js +72 -0
  411. package/dist/models/Page.d.ts +50 -0
  412. package/dist/models/Page.js +63 -0
  413. package/dist/models/PagedResponseModelApiKey.d.ts +49 -0
  414. package/dist/models/PagedResponseModelApiKey.js +61 -0
  415. package/dist/models/PagedResponseModelCapability.d.ts +49 -0
  416. package/dist/models/PagedResponseModelCapability.js +61 -0
  417. package/dist/models/PagedResponseModelCapabilityEvaluationCriterionRepresentation.d.ts +49 -0
  418. package/dist/models/PagedResponseModelCapabilityEvaluationCriterionRepresentation.js +61 -0
  419. package/dist/models/PagedResponseModelCapabilityEvaluationCriterionTypeRepresentation.d.ts +49 -0
  420. package/dist/models/PagedResponseModelCapabilityEvaluationCriterionTypeRepresentation.js +61 -0
  421. package/dist/models/PagedResponseModelCapabilityEvaluationRepresentation.d.ts +49 -0
  422. package/dist/models/PagedResponseModelCapabilityEvaluationRepresentation.js +61 -0
  423. package/dist/models/PagedResponseModelCapabilityVersion.d.ts +49 -0
  424. package/dist/models/PagedResponseModelCapabilityVersion.js +61 -0
  425. package/dist/models/PagedResponseModelChatConversation.d.ts +49 -0
  426. package/dist/models/PagedResponseModelChatConversation.js +61 -0
  427. package/dist/models/PagedResponseModelCollection.d.ts +49 -0
  428. package/dist/models/PagedResponseModelCollection.js +61 -0
  429. package/dist/models/PagedResponseModelDocument.d.ts +49 -0
  430. package/dist/models/PagedResponseModelDocument.js +61 -0
  431. package/dist/models/PagedResponseModelEvaluationCriterionExecutionRepresentation.d.ts +49 -0
  432. package/dist/models/PagedResponseModelEvaluationCriterionExecutionRepresentation.js +61 -0
  433. package/dist/models/PagedResponseModelEvaluationDatasetItemRepresentation.d.ts +49 -0
  434. package/dist/models/PagedResponseModelEvaluationDatasetItemRepresentation.js +61 -0
  435. package/dist/models/PagedResponseModelEvaluationDatasetRepresentation.d.ts +49 -0
  436. package/dist/models/PagedResponseModelEvaluationDatasetRepresentation.js +61 -0
  437. package/dist/models/PagedResponseModelEvaluationExecutionRepresentation.d.ts +49 -0
  438. package/dist/models/PagedResponseModelEvaluationExecutionRepresentation.js +61 -0
  439. package/dist/models/PagedResponseModelExecutionSparse.d.ts +49 -0
  440. package/dist/models/PagedResponseModelExecutionSparse.js +61 -0
  441. package/dist/models/PagedResponseModelFeedback.d.ts +49 -0
  442. package/dist/models/PagedResponseModelFeedback.js +61 -0
  443. package/dist/models/PagedResponseModelMCPServerResponse.d.ts +49 -0
  444. package/dist/models/PagedResponseModelMCPServerResponse.js +61 -0
  445. package/dist/models/PagedResponseModelModelDeployment.d.ts +49 -0
  446. package/dist/models/PagedResponseModelModelDeployment.js +61 -0
  447. package/dist/models/PagedResponseModelModelProvider.d.ts +49 -0
  448. package/dist/models/PagedResponseModelModelProvider.js +61 -0
  449. package/dist/models/PagedResponseModelModelProviderType.d.ts +49 -0
  450. package/dist/models/PagedResponseModelModelProviderType.js +61 -0
  451. package/dist/models/PagedResponseModelProject.d.ts +49 -0
  452. package/dist/models/PagedResponseModelProject.js +61 -0
  453. package/dist/models/PagedResponseModelRole.d.ts +49 -0
  454. package/dist/models/PagedResponseModelRole.js +61 -0
  455. package/dist/models/PagedResponseModelUserRBAC.d.ts +49 -0
  456. package/dist/models/PagedResponseModelUserRBAC.js +61 -0
  457. package/dist/models/Permission.d.ts +45 -0
  458. package/dist/models/Permission.js +71 -0
  459. package/dist/models/PermissionItem.d.ts +44 -0
  460. package/dist/models/PermissionItem.js +59 -0
  461. package/dist/models/PiiDetectionDirectionRequirement.d.ts +34 -0
  462. package/dist/models/PiiDetectionDirectionRequirement.js +59 -0
  463. package/dist/models/PiiDetectionRequirementInput.d.ts +47 -0
  464. package/dist/models/PiiDetectionRequirementInput.js +62 -0
  465. package/dist/models/PiiDetectionRequirementOutput.d.ts +47 -0
  466. package/dist/models/PiiDetectionRequirementOutput.js +62 -0
  467. package/dist/models/PiiEnforcementMode.d.ts +26 -0
  468. package/dist/models/PiiEnforcementMode.js +52 -0
  469. package/dist/models/PiiEntityCode.d.ts +30 -0
  470. package/dist/models/PiiEntityCode.js +56 -0
  471. package/dist/models/PolicyComplianceResult.d.ts +51 -0
  472. package/dist/models/PolicyComplianceResult.js +64 -0
  473. package/dist/models/PolicyControlsInput.d.ts +34 -0
  474. package/dist/models/PolicyControlsInput.js +59 -0
  475. package/dist/models/PolicyControlsOutput.d.ts +34 -0
  476. package/dist/models/PolicyControlsOutput.js +59 -0
  477. package/dist/models/PolicyCreate.d.ts +70 -0
  478. package/dist/models/PolicyCreate.js +69 -0
  479. package/dist/models/PolicyImpactResponse.d.ts +38 -0
  480. package/dist/models/PolicyImpactResponse.js +55 -0
  481. package/dist/models/PolicyResponse.d.ts +116 -0
  482. package/dist/models/PolicyResponse.js +98 -0
  483. package/dist/models/PolicyScopeType.d.ts +26 -0
  484. package/dist/models/PolicyScopeType.js +52 -0
  485. package/dist/models/PolicyUpdate.d.ts +70 -0
  486. package/dist/models/PolicyUpdate.js +63 -0
  487. package/dist/models/Price.d.ts +51 -0
  488. package/dist/models/Price.js +56 -0
  489. package/dist/models/Project.d.ts +101 -0
  490. package/dist/models/Project.js +87 -0
  491. package/dist/models/ProjectCreate.d.ts +44 -0
  492. package/dist/models/ProjectCreate.js +55 -0
  493. package/dist/models/ProjectUpdate.d.ts +44 -0
  494. package/dist/models/ProjectUpdate.js +55 -0
  495. package/dist/models/ProviderHealthResponse.d.ts +58 -0
  496. package/dist/models/ProviderHealthResponse.js +64 -0
  497. package/dist/models/ProviderListResponse.d.ts +41 -0
  498. package/dist/models/ProviderListResponse.js +62 -0
  499. package/dist/models/ProviderSummary.d.ts +45 -0
  500. package/dist/models/ProviderSummary.js +62 -0
  501. package/dist/models/ProviderValidationResponse.d.ts +51 -0
  502. package/dist/models/ProviderValidationResponse.js +58 -0
  503. package/dist/models/RawIds.d.ts +39 -0
  504. package/dist/models/RawIds.js +56 -0
  505. package/dist/models/RemoveControlsResponse.d.ts +39 -0
  506. package/dist/models/RemoveControlsResponse.js +56 -0
  507. package/dist/models/RemovedControl.d.ts +38 -0
  508. package/dist/models/RemovedControl.js +55 -0
  509. package/dist/models/Request.d.ts +46 -0
  510. package/dist/models/Request.js +63 -0
  511. package/dist/models/ResponseCreateCapabilityV1CapabilitiesPost.d.ts +189 -0
  512. package/dist/models/ResponseCreateCapabilityV1CapabilitiesPost.js +134 -0
  513. package/dist/models/Role.d.ts +90 -0
  514. package/dist/models/Role.js +82 -0
  515. package/dist/models/RoleCreate.d.ts +45 -0
  516. package/dist/models/RoleCreate.js +56 -0
  517. package/dist/models/RoleUpdate.d.ts +45 -0
  518. package/dist/models/RoleUpdate.js +56 -0
  519. package/dist/models/ScanCategory.d.ts +24 -0
  520. package/dist/models/ScanCategory.js +50 -0
  521. package/dist/models/ScanDirection.d.ts +25 -0
  522. package/dist/models/ScanDirection.js +51 -0
  523. package/dist/models/ScanResult.d.ts +75 -0
  524. package/dist/models/ScanResult.js +70 -0
  525. package/dist/models/SourceObservation.d.ts +40 -0
  526. package/dist/models/SourceObservation.js +61 -0
  527. package/dist/models/SourceObservationAny.d.ts +40 -0
  528. package/dist/models/SourceObservationAny.js +61 -0
  529. package/dist/models/SpeechToTextCapability.d.ts +158 -0
  530. package/dist/models/SpeechToTextCapability.js +115 -0
  531. package/dist/models/SpeechToTextCapabilityCreate.d.ts +101 -0
  532. package/dist/models/SpeechToTextCapabilityCreate.js +85 -0
  533. package/dist/models/SpeechToTextCapabilityUpdate.d.ts +107 -0
  534. package/dist/models/SpeechToTextCapabilityUpdate.js +87 -0
  535. package/dist/models/StreamingTransport.d.ts +25 -0
  536. package/dist/models/StreamingTransport.js +51 -0
  537. package/dist/models/StringArrayConfigurationField.d.ts +75 -0
  538. package/dist/models/StringArrayConfigurationField.js +74 -0
  539. package/dist/models/TestResult.d.ts +97 -0
  540. package/dist/models/TestResult.js +80 -0
  541. package/dist/models/TextConfigurationField.d.ts +87 -0
  542. package/dist/models/TextConfigurationField.js +78 -0
  543. package/dist/models/TimedDataRetention.d.ts +45 -0
  544. package/dist/models/TimedDataRetention.js +60 -0
  545. package/dist/models/ToolCallFunction.d.ts +44 -0
  546. package/dist/models/ToolCallFunction.js +57 -0
  547. package/dist/models/ToolCallMessage.d.ts +45 -0
  548. package/dist/models/ToolCallMessage.js +60 -0
  549. package/dist/models/UrlConfigurationField.d.ts +87 -0
  550. package/dist/models/UrlConfigurationField.js +78 -0
  551. package/dist/models/UserRBAC.d.ts +102 -0
  552. package/dist/models/UserRBAC.js +86 -0
  553. package/dist/models/UserUpdate.d.ts +44 -0
  554. package/dist/models/UserUpdate.js +53 -0
  555. package/dist/models/ValidationError.d.ts +57 -0
  556. package/dist/models/ValidationError.js +64 -0
  557. package/dist/models/ValidationErrorLocInner.d.ts +26 -0
  558. package/dist/models/ValidationErrorLocInner.js +39 -0
  559. package/dist/models/VertexAIConfiguration.d.ts +45 -0
  560. package/dist/models/VertexAIConfiguration.js +62 -0
  561. package/dist/models/VertexAiProviderValidationRequest.d.ts +46 -0
  562. package/dist/models/VertexAiProviderValidationRequest.js +63 -0
  563. package/dist/models/VertexAiProviderWithDeploymentsCreate.d.ts +59 -0
  564. package/dist/models/VertexAiProviderWithDeploymentsCreate.js +72 -0
  565. package/dist/models/index.d.ts +259 -0
  566. package/dist/models/index.js +277 -0
  567. package/dist/runtime.d.ts +184 -0
  568. package/dist/runtime.js +564 -0
  569. package/package.json +19 -0
  570. package/src/apis/APIKeysApi.ts +216 -0
  571. package/src/apis/AuthApi.ts +73 -0
  572. package/src/apis/CapabilitiesApi.ts +1347 -0
  573. package/src/apis/CapabilityEvaluationsApi.ts +998 -0
  574. package/src/apis/CapabilityTypesApi.ts +203 -0
  575. package/src/apis/ComplianceApi.ts +1068 -0
  576. package/src/apis/ConversationsApi.ts +211 -0
  577. package/src/apis/CriterionTypesApi.ts +157 -0
  578. package/src/apis/DefaultApi.ts +409 -0
  579. package/src/apis/EvaluationDatasetsApi.ts +695 -0
  580. package/src/apis/KnowledgeCollectionsApi.ts +684 -0
  581. package/src/apis/MCPServersApi.ts +860 -0
  582. package/src/apis/ModelCatalogApi.ts +188 -0
  583. package/src/apis/ModelDeploymentsApi.ts +453 -0
  584. package/src/apis/ModelDiscoveryApi.ts +93 -0
  585. package/src/apis/ModelProviderTypesApi.ts +270 -0
  586. package/src/apis/ModelProvidersApi.ts +571 -0
  587. package/src/apis/ProjectsApi.ts +340 -0
  588. package/src/apis/RBACAdminApi.ts +458 -0
  589. package/src/apis/index.ts +21 -0
  590. package/src/index.ts +5 -0
  591. package/src/models/ActualOutput.ts +54 -0
  592. package/src/models/AnthropicConfiguration.ts +66 -0
  593. package/src/models/AnthropicProviderValidationRequest.ts +93 -0
  594. package/src/models/AnthropicProviderWithDeploymentsCreate.ts +118 -0
  595. package/src/models/ApiKey.ts +182 -0
  596. package/src/models/ApiKeyCreate.ts +90 -0
  597. package/src/models/ApplicablePolicyResponse.ts +120 -0
  598. package/src/models/AppliedControl.ts +75 -0
  599. package/src/models/ApplyControlsResponse.ts +83 -0
  600. package/src/models/ArrayPropertyInput.ts +102 -0
  601. package/src/models/ArrayPropertyOutput.ts +102 -0
  602. package/src/models/AssetResponse.ts +134 -0
  603. package/src/models/AuthMeResponse.ts +120 -0
  604. package/src/models/AvailableModel.ts +90 -0
  605. package/src/models/AzureAiProviderValidationRequest.ts +93 -0
  606. package/src/models/AzureAiProviderWithDeploymentsCreate.ts +118 -0
  607. package/src/models/AzureConfiguration.ts +75 -0
  608. package/src/models/AzureProviderValidationRequest.ts +93 -0
  609. package/src/models/AzureProviderWithDeploymentsCreate.ts +118 -0
  610. package/src/models/AzureSpeechProviderValidationRequest.ts +93 -0
  611. package/src/models/AzureSpeechProviderWithDeploymentsCreate.ts +118 -0
  612. package/src/models/BadgeResponse.ts +84 -0
  613. package/src/models/BasicProperty.ts +88 -0
  614. package/src/models/BedrockConfiguration.ts +84 -0
  615. package/src/models/BedrockProviderValidationRequest.ts +93 -0
  616. package/src/models/BedrockProviderWithDeploymentsCreate.ts +118 -0
  617. package/src/models/BlobConfig.ts +81 -0
  618. package/src/models/BooleanConfigurationField.ts +134 -0
  619. package/src/models/Capability.ts +231 -0
  620. package/src/models/Capability1.ts +246 -0
  621. package/src/models/Capability2.ts +251 -0
  622. package/src/models/CapabilityConfig.ts +163 -0
  623. package/src/models/CapabilityCriterionOperationType.ts +54 -0
  624. package/src/models/CapabilityCriterionType.ts +60 -0
  625. package/src/models/CapabilityEvaluationConfiguration.ts +73 -0
  626. package/src/models/CapabilityEvaluationCreate.ts +125 -0
  627. package/src/models/CapabilityEvaluationCriterionCreate.ts +93 -0
  628. package/src/models/CapabilityEvaluationCriterionRepresentation.ts +116 -0
  629. package/src/models/CapabilityEvaluationCriterionTypeRepresentation.ts +156 -0
  630. package/src/models/CapabilityEvaluationRepresentation.ts +189 -0
  631. package/src/models/CapabilityEvaluationUpdate.ts +125 -0
  632. package/src/models/CapabilityId.ts +46 -0
  633. package/src/models/CapabilityId1.ts +46 -0
  634. package/src/models/CapabilityRepresentation.ts +267 -0
  635. package/src/models/CapabilitySetDefaultVersionRequest.ts +66 -0
  636. package/src/models/CapabilityType.ts +57 -0
  637. package/src/models/CapabilityTypeRepresentation.ts +115 -0
  638. package/src/models/CapabilityTypesRepresentation.ts +89 -0
  639. package/src/models/CapabilityVersion.ts +147 -0
  640. package/src/models/CatalogSource.ts +53 -0
  641. package/src/models/CatalogSourceSnapshot.ts +106 -0
  642. package/src/models/CatalogStalenessMetadata.ts +86 -0
  643. package/src/models/ChatCapability.ts +250 -0
  644. package/src/models/ChatCapabilityCreate.ts +166 -0
  645. package/src/models/ChatCapabilityUpdate.ts +173 -0
  646. package/src/models/ChatConversation.ts +161 -0
  647. package/src/models/Collection.ts +168 -0
  648. package/src/models/CollectionCreate.ts +90 -0
  649. package/src/models/CollectionUpdate.ts +90 -0
  650. package/src/models/CompletionCapability.ts +284 -0
  651. package/src/models/CompletionCapabilityCreate.ts +200 -0
  652. package/src/models/CompletionCapabilityCreateSchemaDefValue.ts +106 -0
  653. package/src/models/CompletionCapabilitySchemaDefValue.ts +106 -0
  654. package/src/models/CompletionCapabilityUpdate.ts +196 -0
  655. package/src/models/ComplianceStatus.ts +53 -0
  656. package/src/models/ComplianceSummary.ts +84 -0
  657. package/src/models/ConfigurationField.ts +127 -0
  658. package/src/models/ConfigurationFieldOption.ts +75 -0
  659. package/src/models/ConflictView.ts +95 -0
  660. package/src/models/ConnectedCapabilityResponse.ts +93 -0
  661. package/src/models/Content.ts +46 -0
  662. package/src/models/ControlComplianceStatus.ts +53 -0
  663. package/src/models/ControlResult.ts +93 -0
  664. package/src/models/Data.ts +202 -0
  665. package/src/models/DataRetention.ts +72 -0
  666. package/src/models/DefaultModelDeploymentUpdate.ts +73 -0
  667. package/src/models/DeploymentCreate.ts +84 -0
  668. package/src/models/DeploymentHealthResponse.ts +94 -0
  669. package/src/models/Document.ts +215 -0
  670. package/src/models/DocumentEmbeddingResponse.ts +127 -0
  671. package/src/models/DryRunRequest.ts +90 -0
  672. package/src/models/DryRunResponse.ts +83 -0
  673. package/src/models/EnumProperty.ts +94 -0
  674. package/src/models/EvaluationCriterionExecutionRepresentation.ts +125 -0
  675. package/src/models/EvaluationCriterionExecutionResult.ts +82 -0
  676. package/src/models/EvaluationDatasetConfigurationBase.ts +100 -0
  677. package/src/models/EvaluationDatasetCreate.ts +99 -0
  678. package/src/models/EvaluationDatasetItemCreate.ts +83 -0
  679. package/src/models/EvaluationDatasetItemRepresentation.ts +116 -0
  680. package/src/models/EvaluationDatasetItemUpdate.ts +92 -0
  681. package/src/models/EvaluationDatasetOutputType.ts +53 -0
  682. package/src/models/EvaluationDatasetRepresentation.ts +139 -0
  683. package/src/models/EvaluationDatasetUpdate.ts +108 -0
  684. package/src/models/EvaluationExecutionConfiguration.ts +83 -0
  685. package/src/models/EvaluationExecutionCreate.ts +82 -0
  686. package/src/models/EvaluationExecutionData.ts +100 -0
  687. package/src/models/EvaluationExecutionMode.ts +53 -0
  688. package/src/models/EvaluationExecutionProgress.ts +93 -0
  689. package/src/models/EvaluationExecutionRepresentation.ts +211 -0
  690. package/src/models/EvaluationExecutionStatus.ts +56 -0
  691. package/src/models/Execution.ts +176 -0
  692. package/src/models/ExecutionCallback.ts +172 -0
  693. package/src/models/ExecutionContext.ts +83 -0
  694. package/src/models/ExecutionCreate.ts +81 -0
  695. package/src/models/ExecutionResult.ts +92 -0
  696. package/src/models/ExecutionSparse.ts +168 -0
  697. package/src/models/ExecutionStatus.ts +55 -0
  698. package/src/models/ExecutionUsage.ts +117 -0
  699. package/src/models/ExtractionCapability.ts +249 -0
  700. package/src/models/ExtractionCapabilityCreate.ts +165 -0
  701. package/src/models/ExtractionCapabilityUpdate.ts +173 -0
  702. package/src/models/Feedback.ts +185 -0
  703. package/src/models/FeedbackCreate.ts +92 -0
  704. package/src/models/FeedbackSentiment.ts +53 -0
  705. package/src/models/FieldProvenanceAny.ts +99 -0
  706. package/src/models/FieldValueFormat.ts +52 -0
  707. package/src/models/FileListPage.ts +93 -0
  708. package/src/models/FileListResponse.ts +90 -0
  709. package/src/models/FileResponse.ts +109 -0
  710. package/src/models/GeminiProviderValidationRequest.ts +93 -0
  711. package/src/models/GeminiProviderWithDeploymentsCreate.ts +118 -0
  712. package/src/models/GuardrailEventListResponse.ts +101 -0
  713. package/src/models/GuardrailEventResponse.ts +173 -0
  714. package/src/models/GuardrailRow.ts +132 -0
  715. package/src/models/HTTPValidationError.ts +73 -0
  716. package/src/models/HateoasLink.ts +84 -0
  717. package/src/models/ImageGenerationCapability.ts +257 -0
  718. package/src/models/ImageGenerationCapabilityCreate.ts +164 -0
  719. package/src/models/ImageGenerationCapabilityUpdate.ts +173 -0
  720. package/src/models/InfiniteDataRetention.ts +75 -0
  721. package/src/models/Input.ts +54 -0
  722. package/src/models/InputAnyOfInner.ts +106 -0
  723. package/src/models/Items.ts +106 -0
  724. package/src/models/Items1.ts +106 -0
  725. package/src/models/KeyConfigurationField.ts +150 -0
  726. package/src/models/Limits.ts +76 -0
  727. package/src/models/MCPAuthModeSchema.ts +107 -0
  728. package/src/models/MCPAuthSchema.ts +82 -0
  729. package/src/models/MCPConfigSchemaResponse.ts +101 -0
  730. package/src/models/MCPConnectionType.ts +53 -0
  731. package/src/models/MCPResourceReadRequest.ts +66 -0
  732. package/src/models/MCPResourceReadResponse.ts +66 -0
  733. package/src/models/MCPServerBase.ts +109 -0
  734. package/src/models/MCPServerResponse.ts +151 -0
  735. package/src/models/MCPToolCallRequest.ts +74 -0
  736. package/src/models/MCPToolCallResponse.ts +89 -0
  737. package/src/models/MLLMImage.ts +98 -0
  738. package/src/models/Message.ts +150 -0
  739. package/src/models/MetricData.ts +140 -0
  740. package/src/models/MistralProviderValidationRequest.ts +93 -0
  741. package/src/models/MistralProviderWithDeploymentsCreate.ts +118 -0
  742. package/src/models/Modality.ts +55 -0
  743. package/src/models/ModalitySupport.ts +86 -0
  744. package/src/models/ModelCapability.ts +69 -0
  745. package/src/models/ModelCatalogEntry.ts +283 -0
  746. package/src/models/ModelCatalogEntryResponse.ts +93 -0
  747. package/src/models/ModelCatalogListResponse.ts +93 -0
  748. package/src/models/ModelConfiguration.ts +89 -0
  749. package/src/models/ModelDeployment.ts +174 -0
  750. package/src/models/ModelDeploymentCreate.ts +116 -0
  751. package/src/models/ModelDeploymentUpdate.ts +116 -0
  752. package/src/models/ModelHTTPMethod.ts +65 -0
  753. package/src/models/ModelMode.ts +69 -0
  754. package/src/models/ModelProvider.ts +143 -0
  755. package/src/models/ModelProviderCreate.ts +84 -0
  756. package/src/models/ModelProviderType.ts +132 -0
  757. package/src/models/ModelProviderUpdate.ts +93 -0
  758. package/src/models/MultiSelectConfigurationField.ts +151 -0
  759. package/src/models/NumberConfigurationField.ts +161 -0
  760. package/src/models/ObjectPropertyInput.ts +102 -0
  761. package/src/models/ObjectPropertyOutput.ts +102 -0
  762. package/src/models/OllamaConfiguration.ts +65 -0
  763. package/src/models/OllamaProviderValidationRequest.ts +93 -0
  764. package/src/models/OllamaProviderWithDeploymentsCreate.ts +118 -0
  765. package/src/models/OpenAIConfiguration.ts +66 -0
  766. package/src/models/OpenAILikeConfiguration.ts +74 -0
  767. package/src/models/OpenAILikeProviderValidationRequest.ts +93 -0
  768. package/src/models/OpenAILikeProviderWithDeploymentsCreate.ts +118 -0
  769. package/src/models/OpenAIProviderValidationRequest.ts +93 -0
  770. package/src/models/OpenAIProviderWithDeploymentsCreate.ts +118 -0
  771. package/src/models/OpenRouterProviderValidationRequest.ts +93 -0
  772. package/src/models/OpenRouterProviderWithDeploymentsCreate.ts +118 -0
  773. package/src/models/Page.ts +93 -0
  774. package/src/models/PagedResponseModelApiKey.ts +105 -0
  775. package/src/models/PagedResponseModelCapability.ts +105 -0
  776. package/src/models/PagedResponseModelCapabilityEvaluationCriterionRepresentation.ts +105 -0
  777. package/src/models/PagedResponseModelCapabilityEvaluationCriterionTypeRepresentation.ts +105 -0
  778. package/src/models/PagedResponseModelCapabilityEvaluationRepresentation.ts +105 -0
  779. package/src/models/PagedResponseModelCapabilityVersion.ts +105 -0
  780. package/src/models/PagedResponseModelChatConversation.ts +105 -0
  781. package/src/models/PagedResponseModelCollection.ts +105 -0
  782. package/src/models/PagedResponseModelDocument.ts +105 -0
  783. package/src/models/PagedResponseModelEvaluationCriterionExecutionRepresentation.ts +105 -0
  784. package/src/models/PagedResponseModelEvaluationDatasetItemRepresentation.ts +105 -0
  785. package/src/models/PagedResponseModelEvaluationDatasetRepresentation.ts +105 -0
  786. package/src/models/PagedResponseModelEvaluationExecutionRepresentation.ts +105 -0
  787. package/src/models/PagedResponseModelExecutionSparse.ts +105 -0
  788. package/src/models/PagedResponseModelFeedback.ts +105 -0
  789. package/src/models/PagedResponseModelMCPServerResponse.ts +105 -0
  790. package/src/models/PagedResponseModelModelDeployment.ts +105 -0
  791. package/src/models/PagedResponseModelModelProvider.ts +105 -0
  792. package/src/models/PagedResponseModelModelProviderType.ts +105 -0
  793. package/src/models/PagedResponseModelProject.ts +105 -0
  794. package/src/models/PagedResponseModelRole.ts +105 -0
  795. package/src/models/PagedResponseModelUserRBAC.ts +105 -0
  796. package/src/models/Permission.ts +73 -0
  797. package/src/models/PermissionItem.ts +84 -0
  798. package/src/models/PiiDetectionDirectionRequirement.ts +79 -0
  799. package/src/models/PiiDetectionRequirementInput.ts +101 -0
  800. package/src/models/PiiDetectionRequirementOutput.ts +101 -0
  801. package/src/models/PiiEnforcementMode.ts +54 -0
  802. package/src/models/PiiEntityCode.ts +58 -0
  803. package/src/models/PolicyComplianceResult.ts +101 -0
  804. package/src/models/PolicyControlsInput.ts +77 -0
  805. package/src/models/PolicyControlsOutput.ts +77 -0
  806. package/src/models/PolicyCreate.ts +133 -0
  807. package/src/models/PolicyImpactResponse.ts +75 -0
  808. package/src/models/PolicyResponse.ts +209 -0
  809. package/src/models/PolicyScopeType.ts +54 -0
  810. package/src/models/PolicyUpdate.ts +130 -0
  811. package/src/models/Price.ts +92 -0
  812. package/src/models/Project.ts +168 -0
  813. package/src/models/ProjectCreate.ts +82 -0
  814. package/src/models/ProjectUpdate.ts +82 -0
  815. package/src/models/ProviderHealthResponse.ts +99 -0
  816. package/src/models/ProviderListResponse.ts +93 -0
  817. package/src/models/ProviderSummary.ts +87 -0
  818. package/src/models/ProviderValidationResponse.ts +98 -0
  819. package/src/models/RawIds.ts +76 -0
  820. package/src/models/RemoveControlsResponse.ts +83 -0
  821. package/src/models/RemovedControl.ts +75 -0
  822. package/src/models/Request.ts +177 -0
  823. package/src/models/ResponseCreateCapabilityV1CapabilitiesPost.ts +330 -0
  824. package/src/models/Role.ts +158 -0
  825. package/src/models/RoleCreate.ts +90 -0
  826. package/src/models/RoleUpdate.ts +90 -0
  827. package/src/models/ScanCategory.ts +52 -0
  828. package/src/models/ScanDirection.ts +53 -0
  829. package/src/models/ScanResult.ts +134 -0
  830. package/src/models/SourceObservation.ts +88 -0
  831. package/src/models/SourceObservationAny.ts +88 -0
  832. package/src/models/SpeechToTextCapability.ts +249 -0
  833. package/src/models/SpeechToTextCapabilityCreate.ts +165 -0
  834. package/src/models/SpeechToTextCapabilityUpdate.ts +173 -0
  835. package/src/models/StreamingTransport.ts +53 -0
  836. package/src/models/StringArrayConfigurationField.ts +126 -0
  837. package/src/models/TestResult.ts +171 -0
  838. package/src/models/TextConfigurationField.ts +142 -0
  839. package/src/models/TimedDataRetention.ts +84 -0
  840. package/src/models/ToolCallFunction.ts +83 -0
  841. package/src/models/ToolCallMessage.ts +92 -0
  842. package/src/models/UrlConfigurationField.ts +142 -0
  843. package/src/models/UserRBAC.ts +174 -0
  844. package/src/models/UserUpdate.ts +81 -0
  845. package/src/models/ValidationError.ts +108 -0
  846. package/src/models/ValidationErrorLocInner.ts +46 -0
  847. package/src/models/VertexAIConfiguration.ts +87 -0
  848. package/src/models/VertexAiProviderValidationRequest.ts +93 -0
  849. package/src/models/VertexAiProviderWithDeploymentsCreate.ts +118 -0
  850. package/src/models/index.ts +261 -0
  851. package/src/runtime.ts +432 -0
  852. package/tsconfig.json +20 -0
@@ -0,0 +1,1023 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Corax API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v2.313.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ var __extends = (this && this.__extends) || (function () {
16
+ var extendStatics = function (d, b) {
17
+ extendStatics = Object.setPrototypeOf ||
18
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
19
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
20
+ return extendStatics(d, b);
21
+ };
22
+ return function (d, b) {
23
+ if (typeof b !== "function" && b !== null)
24
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
25
+ extendStatics(d, b);
26
+ function __() { this.constructor = d; }
27
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
28
+ };
29
+ })();
30
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
31
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
32
+ return new (P || (P = Promise))(function (resolve, reject) {
33
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
34
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
35
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
36
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
37
+ });
38
+ };
39
+ var __generator = (this && this.__generator) || function (thisArg, body) {
40
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
41
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
42
+ function verb(n) { return function (v) { return step([n, v]); }; }
43
+ function step(op) {
44
+ if (f) throw new TypeError("Generator is already executing.");
45
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
46
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
47
+ if (y = 0, t) op = [op[0] & 2, t.value];
48
+ switch (op[0]) {
49
+ case 0: case 1: t = op; break;
50
+ case 4: _.label++; return { value: op[1], done: false };
51
+ case 5: _.label++; y = op[1]; op = [0]; continue;
52
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
53
+ default:
54
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
55
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
56
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
57
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
58
+ if (t[2]) _.ops.pop();
59
+ _.trys.pop(); continue;
60
+ }
61
+ op = body.call(thisArg, _);
62
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
63
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
64
+ }
65
+ };
66
+ Object.defineProperty(exports, "__esModule", { value: true });
67
+ exports.MCPServersApi = void 0;
68
+ var runtime = require("../runtime");
69
+ var index_1 = require("../models/index");
70
+ /**
71
+ *
72
+ */
73
+ var MCPServersApi = /** @class */ (function (_super) {
74
+ __extends(MCPServersApi, _super);
75
+ function MCPServersApi() {
76
+ return _super !== null && _super.apply(this, arguments) || this;
77
+ }
78
+ /**
79
+ * Execute a tool directly on an MCP server. This is used by MCP App iframes to proxy tool calls through the backend.
80
+ * Call a tool directly on an MCP server
81
+ */
82
+ MCPServersApi.prototype.callMcpServerToolV1McpServersServerIdToolsCallPostRaw = function (requestParameters, initOverrides) {
83
+ return __awaiter(this, void 0, void 0, function () {
84
+ var queryParameters, headerParameters, _a, _b, token, tokenString, urlPath, response;
85
+ return __generator(this, function (_c) {
86
+ switch (_c.label) {
87
+ case 0:
88
+ if (requestParameters['serverId'] == null) {
89
+ throw new runtime.RequiredError('serverId', 'Required parameter "serverId" was null or undefined when calling callMcpServerToolV1McpServersServerIdToolsCallPost().');
90
+ }
91
+ if (requestParameters['mCPToolCallRequest'] == null) {
92
+ throw new runtime.RequiredError('mCPToolCallRequest', 'Required parameter "mCPToolCallRequest" was null or undefined when calling callMcpServerToolV1McpServersServerIdToolsCallPost().');
93
+ }
94
+ queryParameters = {};
95
+ headerParameters = {};
96
+ headerParameters['Content-Type'] = 'application/json';
97
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
98
+ _a = headerParameters;
99
+ _b = "X-API-Key";
100
+ return [4 /*yield*/, this.configuration.apiKey("X-API-Key")];
101
+ case 1:
102
+ _a[_b] = _c.sent(); // APIKeyHeader authentication
103
+ _c.label = 2;
104
+ case 2:
105
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
106
+ token = this.configuration.accessToken;
107
+ return [4 /*yield*/, token("HTTPBearer", [])];
108
+ case 3:
109
+ tokenString = _c.sent();
110
+ if (tokenString) {
111
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
112
+ }
113
+ _c.label = 4;
114
+ case 4:
115
+ urlPath = "/v1/mcp-servers/{server_id}/tools/call";
116
+ urlPath = urlPath.replace("{".concat("server_id", "}"), encodeURIComponent(String(requestParameters['serverId'])));
117
+ return [4 /*yield*/, this.request({
118
+ path: urlPath,
119
+ method: 'POST',
120
+ headers: headerParameters,
121
+ query: queryParameters,
122
+ body: (0, index_1.MCPToolCallRequestToJSON)(requestParameters['mCPToolCallRequest']),
123
+ }, initOverrides)];
124
+ case 5:
125
+ response = _c.sent();
126
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.MCPToolCallResponseFromJSON)(jsonValue); })];
127
+ }
128
+ });
129
+ });
130
+ };
131
+ /**
132
+ * Execute a tool directly on an MCP server. This is used by MCP App iframes to proxy tool calls through the backend.
133
+ * Call a tool directly on an MCP server
134
+ */
135
+ MCPServersApi.prototype.callMcpServerToolV1McpServersServerIdToolsCallPost = function (requestParameters, initOverrides) {
136
+ return __awaiter(this, void 0, void 0, function () {
137
+ var response;
138
+ return __generator(this, function (_a) {
139
+ switch (_a.label) {
140
+ case 0: return [4 /*yield*/, this.callMcpServerToolV1McpServersServerIdToolsCallPostRaw(requestParameters, initOverrides)];
141
+ case 1:
142
+ response = _a.sent();
143
+ return [4 /*yield*/, response.value()];
144
+ case 2: return [2 /*return*/, _a.sent()];
145
+ }
146
+ });
147
+ });
148
+ };
149
+ /**
150
+ * Perform a health check on the specified MCP server by attempting to connect and retrieve available entities. Returns detailed status information and entity counts.
151
+ * Check MCP server health status
152
+ */
153
+ MCPServersApi.prototype.checkMcpServerHealthV1McpServersServerIdHealthGetRaw = function (requestParameters, initOverrides) {
154
+ return __awaiter(this, void 0, void 0, function () {
155
+ var queryParameters, headerParameters, _a, _b, token, tokenString, urlPath, response;
156
+ return __generator(this, function (_c) {
157
+ switch (_c.label) {
158
+ case 0:
159
+ if (requestParameters['serverId'] == null) {
160
+ throw new runtime.RequiredError('serverId', 'Required parameter "serverId" was null or undefined when calling checkMcpServerHealthV1McpServersServerIdHealthGet().');
161
+ }
162
+ queryParameters = {};
163
+ headerParameters = {};
164
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
165
+ _a = headerParameters;
166
+ _b = "X-API-Key";
167
+ return [4 /*yield*/, this.configuration.apiKey("X-API-Key")];
168
+ case 1:
169
+ _a[_b] = _c.sent(); // APIKeyHeader authentication
170
+ _c.label = 2;
171
+ case 2:
172
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
173
+ token = this.configuration.accessToken;
174
+ return [4 /*yield*/, token("HTTPBearer", [])];
175
+ case 3:
176
+ tokenString = _c.sent();
177
+ if (tokenString) {
178
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
179
+ }
180
+ _c.label = 4;
181
+ case 4:
182
+ urlPath = "/v1/mcp-servers/{server_id}/health";
183
+ urlPath = urlPath.replace("{".concat("server_id", "}"), encodeURIComponent(String(requestParameters['serverId'])));
184
+ return [4 /*yield*/, this.request({
185
+ path: urlPath,
186
+ method: 'GET',
187
+ headers: headerParameters,
188
+ query: queryParameters,
189
+ }, initOverrides)];
190
+ case 5:
191
+ response = _c.sent();
192
+ return [2 /*return*/, new runtime.JSONApiResponse(response)];
193
+ }
194
+ });
195
+ });
196
+ };
197
+ /**
198
+ * Perform a health check on the specified MCP server by attempting to connect and retrieve available entities. Returns detailed status information and entity counts.
199
+ * Check MCP server health status
200
+ */
201
+ MCPServersApi.prototype.checkMcpServerHealthV1McpServersServerIdHealthGet = function (requestParameters, initOverrides) {
202
+ return __awaiter(this, void 0, void 0, function () {
203
+ var response;
204
+ return __generator(this, function (_a) {
205
+ switch (_a.label) {
206
+ case 0: return [4 /*yield*/, this.checkMcpServerHealthV1McpServersServerIdHealthGetRaw(requestParameters, initOverrides)];
207
+ case 1:
208
+ response = _a.sent();
209
+ return [4 /*yield*/, response.value()];
210
+ case 2: return [2 /*return*/, _a.sent()];
211
+ }
212
+ });
213
+ });
214
+ };
215
+ /**
216
+ * Create a new MCP (Model Context Protocol) server configuration. The server will be owned by the authenticated user.
217
+ * Create a new MCP server
218
+ */
219
+ MCPServersApi.prototype.createMcpServerV1McpServersPostRaw = function (requestParameters, initOverrides) {
220
+ return __awaiter(this, void 0, void 0, function () {
221
+ var queryParameters, headerParameters, _a, _b, token, tokenString, urlPath, response;
222
+ return __generator(this, function (_c) {
223
+ switch (_c.label) {
224
+ case 0:
225
+ if (requestParameters['mCPServerBase'] == null) {
226
+ throw new runtime.RequiredError('mCPServerBase', 'Required parameter "mCPServerBase" was null or undefined when calling createMcpServerV1McpServersPost().');
227
+ }
228
+ queryParameters = {};
229
+ headerParameters = {};
230
+ headerParameters['Content-Type'] = 'application/json';
231
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
232
+ _a = headerParameters;
233
+ _b = "X-API-Key";
234
+ return [4 /*yield*/, this.configuration.apiKey("X-API-Key")];
235
+ case 1:
236
+ _a[_b] = _c.sent(); // APIKeyHeader authentication
237
+ _c.label = 2;
238
+ case 2:
239
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
240
+ token = this.configuration.accessToken;
241
+ return [4 /*yield*/, token("HTTPBearer", [])];
242
+ case 3:
243
+ tokenString = _c.sent();
244
+ if (tokenString) {
245
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
246
+ }
247
+ _c.label = 4;
248
+ case 4:
249
+ urlPath = "/v1/mcp-servers";
250
+ return [4 /*yield*/, this.request({
251
+ path: urlPath,
252
+ method: 'POST',
253
+ headers: headerParameters,
254
+ query: queryParameters,
255
+ body: (0, index_1.MCPServerBaseToJSON)(requestParameters['mCPServerBase']),
256
+ }, initOverrides)];
257
+ case 5:
258
+ response = _c.sent();
259
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.MCPServerResponseFromJSON)(jsonValue); })];
260
+ }
261
+ });
262
+ });
263
+ };
264
+ /**
265
+ * Create a new MCP (Model Context Protocol) server configuration. The server will be owned by the authenticated user.
266
+ * Create a new MCP server
267
+ */
268
+ MCPServersApi.prototype.createMcpServerV1McpServersPost = function (requestParameters, initOverrides) {
269
+ return __awaiter(this, void 0, void 0, function () {
270
+ var response;
271
+ return __generator(this, function (_a) {
272
+ switch (_a.label) {
273
+ case 0: return [4 /*yield*/, this.createMcpServerV1McpServersPostRaw(requestParameters, initOverrides)];
274
+ case 1:
275
+ response = _a.sent();
276
+ return [4 /*yield*/, response.value()];
277
+ case 2: return [2 /*return*/, _a.sent()];
278
+ }
279
+ });
280
+ });
281
+ };
282
+ /**
283
+ * Permanently delete an MCP server configuration. Only the server owner can delete the server. The server cannot be deleted if it is currently being used by any capabilities.
284
+ * Delete an MCP server
285
+ */
286
+ MCPServersApi.prototype.deleteMcpServerV1McpServersServerIdDeleteRaw = function (requestParameters, initOverrides) {
287
+ return __awaiter(this, void 0, void 0, function () {
288
+ var queryParameters, headerParameters, _a, _b, token, tokenString, urlPath, response;
289
+ return __generator(this, function (_c) {
290
+ switch (_c.label) {
291
+ case 0:
292
+ if (requestParameters['serverId'] == null) {
293
+ throw new runtime.RequiredError('serverId', 'Required parameter "serverId" was null or undefined when calling deleteMcpServerV1McpServersServerIdDelete().');
294
+ }
295
+ queryParameters = {};
296
+ headerParameters = {};
297
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
298
+ _a = headerParameters;
299
+ _b = "X-API-Key";
300
+ return [4 /*yield*/, this.configuration.apiKey("X-API-Key")];
301
+ case 1:
302
+ _a[_b] = _c.sent(); // APIKeyHeader authentication
303
+ _c.label = 2;
304
+ case 2:
305
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
306
+ token = this.configuration.accessToken;
307
+ return [4 /*yield*/, token("HTTPBearer", [])];
308
+ case 3:
309
+ tokenString = _c.sent();
310
+ if (tokenString) {
311
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
312
+ }
313
+ _c.label = 4;
314
+ case 4:
315
+ urlPath = "/v1/mcp-servers/{server_id}";
316
+ urlPath = urlPath.replace("{".concat("server_id", "}"), encodeURIComponent(String(requestParameters['serverId'])));
317
+ return [4 /*yield*/, this.request({
318
+ path: urlPath,
319
+ method: 'DELETE',
320
+ headers: headerParameters,
321
+ query: queryParameters,
322
+ }, initOverrides)];
323
+ case 5:
324
+ response = _c.sent();
325
+ return [2 /*return*/, new runtime.VoidApiResponse(response)];
326
+ }
327
+ });
328
+ });
329
+ };
330
+ /**
331
+ * Permanently delete an MCP server configuration. Only the server owner can delete the server. The server cannot be deleted if it is currently being used by any capabilities.
332
+ * Delete an MCP server
333
+ */
334
+ MCPServersApi.prototype.deleteMcpServerV1McpServersServerIdDelete = function (requestParameters, initOverrides) {
335
+ return __awaiter(this, void 0, void 0, function () {
336
+ return __generator(this, function (_a) {
337
+ switch (_a.label) {
338
+ case 0: return [4 /*yield*/, this.deleteMcpServerV1McpServersServerIdDeleteRaw(requestParameters, initOverrides)];
339
+ case 1:
340
+ _a.sent();
341
+ return [2 /*return*/];
342
+ }
343
+ });
344
+ });
345
+ };
346
+ /**
347
+ * Return the renderable form schema for the MCP server editor: base server fields and the supported authentication modes with their fields, defaults and validation hints. The frontend builds the auth section from this instead of hardcoding the modes.
348
+ * Get the MCP server config schema
349
+ */
350
+ MCPServersApi.prototype.getMcpConfigSchemaV1McpServersConfigSchemaGetRaw = function (initOverrides) {
351
+ return __awaiter(this, void 0, void 0, function () {
352
+ var queryParameters, headerParameters, _a, _b, token, tokenString, urlPath, response;
353
+ return __generator(this, function (_c) {
354
+ switch (_c.label) {
355
+ case 0:
356
+ queryParameters = {};
357
+ headerParameters = {};
358
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
359
+ _a = headerParameters;
360
+ _b = "X-API-Key";
361
+ return [4 /*yield*/, this.configuration.apiKey("X-API-Key")];
362
+ case 1:
363
+ _a[_b] = _c.sent(); // APIKeyHeader authentication
364
+ _c.label = 2;
365
+ case 2:
366
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
367
+ token = this.configuration.accessToken;
368
+ return [4 /*yield*/, token("HTTPBearer", [])];
369
+ case 3:
370
+ tokenString = _c.sent();
371
+ if (tokenString) {
372
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
373
+ }
374
+ _c.label = 4;
375
+ case 4:
376
+ urlPath = "/v1/mcp-servers/config-schema";
377
+ return [4 /*yield*/, this.request({
378
+ path: urlPath,
379
+ method: 'GET',
380
+ headers: headerParameters,
381
+ query: queryParameters,
382
+ }, initOverrides)];
383
+ case 5:
384
+ response = _c.sent();
385
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.MCPConfigSchemaResponseFromJSON)(jsonValue); })];
386
+ }
387
+ });
388
+ });
389
+ };
390
+ /**
391
+ * Return the renderable form schema for the MCP server editor: base server fields and the supported authentication modes with their fields, defaults and validation hints. The frontend builds the auth section from this instead of hardcoding the modes.
392
+ * Get the MCP server config schema
393
+ */
394
+ MCPServersApi.prototype.getMcpConfigSchemaV1McpServersConfigSchemaGet = function (initOverrides) {
395
+ return __awaiter(this, void 0, void 0, function () {
396
+ var response;
397
+ return __generator(this, function (_a) {
398
+ switch (_a.label) {
399
+ case 0: return [4 /*yield*/, this.getMcpConfigSchemaV1McpServersConfigSchemaGetRaw(initOverrides)];
400
+ case 1:
401
+ response = _a.sent();
402
+ return [4 /*yield*/, response.value()];
403
+ case 2: return [2 /*return*/, _a.sent()];
404
+ }
405
+ });
406
+ });
407
+ };
408
+ /**
409
+ * Retrieve all capabilities that reference this MCP server. Only the server owner can view this information. Useful for impact analysis before changing server visibility.
410
+ * Get capabilities connected to this MCP server
411
+ */
412
+ MCPServersApi.prototype.getMcpServerConnectedCapabilitiesV1McpServersServerIdConnectedCapabilitiesGetRaw = function (requestParameters, initOverrides) {
413
+ return __awaiter(this, void 0, void 0, function () {
414
+ var queryParameters, headerParameters, _a, _b, token, tokenString, urlPath, response;
415
+ return __generator(this, function (_c) {
416
+ switch (_c.label) {
417
+ case 0:
418
+ if (requestParameters['serverId'] == null) {
419
+ throw new runtime.RequiredError('serverId', 'Required parameter "serverId" was null or undefined when calling getMcpServerConnectedCapabilitiesV1McpServersServerIdConnectedCapabilitiesGet().');
420
+ }
421
+ queryParameters = {};
422
+ headerParameters = {};
423
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
424
+ _a = headerParameters;
425
+ _b = "X-API-Key";
426
+ return [4 /*yield*/, this.configuration.apiKey("X-API-Key")];
427
+ case 1:
428
+ _a[_b] = _c.sent(); // APIKeyHeader authentication
429
+ _c.label = 2;
430
+ case 2:
431
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
432
+ token = this.configuration.accessToken;
433
+ return [4 /*yield*/, token("HTTPBearer", [])];
434
+ case 3:
435
+ tokenString = _c.sent();
436
+ if (tokenString) {
437
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
438
+ }
439
+ _c.label = 4;
440
+ case 4:
441
+ urlPath = "/v1/mcp-servers/{server_id}/connected-capabilities";
442
+ urlPath = urlPath.replace("{".concat("server_id", "}"), encodeURIComponent(String(requestParameters['serverId'])));
443
+ return [4 /*yield*/, this.request({
444
+ path: urlPath,
445
+ method: 'GET',
446
+ headers: headerParameters,
447
+ query: queryParameters,
448
+ }, initOverrides)];
449
+ case 5:
450
+ response = _c.sent();
451
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return jsonValue.map(index_1.ConnectedCapabilityResponseFromJSON); })];
452
+ }
453
+ });
454
+ });
455
+ };
456
+ /**
457
+ * Retrieve all capabilities that reference this MCP server. Only the server owner can view this information. Useful for impact analysis before changing server visibility.
458
+ * Get capabilities connected to this MCP server
459
+ */
460
+ MCPServersApi.prototype.getMcpServerConnectedCapabilitiesV1McpServersServerIdConnectedCapabilitiesGet = function (requestParameters, initOverrides) {
461
+ return __awaiter(this, void 0, void 0, function () {
462
+ var response;
463
+ return __generator(this, function (_a) {
464
+ switch (_a.label) {
465
+ case 0: return [4 /*yield*/, this.getMcpServerConnectedCapabilitiesV1McpServersServerIdConnectedCapabilitiesGetRaw(requestParameters, initOverrides)];
466
+ case 1:
467
+ response = _a.sent();
468
+ return [4 /*yield*/, response.value()];
469
+ case 2: return [2 /*return*/, _a.sent()];
470
+ }
471
+ });
472
+ });
473
+ };
474
+ /**
475
+ * Retrieve all available entities (tools, resources, and prompts) from the specified MCP server. This includes function definitions, resource templates, and prompt templates.
476
+ * Get all entities from an MCP server
477
+ */
478
+ MCPServersApi.prototype.getMcpServerEntitiesV1McpServersServerIdEntitiesGetRaw = function (requestParameters, initOverrides) {
479
+ return __awaiter(this, void 0, void 0, function () {
480
+ var queryParameters, headerParameters, _a, _b, token, tokenString, urlPath, response;
481
+ return __generator(this, function (_c) {
482
+ switch (_c.label) {
483
+ case 0:
484
+ if (requestParameters['serverId'] == null) {
485
+ throw new runtime.RequiredError('serverId', 'Required parameter "serverId" was null or undefined when calling getMcpServerEntitiesV1McpServersServerIdEntitiesGet().');
486
+ }
487
+ queryParameters = {};
488
+ headerParameters = {};
489
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
490
+ _a = headerParameters;
491
+ _b = "X-API-Key";
492
+ return [4 /*yield*/, this.configuration.apiKey("X-API-Key")];
493
+ case 1:
494
+ _a[_b] = _c.sent(); // APIKeyHeader authentication
495
+ _c.label = 2;
496
+ case 2:
497
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
498
+ token = this.configuration.accessToken;
499
+ return [4 /*yield*/, token("HTTPBearer", [])];
500
+ case 3:
501
+ tokenString = _c.sent();
502
+ if (tokenString) {
503
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
504
+ }
505
+ _c.label = 4;
506
+ case 4:
507
+ urlPath = "/v1/mcp-servers/{server_id}/entities";
508
+ urlPath = urlPath.replace("{".concat("server_id", "}"), encodeURIComponent(String(requestParameters['serverId'])));
509
+ return [4 /*yield*/, this.request({
510
+ path: urlPath,
511
+ method: 'GET',
512
+ headers: headerParameters,
513
+ query: queryParameters,
514
+ }, initOverrides)];
515
+ case 5:
516
+ response = _c.sent();
517
+ return [2 /*return*/, new runtime.JSONApiResponse(response)];
518
+ }
519
+ });
520
+ });
521
+ };
522
+ /**
523
+ * Retrieve all available entities (tools, resources, and prompts) from the specified MCP server. This includes function definitions, resource templates, and prompt templates.
524
+ * Get all entities from an MCP server
525
+ */
526
+ MCPServersApi.prototype.getMcpServerEntitiesV1McpServersServerIdEntitiesGet = function (requestParameters, initOverrides) {
527
+ return __awaiter(this, void 0, void 0, function () {
528
+ var response;
529
+ return __generator(this, function (_a) {
530
+ switch (_a.label) {
531
+ case 0: return [4 /*yield*/, this.getMcpServerEntitiesV1McpServersServerIdEntitiesGetRaw(requestParameters, initOverrides)];
532
+ case 1:
533
+ response = _a.sent();
534
+ return [4 /*yield*/, response.value()];
535
+ case 2: return [2 /*return*/, _a.sent()];
536
+ }
537
+ });
538
+ });
539
+ };
540
+ /**
541
+ * Retrieve all available prompts and prompt templates from the specified MCP server. Prompts are reusable templates that can be used to generate consistent AI interactions.
542
+ * Get all prompts from an MCP server
543
+ */
544
+ MCPServersApi.prototype.getMcpServerPromptsV1McpServersServerIdPromptsGetRaw = function (requestParameters, initOverrides) {
545
+ return __awaiter(this, void 0, void 0, function () {
546
+ var queryParameters, headerParameters, _a, _b, token, tokenString, urlPath, response;
547
+ return __generator(this, function (_c) {
548
+ switch (_c.label) {
549
+ case 0:
550
+ if (requestParameters['serverId'] == null) {
551
+ throw new runtime.RequiredError('serverId', 'Required parameter "serverId" was null or undefined when calling getMcpServerPromptsV1McpServersServerIdPromptsGet().');
552
+ }
553
+ queryParameters = {};
554
+ headerParameters = {};
555
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
556
+ _a = headerParameters;
557
+ _b = "X-API-Key";
558
+ return [4 /*yield*/, this.configuration.apiKey("X-API-Key")];
559
+ case 1:
560
+ _a[_b] = _c.sent(); // APIKeyHeader authentication
561
+ _c.label = 2;
562
+ case 2:
563
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
564
+ token = this.configuration.accessToken;
565
+ return [4 /*yield*/, token("HTTPBearer", [])];
566
+ case 3:
567
+ tokenString = _c.sent();
568
+ if (tokenString) {
569
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
570
+ }
571
+ _c.label = 4;
572
+ case 4:
573
+ urlPath = "/v1/mcp-servers/{server_id}/prompts";
574
+ urlPath = urlPath.replace("{".concat("server_id", "}"), encodeURIComponent(String(requestParameters['serverId'])));
575
+ return [4 /*yield*/, this.request({
576
+ path: urlPath,
577
+ method: 'GET',
578
+ headers: headerParameters,
579
+ query: queryParameters,
580
+ }, initOverrides)];
581
+ case 5:
582
+ response = _c.sent();
583
+ return [2 /*return*/, new runtime.JSONApiResponse(response)];
584
+ }
585
+ });
586
+ });
587
+ };
588
+ /**
589
+ * Retrieve all available prompts and prompt templates from the specified MCP server. Prompts are reusable templates that can be used to generate consistent AI interactions.
590
+ * Get all prompts from an MCP server
591
+ */
592
+ MCPServersApi.prototype.getMcpServerPromptsV1McpServersServerIdPromptsGet = function (requestParameters, initOverrides) {
593
+ return __awaiter(this, void 0, void 0, function () {
594
+ var response;
595
+ return __generator(this, function (_a) {
596
+ switch (_a.label) {
597
+ case 0: return [4 /*yield*/, this.getMcpServerPromptsV1McpServersServerIdPromptsGetRaw(requestParameters, initOverrides)];
598
+ case 1:
599
+ response = _a.sent();
600
+ return [4 /*yield*/, response.value()];
601
+ case 2: return [2 /*return*/, _a.sent()];
602
+ }
603
+ });
604
+ });
605
+ };
606
+ /**
607
+ * Retrieve all available resources and resource templates from the specified MCP server. Resources provide access to external data sources, files, or APIs that capabilities can read from.
608
+ * Get all resources from an MCP server
609
+ */
610
+ MCPServersApi.prototype.getMcpServerResourcesV1McpServersServerIdResourcesGetRaw = function (requestParameters, initOverrides) {
611
+ return __awaiter(this, void 0, void 0, function () {
612
+ var queryParameters, headerParameters, _a, _b, token, tokenString, urlPath, response;
613
+ return __generator(this, function (_c) {
614
+ switch (_c.label) {
615
+ case 0:
616
+ if (requestParameters['serverId'] == null) {
617
+ throw new runtime.RequiredError('serverId', 'Required parameter "serverId" was null or undefined when calling getMcpServerResourcesV1McpServersServerIdResourcesGet().');
618
+ }
619
+ queryParameters = {};
620
+ headerParameters = {};
621
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
622
+ _a = headerParameters;
623
+ _b = "X-API-Key";
624
+ return [4 /*yield*/, this.configuration.apiKey("X-API-Key")];
625
+ case 1:
626
+ _a[_b] = _c.sent(); // APIKeyHeader authentication
627
+ _c.label = 2;
628
+ case 2:
629
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
630
+ token = this.configuration.accessToken;
631
+ return [4 /*yield*/, token("HTTPBearer", [])];
632
+ case 3:
633
+ tokenString = _c.sent();
634
+ if (tokenString) {
635
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
636
+ }
637
+ _c.label = 4;
638
+ case 4:
639
+ urlPath = "/v1/mcp-servers/{server_id}/resources";
640
+ urlPath = urlPath.replace("{".concat("server_id", "}"), encodeURIComponent(String(requestParameters['serverId'])));
641
+ return [4 /*yield*/, this.request({
642
+ path: urlPath,
643
+ method: 'GET',
644
+ headers: headerParameters,
645
+ query: queryParameters,
646
+ }, initOverrides)];
647
+ case 5:
648
+ response = _c.sent();
649
+ return [2 /*return*/, new runtime.JSONApiResponse(response)];
650
+ }
651
+ });
652
+ });
653
+ };
654
+ /**
655
+ * Retrieve all available resources and resource templates from the specified MCP server. Resources provide access to external data sources, files, or APIs that capabilities can read from.
656
+ * Get all resources from an MCP server
657
+ */
658
+ MCPServersApi.prototype.getMcpServerResourcesV1McpServersServerIdResourcesGet = function (requestParameters, initOverrides) {
659
+ return __awaiter(this, void 0, void 0, function () {
660
+ var response;
661
+ return __generator(this, function (_a) {
662
+ switch (_a.label) {
663
+ case 0: return [4 /*yield*/, this.getMcpServerResourcesV1McpServersServerIdResourcesGetRaw(requestParameters, initOverrides)];
664
+ case 1:
665
+ response = _a.sent();
666
+ return [4 /*yield*/, response.value()];
667
+ case 2: return [2 /*return*/, _a.sent()];
668
+ }
669
+ });
670
+ });
671
+ };
672
+ /**
673
+ * Retrieve all available tools (functions) from the specified MCP server. Tools are executable functions that can be called by capabilities to perform specific tasks.
674
+ * Get all tools from an MCP server
675
+ */
676
+ MCPServersApi.prototype.getMcpServerToolsV1McpServersServerIdToolsGetRaw = function (requestParameters, initOverrides) {
677
+ return __awaiter(this, void 0, void 0, function () {
678
+ var queryParameters, headerParameters, _a, _b, token, tokenString, urlPath, response;
679
+ return __generator(this, function (_c) {
680
+ switch (_c.label) {
681
+ case 0:
682
+ if (requestParameters['serverId'] == null) {
683
+ throw new runtime.RequiredError('serverId', 'Required parameter "serverId" was null or undefined when calling getMcpServerToolsV1McpServersServerIdToolsGet().');
684
+ }
685
+ queryParameters = {};
686
+ headerParameters = {};
687
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
688
+ _a = headerParameters;
689
+ _b = "X-API-Key";
690
+ return [4 /*yield*/, this.configuration.apiKey("X-API-Key")];
691
+ case 1:
692
+ _a[_b] = _c.sent(); // APIKeyHeader authentication
693
+ _c.label = 2;
694
+ case 2:
695
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
696
+ token = this.configuration.accessToken;
697
+ return [4 /*yield*/, token("HTTPBearer", [])];
698
+ case 3:
699
+ tokenString = _c.sent();
700
+ if (tokenString) {
701
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
702
+ }
703
+ _c.label = 4;
704
+ case 4:
705
+ urlPath = "/v1/mcp-servers/{server_id}/tools";
706
+ urlPath = urlPath.replace("{".concat("server_id", "}"), encodeURIComponent(String(requestParameters['serverId'])));
707
+ return [4 /*yield*/, this.request({
708
+ path: urlPath,
709
+ method: 'GET',
710
+ headers: headerParameters,
711
+ query: queryParameters,
712
+ }, initOverrides)];
713
+ case 5:
714
+ response = _c.sent();
715
+ return [2 /*return*/, new runtime.JSONApiResponse(response)];
716
+ }
717
+ });
718
+ });
719
+ };
720
+ /**
721
+ * Retrieve all available tools (functions) from the specified MCP server. Tools are executable functions that can be called by capabilities to perform specific tasks.
722
+ * Get all tools from an MCP server
723
+ */
724
+ MCPServersApi.prototype.getMcpServerToolsV1McpServersServerIdToolsGet = function (requestParameters, initOverrides) {
725
+ return __awaiter(this, void 0, void 0, function () {
726
+ var response;
727
+ return __generator(this, function (_a) {
728
+ switch (_a.label) {
729
+ case 0: return [4 /*yield*/, this.getMcpServerToolsV1McpServersServerIdToolsGetRaw(requestParameters, initOverrides)];
730
+ case 1:
731
+ response = _a.sent();
732
+ return [4 /*yield*/, response.value()];
733
+ case 2: return [2 /*return*/, _a.sent()];
734
+ }
735
+ });
736
+ });
737
+ };
738
+ /**
739
+ * Retrieve detailed information about a specific MCP server by its unique identifier. Only returns servers owned by the authenticated user.
740
+ * Get MCP server by ID
741
+ */
742
+ MCPServersApi.prototype.getMcpServerV1McpServersServerIdGetRaw = function (requestParameters, initOverrides) {
743
+ return __awaiter(this, void 0, void 0, function () {
744
+ var queryParameters, headerParameters, _a, _b, token, tokenString, urlPath, response;
745
+ return __generator(this, function (_c) {
746
+ switch (_c.label) {
747
+ case 0:
748
+ if (requestParameters['serverId'] == null) {
749
+ throw new runtime.RequiredError('serverId', 'Required parameter "serverId" was null or undefined when calling getMcpServerV1McpServersServerIdGet().');
750
+ }
751
+ queryParameters = {};
752
+ headerParameters = {};
753
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
754
+ _a = headerParameters;
755
+ _b = "X-API-Key";
756
+ return [4 /*yield*/, this.configuration.apiKey("X-API-Key")];
757
+ case 1:
758
+ _a[_b] = _c.sent(); // APIKeyHeader authentication
759
+ _c.label = 2;
760
+ case 2:
761
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
762
+ token = this.configuration.accessToken;
763
+ return [4 /*yield*/, token("HTTPBearer", [])];
764
+ case 3:
765
+ tokenString = _c.sent();
766
+ if (tokenString) {
767
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
768
+ }
769
+ _c.label = 4;
770
+ case 4:
771
+ urlPath = "/v1/mcp-servers/{server_id}";
772
+ urlPath = urlPath.replace("{".concat("server_id", "}"), encodeURIComponent(String(requestParameters['serverId'])));
773
+ return [4 /*yield*/, this.request({
774
+ path: urlPath,
775
+ method: 'GET',
776
+ headers: headerParameters,
777
+ query: queryParameters,
778
+ }, initOverrides)];
779
+ case 5:
780
+ response = _c.sent();
781
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.MCPServerResponseFromJSON)(jsonValue); })];
782
+ }
783
+ });
784
+ });
785
+ };
786
+ /**
787
+ * Retrieve detailed information about a specific MCP server by its unique identifier. Only returns servers owned by the authenticated user.
788
+ * Get MCP server by ID
789
+ */
790
+ MCPServersApi.prototype.getMcpServerV1McpServersServerIdGet = function (requestParameters, initOverrides) {
791
+ return __awaiter(this, void 0, void 0, function () {
792
+ var response;
793
+ return __generator(this, function (_a) {
794
+ switch (_a.label) {
795
+ case 0: return [4 /*yield*/, this.getMcpServerV1McpServersServerIdGetRaw(requestParameters, initOverrides)];
796
+ case 1:
797
+ response = _a.sent();
798
+ return [4 /*yield*/, response.value()];
799
+ case 2: return [2 /*return*/, _a.sent()];
800
+ }
801
+ });
802
+ });
803
+ };
804
+ /**
805
+ * Retrieve a paginated list of all MCP (Model Context Protocol) servers owned by the current user. Supports sorting and filtering through pagination parameters.
806
+ * List MCP servers
807
+ */
808
+ MCPServersApi.prototype.listMcpServersV1McpServersGetRaw = function (requestParameters, initOverrides) {
809
+ return __awaiter(this, void 0, void 0, function () {
810
+ var queryParameters, headerParameters, _a, _b, token, tokenString, urlPath, response;
811
+ return __generator(this, function (_c) {
812
+ switch (_c.label) {
813
+ case 0:
814
+ queryParameters = {};
815
+ if (requestParameters['page'] != null) {
816
+ queryParameters['page'] = requestParameters['page'];
817
+ }
818
+ if (requestParameters['size'] != null) {
819
+ queryParameters['size'] = requestParameters['size'];
820
+ }
821
+ if (requestParameters['sort'] != null) {
822
+ queryParameters['sort'] = requestParameters['sort'];
823
+ }
824
+ if (requestParameters['filter'] != null) {
825
+ queryParameters['filter'] = requestParameters['filter'];
826
+ }
827
+ headerParameters = {};
828
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
829
+ _a = headerParameters;
830
+ _b = "X-API-Key";
831
+ return [4 /*yield*/, this.configuration.apiKey("X-API-Key")];
832
+ case 1:
833
+ _a[_b] = _c.sent(); // APIKeyHeader authentication
834
+ _c.label = 2;
835
+ case 2:
836
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
837
+ token = this.configuration.accessToken;
838
+ return [4 /*yield*/, token("HTTPBearer", [])];
839
+ case 3:
840
+ tokenString = _c.sent();
841
+ if (tokenString) {
842
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
843
+ }
844
+ _c.label = 4;
845
+ case 4:
846
+ urlPath = "/v1/mcp-servers";
847
+ return [4 /*yield*/, this.request({
848
+ path: urlPath,
849
+ method: 'GET',
850
+ headers: headerParameters,
851
+ query: queryParameters,
852
+ }, initOverrides)];
853
+ case 5:
854
+ response = _c.sent();
855
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.PagedResponseModelMCPServerResponseFromJSON)(jsonValue); })];
856
+ }
857
+ });
858
+ });
859
+ };
860
+ /**
861
+ * Retrieve a paginated list of all MCP (Model Context Protocol) servers owned by the current user. Supports sorting and filtering through pagination parameters.
862
+ * List MCP servers
863
+ */
864
+ MCPServersApi.prototype.listMcpServersV1McpServersGet = function () {
865
+ return __awaiter(this, arguments, void 0, function (requestParameters, initOverrides) {
866
+ var response;
867
+ if (requestParameters === void 0) { requestParameters = {}; }
868
+ return __generator(this, function (_a) {
869
+ switch (_a.label) {
870
+ case 0: return [4 /*yield*/, this.listMcpServersV1McpServersGetRaw(requestParameters, initOverrides)];
871
+ case 1:
872
+ response = _a.sent();
873
+ return [4 /*yield*/, response.value()];
874
+ case 2: return [2 /*return*/, _a.sent()];
875
+ }
876
+ });
877
+ });
878
+ };
879
+ /**
880
+ * Read a specific resource from an MCP server by its URI. This is used by MCP App iframes to fetch HTML content for rendering.
881
+ * Read a resource from an MCP server
882
+ */
883
+ MCPServersApi.prototype.readMcpServerResourceV1McpServersServerIdResourcesReadPostRaw = function (requestParameters, initOverrides) {
884
+ return __awaiter(this, void 0, void 0, function () {
885
+ var queryParameters, headerParameters, _a, _b, token, tokenString, urlPath, response;
886
+ return __generator(this, function (_c) {
887
+ switch (_c.label) {
888
+ case 0:
889
+ if (requestParameters['serverId'] == null) {
890
+ throw new runtime.RequiredError('serverId', 'Required parameter "serverId" was null or undefined when calling readMcpServerResourceV1McpServersServerIdResourcesReadPost().');
891
+ }
892
+ if (requestParameters['mCPResourceReadRequest'] == null) {
893
+ throw new runtime.RequiredError('mCPResourceReadRequest', 'Required parameter "mCPResourceReadRequest" was null or undefined when calling readMcpServerResourceV1McpServersServerIdResourcesReadPost().');
894
+ }
895
+ queryParameters = {};
896
+ headerParameters = {};
897
+ headerParameters['Content-Type'] = 'application/json';
898
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
899
+ _a = headerParameters;
900
+ _b = "X-API-Key";
901
+ return [4 /*yield*/, this.configuration.apiKey("X-API-Key")];
902
+ case 1:
903
+ _a[_b] = _c.sent(); // APIKeyHeader authentication
904
+ _c.label = 2;
905
+ case 2:
906
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
907
+ token = this.configuration.accessToken;
908
+ return [4 /*yield*/, token("HTTPBearer", [])];
909
+ case 3:
910
+ tokenString = _c.sent();
911
+ if (tokenString) {
912
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
913
+ }
914
+ _c.label = 4;
915
+ case 4:
916
+ urlPath = "/v1/mcp-servers/{server_id}/resources/read";
917
+ urlPath = urlPath.replace("{".concat("server_id", "}"), encodeURIComponent(String(requestParameters['serverId'])));
918
+ return [4 /*yield*/, this.request({
919
+ path: urlPath,
920
+ method: 'POST',
921
+ headers: headerParameters,
922
+ query: queryParameters,
923
+ body: (0, index_1.MCPResourceReadRequestToJSON)(requestParameters['mCPResourceReadRequest']),
924
+ }, initOverrides)];
925
+ case 5:
926
+ response = _c.sent();
927
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.MCPResourceReadResponseFromJSON)(jsonValue); })];
928
+ }
929
+ });
930
+ });
931
+ };
932
+ /**
933
+ * Read a specific resource from an MCP server by its URI. This is used by MCP App iframes to fetch HTML content for rendering.
934
+ * Read a resource from an MCP server
935
+ */
936
+ MCPServersApi.prototype.readMcpServerResourceV1McpServersServerIdResourcesReadPost = function (requestParameters, initOverrides) {
937
+ return __awaiter(this, void 0, void 0, function () {
938
+ var response;
939
+ return __generator(this, function (_a) {
940
+ switch (_a.label) {
941
+ case 0: return [4 /*yield*/, this.readMcpServerResourceV1McpServersServerIdResourcesReadPostRaw(requestParameters, initOverrides)];
942
+ case 1:
943
+ response = _a.sent();
944
+ return [4 /*yield*/, response.value()];
945
+ case 2: return [2 /*return*/, _a.sent()];
946
+ }
947
+ });
948
+ });
949
+ };
950
+ /**
951
+ * Update the configuration of an existing MCP server. Only the server owner can update the configuration.
952
+ * Update an existing MCP server
953
+ */
954
+ MCPServersApi.prototype.updateMcpServerV1McpServersServerIdPutRaw = function (requestParameters, initOverrides) {
955
+ return __awaiter(this, void 0, void 0, function () {
956
+ var queryParameters, headerParameters, _a, _b, token, tokenString, urlPath, response;
957
+ return __generator(this, function (_c) {
958
+ switch (_c.label) {
959
+ case 0:
960
+ if (requestParameters['serverId'] == null) {
961
+ throw new runtime.RequiredError('serverId', 'Required parameter "serverId" was null or undefined when calling updateMcpServerV1McpServersServerIdPut().');
962
+ }
963
+ if (requestParameters['mCPServerBase'] == null) {
964
+ throw new runtime.RequiredError('mCPServerBase', 'Required parameter "mCPServerBase" was null or undefined when calling updateMcpServerV1McpServersServerIdPut().');
965
+ }
966
+ queryParameters = {};
967
+ headerParameters = {};
968
+ headerParameters['Content-Type'] = 'application/json';
969
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
970
+ _a = headerParameters;
971
+ _b = "X-API-Key";
972
+ return [4 /*yield*/, this.configuration.apiKey("X-API-Key")];
973
+ case 1:
974
+ _a[_b] = _c.sent(); // APIKeyHeader authentication
975
+ _c.label = 2;
976
+ case 2:
977
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
978
+ token = this.configuration.accessToken;
979
+ return [4 /*yield*/, token("HTTPBearer", [])];
980
+ case 3:
981
+ tokenString = _c.sent();
982
+ if (tokenString) {
983
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
984
+ }
985
+ _c.label = 4;
986
+ case 4:
987
+ urlPath = "/v1/mcp-servers/{server_id}";
988
+ urlPath = urlPath.replace("{".concat("server_id", "}"), encodeURIComponent(String(requestParameters['serverId'])));
989
+ return [4 /*yield*/, this.request({
990
+ path: urlPath,
991
+ method: 'PUT',
992
+ headers: headerParameters,
993
+ query: queryParameters,
994
+ body: (0, index_1.MCPServerBaseToJSON)(requestParameters['mCPServerBase']),
995
+ }, initOverrides)];
996
+ case 5:
997
+ response = _c.sent();
998
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.MCPServerResponseFromJSON)(jsonValue); })];
999
+ }
1000
+ });
1001
+ });
1002
+ };
1003
+ /**
1004
+ * Update the configuration of an existing MCP server. Only the server owner can update the configuration.
1005
+ * Update an existing MCP server
1006
+ */
1007
+ MCPServersApi.prototype.updateMcpServerV1McpServersServerIdPut = function (requestParameters, initOverrides) {
1008
+ return __awaiter(this, void 0, void 0, function () {
1009
+ var response;
1010
+ return __generator(this, function (_a) {
1011
+ switch (_a.label) {
1012
+ case 0: return [4 /*yield*/, this.updateMcpServerV1McpServersServerIdPutRaw(requestParameters, initOverrides)];
1013
+ case 1:
1014
+ response = _a.sent();
1015
+ return [4 /*yield*/, response.value()];
1016
+ case 2: return [2 /*return*/, _a.sent()];
1017
+ }
1018
+ });
1019
+ });
1020
+ };
1021
+ return MCPServersApi;
1022
+ }(runtime.BaseAPI));
1023
+ exports.MCPServersApi = MCPServersApi;