@nomalism-com/types 1.0.44 → 1.1.0
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.js +5684 -0
- package/dist/modules/document/materialEntrance/interfaces.d.ts +1 -1
- package/dist/modules/document/propostaSheets/interface.d.ts +1 -1
- package/dist/modules/document/purchase/interfaces.d.ts +1 -1
- package/dist/modules/document/quebra/interfaces.d.ts +1 -1
- package/dist/modules/document/returnToProvider/interface.d.ts +1 -1
- package/dist/modules/documentManagement/multimedia/interfaces.d.ts +1 -1
- package/dist/modules/integration/emailLog/interfaces.d.ts +1 -1
- package/dist/modules/integration/emailTemplate/interfaces.d.ts +1 -1
- package/dist/modules/integration/emailTemplateAttachment/interfaces.d.ts +1 -1
- package/dist/modules/integration/emailVerification/interfaces.d.ts +1 -1
- package/dist/modules/integration/googleFilePermission/interfaces.d.ts +1 -1
- package/dist/modules/integration/googleSheets/interfaces.d.ts +2 -1
- package/dist/modules/integration/observation/interfaces.d.ts +1 -1
- package/dist/modules/integration/observationType/interfaces.d.ts +1 -1
- package/dist/modules/integration/projectInfo/interfaces.d.ts +1 -1
- package/dist/modules/integration/settings/interfaces.d.ts +1 -1
- package/dist/modules/print/npc/interfaces.d.ts +16 -1
- package/dist/modules/print/npc/route.schema.d.ts +1 -0
- package/dist/modules/print/printer/interfaces.d.ts +18 -9
- package/dist/modules/print/printer/route.schema.d.ts +2 -0
- package/dist/modules/print/schedulePrintJob/interfaces.d.ts +11 -13
- package/dist/modules/stock/chat/interfaces.d.ts +1 -1
- package/dist/modules/stock/chatRapidMessage/interface.d.ts +1 -1
- package/dist/modules/stock/file/interface.d.ts +1 -1
- package/dist/modules/stock/location/interface.d.ts +1 -1
- package/dist/modules/stock/prison/interface.d.ts +1 -1
- package/dist/modules/stock/productGoogleSheets/interface.d.ts +1 -1
- package/dist/modules/stock/productImage/interface.d.ts +1 -1
- package/dist/modules/stock/promotion/interface.d.ts +1 -1
- package/dist/modules/stock/promotionAssoc/interface.d.ts +1 -1
- package/dist/modules/stock/queryList/interfaces.d.ts +1 -1
- package/dist/modules/stock/queryParameter/interfaces.d.ts +1 -1
- package/dist/modules/stock/returnReason/interfaces.d.ts +1 -1
- package/dist/modules/stock/savedEmPicking/interfaces.d.ts +1 -1
- package/dist/modules/stock/savedProviderProposal/interfaces.d.ts +1 -1
- package/dist/modules/stock/stockMovement/interface.d.ts +1 -1
- package/dist/modules/stock/task/interface.d.ts +1 -1
- package/dist/modules/stock/taskMessage/interface.d.ts +1 -1
- package/dist/modules/stock/typeOfLocation/interface.d.ts +1 -1
- package/dist/modules/stock/unitOfMeasure/interface.d.ts +1 -1
- package/dist/modules/stock/vatTax/interface.d.ts +1 -1
- package/dist/modules/stock/vatTaxZone/interface.d.ts +1 -1
- package/dist/modules/stock/vatValidation/interfaces.d.ts +1 -1
- package/dist/modules/stock/workflow/interfaces.d.ts +1 -1
- package/dist/modules/supply/batch/interface.d.ts +0 -0
- package/dist/modules/supply/documentHeader/interfaces.d.ts +1 -1
- package/dist/modules/supply/documentLine/interfaces.d.ts +10 -2
- package/dist/modules/supply/documentLineAssoc/interfaces.d.ts +1 -1
- package/dist/modules/supply/documentLineNote/interfaces.d.ts +1 -1
- package/dist/modules/supply/documentSet/interface.d.ts +1 -1
- package/dist/modules/supply/documentType/interfaces.d.ts +1 -1
- package/dist/modules/supply/externalDocumentHeader/interface.d.ts +1 -1
- package/dist/modules/supply/externalDocumentType/interface.d.ts +1 -1
- package/dist/modules/supply/orderManagement/route.schema.d.ts +0 -0
- package/dist/modules/supply/payment/interface.d.ts +2 -3
- package/dist/modules/supply/preSale/interface.d.ts +1 -1
- package/dist/modules/supply/preSaleProduct/interface.d.ts +1 -1
- package/dist/modules/supply/startDocumentHeaderLastUpdate/interface.d.ts +1 -1
- package/dist/modules/tickets/channel/interfaces.d.ts +1 -1
- package/dist/modules/tickets/clt/interfaces.d.ts +1 -1
- package/dist/modules/tickets/language/interfaces.d.ts +2 -2
- package/dist/modules/tickets/tickets/interfaces.d.ts +4 -4
- package/dist/modules/user/bankData/interface.d.ts +1 -1
- package/dist/modules/user/clientType/interface.d.ts +1 -1
- package/dist/modules/user/clients/interface.d.ts +1 -1
- package/dist/modules/user/commissioner/interface.d.ts +1 -1
- package/dist/modules/user/country/interface.d.ts +1 -1
- package/dist/modules/user/deliveryMethods/interfaces.d.ts +1 -1
- package/dist/modules/user/favorites/interfaces.d.ts +1 -1
- package/dist/modules/user/groupPermissions/interface.d.ts +1 -1
- package/dist/modules/user/language/interface.d.ts +1 -1
- package/dist/modules/user/maturityDates/interfaces.d.ts +1 -1
- package/dist/modules/user/paymentMethods/interfaces.d.ts +1 -1
- package/dist/modules/user/permissions/interface.d.ts +1 -1
- package/dist/modules/user/persona/interface.d.ts +1 -1
- package/dist/modules/user/providerType/interface.d.ts +1 -1
- package/dist/modules/user/providers/interface.d.ts +1 -1
- package/dist/modules/user/purchaseConditions/interface.d.ts +1 -1
- package/dist/modules/user/reasonForExemption/interface.d.ts +1 -1
- package/dist/modules/user/segmentsArea/interface.d.ts +1 -1
- package/dist/modules/user/shippings/interface.d.ts +1 -1
- package/dist/modules/user/storeOperator/interface.d.ts +1 -1
- package/dist/modules/user/swift/interface.d.ts +1 -1
- package/dist/modules/user/tenant/interface.d.ts +1 -1
- package/dist/modules/user/theme/interfaces.d.ts +1 -1
- package/dist/modules/user/userPermissions/interface.d.ts +1 -1
- package/dist/modules/user/userPositions/interface.d.ts +1 -1
- package/dist/modules/user/userTokens/interface.d.ts +1 -1
- package/dist/modules/user/users/interface.d.ts +1 -1
- package/dist/modules/user/vehicles/interfaces.d.ts +1 -1
- package/dist/modules/user/zipCode/interfaces.d.ts +1 -1
- package/dist/modules/view/errorLog/interfaces.d.ts +1 -0
- package/dist/shared/entities/documentManagement.d.ts +3 -0
- package/dist/shared/entities/integration.d.ts +36 -0
- package/dist/shared/entities/print.d.ts +13 -3
- package/dist/shared/entities/stock.d.ts +188 -3
- package/dist/shared/entities/tickets.d.ts +20 -0
- package/dist/shared/entities/user.d.ts +120 -0
- package/dist/shared/interface.d.ts +2 -14
- package/package.json +28 -32
- package/dist/index.min.js +0 -1
- package/dist/shared/entities/index.d.ts +0 -101
|
@@ -4,13 +4,17 @@ import { IBatchType, IPaymentOrigin } from '../../modules/supply/payment/interfa
|
|
|
4
4
|
import { IProductType } from '../../modules/stock/productGoogleSheets/interface';
|
|
5
5
|
import { IImageType } from '../../modules/stock/productImage/interface';
|
|
6
6
|
import { IQueryParameterDatatype } from '../../modules/stock/queryParameter/interfaces';
|
|
7
|
-
import { IData, IDataDocumentoPago, IDataPagamento, IPromotions } from '../../modules/supply/documentLine/interfaces';
|
|
7
|
+
import { IData, IDataDocumentoPago, IDataPagamento, IPromotions, type IImportedFromSheets } from '../../modules/supply/documentLine/interfaces';
|
|
8
8
|
import { ISavedEmPickingData } from '../../modules/stock/savedEmPicking/interfaces';
|
|
9
9
|
import { IDocumentLineNoteType } from '../../modules/supply/documentLineNote/interfaces';
|
|
10
10
|
import { IProductSheetState } from '../../modules/stock/productGoogleSheets/interface';
|
|
11
11
|
import type { IFindProposals } from '../../modules/supply/orderManagement/interface';
|
|
12
12
|
import { ITaskStatusDataType } from '../../modules/stock/task/interface';
|
|
13
13
|
import type { IProjectInfo, IRsaHashData, ITaxEntry } from '../../modules/supply/documentHeader/interfaces';
|
|
14
|
+
/**
|
|
15
|
+
* Model Chat
|
|
16
|
+
*
|
|
17
|
+
*/
|
|
14
18
|
export type Chat = {
|
|
15
19
|
id: string;
|
|
16
20
|
owner_id: string;
|
|
@@ -29,6 +33,10 @@ export type Chat = {
|
|
|
29
33
|
created_at: Date;
|
|
30
34
|
updated_at: Date;
|
|
31
35
|
};
|
|
36
|
+
/**
|
|
37
|
+
* Model Location
|
|
38
|
+
*
|
|
39
|
+
*/
|
|
32
40
|
export type Location = {
|
|
33
41
|
id: string;
|
|
34
42
|
type_of_location_id: string;
|
|
@@ -47,6 +55,10 @@ export type Location = {
|
|
|
47
55
|
created_by: string;
|
|
48
56
|
updated_by: string;
|
|
49
57
|
};
|
|
58
|
+
/**
|
|
59
|
+
* Model PreSale
|
|
60
|
+
*
|
|
61
|
+
*/
|
|
50
62
|
export type PreSale = {
|
|
51
63
|
id: string;
|
|
52
64
|
counter: number;
|
|
@@ -57,6 +69,10 @@ export type PreSale = {
|
|
|
57
69
|
created_by: string;
|
|
58
70
|
updated_by: string;
|
|
59
71
|
};
|
|
72
|
+
/**
|
|
73
|
+
* Model PreSaleProduct
|
|
74
|
+
*
|
|
75
|
+
*/
|
|
60
76
|
export type PreSaleProduct = {
|
|
61
77
|
id: string;
|
|
62
78
|
pre_sale_id: string;
|
|
@@ -67,6 +83,10 @@ export type PreSaleProduct = {
|
|
|
67
83
|
created_by: string;
|
|
68
84
|
updated_by: string;
|
|
69
85
|
};
|
|
86
|
+
/**
|
|
87
|
+
* Model ProductPrices
|
|
88
|
+
*
|
|
89
|
+
*/
|
|
70
90
|
export type ProductPrices = {
|
|
71
91
|
id: string;
|
|
72
92
|
price_cost: number;
|
|
@@ -79,6 +99,10 @@ export type ProductPrices = {
|
|
|
79
99
|
created_by: string;
|
|
80
100
|
updated_by: string;
|
|
81
101
|
};
|
|
102
|
+
/**
|
|
103
|
+
* Model ProductImage
|
|
104
|
+
*
|
|
105
|
+
*/
|
|
82
106
|
export type ProductImage = {
|
|
83
107
|
id: string;
|
|
84
108
|
product_id: string;
|
|
@@ -90,6 +114,10 @@ export type ProductImage = {
|
|
|
90
114
|
created_by: string;
|
|
91
115
|
updated_by: string;
|
|
92
116
|
};
|
|
117
|
+
/**
|
|
118
|
+
* Model UnitOfMeasure
|
|
119
|
+
*
|
|
120
|
+
*/
|
|
93
121
|
export type UnitOfMeasure = {
|
|
94
122
|
id: string;
|
|
95
123
|
name: string;
|
|
@@ -104,6 +132,10 @@ export type UnitOfMeasure = {
|
|
|
104
132
|
created_by: string;
|
|
105
133
|
updated_by: string;
|
|
106
134
|
};
|
|
135
|
+
/**
|
|
136
|
+
* Model Promotion
|
|
137
|
+
*
|
|
138
|
+
*/
|
|
107
139
|
export type Promotion = {
|
|
108
140
|
id: string;
|
|
109
141
|
name: string;
|
|
@@ -118,6 +150,10 @@ export type Promotion = {
|
|
|
118
150
|
created_by: string;
|
|
119
151
|
updated_by: string;
|
|
120
152
|
};
|
|
153
|
+
/**
|
|
154
|
+
* Model PromotionAssoc
|
|
155
|
+
*
|
|
156
|
+
*/
|
|
121
157
|
export type PromotionAssoc = {
|
|
122
158
|
id: string;
|
|
123
159
|
client_id: string | null;
|
|
@@ -130,6 +166,10 @@ export type PromotionAssoc = {
|
|
|
130
166
|
created_by: string;
|
|
131
167
|
updated_by: string;
|
|
132
168
|
};
|
|
169
|
+
/**
|
|
170
|
+
* Model TypeOfLocation
|
|
171
|
+
*
|
|
172
|
+
*/
|
|
133
173
|
export type TypeOfLocation = {
|
|
134
174
|
id: string;
|
|
135
175
|
name: string;
|
|
@@ -139,6 +179,10 @@ export type TypeOfLocation = {
|
|
|
139
179
|
created_by: string;
|
|
140
180
|
updated_by: string;
|
|
141
181
|
};
|
|
182
|
+
/**
|
|
183
|
+
* Model VatTax
|
|
184
|
+
*
|
|
185
|
+
*/
|
|
142
186
|
export type VatTax = {
|
|
143
187
|
id: string;
|
|
144
188
|
name: string;
|
|
@@ -149,6 +193,10 @@ export type VatTax = {
|
|
|
149
193
|
created_by: string;
|
|
150
194
|
updated_by: string;
|
|
151
195
|
};
|
|
196
|
+
/**
|
|
197
|
+
* Model VatTaxZone
|
|
198
|
+
*
|
|
199
|
+
*/
|
|
152
200
|
export type VatTaxZone = {
|
|
153
201
|
id: string;
|
|
154
202
|
name: string;
|
|
@@ -162,6 +210,10 @@ export type VatTaxZone = {
|
|
|
162
210
|
updated_by: string;
|
|
163
211
|
country_id: string;
|
|
164
212
|
};
|
|
213
|
+
/**
|
|
214
|
+
* Model DocumentType
|
|
215
|
+
*
|
|
216
|
+
*/
|
|
165
217
|
export type DocumentType = {
|
|
166
218
|
id: number;
|
|
167
219
|
external_document_type_id: string | null;
|
|
@@ -193,6 +245,10 @@ export type DocumentType = {
|
|
|
193
245
|
created_by: string;
|
|
194
246
|
updated_by: string;
|
|
195
247
|
};
|
|
248
|
+
/**
|
|
249
|
+
* Model DocumentHeader
|
|
250
|
+
*
|
|
251
|
+
*/
|
|
196
252
|
export type DocumentHeader = {
|
|
197
253
|
id: string;
|
|
198
254
|
from_document_header_id: string | null;
|
|
@@ -269,6 +325,10 @@ export type DocumentHeader = {
|
|
|
269
325
|
created_by: string;
|
|
270
326
|
updated_by: string;
|
|
271
327
|
};
|
|
328
|
+
/**
|
|
329
|
+
* Model DocumentLine
|
|
330
|
+
*
|
|
331
|
+
*/
|
|
272
332
|
export type DocumentLine = {
|
|
273
333
|
id: string;
|
|
274
334
|
product_id: string | null;
|
|
@@ -285,6 +345,9 @@ export type DocumentLine = {
|
|
|
285
345
|
document_line_group_id: string;
|
|
286
346
|
index: number;
|
|
287
347
|
data: IData;
|
|
348
|
+
cancelled: boolean;
|
|
349
|
+
original_product_id: string | null;
|
|
350
|
+
imported_from_sheets: IImportedFromSheets | null;
|
|
288
351
|
quantity: number;
|
|
289
352
|
preco_custo: number;
|
|
290
353
|
provider_discount: number;
|
|
@@ -302,6 +365,10 @@ export type DocumentLine = {
|
|
|
302
365
|
created_by: string;
|
|
303
366
|
updated_by: string;
|
|
304
367
|
};
|
|
368
|
+
/**
|
|
369
|
+
* Model DocumentLineAssoc
|
|
370
|
+
*
|
|
371
|
+
*/
|
|
305
372
|
export type DocumentLineAssoc = {
|
|
306
373
|
id: string;
|
|
307
374
|
document_header_id: string;
|
|
@@ -312,6 +379,10 @@ export type DocumentLineAssoc = {
|
|
|
312
379
|
created_by: string;
|
|
313
380
|
updated_by: string;
|
|
314
381
|
};
|
|
382
|
+
/**
|
|
383
|
+
* Model Workflow
|
|
384
|
+
*
|
|
385
|
+
*/
|
|
315
386
|
export type Workflow = {
|
|
316
387
|
id: number;
|
|
317
388
|
from_document_type_id: number | null;
|
|
@@ -323,6 +394,10 @@ export type Workflow = {
|
|
|
323
394
|
created_by: string;
|
|
324
395
|
updated_by: string;
|
|
325
396
|
};
|
|
397
|
+
/**
|
|
398
|
+
* Model DocumentSet
|
|
399
|
+
*
|
|
400
|
+
*/
|
|
326
401
|
export type DocumentSet = {
|
|
327
402
|
id: string;
|
|
328
403
|
name: string;
|
|
@@ -334,6 +409,10 @@ export type DocumentSet = {
|
|
|
334
409
|
created_by: string;
|
|
335
410
|
updated_by: string;
|
|
336
411
|
};
|
|
412
|
+
/**
|
|
413
|
+
* Model ExternalDocumentType
|
|
414
|
+
*
|
|
415
|
+
*/
|
|
337
416
|
export type ExternalDocumentType = {
|
|
338
417
|
id: string;
|
|
339
418
|
name: string;
|
|
@@ -344,6 +423,10 @@ export type ExternalDocumentType = {
|
|
|
344
423
|
created_by: string;
|
|
345
424
|
updated_by: string;
|
|
346
425
|
};
|
|
426
|
+
/**
|
|
427
|
+
* Model ExternalDocumentHeader
|
|
428
|
+
*
|
|
429
|
+
*/
|
|
347
430
|
export type ExternalDocumentHeader = {
|
|
348
431
|
id: string;
|
|
349
432
|
document_header_id: string;
|
|
@@ -353,6 +436,10 @@ export type ExternalDocumentHeader = {
|
|
|
353
436
|
created_by: string;
|
|
354
437
|
updated_by: string;
|
|
355
438
|
};
|
|
439
|
+
/**
|
|
440
|
+
* Model Payment
|
|
441
|
+
*
|
|
442
|
+
*/
|
|
356
443
|
export type Payment = {
|
|
357
444
|
id: string;
|
|
358
445
|
document_header_id: string;
|
|
@@ -370,6 +457,10 @@ export type Payment = {
|
|
|
370
457
|
created_by: string;
|
|
371
458
|
updated_by: string;
|
|
372
459
|
};
|
|
460
|
+
/**
|
|
461
|
+
* Model BankPaymentsBatch
|
|
462
|
+
*
|
|
463
|
+
*/
|
|
373
464
|
export type BankPaymentsBatch = {
|
|
374
465
|
id: string;
|
|
375
466
|
value: number;
|
|
@@ -381,6 +472,10 @@ export type BankPaymentsBatch = {
|
|
|
381
472
|
created_at: Date;
|
|
382
473
|
updated_at: Date;
|
|
383
474
|
};
|
|
475
|
+
/**
|
|
476
|
+
* Model VatValidation
|
|
477
|
+
*
|
|
478
|
+
*/
|
|
384
479
|
export type VatValidation = {
|
|
385
480
|
id: string;
|
|
386
481
|
vat_number: string;
|
|
@@ -390,6 +485,10 @@ export type VatValidation = {
|
|
|
390
485
|
created_at: Date;
|
|
391
486
|
updated_at: Date;
|
|
392
487
|
};
|
|
488
|
+
/**
|
|
489
|
+
* Model QueryList
|
|
490
|
+
*
|
|
491
|
+
*/
|
|
393
492
|
export type QueryList = {
|
|
394
493
|
id: string;
|
|
395
494
|
label: string;
|
|
@@ -400,6 +499,10 @@ export type QueryList = {
|
|
|
400
499
|
created_by: string;
|
|
401
500
|
updated_by: string;
|
|
402
501
|
};
|
|
502
|
+
/**
|
|
503
|
+
* Model QueryParameter
|
|
504
|
+
*
|
|
505
|
+
*/
|
|
403
506
|
export type QueryParameter = {
|
|
404
507
|
id: string;
|
|
405
508
|
label: string;
|
|
@@ -418,6 +521,10 @@ export type QueryParameter = {
|
|
|
418
521
|
created_by: string;
|
|
419
522
|
updated_by: string;
|
|
420
523
|
};
|
|
524
|
+
/**
|
|
525
|
+
* Model ReturnReason
|
|
526
|
+
*
|
|
527
|
+
*/
|
|
421
528
|
export type ReturnReason = {
|
|
422
529
|
id: string;
|
|
423
530
|
reason: string;
|
|
@@ -426,6 +533,10 @@ export type ReturnReason = {
|
|
|
426
533
|
created_by: string;
|
|
427
534
|
updated_by: string;
|
|
428
535
|
};
|
|
536
|
+
/**
|
|
537
|
+
* Model DocumentLinePendingConflict
|
|
538
|
+
*
|
|
539
|
+
*/
|
|
429
540
|
export type DocumentLinePendingConflict = {
|
|
430
541
|
id: string;
|
|
431
542
|
document_line_id: string;
|
|
@@ -441,6 +552,10 @@ export type DocumentLinePendingConflict = {
|
|
|
441
552
|
created_by: string;
|
|
442
553
|
updated_by: string;
|
|
443
554
|
};
|
|
555
|
+
/**
|
|
556
|
+
* Model ProductPromotionVirtuals
|
|
557
|
+
*
|
|
558
|
+
*/
|
|
444
559
|
export type ProductPromotionVirtuals = {
|
|
445
560
|
product_id: string;
|
|
446
561
|
promotion_assoc_id: string;
|
|
@@ -454,6 +569,10 @@ export type ProductPromotionVirtuals = {
|
|
|
454
569
|
exclusive_to_client_id: string | null;
|
|
455
570
|
exclusive_to_location_id: string | null;
|
|
456
571
|
};
|
|
572
|
+
/**
|
|
573
|
+
* Model ProductBaseVirtuals
|
|
574
|
+
*
|
|
575
|
+
*/
|
|
457
576
|
export type ProductBaseVirtuals = {
|
|
458
577
|
product_id: string;
|
|
459
578
|
price_cost: number;
|
|
@@ -461,6 +580,10 @@ export type ProductBaseVirtuals = {
|
|
|
461
580
|
last_avg_unit_cost: number;
|
|
462
581
|
margin: number | null;
|
|
463
582
|
};
|
|
583
|
+
/**
|
|
584
|
+
* Model ProductVirtuals
|
|
585
|
+
*
|
|
586
|
+
*/
|
|
464
587
|
export type ProductVirtuals = {
|
|
465
588
|
product_id: string;
|
|
466
589
|
price_cost: number;
|
|
@@ -474,6 +597,10 @@ export type ProductVirtuals = {
|
|
|
474
597
|
ordered_quantity: number;
|
|
475
598
|
inativa: boolean;
|
|
476
599
|
};
|
|
600
|
+
/**
|
|
601
|
+
* Model DocumentLineBaseVirtuals
|
|
602
|
+
*
|
|
603
|
+
*/
|
|
477
604
|
export type DocumentLineBaseVirtuals = {
|
|
478
605
|
document_line_id: string;
|
|
479
606
|
client_unit_total_without_tax: number;
|
|
@@ -532,6 +659,10 @@ export type DocumentLineBaseVirtuals = {
|
|
|
532
659
|
documento_pago: IDataDocumentoPago | null;
|
|
533
660
|
pagamento: IDataPagamento | null;
|
|
534
661
|
};
|
|
662
|
+
/**
|
|
663
|
+
* Model DocumentLineVirtuals
|
|
664
|
+
*
|
|
665
|
+
*/
|
|
535
666
|
export type DocumentLineVirtuals = {
|
|
536
667
|
document_line_id: string;
|
|
537
668
|
client_unit_total_without_tax: number;
|
|
@@ -566,8 +697,6 @@ export type DocumentLineVirtuals = {
|
|
|
566
697
|
stock_in: boolean;
|
|
567
698
|
stock_out: boolean;
|
|
568
699
|
conferir_encomenda: string | null;
|
|
569
|
-
original_product_id: string | null;
|
|
570
|
-
imported_from_sheets: boolean;
|
|
571
700
|
purchased_from_provider: boolean;
|
|
572
701
|
pending_return_to_provider: boolean;
|
|
573
702
|
available_for_client_order: boolean;
|
|
@@ -593,11 +722,19 @@ export type DocumentLineVirtuals = {
|
|
|
593
722
|
levantar_df: boolean;
|
|
594
723
|
df_enviada: boolean;
|
|
595
724
|
};
|
|
725
|
+
/**
|
|
726
|
+
* Model StartDocumentHeaderLastUpdateVirtuals
|
|
727
|
+
*
|
|
728
|
+
*/
|
|
596
729
|
export type StartDocumentHeaderLastUpdateVirtuals = {
|
|
597
730
|
p_id: string;
|
|
598
731
|
updated_at: Date;
|
|
599
732
|
updated_by: string;
|
|
600
733
|
};
|
|
734
|
+
/**
|
|
735
|
+
* Model StartDocumentHeaderVirtuals
|
|
736
|
+
*
|
|
737
|
+
*/
|
|
601
738
|
export type StartDocumentHeaderVirtuals = {
|
|
602
739
|
parent_document_header_id: string;
|
|
603
740
|
name: string;
|
|
@@ -614,11 +751,19 @@ export type StartDocumentHeaderVirtuals = {
|
|
|
614
751
|
closed: boolean;
|
|
615
752
|
state: string;
|
|
616
753
|
};
|
|
754
|
+
/**
|
|
755
|
+
* Model DocumentHeaderClientPaymentVirtuals
|
|
756
|
+
*
|
|
757
|
+
*/
|
|
617
758
|
export type DocumentHeaderClientPaymentVirtuals = {
|
|
618
759
|
id: string;
|
|
619
760
|
client_paid: number;
|
|
620
761
|
client_unpaid: number;
|
|
621
762
|
};
|
|
763
|
+
/**
|
|
764
|
+
* Model DocumentHeaderBaseVirtuals
|
|
765
|
+
*
|
|
766
|
+
*/
|
|
622
767
|
export type DocumentHeaderBaseVirtuals = {
|
|
623
768
|
id: string;
|
|
624
769
|
p_id: string;
|
|
@@ -626,6 +771,10 @@ export type DocumentHeaderBaseVirtuals = {
|
|
|
626
771
|
external_name: string | null;
|
|
627
772
|
document_number: string;
|
|
628
773
|
};
|
|
774
|
+
/**
|
|
775
|
+
* Model DocumentHeaderVirtuals
|
|
776
|
+
*
|
|
777
|
+
*/
|
|
629
778
|
export type DocumentHeaderVirtuals = {
|
|
630
779
|
id: string;
|
|
631
780
|
p_id: string;
|
|
@@ -641,6 +790,10 @@ export type DocumentHeaderVirtuals = {
|
|
|
641
790
|
provider_total_without_tax: number;
|
|
642
791
|
provider_total: number;
|
|
643
792
|
};
|
|
793
|
+
/**
|
|
794
|
+
* Model DocumentHeaderClientVirtuals
|
|
795
|
+
*
|
|
796
|
+
*/
|
|
644
797
|
export type DocumentHeaderClientVirtuals = {
|
|
645
798
|
id: string;
|
|
646
799
|
p_id: string;
|
|
@@ -652,6 +805,10 @@ export type DocumentHeaderClientVirtuals = {
|
|
|
652
805
|
client_total_discount: number;
|
|
653
806
|
client_total_tax: number;
|
|
654
807
|
};
|
|
808
|
+
/**
|
|
809
|
+
* Model DocumentHeaderProviderVirtuals
|
|
810
|
+
*
|
|
811
|
+
*/
|
|
655
812
|
export type DocumentHeaderProviderVirtuals = {
|
|
656
813
|
id: string;
|
|
657
814
|
p_id: string;
|
|
@@ -663,6 +820,10 @@ export type DocumentHeaderProviderVirtuals = {
|
|
|
663
820
|
provider_total_without_tax: number;
|
|
664
821
|
provider_total: number;
|
|
665
822
|
};
|
|
823
|
+
/**
|
|
824
|
+
* Model StockMovement
|
|
825
|
+
*
|
|
826
|
+
*/
|
|
666
827
|
export type StockMovement = {
|
|
667
828
|
document_line_id: string;
|
|
668
829
|
product_id: string;
|
|
@@ -674,6 +835,10 @@ export type StockMovement = {
|
|
|
674
835
|
quantity: number;
|
|
675
836
|
stock_to_date: number;
|
|
676
837
|
};
|
|
838
|
+
/**
|
|
839
|
+
* Model SettledMaterialEntrance
|
|
840
|
+
*
|
|
841
|
+
*/
|
|
677
842
|
export type SettledMaterialEntrance = {
|
|
678
843
|
id: string;
|
|
679
844
|
document_description: string;
|
|
@@ -686,6 +851,10 @@ export type SettledMaterialEntrance = {
|
|
|
686
851
|
type: IPaymentOrigin;
|
|
687
852
|
owner_id: string;
|
|
688
853
|
};
|
|
854
|
+
/**
|
|
855
|
+
* Model ProviderProductView
|
|
856
|
+
*
|
|
857
|
+
*/
|
|
689
858
|
export type ProviderProductView = {
|
|
690
859
|
product_id: string;
|
|
691
860
|
type: IProductType;
|
|
@@ -818,6 +987,10 @@ export interface TaskRead {
|
|
|
818
987
|
user_id: string;
|
|
819
988
|
created_at: Date;
|
|
820
989
|
}
|
|
990
|
+
/**
|
|
991
|
+
* Model ChatRapidMessage
|
|
992
|
+
*
|
|
993
|
+
*/
|
|
821
994
|
export type ChatRapidMessage = {
|
|
822
995
|
id: string;
|
|
823
996
|
title: string;
|
|
@@ -827,6 +1000,10 @@ export type ChatRapidMessage = {
|
|
|
827
1000
|
created_by: string;
|
|
828
1001
|
updated_by: string;
|
|
829
1002
|
};
|
|
1003
|
+
/**
|
|
1004
|
+
* Model File
|
|
1005
|
+
*
|
|
1006
|
+
*/
|
|
830
1007
|
export type File = {
|
|
831
1008
|
id: string;
|
|
832
1009
|
title: string;
|
|
@@ -842,6 +1019,10 @@ export type File = {
|
|
|
842
1019
|
created_at: Date;
|
|
843
1020
|
updated_at: Date;
|
|
844
1021
|
};
|
|
1022
|
+
/**
|
|
1023
|
+
* Model DocumentLineRM
|
|
1024
|
+
*
|
|
1025
|
+
*/
|
|
845
1026
|
export type DocumentLineRM = {
|
|
846
1027
|
document_line_id: string;
|
|
847
1028
|
rm_order_by: string | null;
|
|
@@ -860,6 +1041,10 @@ export type DocumentLineRM = {
|
|
|
860
1041
|
created_at: Date;
|
|
861
1042
|
updated_at: Date;
|
|
862
1043
|
};
|
|
1044
|
+
/**
|
|
1045
|
+
* Model DocumentLineMT
|
|
1046
|
+
*
|
|
1047
|
+
*/
|
|
863
1048
|
export type DocumentLineMT = {
|
|
864
1049
|
document_line_id: string;
|
|
865
1050
|
mt_order_by: string | null;
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Model Tickets
|
|
3
|
+
*
|
|
4
|
+
*/
|
|
1
5
|
export type Tickets = {
|
|
2
6
|
id: string;
|
|
3
7
|
number: number;
|
|
@@ -10,6 +14,10 @@ export type Tickets = {
|
|
|
10
14
|
created_at: Date;
|
|
11
15
|
updated_at: Date;
|
|
12
16
|
};
|
|
17
|
+
/**
|
|
18
|
+
* Model Channel
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
13
21
|
export type Channel = {
|
|
14
22
|
id: number;
|
|
15
23
|
key: string;
|
|
@@ -22,6 +30,10 @@ export type Channel = {
|
|
|
22
30
|
created_at: Date;
|
|
23
31
|
updated_at: Date;
|
|
24
32
|
};
|
|
33
|
+
/**
|
|
34
|
+
* Model Language
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
25
37
|
export type Language = {
|
|
26
38
|
id: number;
|
|
27
39
|
name: string;
|
|
@@ -36,6 +48,10 @@ export type Language = {
|
|
|
36
48
|
created_at: Date;
|
|
37
49
|
updated_at: Date;
|
|
38
50
|
};
|
|
51
|
+
/**
|
|
52
|
+
* Model Translation
|
|
53
|
+
*
|
|
54
|
+
*/
|
|
39
55
|
export type Translation = {
|
|
40
56
|
id: number;
|
|
41
57
|
key: string;
|
|
@@ -44,6 +60,10 @@ export type Translation = {
|
|
|
44
60
|
created_at: Date;
|
|
45
61
|
updated_at: Date;
|
|
46
62
|
};
|
|
63
|
+
/**
|
|
64
|
+
* Model CLT
|
|
65
|
+
*
|
|
66
|
+
*/
|
|
47
67
|
export type CLT = {
|
|
48
68
|
id: number;
|
|
49
69
|
channel_id: number;
|