@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
|
@@ -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
|
export declare type CustomActionStepLog = BaseStepLog<StepLogKind.CUSTOM_ACTION, Record<keyof PathReference, null> & {
|
|
6
6
|
actionBody: Nullable<string>;
|
|
7
7
|
path: PathReference;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { PathReference } from
|
|
1
|
+
import { PathReference } from '../../../runtimeLogs/utils/index.js';
|
|
2
2
|
import { EmptyObject } from '@voiceflow/common';
|
|
3
|
-
import { BaseStepLog } from '../base';
|
|
4
|
-
import { StepLogKind } from '../kinds';
|
|
5
|
-
import { LogLevel } from '../levels';
|
|
3
|
+
import { BaseStepLog } from '../base.js';
|
|
4
|
+
import { StepLogKind } from '../kinds.js';
|
|
5
|
+
import { LogLevel } from '../levels.js';
|
|
6
6
|
export declare type ExitStepLog = BaseStepLog<StepLogKind.EXIT, PathReference & {
|
|
7
7
|
state: null;
|
|
8
8
|
}, LogLevel.INFO> | BaseStepLog<StepLogKind.EXIT, PathReference & {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { FlowReference, PathReference, ValueChange } from
|
|
2
|
-
import { BaseStepLog } from '../base';
|
|
3
|
-
import { StepLogKind } from '../kinds';
|
|
1
|
+
import { FlowReference, PathReference, ValueChange } from '../../../runtimeLogs/utils/index.js';
|
|
2
|
+
import { BaseStepLog } from '../base.js';
|
|
3
|
+
import { StepLogKind } from '../kinds.js';
|
|
4
4
|
export declare type FlowStepLog = BaseStepLog<StepLogKind.FLOW, PathReference & {
|
|
5
5
|
flow: null | ValueChange<FlowReference>;
|
|
6
6
|
}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PathReference } from
|
|
2
|
-
import { BaseStepLog } from '../base';
|
|
3
|
-
import { StepLogKind } from '../kinds';
|
|
1
|
+
import { PathReference } from '../../../runtimeLogs/utils/index.js';
|
|
2
|
+
import { BaseStepLog } from '../base.js';
|
|
3
|
+
import { StepLogKind } from '../kinds.js';
|
|
4
4
|
export declare type IntentStepLog = BaseStepLog<StepLogKind.INTENT, PathReference & {
|
|
5
5
|
intentName: string;
|
|
6
6
|
utterance: string;
|
|
@@ -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 RandomStepLog = BaseStepLog<StepLogKind.RANDOM, PathReference & {
|
|
5
5
|
path: PathReference | null;
|
|
6
6
|
}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChangedVariables, PathReference } from
|
|
2
|
-
import { BaseStepLog } from '../base';
|
|
3
|
-
import { StepLogKind } from '../kinds';
|
|
1
|
+
import { ChangedVariables, PathReference } from '../../../runtimeLogs/utils/index.js';
|
|
2
|
+
import { BaseStepLog } from '../base.js';
|
|
3
|
+
import { StepLogKind } from '../kinds.js';
|
|
4
4
|
export declare type SetStepLog = BaseStepLog<StepLogKind.SET, PathReference & ChangedVariables<any>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PathReference } from
|
|
2
|
-
import { BaseStepLog } from '../base';
|
|
3
|
-
import { StepLogKind } from '../kinds';
|
|
1
|
+
import { PathReference } from '../../../runtimeLogs/utils/index.js';
|
|
2
|
+
import { BaseStepLog } from '../base.js';
|
|
3
|
+
import { StepLogKind } from '../kinds.js';
|
|
4
4
|
export declare type SpeakStepLog = BaseStepLog<StepLogKind.SPEAK, (PathReference | Record<keyof PathReference, null>) & {
|
|
5
5
|
text: string;
|
|
6
6
|
}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PathReference } from
|
|
1
|
+
import { PathReference } from '../../../runtimeLogs/utils/index.js';
|
|
2
2
|
import { EmptyObject } from '@voiceflow/common';
|
|
3
|
-
import { BaseStepLog } from '../base';
|
|
4
|
-
import { StepLogKind } from '../kinds';
|
|
3
|
+
import { BaseStepLog } from '../base.js';
|
|
4
|
+
import { StepLogKind } from '../kinds.js';
|
|
5
5
|
export declare type StartStepLog = BaseStepLog<StepLogKind.START, PathReference | EmptyObject>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Text as TextNode } from
|
|
2
|
-
import { PathReference } from
|
|
3
|
-
import { BaseStepLog } from '../base';
|
|
4
|
-
import { StepLogKind } from '../kinds';
|
|
1
|
+
import { Text as TextNode } from '../../../node/index.js';
|
|
2
|
+
import { PathReference } from '../../../runtimeLogs/utils/index.js';
|
|
3
|
+
import { BaseStepLog } from '../base.js';
|
|
4
|
+
import { StepLogKind } from '../kinds.js';
|
|
5
5
|
export declare type TextStepLog = BaseStepLog<StepLogKind.TEXT, (PathReference | Record<keyof PathReference, null>) & {
|
|
6
6
|
plainContent: string;
|
|
7
7
|
richContent: TextNode.TextData;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './logBuffer';
|
|
1
|
+
export * from './logBuffer.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './logBuffer';
|
|
1
|
+
export * from './logBuffer.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Log } from '../logs';
|
|
1
|
+
import { Log } from '../logs/index.js';
|
|
2
2
|
/**
|
|
3
3
|
* It acts as a buffer in between the runtime which produces the logs and the service/datastore which consumes the logs.
|
|
4
4
|
* In practice, this will almost always be implemented as part of the runtime itself.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './logs';
|
|
2
|
-
export * from './types';
|
|
1
|
+
export * from './logs.js';
|
|
2
|
+
export * from './types.js';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './logs';
|
|
2
|
-
export * from './types';
|
|
1
|
+
export * from './logs.js';
|
|
2
|
+
export * from './types.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LogLevel } from '../logs/levels';
|
|
1
|
+
import { LogLevel } from '../logs/levels.js';
|
|
2
2
|
/** Returns the number (non-negative integer) value of `level`. A higher number is more verbose. `0` is the least verbose and most "important". The value `-1` is used to disable logging. */
|
|
3
3
|
export declare const getValueForLogLevel: (level: LogLevel) => number;
|
|
4
4
|
export declare const isLogLevel: (level: string) => level is LogLevel;
|
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
import { TraceFrame as CardV2Trace } from
|
|
2
|
-
import { TraceFrame as CarouselTrace } from
|
|
3
|
-
import { TraceFrame as ExitTrace } from
|
|
4
|
-
import { TraceFrame as FlowTrace } from
|
|
5
|
-
import { TraceFrame as ChoiceTrace } from
|
|
6
|
-
import { TraceFrame as SpeakTrace } from
|
|
7
|
-
import { TraceFrame as StreamTrace } from
|
|
8
|
-
import { TraceFrame as TextTrace } from
|
|
9
|
-
import { BaseTraceFrame, TraceType } from
|
|
10
|
-
import { TraceFrame as VisualTrace } from
|
|
11
|
-
import { IntentRequest } from
|
|
12
|
-
import { Log as RuntimeLog } from
|
|
1
|
+
import { TraceFrame as CardV2Trace } from '../node/cardV2.js';
|
|
2
|
+
import { TraceFrame as CarouselTrace } from '../node/carousel.js';
|
|
3
|
+
import { TraceFrame as ExitTrace } from '../node/exit.js';
|
|
4
|
+
import { TraceFrame as FlowTrace } from '../node/flow.js';
|
|
5
|
+
import { TraceFrame as ChoiceTrace } from '../node/interaction.js';
|
|
6
|
+
import { TraceFrame as SpeakTrace } from '../node/speak.js';
|
|
7
|
+
import { TraceFrame as StreamTrace } from '../node/stream.js';
|
|
8
|
+
import { TraceFrame as TextTrace } from '../node/text.js';
|
|
9
|
+
import { BaseTraceFrame, TraceType } from '../node/utils/index.js';
|
|
10
|
+
import { TraceFrame as VisualTrace } from '../node/visual.js';
|
|
11
|
+
import { IntentRequest } from '../request/index.js';
|
|
12
|
+
import { Log as RuntimeLog } from '../runtimeLogs/index.js';
|
|
13
13
|
import { AnyRecord } from '@voiceflow/common';
|
|
14
|
-
export { TraceFrame as CardV2 } from
|
|
15
|
-
export { TraceFrame as Carousel } from
|
|
16
|
-
export { TraceFrame as End } from
|
|
17
|
-
export { TraceFrame as Flow } from
|
|
18
|
-
export { TraceFrame as Choice } from
|
|
19
|
-
export { TraceFrame as KnowledgeBase } from
|
|
20
|
-
export { TraceFrame as Speak } from
|
|
21
|
-
export { TraceFrame as Stream } from
|
|
22
|
-
export { TraceFrame as Text } from
|
|
23
|
-
export { BaseTraceFrame, TraceType } from
|
|
24
|
-
export { TraceFrame as Visual } from
|
|
14
|
+
export { TraceFrame as CardV2 } from '../node/cardV2.js';
|
|
15
|
+
export { TraceFrame as Carousel } from '../node/carousel.js';
|
|
16
|
+
export { TraceFrame as End } from '../node/exit.js';
|
|
17
|
+
export { TraceFrame as Flow } from '../node/flow.js';
|
|
18
|
+
export { TraceFrame as Choice } from '../node/interaction.js';
|
|
19
|
+
export { TraceFrame as KnowledgeBase } from '../node/knowledgeBase.js';
|
|
20
|
+
export { TraceFrame as Speak } from '../node/speak.js';
|
|
21
|
+
export { TraceFrame as Stream } from '../node/stream.js';
|
|
22
|
+
export { TraceFrame as Text } from '../node/text.js';
|
|
23
|
+
export { BaseTraceFrame, TraceType } from '../node/utils/trace.js';
|
|
24
|
+
export { TraceFrame as Visual } from '../node/visual.js';
|
|
25
25
|
/** @deprecated */
|
|
26
|
-
export { TraceFrame as CarouselTrace } from
|
|
26
|
+
export { TraceFrame as CarouselTrace } from '../node/carousel.js';
|
|
27
27
|
/** @deprecated */
|
|
28
|
-
export { TraceFrame as ExitTrace } from
|
|
28
|
+
export { TraceFrame as ExitTrace } from '../node/exit.js';
|
|
29
29
|
/** @deprecated */
|
|
30
|
-
export { TraceFrame as FlowTrace } from
|
|
30
|
+
export { TraceFrame as FlowTrace } from '../node/flow.js';
|
|
31
31
|
/** @deprecated */
|
|
32
|
-
export { TraceFrame as ChoiceTrace } from
|
|
32
|
+
export { TraceFrame as ChoiceTrace } from '../node/interaction.js';
|
|
33
33
|
/** @deprecated */
|
|
34
|
-
export { TraceFrame as SpeakTrace } from
|
|
34
|
+
export { TraceFrame as SpeakTrace } from '../node/speak.js';
|
|
35
35
|
/** @deprecated */
|
|
36
|
-
export { TraceFrame as StreamTrace } from
|
|
36
|
+
export { TraceFrame as StreamTrace } from '../node/stream.js';
|
|
37
37
|
/** @deprecated */
|
|
38
|
-
export { TraceFrame as TextTrace } from
|
|
38
|
+
export { TraceFrame as TextTrace } from '../node/text.js';
|
|
39
39
|
/** @deprecated */
|
|
40
|
-
export { TraceFrame as VisualTrace } from
|
|
40
|
+
export { TraceFrame as VisualTrace } from '../node/visual.js';
|
|
41
41
|
export interface DebugTracePayload {
|
|
42
42
|
type?: string;
|
|
43
43
|
message: string;
|
package/build/esm/trace/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { TraceType } from
|
|
1
|
+
export { TraceType } from '../node/utils/trace.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/trace/index.ts"],"names":[],"mappings":"AAuBA,OAAO,EAAkB,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/trace/index.ts"],"names":[],"mappings":"AAuBA,OAAO,EAAkB,SAAS,EAAE,MAAM,8BAA8B,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * as ai from './ai';
|
|
2
|
-
export * as node from './node';
|
|
3
|
-
export * as nodeType from './nodeType';
|
|
4
|
-
export * as step from './step';
|
|
1
|
+
export * as ai from './ai.js';
|
|
2
|
+
export * as node from './node.js';
|
|
3
|
+
export * as nodeType from './nodeType.js';
|
|
4
|
+
export * as step from './step.js';
|
package/build/esm/utils/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * as ai from './ai';
|
|
2
|
-
export * as node from './node';
|
|
3
|
-
export * as nodeType from './nodeType';
|
|
4
|
-
export * as step from './step';
|
|
1
|
+
export * as ai from './ai.js';
|
|
2
|
+
export * as node from './node.js';
|
|
3
|
+
export * as nodeType from './nodeType.js';
|
|
4
|
+
export * as step from './step.js';
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as BaseModels from
|
|
2
|
-
import * as Node from
|
|
1
|
+
import * as BaseModels from '../models/index.js';
|
|
2
|
+
import * as Node from '../node/index.js';
|
|
3
3
|
export declare const createNodeTypeguard: <R extends BaseModels.BaseNode>(values: R["type"] | R["type"][]) => (value: BaseModels.BaseNode) => value is R;
|
|
4
4
|
export declare const isV1: (node: BaseModels.BaseNode) => node is Node._v1.Node<Node.Utils.BaseEvent>;
|
|
5
5
|
export declare const isIf: (value: BaseModels.BaseNode) => value is Node.If.Node;
|
package/build/esm/utils/node.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as Node from
|
|
1
|
+
import * as Node from '../node/index.js';
|
|
2
2
|
import { Utils } from '@voiceflow/common';
|
|
3
3
|
export const createNodeTypeguard = Utils.typeguard.createTypedTypeguardCreator();
|
|
4
4
|
export const isV1 = (node) => Utils.object.hasProperty(node, '_v') && node._v === 1;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node.js","sourceRoot":"","sources":["../../../src/utils/node.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,IAAI,
|
|
1
|
+
{"version":3,"file":"node.js","sourceRoot":"","sources":["../../../src/utils/node.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,IAAI,MAAM,kBAAkB,CAAC;AACzC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C,MAAM,CAAC,MAAM,mBAAmB,GAAG,KAAK,CAAC,SAAS,CAAC,2BAA2B,EAAuB,CAAC;AAEtG,MAAM,CAAC,MAAM,IAAI,GAAG,CAAC,IAAyB,EAAyB,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,WAAW,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,IAAI,CAAC,EAAE,KAAK,CAAC,CAAC;AAChI,MAAM,CAAC,MAAM,IAAI,GAAG,mBAAmB,CAAe,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;AACxE,MAAM,CAAC,MAAM,KAAK,GAAG,mBAAmB,CAAgB,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;AAC3E,MAAM,CAAC,MAAM,KAAK,GAAG,mBAAmB,CAAgB,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;AAC3E,MAAM,CAAC,MAAM,MAAM,GAAG,mBAAmB,CAAiB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CA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C,OAAO,CAAC,CAAC;AACrF,MAAM,CAAC,MAAM,SAAS,GAAG,mBAAmB,CAAoB,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;AACvF,MAAM,CAAC,MAAM,SAAS,GAAG,mBAAmB,CAAoB,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;AACvF,MAAM,CAAC,MAAM,UAAU,GAAG,mBAAmB,CAAqB,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;AAC1F,MAAM,CAAC,MAAM,UAAU,GAAG,mBAAmB,CAAqB,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;AAC3F,MAAM,CAAC,MAAM,UAAU,GAAG,mBAAmB,CAAqB,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;AAC3F,MAAM,CAAC,MAAM,WAAW,GAAG,mBAAmB,CAAsB,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;AAC7F,MAAM,CAAC,MAAM,WAAW,GAAG,mBAAmB,CAAsB,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC;AAC9F,MAAM,CAAC,MAAM,aAAa,GAAG,mBAAmB,CAAwB,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC;AACnG,MAAM,CAAC,MAAM,cAAc,GAAG,mBAAmB,CAAwB,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as Node from
|
|
1
|
+
import * as Node from '../node/index.js';
|
|
2
2
|
export declare const createNodeTypeTypeguard: <R extends Node.NodeType>(values: R | readonly R[] | R[]) => (value?: unknown) => value is R;
|
|
3
3
|
export declare const isIf: (value?: unknown) => value is Node.NodeType.IF;
|
|
4
4
|
export declare const isUrl: (value?: unknown) => value is Node.NodeType.URL;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nodeType.js","sourceRoot":"","sources":["../../../src/utils/nodeType.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
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as BaseModels from
|
|
2
|
-
import * as Node from
|
|
1
|
+
import * as BaseModels from '../models/index.js';
|
|
2
|
+
import * as Node from '../node/index.js';
|
|
3
3
|
export declare const createStepTypeguard: <R extends BaseModels.BaseDiagramNode<import("@voiceflow/common").AnyRecord>>(values: R["type"] | R["type"][]) => (value: BaseModels.BaseDiagramNode<import("@voiceflow/common").AnyRecord>) => value is R;
|
|
4
4
|
export declare const isIf: (value: BaseModels.BaseDiagramNode<import("@voiceflow/common").AnyRecord>) => value is Node.If.Step<Node.If.StepData>;
|
|
5
5
|
export declare const isUrl: (value: BaseModels.BaseDiagramNode<import("@voiceflow/common").AnyRecord>) => value is Node.Url.Step<Node.Url.StepData>;
|
package/build/esm/utils/step.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"step.js","sourceRoot":"","sources":["../../../src/utils/step.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,IAAI,
|
|
1
|
+
{"version":3,"file":"step.js","sourceRoot":"","sources":["../../../src/utils/step.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,IAAI,MAAM,kBAAkB,CAAC;AACzC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C,MAAM,CAAC,MAAM,mBAAmB,GAAG,KAAK,CAAC,SAAS,CAAC,2BAA2B,EAA8B,CAAC;AAE7G,MAAM,CAAC,MAAM,IAAI,GAAG,mBAAmB,CAAe,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;AACxE,MAAM,CAAC,MAAM,KAAK,GAAG,mBAAmB,CAAgB,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;AAC3E,MAAM,CAAC,MAAM,KAAK,GAAG,mBAAmB,CAAgB,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;AAC3E,MAAM,CAAC,MAAM,KAAK,GAAG,mBAAmB,CAAgB,IAAI,CAAC,QAAQ,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AmB,CAAsB,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;AAC7F,MAAM,CAAC,MAAM,WAAW,GAAG,mBAAmB,CAAsB,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC;AAC9F,MAAM,CAAC,MAAM,YAAY,GAAG,mBAAmB,CAAuB,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC;AACjG,MAAM,CAAC,MAAM,YAAY,GAAG,mBAAmB,CAAkE,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC;AAC3I,MAAM,CAAC,MAAM,aAAa,GAAG,mBAAmB,CAAwB,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC;AACnG,MAAM,CAAC,MAAM,cAAc,GAAG,mBAAmB,CAAyB,IAAI,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Version as VersionModels } from
|
|
2
|
-
import { DeepPartialByKey } from
|
|
3
|
-
import { Publishing } from './publishing';
|
|
4
|
-
import { Settings } from './settings';
|
|
5
|
-
export * from './publishing';
|
|
6
|
-
export * from './settings';
|
|
7
|
-
export * from './tag';
|
|
1
|
+
import { Version as VersionModels } from '../models/index.js';
|
|
2
|
+
import { DeepPartialByKey } from '../types.js';
|
|
3
|
+
import { Publishing } from './publishing.js';
|
|
4
|
+
import { Settings } from './settings.js';
|
|
5
|
+
export * from './publishing.js';
|
|
6
|
+
export * from './settings.js';
|
|
7
|
+
export * from './tag.js';
|
|
8
8
|
export interface PlatformData<Prompt = unknown> extends VersionModels.PlatformData<Settings<Prompt>, Publishing> {
|
|
9
9
|
}
|
|
10
10
|
export interface Version<Prompt = unknown, Prototype extends VersionModels.Prototype = VersionModels.Prototype> extends VersionModels.Model<PlatformData<Prompt>> {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defaultSettings } from './settings';
|
|
2
|
-
export * from './publishing';
|
|
3
|
-
export * from './settings';
|
|
4
|
-
export * from './tag';
|
|
1
|
+
import { defaultSettings } from './settings.js';
|
|
2
|
+
export * from './publishing.js';
|
|
3
|
+
export * from './settings.js';
|
|
4
|
+
export * from './tag.js';
|
|
5
5
|
export const defaultPlatformData = ({ slots = [], intents = [], settings = {}, publishing = {}, }) => ({
|
|
6
6
|
slots,
|
|
7
7
|
intents,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { CarouselLayout } from
|
|
2
|
-
import { AIModelParams } from
|
|
1
|
+
import { CarouselLayout } from '../node/carousel.js';
|
|
2
|
+
import { AIModelParams } from '../utils/ai.js';
|
|
3
3
|
import { Nullable } from '@voiceflow/common';
|
|
4
|
-
import { Utils } from '../node';
|
|
4
|
+
import { Utils } from '../node/index.js';
|
|
5
5
|
export declare enum RepeatType {
|
|
6
6
|
OFF = "OFF",
|
|
7
7
|
ALL = "ALL",
|