Skip to content

Commit

Permalink
Merge branch 'master' into add-promise-support
Browse files Browse the repository at this point in the history
  • Loading branch information
dpopp07 committed Jan 18, 2019
2 parents c48a211 + f007a19 commit 2a3638f
Show file tree
Hide file tree
Showing 28 changed files with 4,588 additions and 2,739 deletions.
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
- repo: [email protected]:Whitewater/whitewater-detect-secrets
rev: master
hooks:
- id: detect-secrets # pragma: whitelist secret
args: [--baseline, .secrets.baseline, --no-keyword-scan ]
25 changes: 25 additions & 0 deletions .secrets.baseline
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"exclude_regex": null,
"generated_at": "2019-01-17T19:54:14Z",
"plugins_used": [
{
"base64_limit": 4.5,
"name": "Base64HighEntropyString"
},
{
"name": "BasicAuthDetector"
},
{
"hex_limit": 3,
"name": "HexHighEntropyString"
},
{
"name": "PrivateKeyDetector"
},
{
"name": "SlackDetector"
}
],
"results": {},
"version": "0.10.3"
}
31 changes: 31 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,34 @@
# [3.16.0](https://github.com/watson-developer-cloud/node-sdk/compare/v3.15.4...v3.16.0) (2019-01-17)


### Features

* **discovery:** add methods `createStopwordList`, `deleteStopwordList`, `createGateway`, `deleteGateway`, `getGateway`, and `listGateways` ([8a6753e](https://github.com/watson-developer-cloud/node-sdk/commit/8a6753e))
* **speech-to-text:** new methods added: addGrammar, deleteGrammar, getGrammar, listGrammars ([7ab567a](https://github.com/watson-developer-cloud/node-sdk/commit/7ab567a))
* **visual-recognition:** parameter `accept_language` added to method `detectFaces` ([82190c7](https://github.com/watson-developer-cloud/node-sdk/commit/82190c7))

## [3.15.4](https://github.com/watson-developer-cloud/node-sdk/compare/v3.15.3...v3.15.4) (2019-01-15)


### Bug Fixes

* fix bug that prevents `audio` from being sent as a buffer for `recognize` ([3f97b80](https://github.com/watson-developer-cloud/node-sdk/commit/3f97b80))

## [3.15.3](https://github.com/watson-developer-cloud/node-sdk/compare/v3.15.2...v3.15.3) (2019-01-15)


### Bug Fixes

* package.json to reduce vulnerabilities ([e61d1de](https://github.com/watson-developer-cloud/node-sdk/commit/e61d1de))

## [3.15.2](https://github.com/watson-developer-cloud/node-sdk/compare/v3.15.1...v3.15.2) (2019-01-14)


### Bug Fixes

* query parameters no longer cause text-to-speech over websockets to crash ([775e6d2](https://github.com/watson-developer-cloud/node-sdk/commit/775e6d2))
* Remove the `disabled` property from `CreateDialogNode`. It is for internal use only. ([4b72d0e](https://github.com/watson-developer-cloud/node-sdk/commit/4b72d0e))

## [3.15.1](https://github.com/watson-developer-cloud/node-sdk/compare/v3.15.0...v3.15.1) (2019-01-07)


Expand Down
56 changes: 28 additions & 28 deletions assistant/v1.ts

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions assistant/v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ namespace AssistantV2 {

/** An object defining the message input to be sent to the assistant if the user selects the corresponding option. */
export interface DialogNodeOutputOptionsElementValue {
/** The user input. */
/** An input object that includes the input text. */
input?: MessageInput;
}

Expand Down Expand Up @@ -405,7 +405,7 @@ namespace AssistantV2 {

/** An object defining the message input to be sent to the assistant if the user selects the corresponding disambiguation option. */
export interface DialogSuggestionValue {
/** The user input. */
/** An input object that includes the input text. */
input?: MessageInput;
}

Expand Down Expand Up @@ -445,7 +445,7 @@ namespace AssistantV2 {
[propName: string]: any;
}

/** The user input. */
/** An input object that includes the input text. */
export interface MessageInput {
/** The type of user input. Currently, only text input is supported. */
message_type?: string;
Expand All @@ -465,7 +465,7 @@ namespace AssistantV2 {
export interface MessageInputOptions {
/** Whether to return additional diagnostic information. Set to `true` to return additional information under the `output.debug` key. */
debug?: boolean;
/** Whether to start a new conversation with this user input. Specify `true` to clear the state information stored by the session. */
/** Whether to restart dialog processing at the root of the dialog, regardless of any previously visited nodes. **Note:** This does not affect `turn_count` or any other context variables. */
restart?: boolean;
/** Whether to return more than one intent. Set to `true` to return all matching intents. */
alternate_intents?: boolean;
Expand Down
Loading

0 comments on commit 2a3638f

Please sign in to comment.