@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.
Files changed (189) hide show
  1. package/.openapi-generator/FILES +67 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +45 -0
  5. package/dist/apis/GeneralApi.d.ts +45 -0
  6. package/dist/apis/GeneralApi.js +199 -0
  7. package/dist/apis/RoleApi.d.ts +205 -0
  8. package/dist/apis/RoleApi.js +861 -0
  9. package/dist/apis/UserApi.d.ts +276 -0
  10. package/dist/apis/UserApi.js +1166 -0
  11. package/dist/apis/VaultApi.d.ts +195 -0
  12. package/dist/apis/VaultApi.js +740 -0
  13. package/dist/apis/index.d.ts +4 -0
  14. package/dist/apis/index.js +11 -0
  15. package/dist/index.d.ts +3 -0
  16. package/dist/index.js +10 -0
  17. package/dist/models/Options.d.ts +27 -0
  18. package/dist/models/Options.js +41 -0
  19. package/dist/models/ReqAddChildRole.d.ts +39 -0
  20. package/dist/models/ReqAddChildRole.js +45 -0
  21. package/dist/models/ReqAddRolePermission.d.ts +39 -0
  22. package/dist/models/ReqAddRolePermission.js +45 -0
  23. package/dist/models/ReqCreateRole.d.ts +39 -0
  24. package/dist/models/ReqCreateRole.js +45 -0
  25. package/dist/models/ReqGrantAdminRole.d.ts +33 -0
  26. package/dist/models/ReqGrantAdminRole.js +43 -0
  27. package/dist/models/ReqGrantUserPermission.d.ts +39 -0
  28. package/dist/models/ReqGrantUserPermission.js +45 -0
  29. package/dist/models/ReqGrantUserRole.d.ts +39 -0
  30. package/dist/models/ReqGrantUserRole.js +45 -0
  31. package/dist/models/ReqGrantUserRoleWithPermission.d.ts +45 -0
  32. package/dist/models/ReqGrantUserRoleWithPermission.js +47 -0
  33. package/dist/models/ReqPreviewPathPrefix.d.ts +63 -0
  34. package/dist/models/ReqPreviewPathPrefix.js +53 -0
  35. package/dist/models/ReqRemoveChildRole.d.ts +39 -0
  36. package/dist/models/ReqRemoveChildRole.js +45 -0
  37. package/dist/models/ReqRemoveRolePermission.d.ts +39 -0
  38. package/dist/models/ReqRemoveRolePermission.js +45 -0
  39. package/dist/models/ReqReplacePathPrefix.d.ts +63 -0
  40. package/dist/models/ReqReplacePathPrefix.js +53 -0
  41. package/dist/models/ReqRevokeAdminRole.d.ts +33 -0
  42. package/dist/models/ReqRevokeAdminRole.js +43 -0
  43. package/dist/models/ReqRevokeUserPermission.d.ts +39 -0
  44. package/dist/models/ReqRevokeUserPermission.js +45 -0
  45. package/dist/models/ReqRevokeUserRole.d.ts +39 -0
  46. package/dist/models/ReqRevokeUserRole.js +45 -0
  47. package/dist/models/ReqUpdateRoleDescription.d.ts +33 -0
  48. package/dist/models/ReqUpdateRoleDescription.js +43 -0
  49. package/dist/models/ReqUpdateRoleName.d.ts +33 -0
  50. package/dist/models/ReqUpdateRoleName.js +43 -0
  51. package/dist/models/ReqUpdateRoleOwner.d.ts +39 -0
  52. package/dist/models/ReqUpdateRoleOwner.js +45 -0
  53. package/dist/models/ReqUserHasRole.d.ts +45 -0
  54. package/dist/models/ReqUserHasRole.js +47 -0
  55. package/dist/models/ReqUserHasRoleMulti.d.ts +45 -0
  56. package/dist/models/ReqUserHasRoleMulti.js +47 -0
  57. package/dist/models/ReqUserIsAdmin.d.ts +33 -0
  58. package/dist/models/ReqUserIsAdmin.js +43 -0
  59. package/dist/models/ReqUserIsPermitted.d.ts +45 -0
  60. package/dist/models/ReqUserIsPermitted.js +47 -0
  61. package/dist/models/ReqUserIsPermittedMulti.d.ts +45 -0
  62. package/dist/models/ReqUserIsPermittedMulti.js +47 -0
  63. package/dist/models/ReqValidateServicePwd.d.ts +39 -0
  64. package/dist/models/ReqValidateServicePwd.js +45 -0
  65. package/dist/models/ReqVersions.d.ts +39 -0
  66. package/dist/models/ReqVersions.js +45 -0
  67. package/dist/models/ReqWriteSecret.d.ts +48 -0
  68. package/dist/models/ReqWriteSecret.js +48 -0
  69. package/dist/models/RespAuthorized.d.ts +46 -0
  70. package/dist/models/RespAuthorized.js +48 -0
  71. package/dist/models/RespBasic.d.ts +45 -0
  72. package/dist/models/RespBasic.js +47 -0
  73. package/dist/models/RespChangeCount.d.ts +46 -0
  74. package/dist/models/RespChangeCount.js +48 -0
  75. package/dist/models/RespName.d.ts +46 -0
  76. package/dist/models/RespName.js +48 -0
  77. package/dist/models/RespNameArray.d.ts +46 -0
  78. package/dist/models/RespNameArray.js +48 -0
  79. package/dist/models/RespPathPrefixes.d.ts +46 -0
  80. package/dist/models/RespPathPrefixes.js +48 -0
  81. package/dist/models/RespProbe.d.ts +46 -0
  82. package/dist/models/RespProbe.js +48 -0
  83. package/dist/models/RespResourceUrl.d.ts +46 -0
  84. package/dist/models/RespResourceUrl.js +48 -0
  85. package/dist/models/RespRole.d.ts +46 -0
  86. package/dist/models/RespRole.js +48 -0
  87. package/dist/models/RespSecret.d.ts +46 -0
  88. package/dist/models/RespSecret.js +48 -0
  89. package/dist/models/RespSecretList.d.ts +46 -0
  90. package/dist/models/RespSecretList.js +48 -0
  91. package/dist/models/RespSecretMeta.d.ts +46 -0
  92. package/dist/models/RespSecretMeta.js +48 -0
  93. package/dist/models/RespSecretVersionMetadata.d.ts +46 -0
  94. package/dist/models/RespSecretVersionMetadata.js +48 -0
  95. package/dist/models/RespVersions.d.ts +45 -0
  96. package/dist/models/RespVersions.js +47 -0
  97. package/dist/models/ResultAuthorized.d.ts +27 -0
  98. package/dist/models/ResultAuthorized.js +41 -0
  99. package/dist/models/ResultChangeCount.d.ts +27 -0
  100. package/dist/models/ResultChangeCount.js +41 -0
  101. package/dist/models/ResultName.d.ts +27 -0
  102. package/dist/models/ResultName.js +41 -0
  103. package/dist/models/ResultNameArray.d.ts +27 -0
  104. package/dist/models/ResultNameArray.js +41 -0
  105. package/dist/models/ResultResourceUrl.d.ts +27 -0
  106. package/dist/models/ResultResourceUrl.js +41 -0
  107. package/dist/models/SkProbe.d.ts +45 -0
  108. package/dist/models/SkProbe.js +47 -0
  109. package/dist/models/SkRole.d.ts +93 -0
  110. package/dist/models/SkRole.js +63 -0
  111. package/dist/models/SkSecret.d.ts +36 -0
  112. package/dist/models/SkSecret.js +44 -0
  113. package/dist/models/SkSecretList.d.ts +33 -0
  114. package/dist/models/SkSecretList.js +43 -0
  115. package/dist/models/SkSecretMetadata.d.ts +45 -0
  116. package/dist/models/SkSecretMetadata.js +47 -0
  117. package/dist/models/SkSecretVersion.d.ts +45 -0
  118. package/dist/models/SkSecretVersion.js +47 -0
  119. package/dist/models/SkSecretVersionMetadata.d.ts +58 -0
  120. package/dist/models/SkSecretVersionMetadata.js +52 -0
  121. package/dist/models/Transformation.d.ts +39 -0
  122. package/dist/models/Transformation.js +45 -0
  123. package/dist/models/index.d.ts +53 -0
  124. package/dist/models/index.js +60 -0
  125. package/dist/runtime.d.ts +140 -0
  126. package/dist/runtime.js +420 -0
  127. package/package.json +15 -0
  128. package/src/apis/GeneralApi.ts +117 -0
  129. package/src/apis/RoleApi.ts +782 -0
  130. package/src/apis/UserApi.ts +1047 -0
  131. package/src/apis/VaultApi.ts +802 -0
  132. package/src/apis/index.ts +6 -0
  133. package/src/index.ts +5 -0
  134. package/src/models/Options.ts +56 -0
  135. package/src/models/ReqAddChildRole.ts +72 -0
  136. package/src/models/ReqAddRolePermission.ts +72 -0
  137. package/src/models/ReqCreateRole.ts +72 -0
  138. package/src/models/ReqGrantAdminRole.ts +64 -0
  139. package/src/models/ReqGrantUserPermission.ts +72 -0
  140. package/src/models/ReqGrantUserRole.ts +72 -0
  141. package/src/models/ReqGrantUserRoleWithPermission.ts +80 -0
  142. package/src/models/ReqPreviewPathPrefix.ts +104 -0
  143. package/src/models/ReqRemoveChildRole.ts +72 -0
  144. package/src/models/ReqRemoveRolePermission.ts +72 -0
  145. package/src/models/ReqReplacePathPrefix.ts +104 -0
  146. package/src/models/ReqRevokeAdminRole.ts +64 -0
  147. package/src/models/ReqRevokeUserPermission.ts +72 -0
  148. package/src/models/ReqRevokeUserRole.ts +72 -0
  149. package/src/models/ReqUpdateRoleDescription.ts +64 -0
  150. package/src/models/ReqUpdateRoleName.ts +64 -0
  151. package/src/models/ReqUpdateRoleOwner.ts +72 -0
  152. package/src/models/ReqUserHasRole.ts +80 -0
  153. package/src/models/ReqUserHasRoleMulti.ts +80 -0
  154. package/src/models/ReqUserIsAdmin.ts +64 -0
  155. package/src/models/ReqUserIsPermitted.ts +80 -0
  156. package/src/models/ReqUserIsPermittedMulti.ts +80 -0
  157. package/src/models/ReqValidateServicePwd.ts +72 -0
  158. package/src/models/ReqVersions.ts +72 -0
  159. package/src/models/ReqWriteSecret.ts +87 -0
  160. package/src/models/RespAuthorized.ts +87 -0
  161. package/src/models/RespBasic.ts +80 -0
  162. package/src/models/RespChangeCount.ts +87 -0
  163. package/src/models/RespName.ts +87 -0
  164. package/src/models/RespNameArray.ts +87 -0
  165. package/src/models/RespPathPrefixes.ts +87 -0
  166. package/src/models/RespProbe.ts +87 -0
  167. package/src/models/RespResourceUrl.ts +87 -0
  168. package/src/models/RespRole.ts +87 -0
  169. package/src/models/RespSecret.ts +87 -0
  170. package/src/models/RespSecretList.ts +87 -0
  171. package/src/models/RespSecretMeta.ts +87 -0
  172. package/src/models/RespSecretVersionMetadata.ts +87 -0
  173. package/src/models/RespVersions.ts +80 -0
  174. package/src/models/ResultAuthorized.ts +56 -0
  175. package/src/models/ResultChangeCount.ts +56 -0
  176. package/src/models/ResultName.ts +56 -0
  177. package/src/models/ResultNameArray.ts +56 -0
  178. package/src/models/ResultResourceUrl.ts +56 -0
  179. package/src/models/SkProbe.ts +80 -0
  180. package/src/models/SkRole.ts +144 -0
  181. package/src/models/SkSecret.ts +71 -0
  182. package/src/models/SkSecretList.ts +64 -0
  183. package/src/models/SkSecretMetadata.ts +80 -0
  184. package/src/models/SkSecretVersion.ts +80 -0
  185. package/src/models/SkSecretVersionMetadata.ts +103 -0
  186. package/src/models/Transformation.ts +72 -0
  187. package/src/models/index.ts +55 -0
  188. package/src/runtime.ts +320 -0
  189. package/tsconfig.json +20 -0
@@ -0,0 +1,4 @@
1
+ export * from './GeneralApi';
2
+ export * from './RoleApi';
3
+ export * from './UserApi';
4
+ export * from './VaultApi';
@@ -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"));
@@ -0,0 +1,3 @@
1
+ export * from './runtime';
2
+ export * from './apis';
3
+ export * from './models';
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;