@maxim_mazurok/gapi.client.dialogflow-v2 0.0.20240213 → 0.0.20240215
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/index.d.ts +21 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://dialogflow.googleapis.com/$discovery/rest?version=v2
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240215
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -564,6 +564,8 @@ declare namespace gapi.client {
|
|
|
564
564
|
telephonyTransferCall?: GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall;
|
|
565
565
|
/** Returns a text response. */
|
|
566
566
|
text?: GoogleCloudDialogflowCxV3beta1ResponseMessageText;
|
|
567
|
+
/** Returns the definition of a tool call that should be executed by the client. */
|
|
568
|
+
toolCall?: GoogleCloudDialogflowCxV3beta1ToolCall;
|
|
567
569
|
}
|
|
568
570
|
interface GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess {
|
|
569
571
|
/** Custom metadata. Dialogflow doesn't impose any structure on this. */
|
|
@@ -692,6 +694,14 @@ declare namespace gapi.client {
|
|
|
692
694
|
/** Required. The UTF-8 encoded natural language text to be processed. */
|
|
693
695
|
text?: string;
|
|
694
696
|
}
|
|
697
|
+
interface GoogleCloudDialogflowCxV3beta1ToolCall {
|
|
698
|
+
/** Required. The name of the tool's action associated with this call. */
|
|
699
|
+
action?: string;
|
|
700
|
+
/** Optional. The action's input parameters. */
|
|
701
|
+
inputParameters?: {[P in string]: any};
|
|
702
|
+
/** Required. The tool associated with this call. Format: `projects//locations//agents//tools/`. */
|
|
703
|
+
tool?: string;
|
|
704
|
+
}
|
|
695
705
|
interface GoogleCloudDialogflowCxV3beta1ToolCallResult {
|
|
696
706
|
/** Required. The name of the tool's action associated with this call. */
|
|
697
707
|
action?: string;
|
|
@@ -1322,6 +1332,8 @@ declare namespace gapi.client {
|
|
|
1322
1332
|
telephonyTransferCall?: GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall;
|
|
1323
1333
|
/** Returns a text response. */
|
|
1324
1334
|
text?: GoogleCloudDialogflowCxV3ResponseMessageText;
|
|
1335
|
+
/** Returns the definition of a tool call that should be executed by the client. */
|
|
1336
|
+
toolCall?: GoogleCloudDialogflowCxV3ToolCall;
|
|
1325
1337
|
}
|
|
1326
1338
|
interface GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess {
|
|
1327
1339
|
/** Custom metadata. Dialogflow doesn't impose any structure on this. */
|
|
@@ -1450,6 +1462,14 @@ declare namespace gapi.client {
|
|
|
1450
1462
|
/** Required. The UTF-8 encoded natural language text to be processed. */
|
|
1451
1463
|
text?: string;
|
|
1452
1464
|
}
|
|
1465
|
+
interface GoogleCloudDialogflowCxV3ToolCall {
|
|
1466
|
+
/** Required. The name of the tool's action associated with this call. */
|
|
1467
|
+
action?: string;
|
|
1468
|
+
/** Optional. The action's input parameters. */
|
|
1469
|
+
inputParameters?: {[P in string]: any};
|
|
1470
|
+
/** Required. The tool associated with this call. Format: `projects//locations//agents//tools/`. */
|
|
1471
|
+
tool?: string;
|
|
1472
|
+
}
|
|
1453
1473
|
interface GoogleCloudDialogflowCxV3TransitionRoute {
|
|
1454
1474
|
/** The condition to evaluate against form parameters or session parameters. See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition). At least one of `intent` or `condition` must be specified. When both `intent` and `condition` are specified, the transition can only happen when both are fulfilled. */
|
|
1455
1475
|
condition?: string;
|