@maxim_mazurok/gapi.client.contactcenterinsights-v1 0.0.20241104 → 0.0.20241114

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 +17 -13
  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: 20241104
12
+ // Revision: 20241114
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -43,6 +43,8 @@ declare namespace gapi.client {
43
43
  interface GoogleCloudContactcenterinsightsV1alpha1AnalysisResult {
44
44
  /** Call-specific metadata created by the analysis. */
45
45
  callAnalysisMetadata?: GoogleCloudContactcenterinsightsV1alpha1AnalysisResultCallAnalysisMetadata;
46
+ /** The time at which the analysis ended. */
47
+ endTime?: string;
46
48
  }
47
49
  interface GoogleCloudContactcenterinsightsV1alpha1AnalysisResultCallAnalysisMetadata {
48
50
  /** A list of call annotations that apply to this call. */
@@ -230,7 +232,7 @@ declare namespace gapi.client {
230
232
  duration?: string;
231
233
  /** The time at which this conversation should expire. After this time, the conversation data and any associated analyses will be deleted. */
232
234
  expireTime?: string;
233
- /** A map for the user to specify any custom fields. A maximum of 20 labels per conversation is allowed, with a maximum of 256 characters per entry. */
235
+ /** A map for the user to specify any custom fields. A maximum of 100 labels per conversation is allowed, with a maximum of 256 characters per entry. */
234
236
  labels?: {[P in string]: string};
235
237
  /** A user-specified language code for the conversation. */
236
238
  languageCode?: string;
@@ -310,6 +312,8 @@ declare namespace gapi.client {
310
312
  interface GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadataAgentInfo {
311
313
  /** A user-specified string representing the agent. */
312
314
  agentId?: string;
315
+ /** The agent type, e.g. HUMAN_AGENT. */
316
+ agentType?: string;
313
317
  /** The agent's name. */
314
318
  displayName?: string;
315
319
  /** A user-provided string indicating the outcome of the agent's segment of the call. */
@@ -663,7 +667,7 @@ declare namespace gapi.client {
663
667
  bucketObjectType?: string;
664
668
  /** Required. The Cloud Storage bucket containing source objects. */
665
669
  bucketUri?: string;
666
- /** Optional. Custom keys to extract as conversation labels from metadata files in `metadata_bucket_uri`. Keys not included in this field will be ignored. Note that there is a limit of 20 labels per conversation. */
670
+ /** Optional. Custom keys to extract as conversation labels from metadata files in `metadata_bucket_uri`. Keys not included in this field will be ignored. Note that there is a limit of 100 labels per conversation. */
667
671
  customMetadataKeys?: string[];
668
672
  /** Optional. The Cloud Storage path to the conversation metadata. Note that: [1] Metadata files are expected to be in JSON format. [2] Metadata and source files (transcripts or audio) must be in separate buckets. [3] A source file and its corresponding metadata file must share the same name to be properly ingested, E.g. `gs://bucket/audio/conversation1.mp3` and `gs://bucket/metadata/conversation1.json`. */
669
673
  metadataBucketUri?: string;
@@ -790,8 +794,6 @@ declare namespace gapi.client {
790
794
  answerValue?: GoogleCloudContactcenterinsightsV1alpha1QaAnswerAnswerValue;
791
795
  /** The conversation the answer applies to. */
792
796
  conversation?: string;
793
- /** The maximum potential score of the question. If the question was answered using `na_value`, this field will be zero. Deprecated: Use AnswerValue.potential_score instead. */
794
- potentialScore?: number;
795
797
  /** The QaQuestion answered by this answer. */
796
798
  qaQuestion?: string;
797
799
  /** Question text. E.g., "Did the agent greet the customer?" */
@@ -810,9 +812,9 @@ declare namespace gapi.client {
810
812
  boolValue?: boolean;
811
813
  /** A short string used as an identifier. Matches the value used in QaQuestion.AnswerChoice.key. */
812
814
  key?: string;
813
- /** A value of "Not Applicable (N/A)". */
815
+ /** A value of "Not Applicable (N/A)". Should only ever be `true`. */
814
816
  naValue?: boolean;
815
- /** Output only. Normalized score of the questions. Calculated as score / potential_score iff potential_score != 0 else 0 */
817
+ /** Output only. Normalized score of the questions. Calculated as score / potential_score. */
816
818
  normalizedScore?: number;
817
819
  /** Numerical value. */
818
820
  numValue?: number;
@@ -1049,6 +1051,8 @@ declare namespace gapi.client {
1049
1051
  interface GoogleCloudContactcenterinsightsV1AnalysisResult {
1050
1052
  /** Call-specific metadata created by the analysis. */
1051
1053
  callAnalysisMetadata?: GoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata;
1054
+ /** The time at which the analysis ended. */
1055
+ endTime?: string;
1052
1056
  }
1053
1057
  interface GoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata {
1054
1058
  /** A list of call annotations that apply to this call. */
@@ -1351,7 +1355,7 @@ declare namespace gapi.client {
1351
1355
  duration?: string;
1352
1356
  /** The time at which this conversation should expire. After this time, the conversation data and any associated analyses will be deleted. */
1353
1357
  expireTime?: string;
1354
- /** A map for the user to specify any custom fields. A maximum of 20 labels per conversation is allowed, with a maximum of 256 characters per entry. */
1358
+ /** A map for the user to specify any custom fields. A maximum of 100 labels per conversation is allowed, with a maximum of 256 characters per entry. */
1355
1359
  labels?: {[P in string]: string};
1356
1360
  /** A user-specified language code for the conversation. */
1357
1361
  languageCode?: string;
@@ -1431,6 +1435,8 @@ declare namespace gapi.client {
1431
1435
  interface GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo {
1432
1436
  /** A user-specified string representing the agent. */
1433
1437
  agentId?: string;
1438
+ /** The agent type, e.g. HUMAN_AGENT. */
1439
+ agentType?: string;
1434
1440
  /** The agent's name. */
1435
1441
  displayName?: string;
1436
1442
  /** A user-provided string indicating the outcome of the agent's segment of the call. */
@@ -1789,7 +1795,7 @@ declare namespace gapi.client {
1789
1795
  bucketObjectType?: string;
1790
1796
  /** Required. The Cloud Storage bucket containing source objects. */
1791
1797
  bucketUri?: string;
1792
- /** Optional. Custom keys to extract as conversation labels from metadata files in `metadata_bucket_uri`. Keys not included in this field will be ignored. Note that there is a limit of 20 labels per conversation. */
1798
+ /** Optional. Custom keys to extract as conversation labels from metadata files in `metadata_bucket_uri`. Keys not included in this field will be ignored. Note that there is a limit of 100 labels per conversation. */
1793
1799
  customMetadataKeys?: string[];
1794
1800
  /** Optional. The Cloud Storage path to the conversation metadata. Note that: [1] Metadata files are expected to be in JSON format. [2] Metadata and source files (transcripts or audio) must be in separate buckets. [3] A source file and its corresponding metadata file must share the same name to be properly ingested, E.g. `gs://bucket/audio/conversation1.mp3` and `gs://bucket/metadata/conversation1.json`. */
1795
1801
  metadataBucketUri?: string;
@@ -2028,8 +2034,6 @@ declare namespace gapi.client {
2028
2034
  answerValue?: GoogleCloudContactcenterinsightsV1QaAnswerAnswerValue;
2029
2035
  /** The conversation the answer applies to. */
2030
2036
  conversation?: string;
2031
- /** The maximum potential score of the question. If the question was answered using `na_value`, this field will be zero. Deprecated: Use AnswerValue.potential_score instead. */
2032
- potentialScore?: number;
2033
2037
  /** The QaQuestion answered by this answer. */
2034
2038
  qaQuestion?: string;
2035
2039
  /** Question text. E.g., "Did the agent greet the customer?" */
@@ -2048,9 +2052,9 @@ declare namespace gapi.client {
2048
2052
  boolValue?: boolean;
2049
2053
  /** A short string used as an identifier. Matches the value used in QaQuestion.AnswerChoice.key. */
2050
2054
  key?: string;
2051
- /** A value of "Not Applicable (N/A)". */
2055
+ /** A value of "Not Applicable (N/A)". Should only ever be `true`. */
2052
2056
  naValue?: boolean;
2053
- /** Output only. Normalized score of the questions. Calculated as score / potential_score iff potential_score != 0 else 0 */
2057
+ /** Output only. Normalized score of the questions. Calculated as score / potential_score. */
2054
2058
  normalizedScore?: number;
2055
2059
  /** Numerical value. */
2056
2060
  numValue?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.contactcenterinsights-v1",
3
- "version": "0.0.20241104",
3
+ "version": "0.0.20241114",
4
4
  "description": "TypeScript typings for Contact Center AI Insights API v1",
5
5
  "repository": {
6
6
  "type": "git",