@openshift-migration-advisor/planner-sdk 0.29.0-a9136aeb41ec → 0.30.0

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.29.0-a9136aeb41ec
1
+ # @openshift-migration-advisor/planner-sdk@0.30.0
2
2
 
3
3
  A TypeScript SDK client for the raw.githubusercontent.com API.
4
4
 
@@ -217,7 +217,7 @@ and is automatically generated by the
217
217
  [OpenAPI Generator](https://openapi-generator.tech) project:
218
218
 
219
219
  - API version: `v1alpha1`
220
- - Package version: `0.29.0-a9136aeb41ec`
220
+ - Package version: `0.30.0`
221
221
  - Generator version: `7.27.0-SNAPSHOT`
222
222
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
223
223
 
@@ -20,18 +20,6 @@ export interface Datastore {
20
20
  *
21
21
  */
22
22
  type: string;
23
- /**
24
- * Canonical identifiers for devices backing the datastore (for example, an NAA identifier for a SCSI LUN); may be unavailable for some datastore types
25
- */
26
- backingDeviceIds?: Array<string>;
27
- /**
28
- * Filesystem type reported by the datastore, such as VMFS, NFS, or NFS41
29
- */
30
- filesystemType?: string;
31
- /**
32
- * VMFS major version when reported; omitted when unknown or not applicable
33
- */
34
- filesystemMajorVersion?: number;
35
23
  /**
36
24
  * Storage access category derived from Datastore.Type
37
25
  */
@@ -49,7 +37,7 @@ export interface Datastore {
49
37
  */
50
38
  freeCapacityGB: number;
51
39
  /**
52
- * Vendor reported by matching backing devices when available
40
+ *
53
41
  */
54
42
  vendor: string;
55
43
  /**
@@ -65,7 +53,7 @@ export interface Datastore {
65
53
  */
66
54
  protocolType: string;
67
55
  /**
68
- * Model reported by matching backing devices when available
56
+ *
69
57
  */
70
58
  model: string;
71
59
  /**
@@ -51,9 +51,6 @@ export function DatastoreFromJSONTyped(json, ignoreDiscriminator) {
51
51
  }
52
52
  return {
53
53
  'type': json['type'],
54
- 'backingDeviceIds': json['backingDeviceIds'] == null ? undefined : json['backingDeviceIds'],
55
- 'filesystemType': json['filesystemType'] == null ? undefined : json['filesystemType'],
56
- 'filesystemMajorVersion': json['filesystemMajorVersion'] == null ? undefined : json['filesystemMajorVersion'],
57
54
  'storageProtocol': json['storageProtocol'] == null ? undefined : json['storageProtocol'],
58
55
  'vsanSnapshotSupport': json['vsanSnapshotSupport'] == null ? undefined : json['vsanSnapshotSupport'],
59
56
  'totalCapacityGB': json['totalCapacityGB'],
@@ -76,9 +73,6 @@ export function DatastoreToJSONTyped(value, ignoreDiscriminator = false) {
76
73
  }
77
74
  return {
78
75
  'type': value['type'],
79
- 'backingDeviceIds': value['backingDeviceIds'],
80
- 'filesystemType': value['filesystemType'],
81
- 'filesystemMajorVersion': value['filesystemMajorVersion'],
82
76
  'storageProtocol': value['storageProtocol'],
83
77
  'vsanSnapshotSupport': value['vsanSnapshotSupport'],
84
78
  'totalCapacityGB': value['totalCapacityGB'],
@@ -35,13 +35,9 @@ export interface Inventory {
35
35
  */
36
36
  vcenter?: InventoryData;
37
37
  /**
38
- * Timestamp when the inventory document was built
38
+ * Timestamp when the inventory data was created or collected
39
39
  */
40
40
  createdAt?: Date;
41
- /**
42
- * Oldest known source collection time. Agent data uses collection database creation time; RVTools uses export metadata, assuming UTC when no timezone is specified. Null when unknown.
43
- */
44
- collectionTime?: Date | null;
45
41
  }
46
42
  /**
47
43
  * Check if a given object implements the Inventory interface.
@@ -36,7 +36,6 @@ export function InventoryFromJSONTyped(json, ignoreDiscriminator) {
36
36
  'clusters': (mapValues(json['clusters'], InventoryDataFromJSON)),
37
37
  'vcenter': json['vcenter'] == null ? undefined : InventoryDataFromJSON(json['vcenter']),
38
38
  'createdAt': json['created_at'] == null ? undefined : (parseDateTime(json['created_at'])),
39
- 'collectionTime': json['collection_time'] === undefined ? undefined : json['collection_time'] === null ? null : (parseDateTime(json['collection_time'])),
40
39
  };
41
40
  }
42
41
  export function InventoryToJSON(json) {
@@ -52,6 +51,5 @@ export function InventoryToJSONTyped(value, ignoreDiscriminator = false) {
52
51
  'clusters': (mapValues(value['clusters'], InventoryDataToJSON)),
53
52
  'vcenter': InventoryDataToJSON(value['vcenter']),
54
53
  'created_at': value['createdAt'] == null ? value['createdAt'] : serializeDateTime(value['createdAt']),
55
- 'collection_time': value['collectionTime'] == null ? value['collectionTime'] : serializeDateTime(value['collectionTime']),
56
54
  };
57
55
  }
@@ -32,10 +32,6 @@ export interface InventoryV2 {
32
32
  * Timestamp when the inventory data was created or collected
33
33
  */
34
34
  createdAt?: Date;
35
- /**
36
- * Oldest known source collection time. Null when unknown.
37
- */
38
- collectionTime?: Date | null;
39
35
  }
40
36
  /**
41
37
  * Check if a given object implements the InventoryV2 interface.
@@ -35,7 +35,6 @@ export function InventoryV2FromJSONTyped(json, ignoreDiscriminator) {
35
35
  'data': InventoryDataFromJSON(json['data']),
36
36
  'vcenterVersion': json['vcenter_version'] == null ? undefined : json['vcenter_version'],
37
37
  'createdAt': json['created_at'] == null ? undefined : (parseDateTime(json['created_at'])),
38
- 'collectionTime': json['collection_time'] === undefined ? undefined : json['collection_time'] === null ? null : (parseDateTime(json['collection_time'])),
39
38
  };
40
39
  }
41
40
  export function InventoryV2ToJSON(json) {
@@ -50,6 +49,5 @@ export function InventoryV2ToJSONTyped(value, ignoreDiscriminator = false) {
50
49
  'data': InventoryDataToJSON(value['data']),
51
50
  'vcenter_version': value['vcenterVersion'],
52
51
  'created_at': value['createdAt'] == null ? value['createdAt'] : serializeDateTime(value['createdAt']),
53
- 'collection_time': value['collectionTime'] == null ? value['collectionTime'] : serializeDateTime(value['collectionTime']),
54
52
  };
55
53
  }
@@ -20,18 +20,6 @@ export interface Datastore {
20
20
  *
21
21
  */
22
22
  type: string;
23
- /**
24
- * Canonical identifiers for devices backing the datastore (for example, an NAA identifier for a SCSI LUN); may be unavailable for some datastore types
25
- */
26
- backingDeviceIds?: Array<string>;
27
- /**
28
- * Filesystem type reported by the datastore, such as VMFS, NFS, or NFS41
29
- */
30
- filesystemType?: string;
31
- /**
32
- * VMFS major version when reported; omitted when unknown or not applicable
33
- */
34
- filesystemMajorVersion?: number;
35
23
  /**
36
24
  * Storage access category derived from Datastore.Type
37
25
  */
@@ -49,7 +37,7 @@ export interface Datastore {
49
37
  */
50
38
  freeCapacityGB: number;
51
39
  /**
52
- * Vendor reported by matching backing devices when available
40
+ *
53
41
  */
54
42
  vendor: string;
55
43
  /**
@@ -65,7 +53,7 @@ export interface Datastore {
65
53
  */
66
54
  protocolType: string;
67
55
  /**
68
- * Model reported by matching backing devices when available
56
+ *
69
57
  */
70
58
  model: string;
71
59
  /**
@@ -59,9 +59,6 @@ function DatastoreFromJSONTyped(json, ignoreDiscriminator) {
59
59
  }
60
60
  return {
61
61
  'type': json['type'],
62
- 'backingDeviceIds': json['backingDeviceIds'] == null ? undefined : json['backingDeviceIds'],
63
- 'filesystemType': json['filesystemType'] == null ? undefined : json['filesystemType'],
64
- 'filesystemMajorVersion': json['filesystemMajorVersion'] == null ? undefined : json['filesystemMajorVersion'],
65
62
  'storageProtocol': json['storageProtocol'] == null ? undefined : json['storageProtocol'],
66
63
  'vsanSnapshotSupport': json['vsanSnapshotSupport'] == null ? undefined : json['vsanSnapshotSupport'],
67
64
  'totalCapacityGB': json['totalCapacityGB'],
@@ -84,9 +81,6 @@ function DatastoreToJSONTyped(value, ignoreDiscriminator = false) {
84
81
  }
85
82
  return {
86
83
  'type': value['type'],
87
- 'backingDeviceIds': value['backingDeviceIds'],
88
- 'filesystemType': value['filesystemType'],
89
- 'filesystemMajorVersion': value['filesystemMajorVersion'],
90
84
  'storageProtocol': value['storageProtocol'],
91
85
  'vsanSnapshotSupport': value['vsanSnapshotSupport'],
92
86
  'totalCapacityGB': value['totalCapacityGB'],
@@ -35,13 +35,9 @@ export interface Inventory {
35
35
  */
36
36
  vcenter?: InventoryData;
37
37
  /**
38
- * Timestamp when the inventory document was built
38
+ * Timestamp when the inventory data was created or collected
39
39
  */
40
40
  createdAt?: Date;
41
- /**
42
- * Oldest known source collection time. Agent data uses collection database creation time; RVTools uses export metadata, assuming UTC when no timezone is specified. Null when unknown.
43
- */
44
- collectionTime?: Date | null;
45
41
  }
46
42
  /**
47
43
  * Check if a given object implements the Inventory interface.
@@ -43,7 +43,6 @@ function InventoryFromJSONTyped(json, ignoreDiscriminator) {
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
45
  'createdAt': json['created_at'] == null ? undefined : ((0, runtime_js_1.parseDateTime)(json['created_at'])),
46
- 'collectionTime': json['collection_time'] === undefined ? undefined : json['collection_time'] === null ? null : ((0, runtime_js_1.parseDateTime)(json['collection_time'])),
47
46
  };
48
47
  }
49
48
  function InventoryToJSON(json) {
@@ -59,6 +58,5 @@ function InventoryToJSONTyped(value, ignoreDiscriminator = false) {
59
58
  'clusters': ((0, runtime_js_1.mapValues)(value['clusters'], InventoryData_js_1.InventoryDataToJSON)),
60
59
  'vcenter': (0, InventoryData_js_1.InventoryDataToJSON)(value['vcenter']),
61
60
  'created_at': value['createdAt'] == null ? value['createdAt'] : (0, runtime_js_1.serializeDateTime)(value['createdAt']),
62
- 'collection_time': value['collectionTime'] == null ? value['collectionTime'] : (0, runtime_js_1.serializeDateTime)(value['collectionTime']),
63
61
  };
64
62
  }
@@ -32,10 +32,6 @@ export interface InventoryV2 {
32
32
  * Timestamp when the inventory data was created or collected
33
33
  */
34
34
  createdAt?: Date;
35
- /**
36
- * Oldest known source collection time. Null when unknown.
37
- */
38
- collectionTime?: Date | null;
39
35
  }
40
36
  /**
41
37
  * Check if a given object implements the InventoryV2 interface.
@@ -42,7 +42,6 @@ function InventoryV2FromJSONTyped(json, ignoreDiscriminator) {
42
42
  'data': (0, InventoryData_js_1.InventoryDataFromJSON)(json['data']),
43
43
  'vcenterVersion': json['vcenter_version'] == null ? undefined : json['vcenter_version'],
44
44
  'createdAt': json['created_at'] == null ? undefined : ((0, runtime_js_1.parseDateTime)(json['created_at'])),
45
- 'collectionTime': json['collection_time'] === undefined ? undefined : json['collection_time'] === null ? null : ((0, runtime_js_1.parseDateTime)(json['collection_time'])),
46
45
  };
47
46
  }
48
47
  function InventoryV2ToJSON(json) {
@@ -57,6 +56,5 @@ function InventoryV2ToJSONTyped(value, ignoreDiscriminator = false) {
57
56
  'data': (0, InventoryData_js_1.InventoryDataToJSON)(value['data']),
58
57
  'vcenter_version': value['vcenterVersion'],
59
58
  'created_at': value['createdAt'] == null ? value['createdAt'] : (0, runtime_js_1.serializeDateTime)(value['createdAt']),
60
- 'collection_time': value['collectionTime'] == null ? value['collectionTime'] : (0, runtime_js_1.serializeDateTime)(value['collectionTime']),
61
59
  };
62
60
  }
package/docs/Datastore.md CHANGED
@@ -7,9 +7,6 @@
7
7
  Name | Type
8
8
  ------------ | -------------
9
9
  `type` | string
10
- `backingDeviceIds` | Array&lt;string&gt;
11
- `filesystemType` | string
12
- `filesystemMajorVersion` | number
13
10
  `storageProtocol` | string
14
11
  `vsanSnapshotSupport` | boolean
15
12
  `totalCapacityGB` | number
@@ -30,9 +27,6 @@ import type { Datastore } from '@openshift-migration-advisor/planner-sdk'
30
27
  // TODO: Update the object below with actual values
31
28
  const example = {
32
29
  "type": null,
33
- "backingDeviceIds": null,
34
- "filesystemType": null,
35
- "filesystemMajorVersion": null,
36
30
  "storageProtocol": null,
37
31
  "vsanSnapshotSupport": null,
38
32
  "totalCapacityGB": null,
package/docs/Inventory.md CHANGED
@@ -11,7 +11,6 @@ Name | Type
11
11
  `clusters` | [{ [key: string]: InventoryData; }](InventoryData.md)
12
12
  `vcenter` | [InventoryData](InventoryData.md)
13
13
  `createdAt` | Date
14
- `collectionTime` | Date
15
14
 
16
15
  ## Example
17
16
 
@@ -25,7 +24,6 @@ const example = {
25
24
  "clusters": null,
26
25
  "vcenter": null,
27
26
  "createdAt": null,
28
- "collectionTime": null,
29
27
  } satisfies Inventory
30
28
 
31
29
  console.log(example)
@@ -10,7 +10,6 @@ Name | Type
10
10
  `data` | [InventoryData](InventoryData.md)
11
11
  `vcenterVersion` | string
12
12
  `createdAt` | Date
13
- `collectionTime` | Date
14
13
 
15
14
  ## Example
16
15
 
@@ -23,7 +22,6 @@ const example = {
23
22
  "data": null,
24
23
  "vcenterVersion": null,
25
24
  "createdAt": null,
26
- "collectionTime": null,
27
25
  } satisfies InventoryV2
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.29.0-a9136aeb41ec",
3
+ "version": "0.30.0",
4
4
  "description": "OpenAPI client for @openshift-migration-advisor/planner-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -31,18 +31,6 @@ export interface Datastore {
31
31
  *
32
32
  */
33
33
  type: string;
34
- /**
35
- * Canonical identifiers for devices backing the datastore (for example, an NAA identifier for a SCSI LUN); may be unavailable for some datastore types
36
- */
37
- backingDeviceIds?: Array<string>;
38
- /**
39
- * Filesystem type reported by the datastore, such as VMFS, NFS, or NFS41
40
- */
41
- filesystemType?: string;
42
- /**
43
- * VMFS major version when reported; omitted when unknown or not applicable
44
- */
45
- filesystemMajorVersion?: number;
46
34
  /**
47
35
  * Storage access category derived from Datastore.Type
48
36
  */
@@ -60,7 +48,7 @@ export interface Datastore {
60
48
  */
61
49
  freeCapacityGB: number;
62
50
  /**
63
- * Vendor reported by matching backing devices when available
51
+ *
64
52
  */
65
53
  vendor: string;
66
54
  /**
@@ -76,7 +64,7 @@ export interface Datastore {
76
64
  */
77
65
  protocolType: string;
78
66
  /**
79
- * Model reported by matching backing devices when available
67
+ *
80
68
  */
81
69
  model: string;
82
70
  /**
@@ -127,9 +115,6 @@ export function DatastoreFromJSONTyped(json: any, ignoreDiscriminator: boolean):
127
115
  return {
128
116
 
129
117
  'type': json['type'],
130
- 'backingDeviceIds': json['backingDeviceIds'] == null ? undefined : json['backingDeviceIds'],
131
- 'filesystemType': json['filesystemType'] == null ? undefined : json['filesystemType'],
132
- 'filesystemMajorVersion': json['filesystemMajorVersion'] == null ? undefined : json['filesystemMajorVersion'],
133
118
  'storageProtocol': json['storageProtocol'] == null ? undefined : json['storageProtocol'],
134
119
  'vsanSnapshotSupport': json['vsanSnapshotSupport'] == null ? undefined : json['vsanSnapshotSupport'],
135
120
  'totalCapacityGB': json['totalCapacityGB'],
@@ -156,9 +141,6 @@ export function DatastoreToJSONTyped(value?: Datastore | null, ignoreDiscriminat
156
141
  return {
157
142
 
158
143
  'type': value['type'],
159
- 'backingDeviceIds': value['backingDeviceIds'],
160
- 'filesystemType': value['filesystemType'],
161
- 'filesystemMajorVersion': value['filesystemMajorVersion'],
162
144
  'storageProtocol': value['storageProtocol'],
163
145
  'vsanSnapshotSupport': value['vsanSnapshotSupport'],
164
146
  'totalCapacityGB': value['totalCapacityGB'],
@@ -44,13 +44,9 @@ export interface Inventory {
44
44
  */
45
45
  vcenter?: InventoryData;
46
46
  /**
47
- * Timestamp when the inventory document was built
47
+ * Timestamp when the inventory data was created or collected
48
48
  */
49
49
  createdAt?: Date;
50
- /**
51
- * Oldest known source collection time. Agent data uses collection database creation time; RVTools uses export metadata, assuming UTC when no timezone is specified. Null when unknown.
52
- */
53
- collectionTime?: Date | null;
54
50
  }
55
51
 
56
52
  /**
@@ -77,7 +73,6 @@ export function InventoryFromJSONTyped(json: any, ignoreDiscriminator: boolean):
77
73
  'clusters': (mapValues(json['clusters'], InventoryDataFromJSON)),
78
74
  'vcenter': json['vcenter'] == null ? undefined : InventoryDataFromJSON(json['vcenter']),
79
75
  'createdAt': json['created_at'] == null ? undefined : (parseDateTime(json['created_at'])),
80
- 'collectionTime': json['collection_time'] === undefined ? undefined : json['collection_time'] === null ? null : (parseDateTime(json['collection_time'])),
81
76
  };
82
77
  }
83
78
 
@@ -97,7 +92,6 @@ export function InventoryToJSONTyped(value?: Inventory | null, ignoreDiscriminat
97
92
  'clusters': (mapValues(value['clusters'], InventoryDataToJSON)),
98
93
  'vcenter': InventoryDataToJSON(value['vcenter']),
99
94
  'created_at': value['createdAt'] == null ? value['createdAt'] : serializeDateTime(value['createdAt']),
100
- 'collection_time': value['collectionTime'] == null ? value['collectionTime'] : serializeDateTime(value['collectionTime']),
101
95
  };
102
96
  }
103
97
 
@@ -43,10 +43,6 @@ export interface InventoryV2 {
43
43
  * Timestamp when the inventory data was created or collected
44
44
  */
45
45
  createdAt?: Date;
46
- /**
47
- * Oldest known source collection time. Null when unknown.
48
- */
49
- collectionTime?: Date | null;
50
46
  }
51
47
 
52
48
  /**
@@ -72,7 +68,6 @@ export function InventoryV2FromJSONTyped(json: any, ignoreDiscriminator: boolean
72
68
  'data': InventoryDataFromJSON(json['data']),
73
69
  'vcenterVersion': json['vcenter_version'] == null ? undefined : json['vcenter_version'],
74
70
  'createdAt': json['created_at'] == null ? undefined : (parseDateTime(json['created_at'])),
75
- 'collectionTime': json['collection_time'] === undefined ? undefined : json['collection_time'] === null ? null : (parseDateTime(json['collection_time'])),
76
71
  };
77
72
  }
78
73
 
@@ -91,7 +86,6 @@ export function InventoryV2ToJSONTyped(value?: InventoryV2 | null, ignoreDiscrim
91
86
  'data': InventoryDataToJSON(value['data']),
92
87
  'vcenter_version': value['vcenterVersion'],
93
88
  'created_at': value['createdAt'] == null ? value['createdAt'] : serializeDateTime(value['createdAt']),
94
- 'collection_time': value['collectionTime'] == null ? value['collectionTime'] : serializeDateTime(value['collectionTime']),
95
89
  };
96
90
  }
97
91