@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.
- package/README.md +145 -28
- package/dist/apis/AssessmentApi.d.ts +5 -4
- package/dist/apis/AssessmentApi.d.ts.map +1 -0
- package/dist/apis/AssessmentApi.js +17 -9
- package/dist/apis/HealthApi.d.ts +4 -3
- package/dist/apis/HealthApi.d.ts.map +1 -0
- package/dist/apis/HealthApi.js +5 -4
- package/dist/apis/ImageApi.d.ts +5 -4
- package/dist/apis/ImageApi.d.ts.map +1 -0
- package/dist/apis/ImageApi.js +10 -6
- package/dist/apis/InfoApi.d.ts +5 -4
- package/dist/apis/InfoApi.d.ts.map +1 -0
- package/dist/apis/InfoApi.js +6 -5
- package/dist/apis/JobApi.d.ts +5 -4
- package/dist/apis/JobApi.d.ts.map +1 -0
- package/dist/apis/JobApi.js +12 -7
- package/dist/apis/SourceApi.d.ts +5 -4
- package/dist/apis/SourceApi.d.ts.map +1 -0
- package/dist/apis/SourceApi.js +22 -11
- 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 +5 -3
- package/dist/models/Agent.d.ts.map +1 -0
- package/dist/models/Agent.js +8 -5
- package/dist/models/AgentProxy.d.ts +5 -3
- package/dist/models/AgentProxy.d.ts.map +1 -0
- package/dist/models/AgentProxy.js +6 -3
- package/dist/models/Assessment.d.ts +7 -5
- package/dist/models/Assessment.d.ts.map +1 -0
- package/dist/models/Assessment.js +10 -7
- package/dist/models/AssessmentForm.d.ts +6 -4
- package/dist/models/AssessmentForm.d.ts.map +1 -0
- package/dist/models/AssessmentForm.js +7 -4
- package/dist/models/AssessmentUpdate.d.ts +5 -3
- package/dist/models/AssessmentUpdate.d.ts.map +1 -0
- package/dist/models/AssessmentUpdate.js +6 -3
- package/dist/models/Datastore.d.ts +5 -3
- package/dist/models/Datastore.d.ts.map +1 -0
- package/dist/models/Datastore.js +6 -3
- package/dist/models/DiskSizeTierSummary.d.ts +5 -3
- package/dist/models/DiskSizeTierSummary.d.ts.map +1 -0
- package/dist/models/DiskSizeTierSummary.js +6 -3
- package/dist/models/DiskTypeSummary.d.ts +5 -3
- package/dist/models/DiskTypeSummary.d.ts.map +1 -0
- package/dist/models/DiskTypeSummary.js +6 -3
- package/dist/models/Histogram.d.ts +5 -3
- package/dist/models/Histogram.d.ts.map +1 -0
- package/dist/models/Histogram.js +6 -3
- package/dist/models/Host.d.ts +5 -3
- package/dist/models/Host.d.ts.map +1 -0
- package/dist/models/Host.js +6 -3
- package/dist/models/Info.d.ts +5 -3
- package/dist/models/Info.d.ts.map +1 -0
- package/dist/models/Info.js +6 -3
- package/dist/models/Infra.d.ts +11 -9
- package/dist/models/Infra.d.ts.map +1 -0
- package/dist/models/Infra.js +13 -10
- package/dist/models/Inventory.d.ts +7 -5
- package/dist/models/Inventory.d.ts.map +1 -0
- package/dist/models/Inventory.js +10 -7
- package/dist/models/InventoryData.d.ts +8 -6
- package/dist/models/InventoryData.d.ts.map +1 -0
- package/dist/models/InventoryData.js +9 -6
- package/dist/models/Ipv4Config.d.ts +5 -3
- package/dist/models/Ipv4Config.d.ts.map +1 -0
- package/dist/models/Ipv4Config.js +6 -3
- package/dist/models/Job.d.ts +6 -4
- package/dist/models/Job.d.ts.map +1 -0
- package/dist/models/Job.js +7 -4
- package/dist/models/JobStatus.d.ts +4 -2
- package/dist/models/JobStatus.d.ts.map +1 -0
- package/dist/models/JobStatus.js +5 -2
- package/dist/models/Label.d.ts +5 -3
- package/dist/models/Label.d.ts.map +1 -0
- package/dist/models/Label.js +6 -3
- package/dist/models/MigrationIssue.d.ts +5 -3
- package/dist/models/MigrationIssue.d.ts.map +1 -0
- package/dist/models/MigrationIssue.js +6 -3
- package/dist/models/ModelError.d.ts +5 -3
- package/dist/models/ModelError.d.ts.map +1 -0
- package/dist/models/ModelError.js +6 -3
- package/dist/models/Network.d.ts +5 -3
- package/dist/models/Network.d.ts.map +1 -0
- package/dist/models/Network.js +6 -3
- package/dist/models/OsInfo.d.ts +5 -3
- package/dist/models/OsInfo.d.ts.map +1 -0
- package/dist/models/OsInfo.js +6 -3
- package/dist/models/PresignedUrl.d.ts +5 -3
- package/dist/models/PresignedUrl.d.ts.map +1 -0
- package/dist/models/PresignedUrl.js +7 -4
- package/dist/models/Snapshot.d.ts +6 -4
- package/dist/models/Snapshot.d.ts.map +1 -0
- package/dist/models/Snapshot.js +8 -5
- package/dist/models/Source.d.ts +9 -7
- package/dist/models/Source.d.ts.map +1 -0
- package/dist/models/Source.js +12 -9
- package/dist/models/SourceCreate.d.ts +8 -6
- package/dist/models/SourceCreate.d.ts.map +1 -0
- package/dist/models/SourceCreate.js +9 -6
- package/dist/models/SourceInfra.d.ts +7 -5
- package/dist/models/SourceInfra.d.ts.map +1 -0
- package/dist/models/SourceInfra.js +8 -5
- package/dist/models/SourceUpdate.d.ts +8 -6
- package/dist/models/SourceUpdate.d.ts.map +1 -0
- package/dist/models/SourceUpdate.js +9 -6
- package/dist/models/Status.d.ts +5 -3
- package/dist/models/Status.d.ts.map +1 -0
- package/dist/models/Status.js +6 -3
- package/dist/models/UpdateInventory.d.ts +6 -4
- package/dist/models/UpdateInventory.d.ts.map +1 -0
- package/dist/models/UpdateInventory.js +7 -4
- package/dist/models/VCenter.d.ts +5 -3
- package/dist/models/VCenter.d.ts.map +1 -0
- package/dist/models/VCenter.js +6 -3
- package/dist/models/VMResourceBreakdown.d.ts +6 -4
- package/dist/models/VMResourceBreakdown.d.ts.map +1 -0
- package/dist/models/VMResourceBreakdown.js +7 -4
- package/dist/models/VMs.d.ts +13 -11
- package/dist/models/VMs.d.ts.map +1 -0
- package/dist/models/VMs.js +16 -13
- package/dist/models/VmNetwork.d.ts +6 -4
- package/dist/models/VmNetwork.d.ts.map +1 -0
- package/dist/models/VmNetwork.js +7 -4
- 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 +7 -3
- package/dist/runtime.d.ts.map +1 -0
- package/dist/runtime.js +11 -3
- package/package.json +19 -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
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Migration Planner API
|
|
3
|
-
*
|
|
3
|
+
* Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
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).
|
|
@@ -46,4 +46,6 @@ export interface MigrationIssue {
|
|
|
46
46
|
export declare function instanceOfMigrationIssue(value: object): value is MigrationIssue;
|
|
47
47
|
export declare function MigrationIssueFromJSON(json: any): MigrationIssue;
|
|
48
48
|
export declare function MigrationIssueFromJSONTyped(json: any, ignoreDiscriminator: boolean): MigrationIssue;
|
|
49
|
-
export declare function MigrationIssueToJSON(
|
|
49
|
+
export declare function MigrationIssueToJSON(json: any): MigrationIssue;
|
|
50
|
+
export declare function MigrationIssueToJSONTyped(value?: MigrationIssue | null, ignoreDiscriminator?: boolean): any;
|
|
51
|
+
//# sourceMappingURL=MigrationIssue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MigrationIssue.d.ts","sourceRoot":"","sources":["../../src/models/MigrationIssue.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC3B;;;;OAIG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,cAAc,CAK/E;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAEhE;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,cAAc,CAWnG;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAE9D;AAED,wBAAgB,yBAAyB,CAAC,KAAK,CAAC,EAAE,cAAc,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAYlH"}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Migration Planner API
|
|
5
|
-
*
|
|
5
|
+
* Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
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).
|
|
@@ -37,7 +37,10 @@ export function MigrationIssueFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
37
|
'count': json['count'],
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
|
-
export function MigrationIssueToJSON(
|
|
40
|
+
export function MigrationIssueToJSON(json) {
|
|
41
|
+
return MigrationIssueToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
export function MigrationIssueToJSONTyped(value, ignoreDiscriminator = false) {
|
|
41
44
|
if (value == null) {
|
|
42
45
|
return value;
|
|
43
46
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Migration Planner API
|
|
3
|
-
*
|
|
3
|
+
* Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
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).
|
|
@@ -34,4 +34,6 @@ export interface ModelError {
|
|
|
34
34
|
export declare function instanceOfModelError(value: object): value is ModelError;
|
|
35
35
|
export declare function ModelErrorFromJSON(json: any): ModelError;
|
|
36
36
|
export declare function ModelErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): ModelError;
|
|
37
|
-
export declare function ModelErrorToJSON(
|
|
37
|
+
export declare function ModelErrorToJSON(json: any): ModelError;
|
|
38
|
+
export declare function ModelErrorToJSONTyped(value?: ModelError | null, ignoreDiscriminator?: boolean): any;
|
|
39
|
+
//# sourceMappingURL=ModelError.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModelError.d.ts","sourceRoot":"","sources":["../../src/models/ModelError.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,UAAU;IACvB;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,UAAU,CAGvE;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,GAAG,UAAU,CAExD;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,UAAU,CAS3F;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,GAAG,GAAG,UAAU,CAEtD;AAED,wBAAgB,qBAAqB,CAAC,KAAK,CAAC,EAAE,UAAU,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAU1G"}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Migration Planner API
|
|
5
|
-
*
|
|
5
|
+
* Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
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).
|
|
@@ -31,7 +31,10 @@ export function ModelErrorFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
31
31
|
'requestId': json['requestId'] == null ? undefined : json['requestId'],
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
|
-
export function ModelErrorToJSON(
|
|
34
|
+
export function ModelErrorToJSON(json) {
|
|
35
|
+
return ModelErrorToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function ModelErrorToJSONTyped(value, ignoreDiscriminator = false) {
|
|
35
38
|
if (value == null) {
|
|
36
39
|
return value;
|
|
37
40
|
}
|
package/dist/models/Network.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Migration Planner API
|
|
3
|
-
*
|
|
3
|
+
* Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
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).
|
|
@@ -62,4 +62,6 @@ export type NetworkTypeEnum = typeof NetworkTypeEnum[keyof typeof NetworkTypeEnu
|
|
|
62
62
|
export declare function instanceOfNetwork(value: object): value is Network;
|
|
63
63
|
export declare function NetworkFromJSON(json: any): Network;
|
|
64
64
|
export declare function NetworkFromJSONTyped(json: any, ignoreDiscriminator: boolean): Network;
|
|
65
|
-
export declare function NetworkToJSON(
|
|
65
|
+
export declare function NetworkToJSON(json: any): Network;
|
|
66
|
+
export declare function NetworkToJSONTyped(value?: Network | null, ignoreDiscriminator?: boolean): any;
|
|
67
|
+
//# sourceMappingURL=Network.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Network.d.ts","sourceRoot":"","sources":["../../src/models/Network.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,OAAO;IACpB;;;;OAIG;IACH,IAAI,EAAE,eAAe,CAAC;IACtB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB;AAGD;;GAEG;AACH,eAAO,MAAM,eAAe;;;;;CAKlB,CAAC;AACX,MAAM,MAAM,eAAe,GAAG,OAAO,eAAe,CAAC,MAAM,OAAO,eAAe,CAAC,CAAC;AAGnF;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,OAAO,CAIjE;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,GAAG,GAAG,OAAO,CAElD;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,OAAO,CAYrF;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,GAAG,GAAG,OAAO,CAEhD;AAED,wBAAgB,kBAAkB,CAAC,KAAK,CAAC,EAAE,OAAO,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAapG"}
|
package/dist/models/Network.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Migration Planner API
|
|
5
|
-
*
|
|
5
|
+
* Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
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).
|
|
@@ -45,7 +45,10 @@ export function NetworkFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
45
45
|
'vmsCount': json['vmsCount'] == null ? undefined : json['vmsCount'],
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
|
-
export function NetworkToJSON(
|
|
48
|
+
export function NetworkToJSON(json) {
|
|
49
|
+
return NetworkToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
export function NetworkToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
52
|
if (value == null) {
|
|
50
53
|
return value;
|
|
51
54
|
}
|
package/dist/models/OsInfo.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Migration Planner API
|
|
3
|
-
*
|
|
3
|
+
* Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 0.4.0-e8c0ddb1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -40,4 +40,6 @@ export interface OsInfo {
|
|
|
40
40
|
export declare function instanceOfOsInfo(value: object): value is OsInfo;
|
|
41
41
|
export declare function OsInfoFromJSON(json: any): OsInfo;
|
|
42
42
|
export declare function OsInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): OsInfo;
|
|
43
|
-
export declare function OsInfoToJSON(
|
|
43
|
+
export declare function OsInfoToJSON(json: any): OsInfo;
|
|
44
|
+
export declare function OsInfoToJSONTyped(value?: OsInfo | null, ignoreDiscriminator?: boolean): any;
|
|
45
|
+
//# sourceMappingURL=OsInfo.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OsInfo.d.ts","sourceRoot":"","sources":["../../src/models/OsInfo.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,MAAM;IACnB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,SAAS,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAClC;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,MAAM,CAI/D;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,GAAG,GAAG,MAAM,CAEhD;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,MAAM,CAUnF;AAED,wBAAgB,YAAY,CAAC,IAAI,EAAE,GAAG,GAAG,MAAM,CAE9C;AAED,wBAAgB,iBAAiB,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAWlG"}
|
package/dist/models/OsInfo.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Migration Planner API
|
|
5
|
-
*
|
|
5
|
+
* Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
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).
|
|
@@ -34,7 +34,10 @@ export function OsInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
34
|
'upgradeRecommendation': json['upgradeRecommendation'] == null ? undefined : json['upgradeRecommendation'],
|
|
35
35
|
};
|
|
36
36
|
}
|
|
37
|
-
export function OsInfoToJSON(
|
|
37
|
+
export function OsInfoToJSON(json) {
|
|
38
|
+
return OsInfoToJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function OsInfoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
41
|
if (value == null) {
|
|
39
42
|
return value;
|
|
40
43
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Migration Planner API
|
|
3
|
-
*
|
|
3
|
+
* Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
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).
|
|
@@ -34,4 +34,6 @@ export interface PresignedUrl {
|
|
|
34
34
|
export declare function instanceOfPresignedUrl(value: object): value is PresignedUrl;
|
|
35
35
|
export declare function PresignedUrlFromJSON(json: any): PresignedUrl;
|
|
36
36
|
export declare function PresignedUrlFromJSONTyped(json: any, ignoreDiscriminator: boolean): PresignedUrl;
|
|
37
|
-
export declare function PresignedUrlToJSON(
|
|
37
|
+
export declare function PresignedUrlToJSON(json: any): PresignedUrl;
|
|
38
|
+
export declare function PresignedUrlToJSONTyped(value?: PresignedUrl | null, ignoreDiscriminator?: boolean): any;
|
|
39
|
+
//# sourceMappingURL=PresignedUrl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PresignedUrl.d.ts","sourceRoot":"","sources":["../../src/models/PresignedUrl.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,YAAY;IACzB;;;;OAIG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;;;OAIG;IACH,SAAS,CAAC,EAAE,IAAI,CAAC;CACpB;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,YAAY,CAG3E;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,YAAY,CAE5D;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,YAAY,CAS/F;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,GAAG,YAAY,CAE1D;AAED,wBAAgB,uBAAuB,CAAC,KAAK,CAAC,EAAE,YAAY,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAU9G"}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Migration Planner API
|
|
5
|
-
*
|
|
5
|
+
* Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
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).
|
|
@@ -31,12 +31,15 @@ export function PresignedUrlFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
31
31
|
'expiresAt': json['expires_at'] == null ? undefined : (new Date(json['expires_at'])),
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
|
-
export function PresignedUrlToJSON(
|
|
34
|
+
export function PresignedUrlToJSON(json) {
|
|
35
|
+
return PresignedUrlToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function PresignedUrlToJSONTyped(value, ignoreDiscriminator = false) {
|
|
35
38
|
if (value == null) {
|
|
36
39
|
return value;
|
|
37
40
|
}
|
|
38
41
|
return {
|
|
39
42
|
'url': value['url'],
|
|
40
|
-
'expires_at': value['expiresAt'] == null ?
|
|
43
|
+
'expires_at': value['expiresAt'] == null ? value['expiresAt'] : value['expiresAt'].toISOString(),
|
|
41
44
|
};
|
|
42
45
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Migration Planner API
|
|
3
|
-
*
|
|
3
|
+
* Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 0.4.0-e8c0ddb1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { Inventory } from './Inventory';
|
|
12
|
+
import type { Inventory } from './Inventory.js';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -35,4 +35,6 @@ export interface Snapshot {
|
|
|
35
35
|
export declare function instanceOfSnapshot(value: object): value is Snapshot;
|
|
36
36
|
export declare function SnapshotFromJSON(json: any): Snapshot;
|
|
37
37
|
export declare function SnapshotFromJSONTyped(json: any, ignoreDiscriminator: boolean): Snapshot;
|
|
38
|
-
export declare function SnapshotToJSON(
|
|
38
|
+
export declare function SnapshotToJSON(json: any): Snapshot;
|
|
39
|
+
export declare function SnapshotToJSONTyped(value?: Snapshot | null, ignoreDiscriminator?: boolean): any;
|
|
40
|
+
//# sourceMappingURL=Snapshot.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Snapshot.d.ts","sourceRoot":"","sources":["../../src/models/Snapshot.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAQhD;;;;GAIG;AACH,MAAM,WAAW,QAAQ;IACrB;;;;OAIG;IACH,SAAS,EAAE,SAAS,CAAC;IACrB;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;CACnB;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,QAAQ,CAInE;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAEpD;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,QAAQ,CASvF;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAElD;AAED,wBAAgB,mBAAmB,CAAC,KAAK,CAAC,EAAE,QAAQ,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUtG"}
|
package/dist/models/Snapshot.js
CHANGED
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Migration Planner API
|
|
5
|
-
*
|
|
5
|
+
* Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 0.4.0-e8c0ddb1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import { InventoryFromJSON, InventoryToJSON, } from './Inventory';
|
|
14
|
+
import { InventoryFromJSON, InventoryToJSON, } from './Inventory.js';
|
|
15
15
|
/**
|
|
16
16
|
* Check if a given object implements the Snapshot interface.
|
|
17
17
|
*/
|
|
@@ -34,12 +34,15 @@ export function SnapshotFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
34
|
'createdAt': (new Date(json['createdAt'])),
|
|
35
35
|
};
|
|
36
36
|
}
|
|
37
|
-
export function SnapshotToJSON(
|
|
37
|
+
export function SnapshotToJSON(json) {
|
|
38
|
+
return SnapshotToJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function SnapshotToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
41
|
if (value == null) {
|
|
39
42
|
return value;
|
|
40
43
|
}
|
|
41
44
|
return {
|
|
42
45
|
'inventory': InventoryToJSON(value['inventory']),
|
|
43
|
-
'createdAt':
|
|
46
|
+
'createdAt': value['createdAt'].toISOString(),
|
|
44
47
|
};
|
|
45
48
|
}
|
package/dist/models/Source.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Migration Planner API
|
|
3
|
-
*
|
|
3
|
+
* Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 0.4.0-e8c0ddb1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { SourceInfra } from './SourceInfra';
|
|
13
|
-
import type { Agent } from './Agent';
|
|
14
|
-
import type { Label } from './Label';
|
|
15
|
-
import type { Inventory } from './Inventory';
|
|
12
|
+
import type { SourceInfra } from './SourceInfra.js';
|
|
13
|
+
import type { Agent } from './Agent.js';
|
|
14
|
+
import type { Label } from './Label.js';
|
|
15
|
+
import type { Inventory } from './Inventory.js';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
@@ -80,4 +80,6 @@ export interface Source {
|
|
|
80
80
|
export declare function instanceOfSource(value: object): value is Source;
|
|
81
81
|
export declare function SourceFromJSON(json: any): Source;
|
|
82
82
|
export declare function SourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): Source;
|
|
83
|
-
export declare function SourceToJSON(
|
|
83
|
+
export declare function SourceToJSON(json: any): Source;
|
|
84
|
+
export declare function SourceToJSONTyped(value?: Source | null, ignoreDiscriminator?: boolean): any;
|
|
85
|
+
//# sourceMappingURL=Source.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Source.d.ts","sourceRoot":"","sources":["../../src/models/Source.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAOpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAOxC,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAOxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAQhD;;;;GAIG;AACH,MAAM,WAAW,MAAM;IACnB;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;;;OAIG;IACH,UAAU,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;IACd;;;;OAIG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;IACtB;;;;OAIG;IACH,KAAK,CAAC,EAAE,WAAW,CAAC;CACvB;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,MAAM,CAO/D;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,GAAG,GAAG,MAAM,CAEhD;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,MAAM,CAgBnF;AAED,wBAAgB,YAAY,CAAC,IAAI,EAAE,GAAG,GAAG,MAAM,CAE9C;AAED,wBAAgB,iBAAiB,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAiBlG"}
|
package/dist/models/Source.js
CHANGED
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Migration Planner API
|
|
5
|
-
*
|
|
5
|
+
* Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 0.4.0-e8c0ddb1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import { SourceInfraFromJSON, SourceInfraToJSON, } from './SourceInfra';
|
|
15
|
-
import { AgentFromJSON, AgentToJSON, } from './Agent';
|
|
16
|
-
import { LabelFromJSON, LabelToJSON, } from './Label';
|
|
17
|
-
import { InventoryFromJSON, InventoryToJSON, } from './Inventory';
|
|
14
|
+
import { SourceInfraFromJSON, SourceInfraToJSON, } from './SourceInfra.js';
|
|
15
|
+
import { AgentFromJSON, AgentToJSON, } from './Agent.js';
|
|
16
|
+
import { LabelFromJSON, LabelToJSON, } from './Label.js';
|
|
17
|
+
import { InventoryFromJSON, InventoryToJSON, } from './Inventory.js';
|
|
18
18
|
/**
|
|
19
19
|
* Check if a given object implements the Source interface.
|
|
20
20
|
*/
|
|
@@ -50,7 +50,10 @@ export function SourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
50
50
|
'infra': json['infra'] == null ? undefined : SourceInfraFromJSON(json['infra']),
|
|
51
51
|
};
|
|
52
52
|
}
|
|
53
|
-
export function SourceToJSON(
|
|
53
|
+
export function SourceToJSON(json) {
|
|
54
|
+
return SourceToJSONTyped(json, false);
|
|
55
|
+
}
|
|
56
|
+
export function SourceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
57
|
if (value == null) {
|
|
55
58
|
return value;
|
|
56
59
|
}
|
|
@@ -58,8 +61,8 @@ export function SourceToJSON(value) {
|
|
|
58
61
|
'id': value['id'],
|
|
59
62
|
'name': value['name'],
|
|
60
63
|
'inventory': InventoryToJSON(value['inventory']),
|
|
61
|
-
'createdAt':
|
|
62
|
-
'updatedAt':
|
|
64
|
+
'createdAt': value['createdAt'].toISOString(),
|
|
65
|
+
'updatedAt': value['updatedAt'].toISOString(),
|
|
63
66
|
'onPremises': value['onPremises'],
|
|
64
67
|
'agent': AgentToJSON(value['agent']),
|
|
65
68
|
'labels': value['labels'] == null ? undefined : (value['labels'].map(LabelToJSON)),
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Migration Planner API
|
|
3
|
-
*
|
|
3
|
+
* Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 0.4.0-e8c0ddb1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { VmNetwork } from './VmNetwork';
|
|
13
|
-
import type { AgentProxy } from './AgentProxy';
|
|
14
|
-
import type { Label } from './Label';
|
|
12
|
+
import type { VmNetwork } from './VmNetwork.js';
|
|
13
|
+
import type { AgentProxy } from './AgentProxy.js';
|
|
14
|
+
import type { Label } from './Label.js';
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
17
17
|
* @export
|
|
@@ -61,4 +61,6 @@ export interface SourceCreate {
|
|
|
61
61
|
export declare function instanceOfSourceCreate(value: object): value is SourceCreate;
|
|
62
62
|
export declare function SourceCreateFromJSON(json: any): SourceCreate;
|
|
63
63
|
export declare function SourceCreateFromJSONTyped(json: any, ignoreDiscriminator: boolean): SourceCreate;
|
|
64
|
-
export declare function SourceCreateToJSON(
|
|
64
|
+
export declare function SourceCreateToJSON(json: any): SourceCreate;
|
|
65
|
+
export declare function SourceCreateToJSONTyped(value?: SourceCreate | null, ignoreDiscriminator?: boolean): any;
|
|
66
|
+
//# sourceMappingURL=SourceCreate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SourceCreate.d.ts","sourceRoot":"","sources":["../../src/models/SourceCreate.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAOhD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAOlD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAQxC;;;;GAIG;AACH,MAAM,WAAW,YAAY;IACzB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B;;;;OAIG;IACH,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC;;;;OAIG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB;;;;OAIG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;CACzB;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,YAAY,CAG3E;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,YAAY,CAE5D;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,YAAY,CAa/F;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,GAAG,YAAY,CAE1D;AAED,wBAAgB,uBAAuB,CAAC,KAAK,CAAC,EAAE,YAAY,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAc9G"}
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Migration Planner API
|
|
5
|
-
*
|
|
5
|
+
* Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 0.4.0-e8c0ddb1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import { VmNetworkFromJSON, VmNetworkToJSON, } from './VmNetwork';
|
|
15
|
-
import { AgentProxyFromJSON, AgentProxyToJSON, } from './AgentProxy';
|
|
16
|
-
import { LabelFromJSON, LabelToJSON, } from './Label';
|
|
14
|
+
import { VmNetworkFromJSON, VmNetworkToJSON, } from './VmNetwork.js';
|
|
15
|
+
import { AgentProxyFromJSON, AgentProxyToJSON, } from './AgentProxy.js';
|
|
16
|
+
import { LabelFromJSON, LabelToJSON, } from './Label.js';
|
|
17
17
|
/**
|
|
18
18
|
* Check if a given object implements the SourceCreate interface.
|
|
19
19
|
*/
|
|
@@ -38,7 +38,10 @@ export function SourceCreateFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
38
|
'labels': json['labels'] == null ? undefined : (json['labels'].map(LabelFromJSON)),
|
|
39
39
|
};
|
|
40
40
|
}
|
|
41
|
-
export function SourceCreateToJSON(
|
|
41
|
+
export function SourceCreateToJSON(json) {
|
|
42
|
+
return SourceCreateToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
export function SourceCreateToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
45
|
if (value == null) {
|
|
43
46
|
return value;
|
|
44
47
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Migration Planner API
|
|
3
|
-
*
|
|
3
|
+
* Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 0.4.0-e8c0ddb1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { VmNetwork } from './VmNetwork';
|
|
13
|
-
import type { AgentProxy } from './AgentProxy';
|
|
12
|
+
import type { VmNetwork } from './VmNetwork.js';
|
|
13
|
+
import type { AgentProxy } from './AgentProxy.js';
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
@@ -42,4 +42,6 @@ export interface SourceInfra {
|
|
|
42
42
|
export declare function instanceOfSourceInfra(value: object): value is SourceInfra;
|
|
43
43
|
export declare function SourceInfraFromJSON(json: any): SourceInfra;
|
|
44
44
|
export declare function SourceInfraFromJSONTyped(json: any, ignoreDiscriminator: boolean): SourceInfra;
|
|
45
|
-
export declare function SourceInfraToJSON(
|
|
45
|
+
export declare function SourceInfraToJSON(json: any): SourceInfra;
|
|
46
|
+
export declare function SourceInfraToJSONTyped(value?: SourceInfra | null, ignoreDiscriminator?: boolean): any;
|
|
47
|
+
//# sourceMappingURL=SourceInfra.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SourceInfra.d.ts","sourceRoot":"","sources":["../../src/models/SourceInfra.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAOhD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAQlD;;;;GAIG;AACH,MAAM,WAAW,WAAW;IACxB;;;;OAIG;IACH,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B;;;;OAIG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;CACzB;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,WAAW,CAEzE;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,WAAW,CAE1D;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,WAAW,CAU7F;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,GAAG,GAAG,WAAW,CAExD;AAED,wBAAgB,sBAAsB,CAAC,KAAK,CAAC,EAAE,WAAW,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAW5G"}
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Migration Planner API
|
|
5
|
-
*
|
|
5
|
+
* Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 0.4.0-e8c0ddb1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import { VmNetworkFromJSON, VmNetworkToJSON, } from './VmNetwork';
|
|
15
|
-
import { AgentProxyFromJSON, AgentProxyToJSON, } from './AgentProxy';
|
|
14
|
+
import { VmNetworkFromJSON, VmNetworkToJSON, } from './VmNetwork.js';
|
|
15
|
+
import { AgentProxyFromJSON, AgentProxyToJSON, } from './AgentProxy.js';
|
|
16
16
|
/**
|
|
17
17
|
* Check if a given object implements the SourceInfra interface.
|
|
18
18
|
*/
|
|
@@ -32,7 +32,10 @@ export function SourceInfraFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
32
|
'vmNetwork': json['vmNetwork'] == null ? undefined : VmNetworkFromJSON(json['vmNetwork']),
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
|
-
export function SourceInfraToJSON(
|
|
35
|
+
export function SourceInfraToJSON(json) {
|
|
36
|
+
return SourceInfraToJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function SourceInfraToJSONTyped(value, ignoreDiscriminator = false) {
|
|
36
39
|
if (value == null) {
|
|
37
40
|
return value;
|
|
38
41
|
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Migration Planner API
|
|
3
|
-
*
|
|
3
|
+
* Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 0.4.0-e8c0ddb1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { VmNetwork } from './VmNetwork';
|
|
13
|
-
import type { AgentProxy } from './AgentProxy';
|
|
14
|
-
import type { Label } from './Label';
|
|
12
|
+
import type { VmNetwork } from './VmNetwork.js';
|
|
13
|
+
import type { AgentProxy } from './AgentProxy.js';
|
|
14
|
+
import type { Label } from './Label.js';
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
17
17
|
* @export
|
|
@@ -61,4 +61,6 @@ export interface SourceUpdate {
|
|
|
61
61
|
export declare function instanceOfSourceUpdate(value: object): value is SourceUpdate;
|
|
62
62
|
export declare function SourceUpdateFromJSON(json: any): SourceUpdate;
|
|
63
63
|
export declare function SourceUpdateFromJSONTyped(json: any, ignoreDiscriminator: boolean): SourceUpdate;
|
|
64
|
-
export declare function SourceUpdateToJSON(
|
|
64
|
+
export declare function SourceUpdateToJSON(json: any): SourceUpdate;
|
|
65
|
+
export declare function SourceUpdateToJSONTyped(value?: SourceUpdate | null, ignoreDiscriminator?: boolean): any;
|
|
66
|
+
//# sourceMappingURL=SourceUpdate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SourceUpdate.d.ts","sourceRoot":"","sources":["../../src/models/SourceUpdate.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAOhD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAOlD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAQxC;;;;GAIG;AACH,MAAM,WAAW,YAAY;IACzB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;IACtB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC;;;;OAIG;IACH,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB;;;;OAIG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC;CACvB;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,YAAY,CAE3E;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,YAAY,CAE5D;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,YAAY,CAa/F;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,GAAG,YAAY,CAE1D;AAED,wBAAgB,uBAAuB,CAAC,KAAK,CAAC,EAAE,YAAY,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAc9G"}
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Migration Planner API
|
|
5
|
-
*
|
|
5
|
+
* Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 0.4.0-e8c0ddb1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import { VmNetworkFromJSON, VmNetworkToJSON, } from './VmNetwork';
|
|
15
|
-
import { AgentProxyFromJSON, AgentProxyToJSON, } from './AgentProxy';
|
|
16
|
-
import { LabelFromJSON, LabelToJSON, } from './Label';
|
|
14
|
+
import { VmNetworkFromJSON, VmNetworkToJSON, } from './VmNetwork.js';
|
|
15
|
+
import { AgentProxyFromJSON, AgentProxyToJSON, } from './AgentProxy.js';
|
|
16
|
+
import { LabelFromJSON, LabelToJSON, } from './Label.js';
|
|
17
17
|
/**
|
|
18
18
|
* Check if a given object implements the SourceUpdate interface.
|
|
19
19
|
*/
|
|
@@ -36,7 +36,10 @@ export function SourceUpdateFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
36
|
'network': json['network'] == null ? undefined : VmNetworkFromJSON(json['network']),
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
|
-
export function SourceUpdateToJSON(
|
|
39
|
+
export function SourceUpdateToJSON(json) {
|
|
40
|
+
return SourceUpdateToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function SourceUpdateToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
43
|
if (value == null) {
|
|
41
44
|
return value;
|
|
42
45
|
}
|