@nomalism-com/types 0.17.45 → 0.17.46
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.
|
@@ -97,6 +97,7 @@ export interface ICreateRequest {
|
|
|
97
97
|
online?: boolean;
|
|
98
98
|
dnt_come_anymore?: boolean;
|
|
99
99
|
comes_temporarily?: boolean;
|
|
100
|
+
no_discount?: boolean;
|
|
100
101
|
type?: IProductType;
|
|
101
102
|
type_of_inventory_id?: string;
|
|
102
103
|
product_sub_category_id?: string;
|
|
@@ -126,6 +127,7 @@ export interface IUpdateRequest {
|
|
|
126
127
|
online?: boolean;
|
|
127
128
|
dnt_come_anymore?: boolean;
|
|
128
129
|
comes_temporarily?: boolean;
|
|
130
|
+
no_discount?: boolean;
|
|
129
131
|
type?: IProductType;
|
|
130
132
|
type_of_inventory_id?: string;
|
|
131
133
|
product_sub_category_id?: string;
|
|
@@ -30,6 +30,7 @@ var createBodyKeys = {
|
|
|
30
30
|
online: joi_1.default.boolean().optional(),
|
|
31
31
|
dnt_come_anymore: joi_1.default.boolean().optional(),
|
|
32
32
|
comes_temporarily: joi_1.default.boolean().optional(),
|
|
33
|
+
no_discount: joi_1.default.boolean().optional(),
|
|
33
34
|
type: (_a = joi_1.default
|
|
34
35
|
.string())
|
|
35
36
|
.valid.apply(_a, interface_1.productTypes).optional(),
|
|
@@ -62,6 +63,7 @@ var updateBodyKeys = {
|
|
|
62
63
|
online: joi_1.default.boolean().optional(),
|
|
63
64
|
dnt_come_anymore: joi_1.default.boolean().optional(),
|
|
64
65
|
comes_temporarily: joi_1.default.boolean().optional(),
|
|
66
|
+
no_discount: joi_1.default.boolean().optional(),
|
|
65
67
|
type: (_b = joi_1.default
|
|
66
68
|
.string())
|
|
67
69
|
.valid.apply(_b, interface_1.productTypes).optional(),
|
|
@@ -67,6 +67,7 @@ var createUpdateDeleteBodyResponseKeys = {
|
|
|
67
67
|
barcode: joi_1.default.string().required(),
|
|
68
68
|
online: joi_1.default.boolean().required(),
|
|
69
69
|
dnt_come_anymore: joi_1.default.boolean().required(),
|
|
70
|
+
no_discount: joi_1.default.boolean().required(),
|
|
70
71
|
type: (_a = joi_1.default
|
|
71
72
|
.string())
|
|
72
73
|
.valid.apply(_a, interface_1.productTypes).required(),
|
|
@@ -99,6 +100,7 @@ var findBodyResponseKeys = {
|
|
|
99
100
|
online: joi_1.default.boolean().required(),
|
|
100
101
|
dnt_come_anymore: joi_1.default.boolean().required(),
|
|
101
102
|
comes_temporarily: joi_1.default.boolean().required(),
|
|
103
|
+
no_discount: joi_1.default.boolean().required(),
|
|
102
104
|
imported_from_sheets: joi_1.default.boolean().required(),
|
|
103
105
|
type: (_b = joi_1.default
|
|
104
106
|
.string())
|
|
@@ -167,6 +169,7 @@ var findByIdBodyResponseKeys = {
|
|
|
167
169
|
online: joi_1.default.boolean().required(),
|
|
168
170
|
dnt_come_anymore: joi_1.default.boolean().required(),
|
|
169
171
|
comes_temporarily: joi_1.default.boolean().required(),
|
|
172
|
+
no_discount: joi_1.default.boolean().required(),
|
|
170
173
|
imported_from_sheets: joi_1.default.boolean().required(),
|
|
171
174
|
type: (_c = joi_1.default
|
|
172
175
|
.string())
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"typescript",
|
|
10
10
|
"helper"
|
|
11
11
|
],
|
|
12
|
-
"version": "0.17.
|
|
12
|
+
"version": "0.17.46",
|
|
13
13
|
"main": "./dist/index.js",
|
|
14
14
|
"types": "./dist/index.d.ts",
|
|
15
15
|
"files": [
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/convert-units": "^2.3.9",
|
|
41
|
-
"@types/node": "^20.11.
|
|
41
|
+
"@types/node": "^20.11.13",
|
|
42
42
|
"@typescript-eslint/eslint-plugin": "^6.20.0",
|
|
43
43
|
"@typescript-eslint/parser": "^6.20.0",
|
|
44
44
|
"concurrently": "^8.2.2",
|