@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
package/README.md CHANGED
@@ -1,46 +1,163 @@
1
- ## @migration-planner-ui/api-client@1.0.0-alpha
1
+ # @migration-planner-ui/api-client
2
2
 
3
- This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
3
+ A TypeScript SDK client for the Migration Planner API.
4
4
 
5
- Environment
6
- * Node.js
7
- * Webpack
8
- * Browserify
5
+ ## Usage
9
6
 
10
- Language level
11
- * ES5 - you must have a Promises/A+ library installed
12
- * ES6
7
+ First, install the SDK from npm.
13
8
 
14
- Module system
15
- * CommonJS
16
- * ES6 module system
9
+ ```bash
10
+ npm install @migration-planner-ui/api-client --save
11
+ ```
17
12
 
18
- It can be used in both TypeScript and JavaScript. In TypeScript, the definition will be automatically resolved via `package.json`. ([Reference](https://www.typescriptlang.org/docs/handbook/declaration-files/consumption.html))
13
+ Next, try it out.
19
14
 
20
- ### Building
21
15
 
22
- To build and compile the typescript sources to javascript use:
23
- ```
24
- npm install
25
- npm run build
16
+ ```ts
17
+ import {
18
+ Configuration,
19
+ AssessmentApi,
20
+ } from '@migration-planner-ui/api-client';
21
+ import type { CreateAssessmentRequest } from '@migration-planner-ui/api-client';
22
+
23
+ async function example() {
24
+ console.log("🚀 Testing @migration-planner-ui/api-client SDK...");
25
+ const api = new AssessmentApi();
26
+
27
+ const body = {
28
+ // AssessmentForm
29
+ assessmentForm: ...,
30
+ } satisfies CreateAssessmentRequest;
31
+
32
+ try {
33
+ const data = await api.createAssessment(body);
34
+ console.log(data);
35
+ } catch (error) {
36
+ console.error(error);
37
+ }
38
+ }
39
+
40
+ // Run the test
41
+ example().catch(console.error);
26
42
  ```
27
43
 
28
- ### Publishing
29
44
 
30
- First build the package then run `npm publish`
45
+ ## Documentation
31
46
 
32
- ### Consuming
47
+ ### API Endpoints
33
48
 
34
- navigate to the folder of your consuming project and run one of the following commands.
49
+ All URIs are relative to *https://raw.githubusercontent.com*
35
50
 
36
- _published:_
51
+ | Class | Method | HTTP request | Description
52
+ | ----- | ------ | ------------ | -------------
53
+ *AssessmentApi* | [**createAssessment**](docs/AssessmentApi.md#createassessment) | **POST** /api/v1/assessments |
54
+ *AssessmentApi* | [**deleteAssessment**](docs/AssessmentApi.md#deleteassessment) | **DELETE** /api/v1/assessments/{id} |
55
+ *AssessmentApi* | [**getAssessment**](docs/AssessmentApi.md#getassessment) | **GET** /api/v1/assessments/{id} |
56
+ *AssessmentApi* | [**listAssessments**](docs/AssessmentApi.md#listassessments) | **GET** /api/v1/assessments |
57
+ *AssessmentApi* | [**updateAssessment**](docs/AssessmentApi.md#updateassessment) | **PUT** /api/v1/assessments/{id} |
58
+ *HealthApi* | [**health**](docs/HealthApi.md#health) | **GET** /health |
59
+ *ImageApi* | [**getSourceDownloadURL**](docs/ImageApi.md#getsourcedownloadurl) | **GET** /api/v1/sources/{id}/image-url |
60
+ *ImageApi* | [**headImage**](docs/ImageApi.md#headimage) | **HEAD** /api/v1/sources/{id}/image |
61
+ *InfoApi* | [**getInfo**](docs/InfoApi.md#getinfo) | **GET** /api/v1/info |
62
+ *JobApi* | [**cancelJob**](docs/JobApi.md#canceljob) | **DELETE** /api/v1/assessments/jobs/{id} |
63
+ *JobApi* | [**createRVToolsAssessment**](docs/JobApi.md#creatervtoolsassessment) | **POST** /api/v1/assessments/rvtools |
64
+ *JobApi* | [**getJob**](docs/JobApi.md#getjob) | **GET** /api/v1/assessments/jobs/{id} |
65
+ *SourceApi* | [**createSource**](docs/SourceApi.md#createsource) | **POST** /api/v1/sources |
66
+ *SourceApi* | [**deleteSource**](docs/SourceApi.md#deletesource) | **DELETE** /api/v1/sources/{id} |
67
+ *SourceApi* | [**deleteSources**](docs/SourceApi.md#deletesources) | **DELETE** /api/v1/sources |
68
+ *SourceApi* | [**getSource**](docs/SourceApi.md#getsource) | **GET** /api/v1/sources/{id} |
69
+ *SourceApi* | [**listSources**](docs/SourceApi.md#listsources) | **GET** /api/v1/sources |
70
+ *SourceApi* | [**updateInventory**](docs/SourceApi.md#updateinventory) | **PUT** /api/v1/sources/{id}/inventory |
71
+ *SourceApi* | [**updateSource**](docs/SourceApi.md#updatesource) | **PUT** /api/v1/sources/{id} |
72
+
73
+
74
+ ### Models
75
+
76
+ - [Agent](docs/Agent.md)
77
+ - [AgentProxy](docs/AgentProxy.md)
78
+ - [Assessment](docs/Assessment.md)
79
+ - [AssessmentForm](docs/AssessmentForm.md)
80
+ - [AssessmentUpdate](docs/AssessmentUpdate.md)
81
+ - [Datastore](docs/Datastore.md)
82
+ - [DiskSizeTierSummary](docs/DiskSizeTierSummary.md)
83
+ - [DiskTypeSummary](docs/DiskTypeSummary.md)
84
+ - [Histogram](docs/Histogram.md)
85
+ - [Host](docs/Host.md)
86
+ - [Info](docs/Info.md)
87
+ - [Infra](docs/Infra.md)
88
+ - [Inventory](docs/Inventory.md)
89
+ - [InventoryData](docs/InventoryData.md)
90
+ - [Ipv4Config](docs/Ipv4Config.md)
91
+ - [Job](docs/Job.md)
92
+ - [JobStatus](docs/JobStatus.md)
93
+ - [Label](docs/Label.md)
94
+ - [MigrationIssue](docs/MigrationIssue.md)
95
+ - [ModelError](docs/ModelError.md)
96
+ - [Network](docs/Network.md)
97
+ - [OsInfo](docs/OsInfo.md)
98
+ - [PresignedUrl](docs/PresignedUrl.md)
99
+ - [Snapshot](docs/Snapshot.md)
100
+ - [Source](docs/Source.md)
101
+ - [SourceCreate](docs/SourceCreate.md)
102
+ - [SourceInfra](docs/SourceInfra.md)
103
+ - [SourceUpdate](docs/SourceUpdate.md)
104
+ - [Status](docs/Status.md)
105
+ - [UpdateInventory](docs/UpdateInventory.md)
106
+ - [VCenter](docs/VCenter.md)
107
+ - [VMResourceBreakdown](docs/VMResourceBreakdown.md)
108
+ - [VMs](docs/VMs.md)
109
+ - [VmNetwork](docs/VmNetwork.md)
110
+
111
+ ### Authorization
112
+
113
+ Endpoints do not require authorization.
37
114
 
38
- ```
39
- npm install @migration-planner-ui/api-client@1.0.0-alpha --save
40
- ```
41
115
 
42
- _unPublished (not recommended):_
116
+ ## About
43
117
 
118
+ This TypeScript SDK client supports the [Fetch API](https://fetch.spec.whatwg.org/)
119
+ and is automatically generated by the
120
+ [OpenAPI Generator](https://openapi-generator.tech) project:
121
+
122
+ - API version: `undefined`
123
+ - Package version: `1.0.0-alpha`
124
+ - Generator version: `7.18.0`
125
+ - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
126
+
127
+ The generated npm module supports the following:
128
+
129
+ - Environments
130
+ * Node.js
131
+ * Webpack
132
+ * Browserify
133
+ - Language levels
134
+ * ES5 - you must have a Promises/A+ library installed
135
+ * ES6
136
+ - Module systems
137
+ * CommonJS
138
+ * ES6 module system
139
+
140
+
141
+ ## Development
142
+
143
+ ### Building
144
+
145
+ To build the TypeScript source code, you need to have Node.js and npm installed.
146
+ After cloning the repository, navigate to the project directory and run:
147
+
148
+ ```bash
149
+ npm install
150
+ npm run build
44
151
  ```
45
- npm install PATH_TO_GENERATED_PACKAGE --save
152
+
153
+ ### Publishing
154
+
155
+ Once you've built the package, you can publish it to npm:
156
+
157
+ ```bash
158
+ npm publish
46
159
  ```
160
+
161
+ ## License
162
+
163
+ [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0.html)
@@ -1,16 +1,16 @@
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 * as runtime from '../runtime';
13
- import type { Assessment, AssessmentForm, AssessmentUpdate } from '../models/index';
12
+ import * as runtime from '../runtime.js';
13
+ import type { Assessment, AssessmentForm, AssessmentUpdate } from '../models/index.js';
14
14
  export interface CreateAssessmentRequest {
15
15
  assessmentForm: AssessmentForm;
16
16
  }
@@ -137,3 +137,4 @@ export declare class AssessmentApi extends runtime.BaseAPI implements Assessment
137
137
  */
138
138
  updateAssessment(requestParameters: UpdateAssessmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Assessment>;
139
139
  }
140
+ //# sourceMappingURL=AssessmentApi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AssessmentApi.d.ts","sourceRoot":"","sources":["../../src/apis/AssessmentApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,OAAO,MAAM,eAAe,CAAC;AACzC,OAAO,KAAK,EACV,UAAU,EACV,cAAc,EACd,gBAAgB,EACjB,MAAM,oBAAoB,CAAC;AAU5B,MAAM,WAAW,uBAAuB;IACpC,cAAc,EAAE,cAAc,CAAC;CAClC;AAED,MAAM,WAAW,uBAAuB;IACpC,EAAE,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,oBAAoB;IACjC,EAAE,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,uBAAuB;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,gBAAgB,EAAE,gBAAgB,CAAC;CACtC;AAED;;;;;GAKG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;;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AO,CAAC,OAAO,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;IA0BrK;;OAEG;IACG,aAAa,CAAC,iBAAiB,EAAE,oBAAoB,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,UAAU,CAAC;IAK7I;;OAEG;IACG,kBAAkB,CAAC,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC;IAkBrI;;OAEG;IACG,eAAe,CAAC,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;IAK7G;;OAEG;IACG,mBAAmB,CAAC,iBAAiB,EAAE,uBAAuB,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;IAoC3K;;OAEG;IACG,gBAAgB,CAAC,iBAAiB,EAAE,uBAAuB,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,UAAU,CAAC;CAKtJ"}
@@ -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).
@@ -20,8 +20,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
20
20
  step((generator = generator.apply(thisArg, _arguments || [])).next());
21
21
  });
22
22
  };
23
- import * as runtime from '../runtime';
24
- import { AssessmentFromJSON, AssessmentFormToJSON, AssessmentUpdateToJSON, } from '../models/index';
23
+ import * as runtime from '../runtime.js';
24
+ import { AssessmentFromJSON, AssessmentFormToJSON, AssessmentUpdateToJSON, } from '../models/index.js';
25
25
  /**
26
26
  *
27
27
  */
@@ -37,8 +37,9 @@ export class AssessmentApi extends runtime.BaseAPI {
37
37
  const queryParameters = {};
38
38
  const headerParameters = {};
39
39
  headerParameters['Content-Type'] = 'application/json';
40
+ let urlPath = `/api/v1/assessments`;
40
41
  const response = yield this.request({
41
- path: `/api/v1/assessments`,
42
+ path: urlPath,
42
43
  method: 'POST',
43
44
  headers: headerParameters,
44
45
  query: queryParameters,
@@ -66,8 +67,10 @@ export class AssessmentApi extends runtime.BaseAPI {
66
67
  }
67
68
  const queryParameters = {};
68
69
  const headerParameters = {};
70
+ let urlPath = `/api/v1/assessments/{id}`;
71
+ urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
69
72
  const response = yield this.request({
70
- path: `/api/v1/assessments/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
73
+ path: urlPath,
71
74
  method: 'DELETE',
72
75
  headers: headerParameters,
73
76
  query: queryParameters,
@@ -94,8 +97,10 @@ export class AssessmentApi extends runtime.BaseAPI {
94
97
  }
95
98
  const queryParameters = {};
96
99
  const headerParameters = {};
100
+ let urlPath = `/api/v1/assessments/{id}`;
101
+ urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
97
102
  const response = yield this.request({
98
- path: `/api/v1/assessments/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
103
+ path: urlPath,
99
104
  method: 'GET',
100
105
  headers: headerParameters,
101
106
  query: queryParameters,
@@ -119,8 +124,9 @@ export class AssessmentApi extends runtime.BaseAPI {
119
124
  return __awaiter(this, void 0, void 0, function* () {
120
125
  const queryParameters = {};
121
126
  const headerParameters = {};
127
+ let urlPath = `/api/v1/assessments`;
122
128
  const response = yield this.request({
123
- path: `/api/v1/assessments`,
129
+ path: urlPath,
124
130
  method: 'GET',
125
131
  headers: headerParameters,
126
132
  query: queryParameters,
@@ -151,8 +157,10 @@ export class AssessmentApi extends runtime.BaseAPI {
151
157
  const queryParameters = {};
152
158
  const headerParameters = {};
153
159
  headerParameters['Content-Type'] = 'application/json';
160
+ let urlPath = `/api/v1/assessments/{id}`;
161
+ urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
154
162
  const response = yield this.request({
155
- path: `/api/v1/assessments/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
163
+ path: urlPath,
156
164
  method: 'PUT',
157
165
  headers: headerParameters,
158
166
  query: queryParameters,
@@ -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 * as runtime from '../runtime';
12
+ import * as runtime from '../runtime.js';
13
13
  /**
14
14
  * HealthApi - interface
15
15
  *
@@ -42,3 +42,4 @@ export declare class HealthApi extends runtime.BaseAPI implements HealthApiInter
42
42
  */
43
43
  health(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
44
44
  }
45
+ //# sourceMappingURL=HealthApi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HealthApi.d.ts","sourceRoot":"","sources":["../../src/apis/HealthApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,OAAO,MAAM,eAAe,CAAC;AAEzC;;;;;GAKG;AACH,MAAM,WAAW,kBAAkB;IAC/B;;;;;OAKG;IACH,SAAS,CAAC,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC;IAE1G;;OAEG;IACH,MAAM,CAAC,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAErF;AAED;;GAEG;AACH,qBAAa,SAAU,SAAQ,OAAO,CAAC,OAAQ,YAAW,kBAAkB;IAExE;;OAEG;IACG,SAAS,CAAC,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;IAkB/G;;OAEG;IACG,MAAM,CAAC,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,IAAI,CAAC;CAI1F"}
@@ -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).
@@ -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
- import * as runtime from '../runtime';
23
+ import * as runtime from '../runtime.js';
24
24
  /**
25
25
  *
26
26
  */
@@ -32,8 +32,9 @@ export class HealthApi extends runtime.BaseAPI {
32
32
  return __awaiter(this, void 0, void 0, function* () {
33
33
  const queryParameters = {};
34
34
  const headerParameters = {};
35
+ let urlPath = `/health`;
35
36
  const response = yield this.request({
36
- path: `/health`,
37
+ path: urlPath,
37
38
  method: 'GET',
38
39
  headers: headerParameters,
39
40
  query: queryParameters,
@@ -1,16 +1,16 @@
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 * as runtime from '../runtime';
13
- import type { PresignedUrl } from '../models/index';
12
+ import * as runtime from '../runtime.js';
13
+ import type { PresignedUrl } from '../models/index.js';
14
14
  export interface GetSourceDownloadURLRequest {
15
15
  id: string;
16
16
  }
@@ -70,3 +70,4 @@ export declare class ImageApi extends runtime.BaseAPI implements ImageApiInterfa
70
70
  */
71
71
  headImage(requestParameters: HeadImageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
72
72
  }
73
+ //# sourceMappingURL=ImageApi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ImageApi.d.ts","sourceRoot":"","sources":["../../src/apis/ImageApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,OAAO,MAAM,eAAe,CAAC;AACzC,OAAO,KAAK,EACV,YAAY,EACb,MAAM,oBAAoB,CAAC;AAM5B,MAAM,WAAW,2BAA2B;IACxC,EAAE,EAAE,MAAM,CAAC;CACd;AA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AE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;IA0BvJ;;OAEG;IACG,SAAS,CAAC,iBAAiB,EAAE,gBAAgB,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,IAAI,CAAC;CAIlI"}
@@ -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).
@@ -20,8 +20,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
20
20
  step((generator = generator.apply(thisArg, _arguments || [])).next());
21
21
  });
22
22
  };
23
- import * as runtime from '../runtime';
24
- import { PresignedUrlFromJSON, } from '../models/index';
23
+ import * as runtime from '../runtime.js';
24
+ import { PresignedUrlFromJSON, } from '../models/index.js';
25
25
  /**
26
26
  *
27
27
  */
@@ -36,8 +36,10 @@ export class ImageApi extends runtime.BaseAPI {
36
36
  }
37
37
  const queryParameters = {};
38
38
  const headerParameters = {};
39
+ let urlPath = `/api/v1/sources/{id}/image-url`;
40
+ urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
39
41
  const response = yield this.request({
40
- path: `/api/v1/sources/{id}/image-url`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
42
+ path: urlPath,
41
43
  method: 'GET',
42
44
  headers: headerParameters,
43
45
  query: queryParameters,
@@ -64,8 +66,10 @@ export class ImageApi extends runtime.BaseAPI {
64
66
  }
65
67
  const queryParameters = {};
66
68
  const headerParameters = {};
69
+ let urlPath = `/api/v1/sources/{id}/image`;
70
+ urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
67
71
  const response = yield this.request({
68
- path: `/api/v1/sources/{id}/image`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
72
+ path: urlPath,
69
73
  method: 'HEAD',
70
74
  headers: headerParameters,
71
75
  query: queryParameters,
@@ -1,16 +1,16 @@
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 * as runtime from '../runtime';
13
- import type { Info } from '../models/index';
12
+ import * as runtime from '../runtime.js';
13
+ import type { Info } from '../models/index.js';
14
14
  /**
15
15
  * InfoApi - interface
16
16
  *
@@ -43,3 +43,4 @@ export declare class InfoApi extends runtime.BaseAPI implements InfoApiInterface
43
43
  */
44
44
  getInfo(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Info>;
45
45
  }
46
+ //# sourceMappingURL=InfoApi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InfoApi.d.ts","sourceRoot":"","sources":["../../src/apis/InfoApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,OAAO,MAAM,eAAe,CAAC;AACzC,OAAO,KAAK,EACV,IAAI,EACL,MAAM,oBAAoB,CAAC;AAM5B;;;;;GAKG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;;;;OAKG;IACH,UAAU,CAAC,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC;IAE3G;;OAEG;IACH,OAAO,CAAC,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAEtF;AAED;;GAEG;AACH,qBAAa,OAAQ,SAAQ,OAAO,CAAC,OAAQ,YAAW,gBAAgB;IAEpE;;OAEG;IACG,UAAU,CAAC,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;IAkBhH;;OAEG;IACG,OAAO,CAAC,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,IAAI,CAAC;CAK3F"}
@@ -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).
@@ -20,8 +20,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
20
20
  step((generator = generator.apply(thisArg, _arguments || [])).next());
21
21
  });
22
22
  };
23
- import * as runtime from '../runtime';
24
- import { InfoFromJSON, } from '../models/index';
23
+ import * as runtime from '../runtime.js';
24
+ import { InfoFromJSON, } from '../models/index.js';
25
25
  /**
26
26
  *
27
27
  */
@@ -33,8 +33,9 @@ export class InfoApi extends runtime.BaseAPI {
33
33
  return __awaiter(this, void 0, void 0, function* () {
34
34
  const queryParameters = {};
35
35
  const headerParameters = {};
36
+ let urlPath = `/api/v1/info`;
36
37
  const response = yield this.request({
37
- path: `/api/v1/info`,
38
+ path: urlPath,
38
39
  method: 'GET',
39
40
  headers: headerParameters,
40
41
  query: queryParameters,
@@ -1,16 +1,16 @@
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 * as runtime from '../runtime';
13
- import type { Job } from '../models/index';
12
+ import * as runtime from '../runtime.js';
13
+ import type { Job } from '../models/index.js';
14
14
  export interface CancelJobRequest {
15
15
  id: number;
16
16
  }
@@ -95,3 +95,4 @@ export declare class JobApi extends runtime.BaseAPI implements JobApiInterface {
95
95
  */
96
96
  getJob(requestParameters: GetJobRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Job>;
97
97
  }
98
+ //# sourceMappingURL=JobApi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"JobApi.d.ts","sourceRoot":"","sources":["../../src/apis/JobApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,OAAO,MAAM,eAAe,CAAC;AACzC,OAAO,KAAK,EACV,GAAG,EACJ,MAAM,oBAAoB,CAAC;AAM5B,MAAM,WAAW,gBAAgB;IAC7B,EAAE,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,8BAA8B;IAC3C,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,IAAI,CAAC;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AAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;IA0BtJ;;OAEG;IACG,SAAS,CAAC,iBAAiB,EAAE,gBAAgB,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,GAAG,CAAC;IAK9H;;OAEG;IACG,0BAA0B,CAAC,iBAAiB,EAAE,8BAA8B,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;IAyDlL;;OAEG;IACG,uBAAuB,CAAC,iBAAiB,EAAE,8BAA8B,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,GAAG,CAAC;IAK1J;;OAEG;IACG,SAAS,CAAC,iBAAiB,EAAE,aAAa,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;IA0BhJ;;OAEG;IACG,MAAM,CAAC,iBAAiB,EAAE,aAAa,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,GAAG,CAAC;CAK3H"}
@@ -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).
@@ -20,8 +20,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
20
20
  step((generator = generator.apply(thisArg, _arguments || [])).next());
21
21
  });
22
22
  };
23
- import * as runtime from '../runtime';
24
- import { JobFromJSON, } from '../models/index';
23
+ import * as runtime from '../runtime.js';
24
+ import { JobFromJSON, } from '../models/index.js';
25
25
  /**
26
26
  *
27
27
  */
@@ -36,8 +36,10 @@ export class JobApi extends runtime.BaseAPI {
36
36
  }
37
37
  const queryParameters = {};
38
38
  const headerParameters = {};
39
+ let urlPath = `/api/v1/assessments/jobs/{id}`;
40
+ urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
39
41
  const response = yield this.request({
40
- path: `/api/v1/assessments/jobs/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
42
+ path: urlPath,
41
43
  method: 'DELETE',
42
44
  headers: headerParameters,
43
45
  query: queryParameters,
@@ -88,8 +90,9 @@ export class JobApi extends runtime.BaseAPI {
88
90
  if (requestParameters['file'] != null) {
89
91
  formParams.append('file', requestParameters['file']);
90
92
  }
93
+ let urlPath = `/api/v1/assessments/rvtools`;
91
94
  const response = yield this.request({
92
- path: `/api/v1/assessments/rvtools`,
95
+ path: urlPath,
93
96
  method: 'POST',
94
97
  headers: headerParameters,
95
98
  query: queryParameters,
@@ -117,8 +120,10 @@ export class JobApi extends runtime.BaseAPI {
117
120
  }
118
121
  const queryParameters = {};
119
122
  const headerParameters = {};
123
+ let urlPath = `/api/v1/assessments/jobs/{id}`;
124
+ urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
120
125
  const response = yield this.request({
121
- path: `/api/v1/assessments/jobs/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
126
+ path: urlPath,
122
127
  method: 'GET',
123
128
  headers: headerParameters,
124
129
  query: queryParameters,
@@ -1,16 +1,16 @@
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 * as runtime from '../runtime';
13
- import type { Source, SourceCreate, SourceUpdate, Status, UpdateInventory } from '../models/index';
12
+ import * as runtime from '../runtime.js';
13
+ import type { Source, SourceCreate, SourceUpdate, Status, UpdateInventory } from '../models/index.js';
14
14
  export interface CreateSourceRequest {
15
15
  sourceCreate: SourceCreate;
16
16
  }
@@ -181,3 +181,4 @@ export declare class SourceApi extends runtime.BaseAPI implements SourceApiInter
181
181
  */
182
182
  updateSource(requestParameters: UpdateSourceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Source>;
183
183
  }
184
+ //# sourceMappingURL=SourceApi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SourceApi.d.ts","sourceRoot":"","sources":["../../src/apis/SourceApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,OAAO,MAAM,eAAe,CAAC;AACzC,OAAO,KAAK,EACV,MAAM,EACN,YAAY,EACZ,YAAY,EACZ,MAAM,EACN,eAAe,EAChB,MAAM,oBAAoB,CAAC;AAc5B,MAAM,WAAW,mBAAmB;IAChC,YAAY,EAAE,YAAY,CAAC;CAC9B;AAED,MAAM,WAAW,mBAAmB;IAChC,EAAE,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,gBAAgB;IAC7B,EAAE,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,sBAAsB;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,eAAe,EAAE,eAAe,CAAC;C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