@trii/types 2.10.146 → 2.10.148

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.
@@ -22,7 +22,7 @@ export interface IMessage {
22
22
  context?: string;
23
23
  text?: MessageText;
24
24
  contacts?: MessageContact[];
25
- audios?: MessageAudio[];
25
+ audio: MessageAudio;
26
26
  images?: MessageImage[];
27
27
  videos?: MessageVideo[];
28
28
  cdr?: MessageCdr;
@@ -69,8 +69,12 @@ export interface MessageText {
69
69
  body: string;
70
70
  }
71
71
  export interface MessageAudio {
72
- /**The mime type for the video file. */
73
- mymeType: string;
72
+ /** para uso en front */
73
+ id: string | '';
74
+ /** para uso en front */
75
+ filename: string | '';
76
+ /**The mime type for the video audio. */
77
+ mimeType: string;
74
78
  /**The url of the audio. */
75
79
  url: string;
76
80
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trii/types",
3
- "version": "2.10.146",
3
+ "version": "2.10.148",
4
4
  "description": "Types definitions for Trii projects - ",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",