@nomalism-com/types 0.43.63 → 0.43.65

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
@@ -5649,7 +5649,7 @@ var createOrUpdateBodyKeys2 = {
5649
5649
  };
5650
5650
  var createOrUpdateBody2 = joi104.object().keys(createOrUpdateBodyKeys2).messages(messages);
5651
5651
  var findDocumentHeaderSubscribersQueryKeys = {
5652
- owner_id: joi104.string().uuid().required(),
5652
+ owner_id: joi104.string().uuid().optional(),
5653
5653
  chat_document_header_id: joi104.string().uuid().required()
5654
5654
  };
5655
5655
  var findDocumentHeaderSubscribersQuery = joi104.object().keys(findDocumentHeaderSubscribersQueryKeys).messages(messages);
package/dist/index.js CHANGED
@@ -5649,7 +5649,7 @@ var createOrUpdateBodyKeys2 = {
5649
5649
  };
5650
5650
  var createOrUpdateBody2 = joi104.object().keys(createOrUpdateBodyKeys2).messages(messages);
5651
5651
  var findDocumentHeaderSubscribersQueryKeys = {
5652
- owner_id: joi104.string().uuid().required(),
5652
+ owner_id: joi104.string().uuid().optional(),
5653
5653
  chat_document_header_id: joi104.string().uuid().required()
5654
5654
  };
5655
5655
  var findDocumentHeaderSubscribersQuery = joi104.object().keys(findDocumentHeaderSubscribersQueryKeys).messages(messages);
@@ -2,7 +2,7 @@ import * as IShared from '../../../shared/interface';
2
2
  import type { IChatBalloon } from '../../stock/chat/interfaces';
3
3
  import type { IDocumentTypeUserType } from '../../supply/documentType/interfaces';
4
4
  import type * as ChatSubscriber from '../../user/chatSubscribers/interfaces';
5
- export interface IPcTags {
5
+ export interface ITags {
6
6
  id: string;
7
7
  text: string;
8
8
  }
@@ -21,8 +21,8 @@ export interface IPublicOtherDocument {
21
21
  emission_date: Date;
22
22
  pdf_link: string;
23
23
  client_unread: number;
24
- pc_tags: IPcTags[];
25
- pc_created_by: string;
24
+ tags: ITags[];
25
+ created_by: string;
26
26
  closed: boolean;
27
27
  }
28
28
  export interface IPublicFindBySubscriberId {
@@ -9,7 +9,7 @@ export interface ICreateOrUpdateRequest {
9
9
  personas_ids: string[];
10
10
  }
11
11
  export interface IFindDocumentHeaderSubscribersRequest {
12
- owner_id: string;
12
+ owner_id?: string;
13
13
  chat_document_header_id: string;
14
14
  }
15
15
  export interface IFindSubscribedDocumentHeadersRequest {
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.43.63",
4
+ "version": "0.43.65",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",