@wildix/wda-insights-client 1.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/WdaInsights.js +17 -0
- package/dist-cjs/WdaInsightsClient.js +33 -0
- package/dist-cjs/commands/GetCallSummaryCommand.js +41 -0
- package/dist-cjs/commands/GetConferenceSummaryCommand.js +41 -0
- package/dist-cjs/commands/ListConversationsCommand.js +41 -0
- package/dist-cjs/commands/index.js +6 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +10 -0
- package/dist-cjs/models/WdaInsightsServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +137 -0
- package/dist-cjs/protocols/Aws_restJson1.js +297 -0
- package/dist-cjs/runtimeConfig.browser.js +28 -0
- package/dist-cjs/runtimeConfig.js +32 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +19 -0
- package/dist-cjs/runtimeExtensions.js +19 -0
- package/dist-es/WdaInsights.js +13 -0
- package/dist-es/WdaInsightsClient.js +29 -0
- package/dist-es/commands/GetCallSummaryCommand.js +37 -0
- package/dist-es/commands/GetConferenceSummaryCommand.js +37 -0
- package/dist-es/commands/ListConversationsCommand.js +37 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +5 -0
- package/dist-es/models/WdaInsightsServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +130 -0
- package/dist-es/protocols/Aws_restJson1.js +288 -0
- package/dist-es/runtimeConfig.browser.js +24 -0
- package/dist-es/runtimeConfig.js +28 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +15 -0
- package/dist-es/runtimeExtensions.js +15 -0
- package/dist-types/WdaInsights.d.ts +30 -0
- package/dist-types/WdaInsightsClient.d.ts +139 -0
- package/dist-types/commands/GetCallSummaryCommand.d.ts +84 -0
- package/dist-types/commands/GetConferenceSummaryCommand.d.ts +83 -0
- package/dist-types/commands/ListConversationsCommand.d.ts +213 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/extensionConfiguration.d.ts +7 -0
- package/dist-types/index.d.ts +5 -0
- package/dist-types/models/WdaInsightsServiceException.d.ts +13 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +452 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +29 -0
- package/dist-types/runtimeConfig.browser.d.ts +29 -0
- package/dist-types/runtimeConfig.d.ts +29 -0
- package/dist-types/runtimeConfig.native.d.ts +28 -0
- package/dist-types/runtimeConfig.shared.d.ts +15 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/package.json +77 -0
|
@@ -0,0 +1,452 @@
|
|
|
1
|
+
import { WdaInsightsServiceException as __BaseException } from "./WdaInsightsServiceException";
|
|
2
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export declare class ForbiddenException extends __BaseException {
|
|
7
|
+
readonly name: "ForbiddenException";
|
|
8
|
+
readonly $fault: "client";
|
|
9
|
+
/**
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
12
|
+
constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
export declare class ValidationException extends __BaseException {
|
|
18
|
+
readonly name: "ValidationException";
|
|
19
|
+
readonly $fault: "client";
|
|
20
|
+
/**
|
|
21
|
+
* @internal
|
|
22
|
+
*/
|
|
23
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
export declare class CallNotFoundException extends __BaseException {
|
|
29
|
+
readonly name: "CallNotFoundException";
|
|
30
|
+
readonly $fault: "client";
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
constructor(opts: __ExceptionOptionType<CallNotFoundException, __BaseException>);
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
export interface CallFlowAttachmentDestination {
|
|
40
|
+
phone?: string;
|
|
41
|
+
name?: string;
|
|
42
|
+
email?: string;
|
|
43
|
+
userId?: string;
|
|
44
|
+
userExtension?: string;
|
|
45
|
+
userDepartment?: string;
|
|
46
|
+
groupId?: string;
|
|
47
|
+
groupName?: string;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* @public
|
|
51
|
+
* @enum
|
|
52
|
+
*/
|
|
53
|
+
export declare const CallFlowAttachmentType: {
|
|
54
|
+
readonly FAX: "FAX";
|
|
55
|
+
readonly VOICEMAIL: "VOICEMAIL";
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
export type CallFlowAttachmentType = typeof CallFlowAttachmentType[keyof typeof CallFlowAttachmentType];
|
|
61
|
+
/**
|
|
62
|
+
* @public
|
|
63
|
+
* @enum
|
|
64
|
+
*/
|
|
65
|
+
export declare const CallParticipantRole: {
|
|
66
|
+
readonly AGENT: "AGENT";
|
|
67
|
+
readonly CLIENT: "CLIENT";
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
export type CallParticipantRole = typeof CallParticipantRole[keyof typeof CallParticipantRole];
|
|
73
|
+
/**
|
|
74
|
+
* @public
|
|
75
|
+
* @enum
|
|
76
|
+
*/
|
|
77
|
+
export declare const CallParticipantType: {
|
|
78
|
+
readonly LOCAL: "LOCAL";
|
|
79
|
+
readonly REMOTE: "REMOTE";
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
export type CallParticipantType = typeof CallParticipantType[keyof typeof CallParticipantType];
|
|
85
|
+
/**
|
|
86
|
+
* @public
|
|
87
|
+
* @enum
|
|
88
|
+
*/
|
|
89
|
+
export declare const CallDevice: {
|
|
90
|
+
readonly COLLABORATION_ANDROID: "COLLABORATION_ANDROID";
|
|
91
|
+
readonly COLLABORATION_IOS: "COLLABORATION_IOS";
|
|
92
|
+
readonly COLLABORATION_WEB: "COLLABORATION_WEB";
|
|
93
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
94
|
+
readonly WILDIX_DEVICE: "WILDIX_DEVICE";
|
|
95
|
+
readonly WILDIX_PHONE: "WILDIX_PHONE";
|
|
96
|
+
readonly XBEES_ANDROID: "XBEES_ANDROID";
|
|
97
|
+
readonly XBEES_IOS: "XBEES_IOS";
|
|
98
|
+
readonly XBEES_WEB: "XBEES_WEB";
|
|
99
|
+
};
|
|
100
|
+
/**
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
export type CallDevice = typeof CallDevice[keyof typeof CallDevice];
|
|
104
|
+
/**
|
|
105
|
+
* @public
|
|
106
|
+
*/
|
|
107
|
+
export interface CallParticipant {
|
|
108
|
+
type: CallParticipantType | string;
|
|
109
|
+
phone?: string;
|
|
110
|
+
name?: string;
|
|
111
|
+
company?: string;
|
|
112
|
+
email?: string;
|
|
113
|
+
userId?: string;
|
|
114
|
+
userExtension?: string;
|
|
115
|
+
userDepartment?: string;
|
|
116
|
+
groupId?: string;
|
|
117
|
+
groupName?: string;
|
|
118
|
+
userAgent?: string;
|
|
119
|
+
userDevice?: CallDevice | string;
|
|
120
|
+
role: CallParticipantRole | string;
|
|
121
|
+
license?: string;
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* @public
|
|
125
|
+
* @enum
|
|
126
|
+
*/
|
|
127
|
+
export declare const ConversationStatus: {
|
|
128
|
+
readonly COMPLETED: "COMPLETED";
|
|
129
|
+
readonly MISSED: "MISSED";
|
|
130
|
+
};
|
|
131
|
+
/**
|
|
132
|
+
* @public
|
|
133
|
+
*/
|
|
134
|
+
export type ConversationStatus = typeof ConversationStatus[keyof typeof ConversationStatus];
|
|
135
|
+
/**
|
|
136
|
+
* @public
|
|
137
|
+
* @enum
|
|
138
|
+
*/
|
|
139
|
+
export declare const CallDirection: {
|
|
140
|
+
readonly INBOUND: "INBOUND";
|
|
141
|
+
readonly INTERNAL: "INTERNAL";
|
|
142
|
+
readonly OUTBOUND: "OUTBOUND";
|
|
143
|
+
readonly UNDEFINED: "UNDEFINED";
|
|
144
|
+
};
|
|
145
|
+
/**
|
|
146
|
+
* @public
|
|
147
|
+
*/
|
|
148
|
+
export type CallDirection = typeof CallDirection[keyof typeof CallDirection];
|
|
149
|
+
/**
|
|
150
|
+
* @public
|
|
151
|
+
* @enum
|
|
152
|
+
*/
|
|
153
|
+
export declare const License: {
|
|
154
|
+
readonly XBEES: "x-bees";
|
|
155
|
+
};
|
|
156
|
+
/**
|
|
157
|
+
* @public
|
|
158
|
+
*/
|
|
159
|
+
export type License = typeof License[keyof typeof License];
|
|
160
|
+
/**
|
|
161
|
+
* @public
|
|
162
|
+
* @enum
|
|
163
|
+
*/
|
|
164
|
+
export declare const CallFlowTranscriptionStatus: {
|
|
165
|
+
readonly AVAILABLE: "AVAILABLE";
|
|
166
|
+
readonly UNAVAILABLE: "UNAVAILABLE";
|
|
167
|
+
};
|
|
168
|
+
/**
|
|
169
|
+
* @public
|
|
170
|
+
*/
|
|
171
|
+
export type CallFlowTranscriptionStatus = typeof CallFlowTranscriptionStatus[keyof typeof CallFlowTranscriptionStatus];
|
|
172
|
+
/**
|
|
173
|
+
* @public
|
|
174
|
+
* @enum
|
|
175
|
+
*/
|
|
176
|
+
export declare const RecordType: {
|
|
177
|
+
readonly CALL: "call";
|
|
178
|
+
readonly CALL_TRANSCRIPTION: "call_transcription";
|
|
179
|
+
readonly CONFERENCE: "conference";
|
|
180
|
+
readonly CONFERENCE_TRANSCRIPTION: "conference_transcription";
|
|
181
|
+
};
|
|
182
|
+
/**
|
|
183
|
+
* @public
|
|
184
|
+
*/
|
|
185
|
+
export type RecordType = typeof RecordType[keyof typeof RecordType];
|
|
186
|
+
/**
|
|
187
|
+
* @public
|
|
188
|
+
*/
|
|
189
|
+
export interface CallRecord {
|
|
190
|
+
flowIndex: number;
|
|
191
|
+
startTime: number;
|
|
192
|
+
endTime?: number;
|
|
193
|
+
connectTime?: number;
|
|
194
|
+
talkTime?: number;
|
|
195
|
+
waitTime?: number;
|
|
196
|
+
caller?: CallParticipant;
|
|
197
|
+
callee?: CallParticipant;
|
|
198
|
+
service?: string;
|
|
199
|
+
serviceNumber?: string;
|
|
200
|
+
destination?: string;
|
|
201
|
+
direction?: CallDirection | string;
|
|
202
|
+
trunkName?: string;
|
|
203
|
+
trunkDirection?: string;
|
|
204
|
+
queueName?: string;
|
|
205
|
+
queueId?: string;
|
|
206
|
+
tags?: (string)[];
|
|
207
|
+
flags?: (string)[];
|
|
208
|
+
callerMos?: string;
|
|
209
|
+
calleeMos?: string;
|
|
210
|
+
xhoppersConfId?: string;
|
|
211
|
+
recordings?: (string)[];
|
|
212
|
+
mergeWith?: string;
|
|
213
|
+
splitReason?: string;
|
|
214
|
+
splitTransferType?: string;
|
|
215
|
+
remotePhone?: string;
|
|
216
|
+
remotePhoneCountryCode?: number;
|
|
217
|
+
remotePhoneCountryCodeStr?: string;
|
|
218
|
+
remotePhoneLocation?: string;
|
|
219
|
+
callStatus?: ConversationStatus | string;
|
|
220
|
+
transcriptionStatus: CallFlowTranscriptionStatus | string;
|
|
221
|
+
attachment?: string;
|
|
222
|
+
attachmentType?: CallFlowAttachmentType | string;
|
|
223
|
+
attachmentDestinations?: (CallFlowAttachmentDestination)[];
|
|
224
|
+
id: string;
|
|
225
|
+
pbx: string;
|
|
226
|
+
time: number;
|
|
227
|
+
company: string;
|
|
228
|
+
licenses: (License | string)[];
|
|
229
|
+
type: RecordType | string;
|
|
230
|
+
}
|
|
231
|
+
/**
|
|
232
|
+
* @public
|
|
233
|
+
*/
|
|
234
|
+
export declare class ConferenceNotFoundException extends __BaseException {
|
|
235
|
+
readonly name: "ConferenceNotFoundException";
|
|
236
|
+
readonly $fault: "client";
|
|
237
|
+
/**
|
|
238
|
+
* @internal
|
|
239
|
+
*/
|
|
240
|
+
constructor(opts: __ExceptionOptionType<ConferenceNotFoundException, __BaseException>);
|
|
241
|
+
}
|
|
242
|
+
/**
|
|
243
|
+
* @public
|
|
244
|
+
* @enum
|
|
245
|
+
*/
|
|
246
|
+
export declare const ConferenceDirection: {
|
|
247
|
+
readonly INBOUND: "INBOUND";
|
|
248
|
+
readonly INTERNAL: "INTERNAL";
|
|
249
|
+
readonly OUTBOUND: "OUTBOUND";
|
|
250
|
+
};
|
|
251
|
+
/**
|
|
252
|
+
* @public
|
|
253
|
+
*/
|
|
254
|
+
export type ConferenceDirection = typeof ConferenceDirection[keyof typeof ConferenceDirection];
|
|
255
|
+
/**
|
|
256
|
+
* @public
|
|
257
|
+
* @enum
|
|
258
|
+
*/
|
|
259
|
+
export declare const ConferenceParticipantRole: {
|
|
260
|
+
readonly AGENT: "AGENT";
|
|
261
|
+
readonly CLIENT: "CLIENT";
|
|
262
|
+
};
|
|
263
|
+
/**
|
|
264
|
+
* @public
|
|
265
|
+
*/
|
|
266
|
+
export type ConferenceParticipantRole = typeof ConferenceParticipantRole[keyof typeof ConferenceParticipantRole];
|
|
267
|
+
/**
|
|
268
|
+
* @public
|
|
269
|
+
* @enum
|
|
270
|
+
*/
|
|
271
|
+
export declare const ConferenceParticipantType: {
|
|
272
|
+
readonly EXTERNAL: "EXTERNAL";
|
|
273
|
+
readonly EXTERNAL_DIAL_IN: "EXTERNAL_DIAL_IN";
|
|
274
|
+
readonly PBX: "PBX";
|
|
275
|
+
readonly PBX_SIP: "PBX_SIP";
|
|
276
|
+
readonly XBS: "XBS";
|
|
277
|
+
};
|
|
278
|
+
/**
|
|
279
|
+
* @public
|
|
280
|
+
*/
|
|
281
|
+
export type ConferenceParticipantType = typeof ConferenceParticipantType[keyof typeof ConferenceParticipantType];
|
|
282
|
+
/**
|
|
283
|
+
* @public
|
|
284
|
+
*/
|
|
285
|
+
export interface ConferenceParticipant {
|
|
286
|
+
type: ConferenceParticipantType | string;
|
|
287
|
+
role?: ConferenceParticipantRole | string;
|
|
288
|
+
/**
|
|
289
|
+
* @public
|
|
290
|
+
* A unique identifier to avoid duplicates if user re-connect from different devices.
|
|
291
|
+
*/
|
|
292
|
+
jid?: string;
|
|
293
|
+
name?: string;
|
|
294
|
+
email?: string;
|
|
295
|
+
phone?: string;
|
|
296
|
+
department?: string;
|
|
297
|
+
company?: string;
|
|
298
|
+
pbxSerial?: string;
|
|
299
|
+
pbxExtension?: string;
|
|
300
|
+
xbsId?: string;
|
|
301
|
+
}
|
|
302
|
+
/**
|
|
303
|
+
* @public
|
|
304
|
+
*/
|
|
305
|
+
export interface ConferenceAnalyticsRecordParticipant {
|
|
306
|
+
jid: string;
|
|
307
|
+
info: ConferenceParticipant;
|
|
308
|
+
totalDuration: number;
|
|
309
|
+
totalSpeakDuration: number;
|
|
310
|
+
joinTime: number;
|
|
311
|
+
}
|
|
312
|
+
/**
|
|
313
|
+
* @public
|
|
314
|
+
*/
|
|
315
|
+
export interface ConferenceRecording {
|
|
316
|
+
url: string;
|
|
317
|
+
start: number;
|
|
318
|
+
end: number;
|
|
319
|
+
}
|
|
320
|
+
/**
|
|
321
|
+
* @public
|
|
322
|
+
* @enum
|
|
323
|
+
*/
|
|
324
|
+
export declare const ConferenceTranscriptionStatus: {
|
|
325
|
+
readonly AVAILABLE: "AVAILABLE";
|
|
326
|
+
readonly UNAVAILABLE: "UNAVAILABLE";
|
|
327
|
+
};
|
|
328
|
+
/**
|
|
329
|
+
* @public
|
|
330
|
+
*/
|
|
331
|
+
export type ConferenceTranscriptionStatus = typeof ConferenceTranscriptionStatus[keyof typeof ConferenceTranscriptionStatus];
|
|
332
|
+
/**
|
|
333
|
+
* @public
|
|
334
|
+
*/
|
|
335
|
+
export interface ConferenceRecord {
|
|
336
|
+
id: string;
|
|
337
|
+
time: number;
|
|
338
|
+
company: string;
|
|
339
|
+
pbx?: string;
|
|
340
|
+
duration?: number;
|
|
341
|
+
waitTime?: number;
|
|
342
|
+
subject?: string;
|
|
343
|
+
direction: ConferenceDirection | string;
|
|
344
|
+
service?: string;
|
|
345
|
+
status?: ConversationStatus | string;
|
|
346
|
+
participants: (ConferenceAnalyticsRecordParticipant)[];
|
|
347
|
+
recordings?: (ConferenceRecording)[];
|
|
348
|
+
transcriptionStatus: ConferenceTranscriptionStatus | string;
|
|
349
|
+
type: RecordType | string;
|
|
350
|
+
}
|
|
351
|
+
/**
|
|
352
|
+
* @public
|
|
353
|
+
*/
|
|
354
|
+
export interface GetCallSummaryInput {
|
|
355
|
+
company?: string;
|
|
356
|
+
callId: string;
|
|
357
|
+
flowIndex: number;
|
|
358
|
+
locale?: string;
|
|
359
|
+
}
|
|
360
|
+
/**
|
|
361
|
+
* @public
|
|
362
|
+
* @enum
|
|
363
|
+
*/
|
|
364
|
+
export declare const InsightsStatus: {
|
|
365
|
+
readonly ERROR: "ERROR";
|
|
366
|
+
readonly READY: "READY";
|
|
367
|
+
readonly SCHEDULED: "SCHEDULED";
|
|
368
|
+
};
|
|
369
|
+
/**
|
|
370
|
+
* @public
|
|
371
|
+
*/
|
|
372
|
+
export type InsightsStatus = typeof InsightsStatus[keyof typeof InsightsStatus];
|
|
373
|
+
/**
|
|
374
|
+
* @public
|
|
375
|
+
*/
|
|
376
|
+
export interface TranscriptionSummary {
|
|
377
|
+
text: string;
|
|
378
|
+
locale: string;
|
|
379
|
+
}
|
|
380
|
+
/**
|
|
381
|
+
* @public
|
|
382
|
+
*/
|
|
383
|
+
export interface GetCallSummaryOutput {
|
|
384
|
+
status: InsightsStatus | string;
|
|
385
|
+
summary?: TranscriptionSummary;
|
|
386
|
+
}
|
|
387
|
+
/**
|
|
388
|
+
* @public
|
|
389
|
+
*/
|
|
390
|
+
export interface GetConferenceSummaryInput {
|
|
391
|
+
company?: string;
|
|
392
|
+
conferenceId: string;
|
|
393
|
+
locale?: string;
|
|
394
|
+
}
|
|
395
|
+
/**
|
|
396
|
+
* @public
|
|
397
|
+
*/
|
|
398
|
+
export interface GetConferenceSummaryOutput {
|
|
399
|
+
status: InsightsStatus | string;
|
|
400
|
+
summary?: TranscriptionSummary;
|
|
401
|
+
}
|
|
402
|
+
/**
|
|
403
|
+
* @public
|
|
404
|
+
*/
|
|
405
|
+
export interface ListConversationsInput {
|
|
406
|
+
company?: string;
|
|
407
|
+
}
|
|
408
|
+
/**
|
|
409
|
+
* @public
|
|
410
|
+
*/
|
|
411
|
+
export type ListConversationsItemEvent = ListConversationsItemEvent.CallMember | ListConversationsItemEvent.ConferenceMember | ListConversationsItemEvent.$UnknownMember;
|
|
412
|
+
/**
|
|
413
|
+
* @public
|
|
414
|
+
*/
|
|
415
|
+
export declare namespace ListConversationsItemEvent {
|
|
416
|
+
interface CallMember {
|
|
417
|
+
call: CallRecord;
|
|
418
|
+
conference?: never;
|
|
419
|
+
$unknown?: never;
|
|
420
|
+
}
|
|
421
|
+
interface ConferenceMember {
|
|
422
|
+
call?: never;
|
|
423
|
+
conference: ConferenceRecord;
|
|
424
|
+
$unknown?: never;
|
|
425
|
+
}
|
|
426
|
+
/**
|
|
427
|
+
* @public
|
|
428
|
+
*/
|
|
429
|
+
interface $UnknownMember {
|
|
430
|
+
call?: never;
|
|
431
|
+
conference?: never;
|
|
432
|
+
$unknown: [string, any];
|
|
433
|
+
}
|
|
434
|
+
interface Visitor<T> {
|
|
435
|
+
call: (value: CallRecord) => T;
|
|
436
|
+
conference: (value: ConferenceRecord) => T;
|
|
437
|
+
_: (name: string, value: any) => T;
|
|
438
|
+
}
|
|
439
|
+
const visit: <T>(value: ListConversationsItemEvent, visitor: Visitor<T>) => T;
|
|
440
|
+
}
|
|
441
|
+
/**
|
|
442
|
+
* @public
|
|
443
|
+
*/
|
|
444
|
+
export interface ListConversationsItem {
|
|
445
|
+
event?: ListConversationsItemEvent;
|
|
446
|
+
}
|
|
447
|
+
/**
|
|
448
|
+
* @public
|
|
449
|
+
*/
|
|
450
|
+
export interface ListConversationsOutput {
|
|
451
|
+
items?: (ListConversationsItem)[];
|
|
452
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { GetCallSummaryCommandInput, GetCallSummaryCommandOutput } from "../commands/GetCallSummaryCommand";
|
|
2
|
+
import { GetConferenceSummaryCommandInput, GetConferenceSummaryCommandOutput } from "../commands/GetConferenceSummaryCommand";
|
|
3
|
+
import { ListConversationsCommandInput, ListConversationsCommandOutput } from "../commands/ListConversationsCommand";
|
|
4
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
|
|
5
|
+
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
6
|
+
/**
|
|
7
|
+
* serializeAws_restJson1GetCallSummaryCommand
|
|
8
|
+
*/
|
|
9
|
+
export declare const se_GetCallSummaryCommand: (input: GetCallSummaryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
10
|
+
/**
|
|
11
|
+
* serializeAws_restJson1GetConferenceSummaryCommand
|
|
12
|
+
*/
|
|
13
|
+
export declare const se_GetConferenceSummaryCommand: (input: GetConferenceSummaryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
14
|
+
/**
|
|
15
|
+
* serializeAws_restJson1ListConversationsCommand
|
|
16
|
+
*/
|
|
17
|
+
export declare const se_ListConversationsCommand: (input: ListConversationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
18
|
+
/**
|
|
19
|
+
* deserializeAws_restJson1GetCallSummaryCommand
|
|
20
|
+
*/
|
|
21
|
+
export declare const de_GetCallSummaryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetCallSummaryCommandOutput>;
|
|
22
|
+
/**
|
|
23
|
+
* deserializeAws_restJson1GetConferenceSummaryCommand
|
|
24
|
+
*/
|
|
25
|
+
export declare const de_GetConferenceSummaryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetConferenceSummaryCommandOutput>;
|
|
26
|
+
/**
|
|
27
|
+
* deserializeAws_restJson1ListConversationsCommand
|
|
28
|
+
*/
|
|
29
|
+
export declare const de_ListConversationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListConversationsCommandOutput>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
|
|
2
|
+
import { WdaInsightsClientConfig } from "./WdaInsightsClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const getRuntimeConfig: (config: WdaInsightsClientConfig) => {
|
|
7
|
+
runtime: string;
|
|
8
|
+
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
11
|
+
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
|
|
12
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
13
|
+
httpHandlerConfigs(): {};
|
|
14
|
+
}) | RequestHandler;
|
|
15
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
16
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
17
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
18
|
+
env?: "stage" | "stable" | "prod" | undefined;
|
|
19
|
+
token: import("@wildix/smithy-utils").TokenProvider;
|
|
20
|
+
apiVersion: string;
|
|
21
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
22
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
23
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
24
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
25
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
26
|
+
disableHostPrefix: boolean;
|
|
27
|
+
logger: import("@smithy/types").Logger;
|
|
28
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
29
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
|
|
2
|
+
import { WdaInsightsClientConfig } from "./WdaInsightsClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const getRuntimeConfig: (config: WdaInsightsClientConfig) => {
|
|
7
|
+
runtime: string;
|
|
8
|
+
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
11
|
+
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
|
|
12
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
13
|
+
httpHandlerConfigs(): {};
|
|
14
|
+
}) | RequestHandler;
|
|
15
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
16
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
17
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
18
|
+
env?: "stage" | "stable" | "prod" | undefined;
|
|
19
|
+
token: import("@wildix/smithy-utils").TokenProvider;
|
|
20
|
+
apiVersion: string;
|
|
21
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
22
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
23
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
24
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
25
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
26
|
+
disableHostPrefix: boolean;
|
|
27
|
+
logger: import("@smithy/types").Logger;
|
|
28
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
29
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { WdaInsightsClientConfig } from "./WdaInsightsClient";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
export declare const getRuntimeConfig: (config: WdaInsightsClientConfig) => {
|
|
6
|
+
runtime: string;
|
|
7
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
8
|
+
env?: "stage" | "stable" | "prod" | undefined;
|
|
9
|
+
token: import("@wildix/smithy-utils").TokenProvider;
|
|
10
|
+
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
|
|
11
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
12
|
+
httpHandlerConfigs(): {};
|
|
13
|
+
}) | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
14
|
+
apiVersion: string;
|
|
15
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
16
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
17
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
18
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
19
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
20
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
21
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
22
|
+
disableHostPrefix: boolean;
|
|
23
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
24
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
25
|
+
logger: import("@smithy/types").Logger;
|
|
26
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
27
|
+
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
28
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { WdaInsightsClientConfig } from "./WdaInsightsClient";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
export declare const getRuntimeConfig: (config: WdaInsightsClientConfig) => {
|
|
6
|
+
apiVersion: string;
|
|
7
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
8
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
9
|
+
disableHostPrefix: boolean;
|
|
10
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
11
|
+
logger: import("@smithy/types").Logger;
|
|
12
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
13
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
14
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
15
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { WdaInsightsExtensionConfiguration } from "./extensionConfiguration";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface RuntimeExtension {
|
|
6
|
+
configure(extensionConfiguration: WdaInsightsExtensionConfiguration): void;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
export interface RuntimeExtensionsConfig {
|
|
12
|
+
extensions: RuntimeExtension[];
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
export declare const resolveRuntimeExtensions: (runtimeConfig: any, extensions: RuntimeExtension[]) => any;
|
package/package.json
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@wildix/wda-insights-client",
|
|
3
|
+
"description": "@wildix/wda-insights-client client",
|
|
4
|
+
"version": "1.0.1",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
|
+
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
8
|
+
"build:docs": "typedoc",
|
|
9
|
+
"build:es": "tsc -p tsconfig.es.json",
|
|
10
|
+
"build:types": "tsc -p tsconfig.types.json",
|
|
11
|
+
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
+
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
13
|
+
"prepack": "yarn run clean && yarn run build"
|
|
14
|
+
},
|
|
15
|
+
"main": "./dist-cjs/index.js",
|
|
16
|
+
"types": "./dist-types/index.d.ts",
|
|
17
|
+
"module": "./dist-es/index.js",
|
|
18
|
+
"sideEffects": false,
|
|
19
|
+
"dependencies": {
|
|
20
|
+
"tslib": "^2.5.0",
|
|
21
|
+
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
|
+
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
+
"@aws-sdk/types": "latest",
|
|
24
|
+
"@smithy/config-resolver": "^2.0.11",
|
|
25
|
+
"@smithy/fetch-http-handler": "^2.2.1",
|
|
26
|
+
"@smithy/hash-node": "^2.0.10",
|
|
27
|
+
"@smithy/invalid-dependency": "^2.0.10",
|
|
28
|
+
"@smithy/middleware-content-length": "^2.0.12",
|
|
29
|
+
"@smithy/middleware-retry": "^2.0.13",
|
|
30
|
+
"@smithy/middleware-serde": "^2.0.10",
|
|
31
|
+
"@smithy/middleware-stack": "^2.0.4",
|
|
32
|
+
"@smithy/node-config-provider": "^2.0.13",
|
|
33
|
+
"@smithy/node-http-handler": "^2.1.6",
|
|
34
|
+
"@smithy/protocol-http": "^3.0.6",
|
|
35
|
+
"@smithy/smithy-client": "^2.1.9",
|
|
36
|
+
"@smithy/types": "^2.3.4",
|
|
37
|
+
"@smithy/url-parser": "^2.0.10",
|
|
38
|
+
"@smithy/util-base64": "^2.0.0",
|
|
39
|
+
"@smithy/util-body-length-browser": "^2.0.0",
|
|
40
|
+
"@smithy/util-body-length-node": "^2.1.0",
|
|
41
|
+
"@smithy/util-defaults-mode-browser": "^2.0.13",
|
|
42
|
+
"@smithy/util-defaults-mode-node": "^2.0.15",
|
|
43
|
+
"@smithy/util-retry": "^2.0.3",
|
|
44
|
+
"@smithy/util-utf8": "^2.0.0",
|
|
45
|
+
"@wildix/smithy-utils": "^1.0.1"
|
|
46
|
+
},
|
|
47
|
+
"devDependencies": {
|
|
48
|
+
"@tsconfig/node14": "1.0.3",
|
|
49
|
+
"concurrently": "7.0.0",
|
|
50
|
+
"downlevel-dts": "0.10.1",
|
|
51
|
+
"rimraf": "^3.0.0",
|
|
52
|
+
"typedoc": "0.23.23",
|
|
53
|
+
"typescript": "~4.9.5",
|
|
54
|
+
"@smithy/service-client-documentation-generator": "^2.0.0",
|
|
55
|
+
"@types/node": "^14.14.31"
|
|
56
|
+
},
|
|
57
|
+
"engines": {
|
|
58
|
+
"node": ">=14.0.0"
|
|
59
|
+
},
|
|
60
|
+
"typesVersions": {
|
|
61
|
+
"<4.0": {
|
|
62
|
+
"dist-types/*": [
|
|
63
|
+
"dist-types/ts3.4/*"
|
|
64
|
+
]
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"files": [
|
|
68
|
+
"dist-*/**"
|
|
69
|
+
],
|
|
70
|
+
"license": "Apache-2.0",
|
|
71
|
+
"browser": {
|
|
72
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
73
|
+
},
|
|
74
|
+
"react-native": {
|
|
75
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
76
|
+
}
|
|
77
|
+
}
|