@silexpert/core 1.3.217 → 1.3.219
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/Exercice.d.ts +7 -1
- package/dist/cjs/api/resources/Exercice.d.ts.map +1 -1
- package/dist/cjs/api/resources/Exercice.js +10 -0
- package/dist/cjs/api/resources/Exercice.js.map +1 -1
- package/dist/cjs/types/Enum/RoleDetail.d.ts +5 -0
- package/dist/cjs/types/Enum/RoleDetail.d.ts.map +1 -1
- package/dist/cjs/types/Enum/RoleDetail.js +6 -1
- package/dist/cjs/types/Enum/RoleDetail.js.map +1 -1
- package/dist/cjs/types/Interface/models/IExercicePrestation.d.ts +1 -0
- package/dist/cjs/types/Interface/models/IExercicePrestation.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IExercicePrestation.js.map +1 -1
- package/dist/cjs/utils/checkup.d.ts +1 -1
- package/dist/cjs/utils/checkup.js +30 -30
- package/dist/cjs/utils/checkup.js.map +1 -1
- package/dist/mjs/api/resources/Exercice.d.ts +7 -1
- package/dist/mjs/api/resources/Exercice.d.ts.map +1 -1
- package/dist/mjs/api/resources/Exercice.js +10 -0
- package/dist/mjs/api/resources/Exercice.js.map +1 -1
- package/dist/mjs/types/Enum/RoleDetail.d.ts +5 -0
- package/dist/mjs/types/Enum/RoleDetail.d.ts.map +1 -1
- package/dist/mjs/types/Enum/RoleDetail.js +6 -1
- package/dist/mjs/types/Enum/RoleDetail.js.map +1 -1
- package/dist/mjs/types/Interface/models/IExercicePrestation.d.ts +1 -0
- package/dist/mjs/types/Interface/models/IExercicePrestation.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IExercicePrestation.js.map +1 -1
- package/dist/mjs/utils/checkup.d.ts +1 -1
- package/dist/mjs/utils/checkup.js +2 -2
- package/dist/mjs/utils/checkup.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Exercice.ts +13 -0
- package/ts/types/Enum/RoleDetail.ts +6 -1
- package/ts/types/Interface/models/IExercicePrestation.ts +1 -0
- package/ts/utils/checkup.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silexpert/core",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.219",
|
|
4
4
|
"description": "Silex Core perform HTTP Request and object binding. Silex core helps developers to retrieve and return formatted object",
|
|
5
5
|
"homepage": "https://gitlab.compta-clementine.fr/dev/silex-api",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -7,6 +7,7 @@ import {
|
|
|
7
7
|
UpdateOrCreateAdjustment,
|
|
8
8
|
CreateProjectExercice,
|
|
9
9
|
QuerySocietyExercice,
|
|
10
|
+
IGedFile,
|
|
10
11
|
} from '../../types';
|
|
11
12
|
import { Resource } from '../Resource';
|
|
12
13
|
|
|
@@ -71,4 +72,16 @@ export class Exercice extends Resource {
|
|
|
71
72
|
isFeasible(idExercice: number): Promise<boolean> {
|
|
72
73
|
return this.axios.$get(`exercices/${idExercice}/is-feasible`);
|
|
73
74
|
}
|
|
75
|
+
|
|
76
|
+
checkProjectAcceptation(idSociety: number): Promise<IGedFile[]> {
|
|
77
|
+
return this.axios.$get(`/societies/${idSociety}/project-acceptation`);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* @description This endpoint is only to send the preview project email for CADOR balanceSheet (on clementinier), the accountant will upload the document from cador directly in the GED and the project will be send to the client with the email template in brevo
|
|
82
|
+
* For the other clients, the preview project will be send with the endpoint generateProject
|
|
83
|
+
*/
|
|
84
|
+
sendProjectAcceptationEmail(idSociety: number, idExercice: number): Promise<void> {
|
|
85
|
+
return this.axios.$post(`/societies/${idSociety}/exercices/${idExercice}/project/send-cador-preview-mail`);
|
|
86
|
+
}
|
|
74
87
|
}
|
|
@@ -305,8 +305,13 @@ export const RoleDetail = {
|
|
|
305
305
|
name: 'SDR',
|
|
306
306
|
colorPrimary: '#8765D0',
|
|
307
307
|
colorSecondary: '#DED7F6',
|
|
308
|
-
isService:
|
|
308
|
+
isService: true,
|
|
309
309
|
subRole: false,
|
|
310
|
+
phoneNumber: '+33755537518',
|
|
311
|
+
phoneNumberPourcentage: '+33756796318',
|
|
312
|
+
phoneNumberStatutsExpress: '+33756796157',
|
|
313
|
+
isInWebmail: true,
|
|
314
|
+
cnVpn: 'COMMERCIAL',
|
|
310
315
|
isGrade: false,
|
|
311
316
|
},
|
|
312
317
|
FORECAST_MANAGER: {
|
package/ts/utils/checkup.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/no-unsafe-return */
|
|
2
2
|
|
|
3
|
-
import { SelectYesNoStatementBool } from '../types/Enum/Constants
|
|
4
|
-
import { QualityList } from '../types/Enum/Quality
|
|
3
|
+
import { SelectYesNoStatementBool } from '../types/Enum/Constants';
|
|
4
|
+
import { QualityList } from '../types/Enum/Quality';
|
|
5
5
|
import * as dayjs from 'dayjs';
|
|
6
6
|
|
|
7
7
|
export const setRangeItems = (maxRange: number) => {
|