@silexpert/core 1.3.205-5 → 1.3.205-7
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/User.js.map +1 -1
- package/dist/cjs/types/Enum/UsersHistory.d.ts +2 -1
- package/dist/cjs/types/Enum/UsersHistory.d.ts.map +1 -1
- package/dist/cjs/types/Enum/UsersHistory.js +3 -0
- package/dist/cjs/types/Enum/UsersHistory.js.map +1 -1
- package/dist/cjs/types/Interface/api/team/UpdateTeamsForUser.d.ts +1 -1
- package/dist/cjs/types/Interface/api/team/UpdateTeamsForUser.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/team/UpdateTeamsForUser.js +5 -4
- package/dist/cjs/types/Interface/api/team/UpdateTeamsForUser.js.map +1 -1
- package/dist/cjs/types/Interface/api/user/UpdateCoworker.d.ts +1 -0
- package/dist/cjs/types/Interface/api/user/UpdateCoworker.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/user/UpdateCoworker.js +6 -0
- package/dist/cjs/types/Interface/api/user/UpdateCoworker.js.map +1 -1
- package/dist/cjs/types/Interface/api/usersHistory/Create.d.ts +2 -1
- package/dist/cjs/types/Interface/api/usersHistory/Create.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/usersHistory/Create.js +5 -0
- package/dist/cjs/types/Interface/api/usersHistory/Create.js.map +1 -1
- package/dist/cjs/types/Interface/api/usersHistory/Update.d.ts +2 -1
- package/dist/cjs/types/Interface/api/usersHistory/Update.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/usersHistory/Update.js +5 -0
- package/dist/cjs/types/Interface/api/usersHistory/Update.js.map +1 -1
- package/dist/cjs/types/Interface/api/webex/GetWebinarsParams.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/webex/GetWebinarsParams.js +10 -5
- package/dist/cjs/types/Interface/api/webex/GetWebinarsParams.js.map +1 -1
- package/dist/cjs/types/Interface/models/IUsersHistory.d.ts +7 -1
- package/dist/cjs/types/Interface/models/IUsersHistory.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IUsersHistory.js.map +1 -1
- package/dist/cjs/utils/societyApproval.d.ts.map +1 -1
- package/dist/cjs/utils/societyApproval.js +9 -2
- package/dist/cjs/utils/societyApproval.js.map +1 -1
- package/dist/mjs/api/resources/User.js.map +1 -1
- package/dist/mjs/types/Enum/UsersHistory.d.ts +2 -1
- package/dist/mjs/types/Enum/UsersHistory.d.ts.map +1 -1
- package/dist/mjs/types/Enum/UsersHistory.js +3 -0
- package/dist/mjs/types/Enum/UsersHistory.js.map +1 -1
- package/dist/mjs/types/Interface/api/team/UpdateTeamsForUser.d.ts +1 -1
- package/dist/mjs/types/Interface/api/team/UpdateTeamsForUser.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/team/UpdateTeamsForUser.js +7 -6
- package/dist/mjs/types/Interface/api/team/UpdateTeamsForUser.js.map +1 -1
- package/dist/mjs/types/Interface/api/user/UpdateCoworker.d.ts +1 -0
- package/dist/mjs/types/Interface/api/user/UpdateCoworker.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/user/UpdateCoworker.js +7 -0
- package/dist/mjs/types/Interface/api/user/UpdateCoworker.js.map +1 -1
- package/dist/mjs/types/Interface/api/usersHistory/Create.d.ts +2 -1
- package/dist/mjs/types/Interface/api/usersHistory/Create.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/usersHistory/Create.js +6 -0
- package/dist/mjs/types/Interface/api/usersHistory/Create.js.map +1 -1
- package/dist/mjs/types/Interface/api/usersHistory/Update.d.ts +2 -1
- package/dist/mjs/types/Interface/api/usersHistory/Update.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/usersHistory/Update.js +6 -0
- package/dist/mjs/types/Interface/api/usersHistory/Update.js.map +1 -1
- package/dist/mjs/types/Interface/api/webex/GetWebinarsParams.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/webex/GetWebinarsParams.js +12 -7
- package/dist/mjs/types/Interface/api/webex/GetWebinarsParams.js.map +1 -1
- package/dist/mjs/types/Interface/models/IUsersHistory.d.ts +7 -1
- package/dist/mjs/types/Interface/models/IUsersHistory.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IUsersHistory.js.map +1 -1
- package/dist/mjs/utils/societyApproval.d.ts.map +1 -1
- package/dist/mjs/utils/societyApproval.js +10 -1
- package/dist/mjs/utils/societyApproval.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/User.ts +2 -2
- package/ts/types/Enum/UsersHistory.ts +4 -0
- package/ts/types/Interface/api/team/UpdateTeamsForUser.ts +5 -4
- package/ts/types/Interface/api/user/UpdateCoworker.ts +5 -0
- package/ts/types/Interface/api/usersHistory/Create.ts +5 -3
- package/ts/types/Interface/api/usersHistory/Update.ts +5 -1
- package/ts/types/Interface/api/webex/GetWebinarsParams.ts +12 -7
- package/ts/types/Interface/models/IUsersHistory.ts +7 -1
- package/ts/utils/societyApproval.ts +10 -1
|
@@ -93,6 +93,14 @@ export function buildApprovalTemplateData(existingApproval: ISocietyApproval, st
|
|
|
93
93
|
const brand = getBrand();
|
|
94
94
|
return {
|
|
95
95
|
// Variables globales
|
|
96
|
+
rates: {
|
|
97
|
+
flatTax: 0.314,
|
|
98
|
+
flatLevy: 0.128, //prelevement forfaitaire
|
|
99
|
+
csg: 0.106,
|
|
100
|
+
solidarity: 0.075,
|
|
101
|
+
crds: 0.005,
|
|
102
|
+
socialSecurityContributions: 0.186, //= csg + solidarity + crds
|
|
103
|
+
},
|
|
96
104
|
style,
|
|
97
105
|
yearInText,
|
|
98
106
|
dayAndMonthInText,
|
|
@@ -138,7 +146,8 @@ export function buildApprovalTemplateData(existingApproval: ISocietyApproval, st
|
|
|
138
146
|
...existingApproval?.exercice?.society,
|
|
139
147
|
cityOfGreffe: getCityOfGreffeName(existingApproval?.exercice?.society?.idCityOfGreffe).toUpperCase(),
|
|
140
148
|
siren: existingApproval?.exercice?.society?.siret
|
|
141
|
-
? siretToSiren(existingApproval.exercice.society.siret)?.replace(/(\d{3})(\d{3})(\d{3})/, '$1 $2 $3') ??
|
|
149
|
+
? (siretToSiren(existingApproval.exercice.society.siret)?.replace(/(\d{3})(\d{3})(\d{3})/, '$1 $2 $3') ??
|
|
150
|
+
null)
|
|
142
151
|
: null,
|
|
143
152
|
},
|
|
144
153
|
endDate: dayjs(existingApproval?.exercice?.endDate).locale('fr').format('DD MMMM YYYY').toLowerCase(),
|