@nomalism-com/types 1.3.30 → 1.3.32
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
|
@@ -1420,11 +1420,17 @@ var DocumentTypeCodeTypeEnum = {
|
|
|
1420
1420
|
NRCL: "NRCL",
|
|
1421
1421
|
FPM: "FPM",
|
|
1422
1422
|
FTM: "FTM",
|
|
1423
|
+
FTD: "FTD",
|
|
1423
1424
|
FRM: "FRM",
|
|
1425
|
+
FRD: "FRD",
|
|
1424
1426
|
FSM: "FSM",
|
|
1427
|
+
FSD: "FSD",
|
|
1425
1428
|
NCM: "NCM",
|
|
1429
|
+
NCD: "NCD",
|
|
1426
1430
|
ADM: "ADM",
|
|
1431
|
+
ADD: "ADD",
|
|
1427
1432
|
NCADM: "NCADM",
|
|
1433
|
+
NCADD: "NCADD",
|
|
1428
1434
|
FTO: "FTO",
|
|
1429
1435
|
FRO: "FRO",
|
|
1430
1436
|
REO: "REO"
|
|
@@ -1544,7 +1550,8 @@ var createFromHeaderBodyKeys = {
|
|
|
1544
1550
|
document_set_id: joi10.string().uuid().optional(),
|
|
1545
1551
|
external_document_name: joi10.string().optional(),
|
|
1546
1552
|
atcud: joi10.string().optional(),
|
|
1547
|
-
account_code: joi10.string().allow(null, "").empty("").optional()
|
|
1553
|
+
account_code: joi10.string().allow(null, "").empty("").optional(),
|
|
1554
|
+
copy_from_document: joi10.string().allow(null, "").empty("").optional()
|
|
1548
1555
|
};
|
|
1549
1556
|
var createFromHeaderBody = joi10.object().keys(createFromHeaderBodyKeys).messages(messages);
|
|
1550
1557
|
var findQueryKeys6 = {
|
|
@@ -131,6 +131,7 @@ export interface ICreateFromHeaderRequest {
|
|
|
131
131
|
global_discount?: number;
|
|
132
132
|
current_account?: boolean;
|
|
133
133
|
store_operator_id?: string | null;
|
|
134
|
+
copy_from_document?: string | null;
|
|
134
135
|
}
|
|
135
136
|
export interface IUpdateRequest {
|
|
136
137
|
google_sheet_id?: string | null;
|
|
@@ -56,11 +56,17 @@ export declare const DocumentTypeCodeTypeEnum: {
|
|
|
56
56
|
NRCL: 'NRCL';
|
|
57
57
|
FPM: 'FPM';
|
|
58
58
|
FTM: 'FTM';
|
|
59
|
+
FTD: 'FTD';
|
|
59
60
|
FRM: 'FRM';
|
|
61
|
+
FRD: 'FRD';
|
|
60
62
|
FSM: 'FSM';
|
|
63
|
+
FSD: 'FSD';
|
|
61
64
|
NCM: 'NCM';
|
|
65
|
+
NCD: 'NCD';
|
|
62
66
|
ADM: 'ADM';
|
|
67
|
+
ADD: 'ADD';
|
|
63
68
|
NCADM: 'NCADM';
|
|
69
|
+
NCADD: 'NCADD';
|
|
64
70
|
FTO: 'FTO';
|
|
65
71
|
FRO: 'FRO';
|
|
66
72
|
REO: 'REO';
|
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.32",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|
|
@@ -26,11 +26,11 @@
|
|
|
26
26
|
"joi": "^18.0.2"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@swc/core": "^1.15.
|
|
29
|
+
"@swc/core": "^1.15.13",
|
|
30
30
|
"@types/node": "^24.10.13",
|
|
31
|
-
"@typescript-eslint/eslint-plugin": "^8.56.
|
|
32
|
-
"@typescript-eslint/parser": "^8.56.
|
|
33
|
-
"eslint": "^9.39.
|
|
31
|
+
"@typescript-eslint/eslint-plugin": "^8.56.1",
|
|
32
|
+
"@typescript-eslint/parser": "^8.56.1",
|
|
33
|
+
"eslint": "^9.39.3",
|
|
34
34
|
"eslint-config-prettier": "^10.1.8",
|
|
35
35
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
36
36
|
"eslint-plugin-prettier": "^5.5.5",
|