@wildix/wda-stream-client 1.0.44 → 1.0.45
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 +3 -3
- package/dist-es/models/models_0.js +3 -3
- package/dist-types/commands/ConsumeEventCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEventCommand.d.ts +20 -20
- package/dist-types/commands/GetConversationsCommand.d.ts +5 -5
- package/dist-types/models/models_0.d.ts +4 -4
- package/package.json +1 -1
|
@@ -65,9 +65,9 @@ exports.WhatsAppStatus = {
|
|
|
65
65
|
SENT: "SENT",
|
|
66
66
|
};
|
|
67
67
|
exports.CallRecordOwner = {
|
|
68
|
-
CALLEE: "
|
|
69
|
-
CALLER: "
|
|
70
|
-
SYSTEM: "
|
|
68
|
+
CALLEE: "callee",
|
|
69
|
+
CALLER: "caller",
|
|
70
|
+
SYSTEM: "system",
|
|
71
71
|
};
|
|
72
72
|
exports.CallRecordPauseReason = {
|
|
73
73
|
HOLD: "hold",
|
|
@@ -58,9 +58,9 @@ export const WhatsAppStatus = {
|
|
|
58
58
|
SENT: "SENT",
|
|
59
59
|
};
|
|
60
60
|
export const CallRecordOwner = {
|
|
61
|
-
CALLEE: "
|
|
62
|
-
CALLER: "
|
|
63
|
-
SYSTEM: "
|
|
61
|
+
CALLEE: "callee",
|
|
62
|
+
CALLER: "caller",
|
|
63
|
+
SYSTEM: "system",
|
|
64
64
|
};
|
|
65
65
|
export const CallRecordPauseReason = {
|
|
66
66
|
HOLD: "hold",
|
|
@@ -259,7 +259,7 @@ declare const ConsumeEventCommand_base: {
|
|
|
259
259
|
* data: { // CallRecordStartConsumeEventData
|
|
260
260
|
* fileName: "STRING_VALUE", // required
|
|
261
261
|
* start: Number("long"), // required
|
|
262
|
-
* owner: "
|
|
262
|
+
* owner: "callee" || "caller" || "system", // required
|
|
263
263
|
* },
|
|
264
264
|
* },
|
|
265
265
|
* callRecordStop: { // CallRecordStopConsumeEvent
|
|
@@ -195,7 +195,7 @@ declare const DescribeEventCommand_base: {
|
|
|
195
195
|
* // fileName: "STRING_VALUE", // required
|
|
196
196
|
* // start: Number("long"), // required
|
|
197
197
|
* // end: Number("long"), // required
|
|
198
|
-
* // owner: "
|
|
198
|
+
* // owner: "callee" || "caller" || "system", // required
|
|
199
199
|
* // url: "STRING_VALUE", // required
|
|
200
200
|
* // pauses: [ // CallRecordPausesList // required
|
|
201
201
|
* // { // CallRecordPause
|
|
@@ -236,7 +236,7 @@ declare const DescribeEventCommand_base: {
|
|
|
236
236
|
* // fileName: "STRING_VALUE", // required
|
|
237
237
|
* // start: Number("long"), // required
|
|
238
238
|
* // end: Number("long"), // required
|
|
239
|
-
* // owner: "
|
|
239
|
+
* // owner: "callee" || "caller" || "system", // required
|
|
240
240
|
* // url: "STRING_VALUE", // required
|
|
241
241
|
* // pauses: [ // required
|
|
242
242
|
* // {
|
|
@@ -248,7 +248,7 @@ declare const DescribeEventCommand_base: {
|
|
|
248
248
|
* // },
|
|
249
249
|
* // fax: { // CallFlowFax
|
|
250
250
|
* // url: "STRING_VALUE", // required
|
|
251
|
-
* // status: "STRING_VALUE",
|
|
251
|
+
* // status: "STRING_VALUE",
|
|
252
252
|
* // destinations: [
|
|
253
253
|
* // {
|
|
254
254
|
* // phone: "STRING_VALUE",
|
|
@@ -261,12 +261,12 @@ declare const DescribeEventCommand_base: {
|
|
|
261
261
|
* // groupName: "STRING_VALUE",
|
|
262
262
|
* // },
|
|
263
263
|
* // ],
|
|
264
|
-
* // owner: "
|
|
264
|
+
* // owner: "callee" || "caller" || "system",
|
|
265
265
|
* // errorMsg: "STRING_VALUE",
|
|
266
266
|
* // },
|
|
267
267
|
* // voicemail: { // CallFlowVoicemail
|
|
268
268
|
* // url: "STRING_VALUE", // required
|
|
269
|
-
* // owner: "
|
|
269
|
+
* // owner: "callee" || "caller" || "system",
|
|
270
270
|
* // },
|
|
271
271
|
* // },
|
|
272
272
|
* // ],
|
|
@@ -413,7 +413,7 @@ declare const DescribeEventCommand_base: {
|
|
|
413
413
|
* // fileName: "STRING_VALUE", // required
|
|
414
414
|
* // start: Number("long"), // required
|
|
415
415
|
* // end: Number("long"), // required
|
|
416
|
-
* // owner: "
|
|
416
|
+
* // owner: "callee" || "caller" || "system", // required
|
|
417
417
|
* // url: "STRING_VALUE", // required
|
|
418
418
|
* // pauses: [ // required
|
|
419
419
|
* // {
|
|
@@ -454,7 +454,7 @@ declare const DescribeEventCommand_base: {
|
|
|
454
454
|
* // fileName: "STRING_VALUE", // required
|
|
455
455
|
* // start: Number("long"), // required
|
|
456
456
|
* // end: Number("long"), // required
|
|
457
|
-
* // owner: "
|
|
457
|
+
* // owner: "callee" || "caller" || "system", // required
|
|
458
458
|
* // url: "STRING_VALUE", // required
|
|
459
459
|
* // pauses: [ // required
|
|
460
460
|
* // {
|
|
@@ -466,7 +466,7 @@ declare const DescribeEventCommand_base: {
|
|
|
466
466
|
* // },
|
|
467
467
|
* // fax: {
|
|
468
468
|
* // url: "STRING_VALUE", // required
|
|
469
|
-
* // status: "STRING_VALUE",
|
|
469
|
+
* // status: "STRING_VALUE",
|
|
470
470
|
* // destinations: [
|
|
471
471
|
* // {
|
|
472
472
|
* // phone: "STRING_VALUE",
|
|
@@ -479,12 +479,12 @@ declare const DescribeEventCommand_base: {
|
|
|
479
479
|
* // groupName: "STRING_VALUE",
|
|
480
480
|
* // },
|
|
481
481
|
* // ],
|
|
482
|
-
* // owner: "
|
|
482
|
+
* // owner: "callee" || "caller" || "system",
|
|
483
483
|
* // errorMsg: "STRING_VALUE",
|
|
484
484
|
* // },
|
|
485
485
|
* // voicemail: {
|
|
486
486
|
* // url: "STRING_VALUE", // required
|
|
487
|
-
* // owner: "
|
|
487
|
+
* // owner: "callee" || "caller" || "system",
|
|
488
488
|
* // },
|
|
489
489
|
* // },
|
|
490
490
|
* // ],
|
|
@@ -1132,7 +1132,7 @@ declare const DescribeEventCommand_base: {
|
|
|
1132
1132
|
* // fileName: "STRING_VALUE", // required
|
|
1133
1133
|
* // start: Number("long"), // required
|
|
1134
1134
|
* // end: Number("long"), // required
|
|
1135
|
-
* // owner: "
|
|
1135
|
+
* // owner: "callee" || "caller" || "system", // required
|
|
1136
1136
|
* // url: "STRING_VALUE", // required
|
|
1137
1137
|
* // pauses: [ // required
|
|
1138
1138
|
* // {
|
|
@@ -1161,14 +1161,14 @@ declare const DescribeEventCommand_base: {
|
|
|
1161
1161
|
* // recording: "<CallFlowRecording>",
|
|
1162
1162
|
* // fax: {
|
|
1163
1163
|
* // url: "STRING_VALUE", // required
|
|
1164
|
-
* // status: "STRING_VALUE",
|
|
1164
|
+
* // status: "STRING_VALUE",
|
|
1165
1165
|
* // destinations: "<CallFlowAttachmentDestinationList>",
|
|
1166
|
-
* // owner: "
|
|
1166
|
+
* // owner: "callee" || "caller" || "system",
|
|
1167
1167
|
* // errorMsg: "STRING_VALUE",
|
|
1168
1168
|
* // },
|
|
1169
1169
|
* // voicemail: {
|
|
1170
1170
|
* // url: "STRING_VALUE", // required
|
|
1171
|
-
* // owner: "
|
|
1171
|
+
* // owner: "callee" || "caller" || "system",
|
|
1172
1172
|
* // },
|
|
1173
1173
|
* // },
|
|
1174
1174
|
* // ],
|
|
@@ -1300,14 +1300,14 @@ declare const DescribeEventCommand_base: {
|
|
|
1300
1300
|
* // recording: "<CallFlowRecording>",
|
|
1301
1301
|
* // fax: {
|
|
1302
1302
|
* // url: "STRING_VALUE", // required
|
|
1303
|
-
* // status: "STRING_VALUE",
|
|
1303
|
+
* // status: "STRING_VALUE",
|
|
1304
1304
|
* // destinations: "<CallFlowAttachmentDestinationList>",
|
|
1305
|
-
* // owner: "
|
|
1305
|
+
* // owner: "callee" || "caller" || "system",
|
|
1306
1306
|
* // errorMsg: "STRING_VALUE",
|
|
1307
1307
|
* // },
|
|
1308
1308
|
* // voicemail: {
|
|
1309
1309
|
* // url: "STRING_VALUE", // required
|
|
1310
|
-
* // owner: "
|
|
1310
|
+
* // owner: "callee" || "caller" || "system",
|
|
1311
1311
|
* // },
|
|
1312
1312
|
* // },
|
|
1313
1313
|
* // ],
|
|
@@ -1386,14 +1386,14 @@ declare const DescribeEventCommand_base: {
|
|
|
1386
1386
|
* // recording: "<CallFlowRecording>",
|
|
1387
1387
|
* // fax: {
|
|
1388
1388
|
* // url: "STRING_VALUE", // required
|
|
1389
|
-
* // status: "STRING_VALUE",
|
|
1389
|
+
* // status: "STRING_VALUE",
|
|
1390
1390
|
* // destinations: "<CallFlowAttachmentDestinationList>",
|
|
1391
|
-
* // owner: "
|
|
1391
|
+
* // owner: "callee" || "caller" || "system",
|
|
1392
1392
|
* // errorMsg: "STRING_VALUE",
|
|
1393
1393
|
* // },
|
|
1394
1394
|
* // voicemail: {
|
|
1395
1395
|
* // url: "STRING_VALUE", // required
|
|
1396
|
-
* // owner: "
|
|
1396
|
+
* // owner: "callee" || "caller" || "system",
|
|
1397
1397
|
* // },
|
|
1398
1398
|
* // },
|
|
1399
1399
|
* // ],
|
|
@@ -123,7 +123,7 @@ declare const GetConversationsCommand_base: {
|
|
|
123
123
|
* // fileName: "STRING_VALUE", // required
|
|
124
124
|
* // start: Number("long"), // required
|
|
125
125
|
* // end: Number("long"), // required
|
|
126
|
-
* // owner: "
|
|
126
|
+
* // owner: "callee" || "caller" || "system", // required
|
|
127
127
|
* // url: "STRING_VALUE", // required
|
|
128
128
|
* // pauses: [ // CallRecordPausesList // required
|
|
129
129
|
* // { // CallRecordPause
|
|
@@ -164,7 +164,7 @@ declare const GetConversationsCommand_base: {
|
|
|
164
164
|
* // fileName: "STRING_VALUE", // required
|
|
165
165
|
* // start: Number("long"), // required
|
|
166
166
|
* // end: Number("long"), // required
|
|
167
|
-
* // owner: "
|
|
167
|
+
* // owner: "callee" || "caller" || "system", // required
|
|
168
168
|
* // url: "STRING_VALUE", // required
|
|
169
169
|
* // pauses: [ // required
|
|
170
170
|
* // {
|
|
@@ -176,7 +176,7 @@ declare const GetConversationsCommand_base: {
|
|
|
176
176
|
* // },
|
|
177
177
|
* // fax: { // CallFlowFax
|
|
178
178
|
* // url: "STRING_VALUE", // required
|
|
179
|
-
* // status: "STRING_VALUE",
|
|
179
|
+
* // status: "STRING_VALUE",
|
|
180
180
|
* // destinations: [
|
|
181
181
|
* // {
|
|
182
182
|
* // phone: "STRING_VALUE",
|
|
@@ -189,12 +189,12 @@ declare const GetConversationsCommand_base: {
|
|
|
189
189
|
* // groupName: "STRING_VALUE",
|
|
190
190
|
* // },
|
|
191
191
|
* // ],
|
|
192
|
-
* // owner: "
|
|
192
|
+
* // owner: "callee" || "caller" || "system",
|
|
193
193
|
* // errorMsg: "STRING_VALUE",
|
|
194
194
|
* // },
|
|
195
195
|
* // voicemail: { // CallFlowVoicemail
|
|
196
196
|
* // url: "STRING_VALUE", // required
|
|
197
|
-
* // owner: "
|
|
197
|
+
* // owner: "callee" || "caller" || "system",
|
|
198
198
|
* // },
|
|
199
199
|
* // },
|
|
200
200
|
* // ],
|
|
@@ -132,9 +132,9 @@ export interface CallFlowAttachmentDestination {
|
|
|
132
132
|
* @enum
|
|
133
133
|
*/
|
|
134
134
|
export declare const CallRecordOwner: {
|
|
135
|
-
readonly CALLEE: "
|
|
136
|
-
readonly CALLER: "
|
|
137
|
-
readonly SYSTEM: "
|
|
135
|
+
readonly CALLEE: "callee";
|
|
136
|
+
readonly CALLER: "caller";
|
|
137
|
+
readonly SYSTEM: "system";
|
|
138
138
|
};
|
|
139
139
|
/**
|
|
140
140
|
* @public
|
|
@@ -145,7 +145,7 @@ export type CallRecordOwner = typeof CallRecordOwner[keyof typeof CallRecordOwne
|
|
|
145
145
|
*/
|
|
146
146
|
export interface CallFlowFax {
|
|
147
147
|
url: string;
|
|
148
|
-
status
|
|
148
|
+
status?: string;
|
|
149
149
|
destinations?: (CallFlowAttachmentDestination)[];
|
|
150
150
|
owner?: CallRecordOwner;
|
|
151
151
|
errorMsg?: string;
|
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.45",
|
|
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",
|