@tapis/tapis-typescript-sk 0.0.2
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/.openapi-generator/FILES +67 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +45 -0
- package/dist/apis/GeneralApi.d.ts +45 -0
- package/dist/apis/GeneralApi.js +199 -0
- package/dist/apis/RoleApi.d.ts +205 -0
- package/dist/apis/RoleApi.js +861 -0
- package/dist/apis/UserApi.d.ts +276 -0
- package/dist/apis/UserApi.js +1166 -0
- package/dist/apis/VaultApi.d.ts +195 -0
- package/dist/apis/VaultApi.js +740 -0
- package/dist/apis/index.d.ts +4 -0
- package/dist/apis/index.js +11 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +10 -0
- package/dist/models/Options.d.ts +27 -0
- package/dist/models/Options.js +41 -0
- package/dist/models/ReqAddChildRole.d.ts +39 -0
- package/dist/models/ReqAddChildRole.js +45 -0
- package/dist/models/ReqAddRolePermission.d.ts +39 -0
- package/dist/models/ReqAddRolePermission.js +45 -0
- package/dist/models/ReqCreateRole.d.ts +39 -0
- package/dist/models/ReqCreateRole.js +45 -0
- package/dist/models/ReqGrantAdminRole.d.ts +33 -0
- package/dist/models/ReqGrantAdminRole.js +43 -0
- package/dist/models/ReqGrantUserPermission.d.ts +39 -0
- package/dist/models/ReqGrantUserPermission.js +45 -0
- package/dist/models/ReqGrantUserRole.d.ts +39 -0
- package/dist/models/ReqGrantUserRole.js +45 -0
- package/dist/models/ReqGrantUserRoleWithPermission.d.ts +45 -0
- package/dist/models/ReqGrantUserRoleWithPermission.js +47 -0
- package/dist/models/ReqPreviewPathPrefix.d.ts +63 -0
- package/dist/models/ReqPreviewPathPrefix.js +53 -0
- package/dist/models/ReqRemoveChildRole.d.ts +39 -0
- package/dist/models/ReqRemoveChildRole.js +45 -0
- package/dist/models/ReqRemoveRolePermission.d.ts +39 -0
- package/dist/models/ReqRemoveRolePermission.js +45 -0
- package/dist/models/ReqReplacePathPrefix.d.ts +63 -0
- package/dist/models/ReqReplacePathPrefix.js +53 -0
- package/dist/models/ReqRevokeAdminRole.d.ts +33 -0
- package/dist/models/ReqRevokeAdminRole.js +43 -0
- package/dist/models/ReqRevokeUserPermission.d.ts +39 -0
- package/dist/models/ReqRevokeUserPermission.js +45 -0
- package/dist/models/ReqRevokeUserRole.d.ts +39 -0
- package/dist/models/ReqRevokeUserRole.js +45 -0
- package/dist/models/ReqUpdateRoleDescription.d.ts +33 -0
- package/dist/models/ReqUpdateRoleDescription.js +43 -0
- package/dist/models/ReqUpdateRoleName.d.ts +33 -0
- package/dist/models/ReqUpdateRoleName.js +43 -0
- package/dist/models/ReqUpdateRoleOwner.d.ts +39 -0
- package/dist/models/ReqUpdateRoleOwner.js +45 -0
- package/dist/models/ReqUserHasRole.d.ts +45 -0
- package/dist/models/ReqUserHasRole.js +47 -0
- package/dist/models/ReqUserHasRoleMulti.d.ts +45 -0
- package/dist/models/ReqUserHasRoleMulti.js +47 -0
- package/dist/models/ReqUserIsAdmin.d.ts +33 -0
- package/dist/models/ReqUserIsAdmin.js +43 -0
- package/dist/models/ReqUserIsPermitted.d.ts +45 -0
- package/dist/models/ReqUserIsPermitted.js +47 -0
- package/dist/models/ReqUserIsPermittedMulti.d.ts +45 -0
- package/dist/models/ReqUserIsPermittedMulti.js +47 -0
- package/dist/models/ReqValidateServicePwd.d.ts +39 -0
- package/dist/models/ReqValidateServicePwd.js +45 -0
- package/dist/models/ReqVersions.d.ts +39 -0
- package/dist/models/ReqVersions.js +45 -0
- package/dist/models/ReqWriteSecret.d.ts +48 -0
- package/dist/models/ReqWriteSecret.js +48 -0
- package/dist/models/RespAuthorized.d.ts +46 -0
- package/dist/models/RespAuthorized.js +48 -0
- package/dist/models/RespBasic.d.ts +45 -0
- package/dist/models/RespBasic.js +47 -0
- package/dist/models/RespChangeCount.d.ts +46 -0
- package/dist/models/RespChangeCount.js +48 -0
- package/dist/models/RespName.d.ts +46 -0
- package/dist/models/RespName.js +48 -0
- package/dist/models/RespNameArray.d.ts +46 -0
- package/dist/models/RespNameArray.js +48 -0
- package/dist/models/RespPathPrefixes.d.ts +46 -0
- package/dist/models/RespPathPrefixes.js +48 -0
- package/dist/models/RespProbe.d.ts +46 -0
- package/dist/models/RespProbe.js +48 -0
- package/dist/models/RespResourceUrl.d.ts +46 -0
- package/dist/models/RespResourceUrl.js +48 -0
- package/dist/models/RespRole.d.ts +46 -0
- package/dist/models/RespRole.js +48 -0
- package/dist/models/RespSecret.d.ts +46 -0
- package/dist/models/RespSecret.js +48 -0
- package/dist/models/RespSecretList.d.ts +46 -0
- package/dist/models/RespSecretList.js +48 -0
- package/dist/models/RespSecretMeta.d.ts +46 -0
- package/dist/models/RespSecretMeta.js +48 -0
- package/dist/models/RespSecretVersionMetadata.d.ts +46 -0
- package/dist/models/RespSecretVersionMetadata.js +48 -0
- package/dist/models/RespVersions.d.ts +45 -0
- package/dist/models/RespVersions.js +47 -0
- package/dist/models/ResultAuthorized.d.ts +27 -0
- package/dist/models/ResultAuthorized.js +41 -0
- package/dist/models/ResultChangeCount.d.ts +27 -0
- package/dist/models/ResultChangeCount.js +41 -0
- package/dist/models/ResultName.d.ts +27 -0
- package/dist/models/ResultName.js +41 -0
- package/dist/models/ResultNameArray.d.ts +27 -0
- package/dist/models/ResultNameArray.js +41 -0
- package/dist/models/ResultResourceUrl.d.ts +27 -0
- package/dist/models/ResultResourceUrl.js +41 -0
- package/dist/models/SkProbe.d.ts +45 -0
- package/dist/models/SkProbe.js +47 -0
- package/dist/models/SkRole.d.ts +93 -0
- package/dist/models/SkRole.js +63 -0
- package/dist/models/SkSecret.d.ts +36 -0
- package/dist/models/SkSecret.js +44 -0
- package/dist/models/SkSecretList.d.ts +33 -0
- package/dist/models/SkSecretList.js +43 -0
- package/dist/models/SkSecretMetadata.d.ts +45 -0
- package/dist/models/SkSecretMetadata.js +47 -0
- package/dist/models/SkSecretVersion.d.ts +45 -0
- package/dist/models/SkSecretVersion.js +47 -0
- package/dist/models/SkSecretVersionMetadata.d.ts +58 -0
- package/dist/models/SkSecretVersionMetadata.js +52 -0
- package/dist/models/Transformation.d.ts +39 -0
- package/dist/models/Transformation.js +45 -0
- package/dist/models/index.d.ts +53 -0
- package/dist/models/index.js +60 -0
- package/dist/runtime.d.ts +140 -0
- package/dist/runtime.js +420 -0
- package/package.json +15 -0
- package/src/apis/GeneralApi.ts +117 -0
- package/src/apis/RoleApi.ts +782 -0
- package/src/apis/UserApi.ts +1047 -0
- package/src/apis/VaultApi.ts +802 -0
- package/src/apis/index.ts +6 -0
- package/src/index.ts +5 -0
- package/src/models/Options.ts +56 -0
- package/src/models/ReqAddChildRole.ts +72 -0
- package/src/models/ReqAddRolePermission.ts +72 -0
- package/src/models/ReqCreateRole.ts +72 -0
- package/src/models/ReqGrantAdminRole.ts +64 -0
- package/src/models/ReqGrantUserPermission.ts +72 -0
- package/src/models/ReqGrantUserRole.ts +72 -0
- package/src/models/ReqGrantUserRoleWithPermission.ts +80 -0
- package/src/models/ReqPreviewPathPrefix.ts +104 -0
- package/src/models/ReqRemoveChildRole.ts +72 -0
- package/src/models/ReqRemoveRolePermission.ts +72 -0
- package/src/models/ReqReplacePathPrefix.ts +104 -0
- package/src/models/ReqRevokeAdminRole.ts +64 -0
- package/src/models/ReqRevokeUserPermission.ts +72 -0
- package/src/models/ReqRevokeUserRole.ts +72 -0
- package/src/models/ReqUpdateRoleDescription.ts +64 -0
- package/src/models/ReqUpdateRoleName.ts +64 -0
- package/src/models/ReqUpdateRoleOwner.ts +72 -0
- package/src/models/ReqUserHasRole.ts +80 -0
- package/src/models/ReqUserHasRoleMulti.ts +80 -0
- package/src/models/ReqUserIsAdmin.ts +64 -0
- package/src/models/ReqUserIsPermitted.ts +80 -0
- package/src/models/ReqUserIsPermittedMulti.ts +80 -0
- package/src/models/ReqValidateServicePwd.ts +72 -0
- package/src/models/ReqVersions.ts +72 -0
- package/src/models/ReqWriteSecret.ts +87 -0
- package/src/models/RespAuthorized.ts +87 -0
- package/src/models/RespBasic.ts +80 -0
- package/src/models/RespChangeCount.ts +87 -0
- package/src/models/RespName.ts +87 -0
- package/src/models/RespNameArray.ts +87 -0
- package/src/models/RespPathPrefixes.ts +87 -0
- package/src/models/RespProbe.ts +87 -0
- package/src/models/RespResourceUrl.ts +87 -0
- package/src/models/RespRole.ts +87 -0
- package/src/models/RespSecret.ts +87 -0
- package/src/models/RespSecretList.ts +87 -0
- package/src/models/RespSecretMeta.ts +87 -0
- package/src/models/RespSecretVersionMetadata.ts +87 -0
- package/src/models/RespVersions.ts +80 -0
- package/src/models/ResultAuthorized.ts +56 -0
- package/src/models/ResultChangeCount.ts +56 -0
- package/src/models/ResultName.ts +56 -0
- package/src/models/ResultNameArray.ts +56 -0
- package/src/models/ResultResourceUrl.ts +56 -0
- package/src/models/SkProbe.ts +80 -0
- package/src/models/SkRole.ts +144 -0
- package/src/models/SkSecret.ts +71 -0
- package/src/models/SkSecretList.ts +64 -0
- package/src/models/SkSecretMetadata.ts +80 -0
- package/src/models/SkSecretVersion.ts +80 -0
- package/src/models/SkSecretVersionMetadata.ts +103 -0
- package/src/models/Transformation.ts +72 -0
- package/src/models/index.ts +55 -0
- package/src/runtime.ts +320 -0
- package/tsconfig.json +20 -0
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Tapis Security API
|
|
6
|
+
* The Tapis Security API provides access to the Tapis Security Kernel authorization and secrets facilities.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1
|
|
9
|
+
* Contact: cicsupport@tacc.utexas.edu
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
var runtime_1 = require("../runtime");
|
|
17
|
+
function ReqGrantUserRoleWithPermissionFromJSON(json) {
|
|
18
|
+
return ReqGrantUserRoleWithPermissionFromJSONTyped(json, false);
|
|
19
|
+
}
|
|
20
|
+
exports.ReqGrantUserRoleWithPermissionFromJSON = ReqGrantUserRoleWithPermissionFromJSON;
|
|
21
|
+
function ReqGrantUserRoleWithPermissionFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'tenant': !runtime_1.exists(json, 'tenant') ? undefined : json['tenant'],
|
|
27
|
+
'user': !runtime_1.exists(json, 'user') ? undefined : json['user'],
|
|
28
|
+
'roleName': !runtime_1.exists(json, 'roleName') ? undefined : json['roleName'],
|
|
29
|
+
'permSpec': !runtime_1.exists(json, 'permSpec') ? undefined : json['permSpec'],
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
exports.ReqGrantUserRoleWithPermissionFromJSONTyped = ReqGrantUserRoleWithPermissionFromJSONTyped;
|
|
33
|
+
function ReqGrantUserRoleWithPermissionToJSON(value) {
|
|
34
|
+
if (value === undefined) {
|
|
35
|
+
return undefined;
|
|
36
|
+
}
|
|
37
|
+
if (value === null) {
|
|
38
|
+
return null;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'tenant': value.tenant,
|
|
42
|
+
'user': value.user,
|
|
43
|
+
'roleName': value.roleName,
|
|
44
|
+
'permSpec': value.permSpec,
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
exports.ReqGrantUserRoleWithPermissionToJSON = ReqGrantUserRoleWithPermissionToJSON;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tapis Security API
|
|
3
|
+
* The Tapis Security API provides access to the Tapis Security Kernel authorization and secrets facilities.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1
|
|
6
|
+
* Contact: cicsupport@tacc.utexas.edu
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ReqPreviewPathPrefix
|
|
16
|
+
*/
|
|
17
|
+
export interface ReqPreviewPathPrefix {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ReqPreviewPathPrefix
|
|
22
|
+
*/
|
|
23
|
+
tenant?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ReqPreviewPathPrefix
|
|
28
|
+
*/
|
|
29
|
+
schema?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ReqPreviewPathPrefix
|
|
34
|
+
*/
|
|
35
|
+
roleName?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ReqPreviewPathPrefix
|
|
40
|
+
*/
|
|
41
|
+
oldSystemId?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ReqPreviewPathPrefix
|
|
46
|
+
*/
|
|
47
|
+
newSystemId?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof ReqPreviewPathPrefix
|
|
52
|
+
*/
|
|
53
|
+
oldPrefix?: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof ReqPreviewPathPrefix
|
|
58
|
+
*/
|
|
59
|
+
newPrefix?: string;
|
|
60
|
+
}
|
|
61
|
+
export declare function ReqPreviewPathPrefixFromJSON(json: any): ReqPreviewPathPrefix;
|
|
62
|
+
export declare function ReqPreviewPathPrefixFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReqPreviewPathPrefix;
|
|
63
|
+
export declare function ReqPreviewPathPrefixToJSON(value?: ReqPreviewPathPrefix | null): any;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Tapis Security API
|
|
6
|
+
* The Tapis Security API provides access to the Tapis Security Kernel authorization and secrets facilities.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1
|
|
9
|
+
* Contact: cicsupport@tacc.utexas.edu
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
var runtime_1 = require("../runtime");
|
|
17
|
+
function ReqPreviewPathPrefixFromJSON(json) {
|
|
18
|
+
return ReqPreviewPathPrefixFromJSONTyped(json, false);
|
|
19
|
+
}
|
|
20
|
+
exports.ReqPreviewPathPrefixFromJSON = ReqPreviewPathPrefixFromJSON;
|
|
21
|
+
function ReqPreviewPathPrefixFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'tenant': !runtime_1.exists(json, 'tenant') ? undefined : json['tenant'],
|
|
27
|
+
'schema': !runtime_1.exists(json, 'schema') ? undefined : json['schema'],
|
|
28
|
+
'roleName': !runtime_1.exists(json, 'roleName') ? undefined : json['roleName'],
|
|
29
|
+
'oldSystemId': !runtime_1.exists(json, 'oldSystemId') ? undefined : json['oldSystemId'],
|
|
30
|
+
'newSystemId': !runtime_1.exists(json, 'newSystemId') ? undefined : json['newSystemId'],
|
|
31
|
+
'oldPrefix': !runtime_1.exists(json, 'oldPrefix') ? undefined : json['oldPrefix'],
|
|
32
|
+
'newPrefix': !runtime_1.exists(json, 'newPrefix') ? undefined : json['newPrefix'],
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
exports.ReqPreviewPathPrefixFromJSONTyped = ReqPreviewPathPrefixFromJSONTyped;
|
|
36
|
+
function ReqPreviewPathPrefixToJSON(value) {
|
|
37
|
+
if (value === undefined) {
|
|
38
|
+
return undefined;
|
|
39
|
+
}
|
|
40
|
+
if (value === null) {
|
|
41
|
+
return null;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'tenant': value.tenant,
|
|
45
|
+
'schema': value.schema,
|
|
46
|
+
'roleName': value.roleName,
|
|
47
|
+
'oldSystemId': value.oldSystemId,
|
|
48
|
+
'newSystemId': value.newSystemId,
|
|
49
|
+
'oldPrefix': value.oldPrefix,
|
|
50
|
+
'newPrefix': value.newPrefix,
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
exports.ReqPreviewPathPrefixToJSON = ReqPreviewPathPrefixToJSON;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tapis Security API
|
|
3
|
+
* The Tapis Security API provides access to the Tapis Security Kernel authorization and secrets facilities.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1
|
|
6
|
+
* Contact: cicsupport@tacc.utexas.edu
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ReqRemoveChildRole
|
|
16
|
+
*/
|
|
17
|
+
export interface ReqRemoveChildRole {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ReqRemoveChildRole
|
|
22
|
+
*/
|
|
23
|
+
roleTenant?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ReqRemoveChildRole
|
|
28
|
+
*/
|
|
29
|
+
parentRoleName?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ReqRemoveChildRole
|
|
34
|
+
*/
|
|
35
|
+
childRoleName?: string;
|
|
36
|
+
}
|
|
37
|
+
export declare function ReqRemoveChildRoleFromJSON(json: any): ReqRemoveChildRole;
|
|
38
|
+
export declare function ReqRemoveChildRoleFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReqRemoveChildRole;
|
|
39
|
+
export declare function ReqRemoveChildRoleToJSON(value?: ReqRemoveChildRole | null): any;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Tapis Security API
|
|
6
|
+
* The Tapis Security API provides access to the Tapis Security Kernel authorization and secrets facilities.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1
|
|
9
|
+
* Contact: cicsupport@tacc.utexas.edu
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
var runtime_1 = require("../runtime");
|
|
17
|
+
function ReqRemoveChildRoleFromJSON(json) {
|
|
18
|
+
return ReqRemoveChildRoleFromJSONTyped(json, false);
|
|
19
|
+
}
|
|
20
|
+
exports.ReqRemoveChildRoleFromJSON = ReqRemoveChildRoleFromJSON;
|
|
21
|
+
function ReqRemoveChildRoleFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'roleTenant': !runtime_1.exists(json, 'roleTenant') ? undefined : json['roleTenant'],
|
|
27
|
+
'parentRoleName': !runtime_1.exists(json, 'parentRoleName') ? undefined : json['parentRoleName'],
|
|
28
|
+
'childRoleName': !runtime_1.exists(json, 'childRoleName') ? undefined : json['childRoleName'],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
exports.ReqRemoveChildRoleFromJSONTyped = ReqRemoveChildRoleFromJSONTyped;
|
|
32
|
+
function ReqRemoveChildRoleToJSON(value) {
|
|
33
|
+
if (value === undefined) {
|
|
34
|
+
return undefined;
|
|
35
|
+
}
|
|
36
|
+
if (value === null) {
|
|
37
|
+
return null;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'roleTenant': value.roleTenant,
|
|
41
|
+
'parentRoleName': value.parentRoleName,
|
|
42
|
+
'childRoleName': value.childRoleName,
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
exports.ReqRemoveChildRoleToJSON = ReqRemoveChildRoleToJSON;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tapis Security API
|
|
3
|
+
* The Tapis Security API provides access to the Tapis Security Kernel authorization and secrets facilities.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1
|
|
6
|
+
* Contact: cicsupport@tacc.utexas.edu
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ReqRemoveRolePermission
|
|
16
|
+
*/
|
|
17
|
+
export interface ReqRemoveRolePermission {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ReqRemoveRolePermission
|
|
22
|
+
*/
|
|
23
|
+
roleTenant?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ReqRemoveRolePermission
|
|
28
|
+
*/
|
|
29
|
+
roleName?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ReqRemoveRolePermission
|
|
34
|
+
*/
|
|
35
|
+
permSpec?: string;
|
|
36
|
+
}
|
|
37
|
+
export declare function ReqRemoveRolePermissionFromJSON(json: any): ReqRemoveRolePermission;
|
|
38
|
+
export declare function ReqRemoveRolePermissionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReqRemoveRolePermission;
|
|
39
|
+
export declare function ReqRemoveRolePermissionToJSON(value?: ReqRemoveRolePermission | null): any;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Tapis Security API
|
|
6
|
+
* The Tapis Security API provides access to the Tapis Security Kernel authorization and secrets facilities.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1
|
|
9
|
+
* Contact: cicsupport@tacc.utexas.edu
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
var runtime_1 = require("../runtime");
|
|
17
|
+
function ReqRemoveRolePermissionFromJSON(json) {
|
|
18
|
+
return ReqRemoveRolePermissionFromJSONTyped(json, false);
|
|
19
|
+
}
|
|
20
|
+
exports.ReqRemoveRolePermissionFromJSON = ReqRemoveRolePermissionFromJSON;
|
|
21
|
+
function ReqRemoveRolePermissionFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'roleTenant': !runtime_1.exists(json, 'roleTenant') ? undefined : json['roleTenant'],
|
|
27
|
+
'roleName': !runtime_1.exists(json, 'roleName') ? undefined : json['roleName'],
|
|
28
|
+
'permSpec': !runtime_1.exists(json, 'permSpec') ? undefined : json['permSpec'],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
exports.ReqRemoveRolePermissionFromJSONTyped = ReqRemoveRolePermissionFromJSONTyped;
|
|
32
|
+
function ReqRemoveRolePermissionToJSON(value) {
|
|
33
|
+
if (value === undefined) {
|
|
34
|
+
return undefined;
|
|
35
|
+
}
|
|
36
|
+
if (value === null) {
|
|
37
|
+
return null;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'roleTenant': value.roleTenant,
|
|
41
|
+
'roleName': value.roleName,
|
|
42
|
+
'permSpec': value.permSpec,
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
exports.ReqRemoveRolePermissionToJSON = ReqRemoveRolePermissionToJSON;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tapis Security API
|
|
3
|
+
* The Tapis Security API provides access to the Tapis Security Kernel authorization and secrets facilities.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1
|
|
6
|
+
* Contact: cicsupport@tacc.utexas.edu
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ReqReplacePathPrefix
|
|
16
|
+
*/
|
|
17
|
+
export interface ReqReplacePathPrefix {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ReqReplacePathPrefix
|
|
22
|
+
*/
|
|
23
|
+
tenant?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ReqReplacePathPrefix
|
|
28
|
+
*/
|
|
29
|
+
schema?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ReqReplacePathPrefix
|
|
34
|
+
*/
|
|
35
|
+
roleName?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ReqReplacePathPrefix
|
|
40
|
+
*/
|
|
41
|
+
oldSystemId?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ReqReplacePathPrefix
|
|
46
|
+
*/
|
|
47
|
+
newSystemId?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof ReqReplacePathPrefix
|
|
52
|
+
*/
|
|
53
|
+
oldPrefix?: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof ReqReplacePathPrefix
|
|
58
|
+
*/
|
|
59
|
+
newPrefix?: string;
|
|
60
|
+
}
|
|
61
|
+
export declare function ReqReplacePathPrefixFromJSON(json: any): ReqReplacePathPrefix;
|
|
62
|
+
export declare function ReqReplacePathPrefixFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReqReplacePathPrefix;
|
|
63
|
+
export declare function ReqReplacePathPrefixToJSON(value?: ReqReplacePathPrefix | null): any;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Tapis Security API
|
|
6
|
+
* The Tapis Security API provides access to the Tapis Security Kernel authorization and secrets facilities.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1
|
|
9
|
+
* Contact: cicsupport@tacc.utexas.edu
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
var runtime_1 = require("../runtime");
|
|
17
|
+
function ReqReplacePathPrefixFromJSON(json) {
|
|
18
|
+
return ReqReplacePathPrefixFromJSONTyped(json, false);
|
|
19
|
+
}
|
|
20
|
+
exports.ReqReplacePathPrefixFromJSON = ReqReplacePathPrefixFromJSON;
|
|
21
|
+
function ReqReplacePathPrefixFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'tenant': !runtime_1.exists(json, 'tenant') ? undefined : json['tenant'],
|
|
27
|
+
'schema': !runtime_1.exists(json, 'schema') ? undefined : json['schema'],
|
|
28
|
+
'roleName': !runtime_1.exists(json, 'roleName') ? undefined : json['roleName'],
|
|
29
|
+
'oldSystemId': !runtime_1.exists(json, 'oldSystemId') ? undefined : json['oldSystemId'],
|
|
30
|
+
'newSystemId': !runtime_1.exists(json, 'newSystemId') ? undefined : json['newSystemId'],
|
|
31
|
+
'oldPrefix': !runtime_1.exists(json, 'oldPrefix') ? undefined : json['oldPrefix'],
|
|
32
|
+
'newPrefix': !runtime_1.exists(json, 'newPrefix') ? undefined : json['newPrefix'],
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
exports.ReqReplacePathPrefixFromJSONTyped = ReqReplacePathPrefixFromJSONTyped;
|
|
36
|
+
function ReqReplacePathPrefixToJSON(value) {
|
|
37
|
+
if (value === undefined) {
|
|
38
|
+
return undefined;
|
|
39
|
+
}
|
|
40
|
+
if (value === null) {
|
|
41
|
+
return null;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'tenant': value.tenant,
|
|
45
|
+
'schema': value.schema,
|
|
46
|
+
'roleName': value.roleName,
|
|
47
|
+
'oldSystemId': value.oldSystemId,
|
|
48
|
+
'newSystemId': value.newSystemId,
|
|
49
|
+
'oldPrefix': value.oldPrefix,
|
|
50
|
+
'newPrefix': value.newPrefix,
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
exports.ReqReplacePathPrefixToJSON = ReqReplacePathPrefixToJSON;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tapis Security API
|
|
3
|
+
* The Tapis Security API provides access to the Tapis Security Kernel authorization and secrets facilities.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1
|
|
6
|
+
* Contact: cicsupport@tacc.utexas.edu
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ReqRevokeAdminRole
|
|
16
|
+
*/
|
|
17
|
+
export interface ReqRevokeAdminRole {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ReqRevokeAdminRole
|
|
22
|
+
*/
|
|
23
|
+
tenant?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ReqRevokeAdminRole
|
|
28
|
+
*/
|
|
29
|
+
user?: string;
|
|
30
|
+
}
|
|
31
|
+
export declare function ReqRevokeAdminRoleFromJSON(json: any): ReqRevokeAdminRole;
|
|
32
|
+
export declare function ReqRevokeAdminRoleFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReqRevokeAdminRole;
|
|
33
|
+
export declare function ReqRevokeAdminRoleToJSON(value?: ReqRevokeAdminRole | null): any;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Tapis Security API
|
|
6
|
+
* The Tapis Security API provides access to the Tapis Security Kernel authorization and secrets facilities.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1
|
|
9
|
+
* Contact: cicsupport@tacc.utexas.edu
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
var runtime_1 = require("../runtime");
|
|
17
|
+
function ReqRevokeAdminRoleFromJSON(json) {
|
|
18
|
+
return ReqRevokeAdminRoleFromJSONTyped(json, false);
|
|
19
|
+
}
|
|
20
|
+
exports.ReqRevokeAdminRoleFromJSON = ReqRevokeAdminRoleFromJSON;
|
|
21
|
+
function ReqRevokeAdminRoleFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'tenant': !runtime_1.exists(json, 'tenant') ? undefined : json['tenant'],
|
|
27
|
+
'user': !runtime_1.exists(json, 'user') ? undefined : json['user'],
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
exports.ReqRevokeAdminRoleFromJSONTyped = ReqRevokeAdminRoleFromJSONTyped;
|
|
31
|
+
function ReqRevokeAdminRoleToJSON(value) {
|
|
32
|
+
if (value === undefined) {
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
if (value === null) {
|
|
36
|
+
return null;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'tenant': value.tenant,
|
|
40
|
+
'user': value.user,
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
exports.ReqRevokeAdminRoleToJSON = ReqRevokeAdminRoleToJSON;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tapis Security API
|
|
3
|
+
* The Tapis Security API provides access to the Tapis Security Kernel authorization and secrets facilities.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1
|
|
6
|
+
* Contact: cicsupport@tacc.utexas.edu
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ReqRevokeUserPermission
|
|
16
|
+
*/
|
|
17
|
+
export interface ReqRevokeUserPermission {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ReqRevokeUserPermission
|
|
22
|
+
*/
|
|
23
|
+
tenant?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ReqRevokeUserPermission
|
|
28
|
+
*/
|
|
29
|
+
user?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ReqRevokeUserPermission
|
|
34
|
+
*/
|
|
35
|
+
permSpec?: string;
|
|
36
|
+
}
|
|
37
|
+
export declare function ReqRevokeUserPermissionFromJSON(json: any): ReqRevokeUserPermission;
|
|
38
|
+
export declare function ReqRevokeUserPermissionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReqRevokeUserPermission;
|
|
39
|
+
export declare function ReqRevokeUserPermissionToJSON(value?: ReqRevokeUserPermission | null): any;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Tapis Security API
|
|
6
|
+
* The Tapis Security API provides access to the Tapis Security Kernel authorization and secrets facilities.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1
|
|
9
|
+
* Contact: cicsupport@tacc.utexas.edu
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
var runtime_1 = require("../runtime");
|
|
17
|
+
function ReqRevokeUserPermissionFromJSON(json) {
|
|
18
|
+
return ReqRevokeUserPermissionFromJSONTyped(json, false);
|
|
19
|
+
}
|
|
20
|
+
exports.ReqRevokeUserPermissionFromJSON = ReqRevokeUserPermissionFromJSON;
|
|
21
|
+
function ReqRevokeUserPermissionFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'tenant': !runtime_1.exists(json, 'tenant') ? undefined : json['tenant'],
|
|
27
|
+
'user': !runtime_1.exists(json, 'user') ? undefined : json['user'],
|
|
28
|
+
'permSpec': !runtime_1.exists(json, 'permSpec') ? undefined : json['permSpec'],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
exports.ReqRevokeUserPermissionFromJSONTyped = ReqRevokeUserPermissionFromJSONTyped;
|
|
32
|
+
function ReqRevokeUserPermissionToJSON(value) {
|
|
33
|
+
if (value === undefined) {
|
|
34
|
+
return undefined;
|
|
35
|
+
}
|
|
36
|
+
if (value === null) {
|
|
37
|
+
return null;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'tenant': value.tenant,
|
|
41
|
+
'user': value.user,
|
|
42
|
+
'permSpec': value.permSpec,
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
exports.ReqRevokeUserPermissionToJSON = ReqRevokeUserPermissionToJSON;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tapis Security API
|
|
3
|
+
* The Tapis Security API provides access to the Tapis Security Kernel authorization and secrets facilities.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1
|
|
6
|
+
* Contact: cicsupport@tacc.utexas.edu
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ReqRevokeUserRole
|
|
16
|
+
*/
|
|
17
|
+
export interface ReqRevokeUserRole {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ReqRevokeUserRole
|
|
22
|
+
*/
|
|
23
|
+
tenant?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ReqRevokeUserRole
|
|
28
|
+
*/
|
|
29
|
+
user?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ReqRevokeUserRole
|
|
34
|
+
*/
|
|
35
|
+
roleName?: string;
|
|
36
|
+
}
|
|
37
|
+
export declare function ReqRevokeUserRoleFromJSON(json: any): ReqRevokeUserRole;
|
|
38
|
+
export declare function ReqRevokeUserRoleFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReqRevokeUserRole;
|
|
39
|
+
export declare function ReqRevokeUserRoleToJSON(value?: ReqRevokeUserRole | null): any;
|