@aws-sdk/client-connect-contact-lens 3.301.0 → 3.303.0

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.
@@ -44,12 +44,11 @@ class InvalidRequestException extends ConnectContactLensServiceException_1.Conne
44
44
  }
45
45
  }
46
46
  exports.InvalidRequestException = InvalidRequestException;
47
- var SentimentValue;
48
- (function (SentimentValue) {
49
- SentimentValue["NEGATIVE"] = "NEGATIVE";
50
- SentimentValue["NEUTRAL"] = "NEUTRAL";
51
- SentimentValue["POSITIVE"] = "POSITIVE";
52
- })(SentimentValue = exports.SentimentValue || (exports.SentimentValue = {}));
47
+ exports.SentimentValue = {
48
+ NEGATIVE: "NEGATIVE",
49
+ NEUTRAL: "NEUTRAL",
50
+ POSITIVE: "POSITIVE",
51
+ };
53
52
  class ResourceNotFoundException extends ConnectContactLensServiceException_1.ConnectContactLensServiceException {
54
53
  constructor(opts) {
55
54
  super({
@@ -38,12 +38,11 @@ export class InvalidRequestException extends __BaseException {
38
38
  this.Message = opts.Message;
39
39
  }
40
40
  }
41
- export var SentimentValue;
42
- (function (SentimentValue) {
43
- SentimentValue["NEGATIVE"] = "NEGATIVE";
44
- SentimentValue["NEUTRAL"] = "NEUTRAL";
45
- SentimentValue["POSITIVE"] = "POSITIVE";
46
- })(SentimentValue || (SentimentValue = {}));
41
+ export const SentimentValue = {
42
+ NEGATIVE: "NEGATIVE",
43
+ NEUTRAL: "NEUTRAL",
44
+ POSITIVE: "POSITIVE",
45
+ };
47
46
  export class ResourceNotFoundException extends __BaseException {
48
47
  constructor(opts) {
49
48
  super({
@@ -127,12 +127,17 @@ export interface IssueDetected {
127
127
  }
128
128
  /**
129
129
  * @public
130
+ * @enum
130
131
  */
131
- export declare enum SentimentValue {
132
- NEGATIVE = "NEGATIVE",
133
- NEUTRAL = "NEUTRAL",
134
- POSITIVE = "POSITIVE"
135
- }
132
+ export declare const SentimentValue: {
133
+ readonly NEGATIVE: "NEGATIVE";
134
+ readonly NEUTRAL: "NEUTRAL";
135
+ readonly POSITIVE: "POSITIVE";
136
+ };
137
+ /**
138
+ * @public
139
+ */
140
+ export type SentimentValue = (typeof SentimentValue)[keyof typeof SentimentValue];
136
141
  /**
137
142
  * @public
138
143
  * <p>A list of messages in the session.</p>
@@ -48,11 +48,13 @@ export interface CharacterOffsets {
48
48
  export interface IssueDetected {
49
49
  CharacterOffsets: CharacterOffsets | undefined;
50
50
  }
51
- export declare enum SentimentValue {
52
- NEGATIVE = "NEGATIVE",
53
- NEUTRAL = "NEUTRAL",
54
- POSITIVE = "POSITIVE",
55
- }
51
+ export declare const SentimentValue: {
52
+ readonly NEGATIVE: "NEGATIVE";
53
+ readonly NEUTRAL: "NEUTRAL";
54
+ readonly POSITIVE: "POSITIVE";
55
+ };
56
+ export type SentimentValue =
57
+ (typeof SentimentValue)[keyof typeof SentimentValue];
56
58
  export interface Transcript {
57
59
  Id: string | undefined;
58
60
  ParticipantId: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-connect-contact-lens",
3
3
  "description": "AWS SDK for JavaScript Connect Contact Lens Client for Node.js, Browser and React Native",
4
- "version": "3.301.0",
4
+ "version": "3.303.0",
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",
@@ -21,42 +21,42 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.301.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.301.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.303.0",
25
+ "@aws-sdk/config-resolver": "3.303.0",
26
+ "@aws-sdk/credential-provider-node": "3.303.0",
27
+ "@aws-sdk/fetch-http-handler": "3.303.0",
28
+ "@aws-sdk/hash-node": "3.303.0",
29
+ "@aws-sdk/invalid-dependency": "3.303.0",
30
+ "@aws-sdk/middleware-content-length": "3.303.0",
31
+ "@aws-sdk/middleware-endpoint": "3.303.0",
32
+ "@aws-sdk/middleware-host-header": "3.303.0",
33
+ "@aws-sdk/middleware-logger": "3.303.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.303.0",
35
+ "@aws-sdk/middleware-retry": "3.303.0",
36
+ "@aws-sdk/middleware-serde": "3.303.0",
37
+ "@aws-sdk/middleware-signing": "3.303.0",
38
+ "@aws-sdk/middleware-stack": "3.303.0",
39
+ "@aws-sdk/middleware-user-agent": "3.303.0",
40
+ "@aws-sdk/node-config-provider": "3.303.0",
41
+ "@aws-sdk/node-http-handler": "3.303.0",
42
+ "@aws-sdk/protocol-http": "3.303.0",
43
+ "@aws-sdk/smithy-client": "3.303.0",
44
+ "@aws-sdk/types": "3.303.0",
45
+ "@aws-sdk/url-parser": "3.303.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.303.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.303.0",
51
+ "@aws-sdk/util-endpoints": "3.303.0",
52
+ "@aws-sdk/util-retry": "3.303.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.303.0",
54
+ "@aws-sdk/util-user-agent-node": "3.303.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
56
  "tslib": "^2.5.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
59
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
60
60
  "@tsconfig/node14": "1.0.3",
61
61
  "@types/node": "^14.14.31",
62
62
  "concurrently": "7.0.0",