@nomalism-com/types 1.3.15 → 1.3.17

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
@@ -1520,7 +1520,8 @@ var createFromHeaderBodyKeys = {
1520
1520
  provider_ref: joi10.string().optional(),
1521
1521
  global_discount: joi10.number().min(0).max(100).optional(),
1522
1522
  current_account: joi10.boolean().optional(),
1523
- store_operator_id: joi10.string().uuid().allow(null).optional()
1523
+ store_operator_id: joi10.string().uuid().allow(null).optional(),
1524
+ document_set_id: joi10.string().uuid().optional()
1524
1525
  };
1525
1526
  var createFromHeaderBody = joi10.object().keys(createFromHeaderBodyKeys).messages(messages);
1526
1527
  var findQueryKeys6 = {
@@ -3589,7 +3590,8 @@ var createBodyKeys44 = {
3589
3590
  Timezone: joi10.string(),
3590
3591
  telephone: joi10.string(),
3591
3592
  fax: joi10.string(),
3592
- website: joi10.string()
3593
+ website: joi10.string(),
3594
+ vat_tax_zone_saft_code: joi10.string().required()
3593
3595
  };
3594
3596
  var createBody45 = joi10.object().keys(createBodyKeys44).messages(messages);
3595
3597
  var updateBodyKeys38 = {
@@ -3608,7 +3610,8 @@ var updateBodyKeys38 = {
3608
3610
  Timezone: joi10.string(),
3609
3611
  telephone: joi10.string(),
3610
3612
  fax: joi10.string(),
3611
- website: joi10.string()
3613
+ website: joi10.string(),
3614
+ vat_tax_zone_saft_code: joi10.string()
3612
3615
  };
3613
3616
  var updateBody38 = joi10.object().keys(updateBodyKeys38).messages(messages);
3614
3617
 
@@ -114,6 +114,7 @@ export interface IDeliveryAdresses {
114
114
  }
115
115
  export interface ICreateFromHeaderRequest {
116
116
  document_type_id: number;
117
+ document_set_id?: string;
117
118
  emission_date?: Date;
118
119
  from_header: string[];
119
120
  from_lines: string[];
@@ -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.17",
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": {