@nomalism-com/types 0.43.31 → 0.43.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.cjs
CHANGED
|
@@ -1553,7 +1553,8 @@ var createFromHeaderBodyKeys = {
|
|
|
1553
1553
|
global_discount: joi10.number().min(0).max(100).optional(),
|
|
1554
1554
|
current_account: joi10.boolean().optional(),
|
|
1555
1555
|
store_operator_id: joi10.string().uuid().allow(null).optional(),
|
|
1556
|
-
account_code: joi10.string().allow(null, "").empty("").optional()
|
|
1556
|
+
account_code: joi10.string().allow(null, "").empty("").optional(),
|
|
1557
|
+
owner_ref_document: joi10.string().allow(null, "").empty("").optional()
|
|
1557
1558
|
};
|
|
1558
1559
|
var createFromHeaderBody = joi10.object().keys(createFromHeaderBodyKeys).messages(messages);
|
|
1559
1560
|
var findQueryKeys6 = {
|
package/dist/index.js
CHANGED
|
@@ -1553,7 +1553,8 @@ var createFromHeaderBodyKeys = {
|
|
|
1553
1553
|
global_discount: joi10.number().min(0).max(100).optional(),
|
|
1554
1554
|
current_account: joi10.boolean().optional(),
|
|
1555
1555
|
store_operator_id: joi10.string().uuid().allow(null).optional(),
|
|
1556
|
-
account_code: joi10.string().allow(null, "").empty("").optional()
|
|
1556
|
+
account_code: joi10.string().allow(null, "").empty("").optional(),
|
|
1557
|
+
owner_ref_document: joi10.string().allow(null, "").empty("").optional()
|
|
1557
1558
|
};
|
|
1558
1559
|
var createFromHeaderBody = joi10.object().keys(createFromHeaderBodyKeys).messages(messages);
|
|
1559
1560
|
var findQueryKeys6 = {
|
|
@@ -132,6 +132,7 @@ export interface ICreateFromHeaderRequest {
|
|
|
132
132
|
global_discount?: number;
|
|
133
133
|
current_account?: boolean;
|
|
134
134
|
store_operator_id?: string | null;
|
|
135
|
+
owner_ref_document?: string | null;
|
|
135
136
|
}
|
|
136
137
|
export interface IUpdateRequest {
|
|
137
138
|
external_id?: string | null;
|
|
@@ -280,6 +280,7 @@ export type DocumentHeader = {
|
|
|
280
280
|
owner_id: string;
|
|
281
281
|
owner_number: number;
|
|
282
282
|
owner_name: string | null;
|
|
283
|
+
owner_ref_document: string | null;
|
|
283
284
|
account_code: string | null;
|
|
284
285
|
billing_persona_id: string | null;
|
|
285
286
|
billing_persona_nif: 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.
|
|
4
|
+
"version": "0.43.32",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"joi": "^18.0.2"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@swc/core": "^1.15.
|
|
33
|
-
"@types/node": "^24.
|
|
32
|
+
"@swc/core": "^1.15.18",
|
|
33
|
+
"@types/node": "^24.12.0",
|
|
34
34
|
"@typescript-eslint/eslint-plugin": "^8.56.1",
|
|
35
35
|
"@typescript-eslint/parser": "^8.56.1",
|
|
36
36
|
"eslint": "^9.39.3",
|