UNPKG

@voiceflow/google-types

Version:
21 lines 1.22 kB
import type { DeepPartialByKey } from '@voiceflow/base-types'; import { ChatVersion } from '@voiceflow/chat-types'; import type { BasePrototype, SharedBasePlatformData } from '../base/index.js'; import type { ChatPublishing, SharedChatPublishing } from './publishing.js'; import type { ChatSettings, SharedChatSettings } from './settings.js'; export * from './publishing.js'; export * from './settings.js'; export interface SharedChatPlatformData extends ChatVersion.PlatformData, SharedBasePlatformData { settings: SharedChatSettings; publishing: SharedChatPublishing; } export interface ChatPlatformData extends SharedChatPlatformData { settings: ChatSettings; publishing: ChatPublishing; } export interface ChatVersion extends ChatVersion.Version<BasePrototype> { platformData: ChatPlatformData; } export declare const defaultSharedChatPlatformData: ({ settings, publishing, ...platformData }: DeepPartialByKey<SharedChatPlatformData, 'settings' | 'publishing'>) => SharedChatPlatformData; export declare const defaultChatPlatformData: ({ settings, publishing, ...platformData }: DeepPartialByKey<ChatPlatformData, 'settings' | 'publishing'>) => ChatPlatformData; //# sourceMappingURL=index.d.ts.map