@wildix/wda-stream-client 1.1.63 → 1.1.65
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/dist-cjs/protocols/Aws_restJson1.js +2 -2
- package/dist-es/protocols/Aws_restJson1.js +2 -2
- package/dist-types/commands/ConsumeEventCommand.d.ts +2 -1
- package/dist-types/commands/DescribeEventCommand.d.ts +0 -3
- package/dist-types/commands/GetOngoingCallTranscriptionCommand.d.ts +0 -1
- package/dist-types/models/models_0.d.ts +2 -6
- package/package.json +1 -1
|
@@ -717,7 +717,8 @@ const se_ChatAnnotateConsumeEvent = (input, context) => {
|
|
|
717
717
|
const se_ChatAnnotateConsumeEventData = (input, context) => {
|
|
718
718
|
return (0, smithy_client_1.take)(input, {
|
|
719
719
|
'annotation': _ => se_Annotation(_, context),
|
|
720
|
-
'
|
|
720
|
+
'channelId': [],
|
|
721
|
+
'channelType': [],
|
|
721
722
|
});
|
|
722
723
|
};
|
|
723
724
|
const se_ConferenceAnnotateConsumeEvent = (input, context) => {
|
|
@@ -985,7 +986,6 @@ const de_CallTranscriptionChunk = (output, context) => {
|
|
|
985
986
|
'isFinal': smithy_client_1.expectBoolean,
|
|
986
987
|
'language': smithy_client_1.expectString,
|
|
987
988
|
'sentiment': smithy_client_1.expectString,
|
|
988
|
-
'shouldComputeSentiment': smithy_client_1.expectBoolean,
|
|
989
989
|
'speaker': smithy_client_1.expectString,
|
|
990
990
|
'start': smithy_client_1.expectLong,
|
|
991
991
|
'text': smithy_client_1.expectString,
|
|
@@ -684,7 +684,8 @@ const se_ChatAnnotateConsumeEvent = (input, context) => {
|
|
|
684
684
|
const se_ChatAnnotateConsumeEventData = (input, context) => {
|
|
685
685
|
return take(input, {
|
|
686
686
|
'annotation': _ => se_Annotation(_, context),
|
|
687
|
-
'
|
|
687
|
+
'channelId': [],
|
|
688
|
+
'channelType': [],
|
|
688
689
|
});
|
|
689
690
|
};
|
|
690
691
|
const se_ConferenceAnnotateConsumeEvent = (input, context) => {
|
|
@@ -952,7 +953,6 @@ const de_CallTranscriptionChunk = (output, context) => {
|
|
|
952
953
|
'isFinal': __expectBoolean,
|
|
953
954
|
'language': __expectString,
|
|
954
955
|
'sentiment': __expectString,
|
|
955
|
-
'shouldComputeSentiment': __expectBoolean,
|
|
956
956
|
'speaker': __expectString,
|
|
957
957
|
'start': __expectLong,
|
|
958
958
|
'text': __expectString,
|
|
@@ -864,7 +864,8 @@ declare const ConsumeEventCommand_base: {
|
|
|
864
864
|
* company: "STRING_VALUE", // required
|
|
865
865
|
* time: Number("long"), // required
|
|
866
866
|
* data: { // ChatAnnotateConsumeEventData
|
|
867
|
-
*
|
|
867
|
+
* channelId: "STRING_VALUE", // required
|
|
868
|
+
* channelType: "direct" || "group", // required
|
|
868
869
|
* annotation: {
|
|
869
870
|
* id: "STRING_VALUE", // required
|
|
870
871
|
* time: Number("long"), // required
|
|
@@ -390,7 +390,6 @@ declare const DescribeEventCommand_base: {
|
|
|
390
390
|
* // end: Number("long"), // required
|
|
391
391
|
* // confidence: Number("double"),
|
|
392
392
|
* // sentiment: "POSITIVE" || "NEGATIVE" || "MIXED" || "NEUTRAL",
|
|
393
|
-
* // shouldComputeSentiment: true || false,
|
|
394
393
|
* // },
|
|
395
394
|
* // participant: {
|
|
396
395
|
* // type: "REMOTE" || "LOCAL", // required
|
|
@@ -626,7 +625,6 @@ declare const DescribeEventCommand_base: {
|
|
|
626
625
|
* // end: Number("long"), // required
|
|
627
626
|
* // confidence: Number("double"),
|
|
628
627
|
* // sentiment: "POSITIVE" || "NEGATIVE" || "MIXED" || "NEUTRAL",
|
|
629
|
-
* // shouldComputeSentiment: true || false,
|
|
630
628
|
* // },
|
|
631
629
|
* // },
|
|
632
630
|
* // },
|
|
@@ -657,7 +655,6 @@ declare const DescribeEventCommand_base: {
|
|
|
657
655
|
* // end: Number("long"), // required
|
|
658
656
|
* // confidence: Number("double"),
|
|
659
657
|
* // sentiment: "POSITIVE" || "NEGATIVE" || "MIXED" || "NEUTRAL",
|
|
660
|
-
* // shouldComputeSentiment: true || false,
|
|
661
658
|
* // },
|
|
662
659
|
* // },
|
|
663
660
|
* // },
|
|
@@ -242,7 +242,6 @@ declare const GetOngoingCallTranscriptionCommand_base: {
|
|
|
242
242
|
* // end: Number("long"), // required
|
|
243
243
|
* // confidence: Number("double"),
|
|
244
244
|
* // sentiment: "POSITIVE" || "NEGATIVE" || "MIXED" || "NEUTRAL",
|
|
245
|
-
* // shouldComputeSentiment: true || false,
|
|
246
245
|
* // },
|
|
247
246
|
* // participant: {
|
|
248
247
|
* // type: "REMOTE" || "LOCAL", // required
|
|
@@ -696,11 +696,6 @@ export interface CallTranscriptionChunk {
|
|
|
696
696
|
* @public
|
|
697
697
|
*/
|
|
698
698
|
sentiment?: TranscriptionSentiment | undefined;
|
|
699
|
-
/**
|
|
700
|
-
* Tristate gate populated upstream from caller/callee user-level licenses. `true` = at least one participant is on a whitelisted tier (currently `business` or `premium`). `false` = both participants are known and neither is whitelisted. Absent or null means upstream had no license info — downstream should fall through and compute sentiment (fail-open) to preserve the pre-feature behaviour.
|
|
701
|
-
* @public
|
|
702
|
-
*/
|
|
703
|
-
shouldComputeSentiment?: boolean | undefined;
|
|
704
699
|
}
|
|
705
700
|
/**
|
|
706
701
|
* @public
|
|
@@ -2624,7 +2619,8 @@ export interface ChatAnalyticsTranscriptionRecordEvent {
|
|
|
2624
2619
|
* @public
|
|
2625
2620
|
*/
|
|
2626
2621
|
export interface ChatAnnotateConsumeEventData {
|
|
2627
|
-
|
|
2622
|
+
channelId: string;
|
|
2623
|
+
channelType: ChannelType;
|
|
2628
2624
|
annotation: Annotation;
|
|
2629
2625
|
}
|
|
2630
2626
|
/**
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/wda-stream-client",
|
|
3
3
|
"description": "@wildix/wda-stream-client client",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.65",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|