@maxim_mazurok/gapi.client.contactcenterinsights-v1 0.0.20221108 → 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.
- package/index.d.ts +268 -1
- package/package.json +1 -1
- package/tests.ts +31 -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: 20221116
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -22,6 +22,34 @@ declare namespace gapi.client {
|
|
|
22
22
|
function load(name: "contactcenterinsights", version: "v1", callback: () => any): void;
|
|
23
23
|
|
|
24
24
|
namespace contactcenterinsights {
|
|
25
|
+
interface GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsMetadata {
|
|
26
|
+
/** The number of requested analyses that have completed successfully so far. */
|
|
27
|
+
completedAnalysesCount?: number;
|
|
28
|
+
/** The time the operation was created. */
|
|
29
|
+
createTime?: string;
|
|
30
|
+
/** The time the operation finished running. */
|
|
31
|
+
endTime?: string;
|
|
32
|
+
/** The number of requested analyses that have failed so far. */
|
|
33
|
+
failedAnalysesCount?: number;
|
|
34
|
+
/** The original request for bulk analyze. */
|
|
35
|
+
request?: GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsRequest;
|
|
36
|
+
/** Total number of analyses requested. Computed by the number of conversations returned by `filter` multiplied by `analysis_percentage` in the request. */
|
|
37
|
+
totalRequestedAnalysesCount?: number;
|
|
38
|
+
}
|
|
39
|
+
interface GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsRequest {
|
|
40
|
+
/** Required. Percentage of selected conversation to analyze, between [0, 100]. */
|
|
41
|
+
analysisPercentage?: number;
|
|
42
|
+
/** Required. Filter used to select the subset of conversations to analyze. */
|
|
43
|
+
filter?: string;
|
|
44
|
+
/** Required. The parent resource to create analyses in. */
|
|
45
|
+
parent?: string;
|
|
46
|
+
}
|
|
47
|
+
interface GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsResponse {
|
|
48
|
+
/** Count of failed analyses. */
|
|
49
|
+
failedAnalysisCount?: number;
|
|
50
|
+
/** Count of successful analyses. */
|
|
51
|
+
successfulAnalysisCount?: number;
|
|
52
|
+
}
|
|
25
53
|
interface GoogleCloudContactcenterinsightsV1alpha1CreateAnalysisOperationMetadata {
|
|
26
54
|
/** Output only. The Conversation that this Analysis Operation belongs to. */
|
|
27
55
|
conversation?: string;
|
|
@@ -104,6 +132,41 @@ declare namespace gapi.client {
|
|
|
104
132
|
// tslint:disable-next-line:no-empty-interface
|
|
105
133
|
interface GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataResponse {
|
|
106
134
|
}
|
|
135
|
+
interface GoogleCloudContactcenterinsightsV1alpha1IngestConversationsMetadata {
|
|
136
|
+
/** Output only. The time the operation was created. */
|
|
137
|
+
createTime?: string;
|
|
138
|
+
/** Output only. The time the operation finished running. */
|
|
139
|
+
endTime?: string;
|
|
140
|
+
/** Output only. Partial errors during ingest operation that might cause the operation output to be incomplete. */
|
|
141
|
+
partialErrors?: GoogleRpcStatus[];
|
|
142
|
+
/** Output only. The original request for ingest. */
|
|
143
|
+
request?: GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequest;
|
|
144
|
+
}
|
|
145
|
+
interface GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequest {
|
|
146
|
+
/** Configuration that applies to all conversations. */
|
|
147
|
+
conversationConfig?: GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestConversationConfig;
|
|
148
|
+
/** A cloud storage bucket source. */
|
|
149
|
+
gcsSource?: GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSource;
|
|
150
|
+
/** Required. The parent resource for new conversations. */
|
|
151
|
+
parent?: string;
|
|
152
|
+
/** Configuration for when `source` contains conversation transcripts. */
|
|
153
|
+
transcriptObjectConfig?: GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestTranscriptObjectConfig;
|
|
154
|
+
}
|
|
155
|
+
interface GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestConversationConfig {
|
|
156
|
+
/** An opaque, user-specified string representing the human agent who handled the conversations. */
|
|
157
|
+
agentId?: string;
|
|
158
|
+
}
|
|
159
|
+
interface GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSource {
|
|
160
|
+
/** Required. The Cloud Storage bucket containing source objects. */
|
|
161
|
+
bucketUri?: string;
|
|
162
|
+
}
|
|
163
|
+
interface GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestTranscriptObjectConfig {
|
|
164
|
+
/** Required. The medium transcript objects represent. */
|
|
165
|
+
medium?: string;
|
|
166
|
+
}
|
|
167
|
+
// tslint:disable-next-line:no-empty-interface
|
|
168
|
+
interface GoogleCloudContactcenterinsightsV1alpha1IngestConversationsResponse {
|
|
169
|
+
}
|
|
107
170
|
interface GoogleCloudContactcenterinsightsV1alpha1IssueModel {
|
|
108
171
|
/** Output only. The time at which this issue model was created. */
|
|
109
172
|
createTime?: string;
|
|
@@ -217,6 +280,34 @@ declare namespace gapi.client {
|
|
|
217
280
|
/** Article URI. */
|
|
218
281
|
uri?: string;
|
|
219
282
|
}
|
|
283
|
+
interface GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsMetadata {
|
|
284
|
+
/** The number of requested analyses that have completed successfully so far. */
|
|
285
|
+
completedAnalysesCount?: number;
|
|
286
|
+
/** The time the operation was created. */
|
|
287
|
+
createTime?: string;
|
|
288
|
+
/** The time the operation finished running. */
|
|
289
|
+
endTime?: string;
|
|
290
|
+
/** The number of requested analyses that have failed so far. */
|
|
291
|
+
failedAnalysesCount?: number;
|
|
292
|
+
/** The original request for bulk analyze. */
|
|
293
|
+
request?: GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest;
|
|
294
|
+
/** Total number of analyses requested. Computed by the number of conversations returned by `filter` multiplied by `analysis_percentage` in the request. */
|
|
295
|
+
totalRequestedAnalysesCount?: number;
|
|
296
|
+
}
|
|
297
|
+
interface GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest {
|
|
298
|
+
/** Required. Percentage of selected conversation to analyze, between [0, 100]. */
|
|
299
|
+
analysisPercentage?: number;
|
|
300
|
+
/** Required. Filter used to select the subset of conversations to analyze. */
|
|
301
|
+
filter?: string;
|
|
302
|
+
/** Required. The parent resource to create analyses in. */
|
|
303
|
+
parent?: string;
|
|
304
|
+
}
|
|
305
|
+
interface GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsResponse {
|
|
306
|
+
/** Count of failed analyses. */
|
|
307
|
+
failedAnalysisCount?: number;
|
|
308
|
+
/** Count of successful analyses. */
|
|
309
|
+
successfulAnalysisCount?: number;
|
|
310
|
+
}
|
|
220
311
|
interface GoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse {
|
|
221
312
|
/** The latest label statistics for the queried issue model. Includes results on both training data and data labeled after deployment. */
|
|
222
313
|
currentStats?: GoogleCloudContactcenterinsightsV1IssueModelLabelStats;
|
|
@@ -543,6 +634,41 @@ declare namespace gapi.client {
|
|
|
543
634
|
// tslint:disable-next-line:no-empty-interface
|
|
544
635
|
interface GoogleCloudContactcenterinsightsV1HoldData {
|
|
545
636
|
}
|
|
637
|
+
interface GoogleCloudContactcenterinsightsV1IngestConversationsMetadata {
|
|
638
|
+
/** Output only. The time the operation was created. */
|
|
639
|
+
createTime?: string;
|
|
640
|
+
/** Output only. The time the operation finished running. */
|
|
641
|
+
endTime?: string;
|
|
642
|
+
/** Output only. Partial errors during ingest operation that might cause the operation output to be incomplete. */
|
|
643
|
+
partialErrors?: GoogleRpcStatus[];
|
|
644
|
+
/** Output only. The original request for ingest. */
|
|
645
|
+
request?: GoogleCloudContactcenterinsightsV1IngestConversationsRequest;
|
|
646
|
+
}
|
|
647
|
+
interface GoogleCloudContactcenterinsightsV1IngestConversationsRequest {
|
|
648
|
+
/** Configuration that applies to all conversations. */
|
|
649
|
+
conversationConfig?: GoogleCloudContactcenterinsightsV1IngestConversationsRequestConversationConfig;
|
|
650
|
+
/** A cloud storage bucket source. */
|
|
651
|
+
gcsSource?: GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource;
|
|
652
|
+
/** Required. The parent resource for new conversations. */
|
|
653
|
+
parent?: string;
|
|
654
|
+
/** Configuration for when `source` contains conversation transcripts. */
|
|
655
|
+
transcriptObjectConfig?: GoogleCloudContactcenterinsightsV1IngestConversationsRequestTranscriptObjectConfig;
|
|
656
|
+
}
|
|
657
|
+
interface GoogleCloudContactcenterinsightsV1IngestConversationsRequestConversationConfig {
|
|
658
|
+
/** An opaque, user-specified string representing the human agent who handled the conversations. */
|
|
659
|
+
agentId?: string;
|
|
660
|
+
}
|
|
661
|
+
interface GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource {
|
|
662
|
+
/** Required. The Cloud Storage bucket containing source objects. */
|
|
663
|
+
bucketUri?: string;
|
|
664
|
+
}
|
|
665
|
+
interface GoogleCloudContactcenterinsightsV1IngestConversationsRequestTranscriptObjectConfig {
|
|
666
|
+
/** Required. The medium transcript objects represent. */
|
|
667
|
+
medium?: string;
|
|
668
|
+
}
|
|
669
|
+
// tslint:disable-next-line:no-empty-interface
|
|
670
|
+
interface GoogleCloudContactcenterinsightsV1IngestConversationsResponse {
|
|
671
|
+
}
|
|
546
672
|
interface GoogleCloudContactcenterinsightsV1Intent {
|
|
547
673
|
/** The human-readable name of the intent. */
|
|
548
674
|
displayName?: string;
|
|
@@ -563,6 +689,8 @@ declare namespace gapi.client {
|
|
|
563
689
|
displayName?: string;
|
|
564
690
|
/** Immutable. The resource name of the issue. Format: projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue} */
|
|
565
691
|
name?: string;
|
|
692
|
+
/** Output only. Resource names of the sample representative utterances that match to this issue. */
|
|
693
|
+
sampleUtterances?: string[];
|
|
566
694
|
/** Output only. The most recent time that this issue was updated. */
|
|
567
695
|
updateTime?: string;
|
|
568
696
|
}
|
|
@@ -1013,6 +1141,62 @@ declare namespace gapi.client {
|
|
|
1013
1141
|
}): Request<GoogleCloudContactcenterinsightsV1ListAnalysesResponse>;
|
|
1014
1142
|
}
|
|
1015
1143
|
interface ConversationsResource {
|
|
1144
|
+
/** Analyzes multiple conversations in a single request. */
|
|
1145
|
+
bulkAnalyze(request: {
|
|
1146
|
+
/** V1 error format. */
|
|
1147
|
+
"$.xgafv"?: string;
|
|
1148
|
+
/** OAuth access token. */
|
|
1149
|
+
access_token?: string;
|
|
1150
|
+
/** Data format for response. */
|
|
1151
|
+
alt?: string;
|
|
1152
|
+
/** JSONP */
|
|
1153
|
+
callback?: string;
|
|
1154
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1155
|
+
fields?: string;
|
|
1156
|
+
/** 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. */
|
|
1157
|
+
key?: string;
|
|
1158
|
+
/** OAuth 2.0 token for the current user. */
|
|
1159
|
+
oauth_token?: string;
|
|
1160
|
+
/** Required. The parent resource to create analyses in. */
|
|
1161
|
+
parent: string;
|
|
1162
|
+
/** Returns response with indentations and line breaks. */
|
|
1163
|
+
prettyPrint?: boolean;
|
|
1164
|
+
/** 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. */
|
|
1165
|
+
quotaUser?: string;
|
|
1166
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1167
|
+
upload_protocol?: string;
|
|
1168
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1169
|
+
uploadType?: string;
|
|
1170
|
+
/** Request body */
|
|
1171
|
+
resource: GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest;
|
|
1172
|
+
}): Request<GoogleLongrunningOperation>;
|
|
1173
|
+
bulkAnalyze(request: {
|
|
1174
|
+
/** V1 error format. */
|
|
1175
|
+
"$.xgafv"?: string;
|
|
1176
|
+
/** OAuth access token. */
|
|
1177
|
+
access_token?: string;
|
|
1178
|
+
/** Data format for response. */
|
|
1179
|
+
alt?: string;
|
|
1180
|
+
/** JSONP */
|
|
1181
|
+
callback?: string;
|
|
1182
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1183
|
+
fields?: string;
|
|
1184
|
+
/** 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. */
|
|
1185
|
+
key?: string;
|
|
1186
|
+
/** OAuth 2.0 token for the current user. */
|
|
1187
|
+
oauth_token?: string;
|
|
1188
|
+
/** Required. The parent resource to create analyses in. */
|
|
1189
|
+
parent: string;
|
|
1190
|
+
/** Returns response with indentations and line breaks. */
|
|
1191
|
+
prettyPrint?: boolean;
|
|
1192
|
+
/** 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. */
|
|
1193
|
+
quotaUser?: string;
|
|
1194
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1195
|
+
upload_protocol?: string;
|
|
1196
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1197
|
+
uploadType?: string;
|
|
1198
|
+
},
|
|
1199
|
+
body: GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest): Request<GoogleLongrunningOperation>;
|
|
1016
1200
|
/** Gets conversation statistics. */
|
|
1017
1201
|
calculateStats(request?: {
|
|
1018
1202
|
/** V1 error format. */
|
|
@@ -1166,6 +1350,62 @@ declare namespace gapi.client {
|
|
|
1166
1350
|
/** The level of details of the conversation. Default is `FULL`. */
|
|
1167
1351
|
view?: string;
|
|
1168
1352
|
}): Request<GoogleCloudContactcenterinsightsV1Conversation>;
|
|
1353
|
+
/** Imports conversations and processes them according to the user's configuration. */
|
|
1354
|
+
ingest(request: {
|
|
1355
|
+
/** V1 error format. */
|
|
1356
|
+
"$.xgafv"?: string;
|
|
1357
|
+
/** OAuth access token. */
|
|
1358
|
+
access_token?: string;
|
|
1359
|
+
/** Data format for response. */
|
|
1360
|
+
alt?: string;
|
|
1361
|
+
/** JSONP */
|
|
1362
|
+
callback?: string;
|
|
1363
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1364
|
+
fields?: string;
|
|
1365
|
+
/** 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. */
|
|
1366
|
+
key?: string;
|
|
1367
|
+
/** OAuth 2.0 token for the current user. */
|
|
1368
|
+
oauth_token?: string;
|
|
1369
|
+
/** Required. The parent resource for new conversations. */
|
|
1370
|
+
parent: string;
|
|
1371
|
+
/** Returns response with indentations and line breaks. */
|
|
1372
|
+
prettyPrint?: boolean;
|
|
1373
|
+
/** 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. */
|
|
1374
|
+
quotaUser?: string;
|
|
1375
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1376
|
+
upload_protocol?: string;
|
|
1377
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1378
|
+
uploadType?: string;
|
|
1379
|
+
/** Request body */
|
|
1380
|
+
resource: GoogleCloudContactcenterinsightsV1IngestConversationsRequest;
|
|
1381
|
+
}): Request<GoogleLongrunningOperation>;
|
|
1382
|
+
ingest(request: {
|
|
1383
|
+
/** V1 error format. */
|
|
1384
|
+
"$.xgafv"?: string;
|
|
1385
|
+
/** OAuth access token. */
|
|
1386
|
+
access_token?: string;
|
|
1387
|
+
/** Data format for response. */
|
|
1388
|
+
alt?: string;
|
|
1389
|
+
/** JSONP */
|
|
1390
|
+
callback?: string;
|
|
1391
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1392
|
+
fields?: string;
|
|
1393
|
+
/** 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. */
|
|
1394
|
+
key?: string;
|
|
1395
|
+
/** OAuth 2.0 token for the current user. */
|
|
1396
|
+
oauth_token?: string;
|
|
1397
|
+
/** Required. The parent resource for new conversations. */
|
|
1398
|
+
parent: string;
|
|
1399
|
+
/** Returns response with indentations and line breaks. */
|
|
1400
|
+
prettyPrint?: boolean;
|
|
1401
|
+
/** 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. */
|
|
1402
|
+
quotaUser?: string;
|
|
1403
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1404
|
+
upload_protocol?: string;
|
|
1405
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1406
|
+
uploadType?: string;
|
|
1407
|
+
},
|
|
1408
|
+
body: GoogleCloudContactcenterinsightsV1IngestConversationsRequest): Request<GoogleLongrunningOperation>;
|
|
1169
1409
|
/** Lists conversations. */
|
|
1170
1410
|
list(request?: {
|
|
1171
1411
|
/** V1 error format. */
|
|
@@ -1328,6 +1568,33 @@ declare namespace gapi.client {
|
|
|
1328
1568
|
body: GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest): Request<GoogleLongrunningOperation>;
|
|
1329
1569
|
}
|
|
1330
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<{}>;
|
|
1331
1598
|
/** Gets an issue. */
|
|
1332
1599
|
get(request?: {
|
|
1333
1600
|
/** V1 error format. */
|
package/package.json
CHANGED
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:
|
|
6
|
+
// Revision: 20221116
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -50,6 +50,14 @@ gapi.load('client', async () => {
|
|
|
50
50
|
},
|
|
51
51
|
updateTime: "Test string",
|
|
52
52
|
});
|
|
53
|
+
/** Analyzes multiple conversations in a single request. */
|
|
54
|
+
await gapi.client.contactcenterinsights.projects.locations.conversations.bulkAnalyze({
|
|
55
|
+
parent: "Test string",
|
|
56
|
+
}, {
|
|
57
|
+
analysisPercentage: 42,
|
|
58
|
+
filter: "Test string",
|
|
59
|
+
parent: "Test string",
|
|
60
|
+
});
|
|
53
61
|
/** Gets conversation statistics. */
|
|
54
62
|
await gapi.client.contactcenterinsights.projects.locations.conversations.calculateStats({
|
|
55
63
|
filter: "Test string",
|
|
@@ -297,6 +305,21 @@ gapi.load('client', async () => {
|
|
|
297
305
|
name: "Test string",
|
|
298
306
|
view: "Test string",
|
|
299
307
|
});
|
|
308
|
+
/** Imports conversations and processes them according to the user's configuration. */
|
|
309
|
+
await gapi.client.contactcenterinsights.projects.locations.conversations.ingest({
|
|
310
|
+
parent: "Test string",
|
|
311
|
+
}, {
|
|
312
|
+
conversationConfig: {
|
|
313
|
+
agentId: "Test string",
|
|
314
|
+
},
|
|
315
|
+
gcsSource: {
|
|
316
|
+
bucketUri: "Test string",
|
|
317
|
+
},
|
|
318
|
+
parent: "Test string",
|
|
319
|
+
transcriptObjectConfig: {
|
|
320
|
+
medium: "Test string",
|
|
321
|
+
},
|
|
322
|
+
});
|
|
300
323
|
/** Lists conversations. */
|
|
301
324
|
await gapi.client.contactcenterinsights.projects.locations.conversations.list({
|
|
302
325
|
filter: "Test string",
|
|
@@ -750,6 +773,10 @@ gapi.load('client', async () => {
|
|
|
750
773
|
}, {
|
|
751
774
|
name: "Test string",
|
|
752
775
|
});
|
|
776
|
+
/** Deletes an issue. */
|
|
777
|
+
await gapi.client.contactcenterinsights.projects.locations.issueModels.issues.delete({
|
|
778
|
+
name: "Test string",
|
|
779
|
+
});
|
|
753
780
|
/** Gets an issue. */
|
|
754
781
|
await gapi.client.contactcenterinsights.projects.locations.issueModels.issues.get({
|
|
755
782
|
name: "Test string",
|
|
@@ -766,6 +793,9 @@ gapi.load('client', async () => {
|
|
|
766
793
|
createTime: "Test string",
|
|
767
794
|
displayName: "Test string",
|
|
768
795
|
name: "Test string",
|
|
796
|
+
sampleUtterances: [
|
|
797
|
+
"Test string"
|
|
798
|
+
],
|
|
769
799
|
updateTime: "Test string",
|
|
770
800
|
});
|
|
771
801
|
/**
|