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

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 -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: 20250224
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -113,6 +113,8 @@ declare namespace gapi.client {
113
113
  interface GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelectorSummarizationConfig {
114
114
  /** Resource name of the Dialogflow conversation profile. Format: projects/{project}/locations/{location}/conversationProfiles/{conversation_profile} */
115
115
  conversationProfile?: string;
116
+ /** The resource name of the existing created generator. Format: projects//locations//generators/ */
117
+ generator?: string;
116
118
  /** Default summarization model to be used. */
117
119
  summarizationModel?: string;
118
120
  }
@@ -242,7 +244,7 @@ declare namespace gapi.client {
242
244
  latestSummary?: GoogleCloudContactcenterinsightsV1alpha1ConversationSummarizationSuggestionData;
243
245
  /** Immutable. The conversation medium, if unspecified will default to PHONE_CALL. */
244
246
  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. */
247
+ /** 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
248
  metadataJson?: string;
247
249
  /** Immutable. The resource name of the conversation. Format: projects/{project}/locations/{location}/conversations/{conversation} */
248
250
  name?: string;
@@ -529,10 +531,14 @@ declare namespace gapi.client {
529
531
  type?: string;
530
532
  }
531
533
  interface GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataMetadata {
534
+ /** The number of conversations that were exported successfully. */
535
+ completedExportCount?: number;
532
536
  /** Output only. The time the operation was created. */
533
537
  createTime?: string;
534
538
  /** Output only. The time the operation finished running. */
535
539
  endTime?: string;
540
+ /** The number of conversations that failed to be exported. */
541
+ failedExportCount?: number;
536
542
  /** Partial errors during export operation that might cause the operation output to be incomplete. */
537
543
  partialErrors?: GoogleRpcStatus[];
538
544
  /** The original request for export. */
@@ -597,13 +603,13 @@ declare namespace gapi.client {
597
603
  interface GoogleCloudContactcenterinsightsV1alpha1FeedbackLabel {
598
604
  /** Output only. Create time of the label. */
599
605
  createTime?: string;
600
- /** String label. */
606
+ /** String label used for Topic Modeling. */
601
607
  label?: string;
602
- /** Resource name of the resource to be labeled. */
608
+ /** Resource name of the resource to be labeled. Supported resources: - qaScorecards/{scorecard}/revisions/{revision}/qaQuestions/{question} - issueModels/{issue_model} */
603
609
  labeledResource?: string;
604
610
  /** Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label} */
605
611
  name?: string;
606
- /** QaAnswer label. */
612
+ /** QaAnswer label used for Quality AI example conversations. */
607
613
  qaAnswerLabel?: GoogleCloudContactcenterinsightsV1alpha1QaAnswerAnswerValue;
608
614
  /** Output only. Update time of the label. */
609
615
  updateTime?: string;
@@ -741,7 +747,7 @@ declare namespace gapi.client {
741
747
  updateTime?: string;
742
748
  }
743
749
  interface GoogleCloudContactcenterinsightsV1alpha1IssueAssignment {
744
- /** Immutable. Display name of the assigned issue. This field is set at time of analyis and immutable since then. */
750
+ /** Immutable. Display name of the assigned issue. This field is set at time of analysis and immutable since then. */
745
751
  displayName?: string;
746
752
  /** Resource name of the assigned issue. */
747
753
  issue?: string;
@@ -1009,7 +1015,7 @@ declare namespace gapi.client {
1009
1015
  querySource?: string;
1010
1016
  }
1011
1017
  interface GoogleCloudContactcenterinsightsV1alpha1SentimentData {
1012
- /** A non-negative number from 0 to infinity which represents the abolute magnitude of sentiment regardless of score. */
1018
+ /** A non-negative number from 0 to infinity which represents the absolute magnitude of sentiment regardless of score. */
1013
1019
  magnitude?: number;
1014
1020
  /** The sentiment score between -1.0 (negative) and 1.0 (positive). */
1015
1021
  score?: number;
@@ -1177,6 +1183,8 @@ declare namespace gapi.client {
1177
1183
  interface GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfig {
1178
1184
  /** Resource name of the Dialogflow conversation profile. Format: projects/{project}/locations/{location}/conversationProfiles/{conversation_profile} */
1179
1185
  conversationProfile?: string;
1186
+ /** The resource name of the existing created generator. Format: projects//locations//generators/ */
1187
+ generator?: string;
1180
1188
  /** Default summarization model to be used. */
1181
1189
  summarizationModel?: string;
1182
1190
  }
@@ -1405,7 +1413,7 @@ declare namespace gapi.client {
1405
1413
  latestSummary?: GoogleCloudContactcenterinsightsV1ConversationSummarizationSuggestionData;
1406
1414
  /** Immutable. The conversation medium, if unspecified will default to PHONE_CALL. */
1407
1415
  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. */
1416
+ /** 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
1417
  metadataJson?: string;
1410
1418
  /** Immutable. The resource name of the conversation. Format: projects/{project}/locations/{location}/conversations/{conversation} */
1411
1419
  name?: string;
@@ -1697,10 +1705,14 @@ declare namespace gapi.client {
1697
1705
  caseSensitive?: boolean;
1698
1706
  }
1699
1707
  interface GoogleCloudContactcenterinsightsV1ExportInsightsDataMetadata {
1708
+ /** The number of conversations that were exported successfully. */
1709
+ completedExportCount?: number;
1700
1710
  /** Output only. The time the operation was created. */
1701
1711
  createTime?: string;
1702
1712
  /** Output only. The time the operation finished running. */
1703
1713
  endTime?: string;
1714
+ /** The number of conversations that failed to be exported. */
1715
+ failedExportCount?: number;
1704
1716
  /** Partial errors during export operation that might cause the operation output to be incomplete. */
1705
1717
  partialErrors?: GoogleRpcStatus[];
1706
1718
  /** The original request for export. */
@@ -1765,13 +1777,13 @@ declare namespace gapi.client {
1765
1777
  interface GoogleCloudContactcenterinsightsV1FeedbackLabel {
1766
1778
  /** Output only. Create time of the label. */
1767
1779
  createTime?: string;
1768
- /** String label. */
1780
+ /** String label used for Topic Modeling. */
1769
1781
  label?: string;
1770
- /** Resource name of the resource to be labeled. */
1782
+ /** Resource name of the resource to be labeled. Supported resources: - qaScorecards/{scorecard}/revisions/{revision}/qaQuestions/{question} - issueModels/{issue_model} */
1771
1783
  labeledResource?: string;
1772
1784
  /** Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label} */
1773
1785
  name?: string;
1774
- /** QaAnswer label. */
1786
+ /** QaAnswer label used for Quality AI example conversations. */
1775
1787
  qaAnswerLabel?: GoogleCloudContactcenterinsightsV1QaAnswerAnswerValue;
1776
1788
  /** Output only. Update time of the label. */
1777
1789
  updateTime?: string;
@@ -1909,7 +1921,7 @@ declare namespace gapi.client {
1909
1921
  updateTime?: string;
1910
1922
  }
1911
1923
  interface GoogleCloudContactcenterinsightsV1IssueAssignment {
1912
- /** Immutable. Display name of the assigned issue. This field is set at time of analyis and immutable since then. */
1924
+ /** Immutable. Display name of the assigned issue. This field is set at time of analysis and immutable since then. */
1913
1925
  displayName?: string;
1914
1926
  /** Resource name of the assigned issue. */
1915
1927
  issue?: string;
@@ -2024,12 +2036,6 @@ declare namespace gapi.client {
2024
2036
  /** The QaQuestions under the parent. */
2025
2037
  qaQuestions?: GoogleCloudContactcenterinsightsV1QaQuestion[];
2026
2038
  }
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
2039
  interface GoogleCloudContactcenterinsightsV1ListQaScorecardRevisionsResponse {
2034
2040
  /** 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
2041
  nextPageToken?: string;
@@ -2176,18 +2182,6 @@ declare namespace gapi.client {
2176
2182
  /** Output only. Accuracy of the model. Measures the percentage of correct answers the model gave on the test set. */
2177
2183
  accuracy?: number;
2178
2184
  }
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
2185
  interface GoogleCloudContactcenterinsightsV1QaQuestionTuningMetadata {
2192
2186
  /** A list of any applicable data validation warnings about the question's feedback labels. */
2193
2187
  datasetValidationWarnings?: string[];
@@ -2377,7 +2371,7 @@ declare namespace gapi.client {
2377
2371
  querySource?: string;
2378
2372
  }
2379
2373
  interface GoogleCloudContactcenterinsightsV1SentimentData {
2380
- /** A non-negative number from 0 to infinity which represents the abolute magnitude of sentiment regardless of score. */
2374
+ /** A non-negative number from 0 to infinity which represents the absolute magnitude of sentiment regardless of score. */
2381
2375
  magnitude?: number;
2382
2376
  /** The sentiment score between -1.0 (negative) and 1.0 (positive). */
2383
2377
  score?: number;
@@ -4754,99 +4748,6 @@ declare namespace gapi.client {
4754
4748
  body: GoogleCloudContactcenterinsightsV1PhraseMatcher,
4755
4749
  ): Request<GoogleCloudContactcenterinsightsV1PhraseMatcher>;
4756
4750
  }
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
4751
  interface QaQuestionsResource {
4851
4752
  /** Create a QaQuestion. */
4852
4753
  create(request: {
@@ -5808,7 +5709,7 @@ declare namespace gapi.client {
5808
5709
  ): Request<GoogleCloudContactcenterinsightsV1View>;
5809
5710
  }
5810
5711
  interface LocationsResource {
5811
- /** Download feedback labels in bulk. */
5712
+ /** Download feedback labels in bulk from an external source. Currently supports exporting Quality AI example conversations with transcripts and question bodies. */
5812
5713
  bulkDownloadFeedbackLabels(request: {
5813
5714
  /** V1 error format. */
5814
5715
  '$.xgafv'?: string;
@@ -5866,7 +5767,7 @@ declare namespace gapi.client {
5866
5767
  },
5867
5768
  body: GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequest,
5868
5769
  ): Request<GoogleLongrunningOperation>;
5869
- /** Upload feedback labels in bulk. */
5770
+ /** Upload feedback labels from an external source in bulk. Currently supports labeling Quality AI example conversations. */
5870
5771
  bulkUploadFeedbackLabels(request: {
5871
5772
  /** V1 error format. */
5872
5773
  '$.xgafv'?: string;
@@ -6139,7 +6040,6 @@ declare namespace gapi.client {
6139
6040
  issueModels: IssueModelsResource;
6140
6041
  operations: OperationsResource;
6141
6042
  phraseMatchers: PhraseMatchersResource;
6142
- qaQuestionTags: QaQuestionTagsResource;
6143
6043
  qaScorecards: QaScorecardsResource;
6144
6044
  views: ViewsResource;
6145
6045
  }
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.20250224",
4
4
  "description": "TypeScript typings for Contact Center AI Insights API v1",
5
5
  "repository": {
6
6
  "type": "git",