@nomalism-com/types 0.43.12 → 0.43.13

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
@@ -2178,7 +2178,7 @@ import joi24 from "joi";
2178
2178
  var createBodyKeys16 = {
2179
2179
  title: joi24.string().required(),
2180
2180
  owner_id: joi24.string().uuid().required(),
2181
- document_header_id: joi24.string().uuid().allow(null).required(),
2181
+ chat_document_header_id: joi24.string().uuid().allow(null).required(),
2182
2182
  multimedia_id: joi24.string().uuid().required(),
2183
2183
  filename: joi24.string().required(),
2184
2184
  is_customer: joi24.boolean().default(false).optional(),
@@ -2188,7 +2188,7 @@ var createBodyKeys16 = {
2188
2188
  };
2189
2189
  var createBody17 = joi24.object().keys(createBodyKeys16).messages(messages);
2190
2190
  var updateBodyKeys14 = {
2191
- document_header_id: joi24.string().uuid().optional(),
2191
+ chat_document_header_id: joi24.string().uuid().optional(),
2192
2192
  filename: joi24.string().min(1).max(255).regex(/^[^<>:"/\\|?*\x00-\x1F]+$/).optional()
2193
2193
  };
2194
2194
  var updateBody14 = joi24.object().keys(updateBodyKeys14).messages(messages);
package/dist/index.js CHANGED
@@ -2178,7 +2178,7 @@ import joi24 from "joi";
2178
2178
  var createBodyKeys16 = {
2179
2179
  title: joi24.string().required(),
2180
2180
  owner_id: joi24.string().uuid().required(),
2181
- document_header_id: joi24.string().uuid().allow(null).required(),
2181
+ chat_document_header_id: joi24.string().uuid().allow(null).required(),
2182
2182
  multimedia_id: joi24.string().uuid().required(),
2183
2183
  filename: joi24.string().required(),
2184
2184
  is_customer: joi24.boolean().default(false).optional(),
@@ -2188,7 +2188,7 @@ var createBodyKeys16 = {
2188
2188
  };
2189
2189
  var createBody17 = joi24.object().keys(createBodyKeys16).messages(messages);
2190
2190
  var updateBodyKeys14 = {
2191
- document_header_id: joi24.string().uuid().optional(),
2191
+ chat_document_header_id: joi24.string().uuid().optional(),
2192
2192
  filename: joi24.string().min(1).max(255).regex(/^[^<>:"/\\|?*\x00-\x1F]+$/).optional()
2193
2193
  };
2194
2194
  var updateBody14 = joi24.object().keys(updateBodyKeys14).messages(messages);
@@ -12,7 +12,7 @@ export interface IFindByOwnerRequest {
12
12
  export interface ICreateRequest {
13
13
  title: string;
14
14
  owner_id: string;
15
- document_header_id: string | null;
15
+ chat_document_header_id: string | null;
16
16
  multimedia_id: string;
17
17
  filename: string;
18
18
  is_customer?: boolean;
@@ -21,7 +21,7 @@ export interface ICreateRequest {
21
21
  username: string;
22
22
  }
23
23
  export interface IUpdateRequest {
24
- document_header_id?: string;
24
+ chat_document_header_id?: string;
25
25
  filename?: string;
26
26
  }
27
27
  export interface IRepository {
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.12",
4
+ "version": "0.43.13",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",