@maxim_mazurok/gapi.client.dialogflow-v2 0.0.20230618 → 0.0.20230626
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 +10 -1
- package/package.json +1 -1
- package/tests.ts +17 -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: 20230626
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -2425,6 +2425,12 @@ declare namespace gapi.client {
|
|
|
2425
2425
|
*/
|
|
2426
2426
|
agent?:
|
|
2427
2427
|
string;
|
|
2428
|
+
/**
|
|
2429
|
+
* Optional. Sets Dialogflow CX session life time. By default, a Dialogflow CX session remains active and its data is stored for 30 minutes after the last request is sent for the
|
|
2430
|
+
* session. This value should be no longer than 1 day.
|
|
2431
|
+
*/
|
|
2432
|
+
sessionTtl?:
|
|
2433
|
+
string;
|
|
2428
2434
|
}
|
|
2429
2435
|
interface GoogleCloudDialogflowV2AutomatedAgentReply {
|
|
2430
2436
|
/**
|
|
@@ -5894,6 +5900,9 @@ declare namespace gapi.client {
|
|
|
5894
5900
|
string;
|
|
5895
5901
|
}
|
|
5896
5902
|
interface GoogleCloudDialogflowV2SuggestConversationSummaryRequest {
|
|
5903
|
+
/** Parameters for a human assist query. Only used for POC/demo purpose. */
|
|
5904
|
+
assistQueryParams?:
|
|
5905
|
+
GoogleCloudDialogflowV2AssistQueryParameters;
|
|
5897
5906
|
/** Max number of messages prior to and including [latest_message] to use as context when compiling the suggestion. By default 500 and at most 1000. */
|
|
5898
5907
|
contextSize?:
|
|
5899
5908
|
number;
|
package/package.json
CHANGED
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20230626
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -2237,6 +2237,7 @@ gapi.load('client', async () => {
|
|
|
2237
2237
|
}, {
|
|
2238
2238
|
automatedAgentConfig: {
|
|
2239
2239
|
agent: "Test string",
|
|
2240
|
+
sessionTtl: "Test string",
|
|
2240
2241
|
},
|
|
2241
2242
|
createTime: "Test string",
|
|
2242
2243
|
displayName: "Test string",
|
|
@@ -2406,6 +2407,7 @@ gapi.load('client', async () => {
|
|
|
2406
2407
|
}, {
|
|
2407
2408
|
automatedAgentConfig: {
|
|
2408
2409
|
agent: "Test string",
|
|
2410
|
+
sessionTtl: "Test string",
|
|
2409
2411
|
},
|
|
2410
2412
|
createTime: "Test string",
|
|
2411
2413
|
displayName: "Test string",
|
|
@@ -2806,6 +2808,11 @@ gapi.load('client', async () => {
|
|
|
2806
2808
|
await gapi.client.dialogflow.projects.conversations.suggestions.suggestConversationSummary({
|
|
2807
2809
|
conversation: "Test string",
|
|
2808
2810
|
}, {
|
|
2811
|
+
assistQueryParams: {
|
|
2812
|
+
documentsMetadataFilters: {
|
|
2813
|
+
A: "Test string"
|
|
2814
|
+
},
|
|
2815
|
+
},
|
|
2809
2816
|
contextSize: 42,
|
|
2810
2817
|
latestMessage: "Test string",
|
|
2811
2818
|
});
|
|
@@ -5131,6 +5138,7 @@ gapi.load('client', async () => {
|
|
|
5131
5138
|
}, {
|
|
5132
5139
|
automatedAgentConfig: {
|
|
5133
5140
|
agent: "Test string",
|
|
5141
|
+
sessionTtl: "Test string",
|
|
5134
5142
|
},
|
|
5135
5143
|
createTime: "Test string",
|
|
5136
5144
|
displayName: "Test string",
|
|
@@ -5300,6 +5308,7 @@ gapi.load('client', async () => {
|
|
|
5300
5308
|
}, {
|
|
5301
5309
|
automatedAgentConfig: {
|
|
5302
5310
|
agent: "Test string",
|
|
5311
|
+
sessionTtl: "Test string",
|
|
5303
5312
|
},
|
|
5304
5313
|
createTime: "Test string",
|
|
5305
5314
|
displayName: "Test string",
|
|
@@ -5700,6 +5709,11 @@ gapi.load('client', async () => {
|
|
|
5700
5709
|
await gapi.client.dialogflow.projects.locations.conversations.suggestions.suggestConversationSummary({
|
|
5701
5710
|
conversation: "Test string",
|
|
5702
5711
|
}, {
|
|
5712
|
+
assistQueryParams: {
|
|
5713
|
+
documentsMetadataFilters: {
|
|
5714
|
+
A: "Test string"
|
|
5715
|
+
},
|
|
5716
|
+
},
|
|
5703
5717
|
contextSize: 42,
|
|
5704
5718
|
latestMessage: "Test string",
|
|
5705
5719
|
});
|
|
@@ -5900,6 +5914,7 @@ gapi.load('client', async () => {
|
|
|
5900
5914
|
conversationProfile: {
|
|
5901
5915
|
automatedAgentConfig: {
|
|
5902
5916
|
agent: "Test string",
|
|
5917
|
+
sessionTtl: "Test string",
|
|
5903
5918
|
},
|
|
5904
5919
|
createTime: "Test string",
|
|
5905
5920
|
displayName: "Test string",
|
|
@@ -6104,6 +6119,7 @@ gapi.load('client', async () => {
|
|
|
6104
6119
|
conversationProfile: {
|
|
6105
6120
|
automatedAgentConfig: {
|
|
6106
6121
|
agent: "Test string",
|
|
6122
|
+
sessionTtl: "Test string",
|
|
6107
6123
|
},
|
|
6108
6124
|
createTime: "Test string",
|
|
6109
6125
|
displayName: "Test string",
|