@wildix/wda-stream-client 1.1.62 → 1.1.64
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 +3 -1
- package/dist-es/protocols/Aws_restJson1.js +3 -1
- package/dist-types/commands/ConsumeEventCommand.d.ts +2 -1
- package/dist-types/commands/DescribeEventCommand.d.ts +3 -0
- package/dist-types/commands/GetOngoingCallTranscriptionCommand.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +7 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- 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,6 +986,7 @@ 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,
|
|
989
|
+
'shouldComputeSentiment': smithy_client_1.expectBoolean,
|
|
988
990
|
'speaker': smithy_client_1.expectString,
|
|
989
991
|
'start': smithy_client_1.expectLong,
|
|
990
992
|
'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,6 +953,7 @@ const de_CallTranscriptionChunk = (output, context) => {
|
|
|
952
953
|
'isFinal': __expectBoolean,
|
|
953
954
|
'language': __expectString,
|
|
954
955
|
'sentiment': __expectString,
|
|
956
|
+
'shouldComputeSentiment': __expectBoolean,
|
|
955
957
|
'speaker': __expectString,
|
|
956
958
|
'start': __expectLong,
|
|
957
959
|
'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,6 +390,7 @@ 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,
|
|
393
394
|
* // },
|
|
394
395
|
* // participant: {
|
|
395
396
|
* // type: "REMOTE" || "LOCAL", // required
|
|
@@ -625,6 +626,7 @@ declare const DescribeEventCommand_base: {
|
|
|
625
626
|
* // end: Number("long"), // required
|
|
626
627
|
* // confidence: Number("double"),
|
|
627
628
|
* // sentiment: "POSITIVE" || "NEGATIVE" || "MIXED" || "NEUTRAL",
|
|
629
|
+
* // shouldComputeSentiment: true || false,
|
|
628
630
|
* // },
|
|
629
631
|
* // },
|
|
630
632
|
* // },
|
|
@@ -655,6 +657,7 @@ declare const DescribeEventCommand_base: {
|
|
|
655
657
|
* // end: Number("long"), // required
|
|
656
658
|
* // confidence: Number("double"),
|
|
657
659
|
* // sentiment: "POSITIVE" || "NEGATIVE" || "MIXED" || "NEUTRAL",
|
|
660
|
+
* // shouldComputeSentiment: true || false,
|
|
658
661
|
* // },
|
|
659
662
|
* // },
|
|
660
663
|
* // },
|
|
@@ -242,6 +242,7 @@ 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,
|
|
245
246
|
* // },
|
|
246
247
|
* // participant: {
|
|
247
248
|
* // type: "REMOTE" || "LOCAL", // required
|
|
@@ -696,6 +696,11 @@ 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;
|
|
699
704
|
}
|
|
700
705
|
/**
|
|
701
706
|
* @public
|
|
@@ -2619,7 +2624,8 @@ export interface ChatAnalyticsTranscriptionRecordEvent {
|
|
|
2619
2624
|
* @public
|
|
2620
2625
|
*/
|
|
2621
2626
|
export interface ChatAnnotateConsumeEventData {
|
|
2622
|
-
|
|
2627
|
+
channelId: string;
|
|
2628
|
+
channelType: ChannelType;
|
|
2623
2629
|
annotation: Annotation;
|
|
2624
2630
|
}
|
|
2625
2631
|
/**
|
|
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: WdaStreamClientConfig) => {
|
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
10
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
11
11
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
12
|
-
requestHandler: import("@smithy/
|
|
12
|
+
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
13
13
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
14
14
|
sha256: import("@smithy/types").HashConstructor;
|
|
15
15
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: WdaStreamClientConfig) => {
|
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
10
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
11
11
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
12
|
-
requestHandler: RequestHandler | import("@smithy/
|
|
12
|
+
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
13
13
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
14
14
|
sha256: import("@smithy/types").HashConstructor;
|
|
15
15
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: WdaStreamClientConfig) => {
|
|
|
7
7
|
sha256: import("@smithy/types").HashConstructor;
|
|
8
8
|
env?: "stage" | "stable" | "prod" | undefined;
|
|
9
9
|
token: import("@wildix/smithy-utils").TokenProvider;
|
|
10
|
-
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/
|
|
10
|
+
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/core/protocols").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
11
11
|
cacheMiddleware?: boolean | undefined;
|
|
12
12
|
protocol?: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | undefined;
|
|
13
13
|
protocolSettings?: {
|
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.64",
|
|
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",
|