@nomalism-com/types 1.3.20 → 1.3.22

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
@@ -1444,7 +1444,6 @@ var createFromHeaderMaturityDate = {
1444
1444
  };
1445
1445
  var createBodyKeys9 = {
1446
1446
  document_type_id: joi10.number().required(),
1447
- document_set_id: joi10.string().uuid().required(),
1448
1447
  pdf_link: joi10.string().allow(null).optional(),
1449
1448
  google_sheet_id: joi10.string().allow(null).optional(),
1450
1449
  sent: joi10.boolean().optional(),
@@ -1521,7 +1520,8 @@ var createFromHeaderBodyKeys = {
1521
1520
  current_account: joi10.boolean().optional(),
1522
1521
  store_operator_id: joi10.string().uuid().allow(null).optional(),
1523
1522
  document_set_id: joi10.string().uuid().optional(),
1524
- external_document_name: joi10.string().optional()
1523
+ external_document_name: joi10.string().optional(),
1524
+ atcud: joi10.string().optional()
1525
1525
  };
1526
1526
  var createFromHeaderBody = joi10.object().keys(createFromHeaderBodyKeys).messages(messages);
1527
1527
  var findQueryKeys6 = {
@@ -54,7 +54,6 @@ export interface ICreateFromHeaderMaturityDate {
54
54
  }
55
55
  export interface ICreateRequest {
56
56
  document_type_id: number;
57
- document_set_id: string;
58
57
  pdf_link?: string | null;
59
58
  google_sheet_id?: string | null;
60
59
  sent?: boolean;
@@ -116,6 +115,7 @@ export interface ICreateFromHeaderRequest {
116
115
  document_type_id: number;
117
116
  document_set_id?: string;
118
117
  external_document_name?: string;
118
+ atcud?: string;
119
119
  emission_date?: Date;
120
120
  from_header: string[];
121
121
  from_lines: string[];
@@ -260,6 +260,7 @@ export type DocumentHeader = {
260
260
  pdf_link: string | null;
261
261
  google_sheet_id: string | null;
262
262
  emission_date: Date;
263
+ source_billing: string;
263
264
  owner_id: string;
264
265
  owner_number: number;
265
266
  owner_name: string | null;
@@ -419,6 +420,7 @@ export type DocumentSet = {
419
420
  id: string;
420
421
  name: string;
421
422
  active_by_default: boolean;
423
+ include_in_saft: boolean;
422
424
  created_at: Date;
423
425
  updated_at: Date;
424
426
  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.20",
4
+ "version": "1.3.22",
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.7.3",
37
+ "prettier": "^3.7.4",
38
38
  "tsup": "^8.5.1"
39
39
  },
40
40
  "repository": {