@aws-sdk/client-connectparticipant 3.489.0 → 3.491.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.
@@ -98,6 +98,7 @@ exports.ResourceType = {
98
98
  HIERARCHY_LEVEL: "HIERARCHY_LEVEL",
99
99
  INSTANCE: "INSTANCE",
100
100
  PARTICIPANT: "PARTICIPANT",
101
+ PHONE_NUMBER: "PHONE_NUMBER",
101
102
  USER: "USER",
102
103
  };
103
104
  class ResourceNotFoundException extends ConnectParticipantServiceException_1.ConnectParticipantServiceException {
@@ -133,6 +134,7 @@ exports.ParticipantRole = {
133
134
  AGENT: "AGENT",
134
135
  CUSTOMER: "CUSTOMER",
135
136
  CUSTOM_BOT: "CUSTOM_BOT",
137
+ SUPERVISOR: "SUPERVISOR",
136
138
  SYSTEM: "SYSTEM",
137
139
  };
138
140
  exports.ChatItemType = {
@@ -441,6 +441,9 @@ const de_SendEventCommandError = async (output, context) => {
441
441
  case "AccessDeniedException":
442
442
  case "com.amazonaws.connectparticipant#AccessDeniedException":
443
443
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
444
+ case "ConflictException":
445
+ case "com.amazonaws.connectparticipant#ConflictException":
446
+ throw await de_ConflictExceptionRes(parsedOutput, context);
444
447
  case "InternalServerException":
445
448
  case "com.amazonaws.connectparticipant#InternalServerException":
446
449
  throw await de_InternalServerExceptionRes(parsedOutput, context);
@@ -89,6 +89,7 @@ export const ResourceType = {
89
89
  HIERARCHY_LEVEL: "HIERARCHY_LEVEL",
90
90
  INSTANCE: "INSTANCE",
91
91
  PARTICIPANT: "PARTICIPANT",
92
+ PHONE_NUMBER: "PHONE_NUMBER",
92
93
  USER: "USER",
93
94
  };
94
95
  export class ResourceNotFoundException extends __BaseException {
@@ -123,6 +124,7 @@ export const ParticipantRole = {
123
124
  AGENT: "AGENT",
124
125
  CUSTOMER: "CUSTOMER",
125
126
  CUSTOM_BOT: "CUSTOM_BOT",
127
+ SUPERVISOR: "SUPERVISOR",
126
128
  SYSTEM: "SYSTEM",
127
129
  };
128
130
  export const ChatItemType = {
@@ -422,6 +422,9 @@ const de_SendEventCommandError = async (output, context) => {
422
422
  case "AccessDeniedException":
423
423
  case "com.amazonaws.connectparticipant#AccessDeniedException":
424
424
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
425
+ case "ConflictException":
426
+ case "com.amazonaws.connectparticipant#ConflictException":
427
+ throw await de_ConflictExceptionRes(parsedOutput, context);
425
428
  case "InternalServerException":
426
429
  case "com.amazonaws.connectparticipant#InternalServerException":
427
430
  throw await de_InternalServerExceptionRes(parsedOutput, context);
@@ -68,7 +68,7 @@ declare const GetTranscriptCommand_base: {
68
68
  * // Type: "TYPING" || "PARTICIPANT_JOINED" || "PARTICIPANT_LEFT" || "CHAT_ENDED" || "TRANSFER_SUCCEEDED" || "TRANSFER_FAILED" || "MESSAGE" || "EVENT" || "ATTACHMENT" || "CONNECTION_ACK" || "MESSAGE_DELIVERED" || "MESSAGE_READ",
69
69
  * // ParticipantId: "STRING_VALUE",
70
70
  * // DisplayName: "STRING_VALUE",
71
- * // ParticipantRole: "AGENT" || "CUSTOMER" || "SYSTEM" || "CUSTOM_BOT",
71
+ * // ParticipantRole: "AGENT" || "CUSTOMER" || "SYSTEM" || "CUSTOM_BOT" || "SUPERVISOR",
72
72
  * // Attachments: [ // Attachments
73
73
  * // { // AttachmentItem
74
74
  * // ContentType: "STRING_VALUE",
@@ -64,6 +64,9 @@ declare const SendEventCommand_base: {
64
64
  * @throws {@link AccessDeniedException} (client fault)
65
65
  * <p>You do not have sufficient access to perform this action.</p>
66
66
  *
67
+ * @throws {@link ConflictException} (client fault)
68
+ * <p>An attachment with that identifier is already being uploaded.</p>
69
+ *
67
70
  * @throws {@link InternalServerException} (server fault)
68
71
  * <p>This exception occurs when there is an internal failure in the Amazon Connect service.</p>
69
72
  *
@@ -285,6 +285,7 @@ export declare const ResourceType: {
285
285
  readonly HIERARCHY_LEVEL: "HIERARCHY_LEVEL";
286
286
  readonly INSTANCE: "INSTANCE";
287
287
  readonly PARTICIPANT: "PARTICIPANT";
288
+ readonly PHONE_NUMBER: "PHONE_NUMBER";
288
289
  readonly USER: "USER";
289
290
  };
290
291
  /**
@@ -543,6 +544,7 @@ export declare const ParticipantRole: {
543
544
  readonly AGENT: "AGENT";
544
545
  readonly CUSTOMER: "CUSTOMER";
545
546
  readonly CUSTOM_BOT: "CUSTOM_BOT";
547
+ readonly SUPERVISOR: "SUPERVISOR";
546
548
  readonly SYSTEM: "SYSTEM";
547
549
  };
548
550
  /**
@@ -101,6 +101,7 @@ export declare const ResourceType: {
101
101
  readonly HIERARCHY_LEVEL: "HIERARCHY_LEVEL";
102
102
  readonly INSTANCE: "INSTANCE";
103
103
  readonly PARTICIPANT: "PARTICIPANT";
104
+ readonly PHONE_NUMBER: "PHONE_NUMBER";
104
105
  readonly USER: "USER";
105
106
  };
106
107
  export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
@@ -177,6 +178,7 @@ export declare const ParticipantRole: {
177
178
  readonly AGENT: "AGENT";
178
179
  readonly CUSTOMER: "CUSTOMER";
179
180
  readonly CUSTOM_BOT: "CUSTOM_BOT";
181
+ readonly SUPERVISOR: "SUPERVISOR";
180
182
  readonly SYSTEM: "SYSTEM";
181
183
  };
182
184
  export type ParticipantRole =
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.489.0",
4
+ "version": "3.491.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",
@@ -20,9 +20,9 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.489.0",
24
- "@aws-sdk/core": "3.485.0",
25
- "@aws-sdk/credential-provider-node": "3.489.0",
23
+ "@aws-sdk/client-sts": "3.490.0",
24
+ "@aws-sdk/core": "3.490.0",
25
+ "@aws-sdk/credential-provider-node": "3.490.0",
26
26
  "@aws-sdk/middleware-host-header": "3.489.0",
27
27
  "@aws-sdk/middleware-logger": "3.489.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.489.0",