@tapis/tapis-typescript-sk 0.0.2 → 0.0.3
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 +16 -6
- package/.openapi-generator/VERSION +1 -1
- package/README.md +5 -4
- package/dist/apis/AdminApi.d.ts +26 -0
- package/dist/apis/AdminApi.js +128 -0
- package/dist/apis/GeneralApi.d.ts +25 -16
- package/dist/apis/GeneralApi.js +72 -23
- package/dist/apis/RoleApi.d.ts +99 -76
- package/dist/apis/RoleApi.js +540 -340
- package/dist/apis/ShareApi.d.ts +110 -0
- package/dist/apis/ShareApi.js +469 -0
- package/dist/apis/UserApi.d.ts +84 -126
- package/dist/apis/UserApi.js +467 -538
- package/dist/apis/VaultApi.d.ts +52 -49
- package/dist/apis/VaultApi.js +413 -341
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.js +20 -7
- package/dist/index.d.ts +2 -2
- package/dist/index.js +17 -6
- package/dist/models/Options.d.ts +8 -3
- package/dist/models/Options.js +23 -15
- package/dist/models/ReqAddChildRole.d.ts +11 -6
- package/dist/models/ReqAddChildRole.js +33 -19
- package/dist/models/ReqAddRolePermission.d.ts +18 -6
- package/dist/models/ReqAddRolePermission.js +36 -19
- package/dist/models/ReqCreateRole.d.ts +18 -6
- package/dist/models/ReqCreateRole.js +36 -19
- package/dist/models/ReqGrantRole.d.ts +51 -0
- package/dist/models/ReqGrantRole.js +62 -0
- package/dist/models/ReqGrantRoleWithPermission.d.ts +57 -0
- package/dist/models/ReqGrantRoleWithPermission.js +66 -0
- package/dist/models/ReqGrantUserPermission.d.ts +11 -6
- package/dist/models/ReqGrantUserPermission.js +33 -19
- package/dist/models/ReqPreviewPathPrefix.d.ts +19 -7
- package/dist/models/ReqPreviewPathPrefix.js +46 -27
- package/dist/models/ReqRemoveChildRole.d.ts +11 -6
- package/dist/models/ReqRemoveChildRole.js +33 -19
- package/dist/models/ReqRemovePermissionFromAllRoles.d.ts +38 -0
- package/dist/models/ReqRemovePermissionFromAllRoles.js +55 -0
- package/dist/models/ReqRemoveRolePermission.d.ts +18 -6
- package/dist/models/ReqRemoveRolePermission.js +36 -19
- package/dist/models/ReqReplacePathPrefix.d.ts +19 -7
- package/dist/models/ReqReplacePathPrefix.js +46 -27
- package/dist/models/ReqRevokeRole.d.ts +51 -0
- package/dist/models/ReqRevokeRole.js +62 -0
- package/dist/models/ReqRevokeUserPermission.d.ts +11 -6
- package/dist/models/ReqRevokeUserPermission.js +33 -19
- package/dist/models/ReqRolePermits.d.ts +45 -0
- package/dist/models/ReqRolePermits.js +60 -0
- package/dist/models/ReqShareResource.d.ts +68 -0
- package/dist/models/ReqShareResource.js +73 -0
- package/dist/models/ReqUpdateRoleDescription.d.ts +17 -5
- package/dist/models/ReqUpdateRoleDescription.js +32 -17
- package/dist/models/ReqUpdateRoleName.d.ts +17 -5
- package/dist/models/ReqUpdateRoleName.js +32 -17
- package/dist/models/ReqUpdateRoleOwner.d.ts +17 -5
- package/dist/models/ReqUpdateRoleOwner.js +34 -19
- package/dist/models/ReqUserHasRole.d.ts +18 -6
- package/dist/models/ReqUserHasRole.js +38 -21
- package/dist/models/ReqUserHasRoleMulti.d.ts +11 -6
- package/dist/models/ReqUserHasRoleMulti.js +35 -21
- package/dist/models/ReqUserIsAdmin.d.ts +10 -5
- package/dist/models/ReqUserIsAdmin.js +29 -17
- package/dist/models/ReqUserIsPermitted.d.ts +11 -6
- package/dist/models/ReqUserIsPermitted.js +35 -21
- package/dist/models/ReqUserIsPermittedMulti.d.ts +11 -6
- package/dist/models/ReqUserIsPermittedMulti.js +35 -21
- package/dist/models/ReqValidatePwd.d.ts +44 -0
- package/dist/models/ReqValidatePwd.js +59 -0
- package/dist/models/ReqVersions.d.ts +11 -6
- package/dist/models/ReqVersions.js +33 -19
- package/dist/models/ReqWriteSecret.d.ts +12 -7
- package/dist/models/ReqWriteSecret.js +36 -22
- package/dist/models/RespAuthorized.d.ts +27 -4
- package/dist/models/RespAuthorized.js +36 -22
- package/dist/models/RespBasic.d.ts +26 -3
- package/dist/models/RespBasic.js +35 -21
- package/dist/models/RespBoolean.d.ts +69 -0
- package/dist/models/RespBoolean.js +62 -0
- package/dist/models/RespChangeCount.d.ts +27 -4
- package/dist/models/RespChangeCount.js +36 -22
- package/dist/models/RespName.d.ts +27 -4
- package/dist/models/RespName.js +36 -22
- package/dist/models/RespNameArray.d.ts +27 -4
- package/dist/models/RespNameArray.js +36 -22
- package/dist/models/RespPathPrefixes.d.ts +27 -4
- package/dist/models/RespPathPrefixes.js +36 -22
- package/dist/models/RespProbe.d.ts +27 -4
- package/dist/models/RespProbe.js +36 -22
- package/dist/models/RespResourceUrl.d.ts +27 -4
- package/dist/models/RespResourceUrl.js +36 -22
- package/dist/models/RespRole.d.ts +27 -4
- package/dist/models/RespRole.js +36 -22
- package/dist/models/RespSecret.d.ts +27 -4
- package/dist/models/RespSecret.js +36 -22
- package/dist/models/RespSecretList.d.ts +27 -4
- package/dist/models/RespSecretList.js +36 -22
- package/dist/models/RespSecretMeta.d.ts +27 -4
- package/dist/models/RespSecretMeta.js +36 -22
- package/dist/models/RespSecretVersionMetadata.d.ts +27 -4
- package/dist/models/RespSecretVersionMetadata.js +36 -22
- package/dist/models/RespShare.d.ts +69 -0
- package/dist/models/RespShare.js +62 -0
- package/dist/models/RespShareList.d.ts +69 -0
- package/dist/models/RespShareList.js +62 -0
- package/dist/models/RespVersions.d.ts +26 -3
- package/dist/models/RespVersions.js +35 -21
- package/dist/models/ResultAuthorized.d.ts +8 -3
- package/dist/models/ResultAuthorized.js +23 -15
- package/dist/models/ResultBoolean.d.ts +32 -0
- package/dist/models/ResultBoolean.js +49 -0
- package/dist/models/ResultChangeCount.d.ts +8 -3
- package/dist/models/ResultChangeCount.js +23 -15
- package/dist/models/ResultName.d.ts +8 -3
- package/dist/models/ResultName.js +23 -15
- package/dist/models/ResultNameArray.d.ts +8 -3
- package/dist/models/ResultNameArray.js +23 -15
- package/dist/models/ResultResourceUrl.d.ts +8 -3
- package/dist/models/ResultResourceUrl.js +23 -15
- package/dist/models/RoleTypeEnum.d.ts +28 -0
- package/dist/models/RoleTypeEnum.js +54 -0
- package/dist/models/SkProbe.d.ts +8 -21
- package/dist/models/SkProbe.js +23 -21
- package/dist/models/SkRole.d.ts +19 -7
- package/dist/models/SkRole.js +48 -37
- package/dist/models/SkSecret.d.ts +9 -4
- package/dist/models/SkSecret.js +26 -18
- package/dist/models/SkSecretList.d.ts +8 -3
- package/dist/models/SkSecretList.js +25 -17
- package/dist/models/SkSecretMetadata.d.ts +8 -3
- package/dist/models/SkSecretMetadata.js +29 -21
- package/dist/models/SkSecretVersion.d.ts +8 -3
- package/dist/models/SkSecretVersion.js +29 -21
- package/dist/models/SkSecretVersionMetadata.d.ts +9 -4
- package/dist/models/SkSecretVersionMetadata.js +34 -26
- package/dist/models/SkShare.d.ts +92 -0
- package/dist/models/SkShare.js +69 -0
- package/dist/models/SkShareList.d.ts +33 -0
- package/dist/models/SkShareList.js +50 -0
- package/dist/models/Transformation.d.ts +8 -3
- package/dist/models/Transformation.js +27 -19
- package/dist/models/index.d.ts +14 -6
- package/dist/models/index.js +75 -56
- package/dist/runtime.d.ts +80 -38
- package/dist/runtime.js +313 -171
- package/package.json +6 -2
- package/src/apis/AdminApi.ts +63 -0
- package/src/apis/GeneralApi.ts +48 -24
- package/src/apis/RoleApi.ts +374 -220
- package/src/apis/ShareApi.ts +418 -0
- package/src/apis/UserApi.ts +258 -383
- package/src/apis/VaultApi.ts +347 -275
- package/src/apis/index.ts +2 -0
- package/src/index.ts +2 -2
- package/src/models/Options.ts +21 -12
- package/src/models/ReqAddChildRole.ts +31 -19
- package/src/models/ReqAddRolePermission.ts +49 -19
- package/src/models/ReqCreateRole.ts +49 -19
- package/src/models/ReqGrantRole.ts +102 -0
- package/src/models/ReqGrantRoleWithPermission.ts +111 -0
- package/src/models/ReqGrantUserPermission.ts +31 -19
- package/src/models/ReqPreviewPathPrefix.ts +59 -28
- package/src/models/ReqRemoveChildRole.ts +31 -19
- package/src/models/ReqRemovePermissionFromAllRoles.ts +75 -0
- package/src/models/ReqRemoveRolePermission.ts +49 -19
- package/src/models/ReqReplacePathPrefix.ts +59 -28
- package/src/models/ReqRevokeRole.ts +102 -0
- package/src/models/ReqRevokeUserPermission.ts +31 -19
- package/src/models/ReqRolePermits.ts +94 -0
- package/src/models/ReqShareResource.ts +119 -0
- package/src/models/ReqUpdateRoleDescription.ts +45 -16
- package/src/models/ReqUpdateRoleName.ts +45 -16
- package/src/models/ReqUpdateRoleOwner.ts +47 -18
- package/src/models/ReqUserHasRole.ts +51 -21
- package/src/models/ReqUserHasRoleMulti.ts +33 -21
- package/src/models/ReqUserIsAdmin.ts +27 -16
- package/src/models/ReqUserIsPermitted.ts +33 -21
- package/src/models/ReqUserIsPermittedMulti.ts +33 -21
- package/src/models/ReqValidatePwd.ts +84 -0
- package/src/models/ReqVersions.ts +31 -19
- package/src/models/ReqWriteSecret.ts +36 -23
- package/src/models/RespAuthorized.ts +54 -20
- package/src/models/RespBasic.ts +51 -18
- package/src/models/RespBoolean.ts +121 -0
- package/src/models/RespChangeCount.ts +54 -20
- package/src/models/RespName.ts +54 -20
- package/src/models/RespNameArray.ts +54 -20
- package/src/models/RespPathPrefixes.ts +54 -20
- package/src/models/RespProbe.ts +54 -20
- package/src/models/RespResourceUrl.ts +54 -20
- package/src/models/RespRole.ts +54 -20
- package/src/models/RespSecret.ts +54 -20
- package/src/models/RespSecretList.ts +54 -20
- package/src/models/RespSecretMeta.ts +54 -20
- package/src/models/RespSecretVersionMetadata.ts +54 -20
- package/src/models/RespShare.ts +121 -0
- package/src/models/RespShareList.ts +121 -0
- package/src/models/RespVersions.ts +51 -18
- package/src/models/ResultAuthorized.ts +21 -12
- package/src/models/ResultBoolean.ts +65 -0
- package/src/models/ResultChangeCount.ts +21 -12
- package/src/models/ResultName.ts +21 -12
- package/src/models/ResultNameArray.ts +21 -12
- package/src/models/ResultResourceUrl.ts +21 -12
- package/src/models/RoleTypeEnum.ts +56 -0
- package/src/models/SkProbe.ts +21 -36
- package/src/models/SkRole.ts +65 -38
- package/src/models/SkSecret.ts +26 -16
- package/src/models/SkSecretList.ts +23 -14
- package/src/models/SkSecretMetadata.ts +27 -18
- package/src/models/SkSecretVersion.ts +27 -18
- package/src/models/SkSecretVersionMetadata.ts +34 -24
- package/src/models/SkShare.ts +145 -0
- package/src/models/SkShareList.ts +73 -0
- package/src/models/Transformation.ts +25 -16
- package/src/models/index.ts +14 -6
- package/src/runtime.ts +219 -108
- package/dist/models/ReqGrantAdminRole.d.ts +0 -33
- package/dist/models/ReqGrantAdminRole.js +0 -43
- package/dist/models/ReqGrantUserRole.d.ts +0 -39
- package/dist/models/ReqGrantUserRole.js +0 -45
- package/dist/models/ReqGrantUserRoleWithPermission.d.ts +0 -45
- package/dist/models/ReqGrantUserRoleWithPermission.js +0 -47
- package/dist/models/ReqRevokeAdminRole.d.ts +0 -33
- package/dist/models/ReqRevokeAdminRole.js +0 -43
- package/dist/models/ReqRevokeUserRole.d.ts +0 -39
- package/dist/models/ReqRevokeUserRole.js +0 -45
- package/dist/models/ReqValidateServicePwd.d.ts +0 -39
- package/dist/models/ReqValidateServicePwd.js +0 -45
- package/src/models/ReqGrantAdminRole.ts +0 -64
- package/src/models/ReqGrantUserRole.ts +0 -72
- package/src/models/ReqGrantUserRoleWithPermission.ts +0 -80
- package/src/models/ReqRevokeAdminRole.ts +0 -64
- package/src/models/ReqRevokeUserRole.ts +0 -72
- package/src/models/ReqValidateServicePwd.ts +0 -72
|
@@ -1,45 +0,0 @@
|
|
|
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 ReqGrantUserRoleFromJSON(json) {
|
|
18
|
-
return ReqGrantUserRoleFromJSONTyped(json, false);
|
|
19
|
-
}
|
|
20
|
-
exports.ReqGrantUserRoleFromJSON = ReqGrantUserRoleFromJSON;
|
|
21
|
-
function ReqGrantUserRoleFromJSONTyped(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
|
-
};
|
|
30
|
-
}
|
|
31
|
-
exports.ReqGrantUserRoleFromJSONTyped = ReqGrantUserRoleFromJSONTyped;
|
|
32
|
-
function ReqGrantUserRoleToJSON(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
|
-
'roleName': value.roleName,
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
exports.ReqGrantUserRoleToJSON = ReqGrantUserRoleToJSON;
|
|
@@ -1,45 +0,0 @@
|
|
|
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 ReqGrantUserRoleWithPermission
|
|
16
|
-
*/
|
|
17
|
-
export interface ReqGrantUserRoleWithPermission {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof ReqGrantUserRoleWithPermission
|
|
22
|
-
*/
|
|
23
|
-
tenant?: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof ReqGrantUserRoleWithPermission
|
|
28
|
-
*/
|
|
29
|
-
user?: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof ReqGrantUserRoleWithPermission
|
|
34
|
-
*/
|
|
35
|
-
roleName?: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof ReqGrantUserRoleWithPermission
|
|
40
|
-
*/
|
|
41
|
-
permSpec?: string;
|
|
42
|
-
}
|
|
43
|
-
export declare function ReqGrantUserRoleWithPermissionFromJSON(json: any): ReqGrantUserRoleWithPermission;
|
|
44
|
-
export declare function ReqGrantUserRoleWithPermissionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReqGrantUserRoleWithPermission;
|
|
45
|
-
export declare function ReqGrantUserRoleWithPermissionToJSON(value?: ReqGrantUserRoleWithPermission | null): any;
|
|
@@ -1,47 +0,0 @@
|
|
|
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;
|
|
@@ -1,33 +0,0 @@
|
|
|
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;
|
|
@@ -1,43 +0,0 @@
|
|
|
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;
|
|
@@ -1,39 +0,0 @@
|
|
|
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;
|
|
@@ -1,45 +0,0 @@
|
|
|
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 ReqRevokeUserRoleFromJSON(json) {
|
|
18
|
-
return ReqRevokeUserRoleFromJSONTyped(json, false);
|
|
19
|
-
}
|
|
20
|
-
exports.ReqRevokeUserRoleFromJSON = ReqRevokeUserRoleFromJSON;
|
|
21
|
-
function ReqRevokeUserRoleFromJSONTyped(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
|
-
};
|
|
30
|
-
}
|
|
31
|
-
exports.ReqRevokeUserRoleFromJSONTyped = ReqRevokeUserRoleFromJSONTyped;
|
|
32
|
-
function ReqRevokeUserRoleToJSON(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
|
-
'roleName': value.roleName,
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
exports.ReqRevokeUserRoleToJSON = ReqRevokeUserRoleToJSON;
|
|
@@ -1,39 +0,0 @@
|
|
|
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 ReqValidateServicePwd
|
|
16
|
-
*/
|
|
17
|
-
export interface ReqValidateServicePwd {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof ReqValidateServicePwd
|
|
22
|
-
*/
|
|
23
|
-
tenant?: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof ReqValidateServicePwd
|
|
28
|
-
*/
|
|
29
|
-
user?: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof ReqValidateServicePwd
|
|
34
|
-
*/
|
|
35
|
-
password?: string;
|
|
36
|
-
}
|
|
37
|
-
export declare function ReqValidateServicePwdFromJSON(json: any): ReqValidateServicePwd;
|
|
38
|
-
export declare function ReqValidateServicePwdFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReqValidateServicePwd;
|
|
39
|
-
export declare function ReqValidateServicePwdToJSON(value?: ReqValidateServicePwd | null): any;
|
|
@@ -1,45 +0,0 @@
|
|
|
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 ReqValidateServicePwdFromJSON(json) {
|
|
18
|
-
return ReqValidateServicePwdFromJSONTyped(json, false);
|
|
19
|
-
}
|
|
20
|
-
exports.ReqValidateServicePwdFromJSON = ReqValidateServicePwdFromJSON;
|
|
21
|
-
function ReqValidateServicePwdFromJSONTyped(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
|
-
'password': !runtime_1.exists(json, 'password') ? undefined : json['password'],
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
exports.ReqValidateServicePwdFromJSONTyped = ReqValidateServicePwdFromJSONTyped;
|
|
32
|
-
function ReqValidateServicePwdToJSON(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
|
-
'password': value.password,
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
exports.ReqValidateServicePwdToJSON = ReqValidateServicePwdToJSON;
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Tapis Security API
|
|
5
|
-
* The Tapis Security API provides access to the Tapis Security Kernel authorization and secrets facilities.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 0.1
|
|
8
|
-
* Contact: cicsupport@tacc.utexas.edu
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { exists, mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface ReqGrantAdminRole
|
|
20
|
-
*/
|
|
21
|
-
export interface ReqGrantAdminRole {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof ReqGrantAdminRole
|
|
26
|
-
*/
|
|
27
|
-
tenant?: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof ReqGrantAdminRole
|
|
32
|
-
*/
|
|
33
|
-
user?: string;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
export function ReqGrantAdminRoleFromJSON(json: any): ReqGrantAdminRole {
|
|
37
|
-
return ReqGrantAdminRoleFromJSONTyped(json, false);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export function ReqGrantAdminRoleFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReqGrantAdminRole {
|
|
41
|
-
if ((json === undefined) || (json === null)) {
|
|
42
|
-
return json;
|
|
43
|
-
}
|
|
44
|
-
return {
|
|
45
|
-
|
|
46
|
-
'tenant': !exists(json, 'tenant') ? undefined : json['tenant'],
|
|
47
|
-
'user': !exists(json, 'user') ? undefined : json['user'],
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export function ReqGrantAdminRoleToJSON(value?: ReqGrantAdminRole | null): any {
|
|
52
|
-
if (value === undefined) {
|
|
53
|
-
return undefined;
|
|
54
|
-
}
|
|
55
|
-
if (value === null) {
|
|
56
|
-
return null;
|
|
57
|
-
}
|
|
58
|
-
return {
|
|
59
|
-
|
|
60
|
-
'tenant': value.tenant,
|
|
61
|
-
'user': value.user,
|
|
62
|
-
};
|
|
63
|
-
}
|
|
64
|
-
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Tapis Security API
|
|
5
|
-
* The Tapis Security API provides access to the Tapis Security Kernel authorization and secrets facilities.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 0.1
|
|
8
|
-
* Contact: cicsupport@tacc.utexas.edu
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { exists, mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface ReqGrantUserRole
|
|
20
|
-
*/
|
|
21
|
-
export interface ReqGrantUserRole {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof ReqGrantUserRole
|
|
26
|
-
*/
|
|
27
|
-
tenant?: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof ReqGrantUserRole
|
|
32
|
-
*/
|
|
33
|
-
user?: string;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof ReqGrantUserRole
|
|
38
|
-
*/
|
|
39
|
-
roleName?: string;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
export function ReqGrantUserRoleFromJSON(json: any): ReqGrantUserRole {
|
|
43
|
-
return ReqGrantUserRoleFromJSONTyped(json, false);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
export function ReqGrantUserRoleFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReqGrantUserRole {
|
|
47
|
-
if ((json === undefined) || (json === null)) {
|
|
48
|
-
return json;
|
|
49
|
-
}
|
|
50
|
-
return {
|
|
51
|
-
|
|
52
|
-
'tenant': !exists(json, 'tenant') ? undefined : json['tenant'],
|
|
53
|
-
'user': !exists(json, 'user') ? undefined : json['user'],
|
|
54
|
-
'roleName': !exists(json, 'roleName') ? undefined : json['roleName'],
|
|
55
|
-
};
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
export function ReqGrantUserRoleToJSON(value?: ReqGrantUserRole | null): any {
|
|
59
|
-
if (value === undefined) {
|
|
60
|
-
return undefined;
|
|
61
|
-
}
|
|
62
|
-
if (value === null) {
|
|
63
|
-
return null;
|
|
64
|
-
}
|
|
65
|
-
return {
|
|
66
|
-
|
|
67
|
-
'tenant': value.tenant,
|
|
68
|
-
'user': value.user,
|
|
69
|
-
'roleName': value.roleName,
|
|
70
|
-
};
|
|
71
|
-
}
|
|
72
|
-
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Tapis Security API
|
|
5
|
-
* The Tapis Security API provides access to the Tapis Security Kernel authorization and secrets facilities.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 0.1
|
|
8
|
-
* Contact: cicsupport@tacc.utexas.edu
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { exists, mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface ReqGrantUserRoleWithPermission
|
|
20
|
-
*/
|
|
21
|
-
export interface ReqGrantUserRoleWithPermission {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof ReqGrantUserRoleWithPermission
|
|
26
|
-
*/
|
|
27
|
-
tenant?: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof ReqGrantUserRoleWithPermission
|
|
32
|
-
*/
|
|
33
|
-
user?: string;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof ReqGrantUserRoleWithPermission
|
|
38
|
-
*/
|
|
39
|
-
roleName?: string;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof ReqGrantUserRoleWithPermission
|
|
44
|
-
*/
|
|
45
|
-
permSpec?: string;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
export function ReqGrantUserRoleWithPermissionFromJSON(json: any): ReqGrantUserRoleWithPermission {
|
|
49
|
-
return ReqGrantUserRoleWithPermissionFromJSONTyped(json, false);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export function ReqGrantUserRoleWithPermissionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReqGrantUserRoleWithPermission {
|
|
53
|
-
if ((json === undefined) || (json === null)) {
|
|
54
|
-
return json;
|
|
55
|
-
}
|
|
56
|
-
return {
|
|
57
|
-
|
|
58
|
-
'tenant': !exists(json, 'tenant') ? undefined : json['tenant'],
|
|
59
|
-
'user': !exists(json, 'user') ? undefined : json['user'],
|
|
60
|
-
'roleName': !exists(json, 'roleName') ? undefined : json['roleName'],
|
|
61
|
-
'permSpec': !exists(json, 'permSpec') ? undefined : json['permSpec'],
|
|
62
|
-
};
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
export function ReqGrantUserRoleWithPermissionToJSON(value?: ReqGrantUserRoleWithPermission | null): any {
|
|
66
|
-
if (value === undefined) {
|
|
67
|
-
return undefined;
|
|
68
|
-
}
|
|
69
|
-
if (value === null) {
|
|
70
|
-
return null;
|
|
71
|
-
}
|
|
72
|
-
return {
|
|
73
|
-
|
|
74
|
-
'tenant': value.tenant,
|
|
75
|
-
'user': value.user,
|
|
76
|
-
'roleName': value.roleName,
|
|
77
|
-
'permSpec': value.permSpec,
|
|
78
|
-
};
|
|
79
|
-
}
|
|
80
|
-
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Tapis Security API
|
|
5
|
-
* The Tapis Security API provides access to the Tapis Security Kernel authorization and secrets facilities.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 0.1
|
|
8
|
-
* Contact: cicsupport@tacc.utexas.edu
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { exists, mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface ReqRevokeAdminRole
|
|
20
|
-
*/
|
|
21
|
-
export interface ReqRevokeAdminRole {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof ReqRevokeAdminRole
|
|
26
|
-
*/
|
|
27
|
-
tenant?: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof ReqRevokeAdminRole
|
|
32
|
-
*/
|
|
33
|
-
user?: string;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
export function ReqRevokeAdminRoleFromJSON(json: any): ReqRevokeAdminRole {
|
|
37
|
-
return ReqRevokeAdminRoleFromJSONTyped(json, false);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export function ReqRevokeAdminRoleFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReqRevokeAdminRole {
|
|
41
|
-
if ((json === undefined) || (json === null)) {
|
|
42
|
-
return json;
|
|
43
|
-
}
|
|
44
|
-
return {
|
|
45
|
-
|
|
46
|
-
'tenant': !exists(json, 'tenant') ? undefined : json['tenant'],
|
|
47
|
-
'user': !exists(json, 'user') ? undefined : json['user'],
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export function ReqRevokeAdminRoleToJSON(value?: ReqRevokeAdminRole | null): any {
|
|
52
|
-
if (value === undefined) {
|
|
53
|
-
return undefined;
|
|
54
|
-
}
|
|
55
|
-
if (value === null) {
|
|
56
|
-
return null;
|
|
57
|
-
}
|
|
58
|
-
return {
|
|
59
|
-
|
|
60
|
-
'tenant': value.tenant,
|
|
61
|
-
'user': value.user,
|
|
62
|
-
};
|
|
63
|
-
}
|
|
64
|
-
|