New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@voiceflow/voice-types

Package Overview
Dependencies
Maintainers
15
Versions
339
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@voiceflow/voice-types - npm Package Compare versions

Comparing version 1.3.3 to 1.4.0

16

build/types.d.ts

@@ -0,1 +1,2 @@

import type * as ApiSDK from '@voiceflow/api-sdk';
export interface Prompt<V> {

@@ -6,1 +7,16 @@ desc?: string;

}
export interface IntentInput extends ApiSDK.IntentInput {
text: string;
}
export interface IntentSlotDialog extends ApiSDK.IntentSlotDialog {
prompt: IntentInput[];
confirm: IntentInput[];
utterances: IntentInput[];
}
export interface IntentSlot extends ApiSDK.IntentSlot {
dialog: IntentSlotDialog;
}
export interface Intent extends ApiSDK.Intent {
slots?: IntentSlot[];
inputs: IntentInput[];
}

5

build/version/index.d.ts
import { Version } from '@voiceflow/base-types';
import { Prompt } from "../types";
import { Intent, Prompt } from "../types";
import { VoiceVersionSettings } from './settings';
export * from './settings';
export interface VoiceVersionData<Voice> extends Version.BaseVersionData<Prompt<Voice>> {
intents: Intent[];
settings: VoiceVersionSettings<Voice>;
}
export declare const defaultVoiceVersionData: <Voice>({ settings, ...data }: Partial<VoiceVersionData<Voice>>, options: {
export declare const defaultVoiceVersionData: <Voice>({ intents, settings, ...data }: Partial<VoiceVersionData<Voice>>, options: {
defaultPromptVoice: Voice;

@@ -10,0 +11,0 @@ }) => VoiceVersionData<Voice>;

4

build/version/index.js

@@ -29,6 +29,6 @@ "use strict";

const defaultVoiceVersionData = (_a, options) => {
var { settings } = _a, data = __rest(_a, ["settings"]);
return (Object.assign(Object.assign({}, base_types_1.Version.defaultBaseVersionData(data)), { settings: settings_1.defaultVoiceVersionSettings(settings, options) }));
var { intents = [], settings } = _a, data = __rest(_a, ["intents", "settings"]);
return (Object.assign(Object.assign({}, base_types_1.Version.defaultBaseVersionData(data)), { intents, settings: settings_1.defaultVoiceVersionSettings(settings, options) }));
};
exports.defaultVoiceVersionData = defaultVoiceVersionData;
//# sourceMappingURL=index.js.map
{
"name": "@voiceflow/voice-types",
"description": "Voiceflow voice project types",
"version": "1.3.3",
"version": "1.4.0",
"author": "Voiceflow",

@@ -10,4 +10,4 @@ "bugs": {

"dependencies": {
"@voiceflow/api-sdk": "^1.36.0",
"@voiceflow/base-types": "^1.3.1"
"@voiceflow/api-sdk": "^1.37.0",
"@voiceflow/base-types": "^1.3.2"
},

@@ -41,3 +41,3 @@ "files": [

},
"gitHead": "84cd90681ea4bdd3f8cb4e5482aac964b78887aa"
"gitHead": "163af7fdbed51771f09f4bad59f44f1698e562ad"
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc