@maxim_mazurok/gapi.client.contactcenterinsights-v1 0.0.20230910 → 0.0.20230923
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 +20 -13
- package/package.json +1 -1
- package/tests.ts +7 -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: 20230923
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -582,9 +582,6 @@ declare namespace gapi.client {
|
|
|
582
582
|
// tslint:disable-next-line:no-empty-interface
|
|
583
583
|
interface GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataResponse {
|
|
584
584
|
}
|
|
585
|
-
// tslint:disable-next-line:no-empty-interface
|
|
586
|
-
interface GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelResponse {
|
|
587
|
-
}
|
|
588
585
|
interface GoogleCloudContactcenterinsightsV1alpha1FaqAnswerData {
|
|
589
586
|
/** The piece of text from the `source` knowledge base document. */
|
|
590
587
|
answer?:
|
|
@@ -616,9 +613,6 @@ declare namespace gapi.client {
|
|
|
616
613
|
// tslint:disable-next-line:no-empty-interface
|
|
617
614
|
interface GoogleCloudContactcenterinsightsV1alpha1HoldData {
|
|
618
615
|
}
|
|
619
|
-
// tslint:disable-next-line:no-empty-interface
|
|
620
|
-
interface GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelResponse {
|
|
621
|
-
}
|
|
622
616
|
interface GoogleCloudContactcenterinsightsV1alpha1IngestConversationsMetadata {
|
|
623
617
|
/** Output only. The time the operation was created. */
|
|
624
618
|
createTime?:
|
|
@@ -880,6 +874,11 @@ declare namespace gapi.client {
|
|
|
880
874
|
reply?:
|
|
881
875
|
string;
|
|
882
876
|
}
|
|
877
|
+
interface GoogleCloudContactcenterinsightsV1alpha1SpeechConfig {
|
|
878
|
+
/** The fully-qualified Speech Recognizer resource name. Format: `projects/{project_id}/locations/{location}/recognizer/{recognizer}` */
|
|
879
|
+
speechRecognizer?:
|
|
880
|
+
string;
|
|
881
|
+
}
|
|
883
882
|
interface GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelMetadata {
|
|
884
883
|
/** Output only. The time the operation was created. */
|
|
885
884
|
createTime?:
|
|
@@ -932,6 +931,9 @@ declare namespace gapi.client {
|
|
|
932
931
|
/** Optional. DLP settings for transcript redaction. Optional, will default to the config specified in Settings. */
|
|
933
932
|
redactionConfig?:
|
|
934
933
|
GoogleCloudContactcenterinsightsV1alpha1RedactionConfig;
|
|
934
|
+
/** Optional. Default Speech-to-Text configuration. Optional, will default to the config specified in Settings. */
|
|
935
|
+
speechConfig?:
|
|
936
|
+
GoogleCloudContactcenterinsightsV1alpha1SpeechConfig;
|
|
935
937
|
}
|
|
936
938
|
interface GoogleCloudContactcenterinsightsV1Analysis {
|
|
937
939
|
/** Output only. The result of the analysis, which is populated when the analysis finishes. */
|
|
@@ -1548,9 +1550,6 @@ declare namespace gapi.client {
|
|
|
1548
1550
|
// tslint:disable-next-line:no-empty-interface
|
|
1549
1551
|
interface GoogleCloudContactcenterinsightsV1ExportInsightsDataResponse {
|
|
1550
1552
|
}
|
|
1551
|
-
// tslint:disable-next-line:no-empty-interface
|
|
1552
|
-
interface GoogleCloudContactcenterinsightsV1ExportIssueModelResponse {
|
|
1553
|
-
}
|
|
1554
1553
|
interface GoogleCloudContactcenterinsightsV1FaqAnswerData {
|
|
1555
1554
|
/** The piece of text from the `source` knowledge base document. */
|
|
1556
1555
|
answer?:
|
|
@@ -1582,9 +1581,6 @@ declare namespace gapi.client {
|
|
|
1582
1581
|
// tslint:disable-next-line:no-empty-interface
|
|
1583
1582
|
interface GoogleCloudContactcenterinsightsV1HoldData {
|
|
1584
1583
|
}
|
|
1585
|
-
// tslint:disable-next-line:no-empty-interface
|
|
1586
|
-
interface GoogleCloudContactcenterinsightsV1ImportIssueModelResponse {
|
|
1587
|
-
}
|
|
1588
1584
|
interface GoogleCloudContactcenterinsightsV1IngestConversationsMetadata {
|
|
1589
1585
|
/** Output only. The time the operation was created. */
|
|
1590
1586
|
createTime?:
|
|
@@ -1972,6 +1968,9 @@ declare namespace gapi.client {
|
|
|
1972
1968
|
/** Default DLP redaction resources to be applied while ingesting conversations. */
|
|
1973
1969
|
redactionConfig?:
|
|
1974
1970
|
GoogleCloudContactcenterinsightsV1RedactionConfig;
|
|
1971
|
+
/** Optional. Default Speech-to-Text resources to be used while ingesting audio files. Optional, CCAI Insights will create a default if not provided. */
|
|
1972
|
+
speechConfig?:
|
|
1973
|
+
GoogleCloudContactcenterinsightsV1SpeechConfig;
|
|
1975
1974
|
/** Output only. The time at which the settings were last updated. */
|
|
1976
1975
|
updateTime?:
|
|
1977
1976
|
string;
|
|
@@ -2018,6 +2017,11 @@ declare namespace gapi.client {
|
|
|
2018
2017
|
reply?:
|
|
2019
2018
|
string;
|
|
2020
2019
|
}
|
|
2020
|
+
interface GoogleCloudContactcenterinsightsV1SpeechConfig {
|
|
2021
|
+
/** The fully-qualified Speech Recognizer resource name. Format: `projects/{project_id}/locations/{location}/recognizer/{recognizer}` */
|
|
2022
|
+
speechRecognizer?:
|
|
2023
|
+
string;
|
|
2024
|
+
}
|
|
2021
2025
|
interface GoogleCloudContactcenterinsightsV1UndeployIssueModelMetadata {
|
|
2022
2026
|
/** Output only. The time the operation was created. */
|
|
2023
2027
|
createTime?:
|
|
@@ -2070,6 +2074,9 @@ declare namespace gapi.client {
|
|
|
2070
2074
|
/** Optional. DLP settings for transcript redaction. Optional, will default to the config specified in Settings. */
|
|
2071
2075
|
redactionConfig?:
|
|
2072
2076
|
GoogleCloudContactcenterinsightsV1RedactionConfig;
|
|
2077
|
+
/** Optional. Default Speech-to-Text configuration. Optional, will default to the config specified in Settings. */
|
|
2078
|
+
speechConfig?:
|
|
2079
|
+
GoogleCloudContactcenterinsightsV1SpeechConfig;
|
|
2073
2080
|
}
|
|
2074
2081
|
interface GoogleCloudContactcenterinsightsV1View {
|
|
2075
2082
|
/** Output only. The time at which this view was created. */
|
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: 20230923
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -73,6 +73,9 @@ gapi.load('client', async () => {
|
|
|
73
73
|
deidentifyTemplate: "Test string",
|
|
74
74
|
inspectTemplate: "Test string",
|
|
75
75
|
},
|
|
76
|
+
speechConfig: {
|
|
77
|
+
speechRecognizer: "Test string",
|
|
78
|
+
},
|
|
76
79
|
updateTime: "Test string",
|
|
77
80
|
});
|
|
78
81
|
/** Analyzes multiple conversations in a single request. */
|
|
@@ -975,6 +978,9 @@ gapi.load('client', async () => {
|
|
|
975
978
|
deidentifyTemplate: "Test string",
|
|
976
979
|
inspectTemplate: "Test string",
|
|
977
980
|
},
|
|
981
|
+
speechConfig: {
|
|
982
|
+
speechRecognizer: "Test string",
|
|
983
|
+
},
|
|
978
984
|
});
|
|
979
985
|
/** Creates an analysis. The long running operation is done when the analysis has completed. */
|
|
980
986
|
await gapi.client.contactcenterinsights.projects.locations.conversations.analyses.create({
|