@nomalism-com/types 1.3.18 → 1.3.21
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,12 +1517,12 @@ 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
1523
|
document_set_id: joi10.string().uuid().optional(),
|
|
1525
|
-
external_document_name: joi10.string().optional()
|
|
1524
|
+
external_document_name: joi10.string().optional(),
|
|
1525
|
+
atcud: joi10.string().optional()
|
|
1526
1526
|
};
|
|
1527
1527
|
var createFromHeaderBody = joi10.object().keys(createFromHeaderBodyKeys).messages(messages);
|
|
1528
1528
|
var findQueryKeys6 = {
|
|
@@ -116,6 +116,7 @@ export interface ICreateFromHeaderRequest {
|
|
|
116
116
|
document_type_id: number;
|
|
117
117
|
document_set_id?: string;
|
|
118
118
|
external_document_name?: string;
|
|
119
|
+
atcud?: string;
|
|
119
120
|
emission_date?: Date;
|
|
120
121
|
from_header: string[];
|
|
121
122
|
from_lines: string[];
|
|
@@ -125,7 +126,6 @@ export interface ICreateFromHeaderRequest {
|
|
|
125
126
|
email?: string;
|
|
126
127
|
maturity_date?: ICreateFromHeaderMaturityDate;
|
|
127
128
|
return_reason?: string;
|
|
128
|
-
provider_ref?: string;
|
|
129
129
|
global_discount?: number;
|
|
130
130
|
current_account?: boolean;
|
|
131
131
|
store_operator_id?: string | null;
|
|
@@ -222,6 +222,7 @@ export type DocumentType = {
|
|
|
222
222
|
description: string;
|
|
223
223
|
group: string;
|
|
224
224
|
is_searchable: boolean;
|
|
225
|
+
include_in_saft: boolean;
|
|
225
226
|
quantity_in: boolean;
|
|
226
227
|
quantity_out: boolean;
|
|
227
228
|
credit: boolean;
|
|
@@ -260,6 +261,7 @@ export type DocumentHeader = {
|
|
|
260
261
|
pdf_link: string | null;
|
|
261
262
|
google_sheet_id: string | null;
|
|
262
263
|
emission_date: Date;
|
|
264
|
+
source_billing: string;
|
|
263
265
|
owner_id: string;
|
|
264
266
|
owner_number: number;
|
|
265
267
|
owner_name: 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.
|
|
4
|
+
"version": "1.3.21",
|
|
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.
|
|
32
|
-
"@typescript-eslint/parser": "^8.48.
|
|
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.
|
|
37
|
+
"prettier": "^3.7.4",
|
|
38
38
|
"tsup": "^8.5.1"
|
|
39
39
|
},
|
|
40
40
|
"repository": {
|