@silexpert/core 1.0.194 → 1.0.196
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/es/api/resources/FIle.d.ts +1 -1
- package/es/api/resources/FIle.d.ts.map +1 -1
- package/es/api/resources/FIle.js +2 -2
- package/es/api/resources/FIle.js.map +1 -1
- package/es/types/Enum/Log.d.ts +195 -0
- package/es/types/Enum/Log.d.ts.map +1 -1
- package/es/types/Enum/Log.js +195 -0
- package/es/types/Enum/Log.js.map +1 -1
- package/es/types/Enum/RoleDetail.js +1 -1
- package/es/types/Enum/RoleDetail.js.map +1 -1
- package/es/types/Interface/models/ILog.d.ts +0 -2
- package/es/types/Interface/models/ILog.d.ts.map +1 -1
- package/es/types/Interface/models/ILog.js.map +1 -1
- package/es/types/Interface/models/ISociety.d.ts +2 -1
- package/es/types/Interface/models/ISociety.d.ts.map +1 -1
- package/es/types/Interface/models/ISociety.js.map +1 -1
- package/es/types/Interface/models/IThirdPartySociety.d.ts +2 -0
- package/es/types/Interface/models/IThirdPartySociety.d.ts.map +1 -1
- package/es/types/Interface/models/IThirdPartySociety.js.map +1 -1
- package/js/api/resources/FIle.js +2 -2
- package/js/api/resources/FIle.js.map +1 -1
- package/js/types/Enum/Log.js +195 -0
- package/js/types/Enum/Log.js.map +1 -1
- package/js/types/Enum/RoleDetail.js +1 -1
- package/js/types/Enum/RoleDetail.js.map +1 -1
- package/js/types/Interface/models/ILog.js.map +1 -1
- package/js/types/Interface/models/ISociety.js.map +1 -1
- package/js/types/Interface/models/IThirdPartySociety.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/FIle.ts +2 -2
- package/ts/types/Enum/Log.ts +197 -1
- package/ts/types/Enum/RoleDetail.ts +1 -1
- package/ts/types/Interface/models/ILog.ts +0 -2
- package/ts/types/Interface/models/ISociety.ts +2 -0
- package/ts/types/Interface/models/IThirdPartySociety.ts +5 -0
package/ts/types/Enum/Log.ts
CHANGED
|
@@ -33,6 +33,7 @@ export enum LogType {
|
|
|
33
33
|
UNPAID = 21,
|
|
34
34
|
DELETE = 22,
|
|
35
35
|
REGULATION_DELETE = 23,
|
|
36
|
+
TERMINATION = 24,
|
|
36
37
|
CHECKLIST = 25,
|
|
37
38
|
TRANSACTION_DELETE = 26,
|
|
38
39
|
INPI_DELETE = 27,
|
|
@@ -41,4 +42,199 @@ export enum LogType {
|
|
|
41
42
|
SOCIAL = 30,
|
|
42
43
|
CONSTITUTION = 31,
|
|
43
44
|
APPROBATION = 32,
|
|
44
|
-
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export const LogTypeDetail = {
|
|
48
|
+
VAT: {
|
|
49
|
+
id: LogType.VAT,
|
|
50
|
+
label: 'TVA',
|
|
51
|
+
color: 'light-blue darken-1',
|
|
52
|
+
icon: null,
|
|
53
|
+
},
|
|
54
|
+
TAX: {
|
|
55
|
+
id: LogType.TAX,
|
|
56
|
+
label: 'IS',
|
|
57
|
+
color: 'teal darken-1',
|
|
58
|
+
icon: null,
|
|
59
|
+
},
|
|
60
|
+
BALANCESHEET: {
|
|
61
|
+
id: LogType.BALANCESHEET,
|
|
62
|
+
label: 'Bilan',
|
|
63
|
+
color: 'light-greendarken-1',
|
|
64
|
+
icon: null,
|
|
65
|
+
},
|
|
66
|
+
SUPERVISION: {
|
|
67
|
+
id: LogType.SUPERVISION,
|
|
68
|
+
label: 'Supervision',
|
|
69
|
+
color: 'amber darken-1',
|
|
70
|
+
icon: null,
|
|
71
|
+
},
|
|
72
|
+
TASK: {
|
|
73
|
+
id: LogType.TASK,
|
|
74
|
+
label: 'Tâche',
|
|
75
|
+
color: 'green darken-1',
|
|
76
|
+
icon: null,
|
|
77
|
+
},
|
|
78
|
+
COMMENT: {
|
|
79
|
+
id: LogType.COMMENT,
|
|
80
|
+
label: 'Commentaire',
|
|
81
|
+
color: 'blue-grey darken-1',
|
|
82
|
+
icon: null,
|
|
83
|
+
},
|
|
84
|
+
MAIL: {
|
|
85
|
+
id: LogType.MAIL,
|
|
86
|
+
label: 'Mail',
|
|
87
|
+
color: 'grey',
|
|
88
|
+
icon: null,
|
|
89
|
+
},
|
|
90
|
+
REPORT: {
|
|
91
|
+
id: LogType.REPORT,
|
|
92
|
+
label: 'Signalement',
|
|
93
|
+
color: 'lred darken-2',
|
|
94
|
+
icon: null,
|
|
95
|
+
},
|
|
96
|
+
EXPORT: {
|
|
97
|
+
id: LogType.EXPORT,
|
|
98
|
+
label: 'Exportation',
|
|
99
|
+
color: 'cyan darken-1',
|
|
100
|
+
icon: null,
|
|
101
|
+
},
|
|
102
|
+
REVISION: {
|
|
103
|
+
id: LogType.REVISION,
|
|
104
|
+
label: 'Révision',
|
|
105
|
+
color: null,
|
|
106
|
+
icon: null,
|
|
107
|
+
},
|
|
108
|
+
ARCHIVING: {
|
|
109
|
+
id: LogType.ARCHIVING,
|
|
110
|
+
label: 'Archivage',
|
|
111
|
+
color: 'grey lighten-1',
|
|
112
|
+
icon: null,
|
|
113
|
+
},
|
|
114
|
+
UNARCHIVING: {
|
|
115
|
+
id: LogType.UNARCHIVING,
|
|
116
|
+
label: 'Désarchivage',
|
|
117
|
+
color: 'grey lighten-2',
|
|
118
|
+
icon: null,
|
|
119
|
+
},
|
|
120
|
+
PAYMENT_DELETED: {
|
|
121
|
+
id: LogType.PAYMENT_DELETED,
|
|
122
|
+
label: 'Paiement supprimé',
|
|
123
|
+
color: 'red',
|
|
124
|
+
icon: null,
|
|
125
|
+
},
|
|
126
|
+
LOGIN: {
|
|
127
|
+
id: LogType.LOGIN,
|
|
128
|
+
label: 'Connexion',
|
|
129
|
+
color: 'grey darken-2',
|
|
130
|
+
icon: null,
|
|
131
|
+
},
|
|
132
|
+
PAUSE: {
|
|
133
|
+
id: LogType.PAUSE,
|
|
134
|
+
label: 'Pause',
|
|
135
|
+
color: 'grey darken-2',
|
|
136
|
+
icon: null,
|
|
137
|
+
},
|
|
138
|
+
DAY_END: {
|
|
139
|
+
id: LogType.DAY_END,
|
|
140
|
+
label: 'Journée terminée',
|
|
141
|
+
color: 'grey darken-2',
|
|
142
|
+
icon: null,
|
|
143
|
+
},
|
|
144
|
+
GENERIC_ACCOUNT: {
|
|
145
|
+
id: LogType.GENERIC_ACCOUNT,
|
|
146
|
+
label: 'Plan comptable générique',
|
|
147
|
+
color: 'purple darken-4',
|
|
148
|
+
icon: null,
|
|
149
|
+
},
|
|
150
|
+
BANK_ACCOUNT_FUSION: {
|
|
151
|
+
id: LogType.BANK_ACCOUNT_FUSION,
|
|
152
|
+
label: 'Fusion compte bancaire',
|
|
153
|
+
color: 'purple',
|
|
154
|
+
icon: null,
|
|
155
|
+
},
|
|
156
|
+
IMPORT: {
|
|
157
|
+
id: LogType.IMPORT,
|
|
158
|
+
label: 'Importation',
|
|
159
|
+
color: 'cyan darken-1',
|
|
160
|
+
icon: null,
|
|
161
|
+
},
|
|
162
|
+
PAUSE_END: {
|
|
163
|
+
id: LogType.PAUSE_END,
|
|
164
|
+
label: 'Pause terminée',
|
|
165
|
+
color: 'cyan darken-1',
|
|
166
|
+
icon: null,
|
|
167
|
+
},
|
|
168
|
+
UNPAID: {
|
|
169
|
+
id: LogType.UNPAID,
|
|
170
|
+
label: 'Impayé',
|
|
171
|
+
color: 'red lighten-2',
|
|
172
|
+
icon: null,
|
|
173
|
+
},
|
|
174
|
+
DELETE: {
|
|
175
|
+
id: LogType.DELETE,
|
|
176
|
+
label: 'Suppression',
|
|
177
|
+
color: 'cyan darken-1',
|
|
178
|
+
icon: null,
|
|
179
|
+
},
|
|
180
|
+
REGULATION_DELETE: {
|
|
181
|
+
id: LogType.REGULATION_DELETE,
|
|
182
|
+
label: 'Suppression régule',
|
|
183
|
+
color: '#c21530',
|
|
184
|
+
icon: null,
|
|
185
|
+
},
|
|
186
|
+
TERMINATION: {
|
|
187
|
+
id: LogType.TERMINATION,
|
|
188
|
+
label: 'Résiliation',
|
|
189
|
+
color: 'cyan darken-1',
|
|
190
|
+
icon: null,
|
|
191
|
+
},
|
|
192
|
+
CHECKLIST: {
|
|
193
|
+
id: LogType.CHECKLIST,
|
|
194
|
+
label: 'Checklist',
|
|
195
|
+
color: 'cyan darken-1',
|
|
196
|
+
icon: null,
|
|
197
|
+
},
|
|
198
|
+
TRANSACTION_DELETE: {
|
|
199
|
+
id: LogType.TRANSACTION_DELETE,
|
|
200
|
+
label: 'Suppression de transaction',
|
|
201
|
+
color: 'red darken-3',
|
|
202
|
+
icon: null,
|
|
203
|
+
},
|
|
204
|
+
INPI_DELETE: {
|
|
205
|
+
id: LogType.INPI_DELETE,
|
|
206
|
+
label: 'Suppression INPI',
|
|
207
|
+
color: 'red darken-2',
|
|
208
|
+
icon: null,
|
|
209
|
+
},
|
|
210
|
+
VALIDATE_CALENDAR: {
|
|
211
|
+
id: LogType.VALIDATE_CALENDAR,
|
|
212
|
+
label: 'Validation de journée',
|
|
213
|
+
color: 'green lighten-1',
|
|
214
|
+
icon: null,
|
|
215
|
+
},
|
|
216
|
+
INACTIVITY: {
|
|
217
|
+
id: LogType.INACTIVITY,
|
|
218
|
+
label: 'Incativité',
|
|
219
|
+
color: 'red darken-2',
|
|
220
|
+
icon: null,
|
|
221
|
+
},
|
|
222
|
+
SOCIAL: {
|
|
223
|
+
id: LogType.SOCIAL,
|
|
224
|
+
label: 'Social',
|
|
225
|
+
color: 'cyan darken-2',
|
|
226
|
+
icon: null,
|
|
227
|
+
},
|
|
228
|
+
CONSTITUTION: {
|
|
229
|
+
id: LogType.CONSTITUTION,
|
|
230
|
+
label: 'Constitution',
|
|
231
|
+
color: 'blue-grey lighten-1',
|
|
232
|
+
icon: null,
|
|
233
|
+
},
|
|
234
|
+
APPROBATION: {
|
|
235
|
+
id: LogType.APPROBATION,
|
|
236
|
+
label: 'Approbation',
|
|
237
|
+
color: 'blue-grey lighten-2',
|
|
238
|
+
icon: null,
|
|
239
|
+
},
|
|
240
|
+
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { IUser } from './IUser';
|
|
2
2
|
import { ISociety } from './ISociety';
|
|
3
3
|
import { IExercice } from './IExercice';
|
|
4
|
-
import { ILogType } from './ILogType';
|
|
5
4
|
|
|
6
5
|
// logs
|
|
7
6
|
export interface ILog {
|
|
@@ -23,5 +22,4 @@ export interface ILog {
|
|
|
23
22
|
user: IUser;
|
|
24
23
|
society: ISociety;
|
|
25
24
|
exercice: IExercice;
|
|
26
|
-
typeLog: ILogType;
|
|
27
25
|
}
|
|
@@ -53,6 +53,7 @@ import {
|
|
|
53
53
|
IAccountsSocieties,
|
|
54
54
|
IUnpaidCallHistory,
|
|
55
55
|
IAccountingFile,
|
|
56
|
+
IThirdPartySociety,
|
|
56
57
|
} from '../..';
|
|
57
58
|
import { IBrandType } from './IBrandType';
|
|
58
59
|
import { IFile } from './IFile';
|
|
@@ -159,6 +160,7 @@ export interface ISociety {
|
|
|
159
160
|
accounts?: IAccount[];
|
|
160
161
|
accountsSocieties?: IAccountsSocieties[];
|
|
161
162
|
comments?: IComment[];
|
|
163
|
+
thirdPartiesSociety?: IThirdPartySociety[];
|
|
162
164
|
thirdParty?: IThirdParty[];
|
|
163
165
|
reports?: IReport[];
|
|
164
166
|
connectors?: IConnector[];
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { IThirdParty } from './IThirdParty';
|
|
2
|
+
|
|
1
3
|
// thirdPartySocieties
|
|
2
4
|
export interface IThirdPartySociety {
|
|
3
5
|
id?: number;
|
|
@@ -6,4 +8,7 @@ export interface IThirdPartySociety {
|
|
|
6
8
|
isHidden: boolean;
|
|
7
9
|
createdAt?: Date | null;
|
|
8
10
|
updatedAt?: Date | null;
|
|
11
|
+
|
|
12
|
+
// associations
|
|
13
|
+
thirdParty?: IThirdParty;
|
|
9
14
|
}
|