@voiceflow/base-types 2.99.3 → 2.100.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/models/project/knowledgeBase.d.ts +1 -1
- package/build/cjs/models/refreshJob.d.ts +2 -0
- package/build/cjs/node/aiCapture.d.ts +1 -1
- package/build/cjs/node/captureV2.d.ts +1 -1
- package/build/cjs/node/cardV2.d.ts +2 -2
- package/build/cjs/node/carousel.d.ts +2 -2
- package/build/cjs/node/goTo.d.ts +1 -1
- package/build/cjs/node/interaction.d.ts +1 -1
- package/build/cjs/node/stream.d.ts +1 -1
- package/build/cjs/node/stream.js.map +1 -1
- package/build/cjs/node/text.d.ts +1 -1
- package/build/cjs/node/utils/base.d.ts +1 -1
- package/build/cjs/node/utils/mappings.d.ts +1 -1
- package/build/cjs/package.json +1 -0
- package/build/cjs/project/index.d.ts +1 -1
- package/build/cjs/runtimeLogs/logs/kinds.d.ts +1 -1
- package/build/cjs/runtimeLogs/logs/kinds.js.map +1 -1
- package/build/cjs/runtimeLogs/logs/steps/api.d.ts +2 -2
- package/build/cjs/runtimeLogs/logs/steps/capture.d.ts +1 -1
- package/build/cjs/runtimeLogs/logs/steps/code.d.ts +1 -1
- package/build/cjs/runtimeLogs/logs/steps/exit.d.ts +1 -1
- package/build/cjs/runtimeLogs/logs/steps/flow.d.ts +1 -1
- package/build/cjs/runtimeLogs/logs/steps/intent.d.ts +1 -1
- package/build/cjs/runtimeLogs/logs/steps/set.d.ts +1 -1
- package/build/cjs/runtimeLogs/logs/steps/speak.d.ts +1 -1
- package/build/cjs/runtimeLogs/logs/steps/start.d.ts +1 -1
- package/build/cjs/runtimeLogs/logs/steps/text.d.ts +2 -2
- package/build/cjs/trace/index.d.ts +31 -31
- package/build/cjs/trace/index.js.map +1 -1
- package/build/cjs/utils/node.d.ts +2 -2
- package/build/cjs/utils/node.js.map +1 -1
- package/build/cjs/utils/nodeType.d.ts +1 -1
- package/build/cjs/utils/nodeType.js.map +1 -1
- package/build/cjs/utils/step.d.ts +2 -2
- package/build/cjs/utils/step.js.map +1 -1
- package/build/cjs/version/index.d.ts +2 -2
- package/build/cjs/version/settings.d.ts +2 -2
- package/build/esm/index.d.ts +21 -21
- package/build/esm/index.js +21 -21
- package/build/esm/models/base/command.d.ts +1 -1
- package/build/esm/models/base/index.d.ts +9 -9
- package/build/esm/models/base/index.js +9 -9
- package/build/esm/models/base/link.d.ts +1 -1
- package/build/esm/models/base/node.d.ts +1 -1
- package/build/esm/models/base/prototype.d.ts +2 -2
- package/build/esm/models/base/slot.d.ts +1 -1
- package/build/esm/models/diagram.d.ts +1 -1
- package/build/esm/models/index.d.ts +10 -10
- package/build/esm/models/index.js +10 -10
- package/build/esm/models/program.d.ts +1 -1
- package/build/esm/models/project/index.d.ts +10 -10
- package/build/esm/models/project/index.js +5 -5
- package/build/esm/models/project/knowledgeBase.d.ts +1 -1
- package/build/esm/models/project/prototype.d.ts +1 -1
- package/build/esm/models/refreshJob.d.ts +3 -1
- package/build/esm/models/version/index.d.ts +11 -11
- package/build/esm/models/version/index.js +4 -4
- package/build/esm/models/version/prototype.d.ts +1 -1
- package/build/esm/node/_v1.d.ts +1 -1
- package/build/esm/node/aiCapture.d.ts +4 -4
- package/build/esm/node/aiResponse.d.ts +3 -3
- package/build/esm/node/aiSet.d.ts +3 -3
- package/build/esm/node/api.d.ts +2 -2
- package/build/esm/node/buttons.d.ts +3 -3
- package/build/esm/node/capture.d.ts +2 -2
- package/build/esm/node/captureV2.d.ts +3 -3
- package/build/esm/node/card.d.ts +2 -2
- package/build/esm/node/cardV2.d.ts +4 -4
- package/build/esm/node/carousel.d.ts +4 -4
- package/build/esm/node/channelAction.d.ts +2 -2
- package/build/esm/node/code.d.ts +2 -2
- package/build/esm/node/component.d.ts +4 -4
- package/build/esm/node/customBlockPointer.d.ts +2 -2
- package/build/esm/node/directive.d.ts +2 -2
- package/build/esm/node/exit.d.ts +2 -2
- package/build/esm/node/flow.d.ts +2 -2
- package/build/esm/node/general.d.ts +2 -2
- package/build/esm/node/goTo.d.ts +3 -3
- package/build/esm/node/goToDomain.d.ts +2 -2
- package/build/esm/node/goToNode.d.ts +2 -2
- package/build/esm/node/googleSheets.d.ts +2 -2
- package/build/esm/node/if.d.ts +2 -2
- package/build/esm/node/ifV2.d.ts +3 -3
- package/build/esm/node/index.d.ts +72 -72
- package/build/esm/node/index.js +43 -43
- package/build/esm/node/integration.d.ts +5 -5
- package/build/esm/node/interaction.d.ts +3 -3
- package/build/esm/node/jump.d.ts +2 -2
- package/build/esm/node/knowledgeBase.d.ts +1 -1
- package/build/esm/node/prompt.d.ts +2 -2
- package/build/esm/node/push.d.ts +2 -2
- package/build/esm/node/random.d.ts +2 -2
- package/build/esm/node/randomV2.d.ts +2 -2
- package/build/esm/node/set.d.ts +2 -2
- package/build/esm/node/setV2.d.ts +2 -2
- package/build/esm/node/speak.d.ts +2 -2
- package/build/esm/node/start.d.ts +2 -2
- package/build/esm/node/stream.d.ts +3 -3
- package/build/esm/node/stream.js +1 -1
- package/build/esm/node/stream.js.map +1 -1
- package/build/esm/node/text.d.ts +3 -3
- package/build/esm/node/url.d.ts +2 -2
- package/build/esm/node/utils/base.d.ts +1 -1
- package/build/esm/node/utils/command.d.ts +2 -2
- package/build/esm/node/utils/event.d.ts +1 -1
- package/build/esm/node/utils/index.d.ts +11 -11
- package/build/esm/node/utils/index.js +11 -11
- package/build/esm/node/utils/mappings.d.ts +1 -1
- package/build/esm/node/utils/noMatch.d.ts +1 -1
- package/build/esm/node/utils/noReply.d.ts +1 -1
- package/build/esm/node/utils/trace.d.ts +1 -1
- package/build/esm/node/visual.d.ts +2 -2
- package/build/esm/node/zapier.d.ts +2 -2
- package/build/esm/package.json +1 -0
- package/build/esm/project/index.d.ts +1 -1
- package/build/esm/request/index.d.ts +3 -3
- package/build/esm/request/index.js +1 -1
- package/build/esm/runtimeLogs/index.d.ts +3 -3
- package/build/esm/runtimeLogs/index.js +3 -3
- package/build/esm/runtimeLogs/logs/base.d.ts +3 -3
- package/build/esm/runtimeLogs/logs/global/conversationStart.d.ts +2 -2
- package/build/esm/runtimeLogs/logs/global/nluIntentResolved.d.ts +2 -2
- package/build/esm/runtimeLogs/logs/index.d.ts +3 -3
- package/build/esm/runtimeLogs/logs/index.js +3 -3
- package/build/esm/runtimeLogs/logs/kinds.d.ts +1 -1
- package/build/esm/runtimeLogs/logs/kinds.js +1 -1
- package/build/esm/runtimeLogs/logs/kinds.js.map +1 -1
- package/build/esm/runtimeLogs/logs/logs.d.ts +16 -16
- package/build/esm/runtimeLogs/logs/steps/api.d.ts +5 -5
- package/build/esm/runtimeLogs/logs/steps/buttons.d.ts +3 -3
- package/build/esm/runtimeLogs/logs/steps/capture.d.ts +3 -3
- package/build/esm/runtimeLogs/logs/steps/code.d.ts +4 -4
- package/build/esm/runtimeLogs/logs/steps/condition.d.ts +3 -3
- package/build/esm/runtimeLogs/logs/steps/customAction.d.ts +3 -3
- package/build/esm/runtimeLogs/logs/steps/exit.d.ts +4 -4
- package/build/esm/runtimeLogs/logs/steps/flow.d.ts +3 -3
- package/build/esm/runtimeLogs/logs/steps/intent.d.ts +3 -3
- package/build/esm/runtimeLogs/logs/steps/random.d.ts +3 -3
- package/build/esm/runtimeLogs/logs/steps/set.d.ts +3 -3
- package/build/esm/runtimeLogs/logs/steps/speak.d.ts +3 -3
- package/build/esm/runtimeLogs/logs/steps/start.d.ts +3 -3
- package/build/esm/runtimeLogs/logs/steps/text.d.ts +4 -4
- package/build/esm/runtimeLogs/runtime/index.d.ts +1 -1
- package/build/esm/runtimeLogs/runtime/index.js +1 -1
- package/build/esm/runtimeLogs/runtime/logBuffer.d.ts +1 -1
- package/build/esm/runtimeLogs/utils/index.d.ts +2 -2
- package/build/esm/runtimeLogs/utils/index.js +2 -2
- package/build/esm/runtimeLogs/utils/logs.d.ts +1 -1
- package/build/esm/runtimeLogs/utils/logs.js +1 -1
- package/build/esm/runtimeLogs/utils/types.d.ts +1 -1
- package/build/esm/trace/index.d.ts +31 -31
- package/build/esm/trace/index.js +1 -1
- package/build/esm/trace/index.js.map +1 -1
- package/build/esm/utils/index.d.ts +4 -4
- package/build/esm/utils/index.js +4 -4
- package/build/esm/utils/node.d.ts +2 -2
- package/build/esm/utils/node.js +1 -1
- package/build/esm/utils/node.js.map +1 -1
- package/build/esm/utils/nodeType.d.ts +1 -1
- package/build/esm/utils/nodeType.js +1 -1
- package/build/esm/utils/nodeType.js.map +1 -1
- package/build/esm/utils/step.d.ts +2 -2
- package/build/esm/utils/step.js +1 -1
- package/build/esm/utils/step.js.map +1 -1
- package/build/esm/version/index.d.ts +7 -7
- package/build/esm/version/index.js +4 -4
- package/build/esm/version/settings.d.ts +3 -3
- package/build/tsconfig.build.tsbuildinfo +1 -1
- package/build/tsconfig.esm.tsbuildinfo +1 -1
- package/package.json +12 -11
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export * as ApiKey from './apiKey';
|
|
2
|
-
export * from './base';
|
|
3
|
-
export * as Diagram from './diagram';
|
|
4
|
-
export * as Program from './program';
|
|
5
|
-
export * as Project from './project';
|
|
6
|
-
export * as ProjectSecret from './projectSecret';
|
|
7
|
-
export * as RefreshJob from './refreshJob';
|
|
8
|
-
export * as Transcript from './transcripts';
|
|
9
|
-
export * as VariableState from './variableState';
|
|
10
|
-
export * as Version from './version';
|
|
1
|
+
export * as ApiKey from './apiKey.js';
|
|
2
|
+
export * from './base/index.js';
|
|
3
|
+
export * as Diagram from './diagram.js';
|
|
4
|
+
export * as Program from './program.js';
|
|
5
|
+
export * as Project from './project/index.js';
|
|
6
|
+
export * as ProjectSecret from './projectSecret.js';
|
|
7
|
+
export * as RefreshJob from './refreshJob.js';
|
|
8
|
+
export * as Transcript from './transcripts.js';
|
|
9
|
+
export * as VariableState from './variableState.js';
|
|
10
|
+
export * as Version from './version/index.js';
|
|
11
11
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { AnyRecord } from '@voiceflow/common';
|
|
2
|
-
import { LinkType } from '../base/link';
|
|
3
|
-
import { KnowledgeBase } from './knowledgeBase';
|
|
4
|
-
import { Member } from './member';
|
|
5
|
-
import { Prototype } from './prototype';
|
|
6
|
-
import { Themes } from './theme';
|
|
7
|
-
export { LinkType } from '../base/link';
|
|
8
|
-
export * from './knowledgeBase';
|
|
9
|
-
export * from './member';
|
|
10
|
-
export * from './prototype';
|
|
11
|
-
export * from './theme';
|
|
2
|
+
import { LinkType } from '../base/link.js';
|
|
3
|
+
import { KnowledgeBase } from './knowledgeBase.js';
|
|
4
|
+
import { Member } from './member.js';
|
|
5
|
+
import { Prototype } from './prototype.js';
|
|
6
|
+
import { Themes } from './theme.js';
|
|
7
|
+
export { LinkType } from '../base/link.js';
|
|
8
|
+
export * from './knowledgeBase.js';
|
|
9
|
+
export * from './member.js';
|
|
10
|
+
export * from './prototype.js';
|
|
11
|
+
export * from './theme.js';
|
|
12
12
|
export declare enum Privacy {
|
|
13
13
|
PUBLIC = "public",
|
|
14
14
|
PRIVATE = "private"
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { LinkType } from '../base/link';
|
|
2
|
-
export * from './knowledgeBase';
|
|
3
|
-
export * from './member';
|
|
4
|
-
export * from './prototype';
|
|
5
|
-
export * from './theme';
|
|
1
|
+
export { LinkType } from '../base/link.js';
|
|
2
|
+
export * from './knowledgeBase.js';
|
|
3
|
+
export * from './member.js';
|
|
4
|
+
export * from './prototype.js';
|
|
5
|
+
export * from './theme.js';
|
|
6
6
|
export var Privacy;
|
|
7
7
|
(function (Privacy) {
|
|
8
8
|
Privacy["PUBLIC"] = "public";
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import { KnowledgeBaseDocumentRefreshRate } from './project/knowledgeBase';
|
|
1
|
+
import { KnowledgeBaseDocumentRefreshRate } from './project/knowledgeBase.js';
|
|
2
2
|
export interface Model {
|
|
3
3
|
_id: string;
|
|
4
4
|
projectID: string;
|
|
5
5
|
documentID: string;
|
|
6
6
|
workspaceID: number;
|
|
7
7
|
url: string;
|
|
8
|
+
name: string;
|
|
8
9
|
refreshRate: KnowledgeBaseDocumentRefreshRate;
|
|
9
10
|
executeAt: Date;
|
|
10
11
|
checksum?: string | null;
|
|
12
|
+
tags?: string[];
|
|
11
13
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { AnyRecord } from '@voiceflow/common';
|
|
2
|
-
import { NodeType } from '../../node/constants';
|
|
3
|
-
import { BaseCommand, BaseNote, Intent, Slot, Variable } from '../base';
|
|
4
|
-
import { KnowledgeBase } from '../project/knowledgeBase';
|
|
5
|
-
import { CanvasTemplate } from './canvasTemplate';
|
|
6
|
-
import { Domain } from './domain';
|
|
7
|
-
import { NLUUnclassifiedData } from './nluUnclassifiedData';
|
|
8
|
-
import { Prototype } from './prototype';
|
|
9
|
-
export * from './canvasTemplate';
|
|
10
|
-
export * from './domain';
|
|
11
|
-
export * from './nluUnclassifiedData';
|
|
12
|
-
export * from './prototype';
|
|
2
|
+
import { NodeType } from '../../node/constants.js';
|
|
3
|
+
import { BaseCommand, BaseNote, Intent, Slot, Variable } from '../base/index.js';
|
|
4
|
+
import { KnowledgeBase } from '../project/knowledgeBase.js';
|
|
5
|
+
import { CanvasTemplate } from './canvasTemplate.js';
|
|
6
|
+
import { Domain } from './domain.js';
|
|
7
|
+
import { NLUUnclassifiedData } from './nluUnclassifiedData.js';
|
|
8
|
+
import { Prototype } from './prototype.js';
|
|
9
|
+
export * from './canvasTemplate.js';
|
|
10
|
+
export * from './domain.js';
|
|
11
|
+
export * from './nluUnclassifiedData.js';
|
|
12
|
+
export * from './prototype.js';
|
|
13
13
|
export interface PrototypeVariableState {
|
|
14
14
|
id: string;
|
|
15
15
|
name: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export * from './canvasTemplate';
|
|
2
|
-
export * from './domain';
|
|
3
|
-
export * from './nluUnclassifiedData';
|
|
4
|
-
export * from './prototype';
|
|
1
|
+
export * from './canvasTemplate.js';
|
|
2
|
+
export * from './domain.js';
|
|
3
|
+
export * from './nluUnclassifiedData.js';
|
|
4
|
+
export * from './prototype.js';
|
|
5
5
|
export var FolderItemType;
|
|
6
6
|
(function (FolderItemType) {
|
|
7
7
|
FolderItemType["FOLDER"] = "FOLDER";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AnyRecord, Nullable } from '@voiceflow/common';
|
|
2
|
-
import { BaseCommand, Intent, PrototypeModel, Slot } from '../base';
|
|
2
|
+
import { BaseCommand, Intent, PrototypeModel, Slot } from '../base/index.js';
|
|
3
3
|
export interface PrototypeStackFrame<Command extends BaseCommand = BaseCommand> {
|
|
4
4
|
nodeID?: Nullable<string>;
|
|
5
5
|
diagramID: string;
|
package/build/esm/node/_v1.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Nullable } from '@voiceflow/common';
|
|
2
|
-
import { BaseEvent, BaseNode, BasePort, BasePortList, BaseStep, BaseStepPorts, NodeID } from './utils';
|
|
2
|
+
import { BaseEvent, BaseNode, BasePort, BasePortList, BaseStep, BaseStepPorts, NodeID } from './utils/index.js';
|
|
3
3
|
export declare const _V1_STOP_TYPES = "stopTypes";
|
|
4
4
|
export interface StepData<Payload = unknown> {
|
|
5
5
|
_v: 1;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { BaseStepPorts } from
|
|
2
|
-
import { AIModelParams } from '../utils/ai';
|
|
3
|
-
import { NodeType } from './constants';
|
|
4
|
-
import { BaseNode, BaseNoMatchNodeData, BaseNoReplyNodeData, BaseStep, BuiltInNextPort, BuiltInNoMatchNoReplyPorts, NodeIntentScope, NodeNextID } from './utils';
|
|
1
|
+
import { BaseStepPorts } from '../models/index.js';
|
|
2
|
+
import { AIModelParams } from '../utils/ai.js';
|
|
3
|
+
import { NodeType } from './constants.js';
|
|
4
|
+
import { BaseNode, BaseNoMatchNodeData, BaseNoReplyNodeData, BaseStep, BuiltInNextPort, BuiltInNoMatchNoReplyPorts, NodeIntentScope, NodeNextID } from './utils/index.js';
|
|
5
5
|
export interface StepData extends AIModelParams {
|
|
6
6
|
rules: string[];
|
|
7
7
|
entities: string[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AIKnowledgeContextParams, AIKnowledgeParams, AIModelParams } from '../utils/ai';
|
|
2
|
-
import { NodeType } from './constants';
|
|
3
|
-
import { BaseNode, BaseStep, BaseStepPorts, BuiltInFailPort, BuiltInNextPort, NodeElseID, NodeNextID } from './utils';
|
|
1
|
+
import { AIKnowledgeContextParams, AIKnowledgeParams, AIModelParams } from '../utils/ai.js';
|
|
2
|
+
import { NodeType } from './constants.js';
|
|
3
|
+
import { BaseNode, BaseStep, BaseStepPorts, BuiltInFailPort, BuiltInNextPort, NodeElseID, NodeNextID } from './utils/index.js';
|
|
4
4
|
export interface StepData extends AIModelParams, AIKnowledgeContextParams, AIKnowledgeParams {
|
|
5
5
|
notFoundPath?: boolean;
|
|
6
6
|
overrideParams?: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AIKnowledgeContextParams, AIKnowledgeParams, AIModelParams } from '../utils/ai';
|
|
2
|
-
import { NodeType } from './constants';
|
|
3
|
-
import { BaseNode, BaseStep, NodeNextID } from './utils';
|
|
1
|
+
import { AIKnowledgeContextParams, AIKnowledgeParams, AIModelParams } from '../utils/ai.js';
|
|
2
|
+
import { NodeType } from './constants.js';
|
|
3
|
+
import { BaseNode, BaseStep, NodeNextID } from './utils/index.js';
|
|
4
4
|
export interface Set extends AIKnowledgeContextParams {
|
|
5
5
|
variable: string | null;
|
|
6
6
|
}
|
package/build/esm/node/api.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AnyRecord, Nullable } from '@voiceflow/common';
|
|
2
|
-
import { NodeType } from './constants';
|
|
3
|
-
import { BaseStep, IntegrationType, NodeSuccessFailID, SuccessFailStepPorts } from './utils';
|
|
2
|
+
import { NodeType } from './constants.js';
|
|
3
|
+
import { BaseStep, IntegrationType, NodeSuccessFailID, SuccessFailStepPorts } from './utils/index.js';
|
|
4
4
|
export interface APIKeyVal {
|
|
5
5
|
key: string;
|
|
6
6
|
val: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Nullable } from '@voiceflow/common';
|
|
2
|
-
import { StepButtonsLayout } from '../button';
|
|
3
|
-
import { NodeType } from './constants';
|
|
4
|
-
import { BaseNoMatchStepData, BaseNoReplyStepData, BaseStep, BaseStepNoMatch, DataID, NoMatchNoReplyStepPorts, StepIntentScope } from './utils';
|
|
2
|
+
import { StepButtonsLayout } from '../button/index.js';
|
|
3
|
+
import { NodeType } from './constants.js';
|
|
4
|
+
import { BaseNoMatchStepData, BaseNoReplyStepData, BaseStep, BaseStepNoMatch, DataID, NoMatchNoReplyStepPorts, StepIntentScope } from './utils/index.js';
|
|
5
5
|
/**
|
|
6
6
|
* @deprecated use `actions` instead
|
|
7
7
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Nullable } from '@voiceflow/common';
|
|
2
|
-
import { NodeType } from './constants';
|
|
3
|
-
import { BaseNode, BaseNoReplyNodeData, BaseNoReplyStepData, BaseStep, BaseStepPorts, BuiltInNextPort, BuiltInNoReplyPort, NodeNextID } from './utils';
|
|
2
|
+
import { NodeType } from './constants.js';
|
|
3
|
+
import { BaseNode, BaseNoReplyNodeData, BaseNoReplyStepData, BaseStep, BaseStepPorts, BuiltInNextPort, BuiltInNoReplyPort, NodeNextID } from './utils/index.js';
|
|
4
4
|
/** @deprecated */
|
|
5
5
|
export interface StepData extends BaseNoReplyStepData {
|
|
6
6
|
slot: Nullable<string>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Intent } from
|
|
1
|
+
import { Intent } from '../models/index.js';
|
|
2
2
|
import { Nullable } from '@voiceflow/common';
|
|
3
|
-
import { NodeType } from './constants';
|
|
4
|
-
import { BaseNode, BaseNoMatchNodeData, BaseNoMatchStepData, BaseNoReplyNodeData, BaseNoReplyStepData, BaseStep, BaseStepPorts, BuiltInNextPort, BuiltInNoMatchNoReplyPorts, NodeIntentScope, NodeNextID, StepIntentScope } from './utils';
|
|
3
|
+
import { NodeType } from './constants.js';
|
|
4
|
+
import { BaseNode, BaseNoMatchNodeData, BaseNoMatchStepData, BaseNoReplyNodeData, BaseNoReplyStepData, BaseStep, BaseStepPorts, BuiltInNextPort, BuiltInNoMatchNoReplyPorts, NodeIntentScope, NodeNextID, StepIntentScope } from './utils/index.js';
|
|
5
5
|
export declare enum CaptureType {
|
|
6
6
|
INTENT = "intent",
|
|
7
7
|
QUERY = "query"
|
package/build/esm/node/card.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { NodeType } from './constants';
|
|
2
|
-
import { BaseNode, BaseStep, NodeNextID } from './utils';
|
|
1
|
+
import { NodeType } from './constants.js';
|
|
2
|
+
import { BaseNode, BaseStep, NodeNextID } from './utils/index.js';
|
|
3
3
|
export declare enum CardType {
|
|
4
4
|
SIMPLE = "Simple",
|
|
5
5
|
STANDARD = "Standard"
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ActionRequestButton, GeneralRequestButton } from
|
|
2
|
-
import { SlateTextValue } from
|
|
1
|
+
import { ActionRequestButton, GeneralRequestButton } from '../request/index.js';
|
|
2
|
+
import { SlateTextValue } from '../text/index.js';
|
|
3
3
|
import { Nullable } from '@voiceflow/common';
|
|
4
|
-
import { NodeType } from './constants';
|
|
5
|
-
import { BaseNode, BaseNoMatchNodeData, BaseNoMatchStepData, BaseNoReplyNodeData, BaseNoReplyStepData, BaseStep, BaseStepPorts, BaseTraceFrame, BuiltInNextPort, BuiltInNoMatchNoReplyPorts, DataID, NodeNextID, TraceType } from './utils';
|
|
4
|
+
import { NodeType } from './constants.js';
|
|
5
|
+
import { BaseNode, BaseNoMatchNodeData, BaseNoMatchStepData, BaseNoReplyNodeData, BaseNoReplyStepData, BaseStep, BaseStepPorts, BaseTraceFrame, BuiltInNextPort, BuiltInNoMatchNoReplyPorts, DataID, NodeNextID, TraceType } from './utils/index.js';
|
|
6
6
|
export interface CardV2Button extends DataID {
|
|
7
7
|
name: string;
|
|
8
8
|
intent?: Nullable<string>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ActionRequestButton, GeneralRequestButton } from
|
|
2
|
-
import { SlateTextValue } from
|
|
1
|
+
import { ActionRequestButton, GeneralRequestButton } from '../request/index.js';
|
|
2
|
+
import { SlateTextValue } from '../text/index.js';
|
|
3
3
|
import { Nullable } from '@voiceflow/common';
|
|
4
|
-
import { NodeType } from './constants';
|
|
5
|
-
import { BaseNode, BaseNoMatchNodeData, BaseNoMatchStepData, BaseNoReplyNodeData, BaseNoReplyStepData, BaseStep, BaseStepPorts, BaseTraceFrame, BuiltInNextPort, BuiltInNoMatchNoReplyPorts, DataID, NodeNextID, TraceType } from './utils';
|
|
4
|
+
import { NodeType } from './constants.js';
|
|
5
|
+
import { BaseNode, BaseNoMatchNodeData, BaseNoMatchStepData, BaseNoReplyNodeData, BaseNoReplyStepData, BaseStep, BaseStepPorts, BaseTraceFrame, BuiltInNextPort, BuiltInNoMatchNoReplyPorts, DataID, NodeNextID, TraceType } from './utils/index.js';
|
|
6
6
|
export declare enum CarouselLayout {
|
|
7
7
|
CAROUSEL = "Carousel",
|
|
8
8
|
LIST = "List"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AnyRecord, Nullable } from '@voiceflow/common';
|
|
2
|
-
import { NodeType } from './constants';
|
|
3
|
-
import { BaseEvent, BaseNode, BasePort, BasePortList, BaseStep, BaseStepPorts, NodeID } from './utils';
|
|
2
|
+
import { NodeType } from './constants.js';
|
|
3
|
+
import { BaseEvent, BaseNode, BasePort, BasePortList, BaseStep, BaseStepPorts, NodeID } from './utils/index.js';
|
|
4
4
|
interface StepData<Payload = AnyRecord> {
|
|
5
5
|
stop?: boolean;
|
|
6
6
|
payload: Payload;
|
package/build/esm/node/code.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { NodeType } from './constants';
|
|
2
|
-
import { BaseNode, BaseStep, NodeNextID, NodeSuccessFailID, SuccessFailStepPorts } from './utils';
|
|
1
|
+
import { NodeType } from './constants.js';
|
|
2
|
+
import { BaseNode, BaseStep, NodeNextID, NodeSuccessFailID, SuccessFailStepPorts } from './utils/index.js';
|
|
3
3
|
export interface CodePath {
|
|
4
4
|
key: string;
|
|
5
5
|
label: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { NodeType } from './constants';
|
|
2
|
-
import { StepData } from './flow';
|
|
3
|
-
import { BaseStep } from './utils';
|
|
4
|
-
export { StepData } from './flow';
|
|
1
|
+
import { NodeType } from './constants.js';
|
|
2
|
+
import { StepData } from './flow.js';
|
|
3
|
+
import { BaseStep } from './utils/index.js';
|
|
4
|
+
export { StepData } from './flow.js';
|
|
5
5
|
export interface Step<Data = StepData> extends BaseStep<Data> {
|
|
6
6
|
type: NodeType.COMPONENT;
|
|
7
7
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { NodeType } from './constants';
|
|
2
|
-
import { BaseNoMatchStepData, BaseNoReplyStepData, BaseStep, DynamicOnlyStepPorts } from './utils';
|
|
1
|
+
import { NodeType } from './constants.js';
|
|
2
|
+
import { BaseNoMatchStepData, BaseNoReplyStepData, BaseStep, DynamicOnlyStepPorts } from './utils/index.js';
|
|
3
3
|
export interface StepPorts extends DynamicOnlyStepPorts {
|
|
4
4
|
}
|
|
5
5
|
export interface StepData extends BaseNoMatchStepData, BaseNoReplyStepData {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { NodeType } from './constants';
|
|
2
|
-
import { BaseNode, BaseStep, NodeRequiredNextID } from './utils';
|
|
1
|
+
import { NodeType } from './constants.js';
|
|
2
|
+
import { BaseNode, BaseStep, NodeRequiredNextID } from './utils/index.js';
|
|
3
3
|
export interface StepData {
|
|
4
4
|
directive: string;
|
|
5
5
|
}
|
package/build/esm/node/exit.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Struct } from '@voiceflow/common';
|
|
2
|
-
import { NodeType } from './constants';
|
|
3
|
-
import { BaseNode, BaseStep, BaseTraceFrame, EmptyStepPorts, TraceType } from './utils';
|
|
2
|
+
import { NodeType } from './constants.js';
|
|
3
|
+
import { BaseNode, BaseStep, BaseTraceFrame, EmptyStepPorts, TraceType } from './utils/index.js';
|
|
4
4
|
export declare type StepData = Struct;
|
|
5
5
|
export interface NodeData {
|
|
6
6
|
end: true;
|
package/build/esm/node/flow.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Nullable } from '@voiceflow/common';
|
|
2
|
-
import { NodeType } from './constants';
|
|
3
|
-
import { BaseNode, BaseStep, BaseTraceFrame, NodeNextID, NodeVariablesMappings, TraceType } from './utils';
|
|
2
|
+
import { NodeType } from './constants.js';
|
|
3
|
+
import { BaseNode, BaseStep, BaseTraceFrame, NodeNextID, NodeVariablesMappings, TraceType } from './utils/index.js';
|
|
4
4
|
export declare type VariableMapping = [Nullable<string>, Nullable<string>][];
|
|
5
5
|
export interface StepData {
|
|
6
6
|
diagramID: Nullable<string>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Nullable } from '@voiceflow/common';
|
|
2
|
-
import { NodeType } from './constants';
|
|
3
|
-
import { BaseNode, BaseStep, BaseTraceFrame, NodeNextID } from './utils';
|
|
2
|
+
import { NodeType } from './constants.js';
|
|
3
|
+
import { BaseNode, BaseStep, BaseTraceFrame, NodeNextID } from './utils/index.js';
|
|
4
4
|
export declare type AnyTrace = BaseTraceFrame<any>;
|
|
5
5
|
export interface StepData<Trace extends AnyTrace = AnyTrace> {
|
|
6
6
|
traces: Nullable<Trace>[];
|
package/build/esm/node/goTo.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { IntentRequest } from
|
|
1
|
+
import { IntentRequest } from '../request/index.js';
|
|
2
2
|
import { EmptyObject, Nullable } from '@voiceflow/common';
|
|
3
|
-
import { NodeType } from './constants';
|
|
4
|
-
import { BaseNode, BaseNoMatchNodeData, BaseStep } from './utils';
|
|
3
|
+
import { NodeType } from './constants.js';
|
|
4
|
+
import { BaseNode, BaseNoMatchNodeData, BaseStep } from './utils/index.js';
|
|
5
5
|
export interface StepData {
|
|
6
6
|
intent: Nullable<string>;
|
|
7
7
|
diagramID: Nullable<string>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AnyRecord, EmptyObject, Nullable } from '@voiceflow/common';
|
|
2
|
-
import { NodeType } from './constants';
|
|
3
|
-
import { BaseStep } from './utils';
|
|
2
|
+
import { NodeType } from './constants.js';
|
|
3
|
+
import { BaseStep } from './utils/index.js';
|
|
4
4
|
export interface StepData {
|
|
5
5
|
domainID: Nullable<string>;
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EmptyObject, Nullable } from '@voiceflow/common';
|
|
2
|
-
import { NodeType } from './constants';
|
|
3
|
-
import { BaseNode, BaseStep, NodeNextID } from './utils';
|
|
2
|
+
import { NodeType } from './constants.js';
|
|
3
|
+
import { BaseNode, BaseStep, NodeNextID } from './utils/index.js';
|
|
4
4
|
export interface StepData {
|
|
5
5
|
nodeID: Nullable<string>;
|
|
6
6
|
diagramID: Nullable<string>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Nullable } from '@voiceflow/common';
|
|
2
|
-
import { NodeType } from './constants';
|
|
3
|
-
import { BaseStep, IntegrationType, IntegrationUser, NodeSuccessFailID, SuccessFailStepPorts } from './utils';
|
|
2
|
+
import { NodeType } from './constants.js';
|
|
3
|
+
import { BaseStep, IntegrationType, IntegrationUser, NodeSuccessFailID, SuccessFailStepPorts } from './utils/index.js';
|
|
4
4
|
export declare enum GoogleSheetsActionType {
|
|
5
5
|
CREATE_DATA = "Create Data",
|
|
6
6
|
UPDATE_DATA = "Update Data",
|
package/build/esm/node/if.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { NodeType } from './constants';
|
|
2
|
-
import { BaseNode, BaseStep, BaseStepPorts, BuiltInNoMatchPort, Expression, NodeElseID, NodeNextIDs } from './utils';
|
|
1
|
+
import { NodeType } from './constants.js';
|
|
2
|
+
import { BaseNode, BaseStep, BaseStepPorts, BuiltInNoMatchPort, Expression, NodeElseID, NodeNextIDs } from './utils/index.js';
|
|
3
3
|
export interface StepData {
|
|
4
4
|
expressions: Expression[];
|
|
5
5
|
}
|
package/build/esm/node/ifV2.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { NodePath } from './_v1';
|
|
2
|
-
import { NodeType } from './constants';
|
|
3
|
-
import { BaseNode, BaseStep, BaseStepPorts, BuiltInNoMatchPort, ExpressionData, NodeElseID } from './utils';
|
|
1
|
+
import { NodePath } from './_v1.js';
|
|
2
|
+
import { NodeType } from './constants.js';
|
|
3
|
+
import { BaseNode, BaseStep, BaseStepPorts, BuiltInNoMatchPort, ExpressionData, NodeElseID } from './utils/index.js';
|
|
4
4
|
export declare enum IfNoMatchType {
|
|
5
5
|
PATH = "path",
|
|
6
6
|
NONE = "none"
|
|
@@ -1,75 +1,75 @@
|
|
|
1
|
-
import * as _v1 from './_v1';
|
|
2
|
-
import * as AICapture from './aiCapture';
|
|
3
|
-
import * as AIResponse from './aiResponse';
|
|
4
|
-
import * as AISet from './aiSet';
|
|
5
|
-
import * as Api from './api';
|
|
6
|
-
import * as ChannelAction from './channelAction';
|
|
7
|
-
import * as Code from './code';
|
|
8
|
-
import * as Component from './component';
|
|
9
|
-
import * as CustomBlockPointer from './customBlockPointer';
|
|
10
|
-
import * as Exit from './exit';
|
|
11
|
-
import * as Flow from './flow';
|
|
12
|
-
import * as General from './general';
|
|
13
|
-
import * as GoogleSheets from './googleSheets';
|
|
14
|
-
import * as GoTo from './goTo';
|
|
15
|
-
import * as GoToDomain from './goToDomain';
|
|
16
|
-
import * as GoToNode from './goToNode';
|
|
17
|
-
import * as If from './if';
|
|
18
|
-
import * as IfV2 from './ifV2';
|
|
19
|
-
import * as Integration from './integration';
|
|
20
|
-
import * as Intent from './jump';
|
|
21
|
-
import * as Command from './push';
|
|
22
|
-
import * as Random from './random';
|
|
23
|
-
import * as RandomV2 from './randomV2';
|
|
24
|
-
import * as Set from './set';
|
|
25
|
-
import * as SetV2 from './setV2';
|
|
26
|
-
import * as Start from './start';
|
|
27
|
-
import * as Url from './url';
|
|
28
|
-
import { BaseNode, NodeNextID } from './utils';
|
|
29
|
-
import * as Zapier from './zapier';
|
|
30
|
-
export * as _v1 from './_v1';
|
|
31
|
-
export * as AICapture from './aiCapture';
|
|
32
|
-
export * as AIResponse from './aiResponse';
|
|
33
|
-
export * as AISet from './aiSet';
|
|
34
|
-
export * as Api from './api';
|
|
35
|
-
export * as Buttons from './buttons';
|
|
36
|
-
export * as Capture from './capture';
|
|
37
|
-
export * as CaptureV2 from './captureV2';
|
|
38
|
-
export * as Card from './card';
|
|
39
|
-
export * as CardV2 from './cardV2';
|
|
40
|
-
export * as Carousel from './carousel';
|
|
41
|
-
export * as ChannelAction from './channelAction';
|
|
42
|
-
export * as Code from './code';
|
|
43
|
-
export * as Component from './component';
|
|
44
|
-
export * from './constants';
|
|
45
|
-
export * as CustomBlockPointer from './customBlockPointer';
|
|
46
|
-
export * as Directive from './directive';
|
|
47
|
-
export * as Exit from './exit';
|
|
48
|
-
export * as Flow from './flow';
|
|
49
|
-
export * as General from './general';
|
|
50
|
-
export * as GoogleSheets from './googleSheets';
|
|
51
|
-
export * as GoTo from './goTo';
|
|
52
|
-
export * as GoToDomain from './goToDomain';
|
|
53
|
-
export * as GoToNode from './goToNode';
|
|
54
|
-
export * as If from './if';
|
|
55
|
-
export * as IfV2 from './ifV2';
|
|
56
|
-
export * as Integration from './integration';
|
|
57
|
-
export * as Interaction from './interaction';
|
|
58
|
-
export * as Intent from './jump';
|
|
59
|
-
export * as Prompt from './prompt';
|
|
60
|
-
export * as Command from './push';
|
|
61
|
-
export * as Random from './random';
|
|
62
|
-
export * as RandomV2 from './randomV2';
|
|
63
|
-
export * as Set from './set';
|
|
64
|
-
export * as SetV2 from './setV2';
|
|
65
|
-
export * as Speak from './speak';
|
|
66
|
-
export * as Start from './start';
|
|
67
|
-
export * as Stream from './stream';
|
|
68
|
-
export * as Text from './text';
|
|
69
|
-
export * as Url from './url';
|
|
70
|
-
export * as Utils from './utils';
|
|
71
|
-
export * as Visual from './visual';
|
|
72
|
-
export * as Zapier from './zapier';
|
|
1
|
+
import * as _v1 from './_v1.js';
|
|
2
|
+
import * as AICapture from './aiCapture.js';
|
|
3
|
+
import * as AIResponse from './aiResponse.js';
|
|
4
|
+
import * as AISet from './aiSet.js';
|
|
5
|
+
import * as Api from './api.js';
|
|
6
|
+
import * as ChannelAction from './channelAction.js';
|
|
7
|
+
import * as Code from './code.js';
|
|
8
|
+
import * as Component from './component.js';
|
|
9
|
+
import * as CustomBlockPointer from './customBlockPointer.js';
|
|
10
|
+
import * as Exit from './exit.js';
|
|
11
|
+
import * as Flow from './flow.js';
|
|
12
|
+
import * as General from './general.js';
|
|
13
|
+
import * as GoogleSheets from './googleSheets.js';
|
|
14
|
+
import * as GoTo from './goTo.js';
|
|
15
|
+
import * as GoToDomain from './goToDomain.js';
|
|
16
|
+
import * as GoToNode from './goToNode.js';
|
|
17
|
+
import * as If from './if.js';
|
|
18
|
+
import * as IfV2 from './ifV2.js';
|
|
19
|
+
import * as Integration from './integration.js';
|
|
20
|
+
import * as Intent from './jump.js';
|
|
21
|
+
import * as Command from './push.js';
|
|
22
|
+
import * as Random from './random.js';
|
|
23
|
+
import * as RandomV2 from './randomV2.js';
|
|
24
|
+
import * as Set from './set.js';
|
|
25
|
+
import * as SetV2 from './setV2.js';
|
|
26
|
+
import * as Start from './start.js';
|
|
27
|
+
import * as Url from './url.js';
|
|
28
|
+
import { BaseNode, NodeNextID } from './utils/index.js';
|
|
29
|
+
import * as Zapier from './zapier.js';
|
|
30
|
+
export * as _v1 from './_v1.js';
|
|
31
|
+
export * as AICapture from './aiCapture.js';
|
|
32
|
+
export * as AIResponse from './aiResponse.js';
|
|
33
|
+
export * as AISet from './aiSet.js';
|
|
34
|
+
export * as Api from './api.js';
|
|
35
|
+
export * as Buttons from './buttons.js';
|
|
36
|
+
export * as Capture from './capture.js';
|
|
37
|
+
export * as CaptureV2 from './captureV2.js';
|
|
38
|
+
export * as Card from './card.js';
|
|
39
|
+
export * as CardV2 from './cardV2.js';
|
|
40
|
+
export * as Carousel from './carousel.js';
|
|
41
|
+
export * as ChannelAction from './channelAction.js';
|
|
42
|
+
export * as Code from './code.js';
|
|
43
|
+
export * as Component from './component.js';
|
|
44
|
+
export * from './constants.js';
|
|
45
|
+
export * as CustomBlockPointer from './customBlockPointer.js';
|
|
46
|
+
export * as Directive from './directive.js';
|
|
47
|
+
export * as Exit from './exit.js';
|
|
48
|
+
export * as Flow from './flow.js';
|
|
49
|
+
export * as General from './general.js';
|
|
50
|
+
export * as GoogleSheets from './googleSheets.js';
|
|
51
|
+
export * as GoTo from './goTo.js';
|
|
52
|
+
export * as GoToDomain from './goToDomain.js';
|
|
53
|
+
export * as GoToNode from './goToNode.js';
|
|
54
|
+
export * as If from './if.js';
|
|
55
|
+
export * as IfV2 from './ifV2.js';
|
|
56
|
+
export * as Integration from './integration.js';
|
|
57
|
+
export * as Interaction from './interaction.js';
|
|
58
|
+
export * as Intent from './jump.js';
|
|
59
|
+
export * as Prompt from './prompt.js';
|
|
60
|
+
export * as Command from './push.js';
|
|
61
|
+
export * as Random from './random.js';
|
|
62
|
+
export * as RandomV2 from './randomV2.js';
|
|
63
|
+
export * as Set from './set.js';
|
|
64
|
+
export * as SetV2 from './setV2.js';
|
|
65
|
+
export * as Speak from './speak.js';
|
|
66
|
+
export * as Start from './start.js';
|
|
67
|
+
export * as Stream from './stream.js';
|
|
68
|
+
export * as Text from './text.js';
|
|
69
|
+
export * as Url from './url.js';
|
|
70
|
+
export * as Utils from './utils/index.js';
|
|
71
|
+
export * as Visual from './visual.js';
|
|
72
|
+
export * as Zapier from './zapier.js';
|
|
73
73
|
export interface NextOnlyNode extends BaseNode, NodeNextID {
|
|
74
74
|
type: '_next';
|
|
75
75
|
}
|