@tapis/tapis-typescript-systems 0.0.5 → 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.
Files changed (197) hide show
  1. package/.openapi-generator/FILES +3 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +5 -4
  4. package/dist/apis/ChildSystemsApi.d.ts +10 -10
  5. package/dist/apis/ChildSystemsApi.js +84 -65
  6. package/dist/apis/CredentialsApi.d.ts +25 -24
  7. package/dist/apis/CredentialsApi.js +172 -138
  8. package/dist/apis/GeneralApi.d.ts +6 -6
  9. package/dist/apis/GeneralApi.js +18 -11
  10. package/dist/apis/PermissionsApi.d.ts +10 -10
  11. package/dist/apis/PermissionsApi.js +112 -89
  12. package/dist/apis/SchedulerProfilesApi.d.ts +10 -10
  13. package/dist/apis/SchedulerProfilesApi.js +95 -72
  14. package/dist/apis/SharingApi.d.ts +12 -12
  15. package/dist/apis/SharingApi.js +122 -95
  16. package/dist/apis/SystemsApi.d.ts +61 -46
  17. package/dist/apis/SystemsApi.js +473 -341
  18. package/dist/apis/index.js +21 -10
  19. package/dist/index.d.ts +2 -2
  20. package/dist/index.js +17 -6
  21. package/dist/models/AuthnEnum.d.ts +12 -9
  22. package/dist/models/AuthnEnum.js +28 -13
  23. package/dist/models/Capability.d.ts +9 -3
  24. package/dist/models/Capability.js +37 -22
  25. package/dist/models/CategoryEnum.d.ts +14 -12
  26. package/dist/models/CategoryEnum.js +30 -16
  27. package/dist/models/Credential.d.ts +26 -3
  28. package/dist/models/Credential.js +47 -33
  29. package/dist/models/DatatypeEnum.d.ts +11 -9
  30. package/dist/models/DatatypeEnum.js +27 -13
  31. package/dist/models/JobRuntime.d.ts +8 -3
  32. package/dist/models/JobRuntime.js +27 -17
  33. package/dist/models/KeyValueInputModeEnum.d.ts +10 -8
  34. package/dist/models/KeyValueInputModeEnum.js +26 -12
  35. package/dist/models/KeyValuePair.d.ts +8 -3
  36. package/dist/models/KeyValuePair.js +32 -22
  37. package/dist/models/ListTypeEnum.d.ts +9 -7
  38. package/dist/models/ListTypeEnum.js +25 -11
  39. package/dist/models/LogicalQueue.d.ts +13 -2
  40. package/dist/models/LogicalQueue.js +48 -34
  41. package/dist/models/ModuleLoadSpec.d.ts +7 -2
  42. package/dist/models/ModuleLoadSpec.js +25 -15
  43. package/dist/models/OperationTypeEnum.d.ts +20 -18
  44. package/dist/models/OperationTypeEnum.js +36 -22
  45. package/dist/models/ReqMatchConstraints.d.ts +7 -2
  46. package/dist/models/ReqMatchConstraints.js +23 -12
  47. package/dist/models/ReqPatchSystem.d.ts +13 -3
  48. package/dist/models/ReqPatchSystem.js +76 -63
  49. package/dist/models/ReqPerms.d.ts +7 -2
  50. package/dist/models/ReqPerms.js +23 -12
  51. package/dist/models/ReqPostChildSystem.d.ts +7 -2
  52. package/dist/models/ReqPostChildSystem.js +28 -16
  53. package/dist/models/ReqPostPutCredential.d.ts +7 -2
  54. package/dist/models/ReqPostPutCredential.js +36 -28
  55. package/dist/models/ReqPostSchedulerProfile.d.ts +9 -3
  56. package/dist/models/ReqPostSchedulerProfile.js +33 -22
  57. package/dist/models/ReqPostSystem.d.ts +15 -3
  58. package/dist/models/ReqPostSystem.js +101 -76
  59. package/dist/models/ReqPutSystem.d.ts +13 -3
  60. package/dist/models/ReqPutSystem.js +74 -61
  61. package/dist/models/ReqSearchSystems.d.ts +7 -2
  62. package/dist/models/ReqSearchSystems.js +23 -12
  63. package/dist/models/ReqShareUpdate.d.ts +7 -2
  64. package/dist/models/ReqShareUpdate.js +23 -12
  65. package/dist/models/ReqUnlinkChildren.d.ts +7 -2
  66. package/dist/models/ReqUnlinkChildren.js +22 -14
  67. package/dist/models/ReqUpdateCredential.d.ts +7 -2
  68. package/dist/models/ReqUpdateCredential.js +38 -30
  69. package/dist/models/RespBasic.d.ts +7 -2
  70. package/dist/models/RespBasic.js +34 -26
  71. package/dist/models/RespBoolean.d.ts +8 -3
  72. package/dist/models/RespBoolean.js +35 -27
  73. package/dist/models/RespChangeCount.d.ts +8 -3
  74. package/dist/models/RespChangeCount.js +35 -27
  75. package/dist/models/RespCredential.d.ts +8 -3
  76. package/dist/models/RespCredential.js +35 -27
  77. package/dist/models/RespGlobusAuthUrl.d.ts +8 -3
  78. package/dist/models/RespGlobusAuthUrl.js +35 -27
  79. package/dist/models/RespName.d.ts +69 -0
  80. package/dist/models/RespName.js +62 -0
  81. package/dist/models/RespNameArray.d.ts +8 -3
  82. package/dist/models/RespNameArray.js +35 -27
  83. package/dist/models/RespResourceUrl.d.ts +8 -3
  84. package/dist/models/RespResourceUrl.js +35 -27
  85. package/dist/models/RespSchedulerProfile.d.ts +8 -3
  86. package/dist/models/RespSchedulerProfile.js +35 -27
  87. package/dist/models/RespSchedulerProfiles.d.ts +8 -3
  88. package/dist/models/RespSchedulerProfiles.js +35 -27
  89. package/dist/models/RespShareInfo.d.ts +8 -3
  90. package/dist/models/RespShareInfo.js +35 -27
  91. package/dist/models/RespSystem.d.ts +8 -3
  92. package/dist/models/RespSystem.js +35 -27
  93. package/dist/models/RespSystemHistory.d.ts +8 -3
  94. package/dist/models/RespSystemHistory.js +35 -27
  95. package/dist/models/RespSystems.d.ts +9 -3
  96. package/dist/models/RespSystems.js +36 -27
  97. package/dist/models/RespSystemsMetadata.d.ts +7 -2
  98. package/dist/models/RespSystemsMetadata.js +32 -24
  99. package/dist/models/ResultBoolean.d.ts +7 -2
  100. package/dist/models/ResultBoolean.js +22 -14
  101. package/dist/models/ResultChangeCount.d.ts +7 -2
  102. package/dist/models/ResultChangeCount.js +22 -14
  103. package/dist/models/ResultGlobusAuthUrl.d.ts +7 -2
  104. package/dist/models/ResultGlobusAuthUrl.js +26 -18
  105. package/dist/models/ResultName.d.ts +32 -0
  106. package/dist/models/ResultName.js +49 -0
  107. package/dist/models/ResultNameArray.d.ts +7 -2
  108. package/dist/models/ResultNameArray.js +22 -14
  109. package/dist/models/ResultResourceUrl.d.ts +7 -2
  110. package/dist/models/ResultResourceUrl.js +22 -14
  111. package/dist/models/RuntimeTypeEnum.d.ts +9 -7
  112. package/dist/models/RuntimeTypeEnum.js +25 -11
  113. package/dist/models/SchedulerHiddenOptionEnum.d.ts +8 -5
  114. package/dist/models/SchedulerHiddenOptionEnum.js +24 -9
  115. package/dist/models/SchedulerProfile.d.ts +9 -3
  116. package/dist/models/SchedulerProfile.js +35 -24
  117. package/dist/models/SchedulerTypeEnum.d.ts +12 -10
  118. package/dist/models/SchedulerTypeEnum.js +28 -14
  119. package/dist/models/ShareInfo.d.ts +14 -2
  120. package/dist/models/ShareInfo.js +29 -13
  121. package/dist/models/SkShareRecord.d.ts +86 -0
  122. package/dist/models/SkShareRecord.js +67 -0
  123. package/dist/models/SystemHistory.d.ts +8 -3
  124. package/dist/models/SystemHistory.js +35 -27
  125. package/dist/models/SystemTypeEnum.d.ts +10 -8
  126. package/dist/models/SystemTypeEnum.js +26 -12
  127. package/dist/models/TapisSystem.d.ts +45 -21
  128. package/dist/models/TapisSystem.js +114 -95
  129. package/dist/models/index.d.ts +3 -0
  130. package/dist/models/index.js +68 -54
  131. package/dist/runtime.d.ts +79 -37
  132. package/dist/runtime.js +311 -169
  133. package/package.json +6 -2
  134. package/src/apis/ChildSystemsApi.ts +47 -33
  135. package/src/apis/CredentialsApi.ts +124 -75
  136. package/src/apis/GeneralApi.ts +9 -7
  137. package/src/apis/PermissionsApi.ts +80 -45
  138. package/src/apis/SchedulerProfilesApi.ts +40 -29
  139. package/src/apis/SharingApi.ts +64 -41
  140. package/src/apis/SystemsApi.ts +306 -189
  141. package/src/index.ts +2 -2
  142. package/src/models/AuthnEnum.ts +26 -8
  143. package/src/models/Capability.ts +37 -19
  144. package/src/models/CategoryEnum.ts +28 -11
  145. package/src/models/Credential.ts +67 -31
  146. package/src/models/DatatypeEnum.ts +25 -8
  147. package/src/models/JobRuntime.ts +27 -14
  148. package/src/models/KeyValueInputModeEnum.ts +24 -7
  149. package/src/models/KeyValuePair.ts +33 -20
  150. package/src/models/ListTypeEnum.ts +23 -6
  151. package/src/models/LogicalQueue.ts +50 -31
  152. package/src/models/ModuleLoadSpec.ts +22 -12
  153. package/src/models/OperationTypeEnum.ts +34 -17
  154. package/src/models/ReqMatchConstraints.ts +20 -10
  155. package/src/models/ReqPatchSystem.ts +96 -69
  156. package/src/models/ReqPerms.ts +20 -10
  157. package/src/models/ReqPostChildSystem.ts +24 -13
  158. package/src/models/ReqPostPutCredential.ts +34 -25
  159. package/src/models/ReqPostSchedulerProfile.ts +38 -24
  160. package/src/models/ReqPostSystem.ts +123 -85
  161. package/src/models/ReqPutSystem.ts +94 -67
  162. package/src/models/ReqSearchSystems.ts +20 -10
  163. package/src/models/ReqShareUpdate.ts +20 -10
  164. package/src/models/ReqUnlinkChildren.ts +20 -11
  165. package/src/models/ReqUpdateCredential.ts +36 -27
  166. package/src/models/RespBasic.ts +32 -23
  167. package/src/models/RespBoolean.ts +35 -25
  168. package/src/models/RespChangeCount.ts +35 -25
  169. package/src/models/RespCredential.ts +35 -25
  170. package/src/models/RespGlobusAuthUrl.ts +35 -25
  171. package/src/models/RespName.ts +121 -0
  172. package/src/models/RespNameArray.ts +35 -25
  173. package/src/models/RespResourceUrl.ts +35 -25
  174. package/src/models/RespSchedulerProfile.ts +35 -25
  175. package/src/models/RespSchedulerProfiles.ts +35 -25
  176. package/src/models/RespShareInfo.ts +35 -25
  177. package/src/models/RespSystem.ts +35 -25
  178. package/src/models/RespSystemHistory.ts +35 -25
  179. package/src/models/RespSystems.ts +42 -29
  180. package/src/models/RespSystemsMetadata.ts +30 -21
  181. package/src/models/ResultBoolean.ts +20 -11
  182. package/src/models/ResultChangeCount.ts +20 -11
  183. package/src/models/ResultGlobusAuthUrl.ts +24 -15
  184. package/src/models/ResultName.ts +65 -0
  185. package/src/models/ResultNameArray.ts +20 -11
  186. package/src/models/ResultResourceUrl.ts +20 -11
  187. package/src/models/RuntimeTypeEnum.ts +23 -6
  188. package/src/models/SchedulerHiddenOptionEnum.ts +22 -4
  189. package/src/models/SchedulerProfile.ts +40 -26
  190. package/src/models/SchedulerTypeEnum.ts +26 -9
  191. package/src/models/ShareInfo.ts +38 -11
  192. package/src/models/SkShareRecord.ts +137 -0
  193. package/src/models/SystemHistory.ts +37 -25
  194. package/src/models/SystemTypeEnum.ts +24 -7
  195. package/src/models/TapisSystem.ts +173 -124
  196. package/src/models/index.ts +3 -0
  197. package/src/runtime.ts +217 -106
@@ -1,14 +1,25 @@
1
1
  "use strict";
2
- function __export(m) {
3
- for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
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
- __export(require("./ChildSystemsApi"));
9
- __export(require("./CredentialsApi"));
10
- __export(require("./GeneralApi"));
11
- __export(require("./PermissionsApi"));
12
- __export(require("./SchedulerProfilesApi"));
13
- __export(require("./SharingApi"));
14
- __export(require("./SystemsApi"));
19
+ __exportStar(require("./ChildSystemsApi"), exports);
20
+ __exportStar(require("./CredentialsApi"), exports);
21
+ __exportStar(require("./GeneralApi"), exports);
22
+ __exportStar(require("./PermissionsApi"), exports);
23
+ __exportStar(require("./SchedulerProfilesApi"), exports);
24
+ __exportStar(require("./SharingApi"), exports);
25
+ __exportStar(require("./SystemsApi"), exports);
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  export * from './runtime';
2
- export * from './apis';
3
- export * from './models';
2
+ export * from './apis/index';
3
+ export * from './models/index';
package/dist/index.js CHANGED
@@ -1,10 +1,21 @@
1
1
  "use strict";
2
- function __export(m) {
3
- for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
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
- __export(require("./runtime"));
9
- __export(require("./apis"));
10
- __export(require("./models"));
19
+ __exportStar(require("./runtime"), exports);
20
+ __exportStar(require("./apis/index"), exports);
21
+ __exportStar(require("./models/index"), exports);
@@ -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: 1.7.0
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).
@@ -12,15 +12,18 @@
12
12
  /**
13
13
  *
14
14
  * @export
15
- * @enum {string}
16
15
  */
17
- export declare enum AuthnEnum {
18
- Password = "PASSWORD",
19
- PkiKeys = "PKI_KEYS",
20
- AccessKey = "ACCESS_KEY",
21
- Token = "TOKEN",
22
- Cert = "CERT"
23
- }
16
+ export declare const AuthnEnum: {
17
+ readonly Password: "PASSWORD";
18
+ readonly PkiKeys: "PKI_KEYS";
19
+ readonly AccessKey: "ACCESS_KEY";
20
+ readonly Token: "TOKEN";
21
+ readonly TmsKeys: "TMS_KEYS";
22
+ readonly Cert: "CERT";
23
+ };
24
+ export type AuthnEnum = typeof AuthnEnum[keyof typeof AuthnEnum];
25
+ export declare function instanceOfAuthnEnum(value: any): boolean;
24
26
  export declare function AuthnEnumFromJSON(json: any): AuthnEnum;
25
27
  export declare function AuthnEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthnEnum;
26
28
  export declare function AuthnEnumToJSON(value?: AuthnEnum | null): any;
29
+ export declare function AuthnEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): AuthnEnum;
@@ -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: 1.7.0
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,28 +13,43 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.AuthnEnum = void 0;
17
+ exports.instanceOfAuthnEnum = instanceOfAuthnEnum;
18
+ exports.AuthnEnumFromJSON = AuthnEnumFromJSON;
19
+ exports.AuthnEnumFromJSONTyped = AuthnEnumFromJSONTyped;
20
+ exports.AuthnEnumToJSON = AuthnEnumToJSON;
21
+ exports.AuthnEnumToJSONTyped = AuthnEnumToJSONTyped;
16
22
  /**
17
23
  *
18
24
  * @export
19
- * @enum {string}
20
25
  */
21
- var AuthnEnum;
22
- (function (AuthnEnum) {
23
- AuthnEnum["Password"] = "PASSWORD";
24
- AuthnEnum["PkiKeys"] = "PKI_KEYS";
25
- AuthnEnum["AccessKey"] = "ACCESS_KEY";
26
- AuthnEnum["Token"] = "TOKEN";
27
- AuthnEnum["Cert"] = "CERT";
28
- })(AuthnEnum = exports.AuthnEnum || (exports.AuthnEnum = {}));
26
+ exports.AuthnEnum = {
27
+ Password: 'PASSWORD',
28
+ PkiKeys: 'PKI_KEYS',
29
+ AccessKey: 'ACCESS_KEY',
30
+ Token: 'TOKEN',
31
+ TmsKeys: 'TMS_KEYS',
32
+ Cert: 'CERT'
33
+ };
34
+ function instanceOfAuthnEnum(value) {
35
+ for (var key in exports.AuthnEnum) {
36
+ if (Object.prototype.hasOwnProperty.call(exports.AuthnEnum, key)) {
37
+ if (exports.AuthnEnum[key] === value) {
38
+ return true;
39
+ }
40
+ }
41
+ }
42
+ return false;
43
+ }
29
44
  function AuthnEnumFromJSON(json) {
30
45
  return AuthnEnumFromJSONTyped(json, false);
31
46
  }
32
- exports.AuthnEnumFromJSON = AuthnEnumFromJSON;
33
47
  function AuthnEnumFromJSONTyped(json, ignoreDiscriminator) {
34
48
  return json;
35
49
  }
36
- exports.AuthnEnumFromJSONTyped = AuthnEnumFromJSONTyped;
37
50
  function AuthnEnumToJSON(value) {
38
51
  return value;
39
52
  }
40
- exports.AuthnEnumToJSON = AuthnEnumToJSON;
53
+ function AuthnEnumToJSONTyped(value, ignoreDiscriminator) {
54
+ return value;
55
+ }
@@ -2,14 +2,15 @@
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: 1.7.0
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).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { CategoryEnum, DatatypeEnum } from './';
12
+ import type { CategoryEnum } from './CategoryEnum';
13
+ import type { DatatypeEnum } from './DatatypeEnum';
13
14
  /**
14
15
  *
15
16
  * @export
@@ -47,6 +48,11 @@ export interface Capability {
47
48
  */
48
49
  value?: string;
49
50
  }
51
+ /**
52
+ * Check if a given object implements the Capability interface.
53
+ */
54
+ export declare function instanceOfCapability(value: object): value is Capability;
50
55
  export declare function CapabilityFromJSON(json: any): Capability;
51
56
  export declare function CapabilityFromJSONTyped(json: any, ignoreDiscriminator: boolean): Capability;
52
- export declare function CapabilityToJSON(value?: Capability | null): any;
57
+ export declare function CapabilityToJSON(json: any): Capability;
58
+ export declare function CapabilityToJSONTyped(value?: Capability | null, ignoreDiscriminator?: boolean): any;
@@ -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: 1.7.0
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,38 +13,53 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- var runtime_1 = require("../runtime");
17
- var _1 = require("./");
16
+ exports.instanceOfCapability = instanceOfCapability;
17
+ exports.CapabilityFromJSON = CapabilityFromJSON;
18
+ exports.CapabilityFromJSONTyped = CapabilityFromJSONTyped;
19
+ exports.CapabilityToJSON = CapabilityToJSON;
20
+ exports.CapabilityToJSONTyped = CapabilityToJSONTyped;
21
+ var CategoryEnum_1 = require("./CategoryEnum");
22
+ var DatatypeEnum_1 = require("./DatatypeEnum");
23
+ /**
24
+ * Check if a given object implements the Capability interface.
25
+ */
26
+ function instanceOfCapability(value) {
27
+ if (!('category' in value) || value['category'] === undefined)
28
+ return false;
29
+ if (!('name' in value) || value['name'] === undefined)
30
+ return false;
31
+ if (!('datatype' in value) || value['datatype'] === undefined)
32
+ return false;
33
+ return true;
34
+ }
18
35
  function CapabilityFromJSON(json) {
19
36
  return CapabilityFromJSONTyped(json, false);
20
37
  }
21
- exports.CapabilityFromJSON = CapabilityFromJSON;
22
38
  function CapabilityFromJSONTyped(json, ignoreDiscriminator) {
23
- if ((json === undefined) || (json === null)) {
39
+ if (json == null) {
24
40
  return json;
25
41
  }
26
42
  return {
27
- 'category': _1.CategoryEnumFromJSON(json['category']),
43
+ 'category': (0, CategoryEnum_1.CategoryEnumFromJSON)(json['category']),
28
44
  'name': json['name'],
29
- 'datatype': _1.DatatypeEnumFromJSON(json['datatype']),
30
- 'precedence': !runtime_1.exists(json, 'precedence') ? undefined : json['precedence'],
31
- 'value': !runtime_1.exists(json, 'value') ? undefined : json['value'],
45
+ 'datatype': (0, DatatypeEnum_1.DatatypeEnumFromJSON)(json['datatype']),
46
+ 'precedence': json['precedence'] == null ? undefined : json['precedence'],
47
+ 'value': json['value'] == null ? undefined : json['value'],
32
48
  };
33
49
  }
34
- exports.CapabilityFromJSONTyped = CapabilityFromJSONTyped;
35
- function CapabilityToJSON(value) {
36
- if (value === undefined) {
37
- return undefined;
38
- }
39
- if (value === null) {
40
- return null;
50
+ function CapabilityToJSON(json) {
51
+ return CapabilityToJSONTyped(json, false);
52
+ }
53
+ function CapabilityToJSONTyped(value, ignoreDiscriminator) {
54
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
55
+ if (value == null) {
56
+ return value;
41
57
  }
42
58
  return {
43
- 'category': _1.CategoryEnumToJSON(value.category),
44
- 'name': value.name,
45
- 'datatype': _1.DatatypeEnumToJSON(value.datatype),
46
- 'precedence': value.precedence,
47
- 'value': value.value,
59
+ 'category': (0, CategoryEnum_1.CategoryEnumToJSON)(value['category']),
60
+ 'name': value['name'],
61
+ 'datatype': (0, DatatypeEnum_1.DatatypeEnumToJSON)(value['datatype']),
62
+ 'precedence': value['precedence'],
63
+ 'value': value['value'],
48
64
  };
49
65
  }
50
- exports.CapabilityToJSON = CapabilityToJSON;
@@ -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: 1.7.0
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).
@@ -12,18 +12,20 @@
12
12
  /**
13
13
  *
14
14
  * @export
15
- * @enum {string}
16
15
  */
17
- export declare enum CategoryEnum {
18
- Scheduler = "SCHEDULER",
19
- Os = "OS",
20
- Hardware = "HARDWARE",
21
- Software = "SOFTWARE",
22
- Job = "JOB",
23
- Container = "CONTAINER",
24
- Misc = "MISC",
25
- Custom = "CUSTOM"
26
- }
16
+ export declare const CategoryEnum: {
17
+ readonly Scheduler: "SCHEDULER";
18
+ readonly Os: "OS";
19
+ readonly Hardware: "HARDWARE";
20
+ readonly Software: "SOFTWARE";
21
+ readonly Job: "JOB";
22
+ readonly Container: "CONTAINER";
23
+ readonly Misc: "MISC";
24
+ readonly Custom: "CUSTOM";
25
+ };
26
+ export type CategoryEnum = typeof CategoryEnum[keyof typeof CategoryEnum];
27
+ export declare function instanceOfCategoryEnum(value: any): boolean;
27
28
  export declare function CategoryEnumFromJSON(json: any): CategoryEnum;
28
29
  export declare function CategoryEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): CategoryEnum;
29
30
  export declare function CategoryEnumToJSON(value?: CategoryEnum | null): any;
31
+ export declare function CategoryEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): CategoryEnum;
@@ -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: 1.7.0
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,31 +13,45 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.CategoryEnum = void 0;
17
+ exports.instanceOfCategoryEnum = instanceOfCategoryEnum;
18
+ exports.CategoryEnumFromJSON = CategoryEnumFromJSON;
19
+ exports.CategoryEnumFromJSONTyped = CategoryEnumFromJSONTyped;
20
+ exports.CategoryEnumToJSON = CategoryEnumToJSON;
21
+ exports.CategoryEnumToJSONTyped = CategoryEnumToJSONTyped;
16
22
  /**
17
23
  *
18
24
  * @export
19
- * @enum {string}
20
25
  */
21
- var CategoryEnum;
22
- (function (CategoryEnum) {
23
- CategoryEnum["Scheduler"] = "SCHEDULER";
24
- CategoryEnum["Os"] = "OS";
25
- CategoryEnum["Hardware"] = "HARDWARE";
26
- CategoryEnum["Software"] = "SOFTWARE";
27
- CategoryEnum["Job"] = "JOB";
28
- CategoryEnum["Container"] = "CONTAINER";
29
- CategoryEnum["Misc"] = "MISC";
30
- CategoryEnum["Custom"] = "CUSTOM";
31
- })(CategoryEnum = exports.CategoryEnum || (exports.CategoryEnum = {}));
26
+ exports.CategoryEnum = {
27
+ Scheduler: 'SCHEDULER',
28
+ Os: 'OS',
29
+ Hardware: 'HARDWARE',
30
+ Software: 'SOFTWARE',
31
+ Job: 'JOB',
32
+ Container: 'CONTAINER',
33
+ Misc: 'MISC',
34
+ Custom: 'CUSTOM'
35
+ };
36
+ function instanceOfCategoryEnum(value) {
37
+ for (var key in exports.CategoryEnum) {
38
+ if (Object.prototype.hasOwnProperty.call(exports.CategoryEnum, key)) {
39
+ if (exports.CategoryEnum[key] === value) {
40
+ return true;
41
+ }
42
+ }
43
+ }
44
+ return false;
45
+ }
32
46
  function CategoryEnumFromJSON(json) {
33
47
  return CategoryEnumFromJSONTyped(json, false);
34
48
  }
35
- exports.CategoryEnumFromJSON = CategoryEnumFromJSON;
36
49
  function CategoryEnumFromJSONTyped(json, ignoreDiscriminator) {
37
50
  return json;
38
51
  }
39
- exports.CategoryEnumFromJSONTyped = CategoryEnumFromJSONTyped;
40
52
  function CategoryEnumToJSON(value) {
41
53
  return value;
42
54
  }
43
- exports.CategoryEnumToJSON = CategoryEnumToJSON;
55
+ function CategoryEnumToJSONTyped(value, ignoreDiscriminator) {
56
+ return value;
57
+ }
@@ -2,14 +2,14 @@
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: 1.7.0
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).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { AuthnEnum } from './';
12
+ import type { AuthnEnum } from './AuthnEnum';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -70,6 +70,24 @@ export interface Credential {
70
70
  * @memberof Credential
71
71
  */
72
72
  refreshToken?: string;
73
+ /**
74
+ *
75
+ * @type {string}
76
+ * @memberof Credential
77
+ */
78
+ tmsPrivateKey?: string;
79
+ /**
80
+ *
81
+ * @type {string}
82
+ * @memberof Credential
83
+ */
84
+ tmsPublicKey?: string;
85
+ /**
86
+ *
87
+ * @type {string}
88
+ * @memberof Credential
89
+ */
90
+ tmsFingerprint?: string;
73
91
  /**
74
92
  *
75
93
  * @type {string}
@@ -77,6 +95,11 @@ export interface Credential {
77
95
  */
78
96
  certificate?: string;
79
97
  }
98
+ /**
99
+ * Check if a given object implements the Credential interface.
100
+ */
101
+ export declare function instanceOfCredential(value: object): value is Credential;
80
102
  export declare function CredentialFromJSON(json: any): Credential;
81
103
  export declare function CredentialFromJSONTyped(json: any, ignoreDiscriminator: boolean): Credential;
82
- export declare function CredentialToJSON(value?: Credential | null): any;
104
+ export declare function CredentialToJSON(json: any): Credential;
105
+ export declare function CredentialToJSONTyped(value?: Credential | null, ignoreDiscriminator?: boolean): any;
@@ -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: 1.7.0
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,48 +13,62 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- var runtime_1 = require("../runtime");
17
- var _1 = require("./");
16
+ exports.instanceOfCredential = instanceOfCredential;
17
+ exports.CredentialFromJSON = CredentialFromJSON;
18
+ exports.CredentialFromJSONTyped = CredentialFromJSONTyped;
19
+ exports.CredentialToJSON = CredentialToJSON;
20
+ exports.CredentialToJSONTyped = CredentialToJSONTyped;
21
+ var AuthnEnum_1 = require("./AuthnEnum");
22
+ /**
23
+ * Check if a given object implements the Credential interface.
24
+ */
25
+ function instanceOfCredential(value) {
26
+ return true;
27
+ }
18
28
  function CredentialFromJSON(json) {
19
29
  return CredentialFromJSONTyped(json, false);
20
30
  }
21
- exports.CredentialFromJSON = CredentialFromJSON;
22
31
  function CredentialFromJSONTyped(json, ignoreDiscriminator) {
23
- if ((json === undefined) || (json === null)) {
32
+ if (json == null) {
24
33
  return json;
25
34
  }
26
35
  return {
27
- 'authnMethod': !runtime_1.exists(json, 'authnMethod') ? undefined : _1.AuthnEnumFromJSON(json['authnMethod']),
28
- 'loginUser': !runtime_1.exists(json, 'loginUser') ? undefined : json['loginUser'],
29
- 'password': !runtime_1.exists(json, 'password') ? undefined : json['password'],
30
- 'privateKey': !runtime_1.exists(json, 'privateKey') ? undefined : json['privateKey'],
31
- 'publicKey': !runtime_1.exists(json, 'publicKey') ? undefined : json['publicKey'],
32
- 'accessKey': !runtime_1.exists(json, 'accessKey') ? undefined : json['accessKey'],
33
- 'accessSecret': !runtime_1.exists(json, 'accessSecret') ? undefined : json['accessSecret'],
34
- 'accessToken': !runtime_1.exists(json, 'accessToken') ? undefined : json['accessToken'],
35
- 'refreshToken': !runtime_1.exists(json, 'refreshToken') ? undefined : json['refreshToken'],
36
- 'certificate': !runtime_1.exists(json, 'certificate') ? undefined : json['certificate'],
36
+ 'authnMethod': json['authnMethod'] == null ? undefined : (0, AuthnEnum_1.AuthnEnumFromJSON)(json['authnMethod']),
37
+ 'loginUser': json['loginUser'] == null ? undefined : json['loginUser'],
38
+ 'password': json['password'] == null ? undefined : json['password'],
39
+ 'privateKey': json['privateKey'] == null ? undefined : json['privateKey'],
40
+ 'publicKey': json['publicKey'] == null ? undefined : json['publicKey'],
41
+ 'accessKey': json['accessKey'] == null ? undefined : json['accessKey'],
42
+ 'accessSecret': json['accessSecret'] == null ? undefined : json['accessSecret'],
43
+ 'accessToken': json['accessToken'] == null ? undefined : json['accessToken'],
44
+ 'refreshToken': json['refreshToken'] == null ? undefined : json['refreshToken'],
45
+ 'tmsPrivateKey': json['tmsPrivateKey'] == null ? undefined : json['tmsPrivateKey'],
46
+ 'tmsPublicKey': json['tmsPublicKey'] == null ? undefined : json['tmsPublicKey'],
47
+ 'tmsFingerprint': json['tmsFingerprint'] == null ? undefined : json['tmsFingerprint'],
48
+ 'certificate': json['certificate'] == null ? undefined : json['certificate'],
37
49
  };
38
50
  }
39
- exports.CredentialFromJSONTyped = CredentialFromJSONTyped;
40
- function CredentialToJSON(value) {
41
- if (value === undefined) {
42
- return undefined;
43
- }
44
- if (value === null) {
45
- return null;
51
+ function CredentialToJSON(json) {
52
+ return CredentialToJSONTyped(json, false);
53
+ }
54
+ function CredentialToJSONTyped(value, ignoreDiscriminator) {
55
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
56
+ if (value == null) {
57
+ return value;
46
58
  }
47
59
  return {
48
- 'authnMethod': _1.AuthnEnumToJSON(value.authnMethod),
49
- 'loginUser': value.loginUser,
50
- 'password': value.password,
51
- 'privateKey': value.privateKey,
52
- 'publicKey': value.publicKey,
53
- 'accessKey': value.accessKey,
54
- 'accessSecret': value.accessSecret,
55
- 'accessToken': value.accessToken,
56
- 'refreshToken': value.refreshToken,
57
- 'certificate': value.certificate,
60
+ 'authnMethod': (0, AuthnEnum_1.AuthnEnumToJSON)(value['authnMethod']),
61
+ 'loginUser': value['loginUser'],
62
+ 'password': value['password'],
63
+ 'privateKey': value['privateKey'],
64
+ 'publicKey': value['publicKey'],
65
+ 'accessKey': value['accessKey'],
66
+ 'accessSecret': value['accessSecret'],
67
+ 'accessToken': value['accessToken'],
68
+ 'refreshToken': value['refreshToken'],
69
+ 'tmsPrivateKey': value['tmsPrivateKey'],
70
+ 'tmsPublicKey': value['tmsPublicKey'],
71
+ 'tmsFingerprint': value['tmsFingerprint'],
72
+ 'certificate': value['certificate'],
58
73
  };
59
74
  }
60
- exports.CredentialToJSON = CredentialToJSON;
@@ -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: 1.7.0
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).
@@ -12,15 +12,17 @@
12
12
  /**
13
13
  *
14
14
  * @export
15
- * @enum {string}
16
15
  */
17
- export declare enum DatatypeEnum {
18
- String = "STRING",
19
- Integer = "INTEGER",
20
- Boolean = "BOOLEAN",
21
- Number = "NUMBER",
22
- Timestamp = "TIMESTAMP"
23
- }
16
+ export declare const DatatypeEnum: {
17
+ readonly String: "STRING";
18
+ readonly Integer: "INTEGER";
19
+ readonly Boolean: "BOOLEAN";
20
+ readonly Number: "NUMBER";
21
+ readonly Timestamp: "TIMESTAMP";
22
+ };
23
+ export type DatatypeEnum = typeof DatatypeEnum[keyof typeof DatatypeEnum];
24
+ export declare function instanceOfDatatypeEnum(value: any): boolean;
24
25
  export declare function DatatypeEnumFromJSON(json: any): DatatypeEnum;
25
26
  export declare function DatatypeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): DatatypeEnum;
26
27
  export declare function DatatypeEnumToJSON(value?: DatatypeEnum | null): any;
28
+ export declare function DatatypeEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): DatatypeEnum;