@nomalism-com/types 0.39.24 → 0.40.1

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