@voiceflow/base-types 2.4.2 → 2.5.3

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.
@@ -21,26 +21,26 @@ export interface IntentInput {
21
21
  /** @deprecated shouldn't be used */
22
22
  voice?: string;
23
23
  }
24
- export declare type IntentSlotDialog = {
24
+ export interface IntentSlotDialog {
25
25
  prompt: any[];
26
26
  confirm: any[];
27
27
  utterances: IntentInput[];
28
28
  confirmEnabled: boolean;
29
- };
30
- export declare type IntentSlot = {
29
+ }
30
+ export interface IntentSlot {
31
31
  id: string;
32
32
  dialog: IntentSlotDialog;
33
33
  required: boolean;
34
- };
35
- export declare type Intent = {
34
+ }
35
+ export interface Intent {
36
36
  key: string;
37
37
  name: string;
38
38
  slots?: IntentSlot[];
39
39
  inputs: IntentInput[];
40
40
  builtIn?: boolean;
41
41
  _platform?: string;
42
- };
43
- export declare type Slot = {
42
+ }
43
+ export interface Slot {
44
44
  key: string;
45
45
  name: string;
46
46
  type: {
@@ -48,15 +48,15 @@ export declare type Slot = {
48
48
  };
49
49
  color?: string;
50
50
  inputs: string[];
51
- };
52
- export declare type SlotMapping = {
51
+ }
52
+ export interface SlotMapping {
53
53
  slot: Nullable<string>;
54
54
  variable: Nullable<Variable>;
55
- };
56
- export declare type CommandMapping = {
55
+ }
56
+ export interface CommandMapping {
57
57
  slot: string;
58
58
  variable: Variable;
59
- };
59
+ }
60
60
  /**
61
61
  * @deprecated
62
62
  */
@@ -113,8 +113,8 @@ interface StepOnlyData<P = [BasePort, ...BasePort[]]> {
113
113
  }
114
114
  export declare type BaseStep<D extends AnyRecord = AnyRecord, P = [BasePort, ...BasePort[]]> = BaseDiagramNode<D & StepOnlyData<P>>;
115
115
  export declare type BasePlatformData = AnyRecord;
116
- export declare type PrototypeModel = {
116
+ export interface PrototypeModel {
117
117
  slots: Slot[];
118
118
  intents: Intent[];
119
- };
119
+ }
120
120
  export {};
@@ -1,15 +1,18 @@
1
1
  import { Nullable } from "../utils";
2
2
  import { NodeType } from './constants';
3
3
  import { BaseNode, BaseNodeNoReply, BaseStep, BaseStepNoReply, NodeNextID } from './utils';
4
+ /** @deprecated */
4
5
  export interface StepData {
5
6
  slot: Nullable<string>;
6
7
  noReply?: Nullable<BaseStepNoReply>;
7
8
  variable: Nullable<string>;
8
9
  slotInputs: string[];
9
10
  }
11
+ /** @deprecated */
10
12
  export interface Step<Data = StepData> extends BaseStep<Data> {
11
13
  type: NodeType.CAPTURE;
12
14
  }
15
+ /** @deprecated */
13
16
  export interface Node extends BaseNode, NodeNextID {
14
17
  type: NodeType.CAPTURE;
15
18
  intent?: string;
@@ -0,0 +1,36 @@
1
+ import { Intent } from "../models";
2
+ import { Nullable } from "../utils";
3
+ import { NodeType } from './constants';
4
+ import { BaseNode, BaseNodeNoMatch, BaseNodeNoReply, BaseStep, BaseStepNoMatch, BaseStepNoReply, NodeNextID } from './utils';
5
+ export declare enum CaptureType {
6
+ INTENT = "intent",
7
+ QUERY = "query"
8
+ }
9
+ export interface BaseCaptureData {
10
+ noReply?: Nullable<BaseStepNoReply>;
11
+ noMatch?: Nullable<BaseStepNoMatch>;
12
+ }
13
+ export interface IntentCapture {
14
+ type: CaptureType.INTENT;
15
+ intent?: Nullable<Intent>;
16
+ }
17
+ export interface QueryCapture {
18
+ type: CaptureType.QUERY;
19
+ variable: Nullable<string>;
20
+ }
21
+ export interface StepData extends BaseCaptureData {
22
+ capture: IntentCapture | QueryCapture;
23
+ }
24
+ export interface Step<Data = StepData> extends BaseStep<Data> {
25
+ type: NodeType.CAPTURE_V2;
26
+ }
27
+ export interface Node extends BaseNode, NodeNextID {
28
+ type: NodeType.CAPTURE_V2;
29
+ intent?: {
30
+ name: string;
31
+ entities?: string[];
32
+ };
33
+ variable?: string;
34
+ noReply?: Nullable<BaseNodeNoReply>;
35
+ noMatch?: Nullable<BaseNodeNoMatch>;
36
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CaptureType = void 0;
4
+ var CaptureType;
5
+ (function (CaptureType) {
6
+ CaptureType["INTENT"] = "intent";
7
+ CaptureType["QUERY"] = "query";
8
+ })(CaptureType = exports.CaptureType || (exports.CaptureType = {}));
9
+ //# sourceMappingURL=captureV2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"captureV2.js","sourceRoot":"","sources":["../../../src/node/captureV2.ts"],"names":[],"mappings":";;;AAMA,IAAY,WAGX;AAHD,WAAY,WAAW;IACrB,gCAAiB,CAAA;IACjB,8BAAe,CAAA;AACjB,CAAC,EAHW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAGtB"}
@@ -11,6 +11,7 @@ export declare enum NodeType {
11
11
  IF_V2 = "ifV2",
12
12
  RANDOM = "random",
13
13
  CAPTURE = "capture",
14
+ CAPTURE_V2 = "captureV2",
14
15
  API = "api",
15
16
  ZAPIER = "zapier",
16
17
  INTEGRATIONS = "integrations",
@@ -16,6 +16,7 @@ var NodeType;
16
16
  NodeType["IF_V2"] = "ifV2";
17
17
  NodeType["RANDOM"] = "random";
18
18
  NodeType["CAPTURE"] = "capture";
19
+ NodeType["CAPTURE_V2"] = "captureV2";
19
20
  // integrations
20
21
  NodeType["API"] = "api";
21
22
  NodeType["ZAPIER"] = "zapier";
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/node/constants.ts"],"names":[],"mappings":";;;AAAA,IAAY,QAsCX;AAtCD,WAAY,QAAQ;IAClB,yBAAa,CAAA;IACb,2BAAe,CAAA;IACf,2BAAe,CAAA;IACf,yBAAa,CAAA;IACb,+BAAmB,CAAA;IACnB,uCAA2B,CAAA;IAE3B,QAAQ;IACR,uBAAW,CAAA;IACX,4BAAgB,CAAA;IAChB,qBAAS,CAAA;IACT,0BAAc,CAAA;IACd,6BAAiB,CAAA;IACjB,+BAAmB,CAAA;IAEnB,eAAe;IACf,uBAAW,CAAA;IACX,6BAAiB,CAAA;IACjB,yCAA6B,CAAA;IAC7B,2CAA+B,CAAA;IAE/B,WAAW;IACX,6BAAiB,CAAA;IACjB,yBAAa,CAAA;IACb,mCAAuB,CAAA;IACvB,yBAAa,CAAA;IACb,yBAAa,CAAA;IACb,6BAAiB,CAAA;IACjB,+BAAmB,CAAA;IACnB,2BAAe,CAAA;IAEf,QAAQ;IACR,6BAAiB,CAAA;IACjB,6BAAiB,CAAA;IACjB,+BAAmB,CAAA;IACnB,mCAAuB,CAAA;IACvB,qCAAyB,CAAA;AAC3B,CAAC,EAtCW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAsCnB"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/node/constants.ts"],"names":[],"mappings":";;;AAAA,IAAY,QAuCX;AAvCD,WAAY,QAAQ;IAClB,yBAAa,CAAA;IACb,2BAAe,CAAA;IACf,2BAAe,CAAA;IACf,yBAAa,CAAA;IACb,+BAAmB,CAAA;IACnB,uCAA2B,CAAA;IAE3B,QAAQ;IACR,uBAAW,CAAA;IACX,4BAAgB,CAAA;IAChB,qBAAS,CAAA;IACT,0BAAc,CAAA;IACd,6BAAiB,CAAA;IACjB,+BAAmB,CAAA;IACnB,oCAAwB,CAAA;IAExB,eAAe;IACf,uBAAW,CAAA;IACX,6BAAiB,CAAA;IACjB,yCAA6B,CAAA;IAC7B,2CAA+B,CAAA;IAE/B,WAAW;IACX,6BAAiB,CAAA;IACjB,yBAAa,CAAA;IACb,mCAAuB,CAAA;IACvB,yBAAa,CAAA;IACb,yBAAa,CAAA;IACb,6BAAiB,CAAA;IACjB,+BAAmB,CAAA;IACnB,2BAAe,CAAA;IAEf,QAAQ;IACR,6BAAiB,CAAA;IACjB,6BAAiB,CAAA;IACjB,+BAAmB,CAAA;IACnB,mCAAuB,CAAA;IACvB,qCAAyB,CAAA;AAC3B,CAAC,EAvCW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAuCnB"}
@@ -20,6 +20,7 @@ export * as _v1 from './_v1';
20
20
  export * as Api from './api';
21
21
  export * as Buttons from './buttons';
22
22
  export * as Capture from './capture';
23
+ export * as CaptureV2 from './captureV2';
23
24
  export * as Card from './card';
24
25
  export * as Code from './code';
25
26
  export * as Component from './component';
@@ -22,11 +22,12 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
22
22
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
23
23
  };
24
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
- exports.Zapier = exports.Visual = exports.Utils = exports.Text = exports.Stream = exports.Start = exports.Speak = exports.SetV2 = exports.Set = exports.Random = exports.Command = exports.Prompt = exports.Intent = exports.Interaction = exports.Integration = exports.IfV2 = exports.If = exports.GoogleSheets = exports.General = exports.Flow = exports.Exit = exports.Directive = exports.Component = exports.Code = exports.Card = exports.Capture = exports.Buttons = exports.Api = exports._v1 = void 0;
25
+ exports.Zapier = exports.Visual = exports.Utils = exports.Text = exports.Stream = exports.Start = exports.Speak = exports.SetV2 = exports.Set = exports.Random = exports.Command = exports.Prompt = exports.Intent = exports.Interaction = exports.Integration = exports.IfV2 = exports.If = exports.GoogleSheets = exports.General = exports.Flow = exports.Exit = exports.Directive = exports.Component = exports.Code = exports.Card = exports.CaptureV2 = exports.Capture = exports.Buttons = exports.Api = exports._v1 = void 0;
26
26
  exports._v1 = __importStar(require("./_v1"));
27
27
  exports.Api = __importStar(require("./api"));
28
28
  exports.Buttons = __importStar(require("./buttons"));
29
29
  exports.Capture = __importStar(require("./capture"));
30
+ exports.CaptureV2 = __importStar(require("./captureV2"));
30
31
  exports.Card = __importStar(require("./card"));
31
32
  exports.Code = __importStar(require("./code"));
32
33
  exports.Component = __importStar(require("./component"));
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/node/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAmBA,6CAA6B;AAC7B,6CAA6B;AAC7B,qDAAqC;AACrC,qDAAqC;AACrC,+CAA+B;AAC/B,+CAA+B;AAC/B,yDAAyC;AACzC,8CAA4B;AAC5B,yDAAyC;AACzC,+CAA+B;AAC/B,+CAA+B;AAC/B,qDAAqC;AACrC,+DAA+C;AAC/C,2CAA2B;AAC3B,+CAA+B;AAC/B,6DAA6C;AAC7C,6DAA6C;AAC7C,iDAAiC;AACjC,mDAAmC;AACnC,kDAAkC;AAClC,mDAAmC;AACnC,6CAA6B;AAC7B,iDAAiC;AACjC,iDAAiC;AACjC,iDAAiC;AACjC,mDAAmC;AACnC,+CAA+B;AAC/B,iDAAiC;AACjC,mDAAmC;AACnC,mDAAmC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/node/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAmBA,6CAA6B;AAC7B,6CAA6B;AAC7B,qDAAqC;AACrC,qDAAqC;AACrC,yDAAyC;AACzC,+CAA+B;AAC/B,+CAA+B;AAC/B,yDAAyC;AACzC,8CAA4B;AAC5B,yDAAyC;AACzC,+CAA+B;AAC/B,+CAA+B;AAC/B,qDAAqC;AACrC,+DAA+C;AAC/C,2CAA2B;AAC3B,+CAA+B;AAC/B,6DAA6C;AAC7C,6DAA6C;AAC7C,iDAAiC;AACjC,mDAAmC;AACnC,kDAAkC;AAClC,mDAAmC;AACnC,6CAA6B;AAC7B,iDAAiC;AACjC,iDAAiC;AACjC,iDAAiC;AACjC,mDAAmC;AACnC,+CAA+B;AAC/B,iDAAiC;AACjC,mDAAmC;AACnC,mDAAmC"}
@@ -13,6 +13,7 @@ export { TraceFrame as ChoiceTrace } from "../node/interaction";
13
13
  export { TraceFrame as SpeakTrace } from "../node/speak";
14
14
  export { TraceFrame as StreamTrace } from "../node/stream";
15
15
  export { TraceFrame as TextTrace } from "../node/text";
16
+ export { TraceType } from "../node/utils/trace";
16
17
  export { TraceFrame as VisualTrace } from "../node/visual";
17
18
  export interface DebugTracePayload {
18
19
  type?: string;
@@ -1,3 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TraceType = void 0;
4
+ var trace_1 = require("../node/utils/trace");
5
+ Object.defineProperty(exports, "TraceType", { enumerable: true, get: function () { return trace_1.TraceType; } });
3
6
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/trace/index.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/trace/index.ts"],"names":[],"mappings":";;;AAgBA,6CAA+C;AAAtC,kGAAA,SAAS,OAAA"}
@@ -21,26 +21,26 @@ export interface IntentInput {
21
21
  /** @deprecated shouldn't be used */
22
22
  voice?: string;
23
23
  }
24
- export declare type IntentSlotDialog = {
24
+ export interface IntentSlotDialog {
25
25
  prompt: any[];
26
26
  confirm: any[];
27
27
  utterances: IntentInput[];
28
28
  confirmEnabled: boolean;
29
- };
30
- export declare type IntentSlot = {
29
+ }
30
+ export interface IntentSlot {
31
31
  id: string;
32
32
  dialog: IntentSlotDialog;
33
33
  required: boolean;
34
- };
35
- export declare type Intent = {
34
+ }
35
+ export interface Intent {
36
36
  key: string;
37
37
  name: string;
38
38
  slots?: IntentSlot[];
39
39
  inputs: IntentInput[];
40
40
  builtIn?: boolean;
41
41
  _platform?: string;
42
- };
43
- export declare type Slot = {
42
+ }
43
+ export interface Slot {
44
44
  key: string;
45
45
  name: string;
46
46
  type: {
@@ -48,15 +48,15 @@ export declare type Slot = {
48
48
  };
49
49
  color?: string;
50
50
  inputs: string[];
51
- };
52
- export declare type SlotMapping = {
51
+ }
52
+ export interface SlotMapping {
53
53
  slot: Nullable<string>;
54
54
  variable: Nullable<Variable>;
55
- };
56
- export declare type CommandMapping = {
55
+ }
56
+ export interface CommandMapping {
57
57
  slot: string;
58
58
  variable: Variable;
59
- };
59
+ }
60
60
  /**
61
61
  * @deprecated
62
62
  */
@@ -113,8 +113,8 @@ interface StepOnlyData<P = [BasePort, ...BasePort[]]> {
113
113
  }
114
114
  export declare type BaseStep<D extends AnyRecord = AnyRecord, P = [BasePort, ...BasePort[]]> = BaseDiagramNode<D & StepOnlyData<P>>;
115
115
  export declare type BasePlatformData = AnyRecord;
116
- export declare type PrototypeModel = {
116
+ export interface PrototypeModel {
117
117
  slots: Slot[];
118
118
  intents: Intent[];
119
- };
119
+ }
120
120
  export {};
@@ -1,15 +1,18 @@
1
1
  import { Nullable } from "../utils";
2
2
  import { NodeType } from './constants';
3
3
  import { BaseNode, BaseNodeNoReply, BaseStep, BaseStepNoReply, NodeNextID } from './utils';
4
+ /** @deprecated */
4
5
  export interface StepData {
5
6
  slot: Nullable<string>;
6
7
  noReply?: Nullable<BaseStepNoReply>;
7
8
  variable: Nullable<string>;
8
9
  slotInputs: string[];
9
10
  }
11
+ /** @deprecated */
10
12
  export interface Step<Data = StepData> extends BaseStep<Data> {
11
13
  type: NodeType.CAPTURE;
12
14
  }
15
+ /** @deprecated */
13
16
  export interface Node extends BaseNode, NodeNextID {
14
17
  type: NodeType.CAPTURE;
15
18
  intent?: string;
@@ -0,0 +1,36 @@
1
+ import { Intent } from "../models";
2
+ import { Nullable } from "../utils";
3
+ import { NodeType } from './constants';
4
+ import { BaseNode, BaseNodeNoMatch, BaseNodeNoReply, BaseStep, BaseStepNoMatch, BaseStepNoReply, NodeNextID } from './utils';
5
+ export declare enum CaptureType {
6
+ INTENT = "intent",
7
+ QUERY = "query"
8
+ }
9
+ export interface BaseCaptureData {
10
+ noReply?: Nullable<BaseStepNoReply>;
11
+ noMatch?: Nullable<BaseStepNoMatch>;
12
+ }
13
+ export interface IntentCapture {
14
+ type: CaptureType.INTENT;
15
+ intent?: Nullable<Intent>;
16
+ }
17
+ export interface QueryCapture {
18
+ type: CaptureType.QUERY;
19
+ variable: Nullable<string>;
20
+ }
21
+ export interface StepData extends BaseCaptureData {
22
+ capture: IntentCapture | QueryCapture;
23
+ }
24
+ export interface Step<Data = StepData> extends BaseStep<Data> {
25
+ type: NodeType.CAPTURE_V2;
26
+ }
27
+ export interface Node extends BaseNode, NodeNextID {
28
+ type: NodeType.CAPTURE_V2;
29
+ intent?: {
30
+ name: string;
31
+ entities?: string[];
32
+ };
33
+ variable?: string;
34
+ noReply?: Nullable<BaseNodeNoReply>;
35
+ noMatch?: Nullable<BaseNodeNoMatch>;
36
+ }
@@ -0,0 +1,6 @@
1
+ export var CaptureType;
2
+ (function (CaptureType) {
3
+ CaptureType["INTENT"] = "intent";
4
+ CaptureType["QUERY"] = "query";
5
+ })(CaptureType || (CaptureType = {}));
6
+ //# sourceMappingURL=captureV2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"captureV2.js","sourceRoot":"","sources":["../../../src/node/captureV2.ts"],"names":[],"mappings":"AAMA,MAAM,CAAN,IAAY,WAGX;AAHD,WAAY,WAAW;IACrB,gCAAiB,CAAA;IACjB,8BAAe,CAAA;AACjB,CAAC,EAHW,WAAW,KAAX,WAAW,QAGtB"}
@@ -11,6 +11,7 @@ export declare enum NodeType {
11
11
  IF_V2 = "ifV2",
12
12
  RANDOM = "random",
13
13
  CAPTURE = "capture",
14
+ CAPTURE_V2 = "captureV2",
14
15
  API = "api",
15
16
  ZAPIER = "zapier",
16
17
  INTEGRATIONS = "integrations",
@@ -13,6 +13,7 @@ export var NodeType;
13
13
  NodeType["IF_V2"] = "ifV2";
14
14
  NodeType["RANDOM"] = "random";
15
15
  NodeType["CAPTURE"] = "capture";
16
+ NodeType["CAPTURE_V2"] = "captureV2";
16
17
  // integrations
17
18
  NodeType["API"] = "api";
18
19
  NodeType["ZAPIER"] = "zapier";
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/node/constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,QAsCX;AAtCD,WAAY,QAAQ;IAClB,yBAAa,CAAA;IACb,2BAAe,CAAA;IACf,2BAAe,CAAA;IACf,yBAAa,CAAA;IACb,+BAAmB,CAAA;IACnB,uCAA2B,CAAA;IAE3B,QAAQ;IACR,uBAAW,CAAA;IACX,4BAAgB,CAAA;IAChB,qBAAS,CAAA;IACT,0BAAc,CAAA;IACd,6BAAiB,CAAA;IACjB,+BAAmB,CAAA;IAEnB,eAAe;IACf,uBAAW,CAAA;IACX,6BAAiB,CAAA;IACjB,yCAA6B,CAAA;IAC7B,2CAA+B,CAAA;IAE/B,WAAW;IACX,6BAAiB,CAAA;IACjB,yBAAa,CAAA;IACb,mCAAuB,CAAA;IACvB,yBAAa,CAAA;IACb,yBAAa,CAAA;IACb,6BAAiB,CAAA;IACjB,+BAAmB,CAAA;IACnB,2BAAe,CAAA;IAEf,QAAQ;IACR,6BAAiB,CAAA;IACjB,6BAAiB,CAAA;IACjB,+BAAmB,CAAA;IACnB,mCAAuB,CAAA;IACvB,qCAAyB,CAAA;AAC3B,CAAC,EAtCW,QAAQ,KAAR,QAAQ,QAsCnB"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/node/constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,QAuCX;AAvCD,WAAY,QAAQ;IAClB,yBAAa,CAAA;IACb,2BAAe,CAAA;IACf,2BAAe,CAAA;IACf,yBAAa,CAAA;IACb,+BAAmB,CAAA;IACnB,uCAA2B,CAAA;IAE3B,QAAQ;IACR,uBAAW,CAAA;IACX,4BAAgB,CAAA;IAChB,qBAAS,CAAA;IACT,0BAAc,CAAA;IACd,6BAAiB,CAAA;IACjB,+BAAmB,CAAA;IACnB,oCAAwB,CAAA;IAExB,eAAe;IACf,uBAAW,CAAA;IACX,6BAAiB,CAAA;IACjB,yCAA6B,CAAA;IAC7B,2CAA+B,CAAA;IAE/B,WAAW;IACX,6BAAiB,CAAA;IACjB,yBAAa,CAAA;IACb,mCAAuB,CAAA;IACvB,yBAAa,CAAA;IACb,yBAAa,CAAA;IACb,6BAAiB,CAAA;IACjB,+BAAmB,CAAA;IACnB,2BAAe,CAAA;IAEf,QAAQ;IACR,6BAAiB,CAAA;IACjB,6BAAiB,CAAA;IACjB,+BAAmB,CAAA;IACnB,mCAAuB,CAAA;IACvB,qCAAyB,CAAA;AAC3B,CAAC,EAvCW,QAAQ,KAAR,QAAQ,QAuCnB"}
@@ -20,6 +20,7 @@ export * as _v1 from './_v1';
20
20
  export * as Api from './api';
21
21
  export * as Buttons from './buttons';
22
22
  export * as Capture from './capture';
23
+ export * as CaptureV2 from './captureV2';
23
24
  export * as Card from './card';
24
25
  export * as Code from './code';
25
26
  export * as Component from './component';
@@ -2,6 +2,7 @@ export * as _v1 from './_v1';
2
2
  export * as Api from './api';
3
3
  export * as Buttons from './buttons';
4
4
  export * as Capture from './capture';
5
+ export * as CaptureV2 from './captureV2';
5
6
  export * as Card from './card';
6
7
  export * as Code from './code';
7
8
  export * as Component from './component';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/node/index.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,GAAG,MAAM,OAAO,CAAC;AAC7B,OAAO,KAAK,GAAG,MAAM,OAAO,CAAC;AAC7B,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AACrC,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AACrC,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAC/B,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAC/B,OAAO,KAAK,SAAS,MAAM,aAAa,CAAC;AACzC,cAAc,aAAa,CAAC;AAC5B,OAAO,KAAK,SAAS,MAAM,aAAa,CAAC;AACzC,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAC/B,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAC/B,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AACrC,OAAO,KAAK,YAAY,MAAM,gBAAgB,CAAC;AAC/C,OAAO,KAAK,EAAE,MAAM,MAAM,CAAC;AAC3B,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAC/B,OAAO,KAAK,WAAW,MAAM,eAAe,CAAC;AAC7C,OAAO,KAAK,WAAW,MAAM,eAAe,CAAC;AAC7C,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AACjC,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,OAAO,MAAM,QAAQ,CAAC;AAClC,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,GAAG,MAAM,OAAO,CAAC;AAC7B,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAC/B,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/node/index.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,GAAG,MAAM,OAAO,CAAC;AAC7B,OAAO,KAAK,GAAG,MAAM,OAAO,CAAC;AAC7B,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AACrC,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AACrC,OAAO,KAAK,SAAS,MAAM,aAAa,CAAC;AACzC,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAC/B,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAC/B,OAAO,KAAK,SAAS,MAAM,aAAa,CAAC;AACzC,cAAc,aAAa,CAAC;AAC5B,OAAO,KAAK,SAAS,MAAM,aAAa,CAAC;AACzC,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAC/B,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAC/B,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AACrC,OAAO,KAAK,YAAY,MAAM,gBAAgB,CAAC;AAC/C,OAAO,KAAK,EAAE,MAAM,MAAM,CAAC;AAC3B,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAC/B,OAAO,KAAK,WAAW,MAAM,eAAe,CAAC;AAC7C,OAAO,KAAK,WAAW,MAAM,eAAe,CAAC;AAC7C,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AACjC,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,OAAO,MAAM,QAAQ,CAAC;AAClC,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,GAAG,MAAM,OAAO,CAAC;AAC7B,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAC/B,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC"}
@@ -13,6 +13,7 @@ export { TraceFrame as ChoiceTrace } from "../node/interaction";
13
13
  export { TraceFrame as SpeakTrace } from "../node/speak";
14
14
  export { TraceFrame as StreamTrace } from "../node/stream";
15
15
  export { TraceFrame as TextTrace } from "../node/text";
16
+ export { TraceType } from "../node/utils/trace";
16
17
  export { TraceFrame as VisualTrace } from "../node/visual";
17
18
  export interface DebugTracePayload {
18
19
  type?: string;
@@ -1,2 +1,2 @@
1
- export {};
1
+ export { TraceType } from "../node/utils/trace";
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/trace/index.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/trace/index.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,SAAS,EAAE,MAuDqH,qBAAqB,CAvD/G"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@voiceflow/base-types",
3
3
  "description": "Voiceflow base project types",
4
- "version": "2.4.2",
4
+ "version": "2.5.3",
5
5
  "author": "Voiceflow",
6
6
  "bugs": {
7
7
  "url": "https://github.com/voiceflow/libs/issues"
@@ -39,5 +39,5 @@
39
39
  "test:integration": "exit 0",
40
40
  "test:unit": "exit 0"
41
41
  },
42
- "gitHead": "e87ab086318dad7e1b0b37ee014e59ee3e9c3e73"
42
+ "gitHead": "0d0e14768d11f0a3f54476862f07cf038c612f04"
43
43
  }