@voiceflow/base-types 2.3.0 → 2.4.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/common/models/index.d.ts +1 -0
- package/build/common/models/index.js +1 -0
- package/build/common/models/index.js.map +1 -1
- package/build/common/models/shared.d.ts +2 -0
- package/build/common/models/shared.js.map +1 -1
- package/build/common/models/transcripts.d.ts +13 -0
- package/build/common/models/transcripts.js +3 -0
- package/build/common/models/transcripts.js.map +1 -0
- package/build/common/models/version.d.ts +7 -6
- package/build/common/node/capture.d.ts +2 -0
- package/build/esm/models/index.d.ts +1 -0
- package/build/esm/models/index.js +1 -0
- package/build/esm/models/index.js.map +1 -1
- package/build/esm/models/shared.d.ts +2 -0
- package/build/esm/models/shared.js.map +1 -1
- package/build/esm/models/transcripts.d.ts +13 -0
- package/build/esm/models/transcripts.js +2 -0
- package/build/esm/models/transcripts.js.map +1 -0
- package/build/esm/models/version.d.ts +7 -6
- package/build/esm/node/capture.d.ts +2 -0
- package/package.json +2 -2
|
@@ -16,5 +16,6 @@ __exportStar(require("./member"), exports);
|
|
|
16
16
|
__exportStar(require("./program"), exports);
|
|
17
17
|
__exportStar(require("./project"), exports);
|
|
18
18
|
__exportStar(require("./shared"), exports);
|
|
19
|
+
__exportStar(require("./transcripts"), exports);
|
|
19
20
|
__exportStar(require("./version"), exports);
|
|
20
21
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAAyB;AACzB,4CAA0B;AAC1B,2CAAyB;AACzB,4CAA0B;AAC1B,4CAA0B;AAC1B,2CAAyB;AACzB,4CAA0B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAAyB;AACzB,4CAA0B;AAC1B,2CAAyB;AACzB,4CAA0B;AAC1B,4CAA0B;AAC1B,2CAAyB;AACzB,gDAA8B;AAC9B,4CAA0B"}
|
|
@@ -13,6 +13,8 @@ export declare type CreatorID = number;
|
|
|
13
13
|
export declare type VersionID = string;
|
|
14
14
|
export declare type ProgramID = string;
|
|
15
15
|
export declare type DiagramID = string;
|
|
16
|
+
export declare type TranscriptID = string;
|
|
17
|
+
export declare type TurnID = string;
|
|
16
18
|
export interface IntentInput {
|
|
17
19
|
text: string;
|
|
18
20
|
slots?: string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared.js","sourceRoot":"","sources":["../../../src/models/shared.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"shared.js","sourceRoot":"","sources":["../../../src/models/shared.ts"],"names":[],"mappings":";;;AAkIA,IAAY,QAOX;AAPD,WAAY,QAAQ;IAClB,yBAAa,CAAA;IACb,yBAAa,CAAA;IACb,2BAAe,CAAA;IACf,iCAAqB,CAAA;IACrB,6BAAiB,CAAA;IACjB,iCAAqB,CAAA;AACvB,CAAC,EAPW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAOnB"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CreatorID, ProjectID, Timestamp, TranscriptID } from './shared';
|
|
2
|
+
export interface Transcript {
|
|
3
|
+
_id: TranscriptID;
|
|
4
|
+
sessionID: string;
|
|
5
|
+
createdAt: Timestamp;
|
|
6
|
+
unread: boolean;
|
|
7
|
+
device: string;
|
|
8
|
+
os: string;
|
|
9
|
+
browser: string;
|
|
10
|
+
reportTags: string[];
|
|
11
|
+
creatorID: CreatorID;
|
|
12
|
+
projectID: ProjectID;
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transcripts.js","sourceRoot":"","sources":["../../../src/models/transcripts.ts"],"names":[],"mappings":""}
|
|
@@ -69,10 +69,11 @@ export interface Version<P extends VersionPlatformData, C extends BaseCommand =
|
|
|
69
69
|
prototype?: VersionPrototype<C, L>;
|
|
70
70
|
platformData: P;
|
|
71
71
|
}
|
|
72
|
-
export interface
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
72
|
+
export interface VersionDiagramResponse {
|
|
73
|
+
blockID: string;
|
|
74
|
+
blockName: string;
|
|
75
|
+
diagramID: string;
|
|
76
|
+
blockColor: string;
|
|
77
|
+
diagramName: string;
|
|
78
|
+
blockContent: string;
|
|
78
79
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC"}
|
|
@@ -13,6 +13,8 @@ export declare type CreatorID = number;
|
|
|
13
13
|
export declare type VersionID = string;
|
|
14
14
|
export declare type ProgramID = string;
|
|
15
15
|
export declare type DiagramID = string;
|
|
16
|
+
export declare type TranscriptID = string;
|
|
17
|
+
export declare type TurnID = string;
|
|
16
18
|
export interface IntentInput {
|
|
17
19
|
text: string;
|
|
18
20
|
slots?: string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared.js","sourceRoot":"","sources":["../../../src/models/shared.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"shared.js","sourceRoot":"","sources":["../../../src/models/shared.ts"],"names":[],"mappings":"AAkIA,MAAM,CAAN,IAAY,QAOX;AAPD,WAAY,QAAQ;IAClB,yBAAa,CAAA;IACb,yBAAa,CAAA;IACb,2BAAe,CAAA;IACf,iCAAqB,CAAA;IACrB,6BAAiB,CAAA;IACjB,iCAAqB,CAAA;AACvB,CAAC,EAPW,QAAQ,KAAR,QAAQ,QAOnB"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CreatorID, ProjectID, Timestamp, TranscriptID } from './shared';
|
|
2
|
+
export interface Transcript {
|
|
3
|
+
_id: TranscriptID;
|
|
4
|
+
sessionID: string;
|
|
5
|
+
createdAt: Timestamp;
|
|
6
|
+
unread: boolean;
|
|
7
|
+
device: string;
|
|
8
|
+
os: string;
|
|
9
|
+
browser: string;
|
|
10
|
+
reportTags: string[];
|
|
11
|
+
creatorID: CreatorID;
|
|
12
|
+
projectID: ProjectID;
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transcripts.js","sourceRoot":"","sources":["../../../src/models/transcripts.ts"],"names":[],"mappings":""}
|
|
@@ -69,10 +69,11 @@ export interface Version<P extends VersionPlatformData, C extends BaseCommand =
|
|
|
69
69
|
prototype?: VersionPrototype<C, L>;
|
|
70
70
|
platformData: P;
|
|
71
71
|
}
|
|
72
|
-
export interface
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
72
|
+
export interface VersionDiagramResponse {
|
|
73
|
+
blockID: string;
|
|
74
|
+
blockName: string;
|
|
75
|
+
diagramID: string;
|
|
76
|
+
blockColor: string;
|
|
77
|
+
diagramName: string;
|
|
78
|
+
blockContent: string;
|
|
78
79
|
}
|
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
|
+
"version": "2.4.1",
|
|
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": "
|
|
42
|
+
"gitHead": "9ed6f2df5bb61109ea15448b5c3b4dda03ce2a10"
|
|
43
43
|
}
|