@silexpert/core 1.3.62 → 1.3.64
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/BudgetInsight.d.ts +2 -1
- package/dist/cjs/api/resources/BudgetInsight.d.ts.map +1 -1
- package/dist/cjs/api/resources/BudgetInsight.js +3 -0
- package/dist/cjs/api/resources/BudgetInsight.js.map +1 -1
- package/dist/cjs/api/resources/Connector.d.ts +3 -0
- package/dist/cjs/api/resources/Connector.d.ts.map +1 -1
- package/dist/cjs/api/resources/Connector.js +3 -0
- package/dist/cjs/api/resources/Connector.js.map +1 -1
- package/dist/cjs/types/Enum/Card.d.ts +23 -5
- package/dist/cjs/types/Enum/Card.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Card.js +31 -15
- package/dist/cjs/types/Enum/Card.js.map +1 -1
- package/dist/cjs/types/Interface/api/brevo/BrevoElement.d.ts +14 -0
- package/dist/cjs/types/Interface/api/brevo/BrevoElement.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/brevo/BrevoElement.js +25 -1
- package/dist/cjs/types/Interface/api/brevo/BrevoElement.js.map +1 -1
- package/dist/cjs/types/Interface/api/budgetInsight/Create.d.ts +4 -0
- package/dist/cjs/types/Interface/api/budgetInsight/Create.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/budgetInsight/Create.js +14 -1
- package/dist/cjs/types/Interface/api/budgetInsight/Create.js.map +1 -1
- package/dist/cjs/types/Interface/api/budgetInsight/Read.d.ts +37 -0
- package/dist/cjs/types/Interface/api/budgetInsight/Read.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/budgetInsight/Read.js.map +1 -1
- package/dist/cjs/utils/prestation.d.ts.map +1 -1
- package/dist/cjs/utils/prestation.js +9 -1
- package/dist/cjs/utils/prestation.js.map +1 -1
- package/dist/mjs/api/resources/BudgetInsight.d.ts +2 -1
- package/dist/mjs/api/resources/BudgetInsight.d.ts.map +1 -1
- package/dist/mjs/api/resources/BudgetInsight.js +3 -0
- package/dist/mjs/api/resources/BudgetInsight.js.map +1 -1
- package/dist/mjs/api/resources/Connector.d.ts +3 -0
- package/dist/mjs/api/resources/Connector.d.ts.map +1 -1
- package/dist/mjs/api/resources/Connector.js +3 -0
- package/dist/mjs/api/resources/Connector.js.map +1 -1
- package/dist/mjs/types/Enum/Card.d.ts +23 -5
- package/dist/mjs/types/Enum/Card.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Card.js +31 -15
- package/dist/mjs/types/Enum/Card.js.map +1 -1
- package/dist/mjs/types/Interface/api/brevo/BrevoElement.d.ts +14 -0
- package/dist/mjs/types/Interface/api/brevo/BrevoElement.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/brevo/BrevoElement.js +27 -0
- package/dist/mjs/types/Interface/api/brevo/BrevoElement.js.map +1 -1
- package/dist/mjs/types/Interface/api/budgetInsight/Create.d.ts +4 -0
- package/dist/mjs/types/Interface/api/budgetInsight/Create.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/budgetInsight/Create.js +16 -2
- package/dist/mjs/types/Interface/api/budgetInsight/Create.js.map +1 -1
- package/dist/mjs/types/Interface/api/budgetInsight/Read.d.ts +37 -0
- package/dist/mjs/types/Interface/api/budgetInsight/Read.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/budgetInsight/Read.js.map +1 -1
- package/dist/mjs/utils/prestation.d.ts.map +1 -1
- package/dist/mjs/utils/prestation.js +9 -1
- package/dist/mjs/utils/prestation.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/BudgetInsight.ts +6 -0
- package/ts/api/resources/Connector.ts +4 -0
- package/ts/types/Enum/Card.ts +31 -15
- package/ts/types/Interface/api/brevo/BrevoElement.ts +29 -1
- package/ts/types/Interface/api/budgetInsight/Create.ts +12 -2
- package/ts/types/Interface/api/budgetInsight/Read.ts +40 -0
- package/ts/utils/prestation.ts +9 -3
package/ts/utils/prestation.ts
CHANGED
|
@@ -199,9 +199,15 @@ const calculateScoringOfPrestation = (
|
|
|
199
199
|
|
|
200
200
|
if (
|
|
201
201
|
// If software prestation and annual payment then return 0 points
|
|
202
|
-
[
|
|
203
|
-
|
|
204
|
-
|
|
202
|
+
[
|
|
203
|
+
PrestationType.EXPERTISE,
|
|
204
|
+
PrestationType.SUPPORT,
|
|
205
|
+
PrestationType.PREMIUM,
|
|
206
|
+
PrestationType.CUSTOM_MADE,
|
|
207
|
+
PrestationType.GESTION_IMMO,
|
|
208
|
+
PrestationType.EI,
|
|
209
|
+
PrestationType.MICRO,
|
|
210
|
+
].includes(idPrestationType) &&
|
|
205
211
|
currentPrestation?.exercices?.length &&
|
|
206
212
|
currentPrestation?.exercices.find((el) => el.isBack)
|
|
207
213
|
) {
|