@nomalism-com/types 0.9.560 → 0.9.562
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.
|
@@ -148,7 +148,11 @@ exports.printLabelQuery = joi_1.default
|
|
|
148
148
|
.messages(messages_1.messages);
|
|
149
149
|
var duplicateProductBodyKeys = {
|
|
150
150
|
provider_ref: joi_1.default.string().required(),
|
|
151
|
-
color_id: joi_1.default
|
|
151
|
+
color_id: joi_1.default
|
|
152
|
+
.array()
|
|
153
|
+
.items(joi_1.default.string().uuid().required())
|
|
154
|
+
.required()
|
|
155
|
+
.unique(),
|
|
152
156
|
};
|
|
153
157
|
exports.duplicateProductBody = joi_1.default
|
|
154
158
|
.object()
|
|
@@ -7,7 +7,7 @@ export declare const LowerName: string;
|
|
|
7
7
|
export interface IFindByProviderResponse extends Omit<StockMovement, 'product_id' | 'stock_to_date'> {
|
|
8
8
|
reference: string;
|
|
9
9
|
}
|
|
10
|
-
export type IFindByOwnerIdResponse = Omit<StockMovement, 'product_id'>;
|
|
10
|
+
export type IFindByOwnerIdResponse = Omit<StockMovement, 'document_line_id' | 'product_id'>;
|
|
11
11
|
export interface IExportCsvRequest {
|
|
12
12
|
date: Date;
|
|
13
13
|
token: string;
|
|
@@ -1010,6 +1010,7 @@ export type StockMovement = {
|
|
|
1010
1010
|
product_id: string;
|
|
1011
1011
|
emission_date: Date;
|
|
1012
1012
|
name: string;
|
|
1013
|
+
pdf_link: string | null;
|
|
1013
1014
|
link_user_type: IDocumentTypeUserType | null;
|
|
1014
1015
|
link_owner_id: string | null;
|
|
1015
1016
|
link_document_number: number | null;
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"typescript",
|
|
10
10
|
"helper"
|
|
11
11
|
],
|
|
12
|
-
"version": "0.9.
|
|
12
|
+
"version": "0.9.562",
|
|
13
13
|
"main": "./dist/index.js",
|
|
14
14
|
"types": "./dist/index.d.ts",
|
|
15
15
|
"files": [
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"eslint": "^8.49.0",
|
|
46
46
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
47
47
|
"eslint-config-prettier": "^9.0.0",
|
|
48
|
-
"eslint-import-resolver-typescript": "^3.6.
|
|
48
|
+
"eslint-import-resolver-typescript": "^3.6.1",
|
|
49
49
|
"eslint-plugin-import": "^2.28.1",
|
|
50
50
|
"eslint-plugin-prettier": "^5.0.0",
|
|
51
51
|
"prettier": "^3.0.3",
|