Skip to content

Commit a0f2c20

Browse files
committed
feat(language-translator): the following methods have been added:
- `deleteDocument`, `getDocumentStatus`, `getTranslatedDocument`, `listDocuments`, `translateDocument`
1 parent 800afbe commit a0f2c20

11 files changed

Lines changed: 1684 additions & 412 deletions

File tree

assistant/v1.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import { BaseService, getMissingParams } from 'ibm-cloud-sdk-core';
2020
import { getSdkHeaders } from '../lib/common';
2121

2222
/**
23-
* The IBM Watson™ Assistant service combines machine learning, natural language understanding, and integrated dialog tools to create conversation flows between your apps and your users.
23+
* The IBM Watson™ Assistant service combines machine learning, natural language understanding, and an integrated dialog editor to create conversation flows between your apps and your users.
2424
*/
2525

2626
class AssistantV1 extends BaseService {
@@ -4485,7 +4485,7 @@ namespace AssistantV1 {
44854485
/** An object defining the message input to be sent to the Watson Assistant service if the user selects the corresponding option. */
44864486
export interface DialogNodeOutputOptionsElementValue {
44874487
/** An input object that includes the input text. */
4488-
input?: JsonObject;
4488+
input?: MessageInput;
44894489
/** An array of intents to be used while processing the input. **Note:** This property is supported for backward compatibility with applications that use the v1 **Get response to user input** method. */
44904490
intents?: RuntimeIntent[];
44914491
/** An array of entities to be used while processing the user input. **Note:** This property is supported for backward compatibility with applications that use the v1 **Get response to user input** method. */
@@ -4904,7 +4904,7 @@ namespace AssistantV1 {
49044904

49054905
/** Global settings for the workspace. */
49064906
export interface WorkspaceSystemSettings {
4907-
/** Workspace settings related to the Watson Assistant tool. */
4907+
/** Workspace settings related to the Watson Assistant user interface. */
49084908
tooling?: WorkspaceSystemSettingsTooling;
49094909
/** Workspace settings related to the disambiguation feature. **Note:** This feature is available only to Premium users. */
49104910
disambiguation?: WorkspaceSystemSettingsDisambiguation;
@@ -4924,7 +4924,7 @@ namespace AssistantV1 {
49244924
sensitivity?: string;
49254925
}
49264926

4927-
/** Workspace settings related to the Watson Assistant tool. */
4927+
/** Workspace settings related to the Watson Assistant user interface. */
49284928
export interface WorkspaceSystemSettingsTooling {
49294929
/** Whether the dialog JSON editor displays text responses within the `output.generic` object. */
49304930
store_generic_responses?: boolean;

assistant/v2.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import { BaseService, getMissingParams } from 'ibm-cloud-sdk-core';
2020
import { getSdkHeaders } from '../lib/common';
2121

2222
/**
23-
* The IBM Watson™ Assistant service combines machine learning, natural language understanding, and integrated dialog tools to create conversation flows between your apps and your users.
23+
* The IBM Watson™ Assistant service combines machine learning, natural language understanding, and an integrated dialog editor to create conversation flows between your apps and your users.
2424
*/
2525

2626
class AssistantV2 extends BaseService {
@@ -77,8 +77,8 @@ class AssistantV2 extends BaseService {
7777
*
7878
* @param {Object} params - The parameters to send to the service.
7979
* @param {string} params.assistant_id - Unique identifier of the assistant. To find the assistant ID in the Watson
80-
* Assistant tool, open the assistant settings and click **API Details**. For information about creating assistants,
81-
* see the
80+
* Assistant user interface, open the assistant settings and click **API Details**. For information about creating
81+
* assistants, see the
8282
* [documentation](https://cloud.ibm.com/docs/services/assistant?topic=assistant-assistant-add#assistant-add-task).
8383
*
8484
* **Note:** Currently, the v2 API does not support creating assistants.
@@ -133,8 +133,8 @@ class AssistantV2 extends BaseService {
133133
*
134134
* @param {Object} params - The parameters to send to the service.
135135
* @param {string} params.assistant_id - Unique identifier of the assistant. To find the assistant ID in the Watson
136-
* Assistant tool, open the assistant settings and click **API Details**. For information about creating assistants,
137-
* see the
136+
* Assistant user interface, open the assistant settings and click **API Details**. For information about creating
137+
* assistants, see the
138138
* [documentation](https://cloud.ibm.com/docs/services/assistant?topic=assistant-assistant-add#assistant-add-task).
139139
*
140140
* **Note:** Currently, the v2 API does not support creating assistants.
@@ -197,8 +197,8 @@ class AssistantV2 extends BaseService {
197197
*
198198
* @param {Object} params - The parameters to send to the service.
199199
* @param {string} params.assistant_id - Unique identifier of the assistant. To find the assistant ID in the Watson
200-
* Assistant tool, open the assistant settings and click **API Details**. For information about creating assistants,
201-
* see the
200+
* Assistant user interface, open the assistant settings and click **API Details**. For information about creating
201+
* assistants, see the
202202
* [documentation](https://cloud.ibm.com/docs/services/assistant?topic=assistant-assistant-add#assistant-add-task).
203203
*
204204
* **Note:** Currently, the v2 API does not support creating assistants.
@@ -315,15 +315,15 @@ namespace AssistantV2 {
315315

316316
/** Parameters for the `createSession` operation. */
317317
export interface CreateSessionParams {
318-
/** Unique identifier of the assistant. To find the assistant ID in the Watson Assistant tool, open the assistant settings and click **API Details**. For information about creating assistants, see the [documentation](https://cloud.ibm.com/docs/services/assistant?topic=assistant-assistant-add#assistant-add-task). **Note:** Currently, the v2 API does not support creating assistants. */
318+
/** Unique identifier of the assistant. To find the assistant ID in the Watson Assistant user interface, open the assistant settings and click **API Details**. For information about creating assistants, see the [documentation](https://cloud.ibm.com/docs/services/assistant?topic=assistant-assistant-add#assistant-add-task). **Note:** Currently, the v2 API does not support creating assistants. */
319319
assistant_id: string;
320320
headers?: OutgoingHttpHeaders;
321321
return_response?: boolean;
322322
}
323323

324324
/** Parameters for the `deleteSession` operation. */
325325
export interface DeleteSessionParams {
326-
/** Unique identifier of the assistant. To find the assistant ID in the Watson Assistant tool, open the assistant settings and click **API Details**. For information about creating assistants, see the [documentation](https://cloud.ibm.com/docs/services/assistant?topic=assistant-assistant-add#assistant-add-task). **Note:** Currently, the v2 API does not support creating assistants. */
326+
/** Unique identifier of the assistant. To find the assistant ID in the Watson Assistant user interface, open the assistant settings and click **API Details**. For information about creating assistants, see the [documentation](https://cloud.ibm.com/docs/services/assistant?topic=assistant-assistant-add#assistant-add-task). **Note:** Currently, the v2 API does not support creating assistants. */
327327
assistant_id: string;
328328
/** Unique identifier of the session. */
329329
session_id: string;
@@ -333,7 +333,7 @@ namespace AssistantV2 {
333333

334334
/** Parameters for the `message` operation. */
335335
export interface MessageParams {
336-
/** Unique identifier of the assistant. To find the assistant ID in the Watson Assistant tool, open the assistant settings and click **API Details**. For information about creating assistants, see the [documentation](https://cloud.ibm.com/docs/services/assistant?topic=assistant-assistant-add#assistant-add-task). **Note:** Currently, the v2 API does not support creating assistants. */
336+
/** Unique identifier of the assistant. To find the assistant ID in the Watson Assistant user interface, open the assistant settings and click **API Details**. For information about creating assistants, see the [documentation](https://cloud.ibm.com/docs/services/assistant?topic=assistant-assistant-add#assistant-add-task). **Note:** Currently, the v2 API does not support creating assistants. */
337337
assistant_id: string;
338338
/** Unique identifier of the session. */
339339
session_id: string;

0 commit comments

Comments
 (0)