@nomalism-com/types 0.40.58 → 0.40.60

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.
@@ -7,6 +7,7 @@ import type { IScheduleType } from '../modules/supply/schedule/interface';
7
7
  import type { IWarningType } from '../modules/supply/documentHeader/interfaces';
8
8
  import type { IChat, IEmail, IEncomenda, IMultimedia, IMultimediaSummary, IPostgresBackup, IPrint, IProjectInfo, IProposta, IServiceLogs, IServiceStatus, IStock, ITask } from '../modules/view/adminPanel/interfaces';
9
9
  import type * as ErrorLog from '../modules/view/errorLog/interfaces';
10
+ import type * as ChatSubscriber from '../modules/user/chatSubscribers/interfaces';
10
11
  import type { File } from './entities/stock';
11
12
  import type { ProjectInfo } from './entities/integration';
12
13
  import type { IAttachment } from '../modules/supply/externalDocumentHeader/interface';
@@ -273,13 +274,7 @@ export type IBrokerTopicPayload = {
273
274
  warningErrors: string[];
274
275
  };
275
276
  [IBrokerTopic.dispatch_chat_message]: {
276
- to: [
277
- {
278
- email: string;
279
- name: string;
280
- phone_number: string | null;
281
- }
282
- ];
277
+ to: [Omit<ChatSubscriber.IFindResponse, 'persona_id'>];
283
278
  reply_url: string;
284
279
  owner_id: string;
285
280
  document_header_id: string | null;
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.40.58",
4
+ "version": "0.40.60",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",