@openshift-migration-advisor/planner-sdk 0.20.2-cdd9e28947f3 → 0.20.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.20.2-cdd9e28947f3
1
+ # @openshift-migration-advisor/planner-sdk@0.20.3
2
2
 
3
3
  A TypeScript SDK client for the raw.githubusercontent.com API.
4
4
 
@@ -192,7 +192,7 @@ and is automatically generated by the
192
192
  [OpenAPI Generator](https://openapi-generator.tech) project:
193
193
 
194
194
  - API version: `v1alpha1`
195
- - Package version: `0.20.2-cdd9e28947f3`
195
+ - Package version: `0.20.3`
196
196
  - Generator version: `7.25.0-SNAPSHOT`
197
197
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
198
198
 
@@ -39,14 +39,6 @@ export interface Host {
39
39
  * Host memory in MB
40
40
  */
41
41
  memoryMB?: number | null;
42
- /**
43
- * Whether vMotion is supported on this host (HostSystem.capability.vmotionSupported)
44
- */
45
- vmotionSupported?: boolean;
46
- /**
47
- * Whether Storage vMotion is supported on this host (HostSystem.capability.storageVMotionSupported)
48
- */
49
- storageVmotionSupported?: boolean;
50
42
  }
51
43
  /**
52
44
  * Check if a given object implements the Host interface.
@@ -35,8 +35,6 @@ export function HostFromJSONTyped(json, ignoreDiscriminator) {
35
35
  'cpuCores': json['cpuCores'] === undefined ? undefined : json['cpuCores'] === null ? null : json['cpuCores'],
36
36
  'cpuSockets': json['cpuSockets'] === undefined ? undefined : json['cpuSockets'] === null ? null : json['cpuSockets'],
37
37
  'memoryMB': json['memoryMB'] === undefined ? undefined : json['memoryMB'] === null ? null : json['memoryMB'],
38
- 'vmotionSupported': json['vmotionSupported'] == null ? undefined : json['vmotionSupported'],
39
- 'storageVmotionSupported': json['storageVmotionSupported'] == null ? undefined : json['storageVmotionSupported'],
40
38
  };
41
39
  }
42
40
  export function HostToJSON(json) {
@@ -53,7 +51,5 @@ export function HostToJSONTyped(value, ignoreDiscriminator = false) {
53
51
  'cpuCores': value['cpuCores'],
54
52
  'cpuSockets': value['cpuSockets'],
55
53
  'memoryMB': value['memoryMB'],
56
- 'vmotionSupported': value['vmotionSupported'],
57
- 'storageVmotionSupported': value['storageVmotionSupported'],
58
54
  };
59
55
  }
@@ -34,10 +34,6 @@ export interface Inventory {
34
34
  *
35
35
  */
36
36
  vcenter?: InventoryData;
37
- /**
38
- * Timestamp when the inventory data was created or collected
39
- */
40
- createdAt?: Date;
41
37
  }
42
38
  /**
43
39
  * Check if a given object implements the Inventory interface.
@@ -35,7 +35,6 @@ export function InventoryFromJSONTyped(json, ignoreDiscriminator) {
35
35
  'vcenterVersion': json['vcenter_version'] == null ? undefined : json['vcenter_version'],
36
36
  'clusters': (mapValues(json['clusters'], InventoryDataFromJSON)),
37
37
  'vcenter': json['vcenter'] == null ? undefined : InventoryDataFromJSON(json['vcenter']),
38
- 'createdAt': json['created_at'] == null ? undefined : (new Date(json['created_at'])),
39
38
  };
40
39
  }
41
40
  export function InventoryToJSON(json) {
@@ -50,6 +49,5 @@ export function InventoryToJSONTyped(value, ignoreDiscriminator = false) {
50
49
  'vcenter_version': value['vcenterVersion'],
51
50
  'clusters': (mapValues(value['clusters'], InventoryDataToJSON)),
52
51
  'vcenter': InventoryDataToJSON(value['vcenter']),
53
- 'created_at': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
54
52
  };
55
53
  }
@@ -39,14 +39,6 @@ export interface Host {
39
39
  * Host memory in MB
40
40
  */
41
41
  memoryMB?: number | null;
42
- /**
43
- * Whether vMotion is supported on this host (HostSystem.capability.vmotionSupported)
44
- */
45
- vmotionSupported?: boolean;
46
- /**
47
- * Whether Storage vMotion is supported on this host (HostSystem.capability.storageVMotionSupported)
48
- */
49
- storageVmotionSupported?: boolean;
50
42
  }
51
43
  /**
52
44
  * Check if a given object implements the Host interface.
@@ -42,8 +42,6 @@ function HostFromJSONTyped(json, ignoreDiscriminator) {
42
42
  'cpuCores': json['cpuCores'] === undefined ? undefined : json['cpuCores'] === null ? null : json['cpuCores'],
43
43
  'cpuSockets': json['cpuSockets'] === undefined ? undefined : json['cpuSockets'] === null ? null : json['cpuSockets'],
44
44
  'memoryMB': json['memoryMB'] === undefined ? undefined : json['memoryMB'] === null ? null : json['memoryMB'],
45
- 'vmotionSupported': json['vmotionSupported'] == null ? undefined : json['vmotionSupported'],
46
- 'storageVmotionSupported': json['storageVmotionSupported'] == null ? undefined : json['storageVmotionSupported'],
47
45
  };
48
46
  }
49
47
  function HostToJSON(json) {
@@ -60,7 +58,5 @@ function HostToJSONTyped(value, ignoreDiscriminator = false) {
60
58
  'cpuCores': value['cpuCores'],
61
59
  'cpuSockets': value['cpuSockets'],
62
60
  'memoryMB': value['memoryMB'],
63
- 'vmotionSupported': value['vmotionSupported'],
64
- 'storageVmotionSupported': value['storageVmotionSupported'],
65
61
  };
66
62
  }
@@ -34,10 +34,6 @@ export interface Inventory {
34
34
  *
35
35
  */
36
36
  vcenter?: InventoryData;
37
- /**
38
- * Timestamp when the inventory data was created or collected
39
- */
40
- createdAt?: Date;
41
37
  }
42
38
  /**
43
39
  * Check if a given object implements the Inventory interface.
@@ -42,7 +42,6 @@ function InventoryFromJSONTyped(json, ignoreDiscriminator) {
42
42
  'vcenterVersion': json['vcenter_version'] == null ? undefined : json['vcenter_version'],
43
43
  'clusters': ((0, runtime_js_1.mapValues)(json['clusters'], InventoryData_js_1.InventoryDataFromJSON)),
44
44
  'vcenter': json['vcenter'] == null ? undefined : (0, InventoryData_js_1.InventoryDataFromJSON)(json['vcenter']),
45
- 'createdAt': json['created_at'] == null ? undefined : (new Date(json['created_at'])),
46
45
  };
47
46
  }
48
47
  function InventoryToJSON(json) {
@@ -57,6 +56,5 @@ function InventoryToJSONTyped(value, ignoreDiscriminator = false) {
57
56
  'vcenter_version': value['vcenterVersion'],
58
57
  'clusters': ((0, runtime_js_1.mapValues)(value['clusters'], InventoryData_js_1.InventoryDataToJSON)),
59
58
  'vcenter': (0, InventoryData_js_1.InventoryDataToJSON)(value['vcenter']),
60
- 'created_at': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
61
59
  };
62
60
  }
package/docs/Host.md CHANGED
@@ -12,8 +12,6 @@ Name | Type
12
12
  `cpuCores` | number
13
13
  `cpuSockets` | number
14
14
  `memoryMB` | number
15
- `vmotionSupported` | boolean
16
- `storageVmotionSupported` | boolean
17
15
 
18
16
  ## Example
19
17
 
@@ -28,8 +26,6 @@ const example = {
28
26
  "cpuCores": null,
29
27
  "cpuSockets": null,
30
28
  "memoryMB": null,
31
- "vmotionSupported": null,
32
- "storageVmotionSupported": null,
33
29
  } satisfies Host
34
30
 
35
31
  console.log(example)
package/docs/Inventory.md CHANGED
@@ -10,7 +10,6 @@ Name | Type
10
10
  `vcenterVersion` | string
11
11
  `clusters` | [{ [key: string]: InventoryData; }](InventoryData.md)
12
12
  `vcenter` | [InventoryData](InventoryData.md)
13
- `createdAt` | Date
14
13
 
15
14
  ## Example
16
15
 
@@ -23,7 +22,6 @@ const example = {
23
22
  "vcenterVersion": null,
24
23
  "clusters": null,
25
24
  "vcenter": null,
26
- "createdAt": null,
27
25
  } satisfies Inventory
28
26
 
29
27
  console.log(example)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openshift-migration-advisor/planner-sdk",
3
- "version": "0.20.2-cdd9e28947f3",
3
+ "version": "0.20.3",
4
4
  "description": "OpenAPI client for @openshift-migration-advisor/planner-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -43,14 +43,6 @@ export interface Host {
43
43
  * Host memory in MB
44
44
  */
45
45
  memoryMB?: number | null;
46
- /**
47
- * Whether vMotion is supported on this host (HostSystem.capability.vmotionSupported)
48
- */
49
- vmotionSupported?: boolean;
50
- /**
51
- * Whether Storage vMotion is supported on this host (HostSystem.capability.storageVMotionSupported)
52
- */
53
- storageVmotionSupported?: boolean;
54
46
  }
55
47
 
56
48
  /**
@@ -78,8 +70,6 @@ export function HostFromJSONTyped(json: any, ignoreDiscriminator: boolean): Host
78
70
  'cpuCores': json['cpuCores'] === undefined ? undefined : json['cpuCores'] === null ? null : json['cpuCores'],
79
71
  'cpuSockets': json['cpuSockets'] === undefined ? undefined : json['cpuSockets'] === null ? null : json['cpuSockets'],
80
72
  'memoryMB': json['memoryMB'] === undefined ? undefined : json['memoryMB'] === null ? null : json['memoryMB'],
81
- 'vmotionSupported': json['vmotionSupported'] == null ? undefined : json['vmotionSupported'],
82
- 'storageVmotionSupported': json['storageVmotionSupported'] == null ? undefined : json['storageVmotionSupported'],
83
73
  };
84
74
  }
85
75
 
@@ -100,8 +90,6 @@ export function HostToJSONTyped(value?: Host | null, ignoreDiscriminator: boolea
100
90
  'cpuCores': value['cpuCores'],
101
91
  'cpuSockets': value['cpuSockets'],
102
92
  'memoryMB': value['memoryMB'],
103
- 'vmotionSupported': value['vmotionSupported'],
104
- 'storageVmotionSupported': value['storageVmotionSupported'],
105
93
  };
106
94
  }
107
95
 
@@ -43,10 +43,6 @@ export interface Inventory {
43
43
  *
44
44
  */
45
45
  vcenter?: InventoryData;
46
- /**
47
- * Timestamp when the inventory data was created or collected
48
- */
49
- createdAt?: Date;
50
46
  }
51
47
 
52
48
  /**
@@ -72,7 +68,6 @@ export function InventoryFromJSONTyped(json: any, ignoreDiscriminator: boolean):
72
68
  'vcenterVersion': json['vcenter_version'] == null ? undefined : json['vcenter_version'],
73
69
  'clusters': (mapValues(json['clusters'], InventoryDataFromJSON)),
74
70
  'vcenter': json['vcenter'] == null ? undefined : InventoryDataFromJSON(json['vcenter']),
75
- 'createdAt': json['created_at'] == null ? undefined : (new Date(json['created_at'])),
76
71
  };
77
72
  }
78
73
 
@@ -91,7 +86,6 @@ export function InventoryToJSONTyped(value?: Inventory | null, ignoreDiscriminat
91
86
  'vcenter_version': value['vcenterVersion'],
92
87
  'clusters': (mapValues(value['clusters'], InventoryDataToJSON)),
93
88
  'vcenter': InventoryDataToJSON(value['vcenter']),
94
- 'created_at': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
95
89
  };
96
90
  }
97
91