@nomalism-com/types 0.45.53 → 0.45.55
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.
package/dist/index.cjs
CHANGED
|
@@ -5797,7 +5797,7 @@ __export(route_schema_exports117, {
|
|
|
5797
5797
|
});
|
|
5798
5798
|
import joi118 from "joi";
|
|
5799
5799
|
var printLocationsQuery = joi118.object({
|
|
5800
|
-
locations_ids: joi118.
|
|
5800
|
+
locations_ids: joi118.string().required()
|
|
5801
5801
|
}).messages(messages);
|
|
5802
5802
|
|
|
5803
5803
|
// src/index.ts
|
package/dist/index.js
CHANGED
|
@@ -5797,7 +5797,7 @@ __export(route_schema_exports117, {
|
|
|
5797
5797
|
});
|
|
5798
5798
|
import joi118 from "joi";
|
|
5799
5799
|
var printLocationsQuery = joi118.object({
|
|
5800
|
-
locations_ids: joi118.
|
|
5800
|
+
locations_ids: joi118.string().required()
|
|
5801
5801
|
}).messages(messages);
|
|
5802
5802
|
|
|
5803
5803
|
// src/index.ts
|
|
@@ -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.
|
|
4
|
+
"version": "0.45.55",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|