@voiceflow/alexa-types 2.14.42 → 2.14.43
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/node/capture.d.ts +1 -1
- package/build/cjs/node/captureV2.d.ts +1 -1
- package/build/cjs/node/interaction.d.ts +1 -1
- package/build/cjs/node/prompt.d.ts +1 -1
- package/build/cjs/node/speak.d.ts +1 -1
- package/build/cjs/package.json +1 -0
- package/build/cjs/project/product.d.ts +1 -1
- package/build/cjs/utils/node.d.ts +1 -1
- package/build/cjs/utils/node.js.map +1 -1
- package/build/cjs/utils/step.d.ts +1 -1
- package/build/cjs/utils/step.js.map +1 -1
- package/build/cjs/version/index.d.ts +2 -2
- package/build/cjs/version/index.js.map +1 -1
- package/build/cjs/version/prototype.d.ts +2 -2
- package/build/cjs/version/publishing.d.ts +1 -1
- package/build/cjs/version/publishing.js.map +1 -1
- package/build/cjs/version/settings.d.ts +1 -1
- package/build/cjs/version/settings.js.map +1 -1
- package/build/esm/constants/index.d.ts +5 -5
- package/build/esm/constants/index.js +5 -5
- package/build/esm/constants/mappings.d.ts +3 -3
- package/build/esm/constants/mappings.js +3 -3
- package/build/esm/constants/slots.d.ts +1 -1
- package/build/esm/constants/slots.js +1 -1
- package/build/esm/diagram.d.ts +1 -1
- package/build/esm/index.d.ts +8 -8
- package/build/esm/index.js +8 -8
- package/build/esm/node/accountLinking.d.ts +1 -1
- package/build/esm/node/cancelPayment.d.ts +1 -1
- package/build/esm/node/capture.d.ts +1 -1
- package/build/esm/node/captureV2.d.ts +1 -1
- package/build/esm/node/display.d.ts +1 -1
- package/build/esm/node/event.d.ts +1 -1
- package/build/esm/node/index.d.ts +29 -29
- package/build/esm/node/index.js +15 -15
- package/build/esm/node/interaction.d.ts +1 -1
- package/build/esm/node/payment.d.ts +1 -1
- package/build/esm/node/permission.d.ts +1 -1
- package/build/esm/node/prompt.d.ts +1 -1
- package/build/esm/node/reminder.d.ts +1 -1
- package/build/esm/node/speak.d.ts +1 -1
- package/build/esm/node/userInfo.d.ts +1 -1
- package/build/esm/package.json +1 -0
- package/build/esm/program.d.ts +1 -1
- package/build/esm/project/index.d.ts +4 -4
- package/build/esm/project/index.js +2 -2
- package/build/esm/project/product.d.ts +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 +1 -1
- package/build/esm/utils/node.js +1 -1
- package/build/esm/utils/node.js.map +1 -1
- package/build/esm/utils/step.d.ts +1 -1
- package/build/esm/utils/step.js +1 -1
- package/build/esm/utils/step.js.map +1 -1
- package/build/esm/version/index.d.ts +8 -8
- package/build/esm/version/index.js +6 -6
- package/build/esm/version/index.js.map +1 -1
- package/build/esm/version/prototype.d.ts +3 -3
- package/build/esm/version/publishing.d.ts +1 -1
- package/build/esm/version/publishing.js +1 -1
- package/build/esm/version/publishing.js.map +1 -1
- package/build/esm/version/settings.d.ts +1 -1
- package/build/esm/version/settings.js +1 -1
- package/build/esm/version/settings.js.map +1 -1
- package/build/tsconfig.build.tsbuildinfo +1 -1
- package/build/tsconfig.esm.tsbuildinfo +1 -1
- package/package.json +15 -14
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "type": "commonjs" }
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as Node from
|
|
1
|
+
import * as Node from '../node';
|
|
2
2
|
import { BaseNode } from '@voiceflow/base-types';
|
|
3
3
|
export declare const isSpeak: (value: BaseNode.Utils.BaseNode) => value is Node.Speak.Node;
|
|
4
4
|
export declare const isStream: (value: BaseNode.Utils.BaseNode) => value is Node.Stream.Node;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node.js","sourceRoot":"","sources":["../../../src/utils/node.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"node.js","sourceRoot":"","sources":["../../../src/utils/node.ts"],"names":[],"mappings":";;;;;;;;;;;;;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,CAAC,cAAc,CAAC,CAAC;AAC5G,QAAA,gBAAgB,GAAG,sBAAS,CAAC,IAAI,CAAC,mBAAmB,CAA2B,IAAI,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as Node from
|
|
1
|
+
import * as Node from '../node';
|
|
2
2
|
export declare const isSpeak: (value: import("@voiceflow/base-types/build/cjs/models").BaseDiagramNode<import("@voiceflow/base-types").AnyRecord>) => value is Node.Speak.Step;
|
|
3
3
|
export declare const isPrompt: (value: import("@voiceflow/base-types/build/cjs/models").BaseDiagramNode<import("@voiceflow/base-types").AnyRecord>) => value is Node.Prompt.Step;
|
|
4
4
|
export declare const isStream: (value: import("@voiceflow/base-types/build/cjs/models").BaseDiagramNode<import("@voiceflow/base-types").AnyRecord>) => value is Node.Stream.Step;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"step.js","sourceRoot":"","sources":["../../../src/utils/step.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"step.js","sourceRoot":"","sources":["../../../src/utils/step.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wDAA0C;AAC1C,sDAA4D;AAE/C,QAAA,OAAO,GAAG,sBAAS,CAAC,IAAI,CAAC,mBAAmB,CAAkB,qBAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;AACvF,QAAA,QAAQ,GAAG,sBAAS,CAAC,IAAI,CAAC,mBAAmB,CAAmB,qBAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;AAC1F,QAAA,QAAQ,GAAG,sBAAS,CAAC,IAAI,CAAC,mBAAmB,CAAmB,qBAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;AAC1F,QAAA,SAAS,GAAG,sBAAS,CAAC,IAAI,CAAC,mBAAmB,CAAoB,qBAAQ,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;AAC7F,QAAA,SAAS,GAAG,sBAAS,CAAC,IAAI,CAAC,mBAAmB,CAAoB,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;AACzF,QAAA,SAAS,GAAG,sBAAS,CAAC,IAAI,CAAC,mBAAmB,CAAoB,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;AACzF,QAAA,UAAU,GAAG,sBAAS,CAAC,IAAI,CAAC,mBAAmB,CAAqB,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;AAC5F,QAAA,UAAU,GAAG,sBAAS,CAAC,IAAI,CAAC,mBAAmB,CAAqB,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;AAC7F,QAAA,WAAW,GAAG,sBAAS,CAAC,IAAI,CAAC,mBAAmB,CAAsB,qBAAQ,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC;AACpG,QAAA,YAAY,GAAG,sBAAS,CAAC,IAAI,CAAC,mBAAmB,CAAuB,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC;AAClG,QAAA,aAAa,GAAG,sBAAS,CAAC,IAAI,CAAC,mBAAmB,CAAwB,qBAAQ,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC;AACzG,QAAA,eAAe,GAAG,sBAAS,CAAC,IAAI,CAAC,mBAAmB,CAA0B,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC;AAC5G,QAAA,gBAAgB,GAAG,sBAAS,CAAC,IAAI,CAAC,mBAAmB,CAA2B,IAAI,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Voice } from
|
|
2
|
-
import { AnyCommand } from
|
|
1
|
+
import { Voice } from '../constants';
|
|
2
|
+
import { AnyCommand } from '../node';
|
|
3
3
|
import { BaseModels, DeepPartialByKey } from '@voiceflow/base-types';
|
|
4
4
|
import { VoiceVersion } from '@voiceflow/voice-types';
|
|
5
5
|
import { VoiceflowConstants } from '@voiceflow/voiceflow-types';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/version/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/version/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sDAA+C;AAG/C,wDAAsD;AAItD,6CAA6D;AAC7D,yCAAuD;AAEvD,8CAA4B;AAC5B,+CAA6B;AAC7B,6CAA2B;AAE3B,qCAAqC;AAErC,IAAY,KAIX;AAJD,WAAY,KAAK;IACf,oBAAW,CAAA;IACX,sBAAa,CAAA;IACb,0BAAiB,CAAA;AACnB,CAAC,EAJW,KAAK,GAAL,aAAK,KAAL,aAAK,QAIhB;AAaM,MAAM,mBAAmB,GAAG,CAAC,EAKwB,EAAgB,EAAE;QAL1C,EAClC,MAAM,EAAE,EAAE,KAAK,GAAG,KAAK,CAAC,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,KAAK,CAAC,GAAG,EAAE,EACpD,QAAQ,EACR,UAAU,OAEgD,EADvD,kBAAkB,cAJa,oCAKnC,CADsB;IACwD,OAAA,iCAC1E,0BAAY,CAAC,mBAAmB,CAAQ,kBAAkB,EAAE,EAAE,kBAAkB,EAAE,iBAAK,CAAC,KAAK,EAAE,CAAC,KACnG,MAAM,EAAE,EAAE,KAAK,EAAE,EACjB,QAAQ,EAAE,IAAA,0BAAe,EAAC,QAAQ,CAAC,EACnC,UAAU,EAAE,IAAA,8BAAiB,EAAC,UAAU,CAAC,IACzC,CAAA;CAAA,CAAC;AAVU,QAAA,mBAAmB,uBAU7B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publishing.js","sourceRoot":"","sources":["../../../src/version/publishing.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"publishing.js","sourceRoot":"","sources":["../../../src/version/publishing.ts"],"names":[],"mappings":";;;AAAA,sDAAgD;AAwBzC,MAAM,iBAAiB,GAAG,CAAC,EAChC,cAAc,GAAG,EAAE,EACnB,WAAW,GAAG,KAAK,EACnB,SAAS,GAAG,IAAI,EAChB,MAAM,GAAG,KAAK,EACd,WAAW,GAAG,KAAK,EACnB,QAAQ,GAAG,KAAK,EAChB,SAAS,GAAG,EAAE,EACd,SAAS,GAAG,EAAE,EACd,WAAW,GAAG,EAAE,EAChB,OAAO,GAAG,EAAE,EACZ,WAAW,GAAG,EAAE,EAChB,YAAY,GAAG,EAAE,EACjB,aAAa,GAAG,EAAE,EAClB,kBAAkB,GAAG,EAAE,EACvB,QAAQ,GAAG,EAAE,EACb,QAAQ,GAAG,EAAE,EACb,OAAO,GAAG,CAAC,kBAAM,CAAC,KAAK,CAAC,EACxB,kBAAkB,MACK,EAAE,EAAc,EAAE,CAAC,CAAC;IAC3C,OAAO;IACP,WAAW;IACX,SAAS;IACT,SAAS;IACT,MAAM;IACN,QAAQ;IACR,SAAS;IACT,cAAc;IACd,WAAW;IACX,WAAW;IACX,WAAW;IACX,YAAY;IACZ,aAAa;IACb,kBAAkB;IAClB,QAAQ;IACR,QAAQ;IACR,OAAO;IACP,kBAAkB;CACnB,CAAC,CAAC;AAtCU,QAAA,iBAAiB,qBAsC3B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings.js","sourceRoot":"","sources":["../../../src/version/settings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"settings.js","sourceRoot":"","sources":["../../../src/version/settings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,sDAA+C;AAE/C,wDAAsD;AAGtD,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC5B,2CAAqB,CAAA;IACrB,6CAAuB,CAAA;AACzB,CAAC,EAHW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAk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ACN,WAAW,EACX,cAAc,EAAE,IAAA,6BAAqB,EAAC,cAAc,CAAC,EACrD,eAAe;QACf,gBAAgB,IAChB,CAAA;CAAA,CAAC;AAdU,QAAA,eAAe,mBAczB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from './apl';
|
|
2
|
-
export * from './base';
|
|
3
|
-
export * from './intents';
|
|
4
|
-
export * from './mappings';
|
|
5
|
-
export * from './slots';
|
|
1
|
+
export * from './apl.js';
|
|
2
|
+
export * from './base.js';
|
|
3
|
+
export * from './intents.js';
|
|
4
|
+
export * from './mappings.js';
|
|
5
|
+
export * from './slots.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from './apl';
|
|
2
|
-
export * from './base';
|
|
3
|
-
export * from './intents';
|
|
4
|
-
export * from './mappings';
|
|
5
|
-
export * from './slots';
|
|
1
|
+
export * from './apl.js';
|
|
2
|
+
export * from './base.js';
|
|
3
|
+
export * from './intents.js';
|
|
4
|
+
export * from './mappings.js';
|
|
5
|
+
export * from './slots.js';
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VoiceflowConstants } from '@voiceflow/voiceflow-types';
|
|
2
|
-
import { Locale } from './base';
|
|
3
|
-
import { AmazonIntent } from './intents';
|
|
4
|
-
import { SlotType } from './slots';
|
|
2
|
+
import { Locale } from './base.js';
|
|
3
|
+
import { AmazonIntent } from './intents.js';
|
|
4
|
+
import { SlotType } from './slots.js';
|
|
5
5
|
export declare const AmazonToVoiceflowIntentMap: Partial<Record<AmazonIntent, VoiceflowConstants.IntentName>>;
|
|
6
6
|
export declare const VoiceflowToAmazonIntentMap: Partial<Record<VoiceflowConstants.IntentName, AmazonIntent>>;
|
|
7
7
|
export declare const AmazonToVoiceflowSlotMap: Partial<Record<SlotType, VoiceflowConstants.SlotType>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VoiceflowConstants } from '@voiceflow/voiceflow-types';
|
|
2
|
-
import { Locale } from './base';
|
|
3
|
-
import { AmazonIntent } from './intents';
|
|
4
|
-
import { SlotType } from './slots';
|
|
2
|
+
import { Locale } from './base.js';
|
|
3
|
+
import { AmazonIntent } from './intents.js';
|
|
4
|
+
import { SlotType } from './slots.js';
|
|
5
5
|
export const AmazonToVoiceflowIntentMap = {
|
|
6
6
|
[AmazonIntent.NO]: VoiceflowConstants.IntentName.NO,
|
|
7
7
|
[AmazonIntent.YES]: VoiceflowConstants.IntentName.YES,
|
package/build/esm/diagram.d.ts
CHANGED
package/build/esm/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export * as AlexaConstants from './constants';
|
|
2
|
-
export * as AlexaDiagram from './diagram';
|
|
3
|
-
export * as AlexaModels from './models';
|
|
4
|
-
export * as AlexaNode from './node';
|
|
5
|
-
export * as AlexaProgram from './program';
|
|
6
|
-
export * as AlexaProject from './project';
|
|
7
|
-
export * as AlexaUtils from './utils';
|
|
8
|
-
export * as AlexaVersion from './version';
|
|
1
|
+
export * as AlexaConstants from './constants/index.js';
|
|
2
|
+
export * as AlexaDiagram from './diagram.js';
|
|
3
|
+
export * as AlexaModels from './models.js';
|
|
4
|
+
export * as AlexaNode from './node/index.js';
|
|
5
|
+
export * as AlexaProgram from './program.js';
|
|
6
|
+
export * as AlexaProject from './project/index.js';
|
|
7
|
+
export * as AlexaUtils from './utils/index.js';
|
|
8
|
+
export * as AlexaVersion from './version/index.js';
|
package/build/esm/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export * as AlexaConstants from './constants';
|
|
2
|
-
export * as AlexaDiagram from './diagram';
|
|
3
|
-
export * as AlexaModels from './models';
|
|
4
|
-
export * as AlexaNode from './node';
|
|
5
|
-
export * as AlexaProgram from './program';
|
|
6
|
-
export * as AlexaProject from './project';
|
|
7
|
-
export * as AlexaUtils from './utils';
|
|
8
|
-
export * as AlexaVersion from './version';
|
|
1
|
+
export * as AlexaConstants from './constants/index.js';
|
|
2
|
+
export * as AlexaDiagram from './diagram.js';
|
|
3
|
+
export * as AlexaModels from './models.js';
|
|
4
|
+
export * as AlexaNode from './node/index.js';
|
|
5
|
+
export * as AlexaProgram from './program.js';
|
|
6
|
+
export * as AlexaProject from './project/index.js';
|
|
7
|
+
export * as AlexaUtils from './utils/index.js';
|
|
8
|
+
export * as AlexaVersion from './version/index.js';
|
|
9
9
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseNode } from '@voiceflow/base-types';
|
|
2
2
|
import { Struct } from '@voiceflow/common';
|
|
3
|
-
import { NodeType } from './constants';
|
|
3
|
+
import { NodeType } from './constants.js';
|
|
4
4
|
export declare type StepData = Struct;
|
|
5
5
|
export interface Step extends BaseNode.Utils.BaseStep<StepData> {
|
|
6
6
|
type: NodeType.ACCOUNT_LINKING;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseNode } from '@voiceflow/base-types';
|
|
2
|
-
import { NodeType } from './constants';
|
|
2
|
+
import { NodeType } from './constants.js';
|
|
3
3
|
export interface StepData extends Omit<BaseNode.Visual.APLStepData, 'visualType' | 'aplType'> {
|
|
4
4
|
type: BaseNode.Visual.APLType;
|
|
5
5
|
}
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import { BaseNode } from '@voiceflow/base-types';
|
|
2
|
-
import * as AccountLinking from './accountLinking';
|
|
3
|
-
import * as CancelPayment from './cancelPayment';
|
|
4
|
-
import * as Capture from './capture';
|
|
5
|
-
import * as CaptureV2 from './captureV2';
|
|
6
|
-
import * as Display from './display';
|
|
7
|
-
import * as Event from './event';
|
|
8
|
-
import * as Interaction from './interaction';
|
|
9
|
-
import * as Payment from './payment';
|
|
10
|
-
import * as Permission from './permission';
|
|
11
|
-
import * as Prompt from './prompt';
|
|
12
|
-
import * as Reminder from './reminder';
|
|
13
|
-
import * as Speak from './speak';
|
|
14
|
-
import * as Stream from './stream';
|
|
15
|
-
import * as UserInfo from './userInfo';
|
|
16
|
-
export * as AccountLinking from './accountLinking';
|
|
17
|
-
export * as CancelPayment from './cancelPayment';
|
|
18
|
-
export * as Capture from './capture';
|
|
19
|
-
export * as CaptureV2 from './captureV2';
|
|
20
|
-
export * from './constants';
|
|
21
|
-
export * as Display from './display';
|
|
22
|
-
export * as Event from './event';
|
|
23
|
-
export * as Interaction from './interaction';
|
|
24
|
-
export * as Payment from './payment';
|
|
25
|
-
export * as Permission from './permission';
|
|
26
|
-
export * as Prompt from './prompt';
|
|
27
|
-
export * as Reminder from './reminder';
|
|
28
|
-
export * as Speak from './speak';
|
|
29
|
-
export * as Stream from './stream';
|
|
30
|
-
export * as UserInfo from './userInfo';
|
|
2
|
+
import * as AccountLinking from './accountLinking.js';
|
|
3
|
+
import * as CancelPayment from './cancelPayment.js';
|
|
4
|
+
import * as Capture from './capture.js';
|
|
5
|
+
import * as CaptureV2 from './captureV2.js';
|
|
6
|
+
import * as Display from './display.js';
|
|
7
|
+
import * as Event from './event.js';
|
|
8
|
+
import * as Interaction from './interaction.js';
|
|
9
|
+
import * as Payment from './payment.js';
|
|
10
|
+
import * as Permission from './permission.js';
|
|
11
|
+
import * as Prompt from './prompt.js';
|
|
12
|
+
import * as Reminder from './reminder.js';
|
|
13
|
+
import * as Speak from './speak.js';
|
|
14
|
+
import * as Stream from './stream.js';
|
|
15
|
+
import * as UserInfo from './userInfo.js';
|
|
16
|
+
export * as AccountLinking from './accountLinking.js';
|
|
17
|
+
export * as CancelPayment from './cancelPayment.js';
|
|
18
|
+
export * as Capture from './capture.js';
|
|
19
|
+
export * as CaptureV2 from './captureV2.js';
|
|
20
|
+
export * from './constants.js';
|
|
21
|
+
export * as Display from './display.js';
|
|
22
|
+
export * as Event from './event.js';
|
|
23
|
+
export * as Interaction from './interaction.js';
|
|
24
|
+
export * as Payment from './payment.js';
|
|
25
|
+
export * as Permission from './permission.js';
|
|
26
|
+
export * as Prompt from './prompt.js';
|
|
27
|
+
export * as Reminder from './reminder.js';
|
|
28
|
+
export * as Speak from './speak.js';
|
|
29
|
+
export * as Stream from './stream.js';
|
|
30
|
+
export * as UserInfo from './userInfo.js';
|
|
31
31
|
export declare type AnyExtendedStep = Speak.Step | Prompt.Step | Capture.Step | CaptureV2.Step | Interaction.Step | Stream.Step;
|
|
32
32
|
export declare type AnyExtendedNode = Speak.Node | Capture.Node | CaptureV2.Node | Interaction.Node | Stream.Node;
|
|
33
33
|
export declare type AnyOnlyStep = AccountLinking.Step | Permission.Step | Reminder.Step | UserInfo.Step | Event.Step | Payment.Step | CancelPayment.Step | Display.Step;
|
package/build/esm/node/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export * as AccountLinking from './accountLinking';
|
|
2
|
-
export * as CancelPayment from './cancelPayment';
|
|
3
|
-
export * as Capture from './capture';
|
|
4
|
-
export * as CaptureV2 from './captureV2';
|
|
5
|
-
export * from './constants';
|
|
6
|
-
export * as Display from './display';
|
|
7
|
-
export * as Event from './event';
|
|
8
|
-
export * as Interaction from './interaction';
|
|
9
|
-
export * as Payment from './payment';
|
|
10
|
-
export * as Permission from './permission';
|
|
11
|
-
export * as Prompt from './prompt';
|
|
12
|
-
export * as Reminder from './reminder';
|
|
13
|
-
export * as Speak from './speak';
|
|
14
|
-
export * as Stream from './stream';
|
|
15
|
-
export * as UserInfo from './userInfo';
|
|
1
|
+
export * as AccountLinking from './accountLinking.js';
|
|
2
|
+
export * as CancelPayment from './cancelPayment.js';
|
|
3
|
+
export * as Capture from './capture.js';
|
|
4
|
+
export * as CaptureV2 from './captureV2.js';
|
|
5
|
+
export * from './constants.js';
|
|
6
|
+
export * as Display from './display.js';
|
|
7
|
+
export * as Event from './event.js';
|
|
8
|
+
export * as Interaction from './interaction.js';
|
|
9
|
+
export * as Payment from './payment.js';
|
|
10
|
+
export * as Permission from './permission.js';
|
|
11
|
+
export * as Prompt from './prompt.js';
|
|
12
|
+
export * as Reminder from './reminder.js';
|
|
13
|
+
export * as Speak from './speak.js';
|
|
14
|
+
export * as Stream from './stream.js';
|
|
15
|
+
export * as UserInfo from './userInfo.js';
|
|
16
16
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseNode } from '@voiceflow/base-types';
|
|
2
2
|
import { v1 } from 'ask-smapi-model';
|
|
3
|
-
import { NodeType, PermissionType } from './constants';
|
|
3
|
+
import { NodeType, PermissionType } from './constants.js';
|
|
4
4
|
export interface StepData {
|
|
5
5
|
permissions: PermissionType[];
|
|
6
6
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "type": "module" }
|
package/build/esm/program.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { VoiceProject } from '@voiceflow/voice-types';
|
|
2
|
-
import { MemberPlatformData } from './member';
|
|
3
|
-
import { Product } from './product';
|
|
4
|
-
export * from './member';
|
|
5
|
-
export * from './product';
|
|
2
|
+
import { MemberPlatformData } from './member.js';
|
|
3
|
+
import { Product } from './product.js';
|
|
4
|
+
export * from './member.js';
|
|
5
|
+
export * from './product.js';
|
|
6
6
|
export interface PlatformData {
|
|
7
7
|
products: Record<string, Product>;
|
|
8
8
|
}
|
|
@@ -10,8 +10,8 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
10
10
|
return t;
|
|
11
11
|
};
|
|
12
12
|
import { VoiceProject } from '@voiceflow/voice-types';
|
|
13
|
-
export * from './member';
|
|
14
|
-
export * from './product';
|
|
13
|
+
export * from './member.js';
|
|
14
|
+
export * from './product.js';
|
|
15
15
|
export const defaultPlatformData = (_a = {}) => {
|
|
16
16
|
var { products = {} } = _a, data = __rest(_a, ["products"]);
|
|
17
17
|
return (Object.assign(Object.assign({}, VoiceProject.defaultPlatformData(data)), { products }));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * as invocationName from './invocationName';
|
|
2
|
-
export * as node from './node';
|
|
3
|
-
export * as step from './step';
|
|
4
|
-
export * from './invocationName';
|
|
1
|
+
export * as invocationName from './invocationName.js';
|
|
2
|
+
export * as node from './node.js';
|
|
3
|
+
export * as step from './step.js';
|
|
4
|
+
export * from './invocationName.js';
|
package/build/esm/utils/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * as invocationName from './invocationName';
|
|
2
|
-
export * as node from './node';
|
|
3
|
-
export * as step from './step';
|
|
1
|
+
export * as invocationName from './invocationName.js';
|
|
2
|
+
export * as node from './node.js';
|
|
3
|
+
export * as step from './step.js';
|
|
4
4
|
// TODO: remove after code migration
|
|
5
|
-
export * from './invocationName';
|
|
5
|
+
export * from './invocationName.js';
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as Node from
|
|
1
|
+
import * as Node from '../node/index.js';
|
|
2
2
|
import { BaseNode } from '@voiceflow/base-types';
|
|
3
3
|
export declare const isSpeak: (value: BaseNode.Utils.BaseNode) => value is Node.Speak.Node;
|
|
4
4
|
export declare const isStream: (value: BaseNode.Utils.BaseNode) => value is Node.Stream.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 { BaseNode, BaseUtils } from '@voiceflow/base-types';
|
|
3
3
|
export const isSpeak = BaseUtils.node.createNodeTypeguard(BaseNode.NodeType.SPEAK);
|
|
4
4
|
export const isStream = BaseUtils.node.createNodeTypeguard(BaseNode.NodeType.STREAM);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node.js","sourceRoot":"","sources":["../../../src/utils/node.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,
|
|
1
|
+
{"version":3,"file":"node.js","sourceRoot":"","sources":["../../../src/utils/node.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC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Ae,GAAG,SAAS,CAAC,IAAI,CAAC,mBAAmB,CAA0B,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC;AACzH,MAAM,CAAC,MAAM,gBAAgB,GAAG,SAAS,CAAC,IAAI,CAAC,mBAAmB,CAA2B,IAAI,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as Node from
|
|
1
|
+
import * as Node from '../node/index.js';
|
|
2
2
|
export declare const isSpeak: (value: import("@voiceflow/base-types/build/cjs/models").BaseDiagramNode<import("@voiceflow/base-types").AnyRecord>) => value is Node.Speak.Step;
|
|
3
3
|
export declare const isPrompt: (value: import("@voiceflow/base-types/build/cjs/models").BaseDiagramNode<import("@voiceflow/base-types").AnyRecord>) => value is Node.Prompt.Step;
|
|
4
4
|
export declare const isStream: (value: import("@voiceflow/base-types/build/cjs/models").BaseDiagramNode<import("@voiceflow/base-types").AnyRecord>) => value is Node.Stream.Step;
|
package/build/esm/utils/step.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as Node from
|
|
1
|
+
import * as Node from '../node/index.js';
|
|
2
2
|
import { BaseNode, BaseUtils } from '@voiceflow/base-types';
|
|
3
3
|
export const isSpeak = BaseUtils.step.createStepTypeguard(BaseNode.NodeType.SPEAK);
|
|
4
4
|
export const isPrompt = BaseUtils.step.createStepTypeguard(BaseNode.NodeType.PROMPT);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"step.js","sourceRoot":"","sources":["../../../src/utils/step.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,
|
|
1
|
+
{"version":3,"file":"step.js","sourceRoot":"","sources":["../../../src/utils/step.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAE5D,MAAM,CAAC,MAAM,OAAO,GAA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BAAmB,CAAwB,QAAQ,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC;AACtH,MAAM,CAAC,MAAM,eAAe,GAAG,SAAS,CAAC,IAAI,CAAC,mBAAmB,CAA0B,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC;AACzH,MAAM,CAAC,MAAM,gBAAgB,GAAG,SAAS,CAAC,IAAI,CAAC,mBAAmB,CAA2B,IAAI,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { Voice } from
|
|
2
|
-
import { AnyCommand } from
|
|
1
|
+
import { Voice } from '../constants/index.js';
|
|
2
|
+
import { AnyCommand } from '../node/index.js';
|
|
3
3
|
import { BaseModels, DeepPartialByKey } from '@voiceflow/base-types';
|
|
4
4
|
import { VoiceVersion } from '@voiceflow/voice-types';
|
|
5
5
|
import { VoiceflowConstants } from '@voiceflow/voiceflow-types';
|
|
6
|
-
import { AlexaSurveyContextExtension } from './prototype';
|
|
7
|
-
import { Publishing } from './publishing';
|
|
8
|
-
import { Settings } from './settings';
|
|
9
|
-
export * from './prototype';
|
|
10
|
-
export * from './publishing';
|
|
11
|
-
export * from './settings';
|
|
6
|
+
import { AlexaSurveyContextExtension } from './prototype.js';
|
|
7
|
+
import { Publishing } from './publishing.js';
|
|
8
|
+
import { Settings } from './settings.js';
|
|
9
|
+
export * from './prototype.js';
|
|
10
|
+
export * from './publishing.js';
|
|
11
|
+
export * from './settings.js';
|
|
12
12
|
export declare enum Stage {
|
|
13
13
|
DEV = "DEV",
|
|
14
14
|
LIVE = "LIVE",
|