UNPKG

@voiceflow/base-types

Version:

Voiceflow base project types

93 lines 4.32 kB
import type * as _v1 from './_v1'; import type * as AICapture from './aiCapture'; import type * as AIResponse from './aiResponse'; import type * as AISet from './aiSet'; import type * as Api from './api'; import type * as ChannelAction from './channelAction'; import type * as Code from './code'; import type * as Component from './component'; import type * as CustomBlockPointer from './customBlockPointer'; import type * as Exit from './exit'; import type * as Flow from './flow'; import type * as General from './general'; import type * as GoogleSheets from './googleSheets'; import type * as GoTo from './goTo'; import type * as GoToDomain from './goToDomain'; import type * as GoToNode from './goToNode'; import type * as If from './if'; import type * as IfV2 from './ifV2'; import type * as Integration from './integration'; import type * as Intent from './jump'; import type * as Command from './push'; import type * as Random from './random'; import type * as RandomV2 from './randomV2'; import type * as Set from './set'; import type * as SetV2 from './setV2'; import type * as Start from './start'; import type * as Url from './url'; import type { BaseNode, NodeNextID } from './utils'; import type * as Zapier from './zapier'; export * as _v1 from './_v1'; export * as AICapture from './aiCapture'; export * as AIResponse from './aiResponse'; export * as AISet from './aiSet'; export * as Api from './api'; export * as Buttons from './buttons'; export * as Capture from './capture'; export * as CaptureV2 from './captureV2'; export * as Card from './card'; export * as CardV2 from './cardV2'; export * as Carousel from './carousel'; export * as ChannelAction from './channelAction'; export * as Code from './code'; export * as Component from './component'; export * from './constants'; export * as CustomBlockPointer from './customBlockPointer'; export * as Directive from './directive'; export * as Exit from './exit'; export * as Flow from './flow'; export * as General from './general'; export * as GoogleSheets from './googleSheets'; export * as GoTo from './goTo'; export * as GoToDomain from './goToDomain'; export * as GoToNode from './goToNode'; export * as If from './if'; export * as IfV2 from './ifV2'; export * as Integration from './integration'; export * as Interaction from './interaction'; export * as Intent from './jump'; export * as Prompt from './prompt'; export * as Command from './push'; export * as Random from './random'; export * as RandomV2 from './randomV2'; export * as Set from './set'; export * as SetV2 from './setV2'; export * as Speak from './speak'; export * as Start from './start'; export * as Stream from './stream'; export * as Text from './text'; export * as Url from './url'; export * as Utils from './utils'; export * as Visual from './visual'; export * as Zapier from './zapier'; export interface NextOnlyNode extends BaseNode, NodeNextID { type: '_next'; } /** * Steps are the "uncompiled" nodes of a Voiceflow diagram. These are stored inside * a `diagram` document. * * The frontend is aware of these types and uses adapters to transform them into their * equivalent frontend types. */ export type AnyCommonStep = Set.Step | SetV2.Step | Flow.Step | Component.Step | Start.Step | Code.Step | Intent.Step | Command.Step | Api.Step | Exit.Step | Random.Step | RandomV2.Step | Zapier.Step | GoogleSheets.Step | If.Step | IfV2.Step | General.Step | GoTo.Step | GoToNode.Step | GoToDomain.Step | Url.Step | ChannelAction.Step | CustomBlockPointer.Step | AIResponse.Step | AISet.Step | AICapture.Step | _v1.Step; /** * Nodes are the "compiled" nodes of a Voiceflow diagram. These are stored inside a * `program` or `prototype-program` document. * * The frontend is not aware of these types. They send requests for compilation and the * backend entirely manages the compilation and execution of `program` and `prototype-program`s. */ export type AnyCommonNode = Set.Node | SetV2.Node | Flow.Node | Start.Node | Code.Node | Integration.Node | Exit.Node | Random.Node | RandomV2.Node | General.Node | If.Node | IfV2.Node | GoTo.Node | Url.Node | GoToNode.Node | NextOnlyNode | ChannelAction.Node | AIResponse.Node | AISet.Node | AICapture.Node | _v1.Node; export type AnyCommonCommand = Intent.Command | Command.Command; //# sourceMappingURL=index.d.ts.map