@nomalism-com/types 0.42.4 → 0.42.6

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
@@ -4922,14 +4922,12 @@ var createBodyKeys55 = {
4922
4922
  })
4923
4923
  ).required(),
4924
4924
  key: joi87.string().required(),
4925
- rapid: joi87.boolean().required(),
4926
- variables: joi87.array().items(joi87.string()).required()
4925
+ rapid: joi87.boolean().required()
4927
4926
  };
4928
4927
  var createBody56 = joi87.object().keys(createBodyKeys55).messages(messages);
4929
4928
  var updateBodyKeys51 = {
4930
4929
  name: joi87.string().optional(),
4931
- body: joi87.string().optional(),
4932
- variables: joi87.array().items(joi87.string()).optional()
4930
+ body: joi87.string().optional()
4933
4931
  };
4934
4932
  var updateBody51 = joi87.object().keys(updateBodyKeys51).messages(messages);
4935
4933
  var sendBodyKeys = {
@@ -4961,8 +4959,7 @@ var sendBodyKeys = {
4961
4959
  filename: joi87.string().required(),
4962
4960
  path: joi87.string().required()
4963
4961
  })
4964
- ).required(),
4965
- variables: joi87.array().items(joi87.string()).required()
4962
+ ).required()
4966
4963
  };
4967
4964
  var sendBody = joi87.object().keys(sendBodyKeys).messages(messages);
4968
4965
 
package/dist/index.js CHANGED
@@ -4922,14 +4922,12 @@ var createBodyKeys55 = {
4922
4922
  })
4923
4923
  ).required(),
4924
4924
  key: joi87.string().required(),
4925
- rapid: joi87.boolean().required(),
4926
- variables: joi87.array().items(joi87.string()).required()
4925
+ rapid: joi87.boolean().required()
4927
4926
  };
4928
4927
  var createBody56 = joi87.object().keys(createBodyKeys55).messages(messages);
4929
4928
  var updateBodyKeys51 = {
4930
4929
  name: joi87.string().optional(),
4931
- body: joi87.string().optional(),
4932
- variables: joi87.array().items(joi87.string()).optional()
4930
+ body: joi87.string().optional()
4933
4931
  };
4934
4932
  var updateBody51 = joi87.object().keys(updateBodyKeys51).messages(messages);
4935
4933
  var sendBodyKeys = {
@@ -4961,8 +4959,7 @@ var sendBodyKeys = {
4961
4959
  filename: joi87.string().required(),
4962
4960
  path: joi87.string().required()
4963
4961
  })
4964
- ).required(),
4965
- variables: joi87.array().items(joi87.string()).required()
4962
+ ).required()
4966
4963
  };
4967
4964
  var sendBody = joi87.object().keys(sendBodyKeys).messages(messages);
4968
4965
 
@@ -20,12 +20,10 @@ export interface ICreateRequest {
20
20
  attachments: ICreateAttachments[];
21
21
  key: string;
22
22
  rapid: boolean;
23
- variables: string[];
24
23
  }
25
24
  export interface IUpdateRequest {
26
25
  name?: string;
27
26
  body?: string;
28
- variables?: string[];
29
27
  }
30
28
  export interface ISendRequest {
31
29
  owner_id: string | null;
@@ -36,7 +34,6 @@ export interface ISendRequest {
36
34
  subject: string;
37
35
  html: string;
38
36
  attachments: IEmailAttachment[];
39
- variables: string[];
40
37
  }
41
38
  export interface IRepository {
42
39
  find(): Promise<IEntityExtended[]>;
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.42.4",
4
+ "version": "0.42.6",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",