@wildix/wda-stream-client 1.1.28 → 1.1.30

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.
@@ -296,18 +296,12 @@ declare const DescribeEventCommand_base: {
296
296
  * // },
297
297
  * // },
298
298
  * // ],
299
- * // notificationDestinations: [
300
- * // {
301
- * // phone: "STRING_VALUE",
302
- * // name: "STRING_VALUE",
303
- * // email: "STRING_VALUE",
304
- * // userId: "STRING_VALUE",
305
- * // userExtension: "STRING_VALUE",
306
- * // userDepartment: "STRING_VALUE",
307
- * // groupId: "STRING_VALUE",
308
- * // groupName: "STRING_VALUE",
309
- * // },
310
- * // ],
299
+ * // notifications: { // CallFlowNotifications
300
+ * // destinations: "<CallFlowAttachmentDestinationList>",
301
+ * // type: [ // NotificationsType
302
+ * // "STRING_VALUE",
303
+ * // ],
304
+ * // },
311
305
  * // status: "CONNECTING" || "TALKING" || "HOLD", // required
312
306
  * // statusChangeDate: "STRING_VALUE", // required
313
307
  * // },
@@ -490,18 +484,7 @@ declare const DescribeEventCommand_base: {
490
484
  * // transcriptionSeconds: Number("int"),
491
485
  * // attachment: "STRING_VALUE",
492
486
  * // attachmentType: "VOICEMAIL" || "FAX",
493
- * // attachmentDestinations: [
494
- * // {
495
- * // phone: "STRING_VALUE",
496
- * // name: "STRING_VALUE",
497
- * // email: "STRING_VALUE",
498
- * // userId: "STRING_VALUE",
499
- * // userExtension: "STRING_VALUE",
500
- * // userDepartment: "STRING_VALUE",
501
- * // groupId: "STRING_VALUE",
502
- * // groupName: "STRING_VALUE",
503
- * // },
504
- * // ],
487
+ * // attachmentDestinations: "<CallFlowAttachmentDestinationList>",
505
488
  * // attachments: [
506
489
  * // {// Union: only one key present
507
490
  * // recording: {
@@ -532,7 +515,12 @@ declare const DescribeEventCommand_base: {
532
515
  * // },
533
516
  * // },
534
517
  * // ],
535
- * // notificationDestinations: "<CallFlowAttachmentDestinationList>",
518
+ * // notifications: {
519
+ * // destinations: "<CallFlowAttachmentDestinationList>",
520
+ * // type: [
521
+ * // "STRING_VALUE",
522
+ * // ],
523
+ * // },
536
524
  * // },
537
525
  * // ],
538
526
  * // endCause: "STRING_VALUE",
@@ -1539,7 +1527,12 @@ declare const DescribeEventCommand_base: {
1539
1527
  * // },
1540
1528
  * // },
1541
1529
  * // ],
1542
- * // notificationDestinations: "<CallFlowAttachmentDestinationList>",
1530
+ * // notifications: {
1531
+ * // destinations: "<CallFlowAttachmentDestinationList>",
1532
+ * // type: [
1533
+ * // "STRING_VALUE",
1534
+ * // ],
1535
+ * // },
1543
1536
  * // status: "CONNECTING" || "TALKING" || "HOLD", // required
1544
1537
  * // statusChangeDate: "STRING_VALUE", // required
1545
1538
  * // },
@@ -1684,7 +1677,12 @@ declare const DescribeEventCommand_base: {
1684
1677
  * // },
1685
1678
  * // },
1686
1679
  * // ],
1687
- * // notificationDestinations: "<CallFlowAttachmentDestinationList>",
1680
+ * // notifications: {
1681
+ * // destinations: "<CallFlowAttachmentDestinationList>",
1682
+ * // type: [
1683
+ * // "STRING_VALUE",
1684
+ * // ],
1685
+ * // },
1688
1686
  * // },
1689
1687
  * // ],
1690
1688
  * // endCause: "STRING_VALUE",
@@ -1773,7 +1771,12 @@ declare const DescribeEventCommand_base: {
1773
1771
  * // },
1774
1772
  * // },
1775
1773
  * // ],
1776
- * // notificationDestinations: "<CallFlowAttachmentDestinationList>",
1774
+ * // notifications: {
1775
+ * // destinations: "<CallFlowAttachmentDestinationList>",
1776
+ * // type: [
1777
+ * // "STRING_VALUE",
1778
+ * // ],
1779
+ * // },
1777
1780
  * // id: "STRING_VALUE", // required
1778
1781
  * // pbx: "STRING_VALUE", // required
1779
1782
  * // time: Number("long"), // required
@@ -1842,7 +1845,7 @@ declare const DescribeEventCommand_base: {
1842
1845
  * // attachmentType: "VOICEMAIL" || "FAX",
1843
1846
  * // attachmentDestinations: "<CallFlowAttachmentDestinationList>",
1844
1847
  * // attachments: "<CallFlowAttachments>",
1845
- * // notificationDestinations: "<CallFlowAttachmentDestinationList>",
1848
+ * // notifications: "<CallFlowNotifications>",
1846
1849
  * // id: "STRING_VALUE", // required
1847
1850
  * // pbx: "STRING_VALUE", // required
1848
1851
  * // time: Number("long"), // required
@@ -1903,7 +1906,7 @@ declare const DescribeEventCommand_base: {
1903
1906
  * // attachmentType: "VOICEMAIL" || "FAX",
1904
1907
  * // attachmentDestinations: "<CallFlowAttachmentDestinationList>",
1905
1908
  * // attachments: "<CallFlowAttachments>",
1906
- * // notificationDestinations: "<CallFlowAttachmentDestinationList>",
1909
+ * // notifications: "<CallFlowNotifications>",
1907
1910
  * // id: "STRING_VALUE", // required
1908
1911
  * // pbx: "STRING_VALUE", // required
1909
1912
  * // time: Number("long"), // required
@@ -223,18 +223,12 @@ declare const QueryConversationsCommand_base: {
223
223
  * // },
224
224
  * // },
225
225
  * // ],
226
- * // notificationDestinations: [
227
- * // {
228
- * // phone: "STRING_VALUE",
229
- * // name: "STRING_VALUE",
230
- * // email: "STRING_VALUE",
231
- * // userId: "STRING_VALUE",
232
- * // userExtension: "STRING_VALUE",
233
- * // userDepartment: "STRING_VALUE",
234
- * // groupId: "STRING_VALUE",
235
- * // groupName: "STRING_VALUE",
236
- * // },
237
- * // ],
226
+ * // notifications: { // CallFlowNotifications
227
+ * // destinations: "<CallFlowAttachmentDestinationList>",
228
+ * // type: [ // NotificationsType
229
+ * // "STRING_VALUE",
230
+ * // ],
231
+ * // },
238
232
  * // status: "CONNECTING" || "TALKING" || "HOLD", // required
239
233
  * // statusChangeDate: "STRING_VALUE", // required
240
234
  * // },
@@ -363,6 +363,13 @@ export declare const License: {
363
363
  * @public
364
364
  */
365
365
  export type License = typeof License[keyof typeof License];
366
+ /**
367
+ * @public
368
+ */
369
+ export interface CallFlowNotifications {
370
+ destinations?: (CallFlowAttachmentDestination)[] | undefined;
371
+ type?: (string)[] | undefined;
372
+ }
366
373
  /**
367
374
  * @public
368
375
  * @enum
@@ -491,7 +498,7 @@ export interface CallRecord {
491
498
  */
492
499
  attachmentDestinations?: (CallFlowAttachmentDestination)[] | undefined;
493
500
  attachments?: (CallFlowAttachment)[] | undefined;
494
- notificationDestinations?: (CallFlowAttachmentDestination)[] | undefined;
501
+ notifications?: CallFlowNotifications | undefined;
495
502
  id: string;
496
503
  pbx: string;
497
504
  time: number;
@@ -1589,7 +1596,7 @@ export interface CallAnalyticsLiveProgressEventFlow {
1589
1596
  */
1590
1597
  attachmentDestinations?: (CallFlowAttachmentDestination)[] | undefined;
1591
1598
  attachments?: (CallFlowAttachment)[] | undefined;
1592
- notificationDestinations?: (CallFlowAttachmentDestination)[] | undefined;
1599
+ notifications?: CallFlowNotifications | undefined;
1593
1600
  status: CallFlowStatus;
1594
1601
  /**
1595
1602
  * Time of the last status change in yyyy-MM-dd'T'HH:mm:ss.SSS'Z' format.
@@ -1747,7 +1754,7 @@ export interface CallAnalyticsRecordEventFlow {
1747
1754
  */
1748
1755
  attachmentDestinations?: (CallFlowAttachmentDestination)[] | undefined;
1749
1756
  attachments?: (CallFlowAttachment)[] | undefined;
1750
- notificationDestinations?: (CallFlowAttachmentDestination)[] | undefined;
1757
+ notifications?: CallFlowNotifications | undefined;
1751
1758
  }
1752
1759
  /**
1753
1760
  * @public
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.28",
4
+ "version": "1.1.30",
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",