@nomalism-com/types 0.43.11 → 0.43.12
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
|
@@ -1187,7 +1187,7 @@ __export(route_schema_exports5, {
|
|
|
1187
1187
|
import joi6 from "joi";
|
|
1188
1188
|
var createBodyKeys5 = {
|
|
1189
1189
|
owner_id: joi6.string().uuid().required(),
|
|
1190
|
-
chat_document_header_id: joi6.string().uuid().
|
|
1190
|
+
chat_document_header_id: joi6.string().uuid().required(),
|
|
1191
1191
|
message: joi6.string().required(),
|
|
1192
1192
|
username: joi6.string().required(),
|
|
1193
1193
|
is_customer: joi6.boolean().default(false).optional()
|
|
@@ -1462,7 +1462,7 @@ var createBodyKeys9 = {
|
|
|
1462
1462
|
google_sheet_id: joi10.string().allow(null).optional(),
|
|
1463
1463
|
external_pdf_link: joi10.string().allow(null).optional(),
|
|
1464
1464
|
sent: joi10.boolean().optional(),
|
|
1465
|
-
chat_document_header_id: joi10.string().uuid().
|
|
1465
|
+
chat_document_header_id: joi10.string().uuid().optional(),
|
|
1466
1466
|
owner_id: joi10.string().uuid().required(),
|
|
1467
1467
|
owner_number: joi10.number().required(),
|
|
1468
1468
|
owner_name: joi10.string().required(),
|
|
@@ -1558,7 +1558,7 @@ var updateBodyKeys8 = {
|
|
|
1558
1558
|
google_sheet_id: joi10.string().allow(null).optional(),
|
|
1559
1559
|
pdf_link: joi10.string().allow(null).optional(),
|
|
1560
1560
|
sent: joi10.boolean().optional(),
|
|
1561
|
-
chat_document_header_id: joi10.string().uuid().
|
|
1561
|
+
chat_document_header_id: joi10.string().uuid().optional(),
|
|
1562
1562
|
owner_id: joi10.string().uuid().optional(),
|
|
1563
1563
|
owner_number: joi10.number().integer().positive().optional(),
|
|
1564
1564
|
owner_name: joi10.string().optional(),
|
package/dist/index.js
CHANGED
|
@@ -1187,7 +1187,7 @@ __export(route_schema_exports5, {
|
|
|
1187
1187
|
import joi6 from "joi";
|
|
1188
1188
|
var createBodyKeys5 = {
|
|
1189
1189
|
owner_id: joi6.string().uuid().required(),
|
|
1190
|
-
chat_document_header_id: joi6.string().uuid().
|
|
1190
|
+
chat_document_header_id: joi6.string().uuid().required(),
|
|
1191
1191
|
message: joi6.string().required(),
|
|
1192
1192
|
username: joi6.string().required(),
|
|
1193
1193
|
is_customer: joi6.boolean().default(false).optional()
|
|
@@ -1462,7 +1462,7 @@ var createBodyKeys9 = {
|
|
|
1462
1462
|
google_sheet_id: joi10.string().allow(null).optional(),
|
|
1463
1463
|
external_pdf_link: joi10.string().allow(null).optional(),
|
|
1464
1464
|
sent: joi10.boolean().optional(),
|
|
1465
|
-
chat_document_header_id: joi10.string().uuid().
|
|
1465
|
+
chat_document_header_id: joi10.string().uuid().optional(),
|
|
1466
1466
|
owner_id: joi10.string().uuid().required(),
|
|
1467
1467
|
owner_number: joi10.number().required(),
|
|
1468
1468
|
owner_name: joi10.string().required(),
|
|
@@ -1558,7 +1558,7 @@ var updateBodyKeys8 = {
|
|
|
1558
1558
|
google_sheet_id: joi10.string().allow(null).optional(),
|
|
1559
1559
|
pdf_link: joi10.string().allow(null).optional(),
|
|
1560
1560
|
sent: joi10.boolean().optional(),
|
|
1561
|
-
chat_document_header_id: joi10.string().uuid().
|
|
1561
|
+
chat_document_header_id: joi10.string().uuid().optional(),
|
|
1562
1562
|
owner_id: joi10.string().uuid().optional(),
|
|
1563
1563
|
owner_number: joi10.number().integer().positive().optional(),
|
|
1564
1564
|
owner_name: joi10.string().optional(),
|
|
@@ -61,7 +61,7 @@ export interface ICreateRequest {
|
|
|
61
61
|
external_pdf_link?: string | null;
|
|
62
62
|
google_sheet_id?: string | null;
|
|
63
63
|
sent?: boolean;
|
|
64
|
-
chat_document_header_id?: string
|
|
64
|
+
chat_document_header_id?: string;
|
|
65
65
|
owner_id: string;
|
|
66
66
|
owner_number: number;
|
|
67
67
|
owner_name: string;
|
|
@@ -139,7 +139,7 @@ export interface IUpdateRequest {
|
|
|
139
139
|
google_sheet_id?: string | null;
|
|
140
140
|
pdf_link?: string | null;
|
|
141
141
|
sent?: boolean;
|
|
142
|
-
chat_document_header_id?: string
|
|
142
|
+
chat_document_header_id?: string;
|
|
143
143
|
owner_id?: string;
|
|
144
144
|
owner_number?: number;
|
|
145
145
|
owner_name?: string;
|
|
@@ -274,7 +274,7 @@ export type DocumentHeader = {
|
|
|
274
274
|
pdf_link: string | null;
|
|
275
275
|
google_sheet_id: string | null;
|
|
276
276
|
emission_date: Date;
|
|
277
|
-
chat_document_header_id: string
|
|
277
|
+
chat_document_header_id: string;
|
|
278
278
|
external_pdf_link: string | null;
|
|
279
279
|
external_data: unknown;
|
|
280
280
|
owner_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.43.
|
|
4
|
+
"version": "0.43.12",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|