@nomalism-com/types 0.9.541 → 0.9.542
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/modules/document/purchase/interfaces.d.ts +2 -2
- package/dist/modules/integration/taskAttachment/interfaces.d.ts +1 -1
- package/dist/modules/integration/tasks/interfaces.d.ts +2 -2
- package/dist/modules/stock/plot/interface.d.ts +3 -3
- package/dist/modules/stock/product/interface.d.ts +1 -1
- package/dist/modules/stock/promotion/interface.d.ts +4 -4
- package/dist/modules/stock/stockMovement/interface.d.ts +1 -1
- package/dist/modules/supply/documentHeader/interfaces.d.ts +6 -6
- package/dist/modules/supply/documentLine/interfaces.d.ts +4 -4
- package/dist/modules/supply/externalDocumentHeader/interface.d.ts +1 -1
- package/dist/modules/supply/orderManagement/interface.d.ts +3 -3
- package/dist/modules/supply/payment/interface.d.ts +6 -6
- package/dist/modules/user/contacts/interface.d.ts +1 -1
- package/dist/modules/user/userTokens/interface.d.ts +1 -1
- package/dist/shared/entities/documentManagement.d.ts +2 -2
- package/dist/shared/entities/integration.d.ts +34 -34
- package/dist/shared/entities/print.d.ts +5 -5
- package/dist/shared/entities/stock.d.ts +146 -146
- package/dist/shared/entities/tickets.d.ts +11 -11
- package/dist/shared/entities/user.d.ts +67 -67
- package/dist/shared/interface.d.ts +2 -2
- package/package.json +1 -1
|
@@ -3,12 +3,12 @@ export type Tickets = {
|
|
|
3
3
|
number: number;
|
|
4
4
|
channel_id: number;
|
|
5
5
|
who_attended: string | null;
|
|
6
|
-
attended_at:
|
|
6
|
+
attended_at: Date | null;
|
|
7
7
|
language_id: number;
|
|
8
8
|
created_by: string;
|
|
9
9
|
updated_by: string | null;
|
|
10
|
-
created_at:
|
|
11
|
-
updated_at:
|
|
10
|
+
created_at: Date;
|
|
11
|
+
updated_at: Date;
|
|
12
12
|
};
|
|
13
13
|
export type Channel = {
|
|
14
14
|
id: number;
|
|
@@ -21,8 +21,8 @@ export type Channel = {
|
|
|
21
21
|
disabled_color: string;
|
|
22
22
|
created_by: string;
|
|
23
23
|
updated_by: string | null;
|
|
24
|
-
created_at:
|
|
25
|
-
updated_at:
|
|
24
|
+
created_at: Date;
|
|
25
|
+
updated_at: Date;
|
|
26
26
|
};
|
|
27
27
|
export type Language = {
|
|
28
28
|
id: number;
|
|
@@ -35,16 +35,16 @@ export type Language = {
|
|
|
35
35
|
created_by: string;
|
|
36
36
|
updated_by: string | null;
|
|
37
37
|
order: number;
|
|
38
|
-
created_at:
|
|
39
|
-
updated_at:
|
|
38
|
+
created_at: Date;
|
|
39
|
+
updated_at: Date;
|
|
40
40
|
};
|
|
41
41
|
export type Translation = {
|
|
42
42
|
id: number;
|
|
43
43
|
key: string;
|
|
44
44
|
created_by: string;
|
|
45
45
|
updated_by: string | null;
|
|
46
|
-
created_at:
|
|
47
|
-
updated_at:
|
|
46
|
+
created_at: Date;
|
|
47
|
+
updated_at: Date;
|
|
48
48
|
};
|
|
49
49
|
export type CLT = {
|
|
50
50
|
id: number;
|
|
@@ -54,6 +54,6 @@ export type CLT = {
|
|
|
54
54
|
name: string;
|
|
55
55
|
created_by: string;
|
|
56
56
|
updated_by: string | null;
|
|
57
|
-
created_at:
|
|
58
|
-
updated_at:
|
|
57
|
+
created_at: Date;
|
|
58
|
+
updated_at: Date;
|
|
59
59
|
};
|
|
@@ -5,9 +5,9 @@ export type Users = {
|
|
|
5
5
|
password: string | null;
|
|
6
6
|
thumbnail_id: string | null;
|
|
7
7
|
supervisor_id: string | null;
|
|
8
|
-
created_at:
|
|
9
|
-
updated_at:
|
|
10
|
-
deleted_at:
|
|
8
|
+
created_at: Date;
|
|
9
|
+
updated_at: Date;
|
|
10
|
+
deleted_at: Date | null;
|
|
11
11
|
created_by: string;
|
|
12
12
|
updated_by: string;
|
|
13
13
|
origin_id: string | null;
|
|
@@ -17,8 +17,8 @@ export type UserTokens = {
|
|
|
17
17
|
token: string;
|
|
18
18
|
user_id: string;
|
|
19
19
|
consumed: boolean;
|
|
20
|
-
created_at:
|
|
21
|
-
updated_at:
|
|
20
|
+
created_at: Date;
|
|
21
|
+
updated_at: Date;
|
|
22
22
|
created_by: string;
|
|
23
23
|
updated_by: string;
|
|
24
24
|
};
|
|
@@ -28,8 +28,8 @@ export type EntityList = {
|
|
|
28
28
|
entity: string;
|
|
29
29
|
name: string;
|
|
30
30
|
list_item: string[];
|
|
31
|
-
created_at:
|
|
32
|
-
updated_at:
|
|
31
|
+
created_at: Date;
|
|
32
|
+
updated_at: Date;
|
|
33
33
|
created_by: string;
|
|
34
34
|
updated_by: string;
|
|
35
35
|
};
|
|
@@ -37,16 +37,16 @@ export type Favorites = {
|
|
|
37
37
|
id: string;
|
|
38
38
|
user_id: string;
|
|
39
39
|
url: string;
|
|
40
|
-
created_at:
|
|
41
|
-
updated_at:
|
|
40
|
+
created_at: Date;
|
|
41
|
+
updated_at: Date;
|
|
42
42
|
};
|
|
43
43
|
export type Permissions = {
|
|
44
44
|
id: number;
|
|
45
45
|
code: string;
|
|
46
46
|
description: string;
|
|
47
47
|
enable: boolean;
|
|
48
|
-
created_at:
|
|
49
|
-
updated_at:
|
|
48
|
+
created_at: Date;
|
|
49
|
+
updated_at: Date;
|
|
50
50
|
created_by: string;
|
|
51
51
|
updated_by: string;
|
|
52
52
|
};
|
|
@@ -55,8 +55,8 @@ export type GroupPermissions = {
|
|
|
55
55
|
code: string;
|
|
56
56
|
description: string;
|
|
57
57
|
enable: boolean;
|
|
58
|
-
created_at:
|
|
59
|
-
updated_at:
|
|
58
|
+
created_at: Date;
|
|
59
|
+
updated_at: Date;
|
|
60
60
|
created_by: string;
|
|
61
61
|
updated_by: string;
|
|
62
62
|
};
|
|
@@ -65,8 +65,8 @@ export type UserPermissions = {
|
|
|
65
65
|
user_id: string;
|
|
66
66
|
group_id: number;
|
|
67
67
|
permission_id: number;
|
|
68
|
-
created_at:
|
|
69
|
-
updated_at:
|
|
68
|
+
created_at: Date;
|
|
69
|
+
updated_at: Date;
|
|
70
70
|
created_by: string;
|
|
71
71
|
updated_by: string;
|
|
72
72
|
};
|
|
@@ -89,8 +89,8 @@ export type Providers = {
|
|
|
89
89
|
default_vehicle_id: string | null;
|
|
90
90
|
default_discount: number;
|
|
91
91
|
external_id: string | null;
|
|
92
|
-
created_at:
|
|
93
|
-
updated_at:
|
|
92
|
+
created_at: Date;
|
|
93
|
+
updated_at: Date;
|
|
94
94
|
created_by: string;
|
|
95
95
|
updated_by: string;
|
|
96
96
|
origin_id: string | null;
|
|
@@ -98,8 +98,8 @@ export type Providers = {
|
|
|
98
98
|
export type ProviderType = {
|
|
99
99
|
id: string;
|
|
100
100
|
name: string;
|
|
101
|
-
created_at:
|
|
102
|
-
updated_at:
|
|
101
|
+
created_at: Date;
|
|
102
|
+
updated_at: Date;
|
|
103
103
|
created_by: string;
|
|
104
104
|
updated_by: string;
|
|
105
105
|
origin_id: string | null;
|
|
@@ -108,8 +108,8 @@ export type Country = {
|
|
|
108
108
|
id: string;
|
|
109
109
|
name: string;
|
|
110
110
|
alpha2: string;
|
|
111
|
-
created_at:
|
|
112
|
-
updated_at:
|
|
111
|
+
created_at: Date;
|
|
112
|
+
updated_at: Date;
|
|
113
113
|
created_by: string;
|
|
114
114
|
updated_by: string;
|
|
115
115
|
origin_id: string | null;
|
|
@@ -118,8 +118,8 @@ export type Country = {
|
|
|
118
118
|
export type Language = {
|
|
119
119
|
id: string;
|
|
120
120
|
name: string;
|
|
121
|
-
created_at:
|
|
122
|
-
updated_at:
|
|
121
|
+
created_at: Date;
|
|
122
|
+
updated_at: Date;
|
|
123
123
|
created_by: string;
|
|
124
124
|
updated_by: string;
|
|
125
125
|
origin_id: string | null;
|
|
@@ -146,16 +146,16 @@ export type Clients = {
|
|
|
146
146
|
external_id: string | null;
|
|
147
147
|
deferred_payment: boolean;
|
|
148
148
|
origin_id: string | null;
|
|
149
|
-
created_at:
|
|
150
|
-
updated_at:
|
|
149
|
+
created_at: Date;
|
|
150
|
+
updated_at: Date;
|
|
151
151
|
created_by: string;
|
|
152
152
|
updated_by: string;
|
|
153
153
|
};
|
|
154
154
|
export type ClientType = {
|
|
155
155
|
id: string;
|
|
156
156
|
name: string;
|
|
157
|
-
created_at:
|
|
158
|
-
updated_at:
|
|
157
|
+
created_at: Date;
|
|
158
|
+
updated_at: Date;
|
|
159
159
|
created_by: string;
|
|
160
160
|
updated_by: string;
|
|
161
161
|
origin_id: string | null;
|
|
@@ -164,8 +164,8 @@ export type SegmentsArea = {
|
|
|
164
164
|
id: string;
|
|
165
165
|
type: string;
|
|
166
166
|
name: string;
|
|
167
|
-
created_at:
|
|
168
|
-
updated_at:
|
|
167
|
+
created_at: Date;
|
|
168
|
+
updated_at: Date;
|
|
169
169
|
created_by: string;
|
|
170
170
|
updated_by: string;
|
|
171
171
|
origin_id: string | null;
|
|
@@ -177,8 +177,8 @@ export type PurchaseConditions = {
|
|
|
177
177
|
deadline: string;
|
|
178
178
|
minimum_quantity: string;
|
|
179
179
|
product_category_id: string | null;
|
|
180
|
-
created_at:
|
|
181
|
-
updated_at:
|
|
180
|
+
created_at: Date;
|
|
181
|
+
updated_at: Date;
|
|
182
182
|
created_by: string;
|
|
183
183
|
updated_by: string;
|
|
184
184
|
origin_id: string | null;
|
|
@@ -190,8 +190,8 @@ export type Shippings = {
|
|
|
190
190
|
purchase_conditions_id: string;
|
|
191
191
|
value: string;
|
|
192
192
|
unit: string;
|
|
193
|
-
created_at:
|
|
194
|
-
updated_at:
|
|
193
|
+
created_at: Date;
|
|
194
|
+
updated_at: Date;
|
|
195
195
|
created_by: string;
|
|
196
196
|
updated_by: string;
|
|
197
197
|
origin_id: string | null;
|
|
@@ -201,8 +201,8 @@ export type PaymentConditions = {
|
|
|
201
201
|
days: number;
|
|
202
202
|
purchase_conditions_id: string;
|
|
203
203
|
discount: string;
|
|
204
|
-
created_at:
|
|
205
|
-
updated_at:
|
|
204
|
+
created_at: Date;
|
|
205
|
+
updated_at: Date;
|
|
206
206
|
created_by: string;
|
|
207
207
|
updated_by: string;
|
|
208
208
|
origin_id: string | null;
|
|
@@ -214,8 +214,8 @@ export type SocialMedia = {
|
|
|
214
214
|
store_operator_id: string | null;
|
|
215
215
|
commissioner_id: string | null;
|
|
216
216
|
url: string;
|
|
217
|
-
created_at:
|
|
218
|
-
updated_at:
|
|
217
|
+
created_at: Date;
|
|
218
|
+
updated_at: Date;
|
|
219
219
|
created_by: string;
|
|
220
220
|
updated_by: string;
|
|
221
221
|
};
|
|
@@ -233,8 +233,8 @@ export type Commissioner = {
|
|
|
233
233
|
default_maturity_date_id: string | null;
|
|
234
234
|
default_delivery_method_id: string | null;
|
|
235
235
|
default_vehicle_id: string | null;
|
|
236
|
-
created_at:
|
|
237
|
-
updated_at:
|
|
236
|
+
created_at: Date;
|
|
237
|
+
updated_at: Date;
|
|
238
238
|
created_by: string;
|
|
239
239
|
updated_by: string;
|
|
240
240
|
origin_id: string | null;
|
|
@@ -252,8 +252,8 @@ export type Address = {
|
|
|
252
252
|
billing: boolean;
|
|
253
253
|
delivery: boolean;
|
|
254
254
|
head_office: boolean;
|
|
255
|
-
created_at:
|
|
256
|
-
updated_at:
|
|
255
|
+
created_at: Date;
|
|
256
|
+
updated_at: Date;
|
|
257
257
|
created_by: string;
|
|
258
258
|
updated_by: string;
|
|
259
259
|
origin_id: string | null;
|
|
@@ -267,8 +267,8 @@ export type BankData = {
|
|
|
267
267
|
iban: string;
|
|
268
268
|
swift_id: string | null;
|
|
269
269
|
country_id: string;
|
|
270
|
-
created_at:
|
|
271
|
-
updated_at:
|
|
270
|
+
created_at: Date;
|
|
271
|
+
updated_at: Date;
|
|
272
272
|
created_by: string;
|
|
273
273
|
updated_by: string;
|
|
274
274
|
origin_id: string | null;
|
|
@@ -281,8 +281,8 @@ export type Swift = {
|
|
|
281
281
|
branch: string | null;
|
|
282
282
|
code: string;
|
|
283
283
|
country_id: string;
|
|
284
|
-
created_at:
|
|
285
|
-
updated_at:
|
|
284
|
+
created_at: Date;
|
|
285
|
+
updated_at: Date;
|
|
286
286
|
created_by: string;
|
|
287
287
|
updated_by: string;
|
|
288
288
|
origin_id: string | null;
|
|
@@ -292,8 +292,8 @@ export type ReasonForExemption = {
|
|
|
292
292
|
name: string;
|
|
293
293
|
description: string;
|
|
294
294
|
saft_code: string;
|
|
295
|
-
created_at:
|
|
296
|
-
updated_at:
|
|
295
|
+
created_at: Date;
|
|
296
|
+
updated_at: Date;
|
|
297
297
|
created_by: string;
|
|
298
298
|
updated_by: string;
|
|
299
299
|
origin_id: string | null;
|
|
@@ -310,8 +310,8 @@ export type StoreOperator = {
|
|
|
310
310
|
pin: string;
|
|
311
311
|
location_id: string;
|
|
312
312
|
inactive: boolean;
|
|
313
|
-
created_at:
|
|
314
|
-
updated_at:
|
|
313
|
+
created_at: Date;
|
|
314
|
+
updated_at: Date;
|
|
315
315
|
created_by: string;
|
|
316
316
|
updated_by: string;
|
|
317
317
|
origin_id: string | null;
|
|
@@ -320,8 +320,8 @@ export type StoreOperator = {
|
|
|
320
320
|
export type UserPositions = {
|
|
321
321
|
id: string;
|
|
322
322
|
name: string;
|
|
323
|
-
created_at:
|
|
324
|
-
updated_at:
|
|
323
|
+
created_at: Date;
|
|
324
|
+
updated_at: Date;
|
|
325
325
|
created_by: string;
|
|
326
326
|
updated_by: string;
|
|
327
327
|
origin_id: string | null;
|
|
@@ -338,8 +338,8 @@ export type Contacts = {
|
|
|
338
338
|
position: string | null;
|
|
339
339
|
telephone: string | null;
|
|
340
340
|
email: string | null;
|
|
341
|
-
created_at:
|
|
342
|
-
updated_at:
|
|
341
|
+
created_at: Date;
|
|
342
|
+
updated_at: Date;
|
|
343
343
|
created_by: string;
|
|
344
344
|
updated_by: string;
|
|
345
345
|
origin_id: string | null;
|
|
@@ -347,8 +347,8 @@ export type Contacts = {
|
|
|
347
347
|
export type ContactTypes = {
|
|
348
348
|
id: string;
|
|
349
349
|
name: string;
|
|
350
|
-
created_at:
|
|
351
|
-
updated_at:
|
|
350
|
+
created_at: Date;
|
|
351
|
+
updated_at: Date;
|
|
352
352
|
created_by: string;
|
|
353
353
|
updated_by: string;
|
|
354
354
|
origin_id: string | null;
|
|
@@ -361,8 +361,8 @@ export type PaymentMethods = {
|
|
|
361
361
|
is_numerary: boolean;
|
|
362
362
|
is_mb: boolean;
|
|
363
363
|
is_credit: boolean;
|
|
364
|
-
created_at:
|
|
365
|
-
updated_at:
|
|
364
|
+
created_at: Date;
|
|
365
|
+
updated_at: Date;
|
|
366
366
|
created_by: string;
|
|
367
367
|
updated_by: string;
|
|
368
368
|
};
|
|
@@ -370,8 +370,8 @@ export type DeliveryMethods = {
|
|
|
370
370
|
id: string;
|
|
371
371
|
delivery_method_id: number | null;
|
|
372
372
|
name: string;
|
|
373
|
-
created_at:
|
|
374
|
-
updated_at:
|
|
373
|
+
created_at: Date;
|
|
374
|
+
updated_at: Date;
|
|
375
375
|
created_by: string;
|
|
376
376
|
updated_by: string;
|
|
377
377
|
};
|
|
@@ -380,8 +380,8 @@ export type MaturityDates = {
|
|
|
380
380
|
maturity_date_id: number | null;
|
|
381
381
|
name: string;
|
|
382
382
|
days: number;
|
|
383
|
-
created_at:
|
|
384
|
-
updated_at:
|
|
383
|
+
created_at: Date;
|
|
384
|
+
updated_at: Date;
|
|
385
385
|
created_by: string;
|
|
386
386
|
updated_by: string;
|
|
387
387
|
};
|
|
@@ -390,8 +390,8 @@ export type Vehicles = {
|
|
|
390
390
|
vehicle_id: number | null;
|
|
391
391
|
description: string;
|
|
392
392
|
number_plate: string;
|
|
393
|
-
created_at:
|
|
394
|
-
updated_at:
|
|
393
|
+
created_at: Date;
|
|
394
|
+
updated_at: Date;
|
|
395
395
|
created_by: string;
|
|
396
396
|
updated_by: string;
|
|
397
397
|
};
|
|
@@ -425,8 +425,8 @@ export type Tenant = {
|
|
|
425
425
|
telephone: string | null;
|
|
426
426
|
fax: string | null;
|
|
427
427
|
website: string | null;
|
|
428
|
-
created_at:
|
|
429
|
-
updated_at:
|
|
428
|
+
created_at: Date;
|
|
429
|
+
updated_at: Date;
|
|
430
430
|
created_by: string;
|
|
431
431
|
updated_by: string;
|
|
432
432
|
};
|
|
@@ -443,8 +443,8 @@ export type Persona = {
|
|
|
443
443
|
provider_id: string | null;
|
|
444
444
|
client_id: string | null;
|
|
445
445
|
commissioner_id: string | null;
|
|
446
|
-
created_at:
|
|
447
|
-
updated_at:
|
|
446
|
+
created_at: Date;
|
|
447
|
+
updated_at: Date;
|
|
448
448
|
created_by: string;
|
|
449
449
|
updated_by: string;
|
|
450
450
|
};
|
|
@@ -7,10 +7,10 @@ export { messages };
|
|
|
7
7
|
type CreatedAt = 'created_at';
|
|
8
8
|
type UpdatedAt = 'updated_at';
|
|
9
9
|
export interface WithCreatedAt {
|
|
10
|
-
created_at:
|
|
10
|
+
created_at: Date;
|
|
11
11
|
}
|
|
12
12
|
export interface WithUpdatedAt {
|
|
13
|
-
updated_at:
|
|
13
|
+
updated_at: Date;
|
|
14
14
|
}
|
|
15
15
|
export interface WithOriginId {
|
|
16
16
|
origin_id: string;
|