@openshift-migration-advisor/agent-sdk 0.31.0 → 0.32.0-41b526ed8c91

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 (103) hide show
  1. package/.openapi-generator/FILES +10 -2
  2. package/README.md +7 -4
  3. package/dist/apis/CollectorApi.d.ts +0 -38
  4. package/dist/apis/CollectorApi.js +0 -59
  5. package/dist/apis/InventoriesApi.d.ts +9 -9
  6. package/dist/apis/InventoriesApi.js +3 -3
  7. package/dist/esm/apis/CollectorApi.d.ts +0 -38
  8. package/dist/esm/apis/CollectorApi.js +0 -59
  9. package/dist/esm/apis/InventoriesApi.d.ts +9 -9
  10. package/dist/esm/apis/InventoriesApi.js +3 -3
  11. package/dist/esm/models/ApplicationOverview.d.ts +16 -0
  12. package/dist/esm/models/ApplicationOverview.js +12 -0
  13. package/dist/esm/models/CollectedInventory.d.ts +31 -0
  14. package/dist/esm/models/CollectedInventory.js +44 -0
  15. package/dist/esm/models/GroupResponse.d.ts +2 -2
  16. package/dist/esm/models/GroupResponse.js +3 -3
  17. package/dist/esm/models/Host.d.ts +10 -0
  18. package/dist/esm/models/Host.js +6 -0
  19. package/dist/esm/models/HostPhysicalNIC.d.ts +34 -0
  20. package/dist/esm/models/HostPhysicalNIC.js +45 -0
  21. package/dist/esm/models/HostStorageAdapter.d.ts +58 -0
  22. package/dist/esm/models/HostStorageAdapter.js +55 -0
  23. package/dist/esm/models/HostStorageLun.d.ts +50 -0
  24. package/dist/esm/models/HostStorageLun.js +51 -0
  25. package/dist/esm/models/Inventory.d.ts +24 -2
  26. package/dist/esm/models/Inventory.js +17 -4
  27. package/dist/esm/models/OsInfo.d.ts +12 -0
  28. package/dist/esm/models/OsInfo.js +9 -0
  29. package/dist/esm/models/Product.d.ts +66 -0
  30. package/dist/esm/models/Product.js +61 -0
  31. package/dist/esm/models/UpdateInventory.d.ts +2 -2
  32. package/dist/esm/models/UpdateInventory.js +3 -3
  33. package/dist/esm/models/VirtualMachineDetail.d.ts +14 -0
  34. package/dist/esm/models/VirtualMachineDetail.js +8 -0
  35. package/dist/esm/models/VirtualMachineNIC.d.ts +12 -0
  36. package/dist/esm/models/VirtualMachineNIC.js +6 -0
  37. package/dist/esm/models/index.d.ts +5 -1
  38. package/dist/esm/models/index.js +5 -1
  39. package/dist/models/ApplicationOverview.d.ts +16 -0
  40. package/dist/models/ApplicationOverview.js +12 -0
  41. package/dist/models/CollectedInventory.d.ts +31 -0
  42. package/dist/models/CollectedInventory.js +51 -0
  43. package/dist/models/GroupResponse.d.ts +2 -2
  44. package/dist/models/GroupResponse.js +3 -3
  45. package/dist/models/Host.d.ts +10 -0
  46. package/dist/models/Host.js +6 -0
  47. package/dist/models/HostPhysicalNIC.d.ts +34 -0
  48. package/dist/models/HostPhysicalNIC.js +52 -0
  49. package/dist/models/HostStorageAdapter.d.ts +58 -0
  50. package/dist/models/HostStorageAdapter.js +62 -0
  51. package/dist/models/HostStorageLun.d.ts +50 -0
  52. package/dist/models/HostStorageLun.js +58 -0
  53. package/dist/models/Inventory.d.ts +24 -2
  54. package/dist/models/Inventory.js +17 -4
  55. package/dist/models/OsInfo.d.ts +12 -0
  56. package/dist/models/OsInfo.js +10 -1
  57. package/dist/models/Product.d.ts +66 -0
  58. package/dist/models/Product.js +68 -0
  59. package/dist/models/UpdateInventory.d.ts +2 -2
  60. package/dist/models/UpdateInventory.js +3 -3
  61. package/dist/models/VirtualMachineDetail.d.ts +14 -0
  62. package/dist/models/VirtualMachineDetail.js +8 -0
  63. package/dist/models/VirtualMachineNIC.d.ts +12 -0
  64. package/dist/models/VirtualMachineNIC.js +6 -0
  65. package/dist/models/index.d.ts +5 -1
  66. package/dist/models/index.js +5 -1
  67. package/docs/ApplicationOverview.md +8 -0
  68. package/docs/{Inventory1.md → CollectedInventory.md} +6 -16
  69. package/docs/CollectorApi.md +0 -70
  70. package/docs/GroupResponse.md +1 -1
  71. package/docs/Host.md +4 -0
  72. package/docs/HostPhysicalNIC.md +36 -0
  73. package/docs/HostStorageAdapter.md +49 -0
  74. package/docs/HostStorageLun.md +45 -0
  75. package/docs/InventoriesApi.md +4 -4
  76. package/docs/Inventory.md +12 -2
  77. package/docs/OsInfo.md +2 -0
  78. package/docs/Product.md +52 -0
  79. package/docs/UpdateInventory.md +1 -1
  80. package/docs/VirtualMachineDetail.md +6 -0
  81. package/docs/VirtualMachineNIC.md +6 -0
  82. package/package.json +1 -1
  83. package/src/apis/CollectorApi.ts +0 -97
  84. package/src/apis/InventoriesApi.ts +14 -14
  85. package/src/models/ApplicationOverview.ts +26 -0
  86. package/src/models/CollectedInventory.ts +72 -0
  87. package/src/models/GroupResponse.ts +9 -9
  88. package/src/models/Host.ts +27 -0
  89. package/src/models/HostPhysicalNIC.ts +70 -0
  90. package/src/models/HostStorageAdapter.ts +105 -0
  91. package/src/models/HostStorageLun.ts +93 -0
  92. package/src/models/Inventory.ts +42 -11
  93. package/src/models/OsInfo.ts +15 -0
  94. package/src/models/Product.ts +118 -0
  95. package/src/models/UpdateInventory.ts +9 -9
  96. package/src/models/VirtualMachineDetail.ts +32 -0
  97. package/src/models/VirtualMachineNIC.ts +18 -0
  98. package/src/models/index.ts +5 -1
  99. package/dist/esm/models/Inventory1.d.ts +0 -53
  100. package/dist/esm/models/Inventory1.js +0 -57
  101. package/dist/models/Inventory1.d.ts +0 -53
  102. package/dist/models/Inventory1.js +0 -64
  103. package/src/models/Inventory1.ts +0 -103
@@ -1,53 +0,0 @@
1
- /**
2
- * Assisted Migration Agent API
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
- *
5
- * The version of the OpenAPI document: v2
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { InventoryData } from './InventoryData.js';
13
- /**
14
- *
15
- * @export
16
- * @interface Inventory1
17
- */
18
- export interface Inventory1 {
19
- /**
20
- * ID of the vCenter
21
- */
22
- vcenter_id: string;
23
- /**
24
- * Version of the vCenter api. For example "8.0.3.0"
25
- */
26
- vcenter_version?: string;
27
- /**
28
- * Map of cluster names to their inventory data
29
- */
30
- clusters: {
31
- [key: string]: InventoryData;
32
- };
33
- /**
34
- *
35
- */
36
- vcenter?: InventoryData;
37
- /**
38
- * Timestamp when the inventory document was built
39
- */
40
- created_at?: 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
- collection_time?: Date | null;
45
- }
46
- /**
47
- * Check if a given object implements the Inventory1 interface.
48
- */
49
- export declare function instanceOfInventory1(value: object): value is Inventory1;
50
- export declare function Inventory1FromJSON(json: any): Inventory1;
51
- export declare function Inventory1FromJSONTyped(json: any, ignoreDiscriminator: boolean): Inventory1;
52
- export declare function Inventory1ToJSON(json: any): Inventory1;
53
- export declare function Inventory1ToJSONTyped(value?: Inventory1 | null, ignoreDiscriminator?: boolean): any;
@@ -1,64 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Assisted Migration Agent API
6
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
- *
8
- * The version of the OpenAPI document: v2
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.instanceOfInventory1 = instanceOfInventory1;
17
- exports.Inventory1FromJSON = Inventory1FromJSON;
18
- exports.Inventory1FromJSONTyped = Inventory1FromJSONTyped;
19
- exports.Inventory1ToJSON = Inventory1ToJSON;
20
- exports.Inventory1ToJSONTyped = Inventory1ToJSONTyped;
21
- const runtime_js_1 = require("../runtime.js");
22
- const InventoryData_js_1 = require("./InventoryData.js");
23
- /**
24
- * Check if a given object implements the Inventory1 interface.
25
- */
26
- function instanceOfInventory1(value) {
27
- if (!('vcenter_id' in value) || value['vcenter_id'] === undefined)
28
- return false;
29
- if (!('clusters' in value) || value['clusters'] === undefined)
30
- return false;
31
- return true;
32
- }
33
- function Inventory1FromJSON(json) {
34
- return Inventory1FromJSONTyped(json, false);
35
- }
36
- function Inventory1FromJSONTyped(json, ignoreDiscriminator) {
37
- if (json == null) {
38
- return json;
39
- }
40
- return {
41
- 'vcenter_id': json['vcenter_id'],
42
- 'vcenter_version': json['vcenter_version'] == null ? undefined : json['vcenter_version'],
43
- 'clusters': ((0, runtime_js_1.mapValues)(json['clusters'], InventoryData_js_1.InventoryDataFromJSON)),
44
- 'vcenter': json['vcenter'] == null ? undefined : (0, InventoryData_js_1.InventoryDataFromJSON)(json['vcenter']),
45
- 'created_at': json['created_at'] == null ? undefined : ((0, runtime_js_1.parseDateTime)(json['created_at'])),
46
- 'collection_time': json['collection_time'] === undefined ? undefined : json['collection_time'] === null ? null : ((0, runtime_js_1.parseDateTime)(json['collection_time'])),
47
- };
48
- }
49
- function Inventory1ToJSON(json) {
50
- return Inventory1ToJSONTyped(json, false);
51
- }
52
- function Inventory1ToJSONTyped(value, ignoreDiscriminator = false) {
53
- if (value == null) {
54
- return value;
55
- }
56
- return {
57
- 'vcenter_id': value['vcenter_id'],
58
- 'vcenter_version': value['vcenter_version'],
59
- 'clusters': ((0, runtime_js_1.mapValues)(value['clusters'], InventoryData_js_1.InventoryDataToJSON)),
60
- 'vcenter': (0, InventoryData_js_1.InventoryDataToJSON)(value['vcenter']),
61
- 'created_at': value['created_at'] == null ? value['created_at'] : (0, runtime_js_1.serializeDateTime)(value['created_at']),
62
- 'collection_time': value['collection_time'] == null ? value['collection_time'] : (0, runtime_js_1.serializeDateTime)(value['collection_time']),
63
- };
64
- }
@@ -1,103 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Assisted Migration Agent API
5
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
- *
7
- * The version of the OpenAPI document: v2
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues, parseDate, parseDateTime, serializeDate, serializeDateTime } from '../runtime.js';
16
- import type { InventoryData } from './InventoryData.js';
17
- import {
18
- InventoryDataFromJSON,
19
- InventoryDataFromJSONTyped,
20
- InventoryDataToJSON,
21
- InventoryDataToJSONTyped,
22
- } from './InventoryData.js';
23
-
24
- /**
25
- *
26
- * @export
27
- * @interface Inventory1
28
- */
29
- export interface Inventory1 {
30
- /**
31
- * ID of the vCenter
32
- */
33
- vcenter_id: string;
34
- /**
35
- * Version of the vCenter api. For example "8.0.3.0"
36
- */
37
- vcenter_version?: string;
38
- /**
39
- * Map of cluster names to their inventory data
40
- */
41
- clusters: { [key: string]: InventoryData; };
42
- /**
43
- *
44
- */
45
- vcenter?: InventoryData;
46
- /**
47
- * Timestamp when the inventory document was built
48
- */
49
- created_at?: 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
- collection_time?: Date | null;
54
- }
55
-
56
- /**
57
- * Check if a given object implements the Inventory1 interface.
58
- */
59
- export function instanceOfInventory1(value: object): value is Inventory1 {
60
- if (!('vcenter_id' in value) || value['vcenter_id'] === undefined) return false;
61
- if (!('clusters' in value) || value['clusters'] === undefined) return false;
62
- return true;
63
- }
64
-
65
- export function Inventory1FromJSON(json: any): Inventory1 {
66
- return Inventory1FromJSONTyped(json, false);
67
- }
68
-
69
- export function Inventory1FromJSONTyped(json: any, ignoreDiscriminator: boolean): Inventory1 {
70
- if (json == null) {
71
- return json;
72
- }
73
- return {
74
-
75
- 'vcenter_id': json['vcenter_id'],
76
- 'vcenter_version': json['vcenter_version'] == null ? undefined : json['vcenter_version'],
77
- 'clusters': (mapValues(json['clusters'], InventoryDataFromJSON)),
78
- 'vcenter': json['vcenter'] == null ? undefined : InventoryDataFromJSON(json['vcenter']),
79
- 'created_at': json['created_at'] == null ? undefined : (parseDateTime(json['created_at'])),
80
- 'collection_time': json['collection_time'] === undefined ? undefined : json['collection_time'] === null ? null : (parseDateTime(json['collection_time'])),
81
- };
82
- }
83
-
84
- export function Inventory1ToJSON(json: any): Inventory1 {
85
- return Inventory1ToJSONTyped(json, false);
86
- }
87
-
88
- export function Inventory1ToJSONTyped(value?: Inventory1 | null, ignoreDiscriminator: boolean = false): any {
89
- if (value == null) {
90
- return value;
91
- }
92
-
93
- return {
94
-
95
- 'vcenter_id': value['vcenter_id'],
96
- 'vcenter_version': value['vcenter_version'],
97
- 'clusters': (mapValues(value['clusters'], InventoryDataToJSON)),
98
- 'vcenter': InventoryDataToJSON(value['vcenter']),
99
- 'created_at': value['created_at'] == null ? value['created_at'] : serializeDateTime(value['created_at']),
100
- 'collection_time': value['collection_time'] == null ? value['collection_time'] : serializeDateTime(value['collection_time']),
101
- };
102
- }
103
-