@nomalism-com/types 1.3.17 → 1.3.20

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
@@ -1517,11 +1517,11 @@ var createFromHeaderBodyKeys = {
1517
1517
  email: joi10.string().email({ tlds: { allow: false } }).allow(null).optional(),
1518
1518
  maturity_date: joi10.object().keys(createFromHeaderMaturityDate).optional(),
1519
1519
  return_reason: joi10.string().optional(),
1520
- provider_ref: joi10.string().optional(),
1521
1520
  global_discount: joi10.number().min(0).max(100).optional(),
1522
1521
  current_account: joi10.boolean().optional(),
1523
1522
  store_operator_id: joi10.string().uuid().allow(null).optional(),
1524
- document_set_id: joi10.string().uuid().optional()
1523
+ document_set_id: joi10.string().uuid().optional(),
1524
+ external_document_name: joi10.string().optional()
1525
1525
  };
1526
1526
  var createFromHeaderBody = joi10.object().keys(createFromHeaderBodyKeys).messages(messages);
1527
1527
  var findQueryKeys6 = {
@@ -115,6 +115,7 @@ export interface IDeliveryAdresses {
115
115
  export interface ICreateFromHeaderRequest {
116
116
  document_type_id: number;
117
117
  document_set_id?: string;
118
+ external_document_name?: string;
118
119
  emission_date?: Date;
119
120
  from_header: string[];
120
121
  from_lines: string[];
@@ -124,7 +125,6 @@ export interface ICreateFromHeaderRequest {
124
125
  email?: string;
125
126
  maturity_date?: ICreateFromHeaderMaturityDate;
126
127
  return_reason?: string;
127
- provider_ref?: string;
128
128
  global_discount?: number;
129
129
  current_account?: boolean;
130
130
  store_operator_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": "1.3.17",
4
+ "version": "1.3.20",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",
@@ -28,13 +28,13 @@
28
28
  "devDependencies": {
29
29
  "@swc/core": "^1.15.3",
30
30
  "@types/node": "^24.10.1",
31
- "@typescript-eslint/eslint-plugin": "^8.48.0",
32
- "@typescript-eslint/parser": "^8.48.0",
31
+ "@typescript-eslint/eslint-plugin": "^8.48.1",
32
+ "@typescript-eslint/parser": "^8.48.1",
33
33
  "eslint": "^9.39.1",
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.7.1",
37
+ "prettier": "^3.7.3",
38
38
  "tsup": "^8.5.1"
39
39
  },
40
40
  "repository": {