@wildix/wda-history-client 1.2.26 → 1.2.27

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.
@@ -844,6 +844,7 @@ const de_CallTranscriptionChunk = (output, context) => {
844
844
  'isFinal': smithy_client_1.expectBoolean,
845
845
  'language': smithy_client_1.expectString,
846
846
  'sentiment': smithy_client_1.expectString,
847
+ 'shouldComputeSentiment': smithy_client_1.expectBoolean,
847
848
  'speaker': smithy_client_1.expectString,
848
849
  'start': smithy_client_1.expectLong,
849
850
  'text': smithy_client_1.expectString,
@@ -811,6 +811,7 @@ const de_CallTranscriptionChunk = (output, context) => {
811
811
  'isFinal': __expectBoolean,
812
812
  'language': __expectString,
813
813
  'sentiment': __expectString,
814
+ 'shouldComputeSentiment': __expectBoolean,
814
815
  'speaker': __expectString,
815
816
  'start': __expectLong,
816
817
  'text': __expectString,
@@ -66,6 +66,7 @@ declare const GetCallTranscriptionCommand_base: {
66
66
  * // end: Number("long"), // required
67
67
  * // confidence: Number("double"),
68
68
  * // sentiment: "POSITIVE" || "NEGATIVE" || "MIXED" || "NEUTRAL",
69
+ * // shouldComputeSentiment: true || false,
69
70
  * // },
70
71
  * // ],
71
72
  * // },
@@ -765,6 +765,11 @@ export interface CallTranscriptionChunk {
765
765
  * @public
766
766
  */
767
767
  sentiment?: TranscriptionSentiment | undefined;
768
+ /**
769
+ * 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.
770
+ * @public
771
+ */
772
+ shouldComputeSentiment?: boolean | undefined;
768
773
  }
769
774
  /**
770
775
  * @public
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wildix/wda-history-client",
3
3
  "description": "@wildix/wda-history-client client",
4
- "version": "1.2.26",
4
+ "version": "1.2.27",
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",