@tapis/tapis-typescript-systems 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (185) hide show
  1. package/.openapi-generator/FILES +18 -3
  2. package/README.md +2 -2
  3. package/dist/apis/ChildSystemsApi.d.ts +54 -0
  4. package/dist/apis/ChildSystemsApi.js +224 -0
  5. package/dist/apis/CredentialsApi.d.ts +48 -15
  6. package/dist/apis/CredentialsApi.js +167 -16
  7. package/dist/apis/GeneralApi.d.ts +5 -5
  8. package/dist/apis/GeneralApi.js +5 -5
  9. package/dist/apis/PermissionsApi.d.ts +3 -11
  10. package/dist/apis/PermissionsApi.js +3 -11
  11. package/dist/apis/SchedulerProfilesApi.d.ts +5 -13
  12. package/dist/apis/SchedulerProfilesApi.js +6 -14
  13. package/dist/apis/SharingApi.d.ts +85 -0
  14. package/dist/apis/SharingApi.js +328 -0
  15. package/dist/apis/SystemsApi.d.ts +33 -44
  16. package/dist/apis/SystemsApi.js +84 -47
  17. package/dist/apis/index.d.ts +2 -0
  18. package/dist/apis/index.js +2 -0
  19. package/dist/models/AuthnEnum.d.ts +2 -1
  20. package/dist/models/AuthnEnum.js +2 -1
  21. package/dist/models/Capability.d.ts +1 -1
  22. package/dist/models/Capability.js +1 -1
  23. package/dist/models/CategoryEnum.d.ts +1 -1
  24. package/dist/models/CategoryEnum.js +1 -1
  25. package/dist/models/Credential.d.ts +19 -1
  26. package/dist/models/Credential.js +7 -1
  27. package/dist/models/DatatypeEnum.d.ts +1 -1
  28. package/dist/models/DatatypeEnum.js +1 -1
  29. package/dist/models/JobRuntime.d.ts +1 -1
  30. package/dist/models/JobRuntime.js +1 -1
  31. package/dist/models/KeyValuePair.d.ts +7 -1
  32. package/dist/models/KeyValuePair.js +3 -1
  33. package/dist/models/ListTypeEnum.d.ts +24 -0
  34. package/dist/models/ListTypeEnum.js +38 -0
  35. package/dist/models/LogicalQueue.d.ts +1 -1
  36. package/dist/models/LogicalQueue.js +1 -1
  37. package/dist/models/ModuleLoadSpec.d.ts +33 -0
  38. package/dist/models/ModuleLoadSpec.js +43 -0
  39. package/dist/models/OperationTypeEnum.d.ts +35 -0
  40. package/dist/models/OperationTypeEnum.js +49 -0
  41. package/dist/models/ReqMatchConstraints.d.ts +1 -1
  42. package/dist/models/ReqMatchConstraints.js +1 -1
  43. package/dist/models/ReqPatchSystem.d.ts +19 -1
  44. package/dist/models/ReqPatchSystem.js +7 -1
  45. package/dist/models/ReqPerms.d.ts +1 -1
  46. package/dist/models/ReqPerms.js +1 -1
  47. package/dist/models/ReqPostChildSystem.d.ts +39 -0
  48. package/dist/models/ReqPostChildSystem.js +45 -0
  49. package/dist/models/ReqPostPutCredential.d.ts +69 -0
  50. package/dist/models/{ReqCreateCredential.js → ReqPostPutCredential.js} +12 -8
  51. package/dist/models/ReqPostSchedulerProfile.d.ts +52 -0
  52. package/dist/models/{ReqCreateSchedulerProfile.js → ReqPostSchedulerProfile.js} +10 -12
  53. package/dist/models/{ReqCreateSystem.d.ts → ReqPostSystem.d.ts} +55 -43
  54. package/dist/models/{ReqCreateSystem.js → ReqPostSystem.js} +14 -10
  55. package/dist/models/ReqPutSystem.d.ts +16 -4
  56. package/dist/models/ReqPutSystem.js +7 -3
  57. package/dist/models/ReqSearchSystems.d.ts +1 -1
  58. package/dist/models/ReqSearchSystems.js +1 -1
  59. package/dist/models/ReqShareUpdate.d.ts +27 -0
  60. package/dist/models/ReqShareUpdate.js +40 -0
  61. package/dist/models/ReqUnlinkChildren.d.ts +27 -0
  62. package/dist/models/ReqUnlinkChildren.js +41 -0
  63. package/dist/models/ReqUpdateCredential.d.ts +75 -0
  64. package/dist/models/ReqUpdateCredential.js +57 -0
  65. package/dist/models/RespBasic.d.ts +13 -1
  66. package/dist/models/RespBasic.js +5 -1
  67. package/dist/models/RespBoolean.d.ts +13 -1
  68. package/dist/models/RespBoolean.js +5 -1
  69. package/dist/models/RespChangeCount.d.ts +13 -1
  70. package/dist/models/RespChangeCount.js +5 -1
  71. package/dist/models/RespCredential.d.ts +13 -1
  72. package/dist/models/RespCredential.js +5 -1
  73. package/dist/models/RespGlobusAuthUrl.d.ts +64 -0
  74. package/dist/models/RespGlobusAuthUrl.js +54 -0
  75. package/dist/models/RespNameArray.d.ts +13 -1
  76. package/dist/models/RespNameArray.js +5 -1
  77. package/dist/models/RespResourceUrl.d.ts +13 -1
  78. package/dist/models/RespResourceUrl.js +5 -1
  79. package/dist/models/RespSchedulerProfile.d.ts +13 -1
  80. package/dist/models/RespSchedulerProfile.js +5 -1
  81. package/dist/models/RespSchedulerProfiles.d.ts +13 -1
  82. package/dist/models/RespSchedulerProfiles.js +5 -1
  83. package/dist/models/RespShareInfo.d.ts +64 -0
  84. package/dist/models/RespShareInfo.js +54 -0
  85. package/dist/models/RespSystem.d.ts +13 -1
  86. package/dist/models/RespSystem.js +5 -1
  87. package/dist/models/RespSystemHistory.d.ts +64 -0
  88. package/dist/models/RespSystemHistory.js +54 -0
  89. package/dist/models/RespSystems.d.ts +13 -1
  90. package/dist/models/RespSystems.js +5 -1
  91. package/dist/models/RespSystemsMetadata.d.ts +1 -1
  92. package/dist/models/RespSystemsMetadata.js +1 -1
  93. package/dist/models/ResultBoolean.d.ts +1 -1
  94. package/dist/models/ResultBoolean.js +1 -1
  95. package/dist/models/ResultChangeCount.d.ts +1 -1
  96. package/dist/models/ResultChangeCount.js +1 -1
  97. package/dist/models/ResultGlobusAuthUrl.d.ts +33 -0
  98. package/dist/models/ResultGlobusAuthUrl.js +43 -0
  99. package/dist/models/ResultNameArray.d.ts +1 -1
  100. package/dist/models/ResultNameArray.js +1 -1
  101. package/dist/models/ResultResourceUrl.d.ts +1 -1
  102. package/dist/models/ResultResourceUrl.js +1 -1
  103. package/dist/models/RuntimeTypeEnum.d.ts +1 -1
  104. package/dist/models/RuntimeTypeEnum.js +1 -1
  105. package/dist/models/SchedulerHiddenOptionEnum.d.ts +1 -1
  106. package/dist/models/SchedulerHiddenOptionEnum.js +1 -1
  107. package/dist/models/SchedulerProfile.d.ts +4 -10
  108. package/dist/models/SchedulerProfile.js +3 -5
  109. package/dist/models/SchedulerTypeEnum.d.ts +1 -1
  110. package/dist/models/SchedulerTypeEnum.js +1 -1
  111. package/dist/models/ShareInfo.d.ts +33 -0
  112. package/dist/models/ShareInfo.js +42 -0
  113. package/dist/models/SystemHistory.d.ts +64 -0
  114. package/dist/models/SystemHistory.js +54 -0
  115. package/dist/models/SystemTypeEnum.d.ts +1 -1
  116. package/dist/models/SystemTypeEnum.js +1 -1
  117. package/dist/models/TapisSystem.d.ts +27 -3
  118. package/dist/models/TapisSystem.js +11 -3
  119. package/dist/models/index.d.ts +16 -3
  120. package/dist/models/index.js +16 -3
  121. package/dist/runtime.d.ts +1 -1
  122. package/dist/runtime.js +1 -1
  123. package/package.json +1 -1
  124. package/src/apis/ChildSystemsApi.ts +171 -0
  125. package/src/apis/CredentialsApi.ts +152 -20
  126. package/src/apis/GeneralApi.ts +5 -5
  127. package/src/apis/PermissionsApi.ts +3 -11
  128. package/src/apis/SchedulerProfilesApi.ts +10 -18
  129. package/src/apis/SharingApi.ts +250 -0
  130. package/src/apis/SystemsApi.ts +99 -53
  131. package/src/apis/index.ts +2 -0
  132. package/src/models/AuthnEnum.ts +2 -1
  133. package/src/models/Capability.ts +1 -1
  134. package/src/models/CategoryEnum.ts +1 -1
  135. package/src/models/Credential.ts +25 -1
  136. package/src/models/DatatypeEnum.ts +1 -1
  137. package/src/models/JobRuntime.ts +1 -1
  138. package/src/models/KeyValuePair.ts +9 -1
  139. package/src/models/ListTypeEnum.ts +37 -0
  140. package/src/models/LogicalQueue.ts +1 -1
  141. package/src/models/ModuleLoadSpec.ts +64 -0
  142. package/src/models/OperationTypeEnum.ts +48 -0
  143. package/src/models/ReqMatchConstraints.ts +1 -1
  144. package/src/models/ReqPatchSystem.ts +25 -1
  145. package/src/models/ReqPerms.ts +1 -1
  146. package/src/models/ReqPostChildSystem.ts +72 -0
  147. package/src/models/{ReqCreateCredential.ts → ReqPostPutCredential.ts} +29 -13
  148. package/src/models/{ReqCreateSchedulerProfile.ts → ReqPostSchedulerProfile.ts} +20 -24
  149. package/src/models/{ReqCreateSystem.ts → ReqPostSystem.ts} +65 -49
  150. package/src/models/ReqPutSystem.ts +25 -9
  151. package/src/models/ReqSearchSystems.ts +1 -1
  152. package/src/models/ReqShareUpdate.ts +56 -0
  153. package/src/models/ReqUnlinkChildren.ts +56 -0
  154. package/src/models/ReqUpdateCredential.ts +120 -0
  155. package/src/models/RespBasic.ts +17 -1
  156. package/src/models/RespBoolean.ts +17 -1
  157. package/src/models/RespChangeCount.ts +17 -1
  158. package/src/models/RespCredential.ts +17 -1
  159. package/src/models/RespGlobusAuthUrl.ts +111 -0
  160. package/src/models/RespNameArray.ts +17 -1
  161. package/src/models/RespResourceUrl.ts +17 -1
  162. package/src/models/RespSchedulerProfile.ts +17 -1
  163. package/src/models/RespSchedulerProfiles.ts +17 -1
  164. package/src/models/RespShareInfo.ts +111 -0
  165. package/src/models/RespSystem.ts +17 -1
  166. package/src/models/RespSystemHistory.ts +111 -0
  167. package/src/models/RespSystems.ts +17 -1
  168. package/src/models/RespSystemsMetadata.ts +1 -1
  169. package/src/models/ResultBoolean.ts +1 -1
  170. package/src/models/ResultChangeCount.ts +1 -1
  171. package/src/models/ResultGlobusAuthUrl.ts +64 -0
  172. package/src/models/ResultNameArray.ts +1 -1
  173. package/src/models/ResultResourceUrl.ts +1 -1
  174. package/src/models/RuntimeTypeEnum.ts +1 -1
  175. package/src/models/SchedulerHiddenOptionEnum.ts +1 -1
  176. package/src/models/SchedulerProfile.ts +9 -13
  177. package/src/models/SchedulerTypeEnum.ts +1 -1
  178. package/src/models/ShareInfo.ts +64 -0
  179. package/src/models/SystemHistory.ts +111 -0
  180. package/src/models/SystemTypeEnum.ts +1 -1
  181. package/src/models/TapisSystem.ts +37 -5
  182. package/src/models/index.ts +16 -3
  183. package/src/runtime.ts +1 -1
  184. package/dist/models/ReqCreateCredential.d.ts +0 -57
  185. package/dist/models/ReqCreateSchedulerProfile.d.ts +0 -58
@@ -4,7 +4,7 @@
4
4
  * Tapis Systems API
5
5
  * The Tapis Systems API provides for management of Tapis Systems including permissions, credentials and Scheduler Profiles.
6
6
  *
7
- * The version of the OpenAPI document: 1.0.0-rc1
7
+ * The version of the OpenAPI document: 1.3.3
8
8
  * Contact: cicsupport@tacc.utexas.edu
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -15,15 +15,18 @@
15
15
 
16
16
  import * as runtime from '../runtime';
17
17
  import {
18
- ReqCreateSystem,
19
- ReqCreateSystemFromJSON,
20
- ReqCreateSystemToJSON,
18
+ ListTypeEnum,
19
+ ListTypeEnumFromJSON,
20
+ ListTypeEnumToJSON,
21
21
  ReqMatchConstraints,
22
22
  ReqMatchConstraintsFromJSON,
23
23
  ReqMatchConstraintsToJSON,
24
24
  ReqPatchSystem,
25
25
  ReqPatchSystemFromJSON,
26
26
  ReqPatchSystemToJSON,
27
+ ReqPostSystem,
28
+ ReqPostSystemFromJSON,
29
+ ReqPostSystemToJSON,
27
30
  ReqPutSystem,
28
31
  ReqPutSystemFromJSON,
29
32
  ReqPutSystemToJSON,
@@ -45,6 +48,9 @@ import {
45
48
  RespSystem,
46
49
  RespSystemFromJSON,
47
50
  RespSystemToJSON,
51
+ RespSystemHistory,
52
+ RespSystemHistoryFromJSON,
53
+ RespSystemHistoryToJSON,
48
54
  RespSystems,
49
55
  RespSystemsFromJSON,
50
56
  RespSystemsToJSON,
@@ -56,7 +62,7 @@ export interface ChangeSystemOwnerRequest {
56
62
  }
57
63
 
58
64
  export interface CreateSystemRequest {
59
- reqCreateSystem: ReqCreateSystem;
65
+ reqPostSystem: ReqPostSystem;
60
66
  skipCredentialCheck?: boolean;
61
67
  }
62
68
 
@@ -72,16 +78,24 @@ export interface EnableSystemRequest {
72
78
  systemId: string;
73
79
  }
74
80
 
81
+ export interface GetHistoryRequest {
82
+ systemId: string;
83
+ }
84
+
75
85
  export interface GetSystemRequest {
76
86
  systemId: string;
77
- returnCredentials?: boolean;
78
87
  authnMethod?: string;
79
88
  requireExecPerm?: boolean;
80
89
  select?: string;
90
+ returnCredentials?: boolean;
91
+ impersonationId?: string;
92
+ sharedAppCtx?: string;
93
+ resourceTenant?: string;
81
94
  }
82
95
 
83
96
  export interface GetSystemsRequest {
84
97
  search?: string;
98
+ listType?: ListTypeEnum;
85
99
  limit?: number;
86
100
  orderBy?: string;
87
101
  skip?: number;
@@ -112,6 +126,7 @@ export interface PutSystemRequest {
112
126
 
113
127
  export interface SearchSystemsQueryParametersRequest {
114
128
  freeFormParameterName?: { [key: string]: string; };
129
+ listType?: ListTypeEnum;
115
130
  limit?: number;
116
131
  orderBy?: string;
117
132
  skip?: number;
@@ -122,6 +137,7 @@ export interface SearchSystemsQueryParametersRequest {
122
137
 
123
138
  export interface SearchSystemsRequestBodyRequest {
124
139
  reqSearchSystems: ReqSearchSystems;
140
+ listType?: ListTypeEnum;
125
141
  limit?: number;
126
142
  orderBy?: string;
127
143
  skip?: number;
@@ -141,7 +157,6 @@ export class SystemsApi extends runtime.BaseAPI {
141
157
 
142
158
  /**
143
159
  * Change owner of a system.
144
- * Change system owner
145
160
  */
146
161
  async changeSystemOwnerRaw(requestParameters: ChangeSystemOwnerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<RespChangeCount>> {
147
162
  if (requestParameters.systemId === null || requestParameters.systemId === undefined) {
@@ -172,7 +187,6 @@ export class SystemsApi extends runtime.BaseAPI {
172
187
 
173
188
  /**
174
189
  * Change owner of a system.
175
- * Change system owner
176
190
  */
177
191
  async changeSystemOwner(requestParameters: ChangeSystemOwnerRequest, initOverrides?: RequestInit): Promise<RespChangeCount> {
178
192
  const response = await this.changeSystemOwnerRaw(requestParameters, initOverrides);
@@ -180,12 +194,11 @@ export class SystemsApi extends runtime.BaseAPI {
180
194
  }
181
195
 
182
196
  /**
183
- * 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 alphabetic character and can be no more than 80 characters in length. Description is optional with a maximum length of 2048 characters. By default any credentials provided for LINUX type systems are verified. Use query parameter skipCredentialCheck=true to bypass initial verification of credentials. Note that certain attributes (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
184
- * Create a system
197
+ * 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 alphabetic character and can be no more than 80 characters in length. Description is optional with a maximum length of 2048 characters. The attribute *effectiveUserId* determines the user that is 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). 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. When using Files to list, copy, move, mkdir, etc. all paths are relative to this directory. 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
185
198
  */
186
199
  async createSystemRaw(requestParameters: CreateSystemRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<RespResourceUrl>> {
187
- if (requestParameters.reqCreateSystem === null || requestParameters.reqCreateSystem === undefined) {
188
- throw new runtime.RequiredError('reqCreateSystem','Required parameter requestParameters.reqCreateSystem was null or undefined when calling createSystem.');
200
+ if (requestParameters.reqPostSystem === null || requestParameters.reqPostSystem === undefined) {
201
+ throw new runtime.RequiredError('reqPostSystem','Required parameter requestParameters.reqPostSystem was null or undefined when calling createSystem.');
189
202
  }
190
203
 
191
204
  const queryParameters: any = {};
@@ -207,15 +220,14 @@ export class SystemsApi extends runtime.BaseAPI {
207
220
  method: 'POST',
208
221
  headers: headerParameters,
209
222
  query: queryParameters,
210
- body: ReqCreateSystemToJSON(requestParameters.reqCreateSystem),
223
+ body: ReqPostSystemToJSON(requestParameters.reqPostSystem),
211
224
  }, initOverrides);
212
225
 
213
226
  return new runtime.JSONApiResponse(response, (jsonValue) => RespResourceUrlFromJSON(jsonValue));
214
227
  }
215
228
 
216
229
  /**
217
- * 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 alphabetic character and can be no more than 80 characters in length. Description is optional with a maximum length of 2048 characters. By default any credentials provided for LINUX type systems are verified. Use query parameter skipCredentialCheck=true to bypass initial verification of credentials. Note that certain attributes (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
218
- * Create a system
230
+ * 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 alphabetic character and can be no more than 80 characters in length. Description is optional with a maximum length of 2048 characters. The attribute *effectiveUserId* determines the user that is 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). 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. When using Files to list, copy, move, mkdir, etc. all paths are relative to this directory. 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
219
231
  */
220
232
  async createSystem(requestParameters: CreateSystemRequest, initOverrides?: RequestInit): Promise<RespResourceUrl> {
221
233
  const response = await this.createSystemRaw(requestParameters, initOverrides);
@@ -224,7 +236,6 @@ export class SystemsApi extends runtime.BaseAPI {
224
236
 
225
237
  /**
226
238
  * Mark a system as deleted. System will not appear in queries unless explicitly requested.
227
- * Mark a system as deleted
228
239
  */
229
240
  async deleteSystemRaw(requestParameters: DeleteSystemRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<RespChangeCount>> {
230
241
  if (requestParameters.systemId === null || requestParameters.systemId === undefined) {
@@ -251,7 +262,6 @@ export class SystemsApi extends runtime.BaseAPI {
251
262
 
252
263
  /**
253
264
  * Mark a system as deleted. System will not appear in queries unless explicitly requested.
254
- * Mark a system as deleted
255
265
  */
256
266
  async deleteSystem(requestParameters: DeleteSystemRequest, initOverrides?: RequestInit): Promise<RespChangeCount> {
257
267
  const response = await this.deleteSystemRaw(requestParameters, initOverrides);
@@ -260,7 +270,6 @@ export class SystemsApi extends runtime.BaseAPI {
260
270
 
261
271
  /**
262
272
  * Mark a system unavailable for use.
263
- * Mark a system unavailabe for use
264
273
  */
265
274
  async disableSystemRaw(requestParameters: DisableSystemRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<RespChangeCount>> {
266
275
  if (requestParameters.systemId === null || requestParameters.systemId === undefined) {
@@ -287,7 +296,6 @@ export class SystemsApi extends runtime.BaseAPI {
287
296
 
288
297
  /**
289
298
  * Mark a system unavailable for use.
290
- * Mark a system unavailabe for use
291
299
  */
292
300
  async disableSystem(requestParameters: DisableSystemRequest, initOverrides?: RequestInit): Promise<RespChangeCount> {
293
301
  const response = await this.disableSystemRaw(requestParameters, initOverrides);
@@ -296,7 +304,6 @@ export class SystemsApi extends runtime.BaseAPI {
296
304
 
297
305
  /**
298
306
  * Mark a system available for use.
299
- * Mark a system availabe for use
300
307
  */
301
308
  async enableSystemRaw(requestParameters: EnableSystemRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<RespChangeCount>> {
302
309
  if (requestParameters.systemId === null || requestParameters.systemId === undefined) {
@@ -323,7 +330,6 @@ export class SystemsApi extends runtime.BaseAPI {
323
330
 
324
331
  /**
325
332
  * Mark a system available for use.
326
- * Mark a system availabe for use
327
333
  */
328
334
  async enableSystem(requestParameters: EnableSystemRequest, initOverrides?: RequestInit): Promise<RespChangeCount> {
329
335
  const response = await this.enableSystemRaw(requestParameters, initOverrides);
@@ -331,20 +337,49 @@ export class SystemsApi extends runtime.BaseAPI {
331
337
  }
332
338
 
333
339
  /**
334
- * Retrieve information for a system given the system name. Use query parameter returnCredentials=true to have effectiveUserId credentials included in the response. Use query parameter authnMethod=<method> to override default authn method.
335
- * Retrieve system details
340
+ * Retrieve history of changes for a given systemId.
336
341
  */
337
- async getSystemRaw(requestParameters: GetSystemRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<RespSystem>> {
342
+ async getHistoryRaw(requestParameters: GetHistoryRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<RespSystemHistory>> {
338
343
  if (requestParameters.systemId === null || requestParameters.systemId === undefined) {
339
- throw new runtime.RequiredError('systemId','Required parameter requestParameters.systemId was null or undefined when calling getSystem.');
344
+ throw new runtime.RequiredError('systemId','Required parameter requestParameters.systemId was null or undefined when calling getHistory.');
340
345
  }
341
346
 
342
347
  const queryParameters: any = {};
343
348
 
344
- if (requestParameters.returnCredentials !== undefined) {
345
- queryParameters['returnCredentials'] = requestParameters.returnCredentials;
349
+ const headerParameters: runtime.HTTPHeaders = {};
350
+
351
+ if (this.configuration && this.configuration.apiKey) {
352
+ headerParameters["X-Tapis-Token"] = this.configuration.apiKey("X-Tapis-Token"); // TapisJWT authentication
346
353
  }
347
354
 
355
+ const response = await this.request({
356
+ path: `/v3/systems/{systemId}/history`.replace(`{${"systemId"}}`, encodeURIComponent(String(requestParameters.systemId))),
357
+ method: 'GET',
358
+ headers: headerParameters,
359
+ query: queryParameters,
360
+ }, initOverrides);
361
+
362
+ return new runtime.JSONApiResponse(response, (jsonValue) => RespSystemHistoryFromJSON(jsonValue));
363
+ }
364
+
365
+ /**
366
+ * Retrieve history of changes for a given systemId.
367
+ */
368
+ async getHistory(requestParameters: GetHistoryRequest, initOverrides?: RequestInit): Promise<RespSystemHistory> {
369
+ const response = await this.getHistoryRaw(requestParameters, initOverrides);
370
+ return await response.value();
371
+ }
372
+
373
+ /**
374
+ * Retrieve information for a system given the system Id. Use query parameter authnMethod=<method> to override the default authentication method. Certain services 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 services may use the query parameter *sharedAppCtx* to indicate that the request is in a shared application context. Tapis authorization will be bypassed.
375
+ */
376
+ async getSystemRaw(requestParameters: GetSystemRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<RespSystem>> {
377
+ if (requestParameters.systemId === null || requestParameters.systemId === undefined) {
378
+ throw new runtime.RequiredError('systemId','Required parameter requestParameters.systemId was null or undefined when calling getSystem.');
379
+ }
380
+
381
+ const queryParameters: any = {};
382
+
348
383
  if (requestParameters.authnMethod !== undefined) {
349
384
  queryParameters['authnMethod'] = requestParameters.authnMethod;
350
385
  }
@@ -357,6 +392,22 @@ export class SystemsApi extends runtime.BaseAPI {
357
392
  queryParameters['select'] = requestParameters.select;
358
393
  }
359
394
 
395
+ if (requestParameters.returnCredentials !== undefined) {
396
+ queryParameters['returnCredentials'] = requestParameters.returnCredentials;
397
+ }
398
+
399
+ if (requestParameters.impersonationId !== undefined) {
400
+ queryParameters['impersonationId'] = requestParameters.impersonationId;
401
+ }
402
+
403
+ if (requestParameters.sharedAppCtx !== undefined) {
404
+ queryParameters['sharedAppCtx'] = requestParameters.sharedAppCtx;
405
+ }
406
+
407
+ if (requestParameters.resourceTenant !== undefined) {
408
+ queryParameters['resourceTenant'] = requestParameters.resourceTenant;
409
+ }
410
+
360
411
  const headerParameters: runtime.HTTPHeaders = {};
361
412
 
362
413
  if (this.configuration && this.configuration.apiKey) {
@@ -374,8 +425,7 @@ export class SystemsApi extends runtime.BaseAPI {
374
425
  }
375
426
 
376
427
  /**
377
- * Retrieve information for a system given the system name. Use query parameter returnCredentials=true to have effectiveUserId credentials included in the response. Use query parameter authnMethod=<method> to override default authn method.
378
- * Retrieve system details
428
+ * Retrieve information for a system given the system Id. Use query parameter authnMethod=<method> to override the default authentication method. Certain services 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 services may use the query parameter *sharedAppCtx* to indicate that the request is in a shared application context. Tapis authorization will be bypassed.
379
429
  */
380
430
  async getSystem(requestParameters: GetSystemRequest, initOverrides?: RequestInit): Promise<RespSystem> {
381
431
  const response = await this.getSystemRaw(requestParameters, initOverrides);
@@ -383,8 +433,7 @@ export class SystemsApi extends runtime.BaseAPI {
383
433
  }
384
434
 
385
435
  /**
386
- * Retrieve list of systems. Use search and select query parameters to limit results.
387
- * Retrieve systems
436
+ * 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.
388
437
  */
389
438
  async getSystemsRaw(requestParameters: GetSystemsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<RespSystems>> {
390
439
  const queryParameters: any = {};
@@ -393,6 +442,10 @@ export class SystemsApi extends runtime.BaseAPI {
393
442
  queryParameters['search'] = requestParameters.search;
394
443
  }
395
444
 
445
+ if (requestParameters.listType !== undefined) {
446
+ queryParameters['listType'] = requestParameters.listType;
447
+ }
448
+
396
449
  if (requestParameters.limit !== undefined) {
397
450
  queryParameters['limit'] = requestParameters.limit;
398
451
  }
@@ -438,8 +491,7 @@ export class SystemsApi extends runtime.BaseAPI {
438
491
  }
439
492
 
440
493
  /**
441
- * Retrieve list of systems. Use search and select query parameters to limit results.
442
- * Retrieve systems
494
+ * 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.
443
495
  */
444
496
  async getSystems(requestParameters: GetSystemsRequest, initOverrides?: RequestInit): Promise<RespSystems> {
445
497
  const response = await this.getSystemsRaw(requestParameters, initOverrides);
@@ -448,7 +500,6 @@ export class SystemsApi extends runtime.BaseAPI {
448
500
 
449
501
  /**
450
502
  * Check if a system is currently enabled, i.e. available for use.
451
- * Check if system is currently enabled
452
503
  */
453
504
  async isEnabledRaw(requestParameters: IsEnabledRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<RespBoolean>> {
454
505
  if (requestParameters.systemId === null || requestParameters.systemId === undefined) {
@@ -475,7 +526,6 @@ export class SystemsApi extends runtime.BaseAPI {
475
526
 
476
527
  /**
477
528
  * Check if a system is currently enabled, i.e. available for use.
478
- * Check if system is currently enabled
479
529
  */
480
530
  async isEnabled(requestParameters: IsEnabledRequest, initOverrides?: RequestInit): Promise<RespBoolean> {
481
531
  const response = await this.isEnabledRaw(requestParameters, initOverrides);
@@ -484,7 +534,6 @@ export class SystemsApi extends runtime.BaseAPI {
484
534
 
485
535
  /**
486
536
  * *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.
487
- * Retrieve systems satisfying specified constraint conditions (WARNING - not yet supported)
488
537
  */
489
538
  async matchConstraintsRaw(requestParameters: MatchConstraintsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<RespSystems>> {
490
539
  if (requestParameters.reqMatchConstraints === null || requestParameters.reqMatchConstraints === undefined) {
@@ -514,7 +563,6 @@ export class SystemsApi extends runtime.BaseAPI {
514
563
 
515
564
  /**
516
565
  * *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.
517
- * Retrieve systems satisfying specified constraint conditions (WARNING - not yet supported)
518
566
  */
519
567
  async matchConstraints(requestParameters: MatchConstraintsRequest, initOverrides?: RequestInit): Promise<RespSystems> {
520
568
  const response = await this.matchConstraintsRaw(requestParameters, initOverrides);
@@ -523,7 +571,6 @@ export class SystemsApi extends runtime.BaseAPI {
523
571
 
524
572
  /**
525
573
  * 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 - isDtn - canExec Note that the attributes owner and enabled may be modified using other endpoints.
526
- * Update selected attributes of a system
527
574
  */
528
575
  async patchSystemRaw(requestParameters: PatchSystemRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<RespResourceUrl>> {
529
576
  if (requestParameters.systemId === null || requestParameters.systemId === undefined) {
@@ -557,7 +604,6 @@ export class SystemsApi extends runtime.BaseAPI {
557
604
 
558
605
  /**
559
606
  * 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 - isDtn - canExec Note that the attributes owner and enabled may be modified using other endpoints.
560
- * Update selected attributes of a system
561
607
  */
562
608
  async patchSystem(requestParameters: PatchSystemRequest, initOverrides?: RequestInit): Promise<RespResourceUrl> {
563
609
  const response = await this.patchSystemRaw(requestParameters, initOverrides);
@@ -565,8 +611,7 @@ export class SystemsApi extends runtime.BaseAPI {
565
611
  }
566
612
 
567
613
  /**
568
- * Update all updatable attributes of a system using a request body identical to POST. System must exist. By default any credentials provided for LINUX type systems are verified. Use query parameter skipCredentialCheck=true to bypass initial verification of credentials. Note that certain attributes (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 - isDtn - canExec Note that the attributes owner and enabled may be modified using other endpoints.
569
- * Update all updatable attributes of a system
614
+ * 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 - isDtn - canExec Note that the attributes owner and enabled may be modified using other endpoints.
570
615
  */
571
616
  async putSystemRaw(requestParameters: PutSystemRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<RespResourceUrl>> {
572
617
  if (requestParameters.systemId === null || requestParameters.systemId === undefined) {
@@ -603,8 +648,7 @@ export class SystemsApi extends runtime.BaseAPI {
603
648
  }
604
649
 
605
650
  /**
606
- * Update all updatable attributes of a system using a request body identical to POST. System must exist. By default any credentials provided for LINUX type systems are verified. Use query parameter skipCredentialCheck=true to bypass initial verification of credentials. Note that certain attributes (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 - isDtn - canExec Note that the attributes owner and enabled may be modified using other endpoints.
607
- * Update all updatable attributes of a system
651
+ * 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 - isDtn - canExec Note that the attributes owner and enabled may be modified using other endpoints.
608
652
  */
609
653
  async putSystem(requestParameters: PutSystemRequest, initOverrides?: RequestInit): Promise<RespResourceUrl> {
610
654
  const response = await this.putSystemRaw(requestParameters, initOverrides);
@@ -612,8 +656,7 @@ export class SystemsApi extends runtime.BaseAPI {
612
656
  }
613
657
 
614
658
  /**
615
- * Retrieve details for systems. Use query parameters to specify search conditions. For example owner.eq=jdoe&port.gt=1024
616
- * Retrieve list of systems matching search conditions specified as query parameters
659
+ * 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.
617
660
  */
618
661
  async searchSystemsQueryParametersRaw(requestParameters: SearchSystemsQueryParametersRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<RespSystems>> {
619
662
  const queryParameters: any = {};
@@ -622,6 +665,10 @@ export class SystemsApi extends runtime.BaseAPI {
622
665
  queryParameters['freeFormParameterName'] = requestParameters.freeFormParameterName;
623
666
  }
624
667
 
668
+ if (requestParameters.listType !== undefined) {
669
+ queryParameters['listType'] = requestParameters.listType;
670
+ }
671
+
625
672
  if (requestParameters.limit !== undefined) {
626
673
  queryParameters['limit'] = requestParameters.limit;
627
674
  }
@@ -663,8 +710,7 @@ export class SystemsApi extends runtime.BaseAPI {
663
710
  }
664
711
 
665
712
  /**
666
- * Retrieve details for systems. Use query parameters to specify search conditions. For example owner.eq=jdoe&port.gt=1024
667
- * Retrieve list of systems matching search conditions specified as query parameters
713
+ * 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.
668
714
  */
669
715
  async searchSystemsQueryParameters(requestParameters: SearchSystemsQueryParametersRequest, initOverrides?: RequestInit): Promise<RespSystems> {
670
716
  const response = await this.searchSystemsQueryParametersRaw(requestParameters, initOverrides);
@@ -672,8 +718,7 @@ export class SystemsApi extends runtime.BaseAPI {
672
718
  }
673
719
 
674
720
  /**
675
- * Retrieve details for systems. Use request body to specify SQL-like search conditions.
676
- * Retrieve list of systems matching search conditions
721
+ * 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.
677
722
  */
678
723
  async searchSystemsRequestBodyRaw(requestParameters: SearchSystemsRequestBodyRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<RespSystems>> {
679
724
  if (requestParameters.reqSearchSystems === null || requestParameters.reqSearchSystems === undefined) {
@@ -682,6 +727,10 @@ export class SystemsApi extends runtime.BaseAPI {
682
727
 
683
728
  const queryParameters: any = {};
684
729
 
730
+ if (requestParameters.listType !== undefined) {
731
+ queryParameters['listType'] = requestParameters.listType;
732
+ }
733
+
685
734
  if (requestParameters.limit !== undefined) {
686
735
  queryParameters['limit'] = requestParameters.limit;
687
736
  }
@@ -726,8 +775,7 @@ export class SystemsApi extends runtime.BaseAPI {
726
775
  }
727
776
 
728
777
  /**
729
- * Retrieve details for systems. Use request body to specify SQL-like search conditions.
730
- * Retrieve list of systems matching search conditions
778
+ * 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.
731
779
  */
732
780
  async searchSystemsRequestBody(requestParameters: SearchSystemsRequestBodyRequest, initOverrides?: RequestInit): Promise<RespSystems> {
733
781
  const response = await this.searchSystemsRequestBodyRaw(requestParameters, initOverrides);
@@ -736,7 +784,6 @@ export class SystemsApi extends runtime.BaseAPI {
736
784
 
737
785
  /**
738
786
  * Mark a system as not deleted. System will appear in queries.
739
- * Mark a system as not deleted
740
787
  */
741
788
  async undeleteSystemRaw(requestParameters: UndeleteSystemRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<RespChangeCount>> {
742
789
  if (requestParameters.systemId === null || requestParameters.systemId === undefined) {
@@ -763,7 +810,6 @@ export class SystemsApi extends runtime.BaseAPI {
763
810
 
764
811
  /**
765
812
  * Mark a system as not deleted. System will appear in queries.
766
- * Mark a system as not deleted
767
813
  */
768
814
  async undeleteSystem(requestParameters: UndeleteSystemRequest, initOverrides?: RequestInit): Promise<RespChangeCount> {
769
815
  const response = await this.undeleteSystemRaw(requestParameters, initOverrides);
package/src/apis/index.ts CHANGED
@@ -1,7 +1,9 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
+ export * from './ChildSystemsApi';
3
4
  export * from './CredentialsApi';
4
5
  export * from './GeneralApi';
5
6
  export * from './PermissionsApi';
6
7
  export * from './SchedulerProfilesApi';
8
+ export * from './SharingApi';
7
9
  export * from './SystemsApi';
@@ -4,7 +4,7 @@
4
4
  * Tapis Systems API
5
5
  * The Tapis Systems API provides for management of Tapis Systems including permissions, credentials and Scheduler Profiles.
6
6
  *
7
- * The version of the OpenAPI document: 1.0.0-rc1
7
+ * The version of the OpenAPI document: 1.3.3
8
8
  * Contact: cicsupport@tacc.utexas.edu
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -21,6 +21,7 @@ export enum AuthnEnum {
21
21
  Password = 'PASSWORD',
22
22
  PkiKeys = 'PKI_KEYS',
23
23
  AccessKey = 'ACCESS_KEY',
24
+ Token = 'TOKEN',
24
25
  Cert = 'CERT'
25
26
  }
26
27
 
@@ -4,7 +4,7 @@
4
4
  * Tapis Systems API
5
5
  * The Tapis Systems API provides for management of Tapis Systems including permissions, credentials and Scheduler Profiles.
6
6
  *
7
- * The version of the OpenAPI document: 1.0.0-rc1
7
+ * The version of the OpenAPI document: 1.3.3
8
8
  * Contact: cicsupport@tacc.utexas.edu
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Tapis Systems API
5
5
  * The Tapis Systems API provides for management of Tapis Systems including permissions, credentials and Scheduler Profiles.
6
6
  *
7
- * The version of the OpenAPI document: 1.0.0-rc1
7
+ * The version of the OpenAPI document: 1.3.3
8
8
  * Contact: cicsupport@tacc.utexas.edu
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Tapis Systems API
5
5
  * The Tapis Systems API provides for management of Tapis Systems including permissions, credentials and Scheduler Profiles.
6
6
  *
7
- * The version of the OpenAPI document: 1.0.0-rc1
7
+ * The version of the OpenAPI document: 1.3.3
8
8
  * Contact: cicsupport@tacc.utexas.edu
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -32,6 +32,12 @@ export interface Credential {
32
32
  * @memberof Credential
33
33
  */
34
34
  authnMethod?: AuthnEnum;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof Credential
39
+ */
40
+ loginUser?: string;
35
41
  /**
36
42
  *
37
43
  * @type {string}
@@ -62,6 +68,18 @@ export interface Credential {
62
68
  * @memberof Credential
63
69
  */
64
70
  accessSecret?: string;
71
+ /**
72
+ *
73
+ * @type {string}
74
+ * @memberof Credential
75
+ */
76
+ accessToken?: string;
77
+ /**
78
+ *
79
+ * @type {string}
80
+ * @memberof Credential
81
+ */
82
+ refreshToken?: string;
65
83
  /**
66
84
  *
67
85
  * @type {string}
@@ -81,11 +99,14 @@ export function CredentialFromJSONTyped(json: any, ignoreDiscriminator: boolean)
81
99
  return {
82
100
 
83
101
  'authnMethod': !exists(json, 'authnMethod') ? undefined : AuthnEnumFromJSON(json['authnMethod']),
102
+ 'loginUser': !exists(json, 'loginUser') ? undefined : json['loginUser'],
84
103
  'password': !exists(json, 'password') ? undefined : json['password'],
85
104
  'privateKey': !exists(json, 'privateKey') ? undefined : json['privateKey'],
86
105
  'publicKey': !exists(json, 'publicKey') ? undefined : json['publicKey'],
87
106
  'accessKey': !exists(json, 'accessKey') ? undefined : json['accessKey'],
88
107
  'accessSecret': !exists(json, 'accessSecret') ? undefined : json['accessSecret'],
108
+ 'accessToken': !exists(json, 'accessToken') ? undefined : json['accessToken'],
109
+ 'refreshToken': !exists(json, 'refreshToken') ? undefined : json['refreshToken'],
89
110
  'certificate': !exists(json, 'certificate') ? undefined : json['certificate'],
90
111
  };
91
112
  }
@@ -100,11 +121,14 @@ export function CredentialToJSON(value?: Credential | null): any {
100
121
  return {
101
122
 
102
123
  'authnMethod': AuthnEnumToJSON(value.authnMethod),
124
+ 'loginUser': value.loginUser,
103
125
  'password': value.password,
104
126
  'privateKey': value.privateKey,
105
127
  'publicKey': value.publicKey,
106
128
  'accessKey': value.accessKey,
107
129
  'accessSecret': value.accessSecret,
130
+ 'accessToken': value.accessToken,
131
+ 'refreshToken': value.refreshToken,
108
132
  'certificate': value.certificate,
109
133
  };
110
134
  }
@@ -4,7 +4,7 @@
4
4
  * Tapis Systems API
5
5
  * The Tapis Systems API provides for management of Tapis Systems including permissions, credentials and Scheduler Profiles.
6
6
  *
7
- * The version of the OpenAPI document: 1.0.0-rc1
7
+ * The version of the OpenAPI document: 1.3.3
8
8
  * Contact: cicsupport@tacc.utexas.edu
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Tapis Systems API
5
5
  * The Tapis Systems API provides for management of Tapis Systems including permissions, credentials and Scheduler Profiles.
6
6
  *
7
- * The version of the OpenAPI document: 1.0.0-rc1
7
+ * The version of the OpenAPI document: 1.3.3
8
8
  * Contact: cicsupport@tacc.utexas.edu
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Tapis Systems API
5
5
  * The Tapis Systems API provides for management of Tapis Systems including permissions, credentials and Scheduler Profiles.
6
6
  *
7
- * The version of the OpenAPI document: 1.0.0-rc1
7
+ * The version of the OpenAPI document: 1.3.3
8
8
  * Contact: cicsupport@tacc.utexas.edu
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -31,6 +31,12 @@ export interface KeyValuePair {
31
31
  * @memberof KeyValuePair
32
32
  */
33
33
  value?: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof KeyValuePair
38
+ */
39
+ description?: string;
34
40
  }
35
41
 
36
42
  export function KeyValuePairFromJSON(json: any): KeyValuePair {
@@ -45,6 +51,7 @@ export function KeyValuePairFromJSONTyped(json: any, ignoreDiscriminator: boolea
45
51
 
46
52
  'key': json['key'],
47
53
  'value': !exists(json, 'value') ? undefined : json['value'],
54
+ 'description': !exists(json, 'description') ? undefined : json['description'],
48
55
  };
49
56
  }
50
57
 
@@ -59,6 +66,7 @@ export function KeyValuePairToJSON(value?: KeyValuePair | null): any {
59
66
 
60
67
  'key': value.key,
61
68
  'value': value.value,
69
+ 'description': value.description,
62
70
  };
63
71
  }
64
72