@silexpert/core 0.4.184 → 0.4.186
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/Employee.d.ts +4 -2
- package/es/api/resources/Employee.d.ts.map +1 -1
- package/es/api/resources/Employee.js +19 -1
- package/es/api/resources/Employee.js.map +1 -1
- package/es/api/resources/Mail.d.ts.map +1 -1
- package/es/api/resources/Mail.js +1 -1
- package/es/api/resources/Mail.js.map +1 -1
- package/es/api/resources/SheetMonthSchedule.js +1 -1
- package/es/api/resources/SheetMonthSchedule.js.map +1 -1
- package/es/api/resources/Society.d.ts +1 -0
- package/es/api/resources/Society.d.ts.map +1 -1
- package/es/api/resources/Society.js +3 -0
- package/es/api/resources/Society.js.map +1 -1
- package/es/api/resources/User.d.ts +3 -1
- package/es/api/resources/User.d.ts.map +1 -1
- package/es/api/resources/User.js +6 -0
- package/es/api/resources/User.js.map +1 -1
- package/es/types/Enum/BrandClementine.d.ts +46 -4
- package/es/types/Enum/BrandClementine.d.ts.map +1 -1
- package/es/types/Enum/BrandClementine.js +45 -0
- package/es/types/Enum/BrandClementine.js.map +1 -1
- package/es/types/Enum/BrandComptalib.js +20 -20
- package/es/types/Enum/BrandComptalib.js.map +1 -1
- package/es/types/Enum/BrandLegalstart.d.ts +15 -0
- package/es/types/Enum/BrandLegalstart.d.ts.map +1 -1
- package/es/types/Enum/BrandLegalstart.js +15 -0
- package/es/types/Enum/BrandLegalstart.js.map +1 -1
- package/es/types/Interface/api/employee/QueryCreateEmployee.d.ts +7 -0
- package/es/types/Interface/api/employee/QueryCreateEmployee.d.ts.map +1 -0
- package/es/types/Interface/api/employee/QueryCreateEmployee.js +2 -0
- package/es/types/Interface/api/employee/QueryCreateEmployee.js.map +1 -0
- package/es/types/Interface/api/mail/UpdateMailParams.d.ts +8 -0
- package/es/types/Interface/api/mail/UpdateMailParams.d.ts.map +1 -0
- package/es/types/Interface/api/mail/UpdateMailParams.js +2 -0
- package/es/types/Interface/api/mail/UpdateMailParams.js.map +1 -0
- package/es/types/Interface/api/user/QueryGetAllFromSociety.d.ts +5 -0
- package/es/types/Interface/api/user/QueryGetAllFromSociety.d.ts.map +1 -0
- package/es/types/Interface/api/user/QueryGetAllFromSociety.js +31 -0
- package/es/types/Interface/api/user/QueryGetAllFromSociety.js.map +1 -0
- package/es/types/Interface/api/webmail/CreateMailFromLambda.d.ts +0 -3
- package/es/types/Interface/api/webmail/CreateMailFromLambda.d.ts.map +1 -1
- package/es/types/Interface/api/webmail/CreateMailFromLambda.js +0 -5
- package/es/types/Interface/api/webmail/CreateMailFromLambda.js.map +1 -1
- package/es/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.d.ts +3 -0
- package/es/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.d.ts.map +1 -1
- package/es/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.js +22 -1
- package/es/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.js.map +1 -1
- package/es/types/index.d.ts +4 -0
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +4 -0
- package/es/types/index.js.map +1 -1
- package/es/utils/webmail.d.ts.map +1 -1
- package/es/utils/webmail.js +15 -3
- package/es/utils/webmail.js.map +1 -1
- package/js/api/resources/Employee.js +25 -1
- package/js/api/resources/Employee.js.map +1 -1
- package/js/api/resources/Mail.js +2 -1
- package/js/api/resources/Mail.js.map +1 -1
- package/js/api/resources/SheetMonthSchedule.js +1 -1
- package/js/api/resources/SheetMonthSchedule.js.map +1 -1
- package/js/api/resources/Society.js +4 -0
- package/js/api/resources/Society.js.map +1 -1
- package/js/api/resources/User.js +10 -0
- package/js/api/resources/User.js.map +1 -1
- package/js/types/Enum/BrandClementine.js +45 -0
- package/js/types/Enum/BrandClementine.js.map +1 -1
- package/js/types/Enum/BrandComptalib.js +20 -20
- package/js/types/Enum/BrandComptalib.js.map +1 -1
- package/js/types/Enum/BrandLegalstart.js +15 -0
- package/js/types/Enum/BrandLegalstart.js.map +1 -1
- package/js/types/Interface/api/employee/QueryCreateEmployee.js +6 -0
- package/js/types/Interface/api/employee/QueryCreateEmployee.js.map +1 -0
- package/js/types/Interface/api/mail/UpdateMailParams.js +6 -0
- package/js/types/Interface/api/mail/UpdateMailParams.js.map +1 -0
- package/js/types/Interface/api/user/QueryGetAllFromSociety.js +39 -0
- package/js/types/Interface/api/user/QueryGetAllFromSociety.js.map +1 -0
- package/js/types/Interface/api/webmail/CreateMailFromLambda.js +0 -2
- package/js/types/Interface/api/webmail/CreateMailFromLambda.js.map +1 -1
- package/js/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.js +8 -0
- package/js/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.js.map +1 -1
- package/js/types/index.js +48 -0
- package/js/types/index.js.map +1 -1
- package/js/utils/webmail.js +11 -3
- package/js/utils/webmail.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Employee.ts +24 -3
- package/ts/api/resources/Mail.ts +1 -0
- package/ts/api/resources/SheetMonthSchedule.ts +1 -1
- package/ts/api/resources/Society.ts +3 -0
- package/ts/api/resources/User.ts +7 -1
- package/ts/types/Enum/BrandClementine.ts +45 -0
- package/ts/types/Enum/BrandComptalib.ts +20 -20
- package/ts/types/Enum/BrandLegalstart.ts +15 -0
- package/ts/types/Interface/api/employee/QueryCreateEmployee.ts +7 -0
- package/ts/types/Interface/api/mail/UpdateMailParams.ts +8 -0
- package/ts/types/Interface/api/user/QueryGetAllFromSociety.ts +19 -0
- package/ts/types/Interface/api/webmail/CreateMailFromLambda.ts +3 -3
- package/ts/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.ts +19 -1
- package/ts/types/index.ts +4 -0
- package/ts/utils/webmail.ts +11 -3
|
@@ -194,7 +194,7 @@ export const BrandComptalib = [
|
|
|
194
194
|
rcs: '891 501 181',
|
|
195
195
|
phone: '03 83 93 14 14',
|
|
196
196
|
vatIntracom: 'FR58891501181',
|
|
197
|
-
email: '
|
|
197
|
+
email: 'bonjour@comptalib.com',
|
|
198
198
|
},
|
|
199
199
|
},
|
|
200
200
|
{
|
|
@@ -209,22 +209,22 @@ export const BrandComptalib = [
|
|
|
209
209
|
juridique: '03 83 25 82 20',
|
|
210
210
|
},
|
|
211
211
|
listMails: {
|
|
212
|
-
administratif: '
|
|
213
|
-
app: '
|
|
214
|
-
bonjour: '
|
|
215
|
-
contact: '
|
|
216
|
-
facturation: '
|
|
217
|
-
feedback: '
|
|
218
|
-
juridique: '
|
|
219
|
-
informatique: '
|
|
220
|
-
msd: '
|
|
221
|
-
noreply: '
|
|
222
|
-
qualite: '
|
|
223
|
-
paiement: '
|
|
224
|
-
social: '
|
|
225
|
-
support: '
|
|
226
|
-
tva: '
|
|
227
|
-
wb: '
|
|
212
|
+
administratif: 'bonjour@aec54.com',
|
|
213
|
+
app: 'bonjour@aec54.com',
|
|
214
|
+
bonjour: 'bonjour@aec54.com',
|
|
215
|
+
contact: 'bonjour@aec54.com',
|
|
216
|
+
facturation: 'bonjour@aec54.com',
|
|
217
|
+
feedback: 'bonjour@aec54.com',
|
|
218
|
+
juridique: 'bonjour@aec54.com',
|
|
219
|
+
informatique: 'bonjour@aec54.com',
|
|
220
|
+
msd: 'bonjour@aec54.com',
|
|
221
|
+
noreply: 'bonjour@aec54.com',
|
|
222
|
+
qualite: 'bonjour@aec54.com',
|
|
223
|
+
paiement: 'bonjour@aec54.com',
|
|
224
|
+
social: 'bonjour@aec54.com',
|
|
225
|
+
support: 'bonjour@aec54.com',
|
|
226
|
+
tva: 'bonjour@aec54.com',
|
|
227
|
+
wb: 'bonjour@aec54.com',
|
|
228
228
|
},
|
|
229
229
|
companyInformation: {
|
|
230
230
|
ape: '6920Z',
|
|
@@ -245,11 +245,11 @@ export const BrandComptalib = [
|
|
|
245
245
|
miniLogoUrl: 'logo-aec.png',
|
|
246
246
|
hiddenPages: [],
|
|
247
247
|
recaptchaSecretKey: '6Le0o3kaAAAAAIEcSOib77JdK_W3cyIilK-p2yOG',
|
|
248
|
-
urlApp: 'https://app.
|
|
248
|
+
urlApp: 'https://app.aec54.com/',
|
|
249
249
|
urlApi1: 'https://api.comptalib.com',
|
|
250
250
|
urlApi2: 'https://api-next.comptalib.com',
|
|
251
251
|
urlExpert: 'https://pro.comptalib.com',
|
|
252
|
-
urlClient: 'https://www.
|
|
252
|
+
urlClient: 'https://www.aec54.com/',
|
|
253
253
|
bank: {
|
|
254
254
|
IBAN: '',
|
|
255
255
|
BIC: '',
|
|
@@ -269,7 +269,7 @@ export const BrandComptalib = [
|
|
|
269
269
|
rcs: '315 519 587',
|
|
270
270
|
phone: '03 83 25 82 20',
|
|
271
271
|
vatIntracom: 'FR84315519587',
|
|
272
|
-
email: '
|
|
272
|
+
email: 'bonjour@aec54.com',
|
|
273
273
|
},
|
|
274
274
|
},
|
|
275
275
|
];
|
|
@@ -58,5 +58,20 @@ export const BrandLegalstart = [
|
|
|
58
58
|
Name: 'Expertise Choix B',
|
|
59
59
|
Id: 'FR91ZZZ617135',
|
|
60
60
|
},
|
|
61
|
+
internalInvoicing: {
|
|
62
|
+
statut: 'SAS',
|
|
63
|
+
name: 'EXPERTISE CHOIX B',
|
|
64
|
+
address: '9, avenue du Rhin',
|
|
65
|
+
zipCode: '54520',
|
|
66
|
+
city: 'LAXOU',
|
|
67
|
+
country: 'FRANCE',
|
|
68
|
+
montantCapital: '500 000',
|
|
69
|
+
siret: '752566687',
|
|
70
|
+
ape: '6920Z',
|
|
71
|
+
rcs: '752 566 687',
|
|
72
|
+
phone: '03 83 93 14 14',
|
|
73
|
+
vatIntracom: 'FR47752566687',
|
|
74
|
+
email: 'facturation@compta-clementine.fr',
|
|
75
|
+
},
|
|
61
76
|
},
|
|
62
77
|
];
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ApiProperty } from '../../../../utils';
|
|
2
|
+
|
|
3
|
+
export class QueryGetAllFromSociety {
|
|
4
|
+
@ApiProperty({
|
|
5
|
+
description: 'id of the specified society',
|
|
6
|
+
required: true,
|
|
7
|
+
type: Number,
|
|
8
|
+
example: 100,
|
|
9
|
+
})
|
|
10
|
+
idSociety: number;
|
|
11
|
+
|
|
12
|
+
@ApiProperty({
|
|
13
|
+
description: 'array of roles id needed to return list of users',
|
|
14
|
+
required: true,
|
|
15
|
+
type: Array,
|
|
16
|
+
example: [1, 13],
|
|
17
|
+
})
|
|
18
|
+
roles: number[];
|
|
19
|
+
}
|
|
@@ -7,9 +7,9 @@ import {
|
|
|
7
7
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
8
8
|
|
|
9
9
|
export class CreateMailFromLambda {
|
|
10
|
-
@ApiProperty()
|
|
11
|
-
@IsArray()
|
|
12
|
-
attachments: { [key: string]: any }[];
|
|
10
|
+
// @ApiProperty()
|
|
11
|
+
// @IsArray()
|
|
12
|
+
// attachments: { [key: string]: any }[];
|
|
13
13
|
|
|
14
14
|
@ApiProperty()
|
|
15
15
|
@IsObject()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
IsArray,
|
|
3
|
-
IsNumber, IsOptional, IsString,
|
|
3
|
+
IsNumber, IsOptional, IsString, IsInt,
|
|
4
4
|
} from 'class-validator';
|
|
5
5
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
6
6
|
import { TFile } from '../file/TFile';
|
|
@@ -44,4 +44,22 @@ export class MigrateParams {
|
|
|
44
44
|
@ApiProperty({ default: 50 })
|
|
45
45
|
@IsNumber()
|
|
46
46
|
limit: number;
|
|
47
|
+
|
|
48
|
+
@ApiPropertyOptional()
|
|
49
|
+
@IsOptional()
|
|
50
|
+
@IsNumber()
|
|
51
|
+
startId?: number;
|
|
52
|
+
|
|
53
|
+
@ApiPropertyOptional()
|
|
54
|
+
@IsOptional()
|
|
55
|
+
@IsNumber()
|
|
56
|
+
endId?: number;
|
|
57
|
+
|
|
58
|
+
@ApiPropertyOptional()
|
|
59
|
+
@IsOptional()
|
|
60
|
+
@IsArray()
|
|
61
|
+
@IsInt({
|
|
62
|
+
each: true,
|
|
63
|
+
})
|
|
64
|
+
listIdToForceImport?: number;
|
|
47
65
|
}
|
package/ts/types/index.ts
CHANGED
|
@@ -404,6 +404,7 @@ export * from './Enum/WebmailType';
|
|
|
404
404
|
export * from './Enum/WebmailFlag';
|
|
405
405
|
export * from './Enum/MailFlag';
|
|
406
406
|
export * from './Enum/Contract';
|
|
407
|
+
export * from './Enum/SalariesType';
|
|
407
408
|
|
|
408
409
|
// Interfaces API
|
|
409
410
|
export * from './Interface/api/jeDeclare/ReadJeDeclare';
|
|
@@ -434,6 +435,7 @@ export * from './Interface/api/accountingTransaction/GetTransactionsBetweenDates
|
|
|
434
435
|
export * from './Interface/api/accountingTransaction/QueryBankAccountSum';
|
|
435
436
|
export * from './Interface/api/user/QueryConfirm';
|
|
436
437
|
export * from './Interface/api/user/QuerySocieties';
|
|
438
|
+
export * from './Interface/api/user/QueryGetAllFromSociety';
|
|
437
439
|
export * from './Interface/api/user/QueryResendConfirmationLink';
|
|
438
440
|
export * from './Interface/api/user/CreateUser';
|
|
439
441
|
export * from './Interface/api/user/CreateCoworker';
|
|
@@ -454,6 +456,7 @@ export * from './Interface/api/mail/QueryGetAnsweringTimeByUser';
|
|
|
454
456
|
export * from './Interface/api/mail/QueryCountMail';
|
|
455
457
|
export * from './Interface/api/mail/UpdateMail';
|
|
456
458
|
export * from './Interface/api/mail/CreateMailParams';
|
|
459
|
+
export * from './Interface/api/mail/UpdateMailParams';
|
|
457
460
|
export * from './Interface/api/society/LegalFormSiren';
|
|
458
461
|
export * from './Interface/api/society/QuerySociety';
|
|
459
462
|
export * from './Interface/api/society/QueryPaginatedSociety';
|
|
@@ -529,6 +532,7 @@ export * from './Interface/api/promoCode/ReadDefaultPaginationPromoCode';
|
|
|
529
532
|
export * from './Interface/api/bankAccount/QueryBankAccount';
|
|
530
533
|
export * from './Interface/api/log/QueryLogPagination';
|
|
531
534
|
export * from './Interface/api/employee/QueryEmployeeSearch';
|
|
535
|
+
export * from './Interface/api/employee/QueryCreateEmployee';
|
|
532
536
|
|
|
533
537
|
// export * from './Interface/api/survey/QuerySurvey';
|
|
534
538
|
export * from './Interface/api/survey/ReadSurvey';
|
package/ts/utils/webmail.ts
CHANGED
|
@@ -2,12 +2,20 @@ import { Role } from '../types/Enum/Role';
|
|
|
2
2
|
|
|
3
3
|
const getIdRoleUsedForEmail = (listRoles: number[]): number => {
|
|
4
4
|
let idRole = Role.CUSTOMER_SUCCESS;
|
|
5
|
-
if (listRoles.includes(Role.FRONT_OFFICE)
|
|
5
|
+
if (listRoles.includes(Role.FRONT_OFFICE)) {
|
|
6
6
|
idRole = Role.FRONT_OFFICE;
|
|
7
|
-
} else if (listRoles.includes(Role.
|
|
8
|
-
idRole = Role.
|
|
7
|
+
} else if (listRoles.includes(Role.FRONT_OFFICE_EXPRESS)) {
|
|
8
|
+
idRole = Role.FRONT_OFFICE_EXPRESS;
|
|
9
|
+
} else if (listRoles.includes(Role.COMMERCIAL) || listRoles.includes(Role.COMMERCIAL_MANAGER)) {
|
|
10
|
+
idRole = Role.COMMERCIAL;
|
|
11
|
+
} else if (listRoles.includes(Role.EXPERT_ACCOUNTANT)) {
|
|
12
|
+
idRole = Role.EXPERT_ACCOUNTANT;
|
|
9
13
|
} else if (listRoles.includes(Role.MANAGER)) {
|
|
10
14
|
idRole = Role.MANAGER;
|
|
15
|
+
} else if (listRoles.includes(Role.SOCIAL)) {
|
|
16
|
+
idRole = Role.SOCIAL;
|
|
17
|
+
} else if (listRoles.includes(Role.JURIDIC)) {
|
|
18
|
+
idRole = Role.JURIDIC;
|
|
11
19
|
}
|
|
12
20
|
return idRole;
|
|
13
21
|
};
|