@rightbrain/brain-api-client 0.0.1-dev.137.c52b325 → 0.0.1-dev.139.bbe0a46
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 +706 -14
- package/dist/api.d.ts +528 -17
- package/dist/api.js +488 -13
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -76,11 +76,11 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
76
76
|
};
|
|
77
77
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
78
78
|
exports.OrganizationMemberAlreadyExistsErrorResponseReasonEnum = exports.OrganizationInviteAlreadyExistsErrorResponseReasonEnum = exports.OrganizationIAMPermissionTestPermissionsEnum = 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.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.
|
|
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 = void 0;
|
|
79
|
+
exports.TaskForwarderIAMPermissionTestPermissionsEnum = exports.TaskForwarderIAMMemberRoleUpdateRemoveEnum = exports.TaskForwarderIAMMemberRoleUpdateAddEnum = exports.TaskCreateTaskRunVisibilityEnum = exports.TaskAgentUsageReportAggregationEnum = exports.TaskAgentUpdateTaskAgentRunVisibilityEnum = exports.TaskAgentUpdateMemoryStrategyEnum = exports.TaskAgentTimingReportAggregationEnum = exports.TaskAgentRunStatus = 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 = void 0;
|
|
80
|
+
exports.ComposeApi = exports.ComposeApiFactory = exports.ComposeApiFp = exports.ComposeApiAxiosParamCreator = exports.CollectionIamOrgOrgIdProjectProjectIdCollectionCollectionIdIamListMembersTypeEnum = exports.CollectionsApi = exports.CollectionsApiFactory = 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.TaskMcpServerCatalogReadAuthModeEnum = exports.TaskMcpServerAuthStateReasonEnum = exports.TaskMcpServerAuthStateEnum = exports.TaskMcpAuthType = exports.TaskMcpAuthStrategy = exports.TaskIAMPermissionTestPermissionsEnum = exports.TaskIAMMemberRoleUpdateRemoveEnum = exports.TaskIAMMemberRoleUpdateAddEnum = void 0;
|
|
81
|
+
exports.OAuthClientsApi = exports.OAuthClientsApiFactory = exports.OAuthClientsApiFp = exports.OAuthClientsApiAxiosParamCreator = exports.MCPServersApi = exports.MCPServersApiFactory = exports.MCPServersApiFp = 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 = void 0;
|
|
82
|
+
exports.TaskAgentsApi = exports.TaskAgentsApiFactory = exports.TaskAgentsApiFp = exports.TaskAgentsApiAxiosParamCreator = exports.UpdateTagEntityTypeEnum = exports.RemoveTagFromEntitiesEntityTypeEnum = exports.ListTagsEntityTypeEnum = exports.GetTagEntityTypeEnum = 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 = 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.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;
|
|
84
84
|
var axios_1 = require("axios");
|
|
85
85
|
// Some imports not used depending on template conditions
|
|
86
86
|
// @ts-ignore
|
|
@@ -521,6 +521,7 @@ exports.ProjectIAMPermissionTestPermissionsEnum = {
|
|
|
521
521
|
CreateDocument: 'create_document',
|
|
522
522
|
CreateMcpServer: 'create_mcp_server',
|
|
523
523
|
CreateOauthClient: 'create_oauth_client',
|
|
524
|
+
CreateProjectIntegration: 'create_project_integration',
|
|
524
525
|
CreateTask: 'create_task',
|
|
525
526
|
CreateTaskAgent: 'create_task_agent',
|
|
526
527
|
CreateTaskForwarder: 'create_task_forwarder',
|
|
@@ -602,6 +603,27 @@ exports.ProjectTaskUsageReportAggregationEnum = {
|
|
|
602
603
|
Day: 'day',
|
|
603
604
|
Week: 'week'
|
|
604
605
|
};
|
|
606
|
+
exports.SkillIAMMemberRoleUpdateAddEnum = {
|
|
607
|
+
Editor: 'editor',
|
|
608
|
+
Owner: 'owner',
|
|
609
|
+
Viewer: 'viewer'
|
|
610
|
+
};
|
|
611
|
+
exports.SkillIAMMemberRoleUpdateRemoveEnum = {
|
|
612
|
+
Editor: 'editor',
|
|
613
|
+
Owner: 'owner',
|
|
614
|
+
Viewer: 'viewer'
|
|
615
|
+
};
|
|
616
|
+
exports.SkillIAMPermissionTestPermissionsEnum = {
|
|
617
|
+
AddEditor: 'add_editor',
|
|
618
|
+
AddMember: 'add_member',
|
|
619
|
+
AddOwner: 'add_owner',
|
|
620
|
+
Edit: 'edit',
|
|
621
|
+
RemoveEditor: 'remove_editor',
|
|
622
|
+
RemoveMember: 'remove_member',
|
|
623
|
+
RemoveOwner: 'remove_owner',
|
|
624
|
+
View: 'view',
|
|
625
|
+
ViewMembers: 'view_members'
|
|
626
|
+
};
|
|
605
627
|
/**
|
|
606
628
|
*
|
|
607
629
|
* @export
|
|
@@ -21508,7 +21530,7 @@ var SkillsApiAxiosParamCreator = function (configuration) {
|
|
|
21508
21530
|
});
|
|
21509
21531
|
},
|
|
21510
21532
|
/**
|
|
21511
|
-
* Retrieve the active revision content for a skill, including instructions, metadata,
|
|
21533
|
+
* Retrieve the active revision content for a skill, including instructions, metadata, available reference or asset filenames, and structured file content entries with body size.
|
|
21512
21534
|
* @summary Get Skill Content
|
|
21513
21535
|
* @param {string} skillId
|
|
21514
21536
|
* @param {*} [options] Override http request option.
|
|
@@ -21551,7 +21573,7 @@ var SkillsApiAxiosParamCreator = function (configuration) {
|
|
|
21551
21573
|
});
|
|
21552
21574
|
},
|
|
21553
21575
|
/**
|
|
21554
|
-
* Retrieve full content for a specific skill revision.
|
|
21576
|
+
* Retrieve full content for a specific skill revision, including structured reference and asset file bodies with size metadata.
|
|
21555
21577
|
* @summary Get Skill Revision
|
|
21556
21578
|
* @param {string} skillId
|
|
21557
21579
|
* @param {string} revisionId
|
|
@@ -21958,6 +21980,232 @@ var SkillsApiAxiosParamCreator = function (configuration) {
|
|
|
21958
21980
|
});
|
|
21959
21981
|
});
|
|
21960
21982
|
},
|
|
21983
|
+
/**
|
|
21984
|
+
* Retrieve a specific member that has been granted direct access to the skill.
|
|
21985
|
+
* @summary IAM - Lookup Skill Member
|
|
21986
|
+
* @param {string} skillId
|
|
21987
|
+
* @param {string} member
|
|
21988
|
+
* @param {string} orgId The org id
|
|
21989
|
+
* @param {string} projectId The project id
|
|
21990
|
+
* @param {*} [options] Override http request option.
|
|
21991
|
+
* @throws {RequiredError}
|
|
21992
|
+
*/
|
|
21993
|
+
skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamGetMember: function (skillId, member, orgId, projectId, options) {
|
|
21994
|
+
if (options === void 0) { options = {}; }
|
|
21995
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
21996
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
21997
|
+
return __generator(this, function (_a) {
|
|
21998
|
+
switch (_a.label) {
|
|
21999
|
+
case 0:
|
|
22000
|
+
// verify required parameter 'skillId' is not null or undefined
|
|
22001
|
+
(0, common_1.assertParamExists)('skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamGetMember', 'skillId', skillId);
|
|
22002
|
+
// verify required parameter 'member' is not null or undefined
|
|
22003
|
+
(0, common_1.assertParamExists)('skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamGetMember', 'member', member);
|
|
22004
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
22005
|
+
(0, common_1.assertParamExists)('skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamGetMember', 'orgId', orgId);
|
|
22006
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
22007
|
+
(0, common_1.assertParamExists)('skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamGetMember', 'projectId', projectId);
|
|
22008
|
+
localVarPath = "/org/{org_id}/project/{project_id}/skill/{skill_id}/iam/members/{member}"
|
|
22009
|
+
.replace("{".concat("skill_id", "}"), encodeURIComponent(String(skillId)))
|
|
22010
|
+
.replace("{".concat("member", "}"), encodeURIComponent(String(member)))
|
|
22011
|
+
.replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
|
|
22012
|
+
.replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)));
|
|
22013
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
22014
|
+
if (configuration) {
|
|
22015
|
+
baseOptions = configuration.baseOptions;
|
|
22016
|
+
}
|
|
22017
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
22018
|
+
localVarHeaderParameter = {};
|
|
22019
|
+
localVarQueryParameter = {};
|
|
22020
|
+
// authentication HTTPBearer required
|
|
22021
|
+
// http bearer authentication required
|
|
22022
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
22023
|
+
case 1:
|
|
22024
|
+
// authentication HTTPBearer required
|
|
22025
|
+
// http bearer authentication required
|
|
22026
|
+
_a.sent();
|
|
22027
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
22028
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22029
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
22030
|
+
return [2 /*return*/, {
|
|
22031
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
22032
|
+
options: localVarRequestOptions,
|
|
22033
|
+
}];
|
|
22034
|
+
}
|
|
22035
|
+
});
|
|
22036
|
+
});
|
|
22037
|
+
},
|
|
22038
|
+
/**
|
|
22039
|
+
* Lists all members that have been granted direct access to the skill.
|
|
22040
|
+
* @summary IAM - List Skill Members
|
|
22041
|
+
* @param {string} skillId
|
|
22042
|
+
* @param {string} orgId The org id
|
|
22043
|
+
* @param {string} projectId The project id
|
|
22044
|
+
* @param {SkillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembersTypeEnum} [type]
|
|
22045
|
+
* @param {*} [options] Override http request option.
|
|
22046
|
+
* @throws {RequiredError}
|
|
22047
|
+
*/
|
|
22048
|
+
skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembers: function (skillId, orgId, projectId, type, options) {
|
|
22049
|
+
if (options === void 0) { options = {}; }
|
|
22050
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
22051
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
22052
|
+
return __generator(this, function (_a) {
|
|
22053
|
+
switch (_a.label) {
|
|
22054
|
+
case 0:
|
|
22055
|
+
// verify required parameter 'skillId' is not null or undefined
|
|
22056
|
+
(0, common_1.assertParamExists)('skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembers', 'skillId', skillId);
|
|
22057
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
22058
|
+
(0, common_1.assertParamExists)('skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembers', 'orgId', orgId);
|
|
22059
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
22060
|
+
(0, common_1.assertParamExists)('skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembers', 'projectId', projectId);
|
|
22061
|
+
localVarPath = "/org/{org_id}/project/{project_id}/skill/{skill_id}/iam/members"
|
|
22062
|
+
.replace("{".concat("skill_id", "}"), encodeURIComponent(String(skillId)))
|
|
22063
|
+
.replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
|
|
22064
|
+
.replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)));
|
|
22065
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
22066
|
+
if (configuration) {
|
|
22067
|
+
baseOptions = configuration.baseOptions;
|
|
22068
|
+
}
|
|
22069
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
22070
|
+
localVarHeaderParameter = {};
|
|
22071
|
+
localVarQueryParameter = {};
|
|
22072
|
+
// authentication HTTPBearer required
|
|
22073
|
+
// http bearer authentication required
|
|
22074
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
22075
|
+
case 1:
|
|
22076
|
+
// authentication HTTPBearer required
|
|
22077
|
+
// http bearer authentication required
|
|
22078
|
+
_a.sent();
|
|
22079
|
+
if (type !== undefined) {
|
|
22080
|
+
localVarQueryParameter['type'] = type;
|
|
22081
|
+
}
|
|
22082
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
22083
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22084
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
22085
|
+
return [2 /*return*/, {
|
|
22086
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
22087
|
+
options: localVarRequestOptions,
|
|
22088
|
+
}];
|
|
22089
|
+
}
|
|
22090
|
+
});
|
|
22091
|
+
});
|
|
22092
|
+
},
|
|
22093
|
+
/**
|
|
22094
|
+
* Test the permissions that the caller (or another subject) holds on the skill.
|
|
22095
|
+
* @summary IAM - Test Skill Permissions
|
|
22096
|
+
* @param {string} skillId
|
|
22097
|
+
* @param {string} orgId The org id
|
|
22098
|
+
* @param {string} projectId The project id
|
|
22099
|
+
* @param {SkillIAMPermissionTest} skillIAMPermissionTest
|
|
22100
|
+
* @param {*} [options] Override http request option.
|
|
22101
|
+
* @throws {RequiredError}
|
|
22102
|
+
*/
|
|
22103
|
+
skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamTestPermissions: function (skillId, orgId, projectId, skillIAMPermissionTest, options) {
|
|
22104
|
+
if (options === void 0) { options = {}; }
|
|
22105
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
22106
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
22107
|
+
return __generator(this, function (_a) {
|
|
22108
|
+
switch (_a.label) {
|
|
22109
|
+
case 0:
|
|
22110
|
+
// verify required parameter 'skillId' is not null or undefined
|
|
22111
|
+
(0, common_1.assertParamExists)('skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamTestPermissions', 'skillId', skillId);
|
|
22112
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
22113
|
+
(0, common_1.assertParamExists)('skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamTestPermissions', 'orgId', orgId);
|
|
22114
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
22115
|
+
(0, common_1.assertParamExists)('skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamTestPermissions', 'projectId', projectId);
|
|
22116
|
+
// verify required parameter 'skillIAMPermissionTest' is not null or undefined
|
|
22117
|
+
(0, common_1.assertParamExists)('skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamTestPermissions', 'skillIAMPermissionTest', skillIAMPermissionTest);
|
|
22118
|
+
localVarPath = "/org/{org_id}/project/{project_id}/skill/{skill_id}/iam/test"
|
|
22119
|
+
.replace("{".concat("skill_id", "}"), encodeURIComponent(String(skillId)))
|
|
22120
|
+
.replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
|
|
22121
|
+
.replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)));
|
|
22122
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
22123
|
+
if (configuration) {
|
|
22124
|
+
baseOptions = configuration.baseOptions;
|
|
22125
|
+
}
|
|
22126
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
22127
|
+
localVarHeaderParameter = {};
|
|
22128
|
+
localVarQueryParameter = {};
|
|
22129
|
+
// authentication HTTPBearer required
|
|
22130
|
+
// http bearer authentication required
|
|
22131
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
22132
|
+
case 1:
|
|
22133
|
+
// authentication HTTPBearer required
|
|
22134
|
+
// http bearer authentication required
|
|
22135
|
+
_a.sent();
|
|
22136
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
22137
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
22138
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22139
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
22140
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(skillIAMPermissionTest, localVarRequestOptions, configuration);
|
|
22141
|
+
return [2 /*return*/, {
|
|
22142
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
22143
|
+
options: localVarRequestOptions,
|
|
22144
|
+
}];
|
|
22145
|
+
}
|
|
22146
|
+
});
|
|
22147
|
+
});
|
|
22148
|
+
},
|
|
22149
|
+
/**
|
|
22150
|
+
* Update the roles that a member holds on the skill.
|
|
22151
|
+
* @summary IAM - Update Skill Member
|
|
22152
|
+
* @param {string} skillId
|
|
22153
|
+
* @param {string} member
|
|
22154
|
+
* @param {string} orgId The org id
|
|
22155
|
+
* @param {string} projectId The project id
|
|
22156
|
+
* @param {SkillIAMMemberRoleUpdate} skillIAMMemberRoleUpdate
|
|
22157
|
+
* @param {*} [options] Override http request option.
|
|
22158
|
+
* @throws {RequiredError}
|
|
22159
|
+
*/
|
|
22160
|
+
skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamUpdateMemberRoles: function (skillId, member, orgId, projectId, skillIAMMemberRoleUpdate, options) {
|
|
22161
|
+
if (options === void 0) { options = {}; }
|
|
22162
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
22163
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
22164
|
+
return __generator(this, function (_a) {
|
|
22165
|
+
switch (_a.label) {
|
|
22166
|
+
case 0:
|
|
22167
|
+
// verify required parameter 'skillId' is not null or undefined
|
|
22168
|
+
(0, common_1.assertParamExists)('skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamUpdateMemberRoles', 'skillId', skillId);
|
|
22169
|
+
// verify required parameter 'member' is not null or undefined
|
|
22170
|
+
(0, common_1.assertParamExists)('skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamUpdateMemberRoles', 'member', member);
|
|
22171
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
22172
|
+
(0, common_1.assertParamExists)('skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamUpdateMemberRoles', 'orgId', orgId);
|
|
22173
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
22174
|
+
(0, common_1.assertParamExists)('skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamUpdateMemberRoles', 'projectId', projectId);
|
|
22175
|
+
// verify required parameter 'skillIAMMemberRoleUpdate' is not null or undefined
|
|
22176
|
+
(0, common_1.assertParamExists)('skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamUpdateMemberRoles', 'skillIAMMemberRoleUpdate', skillIAMMemberRoleUpdate);
|
|
22177
|
+
localVarPath = "/org/{org_id}/project/{project_id}/skill/{skill_id}/iam/members/{member}"
|
|
22178
|
+
.replace("{".concat("skill_id", "}"), encodeURIComponent(String(skillId)))
|
|
22179
|
+
.replace("{".concat("member", "}"), encodeURIComponent(String(member)))
|
|
22180
|
+
.replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
|
|
22181
|
+
.replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)));
|
|
22182
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
22183
|
+
if (configuration) {
|
|
22184
|
+
baseOptions = configuration.baseOptions;
|
|
22185
|
+
}
|
|
22186
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
22187
|
+
localVarHeaderParameter = {};
|
|
22188
|
+
localVarQueryParameter = {};
|
|
22189
|
+
// authentication HTTPBearer required
|
|
22190
|
+
// http bearer authentication required
|
|
22191
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
22192
|
+
case 1:
|
|
22193
|
+
// authentication HTTPBearer required
|
|
22194
|
+
// http bearer authentication required
|
|
22195
|
+
_a.sent();
|
|
22196
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
22197
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
22198
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22199
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
22200
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(skillIAMMemberRoleUpdate, localVarRequestOptions, configuration);
|
|
22201
|
+
return [2 /*return*/, {
|
|
22202
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
22203
|
+
options: localVarRequestOptions,
|
|
22204
|
+
}];
|
|
22205
|
+
}
|
|
22206
|
+
});
|
|
22207
|
+
});
|
|
22208
|
+
},
|
|
21961
22209
|
/**
|
|
21962
22210
|
* Update project-scoped skill metadata.
|
|
21963
22211
|
* @summary Update Project Skill
|
|
@@ -22226,7 +22474,7 @@ var SkillsApiFp = function (configuration) {
|
|
|
22226
22474
|
});
|
|
22227
22475
|
},
|
|
22228
22476
|
/**
|
|
22229
|
-
* Retrieve the active revision content for a skill, including instructions, metadata,
|
|
22477
|
+
* Retrieve the active revision content for a skill, including instructions, metadata, available reference or asset filenames, and structured file content entries with body size.
|
|
22230
22478
|
* @summary Get Skill Content
|
|
22231
22479
|
* @param {string} skillId
|
|
22232
22480
|
* @param {*} [options] Override http request option.
|
|
@@ -22249,7 +22497,7 @@ var SkillsApiFp = function (configuration) {
|
|
|
22249
22497
|
});
|
|
22250
22498
|
},
|
|
22251
22499
|
/**
|
|
22252
|
-
* Retrieve full content for a specific skill revision.
|
|
22500
|
+
* Retrieve full content for a specific skill revision, including structured reference and asset file bodies with size metadata.
|
|
22253
22501
|
* @summary Get Skill Revision
|
|
22254
22502
|
* @param {string} skillId
|
|
22255
22503
|
* @param {string} revisionId
|
|
@@ -22448,6 +22696,111 @@ var SkillsApiFp = function (configuration) {
|
|
|
22448
22696
|
});
|
|
22449
22697
|
});
|
|
22450
22698
|
},
|
|
22699
|
+
/**
|
|
22700
|
+
* Retrieve a specific member that has been granted direct access to the skill.
|
|
22701
|
+
* @summary IAM - Lookup Skill Member
|
|
22702
|
+
* @param {string} skillId
|
|
22703
|
+
* @param {string} member
|
|
22704
|
+
* @param {string} orgId The org id
|
|
22705
|
+
* @param {string} projectId The project id
|
|
22706
|
+
* @param {*} [options] Override http request option.
|
|
22707
|
+
* @throws {RequiredError}
|
|
22708
|
+
*/
|
|
22709
|
+
skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamGetMember: function (skillId, member, orgId, projectId, options) {
|
|
22710
|
+
var _a, _b, _c;
|
|
22711
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
22712
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
22713
|
+
return __generator(this, function (_d) {
|
|
22714
|
+
switch (_d.label) {
|
|
22715
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamGetMember(skillId, member, orgId, projectId, options)];
|
|
22716
|
+
case 1:
|
|
22717
|
+
localVarAxiosArgs = _d.sent();
|
|
22718
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
22719
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SkillsApi.skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamGetMember']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
22720
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
22721
|
+
}
|
|
22722
|
+
});
|
|
22723
|
+
});
|
|
22724
|
+
},
|
|
22725
|
+
/**
|
|
22726
|
+
* Lists all members that have been granted direct access to the skill.
|
|
22727
|
+
* @summary IAM - List Skill Members
|
|
22728
|
+
* @param {string} skillId
|
|
22729
|
+
* @param {string} orgId The org id
|
|
22730
|
+
* @param {string} projectId The project id
|
|
22731
|
+
* @param {SkillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembersTypeEnum} [type]
|
|
22732
|
+
* @param {*} [options] Override http request option.
|
|
22733
|
+
* @throws {RequiredError}
|
|
22734
|
+
*/
|
|
22735
|
+
skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembers: function (skillId, orgId, projectId, type, options) {
|
|
22736
|
+
var _a, _b, _c;
|
|
22737
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
22738
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
22739
|
+
return __generator(this, function (_d) {
|
|
22740
|
+
switch (_d.label) {
|
|
22741
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembers(skillId, orgId, projectId, type, options)];
|
|
22742
|
+
case 1:
|
|
22743
|
+
localVarAxiosArgs = _d.sent();
|
|
22744
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
22745
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SkillsApi.skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
22746
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
22747
|
+
}
|
|
22748
|
+
});
|
|
22749
|
+
});
|
|
22750
|
+
},
|
|
22751
|
+
/**
|
|
22752
|
+
* Test the permissions that the caller (or another subject) holds on the skill.
|
|
22753
|
+
* @summary IAM - Test Skill Permissions
|
|
22754
|
+
* @param {string} skillId
|
|
22755
|
+
* @param {string} orgId The org id
|
|
22756
|
+
* @param {string} projectId The project id
|
|
22757
|
+
* @param {SkillIAMPermissionTest} skillIAMPermissionTest
|
|
22758
|
+
* @param {*} [options] Override http request option.
|
|
22759
|
+
* @throws {RequiredError}
|
|
22760
|
+
*/
|
|
22761
|
+
skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamTestPermissions: function (skillId, orgId, projectId, skillIAMPermissionTest, options) {
|
|
22762
|
+
var _a, _b, _c;
|
|
22763
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
22764
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
22765
|
+
return __generator(this, function (_d) {
|
|
22766
|
+
switch (_d.label) {
|
|
22767
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamTestPermissions(skillId, orgId, projectId, skillIAMPermissionTest, options)];
|
|
22768
|
+
case 1:
|
|
22769
|
+
localVarAxiosArgs = _d.sent();
|
|
22770
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
22771
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SkillsApi.skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamTestPermissions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
22772
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
22773
|
+
}
|
|
22774
|
+
});
|
|
22775
|
+
});
|
|
22776
|
+
},
|
|
22777
|
+
/**
|
|
22778
|
+
* Update the roles that a member holds on the skill.
|
|
22779
|
+
* @summary IAM - Update Skill Member
|
|
22780
|
+
* @param {string} skillId
|
|
22781
|
+
* @param {string} member
|
|
22782
|
+
* @param {string} orgId The org id
|
|
22783
|
+
* @param {string} projectId The project id
|
|
22784
|
+
* @param {SkillIAMMemberRoleUpdate} skillIAMMemberRoleUpdate
|
|
22785
|
+
* @param {*} [options] Override http request option.
|
|
22786
|
+
* @throws {RequiredError}
|
|
22787
|
+
*/
|
|
22788
|
+
skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamUpdateMemberRoles: function (skillId, member, orgId, projectId, skillIAMMemberRoleUpdate, options) {
|
|
22789
|
+
var _a, _b, _c;
|
|
22790
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
22791
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
22792
|
+
return __generator(this, function (_d) {
|
|
22793
|
+
switch (_d.label) {
|
|
22794
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamUpdateMemberRoles(skillId, member, orgId, projectId, skillIAMMemberRoleUpdate, options)];
|
|
22795
|
+
case 1:
|
|
22796
|
+
localVarAxiosArgs = _d.sent();
|
|
22797
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
22798
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SkillsApi.skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamUpdateMemberRoles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
22799
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
22800
|
+
}
|
|
22801
|
+
});
|
|
22802
|
+
});
|
|
22803
|
+
},
|
|
22451
22804
|
/**
|
|
22452
22805
|
* Update project-scoped skill metadata.
|
|
22453
22806
|
* @summary Update Project Skill
|
|
@@ -22582,7 +22935,7 @@ var SkillsApiFactory = function (configuration, basePath, axios) {
|
|
|
22582
22935
|
return localVarFp.getSkill(skillId, options).then(function (request) { return request(axios, basePath); });
|
|
22583
22936
|
},
|
|
22584
22937
|
/**
|
|
22585
|
-
* Retrieve the active revision content for a skill, including instructions, metadata,
|
|
22938
|
+
* Retrieve the active revision content for a skill, including instructions, metadata, available reference or asset filenames, and structured file content entries with body size.
|
|
22586
22939
|
* @summary Get Skill Content
|
|
22587
22940
|
* @param {string} skillId
|
|
22588
22941
|
* @param {*} [options] Override http request option.
|
|
@@ -22592,7 +22945,7 @@ var SkillsApiFactory = function (configuration, basePath, axios) {
|
|
|
22592
22945
|
return localVarFp.getSkillContent(skillId, options).then(function (request) { return request(axios, basePath); });
|
|
22593
22946
|
},
|
|
22594
22947
|
/**
|
|
22595
|
-
* Retrieve full content for a specific skill revision.
|
|
22948
|
+
* Retrieve full content for a specific skill revision, including structured reference and asset file bodies with size metadata.
|
|
22596
22949
|
* @summary Get Skill Revision
|
|
22597
22950
|
* @param {string} skillId
|
|
22598
22951
|
* @param {string} revisionId
|
|
@@ -22687,6 +23040,59 @@ var SkillsApiFactory = function (configuration, basePath, axios) {
|
|
|
22687
23040
|
listSkills: function (pageLimit, cursor, source, search, tag, tags, options) {
|
|
22688
23041
|
return localVarFp.listSkills(pageLimit, cursor, source, search, tag, tags, options).then(function (request) { return request(axios, basePath); });
|
|
22689
23042
|
},
|
|
23043
|
+
/**
|
|
23044
|
+
* Retrieve a specific member that has been granted direct access to the skill.
|
|
23045
|
+
* @summary IAM - Lookup Skill Member
|
|
23046
|
+
* @param {string} skillId
|
|
23047
|
+
* @param {string} member
|
|
23048
|
+
* @param {string} orgId The org id
|
|
23049
|
+
* @param {string} projectId The project id
|
|
23050
|
+
* @param {*} [options] Override http request option.
|
|
23051
|
+
* @throws {RequiredError}
|
|
23052
|
+
*/
|
|
23053
|
+
skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamGetMember: function (skillId, member, orgId, projectId, options) {
|
|
23054
|
+
return localVarFp.skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamGetMember(skillId, member, orgId, projectId, options).then(function (request) { return request(axios, basePath); });
|
|
23055
|
+
},
|
|
23056
|
+
/**
|
|
23057
|
+
* Lists all members that have been granted direct access to the skill.
|
|
23058
|
+
* @summary IAM - List Skill Members
|
|
23059
|
+
* @param {string} skillId
|
|
23060
|
+
* @param {string} orgId The org id
|
|
23061
|
+
* @param {string} projectId The project id
|
|
23062
|
+
* @param {SkillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembersTypeEnum} [type]
|
|
23063
|
+
* @param {*} [options] Override http request option.
|
|
23064
|
+
* @throws {RequiredError}
|
|
23065
|
+
*/
|
|
23066
|
+
skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembers: function (skillId, orgId, projectId, type, options) {
|
|
23067
|
+
return localVarFp.skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembers(skillId, orgId, projectId, type, options).then(function (request) { return request(axios, basePath); });
|
|
23068
|
+
},
|
|
23069
|
+
/**
|
|
23070
|
+
* Test the permissions that the caller (or another subject) holds on the skill.
|
|
23071
|
+
* @summary IAM - Test Skill Permissions
|
|
23072
|
+
* @param {string} skillId
|
|
23073
|
+
* @param {string} orgId The org id
|
|
23074
|
+
* @param {string} projectId The project id
|
|
23075
|
+
* @param {SkillIAMPermissionTest} skillIAMPermissionTest
|
|
23076
|
+
* @param {*} [options] Override http request option.
|
|
23077
|
+
* @throws {RequiredError}
|
|
23078
|
+
*/
|
|
23079
|
+
skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamTestPermissions: function (skillId, orgId, projectId, skillIAMPermissionTest, options) {
|
|
23080
|
+
return localVarFp.skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamTestPermissions(skillId, orgId, projectId, skillIAMPermissionTest, options).then(function (request) { return request(axios, basePath); });
|
|
23081
|
+
},
|
|
23082
|
+
/**
|
|
23083
|
+
* Update the roles that a member holds on the skill.
|
|
23084
|
+
* @summary IAM - Update Skill Member
|
|
23085
|
+
* @param {string} skillId
|
|
23086
|
+
* @param {string} member
|
|
23087
|
+
* @param {string} orgId The org id
|
|
23088
|
+
* @param {string} projectId The project id
|
|
23089
|
+
* @param {SkillIAMMemberRoleUpdate} skillIAMMemberRoleUpdate
|
|
23090
|
+
* @param {*} [options] Override http request option.
|
|
23091
|
+
* @throws {RequiredError}
|
|
23092
|
+
*/
|
|
23093
|
+
skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamUpdateMemberRoles: function (skillId, member, orgId, projectId, skillIAMMemberRoleUpdate, options) {
|
|
23094
|
+
return localVarFp.skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamUpdateMemberRoles(skillId, member, orgId, projectId, skillIAMMemberRoleUpdate, options).then(function (request) { return request(axios, basePath); });
|
|
23095
|
+
},
|
|
22690
23096
|
/**
|
|
22691
23097
|
* Update project-scoped skill metadata.
|
|
22692
23098
|
* @summary Update Project Skill
|
|
@@ -22828,7 +23234,7 @@ var SkillsApi = /** @class */ (function (_super) {
|
|
|
22828
23234
|
return (0, exports.SkillsApiFp)(this.configuration).getSkill(skillId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
22829
23235
|
};
|
|
22830
23236
|
/**
|
|
22831
|
-
* Retrieve the active revision content for a skill, including instructions, metadata,
|
|
23237
|
+
* Retrieve the active revision content for a skill, including instructions, metadata, available reference or asset filenames, and structured file content entries with body size.
|
|
22832
23238
|
* @summary Get Skill Content
|
|
22833
23239
|
* @param {string} skillId
|
|
22834
23240
|
* @param {*} [options] Override http request option.
|
|
@@ -22840,7 +23246,7 @@ var SkillsApi = /** @class */ (function (_super) {
|
|
|
22840
23246
|
return (0, exports.SkillsApiFp)(this.configuration).getSkillContent(skillId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
22841
23247
|
};
|
|
22842
23248
|
/**
|
|
22843
|
-
* Retrieve full content for a specific skill revision.
|
|
23249
|
+
* Retrieve full content for a specific skill revision, including structured reference and asset file bodies with size metadata.
|
|
22844
23250
|
* @summary Get Skill Revision
|
|
22845
23251
|
* @param {string} skillId
|
|
22846
23252
|
* @param {string} revisionId
|
|
@@ -22951,6 +23357,67 @@ var SkillsApi = /** @class */ (function (_super) {
|
|
|
22951
23357
|
var _this = this;
|
|
22952
23358
|
return (0, exports.SkillsApiFp)(this.configuration).listSkills(pageLimit, cursor, source, search, tag, tags, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
22953
23359
|
};
|
|
23360
|
+
/**
|
|
23361
|
+
* Retrieve a specific member that has been granted direct access to the skill.
|
|
23362
|
+
* @summary IAM - Lookup Skill Member
|
|
23363
|
+
* @param {string} skillId
|
|
23364
|
+
* @param {string} member
|
|
23365
|
+
* @param {string} orgId The org id
|
|
23366
|
+
* @param {string} projectId The project id
|
|
23367
|
+
* @param {*} [options] Override http request option.
|
|
23368
|
+
* @throws {RequiredError}
|
|
23369
|
+
* @memberof SkillsApi
|
|
23370
|
+
*/
|
|
23371
|
+
SkillsApi.prototype.skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamGetMember = function (skillId, member, orgId, projectId, options) {
|
|
23372
|
+
var _this = this;
|
|
23373
|
+
return (0, exports.SkillsApiFp)(this.configuration).skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamGetMember(skillId, member, orgId, projectId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
23374
|
+
};
|
|
23375
|
+
/**
|
|
23376
|
+
* Lists all members that have been granted direct access to the skill.
|
|
23377
|
+
* @summary IAM - List Skill Members
|
|
23378
|
+
* @param {string} skillId
|
|
23379
|
+
* @param {string} orgId The org id
|
|
23380
|
+
* @param {string} projectId The project id
|
|
23381
|
+
* @param {SkillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembersTypeEnum} [type]
|
|
23382
|
+
* @param {*} [options] Override http request option.
|
|
23383
|
+
* @throws {RequiredError}
|
|
23384
|
+
* @memberof SkillsApi
|
|
23385
|
+
*/
|
|
23386
|
+
SkillsApi.prototype.skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembers = function (skillId, orgId, projectId, type, options) {
|
|
23387
|
+
var _this = this;
|
|
23388
|
+
return (0, exports.SkillsApiFp)(this.configuration).skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembers(skillId, orgId, projectId, type, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
23389
|
+
};
|
|
23390
|
+
/**
|
|
23391
|
+
* Test the permissions that the caller (or another subject) holds on the skill.
|
|
23392
|
+
* @summary IAM - Test Skill Permissions
|
|
23393
|
+
* @param {string} skillId
|
|
23394
|
+
* @param {string} orgId The org id
|
|
23395
|
+
* @param {string} projectId The project id
|
|
23396
|
+
* @param {SkillIAMPermissionTest} skillIAMPermissionTest
|
|
23397
|
+
* @param {*} [options] Override http request option.
|
|
23398
|
+
* @throws {RequiredError}
|
|
23399
|
+
* @memberof SkillsApi
|
|
23400
|
+
*/
|
|
23401
|
+
SkillsApi.prototype.skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamTestPermissions = function (skillId, orgId, projectId, skillIAMPermissionTest, options) {
|
|
23402
|
+
var _this = this;
|
|
23403
|
+
return (0, exports.SkillsApiFp)(this.configuration).skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamTestPermissions(skillId, orgId, projectId, skillIAMPermissionTest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
23404
|
+
};
|
|
23405
|
+
/**
|
|
23406
|
+
* Update the roles that a member holds on the skill.
|
|
23407
|
+
* @summary IAM - Update Skill Member
|
|
23408
|
+
* @param {string} skillId
|
|
23409
|
+
* @param {string} member
|
|
23410
|
+
* @param {string} orgId The org id
|
|
23411
|
+
* @param {string} projectId The project id
|
|
23412
|
+
* @param {SkillIAMMemberRoleUpdate} skillIAMMemberRoleUpdate
|
|
23413
|
+
* @param {*} [options] Override http request option.
|
|
23414
|
+
* @throws {RequiredError}
|
|
23415
|
+
* @memberof SkillsApi
|
|
23416
|
+
*/
|
|
23417
|
+
SkillsApi.prototype.skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamUpdateMemberRoles = function (skillId, member, orgId, projectId, skillIAMMemberRoleUpdate, options) {
|
|
23418
|
+
var _this = this;
|
|
23419
|
+
return (0, exports.SkillsApiFp)(this.configuration).skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamUpdateMemberRoles(skillId, member, orgId, projectId, skillIAMMemberRoleUpdate, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
23420
|
+
};
|
|
22954
23421
|
/**
|
|
22955
23422
|
* Update project-scoped skill metadata.
|
|
22956
23423
|
* @summary Update Project Skill
|
|
@@ -22969,6 +23436,14 @@ var SkillsApi = /** @class */ (function (_super) {
|
|
|
22969
23436
|
return SkillsApi;
|
|
22970
23437
|
}(base_1.BaseAPI));
|
|
22971
23438
|
exports.SkillsApi = SkillsApi;
|
|
23439
|
+
/**
|
|
23440
|
+
* @export
|
|
23441
|
+
*/
|
|
23442
|
+
exports.SkillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembersTypeEnum = {
|
|
23443
|
+
User: 'user',
|
|
23444
|
+
Organization: 'organization',
|
|
23445
|
+
Project: 'project'
|
|
23446
|
+
};
|
|
22972
23447
|
/**
|
|
22973
23448
|
* SlackApi - axios parameter creator
|
|
22974
23449
|
* @export
|