@maxim_mazurok/gapi.client.contactcenterinsights-v1 0.0.20240130 → 0.0.20240206
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.
- package/index.d.ts +207 -1
- 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:
|
|
12
|
+
// Revision: 20240206
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -463,6 +463,25 @@ declare namespace gapi.client {
|
|
|
463
463
|
table?: string;
|
|
464
464
|
}
|
|
465
465
|
interface GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataResponse {}
|
|
466
|
+
interface GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelMetadata {
|
|
467
|
+
/** The time the operation was created. */
|
|
468
|
+
createTime?: string;
|
|
469
|
+
/** The time the operation finished running. */
|
|
470
|
+
endTime?: string;
|
|
471
|
+
/** The original export request. */
|
|
472
|
+
request?: GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelRequest;
|
|
473
|
+
}
|
|
474
|
+
interface GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelRequest {
|
|
475
|
+
/** Google Cloud Storage URI to export the Issue Model to. */
|
|
476
|
+
gcsDestination?: GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelRequestGcsDestination;
|
|
477
|
+
/** Required. The issue model to export */
|
|
478
|
+
name?: string;
|
|
479
|
+
}
|
|
480
|
+
interface GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelRequestGcsDestination {
|
|
481
|
+
/** Required. Format: `gs:///` */
|
|
482
|
+
objectUri?: string;
|
|
483
|
+
}
|
|
484
|
+
interface GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelResponse {}
|
|
466
485
|
interface GoogleCloudContactcenterinsightsV1alpha1FaqAnswerData {
|
|
467
486
|
/** The piece of text from the `source` knowledge base document. */
|
|
468
487
|
answer?: string;
|
|
@@ -484,6 +503,27 @@ declare namespace gapi.client {
|
|
|
484
503
|
transcriptUri?: string;
|
|
485
504
|
}
|
|
486
505
|
interface GoogleCloudContactcenterinsightsV1alpha1HoldData {}
|
|
506
|
+
interface GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelMetadata {
|
|
507
|
+
/** The time the operation was created. */
|
|
508
|
+
createTime?: string;
|
|
509
|
+
/** The time the operation finished running. */
|
|
510
|
+
endTime?: string;
|
|
511
|
+
/** The original import request. */
|
|
512
|
+
request?: GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelRequest;
|
|
513
|
+
}
|
|
514
|
+
interface GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelRequest {
|
|
515
|
+
/** 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. */
|
|
516
|
+
createNewModel?: boolean;
|
|
517
|
+
/** Google Cloud Storage source message. */
|
|
518
|
+
gcsSource?: GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelRequestGcsSource;
|
|
519
|
+
/** Required. The parent resource of the issue model. */
|
|
520
|
+
parent?: string;
|
|
521
|
+
}
|
|
522
|
+
interface GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelRequestGcsSource {
|
|
523
|
+
/** Required. Format: `gs:///` */
|
|
524
|
+
objectUri?: string;
|
|
525
|
+
}
|
|
526
|
+
interface GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelResponse {}
|
|
487
527
|
interface GoogleCloudContactcenterinsightsV1alpha1IngestConversationsMetadata {
|
|
488
528
|
/** Output only. The time the operation was created. */
|
|
489
529
|
createTime?: string;
|
|
@@ -533,6 +573,10 @@ declare namespace gapi.client {
|
|
|
533
573
|
bucketObjectType?: string;
|
|
534
574
|
/** Required. The Cloud Storage bucket containing source objects. */
|
|
535
575
|
bucketUri?: string;
|
|
576
|
+
/** 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. */
|
|
577
|
+
customMetadataKeys?: string[];
|
|
578
|
+
/** 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 */
|
|
579
|
+
metadataBucketUri?: string;
|
|
536
580
|
}
|
|
537
581
|
interface GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestTranscriptObjectConfig {
|
|
538
582
|
/** Required. The medium transcript objects represent. */
|
|
@@ -1193,6 +1237,25 @@ declare namespace gapi.client {
|
|
|
1193
1237
|
table?: string;
|
|
1194
1238
|
}
|
|
1195
1239
|
interface GoogleCloudContactcenterinsightsV1ExportInsightsDataResponse {}
|
|
1240
|
+
interface GoogleCloudContactcenterinsightsV1ExportIssueModelMetadata {
|
|
1241
|
+
/** The time the operation was created. */
|
|
1242
|
+
createTime?: string;
|
|
1243
|
+
/** The time the operation finished running. */
|
|
1244
|
+
endTime?: string;
|
|
1245
|
+
/** The original export request. */
|
|
1246
|
+
request?: GoogleCloudContactcenterinsightsV1ExportIssueModelRequest;
|
|
1247
|
+
}
|
|
1248
|
+
interface GoogleCloudContactcenterinsightsV1ExportIssueModelRequest {
|
|
1249
|
+
/** Google Cloud Storage URI to export the Issue Model to. */
|
|
1250
|
+
gcsDestination?: GoogleCloudContactcenterinsightsV1ExportIssueModelRequestGcsDestination;
|
|
1251
|
+
/** Required. The issue model to export */
|
|
1252
|
+
name?: string;
|
|
1253
|
+
}
|
|
1254
|
+
interface GoogleCloudContactcenterinsightsV1ExportIssueModelRequestGcsDestination {
|
|
1255
|
+
/** Required. Format: `gs:///` */
|
|
1256
|
+
objectUri?: string;
|
|
1257
|
+
}
|
|
1258
|
+
interface GoogleCloudContactcenterinsightsV1ExportIssueModelResponse {}
|
|
1196
1259
|
interface GoogleCloudContactcenterinsightsV1FaqAnswerData {
|
|
1197
1260
|
/** The piece of text from the `source` knowledge base document. */
|
|
1198
1261
|
answer?: string;
|
|
@@ -1214,6 +1277,27 @@ declare namespace gapi.client {
|
|
|
1214
1277
|
transcriptUri?: string;
|
|
1215
1278
|
}
|
|
1216
1279
|
interface GoogleCloudContactcenterinsightsV1HoldData {}
|
|
1280
|
+
interface GoogleCloudContactcenterinsightsV1ImportIssueModelMetadata {
|
|
1281
|
+
/** The time the operation was created. */
|
|
1282
|
+
createTime?: string;
|
|
1283
|
+
/** The time the operation finished running. */
|
|
1284
|
+
endTime?: string;
|
|
1285
|
+
/** The original import request. */
|
|
1286
|
+
request?: GoogleCloudContactcenterinsightsV1ImportIssueModelRequest;
|
|
1287
|
+
}
|
|
1288
|
+
interface GoogleCloudContactcenterinsightsV1ImportIssueModelRequest {
|
|
1289
|
+
/** 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. */
|
|
1290
|
+
createNewModel?: boolean;
|
|
1291
|
+
/** Google Cloud Storage source message. */
|
|
1292
|
+
gcsSource?: GoogleCloudContactcenterinsightsV1ImportIssueModelRequestGcsSource;
|
|
1293
|
+
/** Required. The parent resource of the issue model. */
|
|
1294
|
+
parent?: string;
|
|
1295
|
+
}
|
|
1296
|
+
interface GoogleCloudContactcenterinsightsV1ImportIssueModelRequestGcsSource {
|
|
1297
|
+
/** Required. Format: `gs:///` */
|
|
1298
|
+
objectUri?: string;
|
|
1299
|
+
}
|
|
1300
|
+
interface GoogleCloudContactcenterinsightsV1ImportIssueModelResponse {}
|
|
1217
1301
|
interface GoogleCloudContactcenterinsightsV1IngestConversationsMetadata {
|
|
1218
1302
|
/** Output only. The time the operation was created. */
|
|
1219
1303
|
createTime?: string;
|
|
@@ -1263,6 +1347,10 @@ declare namespace gapi.client {
|
|
|
1263
1347
|
bucketObjectType?: string;
|
|
1264
1348
|
/** Required. The Cloud Storage bucket containing source objects. */
|
|
1265
1349
|
bucketUri?: string;
|
|
1350
|
+
/** 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. */
|
|
1351
|
+
customMetadataKeys?: string[];
|
|
1352
|
+
/** 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 */
|
|
1353
|
+
metadataBucketUri?: string;
|
|
1266
1354
|
}
|
|
1267
1355
|
interface GoogleCloudContactcenterinsightsV1IngestConversationsRequestTranscriptObjectConfig {
|
|
1268
1356
|
/** Required. The medium transcript objects represent. */
|
|
@@ -2092,6 +2180,8 @@ declare namespace gapi.client {
|
|
|
2092
2180
|
key?: string;
|
|
2093
2181
|
/** OAuth 2.0 token for the current user. */
|
|
2094
2182
|
oauth_token?: string;
|
|
2183
|
+
/** 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 * duration * turn_count * latest_analysis 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. */
|
|
2184
|
+
orderBy?: string;
|
|
2095
2185
|
/** 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. */
|
|
2096
2186
|
pageSize?: number;
|
|
2097
2187
|
/** 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. */
|
|
@@ -2607,6 +2697,64 @@ declare namespace gapi.client {
|
|
|
2607
2697
|
},
|
|
2608
2698
|
body: GoogleCloudContactcenterinsightsV1DeployIssueModelRequest
|
|
2609
2699
|
): Request<GoogleLongrunningOperation>;
|
|
2700
|
+
/** Exports an issue model to the provided destination. */
|
|
2701
|
+
export(request: {
|
|
2702
|
+
/** V1 error format. */
|
|
2703
|
+
'$.xgafv'?: string;
|
|
2704
|
+
/** OAuth access token. */
|
|
2705
|
+
access_token?: string;
|
|
2706
|
+
/** Data format for response. */
|
|
2707
|
+
alt?: string;
|
|
2708
|
+
/** JSONP */
|
|
2709
|
+
callback?: string;
|
|
2710
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2711
|
+
fields?: string;
|
|
2712
|
+
/** 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. */
|
|
2713
|
+
key?: string;
|
|
2714
|
+
/** Required. The issue model to export */
|
|
2715
|
+
name: string;
|
|
2716
|
+
/** OAuth 2.0 token for the current user. */
|
|
2717
|
+
oauth_token?: string;
|
|
2718
|
+
/** Returns response with indentations and line breaks. */
|
|
2719
|
+
prettyPrint?: boolean;
|
|
2720
|
+
/** 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. */
|
|
2721
|
+
quotaUser?: string;
|
|
2722
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2723
|
+
upload_protocol?: string;
|
|
2724
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2725
|
+
uploadType?: string;
|
|
2726
|
+
/** Request body */
|
|
2727
|
+
resource: GoogleCloudContactcenterinsightsV1ExportIssueModelRequest;
|
|
2728
|
+
}): Request<GoogleLongrunningOperation>;
|
|
2729
|
+
export(
|
|
2730
|
+
request: {
|
|
2731
|
+
/** V1 error format. */
|
|
2732
|
+
'$.xgafv'?: string;
|
|
2733
|
+
/** OAuth access token. */
|
|
2734
|
+
access_token?: string;
|
|
2735
|
+
/** Data format for response. */
|
|
2736
|
+
alt?: string;
|
|
2737
|
+
/** JSONP */
|
|
2738
|
+
callback?: string;
|
|
2739
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2740
|
+
fields?: string;
|
|
2741
|
+
/** 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. */
|
|
2742
|
+
key?: string;
|
|
2743
|
+
/** Required. The issue model to export */
|
|
2744
|
+
name: string;
|
|
2745
|
+
/** OAuth 2.0 token for the current user. */
|
|
2746
|
+
oauth_token?: string;
|
|
2747
|
+
/** Returns response with indentations and line breaks. */
|
|
2748
|
+
prettyPrint?: boolean;
|
|
2749
|
+
/** 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. */
|
|
2750
|
+
quotaUser?: string;
|
|
2751
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2752
|
+
upload_protocol?: string;
|
|
2753
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2754
|
+
uploadType?: string;
|
|
2755
|
+
},
|
|
2756
|
+
body: GoogleCloudContactcenterinsightsV1ExportIssueModelRequest
|
|
2757
|
+
): Request<GoogleLongrunningOperation>;
|
|
2610
2758
|
/** Gets an issue model. */
|
|
2611
2759
|
get(request?: {
|
|
2612
2760
|
/** V1 error format. */
|
|
@@ -2634,6 +2782,64 @@ declare namespace gapi.client {
|
|
|
2634
2782
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2635
2783
|
uploadType?: string;
|
|
2636
2784
|
}): Request<GoogleCloudContactcenterinsightsV1IssueModel>;
|
|
2785
|
+
/** Imports an issue model from a Cloud Storage bucket. */
|
|
2786
|
+
import(request: {
|
|
2787
|
+
/** V1 error format. */
|
|
2788
|
+
'$.xgafv'?: string;
|
|
2789
|
+
/** OAuth access token. */
|
|
2790
|
+
access_token?: string;
|
|
2791
|
+
/** Data format for response. */
|
|
2792
|
+
alt?: string;
|
|
2793
|
+
/** JSONP */
|
|
2794
|
+
callback?: string;
|
|
2795
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2796
|
+
fields?: string;
|
|
2797
|
+
/** 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. */
|
|
2798
|
+
key?: string;
|
|
2799
|
+
/** OAuth 2.0 token for the current user. */
|
|
2800
|
+
oauth_token?: string;
|
|
2801
|
+
/** Required. The parent resource of the issue model. */
|
|
2802
|
+
parent: string;
|
|
2803
|
+
/** Returns response with indentations and line breaks. */
|
|
2804
|
+
prettyPrint?: boolean;
|
|
2805
|
+
/** 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. */
|
|
2806
|
+
quotaUser?: string;
|
|
2807
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2808
|
+
upload_protocol?: string;
|
|
2809
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2810
|
+
uploadType?: string;
|
|
2811
|
+
/** Request body */
|
|
2812
|
+
resource: GoogleCloudContactcenterinsightsV1ImportIssueModelRequest;
|
|
2813
|
+
}): Request<GoogleLongrunningOperation>;
|
|
2814
|
+
import(
|
|
2815
|
+
request: {
|
|
2816
|
+
/** V1 error format. */
|
|
2817
|
+
'$.xgafv'?: string;
|
|
2818
|
+
/** OAuth access token. */
|
|
2819
|
+
access_token?: string;
|
|
2820
|
+
/** Data format for response. */
|
|
2821
|
+
alt?: string;
|
|
2822
|
+
/** JSONP */
|
|
2823
|
+
callback?: string;
|
|
2824
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2825
|
+
fields?: string;
|
|
2826
|
+
/** 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. */
|
|
2827
|
+
key?: string;
|
|
2828
|
+
/** OAuth 2.0 token for the current user. */
|
|
2829
|
+
oauth_token?: string;
|
|
2830
|
+
/** Required. The parent resource of the issue model. */
|
|
2831
|
+
parent: string;
|
|
2832
|
+
/** Returns response with indentations and line breaks. */
|
|
2833
|
+
prettyPrint?: boolean;
|
|
2834
|
+
/** 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. */
|
|
2835
|
+
quotaUser?: string;
|
|
2836
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2837
|
+
upload_protocol?: string;
|
|
2838
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2839
|
+
uploadType?: string;
|
|
2840
|
+
},
|
|
2841
|
+
body: GoogleCloudContactcenterinsightsV1ImportIssueModelRequest
|
|
2842
|
+
): Request<GoogleLongrunningOperation>;
|
|
2637
2843
|
/** Lists issue models. */
|
|
2638
2844
|
list(request?: {
|
|
2639
2845
|
/** V1 error format. */
|