UNPKG

@voiceflow/alexa-types

Version:
28 lines 1.2 kB
import { Voice } from '../constants'; import type { AnyCommand } from '../node'; import type { BaseModels, DeepPartialByKey } from '@voiceflow/base-types'; import { VoiceVersion } from '@voiceflow/voice-types'; import type { VoiceflowConstants } from '@voiceflow/voiceflow-types'; import type { AlexaSurveyContextExtension } from './prototype'; import type { Publishing } from './publishing'; import type { Settings } from './settings'; export * from './prototype'; export * from './publishing'; export * from './settings'; export declare enum Stage { DEV = "DEV", LIVE = "LIVE", REVIEW = "REVIEW" } export interface PlatformData extends VoiceVersion.PlatformData<Voice> { status: { stage: Stage; }; settings: Settings; publishing: Publishing; } export interface Version extends VoiceVersion.Version<Voice, BaseModels.Version.Prototype<AnyCommand, VoiceflowConstants.Locale, AlexaSurveyContextExtension>> { platformData: PlatformData; } export declare const defaultPlatformData: ({ status: { stage }, settings, publishing, ...generalVersionData }: DeepPartialByKey<PlatformData, 'publishing' | 'settings'>) => PlatformData; //# sourceMappingURL=index.d.ts.map