@nomalism-com/types 0.43.30 → 0.43.31
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,8 +1553,7 @@ 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()
|
|
1557
|
-
owner_ref_document: joi10.string().allow(null, "").empty("").optional()
|
|
1556
|
+
account_code: joi10.string().allow(null, "").empty("").optional()
|
|
1558
1557
|
};
|
|
1559
1558
|
var createFromHeaderBody = joi10.object().keys(createFromHeaderBodyKeys).messages(messages);
|
|
1560
1559
|
var findQueryKeys6 = {
|
|
@@ -5984,6 +5983,14 @@ var LowerName107 = UpperName107[0].toLowerCase() + UpperName107.substring(1);
|
|
|
5984
5983
|
|
|
5985
5984
|
// src/modules/supply/documentHeaderSurvey/interfaces.ts
|
|
5986
5985
|
var interfaces_exports59 = {};
|
|
5986
|
+
__export(interfaces_exports59, {
|
|
5987
|
+
LowerName: () => LowerName108,
|
|
5988
|
+
Route: () => Route111,
|
|
5989
|
+
UpperName: () => UpperName108
|
|
5990
|
+
});
|
|
5991
|
+
var Route111 = "documentHeaderSurvey";
|
|
5992
|
+
var UpperName108 = "DocumentHeaderSurvey";
|
|
5993
|
+
var LowerName108 = UpperName108[0].toLowerCase() + UpperName108.substring(1);
|
|
5987
5994
|
|
|
5988
5995
|
// src/modules/supply/documentHeaderSurvey/route.schema.ts
|
|
5989
5996
|
var route_schema_exports112 = {};
|
package/dist/index.js
CHANGED
|
@@ -1553,8 +1553,7 @@ 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()
|
|
1557
|
-
owner_ref_document: joi10.string().allow(null, "").empty("").optional()
|
|
1556
|
+
account_code: joi10.string().allow(null, "").empty("").optional()
|
|
1558
1557
|
};
|
|
1559
1558
|
var createFromHeaderBody = joi10.object().keys(createFromHeaderBodyKeys).messages(messages);
|
|
1560
1559
|
var findQueryKeys6 = {
|
|
@@ -5984,6 +5983,14 @@ var LowerName107 = UpperName107[0].toLowerCase() + UpperName107.substring(1);
|
|
|
5984
5983
|
|
|
5985
5984
|
// src/modules/supply/documentHeaderSurvey/interfaces.ts
|
|
5986
5985
|
var interfaces_exports59 = {};
|
|
5986
|
+
__export(interfaces_exports59, {
|
|
5987
|
+
LowerName: () => LowerName108,
|
|
5988
|
+
Route: () => Route111,
|
|
5989
|
+
UpperName: () => UpperName108
|
|
5990
|
+
});
|
|
5991
|
+
var Route111 = "documentHeaderSurvey";
|
|
5992
|
+
var UpperName108 = "DocumentHeaderSurvey";
|
|
5993
|
+
var LowerName108 = UpperName108[0].toLowerCase() + UpperName108.substring(1);
|
|
5987
5994
|
|
|
5988
5995
|
// src/modules/supply/documentHeaderSurvey/route.schema.ts
|
|
5989
5996
|
var route_schema_exports112 = {};
|
|
@@ -132,7 +132,6 @@ 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;
|
|
136
135
|
}
|
|
137
136
|
export interface IUpdateRequest {
|
|
138
137
|
external_id?: string | null;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import Nomalism from '../../..';
|
|
2
2
|
import { DocumentHeaderSurvey } from '../../../shared/entities/stock';
|
|
3
3
|
export type IEntity = DocumentHeaderSurvey;
|
|
4
|
+
export declare const Route = "documentHeaderSurvey";
|
|
5
|
+
export declare const UpperName = "DocumentHeaderSurvey";
|
|
6
|
+
export declare const LowerName: string;
|
|
4
7
|
export type ICreateRequest = Pick<IEntity, 'owner_id' | 'document_header_id' | 'persona_id'>;
|
|
5
8
|
export type IResponse = IEntity;
|
|
6
9
|
export type IUpdateSentRequest = Pick<IEntity, 'document_header_id' | 'persona_id'>;
|
|
@@ -280,7 +280,6 @@ 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;
|
|
284
283
|
account_code: string | null;
|
|
285
284
|
billing_persona_id: string | null;
|
|
286
285
|
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.31",
|
|
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.13",
|
|
33
|
+
"@types/node": "^24.10.14",
|
|
34
34
|
"@typescript-eslint/eslint-plugin": "^8.56.1",
|
|
35
35
|
"@typescript-eslint/parser": "^8.56.1",
|
|
36
36
|
"eslint": "^9.39.3",
|