@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
package/src/index.ts
CHANGED
package/src/models/AuthnEnum.ts
CHANGED
|
@@ -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,17 +12,31 @@
|
|
|
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
|
-
Password
|
|
22
|
-
PkiKeys
|
|
23
|
-
AccessKey
|
|
24
|
-
Token
|
|
25
|
-
|
|
20
|
+
export const AuthnEnum = {
|
|
21
|
+
Password: 'PASSWORD',
|
|
22
|
+
PkiKeys: 'PKI_KEYS',
|
|
23
|
+
AccessKey: 'ACCESS_KEY',
|
|
24
|
+
Token: 'TOKEN',
|
|
25
|
+
TmsKeys: 'TMS_KEYS',
|
|
26
|
+
Cert: 'CERT'
|
|
27
|
+
} as const;
|
|
28
|
+
export type AuthnEnum = typeof AuthnEnum[keyof typeof AuthnEnum];
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
export function instanceOfAuthnEnum(value: any): boolean {
|
|
32
|
+
for (const key in AuthnEnum) {
|
|
33
|
+
if (Object.prototype.hasOwnProperty.call(AuthnEnum, key)) {
|
|
34
|
+
if (AuthnEnum[key as keyof typeof AuthnEnum] === value) {
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
return false;
|
|
26
40
|
}
|
|
27
41
|
|
|
28
42
|
export function AuthnEnumFromJSON(json: any): AuthnEnum {
|
|
@@ -37,3 +51,7 @@ export function AuthnEnumToJSON(value?: AuthnEnum | null): any {
|
|
|
37
51
|
return value as any;
|
|
38
52
|
}
|
|
39
53
|
|
|
54
|
+
export function AuthnEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): AuthnEnum {
|
|
55
|
+
return value as AuthnEnum;
|
|
56
|
+
}
|
|
57
|
+
|
package/src/models/Capability.ts
CHANGED
|
@@ -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,17 +12,21 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import {
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { CategoryEnum } from './CategoryEnum';
|
|
16
17
|
import {
|
|
17
|
-
CategoryEnum,
|
|
18
18
|
CategoryEnumFromJSON,
|
|
19
19
|
CategoryEnumFromJSONTyped,
|
|
20
20
|
CategoryEnumToJSON,
|
|
21
|
-
|
|
21
|
+
CategoryEnumToJSONTyped,
|
|
22
|
+
} from './CategoryEnum';
|
|
23
|
+
import type { DatatypeEnum } from './DatatypeEnum';
|
|
24
|
+
import {
|
|
22
25
|
DatatypeEnumFromJSON,
|
|
23
26
|
DatatypeEnumFromJSONTyped,
|
|
24
27
|
DatatypeEnumToJSON,
|
|
25
|
-
|
|
28
|
+
DatatypeEnumToJSONTyped,
|
|
29
|
+
} from './DatatypeEnum';
|
|
26
30
|
|
|
27
31
|
/**
|
|
28
32
|
*
|
|
@@ -62,12 +66,24 @@ export interface Capability {
|
|
|
62
66
|
value?: string;
|
|
63
67
|
}
|
|
64
68
|
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Check if a given object implements the Capability interface.
|
|
73
|
+
*/
|
|
74
|
+
export function instanceOfCapability(value: object): value is Capability {
|
|
75
|
+
if (!('category' in value) || value['category'] === undefined) return false;
|
|
76
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
77
|
+
if (!('datatype' in value) || value['datatype'] === undefined) return false;
|
|
78
|
+
return true;
|
|
79
|
+
}
|
|
80
|
+
|
|
65
81
|
export function CapabilityFromJSON(json: any): Capability {
|
|
66
82
|
return CapabilityFromJSONTyped(json, false);
|
|
67
83
|
}
|
|
68
84
|
|
|
69
85
|
export function CapabilityFromJSONTyped(json: any, ignoreDiscriminator: boolean): Capability {
|
|
70
|
-
if (
|
|
86
|
+
if (json == null) {
|
|
71
87
|
return json;
|
|
72
88
|
}
|
|
73
89
|
return {
|
|
@@ -75,25 +91,27 @@ export function CapabilityFromJSONTyped(json: any, ignoreDiscriminator: boolean)
|
|
|
75
91
|
'category': CategoryEnumFromJSON(json['category']),
|
|
76
92
|
'name': json['name'],
|
|
77
93
|
'datatype': DatatypeEnumFromJSON(json['datatype']),
|
|
78
|
-
'precedence':
|
|
79
|
-
'value':
|
|
94
|
+
'precedence': json['precedence'] == null ? undefined : json['precedence'],
|
|
95
|
+
'value': json['value'] == null ? undefined : json['value'],
|
|
80
96
|
};
|
|
81
97
|
}
|
|
82
98
|
|
|
83
|
-
export function CapabilityToJSON(
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
99
|
+
export function CapabilityToJSON(json: any): Capability {
|
|
100
|
+
return CapabilityToJSONTyped(json, false);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
export function CapabilityToJSONTyped(value?: Capability | null, ignoreDiscriminator: boolean = false): any {
|
|
104
|
+
if (value == null) {
|
|
105
|
+
return value;
|
|
89
106
|
}
|
|
107
|
+
|
|
90
108
|
return {
|
|
91
109
|
|
|
92
|
-
'category': CategoryEnumToJSON(value
|
|
93
|
-
'name': value
|
|
94
|
-
'datatype': DatatypeEnumToJSON(value
|
|
95
|
-
'precedence': value
|
|
96
|
-
'value': value
|
|
110
|
+
'category': CategoryEnumToJSON(value['category']),
|
|
111
|
+
'name': value['name'],
|
|
112
|
+
'datatype': DatatypeEnumToJSON(value['datatype']),
|
|
113
|
+
'precedence': value['precedence'],
|
|
114
|
+
'value': value['value'],
|
|
97
115
|
};
|
|
98
116
|
}
|
|
99
117
|
|
|
@@ -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,20 +12,33 @@
|
|
|
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
|
-
Scheduler
|
|
22
|
-
Os
|
|
23
|
-
Hardware
|
|
24
|
-
Software
|
|
25
|
-
Job
|
|
26
|
-
Container
|
|
27
|
-
Misc
|
|
28
|
-
Custom
|
|
20
|
+
export const CategoryEnum = {
|
|
21
|
+
Scheduler: 'SCHEDULER',
|
|
22
|
+
Os: 'OS',
|
|
23
|
+
Hardware: 'HARDWARE',
|
|
24
|
+
Software: 'SOFTWARE',
|
|
25
|
+
Job: 'JOB',
|
|
26
|
+
Container: 'CONTAINER',
|
|
27
|
+
Misc: 'MISC',
|
|
28
|
+
Custom: 'CUSTOM'
|
|
29
|
+
} as const;
|
|
30
|
+
export type CategoryEnum = typeof CategoryEnum[keyof typeof CategoryEnum];
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
export function instanceOfCategoryEnum(value: any): boolean {
|
|
34
|
+
for (const key in CategoryEnum) {
|
|
35
|
+
if (Object.prototype.hasOwnProperty.call(CategoryEnum, key)) {
|
|
36
|
+
if (CategoryEnum[key as keyof typeof CategoryEnum] === value) {
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
return false;
|
|
29
42
|
}
|
|
30
43
|
|
|
31
44
|
export function CategoryEnumFromJSON(json: any): CategoryEnum {
|
|
@@ -40,3 +53,7 @@ export function CategoryEnumToJSON(value?: CategoryEnum | null): any {
|
|
|
40
53
|
return value as any;
|
|
41
54
|
}
|
|
42
55
|
|
|
56
|
+
export function CategoryEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): CategoryEnum {
|
|
57
|
+
return value as CategoryEnum;
|
|
58
|
+
}
|
|
59
|
+
|
package/src/models/Credential.ts
CHANGED
|
@@ -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,13 +12,14 @@
|
|
|
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';
|
|
22
23
|
|
|
23
24
|
/**
|
|
24
25
|
*
|
|
@@ -80,6 +81,24 @@ export interface Credential {
|
|
|
80
81
|
* @memberof Credential
|
|
81
82
|
*/
|
|
82
83
|
refreshToken?: string;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof Credential
|
|
88
|
+
*/
|
|
89
|
+
tmsPrivateKey?: string;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof Credential
|
|
94
|
+
*/
|
|
95
|
+
tmsPublicKey?: string;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof Credential
|
|
100
|
+
*/
|
|
101
|
+
tmsFingerprint?: string;
|
|
83
102
|
/**
|
|
84
103
|
*
|
|
85
104
|
* @type {string}
|
|
@@ -88,48 +107,65 @@ export interface Credential {
|
|
|
88
107
|
certificate?: string;
|
|
89
108
|
}
|
|
90
109
|
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Check if a given object implements the Credential interface.
|
|
114
|
+
*/
|
|
115
|
+
export function instanceOfCredential(value: object): value is Credential {
|
|
116
|
+
return true;
|
|
117
|
+
}
|
|
118
|
+
|
|
91
119
|
export function CredentialFromJSON(json: any): Credential {
|
|
92
120
|
return CredentialFromJSONTyped(json, false);
|
|
93
121
|
}
|
|
94
122
|
|
|
95
123
|
export function CredentialFromJSONTyped(json: any, ignoreDiscriminator: boolean): Credential {
|
|
96
|
-
if (
|
|
124
|
+
if (json == null) {
|
|
97
125
|
return json;
|
|
98
126
|
}
|
|
99
127
|
return {
|
|
100
128
|
|
|
101
|
-
'authnMethod':
|
|
102
|
-
'loginUser':
|
|
103
|
-
'password':
|
|
104
|
-
'privateKey':
|
|
105
|
-
'publicKey':
|
|
106
|
-
'accessKey':
|
|
107
|
-
'accessSecret':
|
|
108
|
-
'accessToken':
|
|
109
|
-
'refreshToken':
|
|
110
|
-
'
|
|
129
|
+
'authnMethod': json['authnMethod'] == null ? undefined : AuthnEnumFromJSON(json['authnMethod']),
|
|
130
|
+
'loginUser': json['loginUser'] == null ? undefined : json['loginUser'],
|
|
131
|
+
'password': json['password'] == null ? undefined : json['password'],
|
|
132
|
+
'privateKey': json['privateKey'] == null ? undefined : json['privateKey'],
|
|
133
|
+
'publicKey': json['publicKey'] == null ? undefined : json['publicKey'],
|
|
134
|
+
'accessKey': json['accessKey'] == null ? undefined : json['accessKey'],
|
|
135
|
+
'accessSecret': json['accessSecret'] == null ? undefined : json['accessSecret'],
|
|
136
|
+
'accessToken': json['accessToken'] == null ? undefined : json['accessToken'],
|
|
137
|
+
'refreshToken': json['refreshToken'] == null ? undefined : json['refreshToken'],
|
|
138
|
+
'tmsPrivateKey': json['tmsPrivateKey'] == null ? undefined : json['tmsPrivateKey'],
|
|
139
|
+
'tmsPublicKey': json['tmsPublicKey'] == null ? undefined : json['tmsPublicKey'],
|
|
140
|
+
'tmsFingerprint': json['tmsFingerprint'] == null ? undefined : json['tmsFingerprint'],
|
|
141
|
+
'certificate': json['certificate'] == null ? undefined : json['certificate'],
|
|
111
142
|
};
|
|
112
143
|
}
|
|
113
144
|
|
|
114
|
-
export function CredentialToJSON(
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
145
|
+
export function CredentialToJSON(json: any): Credential {
|
|
146
|
+
return CredentialToJSONTyped(json, false);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
export function CredentialToJSONTyped(value?: Credential | null, ignoreDiscriminator: boolean = false): any {
|
|
150
|
+
if (value == null) {
|
|
151
|
+
return value;
|
|
120
152
|
}
|
|
153
|
+
|
|
121
154
|
return {
|
|
122
155
|
|
|
123
|
-
'authnMethod': AuthnEnumToJSON(value
|
|
124
|
-
'loginUser': value
|
|
125
|
-
'password': value
|
|
126
|
-
'privateKey': value
|
|
127
|
-
'publicKey': value
|
|
128
|
-
'accessKey': value
|
|
129
|
-
'accessSecret': value
|
|
130
|
-
'accessToken': value
|
|
131
|
-
'refreshToken': value
|
|
132
|
-
'
|
|
156
|
+
'authnMethod': AuthnEnumToJSON(value['authnMethod']),
|
|
157
|
+
'loginUser': value['loginUser'],
|
|
158
|
+
'password': value['password'],
|
|
159
|
+
'privateKey': value['privateKey'],
|
|
160
|
+
'publicKey': value['publicKey'],
|
|
161
|
+
'accessKey': value['accessKey'],
|
|
162
|
+
'accessSecret': value['accessSecret'],
|
|
163
|
+
'accessToken': value['accessToken'],
|
|
164
|
+
'refreshToken': value['refreshToken'],
|
|
165
|
+
'tmsPrivateKey': value['tmsPrivateKey'],
|
|
166
|
+
'tmsPublicKey': value['tmsPublicKey'],
|
|
167
|
+
'tmsFingerprint': value['tmsFingerprint'],
|
|
168
|
+
'certificate': value['certificate'],
|
|
133
169
|
};
|
|
134
170
|
}
|
|
135
171
|
|
|
@@ -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,17 +12,30 @@
|
|
|
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
|
-
String
|
|
22
|
-
Integer
|
|
23
|
-
Boolean
|
|
24
|
-
Number
|
|
25
|
-
Timestamp
|
|
20
|
+
export const DatatypeEnum = {
|
|
21
|
+
String: 'STRING',
|
|
22
|
+
Integer: 'INTEGER',
|
|
23
|
+
Boolean: 'BOOLEAN',
|
|
24
|
+
Number: 'NUMBER',
|
|
25
|
+
Timestamp: 'TIMESTAMP'
|
|
26
|
+
} as const;
|
|
27
|
+
export type DatatypeEnum = typeof DatatypeEnum[keyof typeof DatatypeEnum];
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
export function instanceOfDatatypeEnum(value: any): boolean {
|
|
31
|
+
for (const key in DatatypeEnum) {
|
|
32
|
+
if (Object.prototype.hasOwnProperty.call(DatatypeEnum, key)) {
|
|
33
|
+
if (DatatypeEnum[key as keyof typeof DatatypeEnum] === value) {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return false;
|
|
26
39
|
}
|
|
27
40
|
|
|
28
41
|
export function DatatypeEnumFromJSON(json: any): DatatypeEnum {
|
|
@@ -37,3 +50,7 @@ export function DatatypeEnumToJSON(value?: DatatypeEnum | null): any {
|
|
|
37
50
|
return value as any;
|
|
38
51
|
}
|
|
39
52
|
|
|
53
|
+
export function DatatypeEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): DatatypeEnum {
|
|
54
|
+
return value as DatatypeEnum;
|
|
55
|
+
}
|
|
56
|
+
|
package/src/models/JobRuntime.ts
CHANGED
|
@@ -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,13 +12,14 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import {
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { RuntimeTypeEnum } from './RuntimeTypeEnum';
|
|
16
17
|
import {
|
|
17
|
-
RuntimeTypeEnum,
|
|
18
18
|
RuntimeTypeEnumFromJSON,
|
|
19
19
|
RuntimeTypeEnumFromJSONTyped,
|
|
20
20
|
RuntimeTypeEnumToJSON,
|
|
21
|
-
|
|
21
|
+
RuntimeTypeEnumToJSONTyped,
|
|
22
|
+
} from './RuntimeTypeEnum';
|
|
22
23
|
|
|
23
24
|
/**
|
|
24
25
|
*
|
|
@@ -40,32 +41,44 @@ export interface JobRuntime {
|
|
|
40
41
|
version?: string;
|
|
41
42
|
}
|
|
42
43
|
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Check if a given object implements the JobRuntime interface.
|
|
48
|
+
*/
|
|
49
|
+
export function instanceOfJobRuntime(value: object): value is JobRuntime {
|
|
50
|
+
if (!('runtimeType' in value) || value['runtimeType'] === undefined) return false;
|
|
51
|
+
return true;
|
|
52
|
+
}
|
|
53
|
+
|
|
43
54
|
export function JobRuntimeFromJSON(json: any): JobRuntime {
|
|
44
55
|
return JobRuntimeFromJSONTyped(json, false);
|
|
45
56
|
}
|
|
46
57
|
|
|
47
58
|
export function JobRuntimeFromJSONTyped(json: any, ignoreDiscriminator: boolean): JobRuntime {
|
|
48
|
-
if (
|
|
59
|
+
if (json == null) {
|
|
49
60
|
return json;
|
|
50
61
|
}
|
|
51
62
|
return {
|
|
52
63
|
|
|
53
64
|
'runtimeType': RuntimeTypeEnumFromJSON(json['runtimeType']),
|
|
54
|
-
'version':
|
|
65
|
+
'version': json['version'] == null ? undefined : json['version'],
|
|
55
66
|
};
|
|
56
67
|
}
|
|
57
68
|
|
|
58
|
-
export function JobRuntimeToJSON(
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
69
|
+
export function JobRuntimeToJSON(json: any): JobRuntime {
|
|
70
|
+
return JobRuntimeToJSONTyped(json, false);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function JobRuntimeToJSONTyped(value?: JobRuntime | null, ignoreDiscriminator: boolean = false): any {
|
|
74
|
+
if (value == null) {
|
|
75
|
+
return value;
|
|
64
76
|
}
|
|
77
|
+
|
|
65
78
|
return {
|
|
66
79
|
|
|
67
|
-
'runtimeType': RuntimeTypeEnumToJSON(value
|
|
68
|
-
'version': value
|
|
80
|
+
'runtimeType': RuntimeTypeEnumToJSON(value['runtimeType']),
|
|
81
|
+
'version': value['version'],
|
|
69
82
|
};
|
|
70
83
|
}
|
|
71
84
|
|
|
@@ -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,16 +12,29 @@
|
|
|
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
|
-
Required
|
|
22
|
-
Fixed
|
|
23
|
-
IncludeOnDemand
|
|
24
|
-
IncludeByDefault
|
|
20
|
+
export const KeyValueInputModeEnum = {
|
|
21
|
+
Required: 'REQUIRED',
|
|
22
|
+
Fixed: 'FIXED',
|
|
23
|
+
IncludeOnDemand: 'INCLUDE_ON_DEMAND',
|
|
24
|
+
IncludeByDefault: 'INCLUDE_BY_DEFAULT'
|
|
25
|
+
} as const;
|
|
26
|
+
export type KeyValueInputModeEnum = typeof KeyValueInputModeEnum[keyof typeof KeyValueInputModeEnum];
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
export function instanceOfKeyValueInputModeEnum(value: any): boolean {
|
|
30
|
+
for (const key in KeyValueInputModeEnum) {
|
|
31
|
+
if (Object.prototype.hasOwnProperty.call(KeyValueInputModeEnum, key)) {
|
|
32
|
+
if (KeyValueInputModeEnum[key as keyof typeof KeyValueInputModeEnum] === value) {
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
return false;
|
|
25
38
|
}
|
|
26
39
|
|
|
27
40
|
export function KeyValueInputModeEnumFromJSON(json: any): KeyValueInputModeEnum {
|
|
@@ -36,3 +49,7 @@ export function KeyValueInputModeEnumToJSON(value?: KeyValueInputModeEnum | null
|
|
|
36
49
|
return value as any;
|
|
37
50
|
}
|
|
38
51
|
|
|
52
|
+
export function KeyValueInputModeEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): KeyValueInputModeEnum {
|
|
53
|
+
return value as KeyValueInputModeEnum;
|
|
54
|
+
}
|
|
55
|
+
|
|
@@ -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,13 +12,14 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import {
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { KeyValueInputModeEnum } from './KeyValueInputModeEnum';
|
|
16
17
|
import {
|
|
17
|
-
KeyValueInputModeEnum,
|
|
18
18
|
KeyValueInputModeEnumFromJSON,
|
|
19
19
|
KeyValueInputModeEnumFromJSONTyped,
|
|
20
20
|
KeyValueInputModeEnumToJSON,
|
|
21
|
-
|
|
21
|
+
KeyValueInputModeEnumToJSONTyped,
|
|
22
|
+
} from './KeyValueInputModeEnum';
|
|
22
23
|
|
|
23
24
|
/**
|
|
24
25
|
*
|
|
@@ -58,38 +59,50 @@ export interface KeyValuePair {
|
|
|
58
59
|
notes?: object;
|
|
59
60
|
}
|
|
60
61
|
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Check if a given object implements the KeyValuePair interface.
|
|
66
|
+
*/
|
|
67
|
+
export function instanceOfKeyValuePair(value: object): value is KeyValuePair {
|
|
68
|
+
if (!('key' in value) || value['key'] === undefined) return false;
|
|
69
|
+
return true;
|
|
70
|
+
}
|
|
71
|
+
|
|
61
72
|
export function KeyValuePairFromJSON(json: any): KeyValuePair {
|
|
62
73
|
return KeyValuePairFromJSONTyped(json, false);
|
|
63
74
|
}
|
|
64
75
|
|
|
65
76
|
export function KeyValuePairFromJSONTyped(json: any, ignoreDiscriminator: boolean): KeyValuePair {
|
|
66
|
-
if (
|
|
77
|
+
if (json == null) {
|
|
67
78
|
return json;
|
|
68
79
|
}
|
|
69
80
|
return {
|
|
70
81
|
|
|
71
82
|
'key': json['key'],
|
|
72
|
-
'value':
|
|
73
|
-
'description':
|
|
74
|
-
'inputMode':
|
|
75
|
-
'notes':
|
|
83
|
+
'value': json['value'] == null ? undefined : json['value'],
|
|
84
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
85
|
+
'inputMode': json['inputMode'] == null ? undefined : KeyValueInputModeEnumFromJSON(json['inputMode']),
|
|
86
|
+
'notes': json['notes'] == null ? undefined : json['notes'],
|
|
76
87
|
};
|
|
77
88
|
}
|
|
78
89
|
|
|
79
|
-
export function KeyValuePairToJSON(
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
90
|
+
export function KeyValuePairToJSON(json: any): KeyValuePair {
|
|
91
|
+
return KeyValuePairToJSONTyped(json, false);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export function KeyValuePairToJSONTyped(value?: KeyValuePair | null, ignoreDiscriminator: boolean = false): any {
|
|
95
|
+
if (value == null) {
|
|
96
|
+
return value;
|
|
85
97
|
}
|
|
98
|
+
|
|
86
99
|
return {
|
|
87
100
|
|
|
88
|
-
'key': value
|
|
89
|
-
'value': value
|
|
90
|
-
'description': value
|
|
91
|
-
'inputMode': KeyValueInputModeEnumToJSON(value
|
|
92
|
-
'notes': value
|
|
101
|
+
'key': value['key'],
|
|
102
|
+
'value': value['value'],
|
|
103
|
+
'description': value['description'],
|
|
104
|
+
'inputMode': KeyValueInputModeEnumToJSON(value['inputMode']),
|
|
105
|
+
'notes': value['notes'],
|
|
93
106
|
};
|
|
94
107
|
}
|
|
95
108
|
|