@nomalism-com/types 0.45.53 → 0.45.54

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.
@@ -21,6 +21,10 @@ export interface IChatMessageCreated extends IEvent {
21
21
  type: 'chat.message.created';
22
22
  balloon: IChatBalloon;
23
23
  }
24
+ export interface IChatFileCreated extends IEvent {
25
+ type: 'chat.file.created';
26
+ balloon: IChatBalloon;
27
+ }
24
28
  export interface IChatMessageUpdated extends IEvent {
25
29
  type: 'chat.message.updated';
26
30
  chat_id: string;
@@ -54,7 +58,7 @@ export interface IDocumentUpdated extends IEvent {
54
58
  type: 'document.updated';
55
59
  document: IPublicDocument;
56
60
  }
57
- export type ChatSocketEvent = IChatTranslationUpdated | IChatMessageCreated | IChatMessageUpdated | IChatMessageDeleted | IChatFileDeleted | IChatReadStateUpdated | IChatTagsUpdated | IPersonaUpdated | IDocumentUpdated | IPing | IPong;
61
+ export type ChatSocketEvent = IChatTranslationUpdated | IChatMessageCreated | IChatFileCreated | IChatMessageUpdated | IChatMessageDeleted | IChatFileDeleted | IChatReadStateUpdated | IChatTagsUpdated | IPersonaUpdated | IDocumentUpdated | IPing | IPong;
58
62
  export interface ITicketsChanged extends IEvent {
59
63
  type: 'tickets.changed';
60
64
  last_tickets_called_today_by_channel: ILastTicketCalledTodayByChannel[];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nomalism-com/types",
3
3
  "description": "A nomalism package with all necessary types and validations for developing APIs",
4
- "version": "0.45.53",
4
+ "version": "0.45.54",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",