@rhoas/kafka-instance-sdk
Advanced tools
Comparing version 0.0.1 to 0.1.0
@@ -64,7 +64,8 @@ /** | ||
* @param {number} [offset] The page offset when returning the list of consumer groups | ||
* @param {string} [topic] Filter to apply when returning the list of consumer groups | ||
* @param {string} [topic] Return consumer groups for this topic | ||
* @param {string} [groupIdFilter] Return the consumer groups where the ID begins with this value | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
getConsumerGroupList: (limit?: number, offset?: number, topic?: string, options?: any) => Promise<RequestArgs>; | ||
getConsumerGroups: (limit?: number, offset?: number, topic?: string, groupIdFilter?: string, options?: any) => Promise<RequestArgs>; | ||
/** | ||
@@ -83,3 +84,3 @@ * Topic | ||
* @param {string} [filter] Filter to apply when returning the list of topics | ||
* @param {number} [offset] The page offset when returning the limit of requested topics. | ||
* @param {number} [offset] The page offset when returning the limit of requested topics. | ||
* @param {string} [order] Order of the items sorting. If \"asc\" is set as a value, ascending order is used, descending otherwise. | ||
@@ -89,3 +90,3 @@ * @param {*} [options] Override http request option. | ||
*/ | ||
getTopicsList: (limit?: number, filter?: string, offset?: number, order?: string, options?: any) => Promise<RequestArgs>; | ||
getTopics: (limit?: number, filter?: string, offset?: number, order?: string, options?: any) => Promise<RequestArgs>; | ||
/** | ||
@@ -144,7 +145,8 @@ * updates the topic with the new data. | ||
* @param {number} [offset] The page offset when returning the list of consumer groups | ||
* @param {string} [topic] Filter to apply when returning the list of consumer groups | ||
* @param {string} [topic] Return consumer groups for this topic | ||
* @param {string} [groupIdFilter] Return the consumer groups where the ID begins with this value | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
getConsumerGroupList(limit?: number, offset?: number, topic?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConsumerGroupList>>; | ||
getConsumerGroups(limit?: number, offset?: number, topic?: string, groupIdFilter?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConsumerGroupList>>; | ||
/** | ||
@@ -163,3 +165,3 @@ * Topic | ||
* @param {string} [filter] Filter to apply when returning the list of topics | ||
* @param {number} [offset] The page offset when returning the limit of requested topics. | ||
* @param {number} [offset] The page offset when returning the limit of requested topics. | ||
* @param {string} [order] Order of the items sorting. If \"asc\" is set as a value, ascending order is used, descending otherwise. | ||
@@ -169,3 +171,3 @@ * @param {*} [options] Override http request option. | ||
*/ | ||
getTopicsList(limit?: number, filter?: string, offset?: number, order?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TopicsList>>; | ||
getTopics(limit?: number, filter?: string, offset?: number, order?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TopicsList>>; | ||
/** | ||
@@ -224,7 +226,8 @@ * updates the topic with the new data. | ||
* @param {number} [offset] The page offset when returning the list of consumer groups | ||
* @param {string} [topic] Filter to apply when returning the list of consumer groups | ||
* @param {string} [topic] Return consumer groups for this topic | ||
* @param {string} [groupIdFilter] Return the consumer groups where the ID begins with this value | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
getConsumerGroupList(limit?: number, offset?: number, topic?: string, options?: any): AxiosPromise<ConsumerGroupList>; | ||
getConsumerGroups(limit?: number, offset?: number, topic?: string, groupIdFilter?: string, options?: any): AxiosPromise<ConsumerGroupList>; | ||
/** | ||
@@ -243,3 +246,3 @@ * Topic | ||
* @param {string} [filter] Filter to apply when returning the list of topics | ||
* @param {number} [offset] The page offset when returning the limit of requested topics. | ||
* @param {number} [offset] The page offset when returning the limit of requested topics. | ||
* @param {string} [order] Order of the items sorting. If \"asc\" is set as a value, ascending order is used, descending otherwise. | ||
@@ -249,3 +252,3 @@ * @param {*} [options] Override http request option. | ||
*/ | ||
getTopicsList(limit?: number, filter?: string, offset?: number, order?: string, options?: any): AxiosPromise<TopicsList>; | ||
getTopics(limit?: number, filter?: string, offset?: number, order?: string, options?: any): AxiosPromise<TopicsList>; | ||
/** | ||
@@ -309,3 +312,4 @@ * updates the topic with the new data. | ||
* @param {number} [offset] The page offset when returning the list of consumer groups | ||
* @param {string} [topic] Filter to apply when returning the list of consumer groups | ||
* @param {string} [topic] Return consumer groups for this topic | ||
* @param {string} [groupIdFilter] Return the consumer groups where the ID begins with this value | ||
* @param {*} [options] Override http request option. | ||
@@ -315,3 +319,3 @@ * @throws {RequiredError} | ||
*/ | ||
getConsumerGroupList(limit?: number, offset?: number, topic?: string, options?: any): AxiosPromise<ConsumerGroupList>; | ||
getConsumerGroups(limit?: number, offset?: number, topic?: string, groupIdFilter?: string, options?: any): AxiosPromise<ConsumerGroupList>; | ||
/** | ||
@@ -331,3 +335,3 @@ * Topic | ||
* @param {string} [filter] Filter to apply when returning the list of topics | ||
* @param {number} [offset] The page offset when returning the limit of requested topics. | ||
* @param {number} [offset] The page offset when returning the limit of requested topics. | ||
* @param {string} [order] Order of the items sorting. If \"asc\" is set as a value, ascending order is used, descending otherwise. | ||
@@ -338,3 +342,3 @@ * @param {*} [options] Override http request option. | ||
*/ | ||
getTopicsList(limit?: number, filter?: string, offset?: number, order?: string, options?: any): AxiosPromise<TopicsList>; | ||
getTopics(limit?: number, filter?: string, offset?: number, order?: string, options?: any): AxiosPromise<TopicsList>; | ||
/** | ||
@@ -400,3 +404,4 @@ * updates the topic with the new data. | ||
* @param {number} [offset] The page offset when returning the list of consumer groups | ||
* @param {string} [topic] Filter to apply when returning the list of consumer groups | ||
* @param {string} [topic] Return consumer groups for this topic | ||
* @param {string} [groupIdFilter] Return the consumer groups where the ID begins with this value | ||
* @param {*} [options] Override http request option. | ||
@@ -406,3 +411,3 @@ * @throws {RequiredError} | ||
*/ | ||
getConsumerGroupList(limit?: number, offset?: number, topic?: string, options?: any): Promise<import("axios").AxiosResponse<ConsumerGroupList>>; | ||
getConsumerGroups(limit?: number, offset?: number, topic?: string, groupIdFilter?: string, options?: any): Promise<import("axios").AxiosResponse<ConsumerGroupList>>; | ||
/** | ||
@@ -422,3 +427,3 @@ * Topic | ||
* @param {string} [filter] Filter to apply when returning the list of topics | ||
* @param {number} [offset] The page offset when returning the limit of requested topics. | ||
* @param {number} [offset] The page offset when returning the limit of requested topics. | ||
* @param {string} [order] Order of the items sorting. If \"asc\" is set as a value, ascending order is used, descending otherwise. | ||
@@ -429,3 +434,3 @@ * @param {*} [options] Override http request option. | ||
*/ | ||
getTopicsList(limit?: number, filter?: string, offset?: number, order?: string, options?: any): Promise<import("axios").AxiosResponse<TopicsList>>; | ||
getTopics(limit?: number, filter?: string, offset?: number, order?: string, options?: any): Promise<import("axios").AxiosResponse<TopicsList>>; | ||
/** | ||
@@ -432,0 +437,0 @@ * updates the topic with the new data. |
@@ -164,7 +164,8 @@ "use strict"; | ||
* @param {number} [offset] The page offset when returning the list of consumer groups | ||
* @param {string} [topic] Filter to apply when returning the list of consumer groups | ||
* @param {string} [topic] Return consumer groups for this topic | ||
* @param {string} [groupIdFilter] Return the consumer groups where the ID begins with this value | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
getConsumerGroupList: (limit, offset, topic, options = {}) => __awaiter(this, void 0, void 0, function* () { | ||
getConsumerGroups: (limit, offset, topic, groupIdFilter, options = {}) => __awaiter(this, void 0, void 0, function* () { | ||
const localVarPath = `/consumer-groups`; | ||
@@ -189,2 +190,5 @@ // use dummy base URL string because the URL constructor only accepts absolute URLs. | ||
} | ||
if (groupIdFilter !== undefined) { | ||
localVarQueryParameter['group-id-filter'] = groupIdFilter; | ||
} | ||
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); | ||
@@ -232,3 +236,3 @@ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
* @param {string} [filter] Filter to apply when returning the list of topics | ||
* @param {number} [offset] The page offset when returning the limit of requested topics. | ||
* @param {number} [offset] The page offset when returning the limit of requested topics. | ||
* @param {string} [order] Order of the items sorting. If \"asc\" is set as a value, ascending order is used, descending otherwise. | ||
@@ -238,3 +242,3 @@ * @param {*} [options] Override http request option. | ||
*/ | ||
getTopicsList: (limit, filter, offset, order, options = {}) => __awaiter(this, void 0, void 0, function* () { | ||
getTopics: (limit, filter, offset, order, options = {}) => __awaiter(this, void 0, void 0, function* () { | ||
const localVarPath = `/topics`; | ||
@@ -372,9 +376,10 @@ // use dummy base URL string because the URL constructor only accepts absolute URLs. | ||
* @param {number} [offset] The page offset when returning the list of consumer groups | ||
* @param {string} [topic] Filter to apply when returning the list of consumer groups | ||
* @param {string} [topic] Return consumer groups for this topic | ||
* @param {string} [groupIdFilter] Return the consumer groups where the ID begins with this value | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
getConsumerGroupList(limit, offset, topic, options) { | ||
getConsumerGroups(limit, offset, topic, groupIdFilter, options) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
const localVarAxiosArgs = yield localVarAxiosParamCreator.getConsumerGroupList(limit, offset, topic, options); | ||
const localVarAxiosArgs = yield localVarAxiosParamCreator.getConsumerGroups(limit, offset, topic, groupIdFilter, options); | ||
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration); | ||
@@ -401,3 +406,3 @@ }); | ||
* @param {string} [filter] Filter to apply when returning the list of topics | ||
* @param {number} [offset] The page offset when returning the limit of requested topics. | ||
* @param {number} [offset] The page offset when returning the limit of requested topics. | ||
* @param {string} [order] Order of the items sorting. If \"asc\" is set as a value, ascending order is used, descending otherwise. | ||
@@ -407,5 +412,5 @@ * @param {*} [options] Override http request option. | ||
*/ | ||
getTopicsList(limit, filter, offset, order, options) { | ||
getTopics(limit, filter, offset, order, options) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
const localVarAxiosArgs = yield localVarAxiosParamCreator.getTopicsList(limit, filter, offset, order, options); | ||
const localVarAxiosArgs = yield localVarAxiosParamCreator.getTopics(limit, filter, offset, order, options); | ||
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration); | ||
@@ -484,8 +489,9 @@ }); | ||
* @param {number} [offset] The page offset when returning the list of consumer groups | ||
* @param {string} [topic] Filter to apply when returning the list of consumer groups | ||
* @param {string} [topic] Return consumer groups for this topic | ||
* @param {string} [groupIdFilter] Return the consumer groups where the ID begins with this value | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
getConsumerGroupList(limit, offset, topic, options) { | ||
return localVarFp.getConsumerGroupList(limit, offset, topic, options).then((request) => request(axios, basePath)); | ||
getConsumerGroups(limit, offset, topic, groupIdFilter, options) { | ||
return localVarFp.getConsumerGroups(limit, offset, topic, groupIdFilter, options).then((request) => request(axios, basePath)); | ||
}, | ||
@@ -507,3 +513,3 @@ /** | ||
* @param {string} [filter] Filter to apply when returning the list of topics | ||
* @param {number} [offset] The page offset when returning the limit of requested topics. | ||
* @param {number} [offset] The page offset when returning the limit of requested topics. | ||
* @param {string} [order] Order of the items sorting. If \"asc\" is set as a value, ascending order is used, descending otherwise. | ||
@@ -513,4 +519,4 @@ * @param {*} [options] Override http request option. | ||
*/ | ||
getTopicsList(limit, filter, offset, order, options) { | ||
return localVarFp.getTopicsList(limit, filter, offset, order, options).then((request) => request(axios, basePath)); | ||
getTopics(limit, filter, offset, order, options) { | ||
return localVarFp.getTopics(limit, filter, offset, order, options).then((request) => request(axios, basePath)); | ||
}, | ||
@@ -588,3 +594,4 @@ /** | ||
* @param {number} [offset] The page offset when returning the list of consumer groups | ||
* @param {string} [topic] Filter to apply when returning the list of consumer groups | ||
* @param {string} [topic] Return consumer groups for this topic | ||
* @param {string} [groupIdFilter] Return the consumer groups where the ID begins with this value | ||
* @param {*} [options] Override http request option. | ||
@@ -594,4 +601,4 @@ * @throws {RequiredError} | ||
*/ | ||
getConsumerGroupList(limit, offset, topic, options) { | ||
return exports.DefaultApiFp(this.configuration).getConsumerGroupList(limit, offset, topic, options).then((request) => request(this.axios, this.basePath)); | ||
getConsumerGroups(limit, offset, topic, groupIdFilter, options) { | ||
return exports.DefaultApiFp(this.configuration).getConsumerGroups(limit, offset, topic, groupIdFilter, options).then((request) => request(this.axios, this.basePath)); | ||
} | ||
@@ -614,3 +621,3 @@ /** | ||
* @param {string} [filter] Filter to apply when returning the list of topics | ||
* @param {number} [offset] The page offset when returning the limit of requested topics. | ||
* @param {number} [offset] The page offset when returning the limit of requested topics. | ||
* @param {string} [order] Order of the items sorting. If \"asc\" is set as a value, ascending order is used, descending otherwise. | ||
@@ -621,4 +628,4 @@ * @param {*} [options] Override http request option. | ||
*/ | ||
getTopicsList(limit, filter, offset, order, options) { | ||
return exports.DefaultApiFp(this.configuration).getTopicsList(limit, filter, offset, order, options).then((request) => request(this.axios, this.basePath)); | ||
getTopics(limit, filter, offset, order, options) { | ||
return exports.DefaultApiFp(this.configuration).getTopics(limit, filter, offset, order, options).then((request) => request(this.axios, this.basePath)); | ||
} | ||
@@ -625,0 +632,0 @@ /** |
{ | ||
"name": "@rhoas/kafka-instance-sdk", | ||
"version": "0.0.1", | ||
"version": "0.1.0", | ||
"description": "RHOAS Kafka Instance Adminstration SDK", | ||
@@ -5,0 +5,0 @@ "author": "Red Hat Developers", |
@@ -13,3 +13,3 @@ ## Kafka Instance Admin SDK | ||
``` | ||
npm install @rhoas/kafka-management-sdk --save | ||
npm install @rhoas/kafka-instance-sdk --save | ||
``` | ||
@@ -20,3 +20,3 @@ | ||
```ts | ||
import { Configuration, DefaultApi } from "@rhoas/kafka-management-sdk"; | ||
import { Configuration, DefaultApi } from "@rhoas/kafka-instance-sdk"; | ||
@@ -31,12 +31,9 @@ const accessToken = process.env.CLOUD_API_TOKEN; | ||
const kafkaApi = new DefaultApi(apiConfig); | ||
const kafkaInstance = new DefaultApi(apiConfig) | ||
kafkaApi | ||
.listKafkas() | ||
.then((data) => { | ||
console.log(data?.data.items); | ||
}) | ||
.catch((err) => { | ||
console.error(err.message); | ||
}); | ||
kafkaInstance.getTopics().then((data) => { | ||
console.log(data?.data) | ||
}).catch((err) => { | ||
console.error(err.message) | ||
}) | ||
``` | ||
@@ -43,0 +40,0 @@ |
@@ -189,7 +189,8 @@ /* tslint:disable */ | ||
* @param {number} [offset] The page offset when returning the list of consumer groups | ||
* @param {string} [topic] Filter to apply when returning the list of consumer groups | ||
* @param {string} [topic] Return consumer groups for this topic | ||
* @param {string} [groupIdFilter] Return the consumer groups where the ID begins with this value | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
getConsumerGroupList: async (limit?: number, offset?: number, topic?: string, options: any = {}): Promise<RequestArgs> => { | ||
getConsumerGroups: async (limit?: number, offset?: number, topic?: string, groupIdFilter?: string, options: any = {}): Promise<RequestArgs> => { | ||
const localVarPath = `/consumer-groups`; | ||
@@ -219,3 +220,7 @@ // use dummy base URL string because the URL constructor only accepts absolute URLs. | ||
if (groupIdFilter !== undefined) { | ||
localVarQueryParameter['group-id-filter'] = groupIdFilter; | ||
} | ||
@@ -270,3 +275,3 @@ setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); | ||
* @param {string} [filter] Filter to apply when returning the list of topics | ||
* @param {number} [offset] The page offset when returning the limit of requested topics. | ||
* @param {number} [offset] The page offset when returning the limit of requested topics. | ||
* @param {string} [order] Order of the items sorting. If \"asc\" is set as a value, ascending order is used, descending otherwise. | ||
@@ -276,3 +281,3 @@ * @param {*} [options] Override http request option. | ||
*/ | ||
getTopicsList: async (limit?: number, filter?: string, offset?: number, order?: string, options: any = {}): Promise<RequestArgs> => { | ||
getTopics: async (limit?: number, filter?: string, offset?: number, order?: string, options: any = {}): Promise<RequestArgs> => { | ||
const localVarPath = `/topics`; | ||
@@ -417,8 +422,9 @@ // use dummy base URL string because the URL constructor only accepts absolute URLs. | ||
* @param {number} [offset] The page offset when returning the list of consumer groups | ||
* @param {string} [topic] Filter to apply when returning the list of consumer groups | ||
* @param {string} [topic] Return consumer groups for this topic | ||
* @param {string} [groupIdFilter] Return the consumer groups where the ID begins with this value | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
async getConsumerGroupList(limit?: number, offset?: number, topic?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConsumerGroupList>> { | ||
const localVarAxiosArgs = await localVarAxiosParamCreator.getConsumerGroupList(limit, offset, topic, options); | ||
async getConsumerGroups(limit?: number, offset?: number, topic?: string, groupIdFilter?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConsumerGroupList>> { | ||
const localVarAxiosArgs = await localVarAxiosParamCreator.getConsumerGroups(limit, offset, topic, groupIdFilter, options); | ||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); | ||
@@ -442,3 +448,3 @@ }, | ||
* @param {string} [filter] Filter to apply when returning the list of topics | ||
* @param {number} [offset] The page offset when returning the limit of requested topics. | ||
* @param {number} [offset] The page offset when returning the limit of requested topics. | ||
* @param {string} [order] Order of the items sorting. If \"asc\" is set as a value, ascending order is used, descending otherwise. | ||
@@ -448,4 +454,4 @@ * @param {*} [options] Override http request option. | ||
*/ | ||
async getTopicsList(limit?: number, filter?: string, offset?: number, order?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TopicsList>> { | ||
const localVarAxiosArgs = await localVarAxiosParamCreator.getTopicsList(limit, filter, offset, order, options); | ||
async getTopics(limit?: number, filter?: string, offset?: number, order?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TopicsList>> { | ||
const localVarAxiosArgs = await localVarAxiosParamCreator.getTopics(limit, filter, offset, order, options); | ||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); | ||
@@ -521,8 +527,9 @@ }, | ||
* @param {number} [offset] The page offset when returning the list of consumer groups | ||
* @param {string} [topic] Filter to apply when returning the list of consumer groups | ||
* @param {string} [topic] Return consumer groups for this topic | ||
* @param {string} [groupIdFilter] Return the consumer groups where the ID begins with this value | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
getConsumerGroupList(limit?: number, offset?: number, topic?: string, options?: any): AxiosPromise<ConsumerGroupList> { | ||
return localVarFp.getConsumerGroupList(limit, offset, topic, options).then((request) => request(axios, basePath)); | ||
getConsumerGroups(limit?: number, offset?: number, topic?: string, groupIdFilter?: string, options?: any): AxiosPromise<ConsumerGroupList> { | ||
return localVarFp.getConsumerGroups(limit, offset, topic, groupIdFilter, options).then((request) => request(axios, basePath)); | ||
}, | ||
@@ -544,3 +551,3 @@ /** | ||
* @param {string} [filter] Filter to apply when returning the list of topics | ||
* @param {number} [offset] The page offset when returning the limit of requested topics. | ||
* @param {number} [offset] The page offset when returning the limit of requested topics. | ||
* @param {string} [order] Order of the items sorting. If \"asc\" is set as a value, ascending order is used, descending otherwise. | ||
@@ -550,4 +557,4 @@ * @param {*} [options] Override http request option. | ||
*/ | ||
getTopicsList(limit?: number, filter?: string, offset?: number, order?: string, options?: any): AxiosPromise<TopicsList> { | ||
return localVarFp.getTopicsList(limit, filter, offset, order, options).then((request) => request(axios, basePath)); | ||
getTopics(limit?: number, filter?: string, offset?: number, order?: string, options?: any): AxiosPromise<TopicsList> { | ||
return localVarFp.getTopics(limit, filter, offset, order, options).then((request) => request(axios, basePath)); | ||
}, | ||
@@ -620,3 +627,4 @@ /** | ||
* @param {number} [offset] The page offset when returning the list of consumer groups | ||
* @param {string} [topic] Filter to apply when returning the list of consumer groups | ||
* @param {string} [topic] Return consumer groups for this topic | ||
* @param {string} [groupIdFilter] Return the consumer groups where the ID begins with this value | ||
* @param {*} [options] Override http request option. | ||
@@ -626,3 +634,3 @@ * @throws {RequiredError} | ||
*/ | ||
getConsumerGroupList(limit?: number, offset?: number, topic?: string, options?: any): AxiosPromise<ConsumerGroupList>; | ||
getConsumerGroups(limit?: number, offset?: number, topic?: string, groupIdFilter?: string, options?: any): AxiosPromise<ConsumerGroupList>; | ||
@@ -644,3 +652,3 @@ /** | ||
* @param {string} [filter] Filter to apply when returning the list of topics | ||
* @param {number} [offset] The page offset when returning the limit of requested topics. | ||
* @param {number} [offset] The page offset when returning the limit of requested topics. | ||
* @param {string} [order] Order of the items sorting. If \"asc\" is set as a value, ascending order is used, descending otherwise. | ||
@@ -651,3 +659,3 @@ * @param {*} [options] Override http request option. | ||
*/ | ||
getTopicsList(limit?: number, filter?: string, offset?: number, order?: string, options?: any): AxiosPromise<TopicsList>; | ||
getTopics(limit?: number, filter?: string, offset?: number, order?: string, options?: any): AxiosPromise<TopicsList>; | ||
@@ -728,3 +736,4 @@ /** | ||
* @param {number} [offset] The page offset when returning the list of consumer groups | ||
* @param {string} [topic] Filter to apply when returning the list of consumer groups | ||
* @param {string} [topic] Return consumer groups for this topic | ||
* @param {string} [groupIdFilter] Return the consumer groups where the ID begins with this value | ||
* @param {*} [options] Override http request option. | ||
@@ -734,4 +743,4 @@ * @throws {RequiredError} | ||
*/ | ||
public getConsumerGroupList(limit?: number, offset?: number, topic?: string, options?: any) { | ||
return DefaultApiFp(this.configuration).getConsumerGroupList(limit, offset, topic, options).then((request) => request(this.axios, this.basePath)); | ||
public getConsumerGroups(limit?: number, offset?: number, topic?: string, groupIdFilter?: string, options?: any) { | ||
return DefaultApiFp(this.configuration).getConsumerGroups(limit, offset, topic, groupIdFilter, options).then((request) => request(this.axios, this.basePath)); | ||
} | ||
@@ -756,3 +765,3 @@ | ||
* @param {string} [filter] Filter to apply when returning the list of topics | ||
* @param {number} [offset] The page offset when returning the limit of requested topics. | ||
* @param {number} [offset] The page offset when returning the limit of requested topics. | ||
* @param {string} [order] Order of the items sorting. If \"asc\" is set as a value, ascending order is used, descending otherwise. | ||
@@ -763,4 +772,4 @@ * @param {*} [options] Override http request option. | ||
*/ | ||
public getTopicsList(limit?: number, filter?: string, offset?: number, order?: string, options?: any) { | ||
return DefaultApiFp(this.configuration).getTopicsList(limit, filter, offset, order, options).then((request) => request(this.axios, this.basePath)); | ||
public getTopics(limit?: number, filter?: string, offset?: number, order?: string, options?: any) { | ||
return DefaultApiFp(this.configuration).getTopics(limit, filter, offset, order, options).then((request) => request(this.axios, this.basePath)); | ||
} | ||
@@ -767,0 +776,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
147763
3606
40