@rhoas/kafka-management-sdk
Advanced tools
Comparing version 0.19.0 to 0.20.0-dev1
@@ -89,3 +89,3 @@ /** | ||
* @param {string} [size] Number of items in each page | ||
* @param {string} [orderBy] Specifies the order by criteria. The syntax of this parameter is similar to the syntax of the `order by` clause of an SQL statement. Each query can be ordered by any of the `kafkaRequests` fields. For example, to return all Kafka instances ordered by their name, use the following syntax: ```sql name asc ``` To return all Kafka instances ordered by their name _and_ created date, use the following syntax: ```sql name asc, created_at asc ``` If the parameter isn\'t provided, or if the value is empty, then the results are ordered by name. | ||
* @param {string} [orderBy] Specifies the order by criteria. The syntax of this parameter is similar to the syntax of the `order by` clause of an SQL statement. Each query can be ordered by any of the following `kafkaRequests` fields: * bootstrap_server_host * cloud_provider * cluster_id * created_at * href * id * instance_type * multi_az * name * organisation_id * owner * reauthentication_enabled * region * status * updated_at * version For example, to return all Kafka instances ordered by their name, use the following syntax: ```sql name asc ``` To return all Kafka instances ordered by their name _and_ created date, use the following syntax: ```sql name asc, created_at asc ``` If the parameter isn\'t provided, or if the value is empty, then the results are ordered by name. | ||
* @param {string} [search] Search criteria. The syntax of this parameter is similar to the syntax of the `where` clause of an SQL statement. Allowed fields in the search are `cloud_provider`, `name`, `owner`, `region`, and `status`. Allowed comparators are `<>`, `=`, or `LIKE`. Allowed joins are `AND` and `OR`. However, you can use a maximum of 10 joins in a search query. Examples: To return a Kafka instance with the name `my-kafka` and the region `aws`, use the following syntax: ``` name = my-kafka and cloud_provider = aws ```[p-] To return a Kafka instance with a name that starts with `my`, use the following syntax: ``` name like my%25 ``` If the parameter isn\'t provided, or if the value is empty, then all the Kafka instances that the user has permission to see are returned. Note. If the query is invalid, an error is returned. | ||
@@ -204,3 +204,3 @@ * @param {*} [options] Override http request option. | ||
* @param {string} [size] Number of items in each page | ||
* @param {string} [orderBy] Specifies the order by criteria. The syntax of this parameter is similar to the syntax of the `order by` clause of an SQL statement. Each query can be ordered by any of the `kafkaRequests` fields. For example, to return all Kafka instances ordered by their name, use the following syntax: ```sql name asc ``` To return all Kafka instances ordered by their name _and_ created date, use the following syntax: ```sql name asc, created_at asc ``` If the parameter isn\'t provided, or if the value is empty, then the results are ordered by name. | ||
* @param {string} [orderBy] Specifies the order by criteria. The syntax of this parameter is similar to the syntax of the `order by` clause of an SQL statement. Each query can be ordered by any of the following `kafkaRequests` fields: * bootstrap_server_host * cloud_provider * cluster_id * created_at * href * id * instance_type * multi_az * name * organisation_id * owner * reauthentication_enabled * region * status * updated_at * version For example, to return all Kafka instances ordered by their name, use the following syntax: ```sql name asc ``` To return all Kafka instances ordered by their name _and_ created date, use the following syntax: ```sql name asc, created_at asc ``` If the parameter isn\'t provided, or if the value is empty, then the results are ordered by name. | ||
* @param {string} [search] Search criteria. The syntax of this parameter is similar to the syntax of the `where` clause of an SQL statement. Allowed fields in the search are `cloud_provider`, `name`, `owner`, `region`, and `status`. Allowed comparators are `<>`, `=`, or `LIKE`. Allowed joins are `AND` and `OR`. However, you can use a maximum of 10 joins in a search query. Examples: To return a Kafka instance with the name `my-kafka` and the region `aws`, use the following syntax: ``` name = my-kafka and cloud_provider = aws ```[p-] To return a Kafka instance with a name that starts with `my`, use the following syntax: ``` name like my%25 ``` If the parameter isn\'t provided, or if the value is empty, then all the Kafka instances that the user has permission to see are returned. Note. If the query is invalid, an error is returned. | ||
@@ -319,3 +319,3 @@ * @param {*} [options] Override http request option. | ||
* @param {string} [size] Number of items in each page | ||
* @param {string} [orderBy] Specifies the order by criteria. The syntax of this parameter is similar to the syntax of the `order by` clause of an SQL statement. Each query can be ordered by any of the `kafkaRequests` fields. For example, to return all Kafka instances ordered by their name, use the following syntax: ```sql name asc ``` To return all Kafka instances ordered by their name _and_ created date, use the following syntax: ```sql name asc, created_at asc ``` If the parameter isn\'t provided, or if the value is empty, then the results are ordered by name. | ||
* @param {string} [orderBy] Specifies the order by criteria. The syntax of this parameter is similar to the syntax of the `order by` clause of an SQL statement. Each query can be ordered by any of the following `kafkaRequests` fields: * bootstrap_server_host * cloud_provider * cluster_id * created_at * href * id * instance_type * multi_az * name * organisation_id * owner * reauthentication_enabled * region * status * updated_at * version For example, to return all Kafka instances ordered by their name, use the following syntax: ```sql name asc ``` To return all Kafka instances ordered by their name _and_ created date, use the following syntax: ```sql name asc, created_at asc ``` If the parameter isn\'t provided, or if the value is empty, then the results are ordered by name. | ||
* @param {string} [search] Search criteria. The syntax of this parameter is similar to the syntax of the `where` clause of an SQL statement. Allowed fields in the search are `cloud_provider`, `name`, `owner`, `region`, and `status`. Allowed comparators are `<>`, `=`, or `LIKE`. Allowed joins are `AND` and `OR`. However, you can use a maximum of 10 joins in a search query. Examples: To return a Kafka instance with the name `my-kafka` and the region `aws`, use the following syntax: ``` name = my-kafka and cloud_provider = aws ```[p-] To return a Kafka instance with a name that starts with `my`, use the following syntax: ``` name like my%25 ``` If the parameter isn\'t provided, or if the value is empty, then all the Kafka instances that the user has permission to see are returned. Note. If the query is invalid, an error is returned. | ||
@@ -441,3 +441,3 @@ * @param {*} [options] Override http request option. | ||
* @param {string} [size] Number of items in each page | ||
* @param {string} [orderBy] Specifies the order by criteria. The syntax of this parameter is similar to the syntax of the `order by` clause of an SQL statement. Each query can be ordered by any of the `kafkaRequests` fields. For example, to return all Kafka instances ordered by their name, use the following syntax: ```sql name asc ``` To return all Kafka instances ordered by their name _and_ created date, use the following syntax: ```sql name asc, created_at asc ``` If the parameter isn\'t provided, or if the value is empty, then the results are ordered by name. | ||
* @param {string} [orderBy] Specifies the order by criteria. The syntax of this parameter is similar to the syntax of the `order by` clause of an SQL statement. Each query can be ordered by any of the following `kafkaRequests` fields: * bootstrap_server_host * cloud_provider * cluster_id * created_at * href * id * instance_type * multi_az * name * organisation_id * owner * reauthentication_enabled * region * status * updated_at * version For example, to return all Kafka instances ordered by their name, use the following syntax: ```sql name asc ``` To return all Kafka instances ordered by their name _and_ created date, use the following syntax: ```sql name asc, created_at asc ``` If the parameter isn\'t provided, or if the value is empty, then the results are ordered by name. | ||
* @param {string} [search] Search criteria. The syntax of this parameter is similar to the syntax of the `where` clause of an SQL statement. Allowed fields in the search are `cloud_provider`, `name`, `owner`, `region`, and `status`. Allowed comparators are `<>`, `=`, or `LIKE`. Allowed joins are `AND` and `OR`. However, you can use a maximum of 10 joins in a search query. Examples: To return a Kafka instance with the name `my-kafka` and the region `aws`, use the following syntax: ``` name = my-kafka and cloud_provider = aws ```[p-] To return a Kafka instance with a name that starts with `my`, use the following syntax: ``` name like my%25 ``` If the parameter isn\'t provided, or if the value is empty, then all the Kafka instances that the user has permission to see are returned. Note. If the query is invalid, an error is returned. | ||
@@ -514,3 +514,3 @@ * @param {*} [options] Override http request option. | ||
*/ | ||
createKafka(async: boolean, kafkaRequestPayload: KafkaRequestPayload, options?: any): Promise<import("axios").AxiosResponse<KafkaRequest, any>>; | ||
createKafka(async: boolean, kafkaRequestPayload: KafkaRequestPayload, options?: any): Promise<import("axios").AxiosResponse<KafkaRequest>>; | ||
/** | ||
@@ -525,3 +525,3 @@ * | ||
*/ | ||
deleteKafkaById(id: string, async: boolean, options?: any): Promise<import("axios").AxiosResponse<Error, any>>; | ||
deleteKafkaById(id: string, async: boolean, options?: any): Promise<import("axios").AxiosResponse<Error>>; | ||
/** | ||
@@ -535,3 +535,3 @@ * | ||
*/ | ||
federateMetrics(id: string, options?: any): Promise<import("axios").AxiosResponse<string, any>>; | ||
federateMetrics(id: string, options?: any): Promise<import("axios").AxiosResponse<string>>; | ||
/** | ||
@@ -548,3 +548,3 @@ * | ||
*/ | ||
getCloudProviderRegions(id: string, page?: string, size?: string, instanceType?: string, options?: any): Promise<import("axios").AxiosResponse<CloudRegionList, any>>; | ||
getCloudProviderRegions(id: string, page?: string, size?: string, instanceType?: string, options?: any): Promise<import("axios").AxiosResponse<CloudRegionList>>; | ||
/** | ||
@@ -559,3 +559,3 @@ * | ||
*/ | ||
getCloudProviders(page?: string, size?: string, options?: any): Promise<import("axios").AxiosResponse<CloudProviderList, any>>; | ||
getCloudProviders(page?: string, size?: string, options?: any): Promise<import("axios").AxiosResponse<CloudProviderList>>; | ||
/** | ||
@@ -569,3 +569,3 @@ * | ||
*/ | ||
getKafkaById(id: string, options?: any): Promise<import("axios").AxiosResponse<KafkaRequest, any>>; | ||
getKafkaById(id: string, options?: any): Promise<import("axios").AxiosResponse<KafkaRequest>>; | ||
/** | ||
@@ -576,3 +576,3 @@ * | ||
* @param {string} [size] Number of items in each page | ||
* @param {string} [orderBy] Specifies the order by criteria. The syntax of this parameter is similar to the syntax of the `order by` clause of an SQL statement. Each query can be ordered by any of the `kafkaRequests` fields. For example, to return all Kafka instances ordered by their name, use the following syntax: ```sql name asc ``` To return all Kafka instances ordered by their name _and_ created date, use the following syntax: ```sql name asc, created_at asc ``` If the parameter isn\'t provided, or if the value is empty, then the results are ordered by name. | ||
* @param {string} [orderBy] Specifies the order by criteria. The syntax of this parameter is similar to the syntax of the `order by` clause of an SQL statement. Each query can be ordered by any of the following `kafkaRequests` fields: * bootstrap_server_host * cloud_provider * cluster_id * created_at * href * id * instance_type * multi_az * name * organisation_id * owner * reauthentication_enabled * region * status * updated_at * version For example, to return all Kafka instances ordered by their name, use the following syntax: ```sql name asc ``` To return all Kafka instances ordered by their name _and_ created date, use the following syntax: ```sql name asc, created_at asc ``` If the parameter isn\'t provided, or if the value is empty, then the results are ordered by name. | ||
* @param {string} [search] Search criteria. The syntax of this parameter is similar to the syntax of the `where` clause of an SQL statement. Allowed fields in the search are `cloud_provider`, `name`, `owner`, `region`, and `status`. Allowed comparators are `<>`, `=`, or `LIKE`. Allowed joins are `AND` and `OR`. However, you can use a maximum of 10 joins in a search query. Examples: To return a Kafka instance with the name `my-kafka` and the region `aws`, use the following syntax: ``` name = my-kafka and cloud_provider = aws ```[p-] To return a Kafka instance with a name that starts with `my`, use the following syntax: ``` name like my%25 ``` If the parameter isn\'t provided, or if the value is empty, then all the Kafka instances that the user has permission to see are returned. Note. If the query is invalid, an error is returned. | ||
@@ -583,3 +583,3 @@ * @param {*} [options] Override http request option. | ||
*/ | ||
getKafkas(page?: string, size?: string, orderBy?: string, search?: string, options?: any): Promise<import("axios").AxiosResponse<KafkaRequestList, any>>; | ||
getKafkas(page?: string, size?: string, orderBy?: string, search?: string, options?: any): Promise<import("axios").AxiosResponse<KafkaRequestList>>; | ||
/** | ||
@@ -594,3 +594,3 @@ * | ||
*/ | ||
getMetricsByInstantQuery(id: string, filters?: Array<string>, options?: any): Promise<import("axios").AxiosResponse<import("../model").MetricsInstantQueryListAllOf, any>>; | ||
getMetricsByInstantQuery(id: string, filters?: Array<string>, options?: any): Promise<import("axios").AxiosResponse<import("../model").MetricsInstantQueryListAllOf>>; | ||
/** | ||
@@ -607,3 +607,3 @@ * | ||
*/ | ||
getMetricsByRangeQuery(id: string, duration: number, interval: number, filters?: Array<string>, options?: any): Promise<import("axios").AxiosResponse<import("../model").MetricsRangeQueryListAllOf, any>>; | ||
getMetricsByRangeQuery(id: string, duration: number, interval: number, filters?: Array<string>, options?: any): Promise<import("axios").AxiosResponse<import("../model").MetricsRangeQueryListAllOf>>; | ||
/** | ||
@@ -616,3 +616,3 @@ * | ||
*/ | ||
getServiceStatus(options?: any): Promise<import("axios").AxiosResponse<ServiceStatus, any>>; | ||
getServiceStatus(options?: any): Promise<import("axios").AxiosResponse<ServiceStatus>>; | ||
/** | ||
@@ -625,3 +625,3 @@ * | ||
*/ | ||
getVersionMetadata(options?: any): Promise<import("axios").AxiosResponse<VersionMetadata, any>>; | ||
getVersionMetadata(options?: any): Promise<import("axios").AxiosResponse<VersionMetadata>>; | ||
/** | ||
@@ -636,3 +636,3 @@ * | ||
*/ | ||
updateKafkaById(id: string, kafkaUpdateRequest: KafkaUpdateRequest, options?: any): Promise<import("axios").AxiosResponse<KafkaRequest, any>>; | ||
updateKafkaById(id: string, kafkaUpdateRequest: KafkaUpdateRequest, options?: any): Promise<import("axios").AxiosResponse<KafkaRequest>>; | ||
} |
@@ -48,5 +48,5 @@ "use strict"; | ||
// verify required parameter 'async' is not null or undefined | ||
(0, common_1.assertParamExists)('createKafka', 'async', async); | ||
common_1.assertParamExists('createKafka', 'async', async); | ||
// verify required parameter 'kafkaRequestPayload' is not null or undefined | ||
(0, common_1.assertParamExists)('createKafka', 'kafkaRequestPayload', kafkaRequestPayload); | ||
common_1.assertParamExists('createKafka', 'kafkaRequestPayload', kafkaRequestPayload); | ||
const localVarPath = `/api/kafkas_mgmt/v1/kafkas`; | ||
@@ -64,3 +64,3 @@ // use dummy base URL string because the URL constructor only accepts absolute URLs. | ||
// http bearer authentication required | ||
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration); | ||
yield common_1.setBearerAuthToObject(localVarHeaderParameter, configuration); | ||
if (async !== undefined) { | ||
@@ -70,8 +70,8 @@ localVarQueryParameter['async'] = async; | ||
localVarHeaderParameter['Content-Type'] = 'application/json'; | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query); | ||
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); | ||
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(kafkaRequestPayload, localVarRequestOptions, configuration); | ||
localVarRequestOptions.data = common_1.serializeDataIfNeeded(kafkaRequestPayload, localVarRequestOptions, configuration); | ||
return { | ||
url: (0, common_1.toPathString)(localVarUrlObj), | ||
url: common_1.toPathString(localVarUrlObj), | ||
options: localVarRequestOptions, | ||
@@ -90,5 +90,5 @@ }; | ||
// verify required parameter 'id' is not null or undefined | ||
(0, common_1.assertParamExists)('deleteKafkaById', 'id', id); | ||
common_1.assertParamExists('deleteKafkaById', 'id', id); | ||
// verify required parameter 'async' is not null or undefined | ||
(0, common_1.assertParamExists)('deleteKafkaById', 'async', async); | ||
common_1.assertParamExists('deleteKafkaById', 'async', async); | ||
const localVarPath = `/api/kafkas_mgmt/v1/kafkas/{id}` | ||
@@ -107,11 +107,11 @@ .replace(`{${"id"}}`, encodeURIComponent(String(id))); | ||
// http bearer authentication required | ||
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration); | ||
yield common_1.setBearerAuthToObject(localVarHeaderParameter, configuration); | ||
if (async !== undefined) { | ||
localVarQueryParameter['async'] = async; | ||
} | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query); | ||
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); | ||
return { | ||
url: (0, common_1.toPathString)(localVarUrlObj), | ||
url: common_1.toPathString(localVarUrlObj), | ||
options: localVarRequestOptions, | ||
@@ -129,3 +129,3 @@ }; | ||
// verify required parameter 'id' is not null or undefined | ||
(0, common_1.assertParamExists)('federateMetrics', 'id', id); | ||
common_1.assertParamExists('federateMetrics', 'id', id); | ||
const localVarPath = `/api/kafkas_mgmt/v1/kafkas/{id}/metrics/federate` | ||
@@ -144,8 +144,8 @@ .replace(`{${"id"}}`, encodeURIComponent(String(id))); | ||
// http bearer authentication required | ||
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration); | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query); | ||
yield common_1.setBearerAuthToObject(localVarHeaderParameter, configuration); | ||
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); | ||
return { | ||
url: (0, common_1.toPathString)(localVarUrlObj), | ||
url: common_1.toPathString(localVarUrlObj), | ||
options: localVarRequestOptions, | ||
@@ -166,3 +166,3 @@ }; | ||
// verify required parameter 'id' is not null or undefined | ||
(0, common_1.assertParamExists)('getCloudProviderRegions', 'id', id); | ||
common_1.assertParamExists('getCloudProviderRegions', 'id', id); | ||
const localVarPath = `/api/kafkas_mgmt/v1/cloud_providers/{id}/regions` | ||
@@ -181,3 +181,3 @@ .replace(`{${"id"}}`, encodeURIComponent(String(id))); | ||
// http bearer authentication required | ||
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration); | ||
yield common_1.setBearerAuthToObject(localVarHeaderParameter, configuration); | ||
if (page !== undefined) { | ||
@@ -192,7 +192,7 @@ localVarQueryParameter['page'] = page; | ||
} | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query); | ||
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); | ||
return { | ||
url: (0, common_1.toPathString)(localVarUrlObj), | ||
url: common_1.toPathString(localVarUrlObj), | ||
options: localVarRequestOptions, | ||
@@ -222,3 +222,3 @@ }; | ||
// http bearer authentication required | ||
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration); | ||
yield common_1.setBearerAuthToObject(localVarHeaderParameter, configuration); | ||
if (page !== undefined) { | ||
@@ -230,7 +230,7 @@ localVarQueryParameter['page'] = page; | ||
} | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query); | ||
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); | ||
return { | ||
url: (0, common_1.toPathString)(localVarUrlObj), | ||
url: common_1.toPathString(localVarUrlObj), | ||
options: localVarRequestOptions, | ||
@@ -248,3 +248,3 @@ }; | ||
// verify required parameter 'id' is not null or undefined | ||
(0, common_1.assertParamExists)('getKafkaById', 'id', id); | ||
common_1.assertParamExists('getKafkaById', 'id', id); | ||
const localVarPath = `/api/kafkas_mgmt/v1/kafkas/{id}` | ||
@@ -263,8 +263,8 @@ .replace(`{${"id"}}`, encodeURIComponent(String(id))); | ||
// http bearer authentication required | ||
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration); | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query); | ||
yield common_1.setBearerAuthToObject(localVarHeaderParameter, configuration); | ||
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); | ||
return { | ||
url: (0, common_1.toPathString)(localVarUrlObj), | ||
url: common_1.toPathString(localVarUrlObj), | ||
options: localVarRequestOptions, | ||
@@ -278,3 +278,3 @@ }; | ||
* @param {string} [size] Number of items in each page | ||
* @param {string} [orderBy] Specifies the order by criteria. The syntax of this parameter is similar to the syntax of the `order by` clause of an SQL statement. Each query can be ordered by any of the `kafkaRequests` fields. For example, to return all Kafka instances ordered by their name, use the following syntax: ```sql name asc ``` To return all Kafka instances ordered by their name _and_ created date, use the following syntax: ```sql name asc, created_at asc ``` If the parameter isn\'t provided, or if the value is empty, then the results are ordered by name. | ||
* @param {string} [orderBy] Specifies the order by criteria. The syntax of this parameter is similar to the syntax of the `order by` clause of an SQL statement. Each query can be ordered by any of the following `kafkaRequests` fields: * bootstrap_server_host * cloud_provider * cluster_id * created_at * href * id * instance_type * multi_az * name * organisation_id * owner * reauthentication_enabled * region * status * updated_at * version For example, to return all Kafka instances ordered by their name, use the following syntax: ```sql name asc ``` To return all Kafka instances ordered by their name _and_ created date, use the following syntax: ```sql name asc, created_at asc ``` If the parameter isn\'t provided, or if the value is empty, then the results are ordered by name. | ||
* @param {string} [search] Search criteria. The syntax of this parameter is similar to the syntax of the `where` clause of an SQL statement. Allowed fields in the search are `cloud_provider`, `name`, `owner`, `region`, and `status`. Allowed comparators are `<>`, `=`, or `LIKE`. Allowed joins are `AND` and `OR`. However, you can use a maximum of 10 joins in a search query. Examples: To return a Kafka instance with the name `my-kafka` and the region `aws`, use the following syntax: ``` name = my-kafka and cloud_provider = aws ```[p-] To return a Kafka instance with a name that starts with `my`, use the following syntax: ``` name like my%25 ``` If the parameter isn\'t provided, or if the value is empty, then all the Kafka instances that the user has permission to see are returned. Note. If the query is invalid, an error is returned. | ||
@@ -297,3 +297,3 @@ * @param {*} [options] Override http request option. | ||
// http bearer authentication required | ||
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration); | ||
yield common_1.setBearerAuthToObject(localVarHeaderParameter, configuration); | ||
if (page !== undefined) { | ||
@@ -311,7 +311,7 @@ localVarQueryParameter['page'] = page; | ||
} | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query); | ||
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); | ||
return { | ||
url: (0, common_1.toPathString)(localVarUrlObj), | ||
url: common_1.toPathString(localVarUrlObj), | ||
options: localVarRequestOptions, | ||
@@ -330,3 +330,3 @@ }; | ||
// verify required parameter 'id' is not null or undefined | ||
(0, common_1.assertParamExists)('getMetricsByInstantQuery', 'id', id); | ||
common_1.assertParamExists('getMetricsByInstantQuery', 'id', id); | ||
const localVarPath = `/api/kafkas_mgmt/v1/kafkas/{id}/metrics/query` | ||
@@ -345,11 +345,11 @@ .replace(`{${"id"}}`, encodeURIComponent(String(id))); | ||
// http bearer authentication required | ||
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration); | ||
yield common_1.setBearerAuthToObject(localVarHeaderParameter, configuration); | ||
if (filters) { | ||
localVarQueryParameter['filters'] = filters; | ||
} | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query); | ||
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); | ||
return { | ||
url: (0, common_1.toPathString)(localVarUrlObj), | ||
url: common_1.toPathString(localVarUrlObj), | ||
options: localVarRequestOptions, | ||
@@ -370,7 +370,7 @@ }; | ||
// verify required parameter 'id' is not null or undefined | ||
(0, common_1.assertParamExists)('getMetricsByRangeQuery', 'id', id); | ||
common_1.assertParamExists('getMetricsByRangeQuery', 'id', id); | ||
// verify required parameter 'duration' is not null or undefined | ||
(0, common_1.assertParamExists)('getMetricsByRangeQuery', 'duration', duration); | ||
common_1.assertParamExists('getMetricsByRangeQuery', 'duration', duration); | ||
// verify required parameter 'interval' is not null or undefined | ||
(0, common_1.assertParamExists)('getMetricsByRangeQuery', 'interval', interval); | ||
common_1.assertParamExists('getMetricsByRangeQuery', 'interval', interval); | ||
const localVarPath = `/api/kafkas_mgmt/v1/kafkas/{id}/metrics/query_range` | ||
@@ -389,3 +389,3 @@ .replace(`{${"id"}}`, encodeURIComponent(String(id))); | ||
// http bearer authentication required | ||
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration); | ||
yield common_1.setBearerAuthToObject(localVarHeaderParameter, configuration); | ||
if (duration !== undefined) { | ||
@@ -400,7 +400,7 @@ localVarQueryParameter['duration'] = duration; | ||
} | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query); | ||
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); | ||
return { | ||
url: (0, common_1.toPathString)(localVarUrlObj), | ||
url: common_1.toPathString(localVarUrlObj), | ||
options: localVarRequestOptions, | ||
@@ -428,8 +428,8 @@ }; | ||
// http bearer authentication required | ||
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration); | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query); | ||
yield common_1.setBearerAuthToObject(localVarHeaderParameter, configuration); | ||
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); | ||
return { | ||
url: (0, common_1.toPathString)(localVarUrlObj), | ||
url: common_1.toPathString(localVarUrlObj), | ||
options: localVarRequestOptions, | ||
@@ -455,7 +455,7 @@ }; | ||
const localVarQueryParameter = {}; | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query); | ||
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); | ||
return { | ||
url: (0, common_1.toPathString)(localVarUrlObj), | ||
url: common_1.toPathString(localVarUrlObj), | ||
options: localVarRequestOptions, | ||
@@ -474,5 +474,5 @@ }; | ||
// verify required parameter 'id' is not null or undefined | ||
(0, common_1.assertParamExists)('updateKafkaById', 'id', id); | ||
common_1.assertParamExists('updateKafkaById', 'id', id); | ||
// verify required parameter 'kafkaUpdateRequest' is not null or undefined | ||
(0, common_1.assertParamExists)('updateKafkaById', 'kafkaUpdateRequest', kafkaUpdateRequest); | ||
common_1.assertParamExists('updateKafkaById', 'kafkaUpdateRequest', kafkaUpdateRequest); | ||
const localVarPath = `/api/kafkas_mgmt/v1/kafkas/{id}` | ||
@@ -491,10 +491,10 @@ .replace(`{${"id"}}`, encodeURIComponent(String(id))); | ||
// http bearer authentication required | ||
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration); | ||
yield common_1.setBearerAuthToObject(localVarHeaderParameter, configuration); | ||
localVarHeaderParameter['Content-Type'] = 'application/json'; | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query); | ||
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); | ||
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(kafkaUpdateRequest, localVarRequestOptions, configuration); | ||
localVarRequestOptions.data = common_1.serializeDataIfNeeded(kafkaUpdateRequest, localVarRequestOptions, configuration); | ||
return { | ||
url: (0, common_1.toPathString)(localVarUrlObj), | ||
url: common_1.toPathString(localVarUrlObj), | ||
options: localVarRequestOptions, | ||
@@ -511,3 +511,3 @@ }; | ||
const DefaultApiFp = function (configuration) { | ||
const localVarAxiosParamCreator = (0, exports.DefaultApiAxiosParamCreator)(configuration); | ||
const localVarAxiosParamCreator = exports.DefaultApiAxiosParamCreator(configuration); | ||
return { | ||
@@ -525,3 +525,3 @@ /** | ||
const localVarAxiosArgs = yield localVarAxiosParamCreator.createKafka(async, kafkaRequestPayload, options); | ||
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration); | ||
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration); | ||
}); | ||
@@ -540,3 +540,3 @@ }, | ||
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteKafkaById(id, async, options); | ||
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration); | ||
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration); | ||
}); | ||
@@ -554,3 +554,3 @@ }, | ||
const localVarAxiosArgs = yield localVarAxiosParamCreator.federateMetrics(id, options); | ||
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration); | ||
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration); | ||
}); | ||
@@ -571,3 +571,3 @@ }, | ||
const localVarAxiosArgs = yield localVarAxiosParamCreator.getCloudProviderRegions(id, page, size, instanceType, options); | ||
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration); | ||
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration); | ||
}); | ||
@@ -586,3 +586,3 @@ }, | ||
const localVarAxiosArgs = yield localVarAxiosParamCreator.getCloudProviders(page, size, options); | ||
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration); | ||
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration); | ||
}); | ||
@@ -600,3 +600,3 @@ }, | ||
const localVarAxiosArgs = yield localVarAxiosParamCreator.getKafkaById(id, options); | ||
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration); | ||
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration); | ||
}); | ||
@@ -609,3 +609,3 @@ }, | ||
* @param {string} [size] Number of items in each page | ||
* @param {string} [orderBy] Specifies the order by criteria. The syntax of this parameter is similar to the syntax of the `order by` clause of an SQL statement. Each query can be ordered by any of the `kafkaRequests` fields. For example, to return all Kafka instances ordered by their name, use the following syntax: ```sql name asc ``` To return all Kafka instances ordered by their name _and_ created date, use the following syntax: ```sql name asc, created_at asc ``` If the parameter isn\'t provided, or if the value is empty, then the results are ordered by name. | ||
* @param {string} [orderBy] Specifies the order by criteria. The syntax of this parameter is similar to the syntax of the `order by` clause of an SQL statement. Each query can be ordered by any of the following `kafkaRequests` fields: * bootstrap_server_host * cloud_provider * cluster_id * created_at * href * id * instance_type * multi_az * name * organisation_id * owner * reauthentication_enabled * region * status * updated_at * version For example, to return all Kafka instances ordered by their name, use the following syntax: ```sql name asc ``` To return all Kafka instances ordered by their name _and_ created date, use the following syntax: ```sql name asc, created_at asc ``` If the parameter isn\'t provided, or if the value is empty, then the results are ordered by name. | ||
* @param {string} [search] Search criteria. The syntax of this parameter is similar to the syntax of the `where` clause of an SQL statement. Allowed fields in the search are `cloud_provider`, `name`, `owner`, `region`, and `status`. Allowed comparators are `<>`, `=`, or `LIKE`. Allowed joins are `AND` and `OR`. However, you can use a maximum of 10 joins in a search query. Examples: To return a Kafka instance with the name `my-kafka` and the region `aws`, use the following syntax: ``` name = my-kafka and cloud_provider = aws ```[p-] To return a Kafka instance with a name that starts with `my`, use the following syntax: ``` name like my%25 ``` If the parameter isn\'t provided, or if the value is empty, then all the Kafka instances that the user has permission to see are returned. Note. If the query is invalid, an error is returned. | ||
@@ -618,3 +618,3 @@ * @param {*} [options] Override http request option. | ||
const localVarAxiosArgs = yield localVarAxiosParamCreator.getKafkas(page, size, orderBy, search, options); | ||
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration); | ||
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration); | ||
}); | ||
@@ -633,3 +633,3 @@ }, | ||
const localVarAxiosArgs = yield localVarAxiosParamCreator.getMetricsByInstantQuery(id, filters, options); | ||
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration); | ||
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration); | ||
}); | ||
@@ -650,3 +650,3 @@ }, | ||
const localVarAxiosArgs = yield localVarAxiosParamCreator.getMetricsByRangeQuery(id, duration, interval, filters, options); | ||
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration); | ||
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration); | ||
}); | ||
@@ -663,3 +663,3 @@ }, | ||
const localVarAxiosArgs = yield localVarAxiosParamCreator.getServiceStatus(options); | ||
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration); | ||
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration); | ||
}); | ||
@@ -676,3 +676,3 @@ }, | ||
const localVarAxiosArgs = yield localVarAxiosParamCreator.getVersionMetadata(options); | ||
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration); | ||
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration); | ||
}); | ||
@@ -691,3 +691,3 @@ }, | ||
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateKafkaById(id, kafkaUpdateRequest, options); | ||
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration); | ||
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration); | ||
}); | ||
@@ -703,3 +703,3 @@ }, | ||
const DefaultApiFactory = function (configuration, basePath, axios) { | ||
const localVarFp = (0, exports.DefaultApiFp)(configuration); | ||
const localVarFp = exports.DefaultApiFp(configuration); | ||
return { | ||
@@ -777,3 +777,3 @@ /** | ||
* @param {string} [size] Number of items in each page | ||
* @param {string} [orderBy] Specifies the order by criteria. The syntax of this parameter is similar to the syntax of the `order by` clause of an SQL statement. Each query can be ordered by any of the `kafkaRequests` fields. For example, to return all Kafka instances ordered by their name, use the following syntax: ```sql name asc ``` To return all Kafka instances ordered by their name _and_ created date, use the following syntax: ```sql name asc, created_at asc ``` If the parameter isn\'t provided, or if the value is empty, then the results are ordered by name. | ||
* @param {string} [orderBy] Specifies the order by criteria. The syntax of this parameter is similar to the syntax of the `order by` clause of an SQL statement. Each query can be ordered by any of the following `kafkaRequests` fields: * bootstrap_server_host * cloud_provider * cluster_id * created_at * href * id * instance_type * multi_az * name * organisation_id * owner * reauthentication_enabled * region * status * updated_at * version For example, to return all Kafka instances ordered by their name, use the following syntax: ```sql name asc ``` To return all Kafka instances ordered by their name _and_ created date, use the following syntax: ```sql name asc, created_at asc ``` If the parameter isn\'t provided, or if the value is empty, then the results are ordered by name. | ||
* @param {string} [search] Search criteria. The syntax of this parameter is similar to the syntax of the `where` clause of an SQL statement. Allowed fields in the search are `cloud_provider`, `name`, `owner`, `region`, and `status`. Allowed comparators are `<>`, `=`, or `LIKE`. Allowed joins are `AND` and `OR`. However, you can use a maximum of 10 joins in a search query. Examples: To return a Kafka instance with the name `my-kafka` and the region `aws`, use the following syntax: ``` name = my-kafka and cloud_provider = aws ```[p-] To return a Kafka instance with a name that starts with `my`, use the following syntax: ``` name like my%25 ``` If the parameter isn\'t provided, or if the value is empty, then all the Kafka instances that the user has permission to see are returned. Note. If the query is invalid, an error is returned. | ||
@@ -859,3 +859,3 @@ * @param {*} [options] Override http request option. | ||
createKafka(async, kafkaRequestPayload, options) { | ||
return (0, exports.DefaultApiFp)(this.configuration).createKafka(async, kafkaRequestPayload, options).then((request) => request(this.axios, this.basePath)); | ||
return exports.DefaultApiFp(this.configuration).createKafka(async, kafkaRequestPayload, options).then((request) => request(this.axios, this.basePath)); | ||
} | ||
@@ -872,3 +872,3 @@ /** | ||
deleteKafkaById(id, async, options) { | ||
return (0, exports.DefaultApiFp)(this.configuration).deleteKafkaById(id, async, options).then((request) => request(this.axios, this.basePath)); | ||
return exports.DefaultApiFp(this.configuration).deleteKafkaById(id, async, options).then((request) => request(this.axios, this.basePath)); | ||
} | ||
@@ -884,3 +884,3 @@ /** | ||
federateMetrics(id, options) { | ||
return (0, exports.DefaultApiFp)(this.configuration).federateMetrics(id, options).then((request) => request(this.axios, this.basePath)); | ||
return exports.DefaultApiFp(this.configuration).federateMetrics(id, options).then((request) => request(this.axios, this.basePath)); | ||
} | ||
@@ -899,3 +899,3 @@ /** | ||
getCloudProviderRegions(id, page, size, instanceType, options) { | ||
return (0, exports.DefaultApiFp)(this.configuration).getCloudProviderRegions(id, page, size, instanceType, options).then((request) => request(this.axios, this.basePath)); | ||
return exports.DefaultApiFp(this.configuration).getCloudProviderRegions(id, page, size, instanceType, options).then((request) => request(this.axios, this.basePath)); | ||
} | ||
@@ -912,3 +912,3 @@ /** | ||
getCloudProviders(page, size, options) { | ||
return (0, exports.DefaultApiFp)(this.configuration).getCloudProviders(page, size, options).then((request) => request(this.axios, this.basePath)); | ||
return exports.DefaultApiFp(this.configuration).getCloudProviders(page, size, options).then((request) => request(this.axios, this.basePath)); | ||
} | ||
@@ -924,3 +924,3 @@ /** | ||
getKafkaById(id, options) { | ||
return (0, exports.DefaultApiFp)(this.configuration).getKafkaById(id, options).then((request) => request(this.axios, this.basePath)); | ||
return exports.DefaultApiFp(this.configuration).getKafkaById(id, options).then((request) => request(this.axios, this.basePath)); | ||
} | ||
@@ -932,3 +932,3 @@ /** | ||
* @param {string} [size] Number of items in each page | ||
* @param {string} [orderBy] Specifies the order by criteria. The syntax of this parameter is similar to the syntax of the `order by` clause of an SQL statement. Each query can be ordered by any of the `kafkaRequests` fields. For example, to return all Kafka instances ordered by their name, use the following syntax: ```sql name asc ``` To return all Kafka instances ordered by their name _and_ created date, use the following syntax: ```sql name asc, created_at asc ``` If the parameter isn\'t provided, or if the value is empty, then the results are ordered by name. | ||
* @param {string} [orderBy] Specifies the order by criteria. The syntax of this parameter is similar to the syntax of the `order by` clause of an SQL statement. Each query can be ordered by any of the following `kafkaRequests` fields: * bootstrap_server_host * cloud_provider * cluster_id * created_at * href * id * instance_type * multi_az * name * organisation_id * owner * reauthentication_enabled * region * status * updated_at * version For example, to return all Kafka instances ordered by their name, use the following syntax: ```sql name asc ``` To return all Kafka instances ordered by their name _and_ created date, use the following syntax: ```sql name asc, created_at asc ``` If the parameter isn\'t provided, or if the value is empty, then the results are ordered by name. | ||
* @param {string} [search] Search criteria. The syntax of this parameter is similar to the syntax of the `where` clause of an SQL statement. Allowed fields in the search are `cloud_provider`, `name`, `owner`, `region`, and `status`. Allowed comparators are `<>`, `=`, or `LIKE`. Allowed joins are `AND` and `OR`. However, you can use a maximum of 10 joins in a search query. Examples: To return a Kafka instance with the name `my-kafka` and the region `aws`, use the following syntax: ``` name = my-kafka and cloud_provider = aws ```[p-] To return a Kafka instance with a name that starts with `my`, use the following syntax: ``` name like my%25 ``` If the parameter isn\'t provided, or if the value is empty, then all the Kafka instances that the user has permission to see are returned. Note. If the query is invalid, an error is returned. | ||
@@ -940,3 +940,3 @@ * @param {*} [options] Override http request option. | ||
getKafkas(page, size, orderBy, search, options) { | ||
return (0, exports.DefaultApiFp)(this.configuration).getKafkas(page, size, orderBy, search, options).then((request) => request(this.axios, this.basePath)); | ||
return exports.DefaultApiFp(this.configuration).getKafkas(page, size, orderBy, search, options).then((request) => request(this.axios, this.basePath)); | ||
} | ||
@@ -953,3 +953,3 @@ /** | ||
getMetricsByInstantQuery(id, filters, options) { | ||
return (0, exports.DefaultApiFp)(this.configuration).getMetricsByInstantQuery(id, filters, options).then((request) => request(this.axios, this.basePath)); | ||
return exports.DefaultApiFp(this.configuration).getMetricsByInstantQuery(id, filters, options).then((request) => request(this.axios, this.basePath)); | ||
} | ||
@@ -968,3 +968,3 @@ /** | ||
getMetricsByRangeQuery(id, duration, interval, filters, options) { | ||
return (0, exports.DefaultApiFp)(this.configuration).getMetricsByRangeQuery(id, duration, interval, filters, options).then((request) => request(this.axios, this.basePath)); | ||
return exports.DefaultApiFp(this.configuration).getMetricsByRangeQuery(id, duration, interval, filters, options).then((request) => request(this.axios, this.basePath)); | ||
} | ||
@@ -979,3 +979,3 @@ /** | ||
getServiceStatus(options) { | ||
return (0, exports.DefaultApiFp)(this.configuration).getServiceStatus(options).then((request) => request(this.axios, this.basePath)); | ||
return exports.DefaultApiFp(this.configuration).getServiceStatus(options).then((request) => request(this.axios, this.basePath)); | ||
} | ||
@@ -990,3 +990,3 @@ /** | ||
getVersionMetadata(options) { | ||
return (0, exports.DefaultApiFp)(this.configuration).getVersionMetadata(options).then((request) => request(this.axios, this.basePath)); | ||
return exports.DefaultApiFp(this.configuration).getVersionMetadata(options).then((request) => request(this.axios, this.basePath)); | ||
} | ||
@@ -1003,5 +1003,5 @@ /** | ||
updateKafkaById(id, kafkaUpdateRequest, options) { | ||
return (0, exports.DefaultApiFp)(this.configuration).updateKafkaById(id, kafkaUpdateRequest, options).then((request) => request(this.axios, this.basePath)); | ||
return exports.DefaultApiFp(this.configuration).updateKafkaById(id, kafkaUpdateRequest, options).then((request) => request(this.axios, this.basePath)); | ||
} | ||
} | ||
exports.DefaultApi = DefaultApi; |
@@ -118,3 +118,3 @@ /** | ||
*/ | ||
getErrorById(id: string, options?: any): Promise<import("axios").AxiosResponse<Error, any>>; | ||
getErrorById(id: string, options?: any): Promise<import("axios").AxiosResponse<Error>>; | ||
/** | ||
@@ -127,3 +127,3 @@ * | ||
*/ | ||
getErrors(options?: any): Promise<import("axios").AxiosResponse<ErrorList, any>>; | ||
getErrors(options?: any): Promise<import("axios").AxiosResponse<ErrorList>>; | ||
} |
@@ -47,3 +47,3 @@ "use strict"; | ||
// verify required parameter 'id' is not null or undefined | ||
(0, common_1.assertParamExists)('getErrorById', 'id', id); | ||
common_1.assertParamExists('getErrorById', 'id', id); | ||
const localVarPath = `/api/kafkas_mgmt/v1/errors/{id}` | ||
@@ -60,7 +60,7 @@ .replace(`{${"id"}}`, encodeURIComponent(String(id))); | ||
const localVarQueryParameter = {}; | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query); | ||
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); | ||
return { | ||
url: (0, common_1.toPathString)(localVarUrlObj), | ||
url: common_1.toPathString(localVarUrlObj), | ||
options: localVarRequestOptions, | ||
@@ -86,7 +86,7 @@ }; | ||
const localVarQueryParameter = {}; | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query); | ||
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); | ||
return { | ||
url: (0, common_1.toPathString)(localVarUrlObj), | ||
url: common_1.toPathString(localVarUrlObj), | ||
options: localVarRequestOptions, | ||
@@ -103,3 +103,3 @@ }; | ||
const ErrorsApiFp = function (configuration) { | ||
const localVarAxiosParamCreator = (0, exports.ErrorsApiAxiosParamCreator)(configuration); | ||
const localVarAxiosParamCreator = exports.ErrorsApiAxiosParamCreator(configuration); | ||
return { | ||
@@ -116,3 +116,3 @@ /** | ||
const localVarAxiosArgs = yield localVarAxiosParamCreator.getErrorById(id, options); | ||
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration); | ||
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration); | ||
}); | ||
@@ -129,3 +129,3 @@ }, | ||
const localVarAxiosArgs = yield localVarAxiosParamCreator.getErrors(options); | ||
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration); | ||
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration); | ||
}); | ||
@@ -141,3 +141,3 @@ }, | ||
const ErrorsApiFactory = function (configuration, basePath, axios) { | ||
const localVarFp = (0, exports.ErrorsApiFp)(configuration); | ||
const localVarFp = exports.ErrorsApiFp(configuration); | ||
return { | ||
@@ -182,3 +182,3 @@ /** | ||
getErrorById(id, options) { | ||
return (0, exports.ErrorsApiFp)(this.configuration).getErrorById(id, options).then((request) => request(this.axios, this.basePath)); | ||
return exports.ErrorsApiFp(this.configuration).getErrorById(id, options).then((request) => request(this.axios, this.basePath)); | ||
} | ||
@@ -193,5 +193,5 @@ /** | ||
getErrors(options) { | ||
return (0, exports.ErrorsApiFp)(this.configuration).getErrors(options).then((request) => request(this.axios, this.basePath)); | ||
return exports.ErrorsApiFp(this.configuration).getErrors(options).then((request) => request(this.axios, this.basePath)); | ||
} | ||
} | ||
exports.ErrorsApi = ErrorsApi; |
@@ -219,3 +219,3 @@ /** | ||
*/ | ||
createServiceAccount(serviceAccountRequest: ServiceAccountRequest, options?: any): Promise<import("axios").AxiosResponse<ServiceAccount, any>>; | ||
createServiceAccount(serviceAccountRequest: ServiceAccountRequest, options?: any): Promise<import("axios").AxiosResponse<ServiceAccount>>; | ||
/** | ||
@@ -229,3 +229,3 @@ * | ||
*/ | ||
deleteServiceAccountById(id: string, options?: any): Promise<import("axios").AxiosResponse<Error, any>>; | ||
deleteServiceAccountById(id: string, options?: any): Promise<import("axios").AxiosResponse<Error>>; | ||
/** | ||
@@ -239,3 +239,3 @@ * | ||
*/ | ||
getServiceAccountById(id: string, options?: any): Promise<import("axios").AxiosResponse<ServiceAccount, any>>; | ||
getServiceAccountById(id: string, options?: any): Promise<import("axios").AxiosResponse<ServiceAccount>>; | ||
/** | ||
@@ -248,3 +248,3 @@ * | ||
*/ | ||
getServiceAccounts(options?: any): Promise<import("axios").AxiosResponse<import("../model").ServiceAccountListAllOf, any>>; | ||
getServiceAccounts(options?: any): Promise<import("axios").AxiosResponse<import("../model").ServiceAccountListAllOf>>; | ||
/** | ||
@@ -258,3 +258,3 @@ * | ||
*/ | ||
resetServiceAccountCreds(id: string, options?: any): Promise<import("axios").AxiosResponse<ServiceAccount, any>>; | ||
resetServiceAccountCreds(id: string, options?: any): Promise<import("axios").AxiosResponse<ServiceAccount>>; | ||
} |
@@ -47,3 +47,3 @@ "use strict"; | ||
// verify required parameter 'serviceAccountRequest' is not null or undefined | ||
(0, common_1.assertParamExists)('createServiceAccount', 'serviceAccountRequest', serviceAccountRequest); | ||
common_1.assertParamExists('createServiceAccount', 'serviceAccountRequest', serviceAccountRequest); | ||
const localVarPath = `/api/kafkas_mgmt/v1/service_accounts`; | ||
@@ -61,10 +61,10 @@ // use dummy base URL string because the URL constructor only accepts absolute URLs. | ||
// http bearer authentication required | ||
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration); | ||
yield common_1.setBearerAuthToObject(localVarHeaderParameter, configuration); | ||
localVarHeaderParameter['Content-Type'] = 'application/json'; | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query); | ||
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); | ||
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(serviceAccountRequest, localVarRequestOptions, configuration); | ||
localVarRequestOptions.data = common_1.serializeDataIfNeeded(serviceAccountRequest, localVarRequestOptions, configuration); | ||
return { | ||
url: (0, common_1.toPathString)(localVarUrlObj), | ||
url: common_1.toPathString(localVarUrlObj), | ||
options: localVarRequestOptions, | ||
@@ -82,3 +82,3 @@ }; | ||
// verify required parameter 'id' is not null or undefined | ||
(0, common_1.assertParamExists)('deleteServiceAccountById', 'id', id); | ||
common_1.assertParamExists('deleteServiceAccountById', 'id', id); | ||
const localVarPath = `/api/kafkas_mgmt/v1/service_accounts/{id}` | ||
@@ -97,8 +97,8 @@ .replace(`{${"id"}}`, encodeURIComponent(String(id))); | ||
// http bearer authentication required | ||
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration); | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query); | ||
yield common_1.setBearerAuthToObject(localVarHeaderParameter, configuration); | ||
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); | ||
return { | ||
url: (0, common_1.toPathString)(localVarUrlObj), | ||
url: common_1.toPathString(localVarUrlObj), | ||
options: localVarRequestOptions, | ||
@@ -116,3 +116,3 @@ }; | ||
// verify required parameter 'id' is not null or undefined | ||
(0, common_1.assertParamExists)('getServiceAccountById', 'id', id); | ||
common_1.assertParamExists('getServiceAccountById', 'id', id); | ||
const localVarPath = `/api/kafkas_mgmt/v1/service_accounts/{id}` | ||
@@ -131,8 +131,8 @@ .replace(`{${"id"}}`, encodeURIComponent(String(id))); | ||
// http bearer authentication required | ||
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration); | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query); | ||
yield common_1.setBearerAuthToObject(localVarHeaderParameter, configuration); | ||
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); | ||
return { | ||
url: (0, common_1.toPathString)(localVarUrlObj), | ||
url: common_1.toPathString(localVarUrlObj), | ||
options: localVarRequestOptions, | ||
@@ -160,8 +160,8 @@ }; | ||
// http bearer authentication required | ||
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration); | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query); | ||
yield common_1.setBearerAuthToObject(localVarHeaderParameter, configuration); | ||
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); | ||
return { | ||
url: (0, common_1.toPathString)(localVarUrlObj), | ||
url: common_1.toPathString(localVarUrlObj), | ||
options: localVarRequestOptions, | ||
@@ -179,3 +179,3 @@ }; | ||
// verify required parameter 'id' is not null or undefined | ||
(0, common_1.assertParamExists)('resetServiceAccountCreds', 'id', id); | ||
common_1.assertParamExists('resetServiceAccountCreds', 'id', id); | ||
const localVarPath = `/api/kafkas_mgmt/v1/service_accounts/{id}/reset_credentials` | ||
@@ -194,8 +194,8 @@ .replace(`{${"id"}}`, encodeURIComponent(String(id))); | ||
// http bearer authentication required | ||
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration); | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query); | ||
yield common_1.setBearerAuthToObject(localVarHeaderParameter, configuration); | ||
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); | ||
return { | ||
url: (0, common_1.toPathString)(localVarUrlObj), | ||
url: common_1.toPathString(localVarUrlObj), | ||
options: localVarRequestOptions, | ||
@@ -212,3 +212,3 @@ }; | ||
const SecurityApiFp = function (configuration) { | ||
const localVarAxiosParamCreator = (0, exports.SecurityApiAxiosParamCreator)(configuration); | ||
const localVarAxiosParamCreator = exports.SecurityApiAxiosParamCreator(configuration); | ||
return { | ||
@@ -225,3 +225,3 @@ /** | ||
const localVarAxiosArgs = yield localVarAxiosParamCreator.createServiceAccount(serviceAccountRequest, options); | ||
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration); | ||
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration); | ||
}); | ||
@@ -239,3 +239,3 @@ }, | ||
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteServiceAccountById(id, options); | ||
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration); | ||
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration); | ||
}); | ||
@@ -253,3 +253,3 @@ }, | ||
const localVarAxiosArgs = yield localVarAxiosParamCreator.getServiceAccountById(id, options); | ||
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration); | ||
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration); | ||
}); | ||
@@ -266,3 +266,3 @@ }, | ||
const localVarAxiosArgs = yield localVarAxiosParamCreator.getServiceAccounts(options); | ||
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration); | ||
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration); | ||
}); | ||
@@ -280,3 +280,3 @@ }, | ||
const localVarAxiosArgs = yield localVarAxiosParamCreator.resetServiceAccountCreds(id, options); | ||
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration); | ||
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration); | ||
}); | ||
@@ -292,3 +292,3 @@ }, | ||
const SecurityApiFactory = function (configuration, basePath, axios) { | ||
const localVarFp = (0, exports.SecurityApiFp)(configuration); | ||
const localVarFp = exports.SecurityApiFp(configuration); | ||
return { | ||
@@ -363,3 +363,3 @@ /** | ||
createServiceAccount(serviceAccountRequest, options) { | ||
return (0, exports.SecurityApiFp)(this.configuration).createServiceAccount(serviceAccountRequest, options).then((request) => request(this.axios, this.basePath)); | ||
return exports.SecurityApiFp(this.configuration).createServiceAccount(serviceAccountRequest, options).then((request) => request(this.axios, this.basePath)); | ||
} | ||
@@ -375,3 +375,3 @@ /** | ||
deleteServiceAccountById(id, options) { | ||
return (0, exports.SecurityApiFp)(this.configuration).deleteServiceAccountById(id, options).then((request) => request(this.axios, this.basePath)); | ||
return exports.SecurityApiFp(this.configuration).deleteServiceAccountById(id, options).then((request) => request(this.axios, this.basePath)); | ||
} | ||
@@ -387,3 +387,3 @@ /** | ||
getServiceAccountById(id, options) { | ||
return (0, exports.SecurityApiFp)(this.configuration).getServiceAccountById(id, options).then((request) => request(this.axios, this.basePath)); | ||
return exports.SecurityApiFp(this.configuration).getServiceAccountById(id, options).then((request) => request(this.axios, this.basePath)); | ||
} | ||
@@ -398,3 +398,3 @@ /** | ||
getServiceAccounts(options) { | ||
return (0, exports.SecurityApiFp)(this.configuration).getServiceAccounts(options).then((request) => request(this.axios, this.basePath)); | ||
return exports.SecurityApiFp(this.configuration).getServiceAccounts(options).then((request) => request(this.axios, this.basePath)); | ||
} | ||
@@ -410,5 +410,5 @@ /** | ||
resetServiceAccountCreds(id, options) { | ||
return (0, exports.SecurityApiFp)(this.configuration).resetServiceAccountCreds(id, options).then((request) => request(this.axios, this.basePath)); | ||
return exports.SecurityApiFp(this.configuration).resetServiceAccountCreds(id, options).then((request) => request(this.axios, this.basePath)); | ||
} | ||
} | ||
exports.SecurityApi = SecurityApi; |
@@ -65,2 +65,2 @@ /** | ||
*/ | ||
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => (axios?: AxiosInstance, basePath?: string) => Promise<import("axios").AxiosResponse<any, any>>; | ||
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => (axios?: AxiosInstance, basePath?: string) => Promise<import("axios").AxiosResponse<any>>; |
export * from "./generated"; | ||
export * from "./errors"; |
@@ -15,1 +15,2 @@ "use strict"; | ||
__exportStar(require("./generated"), exports); | ||
__exportStar(require("./errors"), exports); |
{ | ||
"name": "@rhoas/kafka-management-sdk", | ||
"version": "0.19.0", | ||
"version": "0.20.0-dev1", | ||
"description": "RHOAS Kafka Management SDK", | ||
@@ -5,0 +5,0 @@ "author": "Red Hat Developers", |
@@ -319,3 +319,3 @@ /* tslint:disable */ | ||
* @param {string} [size] Number of items in each page | ||
* @param {string} [orderBy] Specifies the order by criteria. The syntax of this parameter is similar to the syntax of the `order by` clause of an SQL statement. Each query can be ordered by any of the `kafkaRequests` fields. For example, to return all Kafka instances ordered by their name, use the following syntax: ```sql name asc ``` To return all Kafka instances ordered by their name _and_ created date, use the following syntax: ```sql name asc, created_at asc ``` If the parameter isn\'t provided, or if the value is empty, then the results are ordered by name. | ||
* @param {string} [orderBy] Specifies the order by criteria. The syntax of this parameter is similar to the syntax of the `order by` clause of an SQL statement. Each query can be ordered by any of the following `kafkaRequests` fields: * bootstrap_server_host * cloud_provider * cluster_id * created_at * href * id * instance_type * multi_az * name * organisation_id * owner * reauthentication_enabled * region * status * updated_at * version For example, to return all Kafka instances ordered by their name, use the following syntax: ```sql name asc ``` To return all Kafka instances ordered by their name _and_ created date, use the following syntax: ```sql name asc, created_at asc ``` If the parameter isn\'t provided, or if the value is empty, then the results are ordered by name. | ||
* @param {string} [search] Search criteria. The syntax of this parameter is similar to the syntax of the `where` clause of an SQL statement. Allowed fields in the search are `cloud_provider`, `name`, `owner`, `region`, and `status`. Allowed comparators are `<>`, `=`, or `LIKE`. Allowed joins are `AND` and `OR`. However, you can use a maximum of 10 joins in a search query. Examples: To return a Kafka instance with the name `my-kafka` and the region `aws`, use the following syntax: ``` name = my-kafka and cloud_provider = aws ```[p-] To return a Kafka instance with a name that starts with `my`, use the following syntax: ``` name like my%25 ``` If the parameter isn\'t provided, or if the value is empty, then all the Kafka instances that the user has permission to see are returned. Note. If the query is invalid, an error is returned. | ||
@@ -664,3 +664,3 @@ * @param {*} [options] Override http request option. | ||
* @param {string} [size] Number of items in each page | ||
* @param {string} [orderBy] Specifies the order by criteria. The syntax of this parameter is similar to the syntax of the `order by` clause of an SQL statement. Each query can be ordered by any of the `kafkaRequests` fields. For example, to return all Kafka instances ordered by their name, use the following syntax: ```sql name asc ``` To return all Kafka instances ordered by their name _and_ created date, use the following syntax: ```sql name asc, created_at asc ``` If the parameter isn\'t provided, or if the value is empty, then the results are ordered by name. | ||
* @param {string} [orderBy] Specifies the order by criteria. The syntax of this parameter is similar to the syntax of the `order by` clause of an SQL statement. Each query can be ordered by any of the following `kafkaRequests` fields: * bootstrap_server_host * cloud_provider * cluster_id * created_at * href * id * instance_type * multi_az * name * organisation_id * owner * reauthentication_enabled * region * status * updated_at * version For example, to return all Kafka instances ordered by their name, use the following syntax: ```sql name asc ``` To return all Kafka instances ordered by their name _and_ created date, use the following syntax: ```sql name asc, created_at asc ``` If the parameter isn\'t provided, or if the value is empty, then the results are ordered by name. | ||
* @param {string} [search] Search criteria. The syntax of this parameter is similar to the syntax of the `where` clause of an SQL statement. Allowed fields in the search are `cloud_provider`, `name`, `owner`, `region`, and `status`. Allowed comparators are `<>`, `=`, or `LIKE`. Allowed joins are `AND` and `OR`. However, you can use a maximum of 10 joins in a search query. Examples: To return a Kafka instance with the name `my-kafka` and the region `aws`, use the following syntax: ``` name = my-kafka and cloud_provider = aws ```[p-] To return a Kafka instance with a name that starts with `my`, use the following syntax: ``` name like my%25 ``` If the parameter isn\'t provided, or if the value is empty, then all the Kafka instances that the user has permission to see are returned. Note. If the query is invalid, an error is returned. | ||
@@ -813,3 +813,3 @@ * @param {*} [options] Override http request option. | ||
* @param {string} [size] Number of items in each page | ||
* @param {string} [orderBy] Specifies the order by criteria. The syntax of this parameter is similar to the syntax of the `order by` clause of an SQL statement. Each query can be ordered by any of the `kafkaRequests` fields. For example, to return all Kafka instances ordered by their name, use the following syntax: ```sql name asc ``` To return all Kafka instances ordered by their name _and_ created date, use the following syntax: ```sql name asc, created_at asc ``` If the parameter isn\'t provided, or if the value is empty, then the results are ordered by name. | ||
* @param {string} [orderBy] Specifies the order by criteria. The syntax of this parameter is similar to the syntax of the `order by` clause of an SQL statement. Each query can be ordered by any of the following `kafkaRequests` fields: * bootstrap_server_host * cloud_provider * cluster_id * created_at * href * id * instance_type * multi_az * name * organisation_id * owner * reauthentication_enabled * region * status * updated_at * version For example, to return all Kafka instances ordered by their name, use the following syntax: ```sql name asc ``` To return all Kafka instances ordered by their name _and_ created date, use the following syntax: ```sql name asc, created_at asc ``` If the parameter isn\'t provided, or if the value is empty, then the results are ordered by name. | ||
* @param {string} [search] Search criteria. The syntax of this parameter is similar to the syntax of the `where` clause of an SQL statement. Allowed fields in the search are `cloud_provider`, `name`, `owner`, `region`, and `status`. Allowed comparators are `<>`, `=`, or `LIKE`. Allowed joins are `AND` and `OR`. However, you can use a maximum of 10 joins in a search query. Examples: To return a Kafka instance with the name `my-kafka` and the region `aws`, use the following syntax: ``` name = my-kafka and cloud_provider = aws ```[p-] To return a Kafka instance with a name that starts with `my`, use the following syntax: ``` name like my%25 ``` If the parameter isn\'t provided, or if the value is empty, then all the Kafka instances that the user has permission to see are returned. Note. If the query is invalid, an error is returned. | ||
@@ -955,3 +955,3 @@ * @param {*} [options] Override http request option. | ||
* @param {string} [size] Number of items in each page | ||
* @param {string} [orderBy] Specifies the order by criteria. The syntax of this parameter is similar to the syntax of the `order by` clause of an SQL statement. Each query can be ordered by any of the `kafkaRequests` fields. For example, to return all Kafka instances ordered by their name, use the following syntax: ```sql name asc ``` To return all Kafka instances ordered by their name _and_ created date, use the following syntax: ```sql name asc, created_at asc ``` If the parameter isn\'t provided, or if the value is empty, then the results are ordered by name. | ||
* @param {string} [orderBy] Specifies the order by criteria. The syntax of this parameter is similar to the syntax of the `order by` clause of an SQL statement. Each query can be ordered by any of the following `kafkaRequests` fields: * bootstrap_server_host * cloud_provider * cluster_id * created_at * href * id * instance_type * multi_az * name * organisation_id * owner * reauthentication_enabled * region * status * updated_at * version For example, to return all Kafka instances ordered by their name, use the following syntax: ```sql name asc ``` To return all Kafka instances ordered by their name _and_ created date, use the following syntax: ```sql name asc, created_at asc ``` If the parameter isn\'t provided, or if the value is empty, then the results are ordered by name. | ||
* @param {string} [search] Search criteria. The syntax of this parameter is similar to the syntax of the `where` clause of an SQL statement. Allowed fields in the search are `cloud_provider`, `name`, `owner`, `region`, and `status`. Allowed comparators are `<>`, `=`, or `LIKE`. Allowed joins are `AND` and `OR`. However, you can use a maximum of 10 joins in a search query. Examples: To return a Kafka instance with the name `my-kafka` and the region `aws`, use the following syntax: ``` name = my-kafka and cloud_provider = aws ```[p-] To return a Kafka instance with a name that starts with `my`, use the following syntax: ``` name like my%25 ``` If the parameter isn\'t provided, or if the value is empty, then all the Kafka instances that the user has permission to see are returned. Note. If the query is invalid, an error is returned. | ||
@@ -1109,3 +1109,3 @@ * @param {*} [options] Override http request option. | ||
* @param {string} [size] Number of items in each page | ||
* @param {string} [orderBy] Specifies the order by criteria. The syntax of this parameter is similar to the syntax of the `order by` clause of an SQL statement. Each query can be ordered by any of the `kafkaRequests` fields. For example, to return all Kafka instances ordered by their name, use the following syntax: ```sql name asc ``` To return all Kafka instances ordered by their name _and_ created date, use the following syntax: ```sql name asc, created_at asc ``` If the parameter isn\'t provided, or if the value is empty, then the results are ordered by name. | ||
* @param {string} [orderBy] Specifies the order by criteria. The syntax of this parameter is similar to the syntax of the `order by` clause of an SQL statement. Each query can be ordered by any of the following `kafkaRequests` fields: * bootstrap_server_host * cloud_provider * cluster_id * created_at * href * id * instance_type * multi_az * name * organisation_id * owner * reauthentication_enabled * region * status * updated_at * version For example, to return all Kafka instances ordered by their name, use the following syntax: ```sql name asc ``` To return all Kafka instances ordered by their name _and_ created date, use the following syntax: ```sql name asc, created_at asc ``` If the parameter isn\'t provided, or if the value is empty, then the results are ordered by name. | ||
* @param {string} [search] Search criteria. The syntax of this parameter is similar to the syntax of the `where` clause of an SQL statement. Allowed fields in the search are `cloud_provider`, `name`, `owner`, `region`, and `status`. Allowed comparators are `<>`, `=`, or `LIKE`. Allowed joins are `AND` and `OR`. However, you can use a maximum of 10 joins in a search query. Examples: To return a Kafka instance with the name `my-kafka` and the region `aws`, use the following syntax: ``` name = my-kafka and cloud_provider = aws ```[p-] To return a Kafka instance with a name that starts with `my`, use the following syntax: ``` name like my%25 ``` If the parameter isn\'t provided, or if the value is empty, then all the Kafka instances that the user has permission to see are returned. Note. If the query is invalid, an error is returned. | ||
@@ -1112,0 +1112,0 @@ * @param {*} [options] Override http request option. |
// Export generated API | ||
export * from "./generated" | ||
export * from "./generated" | ||
export * from "./errors"; |
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
346235
146
8443