/*! * Convert JS SDK * Version 1.0.0 * Copyright(c) 2020 Convert Insights, Inc * License Apache-2.0 */ import { FeatureStatus } from '../../enums'; import { RequireAtLeastOne } from './RequireAtLeastOne'; type NotEnabledFeature = RequireAtLeastOne<{ experienceId?: string; experienceKey?: string; experienceName?: string; id?: string; key?: string; name?: string; status: FeatureStatus.DISABLED; variables?: Record; }, 'id' | 'key'>; export type BucketedFeature = { experienceId?: string; experienceKey?: string; experienceName?: string; id?: string; key?: string; name?: string; status: FeatureStatus; variables?: Record; } | NotEnabledFeature; export {};