@tapis/tapis-typescript-systems 0.0.6 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +3 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +5 -4
- package/dist/apis/ChildSystemsApi.d.ts +10 -10
- package/dist/apis/ChildSystemsApi.js +84 -65
- package/dist/apis/CredentialsApi.d.ts +25 -24
- package/dist/apis/CredentialsApi.js +172 -138
- package/dist/apis/GeneralApi.d.ts +6 -6
- package/dist/apis/GeneralApi.js +18 -11
- package/dist/apis/PermissionsApi.d.ts +10 -10
- package/dist/apis/PermissionsApi.js +112 -89
- package/dist/apis/SchedulerProfilesApi.d.ts +10 -10
- package/dist/apis/SchedulerProfilesApi.js +95 -72
- package/dist/apis/SharingApi.d.ts +12 -12
- package/dist/apis/SharingApi.js +122 -95
- package/dist/apis/SystemsApi.d.ts +61 -46
- package/dist/apis/SystemsApi.js +473 -341
- package/dist/apis/index.js +21 -10
- package/dist/index.d.ts +2 -2
- package/dist/index.js +17 -6
- package/dist/models/AuthnEnum.d.ts +12 -9
- package/dist/models/AuthnEnum.js +28 -13
- package/dist/models/Capability.d.ts +9 -3
- package/dist/models/Capability.js +37 -22
- package/dist/models/CategoryEnum.d.ts +14 -12
- package/dist/models/CategoryEnum.js +30 -16
- package/dist/models/Credential.d.ts +26 -3
- package/dist/models/Credential.js +47 -33
- package/dist/models/DatatypeEnum.d.ts +11 -9
- package/dist/models/DatatypeEnum.js +27 -13
- package/dist/models/JobRuntime.d.ts +8 -3
- package/dist/models/JobRuntime.js +27 -17
- package/dist/models/KeyValueInputModeEnum.d.ts +10 -8
- package/dist/models/KeyValueInputModeEnum.js +26 -12
- package/dist/models/KeyValuePair.d.ts +8 -3
- package/dist/models/KeyValuePair.js +32 -22
- package/dist/models/ListTypeEnum.d.ts +9 -7
- package/dist/models/ListTypeEnum.js +25 -11
- package/dist/models/LogicalQueue.d.ts +13 -2
- package/dist/models/LogicalQueue.js +48 -34
- package/dist/models/ModuleLoadSpec.d.ts +7 -2
- package/dist/models/ModuleLoadSpec.js +25 -15
- package/dist/models/OperationTypeEnum.d.ts +20 -18
- package/dist/models/OperationTypeEnum.js +36 -22
- package/dist/models/ReqMatchConstraints.d.ts +7 -2
- package/dist/models/ReqMatchConstraints.js +23 -12
- package/dist/models/ReqPatchSystem.d.ts +13 -3
- package/dist/models/ReqPatchSystem.js +76 -63
- package/dist/models/ReqPerms.d.ts +7 -2
- package/dist/models/ReqPerms.js +23 -12
- package/dist/models/ReqPostChildSystem.d.ts +7 -2
- package/dist/models/ReqPostChildSystem.js +28 -16
- package/dist/models/ReqPostPutCredential.d.ts +7 -2
- package/dist/models/ReqPostPutCredential.js +36 -28
- package/dist/models/ReqPostSchedulerProfile.d.ts +9 -3
- package/dist/models/ReqPostSchedulerProfile.js +33 -22
- package/dist/models/ReqPostSystem.d.ts +15 -3
- package/dist/models/ReqPostSystem.js +101 -76
- package/dist/models/ReqPutSystem.d.ts +13 -3
- package/dist/models/ReqPutSystem.js +74 -61
- package/dist/models/ReqSearchSystems.d.ts +7 -2
- package/dist/models/ReqSearchSystems.js +23 -12
- package/dist/models/ReqShareUpdate.d.ts +7 -2
- package/dist/models/ReqShareUpdate.js +23 -12
- package/dist/models/ReqUnlinkChildren.d.ts +7 -2
- package/dist/models/ReqUnlinkChildren.js +22 -14
- package/dist/models/ReqUpdateCredential.d.ts +7 -2
- package/dist/models/ReqUpdateCredential.js +38 -30
- package/dist/models/RespBasic.d.ts +7 -2
- package/dist/models/RespBasic.js +34 -26
- package/dist/models/RespBoolean.d.ts +8 -3
- package/dist/models/RespBoolean.js +35 -27
- package/dist/models/RespChangeCount.d.ts +8 -3
- package/dist/models/RespChangeCount.js +35 -27
- package/dist/models/RespCredential.d.ts +8 -3
- package/dist/models/RespCredential.js +35 -27
- package/dist/models/RespGlobusAuthUrl.d.ts +8 -3
- package/dist/models/RespGlobusAuthUrl.js +35 -27
- package/dist/models/RespName.d.ts +69 -0
- package/dist/models/RespName.js +62 -0
- package/dist/models/RespNameArray.d.ts +8 -3
- package/dist/models/RespNameArray.js +35 -27
- package/dist/models/RespResourceUrl.d.ts +8 -3
- package/dist/models/RespResourceUrl.js +35 -27
- package/dist/models/RespSchedulerProfile.d.ts +8 -3
- package/dist/models/RespSchedulerProfile.js +35 -27
- package/dist/models/RespSchedulerProfiles.d.ts +8 -3
- package/dist/models/RespSchedulerProfiles.js +35 -27
- package/dist/models/RespShareInfo.d.ts +8 -3
- package/dist/models/RespShareInfo.js +35 -27
- package/dist/models/RespSystem.d.ts +8 -3
- package/dist/models/RespSystem.js +35 -27
- package/dist/models/RespSystemHistory.d.ts +8 -3
- package/dist/models/RespSystemHistory.js +35 -27
- package/dist/models/RespSystems.d.ts +9 -3
- package/dist/models/RespSystems.js +36 -27
- package/dist/models/RespSystemsMetadata.d.ts +7 -2
- package/dist/models/RespSystemsMetadata.js +32 -24
- package/dist/models/ResultBoolean.d.ts +7 -2
- package/dist/models/ResultBoolean.js +22 -14
- package/dist/models/ResultChangeCount.d.ts +7 -2
- package/dist/models/ResultChangeCount.js +22 -14
- package/dist/models/ResultGlobusAuthUrl.d.ts +7 -2
- package/dist/models/ResultGlobusAuthUrl.js +26 -18
- package/dist/models/ResultName.d.ts +32 -0
- package/dist/models/ResultName.js +49 -0
- package/dist/models/ResultNameArray.d.ts +7 -2
- package/dist/models/ResultNameArray.js +22 -14
- package/dist/models/ResultResourceUrl.d.ts +7 -2
- package/dist/models/ResultResourceUrl.js +22 -14
- package/dist/models/RuntimeTypeEnum.d.ts +9 -7
- package/dist/models/RuntimeTypeEnum.js +25 -11
- package/dist/models/SchedulerHiddenOptionEnum.d.ts +8 -5
- package/dist/models/SchedulerHiddenOptionEnum.js +24 -9
- package/dist/models/SchedulerProfile.d.ts +9 -3
- package/dist/models/SchedulerProfile.js +35 -24
- package/dist/models/SchedulerTypeEnum.d.ts +12 -10
- package/dist/models/SchedulerTypeEnum.js +28 -14
- package/dist/models/ShareInfo.d.ts +14 -2
- package/dist/models/ShareInfo.js +29 -13
- package/dist/models/SkShareRecord.d.ts +86 -0
- package/dist/models/SkShareRecord.js +67 -0
- package/dist/models/SystemHistory.d.ts +8 -3
- package/dist/models/SystemHistory.js +35 -27
- package/dist/models/SystemTypeEnum.d.ts +10 -8
- package/dist/models/SystemTypeEnum.js +26 -12
- package/dist/models/TapisSystem.d.ts +39 -21
- package/dist/models/TapisSystem.js +114 -97
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +68 -54
- package/dist/runtime.d.ts +79 -37
- package/dist/runtime.js +311 -169
- package/package.json +6 -2
- package/src/apis/ChildSystemsApi.ts +47 -33
- package/src/apis/CredentialsApi.ts +124 -75
- package/src/apis/GeneralApi.ts +9 -7
- package/src/apis/PermissionsApi.ts +80 -45
- package/src/apis/SchedulerProfilesApi.ts +40 -29
- package/src/apis/SharingApi.ts +64 -41
- package/src/apis/SystemsApi.ts +306 -189
- package/src/index.ts +2 -2
- package/src/models/AuthnEnum.ts +26 -8
- package/src/models/Capability.ts +37 -19
- package/src/models/CategoryEnum.ts +28 -11
- package/src/models/Credential.ts +67 -31
- package/src/models/DatatypeEnum.ts +25 -8
- package/src/models/JobRuntime.ts +27 -14
- package/src/models/KeyValueInputModeEnum.ts +24 -7
- package/src/models/KeyValuePair.ts +33 -20
- package/src/models/ListTypeEnum.ts +23 -6
- package/src/models/LogicalQueue.ts +50 -31
- package/src/models/ModuleLoadSpec.ts +22 -12
- package/src/models/OperationTypeEnum.ts +34 -17
- package/src/models/ReqMatchConstraints.ts +20 -10
- package/src/models/ReqPatchSystem.ts +96 -69
- package/src/models/ReqPerms.ts +20 -10
- package/src/models/ReqPostChildSystem.ts +24 -13
- package/src/models/ReqPostPutCredential.ts +34 -25
- package/src/models/ReqPostSchedulerProfile.ts +38 -24
- package/src/models/ReqPostSystem.ts +123 -85
- package/src/models/ReqPutSystem.ts +94 -67
- package/src/models/ReqSearchSystems.ts +20 -10
- package/src/models/ReqShareUpdate.ts +20 -10
- package/src/models/ReqUnlinkChildren.ts +20 -11
- package/src/models/ReqUpdateCredential.ts +36 -27
- package/src/models/RespBasic.ts +32 -23
- package/src/models/RespBoolean.ts +35 -25
- package/src/models/RespChangeCount.ts +35 -25
- package/src/models/RespCredential.ts +35 -25
- package/src/models/RespGlobusAuthUrl.ts +35 -25
- package/src/models/RespName.ts +121 -0
- package/src/models/RespNameArray.ts +35 -25
- package/src/models/RespResourceUrl.ts +35 -25
- package/src/models/RespSchedulerProfile.ts +35 -25
- package/src/models/RespSchedulerProfiles.ts +35 -25
- package/src/models/RespShareInfo.ts +35 -25
- package/src/models/RespSystem.ts +35 -25
- package/src/models/RespSystemHistory.ts +35 -25
- package/src/models/RespSystems.ts +42 -29
- package/src/models/RespSystemsMetadata.ts +30 -21
- package/src/models/ResultBoolean.ts +20 -11
- package/src/models/ResultChangeCount.ts +20 -11
- package/src/models/ResultGlobusAuthUrl.ts +24 -15
- package/src/models/ResultName.ts +65 -0
- package/src/models/ResultNameArray.ts +20 -11
- package/src/models/ResultResourceUrl.ts +20 -11
- package/src/models/RuntimeTypeEnum.ts +23 -6
- package/src/models/SchedulerHiddenOptionEnum.ts +22 -4
- package/src/models/SchedulerProfile.ts +40 -26
- package/src/models/SchedulerTypeEnum.ts +26 -9
- package/src/models/ShareInfo.ts +38 -11
- package/src/models/SkShareRecord.ts +137 -0
- package/src/models/SystemHistory.ts +37 -25
- package/src/models/SystemTypeEnum.ts +24 -7
- package/src/models/TapisSystem.ts +167 -126
- package/src/models/index.ts +3 -0
- package/src/runtime.ts +217 -106
|
@@ -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:
|
|
7
|
+
* The version of the OpenAPI document: 25Q4.2
|
|
8
8
|
* Contact: cicsupport@tacc.utexas.edu
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,15 +12,28 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
+
|
|
15
16
|
/**
|
|
16
17
|
*
|
|
17
18
|
* @export
|
|
18
|
-
* @enum {string}
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
21
|
-
Owned
|
|
22
|
-
SharedPublic
|
|
23
|
-
All
|
|
20
|
+
export const ListTypeEnum = {
|
|
21
|
+
Owned: 'OWNED',
|
|
22
|
+
SharedPublic: 'SHARED_PUBLIC',
|
|
23
|
+
All: 'ALL'
|
|
24
|
+
} as const;
|
|
25
|
+
export type ListTypeEnum = typeof ListTypeEnum[keyof typeof ListTypeEnum];
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
export function instanceOfListTypeEnum(value: any): boolean {
|
|
29
|
+
for (const key in ListTypeEnum) {
|
|
30
|
+
if (Object.prototype.hasOwnProperty.call(ListTypeEnum, key)) {
|
|
31
|
+
if (ListTypeEnum[key as keyof typeof ListTypeEnum] === value) {
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
return false;
|
|
24
37
|
}
|
|
25
38
|
|
|
26
39
|
export function ListTypeEnumFromJSON(json: any): ListTypeEnum {
|
|
@@ -35,3 +48,7 @@ export function ListTypeEnumToJSON(value?: ListTypeEnum | null): any {
|
|
|
35
48
|
return value as any;
|
|
36
49
|
}
|
|
37
50
|
|
|
51
|
+
export function ListTypeEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): ListTypeEnum {
|
|
52
|
+
return value as ListTypeEnum;
|
|
53
|
+
}
|
|
54
|
+
|
|
@@ -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:
|
|
7
|
+
* The version of the OpenAPI document: 25Q4.2
|
|
8
8
|
* Contact: cicsupport@tacc.utexas.edu
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import {
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
@@ -25,6 +25,12 @@ export interface LogicalQueue {
|
|
|
25
25
|
* @memberof LogicalQueue
|
|
26
26
|
*/
|
|
27
27
|
name: string;
|
|
28
|
+
/**
|
|
29
|
+
* Optional more verbose description.
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof LogicalQueue
|
|
32
|
+
*/
|
|
33
|
+
description?: string;
|
|
28
34
|
/**
|
|
29
35
|
*
|
|
30
36
|
* @type {string}
|
|
@@ -93,52 +99,65 @@ export interface LogicalQueue {
|
|
|
93
99
|
maxMinutes?: number;
|
|
94
100
|
}
|
|
95
101
|
|
|
102
|
+
/**
|
|
103
|
+
* Check if a given object implements the LogicalQueue interface.
|
|
104
|
+
*/
|
|
105
|
+
export function instanceOfLogicalQueue(value: object): value is LogicalQueue {
|
|
106
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
107
|
+
if (!('hpcQueueName' in value) || value['hpcQueueName'] === undefined) return false;
|
|
108
|
+
return true;
|
|
109
|
+
}
|
|
110
|
+
|
|
96
111
|
export function LogicalQueueFromJSON(json: any): LogicalQueue {
|
|
97
112
|
return LogicalQueueFromJSONTyped(json, false);
|
|
98
113
|
}
|
|
99
114
|
|
|
100
115
|
export function LogicalQueueFromJSONTyped(json: any, ignoreDiscriminator: boolean): LogicalQueue {
|
|
101
|
-
if (
|
|
116
|
+
if (json == null) {
|
|
102
117
|
return json;
|
|
103
118
|
}
|
|
104
119
|
return {
|
|
105
120
|
|
|
106
121
|
'name': json['name'],
|
|
122
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
107
123
|
'hpcQueueName': json['hpcQueueName'],
|
|
108
|
-
'maxJobs':
|
|
109
|
-
'maxJobsPerUser':
|
|
110
|
-
'minNodeCount':
|
|
111
|
-
'maxNodeCount':
|
|
112
|
-
'minCoresPerNode':
|
|
113
|
-
'maxCoresPerNode':
|
|
114
|
-
'minMemoryMB':
|
|
115
|
-
'maxMemoryMB':
|
|
116
|
-
'minMinutes':
|
|
117
|
-
'maxMinutes':
|
|
124
|
+
'maxJobs': json['maxJobs'] == null ? undefined : json['maxJobs'],
|
|
125
|
+
'maxJobsPerUser': json['maxJobsPerUser'] == null ? undefined : json['maxJobsPerUser'],
|
|
126
|
+
'minNodeCount': json['minNodeCount'] == null ? undefined : json['minNodeCount'],
|
|
127
|
+
'maxNodeCount': json['maxNodeCount'] == null ? undefined : json['maxNodeCount'],
|
|
128
|
+
'minCoresPerNode': json['minCoresPerNode'] == null ? undefined : json['minCoresPerNode'],
|
|
129
|
+
'maxCoresPerNode': json['maxCoresPerNode'] == null ? undefined : json['maxCoresPerNode'],
|
|
130
|
+
'minMemoryMB': json['minMemoryMB'] == null ? undefined : json['minMemoryMB'],
|
|
131
|
+
'maxMemoryMB': json['maxMemoryMB'] == null ? undefined : json['maxMemoryMB'],
|
|
132
|
+
'minMinutes': json['minMinutes'] == null ? undefined : json['minMinutes'],
|
|
133
|
+
'maxMinutes': json['maxMinutes'] == null ? undefined : json['maxMinutes'],
|
|
118
134
|
};
|
|
119
135
|
}
|
|
120
136
|
|
|
121
|
-
export function LogicalQueueToJSON(
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
137
|
+
export function LogicalQueueToJSON(json: any): LogicalQueue {
|
|
138
|
+
return LogicalQueueToJSONTyped(json, false);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
export function LogicalQueueToJSONTyped(value?: LogicalQueue | null, ignoreDiscriminator: boolean = false): any {
|
|
142
|
+
if (value == null) {
|
|
143
|
+
return value;
|
|
127
144
|
}
|
|
145
|
+
|
|
128
146
|
return {
|
|
129
147
|
|
|
130
|
-
'name': value
|
|
131
|
-
'
|
|
132
|
-
'
|
|
133
|
-
'
|
|
134
|
-
'
|
|
135
|
-
'
|
|
136
|
-
'
|
|
137
|
-
'
|
|
138
|
-
'
|
|
139
|
-
'
|
|
140
|
-
'
|
|
141
|
-
'
|
|
148
|
+
'name': value['name'],
|
|
149
|
+
'description': value['description'],
|
|
150
|
+
'hpcQueueName': value['hpcQueueName'],
|
|
151
|
+
'maxJobs': value['maxJobs'],
|
|
152
|
+
'maxJobsPerUser': value['maxJobsPerUser'],
|
|
153
|
+
'minNodeCount': value['minNodeCount'],
|
|
154
|
+
'maxNodeCount': value['maxNodeCount'],
|
|
155
|
+
'minCoresPerNode': value['minCoresPerNode'],
|
|
156
|
+
'maxCoresPerNode': value['maxCoresPerNode'],
|
|
157
|
+
'minMemoryMB': value['minMemoryMB'],
|
|
158
|
+
'maxMemoryMB': value['maxMemoryMB'],
|
|
159
|
+
'minMinutes': value['minMinutes'],
|
|
160
|
+
'maxMinutes': value['maxMinutes'],
|
|
142
161
|
};
|
|
143
162
|
}
|
|
144
163
|
|
|
@@ -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:
|
|
7
|
+
* The version of the OpenAPI document: 25Q4.2
|
|
8
8
|
* Contact: cicsupport@tacc.utexas.edu
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import {
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
@@ -33,32 +33,42 @@ export interface ModuleLoadSpec {
|
|
|
33
33
|
modulesToLoad?: Array<string>;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the ModuleLoadSpec interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfModuleLoadSpec(value: object): value is ModuleLoadSpec {
|
|
40
|
+
if (!('moduleLoadCommand' in value) || value['moduleLoadCommand'] === undefined) return false;
|
|
41
|
+
return true;
|
|
42
|
+
}
|
|
43
|
+
|
|
36
44
|
export function ModuleLoadSpecFromJSON(json: any): ModuleLoadSpec {
|
|
37
45
|
return ModuleLoadSpecFromJSONTyped(json, false);
|
|
38
46
|
}
|
|
39
47
|
|
|
40
48
|
export function ModuleLoadSpecFromJSONTyped(json: any, ignoreDiscriminator: boolean): ModuleLoadSpec {
|
|
41
|
-
if (
|
|
49
|
+
if (json == null) {
|
|
42
50
|
return json;
|
|
43
51
|
}
|
|
44
52
|
return {
|
|
45
53
|
|
|
46
54
|
'moduleLoadCommand': json['moduleLoadCommand'],
|
|
47
|
-
'modulesToLoad':
|
|
55
|
+
'modulesToLoad': json['modulesToLoad'] == null ? undefined : json['modulesToLoad'],
|
|
48
56
|
};
|
|
49
57
|
}
|
|
50
58
|
|
|
51
|
-
export function ModuleLoadSpecToJSON(
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
59
|
+
export function ModuleLoadSpecToJSON(json: any): ModuleLoadSpec {
|
|
60
|
+
return ModuleLoadSpecToJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function ModuleLoadSpecToJSONTyped(value?: ModuleLoadSpec | null, ignoreDiscriminator: boolean = false): any {
|
|
64
|
+
if (value == null) {
|
|
65
|
+
return value;
|
|
57
66
|
}
|
|
67
|
+
|
|
58
68
|
return {
|
|
59
69
|
|
|
60
|
-
'moduleLoadCommand': value
|
|
61
|
-
'modulesToLoad': value
|
|
70
|
+
'moduleLoadCommand': value['moduleLoadCommand'],
|
|
71
|
+
'modulesToLoad': value['modulesToLoad'],
|
|
62
72
|
};
|
|
63
73
|
}
|
|
64
74
|
|
|
@@ -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:
|
|
7
|
+
* The version of the OpenAPI document: 25Q4.2
|
|
8
8
|
* Contact: cicsupport@tacc.utexas.edu
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,26 +12,39 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
+
|
|
15
16
|
/**
|
|
16
17
|
*
|
|
17
18
|
* @export
|
|
18
|
-
* @enum {string}
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
21
|
-
Create
|
|
22
|
-
Read
|
|
23
|
-
Modify
|
|
24
|
-
Execute
|
|
25
|
-
Delete
|
|
26
|
-
Undelete
|
|
27
|
-
ChangeOwner
|
|
28
|
-
Enable
|
|
29
|
-
Disable
|
|
30
|
-
GetPerms
|
|
31
|
-
RevokePerms
|
|
32
|
-
SetCred
|
|
33
|
-
RemoveCred
|
|
34
|
-
GetCred
|
|
20
|
+
export const OperationTypeEnum = {
|
|
21
|
+
Create: 'CREATE',
|
|
22
|
+
Read: 'READ',
|
|
23
|
+
Modify: 'MODIFY',
|
|
24
|
+
Execute: 'EXECUTE',
|
|
25
|
+
Delete: 'DELETE',
|
|
26
|
+
Undelete: 'UNDELETE',
|
|
27
|
+
ChangeOwner: 'CHANGE_OWNER',
|
|
28
|
+
Enable: 'ENABLE',
|
|
29
|
+
Disable: 'DISABLE',
|
|
30
|
+
GetPerms: 'GET_PERMS',
|
|
31
|
+
RevokePerms: 'REVOKE_PERMS',
|
|
32
|
+
SetCred: 'SET_CRED',
|
|
33
|
+
RemoveCred: 'REMOVE_CRED',
|
|
34
|
+
GetCred: 'GET_CRED'
|
|
35
|
+
} as const;
|
|
36
|
+
export type OperationTypeEnum = typeof OperationTypeEnum[keyof typeof OperationTypeEnum];
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
export function instanceOfOperationTypeEnum(value: any): boolean {
|
|
40
|
+
for (const key in OperationTypeEnum) {
|
|
41
|
+
if (Object.prototype.hasOwnProperty.call(OperationTypeEnum, key)) {
|
|
42
|
+
if (OperationTypeEnum[key as keyof typeof OperationTypeEnum] === value) {
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
return false;
|
|
35
48
|
}
|
|
36
49
|
|
|
37
50
|
export function OperationTypeEnumFromJSON(json: any): OperationTypeEnum {
|
|
@@ -46,3 +59,7 @@ export function OperationTypeEnumToJSON(value?: OperationTypeEnum | null): any {
|
|
|
46
59
|
return value as any;
|
|
47
60
|
}
|
|
48
61
|
|
|
62
|
+
export function OperationTypeEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): OperationTypeEnum {
|
|
63
|
+
return value as OperationTypeEnum;
|
|
64
|
+
}
|
|
65
|
+
|
|
@@ -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:
|
|
7
|
+
* The version of the OpenAPI document: 25Q4.2
|
|
8
8
|
* Contact: cicsupport@tacc.utexas.edu
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import {
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
@@ -27,12 +27,20 @@ export interface ReqMatchConstraints {
|
|
|
27
27
|
match: Array<string>;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the ReqMatchConstraints interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfReqMatchConstraints(value: object): value is ReqMatchConstraints {
|
|
34
|
+
if (!('match' in value) || value['match'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
30
38
|
export function ReqMatchConstraintsFromJSON(json: any): ReqMatchConstraints {
|
|
31
39
|
return ReqMatchConstraintsFromJSONTyped(json, false);
|
|
32
40
|
}
|
|
33
41
|
|
|
34
42
|
export function ReqMatchConstraintsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReqMatchConstraints {
|
|
35
|
-
if (
|
|
43
|
+
if (json == null) {
|
|
36
44
|
return json;
|
|
37
45
|
}
|
|
38
46
|
return {
|
|
@@ -41,16 +49,18 @@ export function ReqMatchConstraintsFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
41
49
|
};
|
|
42
50
|
}
|
|
43
51
|
|
|
44
|
-
export function ReqMatchConstraintsToJSON(
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
52
|
+
export function ReqMatchConstraintsToJSON(json: any): ReqMatchConstraints {
|
|
53
|
+
return ReqMatchConstraintsToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function ReqMatchConstraintsToJSONTyped(value?: ReqMatchConstraints | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
50
59
|
}
|
|
60
|
+
|
|
51
61
|
return {
|
|
52
62
|
|
|
53
|
-
'match': value
|
|
63
|
+
'match': value['match'],
|
|
54
64
|
};
|
|
55
65
|
}
|
|
56
66
|
|
|
@@ -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:
|
|
7
|
+
* The version of the OpenAPI document: 25Q4.2
|
|
8
8
|
* Contact: cicsupport@tacc.utexas.edu
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,33 +12,49 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import {
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { AuthnEnum } from './AuthnEnum';
|
|
16
17
|
import {
|
|
17
|
-
AuthnEnum,
|
|
18
18
|
AuthnEnumFromJSON,
|
|
19
19
|
AuthnEnumFromJSONTyped,
|
|
20
20
|
AuthnEnumToJSON,
|
|
21
|
-
|
|
21
|
+
AuthnEnumToJSONTyped,
|
|
22
|
+
} from './AuthnEnum';
|
|
23
|
+
import type { Capability } from './Capability';
|
|
24
|
+
import {
|
|
22
25
|
CapabilityFromJSON,
|
|
23
26
|
CapabilityFromJSONTyped,
|
|
24
27
|
CapabilityToJSON,
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
KeyValuePair,
|
|
28
|
+
CapabilityToJSONTyped,
|
|
29
|
+
} from './Capability';
|
|
30
|
+
import type { KeyValuePair } from './KeyValuePair';
|
|
31
|
+
import {
|
|
30
32
|
KeyValuePairFromJSON,
|
|
31
33
|
KeyValuePairFromJSONTyped,
|
|
32
34
|
KeyValuePairToJSON,
|
|
33
|
-
|
|
35
|
+
KeyValuePairToJSONTyped,
|
|
36
|
+
} from './KeyValuePair';
|
|
37
|
+
import type { LogicalQueue } from './LogicalQueue';
|
|
38
|
+
import {
|
|
34
39
|
LogicalQueueFromJSON,
|
|
35
40
|
LogicalQueueFromJSONTyped,
|
|
36
41
|
LogicalQueueToJSON,
|
|
37
|
-
|
|
42
|
+
LogicalQueueToJSONTyped,
|
|
43
|
+
} from './LogicalQueue';
|
|
44
|
+
import type { SchedulerTypeEnum } from './SchedulerTypeEnum';
|
|
45
|
+
import {
|
|
38
46
|
SchedulerTypeEnumFromJSON,
|
|
39
47
|
SchedulerTypeEnumFromJSONTyped,
|
|
40
48
|
SchedulerTypeEnumToJSON,
|
|
41
|
-
|
|
49
|
+
SchedulerTypeEnumToJSONTyped,
|
|
50
|
+
} from './SchedulerTypeEnum';
|
|
51
|
+
import type { JobRuntime } from './JobRuntime';
|
|
52
|
+
import {
|
|
53
|
+
JobRuntimeFromJSON,
|
|
54
|
+
JobRuntimeFromJSONTyped,
|
|
55
|
+
JobRuntimeToJSON,
|
|
56
|
+
JobRuntimeToJSONTyped,
|
|
57
|
+
} from './JobRuntime';
|
|
42
58
|
|
|
43
59
|
/**
|
|
44
60
|
*
|
|
@@ -198,78 +214,89 @@ export interface ReqPatchSystem {
|
|
|
198
214
|
notes?: object;
|
|
199
215
|
}
|
|
200
216
|
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* Check if a given object implements the ReqPatchSystem interface.
|
|
221
|
+
*/
|
|
222
|
+
export function instanceOfReqPatchSystem(value: object): value is ReqPatchSystem {
|
|
223
|
+
return true;
|
|
224
|
+
}
|
|
225
|
+
|
|
201
226
|
export function ReqPatchSystemFromJSON(json: any): ReqPatchSystem {
|
|
202
227
|
return ReqPatchSystemFromJSONTyped(json, false);
|
|
203
228
|
}
|
|
204
229
|
|
|
205
230
|
export function ReqPatchSystemFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReqPatchSystem {
|
|
206
|
-
if (
|
|
231
|
+
if (json == null) {
|
|
207
232
|
return json;
|
|
208
233
|
}
|
|
209
234
|
return {
|
|
210
235
|
|
|
211
|
-
'description':
|
|
212
|
-
'host':
|
|
213
|
-
'effectiveUserId':
|
|
214
|
-
'defaultAuthnMethod':
|
|
215
|
-
'port':
|
|
216
|
-
'useProxy':
|
|
217
|
-
'proxyHost':
|
|
218
|
-
'proxyPort':
|
|
219
|
-
'dtnSystemId':
|
|
220
|
-
'canRunBatch':
|
|
221
|
-
'enableCmdPrefix':
|
|
222
|
-
'allowChildren':
|
|
223
|
-
'mpiCmd':
|
|
224
|
-
'jobRuntimes':
|
|
225
|
-
'jobWorkingDir':
|
|
226
|
-
'jobEnvVariables':
|
|
227
|
-
'jobMaxJobs':
|
|
228
|
-
'jobMaxJobsPerUser':
|
|
229
|
-
'batchScheduler':
|
|
230
|
-
'batchLogicalQueues':
|
|
231
|
-
'batchDefaultLogicalQueue':
|
|
232
|
-
'batchSchedulerProfile':
|
|
233
|
-
'jobCapabilities':
|
|
234
|
-
'tags':
|
|
235
|
-
'notes':
|
|
236
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
237
|
+
'host': json['host'] == null ? undefined : json['host'],
|
|
238
|
+
'effectiveUserId': json['effectiveUserId'] == null ? undefined : json['effectiveUserId'],
|
|
239
|
+
'defaultAuthnMethod': json['defaultAuthnMethod'] == null ? undefined : AuthnEnumFromJSON(json['defaultAuthnMethod']),
|
|
240
|
+
'port': json['port'] == null ? undefined : json['port'],
|
|
241
|
+
'useProxy': json['useProxy'] == null ? undefined : json['useProxy'],
|
|
242
|
+
'proxyHost': json['proxyHost'] == null ? undefined : json['proxyHost'],
|
|
243
|
+
'proxyPort': json['proxyPort'] == null ? undefined : json['proxyPort'],
|
|
244
|
+
'dtnSystemId': json['dtnSystemId'] == null ? undefined : json['dtnSystemId'],
|
|
245
|
+
'canRunBatch': json['canRunBatch'] == null ? undefined : json['canRunBatch'],
|
|
246
|
+
'enableCmdPrefix': json['enableCmdPrefix'] == null ? undefined : json['enableCmdPrefix'],
|
|
247
|
+
'allowChildren': json['allowChildren'] == null ? undefined : json['allowChildren'],
|
|
248
|
+
'mpiCmd': json['mpiCmd'] == null ? undefined : json['mpiCmd'],
|
|
249
|
+
'jobRuntimes': json['jobRuntimes'] == null ? undefined : ((json['jobRuntimes'] as Array<any>).map(JobRuntimeFromJSON)),
|
|
250
|
+
'jobWorkingDir': json['jobWorkingDir'] == null ? undefined : json['jobWorkingDir'],
|
|
251
|
+
'jobEnvVariables': json['jobEnvVariables'] == null ? undefined : ((json['jobEnvVariables'] as Array<any>).map(KeyValuePairFromJSON)),
|
|
252
|
+
'jobMaxJobs': json['jobMaxJobs'] == null ? undefined : json['jobMaxJobs'],
|
|
253
|
+
'jobMaxJobsPerUser': json['jobMaxJobsPerUser'] == null ? undefined : json['jobMaxJobsPerUser'],
|
|
254
|
+
'batchScheduler': json['batchScheduler'] == null ? undefined : SchedulerTypeEnumFromJSON(json['batchScheduler']),
|
|
255
|
+
'batchLogicalQueues': json['batchLogicalQueues'] == null ? undefined : ((json['batchLogicalQueues'] as Array<any>).map(LogicalQueueFromJSON)),
|
|
256
|
+
'batchDefaultLogicalQueue': json['batchDefaultLogicalQueue'] == null ? undefined : json['batchDefaultLogicalQueue'],
|
|
257
|
+
'batchSchedulerProfile': json['batchSchedulerProfile'] == null ? undefined : json['batchSchedulerProfile'],
|
|
258
|
+
'jobCapabilities': json['jobCapabilities'] == null ? undefined : ((json['jobCapabilities'] as Array<any>).map(CapabilityFromJSON)),
|
|
259
|
+
'tags': json['tags'] == null ? undefined : json['tags'],
|
|
260
|
+
'notes': json['notes'] == null ? undefined : json['notes'],
|
|
236
261
|
};
|
|
237
262
|
}
|
|
238
263
|
|
|
239
|
-
export function ReqPatchSystemToJSON(
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
264
|
+
export function ReqPatchSystemToJSON(json: any): ReqPatchSystem {
|
|
265
|
+
return ReqPatchSystemToJSONTyped(json, false);
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
export function ReqPatchSystemToJSONTyped(value?: ReqPatchSystem | null, ignoreDiscriminator: boolean = false): any {
|
|
269
|
+
if (value == null) {
|
|
270
|
+
return value;
|
|
245
271
|
}
|
|
272
|
+
|
|
246
273
|
return {
|
|
247
274
|
|
|
248
|
-
'description': value
|
|
249
|
-
'host': value
|
|
250
|
-
'effectiveUserId': value
|
|
251
|
-
'defaultAuthnMethod': AuthnEnumToJSON(value
|
|
252
|
-
'port': value
|
|
253
|
-
'useProxy': value
|
|
254
|
-
'proxyHost': value
|
|
255
|
-
'proxyPort': value
|
|
256
|
-
'dtnSystemId': value
|
|
257
|
-
'canRunBatch': value
|
|
258
|
-
'enableCmdPrefix': value
|
|
259
|
-
'allowChildren': value
|
|
260
|
-
'mpiCmd': value
|
|
261
|
-
'jobRuntimes': value
|
|
262
|
-
'jobWorkingDir': value
|
|
263
|
-
'jobEnvVariables': value
|
|
264
|
-
'jobMaxJobs': value
|
|
265
|
-
'jobMaxJobsPerUser': value
|
|
266
|
-
'batchScheduler': SchedulerTypeEnumToJSON(value
|
|
267
|
-
'batchLogicalQueues': value
|
|
268
|
-
'batchDefaultLogicalQueue': value
|
|
269
|
-
'batchSchedulerProfile': value
|
|
270
|
-
'jobCapabilities': value
|
|
271
|
-
'tags': value
|
|
272
|
-
'notes': value
|
|
275
|
+
'description': value['description'],
|
|
276
|
+
'host': value['host'],
|
|
277
|
+
'effectiveUserId': value['effectiveUserId'],
|
|
278
|
+
'defaultAuthnMethod': AuthnEnumToJSON(value['defaultAuthnMethod']),
|
|
279
|
+
'port': value['port'],
|
|
280
|
+
'useProxy': value['useProxy'],
|
|
281
|
+
'proxyHost': value['proxyHost'],
|
|
282
|
+
'proxyPort': value['proxyPort'],
|
|
283
|
+
'dtnSystemId': value['dtnSystemId'],
|
|
284
|
+
'canRunBatch': value['canRunBatch'],
|
|
285
|
+
'enableCmdPrefix': value['enableCmdPrefix'],
|
|
286
|
+
'allowChildren': value['allowChildren'],
|
|
287
|
+
'mpiCmd': value['mpiCmd'],
|
|
288
|
+
'jobRuntimes': value['jobRuntimes'] == null ? undefined : ((value['jobRuntimes'] as Array<any>).map(JobRuntimeToJSON)),
|
|
289
|
+
'jobWorkingDir': value['jobWorkingDir'],
|
|
290
|
+
'jobEnvVariables': value['jobEnvVariables'] == null ? undefined : ((value['jobEnvVariables'] as Array<any>).map(KeyValuePairToJSON)),
|
|
291
|
+
'jobMaxJobs': value['jobMaxJobs'],
|
|
292
|
+
'jobMaxJobsPerUser': value['jobMaxJobsPerUser'],
|
|
293
|
+
'batchScheduler': SchedulerTypeEnumToJSON(value['batchScheduler']),
|
|
294
|
+
'batchLogicalQueues': value['batchLogicalQueues'] == null ? undefined : ((value['batchLogicalQueues'] as Array<any>).map(LogicalQueueToJSON)),
|
|
295
|
+
'batchDefaultLogicalQueue': value['batchDefaultLogicalQueue'],
|
|
296
|
+
'batchSchedulerProfile': value['batchSchedulerProfile'],
|
|
297
|
+
'jobCapabilities': value['jobCapabilities'] == null ? undefined : ((value['jobCapabilities'] as Array<any>).map(CapabilityToJSON)),
|
|
298
|
+
'tags': value['tags'],
|
|
299
|
+
'notes': value['notes'],
|
|
273
300
|
};
|
|
274
301
|
}
|
|
275
302
|
|