diff --git a/specification/security/_types/Privileges.ts b/specification/security/_types/Privileges.ts index abfafbdef2..24fa9cd9b7 100644 --- a/specification/security/_types/Privileges.ts +++ b/specification/security/_types/Privileges.ts @@ -19,7 +19,7 @@ import { Dictionary } from '@spec_utils/Dictionary' import { UserDefinedValue } from '@spec_utils/UserDefinedValue' -import { Id, Indices, Names } from '@_types/common' +import { Id, IndexName, Names } from '@_types/common' import { QueryContainer } from '@_types/query_dsl/abstractions' import { ScriptLanguage } from '@_types/Scripting' import { FieldSecurity } from './FieldSecurity' @@ -204,7 +204,7 @@ export class IndicesPrivileges { /** * A list of indices (or index name patterns) to which the permissions in this entry apply. */ - names: Indices + names: IndexName[] /** * The index level privileges that owners of the role have on the specified indices. */ @@ -235,7 +235,7 @@ export class RemoteIndicesPrivileges { /** * A list of indices (or index name patterns) to which the permissions in this entry apply. */ - names: Indices + names: IndexName[] /** * The index level privileges that owners of the role have on the specified indices. */ @@ -261,7 +261,7 @@ export class UserIndicesPrivileges { /** * A list of indices (or index name patterns) to which the permissions in this entry apply. */ - names: Indices + names: IndexName[] /** * The index level privileges that owners of the role have on the specified indices. */ diff --git a/specification/security/get_builtin_privileges/SecurityGetBuiltinPrivilegesResponse.ts b/specification/security/get_builtin_privileges/SecurityGetBuiltinPrivilegesResponse.ts index 42c01fa050..eaf9009d13 100644 --- a/specification/security/get_builtin_privileges/SecurityGetBuiltinPrivilegesResponse.ts +++ b/specification/security/get_builtin_privileges/SecurityGetBuiltinPrivilegesResponse.ts @@ -17,8 +17,8 @@ * under the License. */ -import { Indices } from '@_types/common' +import { IndexName } from '@_types/common' export class Response { - body: { cluster: string[]; index: Indices } + body: { cluster: string[]; index: IndexName[] } }