@maxim_mazurok/gapi.client.contactcenterinsights-v1 0.0.20250210 → 0.0.20250217

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 +23 -127
  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: 20250210
12
+ // Revision: 20250217
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -242,7 +242,7 @@ declare namespace gapi.client {
242
242
  latestSummary?: GoogleCloudContactcenterinsightsV1alpha1ConversationSummarizationSuggestionData;
243
243
  /** Immutable. The conversation medium, if unspecified will default to PHONE_CALL. */
244
244
  medium?: string;
245
- /** Input only. JSON metadata encoded as a string. This field is primarily used by Insights integrations with various telphony systems and must be in one of Insight's supported formats. */
245
+ /** 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. */
246
246
  metadataJson?: string;
247
247
  /** Immutable. The resource name of the conversation. Format: projects/{project}/locations/{location}/conversations/{conversation} */
248
248
  name?: string;
@@ -529,10 +529,14 @@ declare namespace gapi.client {
529
529
  type?: string;
530
530
  }
531
531
  interface GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataMetadata {
532
+ /** The number of conversations that were exported successfully. */
533
+ completedExportCount?: number;
532
534
  /** Output only. The time the operation was created. */
533
535
  createTime?: string;
534
536
  /** Output only. The time the operation finished running. */
535
537
  endTime?: string;
538
+ /** The number of conversations that failed to be exported. */
539
+ failedExportCount?: number;
536
540
  /** Partial errors during export operation that might cause the operation output to be incomplete. */
537
541
  partialErrors?: GoogleRpcStatus[];
538
542
  /** The original request for export. */
@@ -597,13 +601,13 @@ declare namespace gapi.client {
597
601
  interface GoogleCloudContactcenterinsightsV1alpha1FeedbackLabel {
598
602
  /** Output only. Create time of the label. */
599
603
  createTime?: string;
600
- /** String label. */
604
+ /** String label used for Topic Modeling. */
601
605
  label?: string;
602
- /** Resource name of the resource to be labeled. */
606
+ /** Resource name of the resource to be labeled. Supported resources: - qaScorecards/{scorecard}/revisions/{revision}/qaQuestions/{question} - issueModels/{issue_model} */
603
607
  labeledResource?: string;
604
608
  /** Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label} */
605
609
  name?: string;
606
- /** QaAnswer label. */
610
+ /** QaAnswer label used for Quality AI example conversations. */
607
611
  qaAnswerLabel?: GoogleCloudContactcenterinsightsV1alpha1QaAnswerAnswerValue;
608
612
  /** Output only. Update time of the label. */
609
613
  updateTime?: string;
@@ -741,7 +745,7 @@ declare namespace gapi.client {
741
745
  updateTime?: string;
742
746
  }
743
747
  interface GoogleCloudContactcenterinsightsV1alpha1IssueAssignment {
744
- /** Immutable. Display name of the assigned issue. This field is set at time of analyis and immutable since then. */
748
+ /** Immutable. Display name of the assigned issue. This field is set at time of analysis and immutable since then. */
745
749
  displayName?: string;
746
750
  /** Resource name of the assigned issue. */
747
751
  issue?: string;
@@ -1009,7 +1013,7 @@ declare namespace gapi.client {
1009
1013
  querySource?: string;
1010
1014
  }
1011
1015
  interface GoogleCloudContactcenterinsightsV1alpha1SentimentData {
1012
- /** A non-negative number from 0 to infinity which represents the abolute magnitude of sentiment regardless of score. */
1016
+ /** A non-negative number from 0 to infinity which represents the absolute magnitude of sentiment regardless of score. */
1013
1017
  magnitude?: number;
1014
1018
  /** The sentiment score between -1.0 (negative) and 1.0 (positive). */
1015
1019
  score?: number;
@@ -1405,7 +1409,7 @@ declare namespace gapi.client {
1405
1409
  latestSummary?: GoogleCloudContactcenterinsightsV1ConversationSummarizationSuggestionData;
1406
1410
  /** Immutable. The conversation medium, if unspecified will default to PHONE_CALL. */
1407
1411
  medium?: string;
1408
- /** Input only. JSON metadata encoded as a string. This field is primarily used by Insights integrations with various telphony systems and must be in one of Insight's supported formats. */
1412
+ /** 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. */
1409
1413
  metadataJson?: string;
1410
1414
  /** Immutable. The resource name of the conversation. Format: projects/{project}/locations/{location}/conversations/{conversation} */
1411
1415
  name?: string;
@@ -1697,10 +1701,14 @@ declare namespace gapi.client {
1697
1701
  caseSensitive?: boolean;
1698
1702
  }
1699
1703
  interface GoogleCloudContactcenterinsightsV1ExportInsightsDataMetadata {
1704
+ /** The number of conversations that were exported successfully. */
1705
+ completedExportCount?: number;
1700
1706
  /** Output only. The time the operation was created. */
1701
1707
  createTime?: string;
1702
1708
  /** Output only. The time the operation finished running. */
1703
1709
  endTime?: string;
1710
+ /** The number of conversations that failed to be exported. */
1711
+ failedExportCount?: number;
1704
1712
  /** Partial errors during export operation that might cause the operation output to be incomplete. */
1705
1713
  partialErrors?: GoogleRpcStatus[];
1706
1714
  /** The original request for export. */
@@ -1765,13 +1773,13 @@ declare namespace gapi.client {
1765
1773
  interface GoogleCloudContactcenterinsightsV1FeedbackLabel {
1766
1774
  /** Output only. Create time of the label. */
1767
1775
  createTime?: string;
1768
- /** String label. */
1776
+ /** String label used for Topic Modeling. */
1769
1777
  label?: string;
1770
- /** Resource name of the resource to be labeled. */
1778
+ /** Resource name of the resource to be labeled. Supported resources: - qaScorecards/{scorecard}/revisions/{revision}/qaQuestions/{question} - issueModels/{issue_model} */
1771
1779
  labeledResource?: string;
1772
1780
  /** Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label} */
1773
1781
  name?: string;
1774
- /** QaAnswer label. */
1782
+ /** QaAnswer label used for Quality AI example conversations. */
1775
1783
  qaAnswerLabel?: GoogleCloudContactcenterinsightsV1QaAnswerAnswerValue;
1776
1784
  /** Output only. Update time of the label. */
1777
1785
  updateTime?: string;
@@ -1909,7 +1917,7 @@ declare namespace gapi.client {
1909
1917
  updateTime?: string;
1910
1918
  }
1911
1919
  interface GoogleCloudContactcenterinsightsV1IssueAssignment {
1912
- /** Immutable. Display name of the assigned issue. This field is set at time of analyis and immutable since then. */
1920
+ /** Immutable. Display name of the assigned issue. This field is set at time of analysis and immutable since then. */
1913
1921
  displayName?: string;
1914
1922
  /** Resource name of the assigned issue. */
1915
1923
  issue?: string;
@@ -2024,12 +2032,6 @@ declare namespace gapi.client {
2024
2032
  /** The QaQuestions under the parent. */
2025
2033
  qaQuestions?: GoogleCloudContactcenterinsightsV1QaQuestion[];
2026
2034
  }
2027
- interface GoogleCloudContactcenterinsightsV1ListQaQuestionTagsResponse {
2028
- /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
2029
- nextPageToken?: string;
2030
- /** The parent resource of the questions. */
2031
- qaQuestionTags?: GoogleCloudContactcenterinsightsV1QaQuestionTag[];
2032
- }
2033
2035
  interface GoogleCloudContactcenterinsightsV1ListQaScorecardRevisionsResponse {
2034
2036
  /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
2035
2037
  nextPageToken?: string;
@@ -2176,18 +2178,6 @@ declare namespace gapi.client {
2176
2178
  /** Output only. Accuracy of the model. Measures the percentage of correct answers the model gave on the test set. */
2177
2179
  accuracy?: number;
2178
2180
  }
2179
- interface GoogleCloudContactcenterinsightsV1QaQuestionTag {
2180
- /** Output only. The time at which the question tag was created. */
2181
- createTime?: string;
2182
- /** Required. A user-specified display name for the tag. */
2183
- displayName?: string;
2184
- /** Identifier. Resource name for the QaQuestionTag Format projects/{project}/locations/{location}/qaQuestionTags/{qa_question_tag} In the above format, the last segment, i.e., qa_question_tag, is a server-generated ID corresponding to the tag resource. */
2185
- name?: string;
2186
- /** Optional. The list of QA question IDs that the tag applies to. Optional, a tag may not necessarily be referenced by any questions. */
2187
- qaQuestionIds?: string[];
2188
- /** Output only. The most recent time at which the question tag was updated. */
2189
- updateTime?: string;
2190
- }
2191
2181
  interface GoogleCloudContactcenterinsightsV1QaQuestionTuningMetadata {
2192
2182
  /** A list of any applicable data validation warnings about the question's feedback labels. */
2193
2183
  datasetValidationWarnings?: string[];
@@ -2377,7 +2367,7 @@ declare namespace gapi.client {
2377
2367
  querySource?: string;
2378
2368
  }
2379
2369
  interface GoogleCloudContactcenterinsightsV1SentimentData {
2380
- /** A non-negative number from 0 to infinity which represents the abolute magnitude of sentiment regardless of score. */
2370
+ /** A non-negative number from 0 to infinity which represents the absolute magnitude of sentiment regardless of score. */
2381
2371
  magnitude?: number;
2382
2372
  /** The sentiment score between -1.0 (negative) and 1.0 (positive). */
2383
2373
  score?: number;
@@ -4754,99 +4744,6 @@ declare namespace gapi.client {
4754
4744
  body: GoogleCloudContactcenterinsightsV1PhraseMatcher,
4755
4745
  ): Request<GoogleCloudContactcenterinsightsV1PhraseMatcher>;
4756
4746
  }
4757
- interface QaQuestionTagsResource {
4758
- /** Create a QaQuestionTag. */
4759
- create(request: {
4760
- /** V1 error format. */
4761
- '$.xgafv'?: string;
4762
- /** OAuth access token. */
4763
- access_token?: string;
4764
- /** Data format for response. */
4765
- alt?: string;
4766
- /** JSONP */
4767
- callback?: string;
4768
- /** Selector specifying which fields to include in a partial response. */
4769
- fields?: string;
4770
- /** 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. */
4771
- key?: string;
4772
- /** OAuth 2.0 token for the current user. */
4773
- oauth_token?: string;
4774
- /** Required. The parent resource of the QaQuestionTag. */
4775
- parent: string;
4776
- /** Returns response with indentations and line breaks. */
4777
- prettyPrint?: boolean;
4778
- /** 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. */
4779
- quotaUser?: string;
4780
- /** Upload protocol for media (e.g. "raw", "multipart"). */
4781
- upload_protocol?: string;
4782
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4783
- uploadType?: string;
4784
- /** Request body */
4785
- resource: GoogleCloudContactcenterinsightsV1QaQuestionTag;
4786
- }): Request<GoogleCloudContactcenterinsightsV1QaQuestionTag>;
4787
- create(
4788
- request: {
4789
- /** V1 error format. */
4790
- '$.xgafv'?: string;
4791
- /** OAuth access token. */
4792
- access_token?: string;
4793
- /** Data format for response. */
4794
- alt?: string;
4795
- /** JSONP */
4796
- callback?: string;
4797
- /** Selector specifying which fields to include in a partial response. */
4798
- fields?: string;
4799
- /** 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. */
4800
- key?: string;
4801
- /** OAuth 2.0 token for the current user. */
4802
- oauth_token?: string;
4803
- /** Required. The parent resource of the QaQuestionTag. */
4804
- parent: string;
4805
- /** Returns response with indentations and line breaks. */
4806
- prettyPrint?: boolean;
4807
- /** 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. */
4808
- quotaUser?: string;
4809
- /** Upload protocol for media (e.g. "raw", "multipart"). */
4810
- upload_protocol?: string;
4811
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4812
- uploadType?: string;
4813
- },
4814
- body: GoogleCloudContactcenterinsightsV1QaQuestionTag,
4815
- ): Request<GoogleCloudContactcenterinsightsV1QaQuestionTag>;
4816
- /** Lists the question tags. */
4817
- list(request?: {
4818
- /** V1 error format. */
4819
- '$.xgafv'?: string;
4820
- /** OAuth access token. */
4821
- access_token?: string;
4822
- /** Data format for response. */
4823
- alt?: string;
4824
- /** JSONP */
4825
- callback?: string;
4826
- /** Selector specifying which fields to include in a partial response. */
4827
- fields?: string;
4828
- /** Optional. A filter to reduce results to a specific subset. Supports disjunctions (OR) and conjunctions (AND). Supported fields include the following: * `project_id` - id of the project to list tags for * `qa_scorecard_revision_id` - id of the scorecard revision to list tags for * `qa_question_id - id of the question to list tags for` */
4829
- filter?: string;
4830
- /** 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. */
4831
- key?: string;
4832
- /** OAuth 2.0 token for the current user. */
4833
- oauth_token?: string;
4834
- /** Optional. The maximum number of questions to return in the response. If the 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. */
4835
- pageSize?: number;
4836
- /** Optional. The value returned by the last `ListQaQuestionTagsResponse`. This value indicates that this is a continuation of a prior `ListQaQuestionTags` call and that the system should return the next page of data. */
4837
- pageToken?: string;
4838
- /** Required. The parent resource of the QaQuestionTags. */
4839
- parent: string;
4840
- /** Returns response with indentations and line breaks. */
4841
- prettyPrint?: boolean;
4842
- /** 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. */
4843
- quotaUser?: string;
4844
- /** Upload protocol for media (e.g. "raw", "multipart"). */
4845
- upload_protocol?: string;
4846
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4847
- uploadType?: string;
4848
- }): Request<GoogleCloudContactcenterinsightsV1ListQaQuestionTagsResponse>;
4849
- }
4850
4747
  interface QaQuestionsResource {
4851
4748
  /** Create a QaQuestion. */
4852
4749
  create(request: {
@@ -5808,7 +5705,7 @@ declare namespace gapi.client {
5808
5705
  ): Request<GoogleCloudContactcenterinsightsV1View>;
5809
5706
  }
5810
5707
  interface LocationsResource {
5811
- /** Download feedback labels in bulk. */
5708
+ /** Download feedback labels in bulk from an external source. Currently supports exporting Quality AI example conversations with transcripts and question bodies. */
5812
5709
  bulkDownloadFeedbackLabels(request: {
5813
5710
  /** V1 error format. */
5814
5711
  '$.xgafv'?: string;
@@ -5866,7 +5763,7 @@ declare namespace gapi.client {
5866
5763
  },
5867
5764
  body: GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequest,
5868
5765
  ): Request<GoogleLongrunningOperation>;
5869
- /** Upload feedback labels in bulk. */
5766
+ /** Upload feedback labels from an external source in bulk. Currently supports labeling Quality AI example conversations. */
5870
5767
  bulkUploadFeedbackLabels(request: {
5871
5768
  /** V1 error format. */
5872
5769
  '$.xgafv'?: string;
@@ -6139,7 +6036,6 @@ declare namespace gapi.client {
6139
6036
  issueModels: IssueModelsResource;
6140
6037
  operations: OperationsResource;
6141
6038
  phraseMatchers: PhraseMatchersResource;
6142
- qaQuestionTags: QaQuestionTagsResource;
6143
6039
  qaScorecards: QaScorecardsResource;
6144
6040
  views: ViewsResource;
6145
6041
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.contactcenterinsights-v1",
3
- "version": "0.0.20250210",
3
+ "version": "0.0.20250217",
4
4
  "description": "TypeScript typings for Contact Center AI Insights API v1",
5
5
  "repository": {
6
6
  "type": "git",