@maxim_mazurok/gapi.client.contactcenterinsights-v1 0.0.20250428 → 0.0.20250505

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 +153 -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: 20250428
12
+ // Revision: 20250505
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -430,6 +430,14 @@ declare namespace gapi.client {
430
430
  /** Required. The parent resource of the issue. */
431
431
  parent?: string;
432
432
  }
433
+ interface GoogleCloudContactcenterinsightsV1alpha1Dataset {
434
+ /** Output only. Dataset create time. */
435
+ createTime?: string;
436
+ /** Dataset description. */
437
+ description?: string;
438
+ /** Immutable. Identifier. Resource name of the dataset. Format: projects/{project}/locations/{location}/datasets/{dataset} */
439
+ name?: string;
440
+ }
433
441
  interface GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelMetadata {
434
442
  /** Output only. The time the operation was created. */
435
443
  createTime?: string;
@@ -1032,6 +1040,43 @@ declare namespace gapi.client {
1032
1040
  /** Query source for the answer. */
1033
1041
  querySource?: string;
1034
1042
  }
1043
+ interface GoogleCloudContactcenterinsightsV1alpha1SampleConversationsToDatasetMetadata {
1044
+ /** Output only. The time the operation was created. */
1045
+ createTime?: string;
1046
+ /** Output only. The time the operation finished running. */
1047
+ endTime?: string;
1048
+ /** Output only. Partial errors during sample conversations to dataset operation that might cause the operation output to be incomplete. */
1049
+ partialErrors?: GoogleRpcStatus[];
1050
+ /** Output only. The original request for sample conversations to dataset. */
1051
+ request?: GoogleCloudContactcenterinsightsV1alpha1SampleConversationsToDatasetRequest;
1052
+ /** Output only. Statistics for SampleConversationsToDataset operation. */
1053
+ sampleConversationsToDatasetStats?: GoogleCloudContactcenterinsightsV1alpha1SampleConversationsToDatasetMetadataSampleConversationsToDatasetStats;
1054
+ }
1055
+ interface GoogleCloudContactcenterinsightsV1alpha1SampleConversationsToDatasetMetadataSampleConversationsToDatasetStats {
1056
+ /** Output only. The number of objects which were unable to be sampled due to errors. The errors are populated in the partial_errors field. */
1057
+ failedSampleCount?: number;
1058
+ /** Output only. The number of new conversations added during this sample operation. */
1059
+ successfulSampleCount?: number;
1060
+ }
1061
+ interface GoogleCloudContactcenterinsightsV1alpha1SampleConversationsToDatasetRequest {
1062
+ /** Required. The dataset resource to copy the conversations to. */
1063
+ destinationDataset?: GoogleCloudContactcenterinsightsV1alpha1Dataset;
1064
+ /** Required. The parent resource of the dataset. */
1065
+ parent?: string;
1066
+ /** Optional. The sample rule used for sampling conversations. */
1067
+ sampleRule?: GoogleCloudContactcenterinsightsV1alpha1SampleRule;
1068
+ }
1069
+ interface GoogleCloudContactcenterinsightsV1alpha1SampleConversationsToDatasetResponse {}
1070
+ interface GoogleCloudContactcenterinsightsV1alpha1SampleRule {
1071
+ /** To specify the filter for the conversions that should apply this sample rule. An empty filter means this sample rule applies to all conversations. */
1072
+ conversationFilter?: string;
1073
+ /** Optional. Group by dimension to sample the conversation. If no dimension is provided, the sampling will be applied to the project level. Current supported dimensions is 'quality_metadata.agent_info.agent_id'. */
1074
+ dimension?: string;
1075
+ /** Percentage of conversations that we should sample based on the dimension between [0, 100]. */
1076
+ samplePercentage?: number;
1077
+ /** Number of the conversations that we should sample based on the dimension. */
1078
+ sampleRow?: string;
1079
+ }
1035
1080
  interface GoogleCloudContactcenterinsightsV1alpha1SentimentData {
1036
1081
  /** A non-negative number from 0 to infinity which represents the absolute magnitude of sentiment regardless of score. */
1037
1082
  magnitude?: number;
@@ -1375,6 +1420,10 @@ declare namespace gapi.client {
1375
1420
  /** The latest label statistics for the queried issue model. Includes results on both training data and data labeled after deployment. */
1376
1421
  currentStats?: GoogleCloudContactcenterinsightsV1IssueModelLabelStats;
1377
1422
  }
1423
+ interface GoogleCloudContactcenterinsightsV1CalculateStatsRequest {
1424
+ /** A filter to reduce results to a specific subset. This field is useful for getting statistics about conversations with specific properties. */
1425
+ filter?: string;
1426
+ }
1378
1427
  interface GoogleCloudContactcenterinsightsV1CalculateStatsResponse {
1379
1428
  /** The average duration of all conversations. The average is calculated using only conversations that have a time duration. */
1380
1429
  averageDuration?: string;
@@ -1631,6 +1680,14 @@ declare namespace gapi.client {
1631
1680
  /** Required. The parent resource of the issue. */
1632
1681
  parent?: string;
1633
1682
  }
1683
+ interface GoogleCloudContactcenterinsightsV1Dataset {
1684
+ /** Output only. Dataset create time. */
1685
+ createTime?: string;
1686
+ /** Dataset description. */
1687
+ description?: string;
1688
+ /** Immutable. Identifier. Resource name of the dataset. Format: projects/{project}/locations/{location}/datasets/{dataset} */
1689
+ name?: string;
1690
+ }
1634
1691
  interface GoogleCloudContactcenterinsightsV1DeleteIssueModelMetadata {
1635
1692
  /** Output only. The time the operation was created. */
1636
1693
  createTime?: string;
@@ -2420,6 +2477,43 @@ declare namespace gapi.client {
2420
2477
  /** Query source for the answer. */
2421
2478
  querySource?: string;
2422
2479
  }
2480
+ interface GoogleCloudContactcenterinsightsV1SampleConversationsToDatasetMetadata {
2481
+ /** Output only. The time the operation was created. */
2482
+ createTime?: string;
2483
+ /** Output only. The time the operation finished running. */
2484
+ endTime?: string;
2485
+ /** Output only. Partial errors during sample conversations to dataset operation that might cause the operation output to be incomplete. */
2486
+ partialErrors?: GoogleRpcStatus[];
2487
+ /** Output only. The original request for sample conversations to dataset. */
2488
+ request?: GoogleCloudContactcenterinsightsV1SampleConversationsToDatasetRequest;
2489
+ /** Output only. Statistics for SampleConversationsToDataset operation. */
2490
+ sampleConversationsToDatasetStats?: GoogleCloudContactcenterinsightsV1SampleConversationsToDatasetMetadataSampleConversationsToDatasetStats;
2491
+ }
2492
+ interface GoogleCloudContactcenterinsightsV1SampleConversationsToDatasetMetadataSampleConversationsToDatasetStats {
2493
+ /** Output only. The number of objects which were unable to be sampled due to errors. The errors are populated in the partial_errors field. */
2494
+ failedSampleCount?: number;
2495
+ /** Output only. The number of new conversations added during this sample operation. */
2496
+ successfulSampleCount?: number;
2497
+ }
2498
+ interface GoogleCloudContactcenterinsightsV1SampleConversationsToDatasetRequest {
2499
+ /** Required. The dataset resource to copy the conversations to. */
2500
+ destinationDataset?: GoogleCloudContactcenterinsightsV1Dataset;
2501
+ /** Required. The parent resource of the dataset. */
2502
+ parent?: string;
2503
+ /** Optional. The sample rule used for sampling conversations. */
2504
+ sampleRule?: GoogleCloudContactcenterinsightsV1SampleRule;
2505
+ }
2506
+ interface GoogleCloudContactcenterinsightsV1SampleConversationsToDatasetResponse {}
2507
+ interface GoogleCloudContactcenterinsightsV1SampleRule {
2508
+ /** To specify the filter for the conversions that should apply this sample rule. An empty filter means this sample rule applies to all conversations. */
2509
+ conversationFilter?: string;
2510
+ /** Optional. Group by dimension to sample the conversation. If no dimension is provided, the sampling will be applied to the project level. Current supported dimensions is 'quality_metadata.agent_info.agent_id'. */
2511
+ dimension?: string;
2512
+ /** Percentage of conversations that we should sample based on the dimension between [0, 100]. */
2513
+ samplePercentage?: number;
2514
+ /** Number of the conversations that we should sample based on the dimension. */
2515
+ sampleRow?: string;
2516
+ }
2423
2517
  interface GoogleCloudContactcenterinsightsV1SentimentData {
2424
2518
  /** A non-negative number from 0 to infinity which represents the absolute magnitude of sentiment regardless of score. */
2425
2519
  magnitude?: number;
@@ -4320,6 +4414,64 @@ declare namespace gapi.client {
4320
4414
  feedbackLabels: FeedbackLabelsResource;
4321
4415
  }
4322
4416
  interface ConversationsResource {
4417
+ /** Gets conversation statistics. */
4418
+ calculateStats(request: {
4419
+ /** V1 error format. */
4420
+ '$.xgafv'?: string;
4421
+ /** OAuth access token. */
4422
+ access_token?: string;
4423
+ /** Data format for response. */
4424
+ alt?: string;
4425
+ /** JSONP */
4426
+ callback?: string;
4427
+ /** Selector specifying which fields to include in a partial response. */
4428
+ fields?: string;
4429
+ /** 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. */
4430
+ key?: string;
4431
+ /** Required. The location of the conversations. */
4432
+ location: string;
4433
+ /** OAuth 2.0 token for the current user. */
4434
+ oauth_token?: string;
4435
+ /** Returns response with indentations and line breaks. */
4436
+ prettyPrint?: boolean;
4437
+ /** 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. */
4438
+ quotaUser?: string;
4439
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4440
+ upload_protocol?: string;
4441
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4442
+ uploadType?: string;
4443
+ /** Request body */
4444
+ resource: GoogleCloudContactcenterinsightsV1CalculateStatsRequest;
4445
+ }): Request<GoogleCloudContactcenterinsightsV1CalculateStatsResponse>;
4446
+ calculateStats(
4447
+ request: {
4448
+ /** V1 error format. */
4449
+ '$.xgafv'?: string;
4450
+ /** OAuth access token. */
4451
+ access_token?: string;
4452
+ /** Data format for response. */
4453
+ alt?: string;
4454
+ /** JSONP */
4455
+ callback?: string;
4456
+ /** Selector specifying which fields to include in a partial response. */
4457
+ fields?: string;
4458
+ /** 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. */
4459
+ key?: string;
4460
+ /** Required. The location of the conversations. */
4461
+ location: string;
4462
+ /** OAuth 2.0 token for the current user. */
4463
+ oauth_token?: string;
4464
+ /** Returns response with indentations and line breaks. */
4465
+ prettyPrint?: boolean;
4466
+ /** 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. */
4467
+ quotaUser?: string;
4468
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4469
+ upload_protocol?: string;
4470
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4471
+ uploadType?: string;
4472
+ },
4473
+ body: GoogleCloudContactcenterinsightsV1CalculateStatsRequest,
4474
+ ): Request<GoogleCloudContactcenterinsightsV1CalculateStatsResponse>;
4323
4475
  /** Deletes a conversation. */
4324
4476
  delete(request?: {
4325
4477
  /** V1 error format. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.contactcenterinsights-v1",
3
- "version": "0.0.20250428",
3
+ "version": "0.0.20250505",
4
4
  "description": "TypeScript typings for Contact Center AI Insights API v1",
5
5
  "repository": {
6
6
  "type": "git",