@nomalism-com/types 0.40.91 → 0.40.93

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
@@ -4396,8 +4396,9 @@ var senEmailBodyKeys = {
4396
4396
  ).optional()
4397
4397
  // REMOVED .allow([]) here
4398
4398
  }),
4399
- address: joi77.string().optional().allow(""),
4400
- email: joi77.string().trim(true).lowercase().email({ tlds: { allow: false } })
4399
+ address: joi77.string().optional().allow("").empty(""),
4400
+ email: joi77.string().trim(true).lowercase().email({ tlds: { allow: false } }),
4401
+ origin: joi77.string().valid(...ProjectInfoOriginTypes)
4401
4402
  };
4402
4403
  var sendEmailBody = joi77.object().keys(senEmailBodyKeys).messages(messages);
4403
4404
 
package/dist/index.js CHANGED
@@ -4396,8 +4396,9 @@ var senEmailBodyKeys = {
4396
4396
  ).optional()
4397
4397
  // REMOVED .allow([]) here
4398
4398
  }),
4399
- address: joi77.string().optional().allow(""),
4400
- email: joi77.string().trim(true).lowercase().email({ tlds: { allow: false } })
4399
+ address: joi77.string().optional().allow("").empty(""),
4400
+ email: joi77.string().trim(true).lowercase().email({ tlds: { allow: false } }),
4401
+ origin: joi77.string().valid(...ProjectInfoOriginTypes)
4401
4402
  };
4402
4403
  var sendEmailBody = joi77.object().keys(senEmailBodyKeys).messages(messages);
4403
4404
 
@@ -1,4 +1,4 @@
1
- import { IProjectInfoType, IBudgetOptionsType } from '../../modules/integration/projectInfo/interfaces';
1
+ import type { IProjectInfoType, IBudgetOptionsType, IProjectInfoOriginType } from '../../modules/integration/projectInfo/interfaces';
2
2
  /**
3
3
  * Model Observation
4
4
  *
@@ -64,6 +64,7 @@ export type ProjectInfo = {
64
64
  description: string;
65
65
  document_header_id: string;
66
66
  email_log: string;
67
+ origin: IProjectInfoOriginType;
67
68
  created_at: Date;
68
69
  updated_at: Date;
69
70
  };
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.40.91",
4
+ "version": "0.40.93",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",