@maxim_mazurok/gapi.client.contactcenterinsights-v1 0.1.20250818 → 0.1.20250825

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 +344 -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: 20250818
12
+ // Revision: 20250825
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -703,6 +703,8 @@ declare namespace gapi.client {
703
703
  partialErrors?: GoogleRpcStatus[];
704
704
  /** Output only. The original request for ingest. */
705
705
  request?: GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequest;
706
+ /** Output only. Stores the conversation resources produced by ingest sampling operations. */
707
+ sampledConversations?: string[];
706
708
  }
707
709
  interface GoogleCloudContactcenterinsightsV1alpha1IngestConversationsMetadataIngestConversationsStats {
708
710
  /** Output only. The number of objects skipped because another conversation with the same transcript uri had already been ingested. */
@@ -2068,6 +2070,8 @@ declare namespace gapi.client {
2068
2070
  partialErrors?: GoogleRpcStatus[];
2069
2071
  /** Output only. The original request for ingest. */
2070
2072
  request?: GoogleCloudContactcenterinsightsV1IngestConversationsRequest;
2073
+ /** Output only. Stores the conversation resources produced by ingest sampling operations. */
2074
+ sampledConversations?: string[];
2071
2075
  }
2072
2076
  interface GoogleCloudContactcenterinsightsV1IngestConversationsMetadataIngestConversationsStats {
2073
2077
  /** Output only. The number of objects skipped because another conversation with the same transcript uri had already been ingested. */
@@ -2276,6 +2280,12 @@ declare namespace gapi.client {
2276
2280
  /** A token which can be sent as `page_token` to retrieve the next page. If this field is set, it means there is another page available. If it is not set, it means no other pages are available. */
2277
2281
  nextPageToken?: string;
2278
2282
  }
2283
+ interface GoogleCloudContactcenterinsightsV1ListDatasetsResponse {
2284
+ /** The datasets that match the request. */
2285
+ datasets?: GoogleCloudContactcenterinsightsV1Dataset[];
2286
+ /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
2287
+ nextPageToken?: string;
2288
+ }
2279
2289
  interface GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse {
2280
2290
  /** The feedback labels that match the request. */
2281
2291
  feedbackLabels?: GoogleCloudContactcenterinsightsV1FeedbackLabel[];
@@ -2529,6 +2539,8 @@ declare namespace gapi.client {
2529
2539
  isDefault?: boolean;
2530
2540
  /** Identifier. The scorecard name. Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard} */
2531
2541
  name?: string;
2542
+ /** Output only. The source of the scorecard. */
2543
+ source?: string;
2532
2544
  /** Output only. The most recent time at which the scorecard was updated. */
2533
2545
  updateTime?: string;
2534
2546
  }
@@ -6522,6 +6534,64 @@ declare namespace gapi.client {
6522
6534
  },
6523
6535
  body: GoogleCloudContactcenterinsightsV1Conversation,
6524
6536
  ): Request<GoogleCloudContactcenterinsightsV1Conversation>;
6537
+ /** Samples conversations based on user configuration and handles the sampled conversations for different use cases. */
6538
+ sample(request: {
6539
+ /** V1 error format. */
6540
+ '$.xgafv'?: string;
6541
+ /** OAuth access token. */
6542
+ access_token?: string;
6543
+ /** Data format for response. */
6544
+ alt?: string;
6545
+ /** JSONP */
6546
+ callback?: string;
6547
+ /** Selector specifying which fields to include in a partial response. */
6548
+ fields?: string;
6549
+ /** 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. */
6550
+ key?: string;
6551
+ /** OAuth 2.0 token for the current user. */
6552
+ oauth_token?: string;
6553
+ /** Required. The parent resource of the dataset. */
6554
+ parent: string;
6555
+ /** Returns response with indentations and line breaks. */
6556
+ prettyPrint?: boolean;
6557
+ /** 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. */
6558
+ quotaUser?: string;
6559
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
6560
+ upload_protocol?: string;
6561
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6562
+ uploadType?: string;
6563
+ /** Request body */
6564
+ resource: GoogleCloudContactcenterinsightsV1SampleConversationsRequest;
6565
+ }): Request<GoogleLongrunningOperation>;
6566
+ sample(
6567
+ request: {
6568
+ /** V1 error format. */
6569
+ '$.xgafv'?: string;
6570
+ /** OAuth access token. */
6571
+ access_token?: string;
6572
+ /** Data format for response. */
6573
+ alt?: string;
6574
+ /** JSONP */
6575
+ callback?: string;
6576
+ /** Selector specifying which fields to include in a partial response. */
6577
+ fields?: string;
6578
+ /** 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. */
6579
+ key?: string;
6580
+ /** OAuth 2.0 token for the current user. */
6581
+ oauth_token?: string;
6582
+ /** Required. The parent resource of the dataset. */
6583
+ parent: string;
6584
+ /** Returns response with indentations and line breaks. */
6585
+ prettyPrint?: boolean;
6586
+ /** 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. */
6587
+ quotaUser?: string;
6588
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
6589
+ upload_protocol?: string;
6590
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6591
+ uploadType?: string;
6592
+ },
6593
+ body: GoogleCloudContactcenterinsightsV1SampleConversationsRequest,
6594
+ ): Request<GoogleLongrunningOperation>;
6525
6595
  /** Create a long-running conversation upload operation. This method differs from `CreateConversation` by allowing audio transcription and optional DLP redaction. */
6526
6596
  upload(request: {
6527
6597
  /** V1 error format. */
@@ -7272,6 +7342,64 @@ declare namespace gapi.client {
7272
7342
  /** The level of details of the conversation. Default is `BASIC`. */
7273
7343
  view?: string;
7274
7344
  }): Request<GoogleCloudContactcenterinsightsV1ListConversationsResponse>;
7345
+ /** Samples conversations based on user configuration and handles the sampled conversations for different use cases. */
7346
+ sample(request: {
7347
+ /** V1 error format. */
7348
+ '$.xgafv'?: string;
7349
+ /** OAuth access token. */
7350
+ access_token?: string;
7351
+ /** Data format for response. */
7352
+ alt?: string;
7353
+ /** JSONP */
7354
+ callback?: string;
7355
+ /** Selector specifying which fields to include in a partial response. */
7356
+ fields?: string;
7357
+ /** 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. */
7358
+ key?: string;
7359
+ /** OAuth 2.0 token for the current user. */
7360
+ oauth_token?: string;
7361
+ /** Required. The parent resource of the dataset. */
7362
+ parent: string;
7363
+ /** Returns response with indentations and line breaks. */
7364
+ prettyPrint?: boolean;
7365
+ /** 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. */
7366
+ quotaUser?: string;
7367
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
7368
+ upload_protocol?: string;
7369
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7370
+ uploadType?: string;
7371
+ /** Request body */
7372
+ resource: GoogleCloudContactcenterinsightsV1SampleConversationsRequest;
7373
+ }): Request<GoogleLongrunningOperation>;
7374
+ sample(
7375
+ request: {
7376
+ /** V1 error format. */
7377
+ '$.xgafv'?: string;
7378
+ /** OAuth access token. */
7379
+ access_token?: string;
7380
+ /** Data format for response. */
7381
+ alt?: string;
7382
+ /** JSONP */
7383
+ callback?: string;
7384
+ /** Selector specifying which fields to include in a partial response. */
7385
+ fields?: string;
7386
+ /** 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. */
7387
+ key?: string;
7388
+ /** OAuth 2.0 token for the current user. */
7389
+ oauth_token?: string;
7390
+ /** Required. The parent resource of the dataset. */
7391
+ parent: string;
7392
+ /** Returns response with indentations and line breaks. */
7393
+ prettyPrint?: boolean;
7394
+ /** 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. */
7395
+ quotaUser?: string;
7396
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
7397
+ upload_protocol?: string;
7398
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7399
+ uploadType?: string;
7400
+ },
7401
+ body: GoogleCloudContactcenterinsightsV1SampleConversationsRequest,
7402
+ ): Request<GoogleLongrunningOperation>;
7275
7403
  analyses: AnalysesResource;
7276
7404
  feedbackLabels: FeedbackLabelsResource;
7277
7405
  }
@@ -7510,6 +7638,155 @@ declare namespace gapi.client {
7510
7638
  },
7511
7639
  body: GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequest,
7512
7640
  ): Request<GoogleLongrunningOperation>;
7641
+ /** Creates a dataset. */
7642
+ create(request: {
7643
+ /** V1 error format. */
7644
+ '$.xgafv'?: string;
7645
+ /** OAuth access token. */
7646
+ access_token?: string;
7647
+ /** Data format for response. */
7648
+ alt?: string;
7649
+ /** JSONP */
7650
+ callback?: string;
7651
+ /** Optional. The ID to use for the dataset. */
7652
+ datasetId?: string;
7653
+ /** Selector specifying which fields to include in a partial response. */
7654
+ fields?: string;
7655
+ /** 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. */
7656
+ key?: string;
7657
+ /** OAuth 2.0 token for the current user. */
7658
+ oauth_token?: string;
7659
+ /** Required. The parent resource of the dataset. */
7660
+ parent: string;
7661
+ /** Returns response with indentations and line breaks. */
7662
+ prettyPrint?: boolean;
7663
+ /** 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. */
7664
+ quotaUser?: string;
7665
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
7666
+ upload_protocol?: string;
7667
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7668
+ uploadType?: string;
7669
+ /** Request body */
7670
+ resource: GoogleCloudContactcenterinsightsV1Dataset;
7671
+ }): Request<GoogleCloudContactcenterinsightsV1Dataset>;
7672
+ create(
7673
+ request: {
7674
+ /** V1 error format. */
7675
+ '$.xgafv'?: string;
7676
+ /** OAuth access token. */
7677
+ access_token?: string;
7678
+ /** Data format for response. */
7679
+ alt?: string;
7680
+ /** JSONP */
7681
+ callback?: string;
7682
+ /** Optional. The ID to use for the dataset. */
7683
+ datasetId?: string;
7684
+ /** Selector specifying which fields to include in a partial response. */
7685
+ fields?: string;
7686
+ /** 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. */
7687
+ key?: string;
7688
+ /** OAuth 2.0 token for the current user. */
7689
+ oauth_token?: string;
7690
+ /** Required. The parent resource of the dataset. */
7691
+ parent: string;
7692
+ /** Returns response with indentations and line breaks. */
7693
+ prettyPrint?: boolean;
7694
+ /** 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. */
7695
+ quotaUser?: string;
7696
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
7697
+ upload_protocol?: string;
7698
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7699
+ uploadType?: string;
7700
+ },
7701
+ body: GoogleCloudContactcenterinsightsV1Dataset,
7702
+ ): Request<GoogleCloudContactcenterinsightsV1Dataset>;
7703
+ /** Delete a dataset. */
7704
+ delete(request?: {
7705
+ /** V1 error format. */
7706
+ '$.xgafv'?: string;
7707
+ /** OAuth access token. */
7708
+ access_token?: string;
7709
+ /** Data format for response. */
7710
+ alt?: string;
7711
+ /** JSONP */
7712
+ callback?: string;
7713
+ /** Selector specifying which fields to include in a partial response. */
7714
+ fields?: string;
7715
+ /** 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. */
7716
+ key?: string;
7717
+ /** Required. The name of the dataset to delete. */
7718
+ name: string;
7719
+ /** OAuth 2.0 token for the current user. */
7720
+ oauth_token?: string;
7721
+ /** Returns response with indentations and line breaks. */
7722
+ prettyPrint?: boolean;
7723
+ /** 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. */
7724
+ quotaUser?: string;
7725
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
7726
+ upload_protocol?: string;
7727
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7728
+ uploadType?: string;
7729
+ }): Request<GoogleLongrunningOperation>;
7730
+ /** Gets a dataset. */
7731
+ get(request?: {
7732
+ /** V1 error format. */
7733
+ '$.xgafv'?: string;
7734
+ /** OAuth access token. */
7735
+ access_token?: string;
7736
+ /** Data format for response. */
7737
+ alt?: string;
7738
+ /** JSONP */
7739
+ callback?: string;
7740
+ /** Selector specifying which fields to include in a partial response. */
7741
+ fields?: string;
7742
+ /** 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. */
7743
+ key?: string;
7744
+ /** Required. The name of the dataset to get. */
7745
+ name: string;
7746
+ /** OAuth 2.0 token for the current user. */
7747
+ oauth_token?: string;
7748
+ /** Returns response with indentations and line breaks. */
7749
+ prettyPrint?: boolean;
7750
+ /** 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. */
7751
+ quotaUser?: string;
7752
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
7753
+ upload_protocol?: string;
7754
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7755
+ uploadType?: string;
7756
+ }): Request<GoogleCloudContactcenterinsightsV1Dataset>;
7757
+ /** List datasets matching the input. */
7758
+ list(request?: {
7759
+ /** V1 error format. */
7760
+ '$.xgafv'?: string;
7761
+ /** OAuth access token. */
7762
+ access_token?: string;
7763
+ /** Data format for response. */
7764
+ alt?: string;
7765
+ /** JSONP */
7766
+ callback?: string;
7767
+ /** Selector specifying which fields to include in a partial response. */
7768
+ fields?: string;
7769
+ /** Optional. A filter to reduce results to a specific subset. Useful for querying datasets with specific properties. Supported fields include, for Q2 though we only support list by project: - `type` - `description` - `project_number` */
7770
+ filter?: string;
7771
+ /** 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. */
7772
+ key?: string;
7773
+ /** OAuth 2.0 token for the current user. */
7774
+ oauth_token?: string;
7775
+ /** Optional. The maximum number of datasets to return in the response. If this value is zero, the service will select a default size. A call might return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available. */
7776
+ pageSize?: number;
7777
+ /** Optional. The value returned by the last `ListDatasetsResponse`; indicates that this is a continuation of a prior `ListDatasets` call and the system should return the next page of data. */
7778
+ pageToken?: string;
7779
+ /** Required. The parent resource of the dataset. */
7780
+ parent: string;
7781
+ /** Returns response with indentations and line breaks. */
7782
+ prettyPrint?: boolean;
7783
+ /** 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. */
7784
+ quotaUser?: string;
7785
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
7786
+ upload_protocol?: string;
7787
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7788
+ uploadType?: string;
7789
+ }): Request<GoogleCloudContactcenterinsightsV1ListDatasetsResponse>;
7513
7790
  /** List all feedback labels by project number. */
7514
7791
  listAllFeedbackLabels(request?: {
7515
7792
  /** V1 error format. */
@@ -7543,6 +7820,68 @@ declare namespace gapi.client {
7543
7820
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7544
7821
  uploadType?: string;
7545
7822
  }): Request<GoogleCloudContactcenterinsightsV1ListAllFeedbackLabelsResponse>;
7823
+ /** Updates a dataset. */
7824
+ patch(request: {
7825
+ /** V1 error format. */
7826
+ '$.xgafv'?: string;
7827
+ /** OAuth access token. */
7828
+ access_token?: string;
7829
+ /** Data format for response. */
7830
+ alt?: string;
7831
+ /** JSONP */
7832
+ callback?: string;
7833
+ /** Selector specifying which fields to include in a partial response. */
7834
+ fields?: string;
7835
+ /** 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. */
7836
+ key?: string;
7837
+ /** Immutable. Identifier. Resource name of the dataset. Format: projects/{project}/locations/{location}/datasets/{dataset} */
7838
+ name: string;
7839
+ /** OAuth 2.0 token for the current user. */
7840
+ oauth_token?: string;
7841
+ /** Returns response with indentations and line breaks. */
7842
+ prettyPrint?: boolean;
7843
+ /** 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. */
7844
+ quotaUser?: string;
7845
+ /** Optional. The list of fields to update. */
7846
+ updateMask?: string;
7847
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
7848
+ upload_protocol?: string;
7849
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7850
+ uploadType?: string;
7851
+ /** Request body */
7852
+ resource: GoogleCloudContactcenterinsightsV1Dataset;
7853
+ }): Request<GoogleCloudContactcenterinsightsV1Dataset>;
7854
+ patch(
7855
+ request: {
7856
+ /** V1 error format. */
7857
+ '$.xgafv'?: string;
7858
+ /** OAuth access token. */
7859
+ access_token?: string;
7860
+ /** Data format for response. */
7861
+ alt?: string;
7862
+ /** JSONP */
7863
+ callback?: string;
7864
+ /** Selector specifying which fields to include in a partial response. */
7865
+ fields?: string;
7866
+ /** 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. */
7867
+ key?: string;
7868
+ /** Immutable. Identifier. Resource name of the dataset. Format: projects/{project}/locations/{location}/datasets/{dataset} */
7869
+ name: string;
7870
+ /** OAuth 2.0 token for the current user. */
7871
+ oauth_token?: string;
7872
+ /** Returns response with indentations and line breaks. */
7873
+ prettyPrint?: boolean;
7874
+ /** 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. */
7875
+ quotaUser?: string;
7876
+ /** Optional. The list of fields to update. */
7877
+ updateMask?: string;
7878
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
7879
+ upload_protocol?: string;
7880
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7881
+ uploadType?: string;
7882
+ },
7883
+ body: GoogleCloudContactcenterinsightsV1Dataset,
7884
+ ): Request<GoogleCloudContactcenterinsightsV1Dataset>;
7546
7885
  conversations: ConversationsResource;
7547
7886
  insightsdata: InsightsdataResource;
7548
7887
  }
@@ -9253,6 +9592,8 @@ declare namespace gapi.client {
9253
9592
  parent: string;
9254
9593
  /** Returns response with indentations and line breaks. */
9255
9594
  prettyPrint?: boolean;
9595
+ /** Optional. The source of scorecards are based on how those Scorecards were created, e.g., a customer-defined scorecard, a predefined scorecard, etc. This field is used to retrieve Scorecards Revisions from Scorecards of one or more sources. */
9596
+ qaScorecardSources?: string | string[];
9256
9597
  /** 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. */
9257
9598
  quotaUser?: string;
9258
9599
  /** Upload protocol for media (e.g. "raw", "multipart"). */
@@ -9521,6 +9862,8 @@ declare namespace gapi.client {
9521
9862
  parent: string;
9522
9863
  /** Returns response with indentations and line breaks. */
9523
9864
  prettyPrint?: boolean;
9865
+ /** Optional. The source of scorecards are based on how those Scorecards were created, e.g., a customer-defined scorecard, a predefined scorecard, etc. This field is used to retrieve Scorecards of one or more sources. */
9866
+ qaScorecardSources?: string | string[];
9524
9867
  /** 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. */
9525
9868
  quotaUser?: string;
9526
9869
  /** Upload protocol for media (e.g. "raw", "multipart"). */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.contactcenterinsights-v1",
3
- "version": "0.1.20250818",
3
+ "version": "0.1.20250825",
4
4
  "description": "TypeScript typings for Contact Center AI Insights API v1",
5
5
  "repository": {
6
6
  "type": "git",