@wildix/wda-stream-client 1.1.22 → 1.1.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.
@@ -301,6 +301,7 @@ exports.CallEndBy = {
301
301
  };
302
302
  exports.CallFlowAttachmentConsumeType = {
303
303
  FAX: "fax",
304
+ TRANSCRIPTION: "transcription",
304
305
  VOICEMAIL: "voicemail",
305
306
  };
306
307
  exports.CallEndConsume = {
@@ -295,6 +295,7 @@ export const CallEndBy = {
295
295
  };
296
296
  export const CallFlowAttachmentConsumeType = {
297
297
  FAX: "fax",
298
+ TRANSCRIPTION: "transcription",
298
299
  VOICEMAIL: "voicemail",
299
300
  };
300
301
  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",
@@ -1859,6 +1859,7 @@ export interface CallAnalyticsTranscriptionRecordEvent {
1859
1859
  */
1860
1860
  export declare const CallFlowAttachmentConsumeType: {
1861
1861
  readonly FAX: "fax";
1862
+ readonly TRANSCRIPTION: "transcription";
1862
1863
  readonly VOICEMAIL: "voicemail";
1863
1864
  };
1864
1865
  /**
@@ -1870,7 +1871,7 @@ export type CallFlowAttachmentConsumeType = typeof CallFlowAttachmentConsumeType
1870
1871
  */
1871
1872
  export interface CallAttachmentConsumeEventData {
1872
1873
  type: CallFlowAttachmentConsumeType;
1873
- url: string;
1874
+ url?: string | undefined;
1874
1875
  destinations?: (CallFlowAttachmentDestination)[] | undefined;
1875
1876
  status?: CallFlowAttachmentStatus | undefined;
1876
1877
  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.23",
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",