@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,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 ReqUserIsPermittedMulti
|
|
16
|
+
*/
|
|
17
|
+
export interface ReqUserIsPermittedMulti {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ReqUserIsPermittedMulti
|
|
22
|
+
*/
|
|
23
|
+
tenant?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ReqUserIsPermittedMulti
|
|
28
|
+
*/
|
|
29
|
+
user?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<string>}
|
|
33
|
+
* @memberof ReqUserIsPermittedMulti
|
|
34
|
+
*/
|
|
35
|
+
permSpecs?: Array<string>;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof ReqUserIsPermittedMulti
|
|
40
|
+
*/
|
|
41
|
+
orAdmin?: boolean;
|
|
42
|
+
}
|
|
43
|
+
export declare function ReqUserIsPermittedMultiFromJSON(json: any): ReqUserIsPermittedMulti;
|
|
44
|
+
export declare function ReqUserIsPermittedMultiFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReqUserIsPermittedMulti;
|
|
45
|
+
export declare function ReqUserIsPermittedMultiToJSON(value?: ReqUserIsPermittedMulti | 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 ReqUserIsPermittedMultiFromJSON(json) {
|
|
18
|
+
return ReqUserIsPermittedMultiFromJSONTyped(json, false);
|
|
19
|
+
}
|
|
20
|
+
exports.ReqUserIsPermittedMultiFromJSON = ReqUserIsPermittedMultiFromJSON;
|
|
21
|
+
function ReqUserIsPermittedMultiFromJSONTyped(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
|
+
'permSpecs': !runtime_1.exists(json, 'permSpecs') ? undefined : json['permSpecs'],
|
|
29
|
+
'orAdmin': !runtime_1.exists(json, 'orAdmin') ? undefined : json['orAdmin'],
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
exports.ReqUserIsPermittedMultiFromJSONTyped = ReqUserIsPermittedMultiFromJSONTyped;
|
|
33
|
+
function ReqUserIsPermittedMultiToJSON(value) {
|
|
34
|
+
if (value === undefined) {
|
|
35
|
+
return undefined;
|
|
36
|
+
}
|
|
37
|
+
if (value === null) {
|
|
38
|
+
return null;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'tenant': value.tenant,
|
|
42
|
+
'user': value.user,
|
|
43
|
+
'permSpecs': value.permSpecs,
|
|
44
|
+
'orAdmin': value.orAdmin,
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
exports.ReqUserIsPermittedMultiToJSON = ReqUserIsPermittedMultiToJSON;
|
|
@@ -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 ReqValidateServicePwd
|
|
16
|
+
*/
|
|
17
|
+
export interface ReqValidateServicePwd {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ReqValidateServicePwd
|
|
22
|
+
*/
|
|
23
|
+
tenant?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ReqValidateServicePwd
|
|
28
|
+
*/
|
|
29
|
+
user?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ReqValidateServicePwd
|
|
34
|
+
*/
|
|
35
|
+
password?: string;
|
|
36
|
+
}
|
|
37
|
+
export declare function ReqValidateServicePwdFromJSON(json: any): ReqValidateServicePwd;
|
|
38
|
+
export declare function ReqValidateServicePwdFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReqValidateServicePwd;
|
|
39
|
+
export declare function ReqValidateServicePwdToJSON(value?: ReqValidateServicePwd | null): any;
|
|
@@ -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 ReqValidateServicePwdFromJSON(json) {
|
|
18
|
+
return ReqValidateServicePwdFromJSONTyped(json, false);
|
|
19
|
+
}
|
|
20
|
+
exports.ReqValidateServicePwdFromJSON = ReqValidateServicePwdFromJSON;
|
|
21
|
+
function ReqValidateServicePwdFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'tenant': !runtime_1.exists(json, 'tenant') ? undefined : json['tenant'],
|
|
27
|
+
'user': !runtime_1.exists(json, 'user') ? undefined : json['user'],
|
|
28
|
+
'password': !runtime_1.exists(json, 'password') ? undefined : json['password'],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
exports.ReqValidateServicePwdFromJSONTyped = ReqValidateServicePwdFromJSONTyped;
|
|
32
|
+
function ReqValidateServicePwdToJSON(value) {
|
|
33
|
+
if (value === undefined) {
|
|
34
|
+
return undefined;
|
|
35
|
+
}
|
|
36
|
+
if (value === null) {
|
|
37
|
+
return null;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'tenant': value.tenant,
|
|
41
|
+
'user': value.user,
|
|
42
|
+
'password': value.password,
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
exports.ReqValidateServicePwdToJSON = ReqValidateServicePwdToJSON;
|
|
@@ -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 ReqVersions
|
|
16
|
+
*/
|
|
17
|
+
export interface ReqVersions {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ReqVersions
|
|
22
|
+
*/
|
|
23
|
+
tenant?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ReqVersions
|
|
28
|
+
*/
|
|
29
|
+
user?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<number>}
|
|
33
|
+
* @memberof ReqVersions
|
|
34
|
+
*/
|
|
35
|
+
versions?: Array<number>;
|
|
36
|
+
}
|
|
37
|
+
export declare function ReqVersionsFromJSON(json: any): ReqVersions;
|
|
38
|
+
export declare function ReqVersionsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReqVersions;
|
|
39
|
+
export declare function ReqVersionsToJSON(value?: ReqVersions | 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 ReqVersionsFromJSON(json) {
|
|
18
|
+
return ReqVersionsFromJSONTyped(json, false);
|
|
19
|
+
}
|
|
20
|
+
exports.ReqVersionsFromJSON = ReqVersionsFromJSON;
|
|
21
|
+
function ReqVersionsFromJSONTyped(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
|
+
'versions': !runtime_1.exists(json, 'versions') ? undefined : json['versions'],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
exports.ReqVersionsFromJSONTyped = ReqVersionsFromJSONTyped;
|
|
32
|
+
function ReqVersionsToJSON(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
|
+
'versions': value.versions,
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
exports.ReqVersionsToJSON = ReqVersionsToJSON;
|
|
@@ -0,0 +1,48 @@
|
|
|
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 { Options } from './';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ReqWriteSecret
|
|
17
|
+
*/
|
|
18
|
+
export interface ReqWriteSecret {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof ReqWriteSecret
|
|
23
|
+
*/
|
|
24
|
+
tenant?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ReqWriteSecret
|
|
29
|
+
*/
|
|
30
|
+
user?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {Options}
|
|
34
|
+
* @memberof ReqWriteSecret
|
|
35
|
+
*/
|
|
36
|
+
options?: Options;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {{ [key: string]: string; }}
|
|
40
|
+
* @memberof ReqWriteSecret
|
|
41
|
+
*/
|
|
42
|
+
data?: {
|
|
43
|
+
[key: string]: string;
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
export declare function ReqWriteSecretFromJSON(json: any): ReqWriteSecret;
|
|
47
|
+
export declare function ReqWriteSecretFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReqWriteSecret;
|
|
48
|
+
export declare function ReqWriteSecretToJSON(value?: ReqWriteSecret | null): any;
|
|
@@ -0,0 +1,48 @@
|
|
|
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 ReqWriteSecretFromJSON(json) {
|
|
19
|
+
return ReqWriteSecretFromJSONTyped(json, false);
|
|
20
|
+
}
|
|
21
|
+
exports.ReqWriteSecretFromJSON = ReqWriteSecretFromJSON;
|
|
22
|
+
function ReqWriteSecretFromJSONTyped(json, ignoreDiscriminator) {
|
|
23
|
+
if ((json === undefined) || (json === null)) {
|
|
24
|
+
return json;
|
|
25
|
+
}
|
|
26
|
+
return {
|
|
27
|
+
'tenant': !runtime_1.exists(json, 'tenant') ? undefined : json['tenant'],
|
|
28
|
+
'user': !runtime_1.exists(json, 'user') ? undefined : json['user'],
|
|
29
|
+
'options': !runtime_1.exists(json, 'options') ? undefined : _1.OptionsFromJSON(json['options']),
|
|
30
|
+
'data': !runtime_1.exists(json, 'data') ? undefined : json['data'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
exports.ReqWriteSecretFromJSONTyped = ReqWriteSecretFromJSONTyped;
|
|
34
|
+
function ReqWriteSecretToJSON(value) {
|
|
35
|
+
if (value === undefined) {
|
|
36
|
+
return undefined;
|
|
37
|
+
}
|
|
38
|
+
if (value === null) {
|
|
39
|
+
return null;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'tenant': value.tenant,
|
|
43
|
+
'user': value.user,
|
|
44
|
+
'options': _1.OptionsToJSON(value.options),
|
|
45
|
+
'data': value.data,
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
exports.ReqWriteSecretToJSON = ReqWriteSecretToJSON;
|
|
@@ -0,0 +1,46 @@
|
|
|
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 { ResultAuthorized } from './';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface RespAuthorized
|
|
17
|
+
*/
|
|
18
|
+
export interface RespAuthorized {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof RespAuthorized
|
|
23
|
+
*/
|
|
24
|
+
status?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof RespAuthorized
|
|
29
|
+
*/
|
|
30
|
+
message?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof RespAuthorized
|
|
35
|
+
*/
|
|
36
|
+
version?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {ResultAuthorized}
|
|
40
|
+
* @memberof RespAuthorized
|
|
41
|
+
*/
|
|
42
|
+
result?: ResultAuthorized;
|
|
43
|
+
}
|
|
44
|
+
export declare function RespAuthorizedFromJSON(json: any): RespAuthorized;
|
|
45
|
+
export declare function RespAuthorizedFromJSONTyped(json: any, ignoreDiscriminator: boolean): RespAuthorized;
|
|
46
|
+
export declare function RespAuthorizedToJSON(value?: RespAuthorized | null): any;
|
|
@@ -0,0 +1,48 @@
|
|
|
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 RespAuthorizedFromJSON(json) {
|
|
19
|
+
return RespAuthorizedFromJSONTyped(json, false);
|
|
20
|
+
}
|
|
21
|
+
exports.RespAuthorizedFromJSON = RespAuthorizedFromJSON;
|
|
22
|
+
function RespAuthorizedFromJSONTyped(json, ignoreDiscriminator) {
|
|
23
|
+
if ((json === undefined) || (json === null)) {
|
|
24
|
+
return json;
|
|
25
|
+
}
|
|
26
|
+
return {
|
|
27
|
+
'status': !runtime_1.exists(json, 'status') ? undefined : json['status'],
|
|
28
|
+
'message': !runtime_1.exists(json, 'message') ? undefined : json['message'],
|
|
29
|
+
'version': !runtime_1.exists(json, 'version') ? undefined : json['version'],
|
|
30
|
+
'result': !runtime_1.exists(json, 'result') ? undefined : _1.ResultAuthorizedFromJSON(json['result']),
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
exports.RespAuthorizedFromJSONTyped = RespAuthorizedFromJSONTyped;
|
|
34
|
+
function RespAuthorizedToJSON(value) {
|
|
35
|
+
if (value === undefined) {
|
|
36
|
+
return undefined;
|
|
37
|
+
}
|
|
38
|
+
if (value === null) {
|
|
39
|
+
return null;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'status': value.status,
|
|
43
|
+
'message': value.message,
|
|
44
|
+
'version': value.version,
|
|
45
|
+
'result': _1.ResultAuthorizedToJSON(value.result),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
exports.RespAuthorizedToJSON = RespAuthorizedToJSON;
|
|
@@ -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 RespBasic
|
|
16
|
+
*/
|
|
17
|
+
export interface RespBasic {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RespBasic
|
|
22
|
+
*/
|
|
23
|
+
status?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof RespBasic
|
|
28
|
+
*/
|
|
29
|
+
message?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof RespBasic
|
|
34
|
+
*/
|
|
35
|
+
version?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {object}
|
|
39
|
+
* @memberof RespBasic
|
|
40
|
+
*/
|
|
41
|
+
result?: object;
|
|
42
|
+
}
|
|
43
|
+
export declare function RespBasicFromJSON(json: any): RespBasic;
|
|
44
|
+
export declare function RespBasicFromJSONTyped(json: any, ignoreDiscriminator: boolean): RespBasic;
|
|
45
|
+
export declare function RespBasicToJSON(value?: RespBasic | 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 RespBasicFromJSON(json) {
|
|
18
|
+
return RespBasicFromJSONTyped(json, false);
|
|
19
|
+
}
|
|
20
|
+
exports.RespBasicFromJSON = RespBasicFromJSON;
|
|
21
|
+
function RespBasicFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'status': !runtime_1.exists(json, 'status') ? undefined : json['status'],
|
|
27
|
+
'message': !runtime_1.exists(json, 'message') ? undefined : json['message'],
|
|
28
|
+
'version': !runtime_1.exists(json, 'version') ? undefined : json['version'],
|
|
29
|
+
'result': !runtime_1.exists(json, 'result') ? undefined : json['result'],
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
exports.RespBasicFromJSONTyped = RespBasicFromJSONTyped;
|
|
33
|
+
function RespBasicToJSON(value) {
|
|
34
|
+
if (value === undefined) {
|
|
35
|
+
return undefined;
|
|
36
|
+
}
|
|
37
|
+
if (value === null) {
|
|
38
|
+
return null;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'status': value.status,
|
|
42
|
+
'message': value.message,
|
|
43
|
+
'version': value.version,
|
|
44
|
+
'result': value.result,
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
exports.RespBasicToJSON = RespBasicToJSON;
|
|
@@ -0,0 +1,46 @@
|
|
|
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 { ResultChangeCount } from './';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface RespChangeCount
|
|
17
|
+
*/
|
|
18
|
+
export interface RespChangeCount {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof RespChangeCount
|
|
23
|
+
*/
|
|
24
|
+
status?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof RespChangeCount
|
|
29
|
+
*/
|
|
30
|
+
message?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof RespChangeCount
|
|
35
|
+
*/
|
|
36
|
+
version?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {ResultChangeCount}
|
|
40
|
+
* @memberof RespChangeCount
|
|
41
|
+
*/
|
|
42
|
+
result?: ResultChangeCount;
|
|
43
|
+
}
|
|
44
|
+
export declare function RespChangeCountFromJSON(json: any): RespChangeCount;
|
|
45
|
+
export declare function RespChangeCountFromJSONTyped(json: any, ignoreDiscriminator: boolean): RespChangeCount;
|
|
46
|
+
export declare function RespChangeCountToJSON(value?: RespChangeCount | null): any;
|
|
@@ -0,0 +1,48 @@
|
|
|
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 RespChangeCountFromJSON(json) {
|
|
19
|
+
return RespChangeCountFromJSONTyped(json, false);
|
|
20
|
+
}
|
|
21
|
+
exports.RespChangeCountFromJSON = RespChangeCountFromJSON;
|
|
22
|
+
function RespChangeCountFromJSONTyped(json, ignoreDiscriminator) {
|
|
23
|
+
if ((json === undefined) || (json === null)) {
|
|
24
|
+
return json;
|
|
25
|
+
}
|
|
26
|
+
return {
|
|
27
|
+
'status': !runtime_1.exists(json, 'status') ? undefined : json['status'],
|
|
28
|
+
'message': !runtime_1.exists(json, 'message') ? undefined : json['message'],
|
|
29
|
+
'version': !runtime_1.exists(json, 'version') ? undefined : json['version'],
|
|
30
|
+
'result': !runtime_1.exists(json, 'result') ? undefined : _1.ResultChangeCountFromJSON(json['result']),
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
exports.RespChangeCountFromJSONTyped = RespChangeCountFromJSONTyped;
|
|
34
|
+
function RespChangeCountToJSON(value) {
|
|
35
|
+
if (value === undefined) {
|
|
36
|
+
return undefined;
|
|
37
|
+
}
|
|
38
|
+
if (value === null) {
|
|
39
|
+
return null;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'status': value.status,
|
|
43
|
+
'message': value.message,
|
|
44
|
+
'version': value.version,
|
|
45
|
+
'result': _1.ResultChangeCountToJSON(value.result),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
exports.RespChangeCountToJSON = RespChangeCountToJSON;
|