@wildix/wda-stream-client 1.1.22 → 1.1.24

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.
@@ -85,6 +85,7 @@ var CallFlowAttachment;
85
85
  })(CallFlowAttachment || (exports.CallFlowAttachment = CallFlowAttachment = {}));
86
86
  exports.CallFlowAttachmentType = {
87
87
  FAX: "FAX",
88
+ TRANSCRIPTION: "TRANSCRIPTION",
88
89
  VOICEMAIL: "VOICEMAIL",
89
90
  };
90
91
  exports.CallParticipantRole = {
@@ -301,6 +302,7 @@ exports.CallEndBy = {
301
302
  };
302
303
  exports.CallFlowAttachmentConsumeType = {
303
304
  FAX: "fax",
305
+ TRANSCRIPTION: "transcription",
304
306
  VOICEMAIL: "voicemail",
305
307
  };
306
308
  exports.CallEndConsume = {
@@ -79,6 +79,7 @@ export var CallFlowAttachment;
79
79
  })(CallFlowAttachment || (CallFlowAttachment = {}));
80
80
  export const CallFlowAttachmentType = {
81
81
  FAX: "FAX",
82
+ TRANSCRIPTION: "TRANSCRIPTION",
82
83
  VOICEMAIL: "VOICEMAIL",
83
84
  };
84
85
  export const CallParticipantRole = {
@@ -295,6 +296,7 @@ export const CallEndBy = {
295
296
  };
296
297
  export const CallFlowAttachmentConsumeType = {
297
298
  FAX: "fax",
299
+ TRANSCRIPTION: "transcription",
298
300
  VOICEMAIL: "voicemail",
299
301
  };
300
302
  export const CallEndConsume = {
@@ -311,8 +311,8 @@ declare const ConsumeEventCommand_base: {
311
311
  * company: "STRING_VALUE", // required
312
312
  * type: "CALL.START" || "CALL.UPDATE" || "CALL.SPLIT" || "CALL.LIVE" || "CALL.AGENTS_START" || "CALL.AGENTS_CANCEL" || "CALL.END" || "CALL.RECORD_START" || "CALL.RECORD_STOP" || "CALL.ATTACHMENT" || "CALL.TRANSCRIPTION" || "CALL.POST_TRANSCRIPTION", // required
313
313
  * data: { // CallAttachmentConsumeEventData
314
- * type: "voicemail" || "fax", // required
315
- * url: "STRING_VALUE", // required
314
+ * type: "voicemail" || "fax" || "transcription", // required
315
+ * url: "STRING_VALUE",
316
316
  * destinations: [ // CallFlowAttachmentDestinationList
317
317
  * { // CallFlowAttachmentDestination
318
318
  * phone: "STRING_VALUE",
@@ -243,7 +243,7 @@ declare const DescribeEventCommand_base: {
243
243
  * // transcriptionLanguage: "STRING_VALUE",
244
244
  * // transcriptionSeconds: Number("int"),
245
245
  * // attachment: "STRING_VALUE",
246
- * // attachmentType: "VOICEMAIL" || "FAX",
246
+ * // attachmentType: "VOICEMAIL" || "FAX" || "TRANSCRIPTION",
247
247
  * // attachmentDestinations: [
248
248
  * // {
249
249
  * // phone: "STRING_VALUE",
@@ -475,7 +475,7 @@ declare const DescribeEventCommand_base: {
475
475
  * // transcriptionLanguage: "STRING_VALUE",
476
476
  * // transcriptionSeconds: Number("int"),
477
477
  * // attachment: "STRING_VALUE",
478
- * // attachmentType: "VOICEMAIL" || "FAX",
478
+ * // attachmentType: "VOICEMAIL" || "FAX" || "TRANSCRIPTION",
479
479
  * // attachmentDestinations: "<CallFlowAttachmentDestinationList>",
480
480
  * // attachments: [
481
481
  * // {// Union: only one key present
@@ -1502,7 +1502,7 @@ declare const DescribeEventCommand_base: {
1502
1502
  * // transcriptionLanguage: "STRING_VALUE",
1503
1503
  * // transcriptionSeconds: Number("int"),
1504
1504
  * // attachment: "STRING_VALUE",
1505
- * // attachmentType: "VOICEMAIL" || "FAX",
1505
+ * // attachmentType: "VOICEMAIL" || "FAX" || "TRANSCRIPTION",
1506
1506
  * // attachmentDestinations: "<CallFlowAttachmentDestinationList>",
1507
1507
  * // attachments: [
1508
1508
  * // {// Union: only one key present
@@ -1652,7 +1652,7 @@ declare const DescribeEventCommand_base: {
1652
1652
  * // transcriptionLanguage: "STRING_VALUE",
1653
1653
  * // transcriptionSeconds: Number("int"),
1654
1654
  * // attachment: "STRING_VALUE",
1655
- * // attachmentType: "VOICEMAIL" || "FAX",
1655
+ * // attachmentType: "VOICEMAIL" || "FAX" || "TRANSCRIPTION",
1656
1656
  * // attachmentDestinations: "<CallFlowAttachmentDestinationList>",
1657
1657
  * // attachments: [
1658
1658
  * // {// Union: only one key present
@@ -1746,7 +1746,7 @@ declare const DescribeEventCommand_base: {
1746
1746
  * // transcriptionLanguage: "STRING_VALUE",
1747
1747
  * // transcriptionSeconds: Number("int"),
1748
1748
  * // attachment: "STRING_VALUE",
1749
- * // attachmentType: "VOICEMAIL" || "FAX",
1749
+ * // attachmentType: "VOICEMAIL" || "FAX" || "TRANSCRIPTION",
1750
1750
  * // attachmentDestinations: "<CallFlowAttachmentDestinationList>",
1751
1751
  * // attachments: [
1752
1752
  * // {// Union: only one key present
@@ -1836,7 +1836,7 @@ declare const DescribeEventCommand_base: {
1836
1836
  * // transcriptionLanguage: "STRING_VALUE",
1837
1837
  * // transcriptionSeconds: Number("int"),
1838
1838
  * // attachment: "STRING_VALUE",
1839
- * // attachmentType: "VOICEMAIL" || "FAX",
1839
+ * // attachmentType: "VOICEMAIL" || "FAX" || "TRANSCRIPTION",
1840
1840
  * // attachmentDestinations: "<CallFlowAttachmentDestinationList>",
1841
1841
  * // attachments: "<CallFlowAttachments>",
1842
1842
  * // id: "STRING_VALUE", // required
@@ -1896,7 +1896,7 @@ declare const DescribeEventCommand_base: {
1896
1896
  * // transcriptionLanguage: "STRING_VALUE",
1897
1897
  * // transcriptionSeconds: Number("int"),
1898
1898
  * // attachment: "STRING_VALUE",
1899
- * // attachmentType: "VOICEMAIL" || "FAX",
1899
+ * // attachmentType: "VOICEMAIL" || "FAX" || "TRANSCRIPTION",
1900
1900
  * // attachmentDestinations: "<CallFlowAttachmentDestinationList>",
1901
1901
  * // attachments: "<CallFlowAttachments>",
1902
1902
  * // id: "STRING_VALUE", // required
@@ -170,7 +170,7 @@ declare const QueryConversationsCommand_base: {
170
170
  * // transcriptionLanguage: "STRING_VALUE",
171
171
  * // transcriptionSeconds: Number("int"),
172
172
  * // attachment: "STRING_VALUE",
173
- * // attachmentType: "VOICEMAIL" || "FAX",
173
+ * // attachmentType: "VOICEMAIL" || "FAX" || "TRANSCRIPTION",
174
174
  * // attachmentDestinations: [
175
175
  * // {
176
176
  * // phone: "STRING_VALUE",
@@ -297,6 +297,7 @@ export declare namespace CallFlowAttachment {
297
297
  */
298
298
  export declare const CallFlowAttachmentType: {
299
299
  readonly FAX: "FAX";
300
+ readonly TRANSCRIPTION: "TRANSCRIPTION";
300
301
  readonly VOICEMAIL: "VOICEMAIL";
301
302
  };
302
303
  /**
@@ -1859,6 +1860,7 @@ export interface CallAnalyticsTranscriptionRecordEvent {
1859
1860
  */
1860
1861
  export declare const CallFlowAttachmentConsumeType: {
1861
1862
  readonly FAX: "fax";
1863
+ readonly TRANSCRIPTION: "transcription";
1862
1864
  readonly VOICEMAIL: "voicemail";
1863
1865
  };
1864
1866
  /**
@@ -1870,7 +1872,7 @@ export type CallFlowAttachmentConsumeType = typeof CallFlowAttachmentConsumeType
1870
1872
  */
1871
1873
  export interface CallAttachmentConsumeEventData {
1872
1874
  type: CallFlowAttachmentConsumeType;
1873
- url: string;
1875
+ url?: string | undefined;
1874
1876
  destinations?: (CallFlowAttachmentDestination)[] | undefined;
1875
1877
  status?: CallFlowAttachmentStatus | undefined;
1876
1878
  error?: string | undefined;
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.22",
4
+ "version": "1.1.24",
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",