@nomalism-com/types 1.3.15 → 1.3.16

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.js CHANGED
@@ -3589,7 +3589,8 @@ var createBodyKeys44 = {
3589
3589
  Timezone: joi10.string(),
3590
3590
  telephone: joi10.string(),
3591
3591
  fax: joi10.string(),
3592
- website: joi10.string()
3592
+ website: joi10.string(),
3593
+ vat_tax_zone_saft_code: joi10.string().required()
3593
3594
  };
3594
3595
  var createBody45 = joi10.object().keys(createBodyKeys44).messages(messages);
3595
3596
  var updateBodyKeys38 = {
@@ -3608,7 +3609,8 @@ var updateBodyKeys38 = {
3608
3609
  Timezone: joi10.string(),
3609
3610
  telephone: joi10.string(),
3610
3611
  fax: joi10.string(),
3611
- website: joi10.string()
3612
+ website: joi10.string(),
3613
+ vat_tax_zone_saft_code: joi10.string()
3612
3614
  };
3613
3615
  var updateBody38 = joi10.object().keys(updateBodyKeys38).messages(messages);
3614
3616
 
@@ -21,6 +21,7 @@ export interface ICreateRequest {
21
21
  telephone?: string | null;
22
22
  fax?: string | null;
23
23
  website?: string | null;
24
+ vat_tax_zone_saft_code: string;
24
25
  }
25
26
  export interface IUpdateRequest {
26
27
  name?: string;
@@ -39,6 +40,7 @@ export interface IUpdateRequest {
39
40
  telephone?: string | null;
40
41
  fax?: string | null;
41
42
  website?: string | null;
43
+ vat_tax_zone_saft_code?: string;
42
44
  }
43
45
  export interface IRepository {
44
46
  find(): Promise<Entity[]>;
@@ -449,6 +449,7 @@ export type Tenant = {
449
449
  telephone: string | null;
450
450
  fax: string | null;
451
451
  website: string | null;
452
+ vat_tax_zone_saft_code: string;
452
453
  created_at: Date;
453
454
  updated_at: Date;
454
455
  created_by: 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": "1.3.15",
4
+ "version": "1.3.16",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",
@@ -34,7 +34,7 @@
34
34
  "eslint-config-prettier": "^10.1.8",
35
35
  "eslint-import-resolver-typescript": "^4.4.4",
36
36
  "eslint-plugin-prettier": "^5.5.4",
37
- "prettier": "^3.6.2",
37
+ "prettier": "^3.7.1",
38
38
  "tsup": "^8.5.1"
39
39
  },
40
40
  "repository": {