@nomalism-com/types 0.43.20 → 0.43.21

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
@@ -4903,8 +4903,6 @@ __export(route_schema_exports86, {
4903
4903
  import joi87 from "joi";
4904
4904
  var createBodyKeys55 = {
4905
4905
  name: joi87.string().required(),
4906
- to: joi87.string().required(),
4907
- subject: joi87.string().required(),
4908
4906
  body: joi87.string().required(),
4909
4907
  attachments: joi87.array().items(
4910
4908
  joi87.object().keys({
@@ -4917,8 +4915,6 @@ var createBodyKeys55 = {
4917
4915
  var createBody56 = joi87.object().keys(createBodyKeys55).messages(messages);
4918
4916
  var updateBodyKeys51 = {
4919
4917
  name: joi87.string().optional(),
4920
- to: joi87.string().optional(),
4921
- subject: joi87.string().optional(),
4922
4918
  body: joi87.string().optional()
4923
4919
  };
4924
4920
  var updateBody51 = joi87.object().keys(updateBodyKeys51).messages(messages);
package/dist/index.js CHANGED
@@ -4903,8 +4903,6 @@ __export(route_schema_exports86, {
4903
4903
  import joi87 from "joi";
4904
4904
  var createBodyKeys55 = {
4905
4905
  name: joi87.string().required(),
4906
- to: joi87.string().required(),
4907
- subject: joi87.string().required(),
4908
4906
  body: joi87.string().required(),
4909
4907
  attachments: joi87.array().items(
4910
4908
  joi87.object().keys({
@@ -4917,8 +4915,6 @@ var createBodyKeys55 = {
4917
4915
  var createBody56 = joi87.object().keys(createBodyKeys55).messages(messages);
4918
4916
  var updateBodyKeys51 = {
4919
4917
  name: joi87.string().optional(),
4920
- to: joi87.string().optional(),
4921
- subject: joi87.string().optional(),
4922
4918
  body: joi87.string().optional()
4923
4919
  };
4924
4920
  var updateBody51 = joi87.object().keys(updateBodyKeys51).messages(messages);
@@ -14,16 +14,12 @@ export interface ICreateAttachments {
14
14
  }
15
15
  export interface ICreateRequest {
16
16
  name: string;
17
- to: string;
18
- subject: string;
19
17
  body: string;
20
18
  attachments: ICreateAttachments[];
21
19
  key: string;
22
20
  }
23
21
  export interface IUpdateRequest {
24
22
  name?: string;
25
- to?: string;
26
- subject?: string;
27
23
  body?: string;
28
24
  }
29
25
  export interface ISendRequest {
@@ -204,6 +204,7 @@ export interface ITransferOwnershipRequest {
204
204
  client_id: string;
205
205
  }
206
206
  export interface IFindResponse {
207
+ chat_document_header_id: string;
207
208
  document_header_id: string;
208
209
  document_label: string;
209
210
  total: number;
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.20",
4
+ "version": "0.43.21",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",