@nomalism-com/types 0.19.155 → 0.19.157
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.min.js +1 -1
- package/dist/main.d.ts +41 -1
- package/dist/modules/stock/attribute/interfaces.d.ts +51 -0
- package/dist/modules/stock/attribute/route.schema.d.ts +5 -0
- package/dist/modules/stock/attributeValue/interfaces.d.ts +36 -0
- package/dist/modules/stock/attributeValue/route.schema.d.ts +5 -0
- package/dist/modules/stock/color/interfaces.d.ts +36 -0
- package/dist/modules/stock/color/route.schema.d.ts +5 -0
- package/dist/modules/stock/composition/interfaces.d.ts +36 -0
- package/dist/modules/stock/composition/route.schema.d.ts +5 -0
- package/dist/modules/stock/compositionMaterial/interfaces.d.ts +32 -0
- package/dist/modules/stock/compositionMaterial/route.schema.d.ts +5 -0
- package/dist/modules/stock/maintenance/interface.d.ts +37 -0
- package/dist/modules/stock/maintenance/route.schema.d.ts +5 -0
- package/dist/modules/stock/maintenanceAssoc/interface.d.ts +35 -0
- package/dist/modules/stock/maintenanceAssoc/route.schema.d.ts +5 -0
- package/dist/modules/stock/maintenancePreset/interfaces.d.ts +28 -0
- package/dist/modules/stock/maintenancePreset/route.schema.d.ts +5 -0
- package/dist/modules/stock/maintenancePresetAssoc/interfaces.d.ts +31 -0
- package/dist/modules/stock/maintenancePresetAssoc/route.schema.d.ts +4 -0
- package/dist/modules/stock/maintenanceType/interface.d.ts +32 -0
- package/dist/modules/stock/maintenanceType/route.schema.d.ts +5 -0
- package/dist/modules/stock/primaryColor/interface.d.ts +32 -0
- package/dist/modules/stock/primaryColor/route.schema.d.ts +5 -0
- package/dist/modules/stock/product/interface.d.ts +13 -1
- package/dist/modules/stock/productAttribute/interface.d.ts +36 -0
- package/dist/modules/stock/productAttribute/route.schema.d.ts +5 -0
- package/dist/modules/stock/productCategory/interface.d.ts +32 -0
- package/dist/modules/stock/productCategory/route.schema.d.ts +5 -0
- package/dist/modules/stock/productColor/interface.d.ts +36 -0
- package/dist/modules/stock/productColor/route.schema.d.ts +5 -0
- package/dist/modules/stock/productPart/interface.d.ts +40 -0
- package/dist/modules/stock/productPart/route.schema.d.ts +5 -0
- package/dist/modules/stock/productSubCategory/interface.d.ts +38 -0
- package/dist/modules/stock/productSubCategory/route.schema.d.ts +5 -0
- package/dist/modules/stock/productUse/interface.d.ts +32 -0
- package/dist/modules/stock/productUse/route.schema.d.ts +5 -0
- package/dist/modules/stock/productUseAssoc/interface.d.ts +34 -0
- package/dist/modules/stock/productUseAssoc/route.schema.d.ts +5 -0
- package/dist/modules/stock/similarProduct/interface.d.ts +38 -0
- package/dist/modules/stock/similarProduct/route.schema.d.ts +5 -0
- package/dist/modules/stock/typeOfInventory/interface.d.ts +34 -0
- package/dist/modules/stock/typeOfInventory/route.schema.d.ts +5 -0
- package/dist/modules/supply/cabideProduct/interface.d.ts +19 -3
- package/dist/modules/user/purchaseConditions/interface.d.ts +9 -6
- package/dist/modules/user/purchaseConditions/route.schema.d.ts +1 -1
- package/dist/shared/entities/index.d.ts +20 -0
- package/dist/shared/entities/stock.d.ts +201 -0
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { IConflict } from "../../modules/document/propostaSheets/interface";
|
|
2
|
+
import { IAttributeDatatype } from "../../modules/stock/attribute/interfaces";
|
|
2
3
|
import { ICabideType } from "../../modules/supply/cabide/interface";
|
|
3
4
|
import { IDocumentTypeUserType, IDocumentTypeCodeType } from "../../modules/supply/documentType/interfaces";
|
|
4
5
|
import { IBatchType, IPaymentOrigin } from "../../modules/supply/payment/interface";
|
|
@@ -9,6 +10,29 @@ import { IData, IDataDocumentoPago, IDataPagamento, IPromotions } from "../../mo
|
|
|
9
10
|
import { IPhcDocumentType } from "../../modules/supply/clientCurrentAccount/interfaces";
|
|
10
11
|
import { ISavedEmPickingData } from "../../modules/stock/savedEmPicking/interfaces";
|
|
11
12
|
import { IDocumentLineNoteType } from "../../modules/supply/documentLineNote/interfaces";
|
|
13
|
+
export type Attribute = {
|
|
14
|
+
id: string;
|
|
15
|
+
name: string;
|
|
16
|
+
datatype: IAttributeDatatype;
|
|
17
|
+
is_mandatory: boolean;
|
|
18
|
+
product_category_id: string;
|
|
19
|
+
order: number;
|
|
20
|
+
origin_id: string | null;
|
|
21
|
+
created_at: Date;
|
|
22
|
+
updated_at: Date;
|
|
23
|
+
created_by: string;
|
|
24
|
+
updated_by: string;
|
|
25
|
+
};
|
|
26
|
+
export type AttributeValue = {
|
|
27
|
+
id: string;
|
|
28
|
+
attribute_id: string;
|
|
29
|
+
value: string;
|
|
30
|
+
origin_id: string | null;
|
|
31
|
+
created_at: Date;
|
|
32
|
+
updated_at: Date;
|
|
33
|
+
created_by: string;
|
|
34
|
+
updated_by: string;
|
|
35
|
+
};
|
|
12
36
|
export type Chat = {
|
|
13
37
|
id: string;
|
|
14
38
|
document_header_id: string;
|
|
@@ -31,6 +55,26 @@ export type Color = {
|
|
|
31
55
|
updated_by: string;
|
|
32
56
|
origin_id: string | null;
|
|
33
57
|
};
|
|
58
|
+
export type Composition = {
|
|
59
|
+
id: string;
|
|
60
|
+
product_part_id: string;
|
|
61
|
+
composition_material_id: string;
|
|
62
|
+
value: number;
|
|
63
|
+
origin_id: string | null;
|
|
64
|
+
created_at: Date;
|
|
65
|
+
updated_at: Date;
|
|
66
|
+
created_by: string;
|
|
67
|
+
updated_by: string;
|
|
68
|
+
};
|
|
69
|
+
export type CompositionMaterial = {
|
|
70
|
+
id: string;
|
|
71
|
+
name: string;
|
|
72
|
+
origin_id: string | null;
|
|
73
|
+
created_at: Date;
|
|
74
|
+
updated_at: Date;
|
|
75
|
+
created_by: string;
|
|
76
|
+
updated_by: string;
|
|
77
|
+
};
|
|
34
78
|
export type Location = {
|
|
35
79
|
id: string;
|
|
36
80
|
type_of_location_id: string;
|
|
@@ -49,6 +93,55 @@ export type Location = {
|
|
|
49
93
|
created_by: string;
|
|
50
94
|
updated_by: string;
|
|
51
95
|
};
|
|
96
|
+
export type MaintenanceType = {
|
|
97
|
+
id: string;
|
|
98
|
+
name: string;
|
|
99
|
+
origin_id: string | null;
|
|
100
|
+
created_at: Date;
|
|
101
|
+
updated_at: Date;
|
|
102
|
+
created_by: string;
|
|
103
|
+
updated_by: string;
|
|
104
|
+
};
|
|
105
|
+
export type Maintenance = {
|
|
106
|
+
id: string;
|
|
107
|
+
name: string;
|
|
108
|
+
multimedia_id: string | null;
|
|
109
|
+
maintenance_type_id: string;
|
|
110
|
+
origin_id: string | null;
|
|
111
|
+
created_at: Date;
|
|
112
|
+
updated_at: Date;
|
|
113
|
+
created_by: string;
|
|
114
|
+
updated_by: string;
|
|
115
|
+
};
|
|
116
|
+
export type MaintenanceAssoc = {
|
|
117
|
+
id: string;
|
|
118
|
+
product_part_id: string;
|
|
119
|
+
maintenance_id: string;
|
|
120
|
+
origin_id: string | null;
|
|
121
|
+
created_at: Date;
|
|
122
|
+
updated_at: Date;
|
|
123
|
+
created_by: string;
|
|
124
|
+
updated_by: string;
|
|
125
|
+
};
|
|
126
|
+
export type MaintenancePreset = {
|
|
127
|
+
id: string;
|
|
128
|
+
name: string;
|
|
129
|
+
origin_id: string | null;
|
|
130
|
+
created_at: Date;
|
|
131
|
+
updated_at: Date;
|
|
132
|
+
created_by: string;
|
|
133
|
+
updated_by: string;
|
|
134
|
+
};
|
|
135
|
+
export type MaintenancePresetAssoc = {
|
|
136
|
+
id: string;
|
|
137
|
+
preset_id: string;
|
|
138
|
+
maintenance_id: string;
|
|
139
|
+
origin_id: string | null;
|
|
140
|
+
created_at: Date;
|
|
141
|
+
updated_at: Date;
|
|
142
|
+
created_by: string;
|
|
143
|
+
updated_by: string;
|
|
144
|
+
};
|
|
52
145
|
export type PreSale = {
|
|
53
146
|
id: string;
|
|
54
147
|
counter: number;
|
|
@@ -69,6 +162,15 @@ export type PreSaleProduct = {
|
|
|
69
162
|
created_by: string;
|
|
70
163
|
updated_by: string;
|
|
71
164
|
};
|
|
165
|
+
export type PrimaryColor = {
|
|
166
|
+
id: string;
|
|
167
|
+
name: string;
|
|
168
|
+
created_at: Date;
|
|
169
|
+
updated_at: Date;
|
|
170
|
+
origin_id: string | null;
|
|
171
|
+
created_by: string;
|
|
172
|
+
updated_by: string;
|
|
173
|
+
};
|
|
72
174
|
export type Product = {
|
|
73
175
|
id: string;
|
|
74
176
|
reference: number;
|
|
@@ -169,6 +271,15 @@ export type ProductPrices = {
|
|
|
169
271
|
created_by: string;
|
|
170
272
|
updated_by: string;
|
|
171
273
|
};
|
|
274
|
+
export type ProductName = {
|
|
275
|
+
id: string;
|
|
276
|
+
name: string;
|
|
277
|
+
origin_id: string | null;
|
|
278
|
+
created_at: Date;
|
|
279
|
+
updated_at: Date;
|
|
280
|
+
created_by: string;
|
|
281
|
+
updated_by: string;
|
|
282
|
+
};
|
|
172
283
|
export type ProductAttribute = {
|
|
173
284
|
id: string;
|
|
174
285
|
value: string;
|
|
@@ -180,6 +291,26 @@ export type ProductAttribute = {
|
|
|
180
291
|
created_by: string;
|
|
181
292
|
updated_by: string;
|
|
182
293
|
};
|
|
294
|
+
export type ProductCategory = {
|
|
295
|
+
id: string;
|
|
296
|
+
name: string;
|
|
297
|
+
created_at: Date;
|
|
298
|
+
updated_at: Date;
|
|
299
|
+
origin_id: string | null;
|
|
300
|
+
created_by: string;
|
|
301
|
+
updated_by: string;
|
|
302
|
+
};
|
|
303
|
+
export type ProductColor = {
|
|
304
|
+
id: string;
|
|
305
|
+
product_id: string;
|
|
306
|
+
color_id: string;
|
|
307
|
+
multimedia_id: string | null;
|
|
308
|
+
origin_id: string | null;
|
|
309
|
+
created_at: Date;
|
|
310
|
+
updated_at: Date;
|
|
311
|
+
created_by: string;
|
|
312
|
+
updated_by: string;
|
|
313
|
+
};
|
|
183
314
|
export type ProductImage = {
|
|
184
315
|
id: string;
|
|
185
316
|
product_id: string;
|
|
@@ -191,6 +322,47 @@ export type ProductImage = {
|
|
|
191
322
|
created_by: string;
|
|
192
323
|
updated_by: string;
|
|
193
324
|
};
|
|
325
|
+
export type ProductPart = {
|
|
326
|
+
id: string;
|
|
327
|
+
name: string;
|
|
328
|
+
product_id: string;
|
|
329
|
+
origin_id: string | null;
|
|
330
|
+
created_at: Date;
|
|
331
|
+
updated_at: Date;
|
|
332
|
+
created_by: string;
|
|
333
|
+
updated_by: string;
|
|
334
|
+
};
|
|
335
|
+
export type ProductSubCategory = {
|
|
336
|
+
id: string;
|
|
337
|
+
name: string;
|
|
338
|
+
product_category_id: string;
|
|
339
|
+
created_at: Date;
|
|
340
|
+
updated_at: Date;
|
|
341
|
+
origin_id: string | null;
|
|
342
|
+
created_by: string;
|
|
343
|
+
updated_by: string;
|
|
344
|
+
external_id: string | null;
|
|
345
|
+
};
|
|
346
|
+
export type ProductUse = {
|
|
347
|
+
id: string;
|
|
348
|
+
name: string;
|
|
349
|
+
origin_id: string | null;
|
|
350
|
+
multimedia_id: string | null;
|
|
351
|
+
created_at: Date;
|
|
352
|
+
updated_at: Date;
|
|
353
|
+
created_by: string;
|
|
354
|
+
updated_by: string;
|
|
355
|
+
};
|
|
356
|
+
export type ProductUseAssoc = {
|
|
357
|
+
id: string;
|
|
358
|
+
product_use_id: string;
|
|
359
|
+
product_id: string;
|
|
360
|
+
origin_id: string | null;
|
|
361
|
+
created_at: Date;
|
|
362
|
+
updated_at: Date;
|
|
363
|
+
created_by: string;
|
|
364
|
+
updated_by: string;
|
|
365
|
+
};
|
|
194
366
|
export type UnitOfMeasure = {
|
|
195
367
|
id: string;
|
|
196
368
|
name: string;
|
|
@@ -233,6 +405,26 @@ export type PromotionAssoc = {
|
|
|
233
405
|
created_by: string;
|
|
234
406
|
updated_by: string;
|
|
235
407
|
};
|
|
408
|
+
export type SimilarProduct = {
|
|
409
|
+
id: string;
|
|
410
|
+
product_id: string;
|
|
411
|
+
similar_product_id: string;
|
|
412
|
+
origin_id: string | null;
|
|
413
|
+
created_at: Date;
|
|
414
|
+
updated_at: Date;
|
|
415
|
+
created_by: string;
|
|
416
|
+
updated_by: string;
|
|
417
|
+
};
|
|
418
|
+
export type TypeOfInventory = {
|
|
419
|
+
id: string;
|
|
420
|
+
name: string;
|
|
421
|
+
saft_code: string;
|
|
422
|
+
created_at: Date;
|
|
423
|
+
updated_at: Date;
|
|
424
|
+
origin_id: string | null;
|
|
425
|
+
created_by: string;
|
|
426
|
+
updated_by: string;
|
|
427
|
+
};
|
|
236
428
|
export type TypeOfLocation = {
|
|
237
429
|
id: string;
|
|
238
430
|
name: string;
|
|
@@ -265,6 +457,15 @@ export type VatTaxZone = {
|
|
|
265
457
|
country_id: string;
|
|
266
458
|
external_id: string | null;
|
|
267
459
|
};
|
|
460
|
+
export type ProductNamePreset = {
|
|
461
|
+
id: string;
|
|
462
|
+
name: string;
|
|
463
|
+
created_at: Date;
|
|
464
|
+
updated_at: Date;
|
|
465
|
+
origin_id: string | null;
|
|
466
|
+
created_by: string;
|
|
467
|
+
updated_by: string;
|
|
468
|
+
};
|
|
268
469
|
export type Counter = {
|
|
269
470
|
document_type: number;
|
|
270
471
|
year: number;
|