@openshift-migration-advisor/planner-sdk 0.13.1-5b03e25a9bc5 → 0.13.2-b3e704dc90b2
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 +2 -2
- package/dist/esm/models/Inventory.js +1 -1
- package/dist/esm/models/JobStatus.d.ts +3 -3
- package/dist/esm/models/JobStatus.js +3 -3
- package/dist/models/Inventory.js +1 -1
- package/dist/models/JobStatus.d.ts +3 -3
- package/dist/models/JobStatus.js +3 -3
- package/docs/JobStatus.md +1 -1
- package/package.json +1 -1
- package/src/models/Inventory.ts +1 -1
- package/src/models/JobStatus.ts +3 -3
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @openshift-migration-advisor/planner-sdk@0.13.
|
|
1
|
+
# @openshift-migration-advisor/planner-sdk@0.13.2-b3e704dc90b2
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the raw.githubusercontent.com API.
|
|
4
4
|
|
|
@@ -181,7 +181,7 @@ and is automatically generated by the
|
|
|
181
181
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
182
182
|
|
|
183
183
|
- API version: `v1alpha1`
|
|
184
|
-
- Package version: `0.13.
|
|
184
|
+
- Package version: `0.13.2-b3e704dc90b2`
|
|
185
185
|
- Generator version: `7.23.0-SNAPSHOT`
|
|
186
186
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
187
187
|
|
|
@@ -17,7 +17,7 @@ import { InventoryDataFromJSON, InventoryDataToJSON, } from './InventoryData.js'
|
|
|
17
17
|
* Check if a given object implements the Inventory interface.
|
|
18
18
|
*/
|
|
19
19
|
export function instanceOfInventory(value) {
|
|
20
|
-
if (!('vcenterId' in value) || value['vcenterId'] === undefined)
|
|
20
|
+
if ((!('vcenterId' in value) && !('vcenter_id' in value)) || (value['vcenterId'] === undefined && value['vcenter_id'] === undefined))
|
|
21
21
|
return false;
|
|
22
22
|
if (!('clusters' in value) || value['clusters'] === undefined)
|
|
23
23
|
return false;
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
/**
|
|
13
13
|
* Job status:
|
|
14
14
|
* * `pending` - Job is queued
|
|
15
|
-
* * `
|
|
16
|
-
* * `
|
|
15
|
+
* * `validating` - Ingesting and validating RVTools file
|
|
16
|
+
* * `parsing` - Building inventory from validated data
|
|
17
17
|
* * `completed` - Assessment created successfully
|
|
18
18
|
* * `failed` - Job failed with error
|
|
19
19
|
* * `cancelled` - Job was cancelled
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
*/
|
|
23
23
|
export declare const JobStatus: {
|
|
24
24
|
readonly Pending: "pending";
|
|
25
|
-
readonly Parsing: "parsing";
|
|
26
25
|
readonly Validating: "validating";
|
|
26
|
+
readonly Parsing: "parsing";
|
|
27
27
|
readonly Completed: "completed";
|
|
28
28
|
readonly Failed: "failed";
|
|
29
29
|
readonly Cancelled: "cancelled";
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
/**
|
|
15
15
|
* Job status:
|
|
16
16
|
* * `pending` - Job is queued
|
|
17
|
-
* * `
|
|
18
|
-
* * `
|
|
17
|
+
* * `validating` - Ingesting and validating RVTools file
|
|
18
|
+
* * `parsing` - Building inventory from validated data
|
|
19
19
|
* * `completed` - Assessment created successfully
|
|
20
20
|
* * `failed` - Job failed with error
|
|
21
21
|
* * `cancelled` - Job was cancelled
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
*/
|
|
25
25
|
export const JobStatus = {
|
|
26
26
|
Pending: 'pending',
|
|
27
|
-
Parsing: 'parsing',
|
|
28
27
|
Validating: 'validating',
|
|
28
|
+
Parsing: 'parsing',
|
|
29
29
|
Completed: 'completed',
|
|
30
30
|
Failed: 'failed',
|
|
31
31
|
Cancelled: 'cancelled'
|
package/dist/models/Inventory.js
CHANGED
|
@@ -24,7 +24,7 @@ const InventoryData_js_1 = require("./InventoryData.js");
|
|
|
24
24
|
* Check if a given object implements the Inventory interface.
|
|
25
25
|
*/
|
|
26
26
|
function instanceOfInventory(value) {
|
|
27
|
-
if (!('vcenterId' in value) || value['vcenterId'] === undefined)
|
|
27
|
+
if ((!('vcenterId' in value) && !('vcenter_id' in value)) || (value['vcenterId'] === undefined && value['vcenter_id'] === undefined))
|
|
28
28
|
return false;
|
|
29
29
|
if (!('clusters' in value) || value['clusters'] === undefined)
|
|
30
30
|
return false;
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
/**
|
|
13
13
|
* Job status:
|
|
14
14
|
* * `pending` - Job is queued
|
|
15
|
-
* * `
|
|
16
|
-
* * `
|
|
15
|
+
* * `validating` - Ingesting and validating RVTools file
|
|
16
|
+
* * `parsing` - Building inventory from validated data
|
|
17
17
|
* * `completed` - Assessment created successfully
|
|
18
18
|
* * `failed` - Job failed with error
|
|
19
19
|
* * `cancelled` - Job was cancelled
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
*/
|
|
23
23
|
export declare const JobStatus: {
|
|
24
24
|
readonly Pending: "pending";
|
|
25
|
-
readonly Parsing: "parsing";
|
|
26
25
|
readonly Validating: "validating";
|
|
26
|
+
readonly Parsing: "parsing";
|
|
27
27
|
readonly Completed: "completed";
|
|
28
28
|
readonly Failed: "failed";
|
|
29
29
|
readonly Cancelled: "cancelled";
|
package/dist/models/JobStatus.js
CHANGED
|
@@ -22,8 +22,8 @@ exports.JobStatusToJSONTyped = JobStatusToJSONTyped;
|
|
|
22
22
|
/**
|
|
23
23
|
* Job status:
|
|
24
24
|
* * `pending` - Job is queued
|
|
25
|
-
* * `
|
|
26
|
-
* * `
|
|
25
|
+
* * `validating` - Ingesting and validating RVTools file
|
|
26
|
+
* * `parsing` - Building inventory from validated data
|
|
27
27
|
* * `completed` - Assessment created successfully
|
|
28
28
|
* * `failed` - Job failed with error
|
|
29
29
|
* * `cancelled` - Job was cancelled
|
|
@@ -32,8 +32,8 @@ exports.JobStatusToJSONTyped = JobStatusToJSONTyped;
|
|
|
32
32
|
*/
|
|
33
33
|
exports.JobStatus = {
|
|
34
34
|
Pending: 'pending',
|
|
35
|
-
Parsing: 'parsing',
|
|
36
35
|
Validating: 'validating',
|
|
36
|
+
Parsing: 'parsing',
|
|
37
37
|
Completed: 'completed',
|
|
38
38
|
Failed: 'failed',
|
|
39
39
|
Cancelled: 'cancelled'
|
package/docs/JobStatus.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
# JobStatus
|
|
3
3
|
|
|
4
|
-
Job status: * `pending` - Job is queued * `
|
|
4
|
+
Job status: * `pending` - Job is queued * `validating` - Ingesting and validating RVTools file * `parsing` - Building inventory from validated data * `completed` - Assessment created successfully * `failed` - Job failed with error * `cancelled` - Job was cancelled
|
|
5
5
|
|
|
6
6
|
## Properties
|
|
7
7
|
|
package/package.json
CHANGED
package/src/models/Inventory.ts
CHANGED
|
@@ -51,7 +51,7 @@ export interface Inventory {
|
|
|
51
51
|
* Check if a given object implements the Inventory interface.
|
|
52
52
|
*/
|
|
53
53
|
export function instanceOfInventory(value: object): value is Inventory {
|
|
54
|
-
if (!('vcenterId' in value) || value['vcenterId'] === undefined) return false;
|
|
54
|
+
if ((!('vcenterId' in value) && !('vcenter_id' in value)) || (value['vcenterId'] === undefined && value['vcenter_id'] === undefined)) return false;
|
|
55
55
|
if (!('clusters' in value) || value['clusters'] === undefined) return false;
|
|
56
56
|
return true;
|
|
57
57
|
}
|
package/src/models/JobStatus.ts
CHANGED
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
/**
|
|
17
17
|
* Job status:
|
|
18
18
|
* * `pending` - Job is queued
|
|
19
|
-
* * `
|
|
20
|
-
* * `
|
|
19
|
+
* * `validating` - Ingesting and validating RVTools file
|
|
20
|
+
* * `parsing` - Building inventory from validated data
|
|
21
21
|
* * `completed` - Assessment created successfully
|
|
22
22
|
* * `failed` - Job failed with error
|
|
23
23
|
* * `cancelled` - Job was cancelled
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
*/
|
|
27
27
|
export const JobStatus = {
|
|
28
28
|
Pending: 'pending',
|
|
29
|
-
Parsing: 'parsing',
|
|
30
29
|
Validating: 'validating',
|
|
30
|
+
Parsing: 'parsing',
|
|
31
31
|
Completed: 'completed',
|
|
32
32
|
Failed: 'failed',
|
|
33
33
|
Cancelled: 'cancelled'
|