@voiceflow/base-types
Version:
Voiceflow base project types
93 lines • 4.55 kB
TypeScript
import type * as _v1 from './_v1.js';
import type * as AICapture from './aiCapture.js';
import type * as AIResponse from './aiResponse.js';
import type * as AISet from './aiSet.js';
import type * as Api from './api.js';
import type * as ChannelAction from './channelAction.js';
import type * as Code from './code.js';
import type * as Component from './component.js';
import type * as CustomBlockPointer from './customBlockPointer.js';
import type * as Exit from './exit.js';
import type * as Flow from './flow.js';
import type * as General from './general.js';
import type * as GoogleSheets from './googleSheets.js';
import type * as GoTo from './goTo.js';
import type * as GoToDomain from './goToDomain.js';
import type * as GoToNode from './goToNode.js';
import type * as If from './if.js';
import type * as IfV2 from './ifV2.js';
import type * as Integration from './integration.js';
import type * as Intent from './jump.js';
import type * as Command from './push.js';
import type * as Random from './random.js';
import type * as RandomV2 from './randomV2.js';
import type * as Set from './set.js';
import type * as SetV2 from './setV2.js';
import type * as Start from './start.js';
import type * as Url from './url.js';
import type { BaseNode, NodeNextID } from './utils/index.js';
import type * as Zapier from './zapier.js';
export * as _v1 from './_v1.js';
export * as AICapture from './aiCapture.js';
export * as AIResponse from './aiResponse.js';
export * as AISet from './aiSet.js';
export * as Api from './api.js';
export * as Buttons from './buttons.js';
export * as Capture from './capture.js';
export * as CaptureV2 from './captureV2.js';
export * as Card from './card.js';
export * as CardV2 from './cardV2.js';
export * as Carousel from './carousel.js';
export * as ChannelAction from './channelAction.js';
export * as Code from './code.js';
export * as Component from './component.js';
export * from './constants.js';
export * as CustomBlockPointer from './customBlockPointer.js';
export * as Directive from './directive.js';
export * as Exit from './exit.js';
export * as Flow from './flow.js';
export * as General from './general.js';
export * as GoogleSheets from './googleSheets.js';
export * as GoTo from './goTo.js';
export * as GoToDomain from './goToDomain.js';
export * as GoToNode from './goToNode.js';
export * as If from './if.js';
export * as IfV2 from './ifV2.js';
export * as Integration from './integration.js';
export * as Interaction from './interaction.js';
export * as Intent from './jump.js';
export * as Prompt from './prompt.js';
export * as Command from './push.js';
export * as Random from './random.js';
export * as RandomV2 from './randomV2.js';
export * as Set from './set.js';
export * as SetV2 from './setV2.js';
export * as Speak from './speak.js';
export * as Start from './start.js';
export * as Stream from './stream.js';
export * as Text from './text.js';
export * as Url from './url.js';
export * as Utils from './utils/index.js';
export * as Visual from './visual.js';
export * as Zapier from './zapier.js';
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