@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,54 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { DocumentType as __DocumentType } from "@smithy/types";
|
|
4
|
-
/**
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export declare class ForbiddenException extends __BaseException {
|
|
8
|
-
readonly name: "ForbiddenException";
|
|
9
|
-
readonly $fault: "client";
|
|
10
|
-
/**
|
|
11
|
-
* @internal
|
|
12
|
-
*/
|
|
13
|
-
constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* @public
|
|
17
|
-
*/
|
|
18
|
-
export declare class ValidationException extends __BaseException {
|
|
19
|
-
readonly name: "ValidationException";
|
|
20
|
-
readonly $fault: "client";
|
|
21
|
-
/**
|
|
22
|
-
* @internal
|
|
23
|
-
*/
|
|
24
|
-
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* @public
|
|
28
|
-
* @enum
|
|
29
|
-
*/
|
|
30
|
-
export declare const CallDirection: {
|
|
31
|
-
readonly INBOUND: "INBOUND";
|
|
32
|
-
readonly INTERNAL: "INTERNAL";
|
|
33
|
-
readonly OUTBOUND: "OUTBOUND";
|
|
34
|
-
readonly UNDEFINED: "UNDEFINED";
|
|
35
|
-
};
|
|
36
|
-
/**
|
|
37
|
-
* @public
|
|
38
|
-
*/
|
|
39
|
-
export type CallDirection = typeof CallDirection[keyof typeof CallDirection];
|
|
40
|
-
/**
|
|
41
|
-
* @public
|
|
42
|
-
* @enum
|
|
43
|
-
*/
|
|
44
|
-
export declare const ConversationStatus: {
|
|
45
|
-
readonly COMPLETED: "COMPLETED";
|
|
46
|
-
readonly MISSED: "MISSED";
|
|
47
|
-
};
|
|
48
|
-
/**
|
|
49
|
-
* @public
|
|
50
|
-
*/
|
|
51
|
-
export type ConversationStatus = typeof ConversationStatus[keyof typeof ConversationStatus];
|
|
1
|
+
import type { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
|
+
import type { AnnotationSourceType, AnnotationsStatus, ButtonVariant, CallDevice, CallDirection, CallFlowAttachmentStatus, CallFlowAttachmentType, CallFlowTranscriptionStatus, CallParticipantRole, CallParticipantType, CallRecordOwner, CallRecordPauseReason, CallTranscriptionSpeaker, ChannelAccess, ChannelContextEventAttendeeStatus, ChannelContextSource, ChannelType, ChannelWhatsAppStatus, ChatDirection, ChatParticipantRole, ChatParticipantType, ChatStatus, ChatTag, ConferenceDirection, ConferenceParticipantRole, ConferenceParticipantType, ConferenceTranscriptionStatus, ConversationDirection, ConversationFlag, ConversationStatus, ConversationUserDirection, License, MessageSmsStatus, MessageType, MessageWhatsAppStatus, PbxLicenseType, RecordType, TranscriptionSentiment } from "./enums";
|
|
52
3
|
/**
|
|
53
4
|
* @public
|
|
54
5
|
*/
|
|
@@ -61,18 +12,7 @@ export interface TemplateParameter {
|
|
|
61
12
|
*/
|
|
62
13
|
export interface TemplateWithParameters {
|
|
63
14
|
name: string;
|
|
64
|
-
parameters?:
|
|
65
|
-
}
|
|
66
|
-
/**
|
|
67
|
-
* @public
|
|
68
|
-
*/
|
|
69
|
-
export declare class CallAnnotationsNotFoundException extends __BaseException {
|
|
70
|
-
readonly name: "CallAnnotationsNotFoundException";
|
|
71
|
-
readonly $fault: "client";
|
|
72
|
-
/**
|
|
73
|
-
* @internal
|
|
74
|
-
*/
|
|
75
|
-
constructor(opts: __ExceptionOptionType<CallAnnotationsNotFoundException, __BaseException>);
|
|
15
|
+
parameters?: TemplateParameter[] | undefined;
|
|
76
16
|
}
|
|
77
17
|
/**
|
|
78
18
|
* Tool result captured for an annotation. Runtime services enforce serialized payload size limits.
|
|
@@ -142,6 +82,10 @@ export declare namespace AnnotationPayload {
|
|
|
142
82
|
result?: never;
|
|
143
83
|
$unknown: [string, any];
|
|
144
84
|
}
|
|
85
|
+
/**
|
|
86
|
+
* @deprecated unused in schema-serde mode.
|
|
87
|
+
*
|
|
88
|
+
*/
|
|
145
89
|
interface Visitor<T> {
|
|
146
90
|
tag: (value: string) => T;
|
|
147
91
|
text: (value: string) => T;
|
|
@@ -149,22 +93,7 @@ export declare namespace AnnotationPayload {
|
|
|
149
93
|
result: (value: AnnotationResultValue) => T;
|
|
150
94
|
_: (name: string, value: any) => T;
|
|
151
95
|
}
|
|
152
|
-
const visit: <T>(value: AnnotationPayload, visitor: Visitor<T>) => T;
|
|
153
96
|
}
|
|
154
|
-
/**
|
|
155
|
-
* @public
|
|
156
|
-
* @enum
|
|
157
|
-
*/
|
|
158
|
-
export declare const AnnotationSourceType: {
|
|
159
|
-
readonly CHATBOT: "chatbot";
|
|
160
|
-
readonly SYSTEM: "system";
|
|
161
|
-
readonly USER: "user";
|
|
162
|
-
readonly VOICEBOT: "voicebot";
|
|
163
|
-
};
|
|
164
|
-
/**
|
|
165
|
-
* @public
|
|
166
|
-
*/
|
|
167
|
-
export type AnnotationSourceType = typeof AnnotationSourceType[keyof typeof AnnotationSourceType];
|
|
168
97
|
/**
|
|
169
98
|
* Producer of an annotation. Generic identifiers allow callers to attach context such as tool id/name, user id/name, etc., without constraining the source type to a fixed shape.
|
|
170
99
|
* @public
|
|
@@ -195,37 +124,6 @@ export interface Annotation {
|
|
|
195
124
|
*/
|
|
196
125
|
source: AnnotationSource;
|
|
197
126
|
}
|
|
198
|
-
/**
|
|
199
|
-
* @public
|
|
200
|
-
* @enum
|
|
201
|
-
*/
|
|
202
|
-
export declare const License: {
|
|
203
|
-
readonly UC: "uc";
|
|
204
|
-
readonly XBEES: "x-bees";
|
|
205
|
-
};
|
|
206
|
-
/**
|
|
207
|
-
* @public
|
|
208
|
-
*/
|
|
209
|
-
export type License = typeof License[keyof typeof License];
|
|
210
|
-
/**
|
|
211
|
-
* @public
|
|
212
|
-
* @enum
|
|
213
|
-
*/
|
|
214
|
-
export declare const RecordType: {
|
|
215
|
-
readonly CALL: "call";
|
|
216
|
-
readonly CALL_ANNOTATIONS: "call_annotations";
|
|
217
|
-
readonly CALL_TRANSCRIPTION: "call_transcription";
|
|
218
|
-
readonly CHAT: "chat";
|
|
219
|
-
readonly CHAT_ANNOTATIONS: "chat_annotations";
|
|
220
|
-
readonly CHAT_TRANSCRIPTION: "chat_transcription";
|
|
221
|
-
readonly CONFERENCE: "conference";
|
|
222
|
-
readonly CONFERENCE_ANNOTATIONS: "conference_annotations";
|
|
223
|
-
readonly CONFERENCE_TRANSCRIPTION: "conference_transcription";
|
|
224
|
-
};
|
|
225
|
-
/**
|
|
226
|
-
* @public
|
|
227
|
-
*/
|
|
228
|
-
export type RecordType = typeof RecordType[keyof typeof RecordType];
|
|
229
127
|
/**
|
|
230
128
|
* @public
|
|
231
129
|
*/
|
|
@@ -234,36 +132,13 @@ export interface CallAnnotationsRecord {
|
|
|
234
132
|
pbx: string;
|
|
235
133
|
time: number;
|
|
236
134
|
company: string;
|
|
237
|
-
licenses:
|
|
135
|
+
licenses: License[];
|
|
238
136
|
type: RecordType;
|
|
239
137
|
flowIndex: number;
|
|
240
138
|
flowStartTime: number;
|
|
241
139
|
callStartTime: number;
|
|
242
|
-
annotations:
|
|
243
|
-
}
|
|
244
|
-
/**
|
|
245
|
-
* @public
|
|
246
|
-
*/
|
|
247
|
-
export declare class CallNotFoundException extends __BaseException {
|
|
248
|
-
readonly name: "CallNotFoundException";
|
|
249
|
-
readonly $fault: "client";
|
|
250
|
-
/**
|
|
251
|
-
* @internal
|
|
252
|
-
*/
|
|
253
|
-
constructor(opts: __ExceptionOptionType<CallNotFoundException, __BaseException>);
|
|
140
|
+
annotations: Annotation[];
|
|
254
141
|
}
|
|
255
|
-
/**
|
|
256
|
-
* @public
|
|
257
|
-
* @enum
|
|
258
|
-
*/
|
|
259
|
-
export declare const AnnotationsStatus: {
|
|
260
|
-
readonly AVAILABLE: "AVAILABLE";
|
|
261
|
-
readonly UNAVAILABLE: "UNAVAILABLE";
|
|
262
|
-
};
|
|
263
|
-
/**
|
|
264
|
-
* @public
|
|
265
|
-
*/
|
|
266
|
-
export type AnnotationsStatus = typeof AnnotationsStatus[keyof typeof AnnotationsStatus];
|
|
267
142
|
/**
|
|
268
143
|
* @public
|
|
269
144
|
*/
|
|
@@ -277,31 +152,6 @@ export interface CallFlowAttachmentDestination {
|
|
|
277
152
|
groupId?: string | undefined;
|
|
278
153
|
groupName?: string | undefined;
|
|
279
154
|
}
|
|
280
|
-
/**
|
|
281
|
-
* @public
|
|
282
|
-
* @enum
|
|
283
|
-
*/
|
|
284
|
-
export declare const CallRecordOwner: {
|
|
285
|
-
readonly CALLEE: "callee";
|
|
286
|
-
readonly CALLER: "caller";
|
|
287
|
-
readonly SYSTEM: "system";
|
|
288
|
-
};
|
|
289
|
-
/**
|
|
290
|
-
* @public
|
|
291
|
-
*/
|
|
292
|
-
export type CallRecordOwner = typeof CallRecordOwner[keyof typeof CallRecordOwner];
|
|
293
|
-
/**
|
|
294
|
-
* @public
|
|
295
|
-
* @enum
|
|
296
|
-
*/
|
|
297
|
-
export declare const CallFlowAttachmentStatus: {
|
|
298
|
-
readonly ERROR: "error";
|
|
299
|
-
readonly OK: "ok";
|
|
300
|
-
};
|
|
301
|
-
/**
|
|
302
|
-
* @public
|
|
303
|
-
*/
|
|
304
|
-
export type CallFlowAttachmentStatus = typeof CallFlowAttachmentStatus[keyof typeof CallFlowAttachmentStatus];
|
|
305
155
|
/**
|
|
306
156
|
* @public
|
|
307
157
|
*/
|
|
@@ -312,7 +162,7 @@ export interface CallFlowFax {
|
|
|
312
162
|
* @public
|
|
313
163
|
*/
|
|
314
164
|
status?: CallFlowAttachmentStatus | undefined;
|
|
315
|
-
destinations?:
|
|
165
|
+
destinations?: CallFlowAttachmentDestination[] | undefined;
|
|
316
166
|
owner?: CallRecordOwner | undefined;
|
|
317
167
|
/**
|
|
318
168
|
* Text with the reason for the error in case of unsuccessful fax delivery
|
|
@@ -320,18 +170,6 @@ export interface CallFlowFax {
|
|
|
320
170
|
*/
|
|
321
171
|
error?: string | undefined;
|
|
322
172
|
}
|
|
323
|
-
/**
|
|
324
|
-
* @public
|
|
325
|
-
* @enum
|
|
326
|
-
*/
|
|
327
|
-
export declare const CallRecordPauseReason: {
|
|
328
|
-
readonly HOLD: "hold";
|
|
329
|
-
readonly PAUSE: "pause";
|
|
330
|
-
};
|
|
331
|
-
/**
|
|
332
|
-
* @public
|
|
333
|
-
*/
|
|
334
|
-
export type CallRecordPauseReason = typeof CallRecordPauseReason[keyof typeof CallRecordPauseReason];
|
|
335
173
|
/**
|
|
336
174
|
* @public
|
|
337
175
|
*/
|
|
@@ -349,14 +187,14 @@ export interface CallFlowRecording {
|
|
|
349
187
|
end: number;
|
|
350
188
|
owner: CallRecordOwner;
|
|
351
189
|
url: string;
|
|
352
|
-
pauses:
|
|
190
|
+
pauses: CallRecordPause[];
|
|
353
191
|
}
|
|
354
192
|
/**
|
|
355
193
|
* @public
|
|
356
194
|
*/
|
|
357
195
|
export interface CallFlowVoicemail {
|
|
358
196
|
url: string;
|
|
359
|
-
destinations?:
|
|
197
|
+
destinations?: CallFlowAttachmentDestination[] | undefined;
|
|
360
198
|
owner?: CallRecordOwner | undefined;
|
|
361
199
|
}
|
|
362
200
|
/**
|
|
@@ -394,77 +232,17 @@ export declare namespace CallFlowAttachment {
|
|
|
394
232
|
voicemail?: never;
|
|
395
233
|
$unknown: [string, any];
|
|
396
234
|
}
|
|
235
|
+
/**
|
|
236
|
+
* @deprecated unused in schema-serde mode.
|
|
237
|
+
*
|
|
238
|
+
*/
|
|
397
239
|
interface Visitor<T> {
|
|
398
240
|
recording: (value: CallFlowRecording) => T;
|
|
399
241
|
fax: (value: CallFlowFax) => T;
|
|
400
242
|
voicemail: (value: CallFlowVoicemail) => T;
|
|
401
243
|
_: (name: string, value: any) => T;
|
|
402
244
|
}
|
|
403
|
-
const visit: <T>(value: CallFlowAttachment, visitor: Visitor<T>) => T;
|
|
404
245
|
}
|
|
405
|
-
/**
|
|
406
|
-
* @public
|
|
407
|
-
* @enum
|
|
408
|
-
*/
|
|
409
|
-
export declare const CallFlowAttachmentType: {
|
|
410
|
-
readonly FAX: "FAX";
|
|
411
|
-
readonly VOICEMAIL: "VOICEMAIL";
|
|
412
|
-
};
|
|
413
|
-
/**
|
|
414
|
-
* @public
|
|
415
|
-
*/
|
|
416
|
-
export type CallFlowAttachmentType = typeof CallFlowAttachmentType[keyof typeof CallFlowAttachmentType];
|
|
417
|
-
/**
|
|
418
|
-
* @public
|
|
419
|
-
* @enum
|
|
420
|
-
*/
|
|
421
|
-
export declare const CallParticipantRole: {
|
|
422
|
-
readonly AGENT: "AGENT";
|
|
423
|
-
readonly CLIENT: "CLIENT";
|
|
424
|
-
};
|
|
425
|
-
/**
|
|
426
|
-
* @public
|
|
427
|
-
*/
|
|
428
|
-
export type CallParticipantRole = typeof CallParticipantRole[keyof typeof CallParticipantRole];
|
|
429
|
-
/**
|
|
430
|
-
* @public
|
|
431
|
-
* @enum
|
|
432
|
-
*/
|
|
433
|
-
export declare const CallParticipantType: {
|
|
434
|
-
readonly LOCAL: "LOCAL";
|
|
435
|
-
readonly REMOTE: "REMOTE";
|
|
436
|
-
};
|
|
437
|
-
/**
|
|
438
|
-
* @public
|
|
439
|
-
*/
|
|
440
|
-
export type CallParticipantType = typeof CallParticipantType[keyof typeof CallParticipantType];
|
|
441
|
-
/**
|
|
442
|
-
* @public
|
|
443
|
-
* @enum
|
|
444
|
-
*/
|
|
445
|
-
export declare const CallDevice: {
|
|
446
|
-
readonly COLLABORATION7_ANDROID: "COLLABORATION7_ANDROID";
|
|
447
|
-
readonly COLLABORATION7_IOS: "COLLABORATION7_IOS";
|
|
448
|
-
readonly COLLABORATION7_WEB: "COLLABORATION7_WEB";
|
|
449
|
-
readonly COLLABORATION_ANDROID: "COLLABORATION_ANDROID";
|
|
450
|
-
readonly COLLABORATION_IOS: "COLLABORATION_IOS";
|
|
451
|
-
readonly COLLABORATION_WEB: "COLLABORATION_WEB";
|
|
452
|
-
readonly TEAMS4WILDIX: "TEAMS4WILDIX";
|
|
453
|
-
readonly UNKNOWN: "UNKNOWN";
|
|
454
|
-
readonly VOICEBOT: "VOICEBOT";
|
|
455
|
-
readonly WILDIX_DEVICE: "WILDIX_DEVICE";
|
|
456
|
-
readonly WILDIX_PHONE: "WILDIX_PHONE";
|
|
457
|
-
readonly XBEES_ANDROID: "XBEES_ANDROID";
|
|
458
|
-
readonly XBEES_IOS: "XBEES_IOS";
|
|
459
|
-
readonly XBEES_WEB: "XBEES_WEB";
|
|
460
|
-
readonly XHOPPERS_ANDROID: "XHOPPERS_ANDROID";
|
|
461
|
-
readonly XHOPPERS_IOS: "XHOPPERS_IOS";
|
|
462
|
-
readonly XHOPPERS_WEB: "XHOPPERS_WEB";
|
|
463
|
-
};
|
|
464
|
-
/**
|
|
465
|
-
* @public
|
|
466
|
-
*/
|
|
467
|
-
export type CallDevice = typeof CallDevice[keyof typeof CallDevice];
|
|
468
246
|
/**
|
|
469
247
|
* @public
|
|
470
248
|
*/
|
|
@@ -508,22 +286,9 @@ export interface CallParticipant {
|
|
|
508
286
|
* @public
|
|
509
287
|
*/
|
|
510
288
|
export interface CallFlowNotifications {
|
|
511
|
-
destinations?:
|
|
512
|
-
type?:
|
|
289
|
+
destinations?: CallFlowAttachmentDestination[] | undefined;
|
|
290
|
+
type?: string[] | undefined;
|
|
513
291
|
}
|
|
514
|
-
/**
|
|
515
|
-
* @public
|
|
516
|
-
* @enum
|
|
517
|
-
*/
|
|
518
|
-
export declare const CallFlowTranscriptionStatus: {
|
|
519
|
-
readonly AVAILABLE: "AVAILABLE";
|
|
520
|
-
readonly POST_TRANSCRIPTION: "POST_TRANSCRIPTION";
|
|
521
|
-
readonly UNAVAILABLE: "UNAVAILABLE";
|
|
522
|
-
};
|
|
523
|
-
/**
|
|
524
|
-
* @public
|
|
525
|
-
*/
|
|
526
|
-
export type CallFlowTranscriptionStatus = typeof CallFlowTranscriptionStatus[keyof typeof CallFlowTranscriptionStatus];
|
|
527
292
|
/**
|
|
528
293
|
* @public
|
|
529
294
|
*/
|
|
@@ -576,25 +341,25 @@ export interface CallRecord {
|
|
|
576
341
|
* @public
|
|
577
342
|
*/
|
|
578
343
|
queuePosition?: number | undefined;
|
|
579
|
-
tags?:
|
|
580
|
-
flags?:
|
|
344
|
+
tags?: string[] | undefined;
|
|
345
|
+
flags?: string[] | undefined;
|
|
581
346
|
callerMos?: string | undefined;
|
|
582
347
|
calleeMos?: string | undefined;
|
|
583
348
|
xhoppersConfId?: string | undefined;
|
|
584
349
|
/**
|
|
585
350
|
* Consider to use `attachments` instead.
|
|
586
351
|
*
|
|
587
|
-
* @deprecated
|
|
352
|
+
* @deprecated deprecated.
|
|
588
353
|
* @public
|
|
589
354
|
*/
|
|
590
|
-
recordings?:
|
|
355
|
+
recordings?: string[] | undefined;
|
|
591
356
|
/**
|
|
592
357
|
* Consider to use `attachments` instead.
|
|
593
358
|
*
|
|
594
|
-
* @deprecated
|
|
359
|
+
* @deprecated deprecated.
|
|
595
360
|
* @public
|
|
596
361
|
*/
|
|
597
|
-
recordingsData?:
|
|
362
|
+
recordingsData?: CallFlowRecording[] | undefined;
|
|
598
363
|
mergeWith?: string | undefined;
|
|
599
364
|
splitReason?: string | undefined;
|
|
600
365
|
splitTransferType?: string | undefined;
|
|
@@ -610,31 +375,31 @@ export interface CallRecord {
|
|
|
610
375
|
/**
|
|
611
376
|
* Consider to use `attachments` instead.
|
|
612
377
|
*
|
|
613
|
-
* @deprecated
|
|
378
|
+
* @deprecated deprecated.
|
|
614
379
|
* @public
|
|
615
380
|
*/
|
|
616
381
|
attachment?: string | undefined;
|
|
617
382
|
/**
|
|
618
383
|
* Consider to use `attachments` instead.
|
|
619
384
|
*
|
|
620
|
-
* @deprecated
|
|
385
|
+
* @deprecated deprecated.
|
|
621
386
|
* @public
|
|
622
387
|
*/
|
|
623
388
|
attachmentType?: CallFlowAttachmentType | undefined;
|
|
624
389
|
/**
|
|
625
390
|
* Consider to use `attachments` instead.
|
|
626
391
|
*
|
|
627
|
-
* @deprecated
|
|
392
|
+
* @deprecated deprecated.
|
|
628
393
|
* @public
|
|
629
394
|
*/
|
|
630
|
-
attachmentDestinations?:
|
|
631
|
-
attachments?:
|
|
395
|
+
attachmentDestinations?: CallFlowAttachmentDestination[] | undefined;
|
|
396
|
+
attachments?: CallFlowAttachment[] | undefined;
|
|
632
397
|
notifications?: CallFlowNotifications | undefined;
|
|
633
398
|
id: string;
|
|
634
399
|
pbx: string;
|
|
635
400
|
time: number;
|
|
636
401
|
company: string;
|
|
637
|
-
licenses:
|
|
402
|
+
licenses: License[];
|
|
638
403
|
type: RecordType;
|
|
639
404
|
}
|
|
640
405
|
/**
|
|
@@ -650,20 +415,8 @@ export interface CallTranscriptionInterruption {
|
|
|
650
415
|
* IDs of the chunks involved in the interruption — including the interrupting speaker and the chunk that was interrupted.
|
|
651
416
|
* @public
|
|
652
417
|
*/
|
|
653
|
-
chunks:
|
|
418
|
+
chunks: string[];
|
|
654
419
|
}
|
|
655
|
-
/**
|
|
656
|
-
* @public
|
|
657
|
-
* @enum
|
|
658
|
-
*/
|
|
659
|
-
export declare const CallTranscriptionSpeaker: {
|
|
660
|
-
readonly CALLEE: "callee";
|
|
661
|
-
readonly CALLER: "caller";
|
|
662
|
-
};
|
|
663
|
-
/**
|
|
664
|
-
* @public
|
|
665
|
-
*/
|
|
666
|
-
export type CallTranscriptionSpeaker = typeof CallTranscriptionSpeaker[keyof typeof CallTranscriptionSpeaker];
|
|
667
420
|
/**
|
|
668
421
|
* @public
|
|
669
422
|
*/
|
|
@@ -683,7 +436,7 @@ export interface CallTranscriptionInteractionParticipantRecord {
|
|
|
683
436
|
* List of interruptions where this participant was interrupted during the conversation.
|
|
684
437
|
* @public
|
|
685
438
|
*/
|
|
686
|
-
interruptions?:
|
|
439
|
+
interruptions?: CallTranscriptionInterruption[] | undefined;
|
|
687
440
|
}
|
|
688
441
|
/**
|
|
689
442
|
* @public
|
|
@@ -723,33 +476,8 @@ export interface CallTranscriptionInteractionRecord {
|
|
|
723
476
|
* Detailed statistics for each call participant.
|
|
724
477
|
* @public
|
|
725
478
|
*/
|
|
726
|
-
participants?:
|
|
727
|
-
}
|
|
728
|
-
/**
|
|
729
|
-
* @public
|
|
730
|
-
*/
|
|
731
|
-
export declare class CallTranscriptionNotFoundException extends __BaseException {
|
|
732
|
-
readonly name: "CallTranscriptionNotFoundException";
|
|
733
|
-
readonly $fault: "client";
|
|
734
|
-
/**
|
|
735
|
-
* @internal
|
|
736
|
-
*/
|
|
737
|
-
constructor(opts: __ExceptionOptionType<CallTranscriptionNotFoundException, __BaseException>);
|
|
479
|
+
participants?: CallTranscriptionInteractionParticipantRecord[] | undefined;
|
|
738
480
|
}
|
|
739
|
-
/**
|
|
740
|
-
* @public
|
|
741
|
-
* @enum
|
|
742
|
-
*/
|
|
743
|
-
export declare const TranscriptionSentiment: {
|
|
744
|
-
readonly MIXED: "MIXED";
|
|
745
|
-
readonly NEGATIVE: "NEGATIVE";
|
|
746
|
-
readonly NEUTRAL: "NEUTRAL";
|
|
747
|
-
readonly POSITIVE: "POSITIVE";
|
|
748
|
-
};
|
|
749
|
-
/**
|
|
750
|
-
* @public
|
|
751
|
-
*/
|
|
752
|
-
export type TranscriptionSentiment = typeof TranscriptionSentiment[keyof typeof TranscriptionSentiment];
|
|
753
481
|
/**
|
|
754
482
|
* @public
|
|
755
483
|
*/
|
|
@@ -781,23 +509,12 @@ export interface CallTranscriptionRecord {
|
|
|
781
509
|
pbx: string;
|
|
782
510
|
time: number;
|
|
783
511
|
company: string;
|
|
784
|
-
licenses:
|
|
512
|
+
licenses: License[];
|
|
785
513
|
type: RecordType;
|
|
786
514
|
flowIndex: number;
|
|
787
515
|
flowStartTime: number;
|
|
788
516
|
callStartTime: number;
|
|
789
|
-
chunks:
|
|
790
|
-
}
|
|
791
|
-
/**
|
|
792
|
-
* @public
|
|
793
|
-
*/
|
|
794
|
-
export declare class ChatAnnotationsNotFoundException extends __BaseException {
|
|
795
|
-
readonly name: "ChatAnnotationsNotFoundException";
|
|
796
|
-
readonly $fault: "client";
|
|
797
|
-
/**
|
|
798
|
-
* @internal
|
|
799
|
-
*/
|
|
800
|
-
constructor(opts: __ExceptionOptionType<ChatAnnotationsNotFoundException, __BaseException>);
|
|
517
|
+
chunks: CallTranscriptionChunk[];
|
|
801
518
|
}
|
|
802
519
|
/**
|
|
803
520
|
* @public
|
|
@@ -816,31 +533,8 @@ export interface ChatAnnotationsRecord {
|
|
|
816
533
|
time: number;
|
|
817
534
|
company: string;
|
|
818
535
|
type: RecordType;
|
|
819
|
-
annotations:
|
|
820
|
-
}
|
|
821
|
-
/**
|
|
822
|
-
* @public
|
|
823
|
-
*/
|
|
824
|
-
export declare class ChatNotFoundException extends __BaseException {
|
|
825
|
-
readonly name: "ChatNotFoundException";
|
|
826
|
-
readonly $fault: "client";
|
|
827
|
-
/**
|
|
828
|
-
* @internal
|
|
829
|
-
*/
|
|
830
|
-
constructor(opts: __ExceptionOptionType<ChatNotFoundException, __BaseException>);
|
|
536
|
+
annotations: Annotation[];
|
|
831
537
|
}
|
|
832
|
-
/**
|
|
833
|
-
* @public
|
|
834
|
-
* @enum
|
|
835
|
-
*/
|
|
836
|
-
export declare const ChannelAccess: {
|
|
837
|
-
readonly PRIVATE: "private";
|
|
838
|
-
readonly PUBLIC: "public";
|
|
839
|
-
};
|
|
840
|
-
/**
|
|
841
|
-
* @public
|
|
842
|
-
*/
|
|
843
|
-
export type ChannelAccess = typeof ChannelAccess[keyof typeof ChannelAccess];
|
|
844
538
|
/**
|
|
845
539
|
* @public
|
|
846
540
|
*/
|
|
@@ -863,32 +557,6 @@ export interface User {
|
|
|
863
557
|
createdAt?: string | undefined;
|
|
864
558
|
updatedAt?: string | undefined;
|
|
865
559
|
}
|
|
866
|
-
/**
|
|
867
|
-
* @public
|
|
868
|
-
* @enum
|
|
869
|
-
*/
|
|
870
|
-
export declare const ChannelType: {
|
|
871
|
-
readonly DIRECT: "direct";
|
|
872
|
-
readonly GROUP: "group";
|
|
873
|
-
};
|
|
874
|
-
/**
|
|
875
|
-
* @public
|
|
876
|
-
*/
|
|
877
|
-
export type ChannelType = typeof ChannelType[keyof typeof ChannelType];
|
|
878
|
-
/**
|
|
879
|
-
* @public
|
|
880
|
-
* @enum
|
|
881
|
-
*/
|
|
882
|
-
export declare const ChannelContextEventAttendeeStatus: {
|
|
883
|
-
readonly ACCEPTED: "accepted";
|
|
884
|
-
readonly DECLINED: "declined";
|
|
885
|
-
readonly NONE: "none";
|
|
886
|
-
readonly TENTATIVE: "tentative";
|
|
887
|
-
};
|
|
888
|
-
/**
|
|
889
|
-
* @public
|
|
890
|
-
*/
|
|
891
|
-
export type ChannelContextEventAttendeeStatus = typeof ChannelContextEventAttendeeStatus[keyof typeof ChannelContextEventAttendeeStatus];
|
|
892
560
|
/**
|
|
893
561
|
* @public
|
|
894
562
|
*/
|
|
@@ -906,7 +574,7 @@ export interface ChannelContextEvent {
|
|
|
906
574
|
start?: string | undefined;
|
|
907
575
|
end?: string | undefined;
|
|
908
576
|
summary?: string | undefined;
|
|
909
|
-
attendees?:
|
|
577
|
+
attendees?: ChannelContextEventAttendee[] | undefined;
|
|
910
578
|
}
|
|
911
579
|
/**
|
|
912
580
|
* @public
|
|
@@ -918,37 +586,15 @@ export interface ChannelContextPushToTalk {
|
|
|
918
586
|
*/
|
|
919
587
|
broadcastId?: string | undefined;
|
|
920
588
|
}
|
|
921
|
-
/**
|
|
922
|
-
* @public
|
|
923
|
-
* @enum
|
|
924
|
-
*/
|
|
925
|
-
export declare const ChannelContextSource: {
|
|
926
|
-
readonly KITE: "kite";
|
|
927
|
-
};
|
|
928
|
-
/**
|
|
929
|
-
* @public
|
|
930
|
-
*/
|
|
931
|
-
export type ChannelContextSource = typeof ChannelContextSource[keyof typeof ChannelContextSource];
|
|
932
589
|
/**
|
|
933
590
|
* @public
|
|
934
591
|
*/
|
|
935
592
|
export interface ChannelContext {
|
|
936
593
|
source?: ChannelContextSource | undefined;
|
|
937
594
|
target?: string | undefined;
|
|
938
|
-
events?:
|
|
595
|
+
events?: ChannelContextEvent[] | undefined;
|
|
939
596
|
ptt?: ChannelContextPushToTalk | undefined;
|
|
940
597
|
}
|
|
941
|
-
/**
|
|
942
|
-
* @public
|
|
943
|
-
* @enum
|
|
944
|
-
*/
|
|
945
|
-
export declare const ChannelWhatsAppStatus: {
|
|
946
|
-
readonly CHANNEL_CLOSED: "24h_channel_closed";
|
|
947
|
-
};
|
|
948
|
-
/**
|
|
949
|
-
* @public
|
|
950
|
-
*/
|
|
951
|
-
export type ChannelWhatsAppStatus = typeof ChannelWhatsAppStatus[keyof typeof ChannelWhatsAppStatus];
|
|
952
598
|
/**
|
|
953
599
|
* @public
|
|
954
600
|
*/
|
|
@@ -995,43 +641,6 @@ export interface Channel {
|
|
|
995
641
|
createdBy: string;
|
|
996
642
|
updatedAt?: string | undefined;
|
|
997
643
|
}
|
|
998
|
-
/**
|
|
999
|
-
* @public
|
|
1000
|
-
* @enum
|
|
1001
|
-
*/
|
|
1002
|
-
export declare const ChatDirection: {
|
|
1003
|
-
readonly INBOUND: "INBOUND";
|
|
1004
|
-
readonly INTERNAL: "INTERNAL";
|
|
1005
|
-
readonly OUTBOUND: "OUTBOUND";
|
|
1006
|
-
};
|
|
1007
|
-
/**
|
|
1008
|
-
* @public
|
|
1009
|
-
*/
|
|
1010
|
-
export type ChatDirection = typeof ChatDirection[keyof typeof ChatDirection];
|
|
1011
|
-
/**
|
|
1012
|
-
* @public
|
|
1013
|
-
* @enum
|
|
1014
|
-
*/
|
|
1015
|
-
export declare const ChatParticipantRole: {
|
|
1016
|
-
readonly AGENT: "AGENT";
|
|
1017
|
-
readonly CLIENT: "CLIENT";
|
|
1018
|
-
};
|
|
1019
|
-
/**
|
|
1020
|
-
* @public
|
|
1021
|
-
*/
|
|
1022
|
-
export type ChatParticipantRole = typeof ChatParticipantRole[keyof typeof ChatParticipantRole];
|
|
1023
|
-
/**
|
|
1024
|
-
* @public
|
|
1025
|
-
* @enum
|
|
1026
|
-
*/
|
|
1027
|
-
export declare const ChatParticipantType: {
|
|
1028
|
-
readonly LOCAL: "LOCAL";
|
|
1029
|
-
readonly REMOTE: "REMOTE";
|
|
1030
|
-
};
|
|
1031
|
-
/**
|
|
1032
|
-
* @public
|
|
1033
|
-
*/
|
|
1034
|
-
export type ChatParticipantType = typeof ChatParticipantType[keyof typeof ChatParticipantType];
|
|
1035
644
|
/**
|
|
1036
645
|
* @public
|
|
1037
646
|
*/
|
|
@@ -1063,34 +672,6 @@ export interface ChatParticipant {
|
|
|
1063
672
|
id: string;
|
|
1064
673
|
info: ChatParticipantInfo;
|
|
1065
674
|
}
|
|
1066
|
-
/**
|
|
1067
|
-
* @public
|
|
1068
|
-
* @enum
|
|
1069
|
-
*/
|
|
1070
|
-
export declare const ChatStatus: {
|
|
1071
|
-
readonly COMPLETED: "COMPLETED";
|
|
1072
|
-
readonly MISSED: "MISSED";
|
|
1073
|
-
readonly WAITFIRSTREPLY: "WAITFIRSTREPLY";
|
|
1074
|
-
readonly WAITREPLYFROMAGENT: "WAITREPLYFROMAGENT";
|
|
1075
|
-
readonly WAITREPLYFROMGUEST: "WAITREPLYFROMGUEST";
|
|
1076
|
-
};
|
|
1077
|
-
/**
|
|
1078
|
-
* @public
|
|
1079
|
-
*/
|
|
1080
|
-
export type ChatStatus = typeof ChatStatus[keyof typeof ChatStatus];
|
|
1081
|
-
/**
|
|
1082
|
-
* @public
|
|
1083
|
-
* @enum
|
|
1084
|
-
*/
|
|
1085
|
-
export declare const ChatTag: {
|
|
1086
|
-
readonly SMS: "sms";
|
|
1087
|
-
readonly TELEPHONY: "telephony";
|
|
1088
|
-
readonly WHATSAPP: "whatsapp";
|
|
1089
|
-
};
|
|
1090
|
-
/**
|
|
1091
|
-
* @public
|
|
1092
|
-
*/
|
|
1093
|
-
export type ChatTag = typeof ChatTag[keyof typeof ChatTag];
|
|
1094
675
|
/**
|
|
1095
676
|
* @public
|
|
1096
677
|
*/
|
|
@@ -1116,24 +697,13 @@ export interface ChatRecord {
|
|
|
1116
697
|
subject?: string | undefined;
|
|
1117
698
|
service?: string | undefined;
|
|
1118
699
|
serviceTitle?: string | undefined;
|
|
1119
|
-
tags?:
|
|
700
|
+
tags?: ChatTag[] | undefined;
|
|
1120
701
|
channel: Channel;
|
|
1121
702
|
status?: ChatStatus | undefined;
|
|
1122
|
-
participants:
|
|
703
|
+
participants: ChatParticipant[];
|
|
1123
704
|
annotationsStatus?: AnnotationsStatus | undefined;
|
|
1124
705
|
type: RecordType;
|
|
1125
706
|
}
|
|
1126
|
-
/**
|
|
1127
|
-
* @public
|
|
1128
|
-
*/
|
|
1129
|
-
export declare class ChatTranscriptionNotFoundException extends __BaseException {
|
|
1130
|
-
readonly name: "ChatTranscriptionNotFoundException";
|
|
1131
|
-
readonly $fault: "client";
|
|
1132
|
-
/**
|
|
1133
|
-
* @internal
|
|
1134
|
-
*/
|
|
1135
|
-
constructor(opts: __ExceptionOptionType<ChatTranscriptionNotFoundException, __BaseException>);
|
|
1136
|
-
}
|
|
1137
707
|
/**
|
|
1138
708
|
* @public
|
|
1139
709
|
*/
|
|
@@ -1208,26 +778,17 @@ export declare namespace ButtonHandler {
|
|
|
1208
778
|
action?: never;
|
|
1209
779
|
$unknown: [string, any];
|
|
1210
780
|
}
|
|
781
|
+
/**
|
|
782
|
+
* @deprecated unused in schema-serde mode.
|
|
783
|
+
*
|
|
784
|
+
*/
|
|
1211
785
|
interface Visitor<T> {
|
|
1212
786
|
link: (value: ButtonLinkHandler) => T;
|
|
1213
787
|
reply: (value: ButtonReplyHandler) => T;
|
|
1214
788
|
action: (value: ButtonActionHandler) => T;
|
|
1215
789
|
_: (name: string, value: any) => T;
|
|
1216
790
|
}
|
|
1217
|
-
const visit: <T>(value: ButtonHandler, visitor: Visitor<T>) => T;
|
|
1218
791
|
}
|
|
1219
|
-
/**
|
|
1220
|
-
* @public
|
|
1221
|
-
* @enum
|
|
1222
|
-
*/
|
|
1223
|
-
export declare const ButtonVariant: {
|
|
1224
|
-
readonly CONTAINED: "contained";
|
|
1225
|
-
readonly OUTLINED: "outlined";
|
|
1226
|
-
};
|
|
1227
|
-
/**
|
|
1228
|
-
* @public
|
|
1229
|
-
*/
|
|
1230
|
-
export type ButtonVariant = typeof ButtonVariant[keyof typeof ButtonVariant];
|
|
1231
792
|
/**
|
|
1232
793
|
* @public
|
|
1233
794
|
*/
|
|
@@ -1256,11 +817,14 @@ export declare namespace ActionElement {
|
|
|
1256
817
|
button?: never;
|
|
1257
818
|
$unknown: [string, any];
|
|
1258
819
|
}
|
|
820
|
+
/**
|
|
821
|
+
* @deprecated unused in schema-serde mode.
|
|
822
|
+
*
|
|
823
|
+
*/
|
|
1259
824
|
interface Visitor<T> {
|
|
1260
825
|
button: (value: ButtonElement) => T;
|
|
1261
826
|
_: (name: string, value: any) => T;
|
|
1262
827
|
}
|
|
1263
|
-
const visit: <T>(value: ActionElement, visitor: Visitor<T>) => T;
|
|
1264
828
|
}
|
|
1265
829
|
/**
|
|
1266
830
|
* @public
|
|
@@ -1283,7 +847,7 @@ export declare namespace Element {
|
|
|
1283
847
|
}
|
|
1284
848
|
interface ActionsMember {
|
|
1285
849
|
template?: never;
|
|
1286
|
-
actions:
|
|
850
|
+
actions: ActionElement[];
|
|
1287
851
|
$unknown?: never;
|
|
1288
852
|
}
|
|
1289
853
|
/**
|
|
@@ -1294,12 +858,15 @@ export declare namespace Element {
|
|
|
1294
858
|
actions?: never;
|
|
1295
859
|
$unknown: [string, any];
|
|
1296
860
|
}
|
|
861
|
+
/**
|
|
862
|
+
* @deprecated unused in schema-serde mode.
|
|
863
|
+
*
|
|
864
|
+
*/
|
|
1297
865
|
interface Visitor<T> {
|
|
1298
866
|
template: (value: MessageTemplateConfig) => T;
|
|
1299
|
-
actions: (value:
|
|
867
|
+
actions: (value: ActionElement[]) => T;
|
|
1300
868
|
_: (name: string, value: any) => T;
|
|
1301
869
|
}
|
|
1302
|
-
const visit: <T>(value: Element, visitor: Visitor<T>) => T;
|
|
1303
870
|
}
|
|
1304
871
|
/**
|
|
1305
872
|
* @public
|
|
@@ -1339,61 +906,20 @@ export interface MessageQuote {
|
|
|
1339
906
|
channelId: string;
|
|
1340
907
|
user: User;
|
|
1341
908
|
text?: string | undefined;
|
|
1342
|
-
attachments?:
|
|
909
|
+
attachments?: MessageAttachment[] | undefined;
|
|
1343
910
|
forward?: MessageForward | undefined;
|
|
1344
|
-
mentions?:
|
|
911
|
+
mentions?: User[] | undefined;
|
|
1345
912
|
giphy?: MessageGiphy | undefined;
|
|
1346
913
|
createdAt: string;
|
|
1347
914
|
updatedAt?: string | undefined;
|
|
1348
915
|
}
|
|
1349
|
-
/**
|
|
1350
|
-
* @public
|
|
1351
|
-
* @enum
|
|
1352
|
-
*/
|
|
1353
|
-
export declare const MessageSmsStatus: {
|
|
1354
|
-
readonly DELIVERED: "delivered";
|
|
1355
|
-
readonly ERROR: "error";
|
|
1356
|
-
readonly SENT: "sent";
|
|
1357
|
-
readonly TRYING: "trying";
|
|
1358
|
-
};
|
|
1359
|
-
/**
|
|
1360
|
-
* @public
|
|
1361
|
-
*/
|
|
1362
|
-
export type MessageSmsStatus = typeof MessageSmsStatus[keyof typeof MessageSmsStatus];
|
|
1363
|
-
/**
|
|
1364
|
-
* @public
|
|
1365
|
-
* @enum
|
|
1366
|
-
*/
|
|
1367
|
-
export declare const MessageType: {
|
|
1368
|
-
readonly DELETED: "deleted";
|
|
1369
|
-
readonly REGULAR: "regular";
|
|
1370
|
-
readonly SYSTEM: "system";
|
|
1371
|
-
};
|
|
1372
|
-
/**
|
|
1373
|
-
* @public
|
|
1374
|
-
*/
|
|
1375
|
-
export type MessageType = typeof MessageType[keyof typeof MessageType];
|
|
1376
|
-
/**
|
|
1377
|
-
* @public
|
|
1378
|
-
* @enum
|
|
1379
|
-
*/
|
|
1380
|
-
export declare const MessageWhatsAppStatus: {
|
|
1381
|
-
readonly DELIVERED: "delivered";
|
|
1382
|
-
readonly ERROR: "error";
|
|
1383
|
-
readonly SENT: "sent";
|
|
1384
|
-
readonly TRYING: "trying";
|
|
1385
|
-
};
|
|
1386
|
-
/**
|
|
1387
|
-
* @public
|
|
1388
|
-
*/
|
|
1389
|
-
export type MessageWhatsAppStatus = typeof MessageWhatsAppStatus[keyof typeof MessageWhatsAppStatus];
|
|
1390
916
|
/**
|
|
1391
917
|
* @public
|
|
1392
918
|
*/
|
|
1393
919
|
export interface Message {
|
|
1394
920
|
text?: string | undefined;
|
|
1395
|
-
elements?:
|
|
1396
|
-
attachments?:
|
|
921
|
+
elements?: Element[] | undefined;
|
|
922
|
+
attachments?: MessageAttachment[] | undefined;
|
|
1397
923
|
quote?: MessageQuote | undefined;
|
|
1398
924
|
forward?: MessageForward | undefined;
|
|
1399
925
|
whatsapp?: boolean | undefined;
|
|
@@ -1409,8 +935,8 @@ export interface Message {
|
|
|
1409
935
|
channelId: string;
|
|
1410
936
|
user: User;
|
|
1411
937
|
edit?: boolean | undefined;
|
|
1412
|
-
mentions?:
|
|
1413
|
-
latestReactions?:
|
|
938
|
+
mentions?: User[] | undefined;
|
|
939
|
+
latestReactions?: Reaction[] | undefined;
|
|
1414
940
|
reactionCounts?: Record<string, number> | undefined;
|
|
1415
941
|
createdAt: string;
|
|
1416
942
|
updatedAt?: string | undefined;
|
|
@@ -1432,18 +958,7 @@ export interface ChatTranscriptionRecord {
|
|
|
1432
958
|
time: number;
|
|
1433
959
|
company: string;
|
|
1434
960
|
type: RecordType;
|
|
1435
|
-
messages:
|
|
1436
|
-
}
|
|
1437
|
-
/**
|
|
1438
|
-
* @public
|
|
1439
|
-
*/
|
|
1440
|
-
export declare class ConferenceAnnotationsNotFoundException extends __BaseException {
|
|
1441
|
-
readonly name: "ConferenceAnnotationsNotFoundException";
|
|
1442
|
-
readonly $fault: "client";
|
|
1443
|
-
/**
|
|
1444
|
-
* @internal
|
|
1445
|
-
*/
|
|
1446
|
-
constructor(opts: __ExceptionOptionType<ConferenceAnnotationsNotFoundException, __BaseException>);
|
|
961
|
+
messages: Message[];
|
|
1447
962
|
}
|
|
1448
963
|
/**
|
|
1449
964
|
* @public
|
|
@@ -1453,74 +968,8 @@ export interface ConferenceAnnotationsRecord {
|
|
|
1453
968
|
time: number;
|
|
1454
969
|
company: string;
|
|
1455
970
|
type: RecordType;
|
|
1456
|
-
annotations:
|
|
971
|
+
annotations: Annotation[];
|
|
1457
972
|
}
|
|
1458
|
-
/**
|
|
1459
|
-
* @public
|
|
1460
|
-
*/
|
|
1461
|
-
export declare class ConferenceNotFoundException extends __BaseException {
|
|
1462
|
-
readonly name: "ConferenceNotFoundException";
|
|
1463
|
-
readonly $fault: "client";
|
|
1464
|
-
/**
|
|
1465
|
-
* @internal
|
|
1466
|
-
*/
|
|
1467
|
-
constructor(opts: __ExceptionOptionType<ConferenceNotFoundException, __BaseException>);
|
|
1468
|
-
}
|
|
1469
|
-
/**
|
|
1470
|
-
* @public
|
|
1471
|
-
* @enum
|
|
1472
|
-
*/
|
|
1473
|
-
export declare const ConferenceDirection: {
|
|
1474
|
-
readonly INBOUND: "INBOUND";
|
|
1475
|
-
readonly INTERNAL: "INTERNAL";
|
|
1476
|
-
readonly OUTBOUND: "OUTBOUND";
|
|
1477
|
-
};
|
|
1478
|
-
/**
|
|
1479
|
-
* @public
|
|
1480
|
-
*/
|
|
1481
|
-
export type ConferenceDirection = typeof ConferenceDirection[keyof typeof ConferenceDirection];
|
|
1482
|
-
/**
|
|
1483
|
-
* @public
|
|
1484
|
-
* @enum
|
|
1485
|
-
*/
|
|
1486
|
-
export declare const PbxLicenseType: {
|
|
1487
|
-
readonly BASIC: "basic";
|
|
1488
|
-
readonly BUSINESS: "business";
|
|
1489
|
-
readonly ESSENTIAL: "essential";
|
|
1490
|
-
readonly PREMIUM: "premium";
|
|
1491
|
-
readonly WIZYCONF: "wizyconf";
|
|
1492
|
-
};
|
|
1493
|
-
/**
|
|
1494
|
-
* @public
|
|
1495
|
-
*/
|
|
1496
|
-
export type PbxLicenseType = typeof PbxLicenseType[keyof typeof PbxLicenseType];
|
|
1497
|
-
/**
|
|
1498
|
-
* @public
|
|
1499
|
-
* @enum
|
|
1500
|
-
*/
|
|
1501
|
-
export declare const ConferenceParticipantRole: {
|
|
1502
|
-
readonly AGENT: "AGENT";
|
|
1503
|
-
readonly CLIENT: "CLIENT";
|
|
1504
|
-
};
|
|
1505
|
-
/**
|
|
1506
|
-
* @public
|
|
1507
|
-
*/
|
|
1508
|
-
export type ConferenceParticipantRole = typeof ConferenceParticipantRole[keyof typeof ConferenceParticipantRole];
|
|
1509
|
-
/**
|
|
1510
|
-
* @public
|
|
1511
|
-
* @enum
|
|
1512
|
-
*/
|
|
1513
|
-
export declare const ConferenceParticipantType: {
|
|
1514
|
-
readonly EXTERNAL: "EXTERNAL";
|
|
1515
|
-
readonly EXTERNAL_DIAL_IN: "EXTERNAL_DIAL_IN";
|
|
1516
|
-
readonly PBX: "PBX";
|
|
1517
|
-
readonly PBX_SIP: "PBX_SIP";
|
|
1518
|
-
readonly XBS: "XBS";
|
|
1519
|
-
};
|
|
1520
|
-
/**
|
|
1521
|
-
* @public
|
|
1522
|
-
*/
|
|
1523
|
-
export type ConferenceParticipantType = typeof ConferenceParticipantType[keyof typeof ConferenceParticipantType];
|
|
1524
973
|
/**
|
|
1525
974
|
* @public
|
|
1526
975
|
*/
|
|
@@ -1561,19 +1010,6 @@ export interface ConferenceRecording {
|
|
|
1561
1010
|
start: number;
|
|
1562
1011
|
end: number;
|
|
1563
1012
|
}
|
|
1564
|
-
/**
|
|
1565
|
-
* @public
|
|
1566
|
-
* @enum
|
|
1567
|
-
*/
|
|
1568
|
-
export declare const ConferenceTranscriptionStatus: {
|
|
1569
|
-
readonly AVAILABLE: "AVAILABLE";
|
|
1570
|
-
readonly POST_TRANSCRIPTION: "POST_TRANSCRIPTION";
|
|
1571
|
-
readonly UNAVAILABLE: "UNAVAILABLE";
|
|
1572
|
-
};
|
|
1573
|
-
/**
|
|
1574
|
-
* @public
|
|
1575
|
-
*/
|
|
1576
|
-
export type ConferenceTranscriptionStatus = typeof ConferenceTranscriptionStatus[keyof typeof ConferenceTranscriptionStatus];
|
|
1577
1013
|
/**
|
|
1578
1014
|
* @public
|
|
1579
1015
|
*/
|
|
@@ -1590,8 +1026,8 @@ export interface ConferenceRecord {
|
|
|
1590
1026
|
direction: ConferenceDirection;
|
|
1591
1027
|
service?: string | undefined;
|
|
1592
1028
|
status?: ConversationStatus | undefined;
|
|
1593
|
-
participants:
|
|
1594
|
-
recordings?:
|
|
1029
|
+
participants: ConferenceAnalyticsRecordParticipant[];
|
|
1030
|
+
recordings?: ConferenceRecording[] | undefined;
|
|
1595
1031
|
transcriptionStatus: ConferenceTranscriptionStatus;
|
|
1596
1032
|
transcriptionLanguage?: string | undefined;
|
|
1597
1033
|
transcriptionSeconds?: number | undefined;
|
|
@@ -1622,7 +1058,7 @@ export interface ConferenceTranscriptionChunk {
|
|
|
1622
1058
|
export interface ConferenceTranscription {
|
|
1623
1059
|
start: number;
|
|
1624
1060
|
end: number;
|
|
1625
|
-
chunks:
|
|
1061
|
+
chunks: ConferenceTranscriptionChunk[];
|
|
1626
1062
|
}
|
|
1627
1063
|
/**
|
|
1628
1064
|
* @public
|
|
@@ -1637,7 +1073,7 @@ export interface ConferenceTranscriptionInterruption {
|
|
|
1637
1073
|
* IDs of the conversation chunks involved in the interruption, including both the interrupting and interrupted speakers.
|
|
1638
1074
|
* @public
|
|
1639
1075
|
*/
|
|
1640
|
-
chunks:
|
|
1076
|
+
chunks: string[];
|
|
1641
1077
|
}
|
|
1642
1078
|
/**
|
|
1643
1079
|
* @public
|
|
@@ -1662,7 +1098,7 @@ export interface ConferenceTranscriptionInteractionParticipantRecord {
|
|
|
1662
1098
|
* List of interruptions where this participant interrupted or was interrupted during the conversation.
|
|
1663
1099
|
* @public
|
|
1664
1100
|
*/
|
|
1665
|
-
interruptions?:
|
|
1101
|
+
interruptions?: ConferenceTranscriptionInterruption[] | undefined;
|
|
1666
1102
|
}
|
|
1667
1103
|
/**
|
|
1668
1104
|
* @public
|
|
@@ -1702,18 +1138,7 @@ export interface ConferenceTranscriptionInteractionRecord {
|
|
|
1702
1138
|
* Detailed statistics for each participant in the call.
|
|
1703
1139
|
* @public
|
|
1704
1140
|
*/
|
|
1705
|
-
participants?:
|
|
1706
|
-
}
|
|
1707
|
-
/**
|
|
1708
|
-
* @public
|
|
1709
|
-
*/
|
|
1710
|
-
export declare class ConferenceTranscriptionNotFoundException extends __BaseException {
|
|
1711
|
-
readonly name: "ConferenceTranscriptionNotFoundException";
|
|
1712
|
-
readonly $fault: "client";
|
|
1713
|
-
/**
|
|
1714
|
-
* @internal
|
|
1715
|
-
*/
|
|
1716
|
-
constructor(opts: __ExceptionOptionType<ConferenceTranscriptionNotFoundException, __BaseException>);
|
|
1141
|
+
participants?: ConferenceTranscriptionInteractionParticipantRecord[] | undefined;
|
|
1717
1142
|
}
|
|
1718
1143
|
/**
|
|
1719
1144
|
* @public
|
|
@@ -1723,7 +1148,7 @@ export interface ConferenceTranscriptionRecord {
|
|
|
1723
1148
|
time: number;
|
|
1724
1149
|
company: string;
|
|
1725
1150
|
type: RecordType;
|
|
1726
|
-
transcriptions:
|
|
1151
|
+
transcriptions: ConferenceTranscription[];
|
|
1727
1152
|
}
|
|
1728
1153
|
/**
|
|
1729
1154
|
* @public
|
|
@@ -1751,12 +1176,15 @@ export declare namespace Conversation {
|
|
|
1751
1176
|
conference?: never;
|
|
1752
1177
|
$unknown: [string, any];
|
|
1753
1178
|
}
|
|
1179
|
+
/**
|
|
1180
|
+
* @deprecated unused in schema-serde mode.
|
|
1181
|
+
*
|
|
1182
|
+
*/
|
|
1754
1183
|
interface Visitor<T> {
|
|
1755
1184
|
call: (value: CallRecord) => T;
|
|
1756
1185
|
conference: (value: ConferenceRecord) => T;
|
|
1757
1186
|
_: (name: string, value: any) => T;
|
|
1758
1187
|
}
|
|
1759
|
-
const visit: <T>(value: Conversation, visitor: Visitor<T>) => T;
|
|
1760
1188
|
}
|
|
1761
1189
|
/**
|
|
1762
1190
|
* @public
|
|
@@ -1829,7 +1257,7 @@ export interface TranscriptionTextChunk {
|
|
|
1829
1257
|
export interface GetCallTranscriptionTextOutput {
|
|
1830
1258
|
filename: string;
|
|
1831
1259
|
text: string;
|
|
1832
|
-
chunks:
|
|
1260
|
+
chunks: TranscriptionTextChunk[];
|
|
1833
1261
|
}
|
|
1834
1262
|
/**
|
|
1835
1263
|
* @public
|
|
@@ -1899,7 +1327,7 @@ export interface GetChatTranscriptionTextInput {
|
|
|
1899
1327
|
export interface GetChatTranscriptionTextOutput {
|
|
1900
1328
|
filename: string;
|
|
1901
1329
|
text: string;
|
|
1902
|
-
messages:
|
|
1330
|
+
messages: Message[];
|
|
1903
1331
|
}
|
|
1904
1332
|
/**
|
|
1905
1333
|
* @public
|
|
@@ -1958,43 +1386,18 @@ export interface GetConferenceTranscriptionTextInput {
|
|
|
1958
1386
|
export interface GetConferenceTranscriptionTextOutput {
|
|
1959
1387
|
filename: string;
|
|
1960
1388
|
text: string;
|
|
1961
|
-
chunks:
|
|
1389
|
+
chunks: TranscriptionTextChunk[];
|
|
1962
1390
|
}
|
|
1963
|
-
/**
|
|
1964
|
-
* @public
|
|
1965
|
-
* @enum
|
|
1966
|
-
*/
|
|
1967
|
-
export declare const ConversationDirection: {
|
|
1968
|
-
readonly INBOUND: "INBOUND";
|
|
1969
|
-
readonly INTERNAL: "INTERNAL";
|
|
1970
|
-
readonly OUTBOUND: "OUTBOUND";
|
|
1971
|
-
};
|
|
1972
|
-
/**
|
|
1973
|
-
* @public
|
|
1974
|
-
*/
|
|
1975
|
-
export type ConversationDirection = typeof ConversationDirection[keyof typeof ConversationDirection];
|
|
1976
|
-
/**
|
|
1977
|
-
* @public
|
|
1978
|
-
* @enum
|
|
1979
|
-
*/
|
|
1980
|
-
export declare const ConversationFlag: {
|
|
1981
|
-
readonly FAX: "FAX";
|
|
1982
|
-
readonly VOICEMAIL: "VOICEMAIL";
|
|
1983
|
-
};
|
|
1984
|
-
/**
|
|
1985
|
-
* @public
|
|
1986
|
-
*/
|
|
1987
|
-
export type ConversationFlag = typeof ConversationFlag[keyof typeof ConversationFlag];
|
|
1988
1391
|
/**
|
|
1989
1392
|
* @public
|
|
1990
1393
|
*/
|
|
1991
1394
|
export interface QueryConversationsFilter {
|
|
1992
1395
|
direction?: ConversationDirection | undefined;
|
|
1993
|
-
flags?:
|
|
1396
|
+
flags?: ConversationFlag[] | undefined;
|
|
1994
1397
|
status?: ConversationStatus | undefined;
|
|
1995
1398
|
from?: Date | undefined;
|
|
1996
1399
|
to?: Date | undefined;
|
|
1997
|
-
tags?:
|
|
1400
|
+
tags?: string[] | undefined;
|
|
1998
1401
|
search?: string | undefined;
|
|
1999
1402
|
hasAttachment?: boolean | undefined;
|
|
2000
1403
|
}
|
|
@@ -2028,30 +1431,18 @@ export interface QueryConversationsInput {
|
|
|
2028
1431
|
* @public
|
|
2029
1432
|
*/
|
|
2030
1433
|
export interface QueryConversationsOutput {
|
|
2031
|
-
conversations:
|
|
1434
|
+
conversations: Conversation[];
|
|
2032
1435
|
}
|
|
2033
|
-
/**
|
|
2034
|
-
* @public
|
|
2035
|
-
* @enum
|
|
2036
|
-
*/
|
|
2037
|
-
export declare const ConversationUserDirection: {
|
|
2038
|
-
readonly INCOMING: "INCOMING";
|
|
2039
|
-
readonly OUTGOING: "OUTGOING";
|
|
2040
|
-
};
|
|
2041
|
-
/**
|
|
2042
|
-
* @public
|
|
2043
|
-
*/
|
|
2044
|
-
export type ConversationUserDirection = typeof ConversationUserDirection[keyof typeof ConversationUserDirection];
|
|
2045
1436
|
/**
|
|
2046
1437
|
* @public
|
|
2047
1438
|
*/
|
|
2048
1439
|
export interface QueryUserCallsFilter {
|
|
2049
1440
|
direction?: ConversationDirection | undefined;
|
|
2050
|
-
flags?:
|
|
1441
|
+
flags?: ConversationFlag[] | undefined;
|
|
2051
1442
|
status?: ConversationStatus | undefined;
|
|
2052
1443
|
from?: Date | undefined;
|
|
2053
1444
|
to?: Date | undefined;
|
|
2054
|
-
tags?:
|
|
1445
|
+
tags?: string[] | undefined;
|
|
2055
1446
|
search?: string | undefined;
|
|
2056
1447
|
hasAttachment?: boolean | undefined;
|
|
2057
1448
|
userDirection?: ConversationUserDirection | undefined;
|
|
@@ -2086,7 +1477,7 @@ export interface QueryUserCallsInput {
|
|
|
2086
1477
|
* @public
|
|
2087
1478
|
*/
|
|
2088
1479
|
export interface QueryUserCallsOutput {
|
|
2089
|
-
calls:
|
|
1480
|
+
calls: CallRecord[];
|
|
2090
1481
|
}
|
|
2091
1482
|
/**
|
|
2092
1483
|
* @public
|
|
@@ -2099,7 +1490,7 @@ export interface UpdateCallInput {
|
|
|
2099
1490
|
companyId?: string | undefined;
|
|
2100
1491
|
callId: string;
|
|
2101
1492
|
flowIndex: number;
|
|
2102
|
-
tags?:
|
|
1493
|
+
tags?: string[] | undefined;
|
|
2103
1494
|
}
|
|
2104
1495
|
/**
|
|
2105
1496
|
* @public
|