@nomalism-com/types 0.43.50 → 0.43.51

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
@@ -4301,6 +4301,7 @@ var createBodyKeys51 = {
4301
4301
  commissioner_id: joi75.string().uuid().allow(null, ""),
4302
4302
  store_operator_id: joi75.string().uuid().allow(null, ""),
4303
4303
  reason_for_exemption_id: joi75.string().uuid().allow(null, "").optional(),
4304
+ language_id: joi75.string().uuid().allow(null, "").optional(),
4304
4305
  main: joi75.boolean().default(false).optional(),
4305
4306
  contact: joi75.boolean().default(false).optional()
4306
4307
  };
@@ -4317,6 +4318,7 @@ var updateBodyKeys48 = {
4317
4318
  email: emailSchema.optional(),
4318
4319
  observations: joi75.string().allow(null, "").optional(),
4319
4320
  reason_for_exemption_id: joi75.string().uuid().allow(null, "").optional(),
4321
+ language_id: joi75.string().uuid().allow(null, "").optional(),
4320
4322
  main: joi75.boolean().optional(),
4321
4323
  contact: joi75.boolean().optional()
4322
4324
  };
package/dist/index.js CHANGED
@@ -4301,6 +4301,7 @@ var createBodyKeys51 = {
4301
4301
  commissioner_id: joi75.string().uuid().allow(null, ""),
4302
4302
  store_operator_id: joi75.string().uuid().allow(null, ""),
4303
4303
  reason_for_exemption_id: joi75.string().uuid().allow(null, "").optional(),
4304
+ language_id: joi75.string().uuid().allow(null, "").optional(),
4304
4305
  main: joi75.boolean().default(false).optional(),
4305
4306
  contact: joi75.boolean().default(false).optional()
4306
4307
  };
@@ -4317,6 +4318,7 @@ var updateBodyKeys48 = {
4317
4318
  email: emailSchema.optional(),
4318
4319
  observations: joi75.string().allow(null, "").optional(),
4319
4320
  reason_for_exemption_id: joi75.string().uuid().allow(null, "").optional(),
4321
+ language_id: joi75.string().uuid().allow(null, "").optional(),
4320
4322
  main: joi75.boolean().optional(),
4321
4323
  contact: joi75.boolean().optional()
4322
4324
  };
@@ -29,6 +29,7 @@ export interface ICreateRequest {
29
29
  commissioner_id: string | null;
30
30
  store_operator_id: string | null;
31
31
  reason_for_exemption_id: string | null;
32
+ language_id: string | null;
32
33
  main?: boolean;
33
34
  contact?: boolean;
34
35
  }
@@ -44,6 +45,7 @@ export interface IUpdateRequest {
44
45
  email?: string | null;
45
46
  observations?: string | null;
46
47
  reason_for_exemption_id?: string | null;
48
+ language_id?: string | null;
47
49
  main?: boolean;
48
50
  contact?: boolean;
49
51
  }
@@ -472,6 +472,7 @@ export type Persona = {
472
472
  locality: string | null;
473
473
  country_id: string | null;
474
474
  reason_for_exemption_id: string | null;
475
+ language_id: string | null;
475
476
  provider_id: string | null;
476
477
  client_id: string | null;
477
478
  commissioner_id: string | null;
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.43.50",
4
+ "version": "0.43.51",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",
@@ -26,13 +26,13 @@
26
26
  "prepack": "npm run lint && npm run build"
27
27
  },
28
28
  "dependencies": {
29
- "joi": "^18.0.2"
29
+ "joi": "^18.1.1"
30
30
  },
31
31
  "devDependencies": {
32
- "@swc/core": "^1.15.18",
32
+ "@swc/core": "^1.15.21",
33
33
  "@types/node": "^24.12.0",
34
- "@typescript-eslint/eslint-plugin": "^8.57.1",
35
- "@typescript-eslint/parser": "^8.57.1",
34
+ "@typescript-eslint/eslint-plugin": "^8.57.2",
35
+ "@typescript-eslint/parser": "^8.57.2",
36
36
  "eslint": "^9.39.4",
37
37
  "eslint-config-prettier": "^10.1.8",
38
38
  "eslint-import-resolver-typescript": "^4.4.4",