@maxim_mazurok/gapi.client.contactcenterinsights-v1 0.0.20240610 → 0.0.20240611

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 +21 -21
  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: 20240610
12
+ // Revision: 20240611
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -480,9 +480,9 @@ declare namespace gapi.client {
480
480
  request?: GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelRequest;
481
481
  }
482
482
  interface GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelRequest {
483
- /** Google Cloud Storage URI to export the Issue Model to. */
483
+ /** Google Cloud Storage URI to export the issue model to. */
484
484
  gcsDestination?: GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelRequestGcsDestination;
485
- /** Required. The issue model to export */
485
+ /** Required. The issue model to export. */
486
486
  name?: string;
487
487
  }
488
488
  interface GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelRequestGcsDestination {
@@ -520,7 +520,7 @@ declare namespace gapi.client {
520
520
  request?: GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelRequest;
521
521
  }
522
522
  interface GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelRequest {
523
- /** Optional. If set to true, will create a new issue model from the imported file with randomly generated IDs for the issue model and corresponding issues. Otherwise, replaces an existing model with the same ID as the file. */
523
+ /** Optional. If set to true, will create an issue model from the imported file with randomly generated IDs for the issue model and corresponding issues. Otherwise, replaces an existing model with the same ID as the file. */
524
524
  createNewModel?: boolean;
525
525
  /** Google Cloud Storage source message. */
526
526
  gcsSource?: GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelRequestGcsSource;
@@ -563,7 +563,7 @@ declare namespace gapi.client {
563
563
  parent?: string;
564
564
  /** Optional. DLP settings for transcript redaction. Optional, will default to the config specified in Settings. */
565
565
  redactionConfig?: GoogleCloudContactcenterinsightsV1alpha1RedactionConfig;
566
- /** Optional. If set, this fields indicates the number of objects to ingest from the Cloud Storage bucket. If empty, the entire bucket will be ingested. Note that conversations produced via sampling will not be ingested by subsequent ingest requests unless they are first deleted. */
566
+ /** Optional. If set, this fields indicates the number of objects to ingest from the Cloud Storage bucket. If empty, the entire bucket will be ingested. Unless they are first deleted, conversations produced through sampling won't be ingested by subsequent ingest requests. */
567
567
  sampleSize?: number;
568
568
  /** Optional. Default Speech-to-Text configuration. Optional, will default to the config specified in Settings. */
569
569
  speechConfig?: GoogleCloudContactcenterinsightsV1alpha1SpeechConfig;
@@ -573,7 +573,7 @@ declare namespace gapi.client {
573
573
  interface GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestConversationConfig {
574
574
  /** Optional. Indicates which of the channels, 1 or 2, contains the agent. Note that this must be set for conversations to be properly displayed and analyzed. */
575
575
  agentChannel?: number;
576
- /** Optional. An opaque, user-specified string representing a human agent who handled all conversations in the import. Note that this will be overridden if per-conversation metadata is provided via the `metadata_bucket_uri`. */
576
+ /** Optional. An opaque, user-specified string representing a human agent who handled all conversations in the import. Note that this will be overridden if per-conversation metadata is provided through the `metadata_bucket_uri`. */
577
577
  agentId?: string;
578
578
  /** Optional. Indicates which of the channels, 1 or 2, contains the agent. Note that this must be set for conversations to be properly displayed and analyzed. */
579
579
  customerChannel?: number;
@@ -585,7 +585,7 @@ declare namespace gapi.client {
585
585
  bucketUri?: string;
586
586
  /** Optional. Custom keys to extract as conversation labels from metadata files in `metadata_bucket_uri`. Keys not included in this field will be ignored. Note that there is a limit of 20 labels per conversation. */
587
587
  customMetadataKeys?: string[];
588
- /** Optional. The Cloud Storage path to the source object metadata. Note that: [1] metadata files are expected to be in JSON format [2] metadata and source objects must be in separate buckets [3] a source object's metadata object must share the same name to be properly ingested */
588
+ /** Optional. The Cloud Storage path to the conversation metadata. Note that: [1] Metadata files are expected to be in JSON format. [2] Metadata and source files (transcripts or audio) must be in separate buckets. [3] A source file and its corresponding metadata file must share the same name to be properly ingested, E.g. `gs://bucket/audio/conversation1.mp3` and `gs://bucket/metadata/conversation1.json`. */
589
589
  metadataBucketUri?: string;
590
590
  }
591
591
  interface GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestTranscriptObjectConfig {
@@ -1272,9 +1272,9 @@ declare namespace gapi.client {
1272
1272
  request?: GoogleCloudContactcenterinsightsV1ExportIssueModelRequest;
1273
1273
  }
1274
1274
  interface GoogleCloudContactcenterinsightsV1ExportIssueModelRequest {
1275
- /** Google Cloud Storage URI to export the Issue Model to. */
1275
+ /** Google Cloud Storage URI to export the issue model to. */
1276
1276
  gcsDestination?: GoogleCloudContactcenterinsightsV1ExportIssueModelRequestGcsDestination;
1277
- /** Required. The issue model to export */
1277
+ /** Required. The issue model to export. */
1278
1278
  name?: string;
1279
1279
  }
1280
1280
  interface GoogleCloudContactcenterinsightsV1ExportIssueModelRequestGcsDestination {
@@ -1312,7 +1312,7 @@ declare namespace gapi.client {
1312
1312
  request?: GoogleCloudContactcenterinsightsV1ImportIssueModelRequest;
1313
1313
  }
1314
1314
  interface GoogleCloudContactcenterinsightsV1ImportIssueModelRequest {
1315
- /** Optional. If set to true, will create a new issue model from the imported file with randomly generated IDs for the issue model and corresponding issues. Otherwise, replaces an existing model with the same ID as the file. */
1315
+ /** Optional. If set to true, will create an issue model from the imported file with randomly generated IDs for the issue model and corresponding issues. Otherwise, replaces an existing model with the same ID as the file. */
1316
1316
  createNewModel?: boolean;
1317
1317
  /** Google Cloud Storage source message. */
1318
1318
  gcsSource?: GoogleCloudContactcenterinsightsV1ImportIssueModelRequestGcsSource;
@@ -1355,7 +1355,7 @@ declare namespace gapi.client {
1355
1355
  parent?: string;
1356
1356
  /** Optional. DLP settings for transcript redaction. Optional, will default to the config specified in Settings. */
1357
1357
  redactionConfig?: GoogleCloudContactcenterinsightsV1RedactionConfig;
1358
- /** Optional. If set, this fields indicates the number of objects to ingest from the Cloud Storage bucket. If empty, the entire bucket will be ingested. Note that conversations produced via sampling will not be ingested by subsequent ingest requests unless they are first deleted. */
1358
+ /** Optional. If set, this fields indicates the number of objects to ingest from the Cloud Storage bucket. If empty, the entire bucket will be ingested. Unless they are first deleted, conversations produced through sampling won't be ingested by subsequent ingest requests. */
1359
1359
  sampleSize?: number;
1360
1360
  /** Optional. Default Speech-to-Text configuration. Optional, will default to the config specified in Settings. */
1361
1361
  speechConfig?: GoogleCloudContactcenterinsightsV1SpeechConfig;
@@ -1365,7 +1365,7 @@ declare namespace gapi.client {
1365
1365
  interface GoogleCloudContactcenterinsightsV1IngestConversationsRequestConversationConfig {
1366
1366
  /** Optional. Indicates which of the channels, 1 or 2, contains the agent. Note that this must be set for conversations to be properly displayed and analyzed. */
1367
1367
  agentChannel?: number;
1368
- /** Optional. An opaque, user-specified string representing a human agent who handled all conversations in the import. Note that this will be overridden if per-conversation metadata is provided via the `metadata_bucket_uri`. */
1368
+ /** Optional. An opaque, user-specified string representing a human agent who handled all conversations in the import. Note that this will be overridden if per-conversation metadata is provided through the `metadata_bucket_uri`. */
1369
1369
  agentId?: string;
1370
1370
  /** Optional. Indicates which of the channels, 1 or 2, contains the agent. Note that this must be set for conversations to be properly displayed and analyzed. */
1371
1371
  customerChannel?: number;
@@ -1377,7 +1377,7 @@ declare namespace gapi.client {
1377
1377
  bucketUri?: string;
1378
1378
  /** Optional. Custom keys to extract as conversation labels from metadata files in `metadata_bucket_uri`. Keys not included in this field will be ignored. Note that there is a limit of 20 labels per conversation. */
1379
1379
  customMetadataKeys?: string[];
1380
- /** Optional. The Cloud Storage path to the source object metadata. Note that: [1] metadata files are expected to be in JSON format [2] metadata and source objects must be in separate buckets [3] a source object's metadata object must share the same name to be properly ingested */
1380
+ /** Optional. The Cloud Storage path to the conversation metadata. Note that: [1] Metadata files are expected to be in JSON format. [2] Metadata and source files (transcripts or audio) must be in separate buckets. [3] A source file and its corresponding metadata file must share the same name to be properly ingested, E.g. `gs://bucket/audio/conversation1.mp3` and `gs://bucket/metadata/conversation1.json`. */
1381
1381
  metadataBucketUri?: string;
1382
1382
  }
1383
1383
  interface GoogleCloudContactcenterinsightsV1IngestConversationsRequestTranscriptObjectConfig {
@@ -1609,11 +1609,11 @@ declare namespace gapi.client {
1609
1609
  languageCode?: string;
1610
1610
  /** Immutable. The resource name of the settings resource. Format: projects/{project}/locations/{location}/settings */
1611
1611
  name?: string;
1612
- /** A map that maps a notification trigger to a Pub/Sub topic. Each time a specified trigger occurs, Insights will notify the corresponding Pub/Sub topic. Keys are notification triggers. Supported keys are: * "all-triggers": Notify each time any of the supported triggers occurs. * "create-analysis": Notify each time an analysis is created. * "create-conversation": Notify each time a conversation is created. * "export-insights-data": Notify each time an export is complete. * "ingest-conversations": Notify each time an IngestConversations LRO completes. * "update-conversation": Notify each time a conversation is updated via UpdateConversation. * "upload-conversation": Notify when an UploadConversation LRO completes. Values are Pub/Sub topics. The format of each Pub/Sub topic is: projects/{project}/topics/{topic} */
1612
+ /** A map that maps a notification trigger to a Pub/Sub topic. Each time a specified trigger occurs, Insights will notify the corresponding Pub/Sub topic. Keys are notification triggers. Supported keys are: * "all-triggers": Notify each time any of the supported triggers occurs. * "create-analysis": Notify each time an analysis is created. * "create-conversation": Notify each time a conversation is created. * "export-insights-data": Notify each time an export is complete. * "ingest-conversations": Notify each time an IngestConversations LRO is complete. * "update-conversation": Notify each time a conversation is updated via UpdateConversation. * "upload-conversation": Notify when an UploadConversation LRO is complete. Values are Pub/Sub topics. The format of each Pub/Sub topic is: projects/{project}/topics/{topic} */
1613
1613
  pubsubNotificationSettings?: {[P in string]: string};
1614
- /** Default DLP redaction resources to be applied while ingesting conversations. This applies to conversations ingested from the UploadConversation and IngestConversations endpoints, including conversations coming from CCAI Platform. */
1614
+ /** Default DLP redaction resources to be applied while ingesting conversations. This applies to conversations ingested from the `UploadConversation` and `IngestConversations` endpoints, including conversations coming from CCAI Platform. */
1615
1615
  redactionConfig?: GoogleCloudContactcenterinsightsV1RedactionConfig;
1616
- /** Optional. Default Speech-to-Text resources to be used while ingesting audio files. Optional, CCAI Insights will create a default if not provided. This applies to conversations ingested from the UploadConversation and IngestConversations endpoints, including conversations coming from CCAI Platform. */
1616
+ /** Optional. Default Speech-to-Text resources to use while ingesting audio files. Optional, CCAI Insights will create a default if not provided. This applies to conversations ingested from the `UploadConversation` and `IngestConversations` endpoints, including conversations coming from CCAI Platform. */
1617
1617
  speechConfig?: GoogleCloudContactcenterinsightsV1SpeechConfig;
1618
1618
  /** Output only. The time at which the settings were last updated. */
1619
1619
  updateTime?: string;
@@ -2020,7 +2020,7 @@ declare namespace gapi.client {
2020
2020
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2021
2021
  uploadType?: string;
2022
2022
  }): Request<GoogleCloudContactcenterinsightsV1CalculateStatsResponse>;
2023
- /** Creates a conversation. DEPRECATED: Use UploadConversation instead. CreateConversation does not support audio transcription or DLP redaction. */
2023
+ /** Creates a conversation. Does not support audio transcription or DLP redaction. Use `conversations.upload` instead. */
2024
2024
  create(request: {
2025
2025
  /** V1 error format. */
2026
2026
  '$.xgafv'?: string;
@@ -2216,7 +2216,7 @@ declare namespace gapi.client {
2216
2216
  key?: string;
2217
2217
  /** OAuth 2.0 token for the current user. */
2218
2218
  oauth_token?: string;
2219
- /** Optional. The attribute by which to order conversations in the response. If empty, conversations will be ordered by descending creation time. Supported values are one of the following: * create_time * customer_satisfaction_rating * duration * latest_analysis * start_time * turn_count The default sort order is ascending. To specify order, append `asc` or `desc`, i.e. `create_time desc`. See https://google.aip.dev/132#ordering for more details. */
2219
+ /** Optional. The attribute by which to order conversations in the response. If empty, conversations will be ordered by descending creation time. Supported values are one of the following: * create_time * customer_satisfaction_rating * duration * latest_analysis * start_time * turn_count The default sort order is ascending. To specify order, append `asc` or `desc` (`create_time desc`). For more details, see [Google AIPs Ordering](https://google.aip.dev/132#ordering). */
2220
2220
  orderBy?: string;
2221
2221
  /** The maximum number of conversations to return in the response. A valid page size ranges from 0 to 1,000 inclusive. If the page size is zero or unspecified, a default page size of 100 will be chosen. Note that a call might return fewer results than the requested page size. */
2222
2222
  pageSize?: number;
@@ -2297,7 +2297,7 @@ declare namespace gapi.client {
2297
2297
  },
2298
2298
  body: GoogleCloudContactcenterinsightsV1Conversation
2299
2299
  ): Request<GoogleCloudContactcenterinsightsV1Conversation>;
2300
- /** Create a longrunning conversation upload operation. This method differs from CreateConversation by allowing audio transcription and optional DLP redaction. */
2300
+ /** Create a long-running conversation upload operation. This method differs from `CreateConversation` by allowing audio transcription and optional DLP redaction. */
2301
2301
  upload(request: {
2302
2302
  /** V1 error format. */
2303
2303
  '$.xgafv'?: string;
@@ -2747,7 +2747,7 @@ declare namespace gapi.client {
2747
2747
  fields?: string;
2748
2748
  /** 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. */
2749
2749
  key?: string;
2750
- /** Required. The issue model to export */
2750
+ /** Required. The issue model to export. */
2751
2751
  name: string;
2752
2752
  /** OAuth 2.0 token for the current user. */
2753
2753
  oauth_token?: string;
@@ -2776,7 +2776,7 @@ declare namespace gapi.client {
2776
2776
  fields?: string;
2777
2777
  /** 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. */
2778
2778
  key?: string;
2779
- /** Required. The issue model to export */
2779
+ /** Required. The issue model to export. */
2780
2780
  name: string;
2781
2781
  /** OAuth 2.0 token for the current user. */
2782
2782
  oauth_token?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.contactcenterinsights-v1",
3
- "version": "0.0.20240610",
3
+ "version": "0.0.20240611",
4
4
  "description": "TypeScript typings for Contact Center AI Insights API v1",
5
5
  "repository": {
6
6
  "type": "git",