Skip to content

Commit a311b0d

Browse files
Auto-generated code for 8.13 (#2196)
1 parent e34dc23 commit a311b0d

File tree

3 files changed

+33
-27
lines changed

3 files changed

+33
-27
lines changed

docs/reference.asciidoc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6437,7 +6437,11 @@ or `windows-x86_64`. For portable models (those that work independent of process
64376437
architecture or OS features), leave this field unset.
64386438
** *`tags` (Optional, string[])*: An array of tags to organize the model.
64396439
** *`prefix_strings` (Optional, { ingest, search })*: Optional prefix strings applied at inference
6440-
** *`defer_definition_decompression` (Optional, boolean)*: If set to `true` and a `compressed_definition` is provided, the request defers definition decompression and skips relevant validations.
6440+
** *`defer_definition_decompression` (Optional, boolean)*: If set to `true` and a `compressed_definition` is provided,
6441+
the request defers definition decompression and skips relevant
6442+
validations.
6443+
** *`wait_for_completion` (Optional, boolean)*: Whether to wait for all child operations (e.g. model download)
6444+
to complete.
64416445

64426446
[discrete]
64436447
==== put_trained_model_alias

src/api/types.ts

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14143,6 +14143,7 @@ export interface MlPutTrainedModelPreprocessor {
1414314143
export interface MlPutTrainedModelRequest extends RequestBase {
1414414144
model_id: Id
1414514145
defer_definition_decompression?: boolean
14146+
wait_for_completion?: boolean
1414614147
compressed_definition?: string
1414714148
definition?: MlPutTrainedModelDefinition
1414814149
description?: string
@@ -16554,31 +16555,31 @@ export interface SecurityPutUserResponse {
1655416555
created: boolean
1655516556
}
1655616557

16557-
export type SecurityQueryApiKeysAPIKeyAggregate = AggregationsCardinalityAggregate | AggregationsValueCountAggregate | AggregationsStringTermsAggregate | AggregationsLongTermsAggregate | AggregationsDoubleTermsAggregate | AggregationsUnmappedTermsAggregate | AggregationsMultiTermsAggregate | AggregationsMissingAggregate | AggregationsFilterAggregate | AggregationsFiltersAggregate | AggregationsRangeAggregate | AggregationsDateRangeAggregate | AggregationsCompositeAggregate
16558+
export type SecurityQueryApiKeysApiKeyAggregate = AggregationsCardinalityAggregate | AggregationsValueCountAggregate | AggregationsStringTermsAggregate | AggregationsLongTermsAggregate | AggregationsDoubleTermsAggregate | AggregationsUnmappedTermsAggregate | AggregationsMultiTermsAggregate | AggregationsMissingAggregate | AggregationsFilterAggregate | AggregationsFiltersAggregate | AggregationsRangeAggregate | AggregationsDateRangeAggregate | AggregationsCompositeAggregate
1655816559

16559-
export interface SecurityQueryApiKeysAPIKeyAggregationContainer {
16560-
aggregations?: Record<string, SecurityQueryApiKeysAPIKeyAggregationContainer>
16561-
aggs?: Record<string, SecurityQueryApiKeysAPIKeyAggregationContainer>
16560+
export interface SecurityQueryApiKeysApiKeyAggregationContainer {
16561+
aggregations?: Record<string, SecurityQueryApiKeysApiKeyAggregationContainer>
16562+
aggs?: Record<string, SecurityQueryApiKeysApiKeyAggregationContainer>
1656216563
meta?: Metadata
1656316564
cardinality?: AggregationsCardinalityAggregation
1656416565
composite?: AggregationsCompositeAggregation
1656516566
date_range?: AggregationsDateRangeAggregation
16566-
filter?: SecurityQueryApiKeysAPIKeyQueryContainer
16567-
filters?: SecurityQueryApiKeysAPIKeyFiltersAggregation
16567+
filter?: SecurityQueryApiKeysApiKeyQueryContainer
16568+
filters?: SecurityQueryApiKeysApiKeyFiltersAggregation
1656816569
missing?: AggregationsMissingAggregation
1656916570
range?: AggregationsRangeAggregation
1657016571
terms?: AggregationsTermsAggregation
1657116572
value_count?: AggregationsValueCountAggregation
1657216573
}
1657316574

16574-
export interface SecurityQueryApiKeysAPIKeyFiltersAggregation extends AggregationsBucketAggregationBase {
16575-
filters?: AggregationsBuckets<SecurityQueryApiKeysAPIKeyQueryContainer>
16575+
export interface SecurityQueryApiKeysApiKeyFiltersAggregation extends AggregationsBucketAggregationBase {
16576+
filters?: AggregationsBuckets<SecurityQueryApiKeysApiKeyQueryContainer>
1657616577
other_bucket?: boolean
1657716578
other_bucket_key?: string
1657816579
keyed?: boolean
1657916580
}
1658016581

16581-
export interface SecurityQueryApiKeysAPIKeyQueryContainer {
16582+
export interface SecurityQueryApiKeysApiKeyQueryContainer {
1658216583
bool?: QueryDslBoolQuery
1658316584
exists?: QueryDslExistsQuery
1658416585
ids?: QueryDslIdsQuery
@@ -16594,10 +16595,10 @@ export interface SecurityQueryApiKeysAPIKeyQueryContainer {
1659416595

1659516596
export interface SecurityQueryApiKeysRequest extends RequestBase {
1659616597
with_limited_by?: boolean
16597-
aggregations?: Record<string, SecurityQueryApiKeysAPIKeyAggregationContainer>
16598+
aggregations?: Record<string, SecurityQueryApiKeysApiKeyAggregationContainer>
1659816599
/** @alias aggregations */
16599-
aggs?: Record<string, SecurityQueryApiKeysAPIKeyAggregationContainer>
16600-
query?: SecurityQueryApiKeysAPIKeyQueryContainer
16600+
aggs?: Record<string, SecurityQueryApiKeysApiKeyAggregationContainer>
16601+
query?: SecurityQueryApiKeysApiKeyQueryContainer
1660116602
from?: integer
1660216603
sort?: Sort
1660316604
size?: integer
@@ -16608,7 +16609,7 @@ export interface SecurityQueryApiKeysResponse {
1660816609
total: integer
1660916610
count: integer
1661016611
api_keys: SecurityApiKey[]
16611-
aggregations?: Record<AggregateName, SecurityQueryApiKeysAPIKeyAggregate>
16612+
aggregations?: Record<AggregateName, SecurityQueryApiKeysApiKeyAggregate>
1661216613
}
1661316614

1661416615
export interface SecuritySamlAuthenticateRequest extends RequestBase {

src/api/typesWithBodyKey.ts

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14404,6 +14404,7 @@ export interface MlPutTrainedModelPreprocessor {
1440414404
export interface MlPutTrainedModelRequest extends RequestBase {
1440514405
model_id: Id
1440614406
defer_definition_decompression?: boolean
14407+
wait_for_completion?: boolean
1440714408
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
1440814409
body?: {
1440914410
compressed_definition?: string
@@ -16910,31 +16911,31 @@ export interface SecurityPutUserResponse {
1691016911
created: boolean
1691116912
}
1691216913

16913-
export type SecurityQueryApiKeysAPIKeyAggregate = AggregationsCardinalityAggregate | AggregationsValueCountAggregate | AggregationsStringTermsAggregate | AggregationsLongTermsAggregate | AggregationsDoubleTermsAggregate | AggregationsUnmappedTermsAggregate | AggregationsMultiTermsAggregate | AggregationsMissingAggregate | AggregationsFilterAggregate | AggregationsFiltersAggregate | AggregationsRangeAggregate | AggregationsDateRangeAggregate | AggregationsCompositeAggregate
16914+
export type SecurityQueryApiKeysApiKeyAggregate = AggregationsCardinalityAggregate | AggregationsValueCountAggregate | AggregationsStringTermsAggregate | AggregationsLongTermsAggregate | AggregationsDoubleTermsAggregate | AggregationsUnmappedTermsAggregate | AggregationsMultiTermsAggregate | AggregationsMissingAggregate | AggregationsFilterAggregate | AggregationsFiltersAggregate | AggregationsRangeAggregate | AggregationsDateRangeAggregate | AggregationsCompositeAggregate
1691416915

16915-
export interface SecurityQueryApiKeysAPIKeyAggregationContainer {
16916-
aggregations?: Record<string, SecurityQueryApiKeysAPIKeyAggregationContainer>
16917-
aggs?: Record<string, SecurityQueryApiKeysAPIKeyAggregationContainer>
16916+
export interface SecurityQueryApiKeysApiKeyAggregationContainer {
16917+
aggregations?: Record<string, SecurityQueryApiKeysApiKeyAggregationContainer>
16918+
aggs?: Record<string, SecurityQueryApiKeysApiKeyAggregationContainer>
1691816919
meta?: Metadata
1691916920
cardinality?: AggregationsCardinalityAggregation
1692016921
composite?: AggregationsCompositeAggregation
1692116922
date_range?: AggregationsDateRangeAggregation
16922-
filter?: SecurityQueryApiKeysAPIKeyQueryContainer
16923-
filters?: SecurityQueryApiKeysAPIKeyFiltersAggregation
16923+
filter?: SecurityQueryApiKeysApiKeyQueryContainer
16924+
filters?: SecurityQueryApiKeysApiKeyFiltersAggregation
1692416925
missing?: AggregationsMissingAggregation
1692516926
range?: AggregationsRangeAggregation
1692616927
terms?: AggregationsTermsAggregation
1692716928
value_count?: AggregationsValueCountAggregation
1692816929
}
1692916930

16930-
export interface SecurityQueryApiKeysAPIKeyFiltersAggregation extends AggregationsBucketAggregationBase {
16931-
filters?: AggregationsBuckets<SecurityQueryApiKeysAPIKeyQueryContainer>
16931+
export interface SecurityQueryApiKeysApiKeyFiltersAggregation extends AggregationsBucketAggregationBase {
16932+
filters?: AggregationsBuckets<SecurityQueryApiKeysApiKeyQueryContainer>
1693216933
other_bucket?: boolean
1693316934
other_bucket_key?: string
1693416935
keyed?: boolean
1693516936
}
1693616937

16937-
export interface SecurityQueryApiKeysAPIKeyQueryContainer {
16938+
export interface SecurityQueryApiKeysApiKeyQueryContainer {
1693816939
bool?: QueryDslBoolQuery
1693916940
exists?: QueryDslExistsQuery
1694016941
ids?: QueryDslIdsQuery
@@ -16952,10 +16953,10 @@ export interface SecurityQueryApiKeysRequest extends RequestBase {
1695216953
with_limited_by?: boolean
1695316954
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
1695416955
body?: {
16955-
aggregations?: Record<string, SecurityQueryApiKeysAPIKeyAggregationContainer>
16956+
aggregations?: Record<string, SecurityQueryApiKeysApiKeyAggregationContainer>
1695616957
/** @alias aggregations */
16957-
aggs?: Record<string, SecurityQueryApiKeysAPIKeyAggregationContainer>
16958-
query?: SecurityQueryApiKeysAPIKeyQueryContainer
16958+
aggs?: Record<string, SecurityQueryApiKeysApiKeyAggregationContainer>
16959+
query?: SecurityQueryApiKeysApiKeyQueryContainer
1695916960
from?: integer
1696016961
sort?: Sort
1696116962
size?: integer
@@ -16967,7 +16968,7 @@ export interface SecurityQueryApiKeysResponse {
1696716968
total: integer
1696816969
count: integer
1696916970
api_keys: SecurityApiKey[]
16970-
aggregations?: Record<AggregateName, SecurityQueryApiKeysAPIKeyAggregate>
16971+
aggregations?: Record<AggregateName, SecurityQueryApiKeysApiKeyAggregate>
1697116972
}
1697216973

1697316974
export interface SecuritySamlAuthenticateRequest extends RequestBase {

0 commit comments

Comments
 (0)