@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/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<SkillRevisionFileContent>}
|
|
7713
|
+
* @memberof ProjectSkillRevisionContent
|
|
7714
|
+
*/
|
|
7715
|
+
'reference_file_contents'?: Array<SkillRevisionFileContent>;
|
|
7716
|
+
/**
|
|
7717
|
+
*
|
|
7718
|
+
* @type {Array<SkillRevisionFileContent>}
|
|
7719
|
+
* @memberof ProjectSkillRevisionContent
|
|
7720
|
+
*/
|
|
7721
|
+
'asset_file_contents'?: Array<SkillRevisionFileContent>;
|
|
7722
|
+
/**
|
|
7723
|
+
*
|
|
7724
|
+
* @type {Array<string>}
|
|
7725
|
+
* @memberof ProjectSkillRevisionContent
|
|
7726
|
+
*/
|
|
7727
|
+
'script_files'?: Array<string>;
|
|
7728
|
+
}
|
|
7588
7729
|
/**
|
|
7589
7730
|
* Schema for creating a new project-scoped skill revision.
|
|
7590
7731
|
* @export
|
|
@@ -8256,6 +8397,18 @@ export type Response400ProjectIntegrationIamOrgOrgIdProjectProjectIdIntegrationI
|
|
|
8256
8397
|
*/
|
|
8257
8398
|
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
8399
|
|
|
8400
|
+
/**
|
|
8401
|
+
* @type Response400SkillIamOrgOrgIdProjectProjectIdSkillSkillIdIamTestPermissions
|
|
8402
|
+
* @export
|
|
8403
|
+
*/
|
|
8404
|
+
export type Response400SkillIamOrgOrgIdProjectProjectIdSkillSkillIdIamTestPermissions = { reason: 'INVALID_MEMBER' } & InvalidMemberErrorResponse | { reason: 'INVALID_ROLE' } & InvalidRoleErrorResponse | { reason: 'INVALID_SUBJECT_TYPE' } & InvalidSubjectTypeErrorResponse | { reason: 'MALFORMED_RESOURCE_IDENTIFIER' } & MalformedResourceIdentifierErrorResponse;
|
|
8405
|
+
|
|
8406
|
+
/**
|
|
8407
|
+
* @type Response400SkillIamOrgOrgIdProjectProjectIdSkillSkillIdIamUpdateMemberRoles
|
|
8408
|
+
* @export
|
|
8409
|
+
*/
|
|
8410
|
+
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;
|
|
8411
|
+
|
|
8259
8412
|
/**
|
|
8260
8413
|
* @type Response400TaskAgentIamOrgOrgIdProjectProjectIdTaskAgentTaskAgentIdIamTestPermissions
|
|
8261
8414
|
* @export
|
|
@@ -8958,6 +9111,30 @@ export type Response403Revokeprojectapikey = { reason: 'MISSING_AUTHENTICATION'
|
|
|
8958
9111
|
*/
|
|
8959
9112
|
export type Response403Rotatewebhooksecret = { reason: 'MISSING_AUTHENTICATION' } & MissingAuthenticationErrorResponse | { reason: 'PERMISSION_CHECK_FAILED' } & PermissionCheckFailedErrorResponse;
|
|
8960
9113
|
|
|
9114
|
+
/**
|
|
9115
|
+
* @type Response403SkillIamOrgOrgIdProjectProjectIdSkillSkillIdIamGetMember
|
|
9116
|
+
* @export
|
|
9117
|
+
*/
|
|
9118
|
+
export type Response403SkillIamOrgOrgIdProjectProjectIdSkillSkillIdIamGetMember = { reason: 'MISSING_AUTHENTICATION' } & MissingAuthenticationErrorResponse | { reason: 'PERMISSION_CHECK_FAILED' } & PermissionCheckFailedErrorResponse;
|
|
9119
|
+
|
|
9120
|
+
/**
|
|
9121
|
+
* @type Response403SkillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembers
|
|
9122
|
+
* @export
|
|
9123
|
+
*/
|
|
9124
|
+
export type Response403SkillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembers = { reason: 'MISSING_AUTHENTICATION' } & MissingAuthenticationErrorResponse | { reason: 'PERMISSION_CHECK_FAILED' } & PermissionCheckFailedErrorResponse;
|
|
9125
|
+
|
|
9126
|
+
/**
|
|
9127
|
+
* @type Response403SkillIamOrgOrgIdProjectProjectIdSkillSkillIdIamTestPermissions
|
|
9128
|
+
* @export
|
|
9129
|
+
*/
|
|
9130
|
+
export type Response403SkillIamOrgOrgIdProjectProjectIdSkillSkillIdIamTestPermissions = { reason: 'MISSING_AUTHENTICATION' } & MissingAuthenticationErrorResponse | { reason: 'PERMISSION_CHECK_FAILED' } & PermissionCheckFailedErrorResponse;
|
|
9131
|
+
|
|
9132
|
+
/**
|
|
9133
|
+
* @type Response403SkillIamOrgOrgIdProjectProjectIdSkillSkillIdIamUpdateMemberRoles
|
|
9134
|
+
* @export
|
|
9135
|
+
*/
|
|
9136
|
+
export type Response403SkillIamOrgOrgIdProjectProjectIdSkillSkillIdIamUpdateMemberRoles = { reason: 'MISSING_AUTHENTICATION' } & MissingAuthenticationErrorResponse | { reason: 'PERMISSION_CHECK_FAILED' } & PermissionCheckFailedErrorResponse;
|
|
9137
|
+
|
|
8961
9138
|
/**
|
|
8962
9139
|
* @type Response403Suggestprojecttopics
|
|
8963
9140
|
* @export
|
|
@@ -9829,6 +10006,81 @@ export interface SkillContentRead {
|
|
|
9829
10006
|
*/
|
|
9830
10007
|
'active_revision': SkillRevisionContent;
|
|
9831
10008
|
}
|
|
10009
|
+
/**
|
|
10010
|
+
*
|
|
10011
|
+
* @export
|
|
10012
|
+
* @interface SkillIAMMemberRoleUpdate
|
|
10013
|
+
*/
|
|
10014
|
+
export interface SkillIAMMemberRoleUpdate {
|
|
10015
|
+
/**
|
|
10016
|
+
* 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.
|
|
10017
|
+
* @type {Array<string>}
|
|
10018
|
+
* @memberof SkillIAMMemberRoleUpdate
|
|
10019
|
+
*/
|
|
10020
|
+
'add'?: Array<SkillIAMMemberRoleUpdateAddEnum>;
|
|
10021
|
+
/**
|
|
10022
|
+
* A list of skill roles to revoke from the member.
|
|
10023
|
+
* @type {Array<string>}
|
|
10024
|
+
* @memberof SkillIAMMemberRoleUpdate
|
|
10025
|
+
*/
|
|
10026
|
+
'remove'?: Array<SkillIAMMemberRoleUpdateRemoveEnum>;
|
|
10027
|
+
/**
|
|
10028
|
+
* Removes all existing roles from the member. This may be combined with `add` to replace all existing roles that the member holds.
|
|
10029
|
+
* @type {boolean}
|
|
10030
|
+
* @memberof SkillIAMMemberRoleUpdate
|
|
10031
|
+
*/
|
|
10032
|
+
'remove_all'?: boolean | null;
|
|
10033
|
+
}
|
|
10034
|
+
|
|
10035
|
+
export const SkillIAMMemberRoleUpdateAddEnum = {
|
|
10036
|
+
Editor: 'editor',
|
|
10037
|
+
Owner: 'owner',
|
|
10038
|
+
Viewer: 'viewer'
|
|
10039
|
+
} as const;
|
|
10040
|
+
|
|
10041
|
+
export type SkillIAMMemberRoleUpdateAddEnum = typeof SkillIAMMemberRoleUpdateAddEnum[keyof typeof SkillIAMMemberRoleUpdateAddEnum];
|
|
10042
|
+
export const SkillIAMMemberRoleUpdateRemoveEnum = {
|
|
10043
|
+
Editor: 'editor',
|
|
10044
|
+
Owner: 'owner',
|
|
10045
|
+
Viewer: 'viewer'
|
|
10046
|
+
} as const;
|
|
10047
|
+
|
|
10048
|
+
export type SkillIAMMemberRoleUpdateRemoveEnum = typeof SkillIAMMemberRoleUpdateRemoveEnum[keyof typeof SkillIAMMemberRoleUpdateRemoveEnum];
|
|
10049
|
+
|
|
10050
|
+
/**
|
|
10051
|
+
*
|
|
10052
|
+
* @export
|
|
10053
|
+
* @interface SkillIAMPermissionTest
|
|
10054
|
+
*/
|
|
10055
|
+
export interface SkillIAMPermissionTest {
|
|
10056
|
+
/**
|
|
10057
|
+
* A list of permissions to test on the skill.
|
|
10058
|
+
* @type {Array<string>}
|
|
10059
|
+
* @memberof SkillIAMPermissionTest
|
|
10060
|
+
*/
|
|
10061
|
+
'permissions': Array<SkillIAMPermissionTestPermissionsEnum>;
|
|
10062
|
+
/**
|
|
10063
|
+
*
|
|
10064
|
+
* @type {string}
|
|
10065
|
+
* @memberof SkillIAMPermissionTest
|
|
10066
|
+
*/
|
|
10067
|
+
'member'?: string | null;
|
|
10068
|
+
}
|
|
10069
|
+
|
|
10070
|
+
export const SkillIAMPermissionTestPermissionsEnum = {
|
|
10071
|
+
AddEditor: 'add_editor',
|
|
10072
|
+
AddMember: 'add_member',
|
|
10073
|
+
AddOwner: 'add_owner',
|
|
10074
|
+
Edit: 'edit',
|
|
10075
|
+
RemoveEditor: 'remove_editor',
|
|
10076
|
+
RemoveMember: 'remove_member',
|
|
10077
|
+
RemoveOwner: 'remove_owner',
|
|
10078
|
+
View: 'view',
|
|
10079
|
+
ViewMembers: 'view_members'
|
|
10080
|
+
} as const;
|
|
10081
|
+
|
|
10082
|
+
export type SkillIAMPermissionTestPermissionsEnum = typeof SkillIAMPermissionTestPermissionsEnum[keyof typeof SkillIAMPermissionTestPermissionsEnum];
|
|
10083
|
+
|
|
9832
10084
|
/**
|
|
9833
10085
|
*
|
|
9834
10086
|
* @export
|
|
@@ -9980,6 +10232,18 @@ export interface SkillRevisionContent {
|
|
|
9980
10232
|
* @memberof SkillRevisionContent
|
|
9981
10233
|
*/
|
|
9982
10234
|
'asset_files': Array<string>;
|
|
10235
|
+
/**
|
|
10236
|
+
*
|
|
10237
|
+
* @type {Array<SkillRevisionFileContent>}
|
|
10238
|
+
* @memberof SkillRevisionContent
|
|
10239
|
+
*/
|
|
10240
|
+
'reference_file_contents'?: Array<SkillRevisionFileContent>;
|
|
10241
|
+
/**
|
|
10242
|
+
*
|
|
10243
|
+
* @type {Array<SkillRevisionFileContent>}
|
|
10244
|
+
* @memberof SkillRevisionContent
|
|
10245
|
+
*/
|
|
10246
|
+
'asset_file_contents'?: Array<SkillRevisionFileContent>;
|
|
9983
10247
|
/**
|
|
9984
10248
|
*
|
|
9985
10249
|
* @type {Array<string>}
|
|
@@ -9987,6 +10251,37 @@ export interface SkillRevisionContent {
|
|
|
9987
10251
|
*/
|
|
9988
10252
|
'script_files'?: Array<string>;
|
|
9989
10253
|
}
|
|
10254
|
+
/**
|
|
10255
|
+
*
|
|
10256
|
+
* @export
|
|
10257
|
+
* @interface SkillRevisionFileContent
|
|
10258
|
+
*/
|
|
10259
|
+
export interface SkillRevisionFileContent {
|
|
10260
|
+
/**
|
|
10261
|
+
*
|
|
10262
|
+
* @type {string}
|
|
10263
|
+
* @memberof SkillRevisionFileContent
|
|
10264
|
+
*/
|
|
10265
|
+
'path': string;
|
|
10266
|
+
/**
|
|
10267
|
+
*
|
|
10268
|
+
* @type {string}
|
|
10269
|
+
* @memberof SkillRevisionFileContent
|
|
10270
|
+
*/
|
|
10271
|
+
'content': string;
|
|
10272
|
+
/**
|
|
10273
|
+
* The UTF-8 encoded file size in bytes.
|
|
10274
|
+
* @type {number}
|
|
10275
|
+
* @memberof SkillRevisionFileContent
|
|
10276
|
+
*/
|
|
10277
|
+
'size_bytes': number;
|
|
10278
|
+
/**
|
|
10279
|
+
* The UTF-8 encoded file size in kilobytes, rounded to 2 decimals.
|
|
10280
|
+
* @type {number}
|
|
10281
|
+
* @memberof SkillRevisionFileContent
|
|
10282
|
+
*/
|
|
10283
|
+
'size_kb': number;
|
|
10284
|
+
}
|
|
9990
10285
|
/**
|
|
9991
10286
|
*
|
|
9992
10287
|
* @export
|
|
@@ -33393,7 +33688,7 @@ export const SkillsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
33393
33688
|
};
|
|
33394
33689
|
},
|
|
33395
33690
|
/**
|
|
33396
|
-
* Retrieve the active revision content for a skill, including instructions, metadata,
|
|
33691
|
+
* Retrieve the active revision content for a skill, including instructions, metadata, available reference or asset filenames, and structured file content entries with body size.
|
|
33397
33692
|
* @summary Get Skill Content
|
|
33398
33693
|
* @param {string} skillId
|
|
33399
33694
|
* @param {*} [options] Override http request option.
|
|
@@ -33431,7 +33726,7 @@ export const SkillsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
33431
33726
|
};
|
|
33432
33727
|
},
|
|
33433
33728
|
/**
|
|
33434
|
-
* Retrieve full content for a specific skill revision.
|
|
33729
|
+
* Retrieve full content for a specific skill revision, including structured reference and asset file bodies with size metadata.
|
|
33435
33730
|
* @summary Get Skill Revision
|
|
33436
33731
|
* @param {string} skillId
|
|
33437
33732
|
* @param {string} revisionId
|
|
@@ -33812,6 +34107,215 @@ export const SkillsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
33812
34107
|
options: localVarRequestOptions,
|
|
33813
34108
|
};
|
|
33814
34109
|
},
|
|
34110
|
+
/**
|
|
34111
|
+
* Retrieve a specific member that has been granted direct access to the skill.
|
|
34112
|
+
* @summary IAM - Lookup Skill Member
|
|
34113
|
+
* @param {string} skillId
|
|
34114
|
+
* @param {string} member
|
|
34115
|
+
* @param {string} orgId The org id
|
|
34116
|
+
* @param {string} projectId The project id
|
|
34117
|
+
* @param {*} [options] Override http request option.
|
|
34118
|
+
* @throws {RequiredError}
|
|
34119
|
+
*/
|
|
34120
|
+
skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamGetMember: async (skillId: string, member: string, orgId: string, projectId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34121
|
+
// verify required parameter 'skillId' is not null or undefined
|
|
34122
|
+
assertParamExists('skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamGetMember', 'skillId', skillId)
|
|
34123
|
+
// verify required parameter 'member' is not null or undefined
|
|
34124
|
+
assertParamExists('skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamGetMember', 'member', member)
|
|
34125
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
34126
|
+
assertParamExists('skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamGetMember', 'orgId', orgId)
|
|
34127
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
34128
|
+
assertParamExists('skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamGetMember', 'projectId', projectId)
|
|
34129
|
+
const localVarPath = `/org/{org_id}/project/{project_id}/skill/{skill_id}/iam/members/{member}`
|
|
34130
|
+
.replace(`{${"skill_id"}}`, encodeURIComponent(String(skillId)))
|
|
34131
|
+
.replace(`{${"member"}}`, encodeURIComponent(String(member)))
|
|
34132
|
+
.replace(`{${"org_id"}}`, encodeURIComponent(String(orgId)))
|
|
34133
|
+
.replace(`{${"project_id"}}`, encodeURIComponent(String(projectId)));
|
|
34134
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34135
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34136
|
+
let baseOptions;
|
|
34137
|
+
if (configuration) {
|
|
34138
|
+
baseOptions = configuration.baseOptions;
|
|
34139
|
+
}
|
|
34140
|
+
|
|
34141
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
34142
|
+
const localVarHeaderParameter = {} as any;
|
|
34143
|
+
const localVarQueryParameter = {} as any;
|
|
34144
|
+
|
|
34145
|
+
// authentication HTTPBearer required
|
|
34146
|
+
// http bearer authentication required
|
|
34147
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
34148
|
+
|
|
34149
|
+
|
|
34150
|
+
|
|
34151
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
34152
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34153
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
34154
|
+
|
|
34155
|
+
return {
|
|
34156
|
+
url: toPathString(localVarUrlObj),
|
|
34157
|
+
options: localVarRequestOptions,
|
|
34158
|
+
};
|
|
34159
|
+
},
|
|
34160
|
+
/**
|
|
34161
|
+
* Lists all members that have been granted direct access to the skill.
|
|
34162
|
+
* @summary IAM - List Skill Members
|
|
34163
|
+
* @param {string} skillId
|
|
34164
|
+
* @param {string} orgId The org id
|
|
34165
|
+
* @param {string} projectId The project id
|
|
34166
|
+
* @param {SkillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembersTypeEnum} [type]
|
|
34167
|
+
* @param {*} [options] Override http request option.
|
|
34168
|
+
* @throws {RequiredError}
|
|
34169
|
+
*/
|
|
34170
|
+
skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembers: async (skillId: string, orgId: string, projectId: string, type?: SkillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembersTypeEnum, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34171
|
+
// verify required parameter 'skillId' is not null or undefined
|
|
34172
|
+
assertParamExists('skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembers', 'skillId', skillId)
|
|
34173
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
34174
|
+
assertParamExists('skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembers', 'orgId', orgId)
|
|
34175
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
34176
|
+
assertParamExists('skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembers', 'projectId', projectId)
|
|
34177
|
+
const localVarPath = `/org/{org_id}/project/{project_id}/skill/{skill_id}/iam/members`
|
|
34178
|
+
.replace(`{${"skill_id"}}`, encodeURIComponent(String(skillId)))
|
|
34179
|
+
.replace(`{${"org_id"}}`, encodeURIComponent(String(orgId)))
|
|
34180
|
+
.replace(`{${"project_id"}}`, encodeURIComponent(String(projectId)));
|
|
34181
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34182
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34183
|
+
let baseOptions;
|
|
34184
|
+
if (configuration) {
|
|
34185
|
+
baseOptions = configuration.baseOptions;
|
|
34186
|
+
}
|
|
34187
|
+
|
|
34188
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
34189
|
+
const localVarHeaderParameter = {} as any;
|
|
34190
|
+
const localVarQueryParameter = {} as any;
|
|
34191
|
+
|
|
34192
|
+
// authentication HTTPBearer required
|
|
34193
|
+
// http bearer authentication required
|
|
34194
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
34195
|
+
|
|
34196
|
+
if (type !== undefined) {
|
|
34197
|
+
localVarQueryParameter['type'] = type;
|
|
34198
|
+
}
|
|
34199
|
+
|
|
34200
|
+
|
|
34201
|
+
|
|
34202
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
34203
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34204
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
34205
|
+
|
|
34206
|
+
return {
|
|
34207
|
+
url: toPathString(localVarUrlObj),
|
|
34208
|
+
options: localVarRequestOptions,
|
|
34209
|
+
};
|
|
34210
|
+
},
|
|
34211
|
+
/**
|
|
34212
|
+
* Test the permissions that the caller (or another subject) holds on the skill.
|
|
34213
|
+
* @summary IAM - Test Skill Permissions
|
|
34214
|
+
* @param {string} skillId
|
|
34215
|
+
* @param {string} orgId The org id
|
|
34216
|
+
* @param {string} projectId The project id
|
|
34217
|
+
* @param {SkillIAMPermissionTest} skillIAMPermissionTest
|
|
34218
|
+
* @param {*} [options] Override http request option.
|
|
34219
|
+
* @throws {RequiredError}
|
|
34220
|
+
*/
|
|
34221
|
+
skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamTestPermissions: async (skillId: string, orgId: string, projectId: string, skillIAMPermissionTest: SkillIAMPermissionTest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34222
|
+
// verify required parameter 'skillId' is not null or undefined
|
|
34223
|
+
assertParamExists('skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamTestPermissions', 'skillId', skillId)
|
|
34224
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
34225
|
+
assertParamExists('skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamTestPermissions', 'orgId', orgId)
|
|
34226
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
34227
|
+
assertParamExists('skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamTestPermissions', 'projectId', projectId)
|
|
34228
|
+
// verify required parameter 'skillIAMPermissionTest' is not null or undefined
|
|
34229
|
+
assertParamExists('skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamTestPermissions', 'skillIAMPermissionTest', skillIAMPermissionTest)
|
|
34230
|
+
const localVarPath = `/org/{org_id}/project/{project_id}/skill/{skill_id}/iam/test`
|
|
34231
|
+
.replace(`{${"skill_id"}}`, encodeURIComponent(String(skillId)))
|
|
34232
|
+
.replace(`{${"org_id"}}`, encodeURIComponent(String(orgId)))
|
|
34233
|
+
.replace(`{${"project_id"}}`, encodeURIComponent(String(projectId)));
|
|
34234
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34235
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34236
|
+
let baseOptions;
|
|
34237
|
+
if (configuration) {
|
|
34238
|
+
baseOptions = configuration.baseOptions;
|
|
34239
|
+
}
|
|
34240
|
+
|
|
34241
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
34242
|
+
const localVarHeaderParameter = {} as any;
|
|
34243
|
+
const localVarQueryParameter = {} as any;
|
|
34244
|
+
|
|
34245
|
+
// authentication HTTPBearer required
|
|
34246
|
+
// http bearer authentication required
|
|
34247
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
34248
|
+
|
|
34249
|
+
|
|
34250
|
+
|
|
34251
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
34252
|
+
|
|
34253
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
34254
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34255
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
34256
|
+
localVarRequestOptions.data = serializeDataIfNeeded(skillIAMPermissionTest, localVarRequestOptions, configuration)
|
|
34257
|
+
|
|
34258
|
+
return {
|
|
34259
|
+
url: toPathString(localVarUrlObj),
|
|
34260
|
+
options: localVarRequestOptions,
|
|
34261
|
+
};
|
|
34262
|
+
},
|
|
34263
|
+
/**
|
|
34264
|
+
* Update the roles that a member holds on the skill.
|
|
34265
|
+
* @summary IAM - Update Skill Member
|
|
34266
|
+
* @param {string} skillId
|
|
34267
|
+
* @param {string} member
|
|
34268
|
+
* @param {string} orgId The org id
|
|
34269
|
+
* @param {string} projectId The project id
|
|
34270
|
+
* @param {SkillIAMMemberRoleUpdate} skillIAMMemberRoleUpdate
|
|
34271
|
+
* @param {*} [options] Override http request option.
|
|
34272
|
+
* @throws {RequiredError}
|
|
34273
|
+
*/
|
|
34274
|
+
skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamUpdateMemberRoles: async (skillId: string, member: string, orgId: string, projectId: string, skillIAMMemberRoleUpdate: SkillIAMMemberRoleUpdate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34275
|
+
// verify required parameter 'skillId' is not null or undefined
|
|
34276
|
+
assertParamExists('skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamUpdateMemberRoles', 'skillId', skillId)
|
|
34277
|
+
// verify required parameter 'member' is not null or undefined
|
|
34278
|
+
assertParamExists('skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamUpdateMemberRoles', 'member', member)
|
|
34279
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
34280
|
+
assertParamExists('skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamUpdateMemberRoles', 'orgId', orgId)
|
|
34281
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
34282
|
+
assertParamExists('skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamUpdateMemberRoles', 'projectId', projectId)
|
|
34283
|
+
// verify required parameter 'skillIAMMemberRoleUpdate' is not null or undefined
|
|
34284
|
+
assertParamExists('skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamUpdateMemberRoles', 'skillIAMMemberRoleUpdate', skillIAMMemberRoleUpdate)
|
|
34285
|
+
const localVarPath = `/org/{org_id}/project/{project_id}/skill/{skill_id}/iam/members/{member}`
|
|
34286
|
+
.replace(`{${"skill_id"}}`, encodeURIComponent(String(skillId)))
|
|
34287
|
+
.replace(`{${"member"}}`, encodeURIComponent(String(member)))
|
|
34288
|
+
.replace(`{${"org_id"}}`, encodeURIComponent(String(orgId)))
|
|
34289
|
+
.replace(`{${"project_id"}}`, encodeURIComponent(String(projectId)));
|
|
34290
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34291
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34292
|
+
let baseOptions;
|
|
34293
|
+
if (configuration) {
|
|
34294
|
+
baseOptions = configuration.baseOptions;
|
|
34295
|
+
}
|
|
34296
|
+
|
|
34297
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
34298
|
+
const localVarHeaderParameter = {} as any;
|
|
34299
|
+
const localVarQueryParameter = {} as any;
|
|
34300
|
+
|
|
34301
|
+
// authentication HTTPBearer required
|
|
34302
|
+
// http bearer authentication required
|
|
34303
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
34304
|
+
|
|
34305
|
+
|
|
34306
|
+
|
|
34307
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
34308
|
+
|
|
34309
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
34310
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34311
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
34312
|
+
localVarRequestOptions.data = serializeDataIfNeeded(skillIAMMemberRoleUpdate, localVarRequestOptions, configuration)
|
|
34313
|
+
|
|
34314
|
+
return {
|
|
34315
|
+
url: toPathString(localVarUrlObj),
|
|
34316
|
+
options: localVarRequestOptions,
|
|
34317
|
+
};
|
|
34318
|
+
},
|
|
33815
34319
|
/**
|
|
33816
34320
|
* Update project-scoped skill metadata.
|
|
33817
34321
|
* @summary Update Project Skill
|
|
@@ -33915,7 +34419,7 @@ export const SkillsApiFp = function(configuration?: Configuration) {
|
|
|
33915
34419
|
* @param {*} [options] Override http request option.
|
|
33916
34420
|
* @throws {RequiredError}
|
|
33917
34421
|
*/
|
|
33918
|
-
async createProjectSkillRevision(skillId: string, orgId: string, projectId: string, projectSkillRevisionCreate: ProjectSkillRevisionCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
34422
|
+
async createProjectSkillRevision(skillId: string, orgId: string, projectId: string, projectSkillRevisionCreate: ProjectSkillRevisionCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectSkillRevisionContent>> {
|
|
33919
34423
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createProjectSkillRevision(skillId, orgId, projectId, projectSkillRevisionCreate, options);
|
|
33920
34424
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
33921
34425
|
const localVarOperationServerBasePath = operationServerMap['SkillsApi.createProjectSkillRevision']?.[localVarOperationServerIndex]?.url;
|
|
@@ -33960,7 +34464,7 @@ export const SkillsApiFp = function(configuration?: Configuration) {
|
|
|
33960
34464
|
* @param {*} [options] Override http request option.
|
|
33961
34465
|
* @throws {RequiredError}
|
|
33962
34466
|
*/
|
|
33963
|
-
async getProjectSkillContent(skillId: string, orgId: string, projectId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
34467
|
+
async getProjectSkillContent(skillId: string, orgId: string, projectId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectSkillContentRead>> {
|
|
33964
34468
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getProjectSkillContent(skillId, orgId, projectId, options);
|
|
33965
34469
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
33966
34470
|
const localVarOperationServerBasePath = operationServerMap['SkillsApi.getProjectSkillContent']?.[localVarOperationServerIndex]?.url;
|
|
@@ -33976,7 +34480,7 @@ export const SkillsApiFp = function(configuration?: Configuration) {
|
|
|
33976
34480
|
* @param {*} [options] Override http request option.
|
|
33977
34481
|
* @throws {RequiredError}
|
|
33978
34482
|
*/
|
|
33979
|
-
async getProjectSkillRevision(skillId: string, revisionId: string, orgId: string, projectId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
34483
|
+
async getProjectSkillRevision(skillId: string, revisionId: string, orgId: string, projectId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectSkillRevisionContent>> {
|
|
33980
34484
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getProjectSkillRevision(skillId, revisionId, orgId, projectId, options);
|
|
33981
34485
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
33982
34486
|
const localVarOperationServerBasePath = operationServerMap['SkillsApi.getProjectSkillRevision']?.[localVarOperationServerIndex]?.url;
|
|
@@ -33996,7 +34500,7 @@ export const SkillsApiFp = function(configuration?: Configuration) {
|
|
|
33996
34500
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
33997
34501
|
},
|
|
33998
34502
|
/**
|
|
33999
|
-
* Retrieve the active revision content for a skill, including instructions, metadata,
|
|
34503
|
+
* Retrieve the active revision content for a skill, including instructions, metadata, available reference or asset filenames, and structured file content entries with body size.
|
|
34000
34504
|
* @summary Get Skill Content
|
|
34001
34505
|
* @param {string} skillId
|
|
34002
34506
|
* @param {*} [options] Override http request option.
|
|
@@ -34009,7 +34513,7 @@ export const SkillsApiFp = function(configuration?: Configuration) {
|
|
|
34009
34513
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34010
34514
|
},
|
|
34011
34515
|
/**
|
|
34012
|
-
* Retrieve full content for a specific skill revision.
|
|
34516
|
+
* Retrieve full content for a specific skill revision, including structured reference and asset file bodies with size metadata.
|
|
34013
34517
|
* @summary Get Skill Revision
|
|
34014
34518
|
* @param {string} skillId
|
|
34015
34519
|
* @param {string} revisionId
|
|
@@ -34128,6 +34632,71 @@ export const SkillsApiFp = function(configuration?: Configuration) {
|
|
|
34128
34632
|
const localVarOperationServerBasePath = operationServerMap['SkillsApi.listSkills']?.[localVarOperationServerIndex]?.url;
|
|
34129
34633
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34130
34634
|
},
|
|
34635
|
+
/**
|
|
34636
|
+
* Retrieve a specific member that has been granted direct access to the skill.
|
|
34637
|
+
* @summary IAM - Lookup Skill Member
|
|
34638
|
+
* @param {string} skillId
|
|
34639
|
+
* @param {string} member
|
|
34640
|
+
* @param {string} orgId The org id
|
|
34641
|
+
* @param {string} projectId The project id
|
|
34642
|
+
* @param {*} [options] Override http request option.
|
|
34643
|
+
* @throws {RequiredError}
|
|
34644
|
+
*/
|
|
34645
|
+
async skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamGetMember(skillId: string, member: string, orgId: string, projectId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IAMMember>> {
|
|
34646
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamGetMember(skillId, member, orgId, projectId, options);
|
|
34647
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
34648
|
+
const localVarOperationServerBasePath = operationServerMap['SkillsApi.skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamGetMember']?.[localVarOperationServerIndex]?.url;
|
|
34649
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34650
|
+
},
|
|
34651
|
+
/**
|
|
34652
|
+
* Lists all members that have been granted direct access to the skill.
|
|
34653
|
+
* @summary IAM - List Skill Members
|
|
34654
|
+
* @param {string} skillId
|
|
34655
|
+
* @param {string} orgId The org id
|
|
34656
|
+
* @param {string} projectId The project id
|
|
34657
|
+
* @param {SkillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembersTypeEnum} [type]
|
|
34658
|
+
* @param {*} [options] Override http request option.
|
|
34659
|
+
* @throws {RequiredError}
|
|
34660
|
+
*/
|
|
34661
|
+
async skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembers(skillId: string, orgId: string, projectId: string, type?: SkillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembersTypeEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedResultSetIAMMember>> {
|
|
34662
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembers(skillId, orgId, projectId, type, options);
|
|
34663
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
34664
|
+
const localVarOperationServerBasePath = operationServerMap['SkillsApi.skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembers']?.[localVarOperationServerIndex]?.url;
|
|
34665
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34666
|
+
},
|
|
34667
|
+
/**
|
|
34668
|
+
* Test the permissions that the caller (or another subject) holds on the skill.
|
|
34669
|
+
* @summary IAM - Test Skill Permissions
|
|
34670
|
+
* @param {string} skillId
|
|
34671
|
+
* @param {string} orgId The org id
|
|
34672
|
+
* @param {string} projectId The project id
|
|
34673
|
+
* @param {SkillIAMPermissionTest} skillIAMPermissionTest
|
|
34674
|
+
* @param {*} [options] Override http request option.
|
|
34675
|
+
* @throws {RequiredError}
|
|
34676
|
+
*/
|
|
34677
|
+
async skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamTestPermissions(skillId: string, orgId: string, projectId: string, skillIAMPermissionTest: SkillIAMPermissionTest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IAMPermissionTest>> {
|
|
34678
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamTestPermissions(skillId, orgId, projectId, skillIAMPermissionTest, options);
|
|
34679
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
34680
|
+
const localVarOperationServerBasePath = operationServerMap['SkillsApi.skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamTestPermissions']?.[localVarOperationServerIndex]?.url;
|
|
34681
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34682
|
+
},
|
|
34683
|
+
/**
|
|
34684
|
+
* Update the roles that a member holds on the skill.
|
|
34685
|
+
* @summary IAM - Update Skill Member
|
|
34686
|
+
* @param {string} skillId
|
|
34687
|
+
* @param {string} member
|
|
34688
|
+
* @param {string} orgId The org id
|
|
34689
|
+
* @param {string} projectId The project id
|
|
34690
|
+
* @param {SkillIAMMemberRoleUpdate} skillIAMMemberRoleUpdate
|
|
34691
|
+
* @param {*} [options] Override http request option.
|
|
34692
|
+
* @throws {RequiredError}
|
|
34693
|
+
*/
|
|
34694
|
+
async skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamUpdateMemberRoles(skillId: string, member: string, orgId: string, projectId: string, skillIAMMemberRoleUpdate: SkillIAMMemberRoleUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IAMMember>> {
|
|
34695
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamUpdateMemberRoles(skillId, member, orgId, projectId, skillIAMMemberRoleUpdate, options);
|
|
34696
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
34697
|
+
const localVarOperationServerBasePath = operationServerMap['SkillsApi.skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamUpdateMemberRoles']?.[localVarOperationServerIndex]?.url;
|
|
34698
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34699
|
+
},
|
|
34131
34700
|
/**
|
|
34132
34701
|
* Update project-scoped skill metadata.
|
|
34133
34702
|
* @summary Update Project Skill
|
|
@@ -34189,7 +34758,7 @@ export const SkillsApiFactory = function (configuration?: Configuration, basePat
|
|
|
34189
34758
|
* @param {*} [options] Override http request option.
|
|
34190
34759
|
* @throws {RequiredError}
|
|
34191
34760
|
*/
|
|
34192
|
-
createProjectSkillRevision(skillId: string, orgId: string, projectId: string, projectSkillRevisionCreate: ProjectSkillRevisionCreate, options?: any): AxiosPromise<
|
|
34761
|
+
createProjectSkillRevision(skillId: string, orgId: string, projectId: string, projectSkillRevisionCreate: ProjectSkillRevisionCreate, options?: any): AxiosPromise<ProjectSkillRevisionContent> {
|
|
34193
34762
|
return localVarFp.createProjectSkillRevision(skillId, orgId, projectId, projectSkillRevisionCreate, options).then((request) => request(axios, basePath));
|
|
34194
34763
|
},
|
|
34195
34764
|
/**
|
|
@@ -34225,7 +34794,7 @@ export const SkillsApiFactory = function (configuration?: Configuration, basePat
|
|
|
34225
34794
|
* @param {*} [options] Override http request option.
|
|
34226
34795
|
* @throws {RequiredError}
|
|
34227
34796
|
*/
|
|
34228
|
-
getProjectSkillContent(skillId: string, orgId: string, projectId: string, options?: any): AxiosPromise<
|
|
34797
|
+
getProjectSkillContent(skillId: string, orgId: string, projectId: string, options?: any): AxiosPromise<ProjectSkillContentRead> {
|
|
34229
34798
|
return localVarFp.getProjectSkillContent(skillId, orgId, projectId, options).then((request) => request(axios, basePath));
|
|
34230
34799
|
},
|
|
34231
34800
|
/**
|
|
@@ -34238,7 +34807,7 @@ export const SkillsApiFactory = function (configuration?: Configuration, basePat
|
|
|
34238
34807
|
* @param {*} [options] Override http request option.
|
|
34239
34808
|
* @throws {RequiredError}
|
|
34240
34809
|
*/
|
|
34241
|
-
getProjectSkillRevision(skillId: string, revisionId: string, orgId: string, projectId: string, options?: any): AxiosPromise<
|
|
34810
|
+
getProjectSkillRevision(skillId: string, revisionId: string, orgId: string, projectId: string, options?: any): AxiosPromise<ProjectSkillRevisionContent> {
|
|
34242
34811
|
return localVarFp.getProjectSkillRevision(skillId, revisionId, orgId, projectId, options).then((request) => request(axios, basePath));
|
|
34243
34812
|
},
|
|
34244
34813
|
/**
|
|
@@ -34252,7 +34821,7 @@ export const SkillsApiFactory = function (configuration?: Configuration, basePat
|
|
|
34252
34821
|
return localVarFp.getSkill(skillId, options).then((request) => request(axios, basePath));
|
|
34253
34822
|
},
|
|
34254
34823
|
/**
|
|
34255
|
-
* Retrieve the active revision content for a skill, including instructions, metadata,
|
|
34824
|
+
* Retrieve the active revision content for a skill, including instructions, metadata, available reference or asset filenames, and structured file content entries with body size.
|
|
34256
34825
|
* @summary Get Skill Content
|
|
34257
34826
|
* @param {string} skillId
|
|
34258
34827
|
* @param {*} [options] Override http request option.
|
|
@@ -34262,7 +34831,7 @@ export const SkillsApiFactory = function (configuration?: Configuration, basePat
|
|
|
34262
34831
|
return localVarFp.getSkillContent(skillId, options).then((request) => request(axios, basePath));
|
|
34263
34832
|
},
|
|
34264
34833
|
/**
|
|
34265
|
-
* Retrieve full content for a specific skill revision.
|
|
34834
|
+
* Retrieve full content for a specific skill revision, including structured reference and asset file bodies with size metadata.
|
|
34266
34835
|
* @summary Get Skill Revision
|
|
34267
34836
|
* @param {string} skillId
|
|
34268
34837
|
* @param {string} revisionId
|
|
@@ -34357,6 +34926,59 @@ export const SkillsApiFactory = function (configuration?: Configuration, basePat
|
|
|
34357
34926
|
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
34927
|
return localVarFp.listSkills(pageLimit, cursor, source, search, tag, tags, options).then((request) => request(axios, basePath));
|
|
34359
34928
|
},
|
|
34929
|
+
/**
|
|
34930
|
+
* Retrieve a specific member that has been granted direct access to the skill.
|
|
34931
|
+
* @summary IAM - Lookup Skill Member
|
|
34932
|
+
* @param {string} skillId
|
|
34933
|
+
* @param {string} member
|
|
34934
|
+
* @param {string} orgId The org id
|
|
34935
|
+
* @param {string} projectId The project id
|
|
34936
|
+
* @param {*} [options] Override http request option.
|
|
34937
|
+
* @throws {RequiredError}
|
|
34938
|
+
*/
|
|
34939
|
+
skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamGetMember(skillId: string, member: string, orgId: string, projectId: string, options?: any): AxiosPromise<IAMMember> {
|
|
34940
|
+
return localVarFp.skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamGetMember(skillId, member, orgId, projectId, options).then((request) => request(axios, basePath));
|
|
34941
|
+
},
|
|
34942
|
+
/**
|
|
34943
|
+
* Lists all members that have been granted direct access to the skill.
|
|
34944
|
+
* @summary IAM - List Skill Members
|
|
34945
|
+
* @param {string} skillId
|
|
34946
|
+
* @param {string} orgId The org id
|
|
34947
|
+
* @param {string} projectId The project id
|
|
34948
|
+
* @param {SkillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembersTypeEnum} [type]
|
|
34949
|
+
* @param {*} [options] Override http request option.
|
|
34950
|
+
* @throws {RequiredError}
|
|
34951
|
+
*/
|
|
34952
|
+
skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembers(skillId: string, orgId: string, projectId: string, type?: SkillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembersTypeEnum, options?: any): AxiosPromise<PaginatedResultSetIAMMember> {
|
|
34953
|
+
return localVarFp.skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembers(skillId, orgId, projectId, type, options).then((request) => request(axios, basePath));
|
|
34954
|
+
},
|
|
34955
|
+
/**
|
|
34956
|
+
* Test the permissions that the caller (or another subject) holds on the skill.
|
|
34957
|
+
* @summary IAM - Test Skill Permissions
|
|
34958
|
+
* @param {string} skillId
|
|
34959
|
+
* @param {string} orgId The org id
|
|
34960
|
+
* @param {string} projectId The project id
|
|
34961
|
+
* @param {SkillIAMPermissionTest} skillIAMPermissionTest
|
|
34962
|
+
* @param {*} [options] Override http request option.
|
|
34963
|
+
* @throws {RequiredError}
|
|
34964
|
+
*/
|
|
34965
|
+
skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamTestPermissions(skillId: string, orgId: string, projectId: string, skillIAMPermissionTest: SkillIAMPermissionTest, options?: any): AxiosPromise<IAMPermissionTest> {
|
|
34966
|
+
return localVarFp.skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamTestPermissions(skillId, orgId, projectId, skillIAMPermissionTest, options).then((request) => request(axios, basePath));
|
|
34967
|
+
},
|
|
34968
|
+
/**
|
|
34969
|
+
* Update the roles that a member holds on the skill.
|
|
34970
|
+
* @summary IAM - Update Skill Member
|
|
34971
|
+
* @param {string} skillId
|
|
34972
|
+
* @param {string} member
|
|
34973
|
+
* @param {string} orgId The org id
|
|
34974
|
+
* @param {string} projectId The project id
|
|
34975
|
+
* @param {SkillIAMMemberRoleUpdate} skillIAMMemberRoleUpdate
|
|
34976
|
+
* @param {*} [options] Override http request option.
|
|
34977
|
+
* @throws {RequiredError}
|
|
34978
|
+
*/
|
|
34979
|
+
skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamUpdateMemberRoles(skillId: string, member: string, orgId: string, projectId: string, skillIAMMemberRoleUpdate: SkillIAMMemberRoleUpdate, options?: any): AxiosPromise<IAMMember> {
|
|
34980
|
+
return localVarFp.skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamUpdateMemberRoles(skillId, member, orgId, projectId, skillIAMMemberRoleUpdate, options).then((request) => request(axios, basePath));
|
|
34981
|
+
},
|
|
34360
34982
|
/**
|
|
34361
34983
|
* Update project-scoped skill metadata.
|
|
34362
34984
|
* @summary Update Project Skill
|
|
@@ -34494,7 +35116,7 @@ export class SkillsApi extends BaseAPI {
|
|
|
34494
35116
|
}
|
|
34495
35117
|
|
|
34496
35118
|
/**
|
|
34497
|
-
* Retrieve the active revision content for a skill, including instructions, metadata,
|
|
35119
|
+
* Retrieve the active revision content for a skill, including instructions, metadata, available reference or asset filenames, and structured file content entries with body size.
|
|
34498
35120
|
* @summary Get Skill Content
|
|
34499
35121
|
* @param {string} skillId
|
|
34500
35122
|
* @param {*} [options] Override http request option.
|
|
@@ -34506,7 +35128,7 @@ export class SkillsApi extends BaseAPI {
|
|
|
34506
35128
|
}
|
|
34507
35129
|
|
|
34508
35130
|
/**
|
|
34509
|
-
* Retrieve full content for a specific skill revision.
|
|
35131
|
+
* Retrieve full content for a specific skill revision, including structured reference and asset file bodies with size metadata.
|
|
34510
35132
|
* @summary Get Skill Revision
|
|
34511
35133
|
* @param {string} skillId
|
|
34512
35134
|
* @param {string} revisionId
|
|
@@ -34617,6 +35239,67 @@ export class SkillsApi extends BaseAPI {
|
|
|
34617
35239
|
return SkillsApiFp(this.configuration).listSkills(pageLimit, cursor, source, search, tag, tags, options).then((request) => request(this.axios, this.basePath));
|
|
34618
35240
|
}
|
|
34619
35241
|
|
|
35242
|
+
/**
|
|
35243
|
+
* Retrieve a specific member that has been granted direct access to the skill.
|
|
35244
|
+
* @summary IAM - Lookup Skill Member
|
|
35245
|
+
* @param {string} skillId
|
|
35246
|
+
* @param {string} member
|
|
35247
|
+
* @param {string} orgId The org id
|
|
35248
|
+
* @param {string} projectId The project id
|
|
35249
|
+
* @param {*} [options] Override http request option.
|
|
35250
|
+
* @throws {RequiredError}
|
|
35251
|
+
* @memberof SkillsApi
|
|
35252
|
+
*/
|
|
35253
|
+
public skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamGetMember(skillId: string, member: string, orgId: string, projectId: string, options?: RawAxiosRequestConfig) {
|
|
35254
|
+
return SkillsApiFp(this.configuration).skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamGetMember(skillId, member, orgId, projectId, options).then((request) => request(this.axios, this.basePath));
|
|
35255
|
+
}
|
|
35256
|
+
|
|
35257
|
+
/**
|
|
35258
|
+
* Lists all members that have been granted direct access to the skill.
|
|
35259
|
+
* @summary IAM - List Skill Members
|
|
35260
|
+
* @param {string} skillId
|
|
35261
|
+
* @param {string} orgId The org id
|
|
35262
|
+
* @param {string} projectId The project id
|
|
35263
|
+
* @param {SkillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembersTypeEnum} [type]
|
|
35264
|
+
* @param {*} [options] Override http request option.
|
|
35265
|
+
* @throws {RequiredError}
|
|
35266
|
+
* @memberof SkillsApi
|
|
35267
|
+
*/
|
|
35268
|
+
public skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembers(skillId: string, orgId: string, projectId: string, type?: SkillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembersTypeEnum, options?: RawAxiosRequestConfig) {
|
|
35269
|
+
return SkillsApiFp(this.configuration).skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembers(skillId, orgId, projectId, type, options).then((request) => request(this.axios, this.basePath));
|
|
35270
|
+
}
|
|
35271
|
+
|
|
35272
|
+
/**
|
|
35273
|
+
* Test the permissions that the caller (or another subject) holds on the skill.
|
|
35274
|
+
* @summary IAM - Test Skill Permissions
|
|
35275
|
+
* @param {string} skillId
|
|
35276
|
+
* @param {string} orgId The org id
|
|
35277
|
+
* @param {string} projectId The project id
|
|
35278
|
+
* @param {SkillIAMPermissionTest} skillIAMPermissionTest
|
|
35279
|
+
* @param {*} [options] Override http request option.
|
|
35280
|
+
* @throws {RequiredError}
|
|
35281
|
+
* @memberof SkillsApi
|
|
35282
|
+
*/
|
|
35283
|
+
public skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamTestPermissions(skillId: string, orgId: string, projectId: string, skillIAMPermissionTest: SkillIAMPermissionTest, options?: RawAxiosRequestConfig) {
|
|
35284
|
+
return SkillsApiFp(this.configuration).skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamTestPermissions(skillId, orgId, projectId, skillIAMPermissionTest, options).then((request) => request(this.axios, this.basePath));
|
|
35285
|
+
}
|
|
35286
|
+
|
|
35287
|
+
/**
|
|
35288
|
+
* Update the roles that a member holds on the skill.
|
|
35289
|
+
* @summary IAM - Update Skill Member
|
|
35290
|
+
* @param {string} skillId
|
|
35291
|
+
* @param {string} member
|
|
35292
|
+
* @param {string} orgId The org id
|
|
35293
|
+
* @param {string} projectId The project id
|
|
35294
|
+
* @param {SkillIAMMemberRoleUpdate} skillIAMMemberRoleUpdate
|
|
35295
|
+
* @param {*} [options] Override http request option.
|
|
35296
|
+
* @throws {RequiredError}
|
|
35297
|
+
* @memberof SkillsApi
|
|
35298
|
+
*/
|
|
35299
|
+
public skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamUpdateMemberRoles(skillId: string, member: string, orgId: string, projectId: string, skillIAMMemberRoleUpdate: SkillIAMMemberRoleUpdate, options?: RawAxiosRequestConfig) {
|
|
35300
|
+
return SkillsApiFp(this.configuration).skillIamOrgOrgIdProjectProjectIdSkillSkillIdIamUpdateMemberRoles(skillId, member, orgId, projectId, skillIAMMemberRoleUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
35301
|
+
}
|
|
35302
|
+
|
|
34620
35303
|
/**
|
|
34621
35304
|
* Update project-scoped skill metadata.
|
|
34622
35305
|
* @summary Update Project Skill
|
|
@@ -34633,6 +35316,15 @@ export class SkillsApi extends BaseAPI {
|
|
|
34633
35316
|
}
|
|
34634
35317
|
}
|
|
34635
35318
|
|
|
35319
|
+
/**
|
|
35320
|
+
* @export
|
|
35321
|
+
*/
|
|
35322
|
+
export const SkillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembersTypeEnum = {
|
|
35323
|
+
User: 'user',
|
|
35324
|
+
Organization: 'organization',
|
|
35325
|
+
Project: 'project'
|
|
35326
|
+
} as const;
|
|
35327
|
+
export type SkillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembersTypeEnum = typeof SkillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembersTypeEnum[keyof typeof SkillIamOrgOrgIdProjectProjectIdSkillSkillIdIamListMembersTypeEnum];
|
|
34636
35328
|
|
|
34637
35329
|
|
|
34638
35330
|
/**
|