diff --git a/api/api/get.js b/api/api/get.js index 6493cd59a..35e1a5c90 100644 --- a/api/api/get.js +++ b/api/api/get.js @@ -75,8 +75,6 @@ function buildGet (opts) { _sourceExclude: '_source_exclude', _sourceIncludes: '_source_includes', _sourceInclude: '_source_include', - _sourceExclude: '_source_exclude', - _sourceInclude: '_source_include', versionType: 'version_type', errorTrace: 'error_trace', filterPath: 'filter_path' diff --git a/api/requestParams.d.ts b/api/requestParams.d.ts index b45c4c0b8..4453b39c6 100644 --- a/api/requestParams.d.ts +++ b/api/requestParams.d.ts @@ -518,8 +518,6 @@ export interface Get extends Generic { _source?: string | string[]; _source_excludes?: string | string[]; _source_includes?: string | string[]; - _source_exclude?: string | string[]; - _source_include?: string | string[]; version?: number; version_type?: 'internal' | 'external' | 'external_gte' | 'force'; }