@aws-sdk/client-connectparticipant 3.491.0 → 3.495.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/ConnectParticipant.js +1 -29
- package/dist-cjs/ConnectParticipantClient.js +1 -44
- package/dist-cjs/commands/CompleteAttachmentUploadCommand.js +1 -28
- package/dist-cjs/commands/CreateParticipantConnectionCommand.js +1 -28
- package/dist-cjs/commands/DescribeViewCommand.js +1 -29
- package/dist-cjs/commands/DisconnectParticipantCommand.js +1 -28
- package/dist-cjs/commands/GetAttachmentCommand.js +1 -28
- package/dist-cjs/commands/GetTranscriptCommand.js +1 -28
- package/dist-cjs/commands/SendEventCommand.js +1 -28
- package/dist-cjs/commands/SendMessageCommand.js +1 -28
- package/dist-cjs/commands/StartAttachmentUploadCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -12
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +1263 -11
- package/dist-cjs/models/ConnectParticipantServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -171
- package/dist-cjs/pagination/GetTranscriptPaginator.js +1 -7
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/index.js +1 -5
- package/dist-cjs/protocols/Aws_restJson1.js +1 -704
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/package.json +40 -40
|
@@ -1,12 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ConnectParticipantServiceException = exports.__ServiceException = void 0;
|
|
4
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
-
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
-
class ConnectParticipantServiceException extends smithy_client_1.ServiceException {
|
|
7
|
-
constructor(options) {
|
|
8
|
-
super(options);
|
|
9
|
-
Object.setPrototypeOf(this, ConnectParticipantServiceException.prototype);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
exports.ConnectParticipantServiceException = ConnectParticipantServiceException;
|
|
1
|
+
module.exports = require("../index.js");
|
package/dist-cjs/models/index.js
CHANGED
|
@@ -1,171 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DescribeViewResponseFilterSensitiveLog = exports.ViewFilterSensitiveLog = exports.ViewContentFilterSensitiveLog = exports.ChatItemType = exports.ParticipantRole = exports.ArtifactStatus = exports.SortKey = exports.ScanDirection = exports.ResourceNotFoundException = exports.ResourceType = exports.ConnectionType = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.InternalServerException = exports.ConflictException = exports.AccessDeniedException = void 0;
|
|
4
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
-
const ConnectParticipantServiceException_1 = require("./ConnectParticipantServiceException");
|
|
6
|
-
class AccessDeniedException extends ConnectParticipantServiceException_1.ConnectParticipantServiceException {
|
|
7
|
-
constructor(opts) {
|
|
8
|
-
super({
|
|
9
|
-
name: "AccessDeniedException",
|
|
10
|
-
$fault: "client",
|
|
11
|
-
...opts,
|
|
12
|
-
});
|
|
13
|
-
this.name = "AccessDeniedException";
|
|
14
|
-
this.$fault = "client";
|
|
15
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
16
|
-
this.Message = opts.Message;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
exports.AccessDeniedException = AccessDeniedException;
|
|
20
|
-
class ConflictException extends ConnectParticipantServiceException_1.ConnectParticipantServiceException {
|
|
21
|
-
constructor(opts) {
|
|
22
|
-
super({
|
|
23
|
-
name: "ConflictException",
|
|
24
|
-
$fault: "client",
|
|
25
|
-
...opts,
|
|
26
|
-
});
|
|
27
|
-
this.name = "ConflictException";
|
|
28
|
-
this.$fault = "client";
|
|
29
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
30
|
-
this.Message = opts.Message;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
exports.ConflictException = ConflictException;
|
|
34
|
-
class InternalServerException extends ConnectParticipantServiceException_1.ConnectParticipantServiceException {
|
|
35
|
-
constructor(opts) {
|
|
36
|
-
super({
|
|
37
|
-
name: "InternalServerException",
|
|
38
|
-
$fault: "server",
|
|
39
|
-
...opts,
|
|
40
|
-
});
|
|
41
|
-
this.name = "InternalServerException";
|
|
42
|
-
this.$fault = "server";
|
|
43
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
44
|
-
this.Message = opts.Message;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
exports.InternalServerException = InternalServerException;
|
|
48
|
-
class ServiceQuotaExceededException extends ConnectParticipantServiceException_1.ConnectParticipantServiceException {
|
|
49
|
-
constructor(opts) {
|
|
50
|
-
super({
|
|
51
|
-
name: "ServiceQuotaExceededException",
|
|
52
|
-
$fault: "client",
|
|
53
|
-
...opts,
|
|
54
|
-
});
|
|
55
|
-
this.name = "ServiceQuotaExceededException";
|
|
56
|
-
this.$fault = "client";
|
|
57
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
58
|
-
this.Message = opts.Message;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
62
|
-
class ThrottlingException extends ConnectParticipantServiceException_1.ConnectParticipantServiceException {
|
|
63
|
-
constructor(opts) {
|
|
64
|
-
super({
|
|
65
|
-
name: "ThrottlingException",
|
|
66
|
-
$fault: "client",
|
|
67
|
-
...opts,
|
|
68
|
-
});
|
|
69
|
-
this.name = "ThrottlingException";
|
|
70
|
-
this.$fault = "client";
|
|
71
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
72
|
-
this.Message = opts.Message;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
exports.ThrottlingException = ThrottlingException;
|
|
76
|
-
class ValidationException extends ConnectParticipantServiceException_1.ConnectParticipantServiceException {
|
|
77
|
-
constructor(opts) {
|
|
78
|
-
super({
|
|
79
|
-
name: "ValidationException",
|
|
80
|
-
$fault: "client",
|
|
81
|
-
...opts,
|
|
82
|
-
});
|
|
83
|
-
this.name = "ValidationException";
|
|
84
|
-
this.$fault = "client";
|
|
85
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
86
|
-
this.Message = opts.Message;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
exports.ValidationException = ValidationException;
|
|
90
|
-
exports.ConnectionType = {
|
|
91
|
-
CONNECTION_CREDENTIALS: "CONNECTION_CREDENTIALS",
|
|
92
|
-
WEBSOCKET: "WEBSOCKET",
|
|
93
|
-
};
|
|
94
|
-
exports.ResourceType = {
|
|
95
|
-
CONTACT: "CONTACT",
|
|
96
|
-
CONTACT_FLOW: "CONTACT_FLOW",
|
|
97
|
-
HIERARCHY_GROUP: "HIERARCHY_GROUP",
|
|
98
|
-
HIERARCHY_LEVEL: "HIERARCHY_LEVEL",
|
|
99
|
-
INSTANCE: "INSTANCE",
|
|
100
|
-
PARTICIPANT: "PARTICIPANT",
|
|
101
|
-
PHONE_NUMBER: "PHONE_NUMBER",
|
|
102
|
-
USER: "USER",
|
|
103
|
-
};
|
|
104
|
-
class ResourceNotFoundException extends ConnectParticipantServiceException_1.ConnectParticipantServiceException {
|
|
105
|
-
constructor(opts) {
|
|
106
|
-
super({
|
|
107
|
-
name: "ResourceNotFoundException",
|
|
108
|
-
$fault: "client",
|
|
109
|
-
...opts,
|
|
110
|
-
});
|
|
111
|
-
this.name = "ResourceNotFoundException";
|
|
112
|
-
this.$fault = "client";
|
|
113
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
114
|
-
this.Message = opts.Message;
|
|
115
|
-
this.ResourceId = opts.ResourceId;
|
|
116
|
-
this.ResourceType = opts.ResourceType;
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
120
|
-
exports.ScanDirection = {
|
|
121
|
-
BACKWARD: "BACKWARD",
|
|
122
|
-
FORWARD: "FORWARD",
|
|
123
|
-
};
|
|
124
|
-
exports.SortKey = {
|
|
125
|
-
ASCENDING: "ASCENDING",
|
|
126
|
-
DESCENDING: "DESCENDING",
|
|
127
|
-
};
|
|
128
|
-
exports.ArtifactStatus = {
|
|
129
|
-
APPROVED: "APPROVED",
|
|
130
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
131
|
-
REJECTED: "REJECTED",
|
|
132
|
-
};
|
|
133
|
-
exports.ParticipantRole = {
|
|
134
|
-
AGENT: "AGENT",
|
|
135
|
-
CUSTOMER: "CUSTOMER",
|
|
136
|
-
CUSTOM_BOT: "CUSTOM_BOT",
|
|
137
|
-
SUPERVISOR: "SUPERVISOR",
|
|
138
|
-
SYSTEM: "SYSTEM",
|
|
139
|
-
};
|
|
140
|
-
exports.ChatItemType = {
|
|
141
|
-
ATTACHMENT: "ATTACHMENT",
|
|
142
|
-
CHAT_ENDED: "CHAT_ENDED",
|
|
143
|
-
CONNECTION_ACK: "CONNECTION_ACK",
|
|
144
|
-
EVENT: "EVENT",
|
|
145
|
-
MESSAGE: "MESSAGE",
|
|
146
|
-
MESSAGE_DELIVERED: "MESSAGE_DELIVERED",
|
|
147
|
-
MESSAGE_READ: "MESSAGE_READ",
|
|
148
|
-
PARTICIPANT_JOINED: "PARTICIPANT_JOINED",
|
|
149
|
-
PARTICIPANT_LEFT: "PARTICIPANT_LEFT",
|
|
150
|
-
TRANSFER_FAILED: "TRANSFER_FAILED",
|
|
151
|
-
TRANSFER_SUCCEEDED: "TRANSFER_SUCCEEDED",
|
|
152
|
-
TYPING: "TYPING",
|
|
153
|
-
};
|
|
154
|
-
const ViewContentFilterSensitiveLog = (obj) => ({
|
|
155
|
-
...obj,
|
|
156
|
-
...(obj.InputSchema && { InputSchema: smithy_client_1.SENSITIVE_STRING }),
|
|
157
|
-
...(obj.Template && { Template: smithy_client_1.SENSITIVE_STRING }),
|
|
158
|
-
...(obj.Actions && { Actions: smithy_client_1.SENSITIVE_STRING }),
|
|
159
|
-
});
|
|
160
|
-
exports.ViewContentFilterSensitiveLog = ViewContentFilterSensitiveLog;
|
|
161
|
-
const ViewFilterSensitiveLog = (obj) => ({
|
|
162
|
-
...obj,
|
|
163
|
-
...(obj.Name && { Name: smithy_client_1.SENSITIVE_STRING }),
|
|
164
|
-
...(obj.Content && { Content: (0, exports.ViewContentFilterSensitiveLog)(obj.Content) }),
|
|
165
|
-
});
|
|
166
|
-
exports.ViewFilterSensitiveLog = ViewFilterSensitiveLog;
|
|
167
|
-
const DescribeViewResponseFilterSensitiveLog = (obj) => ({
|
|
168
|
-
...obj,
|
|
169
|
-
...(obj.View && { View: (0, exports.ViewFilterSensitiveLog)(obj.View) }),
|
|
170
|
-
});
|
|
171
|
-
exports.DescribeViewResponseFilterSensitiveLog = DescribeViewResponseFilterSensitiveLog;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateGetTranscript = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const GetTranscriptCommand_1 = require("../commands/GetTranscriptCommand");
|
|
6
|
-
const ConnectParticipantClient_1 = require("../ConnectParticipantClient");
|
|
7
|
-
exports.paginateGetTranscript = (0, core_1.createPaginator)(ConnectParticipantClient_1.ConnectParticipantClient, GetTranscriptCommand_1.GetTranscriptCommand, "NextToken", "NextToken", "MaxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./GetTranscriptPaginator"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
1
|
+
module.exports = require("../index.js");
|