@nomalism-com/types 0.37.7 → 0.37.8
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 +2 -4
- package/dist/index.js +2 -4
- package/dist/modules/supply/documentSet/interface.d.ts +0 -2
- package/dist/shared/entities/stock.d.ts +0 -1
- package/package.json +4 -1
- package/.editorconfig +0 -9
- package/.prettierrc +0 -7
- package/eslint.config.mjs +0 -39
- package/package-lock.json +0 -4327
- package/src/index.ts +0 -3
- package/src/main.ts +0 -672
- package/src/modules/document/billOfLading/interfaces.ts +0 -26
- package/src/modules/document/billOfLading/route.schema.ts +0 -32
- package/src/modules/document/inventario/interface.ts +0 -19
- package/src/modules/document/inventario/route.schema.ts +0 -16
- package/src/modules/document/materialEntrance/interfaces.ts +0 -207
- package/src/modules/document/materialEntrance/route.schema.ts +0 -53
- package/src/modules/document/order/interfaces.ts +0 -172
- package/src/modules/document/order/route.schema.ts +0 -61
- package/src/modules/document/productionOrder/interfaces.ts +0 -12
- package/src/modules/document/productionOrder/route.schema.ts +0 -13
- package/src/modules/document/proforma/interfaces.ts +0 -15
- package/src/modules/document/proforma/route.schema.ts +0 -14
- package/src/modules/document/propostaFornecedor/interfaces.ts +0 -17
- package/src/modules/document/propostaFornecedor/route.schema.ts +0 -21
- package/src/modules/document/propostaSheets/interface.ts +0 -113
- package/src/modules/document/propostaSheets/route.schema.ts +0 -45
- package/src/modules/document/providerCreditNoteFromReturn/interfaces.ts +0 -48
- package/src/modules/document/providerCreditNoteFromReturn/route.schema.ts +0 -41
- package/src/modules/document/providerFinancialCreditNote/interfaces.ts +0 -36
- package/src/modules/document/providerFinancialCreditNote/route.schema.ts +0 -40
- package/src/modules/document/providerServiceInvoice/interfaces.ts +0 -20
- package/src/modules/document/providerServiceInvoice/route.schema.ts +0 -26
- package/src/modules/document/purchase/interfaces.ts +0 -112
- package/src/modules/document/purchase/route.schema.ts +0 -51
- package/src/modules/document/quebra/interfaces.ts +0 -46
- package/src/modules/document/quebra/route.schema.ts +0 -25
- package/src/modules/document/returnToProvider/interface.ts +0 -59
- package/src/modules/document/returnToProvider/route.schema.ts +0 -27
- package/src/modules/document/transformado/interfaces.ts +0 -31
- package/src/modules/document/transformado/route.schema.ts +0 -26
- package/src/modules/document/upfrontReturn/interfaces.ts +0 -17
- package/src/modules/document/upfrontReturn/route.schema.ts +0 -11
- package/src/modules/documentManagement/multimedia/interfaces.ts +0 -22
- package/src/modules/documentManagement/multimedia/route.schema.ts +0 -9
- package/src/modules/integration/emailLog/interfaces.ts +0 -111
- package/src/modules/integration/emailLog/route.schema.ts +0 -18
- package/src/modules/integration/emailTemplate/interfaces.ts +0 -55
- package/src/modules/integration/emailTemplate/route.schema.ts +0 -95
- package/src/modules/integration/emailTemplateAttachment/interfaces.ts +0 -22
- package/src/modules/integration/emailTemplateAttachment/route.schema.ts +0 -12
- package/src/modules/integration/emailVerification/interfaces.ts +0 -30
- package/src/modules/integration/emailVerification/route.schema.ts +0 -34
- package/src/modules/integration/googleFilePermission/interfaces.ts +0 -32
- package/src/modules/integration/googleFilePermission/route.schema.ts +0 -15
- package/src/modules/integration/googleSheets/interfaces.ts +0 -98
- package/src/modules/integration/googleSheets/route.schema.ts +0 -52
- package/src/modules/integration/observation/interfaces.ts +0 -61
- package/src/modules/integration/observation/route.schema.ts +0 -40
- package/src/modules/integration/observationType/interfaces.ts +0 -37
- package/src/modules/integration/observationType/route.schema.ts +0 -17
- package/src/modules/integration/projectInfo/interfaces.ts +0 -26
- package/src/modules/integration/projectInfo/route.schema.ts +0 -18
- package/src/modules/integration/settings/interfaces.ts +0 -31
- package/src/modules/integration/settings/route.schema.ts +0 -24
- package/src/modules/print/npc/interfaces.ts +0 -34
- package/src/modules/print/npc/route.schema.ts +0 -21
- package/src/modules/print/printer/interfaces.ts +0 -47
- package/src/modules/print/printer/route.schema.ts +0 -60
- package/src/modules/print/schedulePrintJob/interfaces.ts +0 -48
- package/src/modules/print/schedulePrintJob/route.schema.ts +0 -39
- package/src/modules/stock/chat/interfaces.ts +0 -82
- package/src/modules/stock/chat/route.schema.ts +0 -28
- package/src/modules/stock/chatRapidMessage/interface.ts +0 -31
- package/src/modules/stock/chatRapidMessage/route.schema.ts +0 -18
- package/src/modules/stock/dashboard/interface.ts +0 -25
- package/src/modules/stock/dashboard/route.schema.ts +0 -11
- package/src/modules/stock/file/interface.ts +0 -37
- package/src/modules/stock/file/route.schema.ts +0 -37
- package/src/modules/stock/location/interface.ts +0 -77
- package/src/modules/stock/location/route.schema.ts +0 -57
- package/src/modules/stock/prison/interface.ts +0 -70
- package/src/modules/stock/prison/route.schema.ts +0 -50
- package/src/modules/stock/productGoogleSheets/interface.ts +0 -339
- package/src/modules/stock/productGoogleSheets/route.schema.ts +0 -146
- package/src/modules/stock/productImage/interface.ts +0 -69
- package/src/modules/stock/productImage/route.schema.ts +0 -52
- package/src/modules/stock/promotion/interface.ts +0 -61
- package/src/modules/stock/promotion/route.schema.ts +0 -39
- package/src/modules/stock/promotionAssoc/interface.ts +0 -62
- package/src/modules/stock/promotionAssoc/route.schema.ts +0 -35
- package/src/modules/stock/queryList/interfaces.ts +0 -56
- package/src/modules/stock/queryList/route.schema.ts +0 -37
- package/src/modules/stock/queryParameter/interfaces.ts +0 -72
- package/src/modules/stock/queryParameter/route.schema.ts +0 -36
- package/src/modules/stock/recurrentTasks/interface.ts +0 -12
- package/src/modules/stock/returnReason/interfaces.ts +0 -23
- package/src/modules/stock/returnReason/route.schema.ts +0 -14
- package/src/modules/stock/savedEmPicking/interfaces.ts +0 -37
- package/src/modules/stock/savedEmPicking/route.schema.ts +0 -113
- package/src/modules/stock/savedProviderProposal/interfaces.ts +0 -32
- package/src/modules/stock/savedProviderProposal/route.schema.ts +0 -16
- package/src/modules/stock/sideMenu/interface.ts +0 -48
- package/src/modules/stock/sideMenu/route.schema.ts +0 -20
- package/src/modules/stock/stockMovement/interface.ts +0 -78
- package/src/modules/stock/stockMovement/route.schema.ts +0 -34
- package/src/modules/stock/tag/interface.ts +0 -36
- package/src/modules/stock/tag/route.schema.ts +0 -30
- package/src/modules/stock/task/interface.ts +0 -126
- package/src/modules/stock/task/route.schema.ts +0 -48
- package/src/modules/stock/taskMessage/interface.ts +0 -18
- package/src/modules/stock/taskMessage/route.schema.ts +0 -19
- package/src/modules/stock/taskRead/interface.ts +0 -17
- package/src/modules/stock/taskRead/route.schema.ts +0 -18
- package/src/modules/stock/typeOfLocation/interface.ts +0 -51
- package/src/modules/stock/typeOfLocation/route.schema.ts +0 -29
- package/src/modules/stock/unitOfMeasure/interface.ts +0 -64
- package/src/modules/stock/unitOfMeasure/route.schema.ts +0 -41
- package/src/modules/stock/vatTax/interface.ts +0 -55
- package/src/modules/stock/vatTax/route.schema.ts +0 -33
- package/src/modules/stock/vatTaxZone/interface.ts +0 -63
- package/src/modules/stock/vatTaxZone/route.schema.ts +0 -42
- package/src/modules/stock/vatValidation/interfaces.ts +0 -10
- package/src/modules/stock/vatValidation/route.schema.ts +0 -8
- package/src/modules/stock/workflow/interfaces.ts +0 -64
- package/src/modules/stock/workflow/route.schema.ts +0 -28
- package/src/modules/supply/batch/interface.ts +0 -0
- package/src/modules/supply/documentHeader/interfaces.ts +0 -497
- package/src/modules/supply/documentHeader/route.schema.ts +0 -371
- package/src/modules/supply/documentHeaderHistory/interfaces.ts +0 -15
- package/src/modules/supply/documentLine/interfaces.ts +0 -210
- package/src/modules/supply/documentLine/route.schema.ts +0 -108
- package/src/modules/supply/documentLineAssoc/interfaces.ts +0 -52
- package/src/modules/supply/documentLineAssoc/route.schema.ts +0 -16
- package/src/modules/supply/documentLineMT/interface.ts +0 -27
- package/src/modules/supply/documentLineMT/route.schema.ts +0 -18
- package/src/modules/supply/documentLineNote/interfaces.ts +0 -53
- package/src/modules/supply/documentLineNote/route.schema.ts +0 -19
- package/src/modules/supply/documentLineRM/interface.ts +0 -34
- package/src/modules/supply/documentLineRM/route.schema.ts +0 -25
- package/src/modules/supply/documentSet/interface.ts +0 -31
- package/src/modules/supply/documentSet/route.schema.ts +0 -20
- package/src/modules/supply/documentType/interfaces.ts +0 -214
- package/src/modules/supply/documentType/route.schema.ts +0 -75
- package/src/modules/supply/externalDocumentHeader/interface.ts +0 -120
- package/src/modules/supply/externalDocumentHeader/route.schema.ts +0 -79
- package/src/modules/supply/externalDocumentType/interface.ts +0 -14
- package/src/modules/supply/orderManagement/interface.ts +0 -49
- package/src/modules/supply/orderManagement/route.schema.ts +0 -0
- package/src/modules/supply/payment/interface.ts +0 -229
- package/src/modules/supply/payment/route.schema.ts +0 -122
- package/src/modules/supply/preSale/interface.ts +0 -92
- package/src/modules/supply/preSale/route.schema.ts +0 -75
- package/src/modules/supply/preSaleProduct/interface.ts +0 -16
- package/src/modules/supply/preSaleProduct/route.schema.ts +0 -7
- package/src/modules/supply/schedule/interface.ts +0 -47
- package/src/modules/supply/schedule/route.schema.ts +0 -14
- package/src/modules/supply/startDocumentHeaderLastUpdate/interface.ts +0 -15
- package/src/modules/tickets/channel/interfaces.ts +0 -35
- package/src/modules/tickets/channel/route.schema.ts +0 -24
- package/src/modules/tickets/clt/interfaces.ts +0 -26
- package/src/modules/tickets/clt/route.schema.ts +0 -24
- package/src/modules/tickets/language/interfaces.ts +0 -25
- package/src/modules/tickets/language/route.schema.ts +0 -28
- package/src/modules/tickets/tickets/interfaces.ts +0 -80
- package/src/modules/tickets/tickets/route.schema.ts +0 -19
- package/src/modules/user/bankData/interface.ts +0 -64
- package/src/modules/user/bankData/route.schema.ts +0 -40
- package/src/modules/user/chatSubscribers/interfaces.ts +0 -34
- package/src/modules/user/chatSubscribers/route.schema.ts +0 -12
- package/src/modules/user/clientType/interface.ts +0 -47
- package/src/modules/user/clientType/route.schema.ts +0 -31
- package/src/modules/user/clients/interface.ts +0 -138
- package/src/modules/user/clients/route.schema.ts +0 -87
- package/src/modules/user/commissioner/interface.ts +0 -110
- package/src/modules/user/commissioner/route.schema.ts +0 -65
- package/src/modules/user/country/interface.ts +0 -54
- package/src/modules/user/country/route.schema.ts +0 -36
- package/src/modules/user/deliveryMethods/interfaces.ts +0 -28
- package/src/modules/user/deliveryMethods/route.schema.ts +0 -15
- package/src/modules/user/favorites/interfaces.ts +0 -28
- package/src/modules/user/favorites/route.schema.ts +0 -19
- package/src/modules/user/groupPermissions/interface.ts +0 -32
- package/src/modules/user/groupPermissions/route.schema.ts +0 -11
- package/src/modules/user/language/interface.ts +0 -47
- package/src/modules/user/language/route.schema.ts +0 -28
- package/src/modules/user/maturityDates/interfaces.ts +0 -31
- package/src/modules/user/maturityDates/route.schema.ts +0 -18
- package/src/modules/user/password/interfaces.ts +0 -21
- package/src/modules/user/password/route.schema.ts +0 -22
- package/src/modules/user/paymentMethods/interfaces.ts +0 -72
- package/src/modules/user/paymentMethods/route.schema.ts +0 -27
- package/src/modules/user/permissions/interface.ts +0 -34
- package/src/modules/user/permissions/route.schema.ts +0 -11
- package/src/modules/user/persona/interface.ts +0 -157
- package/src/modules/user/persona/route.schema.ts +0 -101
- package/src/modules/user/providerType/interface.ts +0 -47
- package/src/modules/user/providerType/route.schema.ts +0 -28
- package/src/modules/user/providers/interface.ts +0 -130
- package/src/modules/user/providers/route.schema.ts +0 -85
- package/src/modules/user/purchaseConditions/interface.ts +0 -58
- package/src/modules/user/purchaseConditions/route.schema.ts +0 -33
- package/src/modules/user/reasonForExemption/interface.ts +0 -53
- package/src/modules/user/reasonForExemption/route.schema.ts +0 -34
- package/src/modules/user/refreshToken/interface.ts +0 -19
- package/src/modules/user/refreshToken/route.schema.ts +0 -10
- package/src/modules/user/segmentsArea/interface.ts +0 -49
- package/src/modules/user/segmentsArea/route.schema.ts +0 -30
- package/src/modules/user/sessions/interface.ts +0 -24
- package/src/modules/user/sessions/route.schema.ts +0 -10
- package/src/modules/user/shippings/interface.ts +0 -57
- package/src/modules/user/shippings/route.schema.ts +0 -35
- package/src/modules/user/storeOperator/interface.ts +0 -42
- package/src/modules/user/storeOperator/route.schema.ts +0 -45
- package/src/modules/user/swift/interface.ts +0 -55
- package/src/modules/user/swift/route.schema.ts +0 -36
- package/src/modules/user/tenant/interface.ts +0 -59
- package/src/modules/user/tenant/route.schema.ts +0 -46
- package/src/modules/user/theme/interfaces.ts +0 -21
- package/src/modules/user/theme/route.schema.ts +0 -19
- package/src/modules/user/userPermissions/interface.ts +0 -28
- package/src/modules/user/userPermissions/route.schema.ts +0 -12
- package/src/modules/user/userPositions/interface.ts +0 -47
- package/src/modules/user/userPositions/route.schema.ts +0 -29
- package/src/modules/user/userTokens/interface.ts +0 -41
- package/src/modules/user/userTokens/route.schema.ts +0 -17
- package/src/modules/user/users/interface.ts +0 -177
- package/src/modules/user/users/route.schema.ts +0 -58
- package/src/modules/user/vehicles/interfaces.ts +0 -31
- package/src/modules/user/vehicles/route.schema.ts +0 -17
- package/src/modules/user/zipCode/interfaces.ts +0 -27
- package/src/modules/user/zipCode/route.schema.ts +0 -26
- package/src/modules/view/adminPanel/interfaces.ts +0 -180
- package/src/modules/view/errorLog/interfaces.ts +0 -36
- package/src/modules/view/errorLog/route.schema.ts +0 -25
- package/src/shared/entities/documentManagement.ts +0 -16
- package/src/shared/entities/integration.ts +0 -136
- package/src/shared/entities/print.ts +0 -49
- package/src/shared/entities/stock.ts +0 -1248
- package/src/shared/entities/tickets.ts +0 -82
- package/src/shared/entities/user.ts +0 -540
- package/src/shared/errors/documentManagementErrors.ts +0 -13
- package/src/shared/errors/integrationErrors.ts +0 -44
- package/src/shared/errors/stockErrors.ts +0 -267
- package/src/shared/errors/userErrors.ts +0 -108
- package/src/shared/errors/viewErrors.ts +0 -6
- package/src/shared/interface.ts +0 -548
- package/src/shared/messages.ts +0 -141
- package/tsconfig.json +0 -20
- package/tsup.config.ts +0 -10
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Model Tickets
|
|
3
|
-
*
|
|
4
|
-
*/
|
|
5
|
-
export type Tickets = {
|
|
6
|
-
id: string;
|
|
7
|
-
number: number;
|
|
8
|
-
channel_id: number;
|
|
9
|
-
who_attended: string | null;
|
|
10
|
-
attended_at: Date | null;
|
|
11
|
-
language_id: number;
|
|
12
|
-
created_by: string;
|
|
13
|
-
updated_by: string | null;
|
|
14
|
-
created_at: Date;
|
|
15
|
-
updated_at: Date;
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* Model Channel
|
|
20
|
-
*
|
|
21
|
-
*/
|
|
22
|
-
export type Channel = {
|
|
23
|
-
id: number;
|
|
24
|
-
key: string;
|
|
25
|
-
order: number;
|
|
26
|
-
color: string;
|
|
27
|
-
text_color: string;
|
|
28
|
-
disabled_color: string;
|
|
29
|
-
created_by: string;
|
|
30
|
-
updated_by: string | null;
|
|
31
|
-
created_at: Date;
|
|
32
|
-
updated_at: Date;
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* Model Language
|
|
37
|
-
*
|
|
38
|
-
*/
|
|
39
|
-
export type Language = {
|
|
40
|
-
id: number;
|
|
41
|
-
name: string;
|
|
42
|
-
alpha2: string;
|
|
43
|
-
lang: string;
|
|
44
|
-
voice_name: string;
|
|
45
|
-
ssml: string;
|
|
46
|
-
call_text: string;
|
|
47
|
-
created_by: string;
|
|
48
|
-
updated_by: string | null;
|
|
49
|
-
order: number;
|
|
50
|
-
created_at: Date;
|
|
51
|
-
updated_at: Date;
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* Model Translation
|
|
56
|
-
*
|
|
57
|
-
*/
|
|
58
|
-
export type Translation = {
|
|
59
|
-
id: number;
|
|
60
|
-
key: string;
|
|
61
|
-
created_by: string;
|
|
62
|
-
updated_by: string | null;
|
|
63
|
-
created_at: Date;
|
|
64
|
-
updated_at: Date;
|
|
65
|
-
};
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
* Model CLT
|
|
69
|
-
*
|
|
70
|
-
*/
|
|
71
|
-
export type CLT = {
|
|
72
|
-
id: number;
|
|
73
|
-
channel_id: number;
|
|
74
|
-
language_id: number;
|
|
75
|
-
translation_id: number;
|
|
76
|
-
name: string;
|
|
77
|
-
text: string;
|
|
78
|
-
created_by: string;
|
|
79
|
-
updated_by: string | null;
|
|
80
|
-
created_at: Date;
|
|
81
|
-
updated_at: Date;
|
|
82
|
-
};
|
|
@@ -1,540 +0,0 @@
|
|
|
1
|
-
import { IPaymentMethodsSaftCodeEnum } from '../../modules/user/paymentMethods/interfaces';
|
|
2
|
-
import type { IChatType } from '../../modules/stock/chat/interfaces';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Model Users
|
|
6
|
-
*
|
|
7
|
-
*/
|
|
8
|
-
export type Users = {
|
|
9
|
-
id: string;
|
|
10
|
-
account: string | null;
|
|
11
|
-
password: string | null;
|
|
12
|
-
created_at: Date;
|
|
13
|
-
updated_at: Date;
|
|
14
|
-
created_by: string;
|
|
15
|
-
updated_by: string;
|
|
16
|
-
origin_id: string | null;
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* Model UserTokens
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
export type UserTokens = {
|
|
24
|
-
id: string;
|
|
25
|
-
token: string;
|
|
26
|
-
user_id: string;
|
|
27
|
-
consumed: boolean;
|
|
28
|
-
created_at: Date;
|
|
29
|
-
updated_at: Date;
|
|
30
|
-
created_by: string;
|
|
31
|
-
updated_by: string;
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* Model Favorites
|
|
36
|
-
*
|
|
37
|
-
*/
|
|
38
|
-
export type Favorites = {
|
|
39
|
-
id: string;
|
|
40
|
-
user_id: string;
|
|
41
|
-
url: string;
|
|
42
|
-
created_at: Date;
|
|
43
|
-
updated_at: Date;
|
|
44
|
-
};
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* Model Permissions
|
|
48
|
-
*
|
|
49
|
-
*/
|
|
50
|
-
export type Permissions = {
|
|
51
|
-
id: number;
|
|
52
|
-
code: string;
|
|
53
|
-
description: string;
|
|
54
|
-
enable: boolean;
|
|
55
|
-
created_at: Date;
|
|
56
|
-
updated_at: Date;
|
|
57
|
-
created_by: string;
|
|
58
|
-
updated_by: string;
|
|
59
|
-
};
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* Model GroupPermissions
|
|
63
|
-
*
|
|
64
|
-
*/
|
|
65
|
-
export type GroupPermissions = {
|
|
66
|
-
id: number;
|
|
67
|
-
code: string;
|
|
68
|
-
description: string;
|
|
69
|
-
enable: boolean;
|
|
70
|
-
created_at: Date;
|
|
71
|
-
updated_at: Date;
|
|
72
|
-
created_by: string;
|
|
73
|
-
updated_by: string;
|
|
74
|
-
};
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* Model UserPermissions
|
|
78
|
-
*
|
|
79
|
-
*/
|
|
80
|
-
export type UserPermissions = {
|
|
81
|
-
id: number;
|
|
82
|
-
user_id: string;
|
|
83
|
-
group_id: number;
|
|
84
|
-
permission_id: number;
|
|
85
|
-
created_at: Date;
|
|
86
|
-
updated_at: Date;
|
|
87
|
-
created_by: string;
|
|
88
|
-
updated_by: string;
|
|
89
|
-
};
|
|
90
|
-
|
|
91
|
-
/**
|
|
92
|
-
* Model Providers
|
|
93
|
-
*
|
|
94
|
-
*/
|
|
95
|
-
export type Providers = {
|
|
96
|
-
id: string;
|
|
97
|
-
chat_type: IChatType;
|
|
98
|
-
user_id: string;
|
|
99
|
-
main_persona_id: string;
|
|
100
|
-
contact_persona_id: string;
|
|
101
|
-
number: number;
|
|
102
|
-
country_id: string | null;
|
|
103
|
-
language_id: string | null;
|
|
104
|
-
support_language_id: string | null;
|
|
105
|
-
provider_type_id: string | null;
|
|
106
|
-
inactive: boolean;
|
|
107
|
-
manufacturer: boolean;
|
|
108
|
-
default_payment_method_id: string | null;
|
|
109
|
-
default_maturity_date_id: string | null;
|
|
110
|
-
default_delivery_method_id: string | null;
|
|
111
|
-
default_vehicle_id: string | null;
|
|
112
|
-
default_discount: number;
|
|
113
|
-
created_at: Date;
|
|
114
|
-
updated_at: Date;
|
|
115
|
-
created_by: string;
|
|
116
|
-
updated_by: string;
|
|
117
|
-
origin_id: string | null;
|
|
118
|
-
};
|
|
119
|
-
|
|
120
|
-
/**
|
|
121
|
-
* Model ProviderType
|
|
122
|
-
*
|
|
123
|
-
*/
|
|
124
|
-
export type ProviderType = {
|
|
125
|
-
id: string;
|
|
126
|
-
name: string;
|
|
127
|
-
created_at: Date;
|
|
128
|
-
updated_at: Date;
|
|
129
|
-
created_by: string;
|
|
130
|
-
updated_by: string;
|
|
131
|
-
origin_id: string | null;
|
|
132
|
-
};
|
|
133
|
-
|
|
134
|
-
/**
|
|
135
|
-
* Model Country
|
|
136
|
-
*
|
|
137
|
-
*/
|
|
138
|
-
export type Country = {
|
|
139
|
-
id: string;
|
|
140
|
-
name: string;
|
|
141
|
-
alpha2: string;
|
|
142
|
-
created_at: Date;
|
|
143
|
-
updated_at: Date;
|
|
144
|
-
created_by: string;
|
|
145
|
-
updated_by: string;
|
|
146
|
-
origin_id: string | null;
|
|
147
|
-
external_id: string;
|
|
148
|
-
};
|
|
149
|
-
|
|
150
|
-
/**
|
|
151
|
-
* Model Language
|
|
152
|
-
*
|
|
153
|
-
*/
|
|
154
|
-
export type Language = {
|
|
155
|
-
id: string;
|
|
156
|
-
name: string;
|
|
157
|
-
created_at: Date;
|
|
158
|
-
updated_at: Date;
|
|
159
|
-
created_by: string;
|
|
160
|
-
updated_by: string;
|
|
161
|
-
origin_id: string | null;
|
|
162
|
-
external_id: string | null;
|
|
163
|
-
};
|
|
164
|
-
|
|
165
|
-
/**
|
|
166
|
-
* Model Clients
|
|
167
|
-
*
|
|
168
|
-
*/
|
|
169
|
-
export type Clients = {
|
|
170
|
-
id: string;
|
|
171
|
-
user_id: string;
|
|
172
|
-
chat_type: IChatType;
|
|
173
|
-
main_persona_id: string;
|
|
174
|
-
contact_persona_id: string;
|
|
175
|
-
number: number;
|
|
176
|
-
country_id: string | null;
|
|
177
|
-
language_id: string | null;
|
|
178
|
-
client_type_id: string | null;
|
|
179
|
-
newsletter: boolean;
|
|
180
|
-
inactive: boolean;
|
|
181
|
-
segments_area_id: string | null;
|
|
182
|
-
default_discount: number;
|
|
183
|
-
default_payment_method_id: string | null;
|
|
184
|
-
default_maturity_date_id: string | null;
|
|
185
|
-
default_delivery_method_id: string | null;
|
|
186
|
-
default_vehicle_id: string | null;
|
|
187
|
-
deferred_payment: boolean;
|
|
188
|
-
origin_id: string | null;
|
|
189
|
-
created_at: Date;
|
|
190
|
-
updated_at: Date;
|
|
191
|
-
created_by: string;
|
|
192
|
-
updated_by: string;
|
|
193
|
-
};
|
|
194
|
-
|
|
195
|
-
/**
|
|
196
|
-
* Model ClientType
|
|
197
|
-
*
|
|
198
|
-
*/
|
|
199
|
-
export type ClientType = {
|
|
200
|
-
id: string;
|
|
201
|
-
name: string;
|
|
202
|
-
created_at: Date;
|
|
203
|
-
updated_at: Date;
|
|
204
|
-
created_by: string;
|
|
205
|
-
updated_by: string;
|
|
206
|
-
origin_id: string | null;
|
|
207
|
-
};
|
|
208
|
-
|
|
209
|
-
/**
|
|
210
|
-
* Model SegmentsArea
|
|
211
|
-
*
|
|
212
|
-
*/
|
|
213
|
-
export type SegmentsArea = {
|
|
214
|
-
id: string;
|
|
215
|
-
type: string;
|
|
216
|
-
name: string;
|
|
217
|
-
created_at: Date;
|
|
218
|
-
updated_at: Date;
|
|
219
|
-
created_by: string;
|
|
220
|
-
updated_by: string;
|
|
221
|
-
origin_id: string | null;
|
|
222
|
-
};
|
|
223
|
-
|
|
224
|
-
/**
|
|
225
|
-
* Model PurchaseConditions
|
|
226
|
-
*
|
|
227
|
-
*/
|
|
228
|
-
export type PurchaseConditions = {
|
|
229
|
-
id: string;
|
|
230
|
-
provider_id: string;
|
|
231
|
-
discount: string;
|
|
232
|
-
deadline: string;
|
|
233
|
-
minimum_quantity: string;
|
|
234
|
-
created_at: Date;
|
|
235
|
-
updated_at: Date;
|
|
236
|
-
created_by: string;
|
|
237
|
-
updated_by: string;
|
|
238
|
-
origin_id: string | null;
|
|
239
|
-
};
|
|
240
|
-
|
|
241
|
-
/**
|
|
242
|
-
* Model Shippings
|
|
243
|
-
*
|
|
244
|
-
*/
|
|
245
|
-
export type Shippings = {
|
|
246
|
-
id: string;
|
|
247
|
-
provider_id: string;
|
|
248
|
-
type: string;
|
|
249
|
-
quantity: string;
|
|
250
|
-
value: string;
|
|
251
|
-
unit: string;
|
|
252
|
-
created_at: Date;
|
|
253
|
-
updated_at: Date;
|
|
254
|
-
created_by: string;
|
|
255
|
-
updated_by: string;
|
|
256
|
-
origin_id: string | null;
|
|
257
|
-
};
|
|
258
|
-
|
|
259
|
-
/**
|
|
260
|
-
* Model Commissioner
|
|
261
|
-
*
|
|
262
|
-
*/
|
|
263
|
-
export type Commissioner = {
|
|
264
|
-
id: string;
|
|
265
|
-
user_id: string;
|
|
266
|
-
chat_type: IChatType;
|
|
267
|
-
main_persona_id: string;
|
|
268
|
-
contact_persona_id: string;
|
|
269
|
-
number: number;
|
|
270
|
-
country_id: string | null;
|
|
271
|
-
language_id: string | null;
|
|
272
|
-
default_percentage: number;
|
|
273
|
-
inactive: boolean;
|
|
274
|
-
default_payment_method_id: string | null;
|
|
275
|
-
default_maturity_date_id: string | null;
|
|
276
|
-
default_delivery_method_id: string | null;
|
|
277
|
-
default_vehicle_id: string | null;
|
|
278
|
-
created_at: Date;
|
|
279
|
-
updated_at: Date;
|
|
280
|
-
created_by: string;
|
|
281
|
-
updated_by: string;
|
|
282
|
-
origin_id: string | null;
|
|
283
|
-
};
|
|
284
|
-
|
|
285
|
-
/**
|
|
286
|
-
* Model BankData
|
|
287
|
-
*
|
|
288
|
-
*/
|
|
289
|
-
export type BankData = {
|
|
290
|
-
id: string;
|
|
291
|
-
provider_id: string | null;
|
|
292
|
-
client_id: string | null;
|
|
293
|
-
store_operator_id: string | null;
|
|
294
|
-
commissioner_id: string | null;
|
|
295
|
-
iban: string;
|
|
296
|
-
swift_id: string | null;
|
|
297
|
-
country_id: string;
|
|
298
|
-
created_at: Date;
|
|
299
|
-
updated_at: Date;
|
|
300
|
-
created_by: string;
|
|
301
|
-
updated_by: string;
|
|
302
|
-
origin_id: string | null;
|
|
303
|
-
notes: string | null;
|
|
304
|
-
};
|
|
305
|
-
|
|
306
|
-
/**
|
|
307
|
-
* Model Swift
|
|
308
|
-
*
|
|
309
|
-
*/
|
|
310
|
-
export type Swift = {
|
|
311
|
-
id: string;
|
|
312
|
-
bank: string;
|
|
313
|
-
city: string;
|
|
314
|
-
branch: string | null;
|
|
315
|
-
code: string;
|
|
316
|
-
country_id: string;
|
|
317
|
-
created_at: Date;
|
|
318
|
-
updated_at: Date;
|
|
319
|
-
created_by: string;
|
|
320
|
-
updated_by: string;
|
|
321
|
-
origin_id: string | null;
|
|
322
|
-
};
|
|
323
|
-
|
|
324
|
-
/**
|
|
325
|
-
* Model ReasonForExemption
|
|
326
|
-
*
|
|
327
|
-
*/
|
|
328
|
-
export type ReasonForExemption = {
|
|
329
|
-
id: string;
|
|
330
|
-
name: string;
|
|
331
|
-
description: string;
|
|
332
|
-
saft_code: string;
|
|
333
|
-
created_at: Date;
|
|
334
|
-
updated_at: Date;
|
|
335
|
-
created_by: string;
|
|
336
|
-
updated_by: string;
|
|
337
|
-
origin_id: string | null;
|
|
338
|
-
external_id: string;
|
|
339
|
-
};
|
|
340
|
-
|
|
341
|
-
/**
|
|
342
|
-
* Model StoreOperator
|
|
343
|
-
*
|
|
344
|
-
*/
|
|
345
|
-
export type StoreOperator = {
|
|
346
|
-
id: string;
|
|
347
|
-
user_id: string;
|
|
348
|
-
chat_type: IChatType;
|
|
349
|
-
user_position_id: string | null;
|
|
350
|
-
number: number;
|
|
351
|
-
internal_email: string | null;
|
|
352
|
-
support_language_id: string | null;
|
|
353
|
-
main_persona_id: string;
|
|
354
|
-
contact_persona_id: string;
|
|
355
|
-
pin: string;
|
|
356
|
-
location_id: string;
|
|
357
|
-
inactive: boolean;
|
|
358
|
-
created_at: Date;
|
|
359
|
-
updated_at: Date;
|
|
360
|
-
created_by: string;
|
|
361
|
-
updated_by: string;
|
|
362
|
-
origin_id: string | null;
|
|
363
|
-
};
|
|
364
|
-
|
|
365
|
-
/**
|
|
366
|
-
* Model UserPositions
|
|
367
|
-
*
|
|
368
|
-
*/
|
|
369
|
-
export type UserPositions = {
|
|
370
|
-
id: string;
|
|
371
|
-
name: string;
|
|
372
|
-
created_at: Date;
|
|
373
|
-
updated_at: Date;
|
|
374
|
-
created_by: string;
|
|
375
|
-
updated_by: string;
|
|
376
|
-
origin_id: string | null;
|
|
377
|
-
};
|
|
378
|
-
|
|
379
|
-
/**
|
|
380
|
-
* Model PaymentMethods
|
|
381
|
-
*
|
|
382
|
-
*/
|
|
383
|
-
export type PaymentMethods = {
|
|
384
|
-
id: string;
|
|
385
|
-
payment_method_id: number | null;
|
|
386
|
-
name: string;
|
|
387
|
-
hidden: boolean | null;
|
|
388
|
-
is_numerary: boolean;
|
|
389
|
-
is_mb: boolean;
|
|
390
|
-
is_credit: boolean;
|
|
391
|
-
saft_code: IPaymentMethodsSaftCodeEnum;
|
|
392
|
-
created_at: Date;
|
|
393
|
-
updated_at: Date;
|
|
394
|
-
created_by: string;
|
|
395
|
-
updated_by: string;
|
|
396
|
-
};
|
|
397
|
-
|
|
398
|
-
/**
|
|
399
|
-
* Model DeliveryMethods
|
|
400
|
-
*
|
|
401
|
-
*/
|
|
402
|
-
export type DeliveryMethods = {
|
|
403
|
-
id: string;
|
|
404
|
-
delivery_method_id: number | null;
|
|
405
|
-
name: string;
|
|
406
|
-
created_at: Date;
|
|
407
|
-
updated_at: Date;
|
|
408
|
-
created_by: string;
|
|
409
|
-
updated_by: string;
|
|
410
|
-
};
|
|
411
|
-
|
|
412
|
-
/**
|
|
413
|
-
* Model MaturityDates
|
|
414
|
-
*
|
|
415
|
-
*/
|
|
416
|
-
export type MaturityDates = {
|
|
417
|
-
id: string;
|
|
418
|
-
maturity_date_id: number | null;
|
|
419
|
-
name: string;
|
|
420
|
-
days: number;
|
|
421
|
-
created_at: Date;
|
|
422
|
-
updated_at: Date;
|
|
423
|
-
created_by: string;
|
|
424
|
-
updated_by: string;
|
|
425
|
-
};
|
|
426
|
-
|
|
427
|
-
/**
|
|
428
|
-
* Model Vehicles
|
|
429
|
-
*
|
|
430
|
-
*/
|
|
431
|
-
export type Vehicles = {
|
|
432
|
-
id: string;
|
|
433
|
-
vehicle_id: number | null;
|
|
434
|
-
description: string;
|
|
435
|
-
number_plate: string;
|
|
436
|
-
created_at: Date;
|
|
437
|
-
updated_at: Date;
|
|
438
|
-
created_by: string;
|
|
439
|
-
updated_by: string;
|
|
440
|
-
};
|
|
441
|
-
|
|
442
|
-
/**
|
|
443
|
-
* Model ZipCode
|
|
444
|
-
*
|
|
445
|
-
*/
|
|
446
|
-
export type ZipCode = {
|
|
447
|
-
id: string;
|
|
448
|
-
postal_code: string;
|
|
449
|
-
address: string;
|
|
450
|
-
locality: string;
|
|
451
|
-
parish: string;
|
|
452
|
-
county: string;
|
|
453
|
-
county_code: number;
|
|
454
|
-
district: string;
|
|
455
|
-
latitude: string;
|
|
456
|
-
longitude: string;
|
|
457
|
-
};
|
|
458
|
-
|
|
459
|
-
/**
|
|
460
|
-
* Model Tenant
|
|
461
|
-
*
|
|
462
|
-
*/
|
|
463
|
-
export type Tenant = {
|
|
464
|
-
id: string;
|
|
465
|
-
customer_id: string;
|
|
466
|
-
name: string;
|
|
467
|
-
taxpayer_number: string;
|
|
468
|
-
commercial_registration_number: number | null;
|
|
469
|
-
share_capital: number | null;
|
|
470
|
-
conservatory: string | null;
|
|
471
|
-
logo: string | null;
|
|
472
|
-
email: string;
|
|
473
|
-
address: string;
|
|
474
|
-
postal_code: string;
|
|
475
|
-
locality: string;
|
|
476
|
-
country: string;
|
|
477
|
-
Timezone: string | null;
|
|
478
|
-
telephone: string | null;
|
|
479
|
-
fax: string | null;
|
|
480
|
-
website: string | null;
|
|
481
|
-
created_at: Date;
|
|
482
|
-
updated_at: Date;
|
|
483
|
-
created_by: string;
|
|
484
|
-
updated_by: string;
|
|
485
|
-
};
|
|
486
|
-
|
|
487
|
-
/**
|
|
488
|
-
* Model Persona
|
|
489
|
-
*
|
|
490
|
-
*/
|
|
491
|
-
export type Persona = {
|
|
492
|
-
id: string;
|
|
493
|
-
name: string | null;
|
|
494
|
-
nif: string | null;
|
|
495
|
-
telephone: string | null;
|
|
496
|
-
email: string | null;
|
|
497
|
-
observations: string | null;
|
|
498
|
-
street: string | null;
|
|
499
|
-
postal_code: string | null;
|
|
500
|
-
locality: string | null;
|
|
501
|
-
country_id: string | null;
|
|
502
|
-
reason_for_exemption_id: string | null;
|
|
503
|
-
provider_id: string | null;
|
|
504
|
-
client_id: string | null;
|
|
505
|
-
commissioner_id: string | null;
|
|
506
|
-
store_operator_id: string | null;
|
|
507
|
-
created_at: Date;
|
|
508
|
-
updated_at: Date;
|
|
509
|
-
created_by: string;
|
|
510
|
-
updated_by: string;
|
|
511
|
-
};
|
|
512
|
-
|
|
513
|
-
/**
|
|
514
|
-
* Model Theme
|
|
515
|
-
*
|
|
516
|
-
*/
|
|
517
|
-
export type Theme = {
|
|
518
|
-
id: string;
|
|
519
|
-
colors: unknown;
|
|
520
|
-
store_operator_id: string;
|
|
521
|
-
created_at: Date;
|
|
522
|
-
updated_at: Date;
|
|
523
|
-
created_by: string;
|
|
524
|
-
updated_by: string;
|
|
525
|
-
};
|
|
526
|
-
|
|
527
|
-
/**
|
|
528
|
-
* Model ChatSubscriber
|
|
529
|
-
*
|
|
530
|
-
*/
|
|
531
|
-
export type ChatSubscriber = {
|
|
532
|
-
id: string;
|
|
533
|
-
persona_id: string;
|
|
534
|
-
owner_id: string;
|
|
535
|
-
document_header_id: string;
|
|
536
|
-
created_at: Date;
|
|
537
|
-
updated_at: Date;
|
|
538
|
-
created_by: string;
|
|
539
|
-
updated_by: string;
|
|
540
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
moduleUser: {
|
|
3
|
-
tokenExpired: 'Sessão expirada',
|
|
4
|
-
jwtNotFound: 'Sessão expirada',
|
|
5
|
-
jwtInvalid: 'Sessão expirada',
|
|
6
|
-
},
|
|
7
|
-
moduleMultimedia: {
|
|
8
|
-
notFound: 'Recurso multimedia não encontrado em registo',
|
|
9
|
-
noUpload: 'Nenhum upload carregado',
|
|
10
|
-
notDeleted: 'Não foi possível apagar recurso multimedia',
|
|
11
|
-
fileNotFound: 'Recurso multimedia não encontrado em disco',
|
|
12
|
-
},
|
|
13
|
-
};
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
moduleUser: {
|
|
3
|
-
informAvatar: 'You need to inform avatar file',
|
|
4
|
-
userAvatarNotFound: 'This user avatar not found',
|
|
5
|
-
tokenExpired: 'Token Expired',
|
|
6
|
-
jwtNotExists: 'JWT invalid',
|
|
7
|
-
},
|
|
8
|
-
moduleField: {
|
|
9
|
-
NotFound: 'Field Group not found',
|
|
10
|
-
NotCreateUpdate: 'Unable to Create/Update Field Group',
|
|
11
|
-
NotCreateSameName: 'Unable to Create with the same name',
|
|
12
|
-
NotDelete: 'Unable to Delete Field Group',
|
|
13
|
-
},
|
|
14
|
-
moduleTasks: {
|
|
15
|
-
AlreadyExists: 'This task group already exists',
|
|
16
|
-
ErrorOnDelete: 'Error on Delete',
|
|
17
|
-
NotFound: 'Task not found',
|
|
18
|
-
ParentNotFound: 'Parent Task not found',
|
|
19
|
-
},
|
|
20
|
-
moduleTasksGroup: {
|
|
21
|
-
AlreadyExists: 'This task group already exists',
|
|
22
|
-
ErrorOnDelete: 'Error on Task Group Delete',
|
|
23
|
-
NotFound: 'Task Group not found',
|
|
24
|
-
},
|
|
25
|
-
moduleTaskNote: {
|
|
26
|
-
NotFound: 'Task Note not found',
|
|
27
|
-
NotCreateUpdate: 'Unable to Create/Update Task Note',
|
|
28
|
-
},
|
|
29
|
-
moduleObservation: {
|
|
30
|
-
dontExist: 'this observation dont exists',
|
|
31
|
-
notFound: 'observation not found',
|
|
32
|
-
alreadyExists: 'this observation already exists',
|
|
33
|
-
notDeleted: 'observation not deleted',
|
|
34
|
-
notUpdated: 'observation not updated',
|
|
35
|
-
},
|
|
36
|
-
moduleObservationType: {
|
|
37
|
-
dontExist: 'this type of observation dont exists',
|
|
38
|
-
notFound: 'type of observation not found',
|
|
39
|
-
alreadyExists: 'this type of observation already exists',
|
|
40
|
-
childExists: 'type of observation has observations',
|
|
41
|
-
notDeleted: 'type of observation not deleted',
|
|
42
|
-
notUpdated: 'type of observation not updated',
|
|
43
|
-
},
|
|
44
|
-
};
|