@nomalism-com/types 0.40.45 → 0.40.47

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
@@ -4445,7 +4445,13 @@ var senEmailBodyKeys = {
4445
4445
  budget_options: joi80.object().keys({
4446
4446
  retificacao: joi80.boolean().required(),
4447
4447
  retificacao_aconselhamento: joi80.boolean().required(),
4448
- montagem: joi80.boolean().required()
4448
+ montagem: joi80.boolean().required(),
4449
+ multimedias: joi80.array().items(
4450
+ joi80.object().keys({
4451
+ id: joi80.string().required(),
4452
+ filename: joi80.string().required()
4453
+ })
4454
+ ).optional().allow([])
4449
4455
  }),
4450
4456
  address: joi80.string().optional().allow(""),
4451
4457
  email: joi80.string().trim(true).lowercase().email({ tlds: { allow: false } })
package/dist/index.js CHANGED
@@ -4445,7 +4445,13 @@ var senEmailBodyKeys = {
4445
4445
  budget_options: joi80.object().keys({
4446
4446
  retificacao: joi80.boolean().required(),
4447
4447
  retificacao_aconselhamento: joi80.boolean().required(),
4448
- montagem: joi80.boolean().required()
4448
+ montagem: joi80.boolean().required(),
4449
+ multimedias: joi80.array().items(
4450
+ joi80.object().keys({
4451
+ id: joi80.string().required(),
4452
+ filename: joi80.string().required()
4453
+ })
4454
+ ).optional().allow([])
4449
4455
  }),
4450
4456
  address: joi80.string().optional().allow(""),
4451
4457
  email: joi80.string().trim(true).lowercase().email({ tlds: { allow: false } })
@@ -8,10 +8,15 @@ export declare const IProjectInfoTypeEnum: {
8
8
  professional: 'professional';
9
9
  company: 'company';
10
10
  };
11
+ export type IMultimedia = {
12
+ id: string;
13
+ filename: string;
14
+ };
11
15
  export type IBudgetOptionsType = {
12
16
  retificacao: boolean;
13
17
  retificacao_aconselhamento: boolean;
14
18
  montagem: boolean;
19
+ multimedias: IMultimedia[];
15
20
  };
16
21
  export type IProjectInfoType = (typeof IProjectInfoTypeEnum)[keyof typeof IProjectInfoTypeEnum];
17
22
  export declare const projectInfoTypes: 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.40.45",
4
+ "version": "0.40.47",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",