@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
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Tapis Systems API
|
|
6
6
|
* The Tapis Systems API provides for management of Tapis Systems including permissions, credentials and Scheduler Profiles.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 25Q4.2
|
|
9
9
|
* Contact: cicsupport@tacc.utexas.edu
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,112 +13,129 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
exports.instanceOfTapisSystem = instanceOfTapisSystem;
|
|
17
|
+
exports.TapisSystemFromJSON = TapisSystemFromJSON;
|
|
18
|
+
exports.TapisSystemFromJSONTyped = TapisSystemFromJSONTyped;
|
|
19
|
+
exports.TapisSystemToJSON = TapisSystemToJSON;
|
|
20
|
+
exports.TapisSystemToJSONTyped = TapisSystemToJSONTyped;
|
|
21
|
+
var Credential_1 = require("./Credential");
|
|
22
|
+
var AuthnEnum_1 = require("./AuthnEnum");
|
|
23
|
+
var Capability_1 = require("./Capability");
|
|
24
|
+
var KeyValuePair_1 = require("./KeyValuePair");
|
|
25
|
+
var LogicalQueue_1 = require("./LogicalQueue");
|
|
26
|
+
var SchedulerTypeEnum_1 = require("./SchedulerTypeEnum");
|
|
27
|
+
var JobRuntime_1 = require("./JobRuntime");
|
|
28
|
+
var SystemTypeEnum_1 = require("./SystemTypeEnum");
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the TapisSystem interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfTapisSystem(value) {
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
18
35
|
function TapisSystemFromJSON(json) {
|
|
19
36
|
return TapisSystemFromJSONTyped(json, false);
|
|
20
37
|
}
|
|
21
|
-
exports.TapisSystemFromJSON = TapisSystemFromJSON;
|
|
22
38
|
function TapisSystemFromJSONTyped(json, ignoreDiscriminator) {
|
|
23
|
-
if (
|
|
39
|
+
if (json == null) {
|
|
24
40
|
return json;
|
|
25
41
|
}
|
|
26
42
|
return {
|
|
27
|
-
'tenant':
|
|
28
|
-
'id':
|
|
29
|
-
'description':
|
|
30
|
-
'systemType':
|
|
31
|
-
'owner':
|
|
32
|
-
'host':
|
|
33
|
-
'enabled':
|
|
34
|
-
'effectiveUserId':
|
|
35
|
-
'defaultAuthnMethod':
|
|
36
|
-
'authnCredential':
|
|
37
|
-
'bucketName':
|
|
38
|
-
'rootDir':
|
|
39
|
-
'port':
|
|
40
|
-
'useProxy':
|
|
41
|
-
'proxyHost':
|
|
42
|
-
'proxyPort':
|
|
43
|
-
'dtnSystemId':
|
|
44
|
-
'
|
|
45
|
-
'
|
|
46
|
-
'
|
|
47
|
-
'
|
|
48
|
-
'
|
|
49
|
-
'
|
|
50
|
-
'
|
|
51
|
-
'
|
|
52
|
-
'
|
|
53
|
-
'
|
|
54
|
-
'
|
|
55
|
-
'
|
|
56
|
-
'
|
|
57
|
-
'
|
|
58
|
-
'
|
|
59
|
-
'
|
|
60
|
-
'
|
|
61
|
-
'
|
|
62
|
-
'
|
|
63
|
-
'
|
|
64
|
-
'
|
|
65
|
-
'
|
|
66
|
-
'
|
|
67
|
-
'
|
|
68
|
-
'
|
|
43
|
+
'tenant': json['tenant'] == null ? undefined : json['tenant'],
|
|
44
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
45
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
46
|
+
'systemType': json['systemType'] == null ? undefined : (0, SystemTypeEnum_1.SystemTypeEnumFromJSON)(json['systemType']),
|
|
47
|
+
'owner': json['owner'] == null ? undefined : json['owner'],
|
|
48
|
+
'host': json['host'] == null ? undefined : json['host'],
|
|
49
|
+
'enabled': json['enabled'] == null ? undefined : json['enabled'],
|
|
50
|
+
'effectiveUserId': json['effectiveUserId'] == null ? undefined : json['effectiveUserId'],
|
|
51
|
+
'defaultAuthnMethod': json['defaultAuthnMethod'] == null ? undefined : (0, AuthnEnum_1.AuthnEnumFromJSON)(json['defaultAuthnMethod']),
|
|
52
|
+
'authnCredential': json['authnCredential'] == null ? undefined : (0, Credential_1.CredentialFromJSON)(json['authnCredential']),
|
|
53
|
+
'bucketName': json['bucketName'] == null ? undefined : json['bucketName'],
|
|
54
|
+
'rootDir': json['rootDir'] == null ? undefined : json['rootDir'],
|
|
55
|
+
'port': json['port'] == null ? undefined : json['port'],
|
|
56
|
+
'useProxy': json['useProxy'] == null ? undefined : json['useProxy'],
|
|
57
|
+
'proxyHost': json['proxyHost'] == null ? undefined : json['proxyHost'],
|
|
58
|
+
'proxyPort': json['proxyPort'] == null ? undefined : json['proxyPort'],
|
|
59
|
+
'dtnSystemId': json['dtnSystemId'] == null ? undefined : json['dtnSystemId'],
|
|
60
|
+
'canExec': json['canExec'] == null ? undefined : json['canExec'],
|
|
61
|
+
'canRunBatch': json['canRunBatch'] == null ? undefined : json['canRunBatch'],
|
|
62
|
+
'enableCmdPrefix': json['enableCmdPrefix'] == null ? undefined : json['enableCmdPrefix'],
|
|
63
|
+
'allowChildren': json['allowChildren'] == null ? undefined : json['allowChildren'],
|
|
64
|
+
'parentId': json['parentId'] == null ? undefined : json['parentId'],
|
|
65
|
+
'mpiCmd': json['mpiCmd'] == null ? undefined : json['mpiCmd'],
|
|
66
|
+
'jobRuntimes': json['jobRuntimes'] == null ? undefined : (json['jobRuntimes'].map(JobRuntime_1.JobRuntimeFromJSON)),
|
|
67
|
+
'jobWorkingDir': json['jobWorkingDir'] == null ? undefined : json['jobWorkingDir'],
|
|
68
|
+
'jobEnvVariables': json['jobEnvVariables'] == null ? undefined : (json['jobEnvVariables'].map(KeyValuePair_1.KeyValuePairFromJSON)),
|
|
69
|
+
'jobMaxJobs': json['jobMaxJobs'] == null ? undefined : json['jobMaxJobs'],
|
|
70
|
+
'jobMaxJobsPerUser': json['jobMaxJobsPerUser'] == null ? undefined : json['jobMaxJobsPerUser'],
|
|
71
|
+
'batchScheduler': json['batchScheduler'] == null ? undefined : (0, SchedulerTypeEnum_1.SchedulerTypeEnumFromJSON)(json['batchScheduler']),
|
|
72
|
+
'batchLogicalQueues': json['batchLogicalQueues'] == null ? undefined : (json['batchLogicalQueues'].map(LogicalQueue_1.LogicalQueueFromJSON)),
|
|
73
|
+
'batchDefaultLogicalQueue': json['batchDefaultLogicalQueue'] == null ? undefined : json['batchDefaultLogicalQueue'],
|
|
74
|
+
'batchSchedulerProfile': json['batchSchedulerProfile'] == null ? undefined : json['batchSchedulerProfile'],
|
|
75
|
+
'jobCapabilities': json['jobCapabilities'] == null ? undefined : (json['jobCapabilities'].map(Capability_1.CapabilityFromJSON)),
|
|
76
|
+
'tags': json['tags'] == null ? undefined : json['tags'],
|
|
77
|
+
'notes': json['notes'] == null ? undefined : json['notes'],
|
|
78
|
+
'uuid': json['uuid'] == null ? undefined : json['uuid'],
|
|
79
|
+
'deleted': json['deleted'] == null ? undefined : json['deleted'],
|
|
80
|
+
'created': json['created'] == null ? undefined : json['created'],
|
|
81
|
+
'updated': json['updated'] == null ? undefined : json['updated'],
|
|
82
|
+
'hasCredentials': json['hasCredentials'] == null ? undefined : json['hasCredentials'],
|
|
83
|
+
'isPublic': json['isPublic'] == null ? undefined : json['isPublic'],
|
|
84
|
+
'isDynamicEffectiveUser': json['isDynamicEffectiveUser'] == null ? undefined : json['isDynamicEffectiveUser'],
|
|
85
|
+
'sharedWithUsers': json['sharedWithUsers'] == null ? undefined : json['sharedWithUsers'],
|
|
69
86
|
};
|
|
70
87
|
}
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
}
|
|
76
|
-
if (value
|
|
77
|
-
return
|
|
88
|
+
function TapisSystemToJSON(json) {
|
|
89
|
+
return TapisSystemToJSONTyped(json, false);
|
|
90
|
+
}
|
|
91
|
+
function TapisSystemToJSONTyped(value, ignoreDiscriminator) {
|
|
92
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
93
|
+
if (value == null) {
|
|
94
|
+
return value;
|
|
78
95
|
}
|
|
79
96
|
return {
|
|
80
|
-
'tenant': value
|
|
81
|
-
'id': value
|
|
82
|
-
'description': value
|
|
83
|
-
'systemType':
|
|
84
|
-
'owner': value
|
|
85
|
-
'host': value
|
|
86
|
-
'enabled': value
|
|
87
|
-
'effectiveUserId': value
|
|
88
|
-
'defaultAuthnMethod':
|
|
89
|
-
'authnCredential':
|
|
90
|
-
'bucketName': value
|
|
91
|
-
'rootDir': value
|
|
92
|
-
'port': value
|
|
93
|
-
'useProxy': value
|
|
94
|
-
'proxyHost': value
|
|
95
|
-
'proxyPort': value
|
|
96
|
-
'dtnSystemId': value
|
|
97
|
-
'
|
|
98
|
-
'
|
|
99
|
-
'
|
|
100
|
-
'
|
|
101
|
-
'
|
|
102
|
-
'
|
|
103
|
-
'
|
|
104
|
-
'
|
|
105
|
-
'
|
|
106
|
-
'
|
|
107
|
-
'
|
|
108
|
-
'
|
|
109
|
-
'
|
|
110
|
-
'
|
|
111
|
-
'
|
|
112
|
-
'
|
|
113
|
-
'
|
|
114
|
-
'
|
|
115
|
-
'
|
|
116
|
-
'
|
|
117
|
-
'
|
|
118
|
-
'
|
|
119
|
-
'
|
|
120
|
-
'
|
|
121
|
-
'
|
|
97
|
+
'tenant': value['tenant'],
|
|
98
|
+
'id': value['id'],
|
|
99
|
+
'description': value['description'],
|
|
100
|
+
'systemType': (0, SystemTypeEnum_1.SystemTypeEnumToJSON)(value['systemType']),
|
|
101
|
+
'owner': value['owner'],
|
|
102
|
+
'host': value['host'],
|
|
103
|
+
'enabled': value['enabled'],
|
|
104
|
+
'effectiveUserId': value['effectiveUserId'],
|
|
105
|
+
'defaultAuthnMethod': (0, AuthnEnum_1.AuthnEnumToJSON)(value['defaultAuthnMethod']),
|
|
106
|
+
'authnCredential': (0, Credential_1.CredentialToJSON)(value['authnCredential']),
|
|
107
|
+
'bucketName': value['bucketName'],
|
|
108
|
+
'rootDir': value['rootDir'],
|
|
109
|
+
'port': value['port'],
|
|
110
|
+
'useProxy': value['useProxy'],
|
|
111
|
+
'proxyHost': value['proxyHost'],
|
|
112
|
+
'proxyPort': value['proxyPort'],
|
|
113
|
+
'dtnSystemId': value['dtnSystemId'],
|
|
114
|
+
'canExec': value['canExec'],
|
|
115
|
+
'canRunBatch': value['canRunBatch'],
|
|
116
|
+
'enableCmdPrefix': value['enableCmdPrefix'],
|
|
117
|
+
'allowChildren': value['allowChildren'],
|
|
118
|
+
'parentId': value['parentId'],
|
|
119
|
+
'mpiCmd': value['mpiCmd'],
|
|
120
|
+
'jobRuntimes': value['jobRuntimes'] == null ? undefined : (value['jobRuntimes'].map(JobRuntime_1.JobRuntimeToJSON)),
|
|
121
|
+
'jobWorkingDir': value['jobWorkingDir'],
|
|
122
|
+
'jobEnvVariables': value['jobEnvVariables'] == null ? undefined : (value['jobEnvVariables'].map(KeyValuePair_1.KeyValuePairToJSON)),
|
|
123
|
+
'jobMaxJobs': value['jobMaxJobs'],
|
|
124
|
+
'jobMaxJobsPerUser': value['jobMaxJobsPerUser'],
|
|
125
|
+
'batchScheduler': (0, SchedulerTypeEnum_1.SchedulerTypeEnumToJSON)(value['batchScheduler']),
|
|
126
|
+
'batchLogicalQueues': value['batchLogicalQueues'] == null ? undefined : (value['batchLogicalQueues'].map(LogicalQueue_1.LogicalQueueToJSON)),
|
|
127
|
+
'batchDefaultLogicalQueue': value['batchDefaultLogicalQueue'],
|
|
128
|
+
'batchSchedulerProfile': value['batchSchedulerProfile'],
|
|
129
|
+
'jobCapabilities': value['jobCapabilities'] == null ? undefined : (value['jobCapabilities'].map(Capability_1.CapabilityToJSON)),
|
|
130
|
+
'tags': value['tags'],
|
|
131
|
+
'notes': value['notes'],
|
|
132
|
+
'uuid': value['uuid'],
|
|
133
|
+
'deleted': value['deleted'],
|
|
134
|
+
'created': value['created'],
|
|
135
|
+
'updated': value['updated'],
|
|
136
|
+
'hasCredentials': value['hasCredentials'],
|
|
137
|
+
'isPublic': value['isPublic'],
|
|
138
|
+
'isDynamicEffectiveUser': value['isDynamicEffectiveUser'],
|
|
139
|
+
'sharedWithUsers': value['sharedWithUsers'],
|
|
122
140
|
};
|
|
123
141
|
}
|
|
124
|
-
exports.TapisSystemToJSON = TapisSystemToJSON;
|
package/dist/models/index.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ export * from './RespBoolean';
|
|
|
27
27
|
export * from './RespChangeCount';
|
|
28
28
|
export * from './RespCredential';
|
|
29
29
|
export * from './RespGlobusAuthUrl';
|
|
30
|
+
export * from './RespName';
|
|
30
31
|
export * from './RespNameArray';
|
|
31
32
|
export * from './RespResourceUrl';
|
|
32
33
|
export * from './RespSchedulerProfile';
|
|
@@ -39,6 +40,7 @@ export * from './RespSystemsMetadata';
|
|
|
39
40
|
export * from './ResultBoolean';
|
|
40
41
|
export * from './ResultChangeCount';
|
|
41
42
|
export * from './ResultGlobusAuthUrl';
|
|
43
|
+
export * from './ResultName';
|
|
42
44
|
export * from './ResultNameArray';
|
|
43
45
|
export * from './ResultResourceUrl';
|
|
44
46
|
export * from './RuntimeTypeEnum';
|
|
@@ -46,6 +48,7 @@ export * from './SchedulerHiddenOptionEnum';
|
|
|
46
48
|
export * from './SchedulerProfile';
|
|
47
49
|
export * from './SchedulerTypeEnum';
|
|
48
50
|
export * from './ShareInfo';
|
|
51
|
+
export * from './SkShareRecord';
|
|
49
52
|
export * from './SystemHistory';
|
|
50
53
|
export * from './SystemTypeEnum';
|
|
51
54
|
export * from './TapisSystem';
|
package/dist/models/index.js
CHANGED
|
@@ -1,58 +1,72 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
function
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
5
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
17
|
/* tslint:disable */
|
|
7
18
|
/* eslint-disable */
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
19
|
+
__exportStar(require("./AuthnEnum"), exports);
|
|
20
|
+
__exportStar(require("./Capability"), exports);
|
|
21
|
+
__exportStar(require("./CategoryEnum"), exports);
|
|
22
|
+
__exportStar(require("./Credential"), exports);
|
|
23
|
+
__exportStar(require("./DatatypeEnum"), exports);
|
|
24
|
+
__exportStar(require("./JobRuntime"), exports);
|
|
25
|
+
__exportStar(require("./KeyValueInputModeEnum"), exports);
|
|
26
|
+
__exportStar(require("./KeyValuePair"), exports);
|
|
27
|
+
__exportStar(require("./ListTypeEnum"), exports);
|
|
28
|
+
__exportStar(require("./LogicalQueue"), exports);
|
|
29
|
+
__exportStar(require("./ModuleLoadSpec"), exports);
|
|
30
|
+
__exportStar(require("./OperationTypeEnum"), exports);
|
|
31
|
+
__exportStar(require("./ReqMatchConstraints"), exports);
|
|
32
|
+
__exportStar(require("./ReqPatchSystem"), exports);
|
|
33
|
+
__exportStar(require("./ReqPerms"), exports);
|
|
34
|
+
__exportStar(require("./ReqPostChildSystem"), exports);
|
|
35
|
+
__exportStar(require("./ReqPostPutCredential"), exports);
|
|
36
|
+
__exportStar(require("./ReqPostSchedulerProfile"), exports);
|
|
37
|
+
__exportStar(require("./ReqPostSystem"), exports);
|
|
38
|
+
__exportStar(require("./ReqPutSystem"), exports);
|
|
39
|
+
__exportStar(require("./ReqSearchSystems"), exports);
|
|
40
|
+
__exportStar(require("./ReqShareUpdate"), exports);
|
|
41
|
+
__exportStar(require("./ReqUnlinkChildren"), exports);
|
|
42
|
+
__exportStar(require("./ReqUpdateCredential"), exports);
|
|
43
|
+
__exportStar(require("./RespBasic"), exports);
|
|
44
|
+
__exportStar(require("./RespBoolean"), exports);
|
|
45
|
+
__exportStar(require("./RespChangeCount"), exports);
|
|
46
|
+
__exportStar(require("./RespCredential"), exports);
|
|
47
|
+
__exportStar(require("./RespGlobusAuthUrl"), exports);
|
|
48
|
+
__exportStar(require("./RespName"), exports);
|
|
49
|
+
__exportStar(require("./RespNameArray"), exports);
|
|
50
|
+
__exportStar(require("./RespResourceUrl"), exports);
|
|
51
|
+
__exportStar(require("./RespSchedulerProfile"), exports);
|
|
52
|
+
__exportStar(require("./RespSchedulerProfiles"), exports);
|
|
53
|
+
__exportStar(require("./RespShareInfo"), exports);
|
|
54
|
+
__exportStar(require("./RespSystem"), exports);
|
|
55
|
+
__exportStar(require("./RespSystemHistory"), exports);
|
|
56
|
+
__exportStar(require("./RespSystems"), exports);
|
|
57
|
+
__exportStar(require("./RespSystemsMetadata"), exports);
|
|
58
|
+
__exportStar(require("./ResultBoolean"), exports);
|
|
59
|
+
__exportStar(require("./ResultChangeCount"), exports);
|
|
60
|
+
__exportStar(require("./ResultGlobusAuthUrl"), exports);
|
|
61
|
+
__exportStar(require("./ResultName"), exports);
|
|
62
|
+
__exportStar(require("./ResultNameArray"), exports);
|
|
63
|
+
__exportStar(require("./ResultResourceUrl"), exports);
|
|
64
|
+
__exportStar(require("./RuntimeTypeEnum"), exports);
|
|
65
|
+
__exportStar(require("./SchedulerHiddenOptionEnum"), exports);
|
|
66
|
+
__exportStar(require("./SchedulerProfile"), exports);
|
|
67
|
+
__exportStar(require("./SchedulerTypeEnum"), exports);
|
|
68
|
+
__exportStar(require("./ShareInfo"), exports);
|
|
69
|
+
__exportStar(require("./SkShareRecord"), exports);
|
|
70
|
+
__exportStar(require("./SystemHistory"), exports);
|
|
71
|
+
__exportStar(require("./SystemTypeEnum"), exports);
|
|
72
|
+
__exportStar(require("./TapisSystem"), exports);
|
package/dist/runtime.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Tapis Systems API
|
|
3
3
|
* The Tapis Systems API provides for management of Tapis Systems including permissions, credentials and Scheduler Profiles.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 25Q4.2
|
|
6
6
|
* Contact: cicsupport@tacc.utexas.edu
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -10,17 +10,57 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
export declare const BASE_PATH: string;
|
|
13
|
+
export interface ConfigurationParameters {
|
|
14
|
+
basePath?: string;
|
|
15
|
+
fetchApi?: FetchAPI;
|
|
16
|
+
middleware?: Middleware[];
|
|
17
|
+
queryParamsStringify?: (params: HTTPQuery) => string;
|
|
18
|
+
username?: string;
|
|
19
|
+
password?: string;
|
|
20
|
+
apiKey?: string | Promise<string> | ((name: string) => string | Promise<string>);
|
|
21
|
+
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string | Promise<string>);
|
|
22
|
+
headers?: HTTPHeaders;
|
|
23
|
+
credentials?: RequestCredentials;
|
|
24
|
+
}
|
|
25
|
+
export declare class Configuration {
|
|
26
|
+
private configuration;
|
|
27
|
+
constructor(configuration?: ConfigurationParameters);
|
|
28
|
+
set config(configuration: Configuration);
|
|
29
|
+
get basePath(): string;
|
|
30
|
+
get fetchApi(): FetchAPI | undefined;
|
|
31
|
+
get middleware(): Middleware[];
|
|
32
|
+
get queryParamsStringify(): (params: HTTPQuery) => string;
|
|
33
|
+
get username(): string | undefined;
|
|
34
|
+
get password(): string | undefined;
|
|
35
|
+
get apiKey(): ((name: string) => string | Promise<string>) | undefined;
|
|
36
|
+
get accessToken(): ((name?: string, scopes?: string[]) => string | Promise<string>) | undefined;
|
|
37
|
+
get headers(): HTTPHeaders | undefined;
|
|
38
|
+
get credentials(): RequestCredentials | undefined;
|
|
39
|
+
}
|
|
40
|
+
export declare const DefaultConfig: Configuration;
|
|
13
41
|
/**
|
|
14
42
|
* This is the base class for all generated API classes.
|
|
15
43
|
*/
|
|
16
44
|
export declare class BaseAPI {
|
|
17
45
|
protected configuration: Configuration;
|
|
46
|
+
private static readonly jsonRegex;
|
|
18
47
|
private middleware;
|
|
19
48
|
constructor(configuration?: Configuration);
|
|
20
49
|
withMiddleware<T extends BaseAPI>(this: T, ...middlewares: Middleware[]): T;
|
|
21
50
|
withPreMiddleware<T extends BaseAPI>(this: T, ...preMiddlewares: Array<Middleware['pre']>): T;
|
|
22
51
|
withPostMiddleware<T extends BaseAPI>(this: T, ...postMiddlewares: Array<Middleware['post']>): T;
|
|
23
|
-
|
|
52
|
+
/**
|
|
53
|
+
* Check if the given MIME is a JSON MIME.
|
|
54
|
+
* JSON MIME examples:
|
|
55
|
+
* application/json
|
|
56
|
+
* application/json; charset=UTF8
|
|
57
|
+
* APPLICATION/JSON
|
|
58
|
+
* application/vnd.company+json
|
|
59
|
+
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
60
|
+
* @return True if the given MIME is JSON, false otherwise.
|
|
61
|
+
*/
|
|
62
|
+
protected isJsonMime(mime: string | null | undefined): boolean;
|
|
63
|
+
protected request(context: RequestOpts, initOverrides?: RequestInit | InitOverrideFunction): Promise<Response>;
|
|
24
64
|
private createFetchParams;
|
|
25
65
|
private fetchApi;
|
|
26
66
|
/**
|
|
@@ -29,6 +69,16 @@ export declare class BaseAPI {
|
|
|
29
69
|
*/
|
|
30
70
|
private clone;
|
|
31
71
|
}
|
|
72
|
+
export declare class ResponseError extends Error {
|
|
73
|
+
response: Response;
|
|
74
|
+
name: "ResponseError";
|
|
75
|
+
constructor(response: Response, msg?: string);
|
|
76
|
+
}
|
|
77
|
+
export declare class FetchError extends Error {
|
|
78
|
+
cause: Error;
|
|
79
|
+
name: "FetchError";
|
|
80
|
+
constructor(cause: Error, msg?: string);
|
|
81
|
+
}
|
|
32
82
|
export declare class RequiredError extends Error {
|
|
33
83
|
field: string;
|
|
34
84
|
name: "RequiredError";
|
|
@@ -40,43 +90,27 @@ export declare const COLLECTION_FORMATS: {
|
|
|
40
90
|
tsv: string;
|
|
41
91
|
pipes: string;
|
|
42
92
|
};
|
|
43
|
-
export
|
|
44
|
-
export
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
middleware?: Middleware[];
|
|
48
|
-
queryParamsStringify?: (params: HTTPQuery) => string;
|
|
49
|
-
username?: string;
|
|
50
|
-
password?: string;
|
|
51
|
-
apiKey?: string | ((name: string) => string);
|
|
52
|
-
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string | Promise<string>);
|
|
53
|
-
headers?: HTTPHeaders;
|
|
54
|
-
credentials?: RequestCredentials;
|
|
55
|
-
}
|
|
56
|
-
export declare class Configuration {
|
|
57
|
-
private configuration;
|
|
58
|
-
constructor(configuration?: ConfigurationParameters);
|
|
59
|
-
readonly basePath: string;
|
|
60
|
-
readonly fetchApi: FetchAPI | undefined;
|
|
61
|
-
readonly middleware: Middleware[];
|
|
62
|
-
readonly queryParamsStringify: (params: HTTPQuery) => string;
|
|
63
|
-
readonly username: string | undefined;
|
|
64
|
-
readonly password: string | undefined;
|
|
65
|
-
readonly apiKey: ((name: string) => string) | undefined;
|
|
66
|
-
readonly accessToken: ((name?: string, scopes?: string[]) => string | Promise<string>) | undefined;
|
|
67
|
-
readonly headers: HTTPHeaders | undefined;
|
|
68
|
-
readonly credentials: RequestCredentials | undefined;
|
|
69
|
-
}
|
|
70
|
-
export declare type Json = any;
|
|
71
|
-
export declare type HTTPMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'OPTIONS' | 'HEAD';
|
|
72
|
-
export declare type HTTPHeaders = {
|
|
93
|
+
export type FetchAPI = WindowOrWorkerGlobalScope['fetch'];
|
|
94
|
+
export type Json = any;
|
|
95
|
+
export type HTTPMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'OPTIONS' | 'HEAD';
|
|
96
|
+
export type HTTPHeaders = {
|
|
73
97
|
[key: string]: string;
|
|
74
98
|
};
|
|
75
|
-
export
|
|
76
|
-
[key: string]: string | number | null | boolean | Array<string | number | null | boolean> | HTTPQuery;
|
|
99
|
+
export type HTTPQuery = {
|
|
100
|
+
[key: string]: string | number | null | boolean | Array<string | number | null | boolean> | Set<string | number | null | boolean> | HTTPQuery;
|
|
77
101
|
};
|
|
78
|
-
export
|
|
79
|
-
export
|
|
102
|
+
export type HTTPBody = Json | FormData | URLSearchParams;
|
|
103
|
+
export type HTTPRequestInit = {
|
|
104
|
+
headers?: HTTPHeaders;
|
|
105
|
+
method: HTTPMethod;
|
|
106
|
+
credentials?: RequestCredentials;
|
|
107
|
+
body?: HTTPBody;
|
|
108
|
+
};
|
|
109
|
+
export type ModelPropertyNaming = 'camelCase' | 'snake_case' | 'PascalCase' | 'original';
|
|
110
|
+
export type InitOverrideFunction = (requestContext: {
|
|
111
|
+
init: HTTPRequestInit;
|
|
112
|
+
context: RequestOpts;
|
|
113
|
+
}) => Promise<RequestInit>;
|
|
80
114
|
export interface FetchParams {
|
|
81
115
|
url: string;
|
|
82
116
|
init: RequestInit;
|
|
@@ -88,8 +122,8 @@ export interface RequestOpts {
|
|
|
88
122
|
query?: HTTPQuery;
|
|
89
123
|
body?: HTTPBody;
|
|
90
124
|
}
|
|
91
|
-
export declare function exists(json: any, key: string): boolean;
|
|
92
125
|
export declare function querystring(params: HTTPQuery, prefix?: string): string;
|
|
126
|
+
export declare function exists(json: any, key: string): boolean;
|
|
93
127
|
export declare function mapValues(data: any, fn: (item: any) => any): {};
|
|
94
128
|
export declare function canConsumeForm(consumes: Consume[]): boolean;
|
|
95
129
|
export interface Consume {
|
|
@@ -106,9 +140,17 @@ export interface ResponseContext {
|
|
|
106
140
|
init: RequestInit;
|
|
107
141
|
response: Response;
|
|
108
142
|
}
|
|
143
|
+
export interface ErrorContext {
|
|
144
|
+
fetch: FetchAPI;
|
|
145
|
+
url: string;
|
|
146
|
+
init: RequestInit;
|
|
147
|
+
error: unknown;
|
|
148
|
+
response?: Response;
|
|
149
|
+
}
|
|
109
150
|
export interface Middleware {
|
|
110
151
|
pre?(context: RequestContext): Promise<FetchParams | void>;
|
|
111
152
|
post?(context: ResponseContext): Promise<Response | void>;
|
|
153
|
+
onError?(context: ErrorContext): Promise<Response | void>;
|
|
112
154
|
}
|
|
113
155
|
export interface ApiResponse<T> {
|
|
114
156
|
raw: Response;
|