@maxim_mazurok/gapi.client.contactcenterinsights-v1 0.0.20221128 → 0.0.20221210
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 +69 -1
- package/package.json +1 -1
- package/tests.ts +78 -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: 20221210
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -22,6 +22,32 @@ declare namespace gapi.client {
|
|
|
22
22
|
function load(name: "contactcenterinsights", version: "v1", callback: () => any): void;
|
|
23
23
|
|
|
24
24
|
namespace contactcenterinsights {
|
|
25
|
+
interface GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelector {
|
|
26
|
+
/**
|
|
27
|
+
* The issue model to run. If not provided, the most recently deployed topic model will be used. The provided issue model will only be used for inference if the issue model is deployed
|
|
28
|
+
* and if run_issue_model_annotator is set to true. If more than one issue model is provided, only the first provided issue model will be used for inference.
|
|
29
|
+
*/
|
|
30
|
+
issueModels?: string[];
|
|
31
|
+
/**
|
|
32
|
+
* The list of phrase matchers to run. If not provided, all active phrase matchers will be used. If inactive phrase matchers are provided, they will not be used. Phrase matchers will
|
|
33
|
+
* be run only if run_phrase_matcher_annotator is set to true. Format: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
|
|
34
|
+
*/
|
|
35
|
+
phraseMatchers?: string[];
|
|
36
|
+
/** Whether to run the entity annotator. */
|
|
37
|
+
runEntityAnnotator?: boolean;
|
|
38
|
+
/** Whether to run the intent annotator. */
|
|
39
|
+
runIntentAnnotator?: boolean;
|
|
40
|
+
/** Whether to run the interruption annotator. */
|
|
41
|
+
runInterruptionAnnotator?: boolean;
|
|
42
|
+
/** Whether to run the issue model annotator. A model should have already been deployed for this to take effect. */
|
|
43
|
+
runIssueModelAnnotator?: boolean;
|
|
44
|
+
/** Whether to run the active phrase matcher annotator(s). */
|
|
45
|
+
runPhraseMatcherAnnotator?: boolean;
|
|
46
|
+
/** Whether to run the sentiment annotator. */
|
|
47
|
+
runSentimentAnnotator?: boolean;
|
|
48
|
+
/** Whether to run the silence annotator. */
|
|
49
|
+
runSilenceAnnotator?: boolean;
|
|
50
|
+
}
|
|
25
51
|
interface GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsMetadata {
|
|
26
52
|
/** The number of requested analyses that have completed successfully so far. */
|
|
27
53
|
completedAnalysesCount?: number;
|
|
@@ -39,6 +65,8 @@ declare namespace gapi.client {
|
|
|
39
65
|
interface GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsRequest {
|
|
40
66
|
/** Required. Percentage of selected conversation to analyze, between [0, 100]. */
|
|
41
67
|
analysisPercentage?: number;
|
|
68
|
+
/** To select the annotators to run and the phrase matchers to use (if any). If not specified, all annotators will be run. */
|
|
69
|
+
annotatorSelector?: GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelector;
|
|
42
70
|
/** Required. Filter used to select the subset of conversations to analyze. */
|
|
43
71
|
filter?: string;
|
|
44
72
|
/** Required. The parent resource to create analyses in. */
|
|
@@ -51,6 +79,8 @@ declare namespace gapi.client {
|
|
|
51
79
|
successfulAnalysisCount?: number;
|
|
52
80
|
}
|
|
53
81
|
interface GoogleCloudContactcenterinsightsV1alpha1CreateAnalysisOperationMetadata {
|
|
82
|
+
/** Output only. The annotator selector used for the analysis (if any). */
|
|
83
|
+
annotatorSelector?: GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelector;
|
|
54
84
|
/** Output only. The Conversation that this Analysis Operation belongs to. */
|
|
55
85
|
conversation?: string;
|
|
56
86
|
/** Output only. The time the operation was created. */
|
|
@@ -174,6 +204,8 @@ declare namespace gapi.client {
|
|
|
174
204
|
displayName?: string;
|
|
175
205
|
/** Configs for the input data that used to create the issue model. */
|
|
176
206
|
inputDataConfig?: GoogleCloudContactcenterinsightsV1alpha1IssueModelInputDataConfig;
|
|
207
|
+
/** Output only. Number of issues in this issue model. */
|
|
208
|
+
issueCount?: string;
|
|
177
209
|
/** Immutable. The resource name of the issue model. Format: projects/{project}/locations/{location}/issueModels/{issue_model} */
|
|
178
210
|
name?: string;
|
|
179
211
|
/** Output only. State of the model. */
|
|
@@ -225,6 +257,8 @@ declare namespace gapi.client {
|
|
|
225
257
|
interface GoogleCloudContactcenterinsightsV1Analysis {
|
|
226
258
|
/** Output only. The result of the analysis, which is populated when the analysis finishes. */
|
|
227
259
|
analysisResult?: GoogleCloudContactcenterinsightsV1AnalysisResult;
|
|
260
|
+
/** To select the annotators to run and the phrase matchers to use (if any). If not specified, all annotators will be run. */
|
|
261
|
+
annotatorSelector?: GoogleCloudContactcenterinsightsV1AnnotatorSelector;
|
|
228
262
|
/** Output only. The time at which the analysis was created, which occurs when the long-running operation completes. */
|
|
229
263
|
createTime?: string;
|
|
230
264
|
/** Immutable. The resource name of the analysis. Format: projects/{project}/locations/{location}/conversations/{conversation}/analyses/{analysis} */
|
|
@@ -258,6 +292,32 @@ declare namespace gapi.client {
|
|
|
258
292
|
/** The word index of this boundary with respect to the first word in the transcript piece. This index starts at zero. */
|
|
259
293
|
wordIndex?: number;
|
|
260
294
|
}
|
|
295
|
+
interface GoogleCloudContactcenterinsightsV1AnnotatorSelector {
|
|
296
|
+
/**
|
|
297
|
+
* The issue model to run. If not provided, the most recently deployed topic model will be used. The provided issue model will only be used for inference if the issue model is deployed
|
|
298
|
+
* and if run_issue_model_annotator is set to true. If more than one issue model is provided, only the first provided issue model will be used for inference.
|
|
299
|
+
*/
|
|
300
|
+
issueModels?: string[];
|
|
301
|
+
/**
|
|
302
|
+
* The list of phrase matchers to run. If not provided, all active phrase matchers will be used. If inactive phrase matchers are provided, they will not be used. Phrase matchers will
|
|
303
|
+
* be run only if run_phrase_matcher_annotator is set to true. Format: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
|
|
304
|
+
*/
|
|
305
|
+
phraseMatchers?: string[];
|
|
306
|
+
/** Whether to run the entity annotator. */
|
|
307
|
+
runEntityAnnotator?: boolean;
|
|
308
|
+
/** Whether to run the intent annotator. */
|
|
309
|
+
runIntentAnnotator?: boolean;
|
|
310
|
+
/** Whether to run the interruption annotator. */
|
|
311
|
+
runInterruptionAnnotator?: boolean;
|
|
312
|
+
/** Whether to run the issue model annotator. A model should have already been deployed for this to take effect. */
|
|
313
|
+
runIssueModelAnnotator?: boolean;
|
|
314
|
+
/** Whether to run the active phrase matcher annotator(s). */
|
|
315
|
+
runPhraseMatcherAnnotator?: boolean;
|
|
316
|
+
/** Whether to run the sentiment annotator. */
|
|
317
|
+
runSentimentAnnotator?: boolean;
|
|
318
|
+
/** Whether to run the silence annotator. */
|
|
319
|
+
runSilenceAnnotator?: boolean;
|
|
320
|
+
}
|
|
261
321
|
interface GoogleCloudContactcenterinsightsV1AnswerFeedback {
|
|
262
322
|
/** Indicates whether an answer or item was clicked by the human agent. */
|
|
263
323
|
clicked?: boolean;
|
|
@@ -297,6 +357,8 @@ declare namespace gapi.client {
|
|
|
297
357
|
interface GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest {
|
|
298
358
|
/** Required. Percentage of selected conversation to analyze, between [0, 100]. */
|
|
299
359
|
analysisPercentage?: number;
|
|
360
|
+
/** To select the annotators to run and the phrase matchers to use (if any). If not specified, all annotators will be run. */
|
|
361
|
+
annotatorSelector?: GoogleCloudContactcenterinsightsV1AnnotatorSelector;
|
|
300
362
|
/** Required. Filter used to select the subset of conversations to analyze. */
|
|
301
363
|
filter?: string;
|
|
302
364
|
/** Required. The parent resource to create analyses in. */
|
|
@@ -484,6 +546,8 @@ declare namespace gapi.client {
|
|
|
484
546
|
word?: string;
|
|
485
547
|
}
|
|
486
548
|
interface GoogleCloudContactcenterinsightsV1CreateAnalysisOperationMetadata {
|
|
549
|
+
/** Output only. The annotator selector used for the analysis (if any). */
|
|
550
|
+
annotatorSelector?: GoogleCloudContactcenterinsightsV1AnnotatorSelector;
|
|
487
551
|
/** Output only. The Conversation that this Analysis Operation belongs to. */
|
|
488
552
|
conversation?: string;
|
|
489
553
|
/** Output only. The time the operation was created. */
|
|
@@ -713,6 +777,8 @@ declare namespace gapi.client {
|
|
|
713
777
|
displayName?: string;
|
|
714
778
|
/** Configs for the input data that used to create the issue model. */
|
|
715
779
|
inputDataConfig?: GoogleCloudContactcenterinsightsV1IssueModelInputDataConfig;
|
|
780
|
+
/** Output only. Number of issues in this issue model. */
|
|
781
|
+
issueCount?: string;
|
|
716
782
|
/** Immutable. The resource name of the issue model. Format: projects/{project}/locations/{location}/issueModels/{issue_model} */
|
|
717
783
|
name?: string;
|
|
718
784
|
/** Output only. State of the model. */
|
|
@@ -897,6 +963,8 @@ declare namespace gapi.client {
|
|
|
897
963
|
updateTime?: string;
|
|
898
964
|
}
|
|
899
965
|
interface GoogleCloudContactcenterinsightsV1SettingsAnalysisConfig {
|
|
966
|
+
/** To select the annotators to run and the phrase matchers to use (if any). If not specified, all annotators will be run. */
|
|
967
|
+
annotatorSelector?: GoogleCloudContactcenterinsightsV1AnnotatorSelector;
|
|
900
968
|
/** Percentage of conversations created using Dialogflow runtime integration to analyze automatically, between [0, 100]. */
|
|
901
969
|
runtimeIntegrationAnalysisPercentage?: number;
|
|
902
970
|
}
|
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: 20221210
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -39,6 +39,21 @@ gapi.load('client', async () => {
|
|
|
39
39
|
updateMask: "Test string",
|
|
40
40
|
}, {
|
|
41
41
|
analysisConfig: {
|
|
42
|
+
annotatorSelector: {
|
|
43
|
+
issueModels: [
|
|
44
|
+
"Test string"
|
|
45
|
+
],
|
|
46
|
+
phraseMatchers: [
|
|
47
|
+
"Test string"
|
|
48
|
+
],
|
|
49
|
+
runEntityAnnotator: true,
|
|
50
|
+
runIntentAnnotator: true,
|
|
51
|
+
runInterruptionAnnotator: true,
|
|
52
|
+
runIssueModelAnnotator: true,
|
|
53
|
+
runPhraseMatcherAnnotator: true,
|
|
54
|
+
runSentimentAnnotator: true,
|
|
55
|
+
runSilenceAnnotator: true,
|
|
56
|
+
},
|
|
42
57
|
runtimeIntegrationAnalysisPercentage: 42,
|
|
43
58
|
},
|
|
44
59
|
conversationTtl: "Test string",
|
|
@@ -55,6 +70,21 @@ gapi.load('client', async () => {
|
|
|
55
70
|
parent: "Test string",
|
|
56
71
|
}, {
|
|
57
72
|
analysisPercentage: 42,
|
|
73
|
+
annotatorSelector: {
|
|
74
|
+
issueModels: [
|
|
75
|
+
"Test string"
|
|
76
|
+
],
|
|
77
|
+
phraseMatchers: [
|
|
78
|
+
"Test string"
|
|
79
|
+
],
|
|
80
|
+
runEntityAnnotator: true,
|
|
81
|
+
runIntentAnnotator: true,
|
|
82
|
+
runInterruptionAnnotator: true,
|
|
83
|
+
runIssueModelAnnotator: true,
|
|
84
|
+
runPhraseMatcherAnnotator: true,
|
|
85
|
+
runSentimentAnnotator: true,
|
|
86
|
+
runSilenceAnnotator: true,
|
|
87
|
+
},
|
|
58
88
|
filter: "Test string",
|
|
59
89
|
parent: "Test string",
|
|
60
90
|
});
|
|
@@ -191,6 +221,21 @@ gapi.load('client', async () => {
|
|
|
191
221
|
},
|
|
192
222
|
endTime: "Test string",
|
|
193
223
|
},
|
|
224
|
+
annotatorSelector: {
|
|
225
|
+
issueModels: [
|
|
226
|
+
"Test string"
|
|
227
|
+
],
|
|
228
|
+
phraseMatchers: [
|
|
229
|
+
"Test string"
|
|
230
|
+
],
|
|
231
|
+
runEntityAnnotator: true,
|
|
232
|
+
runIntentAnnotator: true,
|
|
233
|
+
runInterruptionAnnotator: true,
|
|
234
|
+
runIssueModelAnnotator: true,
|
|
235
|
+
runPhraseMatcherAnnotator: true,
|
|
236
|
+
runSentimentAnnotator: true,
|
|
237
|
+
runSilenceAnnotator: true,
|
|
238
|
+
},
|
|
194
239
|
createTime: "Test string",
|
|
195
240
|
name: "Test string",
|
|
196
241
|
requestTime: "Test string",
|
|
@@ -456,6 +501,21 @@ gapi.load('client', async () => {
|
|
|
456
501
|
},
|
|
457
502
|
endTime: "Test string",
|
|
458
503
|
},
|
|
504
|
+
annotatorSelector: {
|
|
505
|
+
issueModels: [
|
|
506
|
+
"Test string"
|
|
507
|
+
],
|
|
508
|
+
phraseMatchers: [
|
|
509
|
+
"Test string"
|
|
510
|
+
],
|
|
511
|
+
runEntityAnnotator: true,
|
|
512
|
+
runIntentAnnotator: true,
|
|
513
|
+
runInterruptionAnnotator: true,
|
|
514
|
+
runIssueModelAnnotator: true,
|
|
515
|
+
runPhraseMatcherAnnotator: true,
|
|
516
|
+
runSentimentAnnotator: true,
|
|
517
|
+
runSilenceAnnotator: true,
|
|
518
|
+
},
|
|
459
519
|
createTime: "Test string",
|
|
460
520
|
name: "Test string",
|
|
461
521
|
requestTime: "Test string",
|
|
@@ -659,6 +719,21 @@ gapi.load('client', async () => {
|
|
|
659
719
|
},
|
|
660
720
|
endTime: "Test string",
|
|
661
721
|
},
|
|
722
|
+
annotatorSelector: {
|
|
723
|
+
issueModels: [
|
|
724
|
+
"Test string"
|
|
725
|
+
],
|
|
726
|
+
phraseMatchers: [
|
|
727
|
+
"Test string"
|
|
728
|
+
],
|
|
729
|
+
runEntityAnnotator: true,
|
|
730
|
+
runIntentAnnotator: true,
|
|
731
|
+
runInterruptionAnnotator: true,
|
|
732
|
+
runIssueModelAnnotator: true,
|
|
733
|
+
runPhraseMatcherAnnotator: true,
|
|
734
|
+
runSentimentAnnotator: true,
|
|
735
|
+
runSilenceAnnotator: true,
|
|
736
|
+
},
|
|
662
737
|
createTime: "Test string",
|
|
663
738
|
name: "Test string",
|
|
664
739
|
requestTime: "Test string",
|
|
@@ -707,6 +782,7 @@ gapi.load('client', async () => {
|
|
|
707
782
|
medium: "Test string",
|
|
708
783
|
trainingConversationsCount: "Test string",
|
|
709
784
|
},
|
|
785
|
+
issueCount: "Test string",
|
|
710
786
|
name: "Test string",
|
|
711
787
|
state: "Test string",
|
|
712
788
|
trainingStats: {
|
|
@@ -752,6 +828,7 @@ gapi.load('client', async () => {
|
|
|
752
828
|
medium: "Test string",
|
|
753
829
|
trainingConversationsCount: "Test string",
|
|
754
830
|
},
|
|
831
|
+
issueCount: "Test string",
|
|
755
832
|
name: "Test string",
|
|
756
833
|
state: "Test string",
|
|
757
834
|
trainingStats: {
|