Skip to content

Commit 9d1a4c9

Browse files
chore(all): re-generate OpenAPI client(s) (#306)
Co-authored-by: app-services-ci <app-services-ci@users.noreply.github.com>
1 parent 7ffaafd commit 9d1a4c9

26 files changed

+110
-248
lines changed

packages/kafka-management-sdk/src/generated/api/default-api.ts

Lines changed: 0 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ import { MetricsInstantQueryList } from '../model';
3737
// @ts-ignore
3838
import { MetricsRangeQueryList } from '../model';
3939
// @ts-ignore
40-
import { ServiceStatus } from '../model';
41-
// @ts-ignore
4240
import { VersionMetadata } from '../model';
4341
/**
4442
* DefaultApi - axios parameter creator
@@ -456,41 +454,6 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
456454

457455

458456

459-
setSearchParams(localVarUrlObj, localVarQueryParameter);
460-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
461-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
462-
463-
return {
464-
url: toPathString(localVarUrlObj),
465-
options: localVarRequestOptions,
466-
};
467-
},
468-
/**
469-
* [DEPRECATED] The service capacity status is now reported per cloud provider region and Kafka instance type in the /api/kafkas_mgmt/v1/cloud_providers/{id}/regions endpoint. Please use this endpoint instead.
470-
* @summary Returns the status of resources, such as whether maximum service capacity has been reached
471-
* @param {*} [options] Override http request option.
472-
* @deprecated
473-
* @throws {RequiredError}
474-
*/
475-
getServiceStatus: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
476-
const localVarPath = `/api/kafkas_mgmt/v1/status`;
477-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
478-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
479-
let baseOptions;
480-
if (configuration) {
481-
baseOptions = configuration.baseOptions;
482-
}
483-
484-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
485-
const localVarHeaderParameter = {} as any;
486-
const localVarQueryParameter = {} as any;
487-
488-
// authentication Bearer required
489-
// http bearer authentication required
490-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
491-
492-
493-
494457
setSearchParams(localVarUrlObj, localVarQueryParameter);
495458
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
496459
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -696,17 +659,6 @@ export const DefaultApiFp = function(configuration?: Configuration) {
696659
const localVarAxiosArgs = await localVarAxiosParamCreator.getMetricsByRangeQuery(id, duration, interval, filters, options);
697660
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
698661
},
699-
/**
700-
* [DEPRECATED] The service capacity status is now reported per cloud provider region and Kafka instance type in the /api/kafkas_mgmt/v1/cloud_providers/{id}/regions endpoint. Please use this endpoint instead.
701-
* @summary Returns the status of resources, such as whether maximum service capacity has been reached
702-
* @param {*} [options] Override http request option.
703-
* @deprecated
704-
* @throws {RequiredError}
705-
*/
706-
async getServiceStatus(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceStatus>> {
707-
const localVarAxiosArgs = await localVarAxiosParamCreator.getServiceStatus(options);
708-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
709-
},
710662
/**
711663
*
712664
* @summary Returns the version metadata
@@ -842,16 +794,6 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
842794
getMetricsByRangeQuery(id: string, duration: number, interval: number, filters?: Array<string>, options?: any): AxiosPromise<MetricsRangeQueryList> {
843795
return localVarFp.getMetricsByRangeQuery(id, duration, interval, filters, options).then((request) => request(axios, basePath));
844796
},
845-
/**
846-
* [DEPRECATED] The service capacity status is now reported per cloud provider region and Kafka instance type in the /api/kafkas_mgmt/v1/cloud_providers/{id}/regions endpoint. Please use this endpoint instead.
847-
* @summary Returns the status of resources, such as whether maximum service capacity has been reached
848-
* @param {*} [options] Override http request option.
849-
* @deprecated
850-
* @throws {RequiredError}
851-
*/
852-
getServiceStatus(options?: any): AxiosPromise<ServiceStatus> {
853-
return localVarFp.getServiceStatus(options).then((request) => request(axios, basePath));
854-
},
855797
/**
856798
*
857799
* @summary Returns the version metadata
@@ -984,16 +926,6 @@ export interface DefaultApiInterface {
984926
*/
985927
getMetricsByRangeQuery(id: string, duration: number, interval: number, filters?: Array<string>, options?: AxiosRequestConfig): AxiosPromise<MetricsRangeQueryList>;
986928

987-
/**
988-
* [DEPRECATED] The service capacity status is now reported per cloud provider region and Kafka instance type in the /api/kafkas_mgmt/v1/cloud_providers/{id}/regions endpoint. Please use this endpoint instead.
989-
* @summary Returns the status of resources, such as whether maximum service capacity has been reached
990-
* @param {*} [options] Override http request option.
991-
* @deprecated
992-
* @throws {RequiredError}
993-
* @memberof DefaultApiInterface
994-
*/
995-
getServiceStatus(options?: AxiosRequestConfig): AxiosPromise<ServiceStatus>;
996-
997929
/**
998930
*
999931
* @summary Returns the version metadata
@@ -1144,18 +1076,6 @@ export class DefaultApi extends BaseAPI implements DefaultApiInterface {
11441076
return DefaultApiFp(this.configuration).getMetricsByRangeQuery(id, duration, interval, filters, options).then((request) => request(this.axios, this.basePath));
11451077
}
11461078

1147-
/**
1148-
* [DEPRECATED] The service capacity status is now reported per cloud provider region and Kafka instance type in the /api/kafkas_mgmt/v1/cloud_providers/{id}/regions endpoint. Please use this endpoint instead.
1149-
* @summary Returns the status of resources, such as whether maximum service capacity has been reached
1150-
* @param {*} [options] Override http request option.
1151-
* @deprecated
1152-
* @throws {RequiredError}
1153-
* @memberof DefaultApi
1154-
*/
1155-
public getServiceStatus(options?: AxiosRequestConfig) {
1156-
return DefaultApiFp(this.configuration).getServiceStatus(options).then((request) => request(this.axios, this.basePath));
1157-
}
1158-
11591079
/**
11601080
*
11611081
* @summary Returns the version metadata

packages/kafka-management-sdk/src/generated/model/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ export * from './service-account-list-all-of';
3030
export * from './service-account-list-item';
3131
export * from './service-account-list-item-all-of';
3232
export * from './service-account-request';
33-
export * from './service-status';
34-
export * from './service-status-kafkas';
3533
export * from './values';
3634
export * from './version-metadata';
3735
export * from './version-metadata-all-of';

packages/kafka-management-sdk/src/generated/model/service-status-kafkas.ts

Lines changed: 0 additions & 30 deletions
This file was deleted.

packages/kafka-management-sdk/src/generated/model/service-status.ts

Lines changed: 0 additions & 31 deletions
This file was deleted.

packages/registry-management-sdk/src/generated/api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/* eslint-disable */
33
/**
44
* Service Registry Fleet Manager
5-
* Managed Service Registry cloud.redhat.com API Management API that lets you create new registry instances. Registry is a datastore for standard event schemas and API designs. Service Registry enables developers to manage and share the structure of their data using a REST interface. For example, client applications can dynamically push or pull the latest updates to or from the registry without needing to redeploy. Registry is an Managed version of upstream project called Apicurio Registry. Apicurio Registry also enables developers to create rules that govern how registry content can evolve over time. For example, this includes rules for content validation and version compatibility.
5+
* Service Registry Fleet Manager is a REST API for managing Service Registry instances. Service Registry is a datastore for event schemas and API designs, which is based on the open source Apicurio Registry project.
66
*
77
* The version of the OpenAPI document: 0.0.6
88
* Contact: rhosak-eval-support@redhat.com

packages/registry-management-sdk/src/generated/api/default-api.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/* eslint-disable */
33
/**
44
* Service Registry Fleet Manager
5-
* Managed Service Registry cloud.redhat.com API Management API that lets you create new registry instances. Registry is a datastore for standard event schemas and API designs. Service Registry enables developers to manage and share the structure of their data using a REST interface. For example, client applications can dynamically push or pull the latest updates to or from the registry without needing to redeploy. Registry is an Managed version of upstream project called Apicurio Registry. Apicurio Registry also enables developers to create rules that govern how registry content can evolve over time. For example, this includes rules for content validation and version compatibility.
5+
* Service Registry Fleet Manager is a REST API for managing Service Registry instances. Service Registry is a datastore for event schemas and API designs, which is based on the open source Apicurio Registry project.
66
*
77
* The version of the OpenAPI document: 0.0.6
88
* Contact: rhosak-eval-support@redhat.com
@@ -30,6 +30,7 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3030
return {
3131
/**
3232
*
33+
* @summary Get the service status
3334
* @param {*} [options] Override http request option.
3435
* @throws {RequiredError}
3536
*/
@@ -73,6 +74,7 @@ export const DefaultApiFp = function(configuration?: Configuration) {
7374
return {
7475
/**
7576
*
77+
* @summary Get the service status
7678
* @param {*} [options] Override http request option.
7779
* @throws {RequiredError}
7880
*/
@@ -92,6 +94,7 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
9294
return {
9395
/**
9496
*
97+
* @summary Get the service status
9598
* @param {*} [options] Override http request option.
9699
* @throws {RequiredError}
97100
*/
@@ -109,6 +112,7 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
109112
export interface DefaultApiInterface {
110113
/**
111114
*
115+
* @summary Get the service status
112116
* @param {*} [options] Override http request option.
113117
* @throws {RequiredError}
114118
* @memberof DefaultApiInterface
@@ -126,6 +130,7 @@ export interface DefaultApiInterface {
126130
export class DefaultApi extends BaseAPI implements DefaultApiInterface {
127131
/**
128132
*
133+
* @summary Get the service status
129134
* @param {*} [options] Override http request option.
130135
* @throws {RequiredError}
131136
* @memberof DefaultApi

packages/registry-management-sdk/src/generated/api/errors-api.ts

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/* eslint-disable */
33
/**
44
* Service Registry Fleet Manager
5-
* Managed Service Registry cloud.redhat.com API Management API that lets you create new registry instances. Registry is a datastore for standard event schemas and API designs. Service Registry enables developers to manage and share the structure of their data using a REST interface. For example, client applications can dynamically push or pull the latest updates to or from the registry without needing to redeploy. Registry is an Managed version of upstream project called Apicurio Registry. Apicurio Registry also enables developers to create rules that govern how registry content can evolve over time. For example, this includes rules for content validation and version compatibility.
5+
* Service Registry Fleet Manager is a REST API for managing Service Registry instances. Service Registry is a datastore for event schemas and API designs, which is based on the open source Apicurio Registry project.
66
*
77
* The version of the OpenAPI document: 0.0.6
88
* Contact: rhosak-eval-support@redhat.com
@@ -30,7 +30,7 @@ export const ErrorsApiAxiosParamCreator = function (configuration?: Configuratio
3030
return {
3131
/**
3232
*
33-
* @summary Get information about a specific error type.
33+
* @summary Get information about a specific error type
3434
* @param {number} id A unique identifier for an error type.
3535
* @param {*} [options] Override http request option.
3636
* @throws {RequiredError}
@@ -64,9 +64,9 @@ export const ErrorsApiAxiosParamCreator = function (configuration?: Configuratio
6464
},
6565
/**
6666
*
67-
* @summary Get the list of all errors.
68-
* @param {number} [page] Page index
69-
* @param {number} [size] Number of items in each page
67+
* @summary Get the list of all errors
68+
* @param {number} [page] Page index.
69+
* @param {number} [size] Number of items in each page.
7070
* @param {*} [options] Override http request option.
7171
* @throws {RequiredError}
7272
*/
@@ -114,7 +114,7 @@ export const ErrorsApiFp = function(configuration?: Configuration) {
114114
return {
115115
/**
116116
*
117-
* @summary Get information about a specific error type.
117+
* @summary Get information about a specific error type
118118
* @param {number} id A unique identifier for an error type.
119119
* @param {*} [options] Override http request option.
120120
* @throws {RequiredError}
@@ -125,9 +125,9 @@ export const ErrorsApiFp = function(configuration?: Configuration) {
125125
},
126126
/**
127127
*
128-
* @summary Get the list of all errors.
129-
* @param {number} [page] Page index
130-
* @param {number} [size] Number of items in each page
128+
* @summary Get the list of all errors
129+
* @param {number} [page] Page index.
130+
* @param {number} [size] Number of items in each page.
131131
* @param {*} [options] Override http request option.
132132
* @throws {RequiredError}
133133
*/
@@ -147,7 +147,7 @@ export const ErrorsApiFactory = function (configuration?: Configuration, basePat
147147
return {
148148
/**
149149
*
150-
* @summary Get information about a specific error type.
150+
* @summary Get information about a specific error type
151151
* @param {number} id A unique identifier for an error type.
152152
* @param {*} [options] Override http request option.
153153
* @throws {RequiredError}
@@ -157,9 +157,9 @@ export const ErrorsApiFactory = function (configuration?: Configuration, basePat
157157
},
158158
/**
159159
*
160-
* @summary Get the list of all errors.
161-
* @param {number} [page] Page index
162-
* @param {number} [size] Number of items in each page
160+
* @summary Get the list of all errors
161+
* @param {number} [page] Page index.
162+
* @param {number} [size] Number of items in each page.
163163
* @param {*} [options] Override http request option.
164164
* @throws {RequiredError}
165165
*/
@@ -177,7 +177,7 @@ export const ErrorsApiFactory = function (configuration?: Configuration, basePat
177177
export interface ErrorsApiInterface {
178178
/**
179179
*
180-
* @summary Get information about a specific error type.
180+
* @summary Get information about a specific error type
181181
* @param {number} id A unique identifier for an error type.
182182
* @param {*} [options] Override http request option.
183183
* @throws {RequiredError}
@@ -187,9 +187,9 @@ export interface ErrorsApiInterface {
187187

188188
/**
189189
*
190-
* @summary Get the list of all errors.
191-
* @param {number} [page] Page index
192-
* @param {number} [size] Number of items in each page
190+
* @summary Get the list of all errors
191+
* @param {number} [page] Page index.
192+
* @param {number} [size] Number of items in each page.
193193
* @param {*} [options] Override http request option.
194194
* @throws {RequiredError}
195195
* @memberof ErrorsApiInterface
@@ -207,7 +207,7 @@ export interface ErrorsApiInterface {
207207
export class ErrorsApi extends BaseAPI implements ErrorsApiInterface {
208208
/**
209209
*
210-
* @summary Get information about a specific error type.
210+
* @summary Get information about a specific error type
211211
* @param {number} id A unique identifier for an error type.
212212
* @param {*} [options] Override http request option.
213213
* @throws {RequiredError}
@@ -219,9 +219,9 @@ export class ErrorsApi extends BaseAPI implements ErrorsApiInterface {
219219

220220
/**
221221
*
222-
* @summary Get the list of all errors.
223-
* @param {number} [page] Page index
224-
* @param {number} [size] Number of items in each page
222+
* @summary Get the list of all errors
223+
* @param {number} [page] Page index.
224+
* @param {number} [size] Number of items in each page.
225225
* @param {*} [options] Override http request option.
226226
* @throws {RequiredError}
227227
* @memberof ErrorsApi

0 commit comments

Comments
 (0)