Open
Description
openedon Mar 11, 2021
The list is based on the integration work in elastic/kibana#83808
- no way to declare a type for aggregation in the search response
-
MultiGetHit._source
is optional. our code handles it asrequired
. -
DeleteByQueryRequest
doesn't accept q parameter -
helpers.bulk
doesn't supportTransportRequestOptions
as second argument -
GetIndexResponse
should provideIndexState.alias
andIndexState.mappings
as required -
GetTaskResponse
doesn't containresponse
anderror
properties -
Hid._id
expected to bestring
- PropertyBase is missing dynamic, ignore_above, value, and fields,
-
AsyncSearchGetResponse
missing all properties -
asyncSearch.status
method is not defined -
existsAlias
,existsTemplate
response bodyboolean
, code expects{ exists: boolean }
-
GetUserAccessTokenResponse
declaresauthentication: string
, but expectedAuthenticatedUser
-
XPackRole
type doesn't defineapplications
andtransient_metadata
. -
XPackRoleMapping
type doesn't definerole_templates
property. -
AggregationRange
declaresfrom
andto
asnumber
, but Kibana declares them as strings -
DeleteResponse
should have an optionalerror
property which when present has atype
property -
NodeUsageInformation
doesn't containscripted_metric
-
date_range
aggregations supportfrom?: integer
andto?: integer
, but notfrom_as_string?: string
,to_as_string?: string
. -
HistogramAggregation
doesn't containbuckets
fields -
CreateApiKeyResponse
hasexpiration: number
, expected:expiration: string
-
GetUserAccessTokenResponse
requireskerberos_authentication_response_token
-
HasPrivilegesResponse
Kibana expectsindex: Record<string, Record<string, boolean>>
,application: Record<string, boolean>;
-
StoredScript.language
is required, but it's unlikely since it's omitted in Kibana code -
indices.resolveIndex
is not typed -
indices.getIndexTemplate
is not typed -
Policy
doesn't containname
property -
PutMappingRequest
doesn't declarewrite_index_only
property -
Transform
interface is empty -
DeleteSnapshotLifecycleRequest.policy_id
is required, but our code usespolicy
property only -
AsyncSearchSubmitRequest.indices_boost
expected to beRecord<IndexName, double>[]
-
AsyncSearchSubmitRequest
doesn't decalrebody.fields
type -
security.grantApiKey
method is not defined - AuthenticateResponse doesn't define
authentication_type
andenabled
. -
UpdateByQueryResponse
declaresupdated
,total
andtask
as optional -
TransformPivot.max_page_search_size
expected to be optional -
SearchRequest.sort
expected to be the same type asSearchRequest.body.sort
. Or what is the purpose of it? -
CatIndicesRecord
the next properties are expected to be required: 'docs.count', 'docs.deleted' -
ByteSize
is expected to bestring
-
ListTasksRequest
decalresactions?: string
, expected:actions?: string[]
- All properties of DynamicTemplate are required (in the type)
-
docvalue_fields
in SearchRequest and SearchRequest['body'] has incompatible types - should accept
readonly
version of request (readonly string []
, for example) - SortResults contains
null
inArray<string | number | null>
. does it make sense? Our code has to filter the result. -
skipped
is optional in ShardStatistics -
RolloverIndexRequest.alias
expected to accept a string -
BulkResponseItemBase._id?: string | null
. expected_id: string
. -
PutRoleRequest.body
doesn't declaretransient_metadata
property -
PrivilegesActions
doesn't declareapplication
andname
properties. -
OpenPointInTimeRequest.index
expected to acceptstring[]
-
ApiKey.role_descriptors
expected to beRecord<string, any>
-
TaskId
expected be astring
-
start_time_in_millis
expected to be number in all the types (AsyncSearchResponseBase, for example) -
TopHitsAggregation._source
should acceptsstring[]
-
MultiGetHit.found
expected to be required
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment