@maxim_mazurok/gapi.client.contactcenterinsights-v1 0.1.20260112 → 0.2.20260116

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 +350 -4
  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: 20260112
12
+ // Revision: 20260116
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -255,7 +255,7 @@ declare namespace gapi.client {
255
255
  latestAnalysis?: GoogleCloudContactcenterinsightsV1alpha1Analysis;
256
256
  /** Output only. Latest summary of the conversation. */
257
257
  latestSummary?: GoogleCloudContactcenterinsightsV1alpha1ConversationSummarizationSuggestionData;
258
- /** Immutable. The conversation medium, if unspecified will default to PHONE_CALL. */
258
+ /** Immutable. The conversation medium. */
259
259
  medium?: string;
260
260
  /** Input only. JSON metadata encoded as a string. This field is primarily used by Insights integrations with various telephony systems and must be in one of Insight's supported formats. */
261
261
  metadataJson?: string;
@@ -1070,10 +1070,36 @@ declare namespace gapi.client {
1070
1070
  interface GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPoint {
1071
1071
  /** The measure related to conversations. */
1072
1072
  conversationMeasure?: GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointConversationMeasure;
1073
+ /** The measure related to dialogflow interactions. */
1074
+ dialogflowInteractionMeasure?: GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointDialogflowInteractionMeasure;
1073
1075
  /** The interval that this data point represents. * If this is the total data point, the interval is [starting create time, ending create time) from the request. * If this a data point from the time series, the interval is [time, time + time granularity from the request). */
1074
1076
  interval?: GoogleTypeInterval;
1075
1077
  }
1076
1078
  interface GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointConversationMeasure {
1079
+ /** The number of conversations that were assigned to an AA human supervisor. */
1080
+ aaSupervisorAssignedConversationsCount?: number;
1081
+ /** The number of conversations that were dropped, i.e. escalated but not assigned to an AA human supervisor. */
1082
+ aaSupervisorDroppedConversationsCount?: number;
1083
+ /** The number of conversations that were escalated to an AA human supervisor for intervention. */
1084
+ aaSupervisorEscalatedConversationsCount?: number;
1085
+ /** The number of conversations scanned by the AA human supervisor. */
1086
+ aaSupervisorMonitoredConversationsCount?: number;
1087
+ /** The number of conversations transferred to a human agent. */
1088
+ aaSupervisorTransferredToHumanAgentConvCount?: number;
1089
+ /** Count of agent messages that triggered an Ai Coach Suggestion. */
1090
+ aiCoachSuggestionAgentMessageTriggerCount?: number;
1091
+ /** Count of Ai Coach Suggestion that has been used by agents. */
1092
+ aiCoachSuggestionAgentUsageCount?: number;
1093
+ /** Proportion of Ai Coach Suggestion that has been used by agents. */
1094
+ aiCoachSuggestionAgentUsageRatio?: number;
1095
+ /** Count of customer messages that triggered an Ai Coach Suggestion. */
1096
+ aiCoachSuggestionCustomerMessageTriggerCount?: number;
1097
+ /** Proportion of customer messages that triggered an Ai Coach Suggestion. */
1098
+ aiCoachSuggestionCustomerMessageTriggerRatio?: number;
1099
+ /** Count of end_of_utterance trigger event messages that triggered an Ai Coach Suggestion. */
1100
+ aiCoachSuggestionMessageTriggerCount?: number;
1101
+ /** Proportion of end_of_utterance trigger event messages that triggered an Ai Coach Suggestion. */
1102
+ aiCoachSuggestionMessageTriggerRatio?: number;
1077
1103
  /** The average agent's sentiment score. */
1078
1104
  averageAgentSentimentScore?: number;
1079
1105
  /** The average client's sentiment score. */
@@ -1088,12 +1114,78 @@ declare namespace gapi.client {
1088
1114
  averageQaQuestionNormalizedScore?: number;
1089
1115
  /** The average silence percentage. */
1090
1116
  averageSilencePercentage?: number;
1117
+ /** Average edit distance of the summarization suggestions. Edit distance (also called as levenshtein distance) is calculated by summing up number of insertions, deletions and substitutions required to transform the summization feedback to the original summary suggestion. */
1118
+ averageSummarizationSuggestionEditDistance?: number;
1119
+ /** Normalized Average edit distance of the summarization suggestions. Edit distance (also called as levenshtein distance) is calculated by summing up number of insertions, deletions and substitutions required to transform the summization feedback to the original summary suggestion. Normalized edit distance is the average of (edit distance / summary length). */
1120
+ averageSummarizationSuggestionNormalizedEditDistance?: number;
1091
1121
  /** The average turn count. */
1092
1122
  averageTurnCount?: number;
1123
+ /** The exponential moving average of the sentiment score of client turns in the conversation. */
1124
+ avgConversationClientTurnSentimentEma?: number;
1125
+ /** The number of conversations that were contained. */
1126
+ containedConversationCount?: number;
1127
+ /** The percentage of conversations that were contained. */
1128
+ containedConversationRatio?: number;
1129
+ /** Count of conversations that has Ai Coach Suggestions. */
1130
+ conversationAiCoachSuggestionCount?: number;
1131
+ /** Proportion of conversations that has Ai Coach Suggestions. */
1132
+ conversationAiCoachSuggestionRatio?: number;
1133
+ /** The average latency of conversational agents' audio in audio out latency per interaction. This is computed as the average of the all the interactions' audio in audio out latencies in a conversation and averaged across conversations. */
1134
+ conversationalAgentsAverageAudioInAudioOutLatency?: number;
1135
+ /** The average latency of conversational agents' latency per interaction. This is computed as the average of the all the iteractions' end to end latencies in a conversation and averaged across conversations. The e2e latency is the time between the end of the user utterance and the start of the agent utterance on the interaction level. */
1136
+ conversationalAgentsAverageEndToEndLatency?: number;
1137
+ /** The average latency of conversational agents' LLM call latency per interaction. This is computed as the average of the all the interactions LLM call latencies in a conversation and averaged across conversations. */
1138
+ conversationalAgentsAverageLlmCallLatency?: number;
1139
+ /** The macro average latency of conversational agents' TTS latency per interaction. This is computed as the average of the all the interactions' TTS latencies in a conversation and averaged across conversations. */
1140
+ conversationalAgentsAverageTtsLatency?: number;
1093
1141
  /** The conversation count. */
1094
1142
  conversationCount?: number;
1143
+ /** Proportion of conversations that had a suggested summary. */
1144
+ conversationSuggestedSummaryRatio?: number;
1145
+ /** The agent message count. */
1146
+ conversationTotalAgentMessageCount?: number;
1147
+ /** The customer message count. */
1148
+ conversationTotalCustomerMessageCount?: number;
1149
+ /** Average latency of dialogflow webhook calls. */
1150
+ dialogflowAverageWebhookLatency?: number;
1151
+ /** count of conversations that was handed off from virtual agent to human agent. */
1152
+ dialogflowConversationsEscalationCount?: number;
1153
+ /** Proportion of conversations that was handed off from virtual agent to human agent. */
1154
+ dialogflowConversationsEscalationRatio?: number;
1155
+ /** Proportion of dialogflow interactions that has empty input. */
1156
+ dialogflowInteractionsNoInputRatio?: number;
1157
+ /** Proportion of dialogflow interactions that has no intent match for the input. */
1158
+ dialogflowInteractionsNoMatchRatio?: number;
1159
+ /** Proportion of dialogflow webhook calls that failed. */
1160
+ dialogflowWebhookFailureRatio?: number;
1161
+ /** Proportion of dialogflow webhook calls that timed out. */
1162
+ dialogflowWebhookTimeoutRatio?: number;
1163
+ /** Proportion of knowledge assist (Proactive Generative Knowledge Assist) queries that had negative feedback. */
1164
+ knowledgeAssistNegativeFeedbackRatio?: number;
1165
+ /** Proportion of knowledge assist (Proactive Generative Knowledge Assist) queries that had positive feedback. */
1166
+ knowledgeAssistPositiveFeedbackRatio?: number;
1167
+ /** Count of knowledge assist results (Proactive Generative Knowledge Assist) shown to the user. */
1168
+ knowledgeAssistResultCount?: number;
1169
+ /** Proportion of knowledge assist (Proactive Generative Knowledge Assist) queries that had a URL clicked. */
1170
+ knowledgeAssistUriClickRatio?: number;
1171
+ /** Proportion of knowledge search (Generative Knowledge Assist) queries made by the agent compared to the total number of knowledge search queries made. */
1172
+ knowledgeSearchAgentQuerySourceRatio?: number;
1173
+ /** Proportion of knowledge search (Generative Knowledge Assist) queries that had negative feedback. */
1174
+ knowledgeSearchNegativeFeedbackRatio?: number;
1175
+ /** Proportion of knowledge search (Generative Knowledge Assist) queries that had positive feedback. */
1176
+ knowledgeSearchPositiveFeedbackRatio?: number;
1177
+ /** Count of knowledge search results (Generative Knowledge Assist) shown to the user. */
1178
+ knowledgeSearchResultCount?: number;
1179
+ /** Proportion of knowledge search (Generative Knowledge Assist) queries suggested compared to the total number of knowledge search queries made. */
1180
+ knowledgeSearchSuggestedQuerySourceRatio?: number;
1181
+ /** Proportion of knowledge search (Generative Knowledge Assist) queries that had a URL clicked. */
1182
+ knowledgeSearchUriClickRatio?: number;
1095
1183
  /** Average QA normalized score for all the tags. */
1096
1184
  qaTagScores?: GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointConversationMeasureQaTagScore[];
1185
+ /** Proportion of summarization suggestions that were manually edited. */
1186
+ summarizationSuggestionEditRatio?: number;
1187
+ /** Count of summarization suggestions results. */
1188
+ summarizationSuggestionResultCount?: number;
1097
1189
  }
1098
1190
  interface GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointConversationMeasureQaTagScore {
1099
1191
  /** Average tag normalized score per tag. */
@@ -1101,6 +1193,26 @@ declare namespace gapi.client {
1101
1193
  /** Tag name. */
1102
1194
  tag?: string;
1103
1195
  }
1196
+ interface GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointDialogflowInteractionMeasure {
1197
+ /** The percentile result for audio in audio out latency in milliseconds per dialogflow interaction level. */
1198
+ percentileAudioInAudioOutLatency?: GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointPercentileResult;
1199
+ /** The percentile result for end to end chat latency in milliseconds per dialogflow interaction level. */
1200
+ percentileEndToEndLatency?: GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointPercentileResult;
1201
+ /** The percentile result for LLM latency in milliseconds per dialogflow interaction level. */
1202
+ percentileLlmCallLatency?: GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointPercentileResult;
1203
+ /** The percentile result for tool use latency in milliseconds per dialogflow interaction level. */
1204
+ percentileToolUseLatency?: GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointPercentileResult;
1205
+ /** The percentile result for TTS latency in milliseconds per dialogflow interaction level. */
1206
+ percentileTtsLatency?: GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointPercentileResult;
1207
+ }
1208
+ interface GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointPercentileResult {
1209
+ /** The 50th percentile value. */
1210
+ p50?: number;
1211
+ /** The 90th percentile value. */
1212
+ p90?: number;
1213
+ /** The 99th percentile value. */
1214
+ p99?: number;
1215
+ }
1104
1216
  interface GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceTimeSeries {
1105
1217
  /** The data points that make up the time series . */
1106
1218
  dataPoints?: GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPoint[];
@@ -1682,7 +1794,7 @@ declare namespace gapi.client {
1682
1794
  latestAnalysis?: GoogleCloudContactcenterinsightsV1Analysis;
1683
1795
  /** Output only. Latest summary of the conversation. */
1684
1796
  latestSummary?: GoogleCloudContactcenterinsightsV1ConversationSummarizationSuggestionData;
1685
- /** Immutable. The conversation medium, if unspecified will default to PHONE_CALL. */
1797
+ /** Immutable. The conversation medium. */
1686
1798
  medium?: string;
1687
1799
  /** Input only. JSON metadata encoded as a string. This field is primarily used by Insights integrations with various telephony systems and must be in one of Insight's supported formats. */
1688
1800
  metadataJson?: string;
@@ -1711,6 +1823,10 @@ declare namespace gapi.client {
1711
1823
  /** The audio channel that contains the customer. */
1712
1824
  customerChannel?: number;
1713
1825
  }
1826
+ interface GoogleCloudContactcenterinsightsV1ConversationDataOptions {
1827
+ /** Whether to include the per turn Dialogflow interaction data in conversation transcript. */
1828
+ includeDialogflowInteractionData?: boolean;
1829
+ }
1714
1830
  interface GoogleCloudContactcenterinsightsV1ConversationDataSource {
1715
1831
  /** The source when the conversation comes from Dialogflow. */
1716
1832
  dialogflowSource?: GoogleCloudContactcenterinsightsV1DialogflowSource;
@@ -2766,7 +2882,7 @@ declare namespace gapi.client {
2766
2882
  latestAnalysis?: GoogleCloudContactcenterinsightsV1mainAnalysis;
2767
2883
  /** Output only. Latest summary of the conversation. */
2768
2884
  latestSummary?: GoogleCloudContactcenterinsightsV1mainConversationSummarizationSuggestionData;
2769
- /** Immutable. The conversation medium, if unspecified will default to PHONE_CALL. */
2885
+ /** Immutable. The conversation medium. */
2770
2886
  medium?: string;
2771
2887
  /** Input only. JSON metadata encoded as a string. This field is primarily used by Insights integrations with various telephony systems and must be in one of Insight's supported formats. */
2772
2888
  metadataJson?: string;
@@ -3581,10 +3697,36 @@ declare namespace gapi.client {
3581
3697
  interface GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPoint {
3582
3698
  /** The measure related to conversations. */
3583
3699
  conversationMeasure?: GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointConversationMeasure;
3700
+ /** The measure related to dialogflow interactions. */
3701
+ dialogflowInteractionMeasure?: GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointDialogflowInteractionMeasure;
3584
3702
  /** The interval that this data point represents. * If this is the total data point, the interval is [starting create time, ending create time) from the request. * If this a data point from the time series, the interval is [time, time + time granularity from the request). */
3585
3703
  interval?: GoogleTypeInterval;
3586
3704
  }
3587
3705
  interface GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointConversationMeasure {
3706
+ /** The number of conversations that were assigned to an AA human supervisor. */
3707
+ aaSupervisorAssignedConversationsCount?: number;
3708
+ /** The number of conversations that were dropped, i.e. escalated but not assigned to an AA human supervisor. */
3709
+ aaSupervisorDroppedConversationsCount?: number;
3710
+ /** The number of conversations that were escalated to an AA human supervisor for intervention. */
3711
+ aaSupervisorEscalatedConversationsCount?: number;
3712
+ /** The number of conversations scanned by the AA human supervisor. */
3713
+ aaSupervisorMonitoredConversationsCount?: number;
3714
+ /** The number of conversations transferred to a human agent. */
3715
+ aaSupervisorTransferredToHumanAgentConvCount?: number;
3716
+ /** Count of agent messages that triggered an Ai Coach Suggestion. */
3717
+ aiCoachSuggestionAgentMessageTriggerCount?: number;
3718
+ /** Count of Ai Coach Suggestion that has been used by agents. */
3719
+ aiCoachSuggestionAgentUsageCount?: number;
3720
+ /** Proportion of Ai Coach Suggestion that has been used by agents. */
3721
+ aiCoachSuggestionAgentUsageRatio?: number;
3722
+ /** Count of customer messages that triggered an Ai Coach Suggestion. */
3723
+ aiCoachSuggestionCustomerMessageTriggerCount?: number;
3724
+ /** Proportion of customer messages that triggered an Ai Coach Suggestion. */
3725
+ aiCoachSuggestionCustomerMessageTriggerRatio?: number;
3726
+ /** Count of end_of_utterance trigger event messages that triggered an Ai Coach Suggestion. */
3727
+ aiCoachSuggestionMessageTriggerCount?: number;
3728
+ /** Proportion of end_of_utterance trigger event messages that triggered an Ai Coach Suggestion. */
3729
+ aiCoachSuggestionMessageTriggerRatio?: number;
3588
3730
  /** The average agent's sentiment score. */
3589
3731
  averageAgentSentimentScore?: number;
3590
3732
  /** The average client's sentiment score. */
@@ -3599,12 +3741,78 @@ declare namespace gapi.client {
3599
3741
  averageQaQuestionNormalizedScore?: number;
3600
3742
  /** The average silence percentage. */
3601
3743
  averageSilencePercentage?: number;
3744
+ /** Average edit distance of the summarization suggestions. Edit distance (also called as levenshtein distance) is calculated by summing up number of insertions, deletions and substitutions required to transform the summization feedback to the original summary suggestion. */
3745
+ averageSummarizationSuggestionEditDistance?: number;
3746
+ /** Normalized Average edit distance of the summarization suggestions. Edit distance (also called as levenshtein distance) is calculated by summing up number of insertions, deletions and substitutions required to transform the summization feedback to the original summary suggestion. Normalized edit distance is the average of (edit distance / summary length). */
3747
+ averageSummarizationSuggestionNormalizedEditDistance?: number;
3602
3748
  /** The average turn count. */
3603
3749
  averageTurnCount?: number;
3750
+ /** The exponential moving average of the sentiment score of client turns in the conversation. */
3751
+ avgConversationClientTurnSentimentEma?: number;
3752
+ /** The number of conversations that were contained. */
3753
+ containedConversationCount?: number;
3754
+ /** The percentage of conversations that were contained. */
3755
+ containedConversationRatio?: number;
3756
+ /** Count of conversations that has Ai Coach Suggestions. */
3757
+ conversationAiCoachSuggestionCount?: number;
3758
+ /** Proportion of conversations that has Ai Coach Suggestions. */
3759
+ conversationAiCoachSuggestionRatio?: number;
3760
+ /** The average latency of conversational agents' audio in audio out latency per interaction. This is computed as the average of the all the interactions' audio in audio out latencies in a conversation and averaged across conversations. */
3761
+ conversationalAgentsAverageAudioInAudioOutLatency?: number;
3762
+ /** The average latency of conversational agents' latency per interaction. This is computed as the average of the all the iteractions' end to end latencies in a conversation and averaged across conversations. The e2e latency is the time between the end of the user utterance and the start of the agent utterance on the interaction level. */
3763
+ conversationalAgentsAverageEndToEndLatency?: number;
3764
+ /** The average latency of conversational agents' LLM call latency per interaction. This is computed as the average of the all the interactions LLM call latencies in a conversation and averaged across conversations. */
3765
+ conversationalAgentsAverageLlmCallLatency?: number;
3766
+ /** The macro average latency of conversational agents' TTS latency per interaction. This is computed as the average of the all the interactions' TTS latencies in a conversation and averaged across conversations. */
3767
+ conversationalAgentsAverageTtsLatency?: number;
3604
3768
  /** The conversation count. */
3605
3769
  conversationCount?: number;
3770
+ /** Proportion of conversations that had a suggested summary. */
3771
+ conversationSuggestedSummaryRatio?: number;
3772
+ /** The agent message count. */
3773
+ conversationTotalAgentMessageCount?: number;
3774
+ /** The customer message count. */
3775
+ conversationTotalCustomerMessageCount?: number;
3776
+ /** Average latency of dialogflow webhook calls. */
3777
+ dialogflowAverageWebhookLatency?: number;
3778
+ /** count of conversations that was handed off from virtual agent to human agent. */
3779
+ dialogflowConversationsEscalationCount?: number;
3780
+ /** Proportion of conversations that was handed off from virtual agent to human agent. */
3781
+ dialogflowConversationsEscalationRatio?: number;
3782
+ /** Proportion of dialogflow interactions that has empty input. */
3783
+ dialogflowInteractionsNoInputRatio?: number;
3784
+ /** Proportion of dialogflow interactions that has no intent match for the input. */
3785
+ dialogflowInteractionsNoMatchRatio?: number;
3786
+ /** Proportion of dialogflow webhook calls that failed. */
3787
+ dialogflowWebhookFailureRatio?: number;
3788
+ /** Proportion of dialogflow webhook calls that timed out. */
3789
+ dialogflowWebhookTimeoutRatio?: number;
3790
+ /** Proportion of knowledge assist (Proactive Generative Knowledge Assist) queries that had negative feedback. */
3791
+ knowledgeAssistNegativeFeedbackRatio?: number;
3792
+ /** Proportion of knowledge assist (Proactive Generative Knowledge Assist) queries that had positive feedback. */
3793
+ knowledgeAssistPositiveFeedbackRatio?: number;
3794
+ /** Count of knowledge assist results (Proactive Generative Knowledge Assist) shown to the user. */
3795
+ knowledgeAssistResultCount?: number;
3796
+ /** Proportion of knowledge assist (Proactive Generative Knowledge Assist) queries that had a URL clicked. */
3797
+ knowledgeAssistUriClickRatio?: number;
3798
+ /** Proportion of knowledge search (Generative Knowledge Assist) queries made by the agent compared to the total number of knowledge search queries made. */
3799
+ knowledgeSearchAgentQuerySourceRatio?: number;
3800
+ /** Proportion of knowledge search (Generative Knowledge Assist) queries that had negative feedback. */
3801
+ knowledgeSearchNegativeFeedbackRatio?: number;
3802
+ /** Proportion of knowledge search (Generative Knowledge Assist) queries that had positive feedback. */
3803
+ knowledgeSearchPositiveFeedbackRatio?: number;
3804
+ /** Count of knowledge search results (Generative Knowledge Assist) shown to the user. */
3805
+ knowledgeSearchResultCount?: number;
3806
+ /** Proportion of knowledge search (Generative Knowledge Assist) queries suggested compared to the total number of knowledge search queries made. */
3807
+ knowledgeSearchSuggestedQuerySourceRatio?: number;
3808
+ /** Proportion of knowledge search (Generative Knowledge Assist) queries that had a URL clicked. */
3809
+ knowledgeSearchUriClickRatio?: number;
3606
3810
  /** Average QA normalized score for all the tags. */
3607
3811
  qaTagScores?: GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointConversationMeasureQaTagScore[];
3812
+ /** Proportion of summarization suggestions that were manually edited. */
3813
+ summarizationSuggestionEditRatio?: number;
3814
+ /** Count of summarization suggestions results. */
3815
+ summarizationSuggestionResultCount?: number;
3608
3816
  }
3609
3817
  interface GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointConversationMeasureQaTagScore {
3610
3818
  /** Average tag normalized score per tag. */
@@ -3612,6 +3820,26 @@ declare namespace gapi.client {
3612
3820
  /** Tag name. */
3613
3821
  tag?: string;
3614
3822
  }
3823
+ interface GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointDialogflowInteractionMeasure {
3824
+ /** The percentile result for audio in audio out latency in milliseconds per dialogflow interaction level. */
3825
+ percentileAudioInAudioOutLatency?: GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointPercentileResult;
3826
+ /** The percentile result for end to end chat latency in milliseconds per dialogflow interaction level. */
3827
+ percentileEndToEndLatency?: GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointPercentileResult;
3828
+ /** The percentile result for LLM latency in milliseconds per dialogflow interaction level. */
3829
+ percentileLlmCallLatency?: GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointPercentileResult;
3830
+ /** The percentile result for tool use latency in milliseconds per dialogflow interaction level. */
3831
+ percentileToolUseLatency?: GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointPercentileResult;
3832
+ /** The percentile result for TTS latency in milliseconds per dialogflow interaction level. */
3833
+ percentileTtsLatency?: GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointPercentileResult;
3834
+ }
3835
+ interface GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointPercentileResult {
3836
+ /** The 50th percentile value. */
3837
+ p50?: number;
3838
+ /** The 90th percentile value. */
3839
+ p90?: number;
3840
+ /** The 99th percentile value. */
3841
+ p99?: number;
3842
+ }
3615
3843
  interface GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceTimeSeries {
3616
3844
  /** The data points that make up the time series . */
3617
3845
  dataPoints?: GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPoint[];
@@ -3917,6 +4145,8 @@ declare namespace gapi.client {
3917
4145
  order?: number;
3918
4146
  /** The configuration of the predefined question. This field will only be set if the Question Type is predefined. */
3919
4147
  predefinedQuestionConfig?: GoogleCloudContactcenterinsightsV1QaQuestionPredefinedQuestionConfig;
4148
+ /** Options for configuring the data used to generate the QA question. */
4149
+ qaQuestionDataOptions?: GoogleCloudContactcenterinsightsV1QaQuestionQaQuestionDataOptions;
3920
4150
  /** Question text. E.g., "Did the agent greet the customer?" */
3921
4151
  questionBody?: string;
3922
4152
  /** The type of question. */
@@ -3950,6 +4180,10 @@ declare namespace gapi.client {
3950
4180
  /** The type of the predefined question. */
3951
4181
  type?: string;
3952
4182
  }
4183
+ interface GoogleCloudContactcenterinsightsV1QaQuestionQaQuestionDataOptions {
4184
+ /** Options for configuring the conversation data used to generate the QA question. */
4185
+ conversationDataOptions?: GoogleCloudContactcenterinsightsV1ConversationDataOptions;
4186
+ }
3953
4187
  interface GoogleCloudContactcenterinsightsV1QaQuestionTag {
3954
4188
  /** Output only. The time at which the question tag was created. */
3955
4189
  createTime?: string;
@@ -4085,10 +4319,36 @@ declare namespace gapi.client {
4085
4319
  interface GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPoint {
4086
4320
  /** The measure related to conversations. */
4087
4321
  conversationMeasure?: GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointConversationMeasure;
4322
+ /** The measure related to dialogflow interactions. */
4323
+ dialogflowInteractionMeasure?: GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointDialogflowInteractionMeasure;
4088
4324
  /** The interval that this data point represents. * If this is the total data point, the interval is [starting create time, ending create time) from the request. * If this a data point from the time series, the interval is [time, time + time granularity from the request). */
4089
4325
  interval?: GoogleTypeInterval;
4090
4326
  }
4091
4327
  interface GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointConversationMeasure {
4328
+ /** The number of conversations that were assigned to an AA human supervisor. */
4329
+ aaSupervisorAssignedConversationsCount?: number;
4330
+ /** The number of conversations that were dropped, i.e. escalated but not assigned to an AA human supervisor. */
4331
+ aaSupervisorDroppedConversationsCount?: number;
4332
+ /** The number of conversations that were escalated to an AA human supervisor for intervention. */
4333
+ aaSupervisorEscalatedConversationsCount?: number;
4334
+ /** The number of conversations scanned by the AA human supervisor. */
4335
+ aaSupervisorMonitoredConversationsCount?: number;
4336
+ /** The number of conversations transferred to a human agent. */
4337
+ aaSupervisorTransferredToHumanAgentConvCount?: number;
4338
+ /** Count of agent messages that triggered an Ai Coach Suggestion. */
4339
+ aiCoachSuggestionAgentMessageTriggerCount?: number;
4340
+ /** Count of Ai Coach Suggestion that has been used by agents. */
4341
+ aiCoachSuggestionAgentUsageCount?: number;
4342
+ /** Proportion of Ai Coach Suggestion that has been used by agents. */
4343
+ aiCoachSuggestionAgentUsageRatio?: number;
4344
+ /** Count of customer messages that triggered an Ai Coach Suggestion. */
4345
+ aiCoachSuggestionCustomerMessageTriggerCount?: number;
4346
+ /** Proportion of customer messages that triggered an Ai Coach Suggestion. */
4347
+ aiCoachSuggestionCustomerMessageTriggerRatio?: number;
4348
+ /** Count of end_of_utterance trigger event messages that triggered an Ai Coach Suggestion. */
4349
+ aiCoachSuggestionMessageTriggerCount?: number;
4350
+ /** Proportion of end_of_utterance trigger event messages that triggered an Ai Coach Suggestion. */
4351
+ aiCoachSuggestionMessageTriggerRatio?: number;
4092
4352
  /** The average agent's sentiment score. */
4093
4353
  averageAgentSentimentScore?: number;
4094
4354
  /** The average client's sentiment score. */
@@ -4103,12 +4363,78 @@ declare namespace gapi.client {
4103
4363
  averageQaQuestionNormalizedScore?: number;
4104
4364
  /** The average silence percentage. */
4105
4365
  averageSilencePercentage?: number;
4366
+ /** Average edit distance of the summarization suggestions. Edit distance (also called as levenshtein distance) is calculated by summing up number of insertions, deletions and substitutions required to transform the summization feedback to the original summary suggestion. */
4367
+ averageSummarizationSuggestionEditDistance?: number;
4368
+ /** Normalized Average edit distance of the summarization suggestions. Edit distance (also called as levenshtein distance) is calculated by summing up number of insertions, deletions and substitutions required to transform the summization feedback to the original summary suggestion. Normalized edit distance is the average of (edit distance / summary length). */
4369
+ averageSummarizationSuggestionNormalizedEditDistance?: number;
4106
4370
  /** The average turn count. */
4107
4371
  averageTurnCount?: number;
4372
+ /** The exponential moving average of the sentiment score of client turns in the conversation. */
4373
+ avgConversationClientTurnSentimentEma?: number;
4374
+ /** The number of conversations that were contained. */
4375
+ containedConversationCount?: number;
4376
+ /** The percentage of conversations that were contained. */
4377
+ containedConversationRatio?: number;
4378
+ /** Count of conversations that has Ai Coach Suggestions. */
4379
+ conversationAiCoachSuggestionCount?: number;
4380
+ /** Proportion of conversations that has Ai Coach Suggestions. */
4381
+ conversationAiCoachSuggestionRatio?: number;
4382
+ /** The average latency of conversational agents' audio in audio out latency per interaction. This is computed as the average of the all the interactions' audio in audio out latencies in a conversation and averaged across conversations. */
4383
+ conversationalAgentsAverageAudioInAudioOutLatency?: number;
4384
+ /** The average latency of conversational agents' latency per interaction. This is computed as the average of the all the iteractions' end to end latencies in a conversation and averaged across conversations. The e2e latency is the time between the end of the user utterance and the start of the agent utterance on the interaction level. */
4385
+ conversationalAgentsAverageEndToEndLatency?: number;
4386
+ /** The average latency of conversational agents' LLM call latency per interaction. This is computed as the average of the all the interactions LLM call latencies in a conversation and averaged across conversations. */
4387
+ conversationalAgentsAverageLlmCallLatency?: number;
4388
+ /** The macro average latency of conversational agents' TTS latency per interaction. This is computed as the average of the all the interactions' TTS latencies in a conversation and averaged across conversations. */
4389
+ conversationalAgentsAverageTtsLatency?: number;
4108
4390
  /** The conversation count. */
4109
4391
  conversationCount?: number;
4392
+ /** Proportion of conversations that had a suggested summary. */
4393
+ conversationSuggestedSummaryRatio?: number;
4394
+ /** The agent message count. */
4395
+ conversationTotalAgentMessageCount?: number;
4396
+ /** The customer message count. */
4397
+ conversationTotalCustomerMessageCount?: number;
4398
+ /** Average latency of dialogflow webhook calls. */
4399
+ dialogflowAverageWebhookLatency?: number;
4400
+ /** count of conversations that was handed off from virtual agent to human agent. */
4401
+ dialogflowConversationsEscalationCount?: number;
4402
+ /** Proportion of conversations that was handed off from virtual agent to human agent. */
4403
+ dialogflowConversationsEscalationRatio?: number;
4404
+ /** Proportion of dialogflow interactions that has empty input. */
4405
+ dialogflowInteractionsNoInputRatio?: number;
4406
+ /** Proportion of dialogflow interactions that has no intent match for the input. */
4407
+ dialogflowInteractionsNoMatchRatio?: number;
4408
+ /** Proportion of dialogflow webhook calls that failed. */
4409
+ dialogflowWebhookFailureRatio?: number;
4410
+ /** Proportion of dialogflow webhook calls that timed out. */
4411
+ dialogflowWebhookTimeoutRatio?: number;
4412
+ /** Proportion of knowledge assist (Proactive Generative Knowledge Assist) queries that had negative feedback. */
4413
+ knowledgeAssistNegativeFeedbackRatio?: number;
4414
+ /** Proportion of knowledge assist (Proactive Generative Knowledge Assist) queries that had positive feedback. */
4415
+ knowledgeAssistPositiveFeedbackRatio?: number;
4416
+ /** Count of knowledge assist results (Proactive Generative Knowledge Assist) shown to the user. */
4417
+ knowledgeAssistResultCount?: number;
4418
+ /** Proportion of knowledge assist (Proactive Generative Knowledge Assist) queries that had a URL clicked. */
4419
+ knowledgeAssistUriClickRatio?: number;
4420
+ /** Proportion of knowledge search (Generative Knowledge Assist) queries made by the agent compared to the total number of knowledge search queries made. */
4421
+ knowledgeSearchAgentQuerySourceRatio?: number;
4422
+ /** Proportion of knowledge search (Generative Knowledge Assist) queries that had negative feedback. */
4423
+ knowledgeSearchNegativeFeedbackRatio?: number;
4424
+ /** Proportion of knowledge search (Generative Knowledge Assist) queries that had positive feedback. */
4425
+ knowledgeSearchPositiveFeedbackRatio?: number;
4426
+ /** Count of knowledge search results (Generative Knowledge Assist) shown to the user. */
4427
+ knowledgeSearchResultCount?: number;
4428
+ /** Proportion of knowledge search (Generative Knowledge Assist) queries suggested compared to the total number of knowledge search queries made. */
4429
+ knowledgeSearchSuggestedQuerySourceRatio?: number;
4430
+ /** Proportion of knowledge search (Generative Knowledge Assist) queries that had a URL clicked. */
4431
+ knowledgeSearchUriClickRatio?: number;
4110
4432
  /** Average QA normalized score for all the tags. */
4111
4433
  qaTagScores?: GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointConversationMeasureQaTagScore[];
4434
+ /** Proportion of summarization suggestions that were manually edited. */
4435
+ summarizationSuggestionEditRatio?: number;
4436
+ /** Count of summarization suggestions results. */
4437
+ summarizationSuggestionResultCount?: number;
4112
4438
  }
4113
4439
  interface GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointConversationMeasureQaTagScore {
4114
4440
  /** Average tag normalized score per tag. */
@@ -4116,6 +4442,26 @@ declare namespace gapi.client {
4116
4442
  /** Tag name. */
4117
4443
  tag?: string;
4118
4444
  }
4445
+ interface GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointDialogflowInteractionMeasure {
4446
+ /** The percentile result for audio in audio out latency in milliseconds per dialogflow interaction level. */
4447
+ percentileAudioInAudioOutLatency?: GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointPercentileResult;
4448
+ /** The percentile result for end to end chat latency in milliseconds per dialogflow interaction level. */
4449
+ percentileEndToEndLatency?: GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointPercentileResult;
4450
+ /** The percentile result for LLM latency in milliseconds per dialogflow interaction level. */
4451
+ percentileLlmCallLatency?: GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointPercentileResult;
4452
+ /** The percentile result for tool use latency in milliseconds per dialogflow interaction level. */
4453
+ percentileToolUseLatency?: GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointPercentileResult;
4454
+ /** The percentile result for TTS latency in milliseconds per dialogflow interaction level. */
4455
+ percentileTtsLatency?: GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointPercentileResult;
4456
+ }
4457
+ interface GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointPercentileResult {
4458
+ /** The 50th percentile value. */
4459
+ p50?: number;
4460
+ /** The 90th percentile value. */
4461
+ p90?: number;
4462
+ /** The 99th percentile value. */
4463
+ p99?: number;
4464
+ }
4119
4465
  interface GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceTimeSeries {
4120
4466
  /** The data points that make up the time series . */
4121
4467
  dataPoints?: GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPoint[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.contactcenterinsights-v1",
3
- "version": "0.1.20260112",
3
+ "version": "0.2.20260116",
4
4
  "description": "TypeScript typings for Contact Center AI Insights API v1",
5
5
  "repository": {
6
6
  "type": "git",