@openshift-migration-advisor/planner-sdk 0.13.2-b3e704dc90b2 → 0.13.3

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.13.2-b3e704dc90b2
1
+ # @openshift-migration-advisor/planner-sdk@0.13.3
2
2
 
3
3
  A TypeScript SDK client for the raw.githubusercontent.com API.
4
4
 
@@ -181,7 +181,7 @@ and is automatically generated by the
181
181
  [OpenAPI Generator](https://openapi-generator.tech) project:
182
182
 
183
183
  - API version: `v1alpha1`
184
- - Package version: `0.13.2-b3e704dc90b2`
184
+ - Package version: `0.13.3`
185
185
  - Generator version: `7.23.0-SNAPSHOT`
186
186
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
187
187
 
@@ -22,6 +22,12 @@ export interface Inventory {
22
22
  * @memberof Inventory
23
23
  */
24
24
  vcenterId: string;
25
+ /**
26
+ * Version of the vCenter api. For example "8.0.3.0"
27
+ * @type {string}
28
+ * @memberof Inventory
29
+ */
30
+ vcenterVersion?: string;
25
31
  /**
26
32
  * Map of cluster names to their inventory data
27
33
  * @type {{ [key: string]: InventoryData; }}
@@ -32,6 +32,7 @@ export function InventoryFromJSONTyped(json, ignoreDiscriminator) {
32
32
  }
33
33
  return {
34
34
  'vcenterId': json['vcenter_id'],
35
+ 'vcenterVersion': json['vcenter_version'] == null ? undefined : json['vcenter_version'],
35
36
  'clusters': (mapValues(json['clusters'], InventoryDataFromJSON)),
36
37
  'vcenter': json['vcenter'] == null ? undefined : InventoryDataFromJSON(json['vcenter']),
37
38
  };
@@ -45,6 +46,7 @@ export function InventoryToJSONTyped(value, ignoreDiscriminator = false) {
45
46
  }
46
47
  return {
47
48
  'vcenter_id': value['vcenterId'],
49
+ 'vcenter_version': value['vcenterVersion'],
48
50
  'clusters': (mapValues(value['clusters'], InventoryDataToJSON)),
49
51
  'vcenter': InventoryDataToJSON(value['vcenter']),
50
52
  };
@@ -22,6 +22,12 @@ export interface Inventory {
22
22
  * @memberof Inventory
23
23
  */
24
24
  vcenterId: string;
25
+ /**
26
+ * Version of the vCenter api. For example "8.0.3.0"
27
+ * @type {string}
28
+ * @memberof Inventory
29
+ */
30
+ vcenterVersion?: string;
25
31
  /**
26
32
  * Map of cluster names to their inventory data
27
33
  * @type {{ [key: string]: InventoryData; }}
@@ -39,6 +39,7 @@ function InventoryFromJSONTyped(json, ignoreDiscriminator) {
39
39
  }
40
40
  return {
41
41
  'vcenterId': json['vcenter_id'],
42
+ 'vcenterVersion': json['vcenter_version'] == null ? undefined : json['vcenter_version'],
42
43
  'clusters': ((0, runtime_js_1.mapValues)(json['clusters'], InventoryData_js_1.InventoryDataFromJSON)),
43
44
  'vcenter': json['vcenter'] == null ? undefined : (0, InventoryData_js_1.InventoryDataFromJSON)(json['vcenter']),
44
45
  };
@@ -52,6 +53,7 @@ function InventoryToJSONTyped(value, ignoreDiscriminator = false) {
52
53
  }
53
54
  return {
54
55
  'vcenter_id': value['vcenterId'],
56
+ 'vcenter_version': value['vcenterVersion'],
55
57
  'clusters': ((0, runtime_js_1.mapValues)(value['clusters'], InventoryData_js_1.InventoryDataToJSON)),
56
58
  'vcenter': (0, InventoryData_js_1.InventoryDataToJSON)(value['vcenter']),
57
59
  };
package/docs/Inventory.md CHANGED
@@ -7,6 +7,7 @@
7
7
  Name | Type
8
8
  ------------ | -------------
9
9
  `vcenterId` | string
10
+ `vcenterVersion` | string
10
11
  `clusters` | [{ [key: string]: InventoryData; }](InventoryData.md)
11
12
  `vcenter` | [InventoryData](InventoryData.md)
12
13
 
@@ -18,6 +19,7 @@ import type { Inventory } from '@openshift-migration-advisor/planner-sdk'
18
19
  // TODO: Update the object below with actual values
19
20
  const example = {
20
21
  "vcenterId": null,
22
+ "vcenterVersion": null,
21
23
  "clusters": null,
22
24
  "vcenter": null,
23
25
  } satisfies Inventory
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openshift-migration-advisor/planner-sdk",
3
- "version": "0.13.2-b3e704dc90b2",
3
+ "version": "0.13.3",
4
4
  "description": "OpenAPI client for @openshift-migration-advisor/planner-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -33,6 +33,12 @@ export interface Inventory {
33
33
  * @memberof Inventory
34
34
  */
35
35
  vcenterId: string;
36
+ /**
37
+ * Version of the vCenter api. For example "8.0.3.0"
38
+ * @type {string}
39
+ * @memberof Inventory
40
+ */
41
+ vcenterVersion?: string;
36
42
  /**
37
43
  * Map of cluster names to their inventory data
38
44
  * @type {{ [key: string]: InventoryData; }}
@@ -67,6 +73,7 @@ export function InventoryFromJSONTyped(json: any, ignoreDiscriminator: boolean):
67
73
  return {
68
74
 
69
75
  'vcenterId': json['vcenter_id'],
76
+ 'vcenterVersion': json['vcenter_version'] == null ? undefined : json['vcenter_version'],
70
77
  'clusters': (mapValues(json['clusters'], InventoryDataFromJSON)),
71
78
  'vcenter': json['vcenter'] == null ? undefined : InventoryDataFromJSON(json['vcenter']),
72
79
  };
@@ -84,6 +91,7 @@ export function InventoryToJSONTyped(value?: Inventory | null, ignoreDiscriminat
84
91
  return {
85
92
 
86
93
  'vcenter_id': value['vcenterId'],
94
+ 'vcenter_version': value['vcenterVersion'],
87
95
  'clusters': (mapValues(value['clusters'], InventoryDataToJSON)),
88
96
  'vcenter': InventoryDataToJSON(value['vcenter']),
89
97
  };