@maxim_mazurok/gapi.client.dialogflow-v2beta1 0.0.20240607 → 0.0.20240614
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 +22 -22
- 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=v2beta1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240614
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -2046,13 +2046,13 @@ declare namespace gapi.client {
|
|
|
2046
2046
|
interface GoogleCloudDialogflowV2beta1Conversation {
|
|
2047
2047
|
/** Required. The Conversation Profile to be used to configure this Conversation. This field cannot be updated. Format: `projects//locations//conversationProfiles/`. */
|
|
2048
2048
|
conversationProfile?: string;
|
|
2049
|
-
/** The stage of a conversation. It indicates whether the virtual agent or a human agent is handling the conversation. If the conversation is created with the conversation profile that has Dialogflow config set, defaults to ConversationStage.VIRTUAL_AGENT_STAGE; Otherwise, defaults to ConversationStage.HUMAN_ASSIST_STAGE. If the conversation is created with the conversation profile that has Dialogflow config set but explicitly sets conversation_stage to ConversationStage.HUMAN_ASSIST_STAGE, it skips ConversationStage.VIRTUAL_AGENT_STAGE stage and directly goes to ConversationStage.HUMAN_ASSIST_STAGE. */
|
|
2049
|
+
/** Optional. The stage of a conversation. It indicates whether the virtual agent or a human agent is handling the conversation. If the conversation is created with the conversation profile that has Dialogflow config set, defaults to ConversationStage.VIRTUAL_AGENT_STAGE; Otherwise, defaults to ConversationStage.HUMAN_ASSIST_STAGE. If the conversation is created with the conversation profile that has Dialogflow config set but explicitly sets conversation_stage to ConversationStage.HUMAN_ASSIST_STAGE, it skips ConversationStage.VIRTUAL_AGENT_STAGE stage and directly goes to ConversationStage.HUMAN_ASSIST_STAGE. */
|
|
2050
2050
|
conversationStage?: string;
|
|
2051
2051
|
/** Output only. The time the conversation was finished. */
|
|
2052
2052
|
endTime?: string;
|
|
2053
2053
|
/** Output only. The current state of the Conversation. */
|
|
2054
2054
|
lifecycleState?: string;
|
|
2055
|
-
/** Output only. The unique identifier of this conversation. Format: `projects//locations//conversations/`. */
|
|
2055
|
+
/** Output only. Identifier. The unique identifier of this conversation. Format: `projects//locations//conversations/`. */
|
|
2056
2056
|
name?: string;
|
|
2057
2057
|
/** Output only. Required if the conversation is to be connected over telephony. */
|
|
2058
2058
|
phoneNumber?: GoogleCloudDialogflowV2beta1ConversationPhoneNumber;
|
|
@@ -2342,9 +2342,9 @@ declare namespace gapi.client {
|
|
|
2342
2342
|
interface GoogleCloudDialogflowV2beta1GenerateStatelessSummaryRequest {
|
|
2343
2343
|
/** Required. A ConversationProfile containing information required for Summary generation. Required fields: {language_code, security_settings} Optional fields: {agent_assistant_config} */
|
|
2344
2344
|
conversationProfile?: GoogleCloudDialogflowV2beta1ConversationProfile;
|
|
2345
|
-
/** The name of the latest conversation message used as context for generating a Summary. If empty, the latest message of the conversation will be used. The format is specific to the user and the names of the messages provided. */
|
|
2345
|
+
/** Optional. The name of the latest conversation message used as context for generating a Summary. If empty, the latest message of the conversation will be used. The format is specific to the user and the names of the messages provided. */
|
|
2346
2346
|
latestMessage?: string;
|
|
2347
|
-
/** 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. */
|
|
2347
|
+
/** Optional. 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. */
|
|
2348
2348
|
maxContextSize?: number;
|
|
2349
2349
|
/** Required. The conversation to suggest a summary for. */
|
|
2350
2350
|
statelessConversation?: GoogleCloudDialogflowV2beta1GenerateStatelessSummaryRequestMinimalConversation;
|
|
@@ -3402,17 +3402,17 @@ declare namespace gapi.client {
|
|
|
3402
3402
|
uri?: string;
|
|
3403
3403
|
}
|
|
3404
3404
|
interface GoogleCloudDialogflowV2beta1SearchKnowledgeRequest {
|
|
3405
|
-
/** The conversation (between human agent and end user) where the search request is triggered. Format: `projects//locations//conversations/`. */
|
|
3405
|
+
/** Optional. The conversation (between human agent and end user) where the search request is triggered. Format: `projects//locations//conversations/`. */
|
|
3406
3406
|
conversation?: string;
|
|
3407
3407
|
/** Required. The conversation profile used to configure the search. Format: `projects//locations//conversationProfiles/`. */
|
|
3408
3408
|
conversationProfile?: string;
|
|
3409
|
-
/** The name of the latest conversation message when the request is triggered. Format: `projects//locations//conversations//messages/`. */
|
|
3409
|
+
/** Optional. The name of the latest conversation message when the request is triggered. Format: `projects//locations//conversations//messages/`. */
|
|
3410
3410
|
latestMessage?: string;
|
|
3411
|
-
/** The parent resource contains the conversation profile Format: 'projects/' or `projects//locations/`. */
|
|
3411
|
+
/** Required. The parent resource contains the conversation profile Format: 'projects/' or `projects//locations/`. */
|
|
3412
3412
|
parent?: string;
|
|
3413
3413
|
/** Required. The natural language text query for knowledge search. */
|
|
3414
3414
|
query?: GoogleCloudDialogflowV2beta1TextInput;
|
|
3415
|
-
/** The ID of the search session. The session_id can be combined with Dialogflow V3 Agent ID retrieved from conversation profile or on its own to identify a search session. The search history of the same session will impact the search result. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length must not exceed 36 characters. */
|
|
3415
|
+
/** Optional. The ID of the search session. The session_id can be combined with Dialogflow V3 Agent ID retrieved from conversation profile or on its own to identify a search session. The search history of the same session will impact the search result. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length must not exceed 36 characters. */
|
|
3416
3416
|
sessionId?: string;
|
|
3417
3417
|
}
|
|
3418
3418
|
interface GoogleCloudDialogflowV2beta1SearchKnowledgeResponse {
|
|
@@ -3504,11 +3504,11 @@ declare namespace gapi.client {
|
|
|
3504
3504
|
latestMessage?: string;
|
|
3505
3505
|
}
|
|
3506
3506
|
interface GoogleCloudDialogflowV2beta1SuggestConversationSummaryRequest {
|
|
3507
|
-
/** Parameters for a human assist query. Only used for POC/demo purpose. */
|
|
3507
|
+
/** Optional. Parameters for a human assist query. Only used for POC/demo purpose. */
|
|
3508
3508
|
assistQueryParams?: GoogleCloudDialogflowV2beta1AssistQueryParameters;
|
|
3509
|
-
/** 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. */
|
|
3509
|
+
/** Optional. 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. */
|
|
3510
3510
|
contextSize?: number;
|
|
3511
|
-
/** The name of the latest conversation message used as context for compiling suggestion. If empty, the latest message of the conversation will be used. Format: `projects//locations//conversations//messages/`. */
|
|
3511
|
+
/** Optional. The name of the latest conversation message used as context for compiling suggestion. If empty, the latest message of the conversation will be used. Format: `projects//locations//conversations//messages/`. */
|
|
3512
3512
|
latestMessage?: string;
|
|
3513
3513
|
}
|
|
3514
3514
|
interface GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponse {
|
|
@@ -8939,7 +8939,7 @@ declare namespace gapi.client {
|
|
|
8939
8939
|
alt?: string;
|
|
8940
8940
|
/** JSONP */
|
|
8941
8941
|
callback?: string;
|
|
8942
|
-
/** The conversation (between human agent and end user) where the search request is triggered. Format: `projects//locations//conversations/`. */
|
|
8942
|
+
/** Optional. The conversation (between human agent and end user) where the search request is triggered. Format: `projects//locations//conversations/`. */
|
|
8943
8943
|
conversation: string;
|
|
8944
8944
|
/** Selector specifying which fields to include in a partial response. */
|
|
8945
8945
|
fields?: string;
|
|
@@ -8968,7 +8968,7 @@ declare namespace gapi.client {
|
|
|
8968
8968
|
alt?: string;
|
|
8969
8969
|
/** JSONP */
|
|
8970
8970
|
callback?: string;
|
|
8971
|
-
/** The conversation (between human agent and end user) where the search request is triggered. Format: `projects//locations//conversations/`. */
|
|
8971
|
+
/** Optional. The conversation (between human agent and end user) where the search request is triggered. Format: `projects//locations//conversations/`. */
|
|
8972
8972
|
conversation: string;
|
|
8973
8973
|
/** Selector specifying which fields to include in a partial response. */
|
|
8974
8974
|
fields?: string;
|
|
@@ -9206,7 +9206,7 @@ declare namespace gapi.client {
|
|
|
9206
9206
|
callback?: string;
|
|
9207
9207
|
/** Selector specifying which fields to include in a partial response. */
|
|
9208
9208
|
fields?: string;
|
|
9209
|
-
/** A filter expression that filters conversations listed in the response.
|
|
9209
|
+
/** Optional. A filter expression that filters conversations listed in the response. Only `lifecycle_state` can be filtered on in this way. For example, the following expression only returns `COMPLETED` conversations: `lifecycle_state = "COMPLETED"` For more information about filtering, see [API Filtering](https://aip.dev/160). */
|
|
9210
9210
|
filter?: string;
|
|
9211
9211
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
9212
9212
|
key?: string;
|
|
@@ -13639,7 +13639,7 @@ declare namespace gapi.client {
|
|
|
13639
13639
|
alt?: string;
|
|
13640
13640
|
/** JSONP */
|
|
13641
13641
|
callback?: string;
|
|
13642
|
-
/** The conversation (between human agent and end user) where the search request is triggered. Format: `projects//locations//conversations/`. */
|
|
13642
|
+
/** Optional. The conversation (between human agent and end user) where the search request is triggered. Format: `projects//locations//conversations/`. */
|
|
13643
13643
|
conversation: string;
|
|
13644
13644
|
/** Selector specifying which fields to include in a partial response. */
|
|
13645
13645
|
fields?: string;
|
|
@@ -13668,7 +13668,7 @@ declare namespace gapi.client {
|
|
|
13668
13668
|
alt?: string;
|
|
13669
13669
|
/** JSONP */
|
|
13670
13670
|
callback?: string;
|
|
13671
|
-
/** The conversation (between human agent and end user) where the search request is triggered. Format: `projects//locations//conversations/`. */
|
|
13671
|
+
/** Optional. The conversation (between human agent and end user) where the search request is triggered. Format: `projects//locations//conversations/`. */
|
|
13672
13672
|
conversation: string;
|
|
13673
13673
|
/** Selector specifying which fields to include in a partial response. */
|
|
13674
13674
|
fields?: string;
|
|
@@ -13906,7 +13906,7 @@ declare namespace gapi.client {
|
|
|
13906
13906
|
callback?: string;
|
|
13907
13907
|
/** Selector specifying which fields to include in a partial response. */
|
|
13908
13908
|
fields?: string;
|
|
13909
|
-
/** A filter expression that filters conversations listed in the response.
|
|
13909
|
+
/** Optional. A filter expression that filters conversations listed in the response. Only `lifecycle_state` can be filtered on in this way. For example, the following expression only returns `COMPLETED` conversations: `lifecycle_state = "COMPLETED"` For more information about filtering, see [API Filtering](https://aip.dev/160). */
|
|
13910
13910
|
filter?: string;
|
|
13911
13911
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
13912
13912
|
key?: string;
|
|
@@ -14907,7 +14907,7 @@ declare namespace gapi.client {
|
|
|
14907
14907
|
key?: string;
|
|
14908
14908
|
/** OAuth 2.0 token for the current user. */
|
|
14909
14909
|
oauth_token?: string;
|
|
14910
|
-
/** The parent resource contains the conversation profile Format: 'projects/' or `projects//locations/`. */
|
|
14910
|
+
/** Required. The parent resource contains the conversation profile Format: 'projects/' or `projects//locations/`. */
|
|
14911
14911
|
parent: string;
|
|
14912
14912
|
/** Returns response with indentations and line breaks. */
|
|
14913
14913
|
prettyPrint?: boolean;
|
|
@@ -14936,7 +14936,7 @@ declare namespace gapi.client {
|
|
|
14936
14936
|
key?: string;
|
|
14937
14937
|
/** OAuth 2.0 token for the current user. */
|
|
14938
14938
|
oauth_token?: string;
|
|
14939
|
-
/** The parent resource contains the conversation profile Format: 'projects/' or `projects//locations/`. */
|
|
14939
|
+
/** Required. The parent resource contains the conversation profile Format: 'projects/' or `projects//locations/`. */
|
|
14940
14940
|
parent: string;
|
|
14941
14941
|
/** Returns response with indentations and line breaks. */
|
|
14942
14942
|
prettyPrint?: boolean;
|
|
@@ -15301,7 +15301,7 @@ declare namespace gapi.client {
|
|
|
15301
15301
|
key?: string;
|
|
15302
15302
|
/** OAuth 2.0 token for the current user. */
|
|
15303
15303
|
oauth_token?: string;
|
|
15304
|
-
/** The parent resource contains the conversation profile Format: 'projects/' or `projects//locations/`. */
|
|
15304
|
+
/** Required. The parent resource contains the conversation profile Format: 'projects/' or `projects//locations/`. */
|
|
15305
15305
|
parent: string;
|
|
15306
15306
|
/** Returns response with indentations and line breaks. */
|
|
15307
15307
|
prettyPrint?: boolean;
|
|
@@ -15330,7 +15330,7 @@ declare namespace gapi.client {
|
|
|
15330
15330
|
key?: string;
|
|
15331
15331
|
/** OAuth 2.0 token for the current user. */
|
|
15332
15332
|
oauth_token?: string;
|
|
15333
|
-
/** The parent resource contains the conversation profile Format: 'projects/' or `projects//locations/`. */
|
|
15333
|
+
/** Required. The parent resource contains the conversation profile Format: 'projects/' or `projects//locations/`. */
|
|
15334
15334
|
parent: string;
|
|
15335
15335
|
/** Returns response with indentations and line breaks. */
|
|
15336
15336
|
prettyPrint?: boolean;
|