@nomalism-com/types 0.40.25 → 0.40.27

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
@@ -1197,6 +1197,7 @@ var updateBodyKeys4 = {
1197
1197
  email_opened: joi6.boolean().optional(),
1198
1198
  email_clicked: joi6.boolean().optional(),
1199
1199
  read: joi6.boolean().optional(),
1200
+ client_read: joi6.boolean().optional(),
1200
1201
  username: joi6.string().optional()
1201
1202
  };
1202
1203
  var updateBody4 = joi6.object().keys(updateBodyKeys4).messages(messages);
package/dist/index.js CHANGED
@@ -1197,6 +1197,7 @@ var updateBodyKeys4 = {
1197
1197
  email_opened: joi6.boolean().optional(),
1198
1198
  email_clicked: joi6.boolean().optional(),
1199
1199
  read: joi6.boolean().optional(),
1200
+ client_read: joi6.boolean().optional(),
1200
1201
  username: joi6.string().optional()
1201
1202
  };
1202
1203
  var updateBody4 = joi6.object().keys(updateBodyKeys4).messages(messages);
@@ -15,10 +15,12 @@ export interface IChatBalloon {
15
15
  chat?: Pick<Entity, 'message'> & {
16
16
  id?: string;
17
17
  read?: boolean;
18
+ client_read?: Date;
18
19
  };
19
20
  file?: Pick<File, 'multimedia_id' | 'filename'> & {
20
21
  id?: string;
21
22
  read?: boolean;
23
+ client_read?: Date;
22
24
  };
23
25
  created_at: Date;
24
26
  created_by: string;
@@ -46,6 +48,7 @@ export interface IUpdateRequest {
46
48
  email_opened?: boolean;
47
49
  email_clicked?: boolean;
48
50
  read?: boolean;
51
+ client_read?: boolean;
49
52
  username?: string;
50
53
  }
51
54
  export interface IRepository {
@@ -65,7 +65,7 @@ export interface IEntityExtended extends Omit<DocumentLine, 'data'> {
65
65
  product_type: IProductType | null;
66
66
  product_id_provider: number | null;
67
67
  product_provider_ref: string | null;
68
- product_state: IProductState;
68
+ product_state: IProductState | null;
69
69
  product_no_discount: boolean;
70
70
  product_measure: string | null;
71
71
  product_integer_only: boolean;
@@ -26,6 +26,7 @@ export type Chat = {
26
26
  email_opened: boolean;
27
27
  email_clicked: boolean;
28
28
  read: boolean;
29
+ client_read: boolean;
29
30
  is_customer: boolean;
30
31
  deleted: boolean;
31
32
  created_by: string;
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.25",
4
+ "version": "0.40.27",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",