@rhoas/kafka-management-sdk
Advanced tools
Comparing version 0.23.2 to 0.24.0
@@ -12,3 +12,3 @@ /** | ||
*/ | ||
import { AxiosPromise, AxiosInstance } from 'axios'; | ||
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios'; | ||
import { Configuration } from '../configuration'; | ||
@@ -39,3 +39,3 @@ import { RequestArgs, BaseAPI } from '../base'; | ||
*/ | ||
createKafka: (async: boolean, kafkaRequestPayload: KafkaRequestPayload, options?: any) => Promise<RequestArgs>; | ||
createKafka: (async: boolean, kafkaRequestPayload: KafkaRequestPayload, options?: AxiosRequestConfig) => Promise<RequestArgs>; | ||
/** | ||
@@ -49,3 +49,3 @@ * | ||
*/ | ||
deleteKafkaById: (id: string, async: boolean, options?: any) => Promise<RequestArgs>; | ||
deleteKafkaById: (id: string, async: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>; | ||
/** | ||
@@ -58,3 +58,3 @@ * | ||
*/ | ||
federateMetrics: (id: string, options?: any) => Promise<RequestArgs>; | ||
federateMetrics: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>; | ||
/** | ||
@@ -70,3 +70,3 @@ * | ||
*/ | ||
getCloudProviderRegions: (id: string, page?: string, size?: string, instanceType?: string, options?: any) => Promise<RequestArgs>; | ||
getCloudProviderRegions: (id: string, page?: string, size?: string, instanceType?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>; | ||
/** | ||
@@ -80,3 +80,3 @@ * | ||
*/ | ||
getCloudProviders: (page?: string, size?: string, options?: any) => Promise<RequestArgs>; | ||
getCloudProviders: (page?: string, size?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>; | ||
/** | ||
@@ -89,3 +89,3 @@ * | ||
*/ | ||
getKafkaById: (id: string, options?: any) => Promise<RequestArgs>; | ||
getKafkaById: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>; | ||
/** | ||
@@ -101,3 +101,3 @@ * | ||
*/ | ||
getKafkas: (page?: string, size?: string, orderBy?: string, search?: string, options?: any) => Promise<RequestArgs>; | ||
getKafkas: (page?: string, size?: string, orderBy?: string, search?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>; | ||
/** | ||
@@ -111,3 +111,3 @@ * | ||
*/ | ||
getMetricsByInstantQuery: (id: string, filters?: Array<string>, options?: any) => Promise<RequestArgs>; | ||
getMetricsByInstantQuery: (id: string, filters?: Array<string>, options?: AxiosRequestConfig) => Promise<RequestArgs>; | ||
/** | ||
@@ -123,3 +123,3 @@ * | ||
*/ | ||
getMetricsByRangeQuery: (id: string, duration: number, interval: number, filters?: Array<string>, options?: any) => Promise<RequestArgs>; | ||
getMetricsByRangeQuery: (id: string, duration: number, interval: number, filters?: Array<string>, options?: AxiosRequestConfig) => Promise<RequestArgs>; | ||
/** | ||
@@ -132,3 +132,3 @@ * [DEPRECATED] The service capacity status is now reported per cloud provider region and Kafka instance type in the /api/kafkas_mgmt/v1/cloud_providers/{id}/regions endpoint. Please use this endpoint instead. | ||
*/ | ||
getServiceStatus: (options?: any) => Promise<RequestArgs>; | ||
getServiceStatus: (options?: AxiosRequestConfig) => Promise<RequestArgs>; | ||
/** | ||
@@ -140,3 +140,3 @@ * | ||
*/ | ||
getVersionMetadata: (options?: any) => Promise<RequestArgs>; | ||
getVersionMetadata: (options?: AxiosRequestConfig) => Promise<RequestArgs>; | ||
/** | ||
@@ -150,3 +150,3 @@ * | ||
*/ | ||
updateKafkaById: (id: string, kafkaUpdateRequest: KafkaUpdateRequest, options?: any) => Promise<RequestArgs>; | ||
updateKafkaById: (id: string, kafkaUpdateRequest: KafkaUpdateRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>; | ||
}; | ||
@@ -166,3 +166,3 @@ /** | ||
*/ | ||
createKafka(async: boolean, kafkaRequestPayload: KafkaRequestPayload, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<KafkaRequest>>; | ||
createKafka(async: boolean, kafkaRequestPayload: KafkaRequestPayload, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<KafkaRequest>>; | ||
/** | ||
@@ -176,3 +176,3 @@ * | ||
*/ | ||
deleteKafkaById(id: string, async: boolean, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Error>>; | ||
deleteKafkaById(id: string, async: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Error>>; | ||
/** | ||
@@ -185,3 +185,3 @@ * | ||
*/ | ||
federateMetrics(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>; | ||
federateMetrics(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>; | ||
/** | ||
@@ -197,3 +197,3 @@ * | ||
*/ | ||
getCloudProviderRegions(id: string, page?: string, size?: string, instanceType?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CloudRegionList>>; | ||
getCloudProviderRegions(id: string, page?: string, size?: string, instanceType?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CloudRegionList>>; | ||
/** | ||
@@ -207,3 +207,3 @@ * | ||
*/ | ||
getCloudProviders(page?: string, size?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CloudProviderList>>; | ||
getCloudProviders(page?: string, size?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CloudProviderList>>; | ||
/** | ||
@@ -216,3 +216,3 @@ * | ||
*/ | ||
getKafkaById(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<KafkaRequest>>; | ||
getKafkaById(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<KafkaRequest>>; | ||
/** | ||
@@ -228,3 +228,3 @@ * | ||
*/ | ||
getKafkas(page?: string, size?: string, orderBy?: string, search?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<KafkaRequestList>>; | ||
getKafkas(page?: string, size?: string, orderBy?: string, search?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<KafkaRequestList>>; | ||
/** | ||
@@ -238,3 +238,3 @@ * | ||
*/ | ||
getMetricsByInstantQuery(id: string, filters?: Array<string>, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MetricsInstantQueryList>>; | ||
getMetricsByInstantQuery(id: string, filters?: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MetricsInstantQueryList>>; | ||
/** | ||
@@ -250,3 +250,3 @@ * | ||
*/ | ||
getMetricsByRangeQuery(id: string, duration: number, interval: number, filters?: Array<string>, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MetricsRangeQueryList>>; | ||
getMetricsByRangeQuery(id: string, duration: number, interval: number, filters?: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MetricsRangeQueryList>>; | ||
/** | ||
@@ -259,3 +259,3 @@ * [DEPRECATED] The service capacity status is now reported per cloud provider region and Kafka instance type in the /api/kafkas_mgmt/v1/cloud_providers/{id}/regions endpoint. Please use this endpoint instead. | ||
*/ | ||
getServiceStatus(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceStatus>>; | ||
getServiceStatus(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceStatus>>; | ||
/** | ||
@@ -267,3 +267,3 @@ * | ||
*/ | ||
getVersionMetadata(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VersionMetadata>>; | ||
getVersionMetadata(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VersionMetadata>>; | ||
/** | ||
@@ -277,3 +277,3 @@ * | ||
*/ | ||
updateKafkaById(id: string, kafkaUpdateRequest: KafkaUpdateRequest, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<KafkaRequest>>; | ||
updateKafkaById(id: string, kafkaUpdateRequest: KafkaUpdateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<KafkaRequest>>; | ||
}; | ||
@@ -410,3 +410,3 @@ /** | ||
*/ | ||
createKafka(async: boolean, kafkaRequestPayload: KafkaRequestPayload, options?: any): AxiosPromise<KafkaRequest>; | ||
createKafka(async: boolean, kafkaRequestPayload: KafkaRequestPayload, options?: AxiosRequestConfig): AxiosPromise<KafkaRequest>; | ||
/** | ||
@@ -421,3 +421,3 @@ * | ||
*/ | ||
deleteKafkaById(id: string, async: boolean, options?: any): AxiosPromise<Error>; | ||
deleteKafkaById(id: string, async: boolean, options?: AxiosRequestConfig): AxiosPromise<Error>; | ||
/** | ||
@@ -431,3 +431,3 @@ * | ||
*/ | ||
federateMetrics(id: string, options?: any): AxiosPromise<string>; | ||
federateMetrics(id: string, options?: AxiosRequestConfig): AxiosPromise<string>; | ||
/** | ||
@@ -444,3 +444,3 @@ * | ||
*/ | ||
getCloudProviderRegions(id: string, page?: string, size?: string, instanceType?: string, options?: any): AxiosPromise<CloudRegionList>; | ||
getCloudProviderRegions(id: string, page?: string, size?: string, instanceType?: string, options?: AxiosRequestConfig): AxiosPromise<CloudRegionList>; | ||
/** | ||
@@ -455,3 +455,3 @@ * | ||
*/ | ||
getCloudProviders(page?: string, size?: string, options?: any): AxiosPromise<CloudProviderList>; | ||
getCloudProviders(page?: string, size?: string, options?: AxiosRequestConfig): AxiosPromise<CloudProviderList>; | ||
/** | ||
@@ -465,3 +465,3 @@ * | ||
*/ | ||
getKafkaById(id: string, options?: any): AxiosPromise<KafkaRequest>; | ||
getKafkaById(id: string, options?: AxiosRequestConfig): AxiosPromise<KafkaRequest>; | ||
/** | ||
@@ -478,3 +478,3 @@ * | ||
*/ | ||
getKafkas(page?: string, size?: string, orderBy?: string, search?: string, options?: any): AxiosPromise<KafkaRequestList>; | ||
getKafkas(page?: string, size?: string, orderBy?: string, search?: string, options?: AxiosRequestConfig): AxiosPromise<KafkaRequestList>; | ||
/** | ||
@@ -489,3 +489,3 @@ * | ||
*/ | ||
getMetricsByInstantQuery(id: string, filters?: Array<string>, options?: any): AxiosPromise<MetricsInstantQueryList>; | ||
getMetricsByInstantQuery(id: string, filters?: Array<string>, options?: AxiosRequestConfig): AxiosPromise<MetricsInstantQueryList>; | ||
/** | ||
@@ -502,3 +502,3 @@ * | ||
*/ | ||
getMetricsByRangeQuery(id: string, duration: number, interval: number, filters?: Array<string>, options?: any): AxiosPromise<MetricsRangeQueryList>; | ||
getMetricsByRangeQuery(id: string, duration: number, interval: number, filters?: Array<string>, options?: AxiosRequestConfig): AxiosPromise<MetricsRangeQueryList>; | ||
/** | ||
@@ -512,3 +512,3 @@ * [DEPRECATED] The service capacity status is now reported per cloud provider region and Kafka instance type in the /api/kafkas_mgmt/v1/cloud_providers/{id}/regions endpoint. Please use this endpoint instead. | ||
*/ | ||
getServiceStatus(options?: any): AxiosPromise<ServiceStatus>; | ||
getServiceStatus(options?: AxiosRequestConfig): AxiosPromise<ServiceStatus>; | ||
/** | ||
@@ -521,3 +521,3 @@ * | ||
*/ | ||
getVersionMetadata(options?: any): AxiosPromise<VersionMetadata>; | ||
getVersionMetadata(options?: AxiosRequestConfig): AxiosPromise<VersionMetadata>; | ||
/** | ||
@@ -532,3 +532,3 @@ * | ||
*/ | ||
updateKafkaById(id: string, kafkaUpdateRequest: KafkaUpdateRequest, options?: any): AxiosPromise<KafkaRequest>; | ||
updateKafkaById(id: string, kafkaUpdateRequest: KafkaUpdateRequest, options?: AxiosRequestConfig): AxiosPromise<KafkaRequest>; | ||
} | ||
@@ -551,3 +551,3 @@ /** | ||
*/ | ||
createKafka(async: boolean, kafkaRequestPayload: KafkaRequestPayload, options?: any): Promise<import("axios").AxiosResponse<KafkaRequest, any>>; | ||
createKafka(async: boolean, kafkaRequestPayload: KafkaRequestPayload, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<KafkaRequest, any>>; | ||
/** | ||
@@ -562,3 +562,3 @@ * | ||
*/ | ||
deleteKafkaById(id: string, async: boolean, options?: any): Promise<import("axios").AxiosResponse<Error, any>>; | ||
deleteKafkaById(id: string, async: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Error, any>>; | ||
/** | ||
@@ -572,3 +572,3 @@ * | ||
*/ | ||
federateMetrics(id: string, options?: any): Promise<import("axios").AxiosResponse<string, any>>; | ||
federateMetrics(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>; | ||
/** | ||
@@ -585,3 +585,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?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CloudRegionList, any>>; | ||
/** | ||
@@ -596,3 +596,3 @@ * | ||
*/ | ||
getCloudProviders(page?: string, size?: string, options?: any): Promise<import("axios").AxiosResponse<CloudProviderList, any>>; | ||
getCloudProviders(page?: string, size?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CloudProviderList, any>>; | ||
/** | ||
@@ -606,3 +606,3 @@ * | ||
*/ | ||
getKafkaById(id: string, options?: any): Promise<import("axios").AxiosResponse<KafkaRequest, any>>; | ||
getKafkaById(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<KafkaRequest, any>>; | ||
/** | ||
@@ -619,3 +619,3 @@ * | ||
*/ | ||
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?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<KafkaRequestList, any>>; | ||
/** | ||
@@ -630,3 +630,3 @@ * | ||
*/ | ||
getMetricsByInstantQuery(id: string, filters?: Array<string>, options?: any): Promise<import("axios").AxiosResponse<import("../model").MetricsInstantQueryListAllOf, any>>; | ||
getMetricsByInstantQuery(id: string, filters?: Array<string>, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<import("../model").MetricsInstantQueryListAllOf, any>>; | ||
/** | ||
@@ -643,3 +643,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?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<import("../model").MetricsRangeQueryListAllOf, any>>; | ||
/** | ||
@@ -653,3 +653,3 @@ * [DEPRECATED] The service capacity status is now reported per cloud provider region and Kafka instance type in the /api/kafkas_mgmt/v1/cloud_providers/{id}/regions endpoint. Please use this endpoint instead. | ||
*/ | ||
getServiceStatus(options?: any): Promise<import("axios").AxiosResponse<ServiceStatus, any>>; | ||
getServiceStatus(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ServiceStatus, any>>; | ||
/** | ||
@@ -662,3 +662,3 @@ * | ||
*/ | ||
getVersionMetadata(options?: any): Promise<import("axios").AxiosResponse<VersionMetadata, any>>; | ||
getVersionMetadata(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VersionMetadata, any>>; | ||
/** | ||
@@ -673,3 +673,3 @@ * | ||
*/ | ||
updateKafkaById(id: string, kafkaUpdateRequest: KafkaUpdateRequest, options?: any): Promise<import("axios").AxiosResponse<KafkaRequest, any>>; | ||
updateKafkaById(id: string, kafkaUpdateRequest: KafkaUpdateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<KafkaRequest, any>>; | ||
} |
@@ -68,3 +68,3 @@ "use strict"; | ||
localVarHeaderParameter['Content-Type'] = 'application/json'; | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query); | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
@@ -108,3 +108,3 @@ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); | ||
} | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query); | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
@@ -141,3 +141,3 @@ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); | ||
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration); | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query); | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
@@ -186,3 +186,3 @@ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); | ||
} | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query); | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
@@ -223,3 +223,3 @@ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); | ||
} | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query); | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
@@ -256,3 +256,3 @@ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); | ||
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration); | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query); | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
@@ -301,3 +301,3 @@ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); | ||
} | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query); | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
@@ -338,3 +338,3 @@ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); | ||
} | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query); | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
@@ -387,3 +387,3 @@ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); | ||
} | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query); | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
@@ -417,3 +417,3 @@ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); | ||
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration); | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query); | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
@@ -443,3 +443,3 @@ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); | ||
const localVarQueryParameter = {}; | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query); | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
@@ -480,3 +480,3 @@ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); | ||
localVarHeaderParameter['Content-Type'] = 'application/json'; | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query); | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
@@ -483,0 +483,0 @@ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); |
@@ -12,3 +12,3 @@ /** | ||
*/ | ||
import { AxiosPromise, AxiosInstance } from 'axios'; | ||
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios'; | ||
import { Configuration } from '../configuration'; | ||
@@ -29,3 +29,3 @@ import { RequestArgs, BaseAPI } from '../base'; | ||
*/ | ||
getErrorById: (id: string, options?: any) => Promise<RequestArgs>; | ||
getErrorById: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>; | ||
/** | ||
@@ -37,3 +37,3 @@ * | ||
*/ | ||
getErrors: (options?: any) => Promise<RequestArgs>; | ||
getErrors: (options?: AxiosRequestConfig) => Promise<RequestArgs>; | ||
}; | ||
@@ -52,3 +52,3 @@ /** | ||
*/ | ||
getErrorById(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Error>>; | ||
getErrorById(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Error>>; | ||
/** | ||
@@ -60,3 +60,3 @@ * | ||
*/ | ||
getErrors(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ErrorList>>; | ||
getErrors(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ErrorList>>; | ||
}; | ||
@@ -98,3 +98,3 @@ /** | ||
*/ | ||
getErrorById(id: string, options?: any): AxiosPromise<Error>; | ||
getErrorById(id: string, options?: AxiosRequestConfig): AxiosPromise<Error>; | ||
/** | ||
@@ -107,3 +107,3 @@ * | ||
*/ | ||
getErrors(options?: any): AxiosPromise<ErrorList>; | ||
getErrors(options?: AxiosRequestConfig): AxiosPromise<ErrorList>; | ||
} | ||
@@ -125,3 +125,3 @@ /** | ||
*/ | ||
getErrorById(id: string, options?: any): Promise<import("axios").AxiosResponse<Error, any>>; | ||
getErrorById(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Error, any>>; | ||
/** | ||
@@ -134,3 +134,3 @@ * | ||
*/ | ||
getErrors(options?: any): Promise<import("axios").AxiosResponse<ErrorList, any>>; | ||
getErrors(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ErrorList, any>>; | ||
} |
@@ -59,3 +59,3 @@ "use strict"; | ||
const localVarQueryParameter = {}; | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query); | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
@@ -85,3 +85,3 @@ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); | ||
const localVarQueryParameter = {}; | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query); | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
@@ -88,0 +88,0 @@ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); |
@@ -12,3 +12,3 @@ /** | ||
*/ | ||
import { AxiosPromise, AxiosInstance } from 'axios'; | ||
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios'; | ||
import { Configuration } from '../configuration'; | ||
@@ -31,3 +31,3 @@ import { RequestArgs, BaseAPI } from '../base'; | ||
*/ | ||
createServiceAccount: (serviceAccountRequest: ServiceAccountRequest, options?: any) => Promise<RequestArgs>; | ||
createServiceAccount: (serviceAccountRequest: ServiceAccountRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>; | ||
/** | ||
@@ -40,3 +40,3 @@ * | ||
*/ | ||
deleteServiceAccountById: (id: string, options?: any) => Promise<RequestArgs>; | ||
deleteServiceAccountById: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>; | ||
/** | ||
@@ -49,3 +49,3 @@ * | ||
*/ | ||
getServiceAccountById: (id: string, options?: any) => Promise<RequestArgs>; | ||
getServiceAccountById: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>; | ||
/** | ||
@@ -57,3 +57,3 @@ * | ||
*/ | ||
getServiceAccounts: (options?: any) => Promise<RequestArgs>; | ||
getServiceAccounts: (options?: AxiosRequestConfig) => Promise<RequestArgs>; | ||
/** | ||
@@ -66,3 +66,3 @@ * | ||
*/ | ||
resetServiceAccountCreds: (id: string, options?: any) => Promise<RequestArgs>; | ||
resetServiceAccountCreds: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>; | ||
}; | ||
@@ -81,3 +81,3 @@ /** | ||
*/ | ||
createServiceAccount(serviceAccountRequest: ServiceAccountRequest, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceAccount>>; | ||
createServiceAccount(serviceAccountRequest: ServiceAccountRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceAccount>>; | ||
/** | ||
@@ -90,3 +90,3 @@ * | ||
*/ | ||
deleteServiceAccountById(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Error>>; | ||
deleteServiceAccountById(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Error>>; | ||
/** | ||
@@ -99,3 +99,3 @@ * | ||
*/ | ||
getServiceAccountById(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceAccount>>; | ||
getServiceAccountById(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceAccount>>; | ||
/** | ||
@@ -107,3 +107,3 @@ * | ||
*/ | ||
getServiceAccounts(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceAccountList>>; | ||
getServiceAccounts(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceAccountList>>; | ||
/** | ||
@@ -116,3 +116,3 @@ * | ||
*/ | ||
resetServiceAccountCreds(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceAccount>>; | ||
resetServiceAccountCreds(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceAccount>>; | ||
}; | ||
@@ -178,3 +178,3 @@ /** | ||
*/ | ||
createServiceAccount(serviceAccountRequest: ServiceAccountRequest, options?: any): AxiosPromise<ServiceAccount>; | ||
createServiceAccount(serviceAccountRequest: ServiceAccountRequest, options?: AxiosRequestConfig): AxiosPromise<ServiceAccount>; | ||
/** | ||
@@ -188,3 +188,3 @@ * | ||
*/ | ||
deleteServiceAccountById(id: string, options?: any): AxiosPromise<Error>; | ||
deleteServiceAccountById(id: string, options?: AxiosRequestConfig): AxiosPromise<Error>; | ||
/** | ||
@@ -198,3 +198,3 @@ * | ||
*/ | ||
getServiceAccountById(id: string, options?: any): AxiosPromise<ServiceAccount>; | ||
getServiceAccountById(id: string, options?: AxiosRequestConfig): AxiosPromise<ServiceAccount>; | ||
/** | ||
@@ -207,3 +207,3 @@ * | ||
*/ | ||
getServiceAccounts(options?: any): AxiosPromise<ServiceAccountList>; | ||
getServiceAccounts(options?: AxiosRequestConfig): AxiosPromise<ServiceAccountList>; | ||
/** | ||
@@ -217,3 +217,3 @@ * | ||
*/ | ||
resetServiceAccountCreds(id: string, options?: any): AxiosPromise<ServiceAccount>; | ||
resetServiceAccountCreds(id: string, options?: AxiosRequestConfig): AxiosPromise<ServiceAccount>; | ||
} | ||
@@ -235,3 +235,3 @@ /** | ||
*/ | ||
createServiceAccount(serviceAccountRequest: ServiceAccountRequest, options?: any): Promise<import("axios").AxiosResponse<ServiceAccount, any>>; | ||
createServiceAccount(serviceAccountRequest: ServiceAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ServiceAccount, any>>; | ||
/** | ||
@@ -245,3 +245,3 @@ * | ||
*/ | ||
deleteServiceAccountById(id: string, options?: any): Promise<import("axios").AxiosResponse<Error, any>>; | ||
deleteServiceAccountById(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Error, any>>; | ||
/** | ||
@@ -255,3 +255,3 @@ * | ||
*/ | ||
getServiceAccountById(id: string, options?: any): Promise<import("axios").AxiosResponse<ServiceAccount, any>>; | ||
getServiceAccountById(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ServiceAccount, any>>; | ||
/** | ||
@@ -264,3 +264,3 @@ * | ||
*/ | ||
getServiceAccounts(options?: any): Promise<import("axios").AxiosResponse<import("../model").ServiceAccountListAllOf, any>>; | ||
getServiceAccounts(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<import("../model").ServiceAccountListAllOf, any>>; | ||
/** | ||
@@ -274,3 +274,3 @@ * | ||
*/ | ||
resetServiceAccountCreds(id: string, options?: any): Promise<import("axios").AxiosResponse<ServiceAccount, any>>; | ||
resetServiceAccountCreds(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ServiceAccount, any>>; | ||
} |
@@ -62,3 +62,3 @@ "use strict"; | ||
localVarHeaderParameter['Content-Type'] = 'application/json'; | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query); | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
@@ -96,3 +96,3 @@ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); | ||
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration); | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query); | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
@@ -129,3 +129,3 @@ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); | ||
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration); | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query); | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
@@ -158,3 +158,3 @@ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); | ||
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration); | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query); | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
@@ -191,3 +191,3 @@ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); | ||
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration); | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query); | ||
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
@@ -194,0 +194,0 @@ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); |
@@ -13,3 +13,3 @@ /** | ||
import { Configuration } from "./configuration"; | ||
import { AxiosInstance } from 'axios'; | ||
import { AxiosInstance, AxiosRequestConfig } from 'axios'; | ||
export declare const BASE_PATH: string; | ||
@@ -33,3 +33,3 @@ /** | ||
url: string; | ||
options: any; | ||
options: AxiosRequestConfig; | ||
} | ||
@@ -36,0 +36,0 @@ /** |
@@ -14,3 +14,3 @@ /** | ||
import { RequestArgs } from "./base"; | ||
import { AxiosInstance } from 'axios'; | ||
import { AxiosInstance, AxiosResponse } from 'axios'; | ||
/** | ||
@@ -66,2 +66,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) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>; |
@@ -24,3 +24,3 @@ /** | ||
*/ | ||
items?: Array<CloudProvider>; | ||
'items'?: Array<CloudProvider>; | ||
} |
@@ -23,3 +23,3 @@ /** | ||
*/ | ||
kind?: string; | ||
'kind'?: string; | ||
/** | ||
@@ -30,3 +30,3 @@ * Unique identifier of the object. | ||
*/ | ||
id?: string; | ||
'id'?: string; | ||
/** | ||
@@ -37,3 +37,3 @@ * Name of the cloud provider for display purposes. | ||
*/ | ||
display_name?: string; | ||
'display_name'?: string; | ||
/** | ||
@@ -44,3 +44,3 @@ * Human friendly identifier of the cloud provider, for example `aws`. | ||
*/ | ||
name?: string; | ||
'name'?: string; | ||
/** | ||
@@ -51,3 +51,3 @@ * Whether the cloud provider is enabled for deploying an OSD cluster. | ||
*/ | ||
enabled: boolean; | ||
'enabled': boolean; | ||
} |
@@ -24,3 +24,3 @@ /** | ||
*/ | ||
items?: Array<CloudRegion>; | ||
'items'?: Array<CloudRegion>; | ||
} |
@@ -24,3 +24,3 @@ /** | ||
*/ | ||
kind?: string; | ||
'kind'?: string; | ||
/** | ||
@@ -31,3 +31,3 @@ * Unique identifier of the object. | ||
*/ | ||
id?: string; | ||
'id'?: string; | ||
/** | ||
@@ -38,3 +38,3 @@ * Name of the region for display purposes, for example `N. Virginia`. | ||
*/ | ||
display_name?: string; | ||
'display_name'?: string; | ||
/** | ||
@@ -45,3 +45,3 @@ * Whether the region is enabled for deploying an OSD cluster. | ||
*/ | ||
enabled: boolean; | ||
'enabled': boolean; | ||
/** | ||
@@ -52,3 +52,3 @@ * The Kafka instance types supported by this region. | ||
*/ | ||
supported_instance_types: Array<string>; | ||
'supported_instance_types': Array<string>; | ||
/** | ||
@@ -59,3 +59,3 @@ * Indicates whether there is capacity left per instance type | ||
*/ | ||
capacity: Array<RegionCapacityListItem>; | ||
'capacity': Array<RegionCapacityListItem>; | ||
} |
@@ -23,3 +23,3 @@ /** | ||
*/ | ||
code?: string; | ||
'code'?: string; | ||
/** | ||
@@ -30,3 +30,3 @@ * | ||
*/ | ||
reason?: string; | ||
'reason'?: string; | ||
/** | ||
@@ -37,3 +37,3 @@ * | ||
*/ | ||
operation_id?: string; | ||
'operation_id'?: string; | ||
} |
@@ -23,3 +23,3 @@ /** | ||
*/ | ||
items?: Array<Error>; | ||
'items'?: Array<Error>; | ||
} |
@@ -23,3 +23,3 @@ /** | ||
*/ | ||
metric?: { | ||
'metric'?: { | ||
[key: string]: string; | ||
@@ -32,3 +32,3 @@ }; | ||
*/ | ||
timestamp?: number; | ||
'timestamp'?: number; | ||
/** | ||
@@ -39,3 +39,3 @@ * | ||
*/ | ||
value: number; | ||
'value': number; | ||
} |
@@ -23,3 +23,3 @@ /** | ||
*/ | ||
status?: string; | ||
'status'?: string; | ||
/** | ||
@@ -30,3 +30,3 @@ * Name of Cloud used to deploy. For example AWS | ||
*/ | ||
cloud_provider?: string; | ||
'cloud_provider'?: string; | ||
/** | ||
@@ -37,3 +37,3 @@ * | ||
*/ | ||
multi_az: boolean; | ||
'multi_az': boolean; | ||
/** | ||
@@ -44,3 +44,3 @@ * Values will be regions of specific cloud provider. For example: us-east-1 for AWS | ||
*/ | ||
region?: string; | ||
'region'?: string; | ||
/** | ||
@@ -51,3 +51,3 @@ * | ||
*/ | ||
owner?: string; | ||
'owner'?: string; | ||
/** | ||
@@ -58,3 +58,3 @@ * | ||
*/ | ||
name?: string; | ||
'name'?: string; | ||
/** | ||
@@ -65,3 +65,3 @@ * | ||
*/ | ||
bootstrap_server_host?: string; | ||
'bootstrap_server_host'?: string; | ||
/** | ||
@@ -72,3 +72,3 @@ * | ||
*/ | ||
created_at?: string; | ||
'created_at'?: string; | ||
/** | ||
@@ -79,3 +79,3 @@ * | ||
*/ | ||
updated_at?: string; | ||
'updated_at'?: string; | ||
/** | ||
@@ -86,3 +86,3 @@ * | ||
*/ | ||
failed_reason?: string; | ||
'failed_reason'?: string; | ||
/** | ||
@@ -93,3 +93,3 @@ * | ||
*/ | ||
version?: string; | ||
'version'?: string; | ||
/** | ||
@@ -100,3 +100,3 @@ * | ||
*/ | ||
instance_type?: string; | ||
'instance_type'?: string; | ||
/** | ||
@@ -107,3 +107,3 @@ * | ||
*/ | ||
reauthentication_enabled: boolean; | ||
'reauthentication_enabled': boolean; | ||
} |
@@ -24,3 +24,3 @@ /** | ||
*/ | ||
items?: Array<KafkaRequest>; | ||
'items'?: Array<KafkaRequest>; | ||
} |
@@ -23,3 +23,3 @@ /** | ||
*/ | ||
cloud_provider?: string; | ||
'cloud_provider'?: string; | ||
/** | ||
@@ -30,3 +30,3 @@ * Set this to true to configure the Kafka cluster to be multiAZ | ||
*/ | ||
multi_az?: boolean; | ||
'multi_az'?: boolean; | ||
/** | ||
@@ -37,3 +37,3 @@ * The name of the Kafka cluster. It must consist of lower-case alphanumeric characters or \'-\', start with an alphabetic character, and end with an alphanumeric character, and can not be longer than 32 characters. | ||
*/ | ||
name: string; | ||
'name': string; | ||
/** | ||
@@ -44,3 +44,3 @@ * The region where the Kafka cluster will be created in | ||
*/ | ||
region?: string; | ||
'region'?: string; | ||
/** | ||
@@ -51,3 +51,3 @@ * Whether connection reauthentication is enabled or not. If set to true, connection reauthentication on the Kafka instance will be required every 5 minutes. The default value is true | ||
*/ | ||
reauthentication_enabled?: boolean | null; | ||
'reauthentication_enabled'?: boolean | null; | ||
} |
@@ -23,3 +23,3 @@ /** | ||
*/ | ||
owner?: string | null; | ||
'owner'?: string | null; | ||
/** | ||
@@ -30,3 +30,3 @@ * Whether connection reauthentication is enabled or not. If set to true, connection reauthentication on the Kafka instance will be required every 5 minutes. | ||
*/ | ||
reauthentication_enabled?: boolean | null; | ||
'reauthentication_enabled'?: boolean | null; | ||
} |
@@ -23,3 +23,3 @@ /** | ||
*/ | ||
kind: string; | ||
'kind': string; | ||
/** | ||
@@ -30,3 +30,3 @@ * | ||
*/ | ||
page: number; | ||
'page': number; | ||
/** | ||
@@ -37,3 +37,3 @@ * | ||
*/ | ||
size: number; | ||
'size': number; | ||
/** | ||
@@ -44,3 +44,3 @@ * | ||
*/ | ||
total: number; | ||
'total': number; | ||
} |
@@ -24,3 +24,3 @@ /** | ||
*/ | ||
kind?: string; | ||
'kind'?: string; | ||
/** | ||
@@ -31,3 +31,3 @@ * | ||
*/ | ||
id?: string; | ||
'id'?: string; | ||
/** | ||
@@ -38,3 +38,3 @@ * | ||
*/ | ||
items?: Array<InstantQuery>; | ||
'items'?: Array<InstantQuery>; | ||
} |
@@ -24,3 +24,3 @@ /** | ||
*/ | ||
kind?: string; | ||
'kind'?: string; | ||
/** | ||
@@ -31,3 +31,3 @@ * | ||
*/ | ||
id?: string; | ||
'id'?: string; | ||
/** | ||
@@ -38,3 +38,3 @@ * | ||
*/ | ||
items?: Array<RangeQuery>; | ||
'items'?: Array<RangeQuery>; | ||
} |
@@ -23,3 +23,3 @@ /** | ||
*/ | ||
id?: string; | ||
'id'?: string; | ||
/** | ||
@@ -30,3 +30,3 @@ * | ||
*/ | ||
kind?: string; | ||
'kind'?: string; | ||
/** | ||
@@ -37,3 +37,3 @@ * | ||
*/ | ||
href?: string; | ||
'href'?: string; | ||
} |
@@ -24,3 +24,3 @@ /** | ||
*/ | ||
metric?: { | ||
'metric'?: { | ||
[key: string]: string; | ||
@@ -33,3 +33,3 @@ }; | ||
*/ | ||
values?: Array<Values>; | ||
'values'?: Array<Values>; | ||
} |
@@ -23,3 +23,3 @@ /** | ||
*/ | ||
instance_type?: string; | ||
'instance_type'?: string; | ||
/** | ||
@@ -30,3 +30,3 @@ * flag indicating whether the capacity for the instance type in the region is reached | ||
*/ | ||
max_capacity_reached: boolean; | ||
'max_capacity_reached': boolean; | ||
} |
@@ -23,3 +23,3 @@ /** | ||
*/ | ||
id?: string; | ||
'id'?: string; | ||
/** | ||
@@ -30,3 +30,3 @@ * | ||
*/ | ||
name?: string; | ||
'name'?: string; | ||
/** | ||
@@ -37,3 +37,3 @@ * | ||
*/ | ||
description?: string; | ||
'description'?: string; | ||
/** | ||
@@ -44,3 +44,3 @@ * | ||
*/ | ||
client_id?: string; | ||
'client_id'?: string; | ||
/** | ||
@@ -51,3 +51,3 @@ * | ||
*/ | ||
client_secret?: string; | ||
'client_secret'?: string; | ||
/** | ||
@@ -58,3 +58,3 @@ * | ||
*/ | ||
owner?: string; | ||
'owner'?: string; | ||
/** | ||
@@ -65,3 +65,3 @@ * | ||
*/ | ||
created_at?: string; | ||
'created_at'?: string; | ||
} |
@@ -24,3 +24,3 @@ /** | ||
*/ | ||
kind: string; | ||
'kind': string; | ||
/** | ||
@@ -31,3 +31,3 @@ * | ||
*/ | ||
items: Array<ServiceAccountListItem>; | ||
'items': Array<ServiceAccountListItem>; | ||
} |
@@ -23,3 +23,3 @@ /** | ||
*/ | ||
id?: string; | ||
'id'?: string; | ||
/** | ||
@@ -30,3 +30,3 @@ * client id of the service account | ||
*/ | ||
client_id?: string; | ||
'client_id'?: string; | ||
/** | ||
@@ -37,3 +37,3 @@ * name of the service account | ||
*/ | ||
name?: string; | ||
'name'?: string; | ||
/** | ||
@@ -44,3 +44,3 @@ * owner of the service account | ||
*/ | ||
owner?: string; | ||
'owner'?: string; | ||
/** | ||
@@ -51,3 +51,3 @@ * service account creation timestamp | ||
*/ | ||
created_at?: string; | ||
'created_at'?: string; | ||
/** | ||
@@ -58,3 +58,3 @@ * description of the service account | ||
*/ | ||
description?: string; | ||
'description'?: string; | ||
} |
@@ -23,3 +23,3 @@ /** | ||
*/ | ||
name: string; | ||
'name': string; | ||
/** | ||
@@ -30,3 +30,3 @@ * A description for the service account | ||
*/ | ||
description?: string; | ||
'description'?: string; | ||
} |
@@ -23,3 +23,3 @@ /** | ||
*/ | ||
max_capacity_reached: boolean; | ||
'max_capacity_reached': boolean; | ||
} |
@@ -24,3 +24,3 @@ /** | ||
*/ | ||
kafkas?: ServiceStatusKafkas; | ||
'kafkas'?: ServiceStatusKafkas; | ||
} |
@@ -23,3 +23,3 @@ /** | ||
*/ | ||
timestamp?: number; | ||
'timestamp'?: number; | ||
/** | ||
@@ -30,3 +30,3 @@ * | ||
*/ | ||
value: number; | ||
'value': number; | ||
} |
@@ -24,3 +24,3 @@ /** | ||
*/ | ||
collections?: Array<ObjectReference>; | ||
'collections'?: Array<ObjectReference>; | ||
} |
{ | ||
"name": "@rhoas/kafka-management-sdk", | ||
"version": "0.23.2", | ||
"version": "0.24.0", | ||
"description": "RHOAS Kafka Management SDK", | ||
@@ -5,0 +5,0 @@ "author": "Red Hat Developers", |
@@ -16,3 +16,3 @@ /* tslint:disable */ | ||
import globalAxios, { AxiosPromise, AxiosInstance } from 'axios'; | ||
import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios'; | ||
import { Configuration } from '../configuration'; | ||
@@ -39,3 +39,3 @@ // Some imports not used depending on template conditions | ||
*/ | ||
getErrorById: async (id: string, options: any = {}): Promise<RequestArgs> => { | ||
getErrorById: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => { | ||
// verify required parameter 'id' is not null or undefined | ||
@@ -58,3 +58,3 @@ assertParamExists('getErrorById', 'id', id) | ||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); | ||
setSearchParams(localVarUrlObj, localVarQueryParameter); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
@@ -74,3 +74,3 @@ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; | ||
*/ | ||
getErrors: async (options: any = {}): Promise<RequestArgs> => { | ||
getErrors: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => { | ||
const localVarPath = `/api/kafkas_mgmt/v1/errors`; | ||
@@ -90,3 +90,3 @@ // use dummy base URL string because the URL constructor only accepts absolute URLs. | ||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); | ||
setSearchParams(localVarUrlObj, localVarQueryParameter); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
@@ -117,3 +117,3 @@ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; | ||
*/ | ||
async getErrorById(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Error>> { | ||
async getErrorById(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Error>> { | ||
const localVarAxiosArgs = await localVarAxiosParamCreator.getErrorById(id, options); | ||
@@ -128,3 +128,3 @@ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); | ||
*/ | ||
async getErrors(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ErrorList>> { | ||
async getErrors(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ErrorList>> { | ||
const localVarAxiosArgs = await localVarAxiosParamCreator.getErrors(options); | ||
@@ -179,3 +179,3 @@ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); | ||
*/ | ||
getErrorById(id: string, options?: any): AxiosPromise<Error>; | ||
getErrorById(id: string, options?: AxiosRequestConfig): AxiosPromise<Error>; | ||
@@ -189,3 +189,3 @@ /** | ||
*/ | ||
getErrors(options?: any): AxiosPromise<ErrorList>; | ||
getErrors(options?: AxiosRequestConfig): AxiosPromise<ErrorList>; | ||
@@ -209,3 +209,3 @@ } | ||
*/ | ||
public getErrorById(id: string, options?: any) { | ||
public getErrorById(id: string, options?: AxiosRequestConfig) { | ||
return ErrorsApiFp(this.configuration).getErrorById(id, options).then((request) => request(this.axios, this.basePath)); | ||
@@ -221,5 +221,5 @@ } | ||
*/ | ||
public getErrors(options?: any) { | ||
public getErrors(options?: AxiosRequestConfig) { | ||
return ErrorsApiFp(this.configuration).getErrors(options).then((request) => request(this.axios, this.basePath)); | ||
} | ||
} |
@@ -16,3 +16,3 @@ /* tslint:disable */ | ||
import globalAxios, { AxiosPromise, AxiosInstance } from 'axios'; | ||
import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios'; | ||
import { Configuration } from '../configuration'; | ||
@@ -43,3 +43,3 @@ // Some imports not used depending on template conditions | ||
*/ | ||
createServiceAccount: async (serviceAccountRequest: ServiceAccountRequest, options: any = {}): Promise<RequestArgs> => { | ||
createServiceAccount: async (serviceAccountRequest: ServiceAccountRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => { | ||
// verify required parameter 'serviceAccountRequest' is not null or undefined | ||
@@ -67,3 +67,3 @@ assertParamExists('createServiceAccount', 'serviceAccountRequest', serviceAccountRequest) | ||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); | ||
setSearchParams(localVarUrlObj, localVarQueryParameter); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
@@ -85,3 +85,3 @@ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; | ||
*/ | ||
deleteServiceAccountById: async (id: string, options: any = {}): Promise<RequestArgs> => { | ||
deleteServiceAccountById: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => { | ||
// verify required parameter 'id' is not null or undefined | ||
@@ -108,3 +108,3 @@ assertParamExists('deleteServiceAccountById', 'id', id) | ||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); | ||
setSearchParams(localVarUrlObj, localVarQueryParameter); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
@@ -125,3 +125,3 @@ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; | ||
*/ | ||
getServiceAccountById: async (id: string, options: any = {}): Promise<RequestArgs> => { | ||
getServiceAccountById: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => { | ||
// verify required parameter 'id' is not null or undefined | ||
@@ -148,3 +148,3 @@ assertParamExists('getServiceAccountById', 'id', id) | ||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); | ||
setSearchParams(localVarUrlObj, localVarQueryParameter); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
@@ -164,3 +164,3 @@ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; | ||
*/ | ||
getServiceAccounts: async (options: any = {}): Promise<RequestArgs> => { | ||
getServiceAccounts: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => { | ||
const localVarPath = `/api/kafkas_mgmt/v1/service_accounts`; | ||
@@ -184,3 +184,3 @@ // use dummy base URL string because the URL constructor only accepts absolute URLs. | ||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); | ||
setSearchParams(localVarUrlObj, localVarQueryParameter); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
@@ -201,3 +201,3 @@ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; | ||
*/ | ||
resetServiceAccountCreds: async (id: string, options: any = {}): Promise<RequestArgs> => { | ||
resetServiceAccountCreds: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => { | ||
// verify required parameter 'id' is not null or undefined | ||
@@ -224,3 +224,3 @@ assertParamExists('resetServiceAccountCreds', 'id', id) | ||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); | ||
setSearchParams(localVarUrlObj, localVarQueryParameter); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
@@ -251,3 +251,3 @@ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; | ||
*/ | ||
async createServiceAccount(serviceAccountRequest: ServiceAccountRequest, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceAccount>> { | ||
async createServiceAccount(serviceAccountRequest: ServiceAccountRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceAccount>> { | ||
const localVarAxiosArgs = await localVarAxiosParamCreator.createServiceAccount(serviceAccountRequest, options); | ||
@@ -263,3 +263,3 @@ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); | ||
*/ | ||
async deleteServiceAccountById(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Error>> { | ||
async deleteServiceAccountById(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Error>> { | ||
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteServiceAccountById(id, options); | ||
@@ -275,3 +275,3 @@ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); | ||
*/ | ||
async getServiceAccountById(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceAccount>> { | ||
async getServiceAccountById(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceAccount>> { | ||
const localVarAxiosArgs = await localVarAxiosParamCreator.getServiceAccountById(id, options); | ||
@@ -286,3 +286,3 @@ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); | ||
*/ | ||
async getServiceAccounts(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceAccountList>> { | ||
async getServiceAccounts(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceAccountList>> { | ||
const localVarAxiosArgs = await localVarAxiosParamCreator.getServiceAccounts(options); | ||
@@ -298,3 +298,3 @@ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); | ||
*/ | ||
async resetServiceAccountCreds(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceAccount>> { | ||
async resetServiceAccountCreds(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceAccount>> { | ||
const localVarAxiosArgs = await localVarAxiosParamCreator.resetServiceAccountCreds(id, options); | ||
@@ -379,3 +379,3 @@ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); | ||
*/ | ||
createServiceAccount(serviceAccountRequest: ServiceAccountRequest, options?: any): AxiosPromise<ServiceAccount>; | ||
createServiceAccount(serviceAccountRequest: ServiceAccountRequest, options?: AxiosRequestConfig): AxiosPromise<ServiceAccount>; | ||
@@ -390,3 +390,3 @@ /** | ||
*/ | ||
deleteServiceAccountById(id: string, options?: any): AxiosPromise<Error>; | ||
deleteServiceAccountById(id: string, options?: AxiosRequestConfig): AxiosPromise<Error>; | ||
@@ -401,3 +401,3 @@ /** | ||
*/ | ||
getServiceAccountById(id: string, options?: any): AxiosPromise<ServiceAccount>; | ||
getServiceAccountById(id: string, options?: AxiosRequestConfig): AxiosPromise<ServiceAccount>; | ||
@@ -411,3 +411,3 @@ /** | ||
*/ | ||
getServiceAccounts(options?: any): AxiosPromise<ServiceAccountList>; | ||
getServiceAccounts(options?: AxiosRequestConfig): AxiosPromise<ServiceAccountList>; | ||
@@ -422,3 +422,3 @@ /** | ||
*/ | ||
resetServiceAccountCreds(id: string, options?: any): AxiosPromise<ServiceAccount>; | ||
resetServiceAccountCreds(id: string, options?: AxiosRequestConfig): AxiosPromise<ServiceAccount>; | ||
@@ -442,3 +442,3 @@ } | ||
*/ | ||
public createServiceAccount(serviceAccountRequest: ServiceAccountRequest, options?: any) { | ||
public createServiceAccount(serviceAccountRequest: ServiceAccountRequest, options?: AxiosRequestConfig) { | ||
return SecurityApiFp(this.configuration).createServiceAccount(serviceAccountRequest, options).then((request) => request(this.axios, this.basePath)); | ||
@@ -455,3 +455,3 @@ } | ||
*/ | ||
public deleteServiceAccountById(id: string, options?: any) { | ||
public deleteServiceAccountById(id: string, options?: AxiosRequestConfig) { | ||
return SecurityApiFp(this.configuration).deleteServiceAccountById(id, options).then((request) => request(this.axios, this.basePath)); | ||
@@ -468,3 +468,3 @@ } | ||
*/ | ||
public getServiceAccountById(id: string, options?: any) { | ||
public getServiceAccountById(id: string, options?: AxiosRequestConfig) { | ||
return SecurityApiFp(this.configuration).getServiceAccountById(id, options).then((request) => request(this.axios, this.basePath)); | ||
@@ -480,3 +480,3 @@ } | ||
*/ | ||
public getServiceAccounts(options?: any) { | ||
public getServiceAccounts(options?: AxiosRequestConfig) { | ||
return SecurityApiFp(this.configuration).getServiceAccounts(options).then((request) => request(this.axios, this.basePath)); | ||
@@ -493,5 +493,5 @@ } | ||
*/ | ||
public resetServiceAccountCreds(id: string, options?: any) { | ||
public resetServiceAccountCreds(id: string, options?: AxiosRequestConfig) { | ||
return SecurityApiFp(this.configuration).resetServiceAccountCreds(id, options).then((request) => request(this.axios, this.basePath)); | ||
} | ||
} |
@@ -19,3 +19,3 @@ /* tslint:disable */ | ||
// @ts-ignore | ||
import globalAxios, { AxiosPromise, AxiosInstance } from 'axios'; | ||
import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios'; | ||
@@ -42,3 +42,3 @@ export const BASE_PATH = "https://api.openshift.com".replace(/\/+$/, ""); | ||
url: string; | ||
options: any; | ||
options: AxiosRequestConfig; | ||
} | ||
@@ -45,0 +45,0 @@ |
@@ -17,4 +17,4 @@ /* tslint:disable */ | ||
import { Configuration } from "./configuration"; | ||
import { RequiredError, RequestArgs } from "./base"; | ||
import { AxiosInstance } from 'axios'; | ||
import { RequiredError, RequestArgs } from "./base"; | ||
import { AxiosInstance, AxiosResponse } from 'axios'; | ||
@@ -135,6 +135,6 @@ /** | ||
export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) { | ||
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { | ||
return <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { | ||
const axiosRequestArgs = {...axiosArgs.options, url: (configuration?.basePath || basePath) + axiosArgs.url}; | ||
return axios.request(axiosRequestArgs); | ||
return axios.request<T, R>(axiosRequestArgs); | ||
}; | ||
} |
@@ -29,5 +29,4 @@ /* tslint:disable */ | ||
*/ | ||
items?: Array<CloudProvider>; | ||
'items'?: Array<CloudProvider>; | ||
} | ||
@@ -27,2 +27,1 @@ /* tslint:disable */ | ||
@@ -28,3 +28,3 @@ /* tslint:disable */ | ||
*/ | ||
kind?: string; | ||
'kind'?: string; | ||
/** | ||
@@ -35,3 +35,3 @@ * Unique identifier of the object. | ||
*/ | ||
id?: string; | ||
'id'?: string; | ||
/** | ||
@@ -42,3 +42,3 @@ * Name of the cloud provider for display purposes. | ||
*/ | ||
display_name?: string; | ||
'display_name'?: string; | ||
/** | ||
@@ -49,3 +49,3 @@ * Human friendly identifier of the cloud provider, for example `aws`. | ||
*/ | ||
name?: string; | ||
'name'?: string; | ||
/** | ||
@@ -56,5 +56,4 @@ * Whether the cloud provider is enabled for deploying an OSD cluster. | ||
*/ | ||
enabled: boolean; | ||
'enabled': boolean; | ||
} | ||
@@ -29,5 +29,4 @@ /* tslint:disable */ | ||
*/ | ||
items?: Array<CloudRegion>; | ||
'items'?: Array<CloudRegion>; | ||
} | ||
@@ -27,2 +27,1 @@ /* tslint:disable */ | ||
@@ -29,3 +29,3 @@ /* tslint:disable */ | ||
*/ | ||
kind?: string; | ||
'kind'?: string; | ||
/** | ||
@@ -36,3 +36,3 @@ * Unique identifier of the object. | ||
*/ | ||
id?: string; | ||
'id'?: string; | ||
/** | ||
@@ -43,3 +43,3 @@ * Name of the region for display purposes, for example `N. Virginia`. | ||
*/ | ||
display_name?: string; | ||
'display_name'?: string; | ||
/** | ||
@@ -50,3 +50,3 @@ * Whether the region is enabled for deploying an OSD cluster. | ||
*/ | ||
enabled: boolean; | ||
'enabled': boolean; | ||
/** | ||
@@ -57,3 +57,3 @@ * The Kafka instance types supported by this region. | ||
*/ | ||
supported_instance_types: Array<string>; | ||
'supported_instance_types': Array<string>; | ||
/** | ||
@@ -64,5 +64,4 @@ * Indicates whether there is capacity left per instance type | ||
*/ | ||
capacity: Array<RegionCapacityListItem>; | ||
'capacity': Array<RegionCapacityListItem>; | ||
} | ||
@@ -28,3 +28,3 @@ /* tslint:disable */ | ||
*/ | ||
code?: string; | ||
'code'?: string; | ||
/** | ||
@@ -35,3 +35,3 @@ * | ||
*/ | ||
reason?: string; | ||
'reason'?: string; | ||
/** | ||
@@ -42,5 +42,4 @@ * | ||
*/ | ||
operation_id?: string; | ||
'operation_id'?: string; | ||
} | ||
@@ -28,5 +28,4 @@ /* tslint:disable */ | ||
*/ | ||
items?: Array<Error>; | ||
'items'?: Array<Error>; | ||
} | ||
@@ -26,2 +26,1 @@ /* tslint:disable */ | ||
@@ -28,3 +28,3 @@ /* tslint:disable */ | ||
*/ | ||
metric?: { [key: string]: string; }; | ||
'metric'?: { [key: string]: string; }; | ||
/** | ||
@@ -35,3 +35,3 @@ * | ||
*/ | ||
timestamp?: number; | ||
'timestamp'?: number; | ||
/** | ||
@@ -42,5 +42,4 @@ * | ||
*/ | ||
value: number; | ||
'value': number; | ||
} | ||
@@ -28,3 +28,3 @@ /* tslint:disable */ | ||
*/ | ||
status?: string; | ||
'status'?: string; | ||
/** | ||
@@ -35,3 +35,3 @@ * Name of Cloud used to deploy. For example AWS | ||
*/ | ||
cloud_provider?: string; | ||
'cloud_provider'?: string; | ||
/** | ||
@@ -42,3 +42,3 @@ * | ||
*/ | ||
multi_az: boolean; | ||
'multi_az': boolean; | ||
/** | ||
@@ -49,3 +49,3 @@ * Values will be regions of specific cloud provider. For example: us-east-1 for AWS | ||
*/ | ||
region?: string; | ||
'region'?: string; | ||
/** | ||
@@ -56,3 +56,3 @@ * | ||
*/ | ||
owner?: string; | ||
'owner'?: string; | ||
/** | ||
@@ -63,3 +63,3 @@ * | ||
*/ | ||
name?: string; | ||
'name'?: string; | ||
/** | ||
@@ -70,3 +70,3 @@ * | ||
*/ | ||
bootstrap_server_host?: string; | ||
'bootstrap_server_host'?: string; | ||
/** | ||
@@ -77,3 +77,3 @@ * | ||
*/ | ||
created_at?: string; | ||
'created_at'?: string; | ||
/** | ||
@@ -84,3 +84,3 @@ * | ||
*/ | ||
updated_at?: string; | ||
'updated_at'?: string; | ||
/** | ||
@@ -91,3 +91,3 @@ * | ||
*/ | ||
failed_reason?: string; | ||
'failed_reason'?: string; | ||
/** | ||
@@ -98,3 +98,3 @@ * | ||
*/ | ||
version?: string; | ||
'version'?: string; | ||
/** | ||
@@ -105,3 +105,3 @@ * | ||
*/ | ||
instance_type?: string; | ||
'instance_type'?: string; | ||
/** | ||
@@ -112,5 +112,4 @@ * | ||
*/ | ||
reauthentication_enabled: boolean; | ||
'reauthentication_enabled': boolean; | ||
} | ||
@@ -29,5 +29,4 @@ /* tslint:disable */ | ||
*/ | ||
items?: Array<KafkaRequest>; | ||
'items'?: Array<KafkaRequest>; | ||
} | ||
@@ -27,2 +27,1 @@ /* tslint:disable */ | ||
@@ -28,3 +28,3 @@ /* tslint:disable */ | ||
*/ | ||
cloud_provider?: string; | ||
'cloud_provider'?: string; | ||
/** | ||
@@ -35,3 +35,3 @@ * Set this to true to configure the Kafka cluster to be multiAZ | ||
*/ | ||
multi_az?: boolean; | ||
'multi_az'?: boolean; | ||
/** | ||
@@ -42,3 +42,3 @@ * The name of the Kafka cluster. It must consist of lower-case alphanumeric characters or \'-\', start with an alphabetic character, and end with an alphanumeric character, and can not be longer than 32 characters. | ||
*/ | ||
name: string; | ||
'name': string; | ||
/** | ||
@@ -49,3 +49,3 @@ * The region where the Kafka cluster will be created in | ||
*/ | ||
region?: string; | ||
'region'?: string; | ||
/** | ||
@@ -56,5 +56,4 @@ * Whether connection reauthentication is enabled or not. If set to true, connection reauthentication on the Kafka instance will be required every 5 minutes. The default value is true | ||
*/ | ||
reauthentication_enabled?: boolean | null; | ||
'reauthentication_enabled'?: boolean | null; | ||
} | ||
@@ -26,2 +26,1 @@ /* tslint:disable */ | ||
@@ -28,3 +28,3 @@ /* tslint:disable */ | ||
*/ | ||
owner?: string | null; | ||
'owner'?: string | null; | ||
/** | ||
@@ -35,5 +35,4 @@ * Whether connection reauthentication is enabled or not. If set to true, connection reauthentication on the Kafka instance will be required every 5 minutes. | ||
*/ | ||
reauthentication_enabled?: boolean | null; | ||
'reauthentication_enabled'?: boolean | null; | ||
} | ||
@@ -28,3 +28,3 @@ /* tslint:disable */ | ||
*/ | ||
kind: string; | ||
'kind': string; | ||
/** | ||
@@ -35,3 +35,3 @@ * | ||
*/ | ||
page: number; | ||
'page': number; | ||
/** | ||
@@ -42,3 +42,3 @@ * | ||
*/ | ||
size: number; | ||
'size': number; | ||
/** | ||
@@ -49,5 +49,4 @@ * | ||
*/ | ||
total: number; | ||
'total': number; | ||
} | ||
@@ -29,3 +29,3 @@ /* tslint:disable */ | ||
*/ | ||
kind?: string; | ||
'kind'?: string; | ||
/** | ||
@@ -36,3 +36,3 @@ * | ||
*/ | ||
id?: string; | ||
'id'?: string; | ||
/** | ||
@@ -43,5 +43,4 @@ * | ||
*/ | ||
items?: Array<InstantQuery>; | ||
'items'?: Array<InstantQuery>; | ||
} | ||
@@ -26,2 +26,1 @@ /* tslint:disable */ | ||
@@ -29,3 +29,3 @@ /* tslint:disable */ | ||
*/ | ||
kind?: string; | ||
'kind'?: string; | ||
/** | ||
@@ -36,3 +36,3 @@ * | ||
*/ | ||
id?: string; | ||
'id'?: string; | ||
/** | ||
@@ -43,5 +43,4 @@ * | ||
*/ | ||
items?: Array<RangeQuery>; | ||
'items'?: Array<RangeQuery>; | ||
} | ||
@@ -26,2 +26,1 @@ /* tslint:disable */ | ||
@@ -26,2 +26,1 @@ /* tslint:disable */ | ||
@@ -28,3 +28,3 @@ /* tslint:disable */ | ||
*/ | ||
id?: string; | ||
'id'?: string; | ||
/** | ||
@@ -35,3 +35,3 @@ * | ||
*/ | ||
kind?: string; | ||
'kind'?: string; | ||
/** | ||
@@ -42,5 +42,4 @@ * | ||
*/ | ||
href?: string; | ||
'href'?: string; | ||
} | ||
@@ -29,3 +29,3 @@ /* tslint:disable */ | ||
*/ | ||
metric?: { [key: string]: string; }; | ||
'metric'?: { [key: string]: string; }; | ||
/** | ||
@@ -36,5 +36,4 @@ * | ||
*/ | ||
values?: Array<Values>; | ||
'values'?: Array<Values>; | ||
} | ||
@@ -28,3 +28,3 @@ /* tslint:disable */ | ||
*/ | ||
instance_type?: string; | ||
'instance_type'?: string; | ||
/** | ||
@@ -35,5 +35,4 @@ * flag indicating whether the capacity for the instance type in the region is reached | ||
*/ | ||
max_capacity_reached: boolean; | ||
'max_capacity_reached': boolean; | ||
} | ||
@@ -28,3 +28,3 @@ /* tslint:disable */ | ||
*/ | ||
id?: string; | ||
'id'?: string; | ||
/** | ||
@@ -35,3 +35,3 @@ * | ||
*/ | ||
name?: string; | ||
'name'?: string; | ||
/** | ||
@@ -42,3 +42,3 @@ * | ||
*/ | ||
description?: string; | ||
'description'?: string; | ||
/** | ||
@@ -49,3 +49,3 @@ * | ||
*/ | ||
client_id?: string; | ||
'client_id'?: string; | ||
/** | ||
@@ -56,3 +56,3 @@ * | ||
*/ | ||
client_secret?: string; | ||
'client_secret'?: string; | ||
/** | ||
@@ -63,3 +63,3 @@ * | ||
*/ | ||
owner?: string; | ||
'owner'?: string; | ||
/** | ||
@@ -70,5 +70,4 @@ * | ||
*/ | ||
created_at?: string; | ||
'created_at'?: string; | ||
} | ||
@@ -29,3 +29,3 @@ /* tslint:disable */ | ||
*/ | ||
kind: string; | ||
'kind': string; | ||
/** | ||
@@ -36,5 +36,4 @@ * | ||
*/ | ||
items: Array<ServiceAccountListItem>; | ||
'items': Array<ServiceAccountListItem>; | ||
} | ||
@@ -28,3 +28,3 @@ /* tslint:disable */ | ||
*/ | ||
id?: string; | ||
'id'?: string; | ||
/** | ||
@@ -35,3 +35,3 @@ * client id of the service account | ||
*/ | ||
client_id?: string; | ||
'client_id'?: string; | ||
/** | ||
@@ -42,3 +42,3 @@ * name of the service account | ||
*/ | ||
name?: string; | ||
'name'?: string; | ||
/** | ||
@@ -49,3 +49,3 @@ * owner of the service account | ||
*/ | ||
owner?: string; | ||
'owner'?: string; | ||
/** | ||
@@ -56,3 +56,3 @@ * service account creation timestamp | ||
*/ | ||
created_at?: string; | ||
'created_at'?: string; | ||
/** | ||
@@ -63,5 +63,4 @@ * description of the service account | ||
*/ | ||
description?: string; | ||
'description'?: string; | ||
} | ||
@@ -26,2 +26,1 @@ /* tslint:disable */ | ||
@@ -26,2 +26,1 @@ /* tslint:disable */ | ||
@@ -28,3 +28,3 @@ /* tslint:disable */ | ||
*/ | ||
name: string; | ||
'name': string; | ||
/** | ||
@@ -35,5 +35,4 @@ * A description for the service account | ||
*/ | ||
description?: string; | ||
'description'?: string; | ||
} | ||
@@ -27,2 +27,1 @@ /* tslint:disable */ | ||
@@ -28,5 +28,4 @@ /* tslint:disable */ | ||
*/ | ||
max_capacity_reached: boolean; | ||
'max_capacity_reached': boolean; | ||
} | ||
@@ -29,5 +29,4 @@ /* tslint:disable */ | ||
*/ | ||
kafkas?: ServiceStatusKafkas; | ||
'kafkas'?: ServiceStatusKafkas; | ||
} | ||
@@ -28,3 +28,3 @@ /* tslint:disable */ | ||
*/ | ||
timestamp?: number; | ||
'timestamp'?: number; | ||
/** | ||
@@ -35,5 +35,4 @@ * | ||
*/ | ||
value: number; | ||
'value': number; | ||
} | ||
@@ -29,5 +29,4 @@ /* tslint:disable */ | ||
*/ | ||
collections?: Array<ObjectReference>; | ||
'collections'?: Array<ObjectReference>; | ||
} | ||
@@ -26,2 +26,1 @@ /* tslint:disable */ | ||
Sorry, the diff of this file is too big to display
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
355269