@maxim_mazurok/gapi.client.contactcenterinsights-v1 0.0.20221112 → 0.0.20221116

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 (3) hide show
  1. package/index.d.ts +30 -1
  2. package/package.json +1 -1
  3. package/tests.ts +8 -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: 20221112
12
+ // Revision: 20221116
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -689,6 +689,8 @@ declare namespace gapi.client {
689
689
  displayName?: string;
690
690
  /** Immutable. The resource name of the issue. Format: projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue} */
691
691
  name?: string;
692
+ /** Output only. Resource names of the sample representative utterances that match to this issue. */
693
+ sampleUtterances?: string[];
692
694
  /** Output only. The most recent time that this issue was updated. */
693
695
  updateTime?: string;
694
696
  }
@@ -1566,6 +1568,33 @@ declare namespace gapi.client {
1566
1568
  body: GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest): Request<GoogleLongrunningOperation>;
1567
1569
  }
1568
1570
  interface IssuesResource {
1571
+ /** Deletes an issue. */
1572
+ delete(request?: {
1573
+ /** V1 error format. */
1574
+ "$.xgafv"?: string;
1575
+ /** OAuth access token. */
1576
+ access_token?: string;
1577
+ /** Data format for response. */
1578
+ alt?: string;
1579
+ /** JSONP */
1580
+ callback?: string;
1581
+ /** Selector specifying which fields to include in a partial response. */
1582
+ fields?: string;
1583
+ /** 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. */
1584
+ key?: string;
1585
+ /** Required. The name of the issue to delete. */
1586
+ name: string;
1587
+ /** OAuth 2.0 token for the current user. */
1588
+ oauth_token?: string;
1589
+ /** Returns response with indentations and line breaks. */
1590
+ prettyPrint?: boolean;
1591
+ /** 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. */
1592
+ quotaUser?: string;
1593
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1594
+ upload_protocol?: string;
1595
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1596
+ uploadType?: string;
1597
+ }): Request<{}>;
1569
1598
  /** Gets an issue. */
1570
1599
  get(request?: {
1571
1600
  /** 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.20221112",
3
+ "version": "0.0.20221116",
4
4
  "description": "TypeScript typings for Contact Center AI Insights API v1",
5
5
  "license": "MIT",
6
6
  "author": {
package/tests.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
4
4
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
5
5
 
6
- // Revision: 20221112
6
+ // Revision: 20221116
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -773,6 +773,10 @@ gapi.load('client', async () => {
773
773
  }, {
774
774
  name: "Test string",
775
775
  });
776
+ /** Deletes an issue. */
777
+ await gapi.client.contactcenterinsights.projects.locations.issueModels.issues.delete({
778
+ name: "Test string",
779
+ });
776
780
  /** Gets an issue. */
777
781
  await gapi.client.contactcenterinsights.projects.locations.issueModels.issues.get({
778
782
  name: "Test string",
@@ -789,6 +793,9 @@ gapi.load('client', async () => {
789
793
  createTime: "Test string",
790
794
  displayName: "Test string",
791
795
  name: "Test string",
796
+ sampleUtterances: [
797
+ "Test string"
798
+ ],
792
799
  updateTime: "Test string",
793
800
  });
794
801
  /**