@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,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
function __export(m) {
|
|
3
|
+
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
4
|
+
}
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
/* tslint:disable */
|
|
7
|
+
/* eslint-disable */
|
|
8
|
+
__export(require("./GeneralApi"));
|
|
9
|
+
__export(require("./RoleApi"));
|
|
10
|
+
__export(require("./UserApi"));
|
|
11
|
+
__export(require("./VaultApi"));
|
package/dist/index.d.ts
ADDED
package/dist/index.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
function __export(m) {
|
|
3
|
+
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
4
|
+
}
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
/* tslint:disable */
|
|
7
|
+
/* eslint-disable */
|
|
8
|
+
__export(require("./runtime"));
|
|
9
|
+
__export(require("./apis"));
|
|
10
|
+
__export(require("./models"));
|
|
@@ -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 Options
|
|
16
|
+
*/
|
|
17
|
+
export interface Options {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof Options
|
|
22
|
+
*/
|
|
23
|
+
cas?: number;
|
|
24
|
+
}
|
|
25
|
+
export declare function OptionsFromJSON(json: any): Options;
|
|
26
|
+
export declare function OptionsFromJSONTyped(json: any, ignoreDiscriminator: boolean): Options;
|
|
27
|
+
export declare function OptionsToJSON(value?: Options | 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 OptionsFromJSON(json) {
|
|
18
|
+
return OptionsFromJSONTyped(json, false);
|
|
19
|
+
}
|
|
20
|
+
exports.OptionsFromJSON = OptionsFromJSON;
|
|
21
|
+
function OptionsFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'cas': !runtime_1.exists(json, 'cas') ? undefined : json['cas'],
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
exports.OptionsFromJSONTyped = OptionsFromJSONTyped;
|
|
30
|
+
function OptionsToJSON(value) {
|
|
31
|
+
if (value === undefined) {
|
|
32
|
+
return undefined;
|
|
33
|
+
}
|
|
34
|
+
if (value === null) {
|
|
35
|
+
return null;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'cas': value.cas,
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
exports.OptionsToJSON = OptionsToJSON;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tapis Security API
|
|
3
|
+
* The Tapis Security API provides access to the Tapis Security Kernel authorization and secrets facilities.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1
|
|
6
|
+
* Contact: cicsupport@tacc.utexas.edu
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ReqAddChildRole
|
|
16
|
+
*/
|
|
17
|
+
export interface ReqAddChildRole {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ReqAddChildRole
|
|
22
|
+
*/
|
|
23
|
+
roleTenant?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ReqAddChildRole
|
|
28
|
+
*/
|
|
29
|
+
parentRoleName?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ReqAddChildRole
|
|
34
|
+
*/
|
|
35
|
+
childRoleName?: string;
|
|
36
|
+
}
|
|
37
|
+
export declare function ReqAddChildRoleFromJSON(json: any): ReqAddChildRole;
|
|
38
|
+
export declare function ReqAddChildRoleFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReqAddChildRole;
|
|
39
|
+
export declare function ReqAddChildRoleToJSON(value?: ReqAddChildRole | null): any;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Tapis Security API
|
|
6
|
+
* The Tapis Security API provides access to the Tapis Security Kernel authorization and secrets facilities.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1
|
|
9
|
+
* Contact: cicsupport@tacc.utexas.edu
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
var runtime_1 = require("../runtime");
|
|
17
|
+
function ReqAddChildRoleFromJSON(json) {
|
|
18
|
+
return ReqAddChildRoleFromJSONTyped(json, false);
|
|
19
|
+
}
|
|
20
|
+
exports.ReqAddChildRoleFromJSON = ReqAddChildRoleFromJSON;
|
|
21
|
+
function ReqAddChildRoleFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'roleTenant': !runtime_1.exists(json, 'roleTenant') ? undefined : json['roleTenant'],
|
|
27
|
+
'parentRoleName': !runtime_1.exists(json, 'parentRoleName') ? undefined : json['parentRoleName'],
|
|
28
|
+
'childRoleName': !runtime_1.exists(json, 'childRoleName') ? undefined : json['childRoleName'],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
exports.ReqAddChildRoleFromJSONTyped = ReqAddChildRoleFromJSONTyped;
|
|
32
|
+
function ReqAddChildRoleToJSON(value) {
|
|
33
|
+
if (value === undefined) {
|
|
34
|
+
return undefined;
|
|
35
|
+
}
|
|
36
|
+
if (value === null) {
|
|
37
|
+
return null;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'roleTenant': value.roleTenant,
|
|
41
|
+
'parentRoleName': value.parentRoleName,
|
|
42
|
+
'childRoleName': value.childRoleName,
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
exports.ReqAddChildRoleToJSON = ReqAddChildRoleToJSON;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tapis Security API
|
|
3
|
+
* The Tapis Security API provides access to the Tapis Security Kernel authorization and secrets facilities.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1
|
|
6
|
+
* Contact: cicsupport@tacc.utexas.edu
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ReqAddRolePermission
|
|
16
|
+
*/
|
|
17
|
+
export interface ReqAddRolePermission {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ReqAddRolePermission
|
|
22
|
+
*/
|
|
23
|
+
roleTenant?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ReqAddRolePermission
|
|
28
|
+
*/
|
|
29
|
+
roleName?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ReqAddRolePermission
|
|
34
|
+
*/
|
|
35
|
+
permSpec?: string;
|
|
36
|
+
}
|
|
37
|
+
export declare function ReqAddRolePermissionFromJSON(json: any): ReqAddRolePermission;
|
|
38
|
+
export declare function ReqAddRolePermissionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReqAddRolePermission;
|
|
39
|
+
export declare function ReqAddRolePermissionToJSON(value?: ReqAddRolePermission | null): any;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Tapis Security API
|
|
6
|
+
* The Tapis Security API provides access to the Tapis Security Kernel authorization and secrets facilities.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1
|
|
9
|
+
* Contact: cicsupport@tacc.utexas.edu
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
var runtime_1 = require("../runtime");
|
|
17
|
+
function ReqAddRolePermissionFromJSON(json) {
|
|
18
|
+
return ReqAddRolePermissionFromJSONTyped(json, false);
|
|
19
|
+
}
|
|
20
|
+
exports.ReqAddRolePermissionFromJSON = ReqAddRolePermissionFromJSON;
|
|
21
|
+
function ReqAddRolePermissionFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'roleTenant': !runtime_1.exists(json, 'roleTenant') ? undefined : json['roleTenant'],
|
|
27
|
+
'roleName': !runtime_1.exists(json, 'roleName') ? undefined : json['roleName'],
|
|
28
|
+
'permSpec': !runtime_1.exists(json, 'permSpec') ? undefined : json['permSpec'],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
exports.ReqAddRolePermissionFromJSONTyped = ReqAddRolePermissionFromJSONTyped;
|
|
32
|
+
function ReqAddRolePermissionToJSON(value) {
|
|
33
|
+
if (value === undefined) {
|
|
34
|
+
return undefined;
|
|
35
|
+
}
|
|
36
|
+
if (value === null) {
|
|
37
|
+
return null;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'roleTenant': value.roleTenant,
|
|
41
|
+
'roleName': value.roleName,
|
|
42
|
+
'permSpec': value.permSpec,
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
exports.ReqAddRolePermissionToJSON = ReqAddRolePermissionToJSON;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tapis Security API
|
|
3
|
+
* The Tapis Security API provides access to the Tapis Security Kernel authorization and secrets facilities.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1
|
|
6
|
+
* Contact: cicsupport@tacc.utexas.edu
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ReqCreateRole
|
|
16
|
+
*/
|
|
17
|
+
export interface ReqCreateRole {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ReqCreateRole
|
|
22
|
+
*/
|
|
23
|
+
roleTenant?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ReqCreateRole
|
|
28
|
+
*/
|
|
29
|
+
roleName?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ReqCreateRole
|
|
34
|
+
*/
|
|
35
|
+
description?: string;
|
|
36
|
+
}
|
|
37
|
+
export declare function ReqCreateRoleFromJSON(json: any): ReqCreateRole;
|
|
38
|
+
export declare function ReqCreateRoleFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReqCreateRole;
|
|
39
|
+
export declare function ReqCreateRoleToJSON(value?: ReqCreateRole | null): any;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Tapis Security API
|
|
6
|
+
* The Tapis Security API provides access to the Tapis Security Kernel authorization and secrets facilities.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1
|
|
9
|
+
* Contact: cicsupport@tacc.utexas.edu
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
var runtime_1 = require("../runtime");
|
|
17
|
+
function ReqCreateRoleFromJSON(json) {
|
|
18
|
+
return ReqCreateRoleFromJSONTyped(json, false);
|
|
19
|
+
}
|
|
20
|
+
exports.ReqCreateRoleFromJSON = ReqCreateRoleFromJSON;
|
|
21
|
+
function ReqCreateRoleFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'roleTenant': !runtime_1.exists(json, 'roleTenant') ? undefined : json['roleTenant'],
|
|
27
|
+
'roleName': !runtime_1.exists(json, 'roleName') ? undefined : json['roleName'],
|
|
28
|
+
'description': !runtime_1.exists(json, 'description') ? undefined : json['description'],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
exports.ReqCreateRoleFromJSONTyped = ReqCreateRoleFromJSONTyped;
|
|
32
|
+
function ReqCreateRoleToJSON(value) {
|
|
33
|
+
if (value === undefined) {
|
|
34
|
+
return undefined;
|
|
35
|
+
}
|
|
36
|
+
if (value === null) {
|
|
37
|
+
return null;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'roleTenant': value.roleTenant,
|
|
41
|
+
'roleName': value.roleName,
|
|
42
|
+
'description': value.description,
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
exports.ReqCreateRoleToJSON = ReqCreateRoleToJSON;
|
|
@@ -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 ReqGrantAdminRole
|
|
16
|
+
*/
|
|
17
|
+
export interface ReqGrantAdminRole {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ReqGrantAdminRole
|
|
22
|
+
*/
|
|
23
|
+
tenant?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ReqGrantAdminRole
|
|
28
|
+
*/
|
|
29
|
+
user?: string;
|
|
30
|
+
}
|
|
31
|
+
export declare function ReqGrantAdminRoleFromJSON(json: any): ReqGrantAdminRole;
|
|
32
|
+
export declare function ReqGrantAdminRoleFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReqGrantAdminRole;
|
|
33
|
+
export declare function ReqGrantAdminRoleToJSON(value?: ReqGrantAdminRole | 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 ReqGrantAdminRoleFromJSON(json) {
|
|
18
|
+
return ReqGrantAdminRoleFromJSONTyped(json, false);
|
|
19
|
+
}
|
|
20
|
+
exports.ReqGrantAdminRoleFromJSON = ReqGrantAdminRoleFromJSON;
|
|
21
|
+
function ReqGrantAdminRoleFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'tenant': !runtime_1.exists(json, 'tenant') ? undefined : json['tenant'],
|
|
27
|
+
'user': !runtime_1.exists(json, 'user') ? undefined : json['user'],
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
exports.ReqGrantAdminRoleFromJSONTyped = ReqGrantAdminRoleFromJSONTyped;
|
|
31
|
+
function ReqGrantAdminRoleToJSON(value) {
|
|
32
|
+
if (value === undefined) {
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
if (value === null) {
|
|
36
|
+
return null;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'tenant': value.tenant,
|
|
40
|
+
'user': value.user,
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
exports.ReqGrantAdminRoleToJSON = ReqGrantAdminRoleToJSON;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tapis Security API
|
|
3
|
+
* The Tapis Security API provides access to the Tapis Security Kernel authorization and secrets facilities.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1
|
|
6
|
+
* Contact: cicsupport@tacc.utexas.edu
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ReqGrantUserPermission
|
|
16
|
+
*/
|
|
17
|
+
export interface ReqGrantUserPermission {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ReqGrantUserPermission
|
|
22
|
+
*/
|
|
23
|
+
tenant?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ReqGrantUserPermission
|
|
28
|
+
*/
|
|
29
|
+
user?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ReqGrantUserPermission
|
|
34
|
+
*/
|
|
35
|
+
permSpec?: string;
|
|
36
|
+
}
|
|
37
|
+
export declare function ReqGrantUserPermissionFromJSON(json: any): ReqGrantUserPermission;
|
|
38
|
+
export declare function ReqGrantUserPermissionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReqGrantUserPermission;
|
|
39
|
+
export declare function ReqGrantUserPermissionToJSON(value?: ReqGrantUserPermission | null): any;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Tapis Security API
|
|
6
|
+
* The Tapis Security API provides access to the Tapis Security Kernel authorization and secrets facilities.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1
|
|
9
|
+
* Contact: cicsupport@tacc.utexas.edu
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
var runtime_1 = require("../runtime");
|
|
17
|
+
function ReqGrantUserPermissionFromJSON(json) {
|
|
18
|
+
return ReqGrantUserPermissionFromJSONTyped(json, false);
|
|
19
|
+
}
|
|
20
|
+
exports.ReqGrantUserPermissionFromJSON = ReqGrantUserPermissionFromJSON;
|
|
21
|
+
function ReqGrantUserPermissionFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'tenant': !runtime_1.exists(json, 'tenant') ? undefined : json['tenant'],
|
|
27
|
+
'user': !runtime_1.exists(json, 'user') ? undefined : json['user'],
|
|
28
|
+
'permSpec': !runtime_1.exists(json, 'permSpec') ? undefined : json['permSpec'],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
exports.ReqGrantUserPermissionFromJSONTyped = ReqGrantUserPermissionFromJSONTyped;
|
|
32
|
+
function ReqGrantUserPermissionToJSON(value) {
|
|
33
|
+
if (value === undefined) {
|
|
34
|
+
return undefined;
|
|
35
|
+
}
|
|
36
|
+
if (value === null) {
|
|
37
|
+
return null;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'tenant': value.tenant,
|
|
41
|
+
'user': value.user,
|
|
42
|
+
'permSpec': value.permSpec,
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
exports.ReqGrantUserPermissionToJSON = ReqGrantUserPermissionToJSON;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tapis Security API
|
|
3
|
+
* The Tapis Security API provides access to the Tapis Security Kernel authorization and secrets facilities.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1
|
|
6
|
+
* Contact: cicsupport@tacc.utexas.edu
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ReqGrantUserRole
|
|
16
|
+
*/
|
|
17
|
+
export interface ReqGrantUserRole {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ReqGrantUserRole
|
|
22
|
+
*/
|
|
23
|
+
tenant?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ReqGrantUserRole
|
|
28
|
+
*/
|
|
29
|
+
user?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ReqGrantUserRole
|
|
34
|
+
*/
|
|
35
|
+
roleName?: string;
|
|
36
|
+
}
|
|
37
|
+
export declare function ReqGrantUserRoleFromJSON(json: any): ReqGrantUserRole;
|
|
38
|
+
export declare function ReqGrantUserRoleFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReqGrantUserRole;
|
|
39
|
+
export declare function ReqGrantUserRoleToJSON(value?: ReqGrantUserRole | null): any;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Tapis Security API
|
|
6
|
+
* The Tapis Security API provides access to the Tapis Security Kernel authorization and secrets facilities.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1
|
|
9
|
+
* Contact: cicsupport@tacc.utexas.edu
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
var runtime_1 = require("../runtime");
|
|
17
|
+
function ReqGrantUserRoleFromJSON(json) {
|
|
18
|
+
return ReqGrantUserRoleFromJSONTyped(json, false);
|
|
19
|
+
}
|
|
20
|
+
exports.ReqGrantUserRoleFromJSON = ReqGrantUserRoleFromJSON;
|
|
21
|
+
function ReqGrantUserRoleFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'tenant': !runtime_1.exists(json, 'tenant') ? undefined : json['tenant'],
|
|
27
|
+
'user': !runtime_1.exists(json, 'user') ? undefined : json['user'],
|
|
28
|
+
'roleName': !runtime_1.exists(json, 'roleName') ? undefined : json['roleName'],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
exports.ReqGrantUserRoleFromJSONTyped = ReqGrantUserRoleFromJSONTyped;
|
|
32
|
+
function ReqGrantUserRoleToJSON(value) {
|
|
33
|
+
if (value === undefined) {
|
|
34
|
+
return undefined;
|
|
35
|
+
}
|
|
36
|
+
if (value === null) {
|
|
37
|
+
return null;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'tenant': value.tenant,
|
|
41
|
+
'user': value.user,
|
|
42
|
+
'roleName': value.roleName,
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
exports.ReqGrantUserRoleToJSON = ReqGrantUserRoleToJSON;
|
|
@@ -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 ReqGrantUserRoleWithPermission
|
|
16
|
+
*/
|
|
17
|
+
export interface ReqGrantUserRoleWithPermission {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ReqGrantUserRoleWithPermission
|
|
22
|
+
*/
|
|
23
|
+
tenant?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ReqGrantUserRoleWithPermission
|
|
28
|
+
*/
|
|
29
|
+
user?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ReqGrantUserRoleWithPermission
|
|
34
|
+
*/
|
|
35
|
+
roleName?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ReqGrantUserRoleWithPermission
|
|
40
|
+
*/
|
|
41
|
+
permSpec?: string;
|
|
42
|
+
}
|
|
43
|
+
export declare function ReqGrantUserRoleWithPermissionFromJSON(json: any): ReqGrantUserRoleWithPermission;
|
|
44
|
+
export declare function ReqGrantUserRoleWithPermissionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReqGrantUserRoleWithPermission;
|
|
45
|
+
export declare function ReqGrantUserRoleWithPermissionToJSON(value?: ReqGrantUserRoleWithPermission | null): any;
|