@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.
Files changed (189) hide show
  1. package/.openapi-generator/FILES +19 -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 +51 -15
  6. package/dist/apis/CredentialsApi.js +170 -16
  7. package/dist/apis/GeneralApi.d.ts +5 -5
  8. package/dist/apis/GeneralApi.js +5 -11
  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 +36 -46
  16. package/dist/apis/SystemsApi.js +89 -49
  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/KeyValueInputModeEnum.d.ts +25 -0
  32. package/dist/models/KeyValueInputModeEnum.js +39 -0
  33. package/dist/models/KeyValuePair.d.ts +20 -1
  34. package/dist/models/KeyValuePair.js +8 -1
  35. package/dist/models/ListTypeEnum.d.ts +24 -0
  36. package/dist/models/ListTypeEnum.js +38 -0
  37. package/dist/models/LogicalQueue.d.ts +1 -1
  38. package/dist/models/LogicalQueue.js +1 -1
  39. package/dist/models/ModuleLoadSpec.d.ts +33 -0
  40. package/dist/models/ModuleLoadSpec.js +43 -0
  41. package/dist/models/OperationTypeEnum.d.ts +35 -0
  42. package/dist/models/OperationTypeEnum.js +49 -0
  43. package/dist/models/ReqMatchConstraints.d.ts +1 -1
  44. package/dist/models/ReqMatchConstraints.js +1 -1
  45. package/dist/models/ReqPatchSystem.d.ts +18 -18
  46. package/dist/models/ReqPatchSystem.js +7 -7
  47. package/dist/models/ReqPerms.d.ts +1 -1
  48. package/dist/models/ReqPerms.js +1 -1
  49. package/dist/models/ReqPostChildSystem.d.ts +39 -0
  50. package/dist/models/ReqPostChildSystem.js +45 -0
  51. package/dist/models/ReqPostPutCredential.d.ts +69 -0
  52. package/dist/models/{ReqCreateCredential.js → ReqPostPutCredential.js} +12 -8
  53. package/dist/models/ReqPostSchedulerProfile.d.ts +52 -0
  54. package/dist/models/{ReqCreateSchedulerProfile.js → ReqPostSchedulerProfile.js} +10 -12
  55. package/dist/models/ReqPostSystem.d.ts +220 -0
  56. package/dist/models/{ReqCreateSystem.js → ReqPostSystem.js} +16 -18
  57. package/dist/models/ReqPutSystem.d.ts +21 -21
  58. package/dist/models/ReqPutSystem.js +9 -9
  59. package/dist/models/ReqSearchSystems.d.ts +1 -1
  60. package/dist/models/ReqSearchSystems.js +1 -1
  61. package/dist/models/ReqShareUpdate.d.ts +27 -0
  62. package/dist/models/ReqShareUpdate.js +40 -0
  63. package/dist/models/ReqUnlinkChildren.d.ts +27 -0
  64. package/dist/models/ReqUnlinkChildren.js +41 -0
  65. package/dist/models/ReqUpdateCredential.d.ts +75 -0
  66. package/dist/models/ReqUpdateCredential.js +57 -0
  67. package/dist/models/RespBasic.d.ts +13 -1
  68. package/dist/models/RespBasic.js +5 -1
  69. package/dist/models/RespBoolean.d.ts +13 -1
  70. package/dist/models/RespBoolean.js +5 -1
  71. package/dist/models/RespChangeCount.d.ts +13 -1
  72. package/dist/models/RespChangeCount.js +5 -1
  73. package/dist/models/RespCredential.d.ts +13 -1
  74. package/dist/models/RespCredential.js +5 -1
  75. package/dist/models/RespGlobusAuthUrl.d.ts +64 -0
  76. package/dist/models/RespGlobusAuthUrl.js +54 -0
  77. package/dist/models/RespNameArray.d.ts +13 -1
  78. package/dist/models/RespNameArray.js +5 -1
  79. package/dist/models/RespResourceUrl.d.ts +13 -1
  80. package/dist/models/RespResourceUrl.js +5 -1
  81. package/dist/models/RespSchedulerProfile.d.ts +13 -1
  82. package/dist/models/RespSchedulerProfile.js +5 -1
  83. package/dist/models/RespSchedulerProfiles.d.ts +13 -1
  84. package/dist/models/RespSchedulerProfiles.js +5 -1
  85. package/dist/models/RespShareInfo.d.ts +64 -0
  86. package/dist/models/RespShareInfo.js +54 -0
  87. package/dist/models/RespSystem.d.ts +13 -1
  88. package/dist/models/RespSystem.js +5 -1
  89. package/dist/models/RespSystemHistory.d.ts +64 -0
  90. package/dist/models/RespSystemHistory.js +54 -0
  91. package/dist/models/RespSystems.d.ts +13 -1
  92. package/dist/models/RespSystems.js +5 -1
  93. package/dist/models/RespSystemsMetadata.d.ts +1 -1
  94. package/dist/models/RespSystemsMetadata.js +1 -1
  95. package/dist/models/ResultBoolean.d.ts +1 -1
  96. package/dist/models/ResultBoolean.js +1 -1
  97. package/dist/models/ResultChangeCount.d.ts +1 -1
  98. package/dist/models/ResultChangeCount.js +1 -1
  99. package/dist/models/ResultGlobusAuthUrl.d.ts +39 -0
  100. package/dist/models/ResultGlobusAuthUrl.js +45 -0
  101. package/dist/models/ResultNameArray.d.ts +1 -1
  102. package/dist/models/ResultNameArray.js +1 -1
  103. package/dist/models/ResultResourceUrl.d.ts +1 -1
  104. package/dist/models/ResultResourceUrl.js +1 -1
  105. package/dist/models/RuntimeTypeEnum.d.ts +3 -2
  106. package/dist/models/RuntimeTypeEnum.js +2 -1
  107. package/dist/models/SchedulerHiddenOptionEnum.d.ts +1 -1
  108. package/dist/models/SchedulerHiddenOptionEnum.js +1 -1
  109. package/dist/models/SchedulerProfile.d.ts +5 -11
  110. package/dist/models/SchedulerProfile.js +3 -5
  111. package/dist/models/SchedulerTypeEnum.d.ts +1 -1
  112. package/dist/models/SchedulerTypeEnum.js +1 -1
  113. package/dist/models/ShareInfo.d.ts +33 -0
  114. package/dist/models/ShareInfo.js +42 -0
  115. package/dist/models/SystemHistory.d.ts +64 -0
  116. package/dist/models/SystemHistory.js +54 -0
  117. package/dist/models/SystemTypeEnum.d.ts +2 -2
  118. package/dist/models/SystemTypeEnum.js +2 -2
  119. package/dist/models/TapisSystem.d.ts +38 -26
  120. package/dist/models/TapisSystem.js +15 -11
  121. package/dist/models/index.d.ts +17 -3
  122. package/dist/models/index.js +17 -3
  123. package/dist/runtime.d.ts +1 -1
  124. package/dist/runtime.js +1 -1
  125. package/package.json +1 -1
  126. package/src/apis/ChildSystemsApi.ts +171 -0
  127. package/src/apis/CredentialsApi.ts +160 -20
  128. package/src/apis/GeneralApi.ts +5 -13
  129. package/src/apis/PermissionsApi.ts +3 -11
  130. package/src/apis/SchedulerProfilesApi.ts +10 -18
  131. package/src/apis/SharingApi.ts +250 -0
  132. package/src/apis/SystemsApi.ts +106 -55
  133. package/src/apis/index.ts +2 -0
  134. package/src/models/AuthnEnum.ts +2 -1
  135. package/src/models/Capability.ts +1 -1
  136. package/src/models/CategoryEnum.ts +1 -1
  137. package/src/models/Credential.ts +25 -1
  138. package/src/models/DatatypeEnum.ts +1 -1
  139. package/src/models/JobRuntime.ts +1 -1
  140. package/src/models/KeyValueInputModeEnum.ts +38 -0
  141. package/src/models/KeyValuePair.ts +32 -1
  142. package/src/models/ListTypeEnum.ts +37 -0
  143. package/src/models/LogicalQueue.ts +1 -1
  144. package/src/models/ModuleLoadSpec.ts +64 -0
  145. package/src/models/OperationTypeEnum.ts +48 -0
  146. package/src/models/ReqMatchConstraints.ts +1 -1
  147. package/src/models/ReqPatchSystem.ts +24 -24
  148. package/src/models/ReqPerms.ts +1 -1
  149. package/src/models/ReqPostChildSystem.ts +72 -0
  150. package/src/models/{ReqCreateCredential.ts → ReqPostPutCredential.ts} +29 -13
  151. package/src/models/{ReqCreateSchedulerProfile.ts → ReqPostSchedulerProfile.ts} +21 -25
  152. package/src/models/{ReqCreateSystem.ts → ReqPostSystem.ts} +77 -85
  153. package/src/models/ReqPutSystem.ts +32 -32
  154. package/src/models/ReqSearchSystems.ts +1 -1
  155. package/src/models/ReqShareUpdate.ts +56 -0
  156. package/src/models/ReqUnlinkChildren.ts +56 -0
  157. package/src/models/ReqUpdateCredential.ts +120 -0
  158. package/src/models/RespBasic.ts +17 -1
  159. package/src/models/RespBoolean.ts +17 -1
  160. package/src/models/RespChangeCount.ts +17 -1
  161. package/src/models/RespCredential.ts +17 -1
  162. package/src/models/RespGlobusAuthUrl.ts +111 -0
  163. package/src/models/RespNameArray.ts +17 -1
  164. package/src/models/RespResourceUrl.ts +17 -1
  165. package/src/models/RespSchedulerProfile.ts +17 -1
  166. package/src/models/RespSchedulerProfiles.ts +17 -1
  167. package/src/models/RespShareInfo.ts +111 -0
  168. package/src/models/RespSystem.ts +17 -1
  169. package/src/models/RespSystemHistory.ts +111 -0
  170. package/src/models/RespSystems.ts +17 -1
  171. package/src/models/RespSystemsMetadata.ts +1 -1
  172. package/src/models/ResultBoolean.ts +1 -1
  173. package/src/models/ResultChangeCount.ts +1 -1
  174. package/src/models/ResultGlobusAuthUrl.ts +72 -0
  175. package/src/models/ResultNameArray.ts +1 -1
  176. package/src/models/ResultResourceUrl.ts +1 -1
  177. package/src/models/RuntimeTypeEnum.ts +3 -2
  178. package/src/models/SchedulerHiddenOptionEnum.ts +1 -1
  179. package/src/models/SchedulerProfile.ts +10 -14
  180. package/src/models/SchedulerTypeEnum.ts +1 -1
  181. package/src/models/ShareInfo.ts +64 -0
  182. package/src/models/SystemHistory.ts +111 -0
  183. package/src/models/SystemTypeEnum.ts +2 -2
  184. package/src/models/TapisSystem.ts +52 -36
  185. package/src/models/index.ts +17 -3
  186. package/src/runtime.ts +1 -1
  187. package/dist/models/ReqCreateCredential.d.ts +0 -57
  188. package/dist/models/ReqCreateSchedulerProfile.d.ts +0 -58
  189. package/dist/models/ReqCreateSystem.d.ts +0 -226
@@ -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.6.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;
@@ -89,6 +103,7 @@ export interface GetSystemsRequest {
89
103
  computeTotal?: boolean;
90
104
  select?: string;
91
105
  showDeleted?: boolean;
106
+ impersonationId?: string;
92
107
  }
93
108
 
94
109
  export interface IsEnabledRequest {
@@ -112,6 +127,7 @@ export interface PutSystemRequest {
112
127
 
113
128
  export interface SearchSystemsQueryParametersRequest {
114
129
  freeFormParameterName?: { [key: string]: string; };
130
+ listType?: ListTypeEnum;
115
131
  limit?: number;
116
132
  orderBy?: string;
117
133
  skip?: number;
@@ -122,6 +138,7 @@ export interface SearchSystemsQueryParametersRequest {
122
138
 
123
139
  export interface SearchSystemsRequestBodyRequest {
124
140
  reqSearchSystems: ReqSearchSystems;
141
+ listType?: ListTypeEnum;
125
142
  limit?: number;
126
143
  orderBy?: string;
127
144
  skip?: number;
@@ -141,7 +158,6 @@ export class SystemsApi extends runtime.BaseAPI {
141
158
 
142
159
  /**
143
160
  * Change owner of a system.
144
- * Change system owner
145
161
  */
146
162
  async changeSystemOwnerRaw(requestParameters: ChangeSystemOwnerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<RespChangeCount>> {
147
163
  if (requestParameters.systemId === null || requestParameters.systemId === undefined) {
@@ -172,7 +188,6 @@ export class SystemsApi extends runtime.BaseAPI {
172
188
 
173
189
  /**
174
190
  * Change owner of a system.
175
- * Change system owner
176
191
  */
177
192
  async changeSystemOwner(requestParameters: ChangeSystemOwnerRequest, initOverrides?: RequestInit): Promise<RespChangeCount> {
178
193
  const response = await this.changeSystemOwnerRaw(requestParameters, initOverrides);
@@ -180,12 +195,11 @@ export class SystemsApi extends runtime.BaseAPI {
180
195
  }
181
196
 
182
197
  /**
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
198
+ * 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
185
199
  */
186
200
  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.');
201
+ if (requestParameters.reqPostSystem === null || requestParameters.reqPostSystem === undefined) {
202
+ throw new runtime.RequiredError('reqPostSystem','Required parameter requestParameters.reqPostSystem was null or undefined when calling createSystem.');
189
203
  }
190
204
 
191
205
  const queryParameters: any = {};
@@ -207,15 +221,14 @@ export class SystemsApi extends runtime.BaseAPI {
207
221
  method: 'POST',
208
222
  headers: headerParameters,
209
223
  query: queryParameters,
210
- body: ReqCreateSystemToJSON(requestParameters.reqCreateSystem),
224
+ body: ReqPostSystemToJSON(requestParameters.reqPostSystem),
211
225
  }, initOverrides);
212
226
 
213
227
  return new runtime.JSONApiResponse(response, (jsonValue) => RespResourceUrlFromJSON(jsonValue));
214
228
  }
215
229
 
216
230
  /**
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
231
+ * 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
219
232
  */
220
233
  async createSystem(requestParameters: CreateSystemRequest, initOverrides?: RequestInit): Promise<RespResourceUrl> {
221
234
  const response = await this.createSystemRaw(requestParameters, initOverrides);
@@ -224,7 +237,6 @@ export class SystemsApi extends runtime.BaseAPI {
224
237
 
225
238
  /**
226
239
  * Mark a system as deleted. System will not appear in queries unless explicitly requested.
227
- * Mark a system as deleted
228
240
  */
229
241
  async deleteSystemRaw(requestParameters: DeleteSystemRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<RespChangeCount>> {
230
242
  if (requestParameters.systemId === null || requestParameters.systemId === undefined) {
@@ -251,7 +263,6 @@ export class SystemsApi extends runtime.BaseAPI {
251
263
 
252
264
  /**
253
265
  * Mark a system as deleted. System will not appear in queries unless explicitly requested.
254
- * Mark a system as deleted
255
266
  */
256
267
  async deleteSystem(requestParameters: DeleteSystemRequest, initOverrides?: RequestInit): Promise<RespChangeCount> {
257
268
  const response = await this.deleteSystemRaw(requestParameters, initOverrides);
@@ -260,7 +271,6 @@ export class SystemsApi extends runtime.BaseAPI {
260
271
 
261
272
  /**
262
273
  * Mark a system unavailable for use.
263
- * Mark a system unavailabe for use
264
274
  */
265
275
  async disableSystemRaw(requestParameters: DisableSystemRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<RespChangeCount>> {
266
276
  if (requestParameters.systemId === null || requestParameters.systemId === undefined) {
@@ -287,7 +297,6 @@ export class SystemsApi extends runtime.BaseAPI {
287
297
 
288
298
  /**
289
299
  * Mark a system unavailable for use.
290
- * Mark a system unavailabe for use
291
300
  */
292
301
  async disableSystem(requestParameters: DisableSystemRequest, initOverrides?: RequestInit): Promise<RespChangeCount> {
293
302
  const response = await this.disableSystemRaw(requestParameters, initOverrides);
@@ -296,7 +305,6 @@ export class SystemsApi extends runtime.BaseAPI {
296
305
 
297
306
  /**
298
307
  * Mark a system available for use.
299
- * Mark a system availabe for use
300
308
  */
301
309
  async enableSystemRaw(requestParameters: EnableSystemRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<RespChangeCount>> {
302
310
  if (requestParameters.systemId === null || requestParameters.systemId === undefined) {
@@ -323,7 +331,6 @@ export class SystemsApi extends runtime.BaseAPI {
323
331
 
324
332
  /**
325
333
  * Mark a system available for use.
326
- * Mark a system availabe for use
327
334
  */
328
335
  async enableSystem(requestParameters: EnableSystemRequest, initOverrides?: RequestInit): Promise<RespChangeCount> {
329
336
  const response = await this.enableSystemRaw(requestParameters, initOverrides);
@@ -331,20 +338,49 @@ export class SystemsApi extends runtime.BaseAPI {
331
338
  }
332
339
 
333
340
  /**
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
341
+ * Retrieve history of changes for a given systemId.
336
342
  */
337
- async getSystemRaw(requestParameters: GetSystemRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<RespSystem>> {
343
+ async getHistoryRaw(requestParameters: GetHistoryRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<RespSystemHistory>> {
338
344
  if (requestParameters.systemId === null || requestParameters.systemId === undefined) {
339
- throw new runtime.RequiredError('systemId','Required parameter requestParameters.systemId was null or undefined when calling getSystem.');
345
+ throw new runtime.RequiredError('systemId','Required parameter requestParameters.systemId was null or undefined when calling getHistory.');
340
346
  }
341
347
 
342
348
  const queryParameters: any = {};
343
349
 
344
- if (requestParameters.returnCredentials !== undefined) {
345
- queryParameters['returnCredentials'] = requestParameters.returnCredentials;
350
+ const headerParameters: runtime.HTTPHeaders = {};
351
+
352
+ if (this.configuration && this.configuration.apiKey) {
353
+ headerParameters["X-Tapis-Token"] = this.configuration.apiKey("X-Tapis-Token"); // TapisJWT authentication
346
354
  }
347
355
 
356
+ const response = await this.request({
357
+ path: `/v3/systems/{systemId}/history`.replace(`{${"systemId"}}`, encodeURIComponent(String(requestParameters.systemId))),
358
+ method: 'GET',
359
+ headers: headerParameters,
360
+ query: queryParameters,
361
+ }, initOverrides);
362
+
363
+ return new runtime.JSONApiResponse(response, (jsonValue) => RespSystemHistoryFromJSON(jsonValue));
364
+ }
365
+
366
+ /**
367
+ * Retrieve history of changes for a given systemId.
368
+ */
369
+ async getHistory(requestParameters: GetHistoryRequest, initOverrides?: RequestInit): Promise<RespSystemHistory> {
370
+ const response = await this.getHistoryRaw(requestParameters, initOverrides);
371
+ return await response.value();
372
+ }
373
+
374
+ /**
375
+ * 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.
376
+ */
377
+ async getSystemRaw(requestParameters: GetSystemRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<RespSystem>> {
378
+ if (requestParameters.systemId === null || requestParameters.systemId === undefined) {
379
+ throw new runtime.RequiredError('systemId','Required parameter requestParameters.systemId was null or undefined when calling getSystem.');
380
+ }
381
+
382
+ const queryParameters: any = {};
383
+
348
384
  if (requestParameters.authnMethod !== undefined) {
349
385
  queryParameters['authnMethod'] = requestParameters.authnMethod;
350
386
  }
@@ -357,6 +393,22 @@ export class SystemsApi extends runtime.BaseAPI {
357
393
  queryParameters['select'] = requestParameters.select;
358
394
  }
359
395
 
396
+ if (requestParameters.returnCredentials !== undefined) {
397
+ queryParameters['returnCredentials'] = requestParameters.returnCredentials;
398
+ }
399
+
400
+ if (requestParameters.impersonationId !== undefined) {
401
+ queryParameters['impersonationId'] = requestParameters.impersonationId;
402
+ }
403
+
404
+ if (requestParameters.sharedAppCtx !== undefined) {
405
+ queryParameters['sharedAppCtx'] = requestParameters.sharedAppCtx;
406
+ }
407
+
408
+ if (requestParameters.resourceTenant !== undefined) {
409
+ queryParameters['resourceTenant'] = requestParameters.resourceTenant;
410
+ }
411
+
360
412
  const headerParameters: runtime.HTTPHeaders = {};
361
413
 
362
414
  if (this.configuration && this.configuration.apiKey) {
@@ -374,8 +426,7 @@ export class SystemsApi extends runtime.BaseAPI {
374
426
  }
375
427
 
376
428
  /**
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
429
+ * 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.
379
430
  */
380
431
  async getSystem(requestParameters: GetSystemRequest, initOverrides?: RequestInit): Promise<RespSystem> {
381
432
  const response = await this.getSystemRaw(requestParameters, initOverrides);
@@ -383,8 +434,7 @@ export class SystemsApi extends runtime.BaseAPI {
383
434
  }
384
435
 
385
436
  /**
386
- * Retrieve list of systems. Use search and select query parameters to limit results.
387
- * Retrieve systems
437
+ * 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
438
  */
389
439
  async getSystemsRaw(requestParameters: GetSystemsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<RespSystems>> {
390
440
  const queryParameters: any = {};
@@ -393,6 +443,10 @@ export class SystemsApi extends runtime.BaseAPI {
393
443
  queryParameters['search'] = requestParameters.search;
394
444
  }
395
445
 
446
+ if (requestParameters.listType !== undefined) {
447
+ queryParameters['listType'] = requestParameters.listType;
448
+ }
449
+
396
450
  if (requestParameters.limit !== undefined) {
397
451
  queryParameters['limit'] = requestParameters.limit;
398
452
  }
@@ -421,6 +475,10 @@ export class SystemsApi extends runtime.BaseAPI {
421
475
  queryParameters['showDeleted'] = requestParameters.showDeleted;
422
476
  }
423
477
 
478
+ if (requestParameters.impersonationId !== undefined) {
479
+ queryParameters['impersonationId'] = requestParameters.impersonationId;
480
+ }
481
+
424
482
  const headerParameters: runtime.HTTPHeaders = {};
425
483
 
426
484
  if (this.configuration && this.configuration.apiKey) {
@@ -438,8 +496,7 @@ export class SystemsApi extends runtime.BaseAPI {
438
496
  }
439
497
 
440
498
  /**
441
- * Retrieve list of systems. Use search and select query parameters to limit results.
442
- * Retrieve systems
499
+ * 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*.
443
500
  */
444
501
  async getSystems(requestParameters: GetSystemsRequest, initOverrides?: RequestInit): Promise<RespSystems> {
445
502
  const response = await this.getSystemsRaw(requestParameters, initOverrides);
@@ -448,7 +505,6 @@ export class SystemsApi extends runtime.BaseAPI {
448
505
 
449
506
  /**
450
507
  * Check if a system is currently enabled, i.e. available for use.
451
- * Check if system is currently enabled
452
508
  */
453
509
  async isEnabledRaw(requestParameters: IsEnabledRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<RespBoolean>> {
454
510
  if (requestParameters.systemId === null || requestParameters.systemId === undefined) {
@@ -475,7 +531,6 @@ export class SystemsApi extends runtime.BaseAPI {
475
531
 
476
532
  /**
477
533
  * Check if a system is currently enabled, i.e. available for use.
478
- * Check if system is currently enabled
479
534
  */
480
535
  async isEnabled(requestParameters: IsEnabledRequest, initOverrides?: RequestInit): Promise<RespBoolean> {
481
536
  const response = await this.isEnabledRaw(requestParameters, initOverrides);
@@ -484,7 +539,6 @@ export class SystemsApi extends runtime.BaseAPI {
484
539
 
485
540
  /**
486
541
  * *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
542
  */
489
543
  async matchConstraintsRaw(requestParameters: MatchConstraintsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<RespSystems>> {
490
544
  if (requestParameters.reqMatchConstraints === null || requestParameters.reqMatchConstraints === undefined) {
@@ -514,7 +568,6 @@ export class SystemsApi extends runtime.BaseAPI {
514
568
 
515
569
  /**
516
570
  * *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
571
  */
519
572
  async matchConstraints(requestParameters: MatchConstraintsRequest, initOverrides?: RequestInit): Promise<RespSystems> {
520
573
  const response = await this.matchConstraintsRaw(requestParameters, initOverrides);
@@ -522,8 +575,7 @@ export class SystemsApi extends runtime.BaseAPI {
522
575
  }
523
576
 
524
577
  /**
525
- * 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
578
+ * 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.
527
579
  */
528
580
  async patchSystemRaw(requestParameters: PatchSystemRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<RespResourceUrl>> {
529
581
  if (requestParameters.systemId === null || requestParameters.systemId === undefined) {
@@ -556,8 +608,7 @@ export class SystemsApi extends runtime.BaseAPI {
556
608
  }
557
609
 
558
610
  /**
559
- * 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
611
+ * 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.
561
612
  */
562
613
  async patchSystem(requestParameters: PatchSystemRequest, initOverrides?: RequestInit): Promise<RespResourceUrl> {
563
614
  const response = await this.patchSystemRaw(requestParameters, initOverrides);
@@ -565,8 +616,7 @@ export class SystemsApi extends runtime.BaseAPI {
565
616
  }
566
617
 
567
618
  /**
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
619
+ * 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.
570
620
  */
571
621
  async putSystemRaw(requestParameters: PutSystemRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<RespResourceUrl>> {
572
622
  if (requestParameters.systemId === null || requestParameters.systemId === undefined) {
@@ -603,8 +653,7 @@ export class SystemsApi extends runtime.BaseAPI {
603
653
  }
604
654
 
605
655
  /**
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
656
+ * 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.
608
657
  */
609
658
  async putSystem(requestParameters: PutSystemRequest, initOverrides?: RequestInit): Promise<RespResourceUrl> {
610
659
  const response = await this.putSystemRaw(requestParameters, initOverrides);
@@ -612,8 +661,7 @@ export class SystemsApi extends runtime.BaseAPI {
612
661
  }
613
662
 
614
663
  /**
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
664
+ * 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
665
  */
618
666
  async searchSystemsQueryParametersRaw(requestParameters: SearchSystemsQueryParametersRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<RespSystems>> {
619
667
  const queryParameters: any = {};
@@ -622,6 +670,10 @@ export class SystemsApi extends runtime.BaseAPI {
622
670
  queryParameters['freeFormParameterName'] = requestParameters.freeFormParameterName;
623
671
  }
624
672
 
673
+ if (requestParameters.listType !== undefined) {
674
+ queryParameters['listType'] = requestParameters.listType;
675
+ }
676
+
625
677
  if (requestParameters.limit !== undefined) {
626
678
  queryParameters['limit'] = requestParameters.limit;
627
679
  }
@@ -663,8 +715,7 @@ export class SystemsApi extends runtime.BaseAPI {
663
715
  }
664
716
 
665
717
  /**
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
718
+ * 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
719
  */
669
720
  async searchSystemsQueryParameters(requestParameters: SearchSystemsQueryParametersRequest, initOverrides?: RequestInit): Promise<RespSystems> {
670
721
  const response = await this.searchSystemsQueryParametersRaw(requestParameters, initOverrides);
@@ -672,8 +723,7 @@ export class SystemsApi extends runtime.BaseAPI {
672
723
  }
673
724
 
674
725
  /**
675
- * Retrieve details for systems. Use request body to specify SQL-like search conditions.
676
- * Retrieve list of systems matching search conditions
726
+ * 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
727
  */
678
728
  async searchSystemsRequestBodyRaw(requestParameters: SearchSystemsRequestBodyRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<RespSystems>> {
679
729
  if (requestParameters.reqSearchSystems === null || requestParameters.reqSearchSystems === undefined) {
@@ -682,6 +732,10 @@ export class SystemsApi extends runtime.BaseAPI {
682
732
 
683
733
  const queryParameters: any = {};
684
734
 
735
+ if (requestParameters.listType !== undefined) {
736
+ queryParameters['listType'] = requestParameters.listType;
737
+ }
738
+
685
739
  if (requestParameters.limit !== undefined) {
686
740
  queryParameters['limit'] = requestParameters.limit;
687
741
  }
@@ -726,8 +780,7 @@ export class SystemsApi extends runtime.BaseAPI {
726
780
  }
727
781
 
728
782
  /**
729
- * Retrieve details for systems. Use request body to specify SQL-like search conditions.
730
- * Retrieve list of systems matching search conditions
783
+ * 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
784
  */
732
785
  async searchSystemsRequestBody(requestParameters: SearchSystemsRequestBodyRequest, initOverrides?: RequestInit): Promise<RespSystems> {
733
786
  const response = await this.searchSystemsRequestBodyRaw(requestParameters, initOverrides);
@@ -736,7 +789,6 @@ export class SystemsApi extends runtime.BaseAPI {
736
789
 
737
790
  /**
738
791
  * Mark a system as not deleted. System will appear in queries.
739
- * Mark a system as not deleted
740
792
  */
741
793
  async undeleteSystemRaw(requestParameters: UndeleteSystemRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<RespChangeCount>> {
742
794
  if (requestParameters.systemId === null || requestParameters.systemId === undefined) {
@@ -763,7 +815,6 @@ export class SystemsApi extends runtime.BaseAPI {
763
815
 
764
816
  /**
765
817
  * Mark a system as not deleted. System will appear in queries.
766
- * Mark a system as not deleted
767
818
  */
768
819
  async undeleteSystem(requestParameters: UndeleteSystemRequest, initOverrides?: RequestInit): Promise<RespChangeCount> {
769
820
  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.6.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.6.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.6.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.6.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.6.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.6.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).