@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.
- package/README.md +145 -28
- package/dist/apis/AssessmentApi.d.ts +3 -2
- package/dist/apis/AssessmentApi.d.ts.map +1 -0
- package/dist/apis/AssessmentApi.js +15 -7
- package/dist/apis/HealthApi.d.ts +2 -1
- package/dist/apis/HealthApi.d.ts.map +1 -0
- package/dist/apis/HealthApi.js +3 -2
- package/dist/apis/ImageApi.d.ts +3 -2
- package/dist/apis/ImageApi.d.ts.map +1 -0
- package/dist/apis/ImageApi.js +8 -4
- package/dist/apis/InfoApi.d.ts +3 -2
- package/dist/apis/InfoApi.d.ts.map +1 -0
- package/dist/apis/InfoApi.js +4 -3
- package/dist/apis/JobApi.d.ts +3 -2
- package/dist/apis/JobApi.d.ts.map +1 -0
- package/dist/apis/JobApi.js +10 -5
- package/dist/apis/SourceApi.d.ts +3 -2
- package/dist/apis/SourceApi.d.ts.map +1 -0
- package/dist/apis/SourceApi.js +20 -9
- package/dist/apis/index.d.ts +7 -7
- package/dist/apis/index.d.ts.map +1 -0
- package/dist/apis/index.js +6 -7
- package/dist/index.d.ts +4 -3
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +3 -3
- package/dist/models/Agent.d.ts +3 -1
- package/dist/models/Agent.d.ts.map +1 -0
- package/dist/models/Agent.js +6 -3
- package/dist/models/AgentProxy.d.ts +3 -1
- package/dist/models/AgentProxy.d.ts.map +1 -0
- package/dist/models/AgentProxy.js +4 -1
- package/dist/models/Assessment.d.ts +4 -2
- package/dist/models/Assessment.d.ts.map +1 -0
- package/dist/models/Assessment.js +7 -4
- package/dist/models/AssessmentForm.d.ts +4 -2
- package/dist/models/AssessmentForm.d.ts.map +1 -0
- package/dist/models/AssessmentForm.js +5 -2
- package/dist/models/AssessmentUpdate.d.ts +3 -1
- package/dist/models/AssessmentUpdate.d.ts.map +1 -0
- package/dist/models/AssessmentUpdate.js +4 -1
- package/dist/models/Datastore.d.ts +3 -1
- package/dist/models/Datastore.d.ts.map +1 -0
- package/dist/models/Datastore.js +4 -1
- package/dist/models/DiskSizeTierSummary.d.ts +3 -1
- package/dist/models/DiskSizeTierSummary.d.ts.map +1 -0
- package/dist/models/DiskSizeTierSummary.js +4 -1
- package/dist/models/DiskTypeSummary.d.ts +3 -1
- package/dist/models/DiskTypeSummary.d.ts.map +1 -0
- package/dist/models/DiskTypeSummary.js +4 -1
- package/dist/models/Histogram.d.ts +3 -1
- package/dist/models/Histogram.d.ts.map +1 -0
- package/dist/models/Histogram.js +4 -1
- package/dist/models/Host.d.ts +3 -1
- package/dist/models/Host.d.ts.map +1 -0
- package/dist/models/Host.js +4 -1
- package/dist/models/Info.d.ts +3 -1
- package/dist/models/Info.d.ts.map +1 -0
- package/dist/models/Info.js +4 -1
- package/dist/models/Infra.d.ts +6 -4
- package/dist/models/Infra.d.ts.map +1 -0
- package/dist/models/Infra.js +9 -6
- package/dist/models/Inventory.d.ts +4 -2
- package/dist/models/Inventory.d.ts.map +1 -0
- package/dist/models/Inventory.js +8 -5
- package/dist/models/InventoryData.d.ts +6 -4
- package/dist/models/InventoryData.d.ts.map +1 -0
- package/dist/models/InventoryData.js +7 -4
- package/dist/models/Ipv4Config.d.ts +3 -1
- package/dist/models/Ipv4Config.d.ts.map +1 -0
- package/dist/models/Ipv4Config.js +4 -1
- package/dist/models/Job.d.ts +4 -2
- package/dist/models/Job.d.ts.map +1 -0
- package/dist/models/Job.js +5 -2
- package/dist/models/JobStatus.d.ts +2 -0
- package/dist/models/JobStatus.d.ts.map +1 -0
- package/dist/models/JobStatus.js +3 -0
- package/dist/models/Label.d.ts +3 -1
- package/dist/models/Label.d.ts.map +1 -0
- package/dist/models/Label.js +4 -1
- package/dist/models/MigrationIssue.d.ts +3 -1
- package/dist/models/MigrationIssue.d.ts.map +1 -0
- package/dist/models/MigrationIssue.js +4 -1
- package/dist/models/ModelError.d.ts +3 -1
- package/dist/models/ModelError.d.ts.map +1 -0
- package/dist/models/ModelError.js +4 -1
- package/dist/models/Network.d.ts +3 -1
- package/dist/models/Network.d.ts.map +1 -0
- package/dist/models/Network.js +4 -1
- package/dist/models/OsInfo.d.ts +3 -1
- package/dist/models/OsInfo.d.ts.map +1 -0
- package/dist/models/OsInfo.js +4 -1
- package/dist/models/PresignedUrl.d.ts +3 -1
- package/dist/models/PresignedUrl.d.ts.map +1 -0
- package/dist/models/PresignedUrl.js +5 -2
- package/dist/models/Snapshot.d.ts +4 -2
- package/dist/models/Snapshot.d.ts.map +1 -0
- package/dist/models/Snapshot.js +6 -3
- package/dist/models/Source.d.ts +7 -5
- package/dist/models/Source.d.ts.map +1 -0
- package/dist/models/Source.js +10 -7
- package/dist/models/SourceCreate.d.ts +6 -4
- package/dist/models/SourceCreate.d.ts.map +1 -0
- package/dist/models/SourceCreate.js +7 -4
- package/dist/models/SourceInfra.d.ts +5 -3
- package/dist/models/SourceInfra.d.ts.map +1 -0
- package/dist/models/SourceInfra.js +6 -3
- package/dist/models/SourceUpdate.d.ts +6 -4
- package/dist/models/SourceUpdate.d.ts.map +1 -0
- package/dist/models/SourceUpdate.js +7 -4
- package/dist/models/Status.d.ts +3 -1
- package/dist/models/Status.d.ts.map +1 -0
- package/dist/models/Status.js +4 -1
- package/dist/models/UpdateInventory.d.ts +4 -2
- package/dist/models/UpdateInventory.d.ts.map +1 -0
- package/dist/models/UpdateInventory.js +5 -2
- package/dist/models/VCenter.d.ts +3 -1
- package/dist/models/VCenter.d.ts.map +1 -0
- package/dist/models/VCenter.js +4 -1
- package/dist/models/VMResourceBreakdown.d.ts +4 -2
- package/dist/models/VMResourceBreakdown.d.ts.map +1 -0
- package/dist/models/VMResourceBreakdown.js +5 -2
- package/dist/models/VMs.d.ts +8 -6
- package/dist/models/VMs.d.ts.map +1 -0
- package/dist/models/VMs.js +12 -9
- package/dist/models/VmNetwork.d.ts +4 -2
- package/dist/models/VmNetwork.d.ts.map +1 -0
- package/dist/models/VmNetwork.js +5 -2
- package/dist/models/index.d.ts +35 -34
- package/dist/models/index.d.ts.map +1 -0
- package/dist/models/index.js +34 -34
- package/dist/runtime.d.ts +5 -1
- package/dist/runtime.d.ts.map +1 -0
- package/dist/runtime.js +10 -2
- package/package.json +18 -9
- package/.openapi-generator/FILES +0 -44
- package/.openapi-generator/VERSION +0 -1
- package/.openapi-generator-ignore +0 -30
- package/dist/apis/AgentApi.d.ts +0 -69
- package/dist/apis/AgentApi.js +0 -82
- package/dist/models/Event.d.ts +0 -38
- package/dist/models/Event.js +0 -45
- package/dist/models/EventData.d.ts +0 -37
- package/dist/models/EventData.js +0 -44
- package/dist/models/InfraDatastoresInner.d.ts +0 -43
- package/dist/models/InfraDatastoresInner.js +0 -48
- package/dist/models/InfraNetworksInner.d.ts +0 -59
- package/dist/models/InfraNetworksInner.js +0 -57
- package/dist/models/MigrationIssuesInner.d.ts +0 -43
- package/dist/models/MigrationIssuesInner.js +0 -48
- package/dist/models/SourceAgentItem.d.ts +0 -37
- package/dist/models/SourceAgentItem.js +0 -44
- package/dist/models/SourceUpdateOnPrem.d.ts +0 -38
- package/dist/models/SourceUpdateOnPrem.js +0 -45
- package/dist/models/UploadRvtoolsFile200Response.d.ts +0 -31
- package/dist/models/UploadRvtoolsFile200Response.js +0 -38
- package/dist/models/VMResourceBreakdownHistogram.d.ts +0 -43
- package/dist/models/VMResourceBreakdownHistogram.js +0 -48
- package/src/apis/AgentApi.ts +0 -131
- package/src/apis/AssessmentApi.ts +0 -303
- package/src/apis/HealthApi.ts +0 -70
- package/src/apis/ImageApi.ts +0 -140
- package/src/apis/InfoApi.ts +0 -78
- package/src/apis/JobApi.ts +0 -226
- package/src/apis/SourceApi.ts +0 -411
- package/src/apis/index.ts +0 -50
- package/src/index.ts +0 -5
- package/src/models/Agent.ts +0 -130
- package/src/models/AgentProxy.ts +0 -76
- package/src/models/Assessment.ts +0 -140
- package/src/models/AssessmentForm.ts +0 -96
- package/src/models/AssessmentUpdate.ts +0 -60
- package/src/models/Datastore.ts +0 -132
- package/src/models/DiskSizeTierSummary.ts +0 -70
- package/src/models/DiskTypeSummary.ts +0 -70
- package/src/models/Event.ts +0 -77
- package/src/models/EventData.ts +0 -70
- package/src/models/Histogram.ts +0 -79
- package/src/models/Host.ts +0 -102
- package/src/models/Info.ts +0 -70
- package/src/models/Infra.ts +0 -174
- package/src/models/InfraDatastoresInner.ts +0 -79
- package/src/models/InfraNetworksInner.ts +0 -99
- package/src/models/Inventory.ts +0 -83
- package/src/models/InventoryData.ts +0 -97
- package/src/models/Ipv4Config.ts +0 -88
- package/src/models/Job.ts +0 -95
- package/src/models/JobStatus.ts +0 -60
- package/src/models/Label.ts +0 -70
- package/src/models/MigrationIssue.ts +0 -87
- package/src/models/MigrationIssuesInner.ts +0 -79
- package/src/models/ModelError.ts +0 -69
- package/src/models/Network.ts +0 -107
- package/src/models/OsInfo.ts +0 -78
- package/src/models/PresignedUrl.ts +0 -69
- package/src/models/Snapshot.ts +0 -77
- package/src/models/Source.ts +0 -154
- package/src/models/SourceAgentItem.ts +0 -70
- package/src/models/SourceCreate.ts +0 -120
- package/src/models/SourceInfra.ts +0 -89
- package/src/models/SourceUpdate.ts +0 -119
- package/src/models/SourceUpdateOnPrem.ts +0 -77
- package/src/models/Status.ts +0 -76
- package/src/models/UpdateInventory.ts +0 -77
- package/src/models/UploadRvtoolsFile200Response.ts +0 -60
- package/src/models/VCenter.ts +0 -61
- package/src/models/VMResourceBreakdown.ts +0 -104
- package/src/models/VMResourceBreakdownHistogram.ts +0 -79
- package/src/models/VMs.ts +0 -229
- package/src/models/VmNetwork.ts +0 -67
- package/src/models/index.ts +0 -36
- package/src/runtime.ts +0 -426
- package/tsconfig.json +0 -14
package/README.md
CHANGED
|
@@ -1,46 +1,163 @@
|
|
|
1
|
-
|
|
1
|
+
# @migration-planner-ui/api-client
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
A TypeScript SDK client for the Migration Planner API.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
* Node.js
|
|
7
|
-
* Webpack
|
|
8
|
-
* Browserify
|
|
5
|
+
## Usage
|
|
9
6
|
|
|
10
|
-
|
|
11
|
-
* ES5 - you must have a Promises/A+ library installed
|
|
12
|
-
* ES6
|
|
7
|
+
First, install the SDK from npm.
|
|
13
8
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
9
|
+
```bash
|
|
10
|
+
npm install @migration-planner-ui/api-client --save
|
|
11
|
+
```
|
|
17
12
|
|
|
18
|
-
|
|
13
|
+
Next, try it out.
|
|
19
14
|
|
|
20
|
-
### Building
|
|
21
15
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
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
|
-
|
|
45
|
+
## Documentation
|
|
31
46
|
|
|
32
|
-
###
|
|
47
|
+
### API Endpoints
|
|
33
48
|
|
|
34
|
-
|
|
49
|
+
All URIs are relative to *https://raw.githubusercontent.com*
|
|
35
50
|
|
|
36
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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)
|
|
@@ -9,8 +9,8 @@
|
|
|
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,CAA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C,CAAC;IA0B3K;;OAEG;IACG,gBAAgB,CAAC,iBAAiB,EAAE,uBAAuB,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,UAAU,CAAC;IAKnJ;;OAEG;IACG,gBAAgB,CAAC,iBAAiB,EAAE,oBAAoB,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,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"}
|
|
@@ -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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
163
|
+
path: urlPath,
|
|
156
164
|
method: 'PUT',
|
|
157
165
|
headers: headerParameters,
|
|
158
166
|
query: queryParameters,
|
package/dist/apis/HealthApi.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
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"}
|
package/dist/apis/HealthApi.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
|
-
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:
|
|
37
|
+
path: urlPath,
|
|
37
38
|
method: 'GET',
|
|
38
39
|
headers: headerParameters,
|
|
39
40
|
query: queryParameters,
|
package/dist/apis/ImageApi.d.ts
CHANGED
|
@@ -9,8 +9,8 @@
|
|
|
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;AAED,MAAM,WAAW,gBAAgB;IAC7B,EAAE,EAAE,MAAM,CAAC;CACd;AAED;;;;;GAKG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;;;;;OAMG;IACH,uBAAuB,CAAC,iBAAiB,EAAE,2BAA2B,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC,CAAC;IAEhL;;OAEG;IACH,oBAAoB,CAAC,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iter) || 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:
|
|
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:
|
|
72
|
+
path: urlPath,
|
|
69
73
|
method: 'HEAD',
|
|
70
74
|
headers: headerParameters,
|
|
71
75
|
query: queryParameters,
|
package/dist/apis/InfoApi.d.ts
CHANGED
|
@@ -9,8 +9,8 @@
|
|
|
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"}
|
package/dist/apis/InfoApi.js
CHANGED
|
@@ -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:
|
|
38
|
+
path: urlPath,
|
|
38
39
|
method: 'GET',
|
|
39
40
|
headers: headerParameters,
|
|
40
41
|
query: queryParameters,
|
package/dist/apis/JobApi.d.ts
CHANGED
|
@@ -9,8 +9,8 @@
|
|
|
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,KA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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:
|
|
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:
|
|
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:
|
|
126
|
+
path: urlPath,
|
|
122
127
|
method: 'GET',
|
|
123
128
|
headers: headerParameters,
|
|
124
129
|
query: queryParameters,
|
package/dist/apis/SourceApi.d.ts
CHANGED
|
@@ -9,8 +9,8 @@
|
|
|
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;CACpC;AAED,MAAM,WAAW,mBAAmB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,YAAY,EAAE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,CAAC,CAAC,CAAC;IAkB7H;;OAEG;IACG,WAAW,CAAC,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAKrG;;OAEG;IACG,kBAAkB,CAAC,iBAAiB,EAAE,sBAAsB,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;IAoCrK;;OAEG;IACG,eAAe,CAAC,iBAAiB,EAAE,sBAAsB,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,MAAM,CAAC;IAK7I;;OAEG;IACG,eAAe,CAAC,iBAAiB,EAAE,mBAAmB,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;IAoC/J;;OAEG;IACG,YAAY,CAAC,iBAAiB,EAAE,mBAAmB,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,MAAM,CAAC;CAK1I"}
|
package/dist/apis/SourceApi.js
CHANGED
|
@@ -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 { SourceFromJSON, SourceCreateToJSON, SourceUpdateToJSON, StatusFromJSON, UpdateInventoryToJSON, } from '../models/index';
|
|
23
|
+
import * as runtime from '../runtime.js';
|
|
24
|
+
import { SourceFromJSON, SourceCreateToJSON, SourceUpdateToJSON, StatusFromJSON, UpdateInventoryToJSON, } from '../models/index.js';
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
@@ -37,8 +37,9 @@ export class SourceApi extends runtime.BaseAPI {
|
|
|
37
37
|
const queryParameters = {};
|
|
38
38
|
const headerParameters = {};
|
|
39
39
|
headerParameters['Content-Type'] = 'application/json';
|
|
40
|
+
let urlPath = `/api/v1/sources`;
|
|
40
41
|
const response = yield this.request({
|
|
41
|
-
path:
|
|
42
|
+
path: urlPath,
|
|
42
43
|
method: 'POST',
|
|
43
44
|
headers: headerParameters,
|
|
44
45
|
query: queryParameters,
|
|
@@ -66,8 +67,10 @@ export class SourceApi extends runtime.BaseAPI {
|
|
|
66
67
|
}
|
|
67
68
|
const queryParameters = {};
|
|
68
69
|
const headerParameters = {};
|
|
70
|
+
let urlPath = `/api/v1/sources/{id}`;
|
|
71
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
69
72
|
const response = yield this.request({
|
|
70
|
-
path:
|
|
73
|
+
path: urlPath,
|
|
71
74
|
method: 'DELETE',
|
|
72
75
|
headers: headerParameters,
|
|
73
76
|
query: queryParameters,
|
|
@@ -91,8 +94,9 @@ export class SourceApi extends runtime.BaseAPI {
|
|
|
91
94
|
return __awaiter(this, void 0, void 0, function* () {
|
|
92
95
|
const queryParameters = {};
|
|
93
96
|
const headerParameters = {};
|
|
97
|
+
let urlPath = `/api/v1/sources`;
|
|
94
98
|
const response = yield this.request({
|
|
95
|
-
path:
|
|
99
|
+
path: urlPath,
|
|
96
100
|
method: 'DELETE',
|
|
97
101
|
headers: headerParameters,
|
|
98
102
|
query: queryParameters,
|
|
@@ -119,8 +123,10 @@ export class SourceApi extends runtime.BaseAPI {
|
|
|
119
123
|
}
|
|
120
124
|
const queryParameters = {};
|
|
121
125
|
const headerParameters = {};
|
|
126
|
+
let urlPath = `/api/v1/sources/{id}`;
|
|
127
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
122
128
|
const response = yield this.request({
|
|
123
|
-
path:
|
|
129
|
+
path: urlPath,
|
|
124
130
|
method: 'GET',
|
|
125
131
|
headers: headerParameters,
|
|
126
132
|
query: queryParameters,
|
|
@@ -144,8 +150,9 @@ export class SourceApi extends runtime.BaseAPI {
|
|
|
144
150
|
return __awaiter(this, void 0, void 0, function* () {
|
|
145
151
|
const queryParameters = {};
|
|
146
152
|
const headerParameters = {};
|
|
153
|
+
let urlPath = `/api/v1/sources`;
|
|
147
154
|
const response = yield this.request({
|
|
148
|
-
path:
|
|
155
|
+
path: urlPath,
|
|
149
156
|
method: 'GET',
|
|
150
157
|
headers: headerParameters,
|
|
151
158
|
query: queryParameters,
|
|
@@ -176,8 +183,10 @@ export class SourceApi extends runtime.BaseAPI {
|
|
|
176
183
|
const queryParameters = {};
|
|
177
184
|
const headerParameters = {};
|
|
178
185
|
headerParameters['Content-Type'] = 'application/json';
|
|
186
|
+
let urlPath = `/api/v1/sources/{id}/inventory`;
|
|
187
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
179
188
|
const response = yield this.request({
|
|
180
|
-
path:
|
|
189
|
+
path: urlPath,
|
|
181
190
|
method: 'PUT',
|
|
182
191
|
headers: headerParameters,
|
|
183
192
|
query: queryParameters,
|
|
@@ -209,8 +218,10 @@ export class SourceApi extends runtime.BaseAPI {
|
|
|
209
218
|
const queryParameters = {};
|
|
210
219
|
const headerParameters = {};
|
|
211
220
|
headerParameters['Content-Type'] = 'application/json';
|
|
221
|
+
let urlPath = `/api/v1/sources/{id}`;
|
|
222
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
212
223
|
const response = yield this.request({
|
|
213
|
-
path:
|
|
224
|
+
path: urlPath,
|
|
214
225
|
method: 'PUT',
|
|
215
226
|
headers: headerParameters,
|
|
216
227
|
query: queryParameters,
|
package/dist/apis/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
|
|
1
|
+
export * from './AssessmentApi.js';
|
|
2
|
+
export * from './HealthApi.js';
|
|
3
|
+
export * from './ImageApi.js';
|
|
4
|
+
export * from './InfoApi.js';
|
|
5
|
+
export * from './JobApi.js';
|
|
6
|
+
export * from './SourceApi.js';
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/apis/index.ts"],"names":[],"mappings":"AAEA,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC"}
|