@nomalism-com/types 0.47.17 → 0.47.18

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
@@ -407,7 +407,7 @@ var messages = {
407
407
  var createBillOfLadingBody = joi.object().keys({
408
408
  persona_id: joi.string().uuid().required(),
409
409
  persona_name: joi.string().required(),
410
- persona_nif: joi.string().required(),
410
+ persona_nif: joi.string().optional().allow("", null),
411
411
  document_type_id: joi.number().required(),
412
412
  from_document_header_id: joi.string().required(),
413
413
  delivery_addresses: joi.object().keys({
package/dist/index.js CHANGED
@@ -407,7 +407,7 @@ var messages = {
407
407
  var createBillOfLadingBody = joi.object().keys({
408
408
  persona_id: joi.string().uuid().required(),
409
409
  persona_name: joi.string().required(),
410
- persona_nif: joi.string().required(),
410
+ persona_nif: joi.string().optional().allow("", null),
411
411
  document_type_id: joi.number().required(),
412
412
  from_document_header_id: joi.string().required(),
413
413
  delivery_addresses: joi.object().keys({
@@ -13,7 +13,7 @@ export interface IDeliveryAddressRequest {
13
13
  export interface ICreateRequest {
14
14
  persona_id: string;
15
15
  persona_name: string;
16
- persona_nif: string;
16
+ persona_nif?: string;
17
17
  document_type_id: number;
18
18
  from_document_header_id: string;
19
19
  delivery_addresses: IDeliveryAddressRequest;
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.47.17",
4
+ "version": "0.47.18",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",