@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
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Tapis Security API
|
|
6
|
+
* The Tapis Security API provides for management of Security Kernel (SK) role-based authorization and secrets resources.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.8.2
|
|
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
|
+
exports.instanceOfReqValidatePwd = instanceOfReqValidatePwd;
|
|
17
|
+
exports.ReqValidatePwdFromJSON = ReqValidatePwdFromJSON;
|
|
18
|
+
exports.ReqValidatePwdFromJSONTyped = ReqValidatePwdFromJSONTyped;
|
|
19
|
+
exports.ReqValidatePwdToJSON = ReqValidatePwdToJSON;
|
|
20
|
+
exports.ReqValidatePwdToJSONTyped = ReqValidatePwdToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ReqValidatePwd interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfReqValidatePwd(value) {
|
|
25
|
+
if (!('tenant' in value) || value['tenant'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('user' in value) || value['user'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('password' in value) || value['password'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function ReqValidatePwdFromJSON(json) {
|
|
34
|
+
return ReqValidatePwdFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function ReqValidatePwdFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'tenant': json['tenant'],
|
|
42
|
+
'user': json['user'],
|
|
43
|
+
'password': json['password'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function ReqValidatePwdToJSON(json) {
|
|
47
|
+
return ReqValidatePwdToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function ReqValidatePwdToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'tenant': value['tenant'],
|
|
56
|
+
'user': value['user'],
|
|
57
|
+
'password': value['password'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Tapis Security API
|
|
3
|
-
* The Tapis Security API provides
|
|
3
|
+
* The Tapis Security API provides for management of Security Kernel (SK) role-based authorization and secrets resources.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 1.8.2
|
|
6
6
|
* Contact: cicsupport@tacc.utexas.edu
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -20,20 +20,25 @@ export interface ReqVersions {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof ReqVersions
|
|
22
22
|
*/
|
|
23
|
-
tenant
|
|
23
|
+
tenant: string;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof ReqVersions
|
|
28
28
|
*/
|
|
29
|
-
user
|
|
29
|
+
user: string;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
32
|
* @type {Array<number>}
|
|
33
33
|
* @memberof ReqVersions
|
|
34
34
|
*/
|
|
35
|
-
versions
|
|
35
|
+
versions: Array<number>;
|
|
36
36
|
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the ReqVersions interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfReqVersions(value: object): value is ReqVersions;
|
|
37
41
|
export declare function ReqVersionsFromJSON(json: any): ReqVersions;
|
|
38
42
|
export declare function ReqVersionsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReqVersions;
|
|
39
|
-
export declare function ReqVersionsToJSON(
|
|
43
|
+
export declare function ReqVersionsToJSON(json: any): ReqVersions;
|
|
44
|
+
export declare function ReqVersionsToJSONTyped(value?: ReqVersions | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Tapis Security API
|
|
6
|
-
* The Tapis Security API provides
|
|
6
|
+
* The Tapis Security API provides for management of Security Kernel (SK) role-based authorization and secrets resources.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 1.8.2
|
|
9
9
|
* Contact: cicsupport@tacc.utexas.edu
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,33 +13,47 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
|
|
16
|
+
exports.instanceOfReqVersions = instanceOfReqVersions;
|
|
17
|
+
exports.ReqVersionsFromJSON = ReqVersionsFromJSON;
|
|
18
|
+
exports.ReqVersionsFromJSONTyped = ReqVersionsFromJSONTyped;
|
|
19
|
+
exports.ReqVersionsToJSON = ReqVersionsToJSON;
|
|
20
|
+
exports.ReqVersionsToJSONTyped = ReqVersionsToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ReqVersions interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfReqVersions(value) {
|
|
25
|
+
if (!('tenant' in value) || value['tenant'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('user' in value) || value['user'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('versions' in value) || value['versions'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
17
33
|
function ReqVersionsFromJSON(json) {
|
|
18
34
|
return ReqVersionsFromJSONTyped(json, false);
|
|
19
35
|
}
|
|
20
|
-
exports.ReqVersionsFromJSON = ReqVersionsFromJSON;
|
|
21
36
|
function ReqVersionsFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
-
if (
|
|
37
|
+
if (json == null) {
|
|
23
38
|
return json;
|
|
24
39
|
}
|
|
25
40
|
return {
|
|
26
|
-
'tenant':
|
|
27
|
-
'user':
|
|
28
|
-
'versions':
|
|
41
|
+
'tenant': json['tenant'],
|
|
42
|
+
'user': json['user'],
|
|
43
|
+
'versions': json['versions'],
|
|
29
44
|
};
|
|
30
45
|
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
}
|
|
36
|
-
if (value
|
|
37
|
-
return
|
|
46
|
+
function ReqVersionsToJSON(json) {
|
|
47
|
+
return ReqVersionsToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function ReqVersionsToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
38
53
|
}
|
|
39
54
|
return {
|
|
40
|
-
'tenant': value
|
|
41
|
-
'user': value
|
|
42
|
-
'versions': value
|
|
55
|
+
'tenant': value['tenant'],
|
|
56
|
+
'user': value['user'],
|
|
57
|
+
'versions': value['versions'],
|
|
43
58
|
};
|
|
44
59
|
}
|
|
45
|
-
exports.ReqVersionsToJSON = ReqVersionsToJSON;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Tapis Security API
|
|
3
|
-
* The Tapis Security API provides
|
|
3
|
+
* The Tapis Security API provides for management of Security Kernel (SK) role-based authorization and secrets resources.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 1.8.2
|
|
6
6
|
* Contact: cicsupport@tacc.utexas.edu
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { Options } from './';
|
|
12
|
+
import type { Options } from './Options';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -21,13 +21,13 @@ export interface ReqWriteSecret {
|
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof ReqWriteSecret
|
|
23
23
|
*/
|
|
24
|
-
tenant
|
|
24
|
+
tenant: string;
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @memberof ReqWriteSecret
|
|
29
29
|
*/
|
|
30
|
-
user
|
|
30
|
+
user: string;
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
33
|
* @type {Options}
|
|
@@ -39,10 +39,15 @@ export interface ReqWriteSecret {
|
|
|
39
39
|
* @type {{ [key: string]: string; }}
|
|
40
40
|
* @memberof ReqWriteSecret
|
|
41
41
|
*/
|
|
42
|
-
data
|
|
42
|
+
data: {
|
|
43
43
|
[key: string]: string;
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
|
+
/**
|
|
47
|
+
* Check if a given object implements the ReqWriteSecret interface.
|
|
48
|
+
*/
|
|
49
|
+
export declare function instanceOfReqWriteSecret(value: object): value is ReqWriteSecret;
|
|
46
50
|
export declare function ReqWriteSecretFromJSON(json: any): ReqWriteSecret;
|
|
47
51
|
export declare function ReqWriteSecretFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReqWriteSecret;
|
|
48
|
-
export declare function ReqWriteSecretToJSON(
|
|
52
|
+
export declare function ReqWriteSecretToJSON(json: any): ReqWriteSecret;
|
|
53
|
+
export declare function ReqWriteSecretToJSONTyped(value?: ReqWriteSecret | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Tapis Security API
|
|
6
|
-
* The Tapis Security API provides
|
|
6
|
+
* The Tapis Security API provides for management of Security Kernel (SK) role-based authorization and secrets resources.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 1.8.2
|
|
9
9
|
* Contact: cicsupport@tacc.utexas.edu
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,36 +13,50 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
exports.instanceOfReqWriteSecret = instanceOfReqWriteSecret;
|
|
17
|
+
exports.ReqWriteSecretFromJSON = ReqWriteSecretFromJSON;
|
|
18
|
+
exports.ReqWriteSecretFromJSONTyped = ReqWriteSecretFromJSONTyped;
|
|
19
|
+
exports.ReqWriteSecretToJSON = ReqWriteSecretToJSON;
|
|
20
|
+
exports.ReqWriteSecretToJSONTyped = ReqWriteSecretToJSONTyped;
|
|
21
|
+
var Options_1 = require("./Options");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ReqWriteSecret interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfReqWriteSecret(value) {
|
|
26
|
+
if (!('tenant' in value) || value['tenant'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('user' in value) || value['user'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
18
34
|
function ReqWriteSecretFromJSON(json) {
|
|
19
35
|
return ReqWriteSecretFromJSONTyped(json, false);
|
|
20
36
|
}
|
|
21
|
-
exports.ReqWriteSecretFromJSON = ReqWriteSecretFromJSON;
|
|
22
37
|
function ReqWriteSecretFromJSONTyped(json, ignoreDiscriminator) {
|
|
23
|
-
if (
|
|
38
|
+
if (json == null) {
|
|
24
39
|
return json;
|
|
25
40
|
}
|
|
26
41
|
return {
|
|
27
|
-
'tenant':
|
|
28
|
-
'user':
|
|
29
|
-
'options':
|
|
30
|
-
'data':
|
|
42
|
+
'tenant': json['tenant'],
|
|
43
|
+
'user': json['user'],
|
|
44
|
+
'options': json['options'] == null ? undefined : (0, Options_1.OptionsFromJSON)(json['options']),
|
|
45
|
+
'data': json['data'],
|
|
31
46
|
};
|
|
32
47
|
}
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
}
|
|
38
|
-
if (value
|
|
39
|
-
return
|
|
48
|
+
function ReqWriteSecretToJSON(json) {
|
|
49
|
+
return ReqWriteSecretToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
function ReqWriteSecretToJSONTyped(value, ignoreDiscriminator) {
|
|
52
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
40
55
|
}
|
|
41
56
|
return {
|
|
42
|
-
'tenant': value
|
|
43
|
-
'user': value
|
|
44
|
-
'options':
|
|
45
|
-
'data': value
|
|
57
|
+
'tenant': value['tenant'],
|
|
58
|
+
'user': value['user'],
|
|
59
|
+
'options': (0, Options_1.OptionsToJSON)(value['options']),
|
|
60
|
+
'data': value['data'],
|
|
46
61
|
};
|
|
47
62
|
}
|
|
48
|
-
exports.ReqWriteSecretToJSON = ReqWriteSecretToJSON;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Tapis Security API
|
|
3
|
-
* The Tapis Security API provides
|
|
3
|
+
* The Tapis Security API provides for management of Security Kernel (SK) role-based authorization and secrets resources.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 1.8.2
|
|
6
6
|
* Contact: cicsupport@tacc.utexas.edu
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { ResultAuthorized } from './';
|
|
12
|
+
import type { ResultAuthorized } from './ResultAuthorized';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -34,6 +34,24 @@ export interface RespAuthorized {
|
|
|
34
34
|
* @memberof RespAuthorized
|
|
35
35
|
*/
|
|
36
36
|
version?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof RespAuthorized
|
|
41
|
+
*/
|
|
42
|
+
commit?: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof RespAuthorized
|
|
47
|
+
*/
|
|
48
|
+
build?: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {object}
|
|
52
|
+
* @memberof RespAuthorized
|
|
53
|
+
*/
|
|
54
|
+
metadata?: object;
|
|
37
55
|
/**
|
|
38
56
|
*
|
|
39
57
|
* @type {ResultAuthorized}
|
|
@@ -41,6 +59,11 @@ export interface RespAuthorized {
|
|
|
41
59
|
*/
|
|
42
60
|
result?: ResultAuthorized;
|
|
43
61
|
}
|
|
62
|
+
/**
|
|
63
|
+
* Check if a given object implements the RespAuthorized interface.
|
|
64
|
+
*/
|
|
65
|
+
export declare function instanceOfRespAuthorized(value: object): value is RespAuthorized;
|
|
44
66
|
export declare function RespAuthorizedFromJSON(json: any): RespAuthorized;
|
|
45
67
|
export declare function RespAuthorizedFromJSONTyped(json: any, ignoreDiscriminator: boolean): RespAuthorized;
|
|
46
|
-
export declare function RespAuthorizedToJSON(
|
|
68
|
+
export declare function RespAuthorizedToJSON(json: any): RespAuthorized;
|
|
69
|
+
export declare function RespAuthorizedToJSONTyped(value?: RespAuthorized | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Tapis Security API
|
|
6
|
-
* The Tapis Security API provides
|
|
6
|
+
* The Tapis Security API provides for management of Security Kernel (SK) role-based authorization and secrets resources.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 1.8.2
|
|
9
9
|
* Contact: cicsupport@tacc.utexas.edu
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,36 +13,50 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
exports.instanceOfRespAuthorized = instanceOfRespAuthorized;
|
|
17
|
+
exports.RespAuthorizedFromJSON = RespAuthorizedFromJSON;
|
|
18
|
+
exports.RespAuthorizedFromJSONTyped = RespAuthorizedFromJSONTyped;
|
|
19
|
+
exports.RespAuthorizedToJSON = RespAuthorizedToJSON;
|
|
20
|
+
exports.RespAuthorizedToJSONTyped = RespAuthorizedToJSONTyped;
|
|
21
|
+
var ResultAuthorized_1 = require("./ResultAuthorized");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the RespAuthorized interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfRespAuthorized(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
18
28
|
function RespAuthorizedFromJSON(json) {
|
|
19
29
|
return RespAuthorizedFromJSONTyped(json, false);
|
|
20
30
|
}
|
|
21
|
-
exports.RespAuthorizedFromJSON = RespAuthorizedFromJSON;
|
|
22
31
|
function RespAuthorizedFromJSONTyped(json, ignoreDiscriminator) {
|
|
23
|
-
if (
|
|
32
|
+
if (json == null) {
|
|
24
33
|
return json;
|
|
25
34
|
}
|
|
26
35
|
return {
|
|
27
|
-
'status':
|
|
28
|
-
'message':
|
|
29
|
-
'version':
|
|
30
|
-
'
|
|
36
|
+
'status': json['status'] == null ? undefined : json['status'],
|
|
37
|
+
'message': json['message'] == null ? undefined : json['message'],
|
|
38
|
+
'version': json['version'] == null ? undefined : json['version'],
|
|
39
|
+
'commit': json['commit'] == null ? undefined : json['commit'],
|
|
40
|
+
'build': json['build'] == null ? undefined : json['build'],
|
|
41
|
+
'metadata': json['metadata'] == null ? undefined : json['metadata'],
|
|
42
|
+
'result': json['result'] == null ? undefined : (0, ResultAuthorized_1.ResultAuthorizedFromJSON)(json['result']),
|
|
31
43
|
};
|
|
32
44
|
}
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
}
|
|
38
|
-
if (value
|
|
39
|
-
return
|
|
45
|
+
function RespAuthorizedToJSON(json) {
|
|
46
|
+
return RespAuthorizedToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function RespAuthorizedToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
40
52
|
}
|
|
41
53
|
return {
|
|
42
|
-
'status': value
|
|
43
|
-
'message': value
|
|
44
|
-
'version': value
|
|
45
|
-
'
|
|
54
|
+
'status': value['status'],
|
|
55
|
+
'message': value['message'],
|
|
56
|
+
'version': value['version'],
|
|
57
|
+
'commit': value['commit'],
|
|
58
|
+
'build': value['build'],
|
|
59
|
+
'metadata': value['metadata'],
|
|
60
|
+
'result': (0, ResultAuthorized_1.ResultAuthorizedToJSON)(value['result']),
|
|
46
61
|
};
|
|
47
62
|
}
|
|
48
|
-
exports.RespAuthorizedToJSON = RespAuthorizedToJSON;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Tapis Security API
|
|
3
|
-
* The Tapis Security API provides
|
|
3
|
+
* The Tapis Security API provides for management of Security Kernel (SK) role-based authorization and secrets resources.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 1.8.2
|
|
6
6
|
* Contact: cicsupport@tacc.utexas.edu
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -33,6 +33,24 @@ export interface RespBasic {
|
|
|
33
33
|
* @memberof RespBasic
|
|
34
34
|
*/
|
|
35
35
|
version?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof RespBasic
|
|
40
|
+
*/
|
|
41
|
+
commit?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof RespBasic
|
|
46
|
+
*/
|
|
47
|
+
build?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {object}
|
|
51
|
+
* @memberof RespBasic
|
|
52
|
+
*/
|
|
53
|
+
metadata?: object;
|
|
36
54
|
/**
|
|
37
55
|
*
|
|
38
56
|
* @type {object}
|
|
@@ -40,6 +58,11 @@ export interface RespBasic {
|
|
|
40
58
|
*/
|
|
41
59
|
result?: object;
|
|
42
60
|
}
|
|
61
|
+
/**
|
|
62
|
+
* Check if a given object implements the RespBasic interface.
|
|
63
|
+
*/
|
|
64
|
+
export declare function instanceOfRespBasic(value: object): value is RespBasic;
|
|
43
65
|
export declare function RespBasicFromJSON(json: any): RespBasic;
|
|
44
66
|
export declare function RespBasicFromJSONTyped(json: any, ignoreDiscriminator: boolean): RespBasic;
|
|
45
|
-
export declare function RespBasicToJSON(
|
|
67
|
+
export declare function RespBasicToJSON(json: any): RespBasic;
|
|
68
|
+
export declare function RespBasicToJSONTyped(value?: RespBasic | null, ignoreDiscriminator?: boolean): any;
|
package/dist/models/RespBasic.js
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Tapis Security API
|
|
6
|
-
* The Tapis Security API provides
|
|
6
|
+
* The Tapis Security API provides for management of Security Kernel (SK) role-based authorization and secrets resources.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 1.8.2
|
|
9
9
|
* Contact: cicsupport@tacc.utexas.edu
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,35 +13,49 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
|
|
16
|
+
exports.instanceOfRespBasic = instanceOfRespBasic;
|
|
17
|
+
exports.RespBasicFromJSON = RespBasicFromJSON;
|
|
18
|
+
exports.RespBasicFromJSONTyped = RespBasicFromJSONTyped;
|
|
19
|
+
exports.RespBasicToJSON = RespBasicToJSON;
|
|
20
|
+
exports.RespBasicToJSONTyped = RespBasicToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the RespBasic interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfRespBasic(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
17
27
|
function RespBasicFromJSON(json) {
|
|
18
28
|
return RespBasicFromJSONTyped(json, false);
|
|
19
29
|
}
|
|
20
|
-
exports.RespBasicFromJSON = RespBasicFromJSON;
|
|
21
30
|
function RespBasicFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
-
if (
|
|
31
|
+
if (json == null) {
|
|
23
32
|
return json;
|
|
24
33
|
}
|
|
25
34
|
return {
|
|
26
|
-
'status':
|
|
27
|
-
'message':
|
|
28
|
-
'version':
|
|
29
|
-
'
|
|
35
|
+
'status': json['status'] == null ? undefined : json['status'],
|
|
36
|
+
'message': json['message'] == null ? undefined : json['message'],
|
|
37
|
+
'version': json['version'] == null ? undefined : json['version'],
|
|
38
|
+
'commit': json['commit'] == null ? undefined : json['commit'],
|
|
39
|
+
'build': json['build'] == null ? undefined : json['build'],
|
|
40
|
+
'metadata': json['metadata'] == null ? undefined : json['metadata'],
|
|
41
|
+
'result': json['result'] == null ? undefined : json['result'],
|
|
30
42
|
};
|
|
31
43
|
}
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}
|
|
37
|
-
if (value
|
|
38
|
-
return
|
|
44
|
+
function RespBasicToJSON(json) {
|
|
45
|
+
return RespBasicToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function RespBasicToJSONTyped(value, ignoreDiscriminator) {
|
|
48
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
39
51
|
}
|
|
40
52
|
return {
|
|
41
|
-
'status': value
|
|
42
|
-
'message': value
|
|
43
|
-
'version': value
|
|
44
|
-
'
|
|
53
|
+
'status': value['status'],
|
|
54
|
+
'message': value['message'],
|
|
55
|
+
'version': value['version'],
|
|
56
|
+
'commit': value['commit'],
|
|
57
|
+
'build': value['build'],
|
|
58
|
+
'metadata': value['metadata'],
|
|
59
|
+
'result': value['result'],
|
|
45
60
|
};
|
|
46
61
|
}
|
|
47
|
-
exports.RespBasicToJSON = RespBasicToJSON;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tapis Security API
|
|
3
|
+
* The Tapis Security API provides for management of Security Kernel (SK) role-based authorization and secrets resources.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.8.2
|
|
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
|
+
import type { ResultBoolean } from './ResultBoolean';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface RespBoolean
|
|
17
|
+
*/
|
|
18
|
+
export interface RespBoolean {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof RespBoolean
|
|
23
|
+
*/
|
|
24
|
+
status?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof RespBoolean
|
|
29
|
+
*/
|
|
30
|
+
message?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof RespBoolean
|
|
35
|
+
*/
|
|
36
|
+
version?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof RespBoolean
|
|
41
|
+
*/
|
|
42
|
+
commit?: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof RespBoolean
|
|
47
|
+
*/
|
|
48
|
+
build?: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {object}
|
|
52
|
+
* @memberof RespBoolean
|
|
53
|
+
*/
|
|
54
|
+
metadata?: object;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {ResultBoolean}
|
|
58
|
+
* @memberof RespBoolean
|
|
59
|
+
*/
|
|
60
|
+
result?: ResultBoolean;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Check if a given object implements the RespBoolean interface.
|
|
64
|
+
*/
|
|
65
|
+
export declare function instanceOfRespBoolean(value: object): value is RespBoolean;
|
|
66
|
+
export declare function RespBooleanFromJSON(json: any): RespBoolean;
|
|
67
|
+
export declare function RespBooleanFromJSONTyped(json: any, ignoreDiscriminator: boolean): RespBoolean;
|
|
68
|
+
export declare function RespBooleanToJSON(json: any): RespBoolean;
|
|
69
|
+
export declare function RespBooleanToJSONTyped(value?: RespBoolean | null, ignoreDiscriminator?: boolean): any;
|