@maxim_mazurok/gapi.client.contactcenterinsights-v1 0.0.20240402 → 0.0.20240420

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.
Files changed (2) hide show
  1. package/index.d.ts +321 -1
  2. 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://contactcenterinsights.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20240402
12
+ // Revision: 20240420
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -28,6 +28,98 @@ declare namespace gapi.client {
28
28
  ): void;
29
29
 
30
30
  namespace contactcenterinsights {
31
+ interface GoogleCloudContactcenterinsightsV1AgentCoachingInstruction {
32
+ /** Optional. The action that human agent should take. For example, "apologize for the slow shipping". If the users only want to use agent coaching for intent detection, agent_action can be empty */
33
+ agentAction?: string;
34
+ /** Optional. The condition of the instruction. For example, "the customer wants to cancel an order". If the users want the instruction to be triggered unconditionally, the condition can be empty. */
35
+ condition?: string;
36
+ /** Optional. The detailed description of this instruction. */
37
+ description?: string;
38
+ /** Optional. Display name for the instruction. */
39
+ displayName?: string;
40
+ /** Optional. Additional information attached to this instruction. */
41
+ metadata?: {[P in string]: string};
42
+ /** Optional. The action that system should take. For example, "call GetOrderTime with order_number={order number provided by the customer}". If the users don't have plugins or don't want to trigger plugins, the system_action can be empty */
43
+ systemAction?: string;
44
+ }
45
+ interface GoogleCloudContactcenterinsightsV1AgentCoachingSuggestion {
46
+ /** Optional. Suggested actions for the agent to take. */
47
+ agentActionSuggestions?: GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentActionSuggestion[];
48
+ /** Optional. Instructions applicable based on the current context. */
49
+ applicableInstructions?: GoogleCloudContactcenterinsightsV1AgentCoachingInstruction[];
50
+ /** Optional. Sample response for the Agent. */
51
+ sampleResponses?: GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionSampleResponse[];
52
+ /** Self evaluation of the suggestion. */
53
+ suggestionEval?: GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionEval;
54
+ /** Reasoning for the suggestion. */
55
+ suggestionReasoning?: GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionReasoning;
56
+ }
57
+ interface GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentActionSuggestion {
58
+ /** Optional. The suggested action for the agent. */
59
+ agentAction?: string;
60
+ }
61
+ interface GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionEval {
62
+ /** Optional. Eval for Agent action suggestion. */
63
+ actionActionSuggestionEval?: string;
64
+ /** Optional. Eval for sample response. */
65
+ sampleResponseEval?: string;
66
+ }
67
+ interface GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionReasoning {
68
+ /** Optional. The actions that the agent has taken already. */
69
+ agentActionTaken?: string;
70
+ /** Optional. Summary of the issue. */
71
+ issueSummary?: string;
72
+ }
73
+ interface GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionSampleResponse {
74
+ /** Optional. Sample response for Agent in text. */
75
+ responseText?: string;
76
+ }
77
+ interface GoogleCloudContactcenterinsightsV1alpha1AgentCoachingInstruction {
78
+ /** Optional. The action that human agent should take. For example, "apologize for the slow shipping". If the users only want to use agent coaching for intent detection, agent_action can be empty */
79
+ agentAction?: string;
80
+ /** Optional. The condition of the instruction. For example, "the customer wants to cancel an order". If the users want the instruction to be triggered unconditionally, the condition can be empty. */
81
+ condition?: string;
82
+ /** Optional. The detailed description of this instruction. */
83
+ description?: string;
84
+ /** Optional. Display name for the instruction. */
85
+ displayName?: string;
86
+ /** Optional. Additional information attached to this instruction. */
87
+ metadata?: {[P in string]: string};
88
+ /** Optional. The action that system should take. For example, "call GetOrderTime with order_number={order number provided by the customer}". If the users don't have plugins or don't want to trigger plugins, the system_action can be empty */
89
+ systemAction?: string;
90
+ }
91
+ interface GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestion {
92
+ /** Optional. Suggested actions for the agent to take. */
93
+ agentActionSuggestions?: GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionAgentActionSuggestion[];
94
+ /** Optional. Instructions applicable based on the current context. */
95
+ applicableInstructions?: GoogleCloudContactcenterinsightsV1alpha1AgentCoachingInstruction[];
96
+ /** Optional. Sample response for the Agent. */
97
+ sampleResponses?: GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionSampleResponse[];
98
+ /** Self evaluation of the suggestion. */
99
+ suggestionEval?: GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionAgentCoachingSuggestionEval;
100
+ /** Reasoning for the suggestion. */
101
+ suggestionReasoning?: GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionAgentCoachingSuggestionReasoning;
102
+ }
103
+ interface GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionAgentActionSuggestion {
104
+ /** Optional. The suggested action for the agent. */
105
+ agentAction?: string;
106
+ }
107
+ interface GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionAgentCoachingSuggestionEval {
108
+ /** Optional. Eval for Agent action suggestion. */
109
+ actionActionSuggestionEval?: string;
110
+ /** Optional. Eval for sample response. */
111
+ sampleResponseEval?: string;
112
+ }
113
+ interface GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionAgentCoachingSuggestionReasoning {
114
+ /** Optional. The actions that the agent has taken already. */
115
+ agentActionTaken?: string;
116
+ /** Optional. Summary of the issue. */
117
+ issueSummary?: string;
118
+ }
119
+ interface GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionSampleResponse {
120
+ /** Optional. Sample response for Agent in text. */
121
+ responseText?: string;
122
+ }
31
123
  interface GoogleCloudContactcenterinsightsV1alpha1Analysis {
32
124
  /** Output only. The result of the analysis, which is populated when the analysis finishes. */
33
125
  analysisResult?: GoogleCloudContactcenterinsightsV1alpha1AnalysisResult;
@@ -63,6 +155,8 @@ declare namespace gapi.client {
63
155
  };
64
156
  /** Overall conversation-level sentiment for each channel of the call. */
65
157
  sentiments?: GoogleCloudContactcenterinsightsV1alpha1ConversationLevelSentiment[];
158
+ /** Overall conversation-level silence during the call. */
159
+ silence?: GoogleCloudContactcenterinsightsV1alpha1ConversationLevelSilence;
66
160
  }
67
161
  interface GoogleCloudContactcenterinsightsV1alpha1AnnotationBoundary {
68
162
  /** The index in the sequence of transcribed pieces of the conversation where the boundary is located. This index starts at zero. */
@@ -263,6 +357,12 @@ declare namespace gapi.client {
263
357
  /** Data specifying sentiment. */
264
358
  sentimentData?: GoogleCloudContactcenterinsightsV1alpha1SentimentData;
265
359
  }
360
+ interface GoogleCloudContactcenterinsightsV1alpha1ConversationLevelSilence {
361
+ /** Amount of time calculated to be in silence. */
362
+ silenceDuration?: string;
363
+ /** Percentage of the total conversation spent in silence. */
364
+ silencePercentage?: number;
365
+ }
266
366
  interface GoogleCloudContactcenterinsightsV1alpha1ConversationParticipant {
267
367
  /** Deprecated. Use `dialogflow_participant_name` instead. The name of the Dialogflow participant. Format: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant} */
268
368
  dialogflowParticipant?: string;
@@ -496,12 +596,80 @@ declare namespace gapi.client {
496
596
  /** The knowledge document that this answer was extracted from. Format: projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}. */
497
597
  source?: string;
498
598
  }
599
+ interface GoogleCloudContactcenterinsightsV1alpha1FreeFormSuggestion {
600
+ /** Optional. Labels for the generator. */
601
+ labels?: string[];
602
+ /** Required. Free form suggestion. */
603
+ response?: string;
604
+ }
499
605
  interface GoogleCloudContactcenterinsightsV1alpha1GcsSource {
500
606
  /** Cloud Storage URI that points to a file that contains the conversation audio. */
501
607
  audioUri?: string;
502
608
  /** Immutable. Cloud Storage URI that points to a file that contains the conversation transcript. */
503
609
  transcriptUri?: string;
504
610
  }
611
+ interface GoogleCloudContactcenterinsightsV1alpha1GeneratorSuggestion {
612
+ /** Optional. Suggestion to coach the agent. */
613
+ agentCoachingSuggestion?: GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestion;
614
+ /** Optional. Free form suggestion. */
615
+ freeFormSuggestion?: GoogleCloudContactcenterinsightsV1alpha1FreeFormSuggestion;
616
+ /** Optional. Suggested summary. */
617
+ summarySuggestion?: GoogleCloudContactcenterinsightsV1alpha1SummarySuggestion;
618
+ }
619
+ interface GoogleCloudContactcenterinsightsV1alpha1GetGeneratorSuggestionResponse {
620
+ /** The suggestion generated from the Generator. */
621
+ generatorSuggestion?: GoogleCloudContactcenterinsightsV1alpha1GeneratorSuggestion;
622
+ }
623
+ interface GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponse {
624
+ /** The query suggested based on the context. Suggestion is made only if it is different from the previous suggestion. */
625
+ suggestedQuery?: GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseSuggestedQuery;
626
+ /** The answer generated for the suggested query. Whether or not an answer is generated depends on how confident we are about the generated query. */
627
+ suggestedQueryAnswer?: GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswer;
628
+ }
629
+ interface GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswer {
630
+ /** The piece of text from the `source` that answers this suggested query. */
631
+ answerText?: string;
632
+ /** Populated if the prediction came from FAQ. */
633
+ faqSource?: GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerFaqSource;
634
+ /** Populated if the prediction was Generative. */
635
+ generativeSource?: GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSource;
636
+ /** Populated if the prediction was from intent matching. */
637
+ intentMatchingSource?: GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerIntentMatchingSource;
638
+ /** The system's confidence score that this answer is a good match for this conversational query. The range is from 0.0 (completely uncertain) to 1.0 (completely certain). */
639
+ matchConfidence?: number;
640
+ }
641
+ interface GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerFaqSource {
642
+ /** Indicates which Knowledge Document this answer was extracted from. Format: `projects//knowledgeBases//documents/`. */
643
+ document?: string;
644
+ /** The corresponding FAQ question. */
645
+ question?: string;
646
+ }
647
+ interface GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSource {
648
+ /** All snippets used for this Generative Prediction, with their source URI and data. */
649
+ snippets?: GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet[];
650
+ }
651
+ interface GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet {
652
+ /** Indicates which Knowledge Document this snippet was extracted from. Format: `projects//knowledgeBases//documents/`. */
653
+ document?: string;
654
+ /** text taken from that URI. */
655
+ text?: string;
656
+ /** Title of the document. */
657
+ title?: string;
658
+ /** URI the data is sourced from. */
659
+ uri?: string;
660
+ }
661
+ interface GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerIntentMatchingSource {
662
+ /** Title of the document. */
663
+ title?: string;
664
+ /** URI the data is sourced from. */
665
+ uri?: string;
666
+ }
667
+ interface GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseSuggestedQuery {
668
+ /** Suggested query text. */
669
+ queryText?: string;
670
+ /** Suggested query score. */
671
+ score?: number;
672
+ }
505
673
  interface GoogleCloudContactcenterinsightsV1alpha1HoldData {}
506
674
  interface GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelMetadata {
507
675
  /** The time the operation was created. */
@@ -689,6 +857,12 @@ declare namespace gapi.client {
689
857
  endBoundary?: GoogleCloudContactcenterinsightsV1alpha1AnnotationBoundary;
690
858
  /** Agent Assist FAQ answer data. */
691
859
  faqAnswer?: GoogleCloudContactcenterinsightsV1alpha1FaqAnswerData;
860
+ /** The generator suggestion result. */
861
+ generatorSuggestionResult?: GoogleCloudContactcenterinsightsV1alpha1GetGeneratorSuggestionResponse;
862
+ /** The Knowledge Assist result. */
863
+ knowledgeAssistResult?: GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponse;
864
+ /** The Knowledge Search result. */
865
+ knowledgeSearchResult?: GoogleCloudContactcenterinsightsV1alpha1SearchKnowledgeAnswer;
692
866
  /** Agent Assist Smart Compose suggestion data. */
693
867
  smartComposeSuggestion?: GoogleCloudContactcenterinsightsV1alpha1SmartComposeSuggestionData;
694
868
  /** Agent Assist Smart Reply data. */
@@ -696,6 +870,28 @@ declare namespace gapi.client {
696
870
  /** The boundary in the conversation where the annotation starts, inclusive. */
697
871
  startBoundary?: GoogleCloudContactcenterinsightsV1alpha1AnnotationBoundary;
698
872
  }
873
+ interface GoogleCloudContactcenterinsightsV1alpha1SearchKnowledgeAnswer {
874
+ /** The piece of text from the knowledge base documents that answers the search query */
875
+ answer?: string;
876
+ /** The name of the answer record. Format: `projects//locations//answer Records/` */
877
+ answerRecord?: string;
878
+ /** All sources used to generate the answer. */
879
+ answerSources?: GoogleCloudContactcenterinsightsV1alpha1SearchKnowledgeAnswerAnswerSource[];
880
+ /** The type of the answer. */
881
+ answerType?: string;
882
+ /** The confidence score in [0.0, 1.0] range. */
883
+ confidenceScore?: number;
884
+ }
885
+ interface GoogleCloudContactcenterinsightsV1alpha1SearchKnowledgeAnswerAnswerSource {
886
+ /** The document from which the snippet was extracted. Format: `projects//knowledgeBases//documents/` */
887
+ document?: string;
888
+ /** The relevant snippet of the article. */
889
+ snippet?: string;
890
+ /** The title of the article. */
891
+ title?: string;
892
+ /** The URI of the article. */
893
+ uri?: string;
894
+ }
699
895
  interface GoogleCloudContactcenterinsightsV1alpha1SentimentData {
700
896
  /** A non-negative number from 0 to infinity which represents the abolute magnitude of sentiment regardless of score. */
701
897
  magnitude?: number;
@@ -727,6 +923,16 @@ declare namespace gapi.client {
727
923
  /** The fully-qualified Speech Recognizer resource name. Format: `projects/{project_id}/locations/{location}/recognizer/{recognizer}` */
728
924
  speechRecognizer?: string;
729
925
  }
926
+ interface GoogleCloudContactcenterinsightsV1alpha1SummarySuggestion {
927
+ /** Required. All the parts of generated summary. */
928
+ summarySections?: GoogleCloudContactcenterinsightsV1alpha1SummarySuggestionSummarySection[];
929
+ }
930
+ interface GoogleCloudContactcenterinsightsV1alpha1SummarySuggestionSummarySection {
931
+ /** Required. Name of the section. */
932
+ section?: string;
933
+ /** Required. Summary text for the section. */
934
+ summary?: string;
935
+ }
730
936
  interface GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelMetadata {
731
937
  /** Output only. The time the operation was created. */
732
938
  createTime?: string;
@@ -797,6 +1003,8 @@ declare namespace gapi.client {
797
1003
  };
798
1004
  /** Overall conversation-level sentiment for each channel of the call. */
799
1005
  sentiments?: GoogleCloudContactcenterinsightsV1ConversationLevelSentiment[];
1006
+ /** Overall conversation-level silence during the call. */
1007
+ silence?: GoogleCloudContactcenterinsightsV1ConversationLevelSilence;
800
1008
  }
801
1009
  interface GoogleCloudContactcenterinsightsV1AnnotationBoundary {
802
1010
  /** The index in the sequence of transcribed pieces of the conversation where the boundary is located. This index starts at zero. */
@@ -1033,6 +1241,12 @@ declare namespace gapi.client {
1033
1241
  /** Data specifying sentiment. */
1034
1242
  sentimentData?: GoogleCloudContactcenterinsightsV1SentimentData;
1035
1243
  }
1244
+ interface GoogleCloudContactcenterinsightsV1ConversationLevelSilence {
1245
+ /** Amount of time calculated to be in silence. */
1246
+ silenceDuration?: string;
1247
+ /** Percentage of the total conversation spent in silence. */
1248
+ silencePercentage?: number;
1249
+ }
1036
1250
  interface GoogleCloudContactcenterinsightsV1ConversationParticipant {
1037
1251
  /** Deprecated. Use `dialogflow_participant_name` instead. The name of the Dialogflow participant. Format: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant} */
1038
1252
  dialogflowParticipant?: string;
@@ -1270,12 +1484,80 @@ declare namespace gapi.client {
1270
1484
  /** The knowledge document that this answer was extracted from. Format: projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}. */
1271
1485
  source?: string;
1272
1486
  }
1487
+ interface GoogleCloudContactcenterinsightsV1FreeFormSuggestion {
1488
+ /** Optional. Labels for the generator. */
1489
+ labels?: string[];
1490
+ /** Required. Free form suggestion. */
1491
+ response?: string;
1492
+ }
1273
1493
  interface GoogleCloudContactcenterinsightsV1GcsSource {
1274
1494
  /** Cloud Storage URI that points to a file that contains the conversation audio. */
1275
1495
  audioUri?: string;
1276
1496
  /** Immutable. Cloud Storage URI that points to a file that contains the conversation transcript. */
1277
1497
  transcriptUri?: string;
1278
1498
  }
1499
+ interface GoogleCloudContactcenterinsightsV1GeneratorSuggestion {
1500
+ /** Optional. Suggestion to coach the agent. */
1501
+ agentCoachingSuggestion?: GoogleCloudContactcenterinsightsV1AgentCoachingSuggestion;
1502
+ /** Optional. Free form suggestion. */
1503
+ freeFormSuggestion?: GoogleCloudContactcenterinsightsV1FreeFormSuggestion;
1504
+ /** Optional. Suggested summary. */
1505
+ summarySuggestion?: GoogleCloudContactcenterinsightsV1SummarySuggestion;
1506
+ }
1507
+ interface GoogleCloudContactcenterinsightsV1GetGeneratorSuggestionResponse {
1508
+ /** The suggestion generated from the Generator. */
1509
+ generatorSuggestion?: GoogleCloudContactcenterinsightsV1GeneratorSuggestion;
1510
+ }
1511
+ interface GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponse {
1512
+ /** The query suggested based on the context. Suggestion is made only if it is different from the previous suggestion. */
1513
+ suggestedQuery?: GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseSuggestedQuery;
1514
+ /** The answer generated for the suggested query. Whether or not an answer is generated depends on how confident we are about the generated query. */
1515
+ suggestedQueryAnswer?: GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswer;
1516
+ }
1517
+ interface GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswer {
1518
+ /** The piece of text from the `source` that answers this suggested query. */
1519
+ answerText?: string;
1520
+ /** Populated if the prediction came from FAQ. */
1521
+ faqSource?: GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerFaqSource;
1522
+ /** Populated if the prediction was Generative. */
1523
+ generativeSource?: GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSource;
1524
+ /** Populated if the prediction was from intent matching. */
1525
+ intentMatchingSource?: GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerIntentMatchingSource;
1526
+ /** The system's confidence score that this answer is a good match for this conversational query. The range is from 0.0 (completely uncertain) to 1.0 (completely certain). */
1527
+ matchConfidence?: number;
1528
+ }
1529
+ interface GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerFaqSource {
1530
+ /** Indicates which Knowledge Document this answer was extracted from. Format: `projects//knowledgeBases//documents/`. */
1531
+ document?: string;
1532
+ /** The corresponding FAQ question. */
1533
+ question?: string;
1534
+ }
1535
+ interface GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSource {
1536
+ /** All snippets used for this Generative Prediction, with their source URI and data. */
1537
+ snippets?: GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet[];
1538
+ }
1539
+ interface GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet {
1540
+ /** Indicates which Knowledge Document this snippet was extracted from. Format: `projects//knowledgeBases//documents/`. */
1541
+ document?: string;
1542
+ /** text taken from that URI. */
1543
+ text?: string;
1544
+ /** Title of the document. */
1545
+ title?: string;
1546
+ /** URI the data is sourced from. */
1547
+ uri?: string;
1548
+ }
1549
+ interface GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerIntentMatchingSource {
1550
+ /** Title of the document. */
1551
+ title?: string;
1552
+ /** URI the data is sourced from. */
1553
+ uri?: string;
1554
+ }
1555
+ interface GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseSuggestedQuery {
1556
+ /** Suggested query text. */
1557
+ queryText?: string;
1558
+ /** Suggested query score. */
1559
+ score?: number;
1560
+ }
1279
1561
  interface GoogleCloudContactcenterinsightsV1HoldData {}
1280
1562
  interface GoogleCloudContactcenterinsightsV1ImportIssueModelMetadata {
1281
1563
  /** The time the operation was created. */
@@ -1549,6 +1831,12 @@ declare namespace gapi.client {
1549
1831
  endBoundary?: GoogleCloudContactcenterinsightsV1AnnotationBoundary;
1550
1832
  /** Agent Assist FAQ answer data. */
1551
1833
  faqAnswer?: GoogleCloudContactcenterinsightsV1FaqAnswerData;
1834
+ /** The generator suggestion result. */
1835
+ generatorSuggestionResult?: GoogleCloudContactcenterinsightsV1GetGeneratorSuggestionResponse;
1836
+ /** The Knowledge Assist result. */
1837
+ knowledgeAssistResult?: GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponse;
1838
+ /** The Knowledge Search result. */
1839
+ knowledgeSearchResult?: GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswer;
1552
1840
  /** Agent Assist Smart Compose suggestion data. */
1553
1841
  smartComposeSuggestion?: GoogleCloudContactcenterinsightsV1SmartComposeSuggestionData;
1554
1842
  /** Agent Assist Smart Reply data. */
@@ -1556,6 +1844,28 @@ declare namespace gapi.client {
1556
1844
  /** The boundary in the conversation where the annotation starts, inclusive. */
1557
1845
  startBoundary?: GoogleCloudContactcenterinsightsV1AnnotationBoundary;
1558
1846
  }
1847
+ interface GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswer {
1848
+ /** The piece of text from the knowledge base documents that answers the search query */
1849
+ answer?: string;
1850
+ /** The name of the answer record. Format: `projects//locations//answer Records/` */
1851
+ answerRecord?: string;
1852
+ /** All sources used to generate the answer. */
1853
+ answerSources?: GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswerAnswerSource[];
1854
+ /** The type of the answer. */
1855
+ answerType?: string;
1856
+ /** The confidence score in [0.0, 1.0] range. */
1857
+ confidenceScore?: number;
1858
+ }
1859
+ interface GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswerAnswerSource {
1860
+ /** The document from which the snippet was extracted. Format: `projects//knowledgeBases//documents/` */
1861
+ document?: string;
1862
+ /** The relevant snippet of the article. */
1863
+ snippet?: string;
1864
+ /** The title of the article. */
1865
+ title?: string;
1866
+ /** The URI of the article. */
1867
+ uri?: string;
1868
+ }
1559
1869
  interface GoogleCloudContactcenterinsightsV1SentimentData {
1560
1870
  /** A non-negative number from 0 to infinity which represents the abolute magnitude of sentiment regardless of score. */
1561
1871
  magnitude?: number;
@@ -1615,6 +1925,16 @@ declare namespace gapi.client {
1615
1925
  /** The fully-qualified Speech Recognizer resource name. Format: `projects/{project_id}/locations/{location}/recognizer/{recognizer}` */
1616
1926
  speechRecognizer?: string;
1617
1927
  }
1928
+ interface GoogleCloudContactcenterinsightsV1SummarySuggestion {
1929
+ /** Required. All the parts of generated summary. */
1930
+ summarySections?: GoogleCloudContactcenterinsightsV1SummarySuggestionSummarySection[];
1931
+ }
1932
+ interface GoogleCloudContactcenterinsightsV1SummarySuggestionSummarySection {
1933
+ /** Required. Name of the section. */
1934
+ section?: string;
1935
+ /** Required. Summary text for the section. */
1936
+ summary?: string;
1937
+ }
1618
1938
  interface GoogleCloudContactcenterinsightsV1UndeployIssueModelMetadata {
1619
1939
  /** Output only. The time the operation was created. */
1620
1940
  createTime?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.contactcenterinsights-v1",
3
- "version": "0.0.20240402",
3
+ "version": "0.0.20240420",
4
4
  "description": "TypeScript typings for Contact Center AI Insights API v1",
5
5
  "repository": {
6
6
  "type": "git",