Skip to content

Auto-generated code for 8.13 #2196

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion docs/reference.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -6437,7 +6437,11 @@ or `windows-x86_64`. For portable models (those that work independent of process
architecture or OS features), leave this field unset.
** *`tags` (Optional, string[])*: An array of tags to organize the model.
** *`prefix_strings` (Optional, { ingest, search })*: Optional prefix strings applied at inference
** *`defer_definition_decompression` (Optional, boolean)*: If set to `true` and a `compressed_definition` is provided, the request defers definition decompression and skips relevant validations.
** *`defer_definition_decompression` (Optional, boolean)*: If set to `true` and a `compressed_definition` is provided,
the request defers definition decompression and skips relevant
validations.
** *`wait_for_completion` (Optional, boolean)*: Whether to wait for all child operations (e.g. model download)
to complete.

[discrete]
==== put_trained_model_alias
Expand Down
27 changes: 14 additions & 13 deletions src/api/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14143,6 +14143,7 @@ export interface MlPutTrainedModelPreprocessor {
export interface MlPutTrainedModelRequest extends RequestBase {
model_id: Id
defer_definition_decompression?: boolean
wait_for_completion?: boolean
compressed_definition?: string
definition?: MlPutTrainedModelDefinition
description?: string
Expand Down Expand Up @@ -16554,31 +16555,31 @@ export interface SecurityPutUserResponse {
created: boolean
}

export type SecurityQueryApiKeysAPIKeyAggregate = AggregationsCardinalityAggregate | AggregationsValueCountAggregate | AggregationsStringTermsAggregate | AggregationsLongTermsAggregate | AggregationsDoubleTermsAggregate | AggregationsUnmappedTermsAggregate | AggregationsMultiTermsAggregate | AggregationsMissingAggregate | AggregationsFilterAggregate | AggregationsFiltersAggregate | AggregationsRangeAggregate | AggregationsDateRangeAggregate | AggregationsCompositeAggregate
export type SecurityQueryApiKeysApiKeyAggregate = AggregationsCardinalityAggregate | AggregationsValueCountAggregate | AggregationsStringTermsAggregate | AggregationsLongTermsAggregate | AggregationsDoubleTermsAggregate | AggregationsUnmappedTermsAggregate | AggregationsMultiTermsAggregate | AggregationsMissingAggregate | AggregationsFilterAggregate | AggregationsFiltersAggregate | AggregationsRangeAggregate | AggregationsDateRangeAggregate | AggregationsCompositeAggregate

export interface SecurityQueryApiKeysAPIKeyAggregationContainer {
aggregations?: Record<string, SecurityQueryApiKeysAPIKeyAggregationContainer>
aggs?: Record<string, SecurityQueryApiKeysAPIKeyAggregationContainer>
export interface SecurityQueryApiKeysApiKeyAggregationContainer {
aggregations?: Record<string, SecurityQueryApiKeysApiKeyAggregationContainer>
aggs?: Record<string, SecurityQueryApiKeysApiKeyAggregationContainer>
meta?: Metadata
cardinality?: AggregationsCardinalityAggregation
composite?: AggregationsCompositeAggregation
date_range?: AggregationsDateRangeAggregation
filter?: SecurityQueryApiKeysAPIKeyQueryContainer
filters?: SecurityQueryApiKeysAPIKeyFiltersAggregation
filter?: SecurityQueryApiKeysApiKeyQueryContainer
filters?: SecurityQueryApiKeysApiKeyFiltersAggregation
missing?: AggregationsMissingAggregation
range?: AggregationsRangeAggregation
terms?: AggregationsTermsAggregation
value_count?: AggregationsValueCountAggregation
}

export interface SecurityQueryApiKeysAPIKeyFiltersAggregation extends AggregationsBucketAggregationBase {
filters?: AggregationsBuckets<SecurityQueryApiKeysAPIKeyQueryContainer>
export interface SecurityQueryApiKeysApiKeyFiltersAggregation extends AggregationsBucketAggregationBase {
filters?: AggregationsBuckets<SecurityQueryApiKeysApiKeyQueryContainer>
other_bucket?: boolean
other_bucket_key?: string
keyed?: boolean
}

export interface SecurityQueryApiKeysAPIKeyQueryContainer {
export interface SecurityQueryApiKeysApiKeyQueryContainer {
bool?: QueryDslBoolQuery
exists?: QueryDslExistsQuery
ids?: QueryDslIdsQuery
Expand All @@ -16594,10 +16595,10 @@ export interface SecurityQueryApiKeysAPIKeyQueryContainer {

export interface SecurityQueryApiKeysRequest extends RequestBase {
with_limited_by?: boolean
aggregations?: Record<string, SecurityQueryApiKeysAPIKeyAggregationContainer>
aggregations?: Record<string, SecurityQueryApiKeysApiKeyAggregationContainer>
/** @alias aggregations */
aggs?: Record<string, SecurityQueryApiKeysAPIKeyAggregationContainer>
query?: SecurityQueryApiKeysAPIKeyQueryContainer
aggs?: Record<string, SecurityQueryApiKeysApiKeyAggregationContainer>
query?: SecurityQueryApiKeysApiKeyQueryContainer
from?: integer
sort?: Sort
size?: integer
Expand All @@ -16608,7 +16609,7 @@ export interface SecurityQueryApiKeysResponse {
total: integer
count: integer
api_keys: SecurityApiKey[]
aggregations?: Record<AggregateName, SecurityQueryApiKeysAPIKeyAggregate>
aggregations?: Record<AggregateName, SecurityQueryApiKeysApiKeyAggregate>
}

export interface SecuritySamlAuthenticateRequest extends RequestBase {
Expand Down
27 changes: 14 additions & 13 deletions src/api/typesWithBodyKey.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14404,6 +14404,7 @@ export interface MlPutTrainedModelPreprocessor {
export interface MlPutTrainedModelRequest extends RequestBase {
model_id: Id
defer_definition_decompression?: boolean
wait_for_completion?: boolean
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
body?: {
compressed_definition?: string
Expand Down Expand Up @@ -16910,31 +16911,31 @@ export interface SecurityPutUserResponse {
created: boolean
}

export type SecurityQueryApiKeysAPIKeyAggregate = AggregationsCardinalityAggregate | AggregationsValueCountAggregate | AggregationsStringTermsAggregate | AggregationsLongTermsAggregate | AggregationsDoubleTermsAggregate | AggregationsUnmappedTermsAggregate | AggregationsMultiTermsAggregate | AggregationsMissingAggregate | AggregationsFilterAggregate | AggregationsFiltersAggregate | AggregationsRangeAggregate | AggregationsDateRangeAggregate | AggregationsCompositeAggregate
export type SecurityQueryApiKeysApiKeyAggregate = AggregationsCardinalityAggregate | AggregationsValueCountAggregate | AggregationsStringTermsAggregate | AggregationsLongTermsAggregate | AggregationsDoubleTermsAggregate | AggregationsUnmappedTermsAggregate | AggregationsMultiTermsAggregate | AggregationsMissingAggregate | AggregationsFilterAggregate | AggregationsFiltersAggregate | AggregationsRangeAggregate | AggregationsDateRangeAggregate | AggregationsCompositeAggregate

export interface SecurityQueryApiKeysAPIKeyAggregationContainer {
aggregations?: Record<string, SecurityQueryApiKeysAPIKeyAggregationContainer>
aggs?: Record<string, SecurityQueryApiKeysAPIKeyAggregationContainer>
export interface SecurityQueryApiKeysApiKeyAggregationContainer {
aggregations?: Record<string, SecurityQueryApiKeysApiKeyAggregationContainer>
aggs?: Record<string, SecurityQueryApiKeysApiKeyAggregationContainer>
meta?: Metadata
cardinality?: AggregationsCardinalityAggregation
composite?: AggregationsCompositeAggregation
date_range?: AggregationsDateRangeAggregation
filter?: SecurityQueryApiKeysAPIKeyQueryContainer
filters?: SecurityQueryApiKeysAPIKeyFiltersAggregation
filter?: SecurityQueryApiKeysApiKeyQueryContainer
filters?: SecurityQueryApiKeysApiKeyFiltersAggregation
missing?: AggregationsMissingAggregation
range?: AggregationsRangeAggregation
terms?: AggregationsTermsAggregation
value_count?: AggregationsValueCountAggregation
}

export interface SecurityQueryApiKeysAPIKeyFiltersAggregation extends AggregationsBucketAggregationBase {
filters?: AggregationsBuckets<SecurityQueryApiKeysAPIKeyQueryContainer>
export interface SecurityQueryApiKeysApiKeyFiltersAggregation extends AggregationsBucketAggregationBase {
filters?: AggregationsBuckets<SecurityQueryApiKeysApiKeyQueryContainer>
other_bucket?: boolean
other_bucket_key?: string
keyed?: boolean
}

export interface SecurityQueryApiKeysAPIKeyQueryContainer {
export interface SecurityQueryApiKeysApiKeyQueryContainer {
bool?: QueryDslBoolQuery
exists?: QueryDslExistsQuery
ids?: QueryDslIdsQuery
Expand All @@ -16952,10 +16953,10 @@ export interface SecurityQueryApiKeysRequest extends RequestBase {
with_limited_by?: boolean
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
body?: {
aggregations?: Record<string, SecurityQueryApiKeysAPIKeyAggregationContainer>
aggregations?: Record<string, SecurityQueryApiKeysApiKeyAggregationContainer>
/** @alias aggregations */
aggs?: Record<string, SecurityQueryApiKeysAPIKeyAggregationContainer>
query?: SecurityQueryApiKeysAPIKeyQueryContainer
aggs?: Record<string, SecurityQueryApiKeysApiKeyAggregationContainer>
query?: SecurityQueryApiKeysApiKeyQueryContainer
from?: integer
sort?: Sort
size?: integer
Expand All @@ -16967,7 +16968,7 @@ export interface SecurityQueryApiKeysResponse {
total: integer
count: integer
api_keys: SecurityApiKey[]
aggregations?: Record<AggregateName, SecurityQueryApiKeysAPIKeyAggregate>
aggregations?: Record<AggregateName, SecurityQueryApiKeysApiKeyAggregate>
}

export interface SecuritySamlAuthenticateRequest extends RequestBase {
Expand Down