@trii/types 2.10.175 → 2.10.177

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.
@@ -1,3 +1,4 @@
1
+ import { IContactAddress } from "../../Contacts/contacts";
1
2
  import { UserInfo } from "../../Users/UserTrii";
2
3
  import { IChannelInfo } from "../Channels/Channel";
3
4
  export interface IMessage {
@@ -142,6 +143,40 @@ export interface MessageReference {
142
143
  channelId: string;
143
144
  }
144
145
  export interface MessageEmail {
146
+ /**Remitente del correo */
147
+ from: string;
148
+ /**Lista de destinatarios (puede ser uno o varios) */
149
+ to: IContactAddress[];
150
+ /**Lista de destinatarios en copia (opcional) */
151
+ cc?: IContactAddress[];
152
+ /**Lista de destinatarios en copia oculta (opcional) */
153
+ bcc?: IContactAddress[];
154
+ /**Asunto del correo */
155
+ subject: string;
156
+ preHeader: string;
157
+ /**Cuerpo del correo */
158
+ bodyHtml: string;
159
+ bodyText: string;
160
+ /**Lista de archivos adjuntos (opcional) */
161
+ attachments?: EmailDocument[];
162
+ /**Marca de tiempo del correo */
163
+ timestamp: Date;
164
+ /**Encabezados del correo (p. ej., {"Reply-To": "reply@example.com"}) */
165
+ headers?: Record<string, string>;
166
+ /**Indicador de si el correo se considera spam (opcional) */
167
+ isSpam?: boolean;
168
+ /**Puntuación de spam (opcional) */
169
+ spamScore?: number;
170
+ }
171
+ export interface EmailDocument {
172
+ id: string;
173
+ /**The name for the file*/
174
+ filename: string | '';
175
+ /** mimetype o the file */
176
+ mimeType: string;
177
+ /**The url of the fie. */
178
+ url: string;
179
+ isInline: any;
145
180
  }
146
181
  export interface MessageSticker {
147
182
  /**The ID for the video. */
@@ -191,4 +191,11 @@ export declare class GoogleAccountInfo {
191
191
  email: string;
192
192
  imageUrl: string;
193
193
  }
194
+ export interface IList {
195
+ id: string;
196
+ name: string;
197
+ description: string;
198
+ count: number;
199
+ createdAt: Date;
200
+ }
194
201
  export {};
@@ -1,6 +1,6 @@
1
1
  interface IEnding {
2
2
  id?: string | null;
3
- tenantId?: string | null;
3
+ spaceId?: string | null;
4
4
  name?: string | null;
5
5
  createdAt?: string | null;
6
6
  updatedAt?: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trii/types",
3
- "version": "2.10.175",
3
+ "version": "2.10.177",
4
4
  "description": "Types definitions for Trii projects - ",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",