@maxim_mazurok/gapi.client.contactcenterinsights-v1 0.0.20250421 → 0.0.20250502

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 +283 -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: 20250421
12
+ // Revision: 20250502
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -1375,6 +1375,10 @@ declare namespace gapi.client {
1375
1375
  /** The latest label statistics for the queried issue model. Includes results on both training data and data labeled after deployment. */
1376
1376
  currentStats?: GoogleCloudContactcenterinsightsV1IssueModelLabelStats;
1377
1377
  }
1378
+ interface GoogleCloudContactcenterinsightsV1CalculateStatsRequest {
1379
+ /** A filter to reduce results to a specific subset. This field is useful for getting statistics about conversations with specific properties. */
1380
+ filter?: string;
1381
+ }
1378
1382
  interface GoogleCloudContactcenterinsightsV1CalculateStatsResponse {
1379
1383
  /** The average duration of all conversations. The average is calculated using only conversations that have a time duration. */
1380
1384
  averageDuration?: string;
@@ -4319,6 +4323,283 @@ declare namespace gapi.client {
4319
4323
  analyses: AnalysesResource;
4320
4324
  feedbackLabels: FeedbackLabelsResource;
4321
4325
  }
4326
+ interface ConversationsResource {
4327
+ /** Gets conversation statistics. */
4328
+ calculateStats(request: {
4329
+ /** V1 error format. */
4330
+ '$.xgafv'?: string;
4331
+ /** OAuth access token. */
4332
+ access_token?: string;
4333
+ /** Data format for response. */
4334
+ alt?: string;
4335
+ /** JSONP */
4336
+ callback?: string;
4337
+ /** Selector specifying which fields to include in a partial response. */
4338
+ fields?: string;
4339
+ /** 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. */
4340
+ key?: string;
4341
+ /** Required. The location of the conversations. */
4342
+ location: string;
4343
+ /** OAuth 2.0 token for the current user. */
4344
+ oauth_token?: string;
4345
+ /** Returns response with indentations and line breaks. */
4346
+ prettyPrint?: boolean;
4347
+ /** 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. */
4348
+ quotaUser?: string;
4349
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4350
+ upload_protocol?: string;
4351
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4352
+ uploadType?: string;
4353
+ /** Request body */
4354
+ resource: GoogleCloudContactcenterinsightsV1CalculateStatsRequest;
4355
+ }): Request<GoogleCloudContactcenterinsightsV1CalculateStatsResponse>;
4356
+ calculateStats(
4357
+ request: {
4358
+ /** V1 error format. */
4359
+ '$.xgafv'?: string;
4360
+ /** OAuth access token. */
4361
+ access_token?: string;
4362
+ /** Data format for response. */
4363
+ alt?: string;
4364
+ /** JSONP */
4365
+ callback?: string;
4366
+ /** Selector specifying which fields to include in a partial response. */
4367
+ fields?: string;
4368
+ /** 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. */
4369
+ key?: string;
4370
+ /** Required. The location of the conversations. */
4371
+ location: string;
4372
+ /** OAuth 2.0 token for the current user. */
4373
+ oauth_token?: string;
4374
+ /** Returns response with indentations and line breaks. */
4375
+ prettyPrint?: boolean;
4376
+ /** 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. */
4377
+ quotaUser?: string;
4378
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4379
+ upload_protocol?: string;
4380
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4381
+ uploadType?: string;
4382
+ },
4383
+ body: GoogleCloudContactcenterinsightsV1CalculateStatsRequest,
4384
+ ): Request<GoogleCloudContactcenterinsightsV1CalculateStatsResponse>;
4385
+ /** Deletes a conversation. */
4386
+ delete(request?: {
4387
+ /** V1 error format. */
4388
+ '$.xgafv'?: string;
4389
+ /** OAuth access token. */
4390
+ access_token?: string;
4391
+ /** Data format for response. */
4392
+ alt?: string;
4393
+ /** JSONP */
4394
+ callback?: string;
4395
+ /** Selector specifying which fields to include in a partial response. */
4396
+ fields?: string;
4397
+ /** If set to true, all of this conversation's analyses will also be deleted. Otherwise, the request will only succeed if the conversation has no analyses. */
4398
+ force?: boolean;
4399
+ /** 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. */
4400
+ key?: string;
4401
+ /** Required. The name of the conversation to delete. */
4402
+ name: string;
4403
+ /** OAuth 2.0 token for the current user. */
4404
+ oauth_token?: string;
4405
+ /** Returns response with indentations and line breaks. */
4406
+ prettyPrint?: boolean;
4407
+ /** 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. */
4408
+ quotaUser?: string;
4409
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4410
+ upload_protocol?: string;
4411
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4412
+ uploadType?: string;
4413
+ }): Request<{}>;
4414
+ /** Gets a conversation. */
4415
+ get(request?: {
4416
+ /** V1 error format. */
4417
+ '$.xgafv'?: string;
4418
+ /** OAuth access token. */
4419
+ access_token?: string;
4420
+ /** Data format for response. */
4421
+ alt?: string;
4422
+ /** JSONP */
4423
+ callback?: string;
4424
+ /** Selector specifying which fields to include in a partial response. */
4425
+ fields?: string;
4426
+ /** 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. */
4427
+ key?: string;
4428
+ /** Required. The name of the conversation to get. */
4429
+ name: string;
4430
+ /** OAuth 2.0 token for the current user. */
4431
+ oauth_token?: string;
4432
+ /** Returns response with indentations and line breaks. */
4433
+ prettyPrint?: boolean;
4434
+ /** 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. */
4435
+ quotaUser?: string;
4436
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4437
+ upload_protocol?: string;
4438
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4439
+ uploadType?: string;
4440
+ /** The level of details of the conversation. Default is `FULL`. */
4441
+ view?: string;
4442
+ }): Request<GoogleCloudContactcenterinsightsV1Conversation>;
4443
+ /** Imports conversations and processes them according to the user's configuration. */
4444
+ ingest(request: {
4445
+ /** V1 error format. */
4446
+ '$.xgafv'?: string;
4447
+ /** OAuth access token. */
4448
+ access_token?: string;
4449
+ /** Data format for response. */
4450
+ alt?: string;
4451
+ /** JSONP */
4452
+ callback?: string;
4453
+ /** Selector specifying which fields to include in a partial response. */
4454
+ fields?: string;
4455
+ /** 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. */
4456
+ key?: string;
4457
+ /** OAuth 2.0 token for the current user. */
4458
+ oauth_token?: string;
4459
+ /** Required. The parent resource for new conversations. */
4460
+ parent: string;
4461
+ /** Returns response with indentations and line breaks. */
4462
+ prettyPrint?: boolean;
4463
+ /** 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. */
4464
+ quotaUser?: string;
4465
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4466
+ upload_protocol?: string;
4467
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4468
+ uploadType?: string;
4469
+ /** Request body */
4470
+ resource: GoogleCloudContactcenterinsightsV1IngestConversationsRequest;
4471
+ }): Request<GoogleLongrunningOperation>;
4472
+ ingest(
4473
+ request: {
4474
+ /** V1 error format. */
4475
+ '$.xgafv'?: string;
4476
+ /** OAuth access token. */
4477
+ access_token?: string;
4478
+ /** Data format for response. */
4479
+ alt?: string;
4480
+ /** JSONP */
4481
+ callback?: string;
4482
+ /** Selector specifying which fields to include in a partial response. */
4483
+ fields?: string;
4484
+ /** 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. */
4485
+ key?: string;
4486
+ /** OAuth 2.0 token for the current user. */
4487
+ oauth_token?: string;
4488
+ /** Required. The parent resource for new conversations. */
4489
+ parent: string;
4490
+ /** Returns response with indentations and line breaks. */
4491
+ prettyPrint?: boolean;
4492
+ /** 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. */
4493
+ quotaUser?: string;
4494
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4495
+ upload_protocol?: string;
4496
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4497
+ uploadType?: string;
4498
+ },
4499
+ body: GoogleCloudContactcenterinsightsV1IngestConversationsRequest,
4500
+ ): Request<GoogleLongrunningOperation>;
4501
+ /** Lists conversations. */
4502
+ list(request?: {
4503
+ /** V1 error format. */
4504
+ '$.xgafv'?: string;
4505
+ /** OAuth access token. */
4506
+ access_token?: string;
4507
+ /** Data format for response. */
4508
+ alt?: string;
4509
+ /** JSONP */
4510
+ callback?: string;
4511
+ /** Selector specifying which fields to include in a partial response. */
4512
+ fields?: string;
4513
+ /** A filter to reduce results to a specific subset. Useful for querying conversations with specific properties. */
4514
+ filter?: string;
4515
+ /** 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. */
4516
+ key?: string;
4517
+ /** OAuth 2.0 token for the current user. */
4518
+ oauth_token?: string;
4519
+ /** 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). */
4520
+ orderBy?: string;
4521
+ /** The maximum number of conversations to return in the response. A valid page size ranges from 0 to 100,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. */
4522
+ pageSize?: number;
4523
+ /** The value returned by the last `ListConversationsResponse`. This value indicates that this is a continuation of a prior `ListConversations` call and that the system should return the next page of data. */
4524
+ pageToken?: string;
4525
+ /** Required. The parent resource of the conversation. */
4526
+ parent: string;
4527
+ /** Returns response with indentations and line breaks. */
4528
+ prettyPrint?: boolean;
4529
+ /** 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. */
4530
+ quotaUser?: string;
4531
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4532
+ upload_protocol?: string;
4533
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4534
+ uploadType?: string;
4535
+ /** The level of details of the conversation. Default is `BASIC`. */
4536
+ view?: string;
4537
+ }): Request<GoogleCloudContactcenterinsightsV1ListConversationsResponse>;
4538
+ }
4539
+ interface InsightsdataResource {
4540
+ /** Export insights data to a destination defined in the request body. */
4541
+ export(request: {
4542
+ /** V1 error format. */
4543
+ '$.xgafv'?: string;
4544
+ /** OAuth access token. */
4545
+ access_token?: string;
4546
+ /** Data format for response. */
4547
+ alt?: string;
4548
+ /** JSONP */
4549
+ callback?: string;
4550
+ /** Selector specifying which fields to include in a partial response. */
4551
+ fields?: string;
4552
+ /** 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. */
4553
+ key?: string;
4554
+ /** OAuth 2.0 token for the current user. */
4555
+ oauth_token?: string;
4556
+ /** Required. The parent resource to export data from. */
4557
+ parent: string;
4558
+ /** Returns response with indentations and line breaks. */
4559
+ prettyPrint?: boolean;
4560
+ /** 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. */
4561
+ quotaUser?: string;
4562
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4563
+ upload_protocol?: string;
4564
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4565
+ uploadType?: string;
4566
+ /** Request body */
4567
+ resource: GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest;
4568
+ }): Request<GoogleLongrunningOperation>;
4569
+ export(
4570
+ request: {
4571
+ /** V1 error format. */
4572
+ '$.xgafv'?: string;
4573
+ /** OAuth access token. */
4574
+ access_token?: string;
4575
+ /** Data format for response. */
4576
+ alt?: string;
4577
+ /** JSONP */
4578
+ callback?: string;
4579
+ /** Selector specifying which fields to include in a partial response. */
4580
+ fields?: string;
4581
+ /** 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. */
4582
+ key?: string;
4583
+ /** OAuth 2.0 token for the current user. */
4584
+ oauth_token?: string;
4585
+ /** Required. The parent resource to export data from. */
4586
+ parent: string;
4587
+ /** Returns response with indentations and line breaks. */
4588
+ prettyPrint?: boolean;
4589
+ /** 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. */
4590
+ quotaUser?: string;
4591
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4592
+ upload_protocol?: string;
4593
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4594
+ uploadType?: string;
4595
+ },
4596
+ body: GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest,
4597
+ ): Request<GoogleLongrunningOperation>;
4598
+ }
4599
+ interface DatasetsResource {
4600
+ conversations: ConversationsResource;
4601
+ insightsdata: InsightsdataResource;
4602
+ }
4322
4603
  interface EncryptionSpecResource {
4323
4604
  /** Initializes a location-level encryption key specification. An error will result if the location has resources already created before the initialization. After the encryption specification is initialized at a location, it is immutable and all newly created resources under the location will be encrypted with the existing specification. */
4324
4605
  initialize(request: {
@@ -6748,6 +7029,7 @@ declare namespace gapi.client {
6748
7029
  analysisRules: AnalysisRulesResource;
6749
7030
  authorizedViewSets: AuthorizedViewSetsResource;
6750
7031
  conversations: ConversationsResource;
7032
+ datasets: DatasetsResource;
6751
7033
  encryptionSpec: EncryptionSpecResource;
6752
7034
  insightsdata: InsightsdataResource;
6753
7035
  issueModels: IssueModelsResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.contactcenterinsights-v1",
3
- "version": "0.0.20250421",
3
+ "version": "0.0.20250502",
4
4
  "description": "TypeScript typings for Contact Center AI Insights API v1",
5
5
  "repository": {
6
6
  "type": "git",