diff --git a/output/schema/schema-serverless.json b/output/schema/schema-serverless.json index ee567bbcde..0cf8604aaa 100644 --- a/output/schema/schema-serverless.json +++ b/output/schema/schema-serverless.json @@ -105732,19 +105732,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 60dd6b5651..112d1a66ff 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -207926,19 +207926,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": [ @@ -208068,8 +208055,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 4aa06f3bca..8a9483cca6 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -19461,19 +19461,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 -}