diff --git a/x-pack/legacy/plugins/reporting/common/constants.ts b/x-pack/legacy/plugins/reporting/common/constants.ts index 03b2d51c7b396..e602d5fc608d3 100644 --- a/x-pack/legacy/plugins/reporting/common/constants.ts +++ b/x-pack/legacy/plugins/reporting/common/constants.ts @@ -56,3 +56,4 @@ export const LICENSE_TYPE_BASIC = 'basic'; export const LICENSE_TYPE_STANDARD = 'standard'; export const LICENSE_TYPE_GOLD = 'gold'; export const LICENSE_TYPE_PLATINUM = 'platinum'; +export const LICENSE_TYPE_ENTERPRISE = 'enterprise'; diff --git a/x-pack/legacy/plugins/reporting/export_types/csv/index.ts b/x-pack/legacy/plugins/reporting/export_types/csv/index.ts index 4f8aeb2be0c99..942cb954785ac 100644 --- a/x-pack/legacy/plugins/reporting/export_types/csv/index.ts +++ b/x-pack/legacy/plugins/reporting/export_types/csv/index.ts @@ -11,6 +11,7 @@ import { LICENSE_TYPE_STANDARD, LICENSE_TYPE_GOLD, LICENSE_TYPE_PLATINUM, + LICENSE_TYPE_ENTERPRISE, } from '../../common/constants'; import { ExportTypeDefinition, ESQueueCreateJobFn, ESQueueWorkerExecuteFn } from '../../types'; import { metadata } from './metadata'; @@ -35,5 +36,6 @@ export const getExportType = (): ExportTypeDefinition< LICENSE_TYPE_STANDARD, LICENSE_TYPE_GOLD, LICENSE_TYPE_PLATINUM, + LICENSE_TYPE_ENTERPRISE, ], }); diff --git a/x-pack/legacy/plugins/reporting/export_types/csv_from_savedobject/index.ts b/x-pack/legacy/plugins/reporting/export_types/csv_from_savedobject/index.ts index 4876cea0b1b28..606630944c604 100644 --- a/x-pack/legacy/plugins/reporting/export_types/csv_from_savedobject/index.ts +++ b/x-pack/legacy/plugins/reporting/export_types/csv_from_savedobject/index.ts @@ -11,6 +11,7 @@ import { LICENSE_TYPE_STANDARD, LICENSE_TYPE_GOLD, LICENSE_TYPE_PLATINUM, + LICENSE_TYPE_ENTERPRISE, } from '../../common/constants'; import { ExportTypeDefinition, ImmediateCreateJobFn, ImmediateExecuteFn } from '../../types'; import { createJobFactory } from './server/create_job'; @@ -42,5 +43,6 @@ export const getExportType = (): ExportTypeDefinition< LICENSE_TYPE_STANDARD, LICENSE_TYPE_GOLD, LICENSE_TYPE_PLATINUM, + LICENSE_TYPE_ENTERPRISE, ], }); diff --git a/x-pack/legacy/plugins/reporting/export_types/png/index.ts b/x-pack/legacy/plugins/reporting/export_types/png/index.ts index bc00bc428f306..b6206a8bf9599 100644 --- a/x-pack/legacy/plugins/reporting/export_types/png/index.ts +++ b/x-pack/legacy/plugins/reporting/export_types/png/index.ts @@ -10,6 +10,7 @@ import { LICENSE_TYPE_STANDARD, LICENSE_TYPE_GOLD, LICENSE_TYPE_PLATINUM, + LICENSE_TYPE_ENTERPRISE, } from '../../common/constants'; import { ExportTypeDefinition, ESQueueCreateJobFn, ESQueueWorkerExecuteFn } from '../../types'; import { createJobFactory } from './server/create_job'; @@ -34,5 +35,6 @@ export const getExportType = (): ExportTypeDefinition< LICENSE_TYPE_STANDARD, LICENSE_TYPE_GOLD, LICENSE_TYPE_PLATINUM, + LICENSE_TYPE_ENTERPRISE, ], }); diff --git a/x-pack/legacy/plugins/reporting/export_types/printable_pdf/index.ts b/x-pack/legacy/plugins/reporting/export_types/printable_pdf/index.ts index 99880c1237a7a..b7b71ff5c5741 100644 --- a/x-pack/legacy/plugins/reporting/export_types/printable_pdf/index.ts +++ b/x-pack/legacy/plugins/reporting/export_types/printable_pdf/index.ts @@ -10,6 +10,7 @@ import { LICENSE_TYPE_STANDARD, LICENSE_TYPE_GOLD, LICENSE_TYPE_PLATINUM, + LICENSE_TYPE_ENTERPRISE, } from '../../common/constants'; import { ExportTypeDefinition, ESQueueCreateJobFn, ESQueueWorkerExecuteFn } from '../../types'; import { createJobFactory } from './server/create_job'; @@ -34,5 +35,6 @@ export const getExportType = (): ExportTypeDefinition< LICENSE_TYPE_STANDARD, LICENSE_TYPE_GOLD, LICENSE_TYPE_PLATINUM, + LICENSE_TYPE_ENTERPRISE, ], });