@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
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Tapis Security API
|
|
5
|
-
* The Tapis Security API provides
|
|
5
|
+
* The Tapis Security API provides for management of Security Kernel (SK) role-based authorization and secrets resources.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 1.8.2
|
|
8
8
|
* Contact: cicsupport@tacc.utexas.edu
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import {
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
@@ -24,19 +24,19 @@ export interface ReqUserIsPermittedMulti {
|
|
|
24
24
|
* @type {string}
|
|
25
25
|
* @memberof ReqUserIsPermittedMulti
|
|
26
26
|
*/
|
|
27
|
-
tenant
|
|
27
|
+
tenant: string;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @type {string}
|
|
31
31
|
* @memberof ReqUserIsPermittedMulti
|
|
32
32
|
*/
|
|
33
|
-
user
|
|
33
|
+
user: string;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
* @type {Array<string>}
|
|
37
37
|
* @memberof ReqUserIsPermittedMulti
|
|
38
38
|
*/
|
|
39
|
-
permSpecs
|
|
39
|
+
permSpecs: Array<string>;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
42
|
* @type {boolean}
|
|
@@ -45,36 +45,48 @@ export interface ReqUserIsPermittedMulti {
|
|
|
45
45
|
orAdmin?: boolean;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the ReqUserIsPermittedMulti interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfReqUserIsPermittedMulti(value: object): value is ReqUserIsPermittedMulti {
|
|
52
|
+
if (!('tenant' in value) || value['tenant'] === undefined) return false;
|
|
53
|
+
if (!('user' in value) || value['user'] === undefined) return false;
|
|
54
|
+
if (!('permSpecs' in value) || value['permSpecs'] === undefined) return false;
|
|
55
|
+
return true;
|
|
56
|
+
}
|
|
57
|
+
|
|
48
58
|
export function ReqUserIsPermittedMultiFromJSON(json: any): ReqUserIsPermittedMulti {
|
|
49
59
|
return ReqUserIsPermittedMultiFromJSONTyped(json, false);
|
|
50
60
|
}
|
|
51
61
|
|
|
52
62
|
export function ReqUserIsPermittedMultiFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReqUserIsPermittedMulti {
|
|
53
|
-
if (
|
|
63
|
+
if (json == null) {
|
|
54
64
|
return json;
|
|
55
65
|
}
|
|
56
66
|
return {
|
|
57
67
|
|
|
58
|
-
'tenant':
|
|
59
|
-
'user':
|
|
60
|
-
'permSpecs':
|
|
61
|
-
'orAdmin':
|
|
68
|
+
'tenant': json['tenant'],
|
|
69
|
+
'user': json['user'],
|
|
70
|
+
'permSpecs': json['permSpecs'],
|
|
71
|
+
'orAdmin': json['orAdmin'] == null ? undefined : json['orAdmin'],
|
|
62
72
|
};
|
|
63
73
|
}
|
|
64
74
|
|
|
65
|
-
export function ReqUserIsPermittedMultiToJSON(
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
75
|
+
export function ReqUserIsPermittedMultiToJSON(json: any): ReqUserIsPermittedMulti {
|
|
76
|
+
return ReqUserIsPermittedMultiToJSONTyped(json, false);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export function ReqUserIsPermittedMultiToJSONTyped(value?: ReqUserIsPermittedMulti | null, ignoreDiscriminator: boolean = false): any {
|
|
80
|
+
if (value == null) {
|
|
81
|
+
return value;
|
|
71
82
|
}
|
|
83
|
+
|
|
72
84
|
return {
|
|
73
85
|
|
|
74
|
-
'tenant': value
|
|
75
|
-
'user': value
|
|
76
|
-
'permSpecs': value
|
|
77
|
-
'orAdmin': value
|
|
86
|
+
'tenant': value['tenant'],
|
|
87
|
+
'user': value['user'],
|
|
88
|
+
'permSpecs': value['permSpecs'],
|
|
89
|
+
'orAdmin': value['orAdmin'],
|
|
78
90
|
};
|
|
79
91
|
}
|
|
80
92
|
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Tapis Security API
|
|
5
|
+
* The Tapis Security API provides for management of Security Kernel (SK) role-based authorization and secrets resources.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.8.2
|
|
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 { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface ReqValidatePwd
|
|
20
|
+
*/
|
|
21
|
+
export interface ReqValidatePwd {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ReqValidatePwd
|
|
26
|
+
*/
|
|
27
|
+
tenant: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ReqValidatePwd
|
|
32
|
+
*/
|
|
33
|
+
user: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof ReqValidatePwd
|
|
38
|
+
*/
|
|
39
|
+
password: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the ReqValidatePwd interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfReqValidatePwd(value: object): value is ReqValidatePwd {
|
|
46
|
+
if (!('tenant' in value) || value['tenant'] === undefined) return false;
|
|
47
|
+
if (!('user' in value) || value['user'] === undefined) return false;
|
|
48
|
+
if (!('password' in value) || value['password'] === undefined) return false;
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function ReqValidatePwdFromJSON(json: any): ReqValidatePwd {
|
|
53
|
+
return ReqValidatePwdFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function ReqValidatePwdFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReqValidatePwd {
|
|
57
|
+
if (json == null) {
|
|
58
|
+
return json;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'tenant': json['tenant'],
|
|
63
|
+
'user': json['user'],
|
|
64
|
+
'password': json['password'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function ReqValidatePwdToJSON(json: any): ReqValidatePwd {
|
|
69
|
+
return ReqValidatePwdToJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function ReqValidatePwdToJSONTyped(value?: ReqValidatePwd | null, ignoreDiscriminator: boolean = false): any {
|
|
73
|
+
if (value == null) {
|
|
74
|
+
return value;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
return {
|
|
78
|
+
|
|
79
|
+
'tenant': value['tenant'],
|
|
80
|
+
'user': value['user'],
|
|
81
|
+
'password': value['password'],
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Tapis Security API
|
|
5
|
-
* The Tapis Security API provides
|
|
5
|
+
* The Tapis Security API provides for management of Security Kernel (SK) role-based authorization and secrets resources.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 1.8.2
|
|
8
8
|
* Contact: cicsupport@tacc.utexas.edu
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import {
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
@@ -24,19 +24,29 @@ export interface ReqVersions {
|
|
|
24
24
|
* @type {string}
|
|
25
25
|
* @memberof ReqVersions
|
|
26
26
|
*/
|
|
27
|
-
tenant
|
|
27
|
+
tenant: string;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @type {string}
|
|
31
31
|
* @memberof ReqVersions
|
|
32
32
|
*/
|
|
33
|
-
user
|
|
33
|
+
user: string;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
* @type {Array<number>}
|
|
37
37
|
* @memberof ReqVersions
|
|
38
38
|
*/
|
|
39
|
-
versions
|
|
39
|
+
versions: Array<number>;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the ReqVersions interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfReqVersions(value: object): value is ReqVersions {
|
|
46
|
+
if (!('tenant' in value) || value['tenant'] === undefined) return false;
|
|
47
|
+
if (!('user' in value) || value['user'] === undefined) return false;
|
|
48
|
+
if (!('versions' in value) || value['versions'] === undefined) return false;
|
|
49
|
+
return true;
|
|
40
50
|
}
|
|
41
51
|
|
|
42
52
|
export function ReqVersionsFromJSON(json: any): ReqVersions {
|
|
@@ -44,29 +54,31 @@ export function ReqVersionsFromJSON(json: any): ReqVersions {
|
|
|
44
54
|
}
|
|
45
55
|
|
|
46
56
|
export function ReqVersionsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReqVersions {
|
|
47
|
-
if (
|
|
57
|
+
if (json == null) {
|
|
48
58
|
return json;
|
|
49
59
|
}
|
|
50
60
|
return {
|
|
51
61
|
|
|
52
|
-
'tenant':
|
|
53
|
-
'user':
|
|
54
|
-
'versions':
|
|
62
|
+
'tenant': json['tenant'],
|
|
63
|
+
'user': json['user'],
|
|
64
|
+
'versions': json['versions'],
|
|
55
65
|
};
|
|
56
66
|
}
|
|
57
67
|
|
|
58
|
-
export function ReqVersionsToJSON(
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
68
|
+
export function ReqVersionsToJSON(json: any): ReqVersions {
|
|
69
|
+
return ReqVersionsToJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function ReqVersionsToJSONTyped(value?: ReqVersions | null, ignoreDiscriminator: boolean = false): any {
|
|
73
|
+
if (value == null) {
|
|
74
|
+
return value;
|
|
64
75
|
}
|
|
76
|
+
|
|
65
77
|
return {
|
|
66
78
|
|
|
67
|
-
'tenant': value
|
|
68
|
-
'user': value
|
|
69
|
-
'versions': value
|
|
79
|
+
'tenant': value['tenant'],
|
|
80
|
+
'user': value['user'],
|
|
81
|
+
'versions': value['versions'],
|
|
70
82
|
};
|
|
71
83
|
}
|
|
72
84
|
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Tapis Security API
|
|
5
|
-
* The Tapis Security API provides
|
|
5
|
+
* The Tapis Security API provides for management of Security Kernel (SK) role-based authorization and secrets resources.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 1.8.2
|
|
8
8
|
* Contact: cicsupport@tacc.utexas.edu
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,13 +12,14 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import {
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { Options } from './Options';
|
|
16
17
|
import {
|
|
17
|
-
Options,
|
|
18
18
|
OptionsFromJSON,
|
|
19
19
|
OptionsFromJSONTyped,
|
|
20
20
|
OptionsToJSON,
|
|
21
|
-
|
|
21
|
+
OptionsToJSONTyped,
|
|
22
|
+
} from './Options';
|
|
22
23
|
|
|
23
24
|
/**
|
|
24
25
|
*
|
|
@@ -31,13 +32,13 @@ export interface ReqWriteSecret {
|
|
|
31
32
|
* @type {string}
|
|
32
33
|
* @memberof ReqWriteSecret
|
|
33
34
|
*/
|
|
34
|
-
tenant
|
|
35
|
+
tenant: string;
|
|
35
36
|
/**
|
|
36
37
|
*
|
|
37
38
|
* @type {string}
|
|
38
39
|
* @memberof ReqWriteSecret
|
|
39
40
|
*/
|
|
40
|
-
user
|
|
41
|
+
user: string;
|
|
41
42
|
/**
|
|
42
43
|
*
|
|
43
44
|
* @type {Options}
|
|
@@ -49,7 +50,17 @@ export interface ReqWriteSecret {
|
|
|
49
50
|
* @type {{ [key: string]: string; }}
|
|
50
51
|
* @memberof ReqWriteSecret
|
|
51
52
|
*/
|
|
52
|
-
data
|
|
53
|
+
data: { [key: string]: string; };
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the ReqWriteSecret interface.
|
|
58
|
+
*/
|
|
59
|
+
export function instanceOfReqWriteSecret(value: object): value is ReqWriteSecret {
|
|
60
|
+
if (!('tenant' in value) || value['tenant'] === undefined) return false;
|
|
61
|
+
if (!('user' in value) || value['user'] === undefined) return false;
|
|
62
|
+
if (!('data' in value) || value['data'] === undefined) return false;
|
|
63
|
+
return true;
|
|
53
64
|
}
|
|
54
65
|
|
|
55
66
|
export function ReqWriteSecretFromJSON(json: any): ReqWriteSecret {
|
|
@@ -57,31 +68,33 @@ export function ReqWriteSecretFromJSON(json: any): ReqWriteSecret {
|
|
|
57
68
|
}
|
|
58
69
|
|
|
59
70
|
export function ReqWriteSecretFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReqWriteSecret {
|
|
60
|
-
if (
|
|
71
|
+
if (json == null) {
|
|
61
72
|
return json;
|
|
62
73
|
}
|
|
63
74
|
return {
|
|
64
75
|
|
|
65
|
-
'tenant':
|
|
66
|
-
'user':
|
|
67
|
-
'options':
|
|
68
|
-
'data':
|
|
76
|
+
'tenant': json['tenant'],
|
|
77
|
+
'user': json['user'],
|
|
78
|
+
'options': json['options'] == null ? undefined : OptionsFromJSON(json['options']),
|
|
79
|
+
'data': json['data'],
|
|
69
80
|
};
|
|
70
81
|
}
|
|
71
82
|
|
|
72
|
-
export function ReqWriteSecretToJSON(
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
83
|
+
export function ReqWriteSecretToJSON(json: any): ReqWriteSecret {
|
|
84
|
+
return ReqWriteSecretToJSONTyped(json, false);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export function ReqWriteSecretToJSONTyped(value?: ReqWriteSecret | null, ignoreDiscriminator: boolean = false): any {
|
|
88
|
+
if (value == null) {
|
|
89
|
+
return value;
|
|
78
90
|
}
|
|
91
|
+
|
|
79
92
|
return {
|
|
80
93
|
|
|
81
|
-
'tenant': value
|
|
82
|
-
'user': value
|
|
83
|
-
'options': OptionsToJSON(value
|
|
84
|
-
'data': value
|
|
94
|
+
'tenant': value['tenant'],
|
|
95
|
+
'user': value['user'],
|
|
96
|
+
'options': OptionsToJSON(value['options']),
|
|
97
|
+
'data': value['data'],
|
|
85
98
|
};
|
|
86
99
|
}
|
|
87
100
|
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Tapis Security API
|
|
5
|
-
* The Tapis Security API provides
|
|
5
|
+
* The Tapis Security API provides for management of Security Kernel (SK) role-based authorization and secrets resources.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 1.8.2
|
|
8
8
|
* Contact: cicsupport@tacc.utexas.edu
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,13 +12,14 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import {
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { ResultAuthorized } from './ResultAuthorized';
|
|
16
17
|
import {
|
|
17
|
-
ResultAuthorized,
|
|
18
18
|
ResultAuthorizedFromJSON,
|
|
19
19
|
ResultAuthorizedFromJSONTyped,
|
|
20
20
|
ResultAuthorizedToJSON,
|
|
21
|
-
|
|
21
|
+
ResultAuthorizedToJSONTyped,
|
|
22
|
+
} from './ResultAuthorized';
|
|
22
23
|
|
|
23
24
|
/**
|
|
24
25
|
*
|
|
@@ -44,6 +45,24 @@ export interface RespAuthorized {
|
|
|
44
45
|
* @memberof RespAuthorized
|
|
45
46
|
*/
|
|
46
47
|
version?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof RespAuthorized
|
|
52
|
+
*/
|
|
53
|
+
commit?: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof RespAuthorized
|
|
58
|
+
*/
|
|
59
|
+
build?: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {object}
|
|
63
|
+
* @memberof RespAuthorized
|
|
64
|
+
*/
|
|
65
|
+
metadata?: object;
|
|
47
66
|
/**
|
|
48
67
|
*
|
|
49
68
|
* @type {ResultAuthorized}
|
|
@@ -52,36 +71,51 @@ export interface RespAuthorized {
|
|
|
52
71
|
result?: ResultAuthorized;
|
|
53
72
|
}
|
|
54
73
|
|
|
74
|
+
/**
|
|
75
|
+
* Check if a given object implements the RespAuthorized interface.
|
|
76
|
+
*/
|
|
77
|
+
export function instanceOfRespAuthorized(value: object): value is RespAuthorized {
|
|
78
|
+
return true;
|
|
79
|
+
}
|
|
80
|
+
|
|
55
81
|
export function RespAuthorizedFromJSON(json: any): RespAuthorized {
|
|
56
82
|
return RespAuthorizedFromJSONTyped(json, false);
|
|
57
83
|
}
|
|
58
84
|
|
|
59
85
|
export function RespAuthorizedFromJSONTyped(json: any, ignoreDiscriminator: boolean): RespAuthorized {
|
|
60
|
-
if (
|
|
86
|
+
if (json == null) {
|
|
61
87
|
return json;
|
|
62
88
|
}
|
|
63
89
|
return {
|
|
64
90
|
|
|
65
|
-
'status':
|
|
66
|
-
'message':
|
|
67
|
-
'version':
|
|
68
|
-
'
|
|
91
|
+
'status': json['status'] == null ? undefined : json['status'],
|
|
92
|
+
'message': json['message'] == null ? undefined : json['message'],
|
|
93
|
+
'version': json['version'] == null ? undefined : json['version'],
|
|
94
|
+
'commit': json['commit'] == null ? undefined : json['commit'],
|
|
95
|
+
'build': json['build'] == null ? undefined : json['build'],
|
|
96
|
+
'metadata': json['metadata'] == null ? undefined : json['metadata'],
|
|
97
|
+
'result': json['result'] == null ? undefined : ResultAuthorizedFromJSON(json['result']),
|
|
69
98
|
};
|
|
70
99
|
}
|
|
71
100
|
|
|
72
|
-
export function RespAuthorizedToJSON(
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
101
|
+
export function RespAuthorizedToJSON(json: any): RespAuthorized {
|
|
102
|
+
return RespAuthorizedToJSONTyped(json, false);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export function RespAuthorizedToJSONTyped(value?: RespAuthorized | null, ignoreDiscriminator: boolean = false): any {
|
|
106
|
+
if (value == null) {
|
|
107
|
+
return value;
|
|
78
108
|
}
|
|
109
|
+
|
|
79
110
|
return {
|
|
80
111
|
|
|
81
|
-
'status': value
|
|
82
|
-
'message': value
|
|
83
|
-
'version': value
|
|
84
|
-
'
|
|
112
|
+
'status': value['status'],
|
|
113
|
+
'message': value['message'],
|
|
114
|
+
'version': value['version'],
|
|
115
|
+
'commit': value['commit'],
|
|
116
|
+
'build': value['build'],
|
|
117
|
+
'metadata': value['metadata'],
|
|
118
|
+
'result': ResultAuthorizedToJSON(value['result']),
|
|
85
119
|
};
|
|
86
120
|
}
|
|
87
121
|
|
package/src/models/RespBasic.ts
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Tapis Security API
|
|
5
|
-
* The Tapis Security API provides
|
|
5
|
+
* The Tapis Security API provides for management of Security Kernel (SK) role-based authorization and secrets resources.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 1.8.2
|
|
8
8
|
* Contact: cicsupport@tacc.utexas.edu
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import {
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
@@ -37,6 +37,24 @@ export interface RespBasic {
|
|
|
37
37
|
* @memberof RespBasic
|
|
38
38
|
*/
|
|
39
39
|
version?: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof RespBasic
|
|
44
|
+
*/
|
|
45
|
+
commit?: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof RespBasic
|
|
50
|
+
*/
|
|
51
|
+
build?: string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {object}
|
|
55
|
+
* @memberof RespBasic
|
|
56
|
+
*/
|
|
57
|
+
metadata?: object;
|
|
40
58
|
/**
|
|
41
59
|
*
|
|
42
60
|
* @type {object}
|
|
@@ -45,36 +63,51 @@ export interface RespBasic {
|
|
|
45
63
|
result?: object;
|
|
46
64
|
}
|
|
47
65
|
|
|
66
|
+
/**
|
|
67
|
+
* Check if a given object implements the RespBasic interface.
|
|
68
|
+
*/
|
|
69
|
+
export function instanceOfRespBasic(value: object): value is RespBasic {
|
|
70
|
+
return true;
|
|
71
|
+
}
|
|
72
|
+
|
|
48
73
|
export function RespBasicFromJSON(json: any): RespBasic {
|
|
49
74
|
return RespBasicFromJSONTyped(json, false);
|
|
50
75
|
}
|
|
51
76
|
|
|
52
77
|
export function RespBasicFromJSONTyped(json: any, ignoreDiscriminator: boolean): RespBasic {
|
|
53
|
-
if (
|
|
78
|
+
if (json == null) {
|
|
54
79
|
return json;
|
|
55
80
|
}
|
|
56
81
|
return {
|
|
57
82
|
|
|
58
|
-
'status':
|
|
59
|
-
'message':
|
|
60
|
-
'version':
|
|
61
|
-
'
|
|
83
|
+
'status': json['status'] == null ? undefined : json['status'],
|
|
84
|
+
'message': json['message'] == null ? undefined : json['message'],
|
|
85
|
+
'version': json['version'] == null ? undefined : json['version'],
|
|
86
|
+
'commit': json['commit'] == null ? undefined : json['commit'],
|
|
87
|
+
'build': json['build'] == null ? undefined : json['build'],
|
|
88
|
+
'metadata': json['metadata'] == null ? undefined : json['metadata'],
|
|
89
|
+
'result': json['result'] == null ? undefined : json['result'],
|
|
62
90
|
};
|
|
63
91
|
}
|
|
64
92
|
|
|
65
|
-
export function RespBasicToJSON(
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
93
|
+
export function RespBasicToJSON(json: any): RespBasic {
|
|
94
|
+
return RespBasicToJSONTyped(json, false);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export function RespBasicToJSONTyped(value?: RespBasic | null, ignoreDiscriminator: boolean = false): any {
|
|
98
|
+
if (value == null) {
|
|
99
|
+
return value;
|
|
71
100
|
}
|
|
101
|
+
|
|
72
102
|
return {
|
|
73
103
|
|
|
74
|
-
'status': value
|
|
75
|
-
'message': value
|
|
76
|
-
'version': value
|
|
77
|
-
'
|
|
104
|
+
'status': value['status'],
|
|
105
|
+
'message': value['message'],
|
|
106
|
+
'version': value['version'],
|
|
107
|
+
'commit': value['commit'],
|
|
108
|
+
'build': value['build'],
|
|
109
|
+
'metadata': value['metadata'],
|
|
110
|
+
'result': value['result'],
|
|
78
111
|
};
|
|
79
112
|
}
|
|
80
113
|
|