@openshift-migration-advisor/planner-sdk 0.11.0-f3a9690b65b0 → 0.12.0

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.
@@ -16,6 +16,7 @@ docs/ClusterSizing.md
16
16
  docs/ComplexityDiskScoreEntry.md
17
17
  docs/ComplexityOSNameEntry.md
18
18
  docs/ComplexityOSScoreEntry.md
19
+ docs/Customer.md
19
20
  docs/Datastore.md
20
21
  docs/DiskSizeTierSummary.md
21
22
  docs/DiskTypeSummary.md
@@ -58,6 +59,7 @@ docs/PartnerRequest.md
58
59
  docs/PartnerRequestCreate.md
59
60
  docs/PartnerRequestStatus.md
60
61
  docs/PartnerRequestUpdate.md
62
+ docs/PartnerSummary.md
61
63
  docs/PresignedUrl.md
62
64
  docs/SchemaEstimationResult.md
63
65
  docs/SizingOverCommitRatio.md
@@ -98,6 +100,7 @@ src/models/ClusterSizing.ts
98
100
  src/models/ComplexityDiskScoreEntry.ts
99
101
  src/models/ComplexityOSNameEntry.ts
100
102
  src/models/ComplexityOSScoreEntry.ts
103
+ src/models/Customer.ts
101
104
  src/models/Datastore.ts
102
105
  src/models/DiskSizeTierSummary.ts
103
106
  src/models/DiskTypeSummary.ts
@@ -135,6 +138,7 @@ src/models/PartnerRequest.ts
135
138
  src/models/PartnerRequestCreate.ts
136
139
  src/models/PartnerRequestStatus.ts
137
140
  src/models/PartnerRequestUpdate.ts
141
+ src/models/PartnerSummary.ts
138
142
  src/models/PresignedUrl.ts
139
143
  src/models/SchemaEstimationResult.ts
140
144
  src/models/SizingOverCommitRatio.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @openshift-migration-advisor/planner-sdk@0.11.0-f3a9690b65b0
1
+ # @openshift-migration-advisor/planner-sdk@0.12.0
2
2
 
3
3
  A TypeScript SDK client for the raw.githubusercontent.com API.
4
4
 
@@ -111,6 +111,7 @@ All URIs are relative to *https://raw.githubusercontent.com*
111
111
  - [ComplexityDiskScoreEntry](docs/ComplexityDiskScoreEntry.md)
112
112
  - [ComplexityOSNameEntry](docs/ComplexityOSNameEntry.md)
113
113
  - [ComplexityOSScoreEntry](docs/ComplexityOSScoreEntry.md)
114
+ - [Customer](docs/Customer.md)
114
115
  - [Datastore](docs/Datastore.md)
115
116
  - [DiskSizeTierSummary](docs/DiskSizeTierSummary.md)
116
117
  - [DiskTypeSummary](docs/DiskTypeSummary.md)
@@ -148,6 +149,7 @@ All URIs are relative to *https://raw.githubusercontent.com*
148
149
  - [PartnerRequestCreate](docs/PartnerRequestCreate.md)
149
150
  - [PartnerRequestStatus](docs/PartnerRequestStatus.md)
150
151
  - [PartnerRequestUpdate](docs/PartnerRequestUpdate.md)
152
+ - [PartnerSummary](docs/PartnerSummary.md)
151
153
  - [PresignedUrl](docs/PresignedUrl.md)
152
154
  - [SchemaEstimationResult](docs/SchemaEstimationResult.md)
153
155
  - [SizingOverCommitRatio](docs/SizingOverCommitRatio.md)
@@ -177,7 +179,7 @@ and is automatically generated by the
177
179
  [OpenAPI Generator](https://openapi-generator.tech) project:
178
180
 
179
181
  - API version: `v1alpha1`
180
- - Package version: `0.11.0-f3a9690b65b0`
182
+ - Package version: `0.12.0`
181
183
  - Generator version: `7.22.0-SNAPSHOT`
182
184
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
183
185
 
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime.js';
13
- import type { Group, PartnerRequest, PartnerRequestCreate, PartnerRequestUpdate } from '../models/index.js';
13
+ import type { Customer, Group, PartnerRequest, PartnerRequestCreate, PartnerRequestUpdate } from '../models/index.js';
14
14
  export interface CancelPartnerRequestRequest {
15
15
  id: string;
16
16
  }
@@ -123,16 +123,16 @@ export interface PartnerApiInterface {
123
123
  */
124
124
  listCustomersRequestOpts(): Promise<runtime.RequestOpts>;
125
125
  /**
126
- * List customer requests for my partner organization
126
+ * List customers for my partner organization
127
127
  * @param {*} [options] Override http request option.
128
128
  * @throws {RequiredError}
129
129
  * @memberof PartnerApiInterface
130
130
  */
131
- listCustomersRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<PartnerRequest>>>;
131
+ listCustomersRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<Customer>>>;
132
132
  /**
133
- * List customer requests for my partner organization
133
+ * List customers for my partner organization
134
134
  */
135
- listCustomers(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<PartnerRequest>>;
135
+ listCustomers(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<Customer>>;
136
136
  /**
137
137
  * Creates request options for listPartnerRequests without sending the request
138
138
  * @throws {RequiredError}
@@ -265,13 +265,13 @@ export declare class PartnerApi extends runtime.BaseAPI implements PartnerApiInt
265
265
  */
266
266
  listCustomersRequestOpts(): Promise<runtime.RequestOpts>;
267
267
  /**
268
- * List customer requests for my partner organization
268
+ * List customers for my partner organization
269
269
  */
270
- listCustomersRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<PartnerRequest>>>;
270
+ listCustomersRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<Customer>>>;
271
271
  /**
272
- * List customer requests for my partner organization
272
+ * List customers for my partner organization
273
273
  */
274
- listCustomers(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<PartnerRequest>>;
274
+ listCustomers(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<Customer>>;
275
275
  /**
276
276
  * Creates request options for listPartnerRequests without sending the request
277
277
  */
@@ -205,17 +205,17 @@ class PartnerApi extends runtime.BaseAPI {
205
205
  });
206
206
  }
207
207
  /**
208
- * List customer requests for my partner organization
208
+ * List customers for my partner organization
209
209
  */
210
210
  listCustomersRaw(initOverrides) {
211
211
  return __awaiter(this, void 0, void 0, function* () {
212
212
  const requestOptions = yield this.listCustomersRequestOpts();
213
213
  const response = yield this.request(requestOptions, initOverrides);
214
- return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_js_1.PartnerRequestFromJSON));
214
+ return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_js_1.CustomerFromJSON));
215
215
  });
216
216
  }
217
217
  /**
218
- * List customer requests for my partner organization
218
+ * List customers for my partner organization
219
219
  */
220
220
  listCustomers(initOverrides) {
221
221
  return __awaiter(this, void 0, void 0, function* () {
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime.js';
13
- import type { Group, PartnerRequest, PartnerRequestCreate, PartnerRequestUpdate } from '../models/index.js';
13
+ import type { Customer, Group, PartnerRequest, PartnerRequestCreate, PartnerRequestUpdate } from '../models/index.js';
14
14
  export interface CancelPartnerRequestRequest {
15
15
  id: string;
16
16
  }
@@ -123,16 +123,16 @@ export interface PartnerApiInterface {
123
123
  */
124
124
  listCustomersRequestOpts(): Promise<runtime.RequestOpts>;
125
125
  /**
126
- * List customer requests for my partner organization
126
+ * List customers for my partner organization
127
127
  * @param {*} [options] Override http request option.
128
128
  * @throws {RequiredError}
129
129
  * @memberof PartnerApiInterface
130
130
  */
131
- listCustomersRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<PartnerRequest>>>;
131
+ listCustomersRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<Customer>>>;
132
132
  /**
133
- * List customer requests for my partner organization
133
+ * List customers for my partner organization
134
134
  */
135
- listCustomers(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<PartnerRequest>>;
135
+ listCustomers(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<Customer>>;
136
136
  /**
137
137
  * Creates request options for listPartnerRequests without sending the request
138
138
  * @throws {RequiredError}
@@ -265,13 +265,13 @@ export declare class PartnerApi extends runtime.BaseAPI implements PartnerApiInt
265
265
  */
266
266
  listCustomersRequestOpts(): Promise<runtime.RequestOpts>;
267
267
  /**
268
- * List customer requests for my partner organization
268
+ * List customers for my partner organization
269
269
  */
270
- listCustomersRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<PartnerRequest>>>;
270
+ listCustomersRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<Customer>>>;
271
271
  /**
272
- * List customer requests for my partner organization
272
+ * List customers for my partner organization
273
273
  */
274
- listCustomers(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<PartnerRequest>>;
274
+ listCustomers(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<Customer>>;
275
275
  /**
276
276
  * Creates request options for listPartnerRequests without sending the request
277
277
  */
@@ -21,7 +21,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
21
21
  });
22
22
  };
23
23
  import * as runtime from '../runtime.js';
24
- import { GroupFromJSON, PartnerRequestFromJSON, PartnerRequestCreateToJSON, PartnerRequestUpdateToJSON, } from '../models/index.js';
24
+ import { CustomerFromJSON, GroupFromJSON, PartnerRequestFromJSON, PartnerRequestCreateToJSON, PartnerRequestUpdateToJSON, } from '../models/index.js';
25
25
  /**
26
26
  *
27
27
  */
@@ -202,17 +202,17 @@ export class PartnerApi extends runtime.BaseAPI {
202
202
  });
203
203
  }
204
204
  /**
205
- * List customer requests for my partner organization
205
+ * List customers for my partner organization
206
206
  */
207
207
  listCustomersRaw(initOverrides) {
208
208
  return __awaiter(this, void 0, void 0, function* () {
209
209
  const requestOptions = yield this.listCustomersRequestOpts();
210
210
  const response = yield this.request(requestOptions, initOverrides);
211
- return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(PartnerRequestFromJSON));
211
+ return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(CustomerFromJSON));
212
212
  });
213
213
  }
214
214
  /**
215
- * List customer requests for my partner organization
215
+ * List customers for my partner organization
216
216
  */
217
217
  listCustomers(initOverrides) {
218
218
  return __awaiter(this, void 0, void 0, function* () {
@@ -0,0 +1,62 @@
1
+ /**
2
+ * OpenShift Migration Advisor API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v1alpha1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface Customer
16
+ */
17
+ export interface Customer {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof Customer
22
+ */
23
+ username: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof Customer
28
+ */
29
+ name: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof Customer
34
+ */
35
+ contactName: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof Customer
40
+ */
41
+ contactPhone: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof Customer
46
+ */
47
+ email: string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof Customer
52
+ */
53
+ location: string;
54
+ }
55
+ /**
56
+ * Check if a given object implements the Customer interface.
57
+ */
58
+ export declare function instanceOfCustomer(value: object): value is Customer;
59
+ export declare function CustomerFromJSON(json: any): Customer;
60
+ export declare function CustomerFromJSONTyped(json: any, ignoreDiscriminator: boolean): Customer;
61
+ export declare function CustomerToJSON(json: any): Customer;
62
+ export declare function CustomerToJSONTyped(value?: Customer | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,63 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * OpenShift Migration Advisor API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1alpha1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the Customer interface.
16
+ */
17
+ export function instanceOfCustomer(value) {
18
+ if (!('username' in value) || value['username'] === undefined)
19
+ return false;
20
+ if (!('name' in value) || value['name'] === undefined)
21
+ return false;
22
+ if (!('contactName' in value) || value['contactName'] === undefined)
23
+ return false;
24
+ if (!('contactPhone' in value) || value['contactPhone'] === undefined)
25
+ return false;
26
+ if (!('email' in value) || value['email'] === undefined)
27
+ return false;
28
+ if (!('location' in value) || value['location'] === undefined)
29
+ return false;
30
+ return true;
31
+ }
32
+ export function CustomerFromJSON(json) {
33
+ return CustomerFromJSONTyped(json, false);
34
+ }
35
+ export function CustomerFromJSONTyped(json, ignoreDiscriminator) {
36
+ if (json == null) {
37
+ return json;
38
+ }
39
+ return {
40
+ 'username': json['username'],
41
+ 'name': json['name'],
42
+ 'contactName': json['contactName'],
43
+ 'contactPhone': json['contactPhone'],
44
+ 'email': json['email'],
45
+ 'location': json['location'],
46
+ };
47
+ }
48
+ export function CustomerToJSON(json) {
49
+ return CustomerToJSONTyped(json, false);
50
+ }
51
+ export function CustomerToJSONTyped(value, ignoreDiscriminator = false) {
52
+ if (value == null) {
53
+ return value;
54
+ }
55
+ return {
56
+ 'username': value['username'],
57
+ 'name': value['name'],
58
+ 'contactName': value['contactName'],
59
+ 'contactPhone': value['contactPhone'],
60
+ 'email': value['email'],
61
+ 'location': value['location'],
62
+ };
63
+ }
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { PartnerRequestStatus } from './PartnerRequestStatus.js';
13
+ import type { PartnerSummary } from './PartnerSummary.js';
13
14
  /**
14
15
  *
15
16
  * @export
@@ -30,10 +31,10 @@ export interface PartnerRequest {
30
31
  username: string;
31
32
  /**
32
33
  *
33
- * @type {string}
34
+ * @type {PartnerSummary}
34
35
  * @memberof PartnerRequest
35
36
  */
36
- partnerId: string;
37
+ partner: PartnerSummary;
37
38
  /**
38
39
  *
39
40
  * @type {PartnerRequestStatus}
@@ -88,6 +89,12 @@ export interface PartnerRequest {
88
89
  * @memberof PartnerRequest
89
90
  */
90
91
  terminatedAt?: Date | null;
92
+ /**
93
+ *
94
+ * @type {Date}
95
+ * @memberof PartnerRequest
96
+ */
97
+ createdAt: Date;
91
98
  }
92
99
  /**
93
100
  * Check if a given object implements the PartnerRequest interface.
@@ -12,6 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  import { PartnerRequestStatusFromJSON, PartnerRequestStatusToJSON, } from './PartnerRequestStatus.js';
15
+ import { PartnerSummaryFromJSON, PartnerSummaryToJSON, } from './PartnerSummary.js';
15
16
  /**
16
17
  * Check if a given object implements the PartnerRequest interface.
17
18
  */
@@ -20,7 +21,7 @@ export function instanceOfPartnerRequest(value) {
20
21
  return false;
21
22
  if (!('username' in value) || value['username'] === undefined)
22
23
  return false;
23
- if (!('partnerId' in value) || value['partnerId'] === undefined)
24
+ if (!('partner' in value) || value['partner'] === undefined)
24
25
  return false;
25
26
  if (!('requestStatus' in value) || value['requestStatus'] === undefined)
26
27
  return false;
@@ -34,6 +35,8 @@ export function instanceOfPartnerRequest(value) {
34
35
  return false;
35
36
  if (!('location' in value) || value['location'] === undefined)
36
37
  return false;
38
+ if (!('createdAt' in value) || value['createdAt'] === undefined)
39
+ return false;
37
40
  return true;
38
41
  }
39
42
  export function PartnerRequestFromJSON(json) {
@@ -46,7 +49,7 @@ export function PartnerRequestFromJSONTyped(json, ignoreDiscriminator) {
46
49
  return {
47
50
  'id': json['id'],
48
51
  'username': json['username'],
49
- 'partnerId': json['partnerId'],
52
+ 'partner': PartnerSummaryFromJSON(json['partner']),
50
53
  'requestStatus': PartnerRequestStatusFromJSON(json['requestStatus']),
51
54
  'name': json['name'],
52
55
  'contactName': json['contactName'],
@@ -56,6 +59,7 @@ export function PartnerRequestFromJSONTyped(json, ignoreDiscriminator) {
56
59
  'reason': json['reason'] == null ? undefined : json['reason'],
57
60
  'acceptedAt': json['acceptedAt'] == null ? undefined : (new Date(json['acceptedAt'])),
58
61
  'terminatedAt': json['terminatedAt'] == null ? undefined : (new Date(json['terminatedAt'])),
62
+ 'createdAt': (new Date(json['createdAt'])),
59
63
  };
60
64
  }
61
65
  export function PartnerRequestToJSON(json) {
@@ -68,7 +72,7 @@ export function PartnerRequestToJSONTyped(value, ignoreDiscriminator = false) {
68
72
  return {
69
73
  'id': value['id'],
70
74
  'username': value['username'],
71
- 'partnerId': value['partnerId'],
75
+ 'partner': PartnerSummaryToJSON(value['partner']),
72
76
  'requestStatus': PartnerRequestStatusToJSON(value['requestStatus']),
73
77
  'name': value['name'],
74
78
  'contactName': value['contactName'],
@@ -78,5 +82,6 @@ export function PartnerRequestToJSONTyped(value, ignoreDiscriminator = false) {
78
82
  'reason': value['reason'],
79
83
  'acceptedAt': value['acceptedAt'] == null ? value['acceptedAt'] : value['acceptedAt'].toISOString(),
80
84
  'terminatedAt': value['terminatedAt'] == null ? value['terminatedAt'] : value['terminatedAt'].toISOString(),
85
+ 'createdAt': value['createdAt'].toISOString(),
81
86
  };
82
87
  }
@@ -0,0 +1,50 @@
1
+ /**
2
+ * OpenShift Migration Advisor API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v1alpha1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface PartnerSummary
16
+ */
17
+ export interface PartnerSummary {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof PartnerSummary
22
+ */
23
+ id: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof PartnerSummary
28
+ */
29
+ name: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof PartnerSummary
34
+ */
35
+ company: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof PartnerSummary
40
+ */
41
+ icon: string;
42
+ }
43
+ /**
44
+ * Check if a given object implements the PartnerSummary interface.
45
+ */
46
+ export declare function instanceOfPartnerSummary(value: object): value is PartnerSummary;
47
+ export declare function PartnerSummaryFromJSON(json: any): PartnerSummary;
48
+ export declare function PartnerSummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): PartnerSummary;
49
+ export declare function PartnerSummaryToJSON(json: any): PartnerSummary;
50
+ export declare function PartnerSummaryToJSONTyped(value?: PartnerSummary | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,55 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * OpenShift Migration Advisor API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1alpha1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the PartnerSummary interface.
16
+ */
17
+ export function instanceOfPartnerSummary(value) {
18
+ if (!('id' in value) || value['id'] === undefined)
19
+ return false;
20
+ if (!('name' in value) || value['name'] === undefined)
21
+ return false;
22
+ if (!('company' in value) || value['company'] === undefined)
23
+ return false;
24
+ if (!('icon' in value) || value['icon'] === undefined)
25
+ return false;
26
+ return true;
27
+ }
28
+ export function PartnerSummaryFromJSON(json) {
29
+ return PartnerSummaryFromJSONTyped(json, false);
30
+ }
31
+ export function PartnerSummaryFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'id': json['id'],
37
+ 'name': json['name'],
38
+ 'company': json['company'],
39
+ 'icon': json['icon'],
40
+ };
41
+ }
42
+ export function PartnerSummaryToJSON(json) {
43
+ return PartnerSummaryToJSONTyped(json, false);
44
+ }
45
+ export function PartnerSummaryToJSONTyped(value, ignoreDiscriminator = false) {
46
+ if (value == null) {
47
+ return value;
48
+ }
49
+ return {
50
+ 'id': value['id'],
51
+ 'name': value['name'],
52
+ 'company': value['company'],
53
+ 'icon': value['icon'],
54
+ };
55
+ }
@@ -10,6 +10,7 @@ export * from './ClusterSizing.js';
10
10
  export * from './ComplexityDiskScoreEntry.js';
11
11
  export * from './ComplexityOSNameEntry.js';
12
12
  export * from './ComplexityOSScoreEntry.js';
13
+ export * from './Customer.js';
13
14
  export * from './Datastore.js';
14
15
  export * from './DiskSizeTierSummary.js';
15
16
  export * from './DiskTypeSummary.js';
@@ -47,6 +48,7 @@ export * from './PartnerRequest.js';
47
48
  export * from './PartnerRequestCreate.js';
48
49
  export * from './PartnerRequestStatus.js';
49
50
  export * from './PartnerRequestUpdate.js';
51
+ export * from './PartnerSummary.js';
50
52
  export * from './PresignedUrl.js';
51
53
  export * from './SchemaEstimationResult.js';
52
54
  export * from './SizingOverCommitRatio.js';
@@ -12,6 +12,7 @@ export * from './ClusterSizing.js';
12
12
  export * from './ComplexityDiskScoreEntry.js';
13
13
  export * from './ComplexityOSNameEntry.js';
14
14
  export * from './ComplexityOSScoreEntry.js';
15
+ export * from './Customer.js';
15
16
  export * from './Datastore.js';
16
17
  export * from './DiskSizeTierSummary.js';
17
18
  export * from './DiskTypeSummary.js';
@@ -49,6 +50,7 @@ export * from './PartnerRequest.js';
49
50
  export * from './PartnerRequestCreate.js';
50
51
  export * from './PartnerRequestStatus.js';
51
52
  export * from './PartnerRequestUpdate.js';
53
+ export * from './PartnerSummary.js';
52
54
  export * from './PresignedUrl.js';
53
55
  export * from './SchemaEstimationResult.js';
54
56
  export * from './SizingOverCommitRatio.js';
@@ -0,0 +1,62 @@
1
+ /**
2
+ * OpenShift Migration Advisor API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v1alpha1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface Customer
16
+ */
17
+ export interface Customer {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof Customer
22
+ */
23
+ username: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof Customer
28
+ */
29
+ name: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof Customer
34
+ */
35
+ contactName: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof Customer
40
+ */
41
+ contactPhone: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof Customer
46
+ */
47
+ email: string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof Customer
52
+ */
53
+ location: string;
54
+ }
55
+ /**
56
+ * Check if a given object implements the Customer interface.
57
+ */
58
+ export declare function instanceOfCustomer(value: object): value is Customer;
59
+ export declare function CustomerFromJSON(json: any): Customer;
60
+ export declare function CustomerFromJSONTyped(json: any, ignoreDiscriminator: boolean): Customer;
61
+ export declare function CustomerToJSON(json: any): Customer;
62
+ export declare function CustomerToJSONTyped(value?: Customer | null, ignoreDiscriminator?: boolean): any;