@nomalism-com/types 0.47.14 → 0.47.15
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
|
@@ -2159,7 +2159,8 @@ var createBodyKeys15 = {
|
|
|
2159
2159
|
values: joi47.object().optional(),
|
|
2160
2160
|
maintenances: joi47.string().optional(),
|
|
2161
2161
|
compositions: joi47.string().optional(),
|
|
2162
|
-
attributes: joi47.string().optional()
|
|
2162
|
+
attributes: joi47.string().optional(),
|
|
2163
|
+
youtube_url: joi47.string().optional()
|
|
2163
2164
|
};
|
|
2164
2165
|
var createBody17 = joi47.object().keys(createBodyKeys15).messages(messages);
|
|
2165
2166
|
var updateBodyKeys14 = {
|
|
@@ -2171,7 +2172,8 @@ var updateBodyKeys14 = {
|
|
|
2171
2172
|
unit_of_measure_quantity_notation: joi47.string().empty("").optional(),
|
|
2172
2173
|
vat_tax: joi47.string().empty("").optional(),
|
|
2173
2174
|
reason_for_exemption: joi47.string().empty("").allow(null, "").optional(),
|
|
2174
|
-
state: joi47.string().valid(...productState).optional()
|
|
2175
|
+
state: joi47.string().valid(...productState).optional(),
|
|
2176
|
+
youtube_url: joi47.string().optional()
|
|
2175
2177
|
};
|
|
2176
2178
|
var updateBody14 = joi47.object().keys(updateBodyKeys14).messages(messages);
|
|
2177
2179
|
var findForMobileQuery = joi47.object().keys({
|
package/dist/index.js
CHANGED
|
@@ -2159,7 +2159,8 @@ var createBodyKeys15 = {
|
|
|
2159
2159
|
values: joi47.object().optional(),
|
|
2160
2160
|
maintenances: joi47.string().optional(),
|
|
2161
2161
|
compositions: joi47.string().optional(),
|
|
2162
|
-
attributes: joi47.string().optional()
|
|
2162
|
+
attributes: joi47.string().optional(),
|
|
2163
|
+
youtube_url: joi47.string().optional()
|
|
2163
2164
|
};
|
|
2164
2165
|
var createBody17 = joi47.object().keys(createBodyKeys15).messages(messages);
|
|
2165
2166
|
var updateBodyKeys14 = {
|
|
@@ -2171,7 +2172,8 @@ var updateBodyKeys14 = {
|
|
|
2171
2172
|
unit_of_measure_quantity_notation: joi47.string().empty("").optional(),
|
|
2172
2173
|
vat_tax: joi47.string().empty("").optional(),
|
|
2173
2174
|
reason_for_exemption: joi47.string().empty("").allow(null, "").optional(),
|
|
2174
|
-
state: joi47.string().valid(...productState).optional()
|
|
2175
|
+
state: joi47.string().valid(...productState).optional(),
|
|
2176
|
+
youtube_url: joi47.string().optional()
|
|
2175
2177
|
};
|
|
2176
2178
|
var updateBody14 = joi47.object().keys(updateBodyKeys14).messages(messages);
|
|
2177
2179
|
var findForMobileQuery = joi47.object().keys({
|
|
@@ -58,6 +58,7 @@ export interface ICreateRequest {
|
|
|
58
58
|
maintenances?: string;
|
|
59
59
|
compositions?: string;
|
|
60
60
|
attributes?: string;
|
|
61
|
+
youtube_url?: string | null;
|
|
61
62
|
created_by?: string;
|
|
62
63
|
updated_by?: string;
|
|
63
64
|
}
|
|
@@ -71,6 +72,7 @@ export interface IUpdateRequest {
|
|
|
71
72
|
price_sale?: number;
|
|
72
73
|
vat_tax?: string;
|
|
73
74
|
reason_for_exemption?: string | null;
|
|
75
|
+
youtube_url?: string | null;
|
|
74
76
|
}
|
|
75
77
|
export interface IFindProductSheetByReference {
|
|
76
78
|
selector: string;
|
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.47.
|
|
4
|
+
"version": "0.47.15",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|