@rightbrain/brain-api-client 0.0.1-dev.144.719ee49 → 0.0.1-dev.145.f5d6d3e
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.
- package/api.ts +1155 -4
- package/dist/api.d.ts +786 -4
- package/dist/api.js +1028 -76
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -75,12 +75,12 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
77
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
78
|
-
exports.
|
|
79
|
-
exports.
|
|
80
|
-
exports.
|
|
81
|
-
exports.
|
|
82
|
-
exports.
|
|
83
|
-
exports.WebhookTriggersApi = exports.WebhookTriggersApiFactory = exports.WebhookTriggersApiFp = exports.WebhookTriggersApiAxiosParamCreator = exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiAxiosParamCreator = exports.TaskIamOrgOrgIdProjectProjectIdTaskTaskIdIamListMembersTypeEnum = exports.ListProjectTaskRunsStatusEnum = exports.GetTaskUsageReportAggregationEnum = exports.GetTaskTimingReportAggregationEnum = exports.GetTaskRunsStatusEnum = exports.GetProjectTaskUsageReportAggregationEnum = exports.GetProjectTaskTimingReportAggregationEnum = exports.TasksApi = exports.TasksApiFactory = exports.TasksApiFp = exports.TasksApiAxiosParamCreator = exports.TaskMCPToolsApi = exports.TaskMCPToolsApiFactory = exports.TaskMCPToolsApiFp = exports.TaskMCPToolsApiAxiosParamCreator = exports.TaskMCPServersApi = exports.TaskMCPServersApiFactory = exports.TaskMCPServersApiFp = exports.TaskMCPServersApiAxiosParamCreator = exports.TaskForwarderIamOrgOrgIdProjectProjectIdTaskForwarderTaskForwarderIdIamListMembersTypeEnum = exports.TaskForwardersApi = exports.TaskForwardersApiFactory = exports.TaskForwardersApiFp = exports.TaskForwardersApiAxiosParamCreator = exports.TaskEvalsApi = exports.TaskEvalsApiFactory = exports.TaskEvalsApiFp = exports.TaskEvalsApiAxiosParamCreator = exports.TaskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamListMembersTypeEnum = exports.GetTaskAgentUsageReportAggregationEnum = exports.GetTaskAgentTimingReportAggregationEnum = exports.GetProjectTaskAgentUsageReportAggregationEnum = exports.GetProjectTaskAgentTimingReportAggregationEnum = void 0;
|
|
78
|
+
exports.OrganizationIAMMemberRoleUpdateRemoveEnum = exports.OrganizationIAMMemberRoleUpdateAddEnum = exports.OrganizationDomainStatusEnum = exports.OrgMembership = exports.OrgInviteShow = exports.OAuthClientUpdateTokenEndpointAuthMethodEnum = exports.OAuthClientProfile = exports.OAuthClientPKCEChallengeMethod = exports.OAuthClientGrantType = exports.OAuthClientCreateTokenEndpointAuthMethodEnum = exports.OAuthClientAccessTokenType = exports.OAuthClientTokenEndpointAuthMethodEnum = exports.NestedStructureItemTypeEnum = exports.NestedStructureTypeEnum = exports.MultipleRolesNotAllowedErrorResponseReasonEnum = exports.ModelExclusionRuleResponseRuleTypeEnum = exports.ModelExclusionRuleRuleTypeEnum = exports.MissingAuthenticationErrorResponseReasonEnum = exports.McpServerIAMPermissionTestPermissionsEnum = exports.McpServerIAMMemberRoleUpdateRemoveEnum = exports.McpServerIAMMemberRoleUpdateAddEnum = exports.MalformedResourceIdentifierErrorResponseReasonEnum = exports.KratosWebhookDetailedMessageTypeEnum = exports.InviteFilter = exports.InvalidSubjectTypeErrorResponseReasonEnum = exports.InvalidRoleErrorResponseReasonEnum = exports.InvalidMemberErrorResponseReasonEnum = exports.IntegrationCatalogItemReadAuthModesEnum = exports.IntegrationCatalogItemReadTypeEnum = exports.IntegrationAuthStatusReadAuthTypeEnum = exports.IntegrationAuthPrincipalReadAuthStateEnum = exports.IntegrationAuthPrincipalReadPrincipalTypeEnum = exports.InputConversationalGuardrailDefinitionNameEnum = exports.FileInputMode = exports.EvalVerdict = exports.EvalStatus = exports.ErrorResponseTypeEnum = exports.DocumentSource = exports.DocumentIAMPermissionTestPermissionsEnum = exports.DocumentIAMMemberRoleUpdateRemoveEnum = exports.DocumentIAMMemberRoleUpdateAddEnum = exports.DispatchResponseStopReasonEnum = exports.DatasourceSyncRunStatusEnum = exports.CreationTrendReportGranularityEnum = exports.ComposeInitLanguageEnum = exports.CollectionIAMPermissionTestPermissionsEnum = exports.CollectionIAMMemberRoleUpdateRemoveEnum = exports.CollectionIAMMemberRoleUpdateAddEnum = exports.ChatGuardrailTypeEnum = exports.AvailableSkillReadScopeEnum = void 0;
|
|
79
|
+
exports.TaskAgentUsageReportAggregationEnum = exports.TaskAgentUpdateTaskAgentRunVisibilityEnum = exports.TaskAgentUpdateMemoryStrategyEnum = exports.TaskAgentTimingReportAggregationEnum = exports.TaskAgentRunStatus = exports.TaskAgentRunModelUsageReadUsageTypeEnum = exports.TaskAgentRegisteredToolReadProvisionSourceEnum = exports.TaskAgentReadTaskAgentRunVisibilityEnum = exports.TaskAgentMode = exports.TaskAgentMcpServerReadProvisionSourceEnum = exports.TaskAgentIntegrationReadProvisionSourceEnum = exports.TaskAgentIntegrationReadIntegrationTypeEnum = exports.TaskAgentIAMPermissionTestPermissionsEnum = exports.TaskAgentIAMMemberRoleUpdateRemoveEnum = exports.TaskAgentIAMMemberRoleUpdateAddEnum = exports.TaskAgentFileMetadataSourceEnum = exports.TaskAgentCreateTaskAgentRunVisibilityEnum = exports.TaskAgentCreateMemoryStrategyEnum = exports.TaskTaskRunVisibilityEnum = exports.TagOutputFormatInputItemTypeEnum = exports.TagOutputFormatInputTypeEnum = exports.TagEntityTypeEnum = exports.StripePlan = exports.SlackInstallationStatus = exports.SkillIAMPermissionTestPermissionsEnum = exports.SkillIAMMemberRoleUpdateRemoveEnum = exports.SkillIAMMemberRoleUpdateAddEnum = exports.ProjectTaskUsageReportAggregationEnum = exports.ProjectTaskTimingReportAggregationEnum = exports.ProjectTaskRecentRunSummaryStatusEnum = exports.ProjectTaskAgentUsageReportAggregationEnum = exports.ProjectTaskAgentTimingReportAggregationEnum = exports.ProjectIntegrationReadAuthTypeEnum = exports.ProjectIntegrationReadTypeEnum = exports.ProjectIntegrationIAMPermissionTestPermissionsEnum = exports.ProjectIntegrationIAMMemberRoleUpdateRemoveEnum = exports.ProjectIntegrationIAMMemberRoleUpdateAddEnum = exports.ProjectIntegrationCreateTypeEnum = exports.ProjectIAMPermissionTestPermissionsEnum = exports.ProjectIAMMemberRoleUpdateRemoveEnum = exports.ProjectIAMMemberRoleUpdateAddEnum = exports.PlanStatus = exports.PlanInterval = exports.PhaseTimingEntryPhaseEnum = exports.PermissionCheckFailedErrorResponseReasonEnum = exports.OutputModality = exports.OutputFilter = exports.OrganizationMemberAlreadyExistsErrorResponseReasonEnum = exports.OrganizationInviteAlreadyExistsErrorResponseReasonEnum = exports.OrganizationIAMPermissionTestPermissionsEnum = void 0;
|
|
80
|
+
exports.CollectionsApiFp = exports.CollectionsApiAxiosParamCreator = exports.CollectionApi = exports.CollectionApiFactory = exports.CollectionApiFp = exports.CollectionApiAxiosParamCreator = exports.AuditEventsApi = exports.AuditEventsApiFactory = exports.AuditEventsApiFp = exports.AuditEventsApiAxiosParamCreator = exports.AgentPackApi = exports.AgentPackApiFactory = exports.AgentPackApiFp = exports.AgentPackApiAxiosParamCreator = exports.APIKeysApi = exports.APIKeysApiFactory = exports.APIKeysApiFp = exports.APIKeysApiAxiosParamCreator = exports.WebhookTriggerCreateAuthMethodEnum = exports.WebhookAuthMethod = exports.VisionFilter = exports.UserProfileUpdateJobRoleEnum = exports.UserOAuthClientCreateTokenEndpointAuthMethodEnum = exports.UserOAuthClientCreateTypeEnum = exports.UserJobRoleEnum = exports.UsageReportStatus = exports.TriggerTargetType = exports.TriggerStatus = exports.TaskUpdateTaskRunVisibilityEnum = exports.TaskToolResultType = exports.TaskToolChoiceEnum = exports.TaskRunUsageReportAggregationEnum = exports.TaskRunTimingReportAggregationEnum = exports.TaskRAGConfigRewriteModeEnum = exports.TaskMcpTransport = exports.TaskMcpServerIAMPermissionTestPermissionsEnum = exports.TaskMcpServerIAMMemberRoleUpdateRemoveEnum = exports.TaskMcpServerIAMMemberRoleUpdateAddEnum = exports.TaskMcpServerCatalogReadAuthModeEnum = exports.TaskMcpServerAuthStateReasonEnum = exports.TaskMcpServerAuthStateEnum = exports.TaskMcpAuthType = exports.TaskMcpAuthStrategy = exports.TaskIAMPermissionTestPermissionsEnum = exports.TaskIAMMemberRoleUpdateRemoveEnum = exports.TaskIAMMemberRoleUpdateAddEnum = exports.TaskForwarderIAMPermissionTestPermissionsEnum = exports.TaskForwarderIAMMemberRoleUpdateRemoveEnum = exports.TaskForwarderIAMMemberRoleUpdateAddEnum = exports.TaskCreateTaskRunVisibilityEnum = void 0;
|
|
81
|
+
exports.MCPServersApiAxiosParamCreator = exports.MCPServerApi = exports.MCPServerApiFactory = exports.MCPServerApiFp = exports.MCPServerApiAxiosParamCreator = exports.MCPRunsApi = exports.MCPRunsApiFactory = exports.MCPRunsApiFp = exports.MCPRunsApiAxiosParamCreator = exports.MCPRunApi = exports.MCPRunApiFactory = exports.MCPRunApiFp = exports.MCPRunApiAxiosParamCreator = exports.ListingsApi = exports.ListingsApiFactory = exports.ListingsApiFp = exports.ListingsApiAxiosParamCreator = exports.RemoveModelExclusionFromProjectRuleTypeEnum = exports.RemoveModelExclusionFromOrgRuleTypeEnum = exports.GetInternalOrgSubscriptionReportStatusEnum = exports.GetInternalOrgSignupsReportGranularityEnum = exports.InternalApi = exports.InternalApiFactory = exports.InternalApiFp = exports.InternalApiAxiosParamCreator = exports.ProjectIntegrationIamOrgOrgIdProjectProjectIdIntegrationIntegrationIdIamListMembersTypeEnum = exports.IntegrationsApi = exports.IntegrationsApiFactory = exports.IntegrationsApiFp = exports.IntegrationsApiAxiosParamCreator = exports.InputProcessorsApi = exports.InputProcessorsApiFactory = exports.InputProcessorsApiFp = exports.InputProcessorsApiAxiosParamCreator = exports.DocumentIamOrgOrgIdProjectProjectIdDocumentDocumentIdIamListMembersTypeEnum = exports.DocumentsApi = exports.DocumentsApiFactory = exports.DocumentsApiFp = exports.DocumentsApiAxiosParamCreator = exports.DocumentApi = exports.DocumentApiFactory = exports.DocumentApiFp = exports.DocumentApiAxiosParamCreator = exports.ComposeApi = exports.ComposeApiFactory = exports.ComposeApiFp = exports.ComposeApiAxiosParamCreator = exports.CollectionIamOrgOrgIdProjectProjectIdCollectionCollectionIdIamListMembersTypeEnum = exports.CollectionsApi = exports.CollectionsApiFactory = void 0;
|
|
82
|
+
exports.CreateTagEntityTypeEnum = exports.AddTagToEntitiesEntityTypeEnum = exports.TagsApi = exports.TagsApiFactory = exports.TagsApiFp = exports.TagsApiAxiosParamCreator = exports.SystemApi = exports.SystemApiFactory = exports.SystemApiFp = exports.SystemApiAxiosParamCreator = exports.SlackApi = exports.SlackApiFactory = exports.SlackApiFp = exports.SlackApiAxiosParamCreator = exports.SkillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembersTypeEnum = exports.SkillsApi = exports.SkillsApiFactory = exports.SkillsApiFp = exports.SkillsApiAxiosParamCreator = exports.ScrapeApi = exports.ScrapeApiFactory = exports.ScrapeApiFp = exports.ScrapeApiAxiosParamCreator = exports.ScheduleTriggersApi = exports.ScheduleTriggersApiFactory = exports.ScheduleTriggersApiFp = exports.ScheduleTriggersApiAxiosParamCreator = exports.ReportingGroupsApi = exports.ReportingGroupsApiFactory = exports.ReportingGroupsApiFp = exports.ReportingGroupsApiAxiosParamCreator = exports.ProjectIamOrgOrgIdProjectProjectIdIamListMembersTypeEnum = exports.ProjectsApi = exports.ProjectsApiFactory = exports.ProjectsApiFp = exports.ProjectsApiAxiosParamCreator = exports.OrganizationIamListMembersTypeEnum = exports.OrganizationsApi = exports.OrganizationsApiFactory = exports.OrganizationsApiFp = exports.OrganizationsApiAxiosParamCreator = exports.ProjectIamOrgOrgIdProjectProjectIdOauthClientOauthClientIdIamListMembersTypeEnum = exports.OAuthClientsApi = exports.OAuthClientsApiFactory = exports.OAuthClientsApiFp = exports.OAuthClientsApiAxiosParamCreator = exports.McpServerIamOrgOrgIdProjectProjectIdMcpServerMcpServerIdIamListMembersTypeEnum = exports.MCPServersApi = exports.MCPServersApiFactory = exports.MCPServersApiFp = void 0;
|
|
83
|
+
exports.WebhookTriggersApi = exports.WebhookTriggersApiFactory = exports.WebhookTriggersApiFp = exports.WebhookTriggersApiAxiosParamCreator = exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiAxiosParamCreator = exports.TaskIamOrgOrgIdProjectProjectIdTaskTaskIdIamListMembersTypeEnum = exports.ListProjectTaskRunsStatusEnum = exports.GetTaskUsageReportAggregationEnum = exports.GetTaskTimingReportAggregationEnum = exports.GetTaskRunsStatusEnum = exports.GetProjectTaskUsageReportAggregationEnum = exports.GetProjectTaskTimingReportAggregationEnum = exports.TasksApi = exports.TasksApiFactory = exports.TasksApiFp = exports.TasksApiAxiosParamCreator = exports.TaskMCPToolsApi = exports.TaskMCPToolsApiFactory = exports.TaskMCPToolsApiFp = exports.TaskMCPToolsApiAxiosParamCreator = exports.TaskMcpServerIamOrgOrgIdProjectProjectIdTaskMcpServerTaskMcpServerIdIamListMembersTypeEnum = exports.TaskMCPServersApi = exports.TaskMCPServersApiFactory = exports.TaskMCPServersApiFp = exports.TaskMCPServersApiAxiosParamCreator = exports.TaskForwarderIamOrgOrgIdProjectProjectIdTaskForwarderTaskForwarderIdIamListMembersTypeEnum = exports.TaskForwardersApi = exports.TaskForwardersApiFactory = exports.TaskForwardersApiFp = exports.TaskForwardersApiAxiosParamCreator = exports.TaskEvalsApi = exports.TaskEvalsApiFactory = exports.TaskEvalsApiFp = exports.TaskEvalsApiAxiosParamCreator = exports.TaskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamListMembersTypeEnum = exports.GetTaskAgentUsageReportAggregationEnum = exports.GetTaskAgentTimingReportAggregationEnum = exports.GetProjectTaskAgentUsageReportAggregationEnum = exports.GetProjectTaskAgentTimingReportAggregationEnum = exports.TaskAgentsApi = exports.TaskAgentsApiFactory = exports.TaskAgentsApiFp = exports.TaskAgentsApiAxiosParamCreator = exports.UpdateTagEntityTypeEnum = exports.RemoveTagFromEntitiesEntityTypeEnum = exports.ListTagsEntityTypeEnum = exports.GetTagEntityTypeEnum = void 0;
|
|
84
84
|
var axios_1 = require("axios");
|
|
85
85
|
// Some imports not used depending on template conditions
|
|
86
86
|
// @ts-ignore
|
|
@@ -283,6 +283,27 @@ exports.KratosWebhookDetailedMessageTypeEnum = {
|
|
|
283
283
|
exports.MalformedResourceIdentifierErrorResponseReasonEnum = {
|
|
284
284
|
MalformedResourceIdentifier: 'MALFORMED_RESOURCE_IDENTIFIER'
|
|
285
285
|
};
|
|
286
|
+
exports.McpServerIAMMemberRoleUpdateAddEnum = {
|
|
287
|
+
Editor: 'editor',
|
|
288
|
+
Owner: 'owner',
|
|
289
|
+
Viewer: 'viewer'
|
|
290
|
+
};
|
|
291
|
+
exports.McpServerIAMMemberRoleUpdateRemoveEnum = {
|
|
292
|
+
Editor: 'editor',
|
|
293
|
+
Owner: 'owner',
|
|
294
|
+
Viewer: 'viewer'
|
|
295
|
+
};
|
|
296
|
+
exports.McpServerIAMPermissionTestPermissionsEnum = {
|
|
297
|
+
AddEditor: 'add_editor',
|
|
298
|
+
AddMember: 'add_member',
|
|
299
|
+
AddOwner: 'add_owner',
|
|
300
|
+
Edit: 'edit',
|
|
301
|
+
RemoveEditor: 'remove_editor',
|
|
302
|
+
RemoveMember: 'remove_member',
|
|
303
|
+
RemoveOwner: 'remove_owner',
|
|
304
|
+
View: 'view',
|
|
305
|
+
ViewMembers: 'view_members'
|
|
306
|
+
};
|
|
286
307
|
exports.MissingAuthenticationErrorResponseReasonEnum = {
|
|
287
308
|
MissingAuthentication: 'MISSING_AUTHENTICATION'
|
|
288
309
|
};
|
|
@@ -746,6 +767,10 @@ exports.TaskAgentRegisteredToolReadProvisionSourceEnum = {
|
|
|
746
767
|
Manual: 'manual',
|
|
747
768
|
SkillCapability: 'skill_capability'
|
|
748
769
|
};
|
|
770
|
+
exports.TaskAgentRunModelUsageReadUsageTypeEnum = {
|
|
771
|
+
Primary: 'primary',
|
|
772
|
+
Fallback: 'fallback'
|
|
773
|
+
};
|
|
749
774
|
/**
|
|
750
775
|
* Status of a TaskAgent run.
|
|
751
776
|
* @export
|
|
@@ -858,6 +883,27 @@ exports.TaskMcpServerCatalogReadAuthModeEnum = {
|
|
|
858
883
|
ApiKey: 'api_key',
|
|
859
884
|
OauthOrApiKey: 'oauth_or_api_key'
|
|
860
885
|
};
|
|
886
|
+
exports.TaskMcpServerIAMMemberRoleUpdateAddEnum = {
|
|
887
|
+
Editor: 'editor',
|
|
888
|
+
Owner: 'owner',
|
|
889
|
+
Viewer: 'viewer'
|
|
890
|
+
};
|
|
891
|
+
exports.TaskMcpServerIAMMemberRoleUpdateRemoveEnum = {
|
|
892
|
+
Editor: 'editor',
|
|
893
|
+
Owner: 'owner',
|
|
894
|
+
Viewer: 'viewer'
|
|
895
|
+
};
|
|
896
|
+
exports.TaskMcpServerIAMPermissionTestPermissionsEnum = {
|
|
897
|
+
AddEditor: 'add_editor',
|
|
898
|
+
AddMember: 'add_member',
|
|
899
|
+
AddOwner: 'add_owner',
|
|
900
|
+
Edit: 'edit',
|
|
901
|
+
RemoveEditor: 'remove_editor',
|
|
902
|
+
RemoveMember: 'remove_member',
|
|
903
|
+
RemoveOwner: 'remove_owner',
|
|
904
|
+
View: 'view',
|
|
905
|
+
ViewMembers: 'view_members'
|
|
906
|
+
};
|
|
861
907
|
/**
|
|
862
908
|
*
|
|
863
909
|
* @export
|
|
@@ -15026,6 +15072,232 @@ var MCPServersApiAxiosParamCreator = function (configuration) {
|
|
|
15026
15072
|
});
|
|
15027
15073
|
});
|
|
15028
15074
|
},
|
|
15075
|
+
/**
|
|
15076
|
+
* Retrieve a specific member that has been granted direct access to the mcp_server.
|
|
15077
|
+
* @summary IAM - Lookup Mcp Server Member
|
|
15078
|
+
* @param {string} mcpServerId
|
|
15079
|
+
* @param {string} member
|
|
15080
|
+
* @param {string} orgId The org id
|
|
15081
|
+
* @param {string} projectId The project id
|
|
15082
|
+
* @param {*} [options] Override http request option.
|
|
15083
|
+
* @throws {RequiredError}
|
|
15084
|
+
*/
|
|
15085
|
+
mcpServerIamOrgOrgIdProjectProjectIdMcpServerMcpServerIdIamGetMember: function (mcpServerId, member, orgId, projectId, options) {
|
|
15086
|
+
if (options === void 0) { options = {}; }
|
|
15087
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
15088
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
15089
|
+
return __generator(this, function (_a) {
|
|
15090
|
+
switch (_a.label) {
|
|
15091
|
+
case 0:
|
|
15092
|
+
// verify required parameter 'mcpServerId' is not null or undefined
|
|
15093
|
+
(0, common_1.assertParamExists)('mcpServerIamOrgOrgIdProjectProjectIdMcpServerMcpServerIdIamGetMember', 'mcpServerId', mcpServerId);
|
|
15094
|
+
// verify required parameter 'member' is not null or undefined
|
|
15095
|
+
(0, common_1.assertParamExists)('mcpServerIamOrgOrgIdProjectProjectIdMcpServerMcpServerIdIamGetMember', 'member', member);
|
|
15096
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
15097
|
+
(0, common_1.assertParamExists)('mcpServerIamOrgOrgIdProjectProjectIdMcpServerMcpServerIdIamGetMember', 'orgId', orgId);
|
|
15098
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
15099
|
+
(0, common_1.assertParamExists)('mcpServerIamOrgOrgIdProjectProjectIdMcpServerMcpServerIdIamGetMember', 'projectId', projectId);
|
|
15100
|
+
localVarPath = "/org/{org_id}/project/{project_id}/mcp_server/{mcp_server_id}/iam/members/{member}"
|
|
15101
|
+
.replace("{".concat("mcp_server_id", "}"), encodeURIComponent(String(mcpServerId)))
|
|
15102
|
+
.replace("{".concat("member", "}"), encodeURIComponent(String(member)))
|
|
15103
|
+
.replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
|
|
15104
|
+
.replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)));
|
|
15105
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15106
|
+
if (configuration) {
|
|
15107
|
+
baseOptions = configuration.baseOptions;
|
|
15108
|
+
}
|
|
15109
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
15110
|
+
localVarHeaderParameter = {};
|
|
15111
|
+
localVarQueryParameter = {};
|
|
15112
|
+
// authentication HTTPBearer required
|
|
15113
|
+
// http bearer authentication required
|
|
15114
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
15115
|
+
case 1:
|
|
15116
|
+
// authentication HTTPBearer required
|
|
15117
|
+
// http bearer authentication required
|
|
15118
|
+
_a.sent();
|
|
15119
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15120
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15121
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
15122
|
+
return [2 /*return*/, {
|
|
15123
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
15124
|
+
options: localVarRequestOptions,
|
|
15125
|
+
}];
|
|
15126
|
+
}
|
|
15127
|
+
});
|
|
15128
|
+
});
|
|
15129
|
+
},
|
|
15130
|
+
/**
|
|
15131
|
+
* Lists all members that have been granted direct access to the mcp_server.
|
|
15132
|
+
* @summary IAM - List Mcp Server Members
|
|
15133
|
+
* @param {string} mcpServerId
|
|
15134
|
+
* @param {string} orgId The org id
|
|
15135
|
+
* @param {string} projectId The project id
|
|
15136
|
+
* @param {McpServerIamOrgOrgIdProjectProjectIdMcpServerMcpServerIdIamListMembersTypeEnum} [type]
|
|
15137
|
+
* @param {*} [options] Override http request option.
|
|
15138
|
+
* @throws {RequiredError}
|
|
15139
|
+
*/
|
|
15140
|
+
mcpServerIamOrgOrgIdProjectProjectIdMcpServerMcpServerIdIamListMembers: function (mcpServerId, orgId, projectId, type, options) {
|
|
15141
|
+
if (options === void 0) { options = {}; }
|
|
15142
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
15143
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
15144
|
+
return __generator(this, function (_a) {
|
|
15145
|
+
switch (_a.label) {
|
|
15146
|
+
case 0:
|
|
15147
|
+
// verify required parameter 'mcpServerId' is not null or undefined
|
|
15148
|
+
(0, common_1.assertParamExists)('mcpServerIamOrgOrgIdProjectProjectIdMcpServerMcpServerIdIamListMembers', 'mcpServerId', mcpServerId);
|
|
15149
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
15150
|
+
(0, common_1.assertParamExists)('mcpServerIamOrgOrgIdProjectProjectIdMcpServerMcpServerIdIamListMembers', 'orgId', orgId);
|
|
15151
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
15152
|
+
(0, common_1.assertParamExists)('mcpServerIamOrgOrgIdProjectProjectIdMcpServerMcpServerIdIamListMembers', 'projectId', projectId);
|
|
15153
|
+
localVarPath = "/org/{org_id}/project/{project_id}/mcp_server/{mcp_server_id}/iam/members"
|
|
15154
|
+
.replace("{".concat("mcp_server_id", "}"), encodeURIComponent(String(mcpServerId)))
|
|
15155
|
+
.replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
|
|
15156
|
+
.replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)));
|
|
15157
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15158
|
+
if (configuration) {
|
|
15159
|
+
baseOptions = configuration.baseOptions;
|
|
15160
|
+
}
|
|
15161
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
15162
|
+
localVarHeaderParameter = {};
|
|
15163
|
+
localVarQueryParameter = {};
|
|
15164
|
+
// authentication HTTPBearer required
|
|
15165
|
+
// http bearer authentication required
|
|
15166
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
15167
|
+
case 1:
|
|
15168
|
+
// authentication HTTPBearer required
|
|
15169
|
+
// http bearer authentication required
|
|
15170
|
+
_a.sent();
|
|
15171
|
+
if (type !== undefined) {
|
|
15172
|
+
localVarQueryParameter['type'] = type;
|
|
15173
|
+
}
|
|
15174
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15175
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15176
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
15177
|
+
return [2 /*return*/, {
|
|
15178
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
15179
|
+
options: localVarRequestOptions,
|
|
15180
|
+
}];
|
|
15181
|
+
}
|
|
15182
|
+
});
|
|
15183
|
+
});
|
|
15184
|
+
},
|
|
15185
|
+
/**
|
|
15186
|
+
* Test the permissions that the caller (or another subject) holds on the mcp_server.
|
|
15187
|
+
* @summary IAM - Test Mcp Server Permissions
|
|
15188
|
+
* @param {string} mcpServerId
|
|
15189
|
+
* @param {string} orgId The org id
|
|
15190
|
+
* @param {string} projectId The project id
|
|
15191
|
+
* @param {McpServerIAMPermissionTest} mcpServerIAMPermissionTest
|
|
15192
|
+
* @param {*} [options] Override http request option.
|
|
15193
|
+
* @throws {RequiredError}
|
|
15194
|
+
*/
|
|
15195
|
+
mcpServerIamOrgOrgIdProjectProjectIdMcpServerMcpServerIdIamTestPermissions: function (mcpServerId, orgId, projectId, mcpServerIAMPermissionTest, options) {
|
|
15196
|
+
if (options === void 0) { options = {}; }
|
|
15197
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
15198
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
15199
|
+
return __generator(this, function (_a) {
|
|
15200
|
+
switch (_a.label) {
|
|
15201
|
+
case 0:
|
|
15202
|
+
// verify required parameter 'mcpServerId' is not null or undefined
|
|
15203
|
+
(0, common_1.assertParamExists)('mcpServerIamOrgOrgIdProjectProjectIdMcpServerMcpServerIdIamTestPermissions', 'mcpServerId', mcpServerId);
|
|
15204
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
15205
|
+
(0, common_1.assertParamExists)('mcpServerIamOrgOrgIdProjectProjectIdMcpServerMcpServerIdIamTestPermissions', 'orgId', orgId);
|
|
15206
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
15207
|
+
(0, common_1.assertParamExists)('mcpServerIamOrgOrgIdProjectProjectIdMcpServerMcpServerIdIamTestPermissions', 'projectId', projectId);
|
|
15208
|
+
// verify required parameter 'mcpServerIAMPermissionTest' is not null or undefined
|
|
15209
|
+
(0, common_1.assertParamExists)('mcpServerIamOrgOrgIdProjectProjectIdMcpServerMcpServerIdIamTestPermissions', 'mcpServerIAMPermissionTest', mcpServerIAMPermissionTest);
|
|
15210
|
+
localVarPath = "/org/{org_id}/project/{project_id}/mcp_server/{mcp_server_id}/iam/test"
|
|
15211
|
+
.replace("{".concat("mcp_server_id", "}"), encodeURIComponent(String(mcpServerId)))
|
|
15212
|
+
.replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
|
|
15213
|
+
.replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)));
|
|
15214
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15215
|
+
if (configuration) {
|
|
15216
|
+
baseOptions = configuration.baseOptions;
|
|
15217
|
+
}
|
|
15218
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
15219
|
+
localVarHeaderParameter = {};
|
|
15220
|
+
localVarQueryParameter = {};
|
|
15221
|
+
// authentication HTTPBearer required
|
|
15222
|
+
// http bearer authentication required
|
|
15223
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
15224
|
+
case 1:
|
|
15225
|
+
// authentication HTTPBearer required
|
|
15226
|
+
// http bearer authentication required
|
|
15227
|
+
_a.sent();
|
|
15228
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15229
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15230
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15231
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
15232
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(mcpServerIAMPermissionTest, localVarRequestOptions, configuration);
|
|
15233
|
+
return [2 /*return*/, {
|
|
15234
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
15235
|
+
options: localVarRequestOptions,
|
|
15236
|
+
}];
|
|
15237
|
+
}
|
|
15238
|
+
});
|
|
15239
|
+
});
|
|
15240
|
+
},
|
|
15241
|
+
/**
|
|
15242
|
+
* Update the roles that a member holds on the mcp_server.
|
|
15243
|
+
* @summary IAM - Update Mcp Server Member
|
|
15244
|
+
* @param {string} mcpServerId
|
|
15245
|
+
* @param {string} member
|
|
15246
|
+
* @param {string} orgId The org id
|
|
15247
|
+
* @param {string} projectId The project id
|
|
15248
|
+
* @param {McpServerIAMMemberRoleUpdate} mcpServerIAMMemberRoleUpdate
|
|
15249
|
+
* @param {*} [options] Override http request option.
|
|
15250
|
+
* @throws {RequiredError}
|
|
15251
|
+
*/
|
|
15252
|
+
mcpServerIamOrgOrgIdProjectProjectIdMcpServerMcpServerIdIamUpdateMemberRoles: function (mcpServerId, member, orgId, projectId, mcpServerIAMMemberRoleUpdate, options) {
|
|
15253
|
+
if (options === void 0) { options = {}; }
|
|
15254
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
15255
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
15256
|
+
return __generator(this, function (_a) {
|
|
15257
|
+
switch (_a.label) {
|
|
15258
|
+
case 0:
|
|
15259
|
+
// verify required parameter 'mcpServerId' is not null or undefined
|
|
15260
|
+
(0, common_1.assertParamExists)('mcpServerIamOrgOrgIdProjectProjectIdMcpServerMcpServerIdIamUpdateMemberRoles', 'mcpServerId', mcpServerId);
|
|
15261
|
+
// verify required parameter 'member' is not null or undefined
|
|
15262
|
+
(0, common_1.assertParamExists)('mcpServerIamOrgOrgIdProjectProjectIdMcpServerMcpServerIdIamUpdateMemberRoles', 'member', member);
|
|
15263
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
15264
|
+
(0, common_1.assertParamExists)('mcpServerIamOrgOrgIdProjectProjectIdMcpServerMcpServerIdIamUpdateMemberRoles', 'orgId', orgId);
|
|
15265
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
15266
|
+
(0, common_1.assertParamExists)('mcpServerIamOrgOrgIdProjectProjectIdMcpServerMcpServerIdIamUpdateMemberRoles', 'projectId', projectId);
|
|
15267
|
+
// verify required parameter 'mcpServerIAMMemberRoleUpdate' is not null or undefined
|
|
15268
|
+
(0, common_1.assertParamExists)('mcpServerIamOrgOrgIdProjectProjectIdMcpServerMcpServerIdIamUpdateMemberRoles', 'mcpServerIAMMemberRoleUpdate', mcpServerIAMMemberRoleUpdate);
|
|
15269
|
+
localVarPath = "/org/{org_id}/project/{project_id}/mcp_server/{mcp_server_id}/iam/members/{member}"
|
|
15270
|
+
.replace("{".concat("mcp_server_id", "}"), encodeURIComponent(String(mcpServerId)))
|
|
15271
|
+
.replace("{".concat("member", "}"), encodeURIComponent(String(member)))
|
|
15272
|
+
.replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
|
|
15273
|
+
.replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)));
|
|
15274
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15275
|
+
if (configuration) {
|
|
15276
|
+
baseOptions = configuration.baseOptions;
|
|
15277
|
+
}
|
|
15278
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
15279
|
+
localVarHeaderParameter = {};
|
|
15280
|
+
localVarQueryParameter = {};
|
|
15281
|
+
// authentication HTTPBearer required
|
|
15282
|
+
// http bearer authentication required
|
|
15283
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
15284
|
+
case 1:
|
|
15285
|
+
// authentication HTTPBearer required
|
|
15286
|
+
// http bearer authentication required
|
|
15287
|
+
_a.sent();
|
|
15288
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15289
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15290
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15291
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
15292
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(mcpServerIAMMemberRoleUpdate, localVarRequestOptions, configuration);
|
|
15293
|
+
return [2 /*return*/, {
|
|
15294
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
15295
|
+
options: localVarRequestOptions,
|
|
15296
|
+
}];
|
|
15297
|
+
}
|
|
15298
|
+
});
|
|
15299
|
+
});
|
|
15300
|
+
},
|
|
15029
15301
|
/**
|
|
15030
15302
|
* Update MCP server configuration. Modifiable fields: - Name and description - Environment variables - Connection parameters - Tool availability Note: Updating server configuration may trigger re-synchronization.
|
|
15031
15303
|
* @summary Update MCP Server
|
|
@@ -15219,53 +15491,158 @@ var MCPServersApiFp = function (configuration) {
|
|
|
15219
15491
|
});
|
|
15220
15492
|
},
|
|
15221
15493
|
/**
|
|
15222
|
-
*
|
|
15223
|
-
* @summary
|
|
15494
|
+
* Retrieve a specific member that has been granted direct access to the mcp_server.
|
|
15495
|
+
* @summary IAM - Lookup Mcp Server Member
|
|
15224
15496
|
* @param {string} mcpServerId
|
|
15225
|
-
* @param {string}
|
|
15226
|
-
* @param {string}
|
|
15227
|
-
* @param {
|
|
15497
|
+
* @param {string} member
|
|
15498
|
+
* @param {string} orgId The org id
|
|
15499
|
+
* @param {string} projectId The project id
|
|
15228
15500
|
* @param {*} [options] Override http request option.
|
|
15229
15501
|
* @throws {RequiredError}
|
|
15230
15502
|
*/
|
|
15231
|
-
|
|
15503
|
+
mcpServerIamOrgOrgIdProjectProjectIdMcpServerMcpServerIdIamGetMember: function (mcpServerId, member, orgId, projectId, options) {
|
|
15232
15504
|
var _a, _b, _c;
|
|
15233
15505
|
return __awaiter(this, void 0, void 0, function () {
|
|
15234
15506
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
15235
15507
|
return __generator(this, function (_d) {
|
|
15236
15508
|
switch (_d.label) {
|
|
15237
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
15509
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.mcpServerIamOrgOrgIdProjectProjectIdMcpServerMcpServerIdIamGetMember(mcpServerId, member, orgId, projectId, options)];
|
|
15238
15510
|
case 1:
|
|
15239
15511
|
localVarAxiosArgs = _d.sent();
|
|
15240
15512
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15241
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MCPServersApi.
|
|
15513
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MCPServersApi.mcpServerIamOrgOrgIdProjectProjectIdMcpServerMcpServerIdIamGetMember']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15242
15514
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
15243
15515
|
}
|
|
15244
15516
|
});
|
|
15245
15517
|
});
|
|
15246
15518
|
},
|
|
15247
|
-
};
|
|
15248
|
-
};
|
|
15249
|
-
exports.MCPServersApiFp = MCPServersApiFp;
|
|
15250
|
-
/**
|
|
15251
|
-
* MCPServersApi - factory interface
|
|
15252
|
-
* @export
|
|
15253
|
-
*/
|
|
15254
|
-
var MCPServersApiFactory = function (configuration, basePath, axios) {
|
|
15255
|
-
var localVarFp = (0, exports.MCPServersApiFp)(configuration);
|
|
15256
|
-
return {
|
|
15257
15519
|
/**
|
|
15258
|
-
*
|
|
15259
|
-
* @summary
|
|
15260
|
-
* @param {string}
|
|
15261
|
-
* @param {string}
|
|
15262
|
-
* @param {
|
|
15520
|
+
* Lists all members that have been granted direct access to the mcp_server.
|
|
15521
|
+
* @summary IAM - List Mcp Server Members
|
|
15522
|
+
* @param {string} mcpServerId
|
|
15523
|
+
* @param {string} orgId The org id
|
|
15524
|
+
* @param {string} projectId The project id
|
|
15525
|
+
* @param {McpServerIamOrgOrgIdProjectProjectIdMcpServerMcpServerIdIamListMembersTypeEnum} [type]
|
|
15263
15526
|
* @param {*} [options] Override http request option.
|
|
15264
15527
|
* @throws {RequiredError}
|
|
15265
15528
|
*/
|
|
15266
|
-
|
|
15267
|
-
|
|
15268
|
-
|
|
15529
|
+
mcpServerIamOrgOrgIdProjectProjectIdMcpServerMcpServerIdIamListMembers: function (mcpServerId, orgId, projectId, type, options) {
|
|
15530
|
+
var _a, _b, _c;
|
|
15531
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
15532
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
15533
|
+
return __generator(this, function (_d) {
|
|
15534
|
+
switch (_d.label) {
|
|
15535
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.mcpServerIamOrgOrgIdProjectProjectIdMcpServerMcpServerIdIamListMembers(mcpServerId, orgId, projectId, type, options)];
|
|
15536
|
+
case 1:
|
|
15537
|
+
localVarAxiosArgs = _d.sent();
|
|
15538
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15539
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MCPServersApi.mcpServerIamOrgOrgIdProjectProjectIdMcpServerMcpServerIdIamListMembers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15540
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
15541
|
+
}
|
|
15542
|
+
});
|
|
15543
|
+
});
|
|
15544
|
+
},
|
|
15545
|
+
/**
|
|
15546
|
+
* Test the permissions that the caller (or another subject) holds on the mcp_server.
|
|
15547
|
+
* @summary IAM - Test Mcp Server Permissions
|
|
15548
|
+
* @param {string} mcpServerId
|
|
15549
|
+
* @param {string} orgId The org id
|
|
15550
|
+
* @param {string} projectId The project id
|
|
15551
|
+
* @param {McpServerIAMPermissionTest} mcpServerIAMPermissionTest
|
|
15552
|
+
* @param {*} [options] Override http request option.
|
|
15553
|
+
* @throws {RequiredError}
|
|
15554
|
+
*/
|
|
15555
|
+
mcpServerIamOrgOrgIdProjectProjectIdMcpServerMcpServerIdIamTestPermissions: function (mcpServerId, orgId, projectId, mcpServerIAMPermissionTest, options) {
|
|
15556
|
+
var _a, _b, _c;
|
|
15557
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
15558
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
15559
|
+
return __generator(this, function (_d) {
|
|
15560
|
+
switch (_d.label) {
|
|
15561
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.mcpServerIamOrgOrgIdProjectProjectIdMcpServerMcpServerIdIamTestPermissions(mcpServerId, orgId, projectId, mcpServerIAMPermissionTest, options)];
|
|
15562
|
+
case 1:
|
|
15563
|
+
localVarAxiosArgs = _d.sent();
|
|
15564
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15565
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MCPServersApi.mcpServerIamOrgOrgIdProjectProjectIdMcpServerMcpServerIdIamTestPermissions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15566
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
15567
|
+
}
|
|
15568
|
+
});
|
|
15569
|
+
});
|
|
15570
|
+
},
|
|
15571
|
+
/**
|
|
15572
|
+
* Update the roles that a member holds on the mcp_server.
|
|
15573
|
+
* @summary IAM - Update Mcp Server Member
|
|
15574
|
+
* @param {string} mcpServerId
|
|
15575
|
+
* @param {string} member
|
|
15576
|
+
* @param {string} orgId The org id
|
|
15577
|
+
* @param {string} projectId The project id
|
|
15578
|
+
* @param {McpServerIAMMemberRoleUpdate} mcpServerIAMMemberRoleUpdate
|
|
15579
|
+
* @param {*} [options] Override http request option.
|
|
15580
|
+
* @throws {RequiredError}
|
|
15581
|
+
*/
|
|
15582
|
+
mcpServerIamOrgOrgIdProjectProjectIdMcpServerMcpServerIdIamUpdateMemberRoles: function (mcpServerId, member, orgId, projectId, mcpServerIAMMemberRoleUpdate, options) {
|
|
15583
|
+
var _a, _b, _c;
|
|
15584
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
15585
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
15586
|
+
return __generator(this, function (_d) {
|
|
15587
|
+
switch (_d.label) {
|
|
15588
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.mcpServerIamOrgOrgIdProjectProjectIdMcpServerMcpServerIdIamUpdateMemberRoles(mcpServerId, member, orgId, projectId, mcpServerIAMMemberRoleUpdate, options)];
|
|
15589
|
+
case 1:
|
|
15590
|
+
localVarAxiosArgs = _d.sent();
|
|
15591
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15592
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MCPServersApi.mcpServerIamOrgOrgIdProjectProjectIdMcpServerMcpServerIdIamUpdateMemberRoles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15593
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
15594
|
+
}
|
|
15595
|
+
});
|
|
15596
|
+
});
|
|
15597
|
+
},
|
|
15598
|
+
/**
|
|
15599
|
+
* Update MCP server configuration. Modifiable fields: - Name and description - Environment variables - Connection parameters - Tool availability Note: Updating server configuration may trigger re-synchronization.
|
|
15600
|
+
* @summary Update MCP Server
|
|
15601
|
+
* @param {string} mcpServerId
|
|
15602
|
+
* @param {string} orgId The unique identifier of the organization.
|
|
15603
|
+
* @param {string} projectId The unique identifier of the project.
|
|
15604
|
+
* @param {McpServerUpdate} mcpServerUpdate
|
|
15605
|
+
* @param {*} [options] Override http request option.
|
|
15606
|
+
* @throws {RequiredError}
|
|
15607
|
+
*/
|
|
15608
|
+
updateMcpServer: function (mcpServerId, orgId, projectId, mcpServerUpdate, options) {
|
|
15609
|
+
var _a, _b, _c;
|
|
15610
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
15611
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
15612
|
+
return __generator(this, function (_d) {
|
|
15613
|
+
switch (_d.label) {
|
|
15614
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateMcpServer(mcpServerId, orgId, projectId, mcpServerUpdate, options)];
|
|
15615
|
+
case 1:
|
|
15616
|
+
localVarAxiosArgs = _d.sent();
|
|
15617
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15618
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MCPServersApi.updateMcpServer']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15619
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
15620
|
+
}
|
|
15621
|
+
});
|
|
15622
|
+
});
|
|
15623
|
+
},
|
|
15624
|
+
};
|
|
15625
|
+
};
|
|
15626
|
+
exports.MCPServersApiFp = MCPServersApiFp;
|
|
15627
|
+
/**
|
|
15628
|
+
* MCPServersApi - factory interface
|
|
15629
|
+
* @export
|
|
15630
|
+
*/
|
|
15631
|
+
var MCPServersApiFactory = function (configuration, basePath, axios) {
|
|
15632
|
+
var localVarFp = (0, exports.MCPServersApiFp)(configuration);
|
|
15633
|
+
return {
|
|
15634
|
+
/**
|
|
15635
|
+
* Configure a new MCP server for the project. MCP servers extend AI capabilities by providing access to external tools. Common server types include: - Database servers (PostgreSQL, MySQL, SQLite) - API integrations (GitHub, Slack, etc.) - File system access - Custom tool servers The server will be validated and synchronized to discover available tools.
|
|
15636
|
+
* @summary Create MCP Server
|
|
15637
|
+
* @param {string} orgId The unique identifier of the organization.
|
|
15638
|
+
* @param {string} projectId The unique identifier of the project.
|
|
15639
|
+
* @param {McpServerCreate} mcpServerCreate
|
|
15640
|
+
* @param {*} [options] Override http request option.
|
|
15641
|
+
* @throws {RequiredError}
|
|
15642
|
+
*/
|
|
15643
|
+
createMcpServer: function (orgId, projectId, mcpServerCreate, options) {
|
|
15644
|
+
return localVarFp.createMcpServer(orgId, projectId, mcpServerCreate, options).then(function (request) { return request(axios, basePath); });
|
|
15645
|
+
},
|
|
15269
15646
|
/**
|
|
15270
15647
|
* Remove an MCP server from the project. This will: - Stop any active connections - Remove server configuration - Delete execution history - Revoke access credentials This action cannot be undone.
|
|
15271
15648
|
* @summary Delete MCP Server
|
|
@@ -15315,6 +15692,59 @@ var MCPServersApiFactory = function (configuration, basePath, axios) {
|
|
|
15315
15692
|
markMcpServerSynced: function (mcpServerId, orgId, projectId, options) {
|
|
15316
15693
|
return localVarFp.markMcpServerSynced(mcpServerId, orgId, projectId, options).then(function (request) { return request(axios, basePath); });
|
|
15317
15694
|
},
|
|
15695
|
+
/**
|
|
15696
|
+
* Retrieve a specific member that has been granted direct access to the mcp_server.
|
|
15697
|
+
* @summary IAM - Lookup Mcp Server Member
|
|
15698
|
+
* @param {string} mcpServerId
|
|
15699
|
+
* @param {string} member
|
|
15700
|
+
* @param {string} orgId The org id
|
|
15701
|
+
* @param {string} projectId The project id
|
|
15702
|
+
* @param {*} [options] Override http request option.
|
|
15703
|
+
* @throws {RequiredError}
|
|
15704
|
+
*/
|
|
15705
|
+
mcpServerIamOrgOrgIdProjectProjectIdMcpServerMcpServerIdIamGetMember: function (mcpServerId, member, orgId, projectId, options) {
|
|
15706
|
+
return localVarFp.mcpServerIamOrgOrgIdProjectProjectIdMcpServerMcpServerIdIamGetMember(mcpServerId, member, orgId, projectId, options).then(function (request) { return request(axios, basePath); });
|
|
15707
|
+
},
|
|
15708
|
+
/**
|
|
15709
|
+
* Lists all members that have been granted direct access to the mcp_server.
|
|
15710
|
+
* @summary IAM - List Mcp Server Members
|
|
15711
|
+
* @param {string} mcpServerId
|
|
15712
|
+
* @param {string} orgId The org id
|
|
15713
|
+
* @param {string} projectId The project id
|
|
15714
|
+
* @param {McpServerIamOrgOrgIdProjectProjectIdMcpServerMcpServerIdIamListMembersTypeEnum} [type]
|
|
15715
|
+
* @param {*} [options] Override http request option.
|
|
15716
|
+
* @throws {RequiredError}
|
|
15717
|
+
*/
|
|
15718
|
+
mcpServerIamOrgOrgIdProjectProjectIdMcpServerMcpServerIdIamListMembers: function (mcpServerId, orgId, projectId, type, options) {
|
|
15719
|
+
return localVarFp.mcpServerIamOrgOrgIdProjectProjectIdMcpServerMcpServerIdIamListMembers(mcpServerId, orgId, projectId, type, options).then(function (request) { return request(axios, basePath); });
|
|
15720
|
+
},
|
|
15721
|
+
/**
|
|
15722
|
+
* Test the permissions that the caller (or another subject) holds on the mcp_server.
|
|
15723
|
+
* @summary IAM - Test Mcp Server Permissions
|
|
15724
|
+
* @param {string} mcpServerId
|
|
15725
|
+
* @param {string} orgId The org id
|
|
15726
|
+
* @param {string} projectId The project id
|
|
15727
|
+
* @param {McpServerIAMPermissionTest} mcpServerIAMPermissionTest
|
|
15728
|
+
* @param {*} [options] Override http request option.
|
|
15729
|
+
* @throws {RequiredError}
|
|
15730
|
+
*/
|
|
15731
|
+
mcpServerIamOrgOrgIdProjectProjectIdMcpServerMcpServerIdIamTestPermissions: function (mcpServerId, orgId, projectId, mcpServerIAMPermissionTest, options) {
|
|
15732
|
+
return localVarFp.mcpServerIamOrgOrgIdProjectProjectIdMcpServerMcpServerIdIamTestPermissions(mcpServerId, orgId, projectId, mcpServerIAMPermissionTest, options).then(function (request) { return request(axios, basePath); });
|
|
15733
|
+
},
|
|
15734
|
+
/**
|
|
15735
|
+
* Update the roles that a member holds on the mcp_server.
|
|
15736
|
+
* @summary IAM - Update Mcp Server Member
|
|
15737
|
+
* @param {string} mcpServerId
|
|
15738
|
+
* @param {string} member
|
|
15739
|
+
* @param {string} orgId The org id
|
|
15740
|
+
* @param {string} projectId The project id
|
|
15741
|
+
* @param {McpServerIAMMemberRoleUpdate} mcpServerIAMMemberRoleUpdate
|
|
15742
|
+
* @param {*} [options] Override http request option.
|
|
15743
|
+
* @throws {RequiredError}
|
|
15744
|
+
*/
|
|
15745
|
+
mcpServerIamOrgOrgIdProjectProjectIdMcpServerMcpServerIdIamUpdateMemberRoles: function (mcpServerId, member, orgId, projectId, mcpServerIAMMemberRoleUpdate, options) {
|
|
15746
|
+
return localVarFp.mcpServerIamOrgOrgIdProjectProjectIdMcpServerMcpServerIdIamUpdateMemberRoles(mcpServerId, member, orgId, projectId, mcpServerIAMMemberRoleUpdate, options).then(function (request) { return request(axios, basePath); });
|
|
15747
|
+
},
|
|
15318
15748
|
/**
|
|
15319
15749
|
* Update MCP server configuration. Modifiable fields: - Name and description - Environment variables - Connection parameters - Tool availability Note: Updating server configuration may trigger re-synchronization.
|
|
15320
15750
|
* @summary Update MCP Server
|
|
@@ -15413,6 +15843,67 @@ var MCPServersApi = /** @class */ (function (_super) {
|
|
|
15413
15843
|
var _this = this;
|
|
15414
15844
|
return (0, exports.MCPServersApiFp)(this.configuration).markMcpServerSynced(mcpServerId, orgId, projectId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
15415
15845
|
};
|
|
15846
|
+
/**
|
|
15847
|
+
* Retrieve a specific member that has been granted direct access to the mcp_server.
|
|
15848
|
+
* @summary IAM - Lookup Mcp Server Member
|
|
15849
|
+
* @param {string} mcpServerId
|
|
15850
|
+
* @param {string} member
|
|
15851
|
+
* @param {string} orgId The org id
|
|
15852
|
+
* @param {string} projectId The project id
|
|
15853
|
+
* @param {*} [options] Override http request option.
|
|
15854
|
+
* @throws {RequiredError}
|
|
15855
|
+
* @memberof MCPServersApi
|
|
15856
|
+
*/
|
|
15857
|
+
MCPServersApi.prototype.mcpServerIamOrgOrgIdProjectProjectIdMcpServerMcpServerIdIamGetMember = function (mcpServerId, member, orgId, projectId, options) {
|
|
15858
|
+
var _this = this;
|
|
15859
|
+
return (0, exports.MCPServersApiFp)(this.configuration).mcpServerIamOrgOrgIdProjectProjectIdMcpServerMcpServerIdIamGetMember(mcpServerId, member, orgId, projectId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
15860
|
+
};
|
|
15861
|
+
/**
|
|
15862
|
+
* Lists all members that have been granted direct access to the mcp_server.
|
|
15863
|
+
* @summary IAM - List Mcp Server Members
|
|
15864
|
+
* @param {string} mcpServerId
|
|
15865
|
+
* @param {string} orgId The org id
|
|
15866
|
+
* @param {string} projectId The project id
|
|
15867
|
+
* @param {McpServerIamOrgOrgIdProjectProjectIdMcpServerMcpServerIdIamListMembersTypeEnum} [type]
|
|
15868
|
+
* @param {*} [options] Override http request option.
|
|
15869
|
+
* @throws {RequiredError}
|
|
15870
|
+
* @memberof MCPServersApi
|
|
15871
|
+
*/
|
|
15872
|
+
MCPServersApi.prototype.mcpServerIamOrgOrgIdProjectProjectIdMcpServerMcpServerIdIamListMembers = function (mcpServerId, orgId, projectId, type, options) {
|
|
15873
|
+
var _this = this;
|
|
15874
|
+
return (0, exports.MCPServersApiFp)(this.configuration).mcpServerIamOrgOrgIdProjectProjectIdMcpServerMcpServerIdIamListMembers(mcpServerId, orgId, projectId, type, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
15875
|
+
};
|
|
15876
|
+
/**
|
|
15877
|
+
* Test the permissions that the caller (or another subject) holds on the mcp_server.
|
|
15878
|
+
* @summary IAM - Test Mcp Server Permissions
|
|
15879
|
+
* @param {string} mcpServerId
|
|
15880
|
+
* @param {string} orgId The org id
|
|
15881
|
+
* @param {string} projectId The project id
|
|
15882
|
+
* @param {McpServerIAMPermissionTest} mcpServerIAMPermissionTest
|
|
15883
|
+
* @param {*} [options] Override http request option.
|
|
15884
|
+
* @throws {RequiredError}
|
|
15885
|
+
* @memberof MCPServersApi
|
|
15886
|
+
*/
|
|
15887
|
+
MCPServersApi.prototype.mcpServerIamOrgOrgIdProjectProjectIdMcpServerMcpServerIdIamTestPermissions = function (mcpServerId, orgId, projectId, mcpServerIAMPermissionTest, options) {
|
|
15888
|
+
var _this = this;
|
|
15889
|
+
return (0, exports.MCPServersApiFp)(this.configuration).mcpServerIamOrgOrgIdProjectProjectIdMcpServerMcpServerIdIamTestPermissions(mcpServerId, orgId, projectId, mcpServerIAMPermissionTest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
15890
|
+
};
|
|
15891
|
+
/**
|
|
15892
|
+
* Update the roles that a member holds on the mcp_server.
|
|
15893
|
+
* @summary IAM - Update Mcp Server Member
|
|
15894
|
+
* @param {string} mcpServerId
|
|
15895
|
+
* @param {string} member
|
|
15896
|
+
* @param {string} orgId The org id
|
|
15897
|
+
* @param {string} projectId The project id
|
|
15898
|
+
* @param {McpServerIAMMemberRoleUpdate} mcpServerIAMMemberRoleUpdate
|
|
15899
|
+
* @param {*} [options] Override http request option.
|
|
15900
|
+
* @throws {RequiredError}
|
|
15901
|
+
* @memberof MCPServersApi
|
|
15902
|
+
*/
|
|
15903
|
+
MCPServersApi.prototype.mcpServerIamOrgOrgIdProjectProjectIdMcpServerMcpServerIdIamUpdateMemberRoles = function (mcpServerId, member, orgId, projectId, mcpServerIAMMemberRoleUpdate, options) {
|
|
15904
|
+
var _this = this;
|
|
15905
|
+
return (0, exports.MCPServersApiFp)(this.configuration).mcpServerIamOrgOrgIdProjectProjectIdMcpServerMcpServerIdIamUpdateMemberRoles(mcpServerId, member, orgId, projectId, mcpServerIAMMemberRoleUpdate, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
15906
|
+
};
|
|
15416
15907
|
/**
|
|
15417
15908
|
* Update MCP server configuration. Modifiable fields: - Name and description - Environment variables - Connection parameters - Tool availability Note: Updating server configuration may trigger re-synchronization.
|
|
15418
15909
|
* @summary Update MCP Server
|
|
@@ -15431,6 +15922,14 @@ var MCPServersApi = /** @class */ (function (_super) {
|
|
|
15431
15922
|
return MCPServersApi;
|
|
15432
15923
|
}(base_1.BaseAPI));
|
|
15433
15924
|
exports.MCPServersApi = MCPServersApi;
|
|
15925
|
+
/**
|
|
15926
|
+
* @export
|
|
15927
|
+
*/
|
|
15928
|
+
exports.McpServerIamOrgOrgIdProjectProjectIdMcpServerMcpServerIdIamListMembersTypeEnum = {
|
|
15929
|
+
User: 'user',
|
|
15930
|
+
Organization: 'organization',
|
|
15931
|
+
Project: 'project'
|
|
15932
|
+
};
|
|
15434
15933
|
/**
|
|
15435
15934
|
* OAuthClientsApi - axios parameter creator
|
|
15436
15935
|
* @export
|
|
@@ -26344,7 +26843,7 @@ var TaskAgentsApiAxiosParamCreator = function (configuration) {
|
|
|
26344
26843
|
});
|
|
26345
26844
|
},
|
|
26346
26845
|
/**
|
|
26347
|
-
* Execute the Task Agent with a user message. The agent will: 1. Process the message using the configured LLM 2. Reason about which task tools to invoke 3. Execute relevant Tasks as needed 4. Return a streaming response Responses are streamed using Server-Sent Events (SSE).
|
|
26846
|
+
* Execute the Task Agent with a user message. The agent will: 1. Process the message using the configured LLM 2. Reason about which task tools to invoke 3. Execute relevant Tasks as needed 4. Return a streaming response Responses are streamed using Server-Sent Events (SSE). The first SSE event emitted after successful stream setup is: - `event_type: \"session_id\"` with the resolved `session_id` in `metadata` Subsequent events include tool calls/results, text responses, and the terminal `done` or `error` event.
|
|
26348
26847
|
* @summary Run Task Agent
|
|
26349
26848
|
* @param {string} orgId The unique identifier of the organization.
|
|
26350
26849
|
* @param {string} projectId The unique identifier of the project.
|
|
@@ -27092,7 +27591,7 @@ var TaskAgentsApiFp = function (configuration) {
|
|
|
27092
27591
|
});
|
|
27093
27592
|
},
|
|
27094
27593
|
/**
|
|
27095
|
-
* Execute the Task Agent with a user message. The agent will: 1. Process the message using the configured LLM 2. Reason about which task tools to invoke 3. Execute relevant Tasks as needed 4. Return a streaming response Responses are streamed using Server-Sent Events (SSE).
|
|
27594
|
+
* Execute the Task Agent with a user message. The agent will: 1. Process the message using the configured LLM 2. Reason about which task tools to invoke 3. Execute relevant Tasks as needed 4. Return a streaming response Responses are streamed using Server-Sent Events (SSE). The first SSE event emitted after successful stream setup is: - `event_type: \"session_id\"` with the resolved `session_id` in `metadata` Subsequent events include tool calls/results, text responses, and the terminal `done` or `error` event.
|
|
27096
27595
|
* @summary Run Task Agent
|
|
27097
27596
|
* @param {string} orgId The unique identifier of the organization.
|
|
27098
27597
|
* @param {string} projectId The unique identifier of the project.
|
|
@@ -27468,7 +27967,7 @@ var TaskAgentsApiFactory = function (configuration, basePath, axios) {
|
|
|
27468
27967
|
return localVarFp.listTaskAgents(orgId, projectId, cursor, pageLimit, options).then(function (request) { return request(axios, basePath); });
|
|
27469
27968
|
},
|
|
27470
27969
|
/**
|
|
27471
|
-
* Execute the Task Agent with a user message. The agent will: 1. Process the message using the configured LLM 2. Reason about which task tools to invoke 3. Execute relevant Tasks as needed 4. Return a streaming response Responses are streamed using Server-Sent Events (SSE).
|
|
27970
|
+
* Execute the Task Agent with a user message. The agent will: 1. Process the message using the configured LLM 2. Reason about which task tools to invoke 3. Execute relevant Tasks as needed 4. Return a streaming response Responses are streamed using Server-Sent Events (SSE). The first SSE event emitted after successful stream setup is: - `event_type: \"session_id\"` with the resolved `session_id` in `metadata` Subsequent events include tool calls/results, text responses, and the terminal `done` or `error` event.
|
|
27472
27971
|
* @summary Run Task Agent
|
|
27473
27972
|
* @param {string} orgId The unique identifier of the organization.
|
|
27474
27973
|
* @param {string} projectId The unique identifier of the project.
|
|
@@ -27800,7 +28299,7 @@ var TaskAgentsApi = /** @class */ (function (_super) {
|
|
|
27800
28299
|
return (0, exports.TaskAgentsApiFp)(this.configuration).listTaskAgents(orgId, projectId, cursor, pageLimit, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27801
28300
|
};
|
|
27802
28301
|
/**
|
|
27803
|
-
* Execute the Task Agent with a user message. The agent will: 1. Process the message using the configured LLM 2. Reason about which task tools to invoke 3. Execute relevant Tasks as needed 4. Return a streaming response Responses are streamed using Server-Sent Events (SSE).
|
|
28302
|
+
* Execute the Task Agent with a user message. The agent will: 1. Process the message using the configured LLM 2. Reason about which task tools to invoke 3. Execute relevant Tasks as needed 4. Return a streaming response Responses are streamed using Server-Sent Events (SSE). The first SSE event emitted after successful stream setup is: - `event_type: \"session_id\"` with the resolved `session_id` in `metadata` Subsequent events include tool calls/results, text responses, and the terminal `done` or `error` event.
|
|
27804
28303
|
* @summary Run Task Agent
|
|
27805
28304
|
* @param {string} orgId The unique identifier of the organization.
|
|
27806
28305
|
* @param {string} projectId The unique identifier of the project.
|
|
@@ -30455,16 +30954,16 @@ var TaskMCPServersApiAxiosParamCreator = function (configuration) {
|
|
|
30455
30954
|
});
|
|
30456
30955
|
},
|
|
30457
30956
|
/**
|
|
30458
|
-
*
|
|
30459
|
-
* @summary
|
|
30957
|
+
* Retrieve a specific member that has been granted direct access to the task_mcp_server.
|
|
30958
|
+
* @summary IAM - Lookup Task Mcp Server Member
|
|
30460
30959
|
* @param {string} taskMcpServerId
|
|
30461
|
-
* @param {string}
|
|
30462
|
-
* @param {string}
|
|
30463
|
-
* @param {
|
|
30960
|
+
* @param {string} member
|
|
30961
|
+
* @param {string} orgId The org id
|
|
30962
|
+
* @param {string} projectId The project id
|
|
30464
30963
|
* @param {*} [options] Override http request option.
|
|
30465
30964
|
* @throws {RequiredError}
|
|
30466
30965
|
*/
|
|
30467
|
-
|
|
30966
|
+
taskMcpServerIamOrgOrgIdProjectProjectIdTaskMcpServerTaskMcpServerIdIamGetMember: function (taskMcpServerId, member, orgId, projectId, options) {
|
|
30468
30967
|
if (options === void 0) { options = {}; }
|
|
30469
30968
|
return __awaiter(_this, void 0, void 0, function () {
|
|
30470
30969
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -30472,22 +30971,23 @@ var TaskMCPServersApiAxiosParamCreator = function (configuration) {
|
|
|
30472
30971
|
switch (_a.label) {
|
|
30473
30972
|
case 0:
|
|
30474
30973
|
// verify required parameter 'taskMcpServerId' is not null or undefined
|
|
30475
|
-
(0, common_1.assertParamExists)('
|
|
30974
|
+
(0, common_1.assertParamExists)('taskMcpServerIamOrgOrgIdProjectProjectIdTaskMcpServerTaskMcpServerIdIamGetMember', 'taskMcpServerId', taskMcpServerId);
|
|
30975
|
+
// verify required parameter 'member' is not null or undefined
|
|
30976
|
+
(0, common_1.assertParamExists)('taskMcpServerIamOrgOrgIdProjectProjectIdTaskMcpServerTaskMcpServerIdIamGetMember', 'member', member);
|
|
30476
30977
|
// verify required parameter 'orgId' is not null or undefined
|
|
30477
|
-
(0, common_1.assertParamExists)('
|
|
30978
|
+
(0, common_1.assertParamExists)('taskMcpServerIamOrgOrgIdProjectProjectIdTaskMcpServerTaskMcpServerIdIamGetMember', 'orgId', orgId);
|
|
30478
30979
|
// verify required parameter 'projectId' is not null or undefined
|
|
30479
|
-
(0, common_1.assertParamExists)('
|
|
30480
|
-
|
|
30481
|
-
(0, common_1.assertParamExists)('updateTaskMcpServer', 'taskMcpServerUpdate', taskMcpServerUpdate);
|
|
30482
|
-
localVarPath = "/org/{org_id}/project/{project_id}/task_mcp_server/{task_mcp_server_id}"
|
|
30980
|
+
(0, common_1.assertParamExists)('taskMcpServerIamOrgOrgIdProjectProjectIdTaskMcpServerTaskMcpServerIdIamGetMember', 'projectId', projectId);
|
|
30981
|
+
localVarPath = "/org/{org_id}/project/{project_id}/task_mcp_server/{task_mcp_server_id}/iam/members/{member}"
|
|
30483
30982
|
.replace("{".concat("task_mcp_server_id", "}"), encodeURIComponent(String(taskMcpServerId)))
|
|
30983
|
+
.replace("{".concat("member", "}"), encodeURIComponent(String(member)))
|
|
30484
30984
|
.replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
|
|
30485
30985
|
.replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)));
|
|
30486
30986
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
30487
30987
|
if (configuration) {
|
|
30488
30988
|
baseOptions = configuration.baseOptions;
|
|
30489
30989
|
}
|
|
30490
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
30990
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
30491
30991
|
localVarHeaderParameter = {};
|
|
30492
30992
|
localVarQueryParameter = {};
|
|
30493
30993
|
// authentication HTTPBearer required
|
|
@@ -30497,11 +30997,9 @@ var TaskMCPServersApiAxiosParamCreator = function (configuration) {
|
|
|
30497
30997
|
// authentication HTTPBearer required
|
|
30498
30998
|
// http bearer authentication required
|
|
30499
30999
|
_a.sent();
|
|
30500
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
30501
31000
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
30502
31001
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30503
31002
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
30504
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(taskMcpServerUpdate, localVarRequestOptions, configuration);
|
|
30505
31003
|
return [2 /*return*/, {
|
|
30506
31004
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
30507
31005
|
options: localVarRequestOptions,
|
|
@@ -30510,36 +31008,263 @@ var TaskMCPServersApiAxiosParamCreator = function (configuration) {
|
|
|
30510
31008
|
});
|
|
30511
31009
|
});
|
|
30512
31010
|
},
|
|
30513
|
-
};
|
|
30514
|
-
};
|
|
30515
|
-
exports.TaskMCPServersApiAxiosParamCreator = TaskMCPServersApiAxiosParamCreator;
|
|
30516
|
-
/**
|
|
30517
|
-
* TaskMCPServersApi - functional programming interface
|
|
30518
|
-
* @export
|
|
30519
|
-
*/
|
|
30520
|
-
var TaskMCPServersApiFp = function (configuration) {
|
|
30521
|
-
var localVarAxiosParamCreator = (0, exports.TaskMCPServersApiAxiosParamCreator)(configuration);
|
|
30522
|
-
return {
|
|
30523
31011
|
/**
|
|
30524
|
-
*
|
|
30525
|
-
* @summary
|
|
30526
|
-
* @param {string}
|
|
30527
|
-
* @param {string}
|
|
30528
|
-
* @param {string}
|
|
30529
|
-
* @param {
|
|
31012
|
+
* Lists all members that have been granted direct access to the task_mcp_server.
|
|
31013
|
+
* @summary IAM - List Task Mcp Server Members
|
|
31014
|
+
* @param {string} taskMcpServerId
|
|
31015
|
+
* @param {string} orgId The org id
|
|
31016
|
+
* @param {string} projectId The project id
|
|
31017
|
+
* @param {TaskMcpServerIamOrgOrgIdProjectProjectIdTaskMcpServerTaskMcpServerIdIamListMembersTypeEnum} [type]
|
|
30530
31018
|
* @param {*} [options] Override http request option.
|
|
30531
31019
|
* @throws {RequiredError}
|
|
30532
31020
|
*/
|
|
30533
|
-
|
|
30534
|
-
|
|
30535
|
-
return __awaiter(
|
|
30536
|
-
var
|
|
30537
|
-
return __generator(this, function (
|
|
30538
|
-
switch (
|
|
30539
|
-
case 0:
|
|
31021
|
+
taskMcpServerIamOrgOrgIdProjectProjectIdTaskMcpServerTaskMcpServerIdIamListMembers: function (taskMcpServerId, orgId, projectId, type, options) {
|
|
31022
|
+
if (options === void 0) { options = {}; }
|
|
31023
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
31024
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
31025
|
+
return __generator(this, function (_a) {
|
|
31026
|
+
switch (_a.label) {
|
|
31027
|
+
case 0:
|
|
31028
|
+
// verify required parameter 'taskMcpServerId' is not null or undefined
|
|
31029
|
+
(0, common_1.assertParamExists)('taskMcpServerIamOrgOrgIdProjectProjectIdTaskMcpServerTaskMcpServerIdIamListMembers', 'taskMcpServerId', taskMcpServerId);
|
|
31030
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
31031
|
+
(0, common_1.assertParamExists)('taskMcpServerIamOrgOrgIdProjectProjectIdTaskMcpServerTaskMcpServerIdIamListMembers', 'orgId', orgId);
|
|
31032
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
31033
|
+
(0, common_1.assertParamExists)('taskMcpServerIamOrgOrgIdProjectProjectIdTaskMcpServerTaskMcpServerIdIamListMembers', 'projectId', projectId);
|
|
31034
|
+
localVarPath = "/org/{org_id}/project/{project_id}/task_mcp_server/{task_mcp_server_id}/iam/members"
|
|
31035
|
+
.replace("{".concat("task_mcp_server_id", "}"), encodeURIComponent(String(taskMcpServerId)))
|
|
31036
|
+
.replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
|
|
31037
|
+
.replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)));
|
|
31038
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
31039
|
+
if (configuration) {
|
|
31040
|
+
baseOptions = configuration.baseOptions;
|
|
31041
|
+
}
|
|
31042
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
31043
|
+
localVarHeaderParameter = {};
|
|
31044
|
+
localVarQueryParameter = {};
|
|
31045
|
+
// authentication HTTPBearer required
|
|
31046
|
+
// http bearer authentication required
|
|
31047
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
30540
31048
|
case 1:
|
|
30541
|
-
|
|
30542
|
-
|
|
31049
|
+
// authentication HTTPBearer required
|
|
31050
|
+
// http bearer authentication required
|
|
31051
|
+
_a.sent();
|
|
31052
|
+
if (type !== undefined) {
|
|
31053
|
+
localVarQueryParameter['type'] = type;
|
|
31054
|
+
}
|
|
31055
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
31056
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
31057
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
31058
|
+
return [2 /*return*/, {
|
|
31059
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
31060
|
+
options: localVarRequestOptions,
|
|
31061
|
+
}];
|
|
31062
|
+
}
|
|
31063
|
+
});
|
|
31064
|
+
});
|
|
31065
|
+
},
|
|
31066
|
+
/**
|
|
31067
|
+
* Test the permissions that the caller (or another subject) holds on the task_mcp_server.
|
|
31068
|
+
* @summary IAM - Test Task Mcp Server Permissions
|
|
31069
|
+
* @param {string} taskMcpServerId
|
|
31070
|
+
* @param {string} orgId The org id
|
|
31071
|
+
* @param {string} projectId The project id
|
|
31072
|
+
* @param {TaskMcpServerIAMPermissionTest} taskMcpServerIAMPermissionTest
|
|
31073
|
+
* @param {*} [options] Override http request option.
|
|
31074
|
+
* @throws {RequiredError}
|
|
31075
|
+
*/
|
|
31076
|
+
taskMcpServerIamOrgOrgIdProjectProjectIdTaskMcpServerTaskMcpServerIdIamTestPermissions: function (taskMcpServerId, orgId, projectId, taskMcpServerIAMPermissionTest, options) {
|
|
31077
|
+
if (options === void 0) { options = {}; }
|
|
31078
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
31079
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
31080
|
+
return __generator(this, function (_a) {
|
|
31081
|
+
switch (_a.label) {
|
|
31082
|
+
case 0:
|
|
31083
|
+
// verify required parameter 'taskMcpServerId' is not null or undefined
|
|
31084
|
+
(0, common_1.assertParamExists)('taskMcpServerIamOrgOrgIdProjectProjectIdTaskMcpServerTaskMcpServerIdIamTestPermissions', 'taskMcpServerId', taskMcpServerId);
|
|
31085
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
31086
|
+
(0, common_1.assertParamExists)('taskMcpServerIamOrgOrgIdProjectProjectIdTaskMcpServerTaskMcpServerIdIamTestPermissions', 'orgId', orgId);
|
|
31087
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
31088
|
+
(0, common_1.assertParamExists)('taskMcpServerIamOrgOrgIdProjectProjectIdTaskMcpServerTaskMcpServerIdIamTestPermissions', 'projectId', projectId);
|
|
31089
|
+
// verify required parameter 'taskMcpServerIAMPermissionTest' is not null or undefined
|
|
31090
|
+
(0, common_1.assertParamExists)('taskMcpServerIamOrgOrgIdProjectProjectIdTaskMcpServerTaskMcpServerIdIamTestPermissions', 'taskMcpServerIAMPermissionTest', taskMcpServerIAMPermissionTest);
|
|
31091
|
+
localVarPath = "/org/{org_id}/project/{project_id}/task_mcp_server/{task_mcp_server_id}/iam/test"
|
|
31092
|
+
.replace("{".concat("task_mcp_server_id", "}"), encodeURIComponent(String(taskMcpServerId)))
|
|
31093
|
+
.replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
|
|
31094
|
+
.replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)));
|
|
31095
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
31096
|
+
if (configuration) {
|
|
31097
|
+
baseOptions = configuration.baseOptions;
|
|
31098
|
+
}
|
|
31099
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
31100
|
+
localVarHeaderParameter = {};
|
|
31101
|
+
localVarQueryParameter = {};
|
|
31102
|
+
// authentication HTTPBearer required
|
|
31103
|
+
// http bearer authentication required
|
|
31104
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
31105
|
+
case 1:
|
|
31106
|
+
// authentication HTTPBearer required
|
|
31107
|
+
// http bearer authentication required
|
|
31108
|
+
_a.sent();
|
|
31109
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
31110
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
31111
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
31112
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
31113
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(taskMcpServerIAMPermissionTest, localVarRequestOptions, configuration);
|
|
31114
|
+
return [2 /*return*/, {
|
|
31115
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
31116
|
+
options: localVarRequestOptions,
|
|
31117
|
+
}];
|
|
31118
|
+
}
|
|
31119
|
+
});
|
|
31120
|
+
});
|
|
31121
|
+
},
|
|
31122
|
+
/**
|
|
31123
|
+
* Update the roles that a member holds on the task_mcp_server.
|
|
31124
|
+
* @summary IAM - Update Task Mcp Server Member
|
|
31125
|
+
* @param {string} taskMcpServerId
|
|
31126
|
+
* @param {string} member
|
|
31127
|
+
* @param {string} orgId The org id
|
|
31128
|
+
* @param {string} projectId The project id
|
|
31129
|
+
* @param {TaskMcpServerIAMMemberRoleUpdate} taskMcpServerIAMMemberRoleUpdate
|
|
31130
|
+
* @param {*} [options] Override http request option.
|
|
31131
|
+
* @throws {RequiredError}
|
|
31132
|
+
*/
|
|
31133
|
+
taskMcpServerIamOrgOrgIdProjectProjectIdTaskMcpServerTaskMcpServerIdIamUpdateMemberRoles: function (taskMcpServerId, member, orgId, projectId, taskMcpServerIAMMemberRoleUpdate, options) {
|
|
31134
|
+
if (options === void 0) { options = {}; }
|
|
31135
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
31136
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
31137
|
+
return __generator(this, function (_a) {
|
|
31138
|
+
switch (_a.label) {
|
|
31139
|
+
case 0:
|
|
31140
|
+
// verify required parameter 'taskMcpServerId' is not null or undefined
|
|
31141
|
+
(0, common_1.assertParamExists)('taskMcpServerIamOrgOrgIdProjectProjectIdTaskMcpServerTaskMcpServerIdIamUpdateMemberRoles', 'taskMcpServerId', taskMcpServerId);
|
|
31142
|
+
// verify required parameter 'member' is not null or undefined
|
|
31143
|
+
(0, common_1.assertParamExists)('taskMcpServerIamOrgOrgIdProjectProjectIdTaskMcpServerTaskMcpServerIdIamUpdateMemberRoles', 'member', member);
|
|
31144
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
31145
|
+
(0, common_1.assertParamExists)('taskMcpServerIamOrgOrgIdProjectProjectIdTaskMcpServerTaskMcpServerIdIamUpdateMemberRoles', 'orgId', orgId);
|
|
31146
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
31147
|
+
(0, common_1.assertParamExists)('taskMcpServerIamOrgOrgIdProjectProjectIdTaskMcpServerTaskMcpServerIdIamUpdateMemberRoles', 'projectId', projectId);
|
|
31148
|
+
// verify required parameter 'taskMcpServerIAMMemberRoleUpdate' is not null or undefined
|
|
31149
|
+
(0, common_1.assertParamExists)('taskMcpServerIamOrgOrgIdProjectProjectIdTaskMcpServerTaskMcpServerIdIamUpdateMemberRoles', 'taskMcpServerIAMMemberRoleUpdate', taskMcpServerIAMMemberRoleUpdate);
|
|
31150
|
+
localVarPath = "/org/{org_id}/project/{project_id}/task_mcp_server/{task_mcp_server_id}/iam/members/{member}"
|
|
31151
|
+
.replace("{".concat("task_mcp_server_id", "}"), encodeURIComponent(String(taskMcpServerId)))
|
|
31152
|
+
.replace("{".concat("member", "}"), encodeURIComponent(String(member)))
|
|
31153
|
+
.replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
|
|
31154
|
+
.replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)));
|
|
31155
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
31156
|
+
if (configuration) {
|
|
31157
|
+
baseOptions = configuration.baseOptions;
|
|
31158
|
+
}
|
|
31159
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
31160
|
+
localVarHeaderParameter = {};
|
|
31161
|
+
localVarQueryParameter = {};
|
|
31162
|
+
// authentication HTTPBearer required
|
|
31163
|
+
// http bearer authentication required
|
|
31164
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
31165
|
+
case 1:
|
|
31166
|
+
// authentication HTTPBearer required
|
|
31167
|
+
// http bearer authentication required
|
|
31168
|
+
_a.sent();
|
|
31169
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
31170
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
31171
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
31172
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
31173
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(taskMcpServerIAMMemberRoleUpdate, localVarRequestOptions, configuration);
|
|
31174
|
+
return [2 /*return*/, {
|
|
31175
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
31176
|
+
options: localVarRequestOptions,
|
|
31177
|
+
}];
|
|
31178
|
+
}
|
|
31179
|
+
});
|
|
31180
|
+
});
|
|
31181
|
+
},
|
|
31182
|
+
/**
|
|
31183
|
+
*
|
|
31184
|
+
* @summary Update Task Mcp Server
|
|
31185
|
+
* @param {string} taskMcpServerId
|
|
31186
|
+
* @param {string} orgId The unique identifier of the organization.
|
|
31187
|
+
* @param {string} projectId The unique identifier of the project.
|
|
31188
|
+
* @param {TaskMcpServerUpdate} taskMcpServerUpdate
|
|
31189
|
+
* @param {*} [options] Override http request option.
|
|
31190
|
+
* @throws {RequiredError}
|
|
31191
|
+
*/
|
|
31192
|
+
updateTaskMcpServer: function (taskMcpServerId, orgId, projectId, taskMcpServerUpdate, options) {
|
|
31193
|
+
if (options === void 0) { options = {}; }
|
|
31194
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
31195
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
31196
|
+
return __generator(this, function (_a) {
|
|
31197
|
+
switch (_a.label) {
|
|
31198
|
+
case 0:
|
|
31199
|
+
// verify required parameter 'taskMcpServerId' is not null or undefined
|
|
31200
|
+
(0, common_1.assertParamExists)('updateTaskMcpServer', 'taskMcpServerId', taskMcpServerId);
|
|
31201
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
31202
|
+
(0, common_1.assertParamExists)('updateTaskMcpServer', 'orgId', orgId);
|
|
31203
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
31204
|
+
(0, common_1.assertParamExists)('updateTaskMcpServer', 'projectId', projectId);
|
|
31205
|
+
// verify required parameter 'taskMcpServerUpdate' is not null or undefined
|
|
31206
|
+
(0, common_1.assertParamExists)('updateTaskMcpServer', 'taskMcpServerUpdate', taskMcpServerUpdate);
|
|
31207
|
+
localVarPath = "/org/{org_id}/project/{project_id}/task_mcp_server/{task_mcp_server_id}"
|
|
31208
|
+
.replace("{".concat("task_mcp_server_id", "}"), encodeURIComponent(String(taskMcpServerId)))
|
|
31209
|
+
.replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
|
|
31210
|
+
.replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)));
|
|
31211
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
31212
|
+
if (configuration) {
|
|
31213
|
+
baseOptions = configuration.baseOptions;
|
|
31214
|
+
}
|
|
31215
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
31216
|
+
localVarHeaderParameter = {};
|
|
31217
|
+
localVarQueryParameter = {};
|
|
31218
|
+
// authentication HTTPBearer required
|
|
31219
|
+
// http bearer authentication required
|
|
31220
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
31221
|
+
case 1:
|
|
31222
|
+
// authentication HTTPBearer required
|
|
31223
|
+
// http bearer authentication required
|
|
31224
|
+
_a.sent();
|
|
31225
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
31226
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
31227
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
31228
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
31229
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(taskMcpServerUpdate, localVarRequestOptions, configuration);
|
|
31230
|
+
return [2 /*return*/, {
|
|
31231
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
31232
|
+
options: localVarRequestOptions,
|
|
31233
|
+
}];
|
|
31234
|
+
}
|
|
31235
|
+
});
|
|
31236
|
+
});
|
|
31237
|
+
},
|
|
31238
|
+
};
|
|
31239
|
+
};
|
|
31240
|
+
exports.TaskMCPServersApiAxiosParamCreator = TaskMCPServersApiAxiosParamCreator;
|
|
31241
|
+
/**
|
|
31242
|
+
* TaskMCPServersApi - functional programming interface
|
|
31243
|
+
* @export
|
|
31244
|
+
*/
|
|
31245
|
+
var TaskMCPServersApiFp = function (configuration) {
|
|
31246
|
+
var localVarAxiosParamCreator = (0, exports.TaskMCPServersApiAxiosParamCreator)(configuration);
|
|
31247
|
+
return {
|
|
31248
|
+
/**
|
|
31249
|
+
*
|
|
31250
|
+
* @summary Authorize Task Mcp Server
|
|
31251
|
+
* @param {string} orgId The unique identifier of the organization.
|
|
31252
|
+
* @param {string} projectId The unique identifier of the project.
|
|
31253
|
+
* @param {string} serverUrl
|
|
31254
|
+
* @param {string | null} [redirectTo]
|
|
31255
|
+
* @param {*} [options] Override http request option.
|
|
31256
|
+
* @throws {RequiredError}
|
|
31257
|
+
*/
|
|
31258
|
+
authorizeMcpServer: function (orgId, projectId, serverUrl, redirectTo, options) {
|
|
31259
|
+
var _a, _b, _c;
|
|
31260
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
31261
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
31262
|
+
return __generator(this, function (_d) {
|
|
31263
|
+
switch (_d.label) {
|
|
31264
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.authorizeMcpServer(orgId, projectId, serverUrl, redirectTo, options)];
|
|
31265
|
+
case 1:
|
|
31266
|
+
localVarAxiosArgs = _d.sent();
|
|
31267
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
30543
31268
|
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaskMCPServersApi.authorizeMcpServer']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
30544
31269
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
30545
31270
|
}
|
|
@@ -30796,6 +31521,111 @@ var TaskMCPServersApiFp = function (configuration) {
|
|
|
30796
31521
|
});
|
|
30797
31522
|
});
|
|
30798
31523
|
},
|
|
31524
|
+
/**
|
|
31525
|
+
* Retrieve a specific member that has been granted direct access to the task_mcp_server.
|
|
31526
|
+
* @summary IAM - Lookup Task Mcp Server Member
|
|
31527
|
+
* @param {string} taskMcpServerId
|
|
31528
|
+
* @param {string} member
|
|
31529
|
+
* @param {string} orgId The org id
|
|
31530
|
+
* @param {string} projectId The project id
|
|
31531
|
+
* @param {*} [options] Override http request option.
|
|
31532
|
+
* @throws {RequiredError}
|
|
31533
|
+
*/
|
|
31534
|
+
taskMcpServerIamOrgOrgIdProjectProjectIdTaskMcpServerTaskMcpServerIdIamGetMember: function (taskMcpServerId, member, orgId, projectId, options) {
|
|
31535
|
+
var _a, _b, _c;
|
|
31536
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
31537
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
31538
|
+
return __generator(this, function (_d) {
|
|
31539
|
+
switch (_d.label) {
|
|
31540
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.taskMcpServerIamOrgOrgIdProjectProjectIdTaskMcpServerTaskMcpServerIdIamGetMember(taskMcpServerId, member, orgId, projectId, options)];
|
|
31541
|
+
case 1:
|
|
31542
|
+
localVarAxiosArgs = _d.sent();
|
|
31543
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
31544
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaskMCPServersApi.taskMcpServerIamOrgOrgIdProjectProjectIdTaskMcpServerTaskMcpServerIdIamGetMember']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
31545
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
31546
|
+
}
|
|
31547
|
+
});
|
|
31548
|
+
});
|
|
31549
|
+
},
|
|
31550
|
+
/**
|
|
31551
|
+
* Lists all members that have been granted direct access to the task_mcp_server.
|
|
31552
|
+
* @summary IAM - List Task Mcp Server Members
|
|
31553
|
+
* @param {string} taskMcpServerId
|
|
31554
|
+
* @param {string} orgId The org id
|
|
31555
|
+
* @param {string} projectId The project id
|
|
31556
|
+
* @param {TaskMcpServerIamOrgOrgIdProjectProjectIdTaskMcpServerTaskMcpServerIdIamListMembersTypeEnum} [type]
|
|
31557
|
+
* @param {*} [options] Override http request option.
|
|
31558
|
+
* @throws {RequiredError}
|
|
31559
|
+
*/
|
|
31560
|
+
taskMcpServerIamOrgOrgIdProjectProjectIdTaskMcpServerTaskMcpServerIdIamListMembers: function (taskMcpServerId, orgId, projectId, type, options) {
|
|
31561
|
+
var _a, _b, _c;
|
|
31562
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
31563
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
31564
|
+
return __generator(this, function (_d) {
|
|
31565
|
+
switch (_d.label) {
|
|
31566
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.taskMcpServerIamOrgOrgIdProjectProjectIdTaskMcpServerTaskMcpServerIdIamListMembers(taskMcpServerId, orgId, projectId, type, options)];
|
|
31567
|
+
case 1:
|
|
31568
|
+
localVarAxiosArgs = _d.sent();
|
|
31569
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
31570
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaskMCPServersApi.taskMcpServerIamOrgOrgIdProjectProjectIdTaskMcpServerTaskMcpServerIdIamListMembers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
31571
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
31572
|
+
}
|
|
31573
|
+
});
|
|
31574
|
+
});
|
|
31575
|
+
},
|
|
31576
|
+
/**
|
|
31577
|
+
* Test the permissions that the caller (or another subject) holds on the task_mcp_server.
|
|
31578
|
+
* @summary IAM - Test Task Mcp Server Permissions
|
|
31579
|
+
* @param {string} taskMcpServerId
|
|
31580
|
+
* @param {string} orgId The org id
|
|
31581
|
+
* @param {string} projectId The project id
|
|
31582
|
+
* @param {TaskMcpServerIAMPermissionTest} taskMcpServerIAMPermissionTest
|
|
31583
|
+
* @param {*} [options] Override http request option.
|
|
31584
|
+
* @throws {RequiredError}
|
|
31585
|
+
*/
|
|
31586
|
+
taskMcpServerIamOrgOrgIdProjectProjectIdTaskMcpServerTaskMcpServerIdIamTestPermissions: function (taskMcpServerId, orgId, projectId, taskMcpServerIAMPermissionTest, options) {
|
|
31587
|
+
var _a, _b, _c;
|
|
31588
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
31589
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
31590
|
+
return __generator(this, function (_d) {
|
|
31591
|
+
switch (_d.label) {
|
|
31592
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.taskMcpServerIamOrgOrgIdProjectProjectIdTaskMcpServerTaskMcpServerIdIamTestPermissions(taskMcpServerId, orgId, projectId, taskMcpServerIAMPermissionTest, options)];
|
|
31593
|
+
case 1:
|
|
31594
|
+
localVarAxiosArgs = _d.sent();
|
|
31595
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
31596
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaskMCPServersApi.taskMcpServerIamOrgOrgIdProjectProjectIdTaskMcpServerTaskMcpServerIdIamTestPermissions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
31597
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
31598
|
+
}
|
|
31599
|
+
});
|
|
31600
|
+
});
|
|
31601
|
+
},
|
|
31602
|
+
/**
|
|
31603
|
+
* Update the roles that a member holds on the task_mcp_server.
|
|
31604
|
+
* @summary IAM - Update Task Mcp Server Member
|
|
31605
|
+
* @param {string} taskMcpServerId
|
|
31606
|
+
* @param {string} member
|
|
31607
|
+
* @param {string} orgId The org id
|
|
31608
|
+
* @param {string} projectId The project id
|
|
31609
|
+
* @param {TaskMcpServerIAMMemberRoleUpdate} taskMcpServerIAMMemberRoleUpdate
|
|
31610
|
+
* @param {*} [options] Override http request option.
|
|
31611
|
+
* @throws {RequiredError}
|
|
31612
|
+
*/
|
|
31613
|
+
taskMcpServerIamOrgOrgIdProjectProjectIdTaskMcpServerTaskMcpServerIdIamUpdateMemberRoles: function (taskMcpServerId, member, orgId, projectId, taskMcpServerIAMMemberRoleUpdate, options) {
|
|
31614
|
+
var _a, _b, _c;
|
|
31615
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
31616
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
31617
|
+
return __generator(this, function (_d) {
|
|
31618
|
+
switch (_d.label) {
|
|
31619
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.taskMcpServerIamOrgOrgIdProjectProjectIdTaskMcpServerTaskMcpServerIdIamUpdateMemberRoles(taskMcpServerId, member, orgId, projectId, taskMcpServerIAMMemberRoleUpdate, options)];
|
|
31620
|
+
case 1:
|
|
31621
|
+
localVarAxiosArgs = _d.sent();
|
|
31622
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
31623
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaskMCPServersApi.taskMcpServerIamOrgOrgIdProjectProjectIdTaskMcpServerTaskMcpServerIdIamUpdateMemberRoles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
31624
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
31625
|
+
}
|
|
31626
|
+
});
|
|
31627
|
+
});
|
|
31628
|
+
},
|
|
30799
31629
|
/**
|
|
30800
31630
|
*
|
|
30801
31631
|
* @summary Update Task Mcp Server
|
|
@@ -30965,6 +31795,59 @@ var TaskMCPServersApiFactory = function (configuration, basePath, axios) {
|
|
|
30965
31795
|
refreshTaskMcpServer: function (taskMcpServerId, orgId, projectId, options) {
|
|
30966
31796
|
return localVarFp.refreshTaskMcpServer(taskMcpServerId, orgId, projectId, options).then(function (request) { return request(axios, basePath); });
|
|
30967
31797
|
},
|
|
31798
|
+
/**
|
|
31799
|
+
* Retrieve a specific member that has been granted direct access to the task_mcp_server.
|
|
31800
|
+
* @summary IAM - Lookup Task Mcp Server Member
|
|
31801
|
+
* @param {string} taskMcpServerId
|
|
31802
|
+
* @param {string} member
|
|
31803
|
+
* @param {string} orgId The org id
|
|
31804
|
+
* @param {string} projectId The project id
|
|
31805
|
+
* @param {*} [options] Override http request option.
|
|
31806
|
+
* @throws {RequiredError}
|
|
31807
|
+
*/
|
|
31808
|
+
taskMcpServerIamOrgOrgIdProjectProjectIdTaskMcpServerTaskMcpServerIdIamGetMember: function (taskMcpServerId, member, orgId, projectId, options) {
|
|
31809
|
+
return localVarFp.taskMcpServerIamOrgOrgIdProjectProjectIdTaskMcpServerTaskMcpServerIdIamGetMember(taskMcpServerId, member, orgId, projectId, options).then(function (request) { return request(axios, basePath); });
|
|
31810
|
+
},
|
|
31811
|
+
/**
|
|
31812
|
+
* Lists all members that have been granted direct access to the task_mcp_server.
|
|
31813
|
+
* @summary IAM - List Task Mcp Server Members
|
|
31814
|
+
* @param {string} taskMcpServerId
|
|
31815
|
+
* @param {string} orgId The org id
|
|
31816
|
+
* @param {string} projectId The project id
|
|
31817
|
+
* @param {TaskMcpServerIamOrgOrgIdProjectProjectIdTaskMcpServerTaskMcpServerIdIamListMembersTypeEnum} [type]
|
|
31818
|
+
* @param {*} [options] Override http request option.
|
|
31819
|
+
* @throws {RequiredError}
|
|
31820
|
+
*/
|
|
31821
|
+
taskMcpServerIamOrgOrgIdProjectProjectIdTaskMcpServerTaskMcpServerIdIamListMembers: function (taskMcpServerId, orgId, projectId, type, options) {
|
|
31822
|
+
return localVarFp.taskMcpServerIamOrgOrgIdProjectProjectIdTaskMcpServerTaskMcpServerIdIamListMembers(taskMcpServerId, orgId, projectId, type, options).then(function (request) { return request(axios, basePath); });
|
|
31823
|
+
},
|
|
31824
|
+
/**
|
|
31825
|
+
* Test the permissions that the caller (or another subject) holds on the task_mcp_server.
|
|
31826
|
+
* @summary IAM - Test Task Mcp Server Permissions
|
|
31827
|
+
* @param {string} taskMcpServerId
|
|
31828
|
+
* @param {string} orgId The org id
|
|
31829
|
+
* @param {string} projectId The project id
|
|
31830
|
+
* @param {TaskMcpServerIAMPermissionTest} taskMcpServerIAMPermissionTest
|
|
31831
|
+
* @param {*} [options] Override http request option.
|
|
31832
|
+
* @throws {RequiredError}
|
|
31833
|
+
*/
|
|
31834
|
+
taskMcpServerIamOrgOrgIdProjectProjectIdTaskMcpServerTaskMcpServerIdIamTestPermissions: function (taskMcpServerId, orgId, projectId, taskMcpServerIAMPermissionTest, options) {
|
|
31835
|
+
return localVarFp.taskMcpServerIamOrgOrgIdProjectProjectIdTaskMcpServerTaskMcpServerIdIamTestPermissions(taskMcpServerId, orgId, projectId, taskMcpServerIAMPermissionTest, options).then(function (request) { return request(axios, basePath); });
|
|
31836
|
+
},
|
|
31837
|
+
/**
|
|
31838
|
+
* Update the roles that a member holds on the task_mcp_server.
|
|
31839
|
+
* @summary IAM - Update Task Mcp Server Member
|
|
31840
|
+
* @param {string} taskMcpServerId
|
|
31841
|
+
* @param {string} member
|
|
31842
|
+
* @param {string} orgId The org id
|
|
31843
|
+
* @param {string} projectId The project id
|
|
31844
|
+
* @param {TaskMcpServerIAMMemberRoleUpdate} taskMcpServerIAMMemberRoleUpdate
|
|
31845
|
+
* @param {*} [options] Override http request option.
|
|
31846
|
+
* @throws {RequiredError}
|
|
31847
|
+
*/
|
|
31848
|
+
taskMcpServerIamOrgOrgIdProjectProjectIdTaskMcpServerTaskMcpServerIdIamUpdateMemberRoles: function (taskMcpServerId, member, orgId, projectId, taskMcpServerIAMMemberRoleUpdate, options) {
|
|
31849
|
+
return localVarFp.taskMcpServerIamOrgOrgIdProjectProjectIdTaskMcpServerTaskMcpServerIdIamUpdateMemberRoles(taskMcpServerId, member, orgId, projectId, taskMcpServerIAMMemberRoleUpdate, options).then(function (request) { return request(axios, basePath); });
|
|
31850
|
+
},
|
|
30968
31851
|
/**
|
|
30969
31852
|
*
|
|
30970
31853
|
* @summary Update Task Mcp Server
|
|
@@ -31147,6 +32030,67 @@ var TaskMCPServersApi = /** @class */ (function (_super) {
|
|
|
31147
32030
|
var _this = this;
|
|
31148
32031
|
return (0, exports.TaskMCPServersApiFp)(this.configuration).refreshTaskMcpServer(taskMcpServerId, orgId, projectId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
31149
32032
|
};
|
|
32033
|
+
/**
|
|
32034
|
+
* Retrieve a specific member that has been granted direct access to the task_mcp_server.
|
|
32035
|
+
* @summary IAM - Lookup Task Mcp Server Member
|
|
32036
|
+
* @param {string} taskMcpServerId
|
|
32037
|
+
* @param {string} member
|
|
32038
|
+
* @param {string} orgId The org id
|
|
32039
|
+
* @param {string} projectId The project id
|
|
32040
|
+
* @param {*} [options] Override http request option.
|
|
32041
|
+
* @throws {RequiredError}
|
|
32042
|
+
* @memberof TaskMCPServersApi
|
|
32043
|
+
*/
|
|
32044
|
+
TaskMCPServersApi.prototype.taskMcpServerIamOrgOrgIdProjectProjectIdTaskMcpServerTaskMcpServerIdIamGetMember = function (taskMcpServerId, member, orgId, projectId, options) {
|
|
32045
|
+
var _this = this;
|
|
32046
|
+
return (0, exports.TaskMCPServersApiFp)(this.configuration).taskMcpServerIamOrgOrgIdProjectProjectIdTaskMcpServerTaskMcpServerIdIamGetMember(taskMcpServerId, member, orgId, projectId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
32047
|
+
};
|
|
32048
|
+
/**
|
|
32049
|
+
* Lists all members that have been granted direct access to the task_mcp_server.
|
|
32050
|
+
* @summary IAM - List Task Mcp Server Members
|
|
32051
|
+
* @param {string} taskMcpServerId
|
|
32052
|
+
* @param {string} orgId The org id
|
|
32053
|
+
* @param {string} projectId The project id
|
|
32054
|
+
* @param {TaskMcpServerIamOrgOrgIdProjectProjectIdTaskMcpServerTaskMcpServerIdIamListMembersTypeEnum} [type]
|
|
32055
|
+
* @param {*} [options] Override http request option.
|
|
32056
|
+
* @throws {RequiredError}
|
|
32057
|
+
* @memberof TaskMCPServersApi
|
|
32058
|
+
*/
|
|
32059
|
+
TaskMCPServersApi.prototype.taskMcpServerIamOrgOrgIdProjectProjectIdTaskMcpServerTaskMcpServerIdIamListMembers = function (taskMcpServerId, orgId, projectId, type, options) {
|
|
32060
|
+
var _this = this;
|
|
32061
|
+
return (0, exports.TaskMCPServersApiFp)(this.configuration).taskMcpServerIamOrgOrgIdProjectProjectIdTaskMcpServerTaskMcpServerIdIamListMembers(taskMcpServerId, orgId, projectId, type, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
32062
|
+
};
|
|
32063
|
+
/**
|
|
32064
|
+
* Test the permissions that the caller (or another subject) holds on the task_mcp_server.
|
|
32065
|
+
* @summary IAM - Test Task Mcp Server Permissions
|
|
32066
|
+
* @param {string} taskMcpServerId
|
|
32067
|
+
* @param {string} orgId The org id
|
|
32068
|
+
* @param {string} projectId The project id
|
|
32069
|
+
* @param {TaskMcpServerIAMPermissionTest} taskMcpServerIAMPermissionTest
|
|
32070
|
+
* @param {*} [options] Override http request option.
|
|
32071
|
+
* @throws {RequiredError}
|
|
32072
|
+
* @memberof TaskMCPServersApi
|
|
32073
|
+
*/
|
|
32074
|
+
TaskMCPServersApi.prototype.taskMcpServerIamOrgOrgIdProjectProjectIdTaskMcpServerTaskMcpServerIdIamTestPermissions = function (taskMcpServerId, orgId, projectId, taskMcpServerIAMPermissionTest, options) {
|
|
32075
|
+
var _this = this;
|
|
32076
|
+
return (0, exports.TaskMCPServersApiFp)(this.configuration).taskMcpServerIamOrgOrgIdProjectProjectIdTaskMcpServerTaskMcpServerIdIamTestPermissions(taskMcpServerId, orgId, projectId, taskMcpServerIAMPermissionTest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
32077
|
+
};
|
|
32078
|
+
/**
|
|
32079
|
+
* Update the roles that a member holds on the task_mcp_server.
|
|
32080
|
+
* @summary IAM - Update Task Mcp Server Member
|
|
32081
|
+
* @param {string} taskMcpServerId
|
|
32082
|
+
* @param {string} member
|
|
32083
|
+
* @param {string} orgId The org id
|
|
32084
|
+
* @param {string} projectId The project id
|
|
32085
|
+
* @param {TaskMcpServerIAMMemberRoleUpdate} taskMcpServerIAMMemberRoleUpdate
|
|
32086
|
+
* @param {*} [options] Override http request option.
|
|
32087
|
+
* @throws {RequiredError}
|
|
32088
|
+
* @memberof TaskMCPServersApi
|
|
32089
|
+
*/
|
|
32090
|
+
TaskMCPServersApi.prototype.taskMcpServerIamOrgOrgIdProjectProjectIdTaskMcpServerTaskMcpServerIdIamUpdateMemberRoles = function (taskMcpServerId, member, orgId, projectId, taskMcpServerIAMMemberRoleUpdate, options) {
|
|
32091
|
+
var _this = this;
|
|
32092
|
+
return (0, exports.TaskMCPServersApiFp)(this.configuration).taskMcpServerIamOrgOrgIdProjectProjectIdTaskMcpServerTaskMcpServerIdIamUpdateMemberRoles(taskMcpServerId, member, orgId, projectId, taskMcpServerIAMMemberRoleUpdate, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
32093
|
+
};
|
|
31150
32094
|
/**
|
|
31151
32095
|
*
|
|
31152
32096
|
* @summary Update Task Mcp Server
|
|
@@ -31165,6 +32109,14 @@ var TaskMCPServersApi = /** @class */ (function (_super) {
|
|
|
31165
32109
|
return TaskMCPServersApi;
|
|
31166
32110
|
}(base_1.BaseAPI));
|
|
31167
32111
|
exports.TaskMCPServersApi = TaskMCPServersApi;
|
|
32112
|
+
/**
|
|
32113
|
+
* @export
|
|
32114
|
+
*/
|
|
32115
|
+
exports.TaskMcpServerIamOrgOrgIdProjectProjectIdTaskMcpServerTaskMcpServerIdIamListMembersTypeEnum = {
|
|
32116
|
+
User: 'user',
|
|
32117
|
+
Organization: 'organization',
|
|
32118
|
+
Project: 'project'
|
|
32119
|
+
};
|
|
31168
32120
|
/**
|
|
31169
32121
|
* TaskMCPToolsApi - axios parameter creator
|
|
31170
32122
|
* @export
|