@voiceflow/alexa-types 2.2.9 → 2.2.13
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/node/capture.d.ts +3 -0
- package/build/common/node/captureV2.d.ts +8 -0
- package/build/common/node/captureV2.js +4 -0
- package/build/common/node/captureV2.js.map +1 -0
- package/build/common/node/index.d.ts +4 -2
- package/build/common/node/index.js +2 -1
- package/build/common/node/index.js.map +1 -1
- package/build/esm/node/capture.d.ts +3 -0
- package/build/esm/node/captureV2.d.ts +8 -0
- package/build/esm/node/captureV2.js +3 -0
- package/build/esm/node/captureV2.js.map +1 -0
- package/build/esm/node/index.d.ts +4 -2
- package/build/esm/node/index.js +1 -0
- package/build/esm/node/index.js.map +1 -1
- package/package.json +5 -5
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { Node } from '@voiceflow/voice-types';
|
|
2
2
|
import { Voice } from "../constants";
|
|
3
|
+
/** @deprecated */
|
|
3
4
|
export interface StepData extends Node.Capture.StepData<Voice> {
|
|
4
5
|
}
|
|
6
|
+
/** @deprecated */
|
|
5
7
|
export interface Step extends Node.Capture.Step<StepData> {
|
|
6
8
|
}
|
|
9
|
+
/** @deprecated */
|
|
7
10
|
export interface Node extends Node.Capture.Node {
|
|
8
11
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Node } from '@voiceflow/voice-types';
|
|
2
|
+
import { Voice } from "../constants";
|
|
3
|
+
export interface StepData extends Node.CaptureV2.StepData<Voice> {
|
|
4
|
+
}
|
|
5
|
+
export interface Step extends Node.CaptureV2.Step<StepData> {
|
|
6
|
+
}
|
|
7
|
+
export interface Node extends Node.CaptureV2.Node {
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"captureV2.js","sourceRoot":"","sources":["../../../src/node/captureV2.ts"],"names":[],"mappings":";AAAA,0DAA0D"}
|
|
@@ -2,6 +2,7 @@ import { Node } from '@voiceflow/base-types';
|
|
|
2
2
|
import * as AccountLinking from './accountLinking';
|
|
3
3
|
import * as CancelPayment from './cancelPayment';
|
|
4
4
|
import * as Capture from './capture';
|
|
5
|
+
import * as CaptureV2 from './captureV2';
|
|
5
6
|
import * as Display from './display';
|
|
6
7
|
import * as Event from './event';
|
|
7
8
|
import * as Interaction from './interaction';
|
|
@@ -15,6 +16,7 @@ import * as UserInfo from './userInfo';
|
|
|
15
16
|
export * as AccountLinking from './accountLinking';
|
|
16
17
|
export * as CancelPayment from './cancelPayment';
|
|
17
18
|
export * as Capture from './capture';
|
|
19
|
+
export * as CaptureV2 from './captureV2';
|
|
18
20
|
export * from './constants';
|
|
19
21
|
export * as Display from './display';
|
|
20
22
|
export * as Event from './event';
|
|
@@ -26,8 +28,8 @@ export * as Reminder from './reminder';
|
|
|
26
28
|
export * as Speak from './speak';
|
|
27
29
|
export * as Stream from './stream';
|
|
28
30
|
export * as UserInfo from './userInfo';
|
|
29
|
-
export declare type AnyAlexaExtendedStep = Speak.Step | Prompt.Step | Capture.Step | Interaction.Step | Stream.Step;
|
|
30
|
-
export declare type AnyAlexaExtendedNode = Speak.Node | Capture.Node | Interaction.Node | Stream.Node;
|
|
31
|
+
export declare type AnyAlexaExtendedStep = Speak.Step | Prompt.Step | Capture.Step | CaptureV2.Step | Interaction.Step | Stream.Step;
|
|
32
|
+
export declare type AnyAlexaExtendedNode = Speak.Node | Capture.Node | CaptureV2.Node | Interaction.Node | Stream.Node;
|
|
31
33
|
export declare type AnyAlexaOnlyStep = AccountLinking.Step | Permission.Step | Reminder.Step | UserInfo.Step | Event.Step | Payment.Step | CancelPayment.Step | Display.Step;
|
|
32
34
|
export declare type AnyAlexaOnlyNode = AccountLinking.Node | Permission.Node | Reminder.Node | UserInfo.Node | Payment.Node | CancelPayment.Node | Display.Node;
|
|
33
35
|
export declare type AnyAlexaStep = Node.AnyCommonStep | AnyAlexaExtendedStep | AnyAlexaOnlyStep | Node.Directive.Step | Node.Card.Step;
|
|
@@ -22,10 +22,11 @@ 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.UserInfo = exports.Stream = exports.Speak = exports.Reminder = exports.Prompt = exports.Permission = exports.Payment = exports.Interaction = exports.Event = exports.Display = exports.Capture = exports.CancelPayment = exports.AccountLinking = void 0;
|
|
25
|
+
exports.UserInfo = exports.Stream = exports.Speak = exports.Reminder = exports.Prompt = exports.Permission = exports.Payment = exports.Interaction = exports.Event = exports.Display = exports.CaptureV2 = exports.Capture = exports.CancelPayment = exports.AccountLinking = void 0;
|
|
26
26
|
exports.AccountLinking = __importStar(require("./accountLinking"));
|
|
27
27
|
exports.CancelPayment = __importStar(require("./cancelPayment"));
|
|
28
28
|
exports.Capture = __importStar(require("./capture"));
|
|
29
|
+
exports.CaptureV2 = __importStar(require("./captureV2"));
|
|
29
30
|
__exportStar(require("./constants"), exports);
|
|
30
31
|
exports.Display = __importStar(require("./display"));
|
|
31
32
|
exports.Event = __importStar(require("./event"));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/node/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/node/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAiBA,mEAAmD;AACnD,iEAAiD;AACjD,qDAAqC;AACrC,yDAAyC;AACzC,8CAA4B;AAC5B,qDAAqC;AACrC,iDAAiC;AACjC,6DAA6C;AAC7C,qDAAqC;AACrC,2DAA2C;AAC3C,mDAAmC;AACnC,uDAAuC;AACvC,iDAAiC;AACjC,mDAAmC;AACnC,uDAAuC"}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { Node } from '@voiceflow/voice-types';
|
|
2
2
|
import { Voice } from "../constants";
|
|
3
|
+
/** @deprecated */
|
|
3
4
|
export interface StepData extends Node.Capture.StepData<Voice> {
|
|
4
5
|
}
|
|
6
|
+
/** @deprecated */
|
|
5
7
|
export interface Step extends Node.Capture.Step<StepData> {
|
|
6
8
|
}
|
|
9
|
+
/** @deprecated */
|
|
7
10
|
export interface Node extends Node.Capture.Node {
|
|
8
11
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Node } from '@voiceflow/voice-types';
|
|
2
|
+
import { Voice } from "../constants";
|
|
3
|
+
export interface StepData extends Node.CaptureV2.StepData<Voice> {
|
|
4
|
+
}
|
|
5
|
+
export interface Step extends Node.CaptureV2.Step<StepData> {
|
|
6
|
+
}
|
|
7
|
+
export interface Node extends Node.CaptureV2.Node {
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"captureV2.js","sourceRoot":"","sources":["../../../src/node/captureV2.ts"],"names":[],"mappings":"AAAA,0DAA0D"}
|
|
@@ -2,6 +2,7 @@ import { Node } from '@voiceflow/base-types';
|
|
|
2
2
|
import * as AccountLinking from './accountLinking';
|
|
3
3
|
import * as CancelPayment from './cancelPayment';
|
|
4
4
|
import * as Capture from './capture';
|
|
5
|
+
import * as CaptureV2 from './captureV2';
|
|
5
6
|
import * as Display from './display';
|
|
6
7
|
import * as Event from './event';
|
|
7
8
|
import * as Interaction from './interaction';
|
|
@@ -15,6 +16,7 @@ import * as UserInfo from './userInfo';
|
|
|
15
16
|
export * as AccountLinking from './accountLinking';
|
|
16
17
|
export * as CancelPayment from './cancelPayment';
|
|
17
18
|
export * as Capture from './capture';
|
|
19
|
+
export * as CaptureV2 from './captureV2';
|
|
18
20
|
export * from './constants';
|
|
19
21
|
export * as Display from './display';
|
|
20
22
|
export * as Event from './event';
|
|
@@ -26,8 +28,8 @@ export * as Reminder from './reminder';
|
|
|
26
28
|
export * as Speak from './speak';
|
|
27
29
|
export * as Stream from './stream';
|
|
28
30
|
export * as UserInfo from './userInfo';
|
|
29
|
-
export declare type AnyAlexaExtendedStep = Speak.Step | Prompt.Step | Capture.Step | Interaction.Step | Stream.Step;
|
|
30
|
-
export declare type AnyAlexaExtendedNode = Speak.Node | Capture.Node | Interaction.Node | Stream.Node;
|
|
31
|
+
export declare type AnyAlexaExtendedStep = Speak.Step | Prompt.Step | Capture.Step | CaptureV2.Step | Interaction.Step | Stream.Step;
|
|
32
|
+
export declare type AnyAlexaExtendedNode = Speak.Node | Capture.Node | CaptureV2.Node | Interaction.Node | Stream.Node;
|
|
31
33
|
export declare type AnyAlexaOnlyStep = AccountLinking.Step | Permission.Step | Reminder.Step | UserInfo.Step | Event.Step | Payment.Step | CancelPayment.Step | Display.Step;
|
|
32
34
|
export declare type AnyAlexaOnlyNode = AccountLinking.Node | Permission.Node | Reminder.Node | UserInfo.Node | Payment.Node | CancelPayment.Node | Display.Node;
|
|
33
35
|
export declare type AnyAlexaStep = Node.AnyCommonStep | AnyAlexaExtendedStep | AnyAlexaOnlyStep | Node.Directive.Step | Node.Card.Step;
|
package/build/esm/node/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * as AccountLinking from './accountLinking';
|
|
2
2
|
export * as CancelPayment from './cancelPayment';
|
|
3
3
|
export * as Capture from './capture';
|
|
4
|
+
export * as CaptureV2 from './captureV2';
|
|
4
5
|
export * from './constants';
|
|
5
6
|
export * as Display from './display';
|
|
6
7
|
export * as Event from './event';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/node/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/node/index.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,cAAc,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK,aAAa,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AACrC,OAAO,KAAK,SAAS,MAAM,aAAa,CAAC;AACzC,cAAc,aAAa,CAAC;AAC5B,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AACrC,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,OAAO,KAAK,WAAW,MAAM,eAAe,CAAC;AAC7C,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AACrC,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,QAAQ,MAAM,YAAY,CAAC;AACvC,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,QAAQ,MAAM,YAAY,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voiceflow/alexa-types",
|
|
3
3
|
"description": "Alexa service types",
|
|
4
|
-
"version": "2.2.
|
|
4
|
+
"version": "2.2.13",
|
|
5
5
|
"author": "Voiceflow",
|
|
6
6
|
"bugs": {
|
|
7
7
|
"url": "https://github.com/voiceflow/libs/issues"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@voiceflow/base-types": "^2.5.
|
|
10
|
+
"@voiceflow/base-types": "^2.5.5",
|
|
11
11
|
"@voiceflow/common": "^7.12.0",
|
|
12
|
-
"@voiceflow/general-types": "^3.2.
|
|
13
|
-
"@voiceflow/voice-types": "^2.1.
|
|
12
|
+
"@voiceflow/general-types": "^3.2.11",
|
|
13
|
+
"@voiceflow/voice-types": "^2.1.11",
|
|
14
14
|
"ask-smapi-model": "1.14.0"
|
|
15
15
|
},
|
|
16
16
|
"files": [
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"test:integration": "exit 0",
|
|
44
44
|
"test:unit": "exit 0"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "7df148fb4847db870fb03fa7161f0236fe81163a"
|
|
47
47
|
}
|