@migration-planner-ui/agent-client 0.0.31 → 0.0.32

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 (87) hide show
  1. package/README.md +112 -25
  2. package/dist/apis/AgentUiApi.d.ts +126 -0
  3. package/dist/apis/AgentUiApi.d.ts.map +1 -0
  4. package/dist/apis/AgentUiApi.js +163 -0
  5. package/dist/apis/index.d.ts +2 -0
  6. package/dist/apis/index.d.ts.map +1 -0
  7. package/dist/apis/index.js +3 -0
  8. package/dist/index.d.ts +4 -0
  9. package/dist/index.d.ts.map +1 -0
  10. package/dist/index.js +5 -0
  11. package/dist/models/Credentials.d.ts +51 -0
  12. package/dist/models/Credentials.d.ts.map +1 -0
  13. package/dist/models/Credentials.js +53 -0
  14. package/dist/models/Datastore.d.ts +81 -0
  15. package/dist/models/Datastore.d.ts.map +1 -0
  16. package/dist/models/Datastore.js +73 -0
  17. package/dist/models/DiskSizeTierSummary.d.ts +39 -0
  18. package/dist/models/DiskSizeTierSummary.d.ts.map +1 -0
  19. package/dist/models/DiskSizeTierSummary.js +47 -0
  20. package/dist/models/DiskTypeSummary.d.ts +39 -0
  21. package/dist/models/DiskTypeSummary.d.ts.map +1 -0
  22. package/dist/models/DiskTypeSummary.js +47 -0
  23. package/dist/models/Histogram.d.ts +45 -0
  24. package/dist/models/Histogram.d.ts.map +1 -0
  25. package/dist/models/Histogram.js +51 -0
  26. package/dist/models/Host.d.ts +63 -0
  27. package/dist/models/Host.d.ts.map +1 -0
  28. package/dist/models/Host.js +55 -0
  29. package/dist/models/Infra.d.ts +107 -0
  30. package/dist/models/Infra.d.ts.map +1 -0
  31. package/dist/models/Infra.js +74 -0
  32. package/dist/models/Inventory.d.ts +48 -0
  33. package/dist/models/Inventory.d.ts.map +1 -0
  34. package/dist/models/Inventory.js +51 -0
  35. package/dist/models/InventoryData.d.ts +48 -0
  36. package/dist/models/InventoryData.d.ts.map +1 -0
  37. package/dist/models/InventoryData.js +52 -0
  38. package/dist/models/InventoryReply.d.ts +40 -0
  39. package/dist/models/InventoryReply.d.ts.map +1 -0
  40. package/dist/models/InventoryReply.js +48 -0
  41. package/dist/models/MigrationIssue.d.ts +51 -0
  42. package/dist/models/MigrationIssue.d.ts.map +1 -0
  43. package/dist/models/MigrationIssue.js +53 -0
  44. package/dist/models/ModelError.d.ts +33 -0
  45. package/dist/models/ModelError.d.ts.map +1 -0
  46. package/dist/models/ModelError.js +43 -0
  47. package/dist/models/Network.d.ts +67 -0
  48. package/dist/models/Network.d.ts.map +1 -0
  49. package/dist/models/Network.js +62 -0
  50. package/dist/models/OsInfo.d.ts +45 -0
  51. package/dist/models/OsInfo.d.ts.map +1 -0
  52. package/dist/models/OsInfo.js +49 -0
  53. package/dist/models/ServiceUIReply.d.ts +33 -0
  54. package/dist/models/ServiceUIReply.d.ts.map +1 -0
  55. package/dist/models/ServiceUIReply.js +43 -0
  56. package/dist/models/StatusReply.d.ts +81 -0
  57. package/dist/models/StatusReply.d.ts.map +1 -0
  58. package/dist/models/StatusReply.js +70 -0
  59. package/dist/models/VCenter.d.ts +33 -0
  60. package/dist/models/VCenter.d.ts.map +1 -0
  61. package/dist/models/VCenter.js +43 -0
  62. package/dist/models/VMResourceBreakdown.d.ts +59 -0
  63. package/dist/models/VMResourceBreakdown.d.ts.map +1 -0
  64. package/dist/models/VMResourceBreakdown.js +58 -0
  65. package/dist/models/VMs.d.ts +149 -0
  66. package/dist/models/VMs.d.ts.map +1 -0
  67. package/dist/models/VMs.js +97 -0
  68. package/dist/models/VersionReply.d.ts +33 -0
  69. package/dist/models/VersionReply.d.ts.map +1 -0
  70. package/dist/models/VersionReply.js +43 -0
  71. package/dist/models/index.d.ts +21 -0
  72. package/dist/models/index.d.ts.map +1 -0
  73. package/dist/models/index.js +22 -0
  74. package/dist/runtime.d.ts +185 -0
  75. package/dist/runtime.d.ts.map +1 -0
  76. package/dist/runtime.js +334 -0
  77. package/package.json +29 -15
  78. package/src/apis/AgentApi.ts +0 -83
  79. package/src/apis/index.ts +0 -1
  80. package/src/models/Credentials.ts +0 -6
  81. package/src/models/CredentialsError.ts +0 -17
  82. package/src/models/Either.ts +0 -1
  83. package/src/models/SourceStatus.ts +0 -7
  84. package/src/models/StatusReply.ts +0 -6
  85. package/src/models/index.ts +0 -5
  86. package/tsconfig.json +0 -17
  87. package/tsconfig.tsbuildinfo +0 -1
@@ -0,0 +1,48 @@
1
+ /**
2
+ * Migration Planner Agent UI API
3
+ * API endpoints for the agent UI to interact with the migration discovery VM
4
+ *
5
+ * The version of the OpenAPI document: undefined
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 Inventory
17
+ */
18
+ export interface Inventory {
19
+ /**
20
+ * ID of the vCenter
21
+ * @type {string}
22
+ * @memberof Inventory
23
+ */
24
+ vcenterId: string;
25
+ /**
26
+ * Map of cluster names to their inventory data
27
+ * @type {{ [key: string]: InventoryData; }}
28
+ * @memberof Inventory
29
+ */
30
+ clusters: {
31
+ [key: string]: InventoryData;
32
+ };
33
+ /**
34
+ *
35
+ * @type {InventoryData}
36
+ * @memberof Inventory
37
+ */
38
+ vcenter?: InventoryData;
39
+ }
40
+ /**
41
+ * Check if a given object implements the Inventory interface.
42
+ */
43
+ export declare function instanceOfInventory(value: object): value is Inventory;
44
+ export declare function InventoryFromJSON(json: any): Inventory;
45
+ export declare function InventoryFromJSONTyped(json: any, ignoreDiscriminator: boolean): Inventory;
46
+ export declare function InventoryToJSON(json: any): Inventory;
47
+ export declare function InventoryToJSONTyped(value?: Inventory | null, ignoreDiscriminator?: boolean): any;
48
+ //# sourceMappingURL=Inventory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Inventory.d.ts","sourceRoot":"","sources":["../../src/models/Inventory.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAQxD;;;;GAIG;AACH,MAAM,WAAW,SAAS;IACtB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,QAAQ,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,aAAa,CAAC;KAAE,CAAC;IAC5C;;;;OAIG;IACH,OAAO,CAAC,EAAE,aAAa,CAAC;CAC3B;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,SAAS,CAIrE;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,GAAG,GAAG,SAAS,CAEtD;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,SAAS,CAUzF;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,GAAG,GAAG,SAAS,CAEpD;AAED,wBAAgB,oBAAoB,CAAC,KAAK,CAAC,EAAE,SAAS,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAWxG"}
@@ -0,0 +1,51 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Migration Planner Agent UI API
5
+ * API endpoints for the agent UI to interact with the migration discovery VM
6
+ *
7
+ * The version of the OpenAPI document: undefined
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
+ import { mapValues } from '../runtime.js';
15
+ import { InventoryDataFromJSON, InventoryDataToJSON, } from './InventoryData.js';
16
+ /**
17
+ * Check if a given object implements the Inventory interface.
18
+ */
19
+ export function instanceOfInventory(value) {
20
+ if (!('vcenterId' in value) || value['vcenterId'] === undefined)
21
+ return false;
22
+ if (!('clusters' in value) || value['clusters'] === undefined)
23
+ return false;
24
+ return true;
25
+ }
26
+ export function InventoryFromJSON(json) {
27
+ return InventoryFromJSONTyped(json, false);
28
+ }
29
+ export function InventoryFromJSONTyped(json, ignoreDiscriminator) {
30
+ if (json == null) {
31
+ return json;
32
+ }
33
+ return {
34
+ 'vcenterId': json['vcenter_id'],
35
+ 'clusters': (mapValues(json['clusters'], InventoryDataFromJSON)),
36
+ 'vcenter': json['vcenter'] == null ? undefined : InventoryDataFromJSON(json['vcenter']),
37
+ };
38
+ }
39
+ export function InventoryToJSON(json) {
40
+ return InventoryToJSONTyped(json, false);
41
+ }
42
+ export function InventoryToJSONTyped(value, ignoreDiscriminator = false) {
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ 'vcenter_id': value['vcenterId'],
48
+ 'clusters': (mapValues(value['clusters'], InventoryDataToJSON)),
49
+ 'vcenter': InventoryDataToJSON(value['vcenter']),
50
+ };
51
+ }
@@ -0,0 +1,48 @@
1
+ /**
2
+ * Migration Planner Agent UI API
3
+ * API endpoints for the agent UI to interact with the migration discovery VM
4
+ *
5
+ * The version of the OpenAPI document: undefined
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 { VCenter } from './VCenter.js';
13
+ import type { Infra } from './Infra.js';
14
+ import type { VMs } from './VMs.js';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface InventoryData
19
+ */
20
+ export interface InventoryData {
21
+ /**
22
+ *
23
+ * @type {VCenter}
24
+ * @memberof InventoryData
25
+ */
26
+ vcenter?: VCenter;
27
+ /**
28
+ *
29
+ * @type {VMs}
30
+ * @memberof InventoryData
31
+ */
32
+ vms: VMs;
33
+ /**
34
+ *
35
+ * @type {Infra}
36
+ * @memberof InventoryData
37
+ */
38
+ infra: Infra;
39
+ }
40
+ /**
41
+ * Check if a given object implements the InventoryData interface.
42
+ */
43
+ export declare function instanceOfInventoryData(value: object): value is InventoryData;
44
+ export declare function InventoryDataFromJSON(json: any): InventoryData;
45
+ export declare function InventoryDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): InventoryData;
46
+ export declare function InventoryDataToJSON(json: any): InventoryData;
47
+ export declare function InventoryDataToJSONTyped(value?: InventoryData | null, ignoreDiscriminator?: boolean): any;
48
+ //# sourceMappingURL=InventoryData.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InventoryData.d.ts","sourceRoot":"","sources":["../../src/models/InventoryData.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAO5C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAOxC,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAQpC;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,GAAG,EAAE,GAAG,CAAC;IACT;;;;OAIG;IACH,KAAK,EAAE,KAAK,CAAC;CAChB;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,aAAa,CAI7E;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE9D;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,aAAa,CAUjG;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE5D;AAED,wBAAgB,wBAAwB,CAAC,KAAK,CAAC,EAAE,aAAa,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAWhH"}
@@ -0,0 +1,52 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Migration Planner Agent UI API
5
+ * API endpoints for the agent UI to interact with the migration discovery VM
6
+ *
7
+ * The version of the OpenAPI document: undefined
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
+ import { VCenterFromJSON, VCenterToJSON, } from './VCenter.js';
15
+ import { InfraFromJSON, InfraToJSON, } from './Infra.js';
16
+ import { VMsFromJSON, VMsToJSON, } from './VMs.js';
17
+ /**
18
+ * Check if a given object implements the InventoryData interface.
19
+ */
20
+ export function instanceOfInventoryData(value) {
21
+ if (!('vms' in value) || value['vms'] === undefined)
22
+ return false;
23
+ if (!('infra' in value) || value['infra'] === undefined)
24
+ return false;
25
+ return true;
26
+ }
27
+ export function InventoryDataFromJSON(json) {
28
+ return InventoryDataFromJSONTyped(json, false);
29
+ }
30
+ export function InventoryDataFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'vcenter': json['vcenter'] == null ? undefined : VCenterFromJSON(json['vcenter']),
36
+ 'vms': VMsFromJSON(json['vms']),
37
+ 'infra': InfraFromJSON(json['infra']),
38
+ };
39
+ }
40
+ export function InventoryDataToJSON(json) {
41
+ return InventoryDataToJSONTyped(json, false);
42
+ }
43
+ export function InventoryDataToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'vcenter': VCenterToJSON(value['vcenter']),
49
+ 'vms': VMsToJSON(value['vms']),
50
+ 'infra': InfraToJSON(value['infra']),
51
+ };
52
+ }
@@ -0,0 +1,40 @@
1
+ /**
2
+ * Migration Planner Agent UI API
3
+ * API endpoints for the agent UI to interact with the migration discovery VM
4
+ *
5
+ * The version of the OpenAPI document: undefined
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 { Inventory } from './Inventory.js';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface InventoryReply
17
+ */
18
+ export interface InventoryReply {
19
+ /**
20
+ * ID of the agent that collected the inventory
21
+ * @type {string}
22
+ * @memberof InventoryReply
23
+ */
24
+ agentId: string;
25
+ /**
26
+ *
27
+ * @type {Inventory}
28
+ * @memberof InventoryReply
29
+ */
30
+ inventory: Inventory;
31
+ }
32
+ /**
33
+ * Check if a given object implements the InventoryReply interface.
34
+ */
35
+ export declare function instanceOfInventoryReply(value: object): value is InventoryReply;
36
+ export declare function InventoryReplyFromJSON(json: any): InventoryReply;
37
+ export declare function InventoryReplyFromJSONTyped(json: any, ignoreDiscriminator: boolean): InventoryReply;
38
+ export declare function InventoryReplyToJSON(json: any): InventoryReply;
39
+ export declare function InventoryReplyToJSONTyped(value?: InventoryReply | null, ignoreDiscriminator?: boolean): any;
40
+ //# sourceMappingURL=InventoryReply.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InventoryReply.d.ts","sourceRoot":"","sources":["../../src/models/InventoryReply.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAQhD;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC3B;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,SAAS,EAAE,SAAS,CAAC;CACxB;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,cAAc,CAI/E;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAEhE;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,cAAc,CASnG;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAE9D;AAED,wBAAgB,yBAAyB,CAAC,KAAK,CAAC,EAAE,cAAc,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUlH"}
@@ -0,0 +1,48 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Migration Planner Agent UI API
5
+ * API endpoints for the agent UI to interact with the migration discovery VM
6
+ *
7
+ * The version of the OpenAPI document: undefined
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
+ import { InventoryFromJSON, InventoryToJSON, } from './Inventory.js';
15
+ /**
16
+ * Check if a given object implements the InventoryReply interface.
17
+ */
18
+ export function instanceOfInventoryReply(value) {
19
+ if (!('agentId' in value) || value['agentId'] === undefined)
20
+ return false;
21
+ if (!('inventory' in value) || value['inventory'] === undefined)
22
+ return false;
23
+ return true;
24
+ }
25
+ export function InventoryReplyFromJSON(json) {
26
+ return InventoryReplyFromJSONTyped(json, false);
27
+ }
28
+ export function InventoryReplyFromJSONTyped(json, ignoreDiscriminator) {
29
+ if (json == null) {
30
+ return json;
31
+ }
32
+ return {
33
+ 'agentId': json['agentId'],
34
+ 'inventory': InventoryFromJSON(json['inventory']),
35
+ };
36
+ }
37
+ export function InventoryReplyToJSON(json) {
38
+ return InventoryReplyToJSONTyped(json, false);
39
+ }
40
+ export function InventoryReplyToJSONTyped(value, ignoreDiscriminator = false) {
41
+ if (value == null) {
42
+ return value;
43
+ }
44
+ return {
45
+ 'agentId': value['agentId'],
46
+ 'inventory': InventoryToJSON(value['inventory']),
47
+ };
48
+ }
@@ -0,0 +1,51 @@
1
+ /**
2
+ * Migration Planner Agent UI API
3
+ * API endpoints for the agent UI to interact with the migration discovery VM
4
+ *
5
+ * The version of the OpenAPI document: undefined
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
+ /**
13
+ *
14
+ * @export
15
+ * @interface MigrationIssue
16
+ */
17
+ export interface MigrationIssue {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof MigrationIssue
22
+ */
23
+ id?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof MigrationIssue
28
+ */
29
+ label: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof MigrationIssue
34
+ */
35
+ assessment: string;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof MigrationIssue
40
+ */
41
+ count: number;
42
+ }
43
+ /**
44
+ * Check if a given object implements the MigrationIssue interface.
45
+ */
46
+ export declare function instanceOfMigrationIssue(value: object): value is MigrationIssue;
47
+ export declare function MigrationIssueFromJSON(json: any): MigrationIssue;
48
+ export declare function MigrationIssueFromJSONTyped(json: any, ignoreDiscriminator: boolean): MigrationIssue;
49
+ export declare function MigrationIssueToJSON(json: any): MigrationIssue;
50
+ export declare function MigrationIssueToJSONTyped(value?: MigrationIssue | null, ignoreDiscriminator?: boolean): any;
51
+ //# sourceMappingURL=MigrationIssue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MigrationIssue.d.ts","sourceRoot":"","sources":["../../src/models/MigrationIssue.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC3B;;;;OAIG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,cAAc,CAK/E;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAEhE;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,cAAc,CAWnG;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAE9D;AAED,wBAAgB,yBAAyB,CAAC,KAAK,CAAC,EAAE,cAAc,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAYlH"}
@@ -0,0 +1,53 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Migration Planner Agent UI API
5
+ * API endpoints for the agent UI to interact with the migration discovery VM
6
+ *
7
+ * The version of the OpenAPI document: undefined
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
+ * Check if a given object implements the MigrationIssue interface.
16
+ */
17
+ export function instanceOfMigrationIssue(value) {
18
+ if (!('label' in value) || value['label'] === undefined)
19
+ return false;
20
+ if (!('assessment' in value) || value['assessment'] === undefined)
21
+ return false;
22
+ if (!('count' in value) || value['count'] === undefined)
23
+ return false;
24
+ return true;
25
+ }
26
+ export function MigrationIssueFromJSON(json) {
27
+ return MigrationIssueFromJSONTyped(json, false);
28
+ }
29
+ export function MigrationIssueFromJSONTyped(json, ignoreDiscriminator) {
30
+ if (json == null) {
31
+ return json;
32
+ }
33
+ return {
34
+ 'id': json['id'] == null ? undefined : json['id'],
35
+ 'label': json['label'],
36
+ 'assessment': json['assessment'],
37
+ 'count': json['count'],
38
+ };
39
+ }
40
+ export function MigrationIssueToJSON(json) {
41
+ return MigrationIssueToJSONTyped(json, false);
42
+ }
43
+ export function MigrationIssueToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'id': value['id'],
49
+ 'label': value['label'],
50
+ 'assessment': value['assessment'],
51
+ 'count': value['count'],
52
+ };
53
+ }
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Migration Planner Agent UI API
3
+ * API endpoints for the agent UI to interact with the migration discovery VM
4
+ *
5
+ * The version of the OpenAPI document: undefined
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
+ /**
13
+ *
14
+ * @export
15
+ * @interface ModelError
16
+ */
17
+ export interface ModelError {
18
+ /**
19
+ * Error message
20
+ * @type {string}
21
+ * @memberof ModelError
22
+ */
23
+ message: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the ModelError interface.
27
+ */
28
+ export declare function instanceOfModelError(value: object): value is ModelError;
29
+ export declare function ModelErrorFromJSON(json: any): ModelError;
30
+ export declare function ModelErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): ModelError;
31
+ export declare function ModelErrorToJSON(json: any): ModelError;
32
+ export declare function ModelErrorToJSONTyped(value?: ModelError | null, ignoreDiscriminator?: boolean): any;
33
+ //# sourceMappingURL=ModelError.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ModelError.d.ts","sourceRoot":"","sources":["../../src/models/ModelError.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,UAAU;IACvB;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,UAAU,CAGvE;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,GAAG,UAAU,CAExD;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,UAAU,CAQ3F;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,GAAG,GAAG,UAAU,CAEtD;AAED,wBAAgB,qBAAqB,CAAC,KAAK,CAAC,EAAE,UAAU,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAS1G"}
@@ -0,0 +1,43 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Migration Planner Agent UI API
5
+ * API endpoints for the agent UI to interact with the migration discovery VM
6
+ *
7
+ * The version of the OpenAPI document: undefined
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
+ * Check if a given object implements the ModelError interface.
16
+ */
17
+ export function instanceOfModelError(value) {
18
+ if (!('message' in value) || value['message'] === undefined)
19
+ return false;
20
+ return true;
21
+ }
22
+ export function ModelErrorFromJSON(json) {
23
+ return ModelErrorFromJSONTyped(json, false);
24
+ }
25
+ export function ModelErrorFromJSONTyped(json, ignoreDiscriminator) {
26
+ if (json == null) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'message': json['message'],
31
+ };
32
+ }
33
+ export function ModelErrorToJSON(json) {
34
+ return ModelErrorToJSONTyped(json, false);
35
+ }
36
+ export function ModelErrorToJSONTyped(value, ignoreDiscriminator = false) {
37
+ if (value == null) {
38
+ return value;
39
+ }
40
+ return {
41
+ 'message': value['message'],
42
+ };
43
+ }
@@ -0,0 +1,67 @@
1
+ /**
2
+ * Migration Planner Agent UI API
3
+ * API endpoints for the agent UI to interact with the migration discovery VM
4
+ *
5
+ * The version of the OpenAPI document: undefined
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
+ /**
13
+ *
14
+ * @export
15
+ * @interface Network
16
+ */
17
+ export interface Network {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof Network
22
+ */
23
+ type: NetworkTypeEnum;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof Network
28
+ */
29
+ name: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof Network
34
+ */
35
+ vlanId?: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof Network
40
+ */
41
+ dvswitch?: string;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof Network
46
+ */
47
+ vmsCount?: number;
48
+ }
49
+ /**
50
+ * @export
51
+ */
52
+ export declare const NetworkTypeEnum: {
53
+ readonly Standard: "standard";
54
+ readonly Distributed: "distributed";
55
+ readonly Dvswitch: "dvswitch";
56
+ readonly Unsupported: "unsupported";
57
+ };
58
+ export type NetworkTypeEnum = typeof NetworkTypeEnum[keyof typeof NetworkTypeEnum];
59
+ /**
60
+ * Check if a given object implements the Network interface.
61
+ */
62
+ export declare function instanceOfNetwork(value: object): value is Network;
63
+ export declare function NetworkFromJSON(json: any): Network;
64
+ export declare function NetworkFromJSONTyped(json: any, ignoreDiscriminator: boolean): Network;
65
+ export declare function NetworkToJSON(json: any): Network;
66
+ export declare function NetworkToJSONTyped(value?: Network | null, ignoreDiscriminator?: boolean): any;
67
+ //# sourceMappingURL=Network.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Network.d.ts","sourceRoot":"","sources":["../../src/models/Network.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,OAAO;IACpB;;;;OAIG;IACH,IAAI,EAAE,eAAe,CAAC;IACtB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB;AAGD;;GAEG;AACH,eAAO,MAAM,eAAe;;;;;CAKlB,CAAC;AACX,MAAM,MAAM,eAAe,GAAG,OAAO,eAAe,CAAC,MAAM,OAAO,eAAe,CAAC,CAAC;AAGnF;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,OAAO,CAIjE;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,GAAG,GAAG,OAAO,CAElD;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,OAAO,CAYrF;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,GAAG,GAAG,OAAO,CAEhD;AAED,wBAAgB,kBAAkB,CAAC,KAAK,CAAC,EAAE,OAAO,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAapG"}
@@ -0,0 +1,62 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Migration Planner Agent UI API
5
+ * API endpoints for the agent UI to interact with the migration discovery VM
6
+ *
7
+ * The version of the OpenAPI document: undefined
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
+ * @export
16
+ */
17
+ export const NetworkTypeEnum = {
18
+ Standard: 'standard',
19
+ Distributed: 'distributed',
20
+ Dvswitch: 'dvswitch',
21
+ Unsupported: 'unsupported'
22
+ };
23
+ /**
24
+ * Check if a given object implements the Network interface.
25
+ */
26
+ export function instanceOfNetwork(value) {
27
+ if (!('type' in value) || value['type'] === undefined)
28
+ return false;
29
+ if (!('name' in value) || value['name'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ export function NetworkFromJSON(json) {
34
+ return NetworkFromJSONTyped(json, false);
35
+ }
36
+ export function NetworkFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'type': json['type'],
42
+ 'name': json['name'],
43
+ 'vlanId': json['vlanId'] == null ? undefined : json['vlanId'],
44
+ 'dvswitch': json['dvswitch'] == null ? undefined : json['dvswitch'],
45
+ 'vmsCount': json['vmsCount'] == null ? undefined : json['vmsCount'],
46
+ };
47
+ }
48
+ export function NetworkToJSON(json) {
49
+ return NetworkToJSONTyped(json, false);
50
+ }
51
+ export function NetworkToJSONTyped(value, ignoreDiscriminator = false) {
52
+ if (value == null) {
53
+ return value;
54
+ }
55
+ return {
56
+ 'type': value['type'],
57
+ 'name': value['name'],
58
+ 'vlanId': value['vlanId'],
59
+ 'dvswitch': value['dvswitch'],
60
+ 'vmsCount': value['vmsCount'],
61
+ };
62
+ }
@@ -0,0 +1,45 @@
1
+ /**
2
+ * Migration Planner Agent UI API
3
+ * API endpoints for the agent UI to interact with the migration discovery VM
4
+ *
5
+ * The version of the OpenAPI document: undefined
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
+ /**
13
+ *
14
+ * @export
15
+ * @interface OsInfo
16
+ */
17
+ export interface OsInfo {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof OsInfo
22
+ */
23
+ count: number;
24
+ /**
25
+ *
26
+ * @type {boolean}
27
+ * @memberof OsInfo
28
+ */
29
+ supported: boolean;
30
+ /**
31
+ * Recommended OS upgrade for MTV unsupported OS that can be upgraded to a supported OS
32
+ * @type {string}
33
+ * @memberof OsInfo
34
+ */
35
+ upgradeRecommendation?: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the OsInfo interface.
39
+ */
40
+ export declare function instanceOfOsInfo(value: object): value is OsInfo;
41
+ export declare function OsInfoFromJSON(json: any): OsInfo;
42
+ export declare function OsInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): OsInfo;
43
+ export declare function OsInfoToJSON(json: any): OsInfo;
44
+ export declare function OsInfoToJSONTyped(value?: OsInfo | null, ignoreDiscriminator?: boolean): any;
45
+ //# sourceMappingURL=OsInfo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OsInfo.d.ts","sourceRoot":"","sources":["../../src/models/OsInfo.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,MAAM;IACnB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,SAAS,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAClC;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,MAAM,CAI/D;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,GAAG,GAAG,MAAM,CAEhD;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,MAAM,CAUnF;AAED,wBAAgB,YAAY,CAAC,IAAI,EAAE,GAAG,GAAG,MAAM,CAE9C;AAED,wBAAgB,iBAAiB,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAWlG"}