@voiceflow/alexa-types
Version:
Alexa service types
28 lines • 1.24 kB
TypeScript
import { Voice } from '../constants/index.js';
import type { AnyCommand } from '../node/index.js';
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.js';
import type { Publishing } from './publishing.js';
import type { Settings } from './settings.js';
export * from './prototype.js';
export * from './publishing.js';
export * from './settings.js';
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