@tapis/tapis-typescript-systems 0.0.2 → 0.0.4
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 +19 -3
- package/README.md +2 -2
- package/dist/apis/ChildSystemsApi.d.ts +54 -0
- package/dist/apis/ChildSystemsApi.js +224 -0
- package/dist/apis/CredentialsApi.d.ts +51 -15
- package/dist/apis/CredentialsApi.js +170 -16
- package/dist/apis/GeneralApi.d.ts +5 -5
- package/dist/apis/GeneralApi.js +5 -11
- package/dist/apis/PermissionsApi.d.ts +3 -11
- package/dist/apis/PermissionsApi.js +3 -11
- package/dist/apis/SchedulerProfilesApi.d.ts +5 -13
- package/dist/apis/SchedulerProfilesApi.js +6 -14
- package/dist/apis/SharingApi.d.ts +85 -0
- package/dist/apis/SharingApi.js +328 -0
- package/dist/apis/SystemsApi.d.ts +36 -46
- package/dist/apis/SystemsApi.js +89 -49
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.js +2 -0
- package/dist/models/AuthnEnum.d.ts +2 -1
- package/dist/models/AuthnEnum.js +2 -1
- package/dist/models/Capability.d.ts +1 -1
- package/dist/models/Capability.js +1 -1
- package/dist/models/CategoryEnum.d.ts +1 -1
- package/dist/models/CategoryEnum.js +1 -1
- package/dist/models/Credential.d.ts +19 -1
- package/dist/models/Credential.js +7 -1
- package/dist/models/DatatypeEnum.d.ts +1 -1
- package/dist/models/DatatypeEnum.js +1 -1
- package/dist/models/JobRuntime.d.ts +1 -1
- package/dist/models/JobRuntime.js +1 -1
- package/dist/models/KeyValueInputModeEnum.d.ts +25 -0
- package/dist/models/KeyValueInputModeEnum.js +39 -0
- package/dist/models/KeyValuePair.d.ts +20 -1
- package/dist/models/KeyValuePair.js +8 -1
- package/dist/models/ListTypeEnum.d.ts +24 -0
- package/dist/models/ListTypeEnum.js +38 -0
- package/dist/models/LogicalQueue.d.ts +1 -1
- package/dist/models/LogicalQueue.js +1 -1
- package/dist/models/ModuleLoadSpec.d.ts +33 -0
- package/dist/models/ModuleLoadSpec.js +43 -0
- package/dist/models/OperationTypeEnum.d.ts +35 -0
- package/dist/models/OperationTypeEnum.js +49 -0
- package/dist/models/ReqMatchConstraints.d.ts +1 -1
- package/dist/models/ReqMatchConstraints.js +1 -1
- package/dist/models/ReqPatchSystem.d.ts +18 -18
- package/dist/models/ReqPatchSystem.js +7 -7
- package/dist/models/ReqPerms.d.ts +1 -1
- package/dist/models/ReqPerms.js +1 -1
- package/dist/models/ReqPostChildSystem.d.ts +39 -0
- package/dist/models/ReqPostChildSystem.js +45 -0
- package/dist/models/ReqPostPutCredential.d.ts +69 -0
- package/dist/models/{ReqCreateCredential.js → ReqPostPutCredential.js} +12 -8
- package/dist/models/ReqPostSchedulerProfile.d.ts +52 -0
- package/dist/models/{ReqCreateSchedulerProfile.js → ReqPostSchedulerProfile.js} +10 -12
- package/dist/models/ReqPostSystem.d.ts +220 -0
- package/dist/models/{ReqCreateSystem.js → ReqPostSystem.js} +16 -18
- package/dist/models/ReqPutSystem.d.ts +21 -21
- package/dist/models/ReqPutSystem.js +9 -9
- package/dist/models/ReqSearchSystems.d.ts +1 -1
- package/dist/models/ReqSearchSystems.js +1 -1
- package/dist/models/ReqShareUpdate.d.ts +27 -0
- package/dist/models/ReqShareUpdate.js +40 -0
- package/dist/models/ReqUnlinkChildren.d.ts +27 -0
- package/dist/models/ReqUnlinkChildren.js +41 -0
- package/dist/models/ReqUpdateCredential.d.ts +75 -0
- package/dist/models/ReqUpdateCredential.js +57 -0
- package/dist/models/RespBasic.d.ts +13 -1
- package/dist/models/RespBasic.js +5 -1
- package/dist/models/RespBoolean.d.ts +13 -1
- package/dist/models/RespBoolean.js +5 -1
- package/dist/models/RespChangeCount.d.ts +13 -1
- package/dist/models/RespChangeCount.js +5 -1
- package/dist/models/RespCredential.d.ts +13 -1
- package/dist/models/RespCredential.js +5 -1
- package/dist/models/RespGlobusAuthUrl.d.ts +64 -0
- package/dist/models/RespGlobusAuthUrl.js +54 -0
- package/dist/models/RespNameArray.d.ts +13 -1
- package/dist/models/RespNameArray.js +5 -1
- package/dist/models/RespResourceUrl.d.ts +13 -1
- package/dist/models/RespResourceUrl.js +5 -1
- package/dist/models/RespSchedulerProfile.d.ts +13 -1
- package/dist/models/RespSchedulerProfile.js +5 -1
- package/dist/models/RespSchedulerProfiles.d.ts +13 -1
- package/dist/models/RespSchedulerProfiles.js +5 -1
- package/dist/models/RespShareInfo.d.ts +64 -0
- package/dist/models/RespShareInfo.js +54 -0
- package/dist/models/RespSystem.d.ts +13 -1
- package/dist/models/RespSystem.js +5 -1
- package/dist/models/RespSystemHistory.d.ts +64 -0
- package/dist/models/RespSystemHistory.js +54 -0
- package/dist/models/RespSystems.d.ts +13 -1
- package/dist/models/RespSystems.js +5 -1
- package/dist/models/RespSystemsMetadata.d.ts +1 -1
- package/dist/models/RespSystemsMetadata.js +1 -1
- package/dist/models/ResultBoolean.d.ts +1 -1
- package/dist/models/ResultBoolean.js +1 -1
- package/dist/models/ResultChangeCount.d.ts +1 -1
- package/dist/models/ResultChangeCount.js +1 -1
- package/dist/models/ResultGlobusAuthUrl.d.ts +39 -0
- package/dist/models/ResultGlobusAuthUrl.js +45 -0
- package/dist/models/ResultNameArray.d.ts +1 -1
- package/dist/models/ResultNameArray.js +1 -1
- package/dist/models/ResultResourceUrl.d.ts +1 -1
- package/dist/models/ResultResourceUrl.js +1 -1
- package/dist/models/RuntimeTypeEnum.d.ts +3 -2
- package/dist/models/RuntimeTypeEnum.js +2 -1
- package/dist/models/SchedulerHiddenOptionEnum.d.ts +1 -1
- package/dist/models/SchedulerHiddenOptionEnum.js +1 -1
- package/dist/models/SchedulerProfile.d.ts +5 -11
- package/dist/models/SchedulerProfile.js +3 -5
- package/dist/models/SchedulerTypeEnum.d.ts +1 -1
- package/dist/models/SchedulerTypeEnum.js +1 -1
- package/dist/models/ShareInfo.d.ts +33 -0
- package/dist/models/ShareInfo.js +42 -0
- package/dist/models/SystemHistory.d.ts +64 -0
- package/dist/models/SystemHistory.js +54 -0
- package/dist/models/SystemTypeEnum.d.ts +2 -2
- package/dist/models/SystemTypeEnum.js +2 -2
- package/dist/models/TapisSystem.d.ts +38 -26
- package/dist/models/TapisSystem.js +15 -11
- package/dist/models/index.d.ts +17 -3
- package/dist/models/index.js +17 -3
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/package.json +1 -1
- package/src/apis/ChildSystemsApi.ts +171 -0
- package/src/apis/CredentialsApi.ts +160 -20
- package/src/apis/GeneralApi.ts +5 -13
- package/src/apis/PermissionsApi.ts +3 -11
- package/src/apis/SchedulerProfilesApi.ts +10 -18
- package/src/apis/SharingApi.ts +250 -0
- package/src/apis/SystemsApi.ts +106 -55
- package/src/apis/index.ts +2 -0
- package/src/models/AuthnEnum.ts +2 -1
- package/src/models/Capability.ts +1 -1
- package/src/models/CategoryEnum.ts +1 -1
- package/src/models/Credential.ts +25 -1
- package/src/models/DatatypeEnum.ts +1 -1
- package/src/models/JobRuntime.ts +1 -1
- package/src/models/KeyValueInputModeEnum.ts +38 -0
- package/src/models/KeyValuePair.ts +32 -1
- package/src/models/ListTypeEnum.ts +37 -0
- package/src/models/LogicalQueue.ts +1 -1
- package/src/models/ModuleLoadSpec.ts +64 -0
- package/src/models/OperationTypeEnum.ts +48 -0
- package/src/models/ReqMatchConstraints.ts +1 -1
- package/src/models/ReqPatchSystem.ts +24 -24
- package/src/models/ReqPerms.ts +1 -1
- package/src/models/ReqPostChildSystem.ts +72 -0
- package/src/models/{ReqCreateCredential.ts → ReqPostPutCredential.ts} +29 -13
- package/src/models/{ReqCreateSchedulerProfile.ts → ReqPostSchedulerProfile.ts} +21 -25
- package/src/models/{ReqCreateSystem.ts → ReqPostSystem.ts} +77 -85
- package/src/models/ReqPutSystem.ts +32 -32
- package/src/models/ReqSearchSystems.ts +1 -1
- package/src/models/ReqShareUpdate.ts +56 -0
- package/src/models/ReqUnlinkChildren.ts +56 -0
- package/src/models/ReqUpdateCredential.ts +120 -0
- package/src/models/RespBasic.ts +17 -1
- package/src/models/RespBoolean.ts +17 -1
- package/src/models/RespChangeCount.ts +17 -1
- package/src/models/RespCredential.ts +17 -1
- package/src/models/RespGlobusAuthUrl.ts +111 -0
- package/src/models/RespNameArray.ts +17 -1
- package/src/models/RespResourceUrl.ts +17 -1
- package/src/models/RespSchedulerProfile.ts +17 -1
- package/src/models/RespSchedulerProfiles.ts +17 -1
- package/src/models/RespShareInfo.ts +111 -0
- package/src/models/RespSystem.ts +17 -1
- package/src/models/RespSystemHistory.ts +111 -0
- package/src/models/RespSystems.ts +17 -1
- package/src/models/RespSystemsMetadata.ts +1 -1
- package/src/models/ResultBoolean.ts +1 -1
- package/src/models/ResultChangeCount.ts +1 -1
- package/src/models/ResultGlobusAuthUrl.ts +72 -0
- package/src/models/ResultNameArray.ts +1 -1
- package/src/models/ResultResourceUrl.ts +1 -1
- package/src/models/RuntimeTypeEnum.ts +3 -2
- package/src/models/SchedulerHiddenOptionEnum.ts +1 -1
- package/src/models/SchedulerProfile.ts +10 -14
- package/src/models/SchedulerTypeEnum.ts +1 -1
- package/src/models/ShareInfo.ts +64 -0
- package/src/models/SystemHistory.ts +111 -0
- package/src/models/SystemTypeEnum.ts +2 -2
- package/src/models/TapisSystem.ts +52 -36
- package/src/models/index.ts +17 -3
- package/src/runtime.ts +1 -1
- package/dist/models/ReqCreateCredential.d.ts +0 -57
- package/dist/models/ReqCreateSchedulerProfile.d.ts +0 -58
- package/dist/models/ReqCreateSystem.d.ts +0 -226
package/dist/apis/SystemsApi.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Tapis Systems API
|
|
6
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: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.6.3
|
|
9
9
|
* Contact: cicsupport@tacc.utexas.edu
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -70,7 +70,6 @@ var SystemsApi = /** @class */ (function (_super) {
|
|
|
70
70
|
}
|
|
71
71
|
/**
|
|
72
72
|
* Change owner of a system.
|
|
73
|
-
* Change system owner
|
|
74
73
|
*/
|
|
75
74
|
SystemsApi.prototype.changeSystemOwnerRaw = function (requestParameters, initOverrides) {
|
|
76
75
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -104,7 +103,6 @@ var SystemsApi = /** @class */ (function (_super) {
|
|
|
104
103
|
};
|
|
105
104
|
/**
|
|
106
105
|
* Change owner of a system.
|
|
107
|
-
* Change system owner
|
|
108
106
|
*/
|
|
109
107
|
SystemsApi.prototype.changeSystemOwner = function (requestParameters, initOverrides) {
|
|
110
108
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -121,8 +119,7 @@ var SystemsApi = /** @class */ (function (_super) {
|
|
|
121
119
|
});
|
|
122
120
|
};
|
|
123
121
|
/**
|
|
124
|
-
* Create a system using a request body. System name must be unique within a tenant and can be composed of alphanumeric characters and the following special characters [-._~]. Name must begin with an
|
|
125
|
-
* Create a system
|
|
122
|
+
* Create a system using a request body. System name must be unique within a tenant and can be composed of alphanumeric characters and the following special characters [-._~]. Name must begin with an alphanumeric character and can be no more than 80 characters in length. Description is optional with a maximum length of 2048 characters. The attribute *host* represents a host name, IP address, Globus Endpoint Id or Globus Collection Id. The attribute *effectiveUserId* determines the host login user, the user used to access the underlying host. The attribute can be set to a static string indicating a specific user (such as a service account) or dynamically specified as *${apiUserId}*. For the case of *${apiUserId}*, the service resolves the variable by extracting the identity from the request to the service (i.e. the JWT) and applying a mapping to a host login user if such a mapping has been provided. If no mapping is provided, then the extracted identity is taken to be the host login user. If the *effectiveUserId* is static (i.e. not *${apiUserId}*) then credentials may optionally be provided in the *authnCredential* attribute of the request body. The Systems service does not store the secrets in its database, they are persisted in the Security Kernel. By default for LINUX and S3 type systems credentials provided are verified. Use query parameter skipCredentialCheck=true to bypass initial verification of credentials. The attribute *rootDir* serves as an effective root directory when operating on files through the Tapis Files service. All paths are relative to this directory when using Files to list, copy, move, mkdir, etc. Required for systems of type LINUX or IRODS. Supports the following variables which are resolved at create time: *${apiUserId}*, *${tenant}* and *${owner}*. May not be updated. Contact support to request a change. There is also a special macro available for *rootDir* that may be used under certain conditions when a system is first created. The macro name is HOST_EVAL. The syntax for the macro is HOST_EVAL($var), where *var* is the environment variable to be evaluated on the system host when the create request is made. Note that the $ character preceding the environment variable name is optional. If after resolution the final path does not have the required leading slash (/) to make it an absolute path, then one will be prepended. The following conditions must be met in order to use the macro - System must be of type LINUX - Credentials must be provided when system is created. - Macro HOST_EVAL() must only appear once and must be the first element of the path. Including a leading slash is optional. - The *effectiveUserId* for the system must be static. Note that *effectiveUserId* may be set to *${owner}*. Here are some examples - HOST_EVAL($SCRATCH) - HOST_EVAL($HOME) - /HOST_EVAL(MY_ROOT_DIR)/scratch - /HOST_EVAL($PROJECT_HOME)/projects/${tenant}/${owner} Note that certain attributes in the request body (such as tenant) are allowed but ignored so that the JSON result returned by a GET may be modified and used when making a POST request to create a system. The attributes that are allowed but ignored are - tenant - uuid - deleted - created - updated
|
|
126
123
|
*/
|
|
127
124
|
SystemsApi.prototype.createSystemRaw = function (requestParameters, initOverrides) {
|
|
128
125
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -130,8 +127,8 @@ var SystemsApi = /** @class */ (function (_super) {
|
|
|
130
127
|
return __generator(this, function (_a) {
|
|
131
128
|
switch (_a.label) {
|
|
132
129
|
case 0:
|
|
133
|
-
if (requestParameters.
|
|
134
|
-
throw new runtime.RequiredError('
|
|
130
|
+
if (requestParameters.reqPostSystem === null || requestParameters.reqPostSystem === undefined) {
|
|
131
|
+
throw new runtime.RequiredError('reqPostSystem', 'Required parameter requestParameters.reqPostSystem was null or undefined when calling createSystem.');
|
|
135
132
|
}
|
|
136
133
|
queryParameters = {};
|
|
137
134
|
if (requestParameters.skipCredentialCheck !== undefined) {
|
|
@@ -147,7 +144,7 @@ var SystemsApi = /** @class */ (function (_super) {
|
|
|
147
144
|
method: 'POST',
|
|
148
145
|
headers: headerParameters,
|
|
149
146
|
query: queryParameters,
|
|
150
|
-
body: models_1.
|
|
147
|
+
body: models_1.ReqPostSystemToJSON(requestParameters.reqPostSystem),
|
|
151
148
|
}, initOverrides)];
|
|
152
149
|
case 1:
|
|
153
150
|
response = _a.sent();
|
|
@@ -157,8 +154,7 @@ var SystemsApi = /** @class */ (function (_super) {
|
|
|
157
154
|
});
|
|
158
155
|
};
|
|
159
156
|
/**
|
|
160
|
-
* Create a system using a request body. System name must be unique within a tenant and can be composed of alphanumeric characters and the following special characters [-._~]. Name must begin with an
|
|
161
|
-
* Create a system
|
|
157
|
+
* Create a system using a request body. System name must be unique within a tenant and can be composed of alphanumeric characters and the following special characters [-._~]. Name must begin with an alphanumeric character and can be no more than 80 characters in length. Description is optional with a maximum length of 2048 characters. The attribute *host* represents a host name, IP address, Globus Endpoint Id or Globus Collection Id. The attribute *effectiveUserId* determines the host login user, the user used to access the underlying host. The attribute can be set to a static string indicating a specific user (such as a service account) or dynamically specified as *${apiUserId}*. For the case of *${apiUserId}*, the service resolves the variable by extracting the identity from the request to the service (i.e. the JWT) and applying a mapping to a host login user if such a mapping has been provided. If no mapping is provided, then the extracted identity is taken to be the host login user. If the *effectiveUserId* is static (i.e. not *${apiUserId}*) then credentials may optionally be provided in the *authnCredential* attribute of the request body. The Systems service does not store the secrets in its database, they are persisted in the Security Kernel. By default for LINUX and S3 type systems credentials provided are verified. Use query parameter skipCredentialCheck=true to bypass initial verification of credentials. The attribute *rootDir* serves as an effective root directory when operating on files through the Tapis Files service. All paths are relative to this directory when using Files to list, copy, move, mkdir, etc. Required for systems of type LINUX or IRODS. Supports the following variables which are resolved at create time: *${apiUserId}*, *${tenant}* and *${owner}*. May not be updated. Contact support to request a change. There is also a special macro available for *rootDir* that may be used under certain conditions when a system is first created. The macro name is HOST_EVAL. The syntax for the macro is HOST_EVAL($var), where *var* is the environment variable to be evaluated on the system host when the create request is made. Note that the $ character preceding the environment variable name is optional. If after resolution the final path does not have the required leading slash (/) to make it an absolute path, then one will be prepended. The following conditions must be met in order to use the macro - System must be of type LINUX - Credentials must be provided when system is created. - Macro HOST_EVAL() must only appear once and must be the first element of the path. Including a leading slash is optional. - The *effectiveUserId* for the system must be static. Note that *effectiveUserId* may be set to *${owner}*. Here are some examples - HOST_EVAL($SCRATCH) - HOST_EVAL($HOME) - /HOST_EVAL(MY_ROOT_DIR)/scratch - /HOST_EVAL($PROJECT_HOME)/projects/${tenant}/${owner} Note that certain attributes in the request body (such as tenant) are allowed but ignored so that the JSON result returned by a GET may be modified and used when making a POST request to create a system. The attributes that are allowed but ignored are - tenant - uuid - deleted - created - updated
|
|
162
158
|
*/
|
|
163
159
|
SystemsApi.prototype.createSystem = function (requestParameters, initOverrides) {
|
|
164
160
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -176,7 +172,6 @@ var SystemsApi = /** @class */ (function (_super) {
|
|
|
176
172
|
};
|
|
177
173
|
/**
|
|
178
174
|
* Mark a system as deleted. System will not appear in queries unless explicitly requested.
|
|
179
|
-
* Mark a system as deleted
|
|
180
175
|
*/
|
|
181
176
|
SystemsApi.prototype.deleteSystemRaw = function (requestParameters, initOverrides) {
|
|
182
177
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -207,7 +202,6 @@ var SystemsApi = /** @class */ (function (_super) {
|
|
|
207
202
|
};
|
|
208
203
|
/**
|
|
209
204
|
* Mark a system as deleted. System will not appear in queries unless explicitly requested.
|
|
210
|
-
* Mark a system as deleted
|
|
211
205
|
*/
|
|
212
206
|
SystemsApi.prototype.deleteSystem = function (requestParameters, initOverrides) {
|
|
213
207
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -225,7 +219,6 @@ var SystemsApi = /** @class */ (function (_super) {
|
|
|
225
219
|
};
|
|
226
220
|
/**
|
|
227
221
|
* Mark a system unavailable for use.
|
|
228
|
-
* Mark a system unavailabe for use
|
|
229
222
|
*/
|
|
230
223
|
SystemsApi.prototype.disableSystemRaw = function (requestParameters, initOverrides) {
|
|
231
224
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -256,7 +249,6 @@ var SystemsApi = /** @class */ (function (_super) {
|
|
|
256
249
|
};
|
|
257
250
|
/**
|
|
258
251
|
* Mark a system unavailable for use.
|
|
259
|
-
* Mark a system unavailabe for use
|
|
260
252
|
*/
|
|
261
253
|
SystemsApi.prototype.disableSystem = function (requestParameters, initOverrides) {
|
|
262
254
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -274,7 +266,6 @@ var SystemsApi = /** @class */ (function (_super) {
|
|
|
274
266
|
};
|
|
275
267
|
/**
|
|
276
268
|
* Mark a system available for use.
|
|
277
|
-
* Mark a system availabe for use
|
|
278
269
|
*/
|
|
279
270
|
SystemsApi.prototype.enableSystemRaw = function (requestParameters, initOverrides) {
|
|
280
271
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -305,7 +296,6 @@ var SystemsApi = /** @class */ (function (_super) {
|
|
|
305
296
|
};
|
|
306
297
|
/**
|
|
307
298
|
* Mark a system available for use.
|
|
308
|
-
* Mark a system availabe for use
|
|
309
299
|
*/
|
|
310
300
|
SystemsApi.prototype.enableSystem = function (requestParameters, initOverrides) {
|
|
311
301
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -322,8 +312,54 @@ var SystemsApi = /** @class */ (function (_super) {
|
|
|
322
312
|
});
|
|
323
313
|
};
|
|
324
314
|
/**
|
|
325
|
-
* Retrieve
|
|
326
|
-
|
|
315
|
+
* Retrieve history of changes for a given systemId.
|
|
316
|
+
*/
|
|
317
|
+
SystemsApi.prototype.getHistoryRaw = function (requestParameters, initOverrides) {
|
|
318
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
319
|
+
var queryParameters, headerParameters, response;
|
|
320
|
+
return __generator(this, function (_a) {
|
|
321
|
+
switch (_a.label) {
|
|
322
|
+
case 0:
|
|
323
|
+
if (requestParameters.systemId === null || requestParameters.systemId === undefined) {
|
|
324
|
+
throw new runtime.RequiredError('systemId', 'Required parameter requestParameters.systemId was null or undefined when calling getHistory.');
|
|
325
|
+
}
|
|
326
|
+
queryParameters = {};
|
|
327
|
+
headerParameters = {};
|
|
328
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
329
|
+
headerParameters["X-Tapis-Token"] = this.configuration.apiKey("X-Tapis-Token"); // TapisJWT authentication
|
|
330
|
+
}
|
|
331
|
+
return [4 /*yield*/, this.request({
|
|
332
|
+
path: "/v3/systems/{systemId}/history".replace("{" + "systemId" + "}", encodeURIComponent(String(requestParameters.systemId))),
|
|
333
|
+
method: 'GET',
|
|
334
|
+
headers: headerParameters,
|
|
335
|
+
query: queryParameters,
|
|
336
|
+
}, initOverrides)];
|
|
337
|
+
case 1:
|
|
338
|
+
response = _a.sent();
|
|
339
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return models_1.RespSystemHistoryFromJSON(jsonValue); })];
|
|
340
|
+
}
|
|
341
|
+
});
|
|
342
|
+
});
|
|
343
|
+
};
|
|
344
|
+
/**
|
|
345
|
+
* Retrieve history of changes for a given systemId.
|
|
346
|
+
*/
|
|
347
|
+
SystemsApi.prototype.getHistory = function (requestParameters, initOverrides) {
|
|
348
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
349
|
+
var response;
|
|
350
|
+
return __generator(this, function (_a) {
|
|
351
|
+
switch (_a.label) {
|
|
352
|
+
case 0: return [4 /*yield*/, this.getHistoryRaw(requestParameters, initOverrides)];
|
|
353
|
+
case 1:
|
|
354
|
+
response = _a.sent();
|
|
355
|
+
return [4 /*yield*/, response.value()];
|
|
356
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
357
|
+
}
|
|
358
|
+
});
|
|
359
|
+
});
|
|
360
|
+
};
|
|
361
|
+
/**
|
|
362
|
+
* Retrieve information for a system given the system Id. Use query parameter *authnMethod* to override the default authentication method. Certain Tapis services or a tenant administrator may use the query parameter *impersonationId* to be used in place of the requesting Tapis user. Tapis will use this user Id when performing authorization and resolving the *effectiveUserId*. Certain Tapis services may use the query parameter *sharedAppCtx* to indicate that the request is in a shared application context.
|
|
327
363
|
*/
|
|
328
364
|
SystemsApi.prototype.getSystemRaw = function (requestParameters, initOverrides) {
|
|
329
365
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -335,9 +371,6 @@ var SystemsApi = /** @class */ (function (_super) {
|
|
|
335
371
|
throw new runtime.RequiredError('systemId', 'Required parameter requestParameters.systemId was null or undefined when calling getSystem.');
|
|
336
372
|
}
|
|
337
373
|
queryParameters = {};
|
|
338
|
-
if (requestParameters.returnCredentials !== undefined) {
|
|
339
|
-
queryParameters['returnCredentials'] = requestParameters.returnCredentials;
|
|
340
|
-
}
|
|
341
374
|
if (requestParameters.authnMethod !== undefined) {
|
|
342
375
|
queryParameters['authnMethod'] = requestParameters.authnMethod;
|
|
343
376
|
}
|
|
@@ -347,6 +380,18 @@ var SystemsApi = /** @class */ (function (_super) {
|
|
|
347
380
|
if (requestParameters.select !== undefined) {
|
|
348
381
|
queryParameters['select'] = requestParameters.select;
|
|
349
382
|
}
|
|
383
|
+
if (requestParameters.returnCredentials !== undefined) {
|
|
384
|
+
queryParameters['returnCredentials'] = requestParameters.returnCredentials;
|
|
385
|
+
}
|
|
386
|
+
if (requestParameters.impersonationId !== undefined) {
|
|
387
|
+
queryParameters['impersonationId'] = requestParameters.impersonationId;
|
|
388
|
+
}
|
|
389
|
+
if (requestParameters.sharedAppCtx !== undefined) {
|
|
390
|
+
queryParameters['sharedAppCtx'] = requestParameters.sharedAppCtx;
|
|
391
|
+
}
|
|
392
|
+
if (requestParameters.resourceTenant !== undefined) {
|
|
393
|
+
queryParameters['resourceTenant'] = requestParameters.resourceTenant;
|
|
394
|
+
}
|
|
350
395
|
headerParameters = {};
|
|
351
396
|
if (this.configuration && this.configuration.apiKey) {
|
|
352
397
|
headerParameters["X-Tapis-Token"] = this.configuration.apiKey("X-Tapis-Token"); // TapisJWT authentication
|
|
@@ -365,8 +410,7 @@ var SystemsApi = /** @class */ (function (_super) {
|
|
|
365
410
|
});
|
|
366
411
|
};
|
|
367
412
|
/**
|
|
368
|
-
* Retrieve information for a system given the system
|
|
369
|
-
* Retrieve system details
|
|
413
|
+
* Retrieve information for a system given the system Id. Use query parameter *authnMethod* to override the default authentication method. Certain Tapis services or a tenant administrator may use the query parameter *impersonationId* to be used in place of the requesting Tapis user. Tapis will use this user Id when performing authorization and resolving the *effectiveUserId*. Certain Tapis services may use the query parameter *sharedAppCtx* to indicate that the request is in a shared application context.
|
|
370
414
|
*/
|
|
371
415
|
SystemsApi.prototype.getSystem = function (requestParameters, initOverrides) {
|
|
372
416
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -383,8 +427,7 @@ var SystemsApi = /** @class */ (function (_super) {
|
|
|
383
427
|
});
|
|
384
428
|
};
|
|
385
429
|
/**
|
|
386
|
-
* Retrieve list of systems.
|
|
387
|
-
* Retrieve systems
|
|
430
|
+
* Retrieve list of systems. Use *listType*, *search* and *select* query parameters to limit results. Query parameter *listType* allows for filtering results based on authorization. Options for *listType* are - *OWNED* Include only items owned by requester (Default) - *SHARED_PUBLIC* Include only items shared publicly - *ALL* Include all items requester is authorized to view. Includes check for READ or MODIFY permission. Certain Tapis services or a tenant administrator may use the query parameter *impersonationId* to be used in place of the requesting Tapis user. Tapis will use this user Id when performing authorization and resolving the *effectiveUserId*.
|
|
388
431
|
*/
|
|
389
432
|
SystemsApi.prototype.getSystemsRaw = function (requestParameters, initOverrides) {
|
|
390
433
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -396,6 +439,9 @@ var SystemsApi = /** @class */ (function (_super) {
|
|
|
396
439
|
if (requestParameters.search !== undefined) {
|
|
397
440
|
queryParameters['search'] = requestParameters.search;
|
|
398
441
|
}
|
|
442
|
+
if (requestParameters.listType !== undefined) {
|
|
443
|
+
queryParameters['listType'] = requestParameters.listType;
|
|
444
|
+
}
|
|
399
445
|
if (requestParameters.limit !== undefined) {
|
|
400
446
|
queryParameters['limit'] = requestParameters.limit;
|
|
401
447
|
}
|
|
@@ -417,6 +463,9 @@ var SystemsApi = /** @class */ (function (_super) {
|
|
|
417
463
|
if (requestParameters.showDeleted !== undefined) {
|
|
418
464
|
queryParameters['showDeleted'] = requestParameters.showDeleted;
|
|
419
465
|
}
|
|
466
|
+
if (requestParameters.impersonationId !== undefined) {
|
|
467
|
+
queryParameters['impersonationId'] = requestParameters.impersonationId;
|
|
468
|
+
}
|
|
420
469
|
headerParameters = {};
|
|
421
470
|
if (this.configuration && this.configuration.apiKey) {
|
|
422
471
|
headerParameters["X-Tapis-Token"] = this.configuration.apiKey("X-Tapis-Token"); // TapisJWT authentication
|
|
@@ -435,8 +484,7 @@ var SystemsApi = /** @class */ (function (_super) {
|
|
|
435
484
|
});
|
|
436
485
|
};
|
|
437
486
|
/**
|
|
438
|
-
* Retrieve list of systems.
|
|
439
|
-
* Retrieve systems
|
|
487
|
+
* Retrieve list of systems. Use *listType*, *search* and *select* query parameters to limit results. Query parameter *listType* allows for filtering results based on authorization. Options for *listType* are - *OWNED* Include only items owned by requester (Default) - *SHARED_PUBLIC* Include only items shared publicly - *ALL* Include all items requester is authorized to view. Includes check for READ or MODIFY permission. Certain Tapis services or a tenant administrator may use the query parameter *impersonationId* to be used in place of the requesting Tapis user. Tapis will use this user Id when performing authorization and resolving the *effectiveUserId*.
|
|
440
488
|
*/
|
|
441
489
|
SystemsApi.prototype.getSystems = function (requestParameters, initOverrides) {
|
|
442
490
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -454,7 +502,6 @@ var SystemsApi = /** @class */ (function (_super) {
|
|
|
454
502
|
};
|
|
455
503
|
/**
|
|
456
504
|
* Check if a system is currently enabled, i.e. available for use.
|
|
457
|
-
* Check if system is currently enabled
|
|
458
505
|
*/
|
|
459
506
|
SystemsApi.prototype.isEnabledRaw = function (requestParameters, initOverrides) {
|
|
460
507
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -485,7 +532,6 @@ var SystemsApi = /** @class */ (function (_super) {
|
|
|
485
532
|
};
|
|
486
533
|
/**
|
|
487
534
|
* Check if a system is currently enabled, i.e. available for use.
|
|
488
|
-
* Check if system is currently enabled
|
|
489
535
|
*/
|
|
490
536
|
SystemsApi.prototype.isEnabled = function (requestParameters, initOverrides) {
|
|
491
537
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -503,7 +549,6 @@ var SystemsApi = /** @class */ (function (_super) {
|
|
|
503
549
|
};
|
|
504
550
|
/**
|
|
505
551
|
* *WARNING Capability constraint matching is not yet supported.* Retrieve details for systems. Use request body to specify constraint conditions as an SQL-like WHERE clause.
|
|
506
|
-
* Retrieve systems satisfying specified constraint conditions (WARNING - not yet supported)
|
|
507
552
|
*/
|
|
508
553
|
SystemsApi.prototype.matchConstraintsRaw = function (requestParameters, initOverrides) {
|
|
509
554
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -536,7 +581,6 @@ var SystemsApi = /** @class */ (function (_super) {
|
|
|
536
581
|
};
|
|
537
582
|
/**
|
|
538
583
|
* *WARNING Capability constraint matching is not yet supported.* Retrieve details for systems. Use request body to specify constraint conditions as an SQL-like WHERE clause.
|
|
539
|
-
* Retrieve systems satisfying specified constraint conditions (WARNING - not yet supported)
|
|
540
584
|
*/
|
|
541
585
|
SystemsApi.prototype.matchConstraints = function (requestParameters, initOverrides) {
|
|
542
586
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -553,8 +597,7 @@ var SystemsApi = /** @class */ (function (_super) {
|
|
|
553
597
|
});
|
|
554
598
|
};
|
|
555
599
|
/**
|
|
556
|
-
* Update selected attributes of a system. Request body may only contain updatable attributes. System must exist. Attributes that may not be updated via PATCH are - id - systemType - owner - enabled - bucketName - rootDir -
|
|
557
|
-
* Update selected attributes of a system
|
|
600
|
+
* Update selected attributes of a system. Request body may only contain updatable attributes. System must exist. Attributes that may not be updated via PATCH are - id - systemType - owner - enabled - bucketName - rootDir - canExec Note that the attributes owner and enabled may be modified using other endpoints.
|
|
558
601
|
*/
|
|
559
602
|
SystemsApi.prototype.patchSystemRaw = function (requestParameters, initOverrides) {
|
|
560
603
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -589,8 +632,7 @@ var SystemsApi = /** @class */ (function (_super) {
|
|
|
589
632
|
});
|
|
590
633
|
};
|
|
591
634
|
/**
|
|
592
|
-
* Update selected attributes of a system. Request body may only contain updatable attributes. System must exist. Attributes that may not be updated via PATCH are - id - systemType - owner - enabled - bucketName - rootDir -
|
|
593
|
-
* Update selected attributes of a system
|
|
635
|
+
* Update selected attributes of a system. Request body may only contain updatable attributes. System must exist. Attributes that may not be updated via PATCH are - id - systemType - owner - enabled - bucketName - rootDir - canExec Note that the attributes owner and enabled may be modified using other endpoints.
|
|
594
636
|
*/
|
|
595
637
|
SystemsApi.prototype.patchSystem = function (requestParameters, initOverrides) {
|
|
596
638
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -607,8 +649,7 @@ var SystemsApi = /** @class */ (function (_super) {
|
|
|
607
649
|
});
|
|
608
650
|
};
|
|
609
651
|
/**
|
|
610
|
-
* Update all updatable attributes of a system using a request body identical to POST. System must exist.
|
|
611
|
-
* Update all updatable attributes of a system
|
|
652
|
+
* Update all updatable attributes of a system using a request body identical to POST. System must exist. If the *effectiveUserId* is static (i.e. not *${apiUserId}*) then credentials may optionally be provided in the *authnCredential* attribute of the request body. The Systems service does not store the secrets in its database, they are persisted in the Security Kernel. By default for LINUX and S3 type systems credentials provided are verified. Use query parameter skipCredentialCheck=true to bypass initial verification of credentials. Note that certain attributes in the request body (such as tenant) are allowed but ignored so that the JSON result returned by a GET may be modified and used when making a PUT request to update a system. The attributes that are allowed but ignored for both PUT and POST are - tenant - uuid - deleted - created - updated In addition for a PUT operation the following non-updatable attributes are allowed but ignored - id - systemType - owner - enabled - bucketName - rootDir - canExec Note that the attributes owner and enabled may be modified using other endpoints.
|
|
612
653
|
*/
|
|
613
654
|
SystemsApi.prototype.putSystemRaw = function (requestParameters, initOverrides) {
|
|
614
655
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -646,8 +687,7 @@ var SystemsApi = /** @class */ (function (_super) {
|
|
|
646
687
|
});
|
|
647
688
|
};
|
|
648
689
|
/**
|
|
649
|
-
* Update all updatable attributes of a system using a request body identical to POST. System must exist.
|
|
650
|
-
* Update all updatable attributes of a system
|
|
690
|
+
* Update all updatable attributes of a system using a request body identical to POST. System must exist. If the *effectiveUserId* is static (i.e. not *${apiUserId}*) then credentials may optionally be provided in the *authnCredential* attribute of the request body. The Systems service does not store the secrets in its database, they are persisted in the Security Kernel. By default for LINUX and S3 type systems credentials provided are verified. Use query parameter skipCredentialCheck=true to bypass initial verification of credentials. Note that certain attributes in the request body (such as tenant) are allowed but ignored so that the JSON result returned by a GET may be modified and used when making a PUT request to update a system. The attributes that are allowed but ignored for both PUT and POST are - tenant - uuid - deleted - created - updated In addition for a PUT operation the following non-updatable attributes are allowed but ignored - id - systemType - owner - enabled - bucketName - rootDir - canExec Note that the attributes owner and enabled may be modified using other endpoints.
|
|
651
691
|
*/
|
|
652
692
|
SystemsApi.prototype.putSystem = function (requestParameters, initOverrides) {
|
|
653
693
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -664,8 +704,7 @@ var SystemsApi = /** @class */ (function (_super) {
|
|
|
664
704
|
});
|
|
665
705
|
};
|
|
666
706
|
/**
|
|
667
|
-
* Retrieve details for systems. Use query parameters to specify search conditions. For example owner.eq=jdoe&port.gt=1024
|
|
668
|
-
* Retrieve list of systems matching search conditions specified as query parameters
|
|
707
|
+
* Retrieve details for systems. Use query parameters to specify search conditions. For example owner.eq=jdoe&port.gt=1024 Use *listType* and *select* query parameters to limit results. Query parameter *listType* allows for filtering results based on authorization. Options for *listType* are - *OWNED* Include only items owned by requester (Default) - *SHARED_PUBLIC* Include only items shared publicly - *ALL* Include all items requester is authorized to view. Includes check for READ or MODIFY permission.
|
|
669
708
|
*/
|
|
670
709
|
SystemsApi.prototype.searchSystemsQueryParametersRaw = function (requestParameters, initOverrides) {
|
|
671
710
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -677,6 +716,9 @@ var SystemsApi = /** @class */ (function (_super) {
|
|
|
677
716
|
if (requestParameters.freeFormParameterName !== undefined) {
|
|
678
717
|
queryParameters['freeFormParameterName'] = requestParameters.freeFormParameterName;
|
|
679
718
|
}
|
|
719
|
+
if (requestParameters.listType !== undefined) {
|
|
720
|
+
queryParameters['listType'] = requestParameters.listType;
|
|
721
|
+
}
|
|
680
722
|
if (requestParameters.limit !== undefined) {
|
|
681
723
|
queryParameters['limit'] = requestParameters.limit;
|
|
682
724
|
}
|
|
@@ -713,8 +755,7 @@ var SystemsApi = /** @class */ (function (_super) {
|
|
|
713
755
|
});
|
|
714
756
|
};
|
|
715
757
|
/**
|
|
716
|
-
* Retrieve details for systems. Use query parameters to specify search conditions. For example owner.eq=jdoe&port.gt=1024
|
|
717
|
-
* Retrieve list of systems matching search conditions specified as query parameters
|
|
758
|
+
* Retrieve details for systems. Use query parameters to specify search conditions. For example owner.eq=jdoe&port.gt=1024 Use *listType* and *select* query parameters to limit results. Query parameter *listType* allows for filtering results based on authorization. Options for *listType* are - *OWNED* Include only items owned by requester (Default) - *SHARED_PUBLIC* Include only items shared publicly - *ALL* Include all items requester is authorized to view. Includes check for READ or MODIFY permission.
|
|
718
759
|
*/
|
|
719
760
|
SystemsApi.prototype.searchSystemsQueryParameters = function (requestParameters, initOverrides) {
|
|
720
761
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -731,8 +772,7 @@ var SystemsApi = /** @class */ (function (_super) {
|
|
|
731
772
|
});
|
|
732
773
|
};
|
|
733
774
|
/**
|
|
734
|
-
* Retrieve details for systems. Use request body to specify SQL-like search conditions.
|
|
735
|
-
* Retrieve list of systems matching search conditions
|
|
775
|
+
* Retrieve details for systems. Use request body to specify SQL-like search conditions. Use *listType* and *select* query parameters to limit results. Query parameter *listType* allows for filtering results based on authorization. Options for *listType* are - *OWNED* Include only items owned by requester (Default) - *SHARED_PUBLIC* Include only items shared publicly - *ALL* Include all items requester is authorized to view. Includes check for READ or MODIFY permission.
|
|
736
776
|
*/
|
|
737
777
|
SystemsApi.prototype.searchSystemsRequestBodyRaw = function (requestParameters, initOverrides) {
|
|
738
778
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -744,6 +784,9 @@ var SystemsApi = /** @class */ (function (_super) {
|
|
|
744
784
|
throw new runtime.RequiredError('reqSearchSystems', 'Required parameter requestParameters.reqSearchSystems was null or undefined when calling searchSystemsRequestBody.');
|
|
745
785
|
}
|
|
746
786
|
queryParameters = {};
|
|
787
|
+
if (requestParameters.listType !== undefined) {
|
|
788
|
+
queryParameters['listType'] = requestParameters.listType;
|
|
789
|
+
}
|
|
747
790
|
if (requestParameters.limit !== undefined) {
|
|
748
791
|
queryParameters['limit'] = requestParameters.limit;
|
|
749
792
|
}
|
|
@@ -782,8 +825,7 @@ var SystemsApi = /** @class */ (function (_super) {
|
|
|
782
825
|
});
|
|
783
826
|
};
|
|
784
827
|
/**
|
|
785
|
-
* Retrieve details for systems. Use request body to specify SQL-like search conditions.
|
|
786
|
-
* Retrieve list of systems matching search conditions
|
|
828
|
+
* Retrieve details for systems. Use request body to specify SQL-like search conditions. Use *listType* and *select* query parameters to limit results. Query parameter *listType* allows for filtering results based on authorization. Options for *listType* are - *OWNED* Include only items owned by requester (Default) - *SHARED_PUBLIC* Include only items shared publicly - *ALL* Include all items requester is authorized to view. Includes check for READ or MODIFY permission.
|
|
787
829
|
*/
|
|
788
830
|
SystemsApi.prototype.searchSystemsRequestBody = function (requestParameters, initOverrides) {
|
|
789
831
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -801,7 +843,6 @@ var SystemsApi = /** @class */ (function (_super) {
|
|
|
801
843
|
};
|
|
802
844
|
/**
|
|
803
845
|
* Mark a system as not deleted. System will appear in queries.
|
|
804
|
-
* Mark a system as not deleted
|
|
805
846
|
*/
|
|
806
847
|
SystemsApi.prototype.undeleteSystemRaw = function (requestParameters, initOverrides) {
|
|
807
848
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -832,7 +873,6 @@ var SystemsApi = /** @class */ (function (_super) {
|
|
|
832
873
|
};
|
|
833
874
|
/**
|
|
834
875
|
* Mark a system as not deleted. System will appear in queries.
|
|
835
|
-
* Mark a system as not deleted
|
|
836
876
|
*/
|
|
837
877
|
SystemsApi.prototype.undeleteSystem = function (requestParameters, initOverrides) {
|
|
838
878
|
return __awaiter(this, void 0, void 0, function () {
|
package/dist/apis/index.d.ts
CHANGED
package/dist/apis/index.js
CHANGED
|
@@ -5,8 +5,10 @@ function __export(m) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
/* tslint:disable */
|
|
7
7
|
/* eslint-disable */
|
|
8
|
+
__export(require("./ChildSystemsApi"));
|
|
8
9
|
__export(require("./CredentialsApi"));
|
|
9
10
|
__export(require("./GeneralApi"));
|
|
10
11
|
__export(require("./PermissionsApi"));
|
|
11
12
|
__export(require("./SchedulerProfilesApi"));
|
|
13
|
+
__export(require("./SharingApi"));
|
|
12
14
|
__export(require("./SystemsApi"));
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Tapis Systems API
|
|
3
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: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.6.3
|
|
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,6 +18,7 @@ export declare enum AuthnEnum {
|
|
|
18
18
|
Password = "PASSWORD",
|
|
19
19
|
PkiKeys = "PKI_KEYS",
|
|
20
20
|
AccessKey = "ACCESS_KEY",
|
|
21
|
+
Token = "TOKEN",
|
|
21
22
|
Cert = "CERT"
|
|
22
23
|
}
|
|
23
24
|
export declare function AuthnEnumFromJSON(json: any): AuthnEnum;
|
package/dist/models/AuthnEnum.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Tapis Systems API
|
|
6
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: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.6.3
|
|
9
9
|
* Contact: cicsupport@tacc.utexas.edu
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -23,6 +23,7 @@ var AuthnEnum;
|
|
|
23
23
|
AuthnEnum["Password"] = "PASSWORD";
|
|
24
24
|
AuthnEnum["PkiKeys"] = "PKI_KEYS";
|
|
25
25
|
AuthnEnum["AccessKey"] = "ACCESS_KEY";
|
|
26
|
+
AuthnEnum["Token"] = "TOKEN";
|
|
26
27
|
AuthnEnum["Cert"] = "CERT";
|
|
27
28
|
})(AuthnEnum = exports.AuthnEnum || (exports.AuthnEnum = {}));
|
|
28
29
|
function AuthnEnumFromJSON(json) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Tapis Systems API
|
|
3
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: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.6.3
|
|
6
6
|
* Contact: cicsupport@tacc.utexas.edu
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Tapis Systems API
|
|
6
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: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.6.3
|
|
9
9
|
* Contact: cicsupport@tacc.utexas.edu
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Tapis Systems API
|
|
3
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: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.6.3
|
|
6
6
|
* Contact: cicsupport@tacc.utexas.edu
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Tapis Systems API
|
|
6
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: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.6.3
|
|
9
9
|
* Contact: cicsupport@tacc.utexas.edu
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Tapis Systems API
|
|
3
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: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.6.3
|
|
6
6
|
* Contact: cicsupport@tacc.utexas.edu
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -22,6 +22,12 @@ export interface Credential {
|
|
|
22
22
|
* @memberof Credential
|
|
23
23
|
*/
|
|
24
24
|
authnMethod?: AuthnEnum;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof Credential
|
|
29
|
+
*/
|
|
30
|
+
loginUser?: string;
|
|
25
31
|
/**
|
|
26
32
|
*
|
|
27
33
|
* @type {string}
|
|
@@ -52,6 +58,18 @@ export interface Credential {
|
|
|
52
58
|
* @memberof Credential
|
|
53
59
|
*/
|
|
54
60
|
accessSecret?: string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof Credential
|
|
65
|
+
*/
|
|
66
|
+
accessToken?: string;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof Credential
|
|
71
|
+
*/
|
|
72
|
+
refreshToken?: string;
|
|
55
73
|
/**
|
|
56
74
|
*
|
|
57
75
|
* @type {string}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Tapis Systems API
|
|
6
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: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.6.3
|
|
9
9
|
* Contact: cicsupport@tacc.utexas.edu
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -25,11 +25,14 @@ function CredentialFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
25
25
|
}
|
|
26
26
|
return {
|
|
27
27
|
'authnMethod': !runtime_1.exists(json, 'authnMethod') ? undefined : _1.AuthnEnumFromJSON(json['authnMethod']),
|
|
28
|
+
'loginUser': !runtime_1.exists(json, 'loginUser') ? undefined : json['loginUser'],
|
|
28
29
|
'password': !runtime_1.exists(json, 'password') ? undefined : json['password'],
|
|
29
30
|
'privateKey': !runtime_1.exists(json, 'privateKey') ? undefined : json['privateKey'],
|
|
30
31
|
'publicKey': !runtime_1.exists(json, 'publicKey') ? undefined : json['publicKey'],
|
|
31
32
|
'accessKey': !runtime_1.exists(json, 'accessKey') ? undefined : json['accessKey'],
|
|
32
33
|
'accessSecret': !runtime_1.exists(json, 'accessSecret') ? undefined : json['accessSecret'],
|
|
34
|
+
'accessToken': !runtime_1.exists(json, 'accessToken') ? undefined : json['accessToken'],
|
|
35
|
+
'refreshToken': !runtime_1.exists(json, 'refreshToken') ? undefined : json['refreshToken'],
|
|
33
36
|
'certificate': !runtime_1.exists(json, 'certificate') ? undefined : json['certificate'],
|
|
34
37
|
};
|
|
35
38
|
}
|
|
@@ -43,11 +46,14 @@ function CredentialToJSON(value) {
|
|
|
43
46
|
}
|
|
44
47
|
return {
|
|
45
48
|
'authnMethod': _1.AuthnEnumToJSON(value.authnMethod),
|
|
49
|
+
'loginUser': value.loginUser,
|
|
46
50
|
'password': value.password,
|
|
47
51
|
'privateKey': value.privateKey,
|
|
48
52
|
'publicKey': value.publicKey,
|
|
49
53
|
'accessKey': value.accessKey,
|
|
50
54
|
'accessSecret': value.accessSecret,
|
|
55
|
+
'accessToken': value.accessToken,
|
|
56
|
+
'refreshToken': value.refreshToken,
|
|
51
57
|
'certificate': value.certificate,
|
|
52
58
|
};
|
|
53
59
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Tapis Systems API
|
|
3
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: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.6.3
|
|
6
6
|
* Contact: cicsupport@tacc.utexas.edu
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Tapis Systems API
|
|
6
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: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.6.3
|
|
9
9
|
* Contact: cicsupport@tacc.utexas.edu
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Tapis Systems API
|
|
3
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: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.6.3
|
|
6
6
|
* Contact: cicsupport@tacc.utexas.edu
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Tapis Systems API
|
|
6
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: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.6.3
|
|
9
9
|
* Contact: cicsupport@tacc.utexas.edu
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|