@aws-sdk/client-connectparticipant 3.940.0 → 3.943.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.
- package/dist-cjs/index.js +18 -2
- package/dist-es/models/enums.js +5 -0
- package/dist-es/schemas/schemas_0.js +12 -2
- package/dist-types/commands/GetTranscriptCommand.d.ts +1 -0
- package/dist-types/commands/SendMessageCommand.d.ts +3 -0
- package/dist-types/models/enums.d.ts +13 -0
- package/dist-types/models/models_0.d.ts +22 -1
- package/dist-types/schemas/schemas_0.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +7 -0
- package/dist-types/ts3.4/models/models_0.d.ts +6 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
- package/package.json +5 -5
package/dist-cjs/index.js
CHANGED
|
@@ -290,6 +290,8 @@ const _MI = "MessageId";
|
|
|
290
290
|
const _MIe = "MeetingId";
|
|
291
291
|
const _MM = "MessageMetadata";
|
|
292
292
|
const _MP = "MediaPlacement";
|
|
293
|
+
const _MPM = "MessageProcessingMetadata";
|
|
294
|
+
const _MPS = "MessageProcessingStatus";
|
|
293
295
|
const _MR = "MaxResults";
|
|
294
296
|
const _MRo = "MostRecent";
|
|
295
297
|
const _Me = "Meeting";
|
|
@@ -560,7 +562,8 @@ var Item = [
|
|
|
560
562
|
[0, 0, 0, 0, 0, 0, 0, 0, () => Attachments, () => MessageMetadata, 0, 0],
|
|
561
563
|
];
|
|
562
564
|
var MeetingFeaturesConfiguration = [3, n0, _MFC, 0, [_Au], [() => AudioFeatures]];
|
|
563
|
-
var MessageMetadata = [3, n0, _MM, 0, [_MI, _R], [0, () => Receipts]];
|
|
565
|
+
var MessageMetadata = [3, n0, _MM, 0, [_MI, _R, _MPS], [0, () => Receipts, 0]];
|
|
566
|
+
var MessageProcessingMetadata = [3, n0, _MPM, 0, [_MPS], [0]];
|
|
564
567
|
var Receipt = [3, n0, _Re, 0, [_DT, _RT, _RPI], [0, 0, 0]];
|
|
565
568
|
var ResourceNotFoundException = [
|
|
566
569
|
-3,
|
|
@@ -611,7 +614,14 @@ var SendMessageRequest = [
|
|
|
611
614
|
],
|
|
612
615
|
],
|
|
613
616
|
];
|
|
614
|
-
var SendMessageResponse = [
|
|
617
|
+
var SendMessageResponse = [
|
|
618
|
+
3,
|
|
619
|
+
n0,
|
|
620
|
+
_SMRe,
|
|
621
|
+
0,
|
|
622
|
+
[_Id, _AT, _MM],
|
|
623
|
+
[0, 0, () => MessageProcessingMetadata],
|
|
624
|
+
];
|
|
615
625
|
var ServiceQuotaExceededException = [
|
|
616
626
|
-3,
|
|
617
627
|
n0,
|
|
@@ -1022,6 +1032,11 @@ const ArtifactStatus = {
|
|
|
1022
1032
|
IN_PROGRESS: "IN_PROGRESS",
|
|
1023
1033
|
REJECTED: "REJECTED",
|
|
1024
1034
|
};
|
|
1035
|
+
const MessageProcessingStatus = {
|
|
1036
|
+
FAILED: "FAILED",
|
|
1037
|
+
PROCESSING: "PROCESSING",
|
|
1038
|
+
REJECTED: "REJECTED",
|
|
1039
|
+
};
|
|
1025
1040
|
const ParticipantRole = {
|
|
1026
1041
|
AGENT: "AGENT",
|
|
1027
1042
|
CUSTOMER: "CUSTOMER",
|
|
@@ -1070,6 +1085,7 @@ exports.GetAuthenticationUrlCommand = GetAuthenticationUrlCommand;
|
|
|
1070
1085
|
exports.GetTranscriptCommand = GetTranscriptCommand;
|
|
1071
1086
|
exports.InternalServerException = InternalServerException$1;
|
|
1072
1087
|
exports.MeetingFeatureStatus = MeetingFeatureStatus;
|
|
1088
|
+
exports.MessageProcessingStatus = MessageProcessingStatus;
|
|
1073
1089
|
exports.ParticipantRole = ParticipantRole;
|
|
1074
1090
|
exports.ResourceNotFoundException = ResourceNotFoundException$1;
|
|
1075
1091
|
exports.ResourceType = ResourceType;
|
package/dist-es/models/enums.js
CHANGED
|
@@ -30,6 +30,11 @@ export const ArtifactStatus = {
|
|
|
30
30
|
IN_PROGRESS: "IN_PROGRESS",
|
|
31
31
|
REJECTED: "REJECTED",
|
|
32
32
|
};
|
|
33
|
+
export const MessageProcessingStatus = {
|
|
34
|
+
FAILED: "FAILED",
|
|
35
|
+
PROCESSING: "PROCESSING",
|
|
36
|
+
REJECTED: "REJECTED",
|
|
37
|
+
};
|
|
33
38
|
export const ParticipantRole = {
|
|
34
39
|
AGENT: "AGENT",
|
|
35
40
|
CUSTOMER: "CUSTOMER",
|
|
@@ -67,6 +67,8 @@ const _MI = "MessageId";
|
|
|
67
67
|
const _MIe = "MeetingId";
|
|
68
68
|
const _MM = "MessageMetadata";
|
|
69
69
|
const _MP = "MediaPlacement";
|
|
70
|
+
const _MPM = "MessageProcessingMetadata";
|
|
71
|
+
const _MPS = "MessageProcessingStatus";
|
|
70
72
|
const _MR = "MaxResults";
|
|
71
73
|
const _MRo = "MostRecent";
|
|
72
74
|
const _Me = "Meeting";
|
|
@@ -340,7 +342,8 @@ export var Item = [
|
|
|
340
342
|
[0, 0, 0, 0, 0, 0, 0, 0, () => Attachments, () => MessageMetadata, 0, 0],
|
|
341
343
|
];
|
|
342
344
|
export var MeetingFeaturesConfiguration = [3, n0, _MFC, 0, [_Au], [() => AudioFeatures]];
|
|
343
|
-
export var MessageMetadata = [3, n0, _MM, 0, [_MI, _R], [0, () => Receipts]];
|
|
345
|
+
export var MessageMetadata = [3, n0, _MM, 0, [_MI, _R, _MPS], [0, () => Receipts, 0]];
|
|
346
|
+
export var MessageProcessingMetadata = [3, n0, _MPM, 0, [_MPS], [0]];
|
|
344
347
|
export var Receipt = [3, n0, _Re, 0, [_DT, _RT, _RPI], [0, 0, 0]];
|
|
345
348
|
export var ResourceNotFoundException = [
|
|
346
349
|
-3,
|
|
@@ -391,7 +394,14 @@ export var SendMessageRequest = [
|
|
|
391
394
|
],
|
|
392
395
|
],
|
|
393
396
|
];
|
|
394
|
-
export var SendMessageResponse = [
|
|
397
|
+
export var SendMessageResponse = [
|
|
398
|
+
3,
|
|
399
|
+
n0,
|
|
400
|
+
_SMRe,
|
|
401
|
+
0,
|
|
402
|
+
[_Id, _AT, _MM],
|
|
403
|
+
[0, 0, () => MessageProcessingMetadata],
|
|
404
|
+
];
|
|
395
405
|
export var ServiceQuotaExceededException = [
|
|
396
406
|
-3,
|
|
397
407
|
n0,
|
|
@@ -125,6 +125,7 @@ declare const GetTranscriptCommand_base: {
|
|
|
125
125
|
* // RecipientParticipantId: "STRING_VALUE",
|
|
126
126
|
* // },
|
|
127
127
|
* // ],
|
|
128
|
+
* // MessageProcessingStatus: "PROCESSING" || "FAILED" || "REJECTED",
|
|
128
129
|
* // },
|
|
129
130
|
* // RelatedContactId: "STRING_VALUE",
|
|
130
131
|
* // ContactId: "STRING_VALUE",
|
|
@@ -55,6 +55,9 @@ declare const SendMessageCommand_base: {
|
|
|
55
55
|
* // { // SendMessageResponse
|
|
56
56
|
* // Id: "STRING_VALUE",
|
|
57
57
|
* // AbsoluteTime: "STRING_VALUE",
|
|
58
|
+
* // MessageMetadata: { // MessageProcessingMetadata
|
|
59
|
+
* // MessageProcessingStatus: "PROCESSING" || "FAILED" || "REJECTED",
|
|
60
|
+
* // },
|
|
58
61
|
* // };
|
|
59
62
|
*
|
|
60
63
|
* ```
|
|
@@ -78,6 +78,19 @@ export declare const ArtifactStatus: {
|
|
|
78
78
|
* @public
|
|
79
79
|
*/
|
|
80
80
|
export type ArtifactStatus = (typeof ArtifactStatus)[keyof typeof ArtifactStatus];
|
|
81
|
+
/**
|
|
82
|
+
* @public
|
|
83
|
+
* @enum
|
|
84
|
+
*/
|
|
85
|
+
export declare const MessageProcessingStatus: {
|
|
86
|
+
readonly FAILED: "FAILED";
|
|
87
|
+
readonly PROCESSING: "PROCESSING";
|
|
88
|
+
readonly REJECTED: "REJECTED";
|
|
89
|
+
};
|
|
90
|
+
/**
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
export type MessageProcessingStatus = (typeof MessageProcessingStatus)[keyof typeof MessageProcessingStatus];
|
|
81
94
|
/**
|
|
82
95
|
* @public
|
|
83
96
|
* @enum
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ArtifactStatus, ChatItemType, ConnectionType, MeetingFeatureStatus, ParticipantRole, ScanDirection, SortKey } from "./enums";
|
|
1
|
+
import { ArtifactStatus, ChatItemType, ConnectionType, MeetingFeatureStatus, MessageProcessingStatus, ParticipantRole, ScanDirection, SortKey } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* @public
|
|
4
4
|
*/
|
|
@@ -544,6 +544,11 @@ export interface MessageMetadata {
|
|
|
544
544
|
* @public
|
|
545
545
|
*/
|
|
546
546
|
Receipts?: Receipt[] | undefined;
|
|
547
|
+
/**
|
|
548
|
+
* <p>The status of Message Processing for the message.</p>
|
|
549
|
+
* @public
|
|
550
|
+
*/
|
|
551
|
+
MessageProcessingStatus?: MessageProcessingStatus | undefined;
|
|
547
552
|
}
|
|
548
553
|
/**
|
|
549
554
|
* <p>An item - message or event - that has been sent. </p>
|
|
@@ -752,6 +757,17 @@ export interface SendMessageRequest {
|
|
|
752
757
|
*/
|
|
753
758
|
ConnectionToken: string | undefined;
|
|
754
759
|
}
|
|
760
|
+
/**
|
|
761
|
+
* <p>Contains metadata for chat messages.</p>
|
|
762
|
+
* @public
|
|
763
|
+
*/
|
|
764
|
+
export interface MessageProcessingMetadata {
|
|
765
|
+
/**
|
|
766
|
+
* <p>The status of Message Processing for the message.</p>
|
|
767
|
+
* @public
|
|
768
|
+
*/
|
|
769
|
+
MessageProcessingStatus?: MessageProcessingStatus | undefined;
|
|
770
|
+
}
|
|
755
771
|
/**
|
|
756
772
|
* @public
|
|
757
773
|
*/
|
|
@@ -768,6 +784,11 @@ export interface SendMessageResponse {
|
|
|
768
784
|
* @public
|
|
769
785
|
*/
|
|
770
786
|
AbsoluteTime?: string | undefined;
|
|
787
|
+
/**
|
|
788
|
+
* <p>Contains metadata for the message.</p>
|
|
789
|
+
* @public
|
|
790
|
+
*/
|
|
791
|
+
MessageMetadata?: MessageProcessingMetadata | undefined;
|
|
771
792
|
}
|
|
772
793
|
/**
|
|
773
794
|
* @public
|
|
@@ -30,6 +30,7 @@ export declare var InternalServerException: StaticErrorSchema;
|
|
|
30
30
|
export declare var Item: StaticStructureSchema;
|
|
31
31
|
export declare var MeetingFeaturesConfiguration: StaticStructureSchema;
|
|
32
32
|
export declare var MessageMetadata: StaticStructureSchema;
|
|
33
|
+
export declare var MessageProcessingMetadata: StaticStructureSchema;
|
|
33
34
|
export declare var Receipt: StaticStructureSchema;
|
|
34
35
|
export declare var ResourceNotFoundException: StaticErrorSchema;
|
|
35
36
|
export declare var SendEventRequest: StaticStructureSchema;
|
|
@@ -39,6 +39,13 @@ export declare const ArtifactStatus: {
|
|
|
39
39
|
};
|
|
40
40
|
export type ArtifactStatus =
|
|
41
41
|
(typeof ArtifactStatus)[keyof typeof ArtifactStatus];
|
|
42
|
+
export declare const MessageProcessingStatus: {
|
|
43
|
+
readonly FAILED: "FAILED";
|
|
44
|
+
readonly PROCESSING: "PROCESSING";
|
|
45
|
+
readonly REJECTED: "REJECTED";
|
|
46
|
+
};
|
|
47
|
+
export type MessageProcessingStatus =
|
|
48
|
+
(typeof MessageProcessingStatus)[keyof typeof MessageProcessingStatus];
|
|
42
49
|
export declare const ParticipantRole: {
|
|
43
50
|
readonly AGENT: "AGENT";
|
|
44
51
|
readonly CUSTOMER: "CUSTOMER";
|
|
@@ -3,6 +3,7 @@ import {
|
|
|
3
3
|
ChatItemType,
|
|
4
4
|
ConnectionType,
|
|
5
5
|
MeetingFeatureStatus,
|
|
6
|
+
MessageProcessingStatus,
|
|
6
7
|
ParticipantRole,
|
|
7
8
|
ScanDirection,
|
|
8
9
|
SortKey,
|
|
@@ -131,6 +132,7 @@ export interface Receipt {
|
|
|
131
132
|
export interface MessageMetadata {
|
|
132
133
|
MessageId?: string | undefined;
|
|
133
134
|
Receipts?: Receipt[] | undefined;
|
|
135
|
+
MessageProcessingStatus?: MessageProcessingStatus | undefined;
|
|
134
136
|
}
|
|
135
137
|
export interface Item {
|
|
136
138
|
AbsoluteTime?: string | undefined;
|
|
@@ -167,9 +169,13 @@ export interface SendMessageRequest {
|
|
|
167
169
|
ClientToken?: string | undefined;
|
|
168
170
|
ConnectionToken: string | undefined;
|
|
169
171
|
}
|
|
172
|
+
export interface MessageProcessingMetadata {
|
|
173
|
+
MessageProcessingStatus?: MessageProcessingStatus | undefined;
|
|
174
|
+
}
|
|
170
175
|
export interface SendMessageResponse {
|
|
171
176
|
Id?: string | undefined;
|
|
172
177
|
AbsoluteTime?: string | undefined;
|
|
178
|
+
MessageMetadata?: MessageProcessingMetadata | undefined;
|
|
173
179
|
}
|
|
174
180
|
export interface StartAttachmentUploadRequest {
|
|
175
181
|
ContentType: string | undefined;
|
|
@@ -36,6 +36,7 @@ export declare var InternalServerException: StaticErrorSchema;
|
|
|
36
36
|
export declare var Item: StaticStructureSchema;
|
|
37
37
|
export declare var MeetingFeaturesConfiguration: StaticStructureSchema;
|
|
38
38
|
export declare var MessageMetadata: StaticStructureSchema;
|
|
39
|
+
export declare var MessageProcessingMetadata: StaticStructureSchema;
|
|
39
40
|
export declare var Receipt: StaticStructureSchema;
|
|
40
41
|
export declare var ResourceNotFoundException: StaticErrorSchema;
|
|
41
42
|
export declare var SendEventRequest: StaticStructureSchema;
|
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.
|
|
4
|
+
"version": "3.943.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-connectparticipant",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.943.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.943.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.936.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.943.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
30
30
|
"@aws-sdk/types": "3.936.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.936.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.936.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.943.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
35
|
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|