@nomalism-com/types 0.43.22 → 0.43.24
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
|
@@ -1672,7 +1672,7 @@ var documentPdfQuery = joi10.object().keys(documentPdfQueryKeys).messages(messag
|
|
|
1672
1672
|
var documentLineQuery = joi10.object().keys({
|
|
1673
1673
|
closed: joi10.boolean().default(false).optional()
|
|
1674
1674
|
}).messages(messages);
|
|
1675
|
-
var
|
|
1675
|
+
var createSiteProposalBody = joi10.object().keys({
|
|
1676
1676
|
client_id: joi10.string().uuid().optional(),
|
|
1677
1677
|
persona_id: joi10.string().uuid().optional(),
|
|
1678
1678
|
name: joi10.string().required(),
|
|
@@ -1696,9 +1696,10 @@ var createSiteProposalBodyKeys = {
|
|
|
1696
1696
|
origin: joi10.string().valid(...ProjectInfoOriginTypes),
|
|
1697
1697
|
document_header_id: joi10.string().uuid().required(),
|
|
1698
1698
|
email_log: joi10.string().uuid().required(),
|
|
1699
|
-
id: joi10.
|
|
1700
|
-
|
|
1701
|
-
|
|
1699
|
+
id: joi10.number().integer().positive().required(),
|
|
1700
|
+
created_at: joi10.string().isoDate().required(),
|
|
1701
|
+
updated_at: joi10.string().isoDate().required()
|
|
1702
|
+
}).messages(messages);
|
|
1702
1703
|
|
|
1703
1704
|
// src/modules/supply/documentHeaderHistory/interfaces.ts
|
|
1704
1705
|
var interfaces_exports7 = {};
|
|
@@ -5686,7 +5687,7 @@ var createOrUpdateBodyKeys2 = {
|
|
|
5686
5687
|
var createOrUpdateBody2 = joi105.object().keys(createOrUpdateBodyKeys2).messages(messages);
|
|
5687
5688
|
var findByParamsKeys = {
|
|
5688
5689
|
owner_id: joi105.string().uuid().required(),
|
|
5689
|
-
chat_document_header_id: joi105.string().uuid().
|
|
5690
|
+
chat_document_header_id: joi105.string().uuid().required()
|
|
5690
5691
|
};
|
|
5691
5692
|
var findByParams = joi105.object().keys(findByParamsKeys).messages(messages);
|
|
5692
5693
|
|
package/dist/index.js
CHANGED
|
@@ -1672,7 +1672,7 @@ var documentPdfQuery = joi10.object().keys(documentPdfQueryKeys).messages(messag
|
|
|
1672
1672
|
var documentLineQuery = joi10.object().keys({
|
|
1673
1673
|
closed: joi10.boolean().default(false).optional()
|
|
1674
1674
|
}).messages(messages);
|
|
1675
|
-
var
|
|
1675
|
+
var createSiteProposalBody = joi10.object().keys({
|
|
1676
1676
|
client_id: joi10.string().uuid().optional(),
|
|
1677
1677
|
persona_id: joi10.string().uuid().optional(),
|
|
1678
1678
|
name: joi10.string().required(),
|
|
@@ -1696,9 +1696,10 @@ var createSiteProposalBodyKeys = {
|
|
|
1696
1696
|
origin: joi10.string().valid(...ProjectInfoOriginTypes),
|
|
1697
1697
|
document_header_id: joi10.string().uuid().required(),
|
|
1698
1698
|
email_log: joi10.string().uuid().required(),
|
|
1699
|
-
id: joi10.
|
|
1700
|
-
|
|
1701
|
-
|
|
1699
|
+
id: joi10.number().integer().positive().required(),
|
|
1700
|
+
created_at: joi10.string().isoDate().required(),
|
|
1701
|
+
updated_at: joi10.string().isoDate().required()
|
|
1702
|
+
}).messages(messages);
|
|
1702
1703
|
|
|
1703
1704
|
// src/modules/supply/documentHeaderHistory/interfaces.ts
|
|
1704
1705
|
var interfaces_exports7 = {};
|
|
@@ -5686,7 +5687,7 @@ var createOrUpdateBodyKeys2 = {
|
|
|
5686
5687
|
var createOrUpdateBody2 = joi105.object().keys(createOrUpdateBodyKeys2).messages(messages);
|
|
5687
5688
|
var findByParamsKeys = {
|
|
5688
5689
|
owner_id: joi105.string().uuid().required(),
|
|
5689
|
-
chat_document_header_id: joi105.string().uuid().
|
|
5690
|
+
chat_document_header_id: joi105.string().uuid().required()
|
|
5690
5691
|
};
|
|
5691
5692
|
var findByParams = joi105.object().keys(findByParamsKeys).messages(messages);
|
|
5692
5693
|
|
|
@@ -12,4 +12,4 @@ export declare const sendClientNotificationBody: joi.ObjectSchema<any>;
|
|
|
12
12
|
export declare const findByTypeQuery: joi.ObjectSchema<any>;
|
|
13
13
|
export declare const documentPdfQuery: joi.ObjectSchema<any>;
|
|
14
14
|
export declare const documentLineQuery: joi.ObjectSchema<IShared.IRouteRequest<IDocumentListRequest>>;
|
|
15
|
-
export declare const createSiteProposalBody: joi.ObjectSchema<
|
|
15
|
+
export declare const createSiteProposalBody: joi.ObjectSchema<import("../../../shared/entities/integration").ProjectInfo>;
|
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.24",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|