@tapis/tapis-typescript-sk 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +67 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +45 -0
- package/dist/apis/GeneralApi.d.ts +45 -0
- package/dist/apis/GeneralApi.js +199 -0
- package/dist/apis/RoleApi.d.ts +205 -0
- package/dist/apis/RoleApi.js +861 -0
- package/dist/apis/UserApi.d.ts +276 -0
- package/dist/apis/UserApi.js +1166 -0
- package/dist/apis/VaultApi.d.ts +195 -0
- package/dist/apis/VaultApi.js +740 -0
- package/dist/apis/index.d.ts +4 -0
- package/dist/apis/index.js +11 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +10 -0
- package/dist/models/Options.d.ts +27 -0
- package/dist/models/Options.js +41 -0
- package/dist/models/ReqAddChildRole.d.ts +39 -0
- package/dist/models/ReqAddChildRole.js +45 -0
- package/dist/models/ReqAddRolePermission.d.ts +39 -0
- package/dist/models/ReqAddRolePermission.js +45 -0
- package/dist/models/ReqCreateRole.d.ts +39 -0
- package/dist/models/ReqCreateRole.js +45 -0
- package/dist/models/ReqGrantAdminRole.d.ts +33 -0
- package/dist/models/ReqGrantAdminRole.js +43 -0
- package/dist/models/ReqGrantUserPermission.d.ts +39 -0
- package/dist/models/ReqGrantUserPermission.js +45 -0
- package/dist/models/ReqGrantUserRole.d.ts +39 -0
- package/dist/models/ReqGrantUserRole.js +45 -0
- package/dist/models/ReqGrantUserRoleWithPermission.d.ts +45 -0
- package/dist/models/ReqGrantUserRoleWithPermission.js +47 -0
- package/dist/models/ReqPreviewPathPrefix.d.ts +63 -0
- package/dist/models/ReqPreviewPathPrefix.js +53 -0
- package/dist/models/ReqRemoveChildRole.d.ts +39 -0
- package/dist/models/ReqRemoveChildRole.js +45 -0
- package/dist/models/ReqRemoveRolePermission.d.ts +39 -0
- package/dist/models/ReqRemoveRolePermission.js +45 -0
- package/dist/models/ReqReplacePathPrefix.d.ts +63 -0
- package/dist/models/ReqReplacePathPrefix.js +53 -0
- package/dist/models/ReqRevokeAdminRole.d.ts +33 -0
- package/dist/models/ReqRevokeAdminRole.js +43 -0
- package/dist/models/ReqRevokeUserPermission.d.ts +39 -0
- package/dist/models/ReqRevokeUserPermission.js +45 -0
- package/dist/models/ReqRevokeUserRole.d.ts +39 -0
- package/dist/models/ReqRevokeUserRole.js +45 -0
- package/dist/models/ReqUpdateRoleDescription.d.ts +33 -0
- package/dist/models/ReqUpdateRoleDescription.js +43 -0
- package/dist/models/ReqUpdateRoleName.d.ts +33 -0
- package/dist/models/ReqUpdateRoleName.js +43 -0
- package/dist/models/ReqUpdateRoleOwner.d.ts +39 -0
- package/dist/models/ReqUpdateRoleOwner.js +45 -0
- package/dist/models/ReqUserHasRole.d.ts +45 -0
- package/dist/models/ReqUserHasRole.js +47 -0
- package/dist/models/ReqUserHasRoleMulti.d.ts +45 -0
- package/dist/models/ReqUserHasRoleMulti.js +47 -0
- package/dist/models/ReqUserIsAdmin.d.ts +33 -0
- package/dist/models/ReqUserIsAdmin.js +43 -0
- package/dist/models/ReqUserIsPermitted.d.ts +45 -0
- package/dist/models/ReqUserIsPermitted.js +47 -0
- package/dist/models/ReqUserIsPermittedMulti.d.ts +45 -0
- package/dist/models/ReqUserIsPermittedMulti.js +47 -0
- package/dist/models/ReqValidateServicePwd.d.ts +39 -0
- package/dist/models/ReqValidateServicePwd.js +45 -0
- package/dist/models/ReqVersions.d.ts +39 -0
- package/dist/models/ReqVersions.js +45 -0
- package/dist/models/ReqWriteSecret.d.ts +48 -0
- package/dist/models/ReqWriteSecret.js +48 -0
- package/dist/models/RespAuthorized.d.ts +46 -0
- package/dist/models/RespAuthorized.js +48 -0
- package/dist/models/RespBasic.d.ts +45 -0
- package/dist/models/RespBasic.js +47 -0
- package/dist/models/RespChangeCount.d.ts +46 -0
- package/dist/models/RespChangeCount.js +48 -0
- package/dist/models/RespName.d.ts +46 -0
- package/dist/models/RespName.js +48 -0
- package/dist/models/RespNameArray.d.ts +46 -0
- package/dist/models/RespNameArray.js +48 -0
- package/dist/models/RespPathPrefixes.d.ts +46 -0
- package/dist/models/RespPathPrefixes.js +48 -0
- package/dist/models/RespProbe.d.ts +46 -0
- package/dist/models/RespProbe.js +48 -0
- package/dist/models/RespResourceUrl.d.ts +46 -0
- package/dist/models/RespResourceUrl.js +48 -0
- package/dist/models/RespRole.d.ts +46 -0
- package/dist/models/RespRole.js +48 -0
- package/dist/models/RespSecret.d.ts +46 -0
- package/dist/models/RespSecret.js +48 -0
- package/dist/models/RespSecretList.d.ts +46 -0
- package/dist/models/RespSecretList.js +48 -0
- package/dist/models/RespSecretMeta.d.ts +46 -0
- package/dist/models/RespSecretMeta.js +48 -0
- package/dist/models/RespSecretVersionMetadata.d.ts +46 -0
- package/dist/models/RespSecretVersionMetadata.js +48 -0
- package/dist/models/RespVersions.d.ts +45 -0
- package/dist/models/RespVersions.js +47 -0
- package/dist/models/ResultAuthorized.d.ts +27 -0
- package/dist/models/ResultAuthorized.js +41 -0
- package/dist/models/ResultChangeCount.d.ts +27 -0
- package/dist/models/ResultChangeCount.js +41 -0
- package/dist/models/ResultName.d.ts +27 -0
- package/dist/models/ResultName.js +41 -0
- package/dist/models/ResultNameArray.d.ts +27 -0
- package/dist/models/ResultNameArray.js +41 -0
- package/dist/models/ResultResourceUrl.d.ts +27 -0
- package/dist/models/ResultResourceUrl.js +41 -0
- package/dist/models/SkProbe.d.ts +45 -0
- package/dist/models/SkProbe.js +47 -0
- package/dist/models/SkRole.d.ts +93 -0
- package/dist/models/SkRole.js +63 -0
- package/dist/models/SkSecret.d.ts +36 -0
- package/dist/models/SkSecret.js +44 -0
- package/dist/models/SkSecretList.d.ts +33 -0
- package/dist/models/SkSecretList.js +43 -0
- package/dist/models/SkSecretMetadata.d.ts +45 -0
- package/dist/models/SkSecretMetadata.js +47 -0
- package/dist/models/SkSecretVersion.d.ts +45 -0
- package/dist/models/SkSecretVersion.js +47 -0
- package/dist/models/SkSecretVersionMetadata.d.ts +58 -0
- package/dist/models/SkSecretVersionMetadata.js +52 -0
- package/dist/models/Transformation.d.ts +39 -0
- package/dist/models/Transformation.js +45 -0
- package/dist/models/index.d.ts +53 -0
- package/dist/models/index.js +60 -0
- package/dist/runtime.d.ts +140 -0
- package/dist/runtime.js +420 -0
- package/package.json +15 -0
- package/src/apis/GeneralApi.ts +117 -0
- package/src/apis/RoleApi.ts +782 -0
- package/src/apis/UserApi.ts +1047 -0
- package/src/apis/VaultApi.ts +802 -0
- package/src/apis/index.ts +6 -0
- package/src/index.ts +5 -0
- package/src/models/Options.ts +56 -0
- package/src/models/ReqAddChildRole.ts +72 -0
- package/src/models/ReqAddRolePermission.ts +72 -0
- package/src/models/ReqCreateRole.ts +72 -0
- package/src/models/ReqGrantAdminRole.ts +64 -0
- package/src/models/ReqGrantUserPermission.ts +72 -0
- package/src/models/ReqGrantUserRole.ts +72 -0
- package/src/models/ReqGrantUserRoleWithPermission.ts +80 -0
- package/src/models/ReqPreviewPathPrefix.ts +104 -0
- package/src/models/ReqRemoveChildRole.ts +72 -0
- package/src/models/ReqRemoveRolePermission.ts +72 -0
- package/src/models/ReqReplacePathPrefix.ts +104 -0
- package/src/models/ReqRevokeAdminRole.ts +64 -0
- package/src/models/ReqRevokeUserPermission.ts +72 -0
- package/src/models/ReqRevokeUserRole.ts +72 -0
- package/src/models/ReqUpdateRoleDescription.ts +64 -0
- package/src/models/ReqUpdateRoleName.ts +64 -0
- package/src/models/ReqUpdateRoleOwner.ts +72 -0
- package/src/models/ReqUserHasRole.ts +80 -0
- package/src/models/ReqUserHasRoleMulti.ts +80 -0
- package/src/models/ReqUserIsAdmin.ts +64 -0
- package/src/models/ReqUserIsPermitted.ts +80 -0
- package/src/models/ReqUserIsPermittedMulti.ts +80 -0
- package/src/models/ReqValidateServicePwd.ts +72 -0
- package/src/models/ReqVersions.ts +72 -0
- package/src/models/ReqWriteSecret.ts +87 -0
- package/src/models/RespAuthorized.ts +87 -0
- package/src/models/RespBasic.ts +80 -0
- package/src/models/RespChangeCount.ts +87 -0
- package/src/models/RespName.ts +87 -0
- package/src/models/RespNameArray.ts +87 -0
- package/src/models/RespPathPrefixes.ts +87 -0
- package/src/models/RespProbe.ts +87 -0
- package/src/models/RespResourceUrl.ts +87 -0
- package/src/models/RespRole.ts +87 -0
- package/src/models/RespSecret.ts +87 -0
- package/src/models/RespSecretList.ts +87 -0
- package/src/models/RespSecretMeta.ts +87 -0
- package/src/models/RespSecretVersionMetadata.ts +87 -0
- package/src/models/RespVersions.ts +80 -0
- package/src/models/ResultAuthorized.ts +56 -0
- package/src/models/ResultChangeCount.ts +56 -0
- package/src/models/ResultName.ts +56 -0
- package/src/models/ResultNameArray.ts +56 -0
- package/src/models/ResultResourceUrl.ts +56 -0
- package/src/models/SkProbe.ts +80 -0
- package/src/models/SkRole.ts +144 -0
- package/src/models/SkSecret.ts +71 -0
- package/src/models/SkSecretList.ts +64 -0
- package/src/models/SkSecretMetadata.ts +80 -0
- package/src/models/SkSecretVersion.ts +80 -0
- package/src/models/SkSecretVersionMetadata.ts +103 -0
- package/src/models/Transformation.ts +72 -0
- package/src/models/index.ts +55 -0
- package/src/runtime.ts +320 -0
- package/tsconfig.json +20 -0
|
@@ -0,0 +1,27 @@
|
|
|
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 ResultResourceUrl
|
|
16
|
+
*/
|
|
17
|
+
export interface ResultResourceUrl {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ResultResourceUrl
|
|
22
|
+
*/
|
|
23
|
+
url?: string;
|
|
24
|
+
}
|
|
25
|
+
export declare function ResultResourceUrlFromJSON(json: any): ResultResourceUrl;
|
|
26
|
+
export declare function ResultResourceUrlFromJSONTyped(json: any, ignoreDiscriminator: boolean): ResultResourceUrl;
|
|
27
|
+
export declare function ResultResourceUrlToJSON(value?: ResultResourceUrl | null): any;
|
|
@@ -0,0 +1,41 @@
|
|
|
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 ResultResourceUrlFromJSON(json) {
|
|
18
|
+
return ResultResourceUrlFromJSONTyped(json, false);
|
|
19
|
+
}
|
|
20
|
+
exports.ResultResourceUrlFromJSON = ResultResourceUrlFromJSON;
|
|
21
|
+
function ResultResourceUrlFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'url': !runtime_1.exists(json, 'url') ? undefined : json['url'],
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
exports.ResultResourceUrlFromJSONTyped = ResultResourceUrlFromJSONTyped;
|
|
30
|
+
function ResultResourceUrlToJSON(value) {
|
|
31
|
+
if (value === undefined) {
|
|
32
|
+
return undefined;
|
|
33
|
+
}
|
|
34
|
+
if (value === null) {
|
|
35
|
+
return null;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'url': value.url,
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
exports.ResultResourceUrlToJSON = ResultResourceUrlToJSON;
|
|
@@ -0,0 +1,45 @@
|
|
|
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 SkProbe
|
|
16
|
+
*/
|
|
17
|
+
export interface SkProbe {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof SkProbe
|
|
22
|
+
*/
|
|
23
|
+
checkNum?: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof SkProbe
|
|
28
|
+
*/
|
|
29
|
+
databaseAccess?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof SkProbe
|
|
34
|
+
*/
|
|
35
|
+
vaultAccess?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof SkProbe
|
|
40
|
+
*/
|
|
41
|
+
tenantsAccess?: boolean;
|
|
42
|
+
}
|
|
43
|
+
export declare function SkProbeFromJSON(json: any): SkProbe;
|
|
44
|
+
export declare function SkProbeFromJSONTyped(json: any, ignoreDiscriminator: boolean): SkProbe;
|
|
45
|
+
export declare function SkProbeToJSON(value?: SkProbe | null): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Tapis Security API
|
|
6
|
+
* The Tapis Security API provides access to the Tapis Security Kernel authorization and secrets facilities.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1
|
|
9
|
+
* Contact: cicsupport@tacc.utexas.edu
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
var runtime_1 = require("../runtime");
|
|
17
|
+
function SkProbeFromJSON(json) {
|
|
18
|
+
return SkProbeFromJSONTyped(json, false);
|
|
19
|
+
}
|
|
20
|
+
exports.SkProbeFromJSON = SkProbeFromJSON;
|
|
21
|
+
function SkProbeFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'checkNum': !runtime_1.exists(json, 'checkNum') ? undefined : json['checkNum'],
|
|
27
|
+
'databaseAccess': !runtime_1.exists(json, 'databaseAccess') ? undefined : json['databaseAccess'],
|
|
28
|
+
'vaultAccess': !runtime_1.exists(json, 'vaultAccess') ? undefined : json['vaultAccess'],
|
|
29
|
+
'tenantsAccess': !runtime_1.exists(json, 'tenantsAccess') ? undefined : json['tenantsAccess'],
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
exports.SkProbeFromJSONTyped = SkProbeFromJSONTyped;
|
|
33
|
+
function SkProbeToJSON(value) {
|
|
34
|
+
if (value === undefined) {
|
|
35
|
+
return undefined;
|
|
36
|
+
}
|
|
37
|
+
if (value === null) {
|
|
38
|
+
return null;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'checkNum': value.checkNum,
|
|
42
|
+
'databaseAccess': value.databaseAccess,
|
|
43
|
+
'vaultAccess': value.vaultAccess,
|
|
44
|
+
'tenantsAccess': value.tenantsAccess,
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
exports.SkProbeToJSON = SkProbeToJSON;
|
|
@@ -0,0 +1,93 @@
|
|
|
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 SkRole
|
|
16
|
+
*/
|
|
17
|
+
export interface SkRole {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof SkRole
|
|
22
|
+
*/
|
|
23
|
+
id?: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SkRole
|
|
28
|
+
*/
|
|
29
|
+
tenant?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SkRole
|
|
34
|
+
*/
|
|
35
|
+
name?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SkRole
|
|
40
|
+
*/
|
|
41
|
+
description?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof SkRole
|
|
46
|
+
*/
|
|
47
|
+
owner?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof SkRole
|
|
52
|
+
*/
|
|
53
|
+
ownerTenant?: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof SkRole
|
|
58
|
+
*/
|
|
59
|
+
created?: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof SkRole
|
|
64
|
+
*/
|
|
65
|
+
createdby?: string;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof SkRole
|
|
70
|
+
*/
|
|
71
|
+
createdbyTenant?: string;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof SkRole
|
|
76
|
+
*/
|
|
77
|
+
updated?: string;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof SkRole
|
|
82
|
+
*/
|
|
83
|
+
updatedby?: string;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof SkRole
|
|
88
|
+
*/
|
|
89
|
+
updatedbyTenant?: string;
|
|
90
|
+
}
|
|
91
|
+
export declare function SkRoleFromJSON(json: any): SkRole;
|
|
92
|
+
export declare function SkRoleFromJSONTyped(json: any, ignoreDiscriminator: boolean): SkRole;
|
|
93
|
+
export declare function SkRoleToJSON(value?: SkRole | null): any;
|
|
@@ -0,0 +1,63 @@
|
|
|
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 SkRoleFromJSON(json) {
|
|
18
|
+
return SkRoleFromJSONTyped(json, false);
|
|
19
|
+
}
|
|
20
|
+
exports.SkRoleFromJSON = SkRoleFromJSON;
|
|
21
|
+
function SkRoleFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'id': !runtime_1.exists(json, 'id') ? undefined : json['id'],
|
|
27
|
+
'tenant': !runtime_1.exists(json, 'tenant') ? undefined : json['tenant'],
|
|
28
|
+
'name': !runtime_1.exists(json, 'name') ? undefined : json['name'],
|
|
29
|
+
'description': !runtime_1.exists(json, 'description') ? undefined : json['description'],
|
|
30
|
+
'owner': !runtime_1.exists(json, 'owner') ? undefined : json['owner'],
|
|
31
|
+
'ownerTenant': !runtime_1.exists(json, 'ownerTenant') ? undefined : json['ownerTenant'],
|
|
32
|
+
'created': !runtime_1.exists(json, 'created') ? undefined : json['created'],
|
|
33
|
+
'createdby': !runtime_1.exists(json, 'createdby') ? undefined : json['createdby'],
|
|
34
|
+
'createdbyTenant': !runtime_1.exists(json, 'createdbyTenant') ? undefined : json['createdbyTenant'],
|
|
35
|
+
'updated': !runtime_1.exists(json, 'updated') ? undefined : json['updated'],
|
|
36
|
+
'updatedby': !runtime_1.exists(json, 'updatedby') ? undefined : json['updatedby'],
|
|
37
|
+
'updatedbyTenant': !runtime_1.exists(json, 'updatedbyTenant') ? undefined : json['updatedbyTenant'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
exports.SkRoleFromJSONTyped = SkRoleFromJSONTyped;
|
|
41
|
+
function SkRoleToJSON(value) {
|
|
42
|
+
if (value === undefined) {
|
|
43
|
+
return undefined;
|
|
44
|
+
}
|
|
45
|
+
if (value === null) {
|
|
46
|
+
return null;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'id': value.id,
|
|
50
|
+
'tenant': value.tenant,
|
|
51
|
+
'name': value.name,
|
|
52
|
+
'description': value.description,
|
|
53
|
+
'owner': value.owner,
|
|
54
|
+
'ownerTenant': value.ownerTenant,
|
|
55
|
+
'created': value.created,
|
|
56
|
+
'createdby': value.createdby,
|
|
57
|
+
'createdbyTenant': value.createdbyTenant,
|
|
58
|
+
'updated': value.updated,
|
|
59
|
+
'updatedby': value.updatedby,
|
|
60
|
+
'updatedbyTenant': value.updatedbyTenant,
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
exports.SkRoleToJSON = SkRoleToJSON;
|
|
@@ -0,0 +1,36 @@
|
|
|
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
|
+
import { SkSecretMetadata } from './';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SkSecret
|
|
17
|
+
*/
|
|
18
|
+
export interface SkSecret {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {{ [key: string]: string; }}
|
|
22
|
+
* @memberof SkSecret
|
|
23
|
+
*/
|
|
24
|
+
secretMap?: {
|
|
25
|
+
[key: string]: string;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {SkSecretMetadata}
|
|
30
|
+
* @memberof SkSecret
|
|
31
|
+
*/
|
|
32
|
+
metadata?: SkSecretMetadata;
|
|
33
|
+
}
|
|
34
|
+
export declare function SkSecretFromJSON(json: any): SkSecret;
|
|
35
|
+
export declare function SkSecretFromJSONTyped(json: any, ignoreDiscriminator: boolean): SkSecret;
|
|
36
|
+
export declare function SkSecretToJSON(value?: SkSecret | null): any;
|
|
@@ -0,0 +1,44 @@
|
|
|
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
|
+
var _1 = require("./");
|
|
18
|
+
function SkSecretFromJSON(json) {
|
|
19
|
+
return SkSecretFromJSONTyped(json, false);
|
|
20
|
+
}
|
|
21
|
+
exports.SkSecretFromJSON = SkSecretFromJSON;
|
|
22
|
+
function SkSecretFromJSONTyped(json, ignoreDiscriminator) {
|
|
23
|
+
if ((json === undefined) || (json === null)) {
|
|
24
|
+
return json;
|
|
25
|
+
}
|
|
26
|
+
return {
|
|
27
|
+
'secretMap': !runtime_1.exists(json, 'secretMap') ? undefined : json['secretMap'],
|
|
28
|
+
'metadata': !runtime_1.exists(json, 'metadata') ? undefined : _1.SkSecretMetadataFromJSON(json['metadata']),
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
exports.SkSecretFromJSONTyped = SkSecretFromJSONTyped;
|
|
32
|
+
function SkSecretToJSON(value) {
|
|
33
|
+
if (value === undefined) {
|
|
34
|
+
return undefined;
|
|
35
|
+
}
|
|
36
|
+
if (value === null) {
|
|
37
|
+
return null;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'secretMap': value.secretMap,
|
|
41
|
+
'metadata': _1.SkSecretMetadataToJSON(value.metadata),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
exports.SkSecretToJSON = SkSecretToJSON;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tapis Security API
|
|
3
|
+
* The Tapis Security API provides access to the Tapis Security Kernel authorization and secrets facilities.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1
|
|
6
|
+
* Contact: cicsupport@tacc.utexas.edu
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SkSecretList
|
|
16
|
+
*/
|
|
17
|
+
export interface SkSecretList {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SkSecretList
|
|
22
|
+
*/
|
|
23
|
+
secretPath?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof SkSecretList
|
|
28
|
+
*/
|
|
29
|
+
keys?: Array<string>;
|
|
30
|
+
}
|
|
31
|
+
export declare function SkSecretListFromJSON(json: any): SkSecretList;
|
|
32
|
+
export declare function SkSecretListFromJSONTyped(json: any, ignoreDiscriminator: boolean): SkSecretList;
|
|
33
|
+
export declare function SkSecretListToJSON(value?: SkSecretList | null): any;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Tapis Security API
|
|
6
|
+
* The Tapis Security API provides access to the Tapis Security Kernel authorization and secrets facilities.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1
|
|
9
|
+
* Contact: cicsupport@tacc.utexas.edu
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
var runtime_1 = require("../runtime");
|
|
17
|
+
function SkSecretListFromJSON(json) {
|
|
18
|
+
return SkSecretListFromJSONTyped(json, false);
|
|
19
|
+
}
|
|
20
|
+
exports.SkSecretListFromJSON = SkSecretListFromJSON;
|
|
21
|
+
function SkSecretListFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'secretPath': !runtime_1.exists(json, 'secretPath') ? undefined : json['secretPath'],
|
|
27
|
+
'keys': !runtime_1.exists(json, 'keys') ? undefined : json['keys'],
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
exports.SkSecretListFromJSONTyped = SkSecretListFromJSONTyped;
|
|
31
|
+
function SkSecretListToJSON(value) {
|
|
32
|
+
if (value === undefined) {
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
if (value === null) {
|
|
36
|
+
return null;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'secretPath': value.secretPath,
|
|
40
|
+
'keys': value.keys,
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
exports.SkSecretListToJSON = SkSecretListToJSON;
|
|
@@ -0,0 +1,45 @@
|
|
|
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 SkSecretMetadata
|
|
16
|
+
*/
|
|
17
|
+
export interface SkSecretMetadata {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SkSecretMetadata
|
|
22
|
+
*/
|
|
23
|
+
created_time?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SkSecretMetadata
|
|
28
|
+
*/
|
|
29
|
+
deletion_time?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof SkSecretMetadata
|
|
34
|
+
*/
|
|
35
|
+
destroyed?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof SkSecretMetadata
|
|
40
|
+
*/
|
|
41
|
+
version?: number;
|
|
42
|
+
}
|
|
43
|
+
export declare function SkSecretMetadataFromJSON(json: any): SkSecretMetadata;
|
|
44
|
+
export declare function SkSecretMetadataFromJSONTyped(json: any, ignoreDiscriminator: boolean): SkSecretMetadata;
|
|
45
|
+
export declare function SkSecretMetadataToJSON(value?: SkSecretMetadata | null): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Tapis Security API
|
|
6
|
+
* The Tapis Security API provides access to the Tapis Security Kernel authorization and secrets facilities.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1
|
|
9
|
+
* Contact: cicsupport@tacc.utexas.edu
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
var runtime_1 = require("../runtime");
|
|
17
|
+
function SkSecretMetadataFromJSON(json) {
|
|
18
|
+
return SkSecretMetadataFromJSONTyped(json, false);
|
|
19
|
+
}
|
|
20
|
+
exports.SkSecretMetadataFromJSON = SkSecretMetadataFromJSON;
|
|
21
|
+
function SkSecretMetadataFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'created_time': !runtime_1.exists(json, 'created_time') ? undefined : json['created_time'],
|
|
27
|
+
'deletion_time': !runtime_1.exists(json, 'deletion_time') ? undefined : json['deletion_time'],
|
|
28
|
+
'destroyed': !runtime_1.exists(json, 'destroyed') ? undefined : json['destroyed'],
|
|
29
|
+
'version': !runtime_1.exists(json, 'version') ? undefined : json['version'],
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
exports.SkSecretMetadataFromJSONTyped = SkSecretMetadataFromJSONTyped;
|
|
33
|
+
function SkSecretMetadataToJSON(value) {
|
|
34
|
+
if (value === undefined) {
|
|
35
|
+
return undefined;
|
|
36
|
+
}
|
|
37
|
+
if (value === null) {
|
|
38
|
+
return null;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'created_time': value.created_time,
|
|
42
|
+
'deletion_time': value.deletion_time,
|
|
43
|
+
'destroyed': value.destroyed,
|
|
44
|
+
'version': value.version,
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
exports.SkSecretMetadataToJSON = SkSecretMetadataToJSON;
|
|
@@ -0,0 +1,45 @@
|
|
|
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 SkSecretVersion
|
|
16
|
+
*/
|
|
17
|
+
export interface SkSecretVersion {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof SkSecretVersion
|
|
22
|
+
*/
|
|
23
|
+
version?: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SkSecretVersion
|
|
28
|
+
*/
|
|
29
|
+
created_time?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SkSecretVersion
|
|
34
|
+
*/
|
|
35
|
+
deletion_time?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof SkSecretVersion
|
|
40
|
+
*/
|
|
41
|
+
destroyed?: boolean;
|
|
42
|
+
}
|
|
43
|
+
export declare function SkSecretVersionFromJSON(json: any): SkSecretVersion;
|
|
44
|
+
export declare function SkSecretVersionFromJSONTyped(json: any, ignoreDiscriminator: boolean): SkSecretVersion;
|
|
45
|
+
export declare function SkSecretVersionToJSON(value?: SkSecretVersion | null): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Tapis Security API
|
|
6
|
+
* The Tapis Security API provides access to the Tapis Security Kernel authorization and secrets facilities.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1
|
|
9
|
+
* Contact: cicsupport@tacc.utexas.edu
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
var runtime_1 = require("../runtime");
|
|
17
|
+
function SkSecretVersionFromJSON(json) {
|
|
18
|
+
return SkSecretVersionFromJSONTyped(json, false);
|
|
19
|
+
}
|
|
20
|
+
exports.SkSecretVersionFromJSON = SkSecretVersionFromJSON;
|
|
21
|
+
function SkSecretVersionFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'version': !runtime_1.exists(json, 'version') ? undefined : json['version'],
|
|
27
|
+
'created_time': !runtime_1.exists(json, 'created_time') ? undefined : json['created_time'],
|
|
28
|
+
'deletion_time': !runtime_1.exists(json, 'deletion_time') ? undefined : json['deletion_time'],
|
|
29
|
+
'destroyed': !runtime_1.exists(json, 'destroyed') ? undefined : json['destroyed'],
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
exports.SkSecretVersionFromJSONTyped = SkSecretVersionFromJSONTyped;
|
|
33
|
+
function SkSecretVersionToJSON(value) {
|
|
34
|
+
if (value === undefined) {
|
|
35
|
+
return undefined;
|
|
36
|
+
}
|
|
37
|
+
if (value === null) {
|
|
38
|
+
return null;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'version': value.version,
|
|
42
|
+
'created_time': value.created_time,
|
|
43
|
+
'deletion_time': value.deletion_time,
|
|
44
|
+
'destroyed': value.destroyed,
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
exports.SkSecretVersionToJSON = SkSecretVersionToJSON;
|