Skip to content
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

Auto-generated code for 8.15 #2316

Merged
merged 1 commit into from
Jul 29, 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
51 changes: 28 additions & 23 deletions src/api/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
}

Expand All @@ -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>
Expand All @@ -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
}

Expand Down Expand Up @@ -9206,7 +9207,7 @@ export interface ConnectorFilteringAdvancedSnippet {

export interface ConnectorFilteringConfig {
active: ConnectorFilteringRules
domain: string
domain?: string
draft: ConnectorFilteringRules
}

Expand Down Expand Up @@ -9250,7 +9251,7 @@ export interface ConnectorGreaterThanValidation {

export interface ConnectorIncludedInValidation {
type: 'included_in'
constraint: string
constraint: ScalarValue[]
}

export interface ConnectorIngestPipelineParams {
Expand All @@ -9267,7 +9268,7 @@ export interface ConnectorLessThanValidation {

export interface ConnectorListTypeValidation {
type: 'list_type'
constraint: ScalarValue[]
constraint: string
}

export interface ConnectorRegexValidation {
Expand All @@ -9283,7 +9284,7 @@ export interface ConnectorSchedulingConfiguration {

export interface ConnectorSelectOption {
label: string
value: string
value: ScalarValue
}

export interface ConnectorSyncJobConnectorReference {
Expand All @@ -9294,6 +9295,7 @@ export interface ConnectorSyncJobConnectorReference {
language?: string
pipeline?: ConnectorIngestPipelineParams
service_type: string
sync_cursor?: any
}

export type ConnectorSyncJobTriggerMethod = 'on_demand' | 'scheduled'
Expand All @@ -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
Expand All @@ -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 {
Expand All @@ -9365,21 +9368,22 @@ export interface ConnectorListResponse {

export interface ConnectorPostRequest extends RequestBase {
description?: string
index_name: SpecUtilsWithNullValue<IndexName>
index_name?: IndexName
is_native?: boolean
language?: string
name?: string
service_type?: string
}

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
Expand All @@ -9388,6 +9392,7 @@ export interface ConnectorPutRequest extends RequestBase {

export interface ConnectorPutResponse {
result: Result
id: Id
}

export interface ConnectorSyncJobCancelRequest extends RequestBase {
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -9501,7 +9506,7 @@ export interface ConnectorUpdateIndexNameResponse {

export interface ConnectorUpdateNameRequest extends RequestBase {
connector_id: Id
name: string
name?: string
description?: string
}

Expand Down Expand Up @@ -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 {
Expand Down
Loading
Loading