@tapis/tapis-typescript-systems 0.0.1 → 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 +10 -1
- package/.openapi-generator/VERSION +1 -1
- package/README.md +2 -2
- package/dist/apis/CredentialsApi.d.ts +23 -22
- package/dist/apis/CredentialsApi.js +32 -29
- package/dist/apis/GeneralApi.d.ts +6 -6
- package/dist/apis/GeneralApi.js +10 -10
- package/dist/apis/PermissionsApi.d.ts +10 -10
- package/dist/apis/PermissionsApi.js +18 -18
- package/dist/apis/SchedulerProfilesApi.d.ts +67 -0
- package/dist/apis/SchedulerProfilesApi.js +268 -0
- package/dist/apis/SystemsApi.d.ts +80 -48
- package/dist/apis/SystemsApi.js +194 -82
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +3 -0
- package/dist/index.js +2 -0
- package/dist/models/AuthnEnum.d.ts +2 -2
- package/dist/models/AuthnEnum.js +2 -2
- package/dist/models/Capability.d.ts +5 -5
- package/dist/models/Capability.js +5 -5
- package/dist/models/CategoryEnum.d.ts +2 -2
- package/dist/models/CategoryEnum.js +2 -2
- package/dist/models/Credential.d.ts +9 -2
- package/dist/models/Credential.js +5 -2
- package/dist/models/DatatypeEnum.d.ts +2 -2
- package/dist/models/DatatypeEnum.js +2 -2
- package/dist/models/JobRuntime.d.ts +3 -3
- package/dist/models/JobRuntime.js +3 -3
- package/dist/models/KeyValuePair.d.ts +3 -3
- package/dist/models/KeyValuePair.js +3 -3
- package/dist/models/LogicalQueue.d.ts +28 -4
- package/dist/models/LogicalQueue.js +12 -4
- package/dist/models/ReqCreateCredential.d.ts +57 -0
- package/dist/models/ReqCreateCredential.js +51 -0
- package/dist/models/ReqCreateSchedulerProfile.d.ts +58 -0
- package/dist/models/ReqCreateSchedulerProfile.js +52 -0
- package/dist/models/ReqCreateSystem.d.ts +28 -16
- package/dist/models/ReqCreateSystem.js +15 -11
- package/dist/models/ReqMatchConstraints.d.ts +3 -3
- package/dist/models/ReqMatchConstraints.js +3 -4
- package/dist/models/{ReqUpdateSystem.d.ts → ReqPatchSystem.d.ts} +47 -35
- package/dist/models/{ReqUpdateSystem.js → ReqPatchSystem.js} +15 -11
- package/dist/models/ReqPerms.d.ts +3 -3
- package/dist/models/ReqPerms.js +3 -4
- package/dist/models/ReqPutSystem.d.ts +178 -0
- package/dist/models/ReqPutSystem.js +92 -0
- package/dist/models/ReqSearchSystems.d.ts +3 -3
- package/dist/models/ReqSearchSystems.js +3 -4
- package/dist/models/RespBasic.d.ts +2 -2
- package/dist/models/RespBasic.js +2 -2
- package/dist/models/RespBoolean.d.ts +5 -4
- package/dist/models/RespBoolean.js +5 -4
- package/dist/models/RespChangeCount.d.ts +2 -2
- package/dist/models/RespChangeCount.js +2 -2
- package/dist/models/RespCredential.d.ts +2 -2
- package/dist/models/RespCredential.js +2 -2
- package/dist/models/RespNameArray.d.ts +2 -2
- package/dist/models/RespNameArray.js +2 -2
- package/dist/models/RespResourceUrl.d.ts +2 -2
- package/dist/models/RespResourceUrl.js +2 -2
- package/dist/models/RespSchedulerProfile.d.ts +52 -0
- package/dist/models/RespSchedulerProfile.js +50 -0
- package/dist/models/RespSchedulerProfiles.d.ts +52 -0
- package/dist/models/RespSchedulerProfiles.js +50 -0
- package/dist/models/RespSystem.d.ts +2 -2
- package/dist/models/RespSystem.js +2 -2
- package/dist/models/RespSystems.d.ts +2 -2
- package/dist/models/RespSystems.js +2 -2
- package/dist/models/RespSystemsMetadata.d.ts +2 -2
- package/dist/models/RespSystemsMetadata.js +2 -2
- package/dist/models/ResultBoolean.d.ts +27 -0
- package/dist/models/ResultBoolean.js +41 -0
- package/dist/models/ResultChangeCount.d.ts +2 -2
- package/dist/models/ResultChangeCount.js +2 -2
- package/dist/models/ResultNameArray.d.ts +2 -2
- package/dist/models/ResultNameArray.js +2 -2
- package/dist/models/ResultResourceUrl.d.ts +2 -2
- package/dist/models/ResultResourceUrl.js +2 -2
- package/dist/models/RuntimeTypeEnum.d.ts +2 -2
- package/dist/models/RuntimeTypeEnum.js +2 -2
- package/dist/models/SchedulerHiddenOptionEnum.d.ts +22 -0
- package/dist/models/SchedulerHiddenOptionEnum.js +36 -0
- package/dist/models/SchedulerProfile.d.ts +64 -0
- package/dist/models/SchedulerProfile.js +54 -0
- package/dist/models/SchedulerTypeEnum.d.ts +2 -2
- package/dist/models/SchedulerTypeEnum.js +2 -2
- package/dist/models/SystemTypeEnum.d.ts +5 -3
- package/dist/models/SystemTypeEnum.js +4 -2
- package/dist/models/TapisSystem.d.ts +22 -10
- package/dist/models/TapisSystem.js +10 -6
- package/dist/models/index.d.ts +9 -1
- package/dist/models/index.js +11 -1
- package/dist/runtime.d.ts +6 -6
- package/dist/runtime.js +14 -16
- package/package.json +1 -1
- package/src/apis/CredentialsApi.ts +38 -33
- package/src/apis/GeneralApi.ts +10 -10
- package/src/apis/PermissionsApi.ts +26 -26
- package/src/apis/SchedulerProfilesApi.ts +198 -0
- package/src/apis/SystemsApi.ts +209 -103
- package/src/apis/index.ts +3 -0
- package/src/index.ts +2 -0
- package/src/models/AuthnEnum.ts +2 -2
- package/src/models/Capability.ts +8 -9
- package/src/models/CategoryEnum.ts +2 -2
- package/src/models/Credential.ts +17 -3
- package/src/models/DatatypeEnum.ts +2 -2
- package/src/models/JobRuntime.ts +4 -5
- package/src/models/KeyValuePair.ts +4 -5
- package/src/models/LogicalQueue.ts +38 -7
- package/src/models/ReqCreateCredential.ts +96 -0
- package/src/models/ReqCreateSchedulerProfile.ts +103 -0
- package/src/models/ReqCreateSystem.ts +44 -29
- package/src/models/ReqMatchConstraints.ts +4 -5
- package/src/models/{ReqUpdateSystem.ts → ReqPatchSystem.ts} +54 -39
- package/src/models/ReqPerms.ts +4 -5
- package/src/models/ReqPutSystem.ts +287 -0
- package/src/models/ReqSearchSystems.ts +4 -5
- package/src/models/RespBasic.ts +2 -3
- package/src/models/RespBoolean.ts +13 -7
- package/src/models/RespChangeCount.ts +2 -3
- package/src/models/RespCredential.ts +2 -3
- package/src/models/RespNameArray.ts +2 -3
- package/src/models/RespResourceUrl.ts +2 -3
- package/src/models/RespSchedulerProfile.ts +95 -0
- package/src/models/RespSchedulerProfiles.ts +95 -0
- package/src/models/RespSystem.ts +2 -3
- package/src/models/RespSystems.ts +2 -3
- package/src/models/RespSystemsMetadata.ts +2 -3
- package/src/models/ResultBoolean.ts +56 -0
- package/src/models/ResultChangeCount.ts +2 -3
- package/src/models/ResultNameArray.ts +2 -3
- package/src/models/ResultResourceUrl.ts +2 -3
- package/src/models/RuntimeTypeEnum.ts +2 -2
- package/src/models/SchedulerHiddenOptionEnum.ts +35 -0
- package/src/models/SchedulerProfile.ts +111 -0
- package/src/models/SchedulerTypeEnum.ts +2 -2
- package/src/models/SystemTypeEnum.ts +5 -3
- package/src/models/TapisSystem.ts +30 -15
- package/src/models/index.ts +11 -1
- package/src/runtime.ts +15 -14
package/.openapi-generator/FILES
CHANGED
|
@@ -6,6 +6,7 @@ package.json
|
|
|
6
6
|
src/apis/CredentialsApi.ts
|
|
7
7
|
src/apis/GeneralApi.ts
|
|
8
8
|
src/apis/PermissionsApi.ts
|
|
9
|
+
src/apis/SchedulerProfilesApi.ts
|
|
9
10
|
src/apis/SystemsApi.ts
|
|
10
11
|
src/apis/index.ts
|
|
11
12
|
src/index.ts
|
|
@@ -17,24 +18,32 @@ src/models/DatatypeEnum.ts
|
|
|
17
18
|
src/models/JobRuntime.ts
|
|
18
19
|
src/models/KeyValuePair.ts
|
|
19
20
|
src/models/LogicalQueue.ts
|
|
21
|
+
src/models/ReqCreateCredential.ts
|
|
22
|
+
src/models/ReqCreateSchedulerProfile.ts
|
|
20
23
|
src/models/ReqCreateSystem.ts
|
|
21
24
|
src/models/ReqMatchConstraints.ts
|
|
25
|
+
src/models/ReqPatchSystem.ts
|
|
22
26
|
src/models/ReqPerms.ts
|
|
27
|
+
src/models/ReqPutSystem.ts
|
|
23
28
|
src/models/ReqSearchSystems.ts
|
|
24
|
-
src/models/ReqUpdateSystem.ts
|
|
25
29
|
src/models/RespBasic.ts
|
|
26
30
|
src/models/RespBoolean.ts
|
|
27
31
|
src/models/RespChangeCount.ts
|
|
28
32
|
src/models/RespCredential.ts
|
|
29
33
|
src/models/RespNameArray.ts
|
|
30
34
|
src/models/RespResourceUrl.ts
|
|
35
|
+
src/models/RespSchedulerProfile.ts
|
|
36
|
+
src/models/RespSchedulerProfiles.ts
|
|
31
37
|
src/models/RespSystem.ts
|
|
32
38
|
src/models/RespSystems.ts
|
|
33
39
|
src/models/RespSystemsMetadata.ts
|
|
40
|
+
src/models/ResultBoolean.ts
|
|
34
41
|
src/models/ResultChangeCount.ts
|
|
35
42
|
src/models/ResultNameArray.ts
|
|
36
43
|
src/models/ResultResourceUrl.ts
|
|
37
44
|
src/models/RuntimeTypeEnum.ts
|
|
45
|
+
src/models/SchedulerHiddenOptionEnum.ts
|
|
46
|
+
src/models/SchedulerProfile.ts
|
|
38
47
|
src/models/SchedulerTypeEnum.ts
|
|
39
48
|
src/models/SystemTypeEnum.ts
|
|
40
49
|
src/models/TapisSystem.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
5.
|
|
1
|
+
5.3.0
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @tapis/tapis-typescript-systems@0.0.
|
|
1
|
+
## @tapis/tapis-typescript-systems@0.0.2
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @tapis/tapis-typescript-systems@0.0.
|
|
39
|
+
npm install @tapis/tapis-typescript-systems@0.0.2 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Tapis Systems API
|
|
3
|
-
* The Tapis Systems API provides for management of Tapis Systems including permissions and
|
|
3
|
+
* The Tapis Systems API provides for management of Tapis Systems including permissions, credentials and Scheduler Profiles.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.0
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0-rc1
|
|
6
6
|
* Contact: cicsupport@tacc.utexas.edu
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -10,11 +10,12 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import {
|
|
13
|
+
import { ReqCreateCredential, RespBasic, RespCredential } from '../models';
|
|
14
14
|
export interface CreateUserCredentialRequest {
|
|
15
15
|
systemId: string;
|
|
16
16
|
userName: string;
|
|
17
|
-
|
|
17
|
+
reqCreateCredential: ReqCreateCredential;
|
|
18
|
+
skipCredentialCheck?: boolean;
|
|
18
19
|
}
|
|
19
20
|
export interface GetUserCredentialRequest {
|
|
20
21
|
systemId: string;
|
|
@@ -30,33 +31,33 @@ export interface RemoveUserCredentialRequest {
|
|
|
30
31
|
*/
|
|
31
32
|
export declare class CredentialsApi extends runtime.BaseAPI {
|
|
32
33
|
/**
|
|
33
|
-
* Create or update credentials in the Security Kernel for given system and user using a request body. Requester must be owner of the system.
|
|
34
|
-
* Create or update system user
|
|
34
|
+
* Create or update credentials in the Security Kernel for given system and *target user* using a request body. Requester must be owner of the system. Credentials for multiple authentication methods may be provided. Note that user making the request and *target user* may be different and frequently are different. By default any credentials provided for LINUX type systems are verified. Use query parameter skipCredentialCheck=true to bypass initial verification of credentials. Note that the attribute authnMethod is allowed but ignored so that the JSON result returned by a GET may be modified and used when making a POST to update credentials.
|
|
35
|
+
* Create or update user credentials for a system and target user
|
|
35
36
|
*/
|
|
36
|
-
createUserCredentialRaw(requestParameters: CreateUserCredentialRequest): Promise<runtime.ApiResponse<RespBasic>>;
|
|
37
|
+
createUserCredentialRaw(requestParameters: CreateUserCredentialRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<RespBasic>>;
|
|
37
38
|
/**
|
|
38
|
-
* Create or update credentials in the Security Kernel for given system and user using a request body. Requester must be owner of the system.
|
|
39
|
-
* Create or update system user
|
|
39
|
+
* Create or update credentials in the Security Kernel for given system and *target user* using a request body. Requester must be owner of the system. Credentials for multiple authentication methods may be provided. Note that user making the request and *target user* may be different and frequently are different. By default any credentials provided for LINUX type systems are verified. Use query parameter skipCredentialCheck=true to bypass initial verification of credentials. Note that the attribute authnMethod is allowed but ignored so that the JSON result returned by a GET may be modified and used when making a POST to update credentials.
|
|
40
|
+
* Create or update user credentials for a system and target user
|
|
40
41
|
*/
|
|
41
|
-
createUserCredential(requestParameters: CreateUserCredentialRequest): Promise<RespBasic>;
|
|
42
|
+
createUserCredential(requestParameters: CreateUserCredentialRequest, initOverrides?: RequestInit): Promise<RespBasic>;
|
|
42
43
|
/**
|
|
43
|
-
* Highly restricted. Only certain Tapis services authorized. Retrieve credentials for given system and user.
|
|
44
|
-
* Retrieve system user
|
|
44
|
+
* Highly restricted. Only certain Tapis services authorized. Retrieve credentials for given system, *target user* and authentication method. Note that user making the request and *target user* may be different and frequently are different. Desired authentication method may be specified using query parameter authnMethod=<method>. If desired authentication method not specified then credentials for the system\'s default authentication method are returned. The result includes the field authnMethod indicating the authentication method associated with the returned credentials.
|
|
45
|
+
* Retrieve user credentials for a system and target user
|
|
45
46
|
*/
|
|
46
|
-
getUserCredentialRaw(requestParameters: GetUserCredentialRequest): Promise<runtime.ApiResponse<RespCredential>>;
|
|
47
|
+
getUserCredentialRaw(requestParameters: GetUserCredentialRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<RespCredential>>;
|
|
47
48
|
/**
|
|
48
|
-
* Highly restricted. Only certain Tapis services authorized. Retrieve credentials for given system and user.
|
|
49
|
-
* Retrieve system user
|
|
49
|
+
* Highly restricted. Only certain Tapis services authorized. Retrieve credentials for given system, *target user* and authentication method. Note that user making the request and *target user* may be different and frequently are different. Desired authentication method may be specified using query parameter authnMethod=<method>. If desired authentication method not specified then credentials for the system\'s default authentication method are returned. The result includes the field authnMethod indicating the authentication method associated with the returned credentials.
|
|
50
|
+
* Retrieve user credentials for a system and target user
|
|
50
51
|
*/
|
|
51
|
-
getUserCredential(requestParameters: GetUserCredentialRequest): Promise<RespCredential>;
|
|
52
|
+
getUserCredential(requestParameters: GetUserCredentialRequest, initOverrides?: RequestInit): Promise<RespCredential>;
|
|
52
53
|
/**
|
|
53
|
-
* Remove
|
|
54
|
-
* Remove system user
|
|
54
|
+
* Remove credentials from the Security Kernel for given system and *target user*. Requester must be owner of the system. Note that user making the request and *target user* may be different and frequently are different.
|
|
55
|
+
* Remove user credentials for a system and target user
|
|
55
56
|
*/
|
|
56
|
-
removeUserCredentialRaw(requestParameters: RemoveUserCredentialRequest): Promise<runtime.ApiResponse<RespBasic>>;
|
|
57
|
+
removeUserCredentialRaw(requestParameters: RemoveUserCredentialRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<RespBasic>>;
|
|
57
58
|
/**
|
|
58
|
-
* Remove
|
|
59
|
-
* Remove system user
|
|
59
|
+
* Remove credentials from the Security Kernel for given system and *target user*. Requester must be owner of the system. Note that user making the request and *target user* may be different and frequently are different.
|
|
60
|
+
* Remove user credentials for a system and target user
|
|
60
61
|
*/
|
|
61
|
-
removeUserCredential(requestParameters: RemoveUserCredentialRequest): Promise<RespBasic>;
|
|
62
|
+
removeUserCredential(requestParameters: RemoveUserCredentialRequest, initOverrides?: RequestInit): Promise<RespBasic>;
|
|
62
63
|
}
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Tapis Systems API
|
|
6
|
-
* The Tapis Systems API provides for management of Tapis Systems including permissions and
|
|
6
|
+
* The Tapis Systems API provides for management of Tapis Systems including permissions, credentials and Scheduler Profiles.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.0
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0-rc1
|
|
9
9
|
* Contact: cicsupport@tacc.utexas.edu
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -69,10 +69,10 @@ var CredentialsApi = /** @class */ (function (_super) {
|
|
|
69
69
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
70
70
|
}
|
|
71
71
|
/**
|
|
72
|
-
* Create or update credentials in the Security Kernel for given system and user using a request body. Requester must be owner of the system.
|
|
73
|
-
* Create or update system user
|
|
72
|
+
* Create or update credentials in the Security Kernel for given system and *target user* using a request body. Requester must be owner of the system. Credentials for multiple authentication methods may be provided. Note that user making the request and *target user* may be different and frequently are different. By default any credentials provided for LINUX type systems are verified. Use query parameter skipCredentialCheck=true to bypass initial verification of credentials. Note that the attribute authnMethod is allowed but ignored so that the JSON result returned by a GET may be modified and used when making a POST to update credentials.
|
|
73
|
+
* Create or update user credentials for a system and target user
|
|
74
74
|
*/
|
|
75
|
-
CredentialsApi.prototype.createUserCredentialRaw = function (requestParameters) {
|
|
75
|
+
CredentialsApi.prototype.createUserCredentialRaw = function (requestParameters, initOverrides) {
|
|
76
76
|
return __awaiter(this, void 0, void 0, function () {
|
|
77
77
|
var queryParameters, headerParameters, response;
|
|
78
78
|
return __generator(this, function (_a) {
|
|
@@ -84,10 +84,13 @@ var CredentialsApi = /** @class */ (function (_super) {
|
|
|
84
84
|
if (requestParameters.userName === null || requestParameters.userName === undefined) {
|
|
85
85
|
throw new runtime.RequiredError('userName', 'Required parameter requestParameters.userName was null or undefined when calling createUserCredential.');
|
|
86
86
|
}
|
|
87
|
-
if (requestParameters.
|
|
88
|
-
throw new runtime.RequiredError('
|
|
87
|
+
if (requestParameters.reqCreateCredential === null || requestParameters.reqCreateCredential === undefined) {
|
|
88
|
+
throw new runtime.RequiredError('reqCreateCredential', 'Required parameter requestParameters.reqCreateCredential was null or undefined when calling createUserCredential.');
|
|
89
89
|
}
|
|
90
90
|
queryParameters = {};
|
|
91
|
+
if (requestParameters.skipCredentialCheck !== undefined) {
|
|
92
|
+
queryParameters['skipCredentialCheck'] = requestParameters.skipCredentialCheck;
|
|
93
|
+
}
|
|
91
94
|
headerParameters = {};
|
|
92
95
|
headerParameters['Content-Type'] = 'application/json';
|
|
93
96
|
if (this.configuration && this.configuration.apiKey) {
|
|
@@ -98,8 +101,8 @@ var CredentialsApi = /** @class */ (function (_super) {
|
|
|
98
101
|
method: 'POST',
|
|
99
102
|
headers: headerParameters,
|
|
100
103
|
query: queryParameters,
|
|
101
|
-
body: models_1.
|
|
102
|
-
})];
|
|
104
|
+
body: models_1.ReqCreateCredentialToJSON(requestParameters.reqCreateCredential),
|
|
105
|
+
}, initOverrides)];
|
|
103
106
|
case 1:
|
|
104
107
|
response = _a.sent();
|
|
105
108
|
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return models_1.RespBasicFromJSON(jsonValue); })];
|
|
@@ -108,15 +111,15 @@ var CredentialsApi = /** @class */ (function (_super) {
|
|
|
108
111
|
});
|
|
109
112
|
};
|
|
110
113
|
/**
|
|
111
|
-
* Create or update credentials in the Security Kernel for given system and user using a request body. Requester must be owner of the system.
|
|
112
|
-
* Create or update system user
|
|
114
|
+
* Create or update credentials in the Security Kernel for given system and *target user* using a request body. Requester must be owner of the system. Credentials for multiple authentication methods may be provided. Note that user making the request and *target user* may be different and frequently are different. By default any credentials provided for LINUX type systems are verified. Use query parameter skipCredentialCheck=true to bypass initial verification of credentials. Note that the attribute authnMethod is allowed but ignored so that the JSON result returned by a GET may be modified and used when making a POST to update credentials.
|
|
115
|
+
* Create or update user credentials for a system and target user
|
|
113
116
|
*/
|
|
114
|
-
CredentialsApi.prototype.createUserCredential = function (requestParameters) {
|
|
117
|
+
CredentialsApi.prototype.createUserCredential = function (requestParameters, initOverrides) {
|
|
115
118
|
return __awaiter(this, void 0, void 0, function () {
|
|
116
119
|
var response;
|
|
117
120
|
return __generator(this, function (_a) {
|
|
118
121
|
switch (_a.label) {
|
|
119
|
-
case 0: return [4 /*yield*/, this.createUserCredentialRaw(requestParameters)];
|
|
122
|
+
case 0: return [4 /*yield*/, this.createUserCredentialRaw(requestParameters, initOverrides)];
|
|
120
123
|
case 1:
|
|
121
124
|
response = _a.sent();
|
|
122
125
|
return [4 /*yield*/, response.value()];
|
|
@@ -126,10 +129,10 @@ var CredentialsApi = /** @class */ (function (_super) {
|
|
|
126
129
|
});
|
|
127
130
|
};
|
|
128
131
|
/**
|
|
129
|
-
* Highly restricted. Only certain Tapis services authorized. Retrieve credentials for given system and user.
|
|
130
|
-
* Retrieve system user
|
|
132
|
+
* Highly restricted. Only certain Tapis services authorized. Retrieve credentials for given system, *target user* and authentication method. Note that user making the request and *target user* may be different and frequently are different. Desired authentication method may be specified using query parameter authnMethod=<method>. If desired authentication method not specified then credentials for the system\'s default authentication method are returned. The result includes the field authnMethod indicating the authentication method associated with the returned credentials.
|
|
133
|
+
* Retrieve user credentials for a system and target user
|
|
131
134
|
*/
|
|
132
|
-
CredentialsApi.prototype.getUserCredentialRaw = function (requestParameters) {
|
|
135
|
+
CredentialsApi.prototype.getUserCredentialRaw = function (requestParameters, initOverrides) {
|
|
133
136
|
return __awaiter(this, void 0, void 0, function () {
|
|
134
137
|
var queryParameters, headerParameters, response;
|
|
135
138
|
return __generator(this, function (_a) {
|
|
@@ -154,7 +157,7 @@ var CredentialsApi = /** @class */ (function (_super) {
|
|
|
154
157
|
method: 'GET',
|
|
155
158
|
headers: headerParameters,
|
|
156
159
|
query: queryParameters,
|
|
157
|
-
})];
|
|
160
|
+
}, initOverrides)];
|
|
158
161
|
case 1:
|
|
159
162
|
response = _a.sent();
|
|
160
163
|
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return models_1.RespCredentialFromJSON(jsonValue); })];
|
|
@@ -163,15 +166,15 @@ var CredentialsApi = /** @class */ (function (_super) {
|
|
|
163
166
|
});
|
|
164
167
|
};
|
|
165
168
|
/**
|
|
166
|
-
* Highly restricted. Only certain Tapis services authorized. Retrieve credentials for given system and user.
|
|
167
|
-
* Retrieve system user
|
|
169
|
+
* Highly restricted. Only certain Tapis services authorized. Retrieve credentials for given system, *target user* and authentication method. Note that user making the request and *target user* may be different and frequently are different. Desired authentication method may be specified using query parameter authnMethod=<method>. If desired authentication method not specified then credentials for the system\'s default authentication method are returned. The result includes the field authnMethod indicating the authentication method associated with the returned credentials.
|
|
170
|
+
* Retrieve user credentials for a system and target user
|
|
168
171
|
*/
|
|
169
|
-
CredentialsApi.prototype.getUserCredential = function (requestParameters) {
|
|
172
|
+
CredentialsApi.prototype.getUserCredential = function (requestParameters, initOverrides) {
|
|
170
173
|
return __awaiter(this, void 0, void 0, function () {
|
|
171
174
|
var response;
|
|
172
175
|
return __generator(this, function (_a) {
|
|
173
176
|
switch (_a.label) {
|
|
174
|
-
case 0: return [4 /*yield*/, this.getUserCredentialRaw(requestParameters)];
|
|
177
|
+
case 0: return [4 /*yield*/, this.getUserCredentialRaw(requestParameters, initOverrides)];
|
|
175
178
|
case 1:
|
|
176
179
|
response = _a.sent();
|
|
177
180
|
return [4 /*yield*/, response.value()];
|
|
@@ -181,10 +184,10 @@ var CredentialsApi = /** @class */ (function (_super) {
|
|
|
181
184
|
});
|
|
182
185
|
};
|
|
183
186
|
/**
|
|
184
|
-
* Remove
|
|
185
|
-
* Remove system user
|
|
187
|
+
* Remove credentials from the Security Kernel for given system and *target user*. Requester must be owner of the system. Note that user making the request and *target user* may be different and frequently are different.
|
|
188
|
+
* Remove user credentials for a system and target user
|
|
186
189
|
*/
|
|
187
|
-
CredentialsApi.prototype.removeUserCredentialRaw = function (requestParameters) {
|
|
190
|
+
CredentialsApi.prototype.removeUserCredentialRaw = function (requestParameters, initOverrides) {
|
|
188
191
|
return __awaiter(this, void 0, void 0, function () {
|
|
189
192
|
var queryParameters, headerParameters, response;
|
|
190
193
|
return __generator(this, function (_a) {
|
|
@@ -206,7 +209,7 @@ var CredentialsApi = /** @class */ (function (_super) {
|
|
|
206
209
|
method: 'DELETE',
|
|
207
210
|
headers: headerParameters,
|
|
208
211
|
query: queryParameters,
|
|
209
|
-
})];
|
|
212
|
+
}, initOverrides)];
|
|
210
213
|
case 1:
|
|
211
214
|
response = _a.sent();
|
|
212
215
|
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return models_1.RespBasicFromJSON(jsonValue); })];
|
|
@@ -215,15 +218,15 @@ var CredentialsApi = /** @class */ (function (_super) {
|
|
|
215
218
|
});
|
|
216
219
|
};
|
|
217
220
|
/**
|
|
218
|
-
* Remove
|
|
219
|
-
* Remove system user
|
|
221
|
+
* Remove credentials from the Security Kernel for given system and *target user*. Requester must be owner of the system. Note that user making the request and *target user* may be different and frequently are different.
|
|
222
|
+
* Remove user credentials for a system and target user
|
|
220
223
|
*/
|
|
221
|
-
CredentialsApi.prototype.removeUserCredential = function (requestParameters) {
|
|
224
|
+
CredentialsApi.prototype.removeUserCredential = function (requestParameters, initOverrides) {
|
|
222
225
|
return __awaiter(this, void 0, void 0, function () {
|
|
223
226
|
var response;
|
|
224
227
|
return __generator(this, function (_a) {
|
|
225
228
|
switch (_a.label) {
|
|
226
|
-
case 0: return [4 /*yield*/, this.removeUserCredentialRaw(requestParameters)];
|
|
229
|
+
case 0: return [4 /*yield*/, this.removeUserCredentialRaw(requestParameters, initOverrides)];
|
|
227
230
|
case 1:
|
|
228
231
|
response = _a.sent();
|
|
229
232
|
return [4 /*yield*/, response.value()];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Tapis Systems API
|
|
3
|
-
* The Tapis Systems API provides for management of Tapis Systems including permissions and
|
|
3
|
+
* The Tapis Systems API provides for management of Tapis Systems including permissions, credentials and Scheduler Profiles.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.0
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0-rc1
|
|
6
6
|
* Contact: cicsupport@tacc.utexas.edu
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -18,17 +18,17 @@ export declare class GeneralApi extends runtime.BaseAPI {
|
|
|
18
18
|
/**
|
|
19
19
|
* Health check.
|
|
20
20
|
*/
|
|
21
|
-
healthCheckRaw(): Promise<runtime.ApiResponse<RespBasic>>;
|
|
21
|
+
healthCheckRaw(initOverrides?: RequestInit): Promise<runtime.ApiResponse<RespBasic>>;
|
|
22
22
|
/**
|
|
23
23
|
* Health check.
|
|
24
24
|
*/
|
|
25
|
-
healthCheck(): Promise<RespBasic>;
|
|
25
|
+
healthCheck(initOverrides?: RequestInit): Promise<RespBasic>;
|
|
26
26
|
/**
|
|
27
27
|
* Ready check.
|
|
28
28
|
*/
|
|
29
|
-
readyCheckRaw(): Promise<runtime.ApiResponse<RespBasic>>;
|
|
29
|
+
readyCheckRaw(initOverrides?: RequestInit): Promise<runtime.ApiResponse<RespBasic>>;
|
|
30
30
|
/**
|
|
31
31
|
* Ready check.
|
|
32
32
|
*/
|
|
33
|
-
readyCheck(): Promise<RespBasic>;
|
|
33
|
+
readyCheck(initOverrides?: RequestInit): Promise<RespBasic>;
|
|
34
34
|
}
|
package/dist/apis/GeneralApi.js
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Tapis Systems API
|
|
6
|
-
* The Tapis Systems API provides for management of Tapis Systems including permissions and
|
|
6
|
+
* The Tapis Systems API provides for management of Tapis Systems including permissions, credentials and Scheduler Profiles.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.0
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0-rc1
|
|
9
9
|
* Contact: cicsupport@tacc.utexas.edu
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -71,7 +71,7 @@ var GeneralApi = /** @class */ (function (_super) {
|
|
|
71
71
|
/**
|
|
72
72
|
* Health check.
|
|
73
73
|
*/
|
|
74
|
-
GeneralApi.prototype.healthCheckRaw = function () {
|
|
74
|
+
GeneralApi.prototype.healthCheckRaw = function (initOverrides) {
|
|
75
75
|
return __awaiter(this, void 0, void 0, function () {
|
|
76
76
|
var queryParameters, headerParameters, response;
|
|
77
77
|
return __generator(this, function (_a) {
|
|
@@ -87,7 +87,7 @@ var GeneralApi = /** @class */ (function (_super) {
|
|
|
87
87
|
method: 'GET',
|
|
88
88
|
headers: headerParameters,
|
|
89
89
|
query: queryParameters,
|
|
90
|
-
})];
|
|
90
|
+
}, initOverrides)];
|
|
91
91
|
case 1:
|
|
92
92
|
response = _a.sent();
|
|
93
93
|
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return models_1.RespBasicFromJSON(jsonValue); })];
|
|
@@ -98,12 +98,12 @@ var GeneralApi = /** @class */ (function (_super) {
|
|
|
98
98
|
/**
|
|
99
99
|
* Health check.
|
|
100
100
|
*/
|
|
101
|
-
GeneralApi.prototype.healthCheck = function () {
|
|
101
|
+
GeneralApi.prototype.healthCheck = function (initOverrides) {
|
|
102
102
|
return __awaiter(this, void 0, void 0, function () {
|
|
103
103
|
var response;
|
|
104
104
|
return __generator(this, function (_a) {
|
|
105
105
|
switch (_a.label) {
|
|
106
|
-
case 0: return [4 /*yield*/, this.healthCheckRaw()];
|
|
106
|
+
case 0: return [4 /*yield*/, this.healthCheckRaw(initOverrides)];
|
|
107
107
|
case 1:
|
|
108
108
|
response = _a.sent();
|
|
109
109
|
return [4 /*yield*/, response.value()];
|
|
@@ -115,7 +115,7 @@ var GeneralApi = /** @class */ (function (_super) {
|
|
|
115
115
|
/**
|
|
116
116
|
* Ready check.
|
|
117
117
|
*/
|
|
118
|
-
GeneralApi.prototype.readyCheckRaw = function () {
|
|
118
|
+
GeneralApi.prototype.readyCheckRaw = function (initOverrides) {
|
|
119
119
|
return __awaiter(this, void 0, void 0, function () {
|
|
120
120
|
var queryParameters, headerParameters, response;
|
|
121
121
|
return __generator(this, function (_a) {
|
|
@@ -131,7 +131,7 @@ var GeneralApi = /** @class */ (function (_super) {
|
|
|
131
131
|
method: 'GET',
|
|
132
132
|
headers: headerParameters,
|
|
133
133
|
query: queryParameters,
|
|
134
|
-
})];
|
|
134
|
+
}, initOverrides)];
|
|
135
135
|
case 1:
|
|
136
136
|
response = _a.sent();
|
|
137
137
|
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return models_1.RespBasicFromJSON(jsonValue); })];
|
|
@@ -142,12 +142,12 @@ var GeneralApi = /** @class */ (function (_super) {
|
|
|
142
142
|
/**
|
|
143
143
|
* Ready check.
|
|
144
144
|
*/
|
|
145
|
-
GeneralApi.prototype.readyCheck = function () {
|
|
145
|
+
GeneralApi.prototype.readyCheck = function (initOverrides) {
|
|
146
146
|
return __awaiter(this, void 0, void 0, function () {
|
|
147
147
|
var response;
|
|
148
148
|
return __generator(this, function (_a) {
|
|
149
149
|
switch (_a.label) {
|
|
150
|
-
case 0: return [4 /*yield*/, this.readyCheckRaw()];
|
|
150
|
+
case 0: return [4 /*yield*/, this.readyCheckRaw(initOverrides)];
|
|
151
151
|
case 1:
|
|
152
152
|
response = _a.sent();
|
|
153
153
|
return [4 /*yield*/, response.value()];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Tapis Systems API
|
|
3
|
-
* The Tapis Systems API provides for management of Tapis Systems including permissions and
|
|
3
|
+
* The Tapis Systems API provides for management of Tapis Systems including permissions, credentials and Scheduler Profiles.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.0
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0-rc1
|
|
6
6
|
* Contact: cicsupport@tacc.utexas.edu
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -38,40 +38,40 @@ export declare class PermissionsApi extends runtime.BaseAPI {
|
|
|
38
38
|
* Retrieve all system related permissions for a given system and user.
|
|
39
39
|
* Retrieve system user permissions
|
|
40
40
|
*/
|
|
41
|
-
getUserPermsRaw(requestParameters: GetUserPermsRequest): Promise<runtime.ApiResponse<RespNameArray>>;
|
|
41
|
+
getUserPermsRaw(requestParameters: GetUserPermsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<RespNameArray>>;
|
|
42
42
|
/**
|
|
43
43
|
* Retrieve all system related permissions for a given system and user.
|
|
44
44
|
* Retrieve system user permissions
|
|
45
45
|
*/
|
|
46
|
-
getUserPerms(requestParameters: GetUserPermsRequest): Promise<RespNameArray>;
|
|
46
|
+
getUserPerms(requestParameters: GetUserPermsRequest, initOverrides?: RequestInit): Promise<RespNameArray>;
|
|
47
47
|
/**
|
|
48
48
|
* Create permissions in the Security Kernel for a user. Requester must be owner of the system. Permissions are READ, MODIFY, EXECUTE.
|
|
49
49
|
* Grant system user permissions
|
|
50
50
|
*/
|
|
51
|
-
grantUserPermsRaw(requestParameters: GrantUserPermsRequest): Promise<runtime.ApiResponse<RespBasic>>;
|
|
51
|
+
grantUserPermsRaw(requestParameters: GrantUserPermsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<RespBasic>>;
|
|
52
52
|
/**
|
|
53
53
|
* Create permissions in the Security Kernel for a user. Requester must be owner of the system. Permissions are READ, MODIFY, EXECUTE.
|
|
54
54
|
* Grant system user permissions
|
|
55
55
|
*/
|
|
56
|
-
grantUserPerms(requestParameters: GrantUserPermsRequest): Promise<RespBasic>;
|
|
56
|
+
grantUserPerms(requestParameters: GrantUserPermsRequest, initOverrides?: RequestInit): Promise<RespBasic>;
|
|
57
57
|
/**
|
|
58
58
|
* Remove system user permission from the Security Kernel. Requester must be owner of the system. Permissions are READ, MODIFY, EXECUTE.
|
|
59
59
|
* Revoke system user permission
|
|
60
60
|
*/
|
|
61
|
-
revokeUserPermRaw(requestParameters: RevokeUserPermRequest): Promise<runtime.ApiResponse<RespBasic>>;
|
|
61
|
+
revokeUserPermRaw(requestParameters: RevokeUserPermRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<RespBasic>>;
|
|
62
62
|
/**
|
|
63
63
|
* Remove system user permission from the Security Kernel. Requester must be owner of the system. Permissions are READ, MODIFY, EXECUTE.
|
|
64
64
|
* Revoke system user permission
|
|
65
65
|
*/
|
|
66
|
-
revokeUserPerm(requestParameters: RevokeUserPermRequest): Promise<RespBasic>;
|
|
66
|
+
revokeUserPerm(requestParameters: RevokeUserPermRequest, initOverrides?: RequestInit): Promise<RespBasic>;
|
|
67
67
|
/**
|
|
68
68
|
* Remove permissions from the Security Kernel for a user. Requester must be owner of the system. Permissions are READ, MODIFY, EXECUTE.
|
|
69
69
|
* Revoke system user permissions
|
|
70
70
|
*/
|
|
71
|
-
revokeUserPermsRaw(requestParameters: RevokeUserPermsRequest): Promise<runtime.ApiResponse<RespBasic>>;
|
|
71
|
+
revokeUserPermsRaw(requestParameters: RevokeUserPermsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<RespBasic>>;
|
|
72
72
|
/**
|
|
73
73
|
* Remove permissions from the Security Kernel for a user. Requester must be owner of the system. Permissions are READ, MODIFY, EXECUTE.
|
|
74
74
|
* Revoke system user permissions
|
|
75
75
|
*/
|
|
76
|
-
revokeUserPerms(requestParameters: RevokeUserPermsRequest): Promise<RespBasic>;
|
|
76
|
+
revokeUserPerms(requestParameters: RevokeUserPermsRequest, initOverrides?: RequestInit): Promise<RespBasic>;
|
|
77
77
|
}
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Tapis Systems API
|
|
6
|
-
* The Tapis Systems API provides for management of Tapis Systems including permissions and
|
|
6
|
+
* The Tapis Systems API provides for management of Tapis Systems including permissions, credentials and Scheduler Profiles.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.0
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0-rc1
|
|
9
9
|
* Contact: cicsupport@tacc.utexas.edu
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -72,7 +72,7 @@ var PermissionsApi = /** @class */ (function (_super) {
|
|
|
72
72
|
* Retrieve all system related permissions for a given system and user.
|
|
73
73
|
* Retrieve system user permissions
|
|
74
74
|
*/
|
|
75
|
-
PermissionsApi.prototype.getUserPermsRaw = function (requestParameters) {
|
|
75
|
+
PermissionsApi.prototype.getUserPermsRaw = function (requestParameters, initOverrides) {
|
|
76
76
|
return __awaiter(this, void 0, void 0, function () {
|
|
77
77
|
var queryParameters, headerParameters, response;
|
|
78
78
|
return __generator(this, function (_a) {
|
|
@@ -94,7 +94,7 @@ var PermissionsApi = /** @class */ (function (_super) {
|
|
|
94
94
|
method: 'GET',
|
|
95
95
|
headers: headerParameters,
|
|
96
96
|
query: queryParameters,
|
|
97
|
-
})];
|
|
97
|
+
}, initOverrides)];
|
|
98
98
|
case 1:
|
|
99
99
|
response = _a.sent();
|
|
100
100
|
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return models_1.RespNameArrayFromJSON(jsonValue); })];
|
|
@@ -106,12 +106,12 @@ var PermissionsApi = /** @class */ (function (_super) {
|
|
|
106
106
|
* Retrieve all system related permissions for a given system and user.
|
|
107
107
|
* Retrieve system user permissions
|
|
108
108
|
*/
|
|
109
|
-
PermissionsApi.prototype.getUserPerms = function (requestParameters) {
|
|
109
|
+
PermissionsApi.prototype.getUserPerms = function (requestParameters, initOverrides) {
|
|
110
110
|
return __awaiter(this, void 0, void 0, function () {
|
|
111
111
|
var response;
|
|
112
112
|
return __generator(this, function (_a) {
|
|
113
113
|
switch (_a.label) {
|
|
114
|
-
case 0: return [4 /*yield*/, this.getUserPermsRaw(requestParameters)];
|
|
114
|
+
case 0: return [4 /*yield*/, this.getUserPermsRaw(requestParameters, initOverrides)];
|
|
115
115
|
case 1:
|
|
116
116
|
response = _a.sent();
|
|
117
117
|
return [4 /*yield*/, response.value()];
|
|
@@ -124,7 +124,7 @@ var PermissionsApi = /** @class */ (function (_super) {
|
|
|
124
124
|
* Create permissions in the Security Kernel for a user. Requester must be owner of the system. Permissions are READ, MODIFY, EXECUTE.
|
|
125
125
|
* Grant system user permissions
|
|
126
126
|
*/
|
|
127
|
-
PermissionsApi.prototype.grantUserPermsRaw = function (requestParameters) {
|
|
127
|
+
PermissionsApi.prototype.grantUserPermsRaw = function (requestParameters, initOverrides) {
|
|
128
128
|
return __awaiter(this, void 0, void 0, function () {
|
|
129
129
|
var queryParameters, headerParameters, response;
|
|
130
130
|
return __generator(this, function (_a) {
|
|
@@ -151,7 +151,7 @@ var PermissionsApi = /** @class */ (function (_super) {
|
|
|
151
151
|
headers: headerParameters,
|
|
152
152
|
query: queryParameters,
|
|
153
153
|
body: models_1.ReqPermsToJSON(requestParameters.reqPerms),
|
|
154
|
-
})];
|
|
154
|
+
}, initOverrides)];
|
|
155
155
|
case 1:
|
|
156
156
|
response = _a.sent();
|
|
157
157
|
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return models_1.RespBasicFromJSON(jsonValue); })];
|
|
@@ -163,12 +163,12 @@ var PermissionsApi = /** @class */ (function (_super) {
|
|
|
163
163
|
* Create permissions in the Security Kernel for a user. Requester must be owner of the system. Permissions are READ, MODIFY, EXECUTE.
|
|
164
164
|
* Grant system user permissions
|
|
165
165
|
*/
|
|
166
|
-
PermissionsApi.prototype.grantUserPerms = function (requestParameters) {
|
|
166
|
+
PermissionsApi.prototype.grantUserPerms = function (requestParameters, initOverrides) {
|
|
167
167
|
return __awaiter(this, void 0, void 0, function () {
|
|
168
168
|
var response;
|
|
169
169
|
return __generator(this, function (_a) {
|
|
170
170
|
switch (_a.label) {
|
|
171
|
-
case 0: return [4 /*yield*/, this.grantUserPermsRaw(requestParameters)];
|
|
171
|
+
case 0: return [4 /*yield*/, this.grantUserPermsRaw(requestParameters, initOverrides)];
|
|
172
172
|
case 1:
|
|
173
173
|
response = _a.sent();
|
|
174
174
|
return [4 /*yield*/, response.value()];
|
|
@@ -181,7 +181,7 @@ var PermissionsApi = /** @class */ (function (_super) {
|
|
|
181
181
|
* Remove system user permission from the Security Kernel. Requester must be owner of the system. Permissions are READ, MODIFY, EXECUTE.
|
|
182
182
|
* Revoke system user permission
|
|
183
183
|
*/
|
|
184
|
-
PermissionsApi.prototype.revokeUserPermRaw = function (requestParameters) {
|
|
184
|
+
PermissionsApi.prototype.revokeUserPermRaw = function (requestParameters, initOverrides) {
|
|
185
185
|
return __awaiter(this, void 0, void 0, function () {
|
|
186
186
|
var queryParameters, headerParameters, response;
|
|
187
187
|
return __generator(this, function (_a) {
|
|
@@ -206,7 +206,7 @@ var PermissionsApi = /** @class */ (function (_super) {
|
|
|
206
206
|
method: 'DELETE',
|
|
207
207
|
headers: headerParameters,
|
|
208
208
|
query: queryParameters,
|
|
209
|
-
})];
|
|
209
|
+
}, initOverrides)];
|
|
210
210
|
case 1:
|
|
211
211
|
response = _a.sent();
|
|
212
212
|
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return models_1.RespBasicFromJSON(jsonValue); })];
|
|
@@ -218,12 +218,12 @@ var PermissionsApi = /** @class */ (function (_super) {
|
|
|
218
218
|
* Remove system user permission from the Security Kernel. Requester must be owner of the system. Permissions are READ, MODIFY, EXECUTE.
|
|
219
219
|
* Revoke system user permission
|
|
220
220
|
*/
|
|
221
|
-
PermissionsApi.prototype.revokeUserPerm = function (requestParameters) {
|
|
221
|
+
PermissionsApi.prototype.revokeUserPerm = function (requestParameters, initOverrides) {
|
|
222
222
|
return __awaiter(this, void 0, void 0, function () {
|
|
223
223
|
var response;
|
|
224
224
|
return __generator(this, function (_a) {
|
|
225
225
|
switch (_a.label) {
|
|
226
|
-
case 0: return [4 /*yield*/, this.revokeUserPermRaw(requestParameters)];
|
|
226
|
+
case 0: return [4 /*yield*/, this.revokeUserPermRaw(requestParameters, initOverrides)];
|
|
227
227
|
case 1:
|
|
228
228
|
response = _a.sent();
|
|
229
229
|
return [4 /*yield*/, response.value()];
|
|
@@ -236,7 +236,7 @@ var PermissionsApi = /** @class */ (function (_super) {
|
|
|
236
236
|
* Remove permissions from the Security Kernel for a user. Requester must be owner of the system. Permissions are READ, MODIFY, EXECUTE.
|
|
237
237
|
* Revoke system user permissions
|
|
238
238
|
*/
|
|
239
|
-
PermissionsApi.prototype.revokeUserPermsRaw = function (requestParameters) {
|
|
239
|
+
PermissionsApi.prototype.revokeUserPermsRaw = function (requestParameters, initOverrides) {
|
|
240
240
|
return __awaiter(this, void 0, void 0, function () {
|
|
241
241
|
var queryParameters, headerParameters, response;
|
|
242
242
|
return __generator(this, function (_a) {
|
|
@@ -263,7 +263,7 @@ var PermissionsApi = /** @class */ (function (_super) {
|
|
|
263
263
|
headers: headerParameters,
|
|
264
264
|
query: queryParameters,
|
|
265
265
|
body: models_1.ReqPermsToJSON(requestParameters.reqPerms),
|
|
266
|
-
})];
|
|
266
|
+
}, initOverrides)];
|
|
267
267
|
case 1:
|
|
268
268
|
response = _a.sent();
|
|
269
269
|
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return models_1.RespBasicFromJSON(jsonValue); })];
|
|
@@ -275,12 +275,12 @@ var PermissionsApi = /** @class */ (function (_super) {
|
|
|
275
275
|
* Remove permissions from the Security Kernel for a user. Requester must be owner of the system. Permissions are READ, MODIFY, EXECUTE.
|
|
276
276
|
* Revoke system user permissions
|
|
277
277
|
*/
|
|
278
|
-
PermissionsApi.prototype.revokeUserPerms = function (requestParameters) {
|
|
278
|
+
PermissionsApi.prototype.revokeUserPerms = function (requestParameters, initOverrides) {
|
|
279
279
|
return __awaiter(this, void 0, void 0, function () {
|
|
280
280
|
var response;
|
|
281
281
|
return __generator(this, function (_a) {
|
|
282
282
|
switch (_a.label) {
|
|
283
|
-
case 0: return [4 /*yield*/, this.revokeUserPermsRaw(requestParameters)];
|
|
283
|
+
case 0: return [4 /*yield*/, this.revokeUserPermsRaw(requestParameters, initOverrides)];
|
|
284
284
|
case 1:
|
|
285
285
|
response = _a.sent();
|
|
286
286
|
return [4 /*yield*/, response.value()];
|