@migration-planner-ui/api-client 0.0.31 → 0.0.33

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 (212) hide show
  1. package/README.md +145 -28
  2. package/dist/apis/AssessmentApi.d.ts +5 -4
  3. package/dist/apis/AssessmentApi.d.ts.map +1 -0
  4. package/dist/apis/AssessmentApi.js +17 -9
  5. package/dist/apis/HealthApi.d.ts +4 -3
  6. package/dist/apis/HealthApi.d.ts.map +1 -0
  7. package/dist/apis/HealthApi.js +5 -4
  8. package/dist/apis/ImageApi.d.ts +5 -4
  9. package/dist/apis/ImageApi.d.ts.map +1 -0
  10. package/dist/apis/ImageApi.js +10 -6
  11. package/dist/apis/InfoApi.d.ts +5 -4
  12. package/dist/apis/InfoApi.d.ts.map +1 -0
  13. package/dist/apis/InfoApi.js +6 -5
  14. package/dist/apis/JobApi.d.ts +5 -4
  15. package/dist/apis/JobApi.d.ts.map +1 -0
  16. package/dist/apis/JobApi.js +12 -7
  17. package/dist/apis/SourceApi.d.ts +5 -4
  18. package/dist/apis/SourceApi.d.ts.map +1 -0
  19. package/dist/apis/SourceApi.js +22 -11
  20. package/dist/apis/index.d.ts +7 -7
  21. package/dist/apis/index.d.ts.map +1 -0
  22. package/dist/apis/index.js +6 -7
  23. package/dist/index.d.ts +4 -3
  24. package/dist/index.d.ts.map +1 -0
  25. package/dist/index.js +3 -3
  26. package/dist/models/Agent.d.ts +5 -3
  27. package/dist/models/Agent.d.ts.map +1 -0
  28. package/dist/models/Agent.js +8 -5
  29. package/dist/models/AgentProxy.d.ts +5 -3
  30. package/dist/models/AgentProxy.d.ts.map +1 -0
  31. package/dist/models/AgentProxy.js +6 -3
  32. package/dist/models/Assessment.d.ts +7 -5
  33. package/dist/models/Assessment.d.ts.map +1 -0
  34. package/dist/models/Assessment.js +10 -7
  35. package/dist/models/AssessmentForm.d.ts +6 -4
  36. package/dist/models/AssessmentForm.d.ts.map +1 -0
  37. package/dist/models/AssessmentForm.js +7 -4
  38. package/dist/models/AssessmentUpdate.d.ts +5 -3
  39. package/dist/models/AssessmentUpdate.d.ts.map +1 -0
  40. package/dist/models/AssessmentUpdate.js +6 -3
  41. package/dist/models/Datastore.d.ts +5 -3
  42. package/dist/models/Datastore.d.ts.map +1 -0
  43. package/dist/models/Datastore.js +6 -3
  44. package/dist/models/DiskSizeTierSummary.d.ts +5 -3
  45. package/dist/models/DiskSizeTierSummary.d.ts.map +1 -0
  46. package/dist/models/DiskSizeTierSummary.js +6 -3
  47. package/dist/models/DiskTypeSummary.d.ts +5 -3
  48. package/dist/models/DiskTypeSummary.d.ts.map +1 -0
  49. package/dist/models/DiskTypeSummary.js +6 -3
  50. package/dist/models/Histogram.d.ts +5 -3
  51. package/dist/models/Histogram.d.ts.map +1 -0
  52. package/dist/models/Histogram.js +6 -3
  53. package/dist/models/Host.d.ts +5 -3
  54. package/dist/models/Host.d.ts.map +1 -0
  55. package/dist/models/Host.js +6 -3
  56. package/dist/models/Info.d.ts +5 -3
  57. package/dist/models/Info.d.ts.map +1 -0
  58. package/dist/models/Info.js +6 -3
  59. package/dist/models/Infra.d.ts +11 -9
  60. package/dist/models/Infra.d.ts.map +1 -0
  61. package/dist/models/Infra.js +13 -10
  62. package/dist/models/Inventory.d.ts +7 -5
  63. package/dist/models/Inventory.d.ts.map +1 -0
  64. package/dist/models/Inventory.js +10 -7
  65. package/dist/models/InventoryData.d.ts +8 -6
  66. package/dist/models/InventoryData.d.ts.map +1 -0
  67. package/dist/models/InventoryData.js +9 -6
  68. package/dist/models/Ipv4Config.d.ts +5 -3
  69. package/dist/models/Ipv4Config.d.ts.map +1 -0
  70. package/dist/models/Ipv4Config.js +6 -3
  71. package/dist/models/Job.d.ts +6 -4
  72. package/dist/models/Job.d.ts.map +1 -0
  73. package/dist/models/Job.js +7 -4
  74. package/dist/models/JobStatus.d.ts +4 -2
  75. package/dist/models/JobStatus.d.ts.map +1 -0
  76. package/dist/models/JobStatus.js +5 -2
  77. package/dist/models/Label.d.ts +5 -3
  78. package/dist/models/Label.d.ts.map +1 -0
  79. package/dist/models/Label.js +6 -3
  80. package/dist/models/MigrationIssue.d.ts +5 -3
  81. package/dist/models/MigrationIssue.d.ts.map +1 -0
  82. package/dist/models/MigrationIssue.js +6 -3
  83. package/dist/models/ModelError.d.ts +5 -3
  84. package/dist/models/ModelError.d.ts.map +1 -0
  85. package/dist/models/ModelError.js +6 -3
  86. package/dist/models/Network.d.ts +5 -3
  87. package/dist/models/Network.d.ts.map +1 -0
  88. package/dist/models/Network.js +6 -3
  89. package/dist/models/OsInfo.d.ts +5 -3
  90. package/dist/models/OsInfo.d.ts.map +1 -0
  91. package/dist/models/OsInfo.js +6 -3
  92. package/dist/models/PresignedUrl.d.ts +5 -3
  93. package/dist/models/PresignedUrl.d.ts.map +1 -0
  94. package/dist/models/PresignedUrl.js +7 -4
  95. package/dist/models/Snapshot.d.ts +6 -4
  96. package/dist/models/Snapshot.d.ts.map +1 -0
  97. package/dist/models/Snapshot.js +8 -5
  98. package/dist/models/Source.d.ts +9 -7
  99. package/dist/models/Source.d.ts.map +1 -0
  100. package/dist/models/Source.js +12 -9
  101. package/dist/models/SourceCreate.d.ts +8 -6
  102. package/dist/models/SourceCreate.d.ts.map +1 -0
  103. package/dist/models/SourceCreate.js +9 -6
  104. package/dist/models/SourceInfra.d.ts +7 -5
  105. package/dist/models/SourceInfra.d.ts.map +1 -0
  106. package/dist/models/SourceInfra.js +8 -5
  107. package/dist/models/SourceUpdate.d.ts +8 -6
  108. package/dist/models/SourceUpdate.d.ts.map +1 -0
  109. package/dist/models/SourceUpdate.js +9 -6
  110. package/dist/models/Status.d.ts +5 -3
  111. package/dist/models/Status.d.ts.map +1 -0
  112. package/dist/models/Status.js +6 -3
  113. package/dist/models/UpdateInventory.d.ts +6 -4
  114. package/dist/models/UpdateInventory.d.ts.map +1 -0
  115. package/dist/models/UpdateInventory.js +7 -4
  116. package/dist/models/VCenter.d.ts +5 -3
  117. package/dist/models/VCenter.d.ts.map +1 -0
  118. package/dist/models/VCenter.js +6 -3
  119. package/dist/models/VMResourceBreakdown.d.ts +6 -4
  120. package/dist/models/VMResourceBreakdown.d.ts.map +1 -0
  121. package/dist/models/VMResourceBreakdown.js +7 -4
  122. package/dist/models/VMs.d.ts +13 -11
  123. package/dist/models/VMs.d.ts.map +1 -0
  124. package/dist/models/VMs.js +16 -13
  125. package/dist/models/VmNetwork.d.ts +6 -4
  126. package/dist/models/VmNetwork.d.ts.map +1 -0
  127. package/dist/models/VmNetwork.js +7 -4
  128. package/dist/models/index.d.ts +35 -34
  129. package/dist/models/index.d.ts.map +1 -0
  130. package/dist/models/index.js +34 -34
  131. package/dist/runtime.d.ts +7 -3
  132. package/dist/runtime.d.ts.map +1 -0
  133. package/dist/runtime.js +11 -3
  134. package/package.json +19 -9
  135. package/.openapi-generator/FILES +0 -44
  136. package/.openapi-generator/VERSION +0 -1
  137. package/.openapi-generator-ignore +0 -30
  138. package/dist/apis/AgentApi.d.ts +0 -69
  139. package/dist/apis/AgentApi.js +0 -82
  140. package/dist/models/Event.d.ts +0 -38
  141. package/dist/models/Event.js +0 -45
  142. package/dist/models/EventData.d.ts +0 -37
  143. package/dist/models/EventData.js +0 -44
  144. package/dist/models/InfraDatastoresInner.d.ts +0 -43
  145. package/dist/models/InfraDatastoresInner.js +0 -48
  146. package/dist/models/InfraNetworksInner.d.ts +0 -59
  147. package/dist/models/InfraNetworksInner.js +0 -57
  148. package/dist/models/MigrationIssuesInner.d.ts +0 -43
  149. package/dist/models/MigrationIssuesInner.js +0 -48
  150. package/dist/models/SourceAgentItem.d.ts +0 -37
  151. package/dist/models/SourceAgentItem.js +0 -44
  152. package/dist/models/SourceUpdateOnPrem.d.ts +0 -38
  153. package/dist/models/SourceUpdateOnPrem.js +0 -45
  154. package/dist/models/UploadRvtoolsFile200Response.d.ts +0 -31
  155. package/dist/models/UploadRvtoolsFile200Response.js +0 -38
  156. package/dist/models/VMResourceBreakdownHistogram.d.ts +0 -43
  157. package/dist/models/VMResourceBreakdownHistogram.js +0 -48
  158. package/src/apis/AgentApi.ts +0 -131
  159. package/src/apis/AssessmentApi.ts +0 -303
  160. package/src/apis/HealthApi.ts +0 -70
  161. package/src/apis/ImageApi.ts +0 -140
  162. package/src/apis/InfoApi.ts +0 -78
  163. package/src/apis/JobApi.ts +0 -226
  164. package/src/apis/SourceApi.ts +0 -411
  165. package/src/apis/index.ts +0 -50
  166. package/src/index.ts +0 -5
  167. package/src/models/Agent.ts +0 -130
  168. package/src/models/AgentProxy.ts +0 -76
  169. package/src/models/Assessment.ts +0 -140
  170. package/src/models/AssessmentForm.ts +0 -96
  171. package/src/models/AssessmentUpdate.ts +0 -60
  172. package/src/models/Datastore.ts +0 -132
  173. package/src/models/DiskSizeTierSummary.ts +0 -70
  174. package/src/models/DiskTypeSummary.ts +0 -70
  175. package/src/models/Event.ts +0 -77
  176. package/src/models/EventData.ts +0 -70
  177. package/src/models/Histogram.ts +0 -79
  178. package/src/models/Host.ts +0 -102
  179. package/src/models/Info.ts +0 -70
  180. package/src/models/Infra.ts +0 -174
  181. package/src/models/InfraDatastoresInner.ts +0 -79
  182. package/src/models/InfraNetworksInner.ts +0 -99
  183. package/src/models/Inventory.ts +0 -83
  184. package/src/models/InventoryData.ts +0 -97
  185. package/src/models/Ipv4Config.ts +0 -88
  186. package/src/models/Job.ts +0 -95
  187. package/src/models/JobStatus.ts +0 -60
  188. package/src/models/Label.ts +0 -70
  189. package/src/models/MigrationIssue.ts +0 -87
  190. package/src/models/MigrationIssuesInner.ts +0 -79
  191. package/src/models/ModelError.ts +0 -69
  192. package/src/models/Network.ts +0 -107
  193. package/src/models/OsInfo.ts +0 -78
  194. package/src/models/PresignedUrl.ts +0 -69
  195. package/src/models/Snapshot.ts +0 -77
  196. package/src/models/Source.ts +0 -154
  197. package/src/models/SourceAgentItem.ts +0 -70
  198. package/src/models/SourceCreate.ts +0 -120
  199. package/src/models/SourceInfra.ts +0 -89
  200. package/src/models/SourceUpdate.ts +0 -119
  201. package/src/models/SourceUpdateOnPrem.ts +0 -77
  202. package/src/models/Status.ts +0 -76
  203. package/src/models/UpdateInventory.ts +0 -77
  204. package/src/models/UploadRvtoolsFile200Response.ts +0 -60
  205. package/src/models/VCenter.ts +0 -61
  206. package/src/models/VMResourceBreakdown.ts +0 -104
  207. package/src/models/VMResourceBreakdownHistogram.ts +0 -79
  208. package/src/models/VMs.ts +0 -229
  209. package/src/models/VmNetwork.ts +0 -67
  210. package/src/models/index.ts +0 -36
  211. package/src/runtime.ts +0 -426
  212. package/tsconfig.json +0 -14
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Migration Planner API
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
3
+ * Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
4
4
  *
5
- * The version of the OpenAPI document: undefined
5
+ * The version of the OpenAPI document: 0.4.0-e8c0ddb1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -40,4 +40,6 @@ export interface Status {
40
40
  export declare function instanceOfStatus(value: object): value is Status;
41
41
  export declare function StatusFromJSON(json: any): Status;
42
42
  export declare function StatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): Status;
43
- export declare function StatusToJSON(value?: Status | null): any;
43
+ export declare function StatusToJSON(json: any): Status;
44
+ export declare function StatusToJSONTyped(value?: Status | null, ignoreDiscriminator?: boolean): any;
45
+ //# sourceMappingURL=Status.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Status.d.ts","sourceRoot":"","sources":["../../src/models/Status.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,MAAM;IACnB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,MAAM,CAE/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"}
@@ -2,9 +2,9 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Migration Planner API
5
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+ * Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
6
6
  *
7
- * The version of the OpenAPI document: undefined
7
+ * The version of the OpenAPI document: 0.4.0-e8c0ddb1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -30,7 +30,10 @@ export function StatusFromJSONTyped(json, ignoreDiscriminator) {
30
30
  'status': json['status'] == null ? undefined : json['status'],
31
31
  };
32
32
  }
33
- export function StatusToJSON(value) {
33
+ export function StatusToJSON(json) {
34
+ return StatusToJSONTyped(json, false);
35
+ }
36
+ export function StatusToJSONTyped(value, ignoreDiscriminator = false) {
34
37
  if (value == null) {
35
38
  return value;
36
39
  }
@@ -1,15 +1,15 @@
1
1
  /**
2
2
  * Migration Planner API
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
3
+ * Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
4
4
  *
5
- * The version of the OpenAPI document: undefined
5
+ * The version of the OpenAPI document: 0.4.0-e8c0ddb1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { Inventory } from './Inventory';
12
+ import type { Inventory } from './Inventory.js';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -35,4 +35,6 @@ export interface UpdateInventory {
35
35
  export declare function instanceOfUpdateInventory(value: object): value is UpdateInventory;
36
36
  export declare function UpdateInventoryFromJSON(json: any): UpdateInventory;
37
37
  export declare function UpdateInventoryFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateInventory;
38
- export declare function UpdateInventoryToJSON(value?: UpdateInventory | null): any;
38
+ export declare function UpdateInventoryToJSON(json: any): UpdateInventory;
39
+ export declare function UpdateInventoryToJSONTyped(value?: UpdateInventory | null, ignoreDiscriminator?: boolean): any;
40
+ //# sourceMappingURL=UpdateInventory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UpdateInventory.d.ts","sourceRoot":"","sources":["../../src/models/UpdateInventory.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAQhD;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC5B;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,SAAS,EAAE,SAAS,CAAC;CACxB;AAED;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,eAAe,CAIjF;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,eAAe,CAElE;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,eAAe,CASrG;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,eAAe,CAEhE;AAED,wBAAgB,0BAA0B,CAAC,KAAK,CAAC,EAAE,eAAe,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUpH"}
@@ -2,16 +2,16 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Migration Planner API
5
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+ * Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
6
6
  *
7
- * The version of the OpenAPI document: undefined
7
+ * The version of the OpenAPI document: 0.4.0-e8c0ddb1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import { InventoryFromJSON, InventoryToJSON, } from './Inventory';
14
+ import { InventoryFromJSON, InventoryToJSON, } from './Inventory.js';
15
15
  /**
16
16
  * Check if a given object implements the UpdateInventory interface.
17
17
  */
@@ -34,7 +34,10 @@ export function UpdateInventoryFromJSONTyped(json, ignoreDiscriminator) {
34
34
  'inventory': InventoryFromJSON(json['inventory']),
35
35
  };
36
36
  }
37
- export function UpdateInventoryToJSON(value) {
37
+ export function UpdateInventoryToJSON(json) {
38
+ return UpdateInventoryToJSONTyped(json, false);
39
+ }
40
+ export function UpdateInventoryToJSONTyped(value, ignoreDiscriminator = false) {
38
41
  if (value == null) {
39
42
  return value;
40
43
  }
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Migration Planner API
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
3
+ * Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
4
4
  *
5
- * The version of the OpenAPI document: undefined
5
+ * The version of the OpenAPI document: 0.4.0-e8c0ddb1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -28,4 +28,6 @@ export interface VCenter {
28
28
  export declare function instanceOfVCenter(value: object): value is VCenter;
29
29
  export declare function VCenterFromJSON(json: any): VCenter;
30
30
  export declare function VCenterFromJSONTyped(json: any, ignoreDiscriminator: boolean): VCenter;
31
- export declare function VCenterToJSON(value?: VCenter | null): any;
31
+ export declare function VCenterToJSON(json: any): VCenter;
32
+ export declare function VCenterToJSONTyped(value?: VCenter | null, ignoreDiscriminator?: boolean): any;
33
+ //# sourceMappingURL=VCenter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VCenter.d.ts","sourceRoot":"","sources":["../../src/models/VCenter.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,OAAO;IACpB;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,OAAO,CAGjE;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,GAAG,GAAG,OAAO,CAElD;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,OAAO,CAQrF;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,CASpG"}
@@ -2,9 +2,9 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Migration Planner API
5
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+ * Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
6
6
  *
7
- * The version of the OpenAPI document: undefined
7
+ * The version of the OpenAPI document: 0.4.0-e8c0ddb1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -30,7 +30,10 @@ export function VCenterFromJSONTyped(json, ignoreDiscriminator) {
30
30
  'id': json['id'],
31
31
  };
32
32
  }
33
- export function VCenterToJSON(value) {
33
+ export function VCenterToJSON(json) {
34
+ return VCenterToJSONTyped(json, false);
35
+ }
36
+ export function VCenterToJSONTyped(value, ignoreDiscriminator = false) {
34
37
  if (value == null) {
35
38
  return value;
36
39
  }
@@ -1,15 +1,15 @@
1
1
  /**
2
2
  * Migration Planner API
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
3
+ * Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
4
4
  *
5
- * The version of the OpenAPI document: undefined
5
+ * The version of the OpenAPI document: 0.4.0-e8c0ddb1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { Histogram } from './Histogram';
12
+ import type { Histogram } from './Histogram.js';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -54,4 +54,6 @@ export interface VMResourceBreakdown {
54
54
  export declare function instanceOfVMResourceBreakdown(value: object): value is VMResourceBreakdown;
55
55
  export declare function VMResourceBreakdownFromJSON(json: any): VMResourceBreakdown;
56
56
  export declare function VMResourceBreakdownFromJSONTyped(json: any, ignoreDiscriminator: boolean): VMResourceBreakdown;
57
- export declare function VMResourceBreakdownToJSON(value?: VMResourceBreakdown | null): any;
57
+ export declare function VMResourceBreakdownToJSON(json: any): VMResourceBreakdown;
58
+ export declare function VMResourceBreakdownToJSONTyped(value?: VMResourceBreakdown | null, ignoreDiscriminator?: boolean): any;
59
+ //# sourceMappingURL=VMResourceBreakdown.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VMResourceBreakdown.d.ts","sourceRoot":"","sources":["../../src/models/VMResourceBreakdown.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAQhD;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,8BAA8B,EAAE,MAAM,CAAC;IACvC;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;;OAKG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;CACzB;AAED;;GAEG;AACH,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,mBAAmB,CAMzF;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAE1E;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,mBAAmB,CAY7G;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAExE;AAED,wBAAgB,8BAA8B,CAAC,KAAK,CAAC,EAAE,mBAAmB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAa5H"}
@@ -2,16 +2,16 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Migration Planner API
5
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+ * Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
6
6
  *
7
- * The version of the OpenAPI document: undefined
7
+ * The version of the OpenAPI document: 0.4.0-e8c0ddb1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import { HistogramFromJSON, HistogramToJSON, } from './Histogram';
14
+ import { HistogramFromJSON, HistogramToJSON, } from './Histogram.js';
15
15
  /**
16
16
  * Check if a given object implements the VMResourceBreakdown interface.
17
17
  */
@@ -41,7 +41,10 @@ export function VMResourceBreakdownFromJSONTyped(json, ignoreDiscriminator) {
41
41
  'histogram': json['histogram'] == null ? undefined : HistogramFromJSON(json['histogram']),
42
42
  };
43
43
  }
44
- export function VMResourceBreakdownToJSON(value) {
44
+ export function VMResourceBreakdownToJSON(json) {
45
+ return VMResourceBreakdownToJSONTyped(json, false);
46
+ }
47
+ export function VMResourceBreakdownToJSONTyped(value, ignoreDiscriminator = false) {
45
48
  if (value == null) {
46
49
  return value;
47
50
  }
@@ -1,19 +1,19 @@
1
1
  /**
2
2
  * Migration Planner API
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
3
+ * Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
4
4
  *
5
- * The version of the OpenAPI document: undefined
5
+ * The version of the OpenAPI document: 0.4.0-e8c0ddb1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { MigrationIssue } from './MigrationIssue';
13
- import type { OsInfo } from './OsInfo';
14
- import type { DiskSizeTierSummary } from './DiskSizeTierSummary';
15
- import type { DiskTypeSummary } from './DiskTypeSummary';
16
- import type { VMResourceBreakdown } from './VMResourceBreakdown';
12
+ import type { MigrationIssue } from './MigrationIssue.js';
13
+ import type { OsInfo } from './OsInfo.js';
14
+ import type { DiskSizeTierSummary } from './DiskSizeTierSummary.js';
15
+ import type { DiskTypeSummary } from './DiskTypeSummary.js';
16
+ import type { VMResourceBreakdown } from './VMResourceBreakdown.js';
17
17
  /**
18
18
  *
19
19
  * @export
@@ -107,7 +107,7 @@ export interface VMs {
107
107
  */
108
108
  powerStates: {
109
109
  [key: string]: number;
110
- };
110
+ } | null;
111
111
  /**
112
112
  *
113
113
  * @type {{ [key: string]: number; }}
@@ -130,13 +130,13 @@ export interface VMs {
130
130
  * @type {Array<MigrationIssue>}
131
131
  * @memberof VMs
132
132
  */
133
- notMigratableReasons: Array<MigrationIssue>;
133
+ notMigratableReasons: Array<MigrationIssue> | null;
134
134
  /**
135
135
  *
136
136
  * @type {Array<MigrationIssue>}
137
137
  * @memberof VMs
138
138
  */
139
- migrationWarnings: Array<MigrationIssue>;
139
+ migrationWarnings: Array<MigrationIssue> | null;
140
140
  }
141
141
  /**
142
142
  * Check if a given object implements the VMs interface.
@@ -144,4 +144,6 @@ export interface VMs {
144
144
  export declare function instanceOfVMs(value: object): value is VMs;
145
145
  export declare function VMsFromJSON(json: any): VMs;
146
146
  export declare function VMsFromJSONTyped(json: any, ignoreDiscriminator: boolean): VMs;
147
- export declare function VMsToJSON(value?: VMs | null): any;
147
+ export declare function VMsToJSON(json: any): VMs;
148
+ export declare function VMsToJSONTyped(value?: VMs | null, ignoreDiscriminator?: boolean): any;
149
+ //# sourceMappingURL=VMs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VMs.d.ts","sourceRoot":"","sources":["../../src/models/VMs.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAO1D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAO1C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAOpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAO5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAQpE;;;;GAIG;AACH,MAAM,WAAW,GAAG;IAChB;;;;OAI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AAC;CACnD;AAED;;GAEG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,GAAG,CAWzD;AAED,wBAAgB,WAAW,CAAC,IAAI,EAAE,GAAG,GAAG,GAAG,CAE1C;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,GAAG,CAwB7E;AAED,wBAAgB,SAAS,CAAC,IAAI,EAAE,GAAG,GAAG,GAAG,CAExC;AAED,wBAAgB,cAAc,CAAC,KAAK,CAAC,EAAE,GAAG,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAyB5F"}
@@ -2,21 +2,21 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Migration Planner API
5
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+ * Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
6
6
  *
7
- * The version of the OpenAPI document: undefined
7
+ * The version of the OpenAPI document: 0.4.0-e8c0ddb1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import { mapValues } from '../runtime';
15
- import { MigrationIssueFromJSON, MigrationIssueToJSON, } from './MigrationIssue';
16
- import { OsInfoFromJSON, OsInfoToJSON, } from './OsInfo';
17
- import { DiskSizeTierSummaryFromJSON, DiskSizeTierSummaryToJSON, } from './DiskSizeTierSummary';
18
- import { DiskTypeSummaryFromJSON, DiskTypeSummaryToJSON, } from './DiskTypeSummary';
19
- import { VMResourceBreakdownFromJSON, VMResourceBreakdownToJSON, } from './VMResourceBreakdown';
14
+ import { mapValues } from '../runtime.js';
15
+ import { MigrationIssueFromJSON, MigrationIssueToJSON, } from './MigrationIssue.js';
16
+ import { OsInfoFromJSON, OsInfoToJSON, } from './OsInfo.js';
17
+ import { DiskSizeTierSummaryFromJSON, DiskSizeTierSummaryToJSON, } from './DiskSizeTierSummary.js';
18
+ import { DiskTypeSummaryFromJSON, DiskTypeSummaryToJSON, } from './DiskTypeSummary.js';
19
+ import { VMResourceBreakdownFromJSON, VMResourceBreakdownToJSON, } from './VMResourceBreakdown.js';
20
20
  /**
21
21
  * Check if a given object implements the VMs interface.
22
22
  */
@@ -64,11 +64,14 @@ export function VMsFromJSONTyped(json, ignoreDiscriminator) {
64
64
  'powerStates': json['powerStates'],
65
65
  'os': json['os'] == null ? undefined : json['os'],
66
66
  'osInfo': json['osInfo'] == null ? undefined : (mapValues(json['osInfo'], OsInfoFromJSON)),
67
- 'notMigratableReasons': json['notMigratableReasons'] == null ? undefined : (json['notMigratableReasons'].map(MigrationIssueFromJSON)),
68
- 'migrationWarnings': json['migrationWarnings'] == null ? undefined : (json['migrationWarnings'].map(MigrationIssueFromJSON)),
67
+ 'notMigratableReasons': (json['notMigratableReasons'] == null ? null : json['notMigratableReasons'].map(MigrationIssueFromJSON)),
68
+ 'migrationWarnings': (json['migrationWarnings'] == null ? null : json['migrationWarnings'].map(MigrationIssueFromJSON)),
69
69
  };
70
70
  }
71
- export function VMsToJSON(value) {
71
+ export function VMsToJSON(json) {
72
+ return VMsToJSONTyped(json, false);
73
+ }
74
+ export function VMsToJSONTyped(value, ignoreDiscriminator = false) {
72
75
  if (value == null) {
73
76
  return value;
74
77
  }
@@ -88,7 +91,7 @@ export function VMsToJSON(value) {
88
91
  'powerStates': value['powerStates'],
89
92
  'os': value['os'],
90
93
  'osInfo': value['osInfo'] == null ? undefined : (mapValues(value['osInfo'], OsInfoToJSON)),
91
- 'notMigratableReasons': (value['notMigratableReasons'].map(MigrationIssueToJSON)),
92
- 'migrationWarnings': (value['migrationWarnings'].map(MigrationIssueToJSON)),
94
+ 'notMigratableReasons': (value['notMigratableReasons'] == null ? null : value['notMigratableReasons'].map(MigrationIssueToJSON)),
95
+ 'migrationWarnings': (value['migrationWarnings'] == null ? null : value['migrationWarnings'].map(MigrationIssueToJSON)),
93
96
  };
94
97
  }
@@ -1,15 +1,15 @@
1
1
  /**
2
2
  * Migration Planner API
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
3
+ * Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
4
4
  *
5
- * The version of the OpenAPI document: undefined
5
+ * The version of the OpenAPI document: 0.4.0-e8c0ddb1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { Ipv4Config } from './Ipv4Config';
12
+ import type { Ipv4Config } from './Ipv4Config.js';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -29,4 +29,6 @@ export interface VmNetwork {
29
29
  export declare function instanceOfVmNetwork(value: object): value is VmNetwork;
30
30
  export declare function VmNetworkFromJSON(json: any): VmNetwork;
31
31
  export declare function VmNetworkFromJSONTyped(json: any, ignoreDiscriminator: boolean): VmNetwork;
32
- export declare function VmNetworkToJSON(value?: VmNetwork | null): any;
32
+ export declare function VmNetworkToJSON(json: any): VmNetwork;
33
+ export declare function VmNetworkToJSONTyped(value?: VmNetwork | null, ignoreDiscriminator?: boolean): any;
34
+ //# sourceMappingURL=VmNetwork.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VmNetwork.d.ts","sourceRoot":"","sources":["../../src/models/VmNetwork.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAQlD;;;;GAIG;AACH,MAAM,WAAW,SAAS;IACtB;;;;OAIG;IACH,IAAI,CAAC,EAAE,UAAU,CAAC;CACrB;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,SAAS,CAErE;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,GAAG,GAAG,SAAS,CAEtD;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,SAAS,CAQzF;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,CASxG"}
@@ -2,16 +2,16 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Migration Planner API
5
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+ * Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
6
6
  *
7
- * The version of the OpenAPI document: undefined
7
+ * The version of the OpenAPI document: 0.4.0-e8c0ddb1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import { Ipv4ConfigFromJSON, Ipv4ConfigToJSON, } from './Ipv4Config';
14
+ import { Ipv4ConfigFromJSON, Ipv4ConfigToJSON, } from './Ipv4Config.js';
15
15
  /**
16
16
  * Check if a given object implements the VmNetwork interface.
17
17
  */
@@ -29,7 +29,10 @@ export function VmNetworkFromJSONTyped(json, ignoreDiscriminator) {
29
29
  'ipv4': json['ipv4'] == null ? undefined : Ipv4ConfigFromJSON(json['ipv4']),
30
30
  };
31
31
  }
32
- export function VmNetworkToJSON(value) {
32
+ export function VmNetworkToJSON(json) {
33
+ return VmNetworkToJSONTyped(json, false);
34
+ }
35
+ export function VmNetworkToJSONTyped(value, ignoreDiscriminator = false) {
33
36
  if (value == null) {
34
37
  return value;
35
38
  }
@@ -1,34 +1,35 @@
1
- export * from './Agent';
2
- export * from './AgentProxy';
3
- export * from './Assessment';
4
- export * from './AssessmentForm';
5
- export * from './AssessmentUpdate';
6
- export * from './Datastore';
7
- export * from './DiskSizeTierSummary';
8
- export * from './DiskTypeSummary';
9
- export * from './Histogram';
10
- export * from './Host';
11
- export * from './Info';
12
- export * from './Infra';
13
- export * from './Inventory';
14
- export * from './InventoryData';
15
- export * from './Ipv4Config';
16
- export * from './Job';
17
- export * from './JobStatus';
18
- export * from './Label';
19
- export * from './MigrationIssue';
20
- export * from './ModelError';
21
- export * from './Network';
22
- export * from './OsInfo';
23
- export * from './PresignedUrl';
24
- export * from './Snapshot';
25
- export * from './Source';
26
- export * from './SourceCreate';
27
- export * from './SourceInfra';
28
- export * from './SourceUpdate';
29
- export * from './Status';
30
- export * from './UpdateInventory';
31
- export * from './VCenter';
32
- export * from './VMResourceBreakdown';
33
- export * from './VMs';
34
- export * from './VmNetwork';
1
+ export * from './Agent.js';
2
+ export * from './AgentProxy.js';
3
+ export * from './Assessment.js';
4
+ export * from './AssessmentForm.js';
5
+ export * from './AssessmentUpdate.js';
6
+ export * from './Datastore.js';
7
+ export * from './DiskSizeTierSummary.js';
8
+ export * from './DiskTypeSummary.js';
9
+ export * from './Histogram.js';
10
+ export * from './Host.js';
11
+ export * from './Info.js';
12
+ export * from './Infra.js';
13
+ export * from './Inventory.js';
14
+ export * from './InventoryData.js';
15
+ export * from './Ipv4Config.js';
16
+ export * from './Job.js';
17
+ export * from './JobStatus.js';
18
+ export * from './Label.js';
19
+ export * from './MigrationIssue.js';
20
+ export * from './ModelError.js';
21
+ export * from './Network.js';
22
+ export * from './OsInfo.js';
23
+ export * from './PresignedUrl.js';
24
+ export * from './Snapshot.js';
25
+ export * from './Source.js';
26
+ export * from './SourceCreate.js';
27
+ export * from './SourceInfra.js';
28
+ export * from './SourceUpdate.js';
29
+ export * from './Status.js';
30
+ export * from './UpdateInventory.js';
31
+ export * from './VCenter.js';
32
+ export * from './VMResourceBreakdown.js';
33
+ export * from './VMs.js';
34
+ export * from './VmNetwork.js';
35
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":"AAEA,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,sBAAsB,CAAC;AACrC,cAAc,cAAc,CAAC;AAC7B,cAAc,0BAA0B,CAAC;AACzC,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC"}
@@ -1,36 +1,36 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
- export * from './Agent';
4
- export * from './AgentProxy';
5
- export * from './Assessment';
6
- export * from './AssessmentForm';
7
- export * from './AssessmentUpdate';
8
- export * from './Datastore';
9
- export * from './DiskSizeTierSummary';
10
- export * from './DiskTypeSummary';
11
- export * from './Histogram';
12
- export * from './Host';
13
- export * from './Info';
14
- export * from './Infra';
15
- export * from './Inventory';
16
- export * from './InventoryData';
17
- export * from './Ipv4Config';
18
- export * from './Job';
19
- export * from './JobStatus';
20
- export * from './Label';
21
- export * from './MigrationIssue';
22
- export * from './ModelError';
23
- export * from './Network';
24
- export * from './OsInfo';
25
- export * from './PresignedUrl';
26
- export * from './Snapshot';
27
- export * from './Source';
28
- export * from './SourceCreate';
29
- export * from './SourceInfra';
30
- export * from './SourceUpdate';
31
- export * from './Status';
32
- export * from './UpdateInventory';
33
- export * from './VCenter';
34
- export * from './VMResourceBreakdown';
35
- export * from './VMs';
36
- export * from './VmNetwork';
3
+ export * from './Agent.js';
4
+ export * from './AgentProxy.js';
5
+ export * from './Assessment.js';
6
+ export * from './AssessmentForm.js';
7
+ export * from './AssessmentUpdate.js';
8
+ export * from './Datastore.js';
9
+ export * from './DiskSizeTierSummary.js';
10
+ export * from './DiskTypeSummary.js';
11
+ export * from './Histogram.js';
12
+ export * from './Host.js';
13
+ export * from './Info.js';
14
+ export * from './Infra.js';
15
+ export * from './Inventory.js';
16
+ export * from './InventoryData.js';
17
+ export * from './Ipv4Config.js';
18
+ export * from './Job.js';
19
+ export * from './JobStatus.js';
20
+ export * from './Label.js';
21
+ export * from './MigrationIssue.js';
22
+ export * from './ModelError.js';
23
+ export * from './Network.js';
24
+ export * from './OsInfo.js';
25
+ export * from './PresignedUrl.js';
26
+ export * from './Snapshot.js';
27
+ export * from './Source.js';
28
+ export * from './SourceCreate.js';
29
+ export * from './SourceInfra.js';
30
+ export * from './SourceUpdate.js';
31
+ export * from './Status.js';
32
+ export * from './UpdateInventory.js';
33
+ export * from './VCenter.js';
34
+ export * from './VMResourceBreakdown.js';
35
+ export * from './VMs.js';
36
+ export * from './VmNetwork.js';
package/dist/runtime.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Migration Planner API
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
3
+ * Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
4
4
  *
5
- * The version of the OpenAPI document: undefined
5
+ * The version of the OpenAPI document: 0.4.0-e8c0ddb1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -123,7 +123,10 @@ export interface RequestOpts {
123
123
  body?: HTTPBody;
124
124
  }
125
125
  export declare function querystring(params: HTTPQuery, prefix?: string): string;
126
- export declare function mapValues(data: any, fn: (item: any) => any): {};
126
+ export declare function exists(json: any, key: string): boolean;
127
+ export declare function mapValues(data: any, fn: (item: any) => any): {
128
+ [key: string]: any;
129
+ };
127
130
  export declare function canConsumeForm(consumes: Consume[]): boolean;
128
131
  export interface Consume {
129
132
  contentType: string;
@@ -179,3 +182,4 @@ export declare class TextApiResponse {
179
182
  constructor(raw: Response);
180
183
  value(): Promise<string>;
181
184
  }
185
+ //# sourceMappingURL=runtime.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../src/runtime.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,eAAO,MAAM,SAAS,QAAyC,CAAC;AAEhE,MAAM,WAAW,uBAAuB;IACpC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,UAAU,CAAC,EAAE,UAAU,EAAE,CAAC;IAC1B,oBAAoB,CAAC,EAAE,CAAC,MAAM,EAAE,SAAS,KAAK,MAAM,CAAC;IACrD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC,CA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