@openshift-migration-advisor/planner-sdk 0.31.0-3530a4e580e1 → 0.31.0-753befe33bbe

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @openshift-migration-advisor/planner-sdk@0.31.0-3530a4e580e1
1
+ # @openshift-migration-advisor/planner-sdk@0.31.0-753befe33bbe
2
2
 
3
3
  A TypeScript SDK client for the raw.githubusercontent.com API.
4
4
 
@@ -220,7 +220,7 @@ and is automatically generated by the
220
220
  [OpenAPI Generator](https://openapi-generator.tech) project:
221
221
 
222
222
  - API version: `v1alpha1`
223
- - Package version: `0.31.0-3530a4e580e1`
223
+ - Package version: `0.31.0-753befe33bbe`
224
224
  - Generator version: `7.28.0-SNAPSHOT`
225
225
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
226
226
 
@@ -27,6 +27,10 @@ export interface OsInfo {
27
27
  * OS support tier per Red Hat KCS article 4234591
28
28
  */
29
29
  supportTier?: OsInfoSupportTierEnum;
30
+ /**
31
+ * MTV verification per Red Hat KCS article 4234591. Green means tested and verified; blue means successfully running on the target cluster. Omitted when the OS/architecture has no listed status.
32
+ */
33
+ mtvStatus?: OsInfoMtvStatusEnum;
30
34
  /**
31
35
  * Recommended OS upgrade for MTV unsupported OS that can be upgraded to a supported OS
32
36
  */
@@ -42,6 +46,14 @@ export declare const OsInfoSupportTierEnum: {
42
46
  readonly SpecialHandling: "special_handling";
43
47
  };
44
48
  export type OsInfoSupportTierEnum = typeof OsInfoSupportTierEnum[keyof typeof OsInfoSupportTierEnum];
49
+ /**
50
+ * @export
51
+ */
52
+ export declare const OsInfoMtvStatusEnum: {
53
+ readonly Green: "green";
54
+ readonly Blue: "blue";
55
+ };
56
+ export type OsInfoMtvStatusEnum = typeof OsInfoMtvStatusEnum[keyof typeof OsInfoMtvStatusEnum];
45
57
  /**
46
58
  * Check if a given object implements the OsInfo interface.
47
59
  */
@@ -20,6 +20,13 @@ export const OsInfoSupportTierEnum = {
20
20
  CommunitySupported: 'community_supported',
21
21
  SpecialHandling: 'special_handling',
22
22
  };
23
+ /**
24
+ * @export
25
+ */
26
+ export const OsInfoMtvStatusEnum = {
27
+ Green: 'green',
28
+ Blue: 'blue',
29
+ };
23
30
  /**
24
31
  * Check if a given object implements the OsInfo interface.
25
32
  */
@@ -41,6 +48,7 @@ export function OsInfoFromJSONTyped(json, ignoreDiscriminator) {
41
48
  'count': json['count'],
42
49
  'supported': json['supported'],
43
50
  'supportTier': json['supportTier'] == null ? undefined : json['supportTier'],
51
+ 'mtvStatus': json['mtvStatus'] == null ? undefined : json['mtvStatus'],
44
52
  'upgradeRecommendation': json['upgradeRecommendation'] == null ? undefined : json['upgradeRecommendation'],
45
53
  };
46
54
  }
@@ -55,6 +63,7 @@ export function OsInfoToJSONTyped(value, ignoreDiscriminator = false) {
55
63
  'count': value['count'],
56
64
  'supported': value['supported'],
57
65
  'supportTier': value['supportTier'],
66
+ 'mtvStatus': value['mtvStatus'],
58
67
  'upgradeRecommendation': value['upgradeRecommendation'],
59
68
  };
60
69
  }
@@ -27,6 +27,10 @@ export interface OsInfo {
27
27
  * OS support tier per Red Hat KCS article 4234591
28
28
  */
29
29
  supportTier?: OsInfoSupportTierEnum;
30
+ /**
31
+ * MTV verification per Red Hat KCS article 4234591. Green means tested and verified; blue means successfully running on the target cluster. Omitted when the OS/architecture has no listed status.
32
+ */
33
+ mtvStatus?: OsInfoMtvStatusEnum;
30
34
  /**
31
35
  * Recommended OS upgrade for MTV unsupported OS that can be upgraded to a supported OS
32
36
  */
@@ -42,6 +46,14 @@ export declare const OsInfoSupportTierEnum: {
42
46
  readonly SpecialHandling: "special_handling";
43
47
  };
44
48
  export type OsInfoSupportTierEnum = typeof OsInfoSupportTierEnum[keyof typeof OsInfoSupportTierEnum];
49
+ /**
50
+ * @export
51
+ */
52
+ export declare const OsInfoMtvStatusEnum: {
53
+ readonly Green: "green";
54
+ readonly Blue: "blue";
55
+ };
56
+ export type OsInfoMtvStatusEnum = typeof OsInfoMtvStatusEnum[keyof typeof OsInfoMtvStatusEnum];
45
57
  /**
46
58
  * Check if a given object implements the OsInfo interface.
47
59
  */
@@ -13,7 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.OsInfoSupportTierEnum = void 0;
16
+ exports.OsInfoMtvStatusEnum = exports.OsInfoSupportTierEnum = void 0;
17
17
  exports.instanceOfOsInfo = instanceOfOsInfo;
18
18
  exports.OsInfoFromJSON = OsInfoFromJSON;
19
19
  exports.OsInfoFromJSONTyped = OsInfoFromJSONTyped;
@@ -28,6 +28,13 @@ exports.OsInfoSupportTierEnum = {
28
28
  CommunitySupported: 'community_supported',
29
29
  SpecialHandling: 'special_handling',
30
30
  };
31
+ /**
32
+ * @export
33
+ */
34
+ exports.OsInfoMtvStatusEnum = {
35
+ Green: 'green',
36
+ Blue: 'blue',
37
+ };
31
38
  /**
32
39
  * Check if a given object implements the OsInfo interface.
33
40
  */
@@ -49,6 +56,7 @@ function OsInfoFromJSONTyped(json, ignoreDiscriminator) {
49
56
  'count': json['count'],
50
57
  'supported': json['supported'],
51
58
  'supportTier': json['supportTier'] == null ? undefined : json['supportTier'],
59
+ 'mtvStatus': json['mtvStatus'] == null ? undefined : json['mtvStatus'],
52
60
  'upgradeRecommendation': json['upgradeRecommendation'] == null ? undefined : json['upgradeRecommendation'],
53
61
  };
54
62
  }
@@ -63,6 +71,7 @@ function OsInfoToJSONTyped(value, ignoreDiscriminator = false) {
63
71
  'count': value['count'],
64
72
  'supported': value['supported'],
65
73
  'supportTier': value['supportTier'],
74
+ 'mtvStatus': value['mtvStatus'],
66
75
  'upgradeRecommendation': value['upgradeRecommendation'],
67
76
  };
68
77
  }
package/docs/OsInfo.md CHANGED
@@ -9,6 +9,7 @@ Name | Type
9
9
  `count` | number
10
10
  `supported` | boolean
11
11
  `supportTier` | string
12
+ `mtvStatus` | string
12
13
  `upgradeRecommendation` | string
13
14
 
14
15
  ## Example
@@ -21,6 +22,7 @@ const example = {
21
22
  "count": null,
22
23
  "supported": null,
23
24
  "supportTier": null,
25
+ "mtvStatus": null,
24
26
  "upgradeRecommendation": null,
25
27
  } satisfies OsInfo
26
28
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openshift-migration-advisor/planner-sdk",
3
- "version": "0.31.0-3530a4e580e1",
3
+ "version": "0.31.0-753befe33bbe",
4
4
  "description": "OpenAPI client for @openshift-migration-advisor/planner-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -31,6 +31,10 @@ export interface OsInfo {
31
31
  * OS support tier per Red Hat KCS article 4234591
32
32
  */
33
33
  supportTier?: OsInfoSupportTierEnum;
34
+ /**
35
+ * MTV verification per Red Hat KCS article 4234591. Green means tested and verified; blue means successfully running on the target cluster. Omitted when the OS/architecture has no listed status.
36
+ */
37
+ mtvStatus?: OsInfoMtvStatusEnum;
34
38
  /**
35
39
  * Recommended OS upgrade for MTV unsupported OS that can be upgraded to a supported OS
36
40
  */
@@ -49,6 +53,15 @@ export const OsInfoSupportTierEnum = {
49
53
  } as const;
50
54
  export type OsInfoSupportTierEnum = typeof OsInfoSupportTierEnum[keyof typeof OsInfoSupportTierEnum];
51
55
 
56
+ /**
57
+ * @export
58
+ */
59
+ export const OsInfoMtvStatusEnum = {
60
+ Green: 'green',
61
+ Blue: 'blue',
62
+ } as const;
63
+ export type OsInfoMtvStatusEnum = typeof OsInfoMtvStatusEnum[keyof typeof OsInfoMtvStatusEnum];
64
+
52
65
 
53
66
  /**
54
67
  * Check if a given object implements the OsInfo interface.
@@ -72,6 +85,7 @@ export function OsInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): Os
72
85
  'count': json['count'],
73
86
  'supported': json['supported'],
74
87
  'supportTier': json['supportTier'] == null ? undefined : json['supportTier'],
88
+ 'mtvStatus': json['mtvStatus'] == null ? undefined : json['mtvStatus'],
75
89
  'upgradeRecommendation': json['upgradeRecommendation'] == null ? undefined : json['upgradeRecommendation'],
76
90
  };
77
91
  }
@@ -90,6 +104,7 @@ export function OsInfoToJSONTyped(value?: OsInfo | null, ignoreDiscriminator: bo
90
104
  'count': value['count'],
91
105
  'supported': value['supported'],
92
106
  'supportTier': value['supportTier'],
107
+ 'mtvStatus': value['mtvStatus'],
93
108
  'upgradeRecommendation': value['upgradeRecommendation'],
94
109
  };
95
110
  }