@migration-planner-ui/api-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 (212) hide show
  1. package/README.md +145 -28
  2. package/dist/apis/AssessmentApi.d.ts +3 -2
  3. package/dist/apis/AssessmentApi.d.ts.map +1 -0
  4. package/dist/apis/AssessmentApi.js +15 -7
  5. package/dist/apis/HealthApi.d.ts +2 -1
  6. package/dist/apis/HealthApi.d.ts.map +1 -0
  7. package/dist/apis/HealthApi.js +3 -2
  8. package/dist/apis/ImageApi.d.ts +3 -2
  9. package/dist/apis/ImageApi.d.ts.map +1 -0
  10. package/dist/apis/ImageApi.js +8 -4
  11. package/dist/apis/InfoApi.d.ts +3 -2
  12. package/dist/apis/InfoApi.d.ts.map +1 -0
  13. package/dist/apis/InfoApi.js +4 -3
  14. package/dist/apis/JobApi.d.ts +3 -2
  15. package/dist/apis/JobApi.d.ts.map +1 -0
  16. package/dist/apis/JobApi.js +10 -5
  17. package/dist/apis/SourceApi.d.ts +3 -2
  18. package/dist/apis/SourceApi.d.ts.map +1 -0
  19. package/dist/apis/SourceApi.js +20 -9
  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 +3 -1
  27. package/dist/models/Agent.d.ts.map +1 -0
  28. package/dist/models/Agent.js +6 -3
  29. package/dist/models/AgentProxy.d.ts +3 -1
  30. package/dist/models/AgentProxy.d.ts.map +1 -0
  31. package/dist/models/AgentProxy.js +4 -1
  32. package/dist/models/Assessment.d.ts +4 -2
  33. package/dist/models/Assessment.d.ts.map +1 -0
  34. package/dist/models/Assessment.js +7 -4
  35. package/dist/models/AssessmentForm.d.ts +4 -2
  36. package/dist/models/AssessmentForm.d.ts.map +1 -0
  37. package/dist/models/AssessmentForm.js +5 -2
  38. package/dist/models/AssessmentUpdate.d.ts +3 -1
  39. package/dist/models/AssessmentUpdate.d.ts.map +1 -0
  40. package/dist/models/AssessmentUpdate.js +4 -1
  41. package/dist/models/Datastore.d.ts +3 -1
  42. package/dist/models/Datastore.d.ts.map +1 -0
  43. package/dist/models/Datastore.js +4 -1
  44. package/dist/models/DiskSizeTierSummary.d.ts +3 -1
  45. package/dist/models/DiskSizeTierSummary.d.ts.map +1 -0
  46. package/dist/models/DiskSizeTierSummary.js +4 -1
  47. package/dist/models/DiskTypeSummary.d.ts +3 -1
  48. package/dist/models/DiskTypeSummary.d.ts.map +1 -0
  49. package/dist/models/DiskTypeSummary.js +4 -1
  50. package/dist/models/Histogram.d.ts +3 -1
  51. package/dist/models/Histogram.d.ts.map +1 -0
  52. package/dist/models/Histogram.js +4 -1
  53. package/dist/models/Host.d.ts +3 -1
  54. package/dist/models/Host.d.ts.map +1 -0
  55. package/dist/models/Host.js +4 -1
  56. package/dist/models/Info.d.ts +3 -1
  57. package/dist/models/Info.d.ts.map +1 -0
  58. package/dist/models/Info.js +4 -1
  59. package/dist/models/Infra.d.ts +6 -4
  60. package/dist/models/Infra.d.ts.map +1 -0
  61. package/dist/models/Infra.js +9 -6
  62. package/dist/models/Inventory.d.ts +4 -2
  63. package/dist/models/Inventory.d.ts.map +1 -0
  64. package/dist/models/Inventory.js +8 -5
  65. package/dist/models/InventoryData.d.ts +6 -4
  66. package/dist/models/InventoryData.d.ts.map +1 -0
  67. package/dist/models/InventoryData.js +7 -4
  68. package/dist/models/Ipv4Config.d.ts +3 -1
  69. package/dist/models/Ipv4Config.d.ts.map +1 -0
  70. package/dist/models/Ipv4Config.js +4 -1
  71. package/dist/models/Job.d.ts +4 -2
  72. package/dist/models/Job.d.ts.map +1 -0
  73. package/dist/models/Job.js +5 -2
  74. package/dist/models/JobStatus.d.ts +2 -0
  75. package/dist/models/JobStatus.d.ts.map +1 -0
  76. package/dist/models/JobStatus.js +3 -0
  77. package/dist/models/Label.d.ts +3 -1
  78. package/dist/models/Label.d.ts.map +1 -0
  79. package/dist/models/Label.js +4 -1
  80. package/dist/models/MigrationIssue.d.ts +3 -1
  81. package/dist/models/MigrationIssue.d.ts.map +1 -0
  82. package/dist/models/MigrationIssue.js +4 -1
  83. package/dist/models/ModelError.d.ts +3 -1
  84. package/dist/models/ModelError.d.ts.map +1 -0
  85. package/dist/models/ModelError.js +4 -1
  86. package/dist/models/Network.d.ts +3 -1
  87. package/dist/models/Network.d.ts.map +1 -0
  88. package/dist/models/Network.js +4 -1
  89. package/dist/models/OsInfo.d.ts +3 -1
  90. package/dist/models/OsInfo.d.ts.map +1 -0
  91. package/dist/models/OsInfo.js +4 -1
  92. package/dist/models/PresignedUrl.d.ts +3 -1
  93. package/dist/models/PresignedUrl.d.ts.map +1 -0
  94. package/dist/models/PresignedUrl.js +5 -2
  95. package/dist/models/Snapshot.d.ts +4 -2
  96. package/dist/models/Snapshot.d.ts.map +1 -0
  97. package/dist/models/Snapshot.js +6 -3
  98. package/dist/models/Source.d.ts +7 -5
  99. package/dist/models/Source.d.ts.map +1 -0
  100. package/dist/models/Source.js +10 -7
  101. package/dist/models/SourceCreate.d.ts +6 -4
  102. package/dist/models/SourceCreate.d.ts.map +1 -0
  103. package/dist/models/SourceCreate.js +7 -4
  104. package/dist/models/SourceInfra.d.ts +5 -3
  105. package/dist/models/SourceInfra.d.ts.map +1 -0
  106. package/dist/models/SourceInfra.js +6 -3
  107. package/dist/models/SourceUpdate.d.ts +6 -4
  108. package/dist/models/SourceUpdate.d.ts.map +1 -0
  109. package/dist/models/SourceUpdate.js +7 -4
  110. package/dist/models/Status.d.ts +3 -1
  111. package/dist/models/Status.d.ts.map +1 -0
  112. package/dist/models/Status.js +4 -1
  113. package/dist/models/UpdateInventory.d.ts +4 -2
  114. package/dist/models/UpdateInventory.d.ts.map +1 -0
  115. package/dist/models/UpdateInventory.js +5 -2
  116. package/dist/models/VCenter.d.ts +3 -1
  117. package/dist/models/VCenter.d.ts.map +1 -0
  118. package/dist/models/VCenter.js +4 -1
  119. package/dist/models/VMResourceBreakdown.d.ts +4 -2
  120. package/dist/models/VMResourceBreakdown.d.ts.map +1 -0
  121. package/dist/models/VMResourceBreakdown.js +5 -2
  122. package/dist/models/VMs.d.ts +8 -6
  123. package/dist/models/VMs.d.ts.map +1 -0
  124. package/dist/models/VMs.js +12 -9
  125. package/dist/models/VmNetwork.d.ts +4 -2
  126. package/dist/models/VmNetwork.d.ts.map +1 -0
  127. package/dist/models/VmNetwork.js +5 -2
  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 +5 -1
  132. package/dist/runtime.d.ts.map +1 -0
  133. package/dist/runtime.js +10 -2
  134. package/package.json +18 -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
@@ -9,11 +9,11 @@
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
@@ -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;AA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,EAAE,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IAChC;;;;OAIG;IACH,MAAM,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IACpC;;;;OAIG;IACH,oBAAoB,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;IAC5C;;;;OAIG;IACH,iBAAiB,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;CAC5C;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"}
@@ -11,12 +11,12 @@
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'].map(MigrationIssueFromJSON)),
68
+ 'migrationWarnings': (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
  }
@@ -9,7 +9,7 @@
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"}
@@ -11,7 +11,7 @@
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
@@ -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,QAA0D,CAAC;AAEjF,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,CAAC;IACjF,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,MAAM,GAAG,OAAO,CAAC,MAAM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M,WAAW,mBAAmB,CAAC,CAAC;IAClC,CAAC,IAAI,EAAE,GAAG,GAAG,CAAC,CAAC;CAClB;AAED,qBAAa,eAAe,CAAC,CAAC;IACP,GAAG,EAAE,QAAQ;IAAE,OAAO,CAAC,WAAW;gBAAlC,GAAG,EAAE,QAAQ,EAAU,WAAW,GAAE,mBAAmB,CAAC,CAAC,CAAiC;IAEvG,KAAK,IAAI,OAAO,CAAC,CAAC,CAAC;CAG5B;AAED,qBAAa,eAAe;IACL,GAAG,EAAE,QAAQ;gBAAb,GAAG,EAAE,QAAQ;IAE1B,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;CAG/B;AAED,qBAAa,eAAe;IACL,GAAG,EAAE,QAAQ;gBAAb,GAAG,EAAE,QAAQ;IAE1B,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;CAG/B;AAED,qBAAa,eAAe;IACL,GAAG,EAAE,QAAQ;gBAAb,GAAG,EAAE,QAAQ;IAE1B,KAAK,IAAI,OAAO,CAAC,MAAM,CAAC;CAGjC"}
package/dist/runtime.js CHANGED
@@ -20,7 +20,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
20
20
  step((generator = generator.apply(thisArg, _arguments || [])).next());
21
21
  });
22
22
  };
23
- export const BASE_PATH = "http://localhost".replace(/\/+$/, "");
23
+ export const BASE_PATH = "https://raw.githubusercontent.com".replace(/\/+$/, "");
24
24
  export class Configuration {
25
25
  constructor(configuration = {}) {
26
26
  this.configuration = configuration;
@@ -270,8 +270,16 @@ function querystringSingleKey(key, value, keyPrefix = '') {
270
270
  }
271
271
  return `${encodeURIComponent(fullKey)}=${encodeURIComponent(String(value))}`;
272
272
  }
273
+ export function exists(json, key) {
274
+ const value = json[key];
275
+ return value !== null && value !== undefined;
276
+ }
273
277
  export function mapValues(data, fn) {
274
- return Object.keys(data).reduce((acc, key) => (Object.assign(Object.assign({}, acc), { [key]: fn(data[key]) })), {});
278
+ const result = {};
279
+ for (const key of Object.keys(data)) {
280
+ result[key] = fn(data[key]);
281
+ }
282
+ return result;
275
283
  }
276
284
  export function canConsumeForm(consumes) {
277
285
  for (const consume of consumes) {
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@migration-planner-ui/api-client",
3
- "version": "0.0.31",
3
+ "version": "0.0.32",
4
4
  "description": "OpenAPI client for the Migration Planner API",
5
- "author": "OpenAPI-Generator",
5
+ "author": "Jonathan Kilzi <jkilzi@redhat.com>",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "https://github.com/kubev2v/migration-planner-ui.git",
@@ -12,15 +12,18 @@
12
12
  "exports": {
13
13
  "./apis": {
14
14
  "import": "./dist/apis/index.js",
15
- "types": "./dist/apis/index.d.ts"
15
+ "types": "./dist/apis/index.d.ts",
16
+ "default": "./src/apis/index.ts"
16
17
  },
17
18
  "./models": {
18
19
  "import": "./dist/models/index.js",
19
- "types": "./dist/models/index.d.ts"
20
+ "types": "./dist/models/index.d.ts",
21
+ "default": "./src/models/index.ts"
20
22
  },
21
23
  "./runtime": {
22
24
  "import": "./dist/runtime.js",
23
- "types": "./dist/runtime.d.ts"
25
+ "types": "./dist/runtime.d.ts",
26
+ "default": "./src/runtime.ts"
24
27
  }
25
28
  },
26
29
  "typesVersions": {
@@ -32,7 +35,7 @@
32
35
  "./dist/models/index.d.ts"
33
36
  ],
34
37
  "runtime": [
35
- "./dist/runtime.d.ts"
38
+ "./dist/types/runtime.d.ts"
36
39
  ]
37
40
  }
38
41
  },
@@ -40,10 +43,16 @@
40
43
  "publishConfig": {
41
44
  "access": "public"
42
45
  },
46
+ "files": [
47
+ "dist"
48
+ ],
43
49
  "scripts": {
44
50
  "build": "yarn run -T tsc -b",
45
- "bundle": "yarn build && yarn pack --out dist/%s-%v.tgz",
46
- "clean": "rm -rf node_modules dist",
47
- "lint": "yarn run -T eslint . --max-warnings 0"
51
+ "bundle": "yarn build && yarn pack --out ../../out/%s-%v.tgz",
52
+ "clean": "rm -rf node_modules dist .tmp",
53
+ "update": "openapi-generator-cli generate -c ../../openapitools.json --generator-key api-client",
54
+ "check": "echo 'Skipping check: this package contains mostly generated code'",
55
+ "check:fix": "echo 'Skipping check:fix: this package contains mostly generated code'",
56
+ "format": "echo 'Skipping format: this package contains mostly generated code'"
48
57
  }
49
58
  }
@@ -1,44 +0,0 @@
1
- README.md
2
- src/apis/AssessmentApi.ts
3
- src/apis/HealthApi.ts
4
- src/apis/ImageApi.ts
5
- src/apis/InfoApi.ts
6
- src/apis/JobApi.ts
7
- src/apis/SourceApi.ts
8
- src/index.ts
9
- src/models/Agent.ts
10
- src/models/AgentProxy.ts
11
- src/models/Assessment.ts
12
- src/models/AssessmentForm.ts
13
- src/models/AssessmentUpdate.ts
14
- src/models/Datastore.ts
15
- src/models/DiskSizeTierSummary.ts
16
- src/models/DiskTypeSummary.ts
17
- src/models/Histogram.ts
18
- src/models/Host.ts
19
- src/models/Info.ts
20
- src/models/Infra.ts
21
- src/models/Inventory.ts
22
- src/models/InventoryData.ts
23
- src/models/Ipv4Config.ts
24
- src/models/Job.ts
25
- src/models/JobStatus.ts
26
- src/models/Label.ts
27
- src/models/MigrationIssue.ts
28
- src/models/ModelError.ts
29
- src/models/Network.ts
30
- src/models/OsInfo.ts
31
- src/models/PresignedUrl.ts
32
- src/models/Snapshot.ts
33
- src/models/Source.ts
34
- src/models/SourceCreate.ts
35
- src/models/SourceInfra.ts
36
- src/models/SourceUpdate.ts
37
- src/models/Status.ts
38
- src/models/UpdateInventory.ts
39
- src/models/VCenter.ts
40
- src/models/VMResourceBreakdown.ts
41
- src/models/VMs.ts
42
- src/models/VmNetwork.ts
43
- src/models/index.ts
44
- src/runtime.ts
@@ -1 +0,0 @@
1
- 7.8.0
@@ -1,30 +0,0 @@
1
- # OpenAPI Generator Ignore
2
- # Generated by openapi-generator https://github.com/openapitools/openapi-generator
3
-
4
- # Use this file to prevent files from being overwritten by the generator.
5
- # The patterns follow closely to .gitignore or .dockerignore.
6
-
7
- # As an example, the C# client generator defines ApiClient.cs.
8
- # You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
9
- #ApiClient.cs
10
-
11
- # You can match any string of characters against a directory, file or extension with a single asterisk (*):
12
- #foo/*/qux
13
- # The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
14
-
15
- # You can recursively match patterns against a directory, file or extension with a double asterisk (**):
16
- #foo/**/qux
17
- # This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
18
-
19
- # You can also negate patterns with an exclamation (!).
20
- # For example, you can ignore all files in a docs folder with the file extension .md:
21
- #docs/*.md
22
- # Then explicitly reverse the ignore rule for a single file:
23
- #!docs/README.md
24
-
25
- src/apis/index.ts
26
- package.json
27
- tsconfig.esm.json
28
- tsconfig.json
29
- .gitignore
30
- .npmignore
@@ -1,69 +0,0 @@
1
- /**
2
- * Migration Planner API
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
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 * as runtime from '../runtime';
13
- import type { Agent } from '../models/index';
14
- export interface DeleteAgentRequest {
15
- id: string;
16
- }
17
- /**
18
- * AgentApi - interface
19
- *
20
- * @export
21
- * @interface AgentApiInterface
22
- */
23
- export interface AgentApiInterface {
24
- /**
25
- * delete an agent
26
- * @param {string} id ID of the agent
27
- * @param {*} [options] Override http request option.
28
- * @throws {RequiredError}
29
- * @memberof AgentApiInterface
30
- */
31
- deleteAgentRaw(requestParameters: DeleteAgentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Agent>>;
32
- /**
33
- * delete an agent
34
- */
35
- deleteAgent(requestParameters: DeleteAgentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Agent>;
36
- /**
37
- * list agents
38
- * @param {boolean} [includeDefault] control whatever the default report should be added to the result
39
- * @param {*} [options] Override http request option.
40
- * @throws {RequiredError}
41
- * @memberof AgentApiInterface
42
- */
43
- listAgentsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<Agent>>>;
44
- /**
45
- * list agents
46
- */
47
- listAgents(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<Agent>>;
48
- }
49
- /**
50
- *
51
- */
52
- export declare class AgentApi extends runtime.BaseAPI implements AgentApiInterface {
53
- /**
54
- * delete an agent
55
- */
56
- deleteAgentRaw(requestParameters: DeleteAgentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Agent>>;
57
- /**
58
- * delete an agent
59
- */
60
- deleteAgent(requestParameters: DeleteAgentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Agent>;
61
- /**
62
- * list agents
63
- */
64
- listAgentsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<Agent>>>;
65
- /**
66
- * list agents
67
- */
68
- listAgents(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<Agent>>;
69
- }
@@ -1,82 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Migration Planner API
5
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
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
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
15
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
16
- return new (P || (P = Promise))(function (resolve, reject) {
17
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
18
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
19
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
20
- step((generator = generator.apply(thisArg, _arguments || [])).next());
21
- });
22
- };
23
- import * as runtime from '../runtime';
24
- import { AgentFromJSON, } from '../models/index';
25
- /**
26
- *
27
- */
28
- export class AgentApi extends runtime.BaseAPI {
29
- /**
30
- * delete an agent
31
- */
32
- deleteAgentRaw(requestParameters, initOverrides) {
33
- return __awaiter(this, void 0, void 0, function* () {
34
- if (requestParameters['id'] == null) {
35
- throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling deleteAgent().');
36
- }
37
- const queryParameters = {};
38
- const headerParameters = {};
39
- const response = yield this.request({
40
- path: `/api/v1/agents/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
41
- method: 'DELETE',
42
- headers: headerParameters,
43
- query: queryParameters,
44
- }, initOverrides);
45
- return new runtime.JSONApiResponse(response, (jsonValue) => AgentFromJSON(jsonValue));
46
- });
47
- }
48
- /**
49
- * delete an agent
50
- */
51
- deleteAgent(requestParameters, initOverrides) {
52
- return __awaiter(this, void 0, void 0, function* () {
53
- const response = yield this.deleteAgentRaw(requestParameters, initOverrides);
54
- return yield response.value();
55
- });
56
- }
57
- /**
58
- * list agents
59
- */
60
- listAgentsRaw(initOverrides) {
61
- return __awaiter(this, void 0, void 0, function* () {
62
- const queryParameters = {};
63
- const headerParameters = {};
64
- const response = yield this.request({
65
- path: `/api/v1/agents`,
66
- method: 'GET',
67
- headers: headerParameters,
68
- query: queryParameters,
69
- }, initOverrides);
70
- return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(AgentFromJSON));
71
- });
72
- }
73
- /**
74
- * list agents
75
- */
76
- listAgents(initOverrides) {
77
- return __awaiter(this, void 0, void 0, function* () {
78
- const response = yield this.listAgentsRaw(initOverrides);
79
- return yield response.value();
80
- });
81
- }
82
- }
@@ -1,38 +0,0 @@
1
- /**
2
- * Migration Planner API
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
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 { EventData } from './EventData';
13
- /**
14
- *
15
- * @export
16
- * @interface Event
17
- */
18
- export interface Event {
19
- /**
20
- *
21
- * @type {Date}
22
- * @memberof Event
23
- */
24
- createdAt: Date;
25
- /**
26
- *
27
- * @type {Array<EventData>}
28
- * @memberof Event
29
- */
30
- data: Array<EventData>;
31
- }
32
- /**
33
- * Check if a given object implements the Event interface.
34
- */
35
- export declare function instanceOfEvent(value: object): value is Event;
36
- export declare function EventFromJSON(json: any): Event;
37
- export declare function EventFromJSONTyped(json: any, ignoreDiscriminator: boolean): Event;
38
- export declare function EventToJSON(value?: Event | null): any;