@silexpert/core 1.3.94-7 → 1.3.94-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/cjs/api/resources/BankDedup.js +1 -1
- package/dist/cjs/api/resources/BankDedup.js.map +1 -1
- package/dist/cjs/api/resources/Society.d.ts +2 -1
- package/dist/cjs/api/resources/Society.d.ts.map +1 -1
- package/dist/cjs/api/resources/Society.js +3 -0
- package/dist/cjs/api/resources/Society.js.map +1 -1
- package/dist/cjs/api/resources/User.js +1 -1
- package/dist/cjs/api/resources/User.js.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheet.d.ts +2 -2
- package/dist/cjs/types/Enum/BalanceSheet.js +2 -2
- package/dist/cjs/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/cjs/types/Interface/api/calendarEvent/updateCalendarEvent.d.ts +1 -0
- package/dist/cjs/types/Interface/api/calendarEvent/updateCalendarEvent.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/calendarEvent/updateCalendarEvent.js +4 -0
- package/dist/cjs/types/Interface/api/calendarEvent/updateCalendarEvent.js.map +1 -1
- package/dist/cjs/types/Interface/api/society/QueryToArchived.d.ts +5 -0
- package/dist/cjs/types/Interface/api/society/QueryToArchived.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/society/QueryToArchived.js +25 -0
- package/dist/cjs/types/Interface/api/society/QueryToArchived.js.map +1 -0
- package/dist/cjs/types/Interface/models/IBankDedup.d.ts +9 -10
- package/dist/cjs/types/Interface/models/IBankDedup.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IBankDedup.js.map +1 -1
- package/dist/cjs/types/index.d.ts +1 -0
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +1 -0
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/mjs/api/resources/BankDedup.js +1 -1
- package/dist/mjs/api/resources/BankDedup.js.map +1 -1
- package/dist/mjs/api/resources/Society.d.ts +2 -1
- package/dist/mjs/api/resources/Society.d.ts.map +1 -1
- package/dist/mjs/api/resources/Society.js +3 -0
- package/dist/mjs/api/resources/Society.js.map +1 -1
- package/dist/mjs/api/resources/User.js +1 -1
- package/dist/mjs/api/resources/User.js.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheet.d.ts +2 -2
- package/dist/mjs/types/Enum/BalanceSheet.js +2 -2
- package/dist/mjs/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/mjs/types/Interface/api/calendarEvent/updateCalendarEvent.d.ts +1 -0
- package/dist/mjs/types/Interface/api/calendarEvent/updateCalendarEvent.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/calendarEvent/updateCalendarEvent.js +5 -0
- package/dist/mjs/types/Interface/api/calendarEvent/updateCalendarEvent.js.map +1 -1
- package/dist/mjs/types/Interface/api/society/QueryToArchived.d.ts +5 -0
- package/dist/mjs/types/Interface/api/society/QueryToArchived.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/society/QueryToArchived.js +22 -0
- package/dist/mjs/types/Interface/api/society/QueryToArchived.js.map +1 -0
- package/dist/mjs/types/Interface/models/IBankDedup.d.ts +9 -10
- package/dist/mjs/types/Interface/models/IBankDedup.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IBankDedup.js.map +1 -1
- package/dist/mjs/types/index.d.ts +1 -0
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +1 -0
- package/dist/mjs/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/BankDedup.ts +1 -1
- package/ts/api/resources/Society.ts +5 -0
- package/ts/api/resources/User.ts +1 -1
- package/ts/types/Enum/BalanceSheet.ts +2 -2
- package/ts/types/Interface/api/calendarEvent/updateCalendarEvent.ts +3 -0
- package/ts/types/Interface/api/society/QueryToArchived.ts +10 -0
- package/ts/types/Interface/models/IBankDedup.ts +14 -15
- package/ts/types/index.ts +1 -0
package/ts/api/resources/User.ts
CHANGED
|
@@ -30,7 +30,7 @@ export class User extends Resource {
|
|
|
30
30
|
return this.axios.$put('user/confirm', params);
|
|
31
31
|
}
|
|
32
32
|
resendConfirmationEmailLink(params: QueryResendConfirmationLink): Promise<boolean> {
|
|
33
|
-
return this.axios.$put(`user/${params.id}/
|
|
33
|
+
return this.axios.$put(`user/${params.id}/send-confirmation-mail`);
|
|
34
34
|
}
|
|
35
35
|
create(data: CreateUser): Promise<IUser> {
|
|
36
36
|
return this.axios.$post('user/create', data);
|
|
@@ -164,7 +164,7 @@ export const BalanceSheetDetails = [
|
|
|
164
164
|
text: 'Standby',
|
|
165
165
|
color: 'grey lighten-1',
|
|
166
166
|
textColor: 'grey--text',
|
|
167
|
-
forRoles: [['admin'], ['super_admin'], ['controle_interne']],
|
|
167
|
+
forRoles: [['admin'], ['super_admin'], ['controle_interne'], ['satisfaction']],
|
|
168
168
|
},
|
|
169
169
|
{
|
|
170
170
|
text: 'Impayé',
|
|
@@ -229,7 +229,7 @@ export const BalanceSheetDetails = [
|
|
|
229
229
|
value: BalanceSheetState.FIX_IN_PROGRESS,
|
|
230
230
|
color: 'blue darken-4',
|
|
231
231
|
textColor: 'blue--text',
|
|
232
|
-
forRoles: [['front_office'], ['expert']],
|
|
232
|
+
forRoles: [['front_office'], ['expert'], ['satisfaction']],
|
|
233
233
|
},
|
|
234
234
|
{
|
|
235
235
|
text: "Accepté SIE en l'état",
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IsOptional, IsString } from 'class-validator';
|
|
2
|
+
import { ApiPropertyOptional } from '../../../../utils';
|
|
3
|
+
import { RequiredQueryPaginate } from '../BasePaginate';
|
|
4
|
+
|
|
5
|
+
export class QueryToArchivedSociety extends RequiredQueryPaginate {
|
|
6
|
+
@ApiPropertyOptional()
|
|
7
|
+
@IsOptional()
|
|
8
|
+
@IsString()
|
|
9
|
+
search?: string;
|
|
10
|
+
}
|
|
@@ -8,11 +8,11 @@ export interface BankTx {
|
|
|
8
8
|
id: string; // id interne généré
|
|
9
9
|
label: string;
|
|
10
10
|
dateValue: string; // YYYY-MM-DD
|
|
11
|
-
credit: number;
|
|
12
|
-
debit: number;
|
|
11
|
+
credit: number;
|
|
12
|
+
debit: number;
|
|
13
13
|
sign: 1 | -1; // 1 = crédit net, -1 = débit net
|
|
14
14
|
amount: number; // valeur absolue du mouvement (en positif)
|
|
15
|
-
cents: number; //
|
|
15
|
+
cents: number; // montant en centimes pour calculs exacts
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
export interface DuplicateGroup {
|
|
@@ -21,7 +21,7 @@ export interface DuplicateGroup {
|
|
|
21
21
|
amount: number; // montant commun
|
|
22
22
|
cents: number; // montant en centimes
|
|
23
23
|
sign: 1 | -1; // signe commun
|
|
24
|
-
confidence: number; // score de confiance [0
|
|
24
|
+
confidence: number; // score de confiance [0 - 1]
|
|
25
25
|
method: 'exact' | 'fuzzy_high' | 'fuzzy_medium' | 'fuzzy_low'; // méthode de détection
|
|
26
26
|
}
|
|
27
27
|
|
|
@@ -35,20 +35,18 @@ export interface IBankDedupResult {
|
|
|
35
35
|
diffAfter: number; // target - finalAfterDedup (DOIT être exactement 0, aucune tolérance)
|
|
36
36
|
removedGroups: {
|
|
37
37
|
id: string;
|
|
38
|
-
|
|
38
|
+
confidence: number;
|
|
39
|
+
method: string;
|
|
40
|
+
amount: number;
|
|
41
|
+
transactionCount: number;
|
|
42
|
+
isSelected: boolean;
|
|
43
|
+
transactions: {
|
|
39
44
|
id: string;
|
|
40
45
|
label: string;
|
|
41
|
-
amount: number;
|
|
42
46
|
dateValue: string;
|
|
47
|
+
isKept: boolean;
|
|
48
|
+
isCredit: boolean;
|
|
43
49
|
}[];
|
|
44
|
-
keptTransaction: {
|
|
45
|
-
id: string;
|
|
46
|
-
label: string;
|
|
47
|
-
amount: number;
|
|
48
|
-
dateValue: string;
|
|
49
|
-
};
|
|
50
|
-
confidence: number;
|
|
51
|
-
method: string;
|
|
52
50
|
}[];
|
|
53
51
|
removedCount: number;
|
|
54
52
|
keptCount: number;
|
|
@@ -65,6 +63,7 @@ export interface IBankDedupResult {
|
|
|
65
63
|
label: string;
|
|
66
64
|
dateValue: string;
|
|
67
65
|
isKept: boolean;
|
|
66
|
+
isCredit: boolean;
|
|
68
67
|
}[];
|
|
69
68
|
}[];
|
|
70
69
|
debug: {
|
|
@@ -85,7 +84,7 @@ export interface IBankDedupImpossible {
|
|
|
85
84
|
diffBefore?: number;
|
|
86
85
|
bestAttempt?: {
|
|
87
86
|
finalAfterDedup: number;
|
|
88
|
-
diffAfter: number;
|
|
87
|
+
diffAfter: number;
|
|
89
88
|
removedCount: number;
|
|
90
89
|
};
|
|
91
90
|
stats?: {
|
package/ts/types/index.ts
CHANGED
|
@@ -1057,6 +1057,7 @@ export * from './Interface/api/accountsSectors/Query';
|
|
|
1057
1057
|
export * from './Interface/api/visualizedInformation/Query';
|
|
1058
1058
|
export * from './Interface/api/visualizedInformation/Update';
|
|
1059
1059
|
export * from './Interface/api/society/QueryArchived';
|
|
1060
|
+
export * from './Interface/api/society/QueryToArchived';
|
|
1060
1061
|
export * from './Interface/api/society/QueryUnpaid';
|
|
1061
1062
|
export * from './Interface/api/vatControl/CreateVatControl';
|
|
1062
1063
|
export * from './Interface/api/vatControl/QueryVatControl';
|