@@ -151,10 +151,11 @@ export const SecurityApiAxiosParamCreator = function (configuration?: Configurat
151151 /**
152152 *
153153 * @summary Returns a list of service accounts
154+ * @param {string } [clientId] client_id of the service account to be retrieved
154155 * @param {* } [options] Override http request option.
155156 * @throws {RequiredError }
156157 */
157- getServiceAccounts : async ( options : AxiosRequestConfig = { } ) : Promise < RequestArgs > => {
158+ getServiceAccounts : async ( clientId ?: string , options : AxiosRequestConfig = { } ) : Promise < RequestArgs > => {
158159 const localVarPath = `/api/kafkas_mgmt/v1/service_accounts` ;
159160 // use dummy base URL string because the URL constructor only accepts absolute URLs.
160161 const localVarUrlObj = new URL ( localVarPath , DUMMY_BASE_URL ) ;
@@ -171,6 +172,10 @@ export const SecurityApiAxiosParamCreator = function (configuration?: Configurat
171172 // http bearer authentication required
172173 await setBearerAuthToObject ( localVarHeaderParameter , configuration )
173174
175+ if ( clientId !== undefined ) {
176+ localVarQueryParameter [ 'client_id' ] = clientId ;
177+ }
178+
174179
175180
176181 setSearchParams ( localVarUrlObj , localVarQueryParameter ) ;
@@ -266,11 +271,12 @@ export const SecurityApiFp = function(configuration?: Configuration) {
266271 /**
267272 *
268273 * @summary Returns a list of service accounts
274+ * @param {string } [clientId] client_id of the service account to be retrieved
269275 * @param {* } [options] Override http request option.
270276 * @throws {RequiredError }
271277 */
272- async getServiceAccounts ( options ?: AxiosRequestConfig ) : Promise < ( axios ?: AxiosInstance , basePath ?: string ) => AxiosPromise < ServiceAccountList > > {
273- const localVarAxiosArgs = await localVarAxiosParamCreator . getServiceAccounts ( options ) ;
278+ async getServiceAccounts ( clientId ?: string , options ?: AxiosRequestConfig ) : Promise < ( axios ?: AxiosInstance , basePath ?: string ) => AxiosPromise < ServiceAccountList > > {
279+ const localVarAxiosArgs = await localVarAxiosParamCreator . getServiceAccounts ( clientId , options ) ;
274280 return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ;
275281 } ,
276282 /**
@@ -327,11 +333,12 @@ export const SecurityApiFactory = function (configuration?: Configuration, baseP
327333 /**
328334 *
329335 * @summary Returns a list of service accounts
336+ * @param {string } [clientId] client_id of the service account to be retrieved
330337 * @param {* } [options] Override http request option.
331338 * @throws {RequiredError }
332339 */
333- getServiceAccounts ( options ?: any ) : AxiosPromise < ServiceAccountList > {
334- return localVarFp . getServiceAccounts ( options ) . then ( ( request ) => request ( axios , basePath ) ) ;
340+ getServiceAccounts ( clientId ?: string , options ?: any ) : AxiosPromise < ServiceAccountList > {
341+ return localVarFp . getServiceAccounts ( clientId , options ) . then ( ( request ) => request ( axios , basePath ) ) ;
335342 } ,
336343 /**
337344 *
@@ -385,11 +392,12 @@ export interface SecurityApiInterface {
385392 /**
386393 *
387394 * @summary Returns a list of service accounts
395+ * @param {string } [clientId] client_id of the service account to be retrieved
388396 * @param {* } [options] Override http request option.
389397 * @throws {RequiredError }
390398 * @memberof SecurityApiInterface
391399 */
392- getServiceAccounts ( options ?: AxiosRequestConfig ) : AxiosPromise < ServiceAccountList > ;
400+ getServiceAccounts ( clientId ?: string , options ?: AxiosRequestConfig ) : AxiosPromise < ServiceAccountList > ;
393401
394402 /**
395403 *
@@ -449,12 +457,13 @@ export class SecurityApi extends BaseAPI implements SecurityApiInterface {
449457 /**
450458 *
451459 * @summary Returns a list of service accounts
460+ * @param {string } [clientId] client_id of the service account to be retrieved
452461 * @param {* } [options] Override http request option.
453462 * @throws {RequiredError }
454463 * @memberof SecurityApi
455464 */
456- public getServiceAccounts ( options ?: AxiosRequestConfig ) {
457- return SecurityApiFp ( this . configuration ) . getServiceAccounts ( options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ;
465+ public getServiceAccounts ( clientId ?: string , options ?: AxiosRequestConfig ) {
466+ return SecurityApiFp ( this . configuration ) . getServiceAccounts ( clientId , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ;
458467 }
459468
460469 /**
0 commit comments