diff --git a/output/schema/schema-serverless.json b/output/schema/schema-serverless.json index 03f0bcf643..6321ce2cd6 100644 --- a/output/schema/schema-serverless.json +++ b/output/schema/schema-serverless.json @@ -105791,19 +105791,6 @@ }, "specLocation": "shutdown/get_node/ShutdownGetNodeResponse.ts#L40-L43" }, - { - "kind": "enum", - "members": [ - { - "name": "field" - } - ], - "name": { - "name": "IgnoredFieldKey", - "namespace": "simulate.ingest" - }, - "specLocation": "simulate/ingest/SimulateIngestResponse.ts#L80-L85" - }, { "kind": "type_alias", "name": { diff --git a/output/schema/schema.json b/output/schema/schema.json index badb1e63ea..2f96cbd5f8 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -207769,19 +207769,6 @@ }, "specLocation": "shutdown/put_node/ShutdownPutNodeResponse.ts#L22-L24" }, - { - "kind": "enum", - "members": [ - { - "name": "field" - } - ], - "name": { - "name": "IgnoredFieldKey", - "namespace": "simulate.ingest" - }, - "specLocation": "simulate/ingest/SimulateIngestResponse.ts#L80-L85" - }, { "kind": "interface", "attachedBehaviors": [ @@ -207911,8 +207898,8 @@ "key": { "kind": "instance_of", "type": { - "name": "IgnoredFieldKey", - "namespace": "simulate.ingest" + "name": "string", + "namespace": "_builtins" } }, "singleKey": false, diff --git a/output/typescript/types.ts b/output/typescript/types.ts index 8e4925c627..d297312f02 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -19459,19 +19459,17 @@ export interface ShutdownPutNodeRequest extends RequestBase { export type ShutdownPutNodeResponse = AcknowledgedResponseBase -export type SimulateIngestIgnoredFieldKey = 'field' - export interface SimulateIngestIngestDocumentSimulationKeys { _id: Id _index: IndexName _source: Record _version: SpecUtilsStringified executed_pipelines: string[] - ignored_fields?: Record[] + ignored_fields?: Record[] error?: ErrorCause } export type SimulateIngestIngestDocumentSimulation = SimulateIngestIngestDocumentSimulationKeys - & { [property: string]: string | Id | IndexName | Record | SpecUtilsStringified | string[] | Record[] | ErrorCause } + & { [property: string]: string | Id | IndexName | Record | SpecUtilsStringified | string[] | Record[] | ErrorCause } export interface SimulateIngestRequest extends RequestBase { index?: IndexName diff --git a/specification/simulate/ingest/SimulateIngestResponse.ts b/specification/simulate/ingest/SimulateIngestResponse.ts index f7250689dd..25af7df7e6 100644 --- a/specification/simulate/ingest/SimulateIngestResponse.ts +++ b/specification/simulate/ingest/SimulateIngestResponse.ts @@ -68,7 +68,7 @@ export class IngestDocumentSimulation * value is larger than the allowed limit would make it through all of the pipelines, but * would not be indexed into Elasticsearch. */ - ignored_fields?: Array> + ignored_fields?: Array> /** * Any error resulting from simulatng ingest on this doc. This can be an error generated by * executing a processor, or a mapping validation error when simulating indexing the resulting @@ -76,10 +76,3 @@ export class IngestDocumentSimulation */ error?: ErrorCause } - -/** - * These are the names of the keys in a Dictionary in the ignored_fields Array. - */ -enum IgnoredFieldKey { - field -}