@nomalism-com/types 0.39.22 → 0.39.24

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
@@ -1170,6 +1170,7 @@ __export(route_schema_exports5, {
1170
1170
  });
1171
1171
  import joi6 from "joi";
1172
1172
  var createBodyKeys5 = {
1173
+ owner_id: joi6.string().uuid().required(),
1173
1174
  document_header_id: joi6.string().uuid().allow(null).required(),
1174
1175
  message: joi6.string().required(),
1175
1176
  username: joi6.string().required(),
package/dist/index.js CHANGED
@@ -1170,6 +1170,7 @@ __export(route_schema_exports5, {
1170
1170
  });
1171
1171
  import joi6 from "joi";
1172
1172
  var createBodyKeys5 = {
1173
+ owner_id: joi6.string().uuid().required(),
1173
1174
  document_header_id: joi6.string().uuid().allow(null).required(),
1174
1175
  message: joi6.string().required(),
1175
1176
  username: joi6.string().required(),
@@ -32,6 +32,7 @@ export interface IPublicFindActiveByOwnerIdResponse {
32
32
  chat: IChatBalloon[];
33
33
  }
34
34
  export interface ICreateRequest {
35
+ owner_id: string;
35
36
  document_header_id: string;
36
37
  message: string;
37
38
  username: string;
@@ -142,7 +142,7 @@ export interface IEntityMinified {
142
142
  tax: number;
143
143
  multimedia_id: string | null;
144
144
  integer_only: boolean;
145
- available: number;
145
+ total: number;
146
146
  }
147
147
  export interface IPrintLabelQueryRequest {
148
148
  token: string;
@@ -18,6 +18,7 @@ import type { ProjectInfo } from './integration';
18
18
  */
19
19
  export type Chat = {
20
20
  id: string;
21
+ owner_id: string;
21
22
  document_header_id: string;
22
23
  message: string;
23
24
  email_processed: boolean;
@@ -265,12 +265,15 @@ export type IBrokerTopicPayload = {
265
265
  warningErrors: string[];
266
266
  };
267
267
  [IBrokerTopic.dispatch_chat_message]: {
268
- to: {
269
- email: string;
270
- name: string;
271
- phone_number: string | null;
272
- }[];
268
+ to: [
269
+ {
270
+ email: string;
271
+ name: string;
272
+ phone_number: string | null;
273
+ }
274
+ ];
273
275
  reply_url: string;
276
+ owner_id: string;
274
277
  document_header_id: string | null;
275
278
  document_name: string;
276
279
  chat_id: 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.39.22",
4
+ "version": "0.39.24",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",