@wildix/wda-stream-client 1.0.21 → 1.0.23

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.
@@ -278,6 +278,7 @@ declare const ConsumeEventCommand_base: {
278
278
  * reason: "pause" || "hold",
279
279
  * },
280
280
  * ],
281
+ * flowId: Number("int"), // required
281
282
  * },
282
283
  * },
283
284
  * callAttachment: { // CallAttachmentConsumeEvent
@@ -325,7 +326,7 @@ declare const ConsumeEventCommand_base: {
325
326
  * room: "STRING_VALUE", // required
326
327
  * session: "STRING_VALUE", // required
327
328
  * time: Number("long"), // required
328
- * type: "CONFERENCE.TIMEFRAMES", // required
329
+ * type: "CONFERENCE.START" || "CONFERENCE.JOIN" || "CONFERENCE.RECORD_START" || "CONFERENCE.TRANSCRIPTION" || "CONFERENCE.LEAVE" || "CONFERENCE.RECORD_STOP" || "CONFERENCE.KEEP_ALIVE" || "CONFERENCE.TIMEFRAMES" || "CONFERENCE.END", // required
329
330
  * data: { // ConferenceTimeFramesConsumeEventData
330
331
  * timeFrames: [ // ConferenceTimeFramesList // required
331
332
  * { // ConferenceTimeFramesListItem
@@ -340,6 +341,98 @@ declare const ConsumeEventCommand_base: {
340
341
  * ],
341
342
  * },
342
343
  * },
344
+ * conferenceStart: { // ConferenceStartConsumeEvent
345
+ * room: "STRING_VALUE", // required
346
+ * session: "STRING_VALUE", // required
347
+ * time: Number("long"), // required
348
+ * type: "CONFERENCE.START" || "CONFERENCE.JOIN" || "CONFERENCE.RECORD_START" || "CONFERENCE.TRANSCRIPTION" || "CONFERENCE.LEAVE" || "CONFERENCE.RECORD_STOP" || "CONFERENCE.KEEP_ALIVE" || "CONFERENCE.TIMEFRAMES" || "CONFERENCE.END", // required
349
+ * provider: "STRING_VALUE",
350
+ * direction: "INTERNAL" || "INBOUND" || "OUTBOUND",
351
+ * service: "STRING_VALUE",
352
+ * data: { // ConferenceStartConsumeEventData
353
+ * company: "STRING_VALUE",
354
+ * pbx: "STRING_VALUE",
355
+ * subject: "STRING_VALUE",
356
+ * },
357
+ * },
358
+ * conferenceJoin: { // ConferenceJoinConsumeEvent
359
+ * room: "STRING_VALUE", // required
360
+ * session: "STRING_VALUE", // required
361
+ * time: Number("long"), // required
362
+ * type: "CONFERENCE.START" || "CONFERENCE.JOIN" || "CONFERENCE.RECORD_START" || "CONFERENCE.TRANSCRIPTION" || "CONFERENCE.LEAVE" || "CONFERENCE.RECORD_STOP" || "CONFERENCE.KEEP_ALIVE" || "CONFERENCE.TIMEFRAMES" || "CONFERENCE.END", // required
363
+ * data: { // ConferenceJoinConsumeEventData
364
+ * jid: "STRING_VALUE",
365
+ * name: "STRING_VALUE",
366
+ * email: "STRING_VALUE",
367
+ * company: "STRING_VALUE",
368
+ * department: "STRING_VALUE",
369
+ * pbxSerial: "STRING_VALUE",
370
+ * pbxExtension: "STRING_VALUE",
371
+ * pbxGroupId: "STRING_VALUE",
372
+ * license: "basic" || "essential" || "business" || "premium" || "wizyconf",
373
+ * xbsId: "STRING_VALUE",
374
+ * },
375
+ * },
376
+ * conferenceRecordStart: { // ConferenceRecordStartConsumeEvent
377
+ * room: "STRING_VALUE", // required
378
+ * session: "STRING_VALUE", // required
379
+ * time: Number("long"), // required
380
+ * type: "CONFERENCE.START" || "CONFERENCE.JOIN" || "CONFERENCE.RECORD_START" || "CONFERENCE.TRANSCRIPTION" || "CONFERENCE.LEAVE" || "CONFERENCE.RECORD_STOP" || "CONFERENCE.KEEP_ALIVE" || "CONFERENCE.TIMEFRAMES" || "CONFERENCE.END", // required
381
+ * data: { // ConferenceRecordStartConsumeEventData
382
+ * jid: "STRING_VALUE",
383
+ * },
384
+ * },
385
+ * conferenceTranscription: { // ConferenceTranscriptionConsumeEvent
386
+ * room: "STRING_VALUE", // required
387
+ * session: "STRING_VALUE", // required
388
+ * time: Number("long"), // required
389
+ * type: "CONFERENCE.START" || "CONFERENCE.JOIN" || "CONFERENCE.RECORD_START" || "CONFERENCE.TRANSCRIPTION" || "CONFERENCE.LEAVE" || "CONFERENCE.RECORD_STOP" || "CONFERENCE.KEEP_ALIVE" || "CONFERENCE.TIMEFRAMES" || "CONFERENCE.END", // required
390
+ * data: { // ConferenceTranscriptionConsumeEventData
391
+ * id: "STRING_VALUE", // required
392
+ * jid: "STRING_VALUE", // required
393
+ * language: "STRING_VALUE",
394
+ * text: "STRING_VALUE", // required
395
+ * time: Number("long"), // required
396
+ * start: Number("long"), // required
397
+ * end: Number("long"), // required
398
+ * sentiment: "STRING_VALUE",
399
+ * final: true || false,
400
+ * },
401
+ * },
402
+ * conferenceLeave: { // ConferenceLeaveConsumeEvent
403
+ * room: "STRING_VALUE", // required
404
+ * session: "STRING_VALUE", // required
405
+ * time: Number("long"), // required
406
+ * type: "CONFERENCE.START" || "CONFERENCE.JOIN" || "CONFERENCE.RECORD_START" || "CONFERENCE.TRANSCRIPTION" || "CONFERENCE.LEAVE" || "CONFERENCE.RECORD_STOP" || "CONFERENCE.KEEP_ALIVE" || "CONFERENCE.TIMEFRAMES" || "CONFERENCE.END", // required
407
+ * data: { // ConferenceLeaveConsumeEventData
408
+ * jid: "STRING_VALUE",
409
+ * },
410
+ * },
411
+ * conferenceRecordStop: { // ConferenceRecordStopConsumeEvent
412
+ * room: "STRING_VALUE", // required
413
+ * session: "STRING_VALUE", // required
414
+ * time: Number("long"), // required
415
+ * type: "CONFERENCE.START" || "CONFERENCE.JOIN" || "CONFERENCE.RECORD_START" || "CONFERENCE.TRANSCRIPTION" || "CONFERENCE.LEAVE" || "CONFERENCE.RECORD_STOP" || "CONFERENCE.KEEP_ALIVE" || "CONFERENCE.TIMEFRAMES" || "CONFERENCE.END", // required
416
+ * data: { // ConferenceRecordStopConsumeEventData
417
+ * jid: "STRING_VALUE", // required
418
+ * link: "STRING_VALUE", // required
419
+ * startTime: Number("long"), // required
420
+ * endTime: Number("long"), // required
421
+ * },
422
+ * },
423
+ * conferenceKeepAlive: { // ConferenceKeepAliveConsumeEvent
424
+ * type: "CONFERENCE.START" || "CONFERENCE.JOIN" || "CONFERENCE.RECORD_START" || "CONFERENCE.TRANSCRIPTION" || "CONFERENCE.LEAVE" || "CONFERENCE.RECORD_STOP" || "CONFERENCE.KEEP_ALIVE" || "CONFERENCE.TIMEFRAMES" || "CONFERENCE.END", // required
425
+ * time: Number("long"), // required
426
+ * sessions: [ // ConferenceKeepAliveSessions // required
427
+ * "STRING_VALUE",
428
+ * ],
429
+ * },
430
+ * conferenceEnd: { // ConverenceEndConsumeEvent
431
+ * room: "STRING_VALUE", // required
432
+ * session: "STRING_VALUE", // required
433
+ * time: Number("long"), // required
434
+ * type: "CONFERENCE.START" || "CONFERENCE.JOIN" || "CONFERENCE.RECORD_START" || "CONFERENCE.TRANSCRIPTION" || "CONFERENCE.LEAVE" || "CONFERENCE.RECORD_STOP" || "CONFERENCE.KEEP_ALIVE" || "CONFERENCE.TIMEFRAMES" || "CONFERENCE.END", // required
435
+ * },
343
436
  * chatNew: { // ChatNewConsumeEvent
344
437
  * type: "CHAT.NEW" || "CHAT.UPDATE", // required
345
438
  * company: "STRING_VALUE", // required
@@ -358,8 +451,6 @@ declare const ConsumeEventCommand_base: {
358
451
  * email: "STRING_VALUE",
359
452
  * phone: "STRING_VALUE",
360
453
  * picture: "STRING_VALUE",
361
- * locale: "STRING_VALUE",
362
- * timeZone: "STRING_VALUE",
363
454
  * company: "STRING_VALUE",
364
455
  * pbxDomain: "STRING_VALUE",
365
456
  * pbxPort: "STRING_VALUE",
@@ -378,8 +469,6 @@ declare const ConsumeEventCommand_base: {
378
469
  * email: "STRING_VALUE",
379
470
  * phone: "STRING_VALUE",
380
471
  * picture: "STRING_VALUE",
381
- * locale: "STRING_VALUE",
382
- * timeZone: "STRING_VALUE",
383
472
  * company: "STRING_VALUE",
384
473
  * pbxDomain: "STRING_VALUE",
385
474
  * pbxPort: "STRING_VALUE",
@@ -393,7 +482,7 @@ declare const ConsumeEventCommand_base: {
393
482
  * customersCount: Number("int"), // required
394
483
  * },
395
484
  * tags: [ // ChatTags
396
- * "sms" || "telephony" || "whatsapp",
485
+ * "sms" || "telephony",
397
486
  * ],
398
487
  * sender: {
399
488
  * id: "STRING_VALUE", // required
@@ -401,8 +490,6 @@ declare const ConsumeEventCommand_base: {
401
490
  * email: "STRING_VALUE",
402
491
  * phone: "STRING_VALUE",
403
492
  * picture: "STRING_VALUE",
404
- * locale: "STRING_VALUE",
405
- * timeZone: "STRING_VALUE",
406
493
  * company: "STRING_VALUE",
407
494
  * pbxDomain: "STRING_VALUE",
408
495
  * pbxPort: "STRING_VALUE",
@@ -432,8 +519,6 @@ declare const ConsumeEventCommand_base: {
432
519
  * email: "STRING_VALUE",
433
520
  * phone: "STRING_VALUE",
434
521
  * picture: "STRING_VALUE",
435
- * locale: "STRING_VALUE",
436
- * timeZone: "STRING_VALUE",
437
522
  * company: "STRING_VALUE",
438
523
  * pbxDomain: "STRING_VALUE",
439
524
  * pbxPort: "STRING_VALUE",
@@ -452,8 +537,6 @@ declare const ConsumeEventCommand_base: {
452
537
  * email: "STRING_VALUE",
453
538
  * phone: "STRING_VALUE",
454
539
  * picture: "STRING_VALUE",
455
- * locale: "STRING_VALUE",
456
- * timeZone: "STRING_VALUE",
457
540
  * company: "STRING_VALUE",
458
541
  * pbxDomain: "STRING_VALUE",
459
542
  * pbxPort: "STRING_VALUE",
@@ -467,7 +550,7 @@ declare const ConsumeEventCommand_base: {
467
550
  * customersCount: Number("int"), // required
468
551
  * },
469
552
  * tags: [
470
- * "sms" || "telephony" || "whatsapp",
553
+ * "sms" || "telephony",
471
554
  * ],
472
555
  * },
473
556
  * },
@@ -497,34 +580,37 @@ declare const ConsumeEventCommand_base: {
497
580
  * parts: Number("int"), // required
498
581
  * },
499
582
  * },
500
- * whatsappInbound: { // WhatsAppInboundConsumeEvent
583
+ * presence: { // PresenceConsumeEvent
584
+ * time: Number("long"), // required
501
585
  * pbx: "STRING_VALUE", // required
502
586
  * company: "STRING_VALUE", // required
503
- * time: new Date("TIMESTAMP"), // required
504
- * type: "WHATSAPP.INBOUND" || "WHATSAPP.STATUS", // required
505
- * data: { // WhatsAppInboundEventData
506
- * from: "STRING_VALUE", // required
507
- * to: "STRING_VALUE", // required
508
- * id: "STRING_VALUE", // required
509
- * message: "STRING_VALUE", // required
510
- * media: [ // StringList
587
+ * ext: "STRING_VALUE", // required
588
+ * type: "PRESENCE" || "PRESENCE.TELEPHONY", // required
589
+ * data: { // PresenceConsumeEventData
590
+ * department: "STRING_VALUE",
591
+ * group: "STRING_VALUE",
592
+ * email: "STRING_VALUE",
593
+ * sourceId: "STRING_VALUE",
594
+ * status: "STRING_VALUE",
595
+ * location: [ // PresenceLocation
511
596
  * "STRING_VALUE",
512
597
  * ],
598
+ * message: "STRING_VALUE",
599
+ * until: "STRING_VALUE",
513
600
  * },
514
601
  * },
515
- * whatsappStatus: { // WhatsAppStatusConsumeEvent
602
+ * presenceTelephony: { // PresenceTelephonyConsumeEvent
603
+ * time: Number("long"), // required
516
604
  * pbx: "STRING_VALUE", // required
517
605
  * company: "STRING_VALUE", // required
518
- * time: new Date("TIMESTAMP"), // required
519
- * type: "WHATSAPP.INBOUND" || "WHATSAPP.STATUS", // required
520
- * data: { // WhatsAppStatusEventData
521
- * from: "STRING_VALUE", // required
522
- * to: "STRING_VALUE", // required
523
- * id: "STRING_VALUE", // required
524
- * status: "SENT" || "DELIVERED" || "ERROR" || "READ" || "DELETED" || "24H_CHANNEL_CLOSED", // required
525
- * reason: "STRING_VALUE", // required
526
- * channel: "STRING_VALUE",
527
- * parts: Number("int"),
606
+ * ext: "STRING_VALUE", // required
607
+ * type: "PRESENCE" || "PRESENCE.TELEPHONY", // required
608
+ * data: { // PresenceTelephonyConsumeEventData
609
+ * department: "STRING_VALUE",
610
+ * group: "STRING_VALUE",
611
+ * email: "STRING_VALUE",
612
+ * sourceId: "STRING_VALUE",
613
+ * status: "STRING_VALUE",
528
614
  * },
529
615
  * },
530
616
  * },