@nomalism-com/types 0.16.39 → 0.16.41
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.
|
@@ -31,7 +31,7 @@ var sendBodyKeys = {
|
|
|
31
31
|
from: joi_1.default
|
|
32
32
|
.object()
|
|
33
33
|
.keys({
|
|
34
|
-
name: joi_1.default.string().required(),
|
|
34
|
+
name: joi_1.default.string().allow('').required(),
|
|
35
35
|
address: joi_1.default
|
|
36
36
|
.string()
|
|
37
37
|
.email({ tlds: { allow: false } })
|
|
@@ -41,7 +41,7 @@ var sendBodyKeys = {
|
|
|
41
41
|
to: joi_1.default
|
|
42
42
|
.array()
|
|
43
43
|
.items(joi_1.default.object().keys({
|
|
44
|
-
name: joi_1.default.string().required(),
|
|
44
|
+
name: joi_1.default.string().allow('').required(),
|
|
45
45
|
address: joi_1.default
|
|
46
46
|
.string()
|
|
47
47
|
.email({ tlds: { allow: false } })
|
|
@@ -51,7 +51,7 @@ var sendBodyKeys = {
|
|
|
51
51
|
cc: joi_1.default
|
|
52
52
|
.array()
|
|
53
53
|
.items(joi_1.default.object().keys({
|
|
54
|
-
name: joi_1.default.string().required(),
|
|
54
|
+
name: joi_1.default.string().allow('').required(),
|
|
55
55
|
address: joi_1.default
|
|
56
56
|
.string()
|
|
57
57
|
.email({ tlds: { allow: false } })
|
|
@@ -61,7 +61,7 @@ var sendBodyKeys = {
|
|
|
61
61
|
bcc: joi_1.default
|
|
62
62
|
.array()
|
|
63
63
|
.items(joi_1.default.object().keys({
|
|
64
|
-
name: joi_1.default.string().required(),
|
|
64
|
+
name: joi_1.default.string().allow('').required(),
|
|
65
65
|
address: joi_1.default
|
|
66
66
|
.string()
|
|
67
67
|
.email({ tlds: { allow: false } })
|
|
@@ -341,15 +341,10 @@ export interface IFindByTypeResponse {
|
|
|
341
341
|
export interface IDocumentListResponse {
|
|
342
342
|
emission_date: Date;
|
|
343
343
|
virtual_name: string;
|
|
344
|
-
|
|
345
|
-
document_number: string;
|
|
346
|
-
total: number;
|
|
344
|
+
document_number: number;
|
|
347
345
|
line_Count: number;
|
|
348
|
-
proposal_link: string;
|
|
349
|
-
pdf_link: string;
|
|
350
346
|
user_type: IDocumentType.IDocumentTypeUserType | null;
|
|
351
347
|
owner_id: string | null;
|
|
352
|
-
closed: boolean;
|
|
353
348
|
}
|
|
354
349
|
export interface IRepository {
|
|
355
350
|
findMinified(params?: IShared.IFindMinifiedRequest): Promise<IShared.IFindMinifiedResponse[]>;
|