Auto-generated code for 8.15 (#2316)
This commit is contained in:
@ -9082,14 +9082,15 @@ export interface ClusterStatsStatsResponseBase extends NodesNodesResponseBase {
|
||||
|
||||
export interface ConnectorConnector {
|
||||
api_key_id?: string
|
||||
api_key_secret_id?: string
|
||||
configuration: ConnectorConnectorConfiguration
|
||||
custom_scheduling: ConnectorConnectorCustomScheduling
|
||||
description?: string
|
||||
error?: string
|
||||
error?: string | null
|
||||
features?: ConnectorConnectorFeatures
|
||||
filtering: ConnectorFilteringConfig[]
|
||||
id?: Id
|
||||
index_name?: IndexName
|
||||
index_name?: IndexName | null
|
||||
is_native: boolean
|
||||
language?: string
|
||||
last_access_control_sync_error?: string
|
||||
@ -9106,8 +9107,9 @@ export interface ConnectorConnector {
|
||||
name?: string
|
||||
pipeline?: ConnectorIngestPipelineParams
|
||||
scheduling: ConnectorSchedulingConfiguration
|
||||
service_type: string
|
||||
service_type?: string
|
||||
status: ConnectorConnectorStatus
|
||||
sync_cursor?: any
|
||||
sync_now: boolean
|
||||
}
|
||||
|
||||
@ -9122,11 +9124,11 @@ export interface ConnectorConnectorConfigProperties {
|
||||
placeholder?: string
|
||||
required: boolean
|
||||
sensitive: boolean
|
||||
tooltip?: string
|
||||
tooltip?: string | null
|
||||
type: ConnectorConnectorFieldType
|
||||
ui_restrictions: string[]
|
||||
validations: ConnectorValidation[]
|
||||
value: ScalarValue
|
||||
value: any
|
||||
}
|
||||
|
||||
export type ConnectorConnectorConfiguration = Record<string, ConnectorConnectorConfigProperties>
|
||||
@ -9135,9 +9137,8 @@ export type ConnectorConnectorCustomScheduling = Record<string, ConnectorCustomS
|
||||
|
||||
export interface ConnectorConnectorFeatures {
|
||||
document_level_security?: ConnectorFeatureEnabled
|
||||
filtering_advanced_config?: boolean
|
||||
filtering_rules?: boolean
|
||||
incremental_sync?: ConnectorFeatureEnabled
|
||||
native_connector_api_keys?: ConnectorFeatureEnabled
|
||||
sync_rules?: ConnectorSyncRulesFeature
|
||||
}
|
||||
|
||||
@ -9206,7 +9207,7 @@ export interface ConnectorFilteringAdvancedSnippet {
|
||||
|
||||
export interface ConnectorFilteringConfig {
|
||||
active: ConnectorFilteringRules
|
||||
domain: string
|
||||
domain?: string
|
||||
draft: ConnectorFilteringRules
|
||||
}
|
||||
|
||||
@ -9250,7 +9251,7 @@ export interface ConnectorGreaterThanValidation {
|
||||
|
||||
export interface ConnectorIncludedInValidation {
|
||||
type: 'included_in'
|
||||
constraint: string
|
||||
constraint: ScalarValue[]
|
||||
}
|
||||
|
||||
export interface ConnectorIngestPipelineParams {
|
||||
@ -9267,7 +9268,7 @@ export interface ConnectorLessThanValidation {
|
||||
|
||||
export interface ConnectorListTypeValidation {
|
||||
type: 'list_type'
|
||||
constraint: ScalarValue[]
|
||||
constraint: string
|
||||
}
|
||||
|
||||
export interface ConnectorRegexValidation {
|
||||
@ -9283,7 +9284,7 @@ export interface ConnectorSchedulingConfiguration {
|
||||
|
||||
export interface ConnectorSelectOption {
|
||||
label: string
|
||||
value: string
|
||||
value: ScalarValue
|
||||
}
|
||||
|
||||
export interface ConnectorSyncJobConnectorReference {
|
||||
@ -9294,6 +9295,7 @@ export interface ConnectorSyncJobConnectorReference {
|
||||
language?: string
|
||||
pipeline?: ConnectorIngestPipelineParams
|
||||
service_type: string
|
||||
sync_cursor?: any
|
||||
}
|
||||
|
||||
export type ConnectorSyncJobTriggerMethod = 'on_demand' | 'scheduled'
|
||||
@ -9319,7 +9321,7 @@ export interface ConnectorCheckInResponse {
|
||||
|
||||
export interface ConnectorDeleteRequest extends RequestBase {
|
||||
connector_id: Id
|
||||
delete_sync_jobs: boolean
|
||||
delete_sync_jobs?: boolean
|
||||
}
|
||||
|
||||
export type ConnectorDeleteResponse = AcknowledgedResponseBase
|
||||
@ -9332,17 +9334,18 @@ export type ConnectorGetResponse = ConnectorConnector
|
||||
|
||||
export interface ConnectorLastSyncRequest extends RequestBase {
|
||||
connector_id: Id
|
||||
last_access_control_sync_error?: SpecUtilsWithNullValue<string>
|
||||
last_access_control_sync_error?: string
|
||||
last_access_control_sync_scheduled_at?: DateTime
|
||||
last_access_control_sync_status?: ConnectorSyncStatus
|
||||
last_deleted_document_count?: long
|
||||
last_incremental_sync_scheduled_at?: DateTime
|
||||
last_indexed_document_count?: long
|
||||
last_seen?: SpecUtilsWithNullValue<DateTime>
|
||||
last_sync_error?: SpecUtilsWithNullValue<string>
|
||||
last_seen?: DateTime
|
||||
last_sync_error?: string
|
||||
last_sync_scheduled_at?: DateTime
|
||||
last_sync_status?: ConnectorSyncStatus
|
||||
last_synced?: DateTime
|
||||
sync_cursor?: any
|
||||
}
|
||||
|
||||
export interface ConnectorLastSyncResponse {
|
||||
@ -9365,7 +9368,7 @@ export interface ConnectorListResponse {
|
||||
|
||||
export interface ConnectorPostRequest extends RequestBase {
|
||||
description?: string
|
||||
index_name: SpecUtilsWithNullValue<IndexName>
|
||||
index_name?: IndexName
|
||||
is_native?: boolean
|
||||
language?: string
|
||||
name?: string
|
||||
@ -9373,13 +9376,14 @@ export interface ConnectorPostRequest extends RequestBase {
|
||||
}
|
||||
|
||||
export interface ConnectorPostResponse {
|
||||
result: Result
|
||||
id: Id
|
||||
}
|
||||
|
||||
export interface ConnectorPutRequest extends RequestBase {
|
||||
connector_id: Id
|
||||
connector_id?: Id
|
||||
description?: string
|
||||
index_name: SpecUtilsWithNullValue<IndexName>
|
||||
index_name?: IndexName
|
||||
is_native?: boolean
|
||||
language?: string
|
||||
name?: string
|
||||
@ -9388,6 +9392,7 @@ export interface ConnectorPutRequest extends RequestBase {
|
||||
|
||||
export interface ConnectorPutResponse {
|
||||
result: Result
|
||||
id: Id
|
||||
}
|
||||
|
||||
export interface ConnectorSyncJobCancelRequest extends RequestBase {
|
||||
@ -9415,7 +9420,7 @@ export interface ConnectorSyncJobListRequest extends RequestBase {
|
||||
size?: integer
|
||||
status?: ConnectorSyncStatus
|
||||
connector_id?: Id
|
||||
job_type?: ConnectorSyncJobType[]
|
||||
job_type?: ConnectorSyncJobType | ConnectorSyncJobType[]
|
||||
}
|
||||
|
||||
export interface ConnectorSyncJobListResponse {
|
||||
@ -9443,8 +9448,8 @@ export interface ConnectorUpdateActiveFilteringResponse {
|
||||
|
||||
export interface ConnectorUpdateApiKeyIdRequest extends RequestBase {
|
||||
connector_id: Id
|
||||
api_key_id?: SpecUtilsWithNullValue<string>
|
||||
api_key_secret_id?: SpecUtilsWithNullValue<string>
|
||||
api_key_id?: string
|
||||
api_key_secret_id?: string
|
||||
}
|
||||
|
||||
export interface ConnectorUpdateApiKeyIdResponse {
|
||||
@ -9501,7 +9506,7 @@ export interface ConnectorUpdateIndexNameResponse {
|
||||
|
||||
export interface ConnectorUpdateNameRequest extends RequestBase {
|
||||
connector_id: Id
|
||||
name: string
|
||||
name?: string
|
||||
description?: string
|
||||
}
|
||||
|
||||
@ -13850,7 +13855,7 @@ export interface MlTrainedModelPrefixStrings {
|
||||
|
||||
export interface MlTrainedModelSizeStats {
|
||||
model_size_bytes: ByteSize
|
||||
required_native_memory_bytes: integer
|
||||
required_native_memory_bytes: ByteSize
|
||||
}
|
||||
|
||||
export interface MlTrainedModelStats {
|
||||
|
||||
@ -9183,14 +9183,15 @@ export interface ClusterStatsStatsResponseBase extends NodesNodesResponseBase {
|
||||
|
||||
export interface ConnectorConnector {
|
||||
api_key_id?: string
|
||||
api_key_secret_id?: string
|
||||
configuration: ConnectorConnectorConfiguration
|
||||
custom_scheduling: ConnectorConnectorCustomScheduling
|
||||
description?: string
|
||||
error?: string
|
||||
error?: string | null
|
||||
features?: ConnectorConnectorFeatures
|
||||
filtering: ConnectorFilteringConfig[]
|
||||
id?: Id
|
||||
index_name?: IndexName
|
||||
index_name?: IndexName | null
|
||||
is_native: boolean
|
||||
language?: string
|
||||
last_access_control_sync_error?: string
|
||||
@ -9207,8 +9208,9 @@ export interface ConnectorConnector {
|
||||
name?: string
|
||||
pipeline?: ConnectorIngestPipelineParams
|
||||
scheduling: ConnectorSchedulingConfiguration
|
||||
service_type: string
|
||||
service_type?: string
|
||||
status: ConnectorConnectorStatus
|
||||
sync_cursor?: any
|
||||
sync_now: boolean
|
||||
}
|
||||
|
||||
@ -9223,11 +9225,11 @@ export interface ConnectorConnectorConfigProperties {
|
||||
placeholder?: string
|
||||
required: boolean
|
||||
sensitive: boolean
|
||||
tooltip?: string
|
||||
tooltip?: string | null
|
||||
type: ConnectorConnectorFieldType
|
||||
ui_restrictions: string[]
|
||||
validations: ConnectorValidation[]
|
||||
value: ScalarValue
|
||||
value: any
|
||||
}
|
||||
|
||||
export type ConnectorConnectorConfiguration = Record<string, ConnectorConnectorConfigProperties>
|
||||
@ -9236,9 +9238,8 @@ export type ConnectorConnectorCustomScheduling = Record<string, ConnectorCustomS
|
||||
|
||||
export interface ConnectorConnectorFeatures {
|
||||
document_level_security?: ConnectorFeatureEnabled
|
||||
filtering_advanced_config?: boolean
|
||||
filtering_rules?: boolean
|
||||
incremental_sync?: ConnectorFeatureEnabled
|
||||
native_connector_api_keys?: ConnectorFeatureEnabled
|
||||
sync_rules?: ConnectorSyncRulesFeature
|
||||
}
|
||||
|
||||
@ -9307,7 +9308,7 @@ export interface ConnectorFilteringAdvancedSnippet {
|
||||
|
||||
export interface ConnectorFilteringConfig {
|
||||
active: ConnectorFilteringRules
|
||||
domain: string
|
||||
domain?: string
|
||||
draft: ConnectorFilteringRules
|
||||
}
|
||||
|
||||
@ -9351,7 +9352,7 @@ export interface ConnectorGreaterThanValidation {
|
||||
|
||||
export interface ConnectorIncludedInValidation {
|
||||
type: 'included_in'
|
||||
constraint: string
|
||||
constraint: ScalarValue[]
|
||||
}
|
||||
|
||||
export interface ConnectorIngestPipelineParams {
|
||||
@ -9368,7 +9369,7 @@ export interface ConnectorLessThanValidation {
|
||||
|
||||
export interface ConnectorListTypeValidation {
|
||||
type: 'list_type'
|
||||
constraint: ScalarValue[]
|
||||
constraint: string
|
||||
}
|
||||
|
||||
export interface ConnectorRegexValidation {
|
||||
@ -9384,7 +9385,7 @@ export interface ConnectorSchedulingConfiguration {
|
||||
|
||||
export interface ConnectorSelectOption {
|
||||
label: string
|
||||
value: string
|
||||
value: ScalarValue
|
||||
}
|
||||
|
||||
export interface ConnectorSyncJobConnectorReference {
|
||||
@ -9395,6 +9396,7 @@ export interface ConnectorSyncJobConnectorReference {
|
||||
language?: string
|
||||
pipeline?: ConnectorIngestPipelineParams
|
||||
service_type: string
|
||||
sync_cursor?: any
|
||||
}
|
||||
|
||||
export type ConnectorSyncJobTriggerMethod = 'on_demand' | 'scheduled'
|
||||
@ -9420,7 +9422,7 @@ export interface ConnectorCheckInResponse {
|
||||
|
||||
export interface ConnectorDeleteRequest extends RequestBase {
|
||||
connector_id: Id
|
||||
delete_sync_jobs: boolean
|
||||
delete_sync_jobs?: boolean
|
||||
}
|
||||
|
||||
export type ConnectorDeleteResponse = AcknowledgedResponseBase
|
||||
@ -9435,17 +9437,18 @@ export interface ConnectorLastSyncRequest extends RequestBase {
|
||||
connector_id: Id
|
||||
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
||||
body?: {
|
||||
last_access_control_sync_error?: SpecUtilsWithNullValue<string>
|
||||
last_access_control_sync_error?: string
|
||||
last_access_control_sync_scheduled_at?: DateTime
|
||||
last_access_control_sync_status?: ConnectorSyncStatus
|
||||
last_deleted_document_count?: long
|
||||
last_incremental_sync_scheduled_at?: DateTime
|
||||
last_indexed_document_count?: long
|
||||
last_seen?: SpecUtilsWithNullValue<DateTime>
|
||||
last_sync_error?: SpecUtilsWithNullValue<string>
|
||||
last_seen?: DateTime
|
||||
last_sync_error?: string
|
||||
last_sync_scheduled_at?: DateTime
|
||||
last_sync_status?: ConnectorSyncStatus
|
||||
last_synced?: DateTime
|
||||
sync_cursor?: any
|
||||
}
|
||||
}
|
||||
|
||||
@ -9471,7 +9474,7 @@ export interface ConnectorPostRequest extends RequestBase {
|
||||
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
||||
body?: {
|
||||
description?: string
|
||||
index_name: SpecUtilsWithNullValue<IndexName>
|
||||
index_name?: IndexName
|
||||
is_native?: boolean
|
||||
language?: string
|
||||
name?: string
|
||||
@ -9480,15 +9483,16 @@ export interface ConnectorPostRequest extends RequestBase {
|
||||
}
|
||||
|
||||
export interface ConnectorPostResponse {
|
||||
result: Result
|
||||
id: Id
|
||||
}
|
||||
|
||||
export interface ConnectorPutRequest extends RequestBase {
|
||||
connector_id: Id
|
||||
connector_id?: Id
|
||||
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
||||
body?: {
|
||||
description?: string
|
||||
index_name: SpecUtilsWithNullValue<IndexName>
|
||||
index_name?: IndexName
|
||||
is_native?: boolean
|
||||
language?: string
|
||||
name?: string
|
||||
@ -9498,6 +9502,7 @@ export interface ConnectorPutRequest extends RequestBase {
|
||||
|
||||
export interface ConnectorPutResponse {
|
||||
result: Result
|
||||
id: Id
|
||||
}
|
||||
|
||||
export interface ConnectorSyncJobCancelRequest extends RequestBase {
|
||||
@ -9525,7 +9530,7 @@ export interface ConnectorSyncJobListRequest extends RequestBase {
|
||||
size?: integer
|
||||
status?: ConnectorSyncStatus
|
||||
connector_id?: Id
|
||||
job_type?: ConnectorSyncJobType[]
|
||||
job_type?: ConnectorSyncJobType | ConnectorSyncJobType[]
|
||||
}
|
||||
|
||||
export interface ConnectorSyncJobListResponse {
|
||||
@ -9558,8 +9563,8 @@ export interface ConnectorUpdateApiKeyIdRequest extends RequestBase {
|
||||
connector_id: Id
|
||||
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
||||
body?: {
|
||||
api_key_id?: SpecUtilsWithNullValue<string>
|
||||
api_key_secret_id?: SpecUtilsWithNullValue<string>
|
||||
api_key_id?: string
|
||||
api_key_secret_id?: string
|
||||
}
|
||||
}
|
||||
|
||||
@ -9634,7 +9639,7 @@ export interface ConnectorUpdateNameRequest extends RequestBase {
|
||||
connector_id: Id
|
||||
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
||||
body?: {
|
||||
name: string
|
||||
name?: string
|
||||
description?: string
|
||||
}
|
||||
}
|
||||
@ -14085,7 +14090,7 @@ export interface MlTrainedModelPrefixStrings {
|
||||
|
||||
export interface MlTrainedModelSizeStats {
|
||||
model_size_bytes: ByteSize
|
||||
required_native_memory_bytes: integer
|
||||
required_native_memory_bytes: ByteSize
|
||||
}
|
||||
|
||||
export interface MlTrainedModelStats {
|
||||
|
||||
Reference in New Issue
Block a user