@wildix/wda-stream-client 1.0.41 → 1.0.43
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-types/commands/DescribeEventCommand.d.ts +18 -0
- package/dist-types/commands/GetConversationsCommand.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +80 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/package.json +1 -1
|
@@ -135,6 +135,8 @@ declare const DescribeEventCommand_base: {
|
|
|
135
135
|
* // connectTime: Number("long"),
|
|
136
136
|
* // talkTime: Number("long"),
|
|
137
137
|
* // waitTime: Number("long"),
|
|
138
|
+
* // queueTime: Number("long"),
|
|
139
|
+
* // holdTime: Number("long"),
|
|
138
140
|
* // duration: Number("long"), // required
|
|
139
141
|
* // caller: { // CallParticipant
|
|
140
142
|
* // type: "REMOTE" || "LOCAL", // required
|
|
@@ -311,6 +313,8 @@ declare const DescribeEventCommand_base: {
|
|
|
311
313
|
* // connectTime: Number("long"),
|
|
312
314
|
* // talkTime: Number("long"),
|
|
313
315
|
* // waitTime: Number("long"),
|
|
316
|
+
* // queueTime: Number("long"),
|
|
317
|
+
* // holdTime: Number("long"),
|
|
314
318
|
* // duration: Number("long"), // required
|
|
315
319
|
* // caller: {
|
|
316
320
|
* // type: "REMOTE" || "LOCAL", // required
|
|
@@ -412,6 +416,8 @@ declare const DescribeEventCommand_base: {
|
|
|
412
416
|
* // totalConnectTime: Number("int"), // required
|
|
413
417
|
* // totalTalkTime: Number("int"), // required
|
|
414
418
|
* // totalWaitTime: Number("int"), // required
|
|
419
|
+
* // totalQueueTime: Number("int"), // required
|
|
420
|
+
* // totalHoldTime: Number("int"), // required
|
|
415
421
|
* // type: "chat" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call_cost" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_join" || "conference_leave", // required
|
|
416
422
|
* // complete: true || false, // required
|
|
417
423
|
* // },
|
|
@@ -1016,6 +1022,8 @@ declare const DescribeEventCommand_base: {
|
|
|
1016
1022
|
* // connectTime: Number("long"),
|
|
1017
1023
|
* // talkTime: Number("long"),
|
|
1018
1024
|
* // waitTime: Number("long"),
|
|
1025
|
+
* // queueTime: Number("long"),
|
|
1026
|
+
* // holdTime: Number("long"),
|
|
1019
1027
|
* // duration: Number("long"), // required
|
|
1020
1028
|
* // caller: "<CallParticipant>",
|
|
1021
1029
|
* // callee: "<CallParticipant>",
|
|
@@ -1161,6 +1169,8 @@ declare const DescribeEventCommand_base: {
|
|
|
1161
1169
|
* // connectTime: Number("long"),
|
|
1162
1170
|
* // talkTime: Number("long"),
|
|
1163
1171
|
* // waitTime: Number("long"),
|
|
1172
|
+
* // queueTime: Number("long"),
|
|
1173
|
+
* // holdTime: Number("long"),
|
|
1164
1174
|
* // duration: Number("long"), // required
|
|
1165
1175
|
* // caller: "<CallParticipant>",
|
|
1166
1176
|
* // callee: "<CallParticipant>",
|
|
@@ -1232,6 +1242,8 @@ declare const DescribeEventCommand_base: {
|
|
|
1232
1242
|
* // totalConnectTime: Number("int"), // required
|
|
1233
1243
|
* // totalTalkTime: Number("int"), // required
|
|
1234
1244
|
* // totalWaitTime: Number("int"), // required
|
|
1245
|
+
* // totalQueueTime: Number("int"), // required
|
|
1246
|
+
* // totalHoldTime: Number("int"), // required
|
|
1235
1247
|
* // type: "chat" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call_cost" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_join" || "conference_leave", // required
|
|
1236
1248
|
* // complete: true || false, // required
|
|
1237
1249
|
* // },
|
|
@@ -1251,6 +1263,8 @@ declare const DescribeEventCommand_base: {
|
|
|
1251
1263
|
* // connectTime: Number("long"),
|
|
1252
1264
|
* // talkTime: Number("long"),
|
|
1253
1265
|
* // waitTime: Number("long"),
|
|
1266
|
+
* // queueTime: Number("long"),
|
|
1267
|
+
* // holdTime: Number("long"),
|
|
1254
1268
|
* // duration: Number("long"), // required
|
|
1255
1269
|
* // caller: "<CallParticipant>",
|
|
1256
1270
|
* // callee: "<CallParticipant>",
|
|
@@ -1347,6 +1361,8 @@ declare const DescribeEventCommand_base: {
|
|
|
1347
1361
|
* // connectTime: Number("long"),
|
|
1348
1362
|
* // talkTime: Number("long"),
|
|
1349
1363
|
* // waitTime: Number("long"),
|
|
1364
|
+
* // queueTime: Number("long"),
|
|
1365
|
+
* // holdTime: Number("long"),
|
|
1350
1366
|
* // duration: Number("long"), // required
|
|
1351
1367
|
* // caller: "<CallParticipant>",
|
|
1352
1368
|
* // callee: "<CallParticipant>",
|
|
@@ -1403,6 +1419,8 @@ declare const DescribeEventCommand_base: {
|
|
|
1403
1419
|
* // connectTime: Number("long"),
|
|
1404
1420
|
* // talkTime: Number("long"),
|
|
1405
1421
|
* // waitTime: Number("long"),
|
|
1422
|
+
* // queueTime: Number("long"),
|
|
1423
|
+
* // holdTime: Number("long"),
|
|
1406
1424
|
* // duration: Number("long"), // required
|
|
1407
1425
|
* // caller: "<CallParticipant>",
|
|
1408
1426
|
* // callee: "<CallParticipant>",
|
|
@@ -63,6 +63,8 @@ declare const GetConversationsCommand_base: {
|
|
|
63
63
|
* // connectTime: Number("long"),
|
|
64
64
|
* // talkTime: Number("long"),
|
|
65
65
|
* // waitTime: Number("long"),
|
|
66
|
+
* // queueTime: Number("long"),
|
|
67
|
+
* // holdTime: Number("long"),
|
|
66
68
|
* // duration: Number("long"), // required
|
|
67
69
|
* // caller: { // CallParticipant
|
|
68
70
|
* // type: "REMOTE" || "LOCAL", // required
|
|
@@ -289,9 +289,35 @@ export interface CallRecord {
|
|
|
289
289
|
flowIndex: number;
|
|
290
290
|
startTime: number;
|
|
291
291
|
endTime: number;
|
|
292
|
+
/**
|
|
293
|
+
* Duration when the called party's phone rang (Ring Time in UI)
|
|
294
|
+
* @public
|
|
295
|
+
*/
|
|
292
296
|
connectTime?: number;
|
|
297
|
+
/**
|
|
298
|
+
* Duration of conversation from the moment the call is answered until it ends, excluding hold time
|
|
299
|
+
* @public
|
|
300
|
+
*/
|
|
293
301
|
talkTime?: number;
|
|
302
|
+
/**
|
|
303
|
+
* Duration spent on IVR, dialplan applications, playback, etc. before the call is answered
|
|
304
|
+
* @public
|
|
305
|
+
*/
|
|
294
306
|
waitTime?: number;
|
|
307
|
+
/**
|
|
308
|
+
* Duration of call waiting in queue
|
|
309
|
+
* @public
|
|
310
|
+
*/
|
|
311
|
+
queueTime?: number;
|
|
312
|
+
/**
|
|
313
|
+
* Duration the call was on hold after being answered
|
|
314
|
+
* @public
|
|
315
|
+
*/
|
|
316
|
+
holdTime?: number;
|
|
317
|
+
/**
|
|
318
|
+
* Total duration = connectTime + waitTime + queueTime + talkTime + holdTime
|
|
319
|
+
* @public
|
|
320
|
+
*/
|
|
295
321
|
duration: number;
|
|
296
322
|
caller?: CallParticipant;
|
|
297
323
|
callee?: CallParticipant;
|
|
@@ -755,9 +781,35 @@ export interface CallAnalyticsLiveProgressEventFlow {
|
|
|
755
781
|
flowIndex: number;
|
|
756
782
|
startTime: number;
|
|
757
783
|
endTime: number;
|
|
784
|
+
/**
|
|
785
|
+
* Duration when the called party's phone rang (Ring Time in UI)
|
|
786
|
+
* @public
|
|
787
|
+
*/
|
|
758
788
|
connectTime?: number;
|
|
789
|
+
/**
|
|
790
|
+
* Duration of conversation from the moment the call is answered until it ends, excluding hold time
|
|
791
|
+
* @public
|
|
792
|
+
*/
|
|
759
793
|
talkTime?: number;
|
|
794
|
+
/**
|
|
795
|
+
* Duration spent on IVR, dialplan applications, playback, etc. before the call is answered
|
|
796
|
+
* @public
|
|
797
|
+
*/
|
|
760
798
|
waitTime?: number;
|
|
799
|
+
/**
|
|
800
|
+
* Duration of call waiting in queue
|
|
801
|
+
* @public
|
|
802
|
+
*/
|
|
803
|
+
queueTime?: number;
|
|
804
|
+
/**
|
|
805
|
+
* Duration the call was on hold after being answered
|
|
806
|
+
* @public
|
|
807
|
+
*/
|
|
808
|
+
holdTime?: number;
|
|
809
|
+
/**
|
|
810
|
+
* Total duration = connectTime + waitTime + queueTime + talkTime + holdTime
|
|
811
|
+
* @public
|
|
812
|
+
*/
|
|
761
813
|
duration: number;
|
|
762
814
|
caller?: CallParticipant;
|
|
763
815
|
callee?: CallParticipant;
|
|
@@ -849,9 +901,35 @@ export interface CallAnalyticsRecordEventFlow {
|
|
|
849
901
|
flowIndex: number;
|
|
850
902
|
startTime: number;
|
|
851
903
|
endTime: number;
|
|
904
|
+
/**
|
|
905
|
+
* Duration when the called party's phone rang (Ring Time in UI)
|
|
906
|
+
* @public
|
|
907
|
+
*/
|
|
852
908
|
connectTime?: number;
|
|
909
|
+
/**
|
|
910
|
+
* Duration of conversation from the moment the call is answered until it ends, excluding hold time
|
|
911
|
+
* @public
|
|
912
|
+
*/
|
|
853
913
|
talkTime?: number;
|
|
914
|
+
/**
|
|
915
|
+
* Duration spent on IVR, dialplan applications, playback, etc. before the call is answered
|
|
916
|
+
* @public
|
|
917
|
+
*/
|
|
854
918
|
waitTime?: number;
|
|
919
|
+
/**
|
|
920
|
+
* Duration of call waiting in queue
|
|
921
|
+
* @public
|
|
922
|
+
*/
|
|
923
|
+
queueTime?: number;
|
|
924
|
+
/**
|
|
925
|
+
* Duration the call was on hold after being answered
|
|
926
|
+
* @public
|
|
927
|
+
*/
|
|
928
|
+
holdTime?: number;
|
|
929
|
+
/**
|
|
930
|
+
* Total duration = connectTime + waitTime + queueTime + talkTime + holdTime
|
|
931
|
+
* @public
|
|
932
|
+
*/
|
|
855
933
|
duration: number;
|
|
856
934
|
caller?: CallParticipant;
|
|
857
935
|
callee?: CallParticipant;
|
|
@@ -900,6 +978,8 @@ export interface CallAnalyticsRecordEvent {
|
|
|
900
978
|
totalConnectTime: number;
|
|
901
979
|
totalTalkTime: number;
|
|
902
980
|
totalWaitTime: number;
|
|
981
|
+
totalQueueTime: number;
|
|
982
|
+
totalHoldTime: number;
|
|
903
983
|
type: LiveEventType;
|
|
904
984
|
complete: boolean;
|
|
905
985
|
}
|
|
@@ -16,6 +16,7 @@ export declare const getRuntimeConfig: (config: WdaStreamClientConfig) => {
|
|
|
16
16
|
env?: "stage" | "stable" | "prod" | undefined;
|
|
17
17
|
token: import("@wildix/smithy-utils").TokenProvider;
|
|
18
18
|
apiVersion: string;
|
|
19
|
+
cacheMiddleware?: boolean | undefined;
|
|
19
20
|
urlParser: import("@smithy/types").UrlParser;
|
|
20
21
|
base64Decoder: import("@smithy/types").Decoder;
|
|
21
22
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
@@ -16,6 +16,7 @@ export declare const getRuntimeConfig: (config: WdaStreamClientConfig) => {
|
|
|
16
16
|
env?: "stage" | "stable" | "prod" | undefined;
|
|
17
17
|
token: import("@wildix/smithy-utils").TokenProvider;
|
|
18
18
|
apiVersion: string;
|
|
19
|
+
cacheMiddleware?: boolean | undefined;
|
|
19
20
|
urlParser: import("@smithy/types").UrlParser;
|
|
20
21
|
base64Decoder: import("@smithy/types").Decoder;
|
|
21
22
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
@@ -9,6 +9,7 @@ export declare const getRuntimeConfig: (config: WdaStreamClientConfig) => {
|
|
|
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
11
|
apiVersion: string;
|
|
12
|
+
cacheMiddleware?: boolean | undefined;
|
|
12
13
|
urlParser: import("@smithy/types").UrlParser;
|
|
13
14
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
14
15
|
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.0.
|
|
4
|
+
"version": "1.0.43",
|
|
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",
|