@wildix/wda-history-client 1.2.29 → 4.0.1
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/WdaHistory.js +3 -3
- package/dist-cjs/WdaHistoryClient.js +34 -26
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +58 -0
- package/dist-cjs/commands/GetCallAnnotationsCommand.js +10 -11
- package/dist-cjs/commands/GetCallCommand.js +10 -11
- package/dist-cjs/commands/GetCallTranscriptionCommand.js +10 -11
- package/dist-cjs/commands/GetCallTranscriptionTextCommand.js +10 -11
- package/dist-cjs/commands/GetChatAnnotationsCommand.js +10 -11
- package/dist-cjs/commands/GetChatCommand.js +10 -11
- package/dist-cjs/commands/GetChatTranscriptionCommand.js +10 -11
- package/dist-cjs/commands/GetChatTranscriptionTextCommand.js +10 -11
- package/dist-cjs/commands/GetConferenceAnnotationsCommand.js +10 -11
- package/dist-cjs/commands/GetConferenceCommand.js +10 -11
- package/dist-cjs/commands/GetConferenceTranscriptionCommand.js +10 -11
- package/dist-cjs/commands/GetConferenceTranscriptionTextCommand.js +10 -11
- package/dist-cjs/commands/QueryConversationsCommand.js +10 -11
- package/dist-cjs/commands/QueryUserCallsCommand.js +10 -11
- package/dist-cjs/commands/UpdateCallCommand.js +10 -11
- package/dist-cjs/commands/index.js +3 -3
- package/dist-cjs/endpoint/EndpointParameters.js +16 -0
- package/dist-cjs/endpoint/bdd.js +25 -0
- package/dist-cjs/endpoint/endpointResolver.js +16 -0
- package/dist-cjs/index.js +4 -1
- package/dist-cjs/models/WdaHistoryServiceException.js +3 -3
- package/dist-cjs/models/enums.js +204 -0
- package/dist-cjs/models/errors.js +147 -0
- package/dist-cjs/models/models_0.js +0 -413
- package/dist-cjs/runtimeConfig.browser.js +11 -11
- package/dist-cjs/runtimeConfig.js +22 -18
- package/dist-cjs/runtimeConfig.shared.js +30 -10
- package/dist-cjs/runtimeExtensions.js +6 -5
- package/dist-cjs/schemas/schemas_0.js +1047 -0
- package/dist-es/WdaHistory.js +4 -4
- package/dist-es/WdaHistoryClient.js +30 -22
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +52 -0
- package/dist-es/commands/GetCallAnnotationsCommand.js +9 -10
- package/dist-es/commands/GetCallCommand.js +9 -10
- package/dist-es/commands/GetCallTranscriptionCommand.js +9 -10
- package/dist-es/commands/GetCallTranscriptionTextCommand.js +9 -10
- package/dist-es/commands/GetChatAnnotationsCommand.js +9 -10
- package/dist-es/commands/GetChatCommand.js +9 -10
- package/dist-es/commands/GetChatTranscriptionCommand.js +9 -10
- package/dist-es/commands/GetChatTranscriptionTextCommand.js +9 -10
- package/dist-es/commands/GetConferenceAnnotationsCommand.js +9 -10
- package/dist-es/commands/GetConferenceCommand.js +9 -10
- package/dist-es/commands/GetConferenceTranscriptionCommand.js +9 -10
- package/dist-es/commands/GetConferenceTranscriptionTextCommand.js +9 -10
- package/dist-es/commands/QueryConversationsCommand.js +9 -10
- package/dist-es/commands/QueryUserCallsCommand.js +9 -10
- package/dist-es/commands/UpdateCallCommand.js +9 -10
- package/dist-es/commands/index.js +3 -3
- package/dist-es/endpoint/EndpointParameters.js +12 -0
- package/dist-es/endpoint/bdd.js +22 -0
- package/dist-es/endpoint/endpointResolver.js +12 -0
- package/dist-es/index.js +4 -1
- package/dist-es/models/WdaHistoryServiceException.js +1 -1
- package/dist-es/models/enums.js +201 -0
- package/dist-es/models/errors.js +133 -0
- package/dist-es/models/models_0.js +1 -400
- package/dist-es/runtimeConfig.browser.js +7 -7
- package/dist-es/runtimeConfig.js +17 -13
- package/dist-es/runtimeConfig.shared.js +24 -4
- package/dist-es/runtimeExtensions.js +6 -5
- package/dist-es/schemas/schemas_0.js +1042 -0
- package/dist-types/WdaHistory.d.ts +16 -16
- package/dist-types/WdaHistoryClient.d.ts +45 -27
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +81 -0
- package/dist-types/commands/GetCallAnnotationsCommand.d.ts +11 -7
- package/dist-types/commands/GetCallCommand.d.ts +11 -7
- package/dist-types/commands/GetCallTranscriptionCommand.d.ts +11 -7
- package/dist-types/commands/GetCallTranscriptionTextCommand.d.ts +11 -7
- package/dist-types/commands/GetChatAnnotationsCommand.d.ts +11 -7
- package/dist-types/commands/GetChatCommand.d.ts +11 -7
- package/dist-types/commands/GetChatTranscriptionCommand.d.ts +11 -7
- package/dist-types/commands/GetChatTranscriptionTextCommand.d.ts +11 -7
- package/dist-types/commands/GetConferenceAnnotationsCommand.d.ts +11 -7
- package/dist-types/commands/GetConferenceCommand.d.ts +11 -7
- package/dist-types/commands/GetConferenceTranscriptionCommand.d.ts +11 -7
- package/dist-types/commands/GetConferenceTranscriptionTextCommand.d.ts +11 -7
- package/dist-types/commands/QueryConversationsCommand.d.ts +11 -7
- package/dist-types/commands/QueryUserCallsCommand.d.ts +11 -7
- package/dist-types/commands/UpdateCallCommand.d.ts +11 -7
- package/dist-types/commands/index.d.ts +3 -3
- package/dist-types/endpoint/EndpointParameters.d.ts +41 -0
- package/dist-types/endpoint/bdd.d.ts +2 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/extensionConfiguration.d.ts +4 -3
- package/dist-types/index.d.ts +5 -1
- package/dist-types/models/WdaHistoryServiceException.d.ts +1 -1
- package/dist-types/models/enums.d.ts +505 -0
- package/dist-types/models/errors.d.ts +123 -0
- package/dist-types/models/models_0.d.ts +83 -692
- package/dist-types/runtimeConfig.browser.d.ts +35 -16
- package/dist-types/runtimeConfig.d.ts +34 -15
- package/dist-types/runtimeConfig.native.d.ts +36 -17
- package/dist-types/runtimeConfig.shared.d.ts +20 -3
- package/dist-types/runtimeExtensions.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +127 -0
- package/package.json +14 -40
- package/dist-cjs/models/index.js +0 -4
- package/dist-cjs/protocols/Aws_restJson1.js +0 -868
- package/dist-es/models/index.js +0 -1
- package/dist-es/protocols/Aws_restJson1.js +0 -835
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -137
|
@@ -1,400 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export class ForbiddenException extends __BaseException {
|
|
3
|
-
name = "ForbiddenException";
|
|
4
|
-
$fault = "client";
|
|
5
|
-
constructor(opts) {
|
|
6
|
-
super({
|
|
7
|
-
name: "ForbiddenException",
|
|
8
|
-
$fault: "client",
|
|
9
|
-
...opts
|
|
10
|
-
});
|
|
11
|
-
Object.setPrototypeOf(this, ForbiddenException.prototype);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
export class ValidationException extends __BaseException {
|
|
15
|
-
name = "ValidationException";
|
|
16
|
-
$fault = "client";
|
|
17
|
-
constructor(opts) {
|
|
18
|
-
super({
|
|
19
|
-
name: "ValidationException",
|
|
20
|
-
$fault: "client",
|
|
21
|
-
...opts
|
|
22
|
-
});
|
|
23
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
export const CallDirection = {
|
|
27
|
-
INBOUND: "INBOUND",
|
|
28
|
-
INTERNAL: "INTERNAL",
|
|
29
|
-
OUTBOUND: "OUTBOUND",
|
|
30
|
-
UNDEFINED: "UNDEFINED",
|
|
31
|
-
};
|
|
32
|
-
export const ConversationStatus = {
|
|
33
|
-
COMPLETED: "COMPLETED",
|
|
34
|
-
MISSED: "MISSED",
|
|
35
|
-
};
|
|
36
|
-
export class CallAnnotationsNotFoundException extends __BaseException {
|
|
37
|
-
name = "CallAnnotationsNotFoundException";
|
|
38
|
-
$fault = "client";
|
|
39
|
-
constructor(opts) {
|
|
40
|
-
super({
|
|
41
|
-
name: "CallAnnotationsNotFoundException",
|
|
42
|
-
$fault: "client",
|
|
43
|
-
...opts
|
|
44
|
-
});
|
|
45
|
-
Object.setPrototypeOf(this, CallAnnotationsNotFoundException.prototype);
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
export var AnnotationPayload;
|
|
49
|
-
(function (AnnotationPayload) {
|
|
50
|
-
AnnotationPayload.visit = (value, visitor) => {
|
|
51
|
-
if (value.tag !== undefined)
|
|
52
|
-
return visitor.tag(value.tag);
|
|
53
|
-
if (value.text !== undefined)
|
|
54
|
-
return visitor.text(value.text);
|
|
55
|
-
if (value.variables !== undefined)
|
|
56
|
-
return visitor.variables(value.variables);
|
|
57
|
-
if (value.result !== undefined)
|
|
58
|
-
return visitor.result(value.result);
|
|
59
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
60
|
-
};
|
|
61
|
-
})(AnnotationPayload || (AnnotationPayload = {}));
|
|
62
|
-
export const AnnotationSourceType = {
|
|
63
|
-
CHATBOT: "chatbot",
|
|
64
|
-
SYSTEM: "system",
|
|
65
|
-
USER: "user",
|
|
66
|
-
VOICEBOT: "voicebot",
|
|
67
|
-
};
|
|
68
|
-
export const License = {
|
|
69
|
-
UC: "uc",
|
|
70
|
-
XBEES: "x-bees",
|
|
71
|
-
};
|
|
72
|
-
export const RecordType = {
|
|
73
|
-
CALL: "call",
|
|
74
|
-
CALL_ANNOTATIONS: "call_annotations",
|
|
75
|
-
CALL_TRANSCRIPTION: "call_transcription",
|
|
76
|
-
CHAT: "chat",
|
|
77
|
-
CHAT_ANNOTATIONS: "chat_annotations",
|
|
78
|
-
CHAT_TRANSCRIPTION: "chat_transcription",
|
|
79
|
-
CONFERENCE: "conference",
|
|
80
|
-
CONFERENCE_ANNOTATIONS: "conference_annotations",
|
|
81
|
-
CONFERENCE_TRANSCRIPTION: "conference_transcription",
|
|
82
|
-
};
|
|
83
|
-
export class CallNotFoundException extends __BaseException {
|
|
84
|
-
name = "CallNotFoundException";
|
|
85
|
-
$fault = "client";
|
|
86
|
-
constructor(opts) {
|
|
87
|
-
super({
|
|
88
|
-
name: "CallNotFoundException",
|
|
89
|
-
$fault: "client",
|
|
90
|
-
...opts
|
|
91
|
-
});
|
|
92
|
-
Object.setPrototypeOf(this, CallNotFoundException.prototype);
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
export const AnnotationsStatus = {
|
|
96
|
-
AVAILABLE: "AVAILABLE",
|
|
97
|
-
UNAVAILABLE: "UNAVAILABLE",
|
|
98
|
-
};
|
|
99
|
-
export const CallRecordOwner = {
|
|
100
|
-
CALLEE: "callee",
|
|
101
|
-
CALLER: "caller",
|
|
102
|
-
SYSTEM: "system",
|
|
103
|
-
};
|
|
104
|
-
export const CallFlowAttachmentStatus = {
|
|
105
|
-
ERROR: "error",
|
|
106
|
-
OK: "ok",
|
|
107
|
-
};
|
|
108
|
-
export const CallRecordPauseReason = {
|
|
109
|
-
HOLD: "hold",
|
|
110
|
-
PAUSE: "pause",
|
|
111
|
-
};
|
|
112
|
-
export var CallFlowAttachment;
|
|
113
|
-
(function (CallFlowAttachment) {
|
|
114
|
-
CallFlowAttachment.visit = (value, visitor) => {
|
|
115
|
-
if (value.recording !== undefined)
|
|
116
|
-
return visitor.recording(value.recording);
|
|
117
|
-
if (value.fax !== undefined)
|
|
118
|
-
return visitor.fax(value.fax);
|
|
119
|
-
if (value.voicemail !== undefined)
|
|
120
|
-
return visitor.voicemail(value.voicemail);
|
|
121
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
122
|
-
};
|
|
123
|
-
})(CallFlowAttachment || (CallFlowAttachment = {}));
|
|
124
|
-
export const CallFlowAttachmentType = {
|
|
125
|
-
FAX: "FAX",
|
|
126
|
-
VOICEMAIL: "VOICEMAIL",
|
|
127
|
-
};
|
|
128
|
-
export const CallParticipantRole = {
|
|
129
|
-
AGENT: "AGENT",
|
|
130
|
-
CLIENT: "CLIENT",
|
|
131
|
-
};
|
|
132
|
-
export const CallParticipantType = {
|
|
133
|
-
LOCAL: "LOCAL",
|
|
134
|
-
REMOTE: "REMOTE",
|
|
135
|
-
};
|
|
136
|
-
export const CallDevice = {
|
|
137
|
-
COLLABORATION7_ANDROID: "COLLABORATION7_ANDROID",
|
|
138
|
-
COLLABORATION7_IOS: "COLLABORATION7_IOS",
|
|
139
|
-
COLLABORATION7_WEB: "COLLABORATION7_WEB",
|
|
140
|
-
COLLABORATION_ANDROID: "COLLABORATION_ANDROID",
|
|
141
|
-
COLLABORATION_IOS: "COLLABORATION_IOS",
|
|
142
|
-
COLLABORATION_WEB: "COLLABORATION_WEB",
|
|
143
|
-
TEAMS4WILDIX: "TEAMS4WILDIX",
|
|
144
|
-
UNKNOWN: "UNKNOWN",
|
|
145
|
-
VOICEBOT: "VOICEBOT",
|
|
146
|
-
WILDIX_DEVICE: "WILDIX_DEVICE",
|
|
147
|
-
WILDIX_PHONE: "WILDIX_PHONE",
|
|
148
|
-
XBEES_ANDROID: "XBEES_ANDROID",
|
|
149
|
-
XBEES_IOS: "XBEES_IOS",
|
|
150
|
-
XBEES_WEB: "XBEES_WEB",
|
|
151
|
-
XHOPPERS_ANDROID: "XHOPPERS_ANDROID",
|
|
152
|
-
XHOPPERS_IOS: "XHOPPERS_IOS",
|
|
153
|
-
XHOPPERS_WEB: "XHOPPERS_WEB",
|
|
154
|
-
};
|
|
155
|
-
export const CallFlowTranscriptionStatus = {
|
|
156
|
-
AVAILABLE: "AVAILABLE",
|
|
157
|
-
POST_TRANSCRIPTION: "POST_TRANSCRIPTION",
|
|
158
|
-
UNAVAILABLE: "UNAVAILABLE",
|
|
159
|
-
};
|
|
160
|
-
export const CallTranscriptionSpeaker = {
|
|
161
|
-
CALLEE: "callee",
|
|
162
|
-
CALLER: "caller",
|
|
163
|
-
};
|
|
164
|
-
export class CallTranscriptionNotFoundException extends __BaseException {
|
|
165
|
-
name = "CallTranscriptionNotFoundException";
|
|
166
|
-
$fault = "client";
|
|
167
|
-
constructor(opts) {
|
|
168
|
-
super({
|
|
169
|
-
name: "CallTranscriptionNotFoundException",
|
|
170
|
-
$fault: "client",
|
|
171
|
-
...opts
|
|
172
|
-
});
|
|
173
|
-
Object.setPrototypeOf(this, CallTranscriptionNotFoundException.prototype);
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
export const TranscriptionSentiment = {
|
|
177
|
-
MIXED: "MIXED",
|
|
178
|
-
NEGATIVE: "NEGATIVE",
|
|
179
|
-
NEUTRAL: "NEUTRAL",
|
|
180
|
-
POSITIVE: "POSITIVE",
|
|
181
|
-
};
|
|
182
|
-
export class ChatAnnotationsNotFoundException extends __BaseException {
|
|
183
|
-
name = "ChatAnnotationsNotFoundException";
|
|
184
|
-
$fault = "client";
|
|
185
|
-
constructor(opts) {
|
|
186
|
-
super({
|
|
187
|
-
name: "ChatAnnotationsNotFoundException",
|
|
188
|
-
$fault: "client",
|
|
189
|
-
...opts
|
|
190
|
-
});
|
|
191
|
-
Object.setPrototypeOf(this, ChatAnnotationsNotFoundException.prototype);
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
export class ChatNotFoundException extends __BaseException {
|
|
195
|
-
name = "ChatNotFoundException";
|
|
196
|
-
$fault = "client";
|
|
197
|
-
constructor(opts) {
|
|
198
|
-
super({
|
|
199
|
-
name: "ChatNotFoundException",
|
|
200
|
-
$fault: "client",
|
|
201
|
-
...opts
|
|
202
|
-
});
|
|
203
|
-
Object.setPrototypeOf(this, ChatNotFoundException.prototype);
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
export const ChannelAccess = {
|
|
207
|
-
PRIVATE: "private",
|
|
208
|
-
PUBLIC: "public",
|
|
209
|
-
};
|
|
210
|
-
export const ChannelType = {
|
|
211
|
-
DIRECT: "direct",
|
|
212
|
-
GROUP: "group",
|
|
213
|
-
};
|
|
214
|
-
export const ChannelContextEventAttendeeStatus = {
|
|
215
|
-
ACCEPTED: "accepted",
|
|
216
|
-
DECLINED: "declined",
|
|
217
|
-
NONE: "none",
|
|
218
|
-
TENTATIVE: "tentative",
|
|
219
|
-
};
|
|
220
|
-
export const ChannelContextSource = {
|
|
221
|
-
KITE: "kite",
|
|
222
|
-
};
|
|
223
|
-
export const ChannelWhatsAppStatus = {
|
|
224
|
-
CHANNEL_CLOSED: "24h_channel_closed",
|
|
225
|
-
};
|
|
226
|
-
export const ChatDirection = {
|
|
227
|
-
INBOUND: "INBOUND",
|
|
228
|
-
INTERNAL: "INTERNAL",
|
|
229
|
-
OUTBOUND: "OUTBOUND",
|
|
230
|
-
};
|
|
231
|
-
export const ChatParticipantRole = {
|
|
232
|
-
AGENT: "AGENT",
|
|
233
|
-
CLIENT: "CLIENT",
|
|
234
|
-
};
|
|
235
|
-
export const ChatParticipantType = {
|
|
236
|
-
LOCAL: "LOCAL",
|
|
237
|
-
REMOTE: "REMOTE",
|
|
238
|
-
};
|
|
239
|
-
export const ChatStatus = {
|
|
240
|
-
COMPLETED: "COMPLETED",
|
|
241
|
-
MISSED: "MISSED",
|
|
242
|
-
WAITFIRSTREPLY: "WAITFIRSTREPLY",
|
|
243
|
-
WAITREPLYFROMAGENT: "WAITREPLYFROMAGENT",
|
|
244
|
-
WAITREPLYFROMGUEST: "WAITREPLYFROMGUEST",
|
|
245
|
-
};
|
|
246
|
-
export const ChatTag = {
|
|
247
|
-
SMS: "sms",
|
|
248
|
-
TELEPHONY: "telephony",
|
|
249
|
-
WHATSAPP: "whatsapp",
|
|
250
|
-
};
|
|
251
|
-
export class ChatTranscriptionNotFoundException extends __BaseException {
|
|
252
|
-
name = "ChatTranscriptionNotFoundException";
|
|
253
|
-
$fault = "client";
|
|
254
|
-
constructor(opts) {
|
|
255
|
-
super({
|
|
256
|
-
name: "ChatTranscriptionNotFoundException",
|
|
257
|
-
$fault: "client",
|
|
258
|
-
...opts
|
|
259
|
-
});
|
|
260
|
-
Object.setPrototypeOf(this, ChatTranscriptionNotFoundException.prototype);
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
export var ButtonHandler;
|
|
264
|
-
(function (ButtonHandler) {
|
|
265
|
-
ButtonHandler.visit = (value, visitor) => {
|
|
266
|
-
if (value.link !== undefined)
|
|
267
|
-
return visitor.link(value.link);
|
|
268
|
-
if (value.reply !== undefined)
|
|
269
|
-
return visitor.reply(value.reply);
|
|
270
|
-
if (value.action !== undefined)
|
|
271
|
-
return visitor.action(value.action);
|
|
272
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
273
|
-
};
|
|
274
|
-
})(ButtonHandler || (ButtonHandler = {}));
|
|
275
|
-
export const ButtonVariant = {
|
|
276
|
-
CONTAINED: "contained",
|
|
277
|
-
OUTLINED: "outlined",
|
|
278
|
-
};
|
|
279
|
-
export var ActionElement;
|
|
280
|
-
(function (ActionElement) {
|
|
281
|
-
ActionElement.visit = (value, visitor) => {
|
|
282
|
-
if (value.button !== undefined)
|
|
283
|
-
return visitor.button(value.button);
|
|
284
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
285
|
-
};
|
|
286
|
-
})(ActionElement || (ActionElement = {}));
|
|
287
|
-
export var Element;
|
|
288
|
-
(function (Element) {
|
|
289
|
-
Element.visit = (value, visitor) => {
|
|
290
|
-
if (value.template !== undefined)
|
|
291
|
-
return visitor.template(value.template);
|
|
292
|
-
if (value.actions !== undefined)
|
|
293
|
-
return visitor.actions(value.actions);
|
|
294
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
295
|
-
};
|
|
296
|
-
})(Element || (Element = {}));
|
|
297
|
-
export const MessageSmsStatus = {
|
|
298
|
-
DELIVERED: "delivered",
|
|
299
|
-
ERROR: "error",
|
|
300
|
-
SENT: "sent",
|
|
301
|
-
TRYING: "trying",
|
|
302
|
-
};
|
|
303
|
-
export const MessageType = {
|
|
304
|
-
DELETED: "deleted",
|
|
305
|
-
REGULAR: "regular",
|
|
306
|
-
SYSTEM: "system",
|
|
307
|
-
};
|
|
308
|
-
export const MessageWhatsAppStatus = {
|
|
309
|
-
DELIVERED: "delivered",
|
|
310
|
-
ERROR: "error",
|
|
311
|
-
SENT: "sent",
|
|
312
|
-
TRYING: "trying",
|
|
313
|
-
};
|
|
314
|
-
export class ConferenceAnnotationsNotFoundException extends __BaseException {
|
|
315
|
-
name = "ConferenceAnnotationsNotFoundException";
|
|
316
|
-
$fault = "client";
|
|
317
|
-
constructor(opts) {
|
|
318
|
-
super({
|
|
319
|
-
name: "ConferenceAnnotationsNotFoundException",
|
|
320
|
-
$fault: "client",
|
|
321
|
-
...opts
|
|
322
|
-
});
|
|
323
|
-
Object.setPrototypeOf(this, ConferenceAnnotationsNotFoundException.prototype);
|
|
324
|
-
}
|
|
325
|
-
}
|
|
326
|
-
export class ConferenceNotFoundException extends __BaseException {
|
|
327
|
-
name = "ConferenceNotFoundException";
|
|
328
|
-
$fault = "client";
|
|
329
|
-
constructor(opts) {
|
|
330
|
-
super({
|
|
331
|
-
name: "ConferenceNotFoundException",
|
|
332
|
-
$fault: "client",
|
|
333
|
-
...opts
|
|
334
|
-
});
|
|
335
|
-
Object.setPrototypeOf(this, ConferenceNotFoundException.prototype);
|
|
336
|
-
}
|
|
337
|
-
}
|
|
338
|
-
export const ConferenceDirection = {
|
|
339
|
-
INBOUND: "INBOUND",
|
|
340
|
-
INTERNAL: "INTERNAL",
|
|
341
|
-
OUTBOUND: "OUTBOUND",
|
|
342
|
-
};
|
|
343
|
-
export const PbxLicenseType = {
|
|
344
|
-
BASIC: "basic",
|
|
345
|
-
BUSINESS: "business",
|
|
346
|
-
ESSENTIAL: "essential",
|
|
347
|
-
PREMIUM: "premium",
|
|
348
|
-
WIZYCONF: "wizyconf",
|
|
349
|
-
};
|
|
350
|
-
export const ConferenceParticipantRole = {
|
|
351
|
-
AGENT: "AGENT",
|
|
352
|
-
CLIENT: "CLIENT",
|
|
353
|
-
};
|
|
354
|
-
export const ConferenceParticipantType = {
|
|
355
|
-
EXTERNAL: "EXTERNAL",
|
|
356
|
-
EXTERNAL_DIAL_IN: "EXTERNAL_DIAL_IN",
|
|
357
|
-
PBX: "PBX",
|
|
358
|
-
PBX_SIP: "PBX_SIP",
|
|
359
|
-
XBS: "XBS",
|
|
360
|
-
};
|
|
361
|
-
export const ConferenceTranscriptionStatus = {
|
|
362
|
-
AVAILABLE: "AVAILABLE",
|
|
363
|
-
POST_TRANSCRIPTION: "POST_TRANSCRIPTION",
|
|
364
|
-
UNAVAILABLE: "UNAVAILABLE",
|
|
365
|
-
};
|
|
366
|
-
export class ConferenceTranscriptionNotFoundException extends __BaseException {
|
|
367
|
-
name = "ConferenceTranscriptionNotFoundException";
|
|
368
|
-
$fault = "client";
|
|
369
|
-
constructor(opts) {
|
|
370
|
-
super({
|
|
371
|
-
name: "ConferenceTranscriptionNotFoundException",
|
|
372
|
-
$fault: "client",
|
|
373
|
-
...opts
|
|
374
|
-
});
|
|
375
|
-
Object.setPrototypeOf(this, ConferenceTranscriptionNotFoundException.prototype);
|
|
376
|
-
}
|
|
377
|
-
}
|
|
378
|
-
export var Conversation;
|
|
379
|
-
(function (Conversation) {
|
|
380
|
-
Conversation.visit = (value, visitor) => {
|
|
381
|
-
if (value.call !== undefined)
|
|
382
|
-
return visitor.call(value.call);
|
|
383
|
-
if (value.conference !== undefined)
|
|
384
|
-
return visitor.conference(value.conference);
|
|
385
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
386
|
-
};
|
|
387
|
-
})(Conversation || (Conversation = {}));
|
|
388
|
-
export const ConversationDirection = {
|
|
389
|
-
INBOUND: "INBOUND",
|
|
390
|
-
INTERNAL: "INTERNAL",
|
|
391
|
-
OUTBOUND: "OUTBOUND",
|
|
392
|
-
};
|
|
393
|
-
export const ConversationFlag = {
|
|
394
|
-
FAX: "FAX",
|
|
395
|
-
VOICEMAIL: "VOICEMAIL",
|
|
396
|
-
};
|
|
397
|
-
export const ConversationUserDirection = {
|
|
398
|
-
INCOMING: "INCOMING",
|
|
399
|
-
OUTGOING: "OUTGOING",
|
|
400
|
-
};
|
|
1
|
+
export {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
2
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
|
-
import { createDefaultUserAgentProvider } from "@aws-sdk/
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE
|
|
3
|
+
import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
|
|
4
|
+
import { loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
5
|
+
import { resolveDefaultsModeConfig } from "@smithy/core/config";
|
|
6
|
+
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/core/retry";
|
|
7
|
+
import { calculateBodyLength } from "@smithy/core/serde";
|
|
8
|
+
import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
|
|
7
9
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
8
|
-
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
9
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
10
10
|
export const getRuntimeConfig = (config) => {
|
|
11
11
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
12
12
|
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
@@ -17,7 +17,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
17
17
|
runtime: "browser",
|
|
18
18
|
defaultsMode,
|
|
19
19
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
20
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({
|
|
20
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ clientVersion: packageInfo.version }),
|
|
21
21
|
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
|
22
22
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
23
23
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,32 +1,36 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
2
|
+
import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/core/client";
|
|
3
|
+
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
4
|
+
import { loadConfig as loadNodeConfig, resolveDefaultsModeConfig } from "@smithy/core/config";
|
|
5
|
+
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
|
|
6
|
+
import { calculateBodyLength, Hash } from "@smithy/core/serde";
|
|
7
|
+
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
9
8
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
10
|
-
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
11
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
12
|
-
import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client";
|
|
13
9
|
export const getRuntimeConfig = (config) => {
|
|
14
10
|
emitWarningIfUnsupportedVersion(process.version);
|
|
15
11
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
16
12
|
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
17
13
|
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
14
|
+
const loaderConfig = {
|
|
15
|
+
profile: config?.profile,
|
|
16
|
+
logger: clientSharedValues.logger,
|
|
17
|
+
};
|
|
18
18
|
return {
|
|
19
19
|
...clientSharedValues,
|
|
20
20
|
...config,
|
|
21
21
|
runtime: "node",
|
|
22
22
|
defaultsMode,
|
|
23
23
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
24
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({
|
|
24
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ clientVersion: packageInfo.version }),
|
|
25
25
|
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
26
26
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
27
|
-
retryMode: config?.retryMode ??
|
|
27
|
+
retryMode: config?.retryMode ??
|
|
28
|
+
loadNodeConfig({
|
|
29
|
+
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
30
|
+
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
31
|
+
}, config),
|
|
28
32
|
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
29
33
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
30
|
-
userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS,
|
|
34
|
+
userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
31
35
|
};
|
|
32
36
|
};
|
|
@@ -1,15 +1,35 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
|
+
import { HttpBearerAuthSigner } from "@smithy/core";
|
|
3
|
+
import { NoOpLogger } from "@smithy/core/client";
|
|
4
|
+
import { parseUrl } from "@smithy/core/protocols";
|
|
5
|
+
import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
|
|
6
|
+
import { defaultWdaHistoryHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
|
|
7
|
+
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
8
|
+
import { errorTypeRegistries } from "./schemas/schemas_0";
|
|
5
9
|
export const getRuntimeConfig = (config) => {
|
|
6
10
|
return {
|
|
7
11
|
apiVersion: "v2",
|
|
8
12
|
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
9
13
|
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
10
14
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
15
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
11
16
|
extensions: config?.extensions ?? [],
|
|
17
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultWdaHistoryHttpAuthSchemeProvider,
|
|
18
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
19
|
+
{
|
|
20
|
+
schemeId: "smithy.api#httpBearerAuth",
|
|
21
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#httpBearerAuth"),
|
|
22
|
+
signer: new HttpBearerAuthSigner(),
|
|
23
|
+
},
|
|
24
|
+
],
|
|
12
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
27
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
28
|
+
defaultNamespace: "wildix.wda.history",
|
|
29
|
+
errorTypeRegistries,
|
|
30
|
+
version: "v2",
|
|
31
|
+
serviceTarget: "WdaHistory",
|
|
32
|
+
},
|
|
13
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
14
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
15
35
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/core/client";
|
|
2
|
+
import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/core/protocols";
|
|
3
|
+
import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
|
|
3
4
|
export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
4
|
-
const extensionConfiguration = Object.assign(getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig));
|
|
5
|
-
extensions.forEach(extension => extension.configure(extensionConfiguration));
|
|
6
|
-
return Object.assign(runtimeConfig, resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration));
|
|
5
|
+
const extensionConfiguration = Object.assign(getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
6
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
7
|
+
return Object.assign(runtimeConfig, resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
7
8
|
};
|