@wildix/wda-stream-client 1.1.13 → 1.1.15
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/models/models_0.js +14 -14
- package/dist-es/models/models_0.js +12 -12
- package/dist-types/commands/ConsumeEventCommand.d.ts +1 -0
- package/dist-types/commands/DescribeEventCommand.d.ts +60 -17
- package/dist-types/commands/QueryConversationsCommand.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +40 -24
- package/dist-types/runtimeConfig.browser.d.ts +6 -1
- package/dist-types/runtimeConfig.d.ts +6 -1
- package/dist-types/runtimeConfig.native.d.ts +6 -1
- package/package.json +1 -1
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ChatConsumeEventType = exports.CallFlowConsumeStatus = exports.CallEventType = exports.CallEndConsume = exports.CallFlowAttachmentConsumeType = exports.CallEndBy = exports.CallFlowStatus = exports.CallAnalyticsLiveProgressEventTrigger = exports.LiveEventType = exports.CallConsumeEventType = exports.ConferenceTranscriptionStatus = exports.ConferenceParticipantType = exports.ConferenceParticipantRole = exports.PbxLicenseType = exports.ConferenceDirection = exports.MessageWhatsAppStatus = exports.MessageType = exports.MessageSmsStatus = exports.Element = exports.ActionElement = exports.ButtonVariant = exports.ButtonHandler = exports.ChatTag = exports.ChatStatus = exports.ChatParticipantType = exports.ChatParticipantRole = exports.ChatDirection = exports.ChannelWhatsAppStatus = exports.ChannelContextSource = exports.ChannelContextEventAttendeeStatus = exports.ChannelType = exports.ChannelAccess = exports.CallTranscriptionSpeaker = exports.RecordType = exports.CallFlowTranscriptionStatus = exports.License = exports.CallDevice = exports.CallParticipantType = exports.CallParticipantRole = exports.CallFlowAttachmentType = exports.CallFlowAttachment = exports.CallRecordPauseReason = exports.CallFlowAttachmentStatus = exports.CallRecordOwner = exports.WhatsAppStatus = exports.WhatsAppEventType = exports.
|
|
3
|
+
exports.ChatConsumeEventType = exports.CallFlowConsumeStatus = exports.CallEventType = exports.CallEndConsume = exports.CallFlowAttachmentConsumeType = exports.CallEndBy = exports.CallFlowStatus = exports.CallAnalyticsLiveProgressEventTrigger = exports.LiveEventType = exports.CallConsumeEventType = exports.ConferenceTranscriptionStatus = exports.ConferenceParticipantType = exports.ConferenceParticipantRole = exports.PbxLicenseType = exports.ConferenceDirection = exports.MessageWhatsAppStatus = exports.MessageType = exports.MessageSmsStatus = exports.Element = exports.ActionElement = exports.ButtonVariant = exports.ButtonHandler = exports.ChatTag = exports.ChatStatus = exports.ChatParticipantType = exports.ChatParticipantRole = exports.ChatDirection = exports.ChannelWhatsAppStatus = exports.ChannelContextSource = exports.ChannelContextEventAttendeeStatus = exports.ChannelType = exports.ChannelAccess = exports.CallTranscriptionSpeaker = exports.RecordType = exports.CallFlowTranscriptionStatus = exports.License = exports.CallDevice = exports.CallParticipantType = exports.CallParticipantRole = exports.CallFlowAttachmentType = exports.CallFlowAttachment = exports.CallRecordPauseReason = exports.CallFlowAttachmentStatus = exports.CallRecordOwner = exports.WhatsAppStatus = exports.WhatsAppEventType = exports.ConversationStatus = exports.CallDirection = exports.ValidationException = exports.ForbiddenException = void 0;
|
|
4
4
|
exports.PresenceNotAvailableException = exports.TelephonyStatus = exports.PresenceStatus = exports.MatchNotFoundException = exports.WebsocketEvent = exports.WebhookEventType = exports.PresenceEventType = exports.PresenceAnalyticsEventType = exports.WebsocketTopic = exports.WebsocketAction = exports.ConsumeEventInputEvent = exports.UsageEventType = exports.LanguageDetection = exports.SmsStatus = exports.SmsChannelType = exports.SmsConsumeEventType = exports.PresenceConsumeEventType = exports.ConferenceTranscriptionSentiment = exports.ConferenceEventType = exports.ConferenceConsumeEventType = exports.ConferenceConsumeDirection = exports.ChatEventType = void 0;
|
|
5
5
|
const WdaStreamServiceException_1 = require("./WdaStreamServiceException");
|
|
6
|
+
class ForbiddenException extends WdaStreamServiceException_1.WdaStreamServiceException {
|
|
7
|
+
name = "ForbiddenException";
|
|
8
|
+
$fault = "client";
|
|
9
|
+
constructor(opts) {
|
|
10
|
+
super({
|
|
11
|
+
name: "ForbiddenException",
|
|
12
|
+
$fault: "client",
|
|
13
|
+
...opts
|
|
14
|
+
});
|
|
15
|
+
Object.setPrototypeOf(this, ForbiddenException.prototype);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
exports.ForbiddenException = ForbiddenException;
|
|
6
19
|
class ValidationException extends WdaStreamServiceException_1.WdaStreamServiceException {
|
|
7
20
|
name = "ValidationException";
|
|
8
21
|
$fault = "client";
|
|
@@ -26,19 +39,6 @@ exports.ConversationStatus = {
|
|
|
26
39
|
COMPLETED: "COMPLETED",
|
|
27
40
|
MISSED: "MISSED",
|
|
28
41
|
};
|
|
29
|
-
class ForbiddenException extends WdaStreamServiceException_1.WdaStreamServiceException {
|
|
30
|
-
name = "ForbiddenException";
|
|
31
|
-
$fault = "client";
|
|
32
|
-
constructor(opts) {
|
|
33
|
-
super({
|
|
34
|
-
name: "ForbiddenException",
|
|
35
|
-
$fault: "client",
|
|
36
|
-
...opts
|
|
37
|
-
});
|
|
38
|
-
Object.setPrototypeOf(this, ForbiddenException.prototype);
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
exports.ForbiddenException = ForbiddenException;
|
|
42
42
|
exports.WhatsAppEventType = {
|
|
43
43
|
WHATSAPP_INBOUND: "WHATSAPP.INBOUND",
|
|
44
44
|
WHATSAPP_STATUS: "WHATSAPP.STATUS",
|
|
@@ -1,4 +1,16 @@
|
|
|
1
1
|
import { WdaStreamServiceException as __BaseException } from "./WdaStreamServiceException";
|
|
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
|
+
}
|
|
2
14
|
export class ValidationException extends __BaseException {
|
|
3
15
|
name = "ValidationException";
|
|
4
16
|
$fault = "client";
|
|
@@ -21,18 +33,6 @@ export const ConversationStatus = {
|
|
|
21
33
|
COMPLETED: "COMPLETED",
|
|
22
34
|
MISSED: "MISSED",
|
|
23
35
|
};
|
|
24
|
-
export class ForbiddenException extends __BaseException {
|
|
25
|
-
name = "ForbiddenException";
|
|
26
|
-
$fault = "client";
|
|
27
|
-
constructor(opts) {
|
|
28
|
-
super({
|
|
29
|
-
name: "ForbiddenException",
|
|
30
|
-
$fault: "client",
|
|
31
|
-
...opts
|
|
32
|
-
});
|
|
33
|
-
Object.setPrototypeOf(this, ForbiddenException.prototype);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
36
|
export const WhatsAppEventType = {
|
|
37
37
|
WHATSAPP_INBOUND: "WHATSAPP.INBOUND",
|
|
38
38
|
WHATSAPP_STATUS: "WHATSAPP.STATUS",
|
|
@@ -528,6 +528,7 @@ declare const ConsumeEventCommand_base: {
|
|
|
528
528
|
* external: true || false,
|
|
529
529
|
* autoRecord: true || false,
|
|
530
530
|
* transcriptionLanguage: "STRING_VALUE",
|
|
531
|
+
* wizyGuestViewOnly: true || false,
|
|
531
532
|
* channelId: "STRING_VALUE", // required
|
|
532
533
|
* channelType: "direct" || "group", // required
|
|
533
534
|
* memberCount: Number("int"), // required
|
|
@@ -158,6 +158,9 @@ declare const DescribeEventCommand_base: {
|
|
|
158
158
|
* // role: "CLIENT" || "AGENT", // required
|
|
159
159
|
* // license: "STRING_VALUE",
|
|
160
160
|
* // sipCallId: "STRING_VALUE",
|
|
161
|
+
* // publicAddress: "STRING_VALUE",
|
|
162
|
+
* // privateAddress: "STRING_VALUE",
|
|
163
|
+
* // location: "STRING_VALUE",
|
|
161
164
|
* // },
|
|
162
165
|
* // callee: {
|
|
163
166
|
* // type: "REMOTE" || "LOCAL", // required
|
|
@@ -175,6 +178,9 @@ declare const DescribeEventCommand_base: {
|
|
|
175
178
|
* // role: "CLIENT" || "AGENT", // required
|
|
176
179
|
* // license: "STRING_VALUE",
|
|
177
180
|
* // sipCallId: "STRING_VALUE",
|
|
181
|
+
* // publicAddress: "STRING_VALUE",
|
|
182
|
+
* // privateAddress: "STRING_VALUE",
|
|
183
|
+
* // location: "STRING_VALUE",
|
|
178
184
|
* // },
|
|
179
185
|
* // service: "STRING_VALUE",
|
|
180
186
|
* // serviceNumber: "STRING_VALUE",
|
|
@@ -358,6 +364,9 @@ declare const DescribeEventCommand_base: {
|
|
|
358
364
|
* // role: "CLIENT" || "AGENT", // required
|
|
359
365
|
* // license: "STRING_VALUE",
|
|
360
366
|
* // sipCallId: "STRING_VALUE",
|
|
367
|
+
* // publicAddress: "STRING_VALUE",
|
|
368
|
+
* // privateAddress: "STRING_VALUE",
|
|
369
|
+
* // location: "STRING_VALUE",
|
|
361
370
|
* // },
|
|
362
371
|
* // },
|
|
363
372
|
* // CallAnalyticsRecordEvent: { // CallAnalyticsRecordEvent
|
|
@@ -395,6 +404,9 @@ declare const DescribeEventCommand_base: {
|
|
|
395
404
|
* // role: "CLIENT" || "AGENT", // required
|
|
396
405
|
* // license: "STRING_VALUE",
|
|
397
406
|
* // sipCallId: "STRING_VALUE",
|
|
407
|
+
* // publicAddress: "STRING_VALUE",
|
|
408
|
+
* // privateAddress: "STRING_VALUE",
|
|
409
|
+
* // location: "STRING_VALUE",
|
|
398
410
|
* // },
|
|
399
411
|
* // callee: {
|
|
400
412
|
* // type: "REMOTE" || "LOCAL", // required
|
|
@@ -412,6 +424,9 @@ declare const DescribeEventCommand_base: {
|
|
|
412
424
|
* // role: "CLIENT" || "AGENT", // required
|
|
413
425
|
* // license: "STRING_VALUE",
|
|
414
426
|
* // sipCallId: "STRING_VALUE",
|
|
427
|
+
* // publicAddress: "STRING_VALUE",
|
|
428
|
+
* // privateAddress: "STRING_VALUE",
|
|
429
|
+
* // location: "STRING_VALUE",
|
|
415
430
|
* // },
|
|
416
431
|
* // service: "STRING_VALUE",
|
|
417
432
|
* // serviceNumber: "STRING_VALUE",
|
|
@@ -854,11 +869,11 @@ declare const DescribeEventCommand_base: {
|
|
|
854
869
|
* // time: Number("long"), // required
|
|
855
870
|
* // company: "STRING_VALUE", // required
|
|
856
871
|
* // pbx: "STRING_VALUE",
|
|
857
|
-
* // startTime: Number("long"),
|
|
858
|
-
* // endTime: Number("long"),
|
|
872
|
+
* // startTime: Number("long"), // required
|
|
873
|
+
* // endTime: Number("long"), // required
|
|
859
874
|
* // waitTime: Number("int"),
|
|
860
|
-
* // duration: Number("long"),
|
|
861
|
-
* // direction: "INTERNAL" || "INBOUND" || "OUTBOUND",
|
|
875
|
+
* // duration: Number("long"), // required
|
|
876
|
+
* // direction: "INTERNAL" || "INBOUND" || "OUTBOUND", // required
|
|
862
877
|
* // subject: "STRING_VALUE",
|
|
863
878
|
* // service: "STRING_VALUE",
|
|
864
879
|
* // serviceTitle: "STRING_VALUE",
|
|
@@ -914,6 +929,7 @@ declare const DescribeEventCommand_base: {
|
|
|
914
929
|
* // external: true || false,
|
|
915
930
|
* // autoRecord: true || false,
|
|
916
931
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
932
|
+
* // wizyGuestViewOnly: true || false,
|
|
917
933
|
* // channelId: "STRING_VALUE", // required
|
|
918
934
|
* // channelType: "direct" || "group", // required
|
|
919
935
|
* // memberCount: Number("int"), // required
|
|
@@ -922,7 +938,7 @@ declare const DescribeEventCommand_base: {
|
|
|
922
938
|
* // updatedAt: "STRING_VALUE",
|
|
923
939
|
* // },
|
|
924
940
|
* // status: "WAITFIRSTREPLY" || "WAITREPLYFROMGUEST" || "WAITREPLYFROMAGENT" || "COMPLETED" || "MISSED",
|
|
925
|
-
* // participants: [ // ChatParticipantsList
|
|
941
|
+
* // participants: [ // ChatParticipantsList // required
|
|
926
942
|
* // { // ChatParticipant
|
|
927
943
|
* // id: "STRING_VALUE", // required
|
|
928
944
|
* // info: {
|
|
@@ -2313,11 +2329,11 @@ declare const DescribeEventCommand_base: {
|
|
|
2313
2329
|
* // time: Number("long"), // required
|
|
2314
2330
|
* // company: "STRING_VALUE", // required
|
|
2315
2331
|
* // pbx: "STRING_VALUE",
|
|
2316
|
-
* // startTime: Number("long"),
|
|
2317
|
-
* // endTime: Number("long"),
|
|
2332
|
+
* // startTime: Number("long"), // required
|
|
2333
|
+
* // endTime: Number("long"), // required
|
|
2318
2334
|
* // waitTime: Number("int"),
|
|
2319
|
-
* // duration: Number("long"),
|
|
2320
|
-
* // direction: "INTERNAL" || "INBOUND" || "OUTBOUND",
|
|
2335
|
+
* // duration: Number("long"), // required
|
|
2336
|
+
* // direction: "INTERNAL" || "INBOUND" || "OUTBOUND", // required
|
|
2321
2337
|
* // subject: "STRING_VALUE",
|
|
2322
2338
|
* // service: "STRING_VALUE",
|
|
2323
2339
|
* // serviceTitle: "STRING_VALUE",
|
|
@@ -2373,6 +2389,7 @@ declare const DescribeEventCommand_base: {
|
|
|
2373
2389
|
* // external: true || false,
|
|
2374
2390
|
* // autoRecord: true || false,
|
|
2375
2391
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
2392
|
+
* // wizyGuestViewOnly: true || false,
|
|
2376
2393
|
* // channelId: "STRING_VALUE", // required
|
|
2377
2394
|
* // channelType: "direct" || "group", // required
|
|
2378
2395
|
* // memberCount: Number("int"), // required
|
|
@@ -2381,7 +2398,7 @@ declare const DescribeEventCommand_base: {
|
|
|
2381
2398
|
* // updatedAt: "STRING_VALUE",
|
|
2382
2399
|
* // },
|
|
2383
2400
|
* // status: "WAITFIRSTREPLY" || "WAITREPLYFROMGUEST" || "WAITREPLYFROMAGENT" || "COMPLETED" || "MISSED",
|
|
2384
|
-
* // participants: [
|
|
2401
|
+
* // participants: [ // required
|
|
2385
2402
|
* // {
|
|
2386
2403
|
* // id: "STRING_VALUE", // required
|
|
2387
2404
|
* // info: "<ChatParticipantInfo>", // required
|
|
@@ -2404,21 +2421,47 @@ declare const DescribeEventCommand_base: {
|
|
|
2404
2421
|
* // time: Number("long"), // required
|
|
2405
2422
|
* // company: "STRING_VALUE", // required
|
|
2406
2423
|
* // pbx: "STRING_VALUE",
|
|
2407
|
-
* // startTime: Number("long"),
|
|
2408
|
-
* // endTime: Number("long"),
|
|
2424
|
+
* // startTime: Number("long"), // required
|
|
2425
|
+
* // endTime: Number("long"), // required
|
|
2409
2426
|
* // waitTime: Number("int"),
|
|
2410
|
-
* // duration: Number("long"),
|
|
2411
|
-
* // direction: "INTERNAL" || "INBOUND" || "OUTBOUND",
|
|
2427
|
+
* // duration: Number("long"), // required
|
|
2428
|
+
* // direction: "INTERNAL" || "INBOUND" || "OUTBOUND", // required
|
|
2412
2429
|
* // subject: "STRING_VALUE",
|
|
2413
2430
|
* // service: "STRING_VALUE",
|
|
2414
2431
|
* // serviceTitle: "STRING_VALUE",
|
|
2415
2432
|
* // tags: "<ChatTags>",
|
|
2416
|
-
* // channel: "<Channel>",
|
|
2433
|
+
* // channel: "<Channel>", // required
|
|
2417
2434
|
* // status: "WAITFIRSTREPLY" || "WAITREPLYFROMGUEST" || "WAITREPLYFROMAGENT" || "COMPLETED" || "MISSED",
|
|
2418
|
-
* // participants: "<ChatParticipantsList>",
|
|
2435
|
+
* // participants: "<ChatParticipantsList>", // required
|
|
2419
2436
|
* // type: "call" || "call_transcription" || "conference" || "conference_transcription" || "chat" || "chat_transcription", // required
|
|
2420
2437
|
* // },
|
|
2421
|
-
* //
|
|
2438
|
+
* // summary: {
|
|
2439
|
+
* // title: "STRING_VALUE",
|
|
2440
|
+
* // brief: "STRING_VALUE",
|
|
2441
|
+
* // json: {
|
|
2442
|
+
* // callBriefVeryShortTitle: "STRING_VALUE",
|
|
2443
|
+
* // callBrief: "STRING_VALUE",
|
|
2444
|
+
* // customerInsights: "<TranscriptionSummaryJsonArrayItem>",
|
|
2445
|
+
* // keyPoints: "<TranscriptionSummaryJsonArrayItem>",
|
|
2446
|
+
* // competitiveInformation: "<TranscriptionSummaryJsonArrayItem>",
|
|
2447
|
+
* // implementationTimeline: "<TranscriptionSummaryJsonArrayItem>",
|
|
2448
|
+
* // budget: "<TranscriptionSummaryJsonArrayItem>",
|
|
2449
|
+
* // customerResponse: "<TranscriptionSummaryJsonArrayItem>",
|
|
2450
|
+
* // salesProposals: "<TranscriptionSummaryJsonArrayItem>",
|
|
2451
|
+
* // actionItems: "<TranscriptionSummaryJsonArrayItem>",
|
|
2452
|
+
* // nextSteps: "<TranscriptionSummaryJsonArrayItem>",
|
|
2453
|
+
* // csat: {
|
|
2454
|
+
* // score: "STRING_VALUE",
|
|
2455
|
+
* // reason: "STRING_VALUE",
|
|
2456
|
+
* // },
|
|
2457
|
+
* // topics: "<TranscriptionSummaryJsonArrayItem>",
|
|
2458
|
+
* // review: "<TranscriptionSummaryJsonArrayItem>",
|
|
2459
|
+
* // progress: "<TranscriptionSummaryJsonArrayItem>",
|
|
2460
|
+
* // issues: "<TranscriptionSummaryJsonArrayItem>",
|
|
2461
|
+
* // decisions: "<TranscriptionSummaryJsonArrayItem>",
|
|
2462
|
+
* // tags: "<TranscriptionSummaryJsonArrayItem>",
|
|
2463
|
+
* // },
|
|
2464
|
+
* // },
|
|
2422
2465
|
* // },
|
|
2423
2466
|
* // },
|
|
2424
2467
|
* // WebhookOutdatedCallStartEvent: { // WebhookOutdatedCallStartEvent
|
|
@@ -86,6 +86,9 @@ declare const QueryConversationsCommand_base: {
|
|
|
86
86
|
* // role: "CLIENT" || "AGENT", // required
|
|
87
87
|
* // license: "STRING_VALUE",
|
|
88
88
|
* // sipCallId: "STRING_VALUE",
|
|
89
|
+
* // publicAddress: "STRING_VALUE",
|
|
90
|
+
* // privateAddress: "STRING_VALUE",
|
|
91
|
+
* // location: "STRING_VALUE",
|
|
89
92
|
* // },
|
|
90
93
|
* // callee: {
|
|
91
94
|
* // type: "REMOTE" || "LOCAL", // required
|
|
@@ -103,6 +106,9 @@ declare const QueryConversationsCommand_base: {
|
|
|
103
106
|
* // role: "CLIENT" || "AGENT", // required
|
|
104
107
|
* // license: "STRING_VALUE",
|
|
105
108
|
* // sipCallId: "STRING_VALUE",
|
|
109
|
+
* // publicAddress: "STRING_VALUE",
|
|
110
|
+
* // privateAddress: "STRING_VALUE",
|
|
111
|
+
* // location: "STRING_VALUE",
|
|
106
112
|
* // },
|
|
107
113
|
* // service: "STRING_VALUE",
|
|
108
114
|
* // serviceNumber: "STRING_VALUE",
|
|
@@ -1,6 +1,17 @@
|
|
|
1
1
|
import { WdaStreamServiceException as __BaseException } from "./WdaStreamServiceException";
|
|
2
2
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
3
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
|
+
}
|
|
4
15
|
/**
|
|
5
16
|
* @public
|
|
6
17
|
*/
|
|
@@ -38,17 +49,6 @@ export declare const ConversationStatus: {
|
|
|
38
49
|
* @public
|
|
39
50
|
*/
|
|
40
51
|
export type ConversationStatus = typeof ConversationStatus[keyof typeof ConversationStatus];
|
|
41
|
-
/**
|
|
42
|
-
* @public
|
|
43
|
-
*/
|
|
44
|
-
export declare class ForbiddenException extends __BaseException {
|
|
45
|
-
readonly name: "ForbiddenException";
|
|
46
|
-
readonly $fault: "client";
|
|
47
|
-
/**
|
|
48
|
-
* @internal
|
|
49
|
-
*/
|
|
50
|
-
constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
|
|
51
|
-
}
|
|
52
52
|
/**
|
|
53
53
|
* @public
|
|
54
54
|
*/
|
|
@@ -334,6 +334,21 @@ export interface CallParticipant {
|
|
|
334
334
|
* @public
|
|
335
335
|
*/
|
|
336
336
|
sipCallId?: string | undefined;
|
|
337
|
+
/**
|
|
338
|
+
* Represents a network endpoint consisting of a public IP address and a port number. Example: '10.20.30.40:59317'
|
|
339
|
+
* @public
|
|
340
|
+
*/
|
|
341
|
+
publicAddress?: string | undefined;
|
|
342
|
+
/**
|
|
343
|
+
* Represents a network endpoint consisting of a private IP address and a port number. Example: '172.16.1.2:54003'
|
|
344
|
+
* @public
|
|
345
|
+
*/
|
|
346
|
+
privateAddress?: string | undefined;
|
|
347
|
+
/**
|
|
348
|
+
* The location specifies a geographic point using latitude and longitude coordinates. Example 'lat=29.3008&lon=1.7002'
|
|
349
|
+
* @public
|
|
350
|
+
*/
|
|
351
|
+
location?: string | undefined;
|
|
337
352
|
}
|
|
338
353
|
/**
|
|
339
354
|
* @public
|
|
@@ -665,6 +680,7 @@ export interface Channel {
|
|
|
665
680
|
external?: boolean | undefined;
|
|
666
681
|
autoRecord?: boolean | undefined;
|
|
667
682
|
transcriptionLanguage?: string | undefined;
|
|
683
|
+
wizyGuestViewOnly?: boolean | undefined;
|
|
668
684
|
channelId: string;
|
|
669
685
|
channelType: ChannelType;
|
|
670
686
|
memberCount: number;
|
|
@@ -785,18 +801,18 @@ export interface ChatRecord {
|
|
|
785
801
|
time: number;
|
|
786
802
|
company: string;
|
|
787
803
|
pbx?: string | undefined;
|
|
788
|
-
startTime
|
|
789
|
-
endTime
|
|
804
|
+
startTime: number;
|
|
805
|
+
endTime: number;
|
|
790
806
|
waitTime?: number | undefined;
|
|
791
|
-
duration
|
|
792
|
-
direction
|
|
807
|
+
duration: number;
|
|
808
|
+
direction: ChatDirection;
|
|
793
809
|
subject?: string | undefined;
|
|
794
810
|
service?: string | undefined;
|
|
795
811
|
serviceTitle?: string | undefined;
|
|
796
812
|
tags?: (ChatTag)[] | undefined;
|
|
797
|
-
channel
|
|
813
|
+
channel: Channel;
|
|
798
814
|
status?: ChatStatus | undefined;
|
|
799
|
-
participants
|
|
815
|
+
participants: (ChatParticipant)[];
|
|
800
816
|
type: RecordType;
|
|
801
817
|
}
|
|
802
818
|
/**
|
|
@@ -2153,18 +2169,18 @@ export interface ChatAnalyticsRecordEvent {
|
|
|
2153
2169
|
time: number;
|
|
2154
2170
|
company: string;
|
|
2155
2171
|
pbx?: string | undefined;
|
|
2156
|
-
startTime
|
|
2157
|
-
endTime
|
|
2172
|
+
startTime: number;
|
|
2173
|
+
endTime: number;
|
|
2158
2174
|
waitTime?: number | undefined;
|
|
2159
|
-
duration
|
|
2160
|
-
direction
|
|
2175
|
+
duration: number;
|
|
2176
|
+
direction: ChatDirection;
|
|
2161
2177
|
subject?: string | undefined;
|
|
2162
2178
|
service?: string | undefined;
|
|
2163
2179
|
serviceTitle?: string | undefined;
|
|
2164
2180
|
tags?: (ChatTag)[] | undefined;
|
|
2165
|
-
channel
|
|
2181
|
+
channel: Channel;
|
|
2166
2182
|
status?: ChatStatus | undefined;
|
|
2167
|
-
participants
|
|
2183
|
+
participants: (ChatParticipant)[];
|
|
2168
2184
|
type: string;
|
|
2169
2185
|
}
|
|
2170
2186
|
/**
|
|
@@ -4437,7 +4453,7 @@ export interface WebhookChatManagerMissedEvent {
|
|
|
4437
4453
|
*/
|
|
4438
4454
|
export interface WebhookChatSummaryCompletedEventData {
|
|
4439
4455
|
chat: ChatRecord;
|
|
4440
|
-
|
|
4456
|
+
summary: TranscriptionSummary;
|
|
4441
4457
|
}
|
|
4442
4458
|
/**
|
|
4443
4459
|
* @public
|
|
@@ -15,8 +15,13 @@ export declare const getRuntimeConfig: (config: WdaStreamClientConfig) => {
|
|
|
15
15
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
16
16
|
env?: "stage" | "stable" | "prod" | undefined;
|
|
17
17
|
token: import("@wildix/smithy-utils").TokenProvider;
|
|
18
|
-
apiVersion: string;
|
|
19
18
|
cacheMiddleware?: boolean | undefined;
|
|
19
|
+
protocol?: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | undefined;
|
|
20
|
+
protocolSettings?: {
|
|
21
|
+
[setting: string]: unknown;
|
|
22
|
+
defaultNamespace?: string | undefined;
|
|
23
|
+
} | undefined;
|
|
24
|
+
apiVersion: string;
|
|
20
25
|
urlParser: import("@smithy/types").UrlParser;
|
|
21
26
|
base64Decoder: import("@smithy/types").Decoder;
|
|
22
27
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
@@ -16,8 +16,13 @@ export declare const getRuntimeConfig: (config: WdaStreamClientConfig) => {
|
|
|
16
16
|
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
17
17
|
env?: "stage" | "stable" | "prod" | undefined;
|
|
18
18
|
token: import("@wildix/smithy-utils").TokenProvider;
|
|
19
|
-
apiVersion: string;
|
|
20
19
|
cacheMiddleware?: boolean | undefined;
|
|
20
|
+
protocol?: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | undefined;
|
|
21
|
+
protocolSettings?: {
|
|
22
|
+
[setting: string]: unknown;
|
|
23
|
+
defaultNamespace?: string | undefined;
|
|
24
|
+
} | undefined;
|
|
25
|
+
apiVersion: string;
|
|
21
26
|
urlParser: import("@smithy/types").UrlParser;
|
|
22
27
|
base64Decoder: import("@smithy/types").Decoder;
|
|
23
28
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
@@ -8,8 +8,13 @@ export declare const getRuntimeConfig: (config: WdaStreamClientConfig) => {
|
|
|
8
8
|
env?: "stage" | "stable" | "prod" | undefined;
|
|
9
9
|
token: import("@wildix/smithy-utils").TokenProvider;
|
|
10
10
|
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
11
|
-
apiVersion: string;
|
|
12
11
|
cacheMiddleware?: boolean | undefined;
|
|
12
|
+
protocol?: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | undefined;
|
|
13
|
+
protocolSettings?: {
|
|
14
|
+
[setting: string]: unknown;
|
|
15
|
+
defaultNamespace?: string | undefined;
|
|
16
|
+
} | undefined;
|
|
17
|
+
apiVersion: string;
|
|
13
18
|
urlParser: import("@smithy/types").UrlParser;
|
|
14
19
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
15
20
|
streamCollector: import("@smithy/types").StreamCollector;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/wda-stream-client",
|
|
3
3
|
"description": "@wildix/wda-stream-client client",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.15",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|