@rightbrain/brain-api-client 0.0.1-dev.136.cf3a114 → 0.0.1-dev.138.8c91403
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 +686 -6
- package/dist/api.d.ts +508 -9
- package/dist/api.js +480 -5
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -7201,6 +7201,7 @@ export const ProjectIAMPermissionTestPermissionsEnum = {
|
|
|
7201
7201
|
CreateDocument: 'create_document',
|
|
7202
7202
|
CreateMcpServer: 'create_mcp_server',
|
|
7203
7203
|
CreateOauthClient: 'create_oauth_client',
|
|
7204
|
+
CreateProjectIntegration: 'create_project_integration',
|
|
7204
7205
|
CreateTask: 'create_task',
|
|
7205
7206
|
CreateTaskAgent: 'create_task_agent',
|
|
7206
7207
|
CreateTaskForwarder: 'create_task_forwarder',
|
|
@@ -7415,6 +7416,67 @@ export const ProjectIntegrationReadAuthTypeEnum = {
|
|
|
7415
7416
|
|
|
7416
7417
|
export type ProjectIntegrationReadAuthTypeEnum = typeof ProjectIntegrationReadAuthTypeEnum[keyof typeof ProjectIntegrationReadAuthTypeEnum];
|
|
7417
7418
|
|
|
7419
|
+
/**
|
|
7420
|
+
*
|
|
7421
|
+
* @export
|
|
7422
|
+
* @interface ProjectSkillContentRead
|
|
7423
|
+
*/
|
|
7424
|
+
export interface ProjectSkillContentRead {
|
|
7425
|
+
/**
|
|
7426
|
+
*
|
|
7427
|
+
* @type {string}
|
|
7428
|
+
* @memberof ProjectSkillContentRead
|
|
7429
|
+
*/
|
|
7430
|
+
'id': string;
|
|
7431
|
+
/**
|
|
7432
|
+
*
|
|
7433
|
+
* @type {string}
|
|
7434
|
+
* @memberof ProjectSkillContentRead
|
|
7435
|
+
*/
|
|
7436
|
+
'slug': string;
|
|
7437
|
+
/**
|
|
7438
|
+
*
|
|
7439
|
+
* @type {string}
|
|
7440
|
+
* @memberof ProjectSkillContentRead
|
|
7441
|
+
*/
|
|
7442
|
+
'display_name': string;
|
|
7443
|
+
/**
|
|
7444
|
+
*
|
|
7445
|
+
* @type {string}
|
|
7446
|
+
* @memberof ProjectSkillContentRead
|
|
7447
|
+
*/
|
|
7448
|
+
'description': string | null;
|
|
7449
|
+
/**
|
|
7450
|
+
*
|
|
7451
|
+
* @type {string}
|
|
7452
|
+
* @memberof ProjectSkillContentRead
|
|
7453
|
+
*/
|
|
7454
|
+
'license': string | null;
|
|
7455
|
+
/**
|
|
7456
|
+
*
|
|
7457
|
+
* @type {string}
|
|
7458
|
+
* @memberof ProjectSkillContentRead
|
|
7459
|
+
*/
|
|
7460
|
+
'compatibility': string | null;
|
|
7461
|
+
/**
|
|
7462
|
+
*
|
|
7463
|
+
* @type {SkillSourceRead}
|
|
7464
|
+
* @memberof ProjectSkillContentRead
|
|
7465
|
+
*/
|
|
7466
|
+
'source': SkillSourceRead;
|
|
7467
|
+
/**
|
|
7468
|
+
*
|
|
7469
|
+
* @type {Array<string>}
|
|
7470
|
+
* @memberof ProjectSkillContentRead
|
|
7471
|
+
*/
|
|
7472
|
+
'tags': Array<string>;
|
|
7473
|
+
/**
|
|
7474
|
+
*
|
|
7475
|
+
* @type {ProjectSkillRevisionContent}
|
|
7476
|
+
* @memberof ProjectSkillContentRead
|
|
7477
|
+
*/
|
|
7478
|
+
'active_revision': ProjectSkillRevisionContent;
|
|
7479
|
+
}
|
|
7418
7480
|
/**
|
|
7419
7481
|
* Schema for creating a project-scoped skill and its initial revision.
|
|
7420
7482
|
* @export
|
|
@@ -7585,6 +7647,85 @@ export interface ProjectSkillRead {
|
|
|
7585
7647
|
*/
|
|
7586
7648
|
'created_by_user_id': string | null;
|
|
7587
7649
|
}
|
|
7650
|
+
/**
|
|
7651
|
+
*
|
|
7652
|
+
* @export
|
|
7653
|
+
* @interface ProjectSkillRevisionContent
|
|
7654
|
+
*/
|
|
7655
|
+
export interface ProjectSkillRevisionContent {
|
|
7656
|
+
/**
|
|
7657
|
+
*
|
|
7658
|
+
* @type {string}
|
|
7659
|
+
* @memberof ProjectSkillRevisionContent
|
|
7660
|
+
*/
|
|
7661
|
+
'id': string;
|
|
7662
|
+
/**
|
|
7663
|
+
*
|
|
7664
|
+
* @type {string}
|
|
7665
|
+
* @memberof ProjectSkillRevisionContent
|
|
7666
|
+
*/
|
|
7667
|
+
'skill_id': string;
|
|
7668
|
+
/**
|
|
7669
|
+
*
|
|
7670
|
+
* @type {string}
|
|
7671
|
+
* @memberof ProjectSkillRevisionContent
|
|
7672
|
+
*/
|
|
7673
|
+
'instructions': string;
|
|
7674
|
+
/**
|
|
7675
|
+
*
|
|
7676
|
+
* @type {{ [key: string]: any; }}
|
|
7677
|
+
* @memberof ProjectSkillRevisionContent
|
|
7678
|
+
*/
|
|
7679
|
+
'skill_metadata': { [key: string]: any; } | null;
|
|
7680
|
+
/**
|
|
7681
|
+
*
|
|
7682
|
+
* @type {SkillCapabilitiesOutput}
|
|
7683
|
+
* @memberof ProjectSkillRevisionContent
|
|
7684
|
+
*/
|
|
7685
|
+
'capabilities': SkillCapabilitiesOutput;
|
|
7686
|
+
/**
|
|
7687
|
+
*
|
|
7688
|
+
* @type {string}
|
|
7689
|
+
* @memberof ProjectSkillRevisionContent
|
|
7690
|
+
*/
|
|
7691
|
+
'annotation': string | null;
|
|
7692
|
+
/**
|
|
7693
|
+
*
|
|
7694
|
+
* @type {string}
|
|
7695
|
+
* @memberof ProjectSkillRevisionContent
|
|
7696
|
+
*/
|
|
7697
|
+
'created': string;
|
|
7698
|
+
/**
|
|
7699
|
+
*
|
|
7700
|
+
* @type {Array<string>}
|
|
7701
|
+
* @memberof ProjectSkillRevisionContent
|
|
7702
|
+
*/
|
|
7703
|
+
'reference_files': Array<string>;
|
|
7704
|
+
/**
|
|
7705
|
+
*
|
|
7706
|
+
* @type {Array<string>}
|
|
7707
|
+
* @memberof ProjectSkillRevisionContent
|
|
7708
|
+
*/
|
|
7709
|
+
'asset_files': Array<string>;
|
|
7710
|
+
/**
|
|
7711
|
+
*
|
|
7712
|
+
* @type {Array<string>}
|
|
7713
|
+
* @memberof ProjectSkillRevisionContent
|
|
7714
|
+
*/
|
|
7715
|
+
'script_files'?: Array<string>;
|
|
7716
|
+
/**
|
|
7717
|
+
*
|
|
7718
|
+
* @type {Array<ProjectSkillRevisionFileContent>}
|
|
7719
|
+
* @memberof ProjectSkillRevisionContent
|
|
7720
|
+
*/
|
|
7721
|
+
'reference_file_contents'?: Array<ProjectSkillRevisionFileContent>;
|
|
7722
|
+
/**
|
|
7723
|
+
*
|
|
7724
|
+
* @type {Array<ProjectSkillRevisionFileContent>}
|
|
7725
|
+
* @memberof ProjectSkillRevisionContent
|
|
7726
|
+
*/
|
|
7727
|
+
'asset_file_contents'?: Array<ProjectSkillRevisionFileContent>;
|
|
7728
|
+
}
|
|
7588
7729
|
/**
|
|
7589
7730
|
* Schema for creating a new project-scoped skill revision.
|
|
7590
7731
|
* @export
|
|
@@ -7634,6 +7775,37 @@ export interface ProjectSkillRevisionCreate {
|
|
|
7634
7775
|
*/
|
|
7635
7776
|
'activate'?: boolean;
|
|
7636
7777
|
}
|
|
7778
|
+
/**
|
|
7779
|
+
*
|
|
7780
|
+
* @export
|
|
7781
|
+
* @interface ProjectSkillRevisionFileContent
|
|
7782
|
+
*/
|
|
7783
|
+
export interface ProjectSkillRevisionFileContent {
|
|
7784
|
+
/**
|
|
7785
|
+
*
|
|
7786
|
+
* @type {string}
|
|
7787
|
+
* @memberof ProjectSkillRevisionFileContent
|
|
7788
|
+
*/
|
|
7789
|
+
'path': string;
|
|
7790
|
+
/**
|
|
7791
|
+
*
|
|
7792
|
+
* @type {string}
|
|
7793
|
+
* @memberof ProjectSkillRevisionFileContent
|
|
7794
|
+
*/
|
|
7795
|
+
'content': string;
|
|
7796
|
+
/**
|
|
7797
|
+
* The UTF-8 encoded file size in bytes.
|
|
7798
|
+
* @type {number}
|
|
7799
|
+
* @memberof ProjectSkillRevisionFileContent
|
|
7800
|
+
*/
|
|
7801
|
+
'size_bytes': number;
|
|
7802
|
+
/**
|
|
7803
|
+
* The UTF-8 encoded file size in kilobytes, rounded to 2 decimals.
|
|
7804
|
+
* @type {number}
|
|
7805
|
+
* @memberof ProjectSkillRevisionFileContent
|
|
7806
|
+
*/
|
|
7807
|
+
'size_kb': number;
|
|
7808
|
+
}
|
|
7637
7809
|
/**
|
|
7638
7810
|
* Schema for updating project-scoped skill metadata.
|
|
7639
7811
|
* @export
|
|
@@ -8256,6 +8428,18 @@ export type Response400ProjectIntegrationIamOrgOrgIdProjectProjectIdIntegrationI
|
|
|
8256
8428
|
*/
|
|
8257
8429
|
export type Response400ProjectIntegrationIamOrgOrgIdProjectProjectIdIntegrationIntegrationIdIamUpdateMemberRoles = { reason: 'INVALID_MEMBER' } & InvalidMemberErrorResponse | { reason: 'INVALID_ROLE' } & InvalidRoleErrorResponse | { reason: 'INVALID_SUBJECT_TYPE' } & InvalidSubjectTypeErrorResponse | { reason: 'MALFORMED_RESOURCE_IDENTIFIER' } & MalformedResourceIdentifierErrorResponse | { reason: 'MULTIPLE_ROLES_NOT_ALLOWED' } & MultipleRolesNotAllowedErrorResponse;
|
|
8258
8430
|
|
|
8431
|
+
/**
|
|
8432
|
+
* @type Response400SkillIamOrgOrgIdProjectProjectIdSkillSkillIdIamTestPermissions
|
|
8433
|
+
* @export
|
|
8434
|
+
*/
|
|
8435
|
+
export type Response400SkillIamOrgOrgIdProjectProjectIdSkillSkillIdIamTestPermissions = { reason: 'INVALID_MEMBER' } & InvalidMemberErrorResponse | { reason: 'INVALID_ROLE' } & InvalidRoleErrorResponse | { reason: 'INVALID_SUBJECT_TYPE' } & InvalidSubjectTypeErrorResponse | { reason: 'MALFORMED_RESOURCE_IDENTIFIER' } & MalformedResourceIdentifierErrorResponse;
|
|
8436
|
+
|
|
8437
|
+
/**
|
|
8438
|
+
* @type Response400SkillIamOrgOrgIdProjectProjectIdSkillSkillIdIamUpdateMemberRoles
|
|
8439
|
+
* @export
|
|
8440
|
+
*/
|
|
8441
|
+
export type Response400SkillIamOrgOrgIdProjectProjectIdSkillSkillIdIamUpdateMemberRoles = { reason: 'INVALID_MEMBER' } & InvalidMemberErrorResponse | { reason: 'INVALID_ROLE' } & InvalidRoleErrorResponse | { reason: 'INVALID_SUBJECT_TYPE' } & InvalidSubjectTypeErrorResponse | { reason: 'MALFORMED_RESOURCE_IDENTIFIER' } & MalformedResourceIdentifierErrorResponse | { reason: 'MULTIPLE_ROLES_NOT_ALLOWED' } & MultipleRolesNotAllowedErrorResponse;
|
|
8442
|
+
|
|
8259
8443
|
/**
|
|
8260
8444
|
* @type Response400TaskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamTestPermissions
|
|
8261
8445
|
* @export
|
|
@@ -8958,6 +9142,30 @@ export type Response403Revokeprojectapikey = { reason: 'MISSING_AUTHENTICATION'
|
|
|
8958
9142
|
*/
|
|
8959
9143
|
export type Response403Rotatewebhooksecret = { reason: 'MISSING_AUTHENTICATION' } & MissingAuthenticationErrorResponse | { reason: 'PERMISSION_CHECK_FAILED' } & PermissionCheckFailedErrorResponse;
|
|
8960
9144
|
|
|
9145
|
+
/**
|
|
9146
|
+
* @type Response403SkillIamOrgOrgIdProjectProjectIdSkillSkillIdIamGetMember
|
|
9147
|
+
* @export
|
|
9148
|
+
*/
|
|
9149
|
+
export type Response403SkillIamOrgOrgIdProjectProjectIdSkillSkillIdIamGetMember = { reason: 'MISSING_AUTHENTICATION' } & MissingAuthenticationErrorResponse | { reason: 'PERMISSION_CHECK_FAILED' } & PermissionCheckFailedErrorResponse;
|
|
9150
|
+
|
|
9151
|
+
/**
|
|
9152
|
+
* @type Response403SkillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembers
|
|
9153
|
+
* @export
|
|
9154
|
+
*/
|
|
9155
|
+
export type Response403SkillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembers = { reason: 'MISSING_AUTHENTICATION' } & MissingAuthenticationErrorResponse | { reason: 'PERMISSION_CHECK_FAILED' } & PermissionCheckFailedErrorResponse;
|
|
9156
|
+
|
|
9157
|
+
/**
|
|
9158
|
+
* @type Response403SkillIamOrgOrgIdProjectProjectIdSkillSkillIdIamTestPermissions
|
|
9159
|
+
* @export
|
|
9160
|
+
*/
|
|
9161
|
+
export type Response403SkillIamOrgOrgIdProjectProjectIdSkillSkillIdIamTestPermissions = { reason: 'MISSING_AUTHENTICATION' } & MissingAuthenticationErrorResponse | { reason: 'PERMISSION_CHECK_FAILED' } & PermissionCheckFailedErrorResponse;
|
|
9162
|
+
|
|
9163
|
+
/**
|
|
9164
|
+
* @type Response403SkillIamOrgOrgIdProjectProjectIdSkillSkillIdIamUpdateMemberRoles
|
|
9165
|
+
* @export
|
|
9166
|
+
*/
|
|
9167
|
+
export type Response403SkillIamOrgOrgIdProjectProjectIdSkillSkillIdIamUpdateMemberRoles = { reason: 'MISSING_AUTHENTICATION' } & MissingAuthenticationErrorResponse | { reason: 'PERMISSION_CHECK_FAILED' } & PermissionCheckFailedErrorResponse;
|
|
9168
|
+
|
|
8961
9169
|
/**
|
|
8962
9170
|
* @type Response403Suggestprojecttopics
|
|
8963
9171
|
* @export
|
|
@@ -9829,6 +10037,81 @@ export interface SkillContentRead {
|
|
|
9829
10037
|
*/
|
|
9830
10038
|
'active_revision': SkillRevisionContent;
|
|
9831
10039
|
}
|
|
10040
|
+
/**
|
|
10041
|
+
*
|
|
10042
|
+
* @export
|
|
10043
|
+
* @interface SkillIAMMemberRoleUpdate
|
|
10044
|
+
*/
|
|
10045
|
+
export interface SkillIAMMemberRoleUpdate {
|
|
10046
|
+
/**
|
|
10047
|
+
* A list of skill roles to grant to the member. Roles in this list are applied to the member AFTER any removals specified in `remove`. This may be combined with `remove_all` to replace the member\'s entire role list.
|
|
10048
|
+
* @type {Array<string>}
|
|
10049
|
+
* @memberof SkillIAMMemberRoleUpdate
|
|
10050
|
+
*/
|
|
10051
|
+
'add'?: Array<SkillIAMMemberRoleUpdateAddEnum>;
|
|
10052
|
+
/**
|
|
10053
|
+
* A list of skill roles to revoke from the member.
|
|
10054
|
+
* @type {Array<string>}
|
|
10055
|
+
* @memberof SkillIAMMemberRoleUpdate
|
|
10056
|
+
*/
|
|
10057
|
+
'remove'?: Array<SkillIAMMemberRoleUpdateRemoveEnum>;
|
|
10058
|
+
/**
|
|
10059
|
+
* Removes all existing roles from the member. This may be combined with `add` to replace all existing roles that the member holds.
|
|
10060
|
+
* @type {boolean}
|
|
10061
|
+
* @memberof SkillIAMMemberRoleUpdate
|
|
10062
|
+
*/
|
|
10063
|
+
'remove_all'?: boolean | null;
|
|
10064
|
+
}
|
|
10065
|
+
|
|
10066
|
+
export const SkillIAMMemberRoleUpdateAddEnum = {
|
|
10067
|
+
Editor: 'editor',
|
|
10068
|
+
Owner: 'owner',
|
|
10069
|
+
Viewer: 'viewer'
|
|
10070
|
+
} as const;
|
|
10071
|
+
|
|
10072
|
+
export type SkillIAMMemberRoleUpdateAddEnum = typeof SkillIAMMemberRoleUpdateAddEnum[keyof typeof SkillIAMMemberRoleUpdateAddEnum];
|
|
10073
|
+
export const SkillIAMMemberRoleUpdateRemoveEnum = {
|
|
10074
|
+
Editor: 'editor',
|
|
10075
|
+
Owner: 'owner',
|
|
10076
|
+
Viewer: 'viewer'
|
|
10077
|
+
} as const;
|
|
10078
|
+
|
|
10079
|
+
export type SkillIAMMemberRoleUpdateRemoveEnum = typeof SkillIAMMemberRoleUpdateRemoveEnum[keyof typeof SkillIAMMemberRoleUpdateRemoveEnum];
|
|
10080
|
+
|
|
10081
|
+
/**
|
|
10082
|
+
*
|
|
10083
|
+
* @export
|
|
10084
|
+
* @interface SkillIAMPermissionTest
|
|
10085
|
+
*/
|
|
10086
|
+
export interface SkillIAMPermissionTest {
|
|
10087
|
+
/**
|
|
10088
|
+
* A list of permissions to test on the skill.
|
|
10089
|
+
* @type {Array<string>}
|
|
10090
|
+
* @memberof SkillIAMPermissionTest
|
|
10091
|
+
*/
|
|
10092
|
+
'permissions': Array<SkillIAMPermissionTestPermissionsEnum>;
|
|
10093
|
+
/**
|
|
10094
|
+
*
|
|
10095
|
+
* @type {string}
|
|
10096
|
+
* @memberof SkillIAMPermissionTest
|
|
10097
|
+
*/
|
|
10098
|
+
'member'?: string | null;
|
|
10099
|
+
}
|
|
10100
|
+
|
|
10101
|
+
export const SkillIAMPermissionTestPermissionsEnum = {
|
|
10102
|
+
AddEditor: 'add_editor',
|
|
10103
|
+
AddMember: 'add_member',
|
|
10104
|
+
AddOwner: 'add_owner',
|
|
10105
|
+
Edit: 'edit',
|
|
10106
|
+
RemoveEditor: 'remove_editor',
|
|
10107
|
+
RemoveMember: 'remove_member',
|
|
10108
|
+
RemoveOwner: 'remove_owner',
|
|
10109
|
+
View: 'view',
|
|
10110
|
+
ViewMembers: 'view_members'
|
|
10111
|
+
} as const;
|
|
10112
|
+
|
|
10113
|
+
export type SkillIAMPermissionTestPermissionsEnum = typeof SkillIAMPermissionTestPermissionsEnum[keyof typeof SkillIAMPermissionTestPermissionsEnum];
|
|
10114
|
+
|
|
9832
10115
|
/**
|
|
9833
10116
|
*
|
|
9834
10117
|
* @export
|
|
@@ -33812,6 +34095,215 @@ export const SkillsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
33812
34095
|
options: localVarRequestOptions,
|
|
33813
34096
|
};
|
|
33814
34097
|
},
|
|
34098
|
+
/**
|
|
34099
|
+
* Retrieve a specific member that has been granted direct access to the skill.
|
|
34100
|
+
* @summary IAM - Lookup Skill Member
|
|
34101
|
+
* @param {string} skillId
|
|
34102
|
+
* @param {string} member
|
|
34103
|
+
* @param {string} orgId The org id
|
|
34104
|
+
* @param {string} projectId The project id
|
|
34105
|
+
* @param {*} [options] Override http request option.
|
|
34106
|
+
* @throws {RequiredError}
|
|
34107
|
+
*/
|
|
34108
|
+
skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamGetMember: async (skillId: string, member: string, orgId: string, projectId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34109
|
+
// verify required parameter 'skillId' is not null or undefined
|
|
34110
|
+
assertParamExists('skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamGetMember', 'skillId', skillId)
|
|
34111
|
+
// verify required parameter 'member' is not null or undefined
|
|
34112
|
+
assertParamExists('skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamGetMember', 'member', member)
|
|
34113
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
34114
|
+
assertParamExists('skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamGetMember', 'orgId', orgId)
|
|
34115
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
34116
|
+
assertParamExists('skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamGetMember', 'projectId', projectId)
|
|
34117
|
+
const localVarPath = `/org/{org_id}/project/{project_id}/skill/{skill_id}/iam/members/{member}`
|
|
34118
|
+
.replace(`{${"skill_id"}}`, encodeURIComponent(String(skillId)))
|
|
34119
|
+
.replace(`{${"member"}}`, encodeURIComponent(String(member)))
|
|
34120
|
+
.replace(`{${"org_id"}}`, encodeURIComponent(String(orgId)))
|
|
34121
|
+
.replace(`{${"project_id"}}`, encodeURIComponent(String(projectId)));
|
|
34122
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34123
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34124
|
+
let baseOptions;
|
|
34125
|
+
if (configuration) {
|
|
34126
|
+
baseOptions = configuration.baseOptions;
|
|
34127
|
+
}
|
|
34128
|
+
|
|
34129
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
34130
|
+
const localVarHeaderParameter = {} as any;
|
|
34131
|
+
const localVarQueryParameter = {} as any;
|
|
34132
|
+
|
|
34133
|
+
// authentication HTTPBearer required
|
|
34134
|
+
// http bearer authentication required
|
|
34135
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
34136
|
+
|
|
34137
|
+
|
|
34138
|
+
|
|
34139
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
34140
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34141
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
34142
|
+
|
|
34143
|
+
return {
|
|
34144
|
+
url: toPathString(localVarUrlObj),
|
|
34145
|
+
options: localVarRequestOptions,
|
|
34146
|
+
};
|
|
34147
|
+
},
|
|
34148
|
+
/**
|
|
34149
|
+
* Lists all members that have been granted direct access to the skill.
|
|
34150
|
+
* @summary IAM - List Skill Members
|
|
34151
|
+
* @param {string} skillId
|
|
34152
|
+
* @param {string} orgId The org id
|
|
34153
|
+
* @param {string} projectId The project id
|
|
34154
|
+
* @param {SkillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembersTypeEnum} [type]
|
|
34155
|
+
* @param {*} [options] Override http request option.
|
|
34156
|
+
* @throws {RequiredError}
|
|
34157
|
+
*/
|
|
34158
|
+
skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembers: async (skillId: string, orgId: string, projectId: string, type?: SkillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembersTypeEnum, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34159
|
+
// verify required parameter 'skillId' is not null or undefined
|
|
34160
|
+
assertParamExists('skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembers', 'skillId', skillId)
|
|
34161
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
34162
|
+
assertParamExists('skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembers', 'orgId', orgId)
|
|
34163
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
34164
|
+
assertParamExists('skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembers', 'projectId', projectId)
|
|
34165
|
+
const localVarPath = `/org/{org_id}/project/{project_id}/skill/{skill_id}/iam/members`
|
|
34166
|
+
.replace(`{${"skill_id"}}`, encodeURIComponent(String(skillId)))
|
|
34167
|
+
.replace(`{${"org_id"}}`, encodeURIComponent(String(orgId)))
|
|
34168
|
+
.replace(`{${"project_id"}}`, encodeURIComponent(String(projectId)));
|
|
34169
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34170
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34171
|
+
let baseOptions;
|
|
34172
|
+
if (configuration) {
|
|
34173
|
+
baseOptions = configuration.baseOptions;
|
|
34174
|
+
}
|
|
34175
|
+
|
|
34176
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
34177
|
+
const localVarHeaderParameter = {} as any;
|
|
34178
|
+
const localVarQueryParameter = {} as any;
|
|
34179
|
+
|
|
34180
|
+
// authentication HTTPBearer required
|
|
34181
|
+
// http bearer authentication required
|
|
34182
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
34183
|
+
|
|
34184
|
+
if (type !== undefined) {
|
|
34185
|
+
localVarQueryParameter['type'] = type;
|
|
34186
|
+
}
|
|
34187
|
+
|
|
34188
|
+
|
|
34189
|
+
|
|
34190
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
34191
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34192
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
34193
|
+
|
|
34194
|
+
return {
|
|
34195
|
+
url: toPathString(localVarUrlObj),
|
|
34196
|
+
options: localVarRequestOptions,
|
|
34197
|
+
};
|
|
34198
|
+
},
|
|
34199
|
+
/**
|
|
34200
|
+
* Test the permissions that the caller (or another subject) holds on the skill.
|
|
34201
|
+
* @summary IAM - Test Skill Permissions
|
|
34202
|
+
* @param {string} skillId
|
|
34203
|
+
* @param {string} orgId The org id
|
|
34204
|
+
* @param {string} projectId The project id
|
|
34205
|
+
* @param {SkillIAMPermissionTest} skillIAMPermissionTest
|
|
34206
|
+
* @param {*} [options] Override http request option.
|
|
34207
|
+
* @throws {RequiredError}
|
|
34208
|
+
*/
|
|
34209
|
+
skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamTestPermissions: async (skillId: string, orgId: string, projectId: string, skillIAMPermissionTest: SkillIAMPermissionTest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34210
|
+
// verify required parameter 'skillId' is not null or undefined
|
|
34211
|
+
assertParamExists('skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamTestPermissions', 'skillId', skillId)
|
|
34212
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
34213
|
+
assertParamExists('skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamTestPermissions', 'orgId', orgId)
|
|
34214
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
34215
|
+
assertParamExists('skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamTestPermissions', 'projectId', projectId)
|
|
34216
|
+
// verify required parameter 'skillIAMPermissionTest' is not null or undefined
|
|
34217
|
+
assertParamExists('skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamTestPermissions', 'skillIAMPermissionTest', skillIAMPermissionTest)
|
|
34218
|
+
const localVarPath = `/org/{org_id}/project/{project_id}/skill/{skill_id}/iam/test`
|
|
34219
|
+
.replace(`{${"skill_id"}}`, encodeURIComponent(String(skillId)))
|
|
34220
|
+
.replace(`{${"org_id"}}`, encodeURIComponent(String(orgId)))
|
|
34221
|
+
.replace(`{${"project_id"}}`, encodeURIComponent(String(projectId)));
|
|
34222
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34223
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34224
|
+
let baseOptions;
|
|
34225
|
+
if (configuration) {
|
|
34226
|
+
baseOptions = configuration.baseOptions;
|
|
34227
|
+
}
|
|
34228
|
+
|
|
34229
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
34230
|
+
const localVarHeaderParameter = {} as any;
|
|
34231
|
+
const localVarQueryParameter = {} as any;
|
|
34232
|
+
|
|
34233
|
+
// authentication HTTPBearer required
|
|
34234
|
+
// http bearer authentication required
|
|
34235
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
34236
|
+
|
|
34237
|
+
|
|
34238
|
+
|
|
34239
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
34240
|
+
|
|
34241
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
34242
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34243
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
34244
|
+
localVarRequestOptions.data = serializeDataIfNeeded(skillIAMPermissionTest, localVarRequestOptions, configuration)
|
|
34245
|
+
|
|
34246
|
+
return {
|
|
34247
|
+
url: toPathString(localVarUrlObj),
|
|
34248
|
+
options: localVarRequestOptions,
|
|
34249
|
+
};
|
|
34250
|
+
},
|
|
34251
|
+
/**
|
|
34252
|
+
* Update the roles that a member holds on the skill.
|
|
34253
|
+
* @summary IAM - Update Skill Member
|
|
34254
|
+
* @param {string} skillId
|
|
34255
|
+
* @param {string} member
|
|
34256
|
+
* @param {string} orgId The org id
|
|
34257
|
+
* @param {string} projectId The project id
|
|
34258
|
+
* @param {SkillIAMMemberRoleUpdate} skillIAMMemberRoleUpdate
|
|
34259
|
+
* @param {*} [options] Override http request option.
|
|
34260
|
+
* @throws {RequiredError}
|
|
34261
|
+
*/
|
|
34262
|
+
skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamUpdateMemberRoles: async (skillId: string, member: string, orgId: string, projectId: string, skillIAMMemberRoleUpdate: SkillIAMMemberRoleUpdate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34263
|
+
// verify required parameter 'skillId' is not null or undefined
|
|
34264
|
+
assertParamExists('skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamUpdateMemberRoles', 'skillId', skillId)
|
|
34265
|
+
// verify required parameter 'member' is not null or undefined
|
|
34266
|
+
assertParamExists('skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamUpdateMemberRoles', 'member', member)
|
|
34267
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
34268
|
+
assertParamExists('skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamUpdateMemberRoles', 'orgId', orgId)
|
|
34269
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
34270
|
+
assertParamExists('skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamUpdateMemberRoles', 'projectId', projectId)
|
|
34271
|
+
// verify required parameter 'skillIAMMemberRoleUpdate' is not null or undefined
|
|
34272
|
+
assertParamExists('skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamUpdateMemberRoles', 'skillIAMMemberRoleUpdate', skillIAMMemberRoleUpdate)
|
|
34273
|
+
const localVarPath = `/org/{org_id}/project/{project_id}/skill/{skill_id}/iam/members/{member}`
|
|
34274
|
+
.replace(`{${"skill_id"}}`, encodeURIComponent(String(skillId)))
|
|
34275
|
+
.replace(`{${"member"}}`, encodeURIComponent(String(member)))
|
|
34276
|
+
.replace(`{${"org_id"}}`, encodeURIComponent(String(orgId)))
|
|
34277
|
+
.replace(`{${"project_id"}}`, encodeURIComponent(String(projectId)));
|
|
34278
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34279
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34280
|
+
let baseOptions;
|
|
34281
|
+
if (configuration) {
|
|
34282
|
+
baseOptions = configuration.baseOptions;
|
|
34283
|
+
}
|
|
34284
|
+
|
|
34285
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
34286
|
+
const localVarHeaderParameter = {} as any;
|
|
34287
|
+
const localVarQueryParameter = {} as any;
|
|
34288
|
+
|
|
34289
|
+
// authentication HTTPBearer required
|
|
34290
|
+
// http bearer authentication required
|
|
34291
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
34292
|
+
|
|
34293
|
+
|
|
34294
|
+
|
|
34295
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
34296
|
+
|
|
34297
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
34298
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34299
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
34300
|
+
localVarRequestOptions.data = serializeDataIfNeeded(skillIAMMemberRoleUpdate, localVarRequestOptions, configuration)
|
|
34301
|
+
|
|
34302
|
+
return {
|
|
34303
|
+
url: toPathString(localVarUrlObj),
|
|
34304
|
+
options: localVarRequestOptions,
|
|
34305
|
+
};
|
|
34306
|
+
},
|
|
33815
34307
|
/**
|
|
33816
34308
|
* Update project-scoped skill metadata.
|
|
33817
34309
|
* @summary Update Project Skill
|
|
@@ -33915,7 +34407,7 @@ export const SkillsApiFp = function(configuration?: Configuration) {
|
|
|
33915
34407
|
* @param {*} [options] Override http request option.
|
|
33916
34408
|
* @throws {RequiredError}
|
|
33917
34409
|
*/
|
|
33918
|
-
async createProjectSkillRevision(skillId: string, orgId: string, projectId: string, projectSkillRevisionCreate: ProjectSkillRevisionCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
34410
|
+
async createProjectSkillRevision(skillId: string, orgId: string, projectId: string, projectSkillRevisionCreate: ProjectSkillRevisionCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectSkillRevisionContent>> {
|
|
33919
34411
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createProjectSkillRevision(skillId, orgId, projectId, projectSkillRevisionCreate, options);
|
|
33920
34412
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
33921
34413
|
const localVarOperationServerBasePath = operationServerMap['SkillsApi.createProjectSkillRevision']?.[localVarOperationServerIndex]?.url;
|
|
@@ -33960,7 +34452,7 @@ export const SkillsApiFp = function(configuration?: Configuration) {
|
|
|
33960
34452
|
* @param {*} [options] Override http request option.
|
|
33961
34453
|
* @throws {RequiredError}
|
|
33962
34454
|
*/
|
|
33963
|
-
async getProjectSkillContent(skillId: string, orgId: string, projectId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
34455
|
+
async getProjectSkillContent(skillId: string, orgId: string, projectId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectSkillContentRead>> {
|
|
33964
34456
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getProjectSkillContent(skillId, orgId, projectId, options);
|
|
33965
34457
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
33966
34458
|
const localVarOperationServerBasePath = operationServerMap['SkillsApi.getProjectSkillContent']?.[localVarOperationServerIndex]?.url;
|
|
@@ -33976,7 +34468,7 @@ export const SkillsApiFp = function(configuration?: Configuration) {
|
|
|
33976
34468
|
* @param {*} [options] Override http request option.
|
|
33977
34469
|
* @throws {RequiredError}
|
|
33978
34470
|
*/
|
|
33979
|
-
async getProjectSkillRevision(skillId: string, revisionId: string, orgId: string, projectId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
34471
|
+
async getProjectSkillRevision(skillId: string, revisionId: string, orgId: string, projectId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectSkillRevisionContent>> {
|
|
33980
34472
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getProjectSkillRevision(skillId, revisionId, orgId, projectId, options);
|
|
33981
34473
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
33982
34474
|
const localVarOperationServerBasePath = operationServerMap['SkillsApi.getProjectSkillRevision']?.[localVarOperationServerIndex]?.url;
|
|
@@ -34128,6 +34620,71 @@ export const SkillsApiFp = function(configuration?: Configuration) {
|
|
|
34128
34620
|
const localVarOperationServerBasePath = operationServerMap['SkillsApi.listSkills']?.[localVarOperationServerIndex]?.url;
|
|
34129
34621
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34130
34622
|
},
|
|
34623
|
+
/**
|
|
34624
|
+
* Retrieve a specific member that has been granted direct access to the skill.
|
|
34625
|
+
* @summary IAM - Lookup Skill Member
|
|
34626
|
+
* @param {string} skillId
|
|
34627
|
+
* @param {string} member
|
|
34628
|
+
* @param {string} orgId The org id
|
|
34629
|
+
* @param {string} projectId The project id
|
|
34630
|
+
* @param {*} [options] Override http request option.
|
|
34631
|
+
* @throws {RequiredError}
|
|
34632
|
+
*/
|
|
34633
|
+
async skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamGetMember(skillId: string, member: string, orgId: string, projectId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IAMMember>> {
|
|
34634
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamGetMember(skillId, member, orgId, projectId, options);
|
|
34635
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
34636
|
+
const localVarOperationServerBasePath = operationServerMap['SkillsApi.skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamGetMember']?.[localVarOperationServerIndex]?.url;
|
|
34637
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34638
|
+
},
|
|
34639
|
+
/**
|
|
34640
|
+
* Lists all members that have been granted direct access to the skill.
|
|
34641
|
+
* @summary IAM - List Skill Members
|
|
34642
|
+
* @param {string} skillId
|
|
34643
|
+
* @param {string} orgId The org id
|
|
34644
|
+
* @param {string} projectId The project id
|
|
34645
|
+
* @param {SkillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembersTypeEnum} [type]
|
|
34646
|
+
* @param {*} [options] Override http request option.
|
|
34647
|
+
* @throws {RequiredError}
|
|
34648
|
+
*/
|
|
34649
|
+
async skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembers(skillId: string, orgId: string, projectId: string, type?: SkillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembersTypeEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedResultSetIAMMember>> {
|
|
34650
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembers(skillId, orgId, projectId, type, options);
|
|
34651
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
34652
|
+
const localVarOperationServerBasePath = operationServerMap['SkillsApi.skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembers']?.[localVarOperationServerIndex]?.url;
|
|
34653
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34654
|
+
},
|
|
34655
|
+
/**
|
|
34656
|
+
* Test the permissions that the caller (or another subject) holds on the skill.
|
|
34657
|
+
* @summary IAM - Test Skill Permissions
|
|
34658
|
+
* @param {string} skillId
|
|
34659
|
+
* @param {string} orgId The org id
|
|
34660
|
+
* @param {string} projectId The project id
|
|
34661
|
+
* @param {SkillIAMPermissionTest} skillIAMPermissionTest
|
|
34662
|
+
* @param {*} [options] Override http request option.
|
|
34663
|
+
* @throws {RequiredError}
|
|
34664
|
+
*/
|
|
34665
|
+
async skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamTestPermissions(skillId: string, orgId: string, projectId: string, skillIAMPermissionTest: SkillIAMPermissionTest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IAMPermissionTest>> {
|
|
34666
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamTestPermissions(skillId, orgId, projectId, skillIAMPermissionTest, options);
|
|
34667
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
34668
|
+
const localVarOperationServerBasePath = operationServerMap['SkillsApi.skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamTestPermissions']?.[localVarOperationServerIndex]?.url;
|
|
34669
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34670
|
+
},
|
|
34671
|
+
/**
|
|
34672
|
+
* Update the roles that a member holds on the skill.
|
|
34673
|
+
* @summary IAM - Update Skill Member
|
|
34674
|
+
* @param {string} skillId
|
|
34675
|
+
* @param {string} member
|
|
34676
|
+
* @param {string} orgId The org id
|
|
34677
|
+
* @param {string} projectId The project id
|
|
34678
|
+
* @param {SkillIAMMemberRoleUpdate} skillIAMMemberRoleUpdate
|
|
34679
|
+
* @param {*} [options] Override http request option.
|
|
34680
|
+
* @throws {RequiredError}
|
|
34681
|
+
*/
|
|
34682
|
+
async skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamUpdateMemberRoles(skillId: string, member: string, orgId: string, projectId: string, skillIAMMemberRoleUpdate: SkillIAMMemberRoleUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IAMMember>> {
|
|
34683
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamUpdateMemberRoles(skillId, member, orgId, projectId, skillIAMMemberRoleUpdate, options);
|
|
34684
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
34685
|
+
const localVarOperationServerBasePath = operationServerMap['SkillsApi.skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamUpdateMemberRoles']?.[localVarOperationServerIndex]?.url;
|
|
34686
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34687
|
+
},
|
|
34131
34688
|
/**
|
|
34132
34689
|
* Update project-scoped skill metadata.
|
|
34133
34690
|
* @summary Update Project Skill
|
|
@@ -34189,7 +34746,7 @@ export const SkillsApiFactory = function (configuration?: Configuration, basePat
|
|
|
34189
34746
|
* @param {*} [options] Override http request option.
|
|
34190
34747
|
* @throws {RequiredError}
|
|
34191
34748
|
*/
|
|
34192
|
-
createProjectSkillRevision(skillId: string, orgId: string, projectId: string, projectSkillRevisionCreate: ProjectSkillRevisionCreate, options?: any): AxiosPromise<
|
|
34749
|
+
createProjectSkillRevision(skillId: string, orgId: string, projectId: string, projectSkillRevisionCreate: ProjectSkillRevisionCreate, options?: any): AxiosPromise<ProjectSkillRevisionContent> {
|
|
34193
34750
|
return localVarFp.createProjectSkillRevision(skillId, orgId, projectId, projectSkillRevisionCreate, options).then((request) => request(axios, basePath));
|
|
34194
34751
|
},
|
|
34195
34752
|
/**
|
|
@@ -34225,7 +34782,7 @@ export const SkillsApiFactory = function (configuration?: Configuration, basePat
|
|
|
34225
34782
|
* @param {*} [options] Override http request option.
|
|
34226
34783
|
* @throws {RequiredError}
|
|
34227
34784
|
*/
|
|
34228
|
-
getProjectSkillContent(skillId: string, orgId: string, projectId: string, options?: any): AxiosPromise<
|
|
34785
|
+
getProjectSkillContent(skillId: string, orgId: string, projectId: string, options?: any): AxiosPromise<ProjectSkillContentRead> {
|
|
34229
34786
|
return localVarFp.getProjectSkillContent(skillId, orgId, projectId, options).then((request) => request(axios, basePath));
|
|
34230
34787
|
},
|
|
34231
34788
|
/**
|
|
@@ -34238,7 +34795,7 @@ export const SkillsApiFactory = function (configuration?: Configuration, basePat
|
|
|
34238
34795
|
* @param {*} [options] Override http request option.
|
|
34239
34796
|
* @throws {RequiredError}
|
|
34240
34797
|
*/
|
|
34241
|
-
getProjectSkillRevision(skillId: string, revisionId: string, orgId: string, projectId: string, options?: any): AxiosPromise<
|
|
34798
|
+
getProjectSkillRevision(skillId: string, revisionId: string, orgId: string, projectId: string, options?: any): AxiosPromise<ProjectSkillRevisionContent> {
|
|
34242
34799
|
return localVarFp.getProjectSkillRevision(skillId, revisionId, orgId, projectId, options).then((request) => request(axios, basePath));
|
|
34243
34800
|
},
|
|
34244
34801
|
/**
|
|
@@ -34357,6 +34914,59 @@ export const SkillsApiFactory = function (configuration?: Configuration, basePat
|
|
|
34357
34914
|
listSkills(pageLimit?: number | null, cursor?: string | null, source?: string | null, search?: string | null, tag?: Array<string> | null, tags?: Array<string> | null, options?: any): AxiosPromise<PaginatedResultSetSkillRead> {
|
|
34358
34915
|
return localVarFp.listSkills(pageLimit, cursor, source, search, tag, tags, options).then((request) => request(axios, basePath));
|
|
34359
34916
|
},
|
|
34917
|
+
/**
|
|
34918
|
+
* Retrieve a specific member that has been granted direct access to the skill.
|
|
34919
|
+
* @summary IAM - Lookup Skill Member
|
|
34920
|
+
* @param {string} skillId
|
|
34921
|
+
* @param {string} member
|
|
34922
|
+
* @param {string} orgId The org id
|
|
34923
|
+
* @param {string} projectId The project id
|
|
34924
|
+
* @param {*} [options] Override http request option.
|
|
34925
|
+
* @throws {RequiredError}
|
|
34926
|
+
*/
|
|
34927
|
+
skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamGetMember(skillId: string, member: string, orgId: string, projectId: string, options?: any): AxiosPromise<IAMMember> {
|
|
34928
|
+
return localVarFp.skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamGetMember(skillId, member, orgId, projectId, options).then((request) => request(axios, basePath));
|
|
34929
|
+
},
|
|
34930
|
+
/**
|
|
34931
|
+
* Lists all members that have been granted direct access to the skill.
|
|
34932
|
+
* @summary IAM - List Skill Members
|
|
34933
|
+
* @param {string} skillId
|
|
34934
|
+
* @param {string} orgId The org id
|
|
34935
|
+
* @param {string} projectId The project id
|
|
34936
|
+
* @param {SkillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembersTypeEnum} [type]
|
|
34937
|
+
* @param {*} [options] Override http request option.
|
|
34938
|
+
* @throws {RequiredError}
|
|
34939
|
+
*/
|
|
34940
|
+
skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembers(skillId: string, orgId: string, projectId: string, type?: SkillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembersTypeEnum, options?: any): AxiosPromise<PaginatedResultSetIAMMember> {
|
|
34941
|
+
return localVarFp.skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembers(skillId, orgId, projectId, type, options).then((request) => request(axios, basePath));
|
|
34942
|
+
},
|
|
34943
|
+
/**
|
|
34944
|
+
* Test the permissions that the caller (or another subject) holds on the skill.
|
|
34945
|
+
* @summary IAM - Test Skill Permissions
|
|
34946
|
+
* @param {string} skillId
|
|
34947
|
+
* @param {string} orgId The org id
|
|
34948
|
+
* @param {string} projectId The project id
|
|
34949
|
+
* @param {SkillIAMPermissionTest} skillIAMPermissionTest
|
|
34950
|
+
* @param {*} [options] Override http request option.
|
|
34951
|
+
* @throws {RequiredError}
|
|
34952
|
+
*/
|
|
34953
|
+
skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamTestPermissions(skillId: string, orgId: string, projectId: string, skillIAMPermissionTest: SkillIAMPermissionTest, options?: any): AxiosPromise<IAMPermissionTest> {
|
|
34954
|
+
return localVarFp.skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamTestPermissions(skillId, orgId, projectId, skillIAMPermissionTest, options).then((request) => request(axios, basePath));
|
|
34955
|
+
},
|
|
34956
|
+
/**
|
|
34957
|
+
* Update the roles that a member holds on the skill.
|
|
34958
|
+
* @summary IAM - Update Skill Member
|
|
34959
|
+
* @param {string} skillId
|
|
34960
|
+
* @param {string} member
|
|
34961
|
+
* @param {string} orgId The org id
|
|
34962
|
+
* @param {string} projectId The project id
|
|
34963
|
+
* @param {SkillIAMMemberRoleUpdate} skillIAMMemberRoleUpdate
|
|
34964
|
+
* @param {*} [options] Override http request option.
|
|
34965
|
+
* @throws {RequiredError}
|
|
34966
|
+
*/
|
|
34967
|
+
skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamUpdateMemberRoles(skillId: string, member: string, orgId: string, projectId: string, skillIAMMemberRoleUpdate: SkillIAMMemberRoleUpdate, options?: any): AxiosPromise<IAMMember> {
|
|
34968
|
+
return localVarFp.skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamUpdateMemberRoles(skillId, member, orgId, projectId, skillIAMMemberRoleUpdate, options).then((request) => request(axios, basePath));
|
|
34969
|
+
},
|
|
34360
34970
|
/**
|
|
34361
34971
|
* Update project-scoped skill metadata.
|
|
34362
34972
|
* @summary Update Project Skill
|
|
@@ -34617,6 +35227,67 @@ export class SkillsApi extends BaseAPI {
|
|
|
34617
35227
|
return SkillsApiFp(this.configuration).listSkills(pageLimit, cursor, source, search, tag, tags, options).then((request) => request(this.axios, this.basePath));
|
|
34618
35228
|
}
|
|
34619
35229
|
|
|
35230
|
+
/**
|
|
35231
|
+
* Retrieve a specific member that has been granted direct access to the skill.
|
|
35232
|
+
* @summary IAM - Lookup Skill Member
|
|
35233
|
+
* @param {string} skillId
|
|
35234
|
+
* @param {string} member
|
|
35235
|
+
* @param {string} orgId The org id
|
|
35236
|
+
* @param {string} projectId The project id
|
|
35237
|
+
* @param {*} [options] Override http request option.
|
|
35238
|
+
* @throws {RequiredError}
|
|
35239
|
+
* @memberof SkillsApi
|
|
35240
|
+
*/
|
|
35241
|
+
public skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamGetMember(skillId: string, member: string, orgId: string, projectId: string, options?: RawAxiosRequestConfig) {
|
|
35242
|
+
return SkillsApiFp(this.configuration).skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamGetMember(skillId, member, orgId, projectId, options).then((request) => request(this.axios, this.basePath));
|
|
35243
|
+
}
|
|
35244
|
+
|
|
35245
|
+
/**
|
|
35246
|
+
* Lists all members that have been granted direct access to the skill.
|
|
35247
|
+
* @summary IAM - List Skill Members
|
|
35248
|
+
* @param {string} skillId
|
|
35249
|
+
* @param {string} orgId The org id
|
|
35250
|
+
* @param {string} projectId The project id
|
|
35251
|
+
* @param {SkillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembersTypeEnum} [type]
|
|
35252
|
+
* @param {*} [options] Override http request option.
|
|
35253
|
+
* @throws {RequiredError}
|
|
35254
|
+
* @memberof SkillsApi
|
|
35255
|
+
*/
|
|
35256
|
+
public skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembers(skillId: string, orgId: string, projectId: string, type?: SkillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembersTypeEnum, options?: RawAxiosRequestConfig) {
|
|
35257
|
+
return SkillsApiFp(this.configuration).skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembers(skillId, orgId, projectId, type, options).then((request) => request(this.axios, this.basePath));
|
|
35258
|
+
}
|
|
35259
|
+
|
|
35260
|
+
/**
|
|
35261
|
+
* Test the permissions that the caller (or another subject) holds on the skill.
|
|
35262
|
+
* @summary IAM - Test Skill Permissions
|
|
35263
|
+
* @param {string} skillId
|
|
35264
|
+
* @param {string} orgId The org id
|
|
35265
|
+
* @param {string} projectId The project id
|
|
35266
|
+
* @param {SkillIAMPermissionTest} skillIAMPermissionTest
|
|
35267
|
+
* @param {*} [options] Override http request option.
|
|
35268
|
+
* @throws {RequiredError}
|
|
35269
|
+
* @memberof SkillsApi
|
|
35270
|
+
*/
|
|
35271
|
+
public skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamTestPermissions(skillId: string, orgId: string, projectId: string, skillIAMPermissionTest: SkillIAMPermissionTest, options?: RawAxiosRequestConfig) {
|
|
35272
|
+
return SkillsApiFp(this.configuration).skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamTestPermissions(skillId, orgId, projectId, skillIAMPermissionTest, options).then((request) => request(this.axios, this.basePath));
|
|
35273
|
+
}
|
|
35274
|
+
|
|
35275
|
+
/**
|
|
35276
|
+
* Update the roles that a member holds on the skill.
|
|
35277
|
+
* @summary IAM - Update Skill Member
|
|
35278
|
+
* @param {string} skillId
|
|
35279
|
+
* @param {string} member
|
|
35280
|
+
* @param {string} orgId The org id
|
|
35281
|
+
* @param {string} projectId The project id
|
|
35282
|
+
* @param {SkillIAMMemberRoleUpdate} skillIAMMemberRoleUpdate
|
|
35283
|
+
* @param {*} [options] Override http request option.
|
|
35284
|
+
* @throws {RequiredError}
|
|
35285
|
+
* @memberof SkillsApi
|
|
35286
|
+
*/
|
|
35287
|
+
public skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamUpdateMemberRoles(skillId: string, member: string, orgId: string, projectId: string, skillIAMMemberRoleUpdate: SkillIAMMemberRoleUpdate, options?: RawAxiosRequestConfig) {
|
|
35288
|
+
return SkillsApiFp(this.configuration).skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamUpdateMemberRoles(skillId, member, orgId, projectId, skillIAMMemberRoleUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
35289
|
+
}
|
|
35290
|
+
|
|
34620
35291
|
/**
|
|
34621
35292
|
* Update project-scoped skill metadata.
|
|
34622
35293
|
* @summary Update Project Skill
|
|
@@ -34633,6 +35304,15 @@ export class SkillsApi extends BaseAPI {
|
|
|
34633
35304
|
}
|
|
34634
35305
|
}
|
|
34635
35306
|
|
|
35307
|
+
/**
|
|
35308
|
+
* @export
|
|
35309
|
+
*/
|
|
35310
|
+
export const SkillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembersTypeEnum = {
|
|
35311
|
+
User: 'user',
|
|
35312
|
+
Organization: 'organization',
|
|
35313
|
+
Project: 'project'
|
|
35314
|
+
} as const;
|
|
35315
|
+
export type SkillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembersTypeEnum = typeof SkillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembersTypeEnum[keyof typeof SkillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembersTypeEnum];
|
|
34636
35316
|
|
|
34637
35317
|
|
|
34638
35318
|
/**
|