@voiceflow/base-types 2.100.0 → 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/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 +1 -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
package/build/esm/node/index.js
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
export * as _v1 from './_v1';
|
|
2
|
-
export * as AICapture from './aiCapture';
|
|
3
|
-
export * as AIResponse from './aiResponse';
|
|
4
|
-
export * as AISet from './aiSet';
|
|
5
|
-
export * as Api from './api';
|
|
6
|
-
export * as Buttons from './buttons';
|
|
7
|
-
export * as Capture from './capture';
|
|
8
|
-
export * as CaptureV2 from './captureV2';
|
|
9
|
-
export * as Card from './card';
|
|
10
|
-
export * as CardV2 from './cardV2';
|
|
11
|
-
export * as Carousel from './carousel';
|
|
12
|
-
export * as ChannelAction from './channelAction';
|
|
13
|
-
export * as Code from './code';
|
|
14
|
-
export * as Component from './component';
|
|
15
|
-
export * from './constants';
|
|
16
|
-
export * as CustomBlockPointer from './customBlockPointer';
|
|
17
|
-
export * as Directive from './directive';
|
|
18
|
-
export * as Exit from './exit';
|
|
19
|
-
export * as Flow from './flow';
|
|
20
|
-
export * as General from './general';
|
|
21
|
-
export * as GoogleSheets from './googleSheets';
|
|
22
|
-
export * as GoTo from './goTo';
|
|
23
|
-
export * as GoToDomain from './goToDomain';
|
|
24
|
-
export * as GoToNode from './goToNode';
|
|
25
|
-
export * as If from './if';
|
|
26
|
-
export * as IfV2 from './ifV2';
|
|
27
|
-
export * as Integration from './integration';
|
|
28
|
-
export * as Interaction from './interaction';
|
|
29
|
-
export * as Intent from './jump';
|
|
30
|
-
export * as Prompt from './prompt';
|
|
31
|
-
export * as Command from './push';
|
|
32
|
-
export * as Random from './random';
|
|
33
|
-
export * as RandomV2 from './randomV2';
|
|
34
|
-
export * as Set from './set';
|
|
35
|
-
export * as SetV2 from './setV2';
|
|
36
|
-
export * as Speak from './speak';
|
|
37
|
-
export * as Start from './start';
|
|
38
|
-
export * as Stream from './stream';
|
|
39
|
-
export * as Text from './text';
|
|
40
|
-
export * as Url from './url';
|
|
41
|
-
export * as Utils from './utils';
|
|
42
|
-
export * as Visual from './visual';
|
|
43
|
-
export * as Zapier from './zapier';
|
|
1
|
+
export * as _v1 from './_v1.js';
|
|
2
|
+
export * as AICapture from './aiCapture.js';
|
|
3
|
+
export * as AIResponse from './aiResponse.js';
|
|
4
|
+
export * as AISet from './aiSet.js';
|
|
5
|
+
export * as Api from './api.js';
|
|
6
|
+
export * as Buttons from './buttons.js';
|
|
7
|
+
export * as Capture from './capture.js';
|
|
8
|
+
export * as CaptureV2 from './captureV2.js';
|
|
9
|
+
export * as Card from './card.js';
|
|
10
|
+
export * as CardV2 from './cardV2.js';
|
|
11
|
+
export * as Carousel from './carousel.js';
|
|
12
|
+
export * as ChannelAction from './channelAction.js';
|
|
13
|
+
export * as Code from './code.js';
|
|
14
|
+
export * as Component from './component.js';
|
|
15
|
+
export * from './constants.js';
|
|
16
|
+
export * as CustomBlockPointer from './customBlockPointer.js';
|
|
17
|
+
export * as Directive from './directive.js';
|
|
18
|
+
export * as Exit from './exit.js';
|
|
19
|
+
export * as Flow from './flow.js';
|
|
20
|
+
export * as General from './general.js';
|
|
21
|
+
export * as GoogleSheets from './googleSheets.js';
|
|
22
|
+
export * as GoTo from './goTo.js';
|
|
23
|
+
export * as GoToDomain from './goToDomain.js';
|
|
24
|
+
export * as GoToNode from './goToNode.js';
|
|
25
|
+
export * as If from './if.js';
|
|
26
|
+
export * as IfV2 from './ifV2.js';
|
|
27
|
+
export * as Integration from './integration.js';
|
|
28
|
+
export * as Interaction from './interaction.js';
|
|
29
|
+
export * as Intent from './jump.js';
|
|
30
|
+
export * as Prompt from './prompt.js';
|
|
31
|
+
export * as Command from './push.js';
|
|
32
|
+
export * as Random from './random.js';
|
|
33
|
+
export * as RandomV2 from './randomV2.js';
|
|
34
|
+
export * as Set from './set.js';
|
|
35
|
+
export * as SetV2 from './setV2.js';
|
|
36
|
+
export * as Speak from './speak.js';
|
|
37
|
+
export * as Start from './start.js';
|
|
38
|
+
export * as Stream from './stream.js';
|
|
39
|
+
export * as Text from './text.js';
|
|
40
|
+
export * as Url from './url.js';
|
|
41
|
+
export * as Utils from './utils/index.js';
|
|
42
|
+
export * as Visual from './visual.js';
|
|
43
|
+
export * as Zapier from './zapier.js';
|
|
44
44
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { NodeData as APINodeData } from './api';
|
|
2
|
-
import { NodeType } from './constants';
|
|
3
|
-
import { NodeData as GoogleSheetsNodeData } from './googleSheets';
|
|
4
|
-
import { BaseNode } from './utils';
|
|
5
|
-
import { NodeData as ZapierNodeData } from './zapier';
|
|
1
|
+
import { NodeData as APINodeData } from './api.js';
|
|
2
|
+
import { NodeType } from './constants.js';
|
|
3
|
+
import { NodeData as GoogleSheetsNodeData } from './googleSheets.js';
|
|
4
|
+
import { BaseNode } from './utils/index.js';
|
|
5
|
+
import { NodeData as ZapierNodeData } from './zapier.js';
|
|
6
6
|
export interface ApiNode extends BaseNode, APINodeData {
|
|
7
7
|
type: NodeType.INTEGRATIONS;
|
|
8
8
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { AnyRequestButton } from
|
|
1
|
+
import { AnyRequestButton } from '../request/index.js';
|
|
2
2
|
import { Nullable } from '@voiceflow/common';
|
|
3
|
-
import { NodeType } from './constants';
|
|
4
|
-
import { BaseEvent, BaseNode, BaseNoMatchNodeData, BaseNoMatchStepData, BaseNoReplyNodeData, BaseNoReplyStepData, BaseStep, BaseStepNoMatch, BaseTraceFrame, DeprecatedBaseNodeNoMatch, NodeIntentScope, NodeNextID, NoMatchNoReplyStepPorts, SlotMappings, StepIntentScope, TraceType } from './utils';
|
|
3
|
+
import { NodeType } from './constants.js';
|
|
4
|
+
import { BaseEvent, BaseNode, BaseNoMatchNodeData, BaseNoMatchStepData, BaseNoReplyNodeData, BaseNoReplyStepData, BaseStep, BaseStepNoMatch, BaseTraceFrame, DeprecatedBaseNodeNoMatch, NodeIntentScope, NodeNextID, NoMatchNoReplyStepPorts, SlotMappings, StepIntentScope, TraceType } from './utils/index.js';
|
|
5
5
|
/**
|
|
6
6
|
* @deprecated use `actions` instead
|
|
7
7
|
*/
|
package/build/esm/node/jump.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Nullable } from '@voiceflow/common';
|
|
2
|
-
import { NodeType } from './constants';
|
|
3
|
-
import { BaseCommand, BaseStep, CommandType, NodeID, SlotMappings } from './utils';
|
|
2
|
+
import { NodeType } from './constants.js';
|
|
3
|
+
import { BaseCommand, BaseStep, CommandType, NodeID, SlotMappings } from './utils/index.js';
|
|
4
4
|
export declare enum IntentAvailability {
|
|
5
5
|
LOCAL = "LOCAL",
|
|
6
6
|
GLOBAL = "GLOBAL"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { NodeType } from './constants';
|
|
2
|
-
import { BaseNoMatchStepData, BaseNoReplyStepData, BaseStep, BaseStepNoMatch, NoMatchNoReplyStepPorts } from './utils';
|
|
1
|
+
import { NodeType } from './constants.js';
|
|
2
|
+
import { BaseNoMatchStepData, BaseNoReplyStepData, BaseStep, BaseStepNoMatch, NoMatchNoReplyStepPorts } from './utils/index.js';
|
|
3
3
|
export interface StepData extends BaseNoReplyStepData, BaseNoMatchStepData {
|
|
4
4
|
/**
|
|
5
5
|
* @deprecated use noMatch instead
|
package/build/esm/node/push.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Nullable } from '@voiceflow/common';
|
|
2
|
-
import { NodeType } from './constants';
|
|
3
|
-
import { BaseCommand, BaseStep, CommandType, NodeID, SlotMappings } from './utils';
|
|
2
|
+
import { NodeType } from './constants.js';
|
|
3
|
+
import { BaseCommand, BaseStep, CommandType, NodeID, SlotMappings } from './utils/index.js';
|
|
4
4
|
export interface StepData extends SlotMappings {
|
|
5
5
|
name: string;
|
|
6
6
|
intent: Nullable<string>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { NodeType } from './constants';
|
|
2
|
-
import { BaseNode, BaseStep, DynamicOnlyStepPorts, NodeNextIDs } from './utils';
|
|
1
|
+
import { NodeType } from './constants.js';
|
|
2
|
+
import { BaseNode, BaseStep, DynamicOnlyStepPorts, NodeNextIDs } from './utils/index.js';
|
|
3
3
|
export declare enum RandomType {
|
|
4
4
|
DEFAULT = 1,
|
|
5
5
|
DO_DUPLICATES = 2
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { NodeType } from './constants';
|
|
2
|
-
import { BaseNode, BaseStep, DynamicOnlyStepPorts, NodeNextIDs } from './utils';
|
|
1
|
+
import { NodeType } from './constants.js';
|
|
2
|
+
import { BaseNode, BaseStep, DynamicOnlyStepPorts, NodeNextIDs } from './utils/index.js';
|
|
3
3
|
export declare enum RandomType {
|
|
4
4
|
DEFAULT = 1,
|
|
5
5
|
DO_DUPLICATES = 2
|
package/build/esm/node/set.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Nullable } from '@voiceflow/common';
|
|
2
|
-
import { NodeType } from './constants';
|
|
3
|
-
import { BaseNode, BaseStep, Expression, NodeNextID } from './utils';
|
|
2
|
+
import { NodeType } from './constants.js';
|
|
3
|
+
import { BaseNode, BaseStep, Expression, NodeNextID } from './utils/index.js';
|
|
4
4
|
export interface Set {
|
|
5
5
|
variable: Nullable<string>;
|
|
6
6
|
expression: Expression;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Nullable } from '@voiceflow/common';
|
|
2
|
-
import { NodeType } from './constants';
|
|
3
|
-
import { BaseNode, BaseStep, ExpressionTypeV2, NodeNextID } from './utils';
|
|
2
|
+
import { NodeType } from './constants.js';
|
|
3
|
+
import { BaseNode, BaseStep, ExpressionTypeV2, NodeNextID } from './utils/index.js';
|
|
4
4
|
export interface Set {
|
|
5
5
|
type: ExpressionTypeV2.VALUE | ExpressionTypeV2.ADVANCE;
|
|
6
6
|
variable: Nullable<string>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Nullable } from '@voiceflow/common';
|
|
2
|
-
import { NodeType } from './constants';
|
|
3
|
-
import { BaseNode, BaseResponseTrace, BaseStep, BaseTraceFrame, NodeNextID, StepCanvasNodeVisibility, TraceType } from './utils';
|
|
2
|
+
import { NodeType } from './constants.js';
|
|
3
|
+
import { BaseNode, BaseResponseTrace, BaseStep, BaseTraceFrame, NodeNextID, StepCanvasNodeVisibility, TraceType } from './utils/index.js';
|
|
4
4
|
export interface StepDataDialog<Dialog> {
|
|
5
5
|
dialogs: Dialog[];
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PortType } from
|
|
2
|
-
import { NodeType } from './constants';
|
|
3
|
-
import { BaseNode, BasePort, BaseStep, BaseStepPorts, BaseTraceFrame, BuiltInNextPort, NodeID, TraceType } from './utils';
|
|
1
|
+
import { PortType } from '../models/index.js';
|
|
2
|
+
import { NodeType } from './constants.js';
|
|
3
|
+
import { BaseNode, BasePort, BaseStep, BaseStepPorts, BaseTraceFrame, BuiltInNextPort, NodeID, TraceType } from './utils/index.js';
|
|
4
4
|
export interface StepData {
|
|
5
5
|
src: string;
|
|
6
6
|
loop: boolean;
|
package/build/esm/node/stream.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stream.js","sourceRoot":"","sources":["../../../src/node/stream.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"stream.js","sourceRoot":"","sources":["../../../src/node/stream.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAe9C,MAAM,CAAN,IAAY,iBAKX;AALD,WAAY,iBAAiB;IAC3B,kCAAa,CAAA;IACb,kCAAa,CAAA;IACb,oCAAe,CAAA;IACf,gCAAW,CAAA;AACb,CAAC,EALW,iBAAiB,KAAjB,iBAAiB,QAK5B"}
|
package/build/esm/node/text.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { SlateTextValue } from
|
|
2
|
-
import { NodeType } from './constants';
|
|
3
|
-
import { BaseNode, BaseResponseTrace, BaseStep, BaseTraceFrame, DataID, NodeNextID, StepCanvasNodeVisibility, TraceType } from './utils';
|
|
1
|
+
import { SlateTextValue } from '../text/index.js';
|
|
2
|
+
import { NodeType } from './constants.js';
|
|
3
|
+
import { BaseNode, BaseResponseTrace, BaseStep, BaseTraceFrame, DataID, NodeNextID, StepCanvasNodeVisibility, TraceType } from './utils/index.js';
|
|
4
4
|
export interface TextData extends DataID {
|
|
5
5
|
content: SlateTextValue;
|
|
6
6
|
/** @deprecated use TextTracePayload.delay instead */
|
package/build/esm/node/url.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Nullable } from '@voiceflow/common';
|
|
2
|
-
export { BaseCommand, BaseNode, BasePort, BasePortList, BaseStep, BaseStepPorts, BuiltInFailPort, BuiltInNextFailPorts, BuiltInNextPort, BuiltInNoMatchNoReplyPorts, BuiltInNoMatchPort, BuiltInNoReplyPort, DynamicOnlyStepPorts, EmptyStepPorts, NextStepPorts, NoMatchNoReplyStepPorts, SuccessFailStepPorts, } from
|
|
2
|
+
export { BaseCommand, BaseNode, BasePort, BasePortList, BaseStep, BaseStepPorts, BuiltInFailPort, BuiltInNextFailPorts, BuiltInNextPort, BuiltInNoMatchNoReplyPorts, BuiltInNoMatchPort, BuiltInNoReplyPort, DynamicOnlyStepPorts, EmptyStepPorts, NextStepPorts, NoMatchNoReplyStepPorts, SuccessFailStepPorts, } from '../../models/index.js';
|
|
3
3
|
export declare type NodeID = Nullable<string>;
|
|
4
4
|
export interface DataID {
|
|
5
5
|
id: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Nullable } from '@voiceflow/common';
|
|
2
|
-
import { BaseCommand } from './base';
|
|
3
|
-
import { BaseEvent } from './event';
|
|
2
|
+
import { BaseCommand } from './base.js';
|
|
3
|
+
import { BaseEvent } from './event.js';
|
|
4
4
|
export declare enum CommandType {
|
|
5
5
|
JUMP = "jump",
|
|
6
6
|
PUSH = "push"
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export * from './base';
|
|
2
|
-
export * from './canvasNodeVisibility';
|
|
3
|
-
export * from './command';
|
|
4
|
-
export * from './event';
|
|
5
|
-
export * from './expression';
|
|
6
|
-
export * from './integration';
|
|
7
|
-
export * from './intent';
|
|
8
|
-
export * from './mappings';
|
|
9
|
-
export * from './noMatch';
|
|
10
|
-
export * from './noReply';
|
|
11
|
-
export * from './trace';
|
|
1
|
+
export * from './base.js';
|
|
2
|
+
export * from './canvasNodeVisibility.js';
|
|
3
|
+
export * from './command.js';
|
|
4
|
+
export * from './event.js';
|
|
5
|
+
export * from './expression.js';
|
|
6
|
+
export * from './integration.js';
|
|
7
|
+
export * from './intent.js';
|
|
8
|
+
export * from './mappings.js';
|
|
9
|
+
export * from './noMatch.js';
|
|
10
|
+
export * from './noReply.js';
|
|
11
|
+
export * from './trace.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export * from './base';
|
|
2
|
-
export * from './canvasNodeVisibility';
|
|
3
|
-
export * from './command';
|
|
4
|
-
export * from './event';
|
|
5
|
-
export * from './expression';
|
|
6
|
-
export * from './integration';
|
|
7
|
-
export * from './intent';
|
|
8
|
-
export * from './mappings';
|
|
9
|
-
export * from './noMatch';
|
|
10
|
-
export * from './noReply';
|
|
11
|
-
export * from './trace';
|
|
1
|
+
export * from './base.js';
|
|
2
|
+
export * from './canvasNodeVisibility.js';
|
|
3
|
+
export * from './command.js';
|
|
4
|
+
export * from './event.js';
|
|
5
|
+
export * from './expression.js';
|
|
6
|
+
export * from './integration.js';
|
|
7
|
+
export * from './intent.js';
|
|
8
|
+
export * from './mappings.js';
|
|
9
|
+
export * from './noMatch.js';
|
|
10
|
+
export * from './noReply.js';
|
|
11
|
+
export * from './trace.js';
|
|
12
12
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Nullable } from '@voiceflow/common';
|
|
2
|
-
import { NodeType } from './constants';
|
|
3
|
-
import { BaseNode, BaseStep, BaseTraceFrame, NodeNextID, TraceType } from './utils';
|
|
2
|
+
import { NodeType } from './constants.js';
|
|
3
|
+
import { BaseNode, BaseStep, BaseTraceFrame, NodeNextID, TraceType } from './utils/index.js';
|
|
4
4
|
export declare enum DeviceType {
|
|
5
5
|
MOBILE = "mobile",
|
|
6
6
|
TABLET = "tablet",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { NodeType } from './constants';
|
|
2
|
-
import { BaseStep, IntegrationType, IntegrationUser, NodeSuccessFailID, SuccessFailStepPorts } from './utils';
|
|
1
|
+
import { NodeType } from './constants.js';
|
|
2
|
+
import { BaseStep, IntegrationType, IntegrationUser, NodeSuccessFailID, SuccessFailStepPorts } from './utils/index.js';
|
|
3
3
|
export declare enum ZapierActionType {
|
|
4
4
|
START_A_ZAP = "Start a Zap"
|
|
5
5
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "type": "module" }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { Chip } from '../button';
|
|
2
|
-
import { ActionPayload } from './action';
|
|
3
|
-
export * as Action from './action';
|
|
1
|
+
import type { Chip } from '../button/index.js';
|
|
2
|
+
import { ActionPayload } from './action.js';
|
|
3
|
+
export * as Action from './action.js';
|
|
4
4
|
export declare enum RequestType {
|
|
5
5
|
TEXT = "text",
|
|
6
6
|
ACTION = "action",
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './logs';
|
|
2
|
-
export * from './runtime';
|
|
3
|
-
export * from './utils';
|
|
1
|
+
export * from './logs/index.js';
|
|
2
|
+
export * from './runtime/index.js';
|
|
3
|
+
export * from './utils/index.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './logs';
|
|
2
|
-
export * from './runtime';
|
|
3
|
-
export * from './utils';
|
|
1
|
+
export * from './logs/index.js';
|
|
2
|
+
export * from './runtime/index.js';
|
|
3
|
+
export * from './utils/index.js';
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EmptyObject } from '@voiceflow/common';
|
|
2
|
-
import { DEFAULT_LOG_LEVEL, Iso8601Timestamp } from '../utils';
|
|
3
|
-
import { GlobalLogKind, StepLogKind } from './kinds';
|
|
4
|
-
import { LogLevel } from './levels';
|
|
2
|
+
import { DEFAULT_LOG_LEVEL, Iso8601Timestamp } from '../utils/index.js';
|
|
3
|
+
import { GlobalLogKind, StepLogKind } from './kinds.js';
|
|
4
|
+
import { LogLevel } from './levels.js';
|
|
5
5
|
/** The base log interface. This should not be used directly, use one of the subtypes instead. */
|
|
6
6
|
interface BaseLog {
|
|
7
7
|
kind: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BaseGlobalLog } from '../base';
|
|
2
|
-
import { GlobalLogKind } from '../kinds';
|
|
1
|
+
import { BaseGlobalLog } from '../base.js';
|
|
2
|
+
import { GlobalLogKind } from '../kinds.js';
|
|
3
3
|
export declare type ConversationStartLog = BaseGlobalLog<GlobalLogKind.CONVERSATION_START, {
|
|
4
4
|
versionID: string;
|
|
5
5
|
userID: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as Logs from './logs';
|
|
2
|
-
export * as Kinds from './kinds';
|
|
1
|
+
import * as Logs from './logs.js';
|
|
2
|
+
export * as Kinds from './kinds.js';
|
|
3
3
|
export { Logs };
|
|
4
|
-
export { LogLevel } from './levels';
|
|
4
|
+
export { LogLevel } from './levels.js';
|
|
5
5
|
/** All possible runtime logs. */
|
|
6
6
|
export declare type Log = Logs.GlobalLog | Logs.StepLog;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as Logs from './logs';
|
|
2
|
-
export * as Kinds from './kinds';
|
|
1
|
+
import * as Logs from './logs.js';
|
|
2
|
+
export * as Kinds from './kinds.js';
|
|
3
3
|
export { Logs };
|
|
4
|
-
export { LogLevel } from './levels';
|
|
4
|
+
export { LogLevel } from './levels.js';
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kinds.js","sourceRoot":"","sources":["../../../../src/runtimeLogs/logs/kinds.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"kinds.js","sourceRoot":"","sources":["../../../../src/runtimeLogs/logs/kinds.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE5C,2DAA2D;AAC3D,MAAM,CAAN,IAAY,WAgCX;AAhCD,WAAY,WAAW;IACrB,WAAW;IACX,4BAAa,CAAA;IACb,8BAAe,CAAA;IACf,8BAAe,CAAA;IACf,kCAAmB,CAAA;IACnB,4BAAa,CAAA;IACb,oCAAqB,CAAA;IAErB,aAAa;IACb,kCAAmB,CAAA;IACnB,gCAAiB,CAAA;IACjB,kCAAmB,CAAA;IACnB,gCAAiB,CAAA;IACjB,gCAAiB,CAAA;IAEjB,QAAQ;IACR,sCAAuB,CAAA;IACvB,0BAAW,CAAA;IACX,gCAAiB,CAAA;IACjB,4BAAa,CAAA;IACb,4BAAa,CAAA;IAEb,cAAc;IACd,0BAAW,CAAA;IACX,uCAAuC;IACvC,8CAA+B,CAAA;IAC/B,0CAA2B,CAAA;IAC3B,8CAA+B,CAAA;IAE/B,UAAU;IACV,8BAAe,CAAA;AACjB,CAAC,EAhCW,WAAW,KAAX,WAAW,QAgCtB;AAED,MAAM,CAAN,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,0DAAyC,CAAA;IACzC,4DAA2C,CAAA;AAC7C,CAAC,EAHW,aAAa,KAAb,aAAa,QAGxB;AAED,MAAM,0BAA0B,GAAG;IACjC,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,WAAW,CAAC,IAAI;IACjC,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,WAAW,CAAC,KAAK;IACnC,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,WAAW,CAAC,KAAK;IACnC,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,WAAW,CAAC,IAAI;IACjC,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE,WAAW,CAAC,QAAQ;IACzC,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,WAAW,CAAC,OAAO;IAEvC,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,WAAW,CAAC,GAAG;IAC/B,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,WAAW,CAAC,GAAG;IAClC,CAAC,QAAQ,CAAC,EAAE,CAAC,EAAE,WAAW,CAAC,SAAS;IACpC,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,WAAW,CAAC,SAAS;IACvC,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,WAAW,CAAC,MAAM;IACrC,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,WAAW,CAAC,OAAO;IACvC,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE,WAAW,CAAC,OAAO;IAE1C,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,WAAW,CAAC,GAAG;IAC/B,kBAAkB;IAClB,CAAC,QAAQ,CAAC,aAAa,CAAC,EAAE,WAAW,CAAC,aAAa;IAEnD,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,WAAW,CAAC,MAAM;IACrC,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,WAAW,CAAC,WAAW;IACxC,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,WAAW,CAAC,IAAI;IACjC,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,WAAW,CAAC,MAAM;IAErC,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,WAAW,CAAC,OAAO;CAC9B,CAAC;AAQX,+DAA+D;AAC/D,MAAM,UAAU,qBAAqB,CAAC,QAAkB;IACtD,OAAO,QAAQ,IAAI,0BAA0B,CAAC,CAAC,CAAC,0BAA0B,CAAC,QAA4B,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;AACvH,CAAC"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { ConversationStartLog } from './global/conversationStart';
|
|
2
|
-
import { NluIntentResolvedLog } from './global/nluIntentResolved';
|
|
3
|
-
import { ApiStepLog } from './steps/api';
|
|
4
|
-
import { ButtonsStepLog } from './steps/buttons';
|
|
5
|
-
import { CaptureStepLog } from './steps/capture';
|
|
6
|
-
import { CodeStepLog } from './steps/code';
|
|
7
|
-
import { ConditionStepLog } from './steps/condition';
|
|
8
|
-
import { CustomActionStepLog } from './steps/customAction';
|
|
9
|
-
import { ExitStepLog } from './steps/exit';
|
|
10
|
-
import { FlowStepLog } from './steps/flow';
|
|
11
|
-
import { IntentStepLog } from './steps/intent';
|
|
12
|
-
import { RandomStepLog } from './steps/random';
|
|
13
|
-
import { SetStepLog } from './steps/set';
|
|
14
|
-
import { SpeakStepLog } from './steps/speak';
|
|
15
|
-
import { StartStepLog } from './steps/start';
|
|
16
|
-
import { TextStepLog } from './steps/text';
|
|
1
|
+
import { ConversationStartLog } from './global/conversationStart.js';
|
|
2
|
+
import { NluIntentResolvedLog } from './global/nluIntentResolved.js';
|
|
3
|
+
import { ApiStepLog } from './steps/api.js';
|
|
4
|
+
import { ButtonsStepLog } from './steps/buttons.js';
|
|
5
|
+
import { CaptureStepLog } from './steps/capture.js';
|
|
6
|
+
import { CodeStepLog } from './steps/code.js';
|
|
7
|
+
import { ConditionStepLog } from './steps/condition.js';
|
|
8
|
+
import { CustomActionStepLog } from './steps/customAction.js';
|
|
9
|
+
import { ExitStepLog } from './steps/exit.js';
|
|
10
|
+
import { FlowStepLog } from './steps/flow.js';
|
|
11
|
+
import { IntentStepLog } from './steps/intent.js';
|
|
12
|
+
import { RandomStepLog } from './steps/random.js';
|
|
13
|
+
import { SetStepLog } from './steps/set.js';
|
|
14
|
+
import { SpeakStepLog } from './steps/speak.js';
|
|
15
|
+
import { StartStepLog } from './steps/start.js';
|
|
16
|
+
import { TextStepLog } from './steps/text.js';
|
|
17
17
|
export { ApiStepLog, ButtonsStepLog, CaptureStepLog, CodeStepLog, ConditionStepLog, ConversationStartLog, CustomActionStepLog, ExitStepLog, FlowStepLog, IntentStepLog, NluIntentResolvedLog, RandomStepLog, SetStepLog, SpeakStepLog, StartStepLog, TextStepLog, };
|
|
18
18
|
/** All possible runtime logs for global events. */
|
|
19
19
|
export declare type GlobalLog = ConversationStartLog | NluIntentResolvedLog;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { APIBodyType, APIMethod } from
|
|
2
|
-
import { PathReference } from
|
|
3
|
-
import { BaseStepLog } from '../base';
|
|
4
|
-
import { StepLogKind } from '../kinds';
|
|
5
|
-
import { LogLevel } from '../levels';
|
|
1
|
+
import { APIBodyType, APIMethod } from '../../../node/api.js';
|
|
2
|
+
import { PathReference } from '../../../runtimeLogs/utils/index.js';
|
|
3
|
+
import { BaseStepLog } from '../base.js';
|
|
4
|
+
import { StepLogKind } from '../kinds.js';
|
|
5
|
+
import { LogLevel } from '../levels.js';
|
|
6
6
|
interface ApiLogMessageRequest {
|
|
7
7
|
method: APIMethod;
|
|
8
8
|
url: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Nullable } from '@voiceflow/common';
|
|
2
|
-
import { PathReference } from '../../utils';
|
|
3
|
-
import { BaseStepLog } from '../base';
|
|
4
|
-
import { StepLogKind } from '../kinds';
|
|
2
|
+
import { PathReference } from '../../utils/index.js';
|
|
3
|
+
import { BaseStepLog } from '../base.js';
|
|
4
|
+
import { StepLogKind } from '../kinds.js';
|
|
5
5
|
interface UrlButtonLogMessage {
|
|
6
6
|
url: Nullable<string>;
|
|
7
7
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChangedVariables, PathReference, VariableValue } from
|
|
2
|
-
import { BaseStepLog } from '../base';
|
|
3
|
-
import { StepLogKind } from '../kinds';
|
|
1
|
+
import { ChangedVariables, PathReference, VariableValue } from '../../../runtimeLogs/utils/index.js';
|
|
2
|
+
import { BaseStepLog } from '../base.js';
|
|
3
|
+
import { StepLogKind } from '../kinds.js';
|
|
4
4
|
export declare type CaptureStepLog = BaseStepLog<StepLogKind.CAPTURE, PathReference & ChangedVariables<VariableValue | null, string, VariableValue>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ChangedVariables, PathReference } from
|
|
2
|
-
import { BaseStepLog } from '../base';
|
|
3
|
-
import { StepLogKind } from '../kinds';
|
|
4
|
-
import { LogLevel } from '../levels';
|
|
1
|
+
import { ChangedVariables, PathReference } from '../../../runtimeLogs/utils/index.js';
|
|
2
|
+
import { BaseStepLog } from '../base.js';
|
|
3
|
+
import { StepLogKind } from '../kinds.js';
|
|
4
|
+
import { LogLevel } from '../levels.js';
|
|
5
5
|
export declare type CodeStepLog = BaseStepLog<StepLogKind.CUSTOM_CODE, PathReference & {
|
|
6
6
|
error: null;
|
|
7
7
|
} & ChangedVariables<any>, LogLevel.INFO> | BaseStepLog<StepLogKind.CUSTOM_CODE, PathReference & {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PathReference } from '../../utils';
|
|
2
|
-
import { BaseStepLog } from '../base';
|
|
3
|
-
import { StepLogKind } from '../kinds';
|
|
1
|
+
import { PathReference } from '../../utils/index.js';
|
|
2
|
+
import { BaseStepLog } from '../base.js';
|
|
3
|
+
import { StepLogKind } from '../kinds.js';
|
|
4
4
|
export declare type ConditionStepLog = BaseStepLog<StepLogKind.CONDITION, PathReference & {
|
|
5
5
|
path: PathReference | null;
|
|
6
6
|
}>;
|