@maxim_mazurok/gapi.client.contactcenterinsights-v1 0.0.20241111 → 0.0.20241119

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 +103 -2
  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: 20241111
12
+ // Revision: 20241119
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. */
@@ -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. */
@@ -1047,6 +1051,8 @@ declare namespace gapi.client {
1047
1051
  interface GoogleCloudContactcenterinsightsV1AnalysisResult {
1048
1052
  /** Call-specific metadata created by the analysis. */
1049
1053
  callAnalysisMetadata?: GoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata;
1054
+ /** The time at which the analysis ended. */
1055
+ endTime?: string;
1050
1056
  }
1051
1057
  interface GoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata {
1052
1058
  /** A list of call annotations that apply to this call. */
@@ -1429,6 +1435,8 @@ declare namespace gapi.client {
1429
1435
  interface GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo {
1430
1436
  /** A user-specified string representing the agent. */
1431
1437
  agentId?: string;
1438
+ /** The agent type, e.g. HUMAN_AGENT. */
1439
+ agentType?: string;
1432
1440
  /** The agent's name. */
1433
1441
  displayName?: string;
1434
1442
  /** A user-provided string indicating the outcome of the agent's segment of the call. */
@@ -2639,6 +2647,98 @@ declare namespace gapi.client {
2639
2647
  body: GoogleCloudContactcenterinsightsV1AnalysisRule
2640
2648
  ): Request<GoogleCloudContactcenterinsightsV1AnalysisRule>;
2641
2649
  }
2650
+ interface AuthorizedViewResource {
2651
+ /** Gets conversation statistics. */
2652
+ calculateStats(request?: {
2653
+ /** V1 error format. */
2654
+ '$.xgafv'?: string;
2655
+ /** OAuth access token. */
2656
+ access_token?: string;
2657
+ /** Data format for response. */
2658
+ alt?: string;
2659
+ /** JSONP */
2660
+ callback?: string;
2661
+ /** Selector specifying which fields to include in a partial response. */
2662
+ fields?: string;
2663
+ /** A filter to reduce results to a specific subset. This field is useful for getting statistics about conversations with specific properties. */
2664
+ filter?: string;
2665
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2666
+ key?: string;
2667
+ /** Required. The location of the conversations. */
2668
+ location: string;
2669
+ /** OAuth 2.0 token for the current user. */
2670
+ oauth_token?: string;
2671
+ /** Returns response with indentations and line breaks. */
2672
+ prettyPrint?: boolean;
2673
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2674
+ quotaUser?: string;
2675
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2676
+ upload_protocol?: string;
2677
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2678
+ uploadType?: string;
2679
+ }): Request<GoogleCloudContactcenterinsightsV1CalculateStatsResponse>;
2680
+ /** Query metrics. */
2681
+ queryMetrics(request: {
2682
+ /** V1 error format. */
2683
+ '$.xgafv'?: string;
2684
+ /** OAuth access token. */
2685
+ access_token?: string;
2686
+ /** Data format for response. */
2687
+ alt?: string;
2688
+ /** JSONP */
2689
+ callback?: string;
2690
+ /** Selector specifying which fields to include in a partial response. */
2691
+ fields?: string;
2692
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2693
+ key?: string;
2694
+ /** Required. The location of the data. "projects/{project}/locations/{location}" */
2695
+ location: string;
2696
+ /** OAuth 2.0 token for the current user. */
2697
+ oauth_token?: string;
2698
+ /** Returns response with indentations and line breaks. */
2699
+ prettyPrint?: boolean;
2700
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2701
+ quotaUser?: string;
2702
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2703
+ upload_protocol?: string;
2704
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2705
+ uploadType?: string;
2706
+ /** Request body */
2707
+ resource: GoogleCloudContactcenterinsightsV1QueryMetricsRequest;
2708
+ }): Request<GoogleLongrunningOperation>;
2709
+ queryMetrics(
2710
+ request: {
2711
+ /** V1 error format. */
2712
+ '$.xgafv'?: string;
2713
+ /** OAuth access token. */
2714
+ access_token?: string;
2715
+ /** Data format for response. */
2716
+ alt?: string;
2717
+ /** JSONP */
2718
+ callback?: string;
2719
+ /** Selector specifying which fields to include in a partial response. */
2720
+ fields?: string;
2721
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2722
+ key?: string;
2723
+ /** Required. The location of the data. "projects/{project}/locations/{location}" */
2724
+ location: string;
2725
+ /** OAuth 2.0 token for the current user. */
2726
+ oauth_token?: string;
2727
+ /** Returns response with indentations and line breaks. */
2728
+ prettyPrint?: boolean;
2729
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2730
+ quotaUser?: string;
2731
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2732
+ upload_protocol?: string;
2733
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2734
+ uploadType?: string;
2735
+ },
2736
+ body: GoogleCloudContactcenterinsightsV1QueryMetricsRequest
2737
+ ): Request<GoogleLongrunningOperation>;
2738
+ }
2739
+ interface AuthorizedViewSetResource {
2740
+ authorizedView: AuthorizedViewResource;
2741
+ }
2642
2742
  interface AnalysesResource {
2643
2743
  /** Creates an analysis. The long running operation is done when the analysis has completed. */
2644
2744
  create(request: {
@@ -4212,7 +4312,7 @@ declare namespace gapi.client {
4212
4312
  issues: IssuesResource;
4213
4313
  }
4214
4314
  interface OperationsResource {
4215
- /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. */
4315
+ /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */
4216
4316
  cancel(request?: {
4217
4317
  /** V1 error format. */
4218
4318
  '$.xgafv'?: string;
@@ -5794,6 +5894,7 @@ declare namespace gapi.client {
5794
5894
  body: GoogleCloudContactcenterinsightsV1Settings
5795
5895
  ): Request<GoogleCloudContactcenterinsightsV1Settings>;
5796
5896
  analysisRules: AnalysisRulesResource;
5897
+ authorizedViewSet: AuthorizedViewSetResource;
5797
5898
  conversations: ConversationsResource;
5798
5899
  encryptionSpec: EncryptionSpecResource;
5799
5900
  insightsdata: InsightsdataResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.contactcenterinsights-v1",
3
- "version": "0.0.20241111",
3
+ "version": "0.0.20241119",
4
4
  "description": "TypeScript typings for Contact Center AI Insights API v1",
5
5
  "repository": {
6
6
  "type": "git",