@openshift-migration-advisor/agent-sdk 0.8.0 → 0.12.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.
Files changed (70) hide show
  1. package/.openapi-generator/FILES +6 -2
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +19 -17
  4. package/dist/apis/DefaultApi.d.ts +141 -133
  5. package/dist/apis/DefaultApi.js +168 -163
  6. package/dist/esm/apis/DefaultApi.d.ts +141 -133
  7. package/dist/esm/apis/DefaultApi.js +169 -164
  8. package/dist/esm/models/InspectorStatus.d.ts +20 -7
  9. package/dist/esm/models/InspectorStatus.js +12 -7
  10. package/dist/esm/models/StartInspectionRequest.d.ts +32 -0
  11. package/dist/esm/models/StartInspectionRequest.js +43 -0
  12. package/dist/esm/models/VMs.d.ts +18 -0
  13. package/dist/esm/models/VMs.js +4 -0
  14. package/dist/esm/models/VirtualMachine.d.ts +7 -1
  15. package/dist/esm/models/VirtualMachine.js +4 -4
  16. package/dist/esm/models/VirtualMachineDetail.d.ts +3 -3
  17. package/dist/esm/models/VirtualMachineDetail.js +3 -3
  18. package/dist/esm/models/VmInspectionConcern.d.ts +44 -0
  19. package/dist/esm/models/VmInspectionConcern.js +51 -0
  20. package/dist/esm/models/VmInspectionResults.d.ts +33 -0
  21. package/dist/esm/models/VmInspectionResults.js +42 -0
  22. package/dist/esm/models/VmInspectionStatus.d.ts +0 -1
  23. package/dist/esm/models/VmInspectionStatus.js +1 -2
  24. package/dist/esm/models/index.d.ts +3 -1
  25. package/dist/esm/models/index.js +3 -1
  26. package/dist/esm/runtime.js +1 -1
  27. package/dist/models/InspectorStatus.d.ts +20 -7
  28. package/dist/models/InspectorStatus.js +12 -7
  29. package/dist/models/StartInspectionRequest.d.ts +32 -0
  30. package/dist/models/StartInspectionRequest.js +50 -0
  31. package/dist/models/VMs.d.ts +18 -0
  32. package/dist/models/VMs.js +4 -0
  33. package/dist/models/VirtualMachine.d.ts +7 -1
  34. package/dist/models/VirtualMachine.js +4 -4
  35. package/dist/models/VirtualMachineDetail.d.ts +3 -3
  36. package/dist/models/VirtualMachineDetail.js +3 -3
  37. package/dist/models/VmInspectionConcern.d.ts +44 -0
  38. package/dist/models/VmInspectionConcern.js +58 -0
  39. package/dist/models/VmInspectionResults.d.ts +33 -0
  40. package/dist/models/VmInspectionResults.js +49 -0
  41. package/dist/models/VmInspectionStatus.d.ts +0 -1
  42. package/dist/models/VmInspectionStatus.js +1 -2
  43. package/dist/models/index.d.ts +3 -1
  44. package/dist/models/index.js +3 -1
  45. package/dist/runtime.js +1 -1
  46. package/docs/DefaultApi.md +191 -179
  47. package/docs/InspectorStatus.md +4 -0
  48. package/docs/{InspectorStartRequest.md → StartInspectionRequest.md} +5 -6
  49. package/docs/VMs.md +4 -0
  50. package/docs/VirtualMachine.md +4 -2
  51. package/docs/VirtualMachineDetail.md +1 -1
  52. package/docs/VmInspectionConcern.md +39 -0
  53. package/docs/VmInspectionResults.md +35 -0
  54. package/package.json +1 -1
  55. package/src/apis/DefaultApi.ts +302 -283
  56. package/src/models/InspectorStatus.ts +37 -7
  57. package/src/models/StartInspectionRequest.ts +66 -0
  58. package/src/models/VMs.ts +18 -0
  59. package/src/models/VirtualMachine.ts +11 -4
  60. package/src/models/VirtualMachineDetail.ts +11 -11
  61. package/src/models/VmInspectionConcern.ts +84 -0
  62. package/src/models/VmInspectionResults.ts +73 -0
  63. package/src/models/VmInspectionStatus.ts +1 -2
  64. package/src/models/index.ts +3 -1
  65. package/src/runtime.ts +1 -1
  66. package/dist/esm/models/InspectorStartRequest.d.ts +0 -39
  67. package/dist/esm/models/InspectorStartRequest.js +0 -48
  68. package/dist/models/InspectorStartRequest.d.ts +0 -39
  69. package/dist/models/InspectorStartRequest.js +0 -55
  70. package/src/models/InspectorStartRequest.ts +0 -83
@@ -1,55 +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: v1
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.instanceOfInspectorStartRequest = instanceOfInspectorStartRequest;
17
- exports.InspectorStartRequestFromJSON = InspectorStartRequestFromJSON;
18
- exports.InspectorStartRequestFromJSONTyped = InspectorStartRequestFromJSONTyped;
19
- exports.InspectorStartRequestToJSON = InspectorStartRequestToJSON;
20
- exports.InspectorStartRequestToJSONTyped = InspectorStartRequestToJSONTyped;
21
- const VcenterCredentials_js_1 = require("./VcenterCredentials.js");
22
- /**
23
- * Check if a given object implements the InspectorStartRequest interface.
24
- */
25
- function instanceOfInspectorStartRequest(value) {
26
- if (!('vcenterCredentials' in value) || value['vcenterCredentials'] === undefined)
27
- return false;
28
- if (!('vmIds' in value) || value['vmIds'] === undefined)
29
- return false;
30
- return true;
31
- }
32
- function InspectorStartRequestFromJSON(json) {
33
- return InspectorStartRequestFromJSONTyped(json, false);
34
- }
35
- function InspectorStartRequestFromJSONTyped(json, ignoreDiscriminator) {
36
- if (json == null) {
37
- return json;
38
- }
39
- return {
40
- 'vcenterCredentials': (0, VcenterCredentials_js_1.VcenterCredentialsFromJSON)(json['VcenterCredentials']),
41
- 'vmIds': json['vmIds'],
42
- };
43
- }
44
- function InspectorStartRequestToJSON(json) {
45
- return InspectorStartRequestToJSONTyped(json, false);
46
- }
47
- function InspectorStartRequestToJSONTyped(value, ignoreDiscriminator = false) {
48
- if (value == null) {
49
- return value;
50
- }
51
- return {
52
- 'VcenterCredentials': (0, VcenterCredentials_js_1.VcenterCredentialsToJSON)(value['vcenterCredentials']),
53
- 'vmIds': value['vmIds'],
54
- };
55
- }
@@ -1,83 +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: v1
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 } from '../runtime.js';
16
- import type { VcenterCredentials } from './VcenterCredentials.js';
17
- import {
18
- VcenterCredentialsFromJSON,
19
- VcenterCredentialsFromJSONTyped,
20
- VcenterCredentialsToJSON,
21
- VcenterCredentialsToJSONTyped,
22
- } from './VcenterCredentials.js';
23
-
24
- /**
25
- *
26
- * @export
27
- * @interface InspectorStartRequest
28
- */
29
- export interface InspectorStartRequest {
30
- /**
31
- *
32
- * @type {VcenterCredentials}
33
- * @memberof InspectorStartRequest
34
- */
35
- vcenterCredentials: VcenterCredentials;
36
- /**
37
- * Array of VirtualMachine id
38
- * @type {Array<string>}
39
- * @memberof InspectorStartRequest
40
- */
41
- vmIds: Array<string>;
42
- }
43
-
44
- /**
45
- * Check if a given object implements the InspectorStartRequest interface.
46
- */
47
- export function instanceOfInspectorStartRequest(value: object): value is InspectorStartRequest {
48
- if (!('vcenterCredentials' in value) || value['vcenterCredentials'] === undefined) return false;
49
- if (!('vmIds' in value) || value['vmIds'] === undefined) return false;
50
- return true;
51
- }
52
-
53
- export function InspectorStartRequestFromJSON(json: any): InspectorStartRequest {
54
- return InspectorStartRequestFromJSONTyped(json, false);
55
- }
56
-
57
- export function InspectorStartRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): InspectorStartRequest {
58
- if (json == null) {
59
- return json;
60
- }
61
- return {
62
-
63
- 'vcenterCredentials': VcenterCredentialsFromJSON(json['VcenterCredentials']),
64
- 'vmIds': json['vmIds'],
65
- };
66
- }
67
-
68
- export function InspectorStartRequestToJSON(json: any): InspectorStartRequest {
69
- return InspectorStartRequestToJSONTyped(json, false);
70
- }
71
-
72
- export function InspectorStartRequestToJSONTyped(value?: InspectorStartRequest | null, ignoreDiscriminator: boolean = false): any {
73
- if (value == null) {
74
- return value;
75
- }
76
-
77
- return {
78
-
79
- 'VcenterCredentials': VcenterCredentialsToJSON(value['vcenterCredentials']),
80
- 'vmIds': value['vmIds'],
81
- };
82
- }
83
-