@aws-sdk/client-connectparticipant 3.428.0 → 3.429.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.
@@ -128,7 +128,7 @@ export interface CreateParticipantConnectionRequest {
128
128
  * participant as connected, pass <code>CONNECTION_CREDENTIALS</code> in
129
129
  * <code>Type</code>.</p>
130
130
  */
131
- Type?: (ConnectionType | string)[];
131
+ Type?: ConnectionType[];
132
132
  /**
133
133
  * @public
134
134
  * <p>This is a header parameter.</p>
@@ -308,7 +308,7 @@ export declare class ResourceNotFoundException extends __BaseException {
308
308
  * @public
309
309
  * <p>The type of Amazon Connect resource.</p>
310
310
  */
311
- ResourceType?: ResourceType | string;
311
+ ResourceType?: ResourceType;
312
312
  /**
313
313
  * @internal
314
314
  */
@@ -441,12 +441,12 @@ export interface GetTranscriptRequest {
441
441
  * <p>The direction from StartPosition from which to retrieve message. Default: BACKWARD
442
442
  * when no StartPosition is provided, FORWARD with StartPosition. </p>
443
443
  */
444
- ScanDirection?: ScanDirection | string;
444
+ ScanDirection?: ScanDirection;
445
445
  /**
446
446
  * @public
447
447
  * <p>The sort order for the records. Default: DESCENDING.</p>
448
448
  */
449
- SortOrder?: SortKey | string;
449
+ SortOrder?: SortKey;
450
450
  /**
451
451
  * @public
452
452
  * <p>A filtering option for where to start.</p>
@@ -496,7 +496,7 @@ export interface AttachmentItem {
496
496
  * @public
497
497
  * <p>Status of the attachment.</p>
498
498
  */
499
- Status?: ArtifactStatus | string;
499
+ Status?: ArtifactStatus;
500
500
  }
501
501
  /**
502
502
  * @public
@@ -602,7 +602,7 @@ export interface Item {
602
602
  * @public
603
603
  * <p>Type of the item: message or event. </p>
604
604
  */
605
- Type?: ChatItemType | string;
605
+ Type?: ChatItemType;
606
606
  /**
607
607
  * @public
608
608
  * <p>The ID of the sender in the session.</p>
@@ -617,7 +617,7 @@ export interface Item {
617
617
  * @public
618
618
  * <p>The role of the sender. For example, is it a customer, agent, or system.</p>
619
619
  */
620
- ParticipantRole?: ParticipantRole | string;
620
+ ParticipantRole?: ParticipantRole;
621
621
  /**
622
622
  * @public
623
623
  * <p>Provides information about the attachments.</p>
@@ -59,7 +59,7 @@ export declare const ConnectionType: {
59
59
  export type ConnectionType =
60
60
  (typeof ConnectionType)[keyof typeof ConnectionType];
61
61
  export interface CreateParticipantConnectionRequest {
62
- Type?: (ConnectionType | string)[];
62
+ Type?: ConnectionType[];
63
63
  ParticipantToken: string | undefined;
64
64
  ConnectParticipant?: boolean;
65
65
  }
@@ -109,7 +109,7 @@ export declare class ResourceNotFoundException extends __BaseException {
109
109
  readonly $fault: "client";
110
110
  Message?: string;
111
111
  ResourceId?: string;
112
- ResourceType?: ResourceType | string;
112
+ ResourceType?: ResourceType;
113
113
  constructor(
114
114
  opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
115
115
  );
@@ -146,8 +146,8 @@ export interface GetTranscriptRequest {
146
146
  ContactId?: string;
147
147
  MaxResults?: number;
148
148
  NextToken?: string;
149
- ScanDirection?: ScanDirection | string;
150
- SortOrder?: SortKey | string;
149
+ ScanDirection?: ScanDirection;
150
+ SortOrder?: SortKey;
151
151
  StartPosition?: StartPosition;
152
152
  ConnectionToken: string | undefined;
153
153
  }
@@ -162,7 +162,7 @@ export interface AttachmentItem {
162
162
  ContentType?: string;
163
163
  AttachmentId?: string;
164
164
  AttachmentName?: string;
165
- Status?: ArtifactStatus | string;
165
+ Status?: ArtifactStatus;
166
166
  }
167
167
  export interface Receipt {
168
168
  DeliveredTimestamp?: string;
@@ -201,10 +201,10 @@ export interface Item {
201
201
  Content?: string;
202
202
  ContentType?: string;
203
203
  Id?: string;
204
- Type?: ChatItemType | string;
204
+ Type?: ChatItemType;
205
205
  ParticipantId?: string;
206
206
  DisplayName?: string;
207
- ParticipantRole?: ParticipantRole | string;
207
+ ParticipantRole?: ParticipantRole;
208
208
  Attachments?: AttachmentItem[];
209
209
  MessageMetadata?: MessageMetadata;
210
210
  RelatedContactId?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-connectparticipant",
3
3
  "description": "AWS SDK for JavaScript Connectparticipant Client for Node.js, Browser and React Native",
4
- "version": "3.428.0",
4
+ "version": "3.429.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,9 +21,9 @@
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.428.0",
25
- "@aws-sdk/credential-provider-node": "3.428.0",
26
- "@aws-sdk/middleware-host-header": "3.428.0",
24
+ "@aws-sdk/client-sts": "3.429.0",
25
+ "@aws-sdk/credential-provider-node": "3.429.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
27
  "@aws-sdk/middleware-logger": "3.428.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
29
  "@aws-sdk/middleware-signing": "3.428.0",
@@ -38,7 +38,7 @@
38
38
  "@smithy/hash-node": "^2.0.11",
39
39
  "@smithy/invalid-dependency": "^2.0.11",
40
40
  "@smithy/middleware-content-length": "^2.0.13",
41
- "@smithy/middleware-endpoint": "^2.1.0",
41
+ "@smithy/middleware-endpoint": "^2.1.1",
42
42
  "@smithy/middleware-retry": "^2.0.16",
43
43
  "@smithy/middleware-serde": "^2.0.11",
44
44
  "@smithy/middleware-stack": "^2.0.5",