@maxim_mazurok/gapi.client.dialogflow-v2beta1 0.0.20250212 → 0.0.20250221
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 +12 -12
- 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: 20250221
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -65,7 +65,7 @@ declare namespace gapi.client {
|
|
|
65
65
|
models?: {[P in string]: string};
|
|
66
66
|
/** Timeout before detecting no speech. */
|
|
67
67
|
noSpeechTimeout?: string;
|
|
68
|
-
/** Use timeout based endpointing, interpreting endpointer
|
|
68
|
+
/** Use timeout based endpointing, interpreting endpointer sensitivity as seconds of timeout value. */
|
|
69
69
|
useTimeoutBasedEndpointing?: boolean;
|
|
70
70
|
}
|
|
71
71
|
interface GoogleCloudDialogflowCxV3AudioInput {
|
|
@@ -125,7 +125,7 @@ declare namespace gapi.client {
|
|
|
125
125
|
models?: {[P in string]: string};
|
|
126
126
|
/** Timeout before detecting no speech. */
|
|
127
127
|
noSpeechTimeout?: string;
|
|
128
|
-
/** Use timeout based endpointing, interpreting endpointer
|
|
128
|
+
/** Use timeout based endpointing, interpreting endpointer sensitivity as seconds of timeout value. */
|
|
129
129
|
useTimeoutBasedEndpointing?: boolean;
|
|
130
130
|
}
|
|
131
131
|
interface GoogleCloudDialogflowCxV3beta1AudioInput {
|
|
@@ -526,7 +526,7 @@ declare namespace gapi.client {
|
|
|
526
526
|
name?: string;
|
|
527
527
|
/** Ordered list of `TransitionRouteGroups` added to the page. Transition route groups must be unique within a page. If the page links both flow-level transition route groups and agent-level transition route groups, the flow-level ones will have higher priority and will be put before the agent-level ones. * If multiple transition routes within a page scope refer to the same intent, then the precedence order is: page's transition route -> page's transition route group -> flow's transition routes. * If multiple transition route groups within a page contain the same intent, then the first group in the ordered list takes precedence. Format:`projects//locations//agents//flows//transitionRouteGroups/` or `projects//locations//agents//transitionRouteGroups/` for agent-level groups. */
|
|
528
528
|
transitionRouteGroups?: string[];
|
|
529
|
-
/** A list of transitions for the transition rules of this page. They route the conversation to another page in the same flow, or another flow. When we are in a certain page, the TransitionRoutes are
|
|
529
|
+
/** A list of transitions for the transition rules of this page. They route the conversation to another page in the same flow, or another flow. When we are in a certain page, the TransitionRoutes are evaluated in the following order: * TransitionRoutes defined in the page with intent specified. * TransitionRoutes defined in the transition route groups with intent specified. * TransitionRoutes defined in flow with intent specified. * TransitionRoutes defined in the transition route groups with intent specified. * TransitionRoutes defined in the page with only condition specified. * TransitionRoutes defined in the transition route groups with only condition specified. */
|
|
530
530
|
transitionRoutes?: GoogleCloudDialogflowCxV3beta1TransitionRoute[];
|
|
531
531
|
}
|
|
532
532
|
interface GoogleCloudDialogflowCxV3beta1PageInfo {
|
|
@@ -1294,7 +1294,7 @@ declare namespace gapi.client {
|
|
|
1294
1294
|
name?: string;
|
|
1295
1295
|
/** Ordered list of `TransitionRouteGroups` added to the page. Transition route groups must be unique within a page. If the page links both flow-level transition route groups and agent-level transition route groups, the flow-level ones will have higher priority and will be put before the agent-level ones. * If multiple transition routes within a page scope refer to the same intent, then the precedence order is: page's transition route -> page's transition route group -> flow's transition routes. * If multiple transition route groups within a page contain the same intent, then the first group in the ordered list takes precedence. Format:`projects//locations//agents//flows//transitionRouteGroups/` or `projects//locations//agents//transitionRouteGroups/` for agent-level groups. */
|
|
1296
1296
|
transitionRouteGroups?: string[];
|
|
1297
|
-
/** A list of transitions for the transition rules of this page. They route the conversation to another page in the same flow, or another flow. When we are in a certain page, the TransitionRoutes are
|
|
1297
|
+
/** A list of transitions for the transition rules of this page. They route the conversation to another page in the same flow, or another flow. When we are in a certain page, the TransitionRoutes are evaluated in the following order: * TransitionRoutes defined in the page with intent specified. * TransitionRoutes defined in the transition route groups with intent specified. * TransitionRoutes defined in flow with intent specified. * TransitionRoutes defined in the transition route groups with intent specified. * TransitionRoutes defined in the page with only condition specified. * TransitionRoutes defined in the transition route groups with only condition specified. */
|
|
1298
1298
|
transitionRoutes?: GoogleCloudDialogflowCxV3TransitionRoute[];
|
|
1299
1299
|
}
|
|
1300
1300
|
interface GoogleCloudDialogflowCxV3PageInfo {
|
|
@@ -1723,7 +1723,7 @@ declare namespace gapi.client {
|
|
|
1723
1723
|
interface GoogleCloudDialogflowV2beta1AgentAssistantFeedback {
|
|
1724
1724
|
/** Optional. Whether or not the suggested answer is relevant. For example: * Query: "Can I change my mailing address?" * Suggested document says: "Items must be returned/exchanged within 60 days of the purchase date." * answer_relevance: AnswerRelevance.IRRELEVANT */
|
|
1725
1725
|
answerRelevance?: string;
|
|
1726
|
-
/** Optional. Whether or not the information in the document is correct. For example: * Query: "Can I return the package in 2 days once received?" * Suggested document says: "Items must be returned/exchanged within 60 days of the purchase date." * Ground truth: "No return or exchange is allowed." *
|
|
1726
|
+
/** Optional. Whether or not the information in the document is correct. For example: * Query: "Can I return the package in 2 days once received?" * Suggested document says: "Items must be returned/exchanged within 60 days of the purchase date." * Ground truth: "No return or exchange is allowed." * document_correctness: INCORRECT */
|
|
1727
1727
|
documentCorrectness?: string;
|
|
1728
1728
|
/** Optional. Whether or not the suggested document is efficient. For example, if the document is poorly written, hard to understand, hard to use or too long to find useful information, document_efficiency is DocumentEfficiency.INEFFICIENT. */
|
|
1729
1729
|
documentEfficiency?: string;
|
|
@@ -3231,7 +3231,7 @@ declare namespace gapi.client {
|
|
|
3231
3231
|
participantRole?: string;
|
|
3232
3232
|
/** Optional. Automated agent responses. */
|
|
3233
3233
|
responseMessages?: GoogleCloudDialogflowV2beta1ResponseMessage[];
|
|
3234
|
-
/** Optional. The time when the message was sent. */
|
|
3234
|
+
/** Optional. The time when the message was sent. For voice messages, this is the time when an utterance started. */
|
|
3235
3235
|
sendTime?: string;
|
|
3236
3236
|
/** Output only. The sentiment analysis result for the message. */
|
|
3237
3237
|
sentimentAnalysis?: GoogleCloudDialogflowV2beta1SentimentAnalysisResult;
|
|
@@ -3474,7 +3474,7 @@ declare namespace gapi.client {
|
|
|
3474
3474
|
interface GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfig {
|
|
3475
3475
|
/** Optional. Boost specifications for data stores. */
|
|
3476
3476
|
boostSpecs?: GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecs[];
|
|
3477
|
-
/** Optional. Filter specification for data store queries. */
|
|
3477
|
+
/** Optional. Filter specification for data store queries. Maps from datastore name to the filter expression for that datastore. Do not specify more than one FilterSpecs for each datastore name. If multiple FilterSpecs are provided for the same datastore name, the behavior is undefined. */
|
|
3478
3478
|
filterSpecs?: GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigFilterSpecs[];
|
|
3479
3479
|
}
|
|
3480
3480
|
interface GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecs {
|
|
@@ -3484,7 +3484,7 @@ declare namespace gapi.client {
|
|
|
3484
3484
|
spec?: GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpec[];
|
|
3485
3485
|
}
|
|
3486
3486
|
interface GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpec {
|
|
3487
|
-
/** Optional. Condition boost specifications. If a document matches multiple conditions in the
|
|
3487
|
+
/** Optional. Condition boost specifications. If a document matches multiple conditions in the specifications, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 20. */
|
|
3488
3488
|
conditionBoostSpecs?: GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpec[];
|
|
3489
3489
|
}
|
|
3490
3490
|
interface GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpec {
|
|
@@ -3600,7 +3600,7 @@ declare namespace gapi.client {
|
|
|
3600
3600
|
sampleRateHertz?: number;
|
|
3601
3601
|
/** The speech model used in speech to text. `SPEECH_MODEL_VARIANT_UNSPECIFIED`, `USE_BEST_AVAILABLE` will be treated as `USE_ENHANCED`. It can be overridden in AnalyzeContentRequest and StreamingAnalyzeContentRequest request. If enhanced model variant is specified and an enhanced version of the specified model for the language does not exist, then it would emit an error. */
|
|
3602
3602
|
speechModelVariant?: string;
|
|
3603
|
-
/** Use timeout based endpointing, interpreting endpointer
|
|
3603
|
+
/** Use timeout based endpointing, interpreting endpointer sensitivity as seconds of timeout value. */
|
|
3604
3604
|
useTimeoutBasedEndpointing?: boolean;
|
|
3605
3605
|
}
|
|
3606
3606
|
interface GoogleCloudDialogflowV2beta1SpeechWordInfo {
|
|
@@ -3778,7 +3778,7 @@ declare namespace gapi.client {
|
|
|
3778
3778
|
contextSize?: number;
|
|
3779
3779
|
/** Optional. The name of the latest conversation message to compile suggestions for. If empty, it will be the latest message of the conversation. Format: `projects//locations//conversations//messages/`. */
|
|
3780
3780
|
latestMessage?: string;
|
|
3781
|
-
/** Optional. The previously suggested query for the given conversation. This helps identify whether the next suggestion we generate is
|
|
3781
|
+
/** Optional. The previously suggested query for the given conversation. This helps identify whether the next suggestion we generate is reasonably different from the previous one. This is useful to avoid similar suggestions within the conversation. */
|
|
3782
3782
|
previousSuggestedQuery?: string;
|
|
3783
3783
|
}
|
|
3784
3784
|
interface GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse {
|
|
@@ -4491,7 +4491,7 @@ declare namespace gapi.client {
|
|
|
4491
4491
|
participant?: string;
|
|
4492
4492
|
/** Output only. The role of the participant. */
|
|
4493
4493
|
participantRole?: string;
|
|
4494
|
-
/** Optional. The time when the message was sent. */
|
|
4494
|
+
/** Optional. The time when the message was sent. For voice messages, this is the time when an utterance started. */
|
|
4495
4495
|
sendTime?: string;
|
|
4496
4496
|
/** Output only. The sentiment analysis result for the message. */
|
|
4497
4497
|
sentimentAnalysis?: GoogleCloudDialogflowV2SentimentAnalysisResult;
|