@nomalism-com/types 0.45.52 → 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.
package/dist/index.cjs CHANGED
@@ -5793,10 +5793,10 @@ var Route129 = "mobile_print";
5793
5793
  // src/modules/stock/mobilePrint/route.schema.ts
5794
5794
  var route_schema_exports117 = {};
5795
5795
  __export(route_schema_exports117, {
5796
- printLocationsBody: () => printLocationsBody
5796
+ printLocationsQuery: () => printLocationsQuery
5797
5797
  });
5798
5798
  import joi118 from "joi";
5799
- var printLocationsBody = joi118.object({
5799
+ var printLocationsQuery = joi118.object({
5800
5800
  locations_ids: joi118.array().items(joi118.string().required()).required()
5801
5801
  }).messages(messages);
5802
5802
 
package/dist/index.js CHANGED
@@ -5793,10 +5793,10 @@ var Route129 = "mobile_print";
5793
5793
  // src/modules/stock/mobilePrint/route.schema.ts
5794
5794
  var route_schema_exports117 = {};
5795
5795
  __export(route_schema_exports117, {
5796
- printLocationsBody: () => printLocationsBody
5796
+ printLocationsQuery: () => printLocationsQuery
5797
5797
  });
5798
5798
  import joi118 from "joi";
5799
- var printLocationsBody = joi118.object({
5799
+ var printLocationsQuery = joi118.object({
5800
5800
  locations_ids: joi118.array().items(joi118.string().required()).required()
5801
5801
  }).messages(messages);
5802
5802
 
@@ -1,2 +1,2 @@
1
1
  import joi from 'joi';
2
- export declare const printLocationsBody: joi.ObjectSchema<any>;
2
+ export declare const printLocationsQuery: joi.ObjectSchema<any>;
@@ -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.52",
4
+ "version": "0.45.54",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",