@silexpert/core 1.3.119 → 1.3.124
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/Commercial.d.ts +2 -1
- package/dist/cjs/api/resources/Commercial.d.ts.map +1 -1
- package/dist/cjs/api/resources/Commercial.js +3 -0
- package/dist/cjs/api/resources/Commercial.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/3310.d.ts +1 -0
- package/dist/cjs/types/Interface/api/cerfa/3310.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/3310.js.map +1 -1
- package/dist/cjs/types/Interface/api/commercial/RequiredDocsTypeParams.d.ts +1 -0
- package/dist/cjs/types/Interface/api/commercial/RequiredDocsTypeParams.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/commercial/RequiredDocsTypeParams.js.map +1 -1
- package/dist/cjs/types/Interface/api/society/ReadSociety.d.ts +9 -0
- package/dist/cjs/types/Interface/api/society/ReadSociety.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/society/ReadSociety.js.map +1 -1
- package/dist/cjs/utils/vat/3310/century25.d.ts.map +1 -1
- package/dist/cjs/utils/vat/3310/century25.js +15 -0
- package/dist/cjs/utils/vat/3310/century25.js.map +1 -1
- package/dist/cjs/utils/vat/3517/century25.d.ts.map +1 -1
- package/dist/cjs/utils/vat/3517/century25.js +7 -0
- package/dist/cjs/utils/vat/3517/century25.js.map +1 -1
- package/dist/mjs/api/resources/Commercial.d.ts +2 -1
- package/dist/mjs/api/resources/Commercial.d.ts.map +1 -1
- package/dist/mjs/api/resources/Commercial.js +3 -0
- package/dist/mjs/api/resources/Commercial.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/3310.d.ts +1 -0
- package/dist/mjs/types/Interface/api/cerfa/3310.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/3310.js.map +1 -1
- package/dist/mjs/types/Interface/api/commercial/RequiredDocsTypeParams.d.ts +1 -0
- package/dist/mjs/types/Interface/api/commercial/RequiredDocsTypeParams.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/commercial/RequiredDocsTypeParams.js.map +1 -1
- package/dist/mjs/types/Interface/api/society/ReadSociety.d.ts +9 -0
- package/dist/mjs/types/Interface/api/society/ReadSociety.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/society/ReadSociety.js.map +1 -1
- package/dist/mjs/utils/vat/3310/century25.d.ts.map +1 -1
- package/dist/mjs/utils/vat/3310/century25.js +15 -0
- package/dist/mjs/utils/vat/3310/century25.js.map +1 -1
- package/dist/mjs/utils/vat/3517/century25.d.ts.map +1 -1
- package/dist/mjs/utils/vat/3517/century25.js +7 -0
- package/dist/mjs/utils/vat/3517/century25.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Commercial.ts +4 -0
- package/ts/types/Interface/api/cerfa/3310.ts +1 -0
- package/ts/types/Interface/api/commercial/RequiredDocsTypeParams.ts +1 -0
- package/ts/types/Interface/api/society/ReadSociety.ts +10 -0
- package/ts/utils/vat/3310/century25.ts +15 -0
- package/ts/utils/vat/3517/century25.ts +7 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silexpert/core",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.124",
|
|
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",
|
|
@@ -14,6 +14,7 @@ import {
|
|
|
14
14
|
QueryGetLeadByUser,
|
|
15
15
|
ISociety,
|
|
16
16
|
StatsProspectResponse,
|
|
17
|
+
ReadAskOrRequiredDocuments,
|
|
17
18
|
} from '../../types';
|
|
18
19
|
import { Society } from './Society';
|
|
19
20
|
|
|
@@ -82,6 +83,9 @@ export class Commercial extends Resource {
|
|
|
82
83
|
params,
|
|
83
84
|
});
|
|
84
85
|
}
|
|
86
|
+
fetchStatusDocForClient(idSociety: number, listIdPrestationList: number[]): Promise<ReadAskOrRequiredDocuments[]> {
|
|
87
|
+
return this.axios.$get(`/commercial/${idSociety}/status-docs`, { params: { listIdPrestationList } });
|
|
88
|
+
}
|
|
85
89
|
movePrestationsToNextMonth(idUser: number): Promise<number[]> {
|
|
86
90
|
return this.axios.$put('/commercial/move-prestations-to-next-month', { idUser });
|
|
87
91
|
}
|
|
@@ -582,6 +582,7 @@ export type PayloadCerfa3310_2024 = {
|
|
|
582
582
|
export type PayloadCerfa3310_2025 = PayloadCerfa3310_2024;
|
|
583
583
|
|
|
584
584
|
export type Cerfa3310_2025 = Cerfa3310_2024 & {
|
|
585
|
+
isHolidayDeposit?: boolean;
|
|
585
586
|
tic?: {
|
|
586
587
|
other?: Omit<Tic, 'tax'>;
|
|
587
588
|
gasoline?: { tax: number };
|
|
@@ -13,3 +13,13 @@ export type ReadInvalidFieldState = {
|
|
|
13
13
|
label: string;
|
|
14
14
|
field: string;
|
|
15
15
|
};
|
|
16
|
+
|
|
17
|
+
export type ReadAskOrRequiredDocuments = {
|
|
18
|
+
idGedFile?: number;
|
|
19
|
+
idFile?: number;
|
|
20
|
+
name: string;
|
|
21
|
+
status: string;
|
|
22
|
+
idGedFolder: number;
|
|
23
|
+
idGedFileType: number;
|
|
24
|
+
fileType: number;
|
|
25
|
+
};
|
|
@@ -481,6 +481,7 @@ export function getCerfa3310Century25Payload(
|
|
|
481
481
|
|
|
482
482
|
const initialPayload: Cerfa3310_2025 = {
|
|
483
483
|
isNil,
|
|
484
|
+
isHolidayDeposit,
|
|
484
485
|
isDGE: false,
|
|
485
486
|
isUniq: false,
|
|
486
487
|
declaration: {
|
|
@@ -961,6 +962,20 @@ export function getCerfa3310Century25RegistrationFields(data: Cerfa3310_2025): A
|
|
|
961
962
|
{
|
|
962
963
|
name: '3310CA3',
|
|
963
964
|
fields: [
|
|
965
|
+
{
|
|
966
|
+
key: 'AA',
|
|
967
|
+
tag: 'Valeur',
|
|
968
|
+
isMultiple: false,
|
|
969
|
+
description: 'Acompte congés payés',
|
|
970
|
+
value: data.isHolidayDeposit ? 'X' : null,
|
|
971
|
+
},
|
|
972
|
+
{
|
|
973
|
+
key: 'AC',
|
|
974
|
+
tag: 'Valeur',
|
|
975
|
+
isMultiple: false,
|
|
976
|
+
description: 'Autres',
|
|
977
|
+
value: data.isNil && !data.isHolidayDeposit ? 'X' : null,
|
|
978
|
+
},
|
|
964
979
|
{
|
|
965
980
|
key: 'BB',
|
|
966
981
|
tag: 'Valeur',
|
|
@@ -1345,6 +1345,13 @@ export function getCerfa3517Century25RegistrationField(data: Cerfa3517_2025): As
|
|
|
1345
1345
|
'Mention déclaration néante Table TBX avec X pour sélectionné, CCI/7037 = CAV/1131 = TBX / Code taxe 0010) 100117 ',
|
|
1346
1346
|
value: data.isNil ? 'X' : null,
|
|
1347
1347
|
},
|
|
1348
|
+
{
|
|
1349
|
+
key: 'BK',
|
|
1350
|
+
tag: 'Valeur',
|
|
1351
|
+
isMultiple: false,
|
|
1352
|
+
description: 'Autres',
|
|
1353
|
+
value: data.isNil ? 'X' : null,
|
|
1354
|
+
},
|
|
1348
1355
|
{
|
|
1349
1356
|
key: 'SH',
|
|
1350
1357
|
isMultiple: false,
|