@nomalism-com/types 0.42.8 → 0.42.9

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
@@ -4931,16 +4931,16 @@ var updateBodyKeys51 = {
4931
4931
  var updateBody51 = joi87.object().keys(updateBodyKeys51).messages(messages);
4932
4932
  var sendBodyKeys = {
4933
4933
  owner_id: joi87.string().uuid().allow(null).required(),
4934
- to: joi87.object().keys({
4935
- name: joi87.string().allow("", null).default("").required(),
4936
- address: joi87.string().email({ tlds: { allow: false } }).required()
4937
- }).required(),
4938
- from: joi87.array().items(
4934
+ to: joi87.array().items(
4939
4935
  joi87.object().keys({
4940
4936
  name: joi87.string().allow("", null).default("").required(),
4941
4937
  address: joi87.string().email({ tlds: { allow: false } }).required()
4942
4938
  })
4943
4939
  ).required(),
4940
+ from: joi87.object().keys({
4941
+ name: joi87.string().allow("", null).default("").required(),
4942
+ address: joi87.string().email({ tlds: { allow: false } }).required()
4943
+ }).required(),
4944
4944
  cc: joi87.array().items(
4945
4945
  joi87.object().keys({
4946
4946
  name: joi87.string().allow("", null).default("").required(),
package/dist/index.js CHANGED
@@ -4931,16 +4931,16 @@ var updateBodyKeys51 = {
4931
4931
  var updateBody51 = joi87.object().keys(updateBodyKeys51).messages(messages);
4932
4932
  var sendBodyKeys = {
4933
4933
  owner_id: joi87.string().uuid().allow(null).required(),
4934
- to: joi87.object().keys({
4935
- name: joi87.string().allow("", null).default("").required(),
4936
- address: joi87.string().email({ tlds: { allow: false } }).required()
4937
- }).required(),
4938
- from: joi87.array().items(
4934
+ to: joi87.array().items(
4939
4935
  joi87.object().keys({
4940
4936
  name: joi87.string().allow("", null).default("").required(),
4941
4937
  address: joi87.string().email({ tlds: { allow: false } }).required()
4942
4938
  })
4943
4939
  ).required(),
4940
+ from: joi87.object().keys({
4941
+ name: joi87.string().allow("", null).default("").required(),
4942
+ address: joi87.string().email({ tlds: { allow: false } }).required()
4943
+ }).required(),
4944
4944
  cc: joi87.array().items(
4945
4945
  joi87.object().keys({
4946
4946
  name: joi87.string().allow("", null).default("").required(),
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.8",
4
+ "version": "0.42.9",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",