@@ -513,15 +513,14 @@ export default class Indices {
513513 return await this . transport . request ( { path, method, querystring, body } , options )
514514 }
515515
516- async fieldUsageStats ( this : That , params ? : T . IndicesFieldUsageStatsRequest | TB . IndicesFieldUsageStatsRequest , options ?: TransportRequestOptionsWithOutMeta ) : Promise < T . IndicesFieldUsageStatsResponse >
517- async fieldUsageStats ( this : That , params ? : T . IndicesFieldUsageStatsRequest | TB . IndicesFieldUsageStatsRequest , options ?: TransportRequestOptionsWithMeta ) : Promise < TransportResult < T . IndicesFieldUsageStatsResponse , unknown > >
518- async fieldUsageStats ( this : That , params ? : T . IndicesFieldUsageStatsRequest | TB . IndicesFieldUsageStatsRequest , options ?: TransportRequestOptions ) : Promise < T . IndicesFieldUsageStatsResponse >
519- async fieldUsageStats ( this : That , params ? : T . IndicesFieldUsageStatsRequest | TB . IndicesFieldUsageStatsRequest , options ?: TransportRequestOptions ) : Promise < any > {
516+ async fieldUsageStats ( this : That , params : T . IndicesFieldUsageStatsRequest | TB . IndicesFieldUsageStatsRequest , options ?: TransportRequestOptionsWithOutMeta ) : Promise < T . IndicesFieldUsageStatsResponse >
517+ async fieldUsageStats ( this : That , params : T . IndicesFieldUsageStatsRequest | TB . IndicesFieldUsageStatsRequest , options ?: TransportRequestOptionsWithMeta ) : Promise < TransportResult < T . IndicesFieldUsageStatsResponse , unknown > >
518+ async fieldUsageStats ( this : That , params : T . IndicesFieldUsageStatsRequest | TB . IndicesFieldUsageStatsRequest , options ?: TransportRequestOptions ) : Promise < T . IndicesFieldUsageStatsResponse >
519+ async fieldUsageStats ( this : That , params : T . IndicesFieldUsageStatsRequest | TB . IndicesFieldUsageStatsRequest , options ?: TransportRequestOptions ) : Promise < any > {
520520 const acceptedPath : string [ ] = [ 'index' ]
521521 const querystring : Record < string , any > = { }
522522 const body = undefined
523523
524- params = params ?? { }
525524 for ( const key in params ) {
526525 if ( acceptedPath . includes ( key ) ) {
527526 continue
0 commit comments