@maxim_mazurok/gapi.client.contactcenterinsights-v1 0.1.20250915 → 0.1.20250923

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 +27 -3
  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: 20250915
12
+ // Revision: 20250923
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -516,6 +516,8 @@ declare namespace gapi.client {
516
516
  qaQuestionAnswerDimensionMetadata?: GoogleCloudContactcenterinsightsV1alpha1DimensionQaQuestionAnswerDimensionMetadata;
517
517
  /** Output only. Metadata about the QA question dimension. */
518
518
  qaQuestionDimensionMetadata?: GoogleCloudContactcenterinsightsV1alpha1DimensionQaQuestionDimensionMetadata;
519
+ /** Output only. Metadata about the QA scorecard dimension. */
520
+ qaScorecardDimensionMetadata?: GoogleCloudContactcenterinsightsV1alpha1DimensionQaScorecardDimensionMetadata;
519
521
  }
520
522
  interface GoogleCloudContactcenterinsightsV1alpha1DimensionAgentDimensionMetadata {
521
523
  /** Optional. The agent's name */
@@ -551,6 +553,10 @@ declare namespace gapi.client {
551
553
  /** Optional. The full body of the question. */
552
554
  questionBody?: string;
553
555
  }
556
+ interface GoogleCloudContactcenterinsightsV1alpha1DimensionQaScorecardDimensionMetadata {
557
+ /** Optional. The QA scorecard ID. */
558
+ qaScorecardId?: string;
559
+ }
554
560
  interface GoogleCloudContactcenterinsightsV1alpha1EncryptionSpec {
555
561
  /** Required. The name of customer-managed encryption key that is used to secure a resource and its sub-resources. If empty, the resource is secured by our default encryption key. Only the key in the same location as this resource is allowed to be used for encryption. Format: `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}` */
556
562
  kmsKey?: string;
@@ -916,6 +922,8 @@ declare namespace gapi.client {
916
922
  numValue?: number;
917
923
  /** Output only. The maximum potential score of the question. */
918
924
  potentialScore?: number;
925
+ /** Output only. The rationale for the answer. This field is only populated for answers that are generated by the LLM. Manual edits currently do not have rationales. */
926
+ rationale?: GoogleCloudContactcenterinsightsV1alpha1QaAnswerAnswerValueQaAnswerRationale;
919
927
  /** Output only. Numerical score of the answer. */
920
928
  score?: number;
921
929
  /** Output only. A value of "Skip". If provided, this field may only be set to `true`. If a question receives this answer, it will be excluded from any score calculations. This would mean that the question was not evaluated. */
@@ -923,6 +931,10 @@ declare namespace gapi.client {
923
931
  /** String value. */
924
932
  strValue?: string;
925
933
  }
934
+ interface GoogleCloudContactcenterinsightsV1alpha1QaAnswerAnswerValueQaAnswerRationale {
935
+ /** The rationale string for the answer. */
936
+ rationale?: string;
937
+ }
926
938
  interface GoogleCloudContactcenterinsightsV1alpha1QaQuestionTag {
927
939
  /** Output only. The time at which the question tag was created. */
928
940
  createTime?: string;
@@ -988,7 +1000,7 @@ declare namespace gapi.client {
988
1000
  interface GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponse {
989
1001
  /** Required. The location of the data. "projects/{project}/locations/{location}" */
990
1002
  location?: string;
991
- /** The macro average slice contains aggregated averages across the selected dimension. i.e. if group_by agent is specified this field will contain the average across all agents. This field is only populated if the request specifies a Dimension. */
1003
+ /** The macro average slice contains aggregated averages across all selected dimensions. i.e. if group_by agent and scorecard_id is specified, this field will contain the average across all agents and all scorecards. This field is only populated if the request specifies a Dimension. */
992
1004
  macroAverageSlice?: GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSlice;
993
1005
  /** A slice contains a total and (if the request specified a time granularity) a time series of metric values. Each slice contains a unique combination of the cardinality of dimensions from the request. */
994
1006
  slices?: GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSlice[];
@@ -1878,6 +1890,8 @@ declare namespace gapi.client {
1878
1890
  qaQuestionAnswerDimensionMetadata?: GoogleCloudContactcenterinsightsV1DimensionQaQuestionAnswerDimensionMetadata;
1879
1891
  /** Output only. Metadata about the QA question dimension. */
1880
1892
  qaQuestionDimensionMetadata?: GoogleCloudContactcenterinsightsV1DimensionQaQuestionDimensionMetadata;
1893
+ /** Output only. Metadata about the QA scorecard dimension. */
1894
+ qaScorecardDimensionMetadata?: GoogleCloudContactcenterinsightsV1DimensionQaScorecardDimensionMetadata;
1881
1895
  }
1882
1896
  interface GoogleCloudContactcenterinsightsV1DimensionAgentDimensionMetadata {
1883
1897
  /** Optional. The agent's name */
@@ -1913,6 +1927,10 @@ declare namespace gapi.client {
1913
1927
  /** Optional. The full body of the question. */
1914
1928
  questionBody?: string;
1915
1929
  }
1930
+ interface GoogleCloudContactcenterinsightsV1DimensionQaScorecardDimensionMetadata {
1931
+ /** Optional. The QA scorecard ID. */
1932
+ qaScorecardId?: string;
1933
+ }
1916
1934
  interface GoogleCloudContactcenterinsightsV1EncryptionSpec {
1917
1935
  /** Required. The name of customer-managed encryption key that is used to secure a resource and its sub-resources. If empty, the resource is secured by our default encryption key. Only the key in the same location as this resource is allowed to be used for encryption. Format: `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}` */
1918
1936
  kmsKey?: string;
@@ -2451,6 +2469,8 @@ declare namespace gapi.client {
2451
2469
  numValue?: number;
2452
2470
  /** Output only. The maximum potential score of the question. */
2453
2471
  potentialScore?: number;
2472
+ /** Output only. The rationale for the answer. This field is only populated for answers that are generated by the LLM. Manual edits currently do not have rationales. */
2473
+ rationale?: GoogleCloudContactcenterinsightsV1QaAnswerAnswerValueQaAnswerRationale;
2454
2474
  /** Output only. Numerical score of the answer. */
2455
2475
  score?: number;
2456
2476
  /** Output only. A value of "Skip". If provided, this field may only be set to `true`. If a question receives this answer, it will be excluded from any score calculations. This would mean that the question was not evaluated. */
@@ -2458,6 +2478,10 @@ declare namespace gapi.client {
2458
2478
  /** String value. */
2459
2479
  strValue?: string;
2460
2480
  }
2481
+ interface GoogleCloudContactcenterinsightsV1QaAnswerAnswerValueQaAnswerRationale {
2482
+ /** The rationale string for the answer. */
2483
+ rationale?: string;
2484
+ }
2461
2485
  interface GoogleCloudContactcenterinsightsV1QaQuestion {
2462
2486
  /** Short, descriptive string, used in the UI where it's not practical to display the full question body. E.g., "Greeting". */
2463
2487
  abbreviation?: string;
@@ -2625,7 +2649,7 @@ declare namespace gapi.client {
2625
2649
  interface GoogleCloudContactcenterinsightsV1QueryMetricsResponse {
2626
2650
  /** Required. The location of the data. "projects/{project}/locations/{location}" */
2627
2651
  location?: string;
2628
- /** The macro average slice contains aggregated averages across the selected dimension. i.e. if group_by agent is specified this field will contain the average across all agents. This field is only populated if the request specifies a Dimension. */
2652
+ /** The macro average slice contains aggregated averages across all selected dimensions. i.e. if group_by agent and scorecard_id is specified, this field will contain the average across all agents and all scorecards. This field is only populated if the request specifies a Dimension. */
2629
2653
  macroAverageSlice?: GoogleCloudContactcenterinsightsV1QueryMetricsResponseSlice;
2630
2654
  /** A slice contains a total and (if the request specified a time granularity) a time series of metric values. Each slice contains a unique combination of the cardinality of dimensions from the request. */
2631
2655
  slices?: GoogleCloudContactcenterinsightsV1QueryMetricsResponseSlice[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.contactcenterinsights-v1",
3
- "version": "0.1.20250915",
3
+ "version": "0.1.20250923",
4
4
  "description": "TypeScript typings for Contact Center AI Insights API v1",
5
5
  "repository": {
6
6
  "type": "git",