@socialgouv/modeles-social 4.145.0 → 4.146.0
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/lib/modeles/common/factory/ineligibility-rupture-conventionnelle.js +0 -4
- package/lib/modeles/common/factory/salary.js +0 -6
- package/lib/modeles/common/factory/seniority.js +0 -2
- package/lib/modeles/common/supported-agreements.d.ts +3 -7
- package/lib/modeles/common/supported-agreements.js +3 -7
- package/lib/modeles/common/types/salary.d.ts +2 -2
- package/lib/modeles/common/types/seniority.d.ts +2 -2
- package/lib/modeles/common/utils/ccn-supported.json +0 -15
- package/lib/modeles/conventions/index.d.ts +0 -2
- package/lib/modeles/conventions/index.js +0 -2
- package/lib/modeles/modeles-indemnite-licenciement.json +289 -527
- package/lib/modeles/modeles-preavis-retraite.json +0 -344
- package/lib/modeles/modeles-rupture-conventionnelle.json +293 -541
- package/lib/simulators/heure-recherche-emploi/heures-recherche-emploi.data.json +0 -174
- package/lib/simulators/preavis-demission/preavis-demission.data.json +0 -446
- package/lib/simulators/preavis-licenciement/preavis-licenciement.data.json +0 -339
- package/lib/simulators/prime-precarite/precarite.data.json +0 -42
- package/package.json +2 -2
- package/lib/modeles/conventions/29_hospitalisation_privee_but_non_lucratif/index.d.ts +0 -1
- package/lib/modeles/conventions/29_hospitalisation_privee_but_non_lucratif/index.js +0 -17
- package/lib/modeles/conventions/29_hospitalisation_privee_but_non_lucratif/salary.d.ts +0 -25
- package/lib/modeles/conventions/29_hospitalisation_privee_but_non_lucratif/salary.js +0 -53
- package/lib/modeles/conventions/413_handicap/index.d.ts +0 -2
- package/lib/modeles/conventions/413_handicap/index.js +0 -18
- package/lib/modeles/conventions/413_handicap/salary.d.ts +0 -4
- package/lib/modeles/conventions/413_handicap/salary.js +0 -19
- package/lib/modeles/conventions/413_handicap/seniority.d.ts +0 -12
- package/lib/modeles/conventions/413_handicap/seniority.js +0 -119
|
@@ -11,10 +11,6 @@ var IneligibilityRuptureConventionnelleFactory = /** @class */ (function () {
|
|
|
11
11
|
switch (idcc) {
|
|
12
12
|
case __1.SupportedCc.IDCC3239:
|
|
13
13
|
return new conventions_1.IneligibilityRuptureConventionnelle3239();
|
|
14
|
-
case __1.SupportedCc.IDCC2596:
|
|
15
|
-
return new conventions_1.IneligibilityLegalIndemniteLicenciement2596();
|
|
16
|
-
case __1.SupportedCc.IDCC1404:
|
|
17
|
-
return new conventions_1.IneligibilityLegalIndemniteLicenciement1404();
|
|
18
14
|
default:
|
|
19
15
|
return new base_1.IneligibilityRuptureConventionnelle();
|
|
20
16
|
}
|
|
@@ -4,11 +4,9 @@ exports.ReferenceSalaryFactory = void 0;
|
|
|
4
4
|
var base_1 = require("../../base");
|
|
5
5
|
var conventions_1 = require("../../conventions");
|
|
6
6
|
var _16_transports_routiers_1 = require("../../conventions/16_transports_routiers");
|
|
7
|
-
var _29_hospitalisation_privee_but_non_lucratif_1 = require("../../conventions/29_hospitalisation_privee_but_non_lucratif");
|
|
8
7
|
var _44_industries_chimiques_1 = require("../../conventions/44_industries_chimiques");
|
|
9
8
|
var _86_publicite_francaise_1 = require("../../conventions/86_publicite_francaise");
|
|
10
9
|
var _292_plasturgie_1 = require("../../conventions/292_plasturgie");
|
|
11
|
-
var _413_handicap_1 = require("../../conventions/413_handicap");
|
|
12
10
|
var _573_commerces_de_gros_1 = require("../../conventions/573_commerces_de_gros");
|
|
13
11
|
var _675_habillement_commerce_succursales_1 = require("../../conventions/675_habillement_commerce_succursales");
|
|
14
12
|
var _1486_bureaux_etudes_techniques_1 = require("../../conventions/1486_bureaux_etudes_techniques");
|
|
@@ -31,8 +29,6 @@ var ReferenceSalaryFactory = /** @class */ (function () {
|
|
|
31
29
|
return new _1516_organismes_formation_1.ReferenceSalary1516();
|
|
32
30
|
case __1.SupportedCc.IDCC1606:
|
|
33
31
|
return new conventions_1.ReferenceSalary1606();
|
|
34
|
-
case __1.SupportedCc.IDCC413:
|
|
35
|
-
return new _413_handicap_1.ReferenceSalary413();
|
|
36
32
|
case __1.SupportedCc.IDCC1486:
|
|
37
33
|
return new _1486_bureaux_etudes_techniques_1.ReferenceSalary1486();
|
|
38
34
|
case __1.SupportedCc.IDCC1527:
|
|
@@ -45,8 +41,6 @@ var ReferenceSalaryFactory = /** @class */ (function () {
|
|
|
45
41
|
return new _44_industries_chimiques_1.ReferenceSalary44();
|
|
46
42
|
case __1.SupportedCc.IDCC0573:
|
|
47
43
|
return new _573_commerces_de_gros_1.ReferenceSalary573();
|
|
48
|
-
case __1.SupportedCc.IDCC0029:
|
|
49
|
-
return new _29_hospitalisation_privee_but_non_lucratif_1.ReferenceSalary0029();
|
|
50
44
|
case __1.SupportedCc.IDCC2596:
|
|
51
45
|
return new salary_2.ReferenceSalary2596();
|
|
52
46
|
case __1.SupportedCc.IDCC2098:
|
|
@@ -41,8 +41,6 @@ var SeniorityFactory = /** @class */ (function () {
|
|
|
41
41
|
return new conventions_1.Seniority2098();
|
|
42
42
|
case index_1.SupportedCc.IDCC2609:
|
|
43
43
|
return new conventions_1.Seniority2609();
|
|
44
|
-
case index_1.SupportedCc.IDCC413:
|
|
45
|
-
return new conventions_1.Seniority413();
|
|
46
44
|
case index_1.SupportedCc.IDCC1516:
|
|
47
45
|
return new conventions_1.Seniority1516();
|
|
48
46
|
case index_1.SupportedCc.IDCC1517:
|
|
@@ -10,7 +10,6 @@ export declare enum SupportedCc {
|
|
|
10
10
|
IDCC1996 = "1996",
|
|
11
11
|
IDCC3043 = "3043",
|
|
12
12
|
IDCC1090 = "1090",
|
|
13
|
-
IDCC413 = "413",
|
|
14
13
|
IDCC3127 = "3127",
|
|
15
14
|
IDCC1351 = "1351",
|
|
16
15
|
IDCC2941 = "2941",
|
|
@@ -23,7 +22,6 @@ export declare enum SupportedCc {
|
|
|
23
22
|
IDCC0573 = "573",
|
|
24
23
|
IDCC1596 = "1596",
|
|
25
24
|
IDCC1702 = "1702",
|
|
26
|
-
IDCC0029 = "29",
|
|
27
25
|
IDCC0044 = "44",
|
|
28
26
|
IDCC1517 = "1517",
|
|
29
27
|
IDCC2098 = "2098",
|
|
@@ -52,11 +50,9 @@ export declare enum SupportedCc {
|
|
|
52
50
|
}
|
|
53
51
|
export declare const getSupportedAgreement: (idcc: number) => SupportedCc | null;
|
|
54
52
|
export declare enum SupportedAgreementHorsAni {
|
|
55
|
-
|
|
56
|
-
IDCC0029 = "29",
|
|
57
|
-
IDCC2941 = "2941",
|
|
58
|
-
IDCC2511 = "2511",
|
|
53
|
+
IDCC1043 = "1043",
|
|
59
54
|
IDCC1518 = "1518",
|
|
60
|
-
|
|
55
|
+
IDCC2511 = "2511",
|
|
56
|
+
IDCC2941 = "2941"
|
|
61
57
|
}
|
|
62
58
|
export declare const getSupportedAgreementHorsAni: (idcc: number) => SupportedAgreementHorsAni | null;
|
|
@@ -15,7 +15,6 @@ var SupportedCc;
|
|
|
15
15
|
SupportedCc["IDCC1996"] = "1996";
|
|
16
16
|
SupportedCc["IDCC3043"] = "3043";
|
|
17
17
|
SupportedCc["IDCC1090"] = "1090";
|
|
18
|
-
SupportedCc["IDCC413"] = "413";
|
|
19
18
|
SupportedCc["IDCC3127"] = "3127";
|
|
20
19
|
SupportedCc["IDCC1351"] = "1351";
|
|
21
20
|
SupportedCc["IDCC2941"] = "2941";
|
|
@@ -28,7 +27,6 @@ var SupportedCc;
|
|
|
28
27
|
SupportedCc["IDCC0573"] = "573";
|
|
29
28
|
SupportedCc["IDCC1596"] = "1596";
|
|
30
29
|
SupportedCc["IDCC1702"] = "1702";
|
|
31
|
-
SupportedCc["IDCC0029"] = "29";
|
|
32
30
|
SupportedCc["IDCC0044"] = "44";
|
|
33
31
|
SupportedCc["IDCC1517"] = "1517";
|
|
34
32
|
SupportedCc["IDCC2098"] = "2098";
|
|
@@ -67,12 +65,10 @@ var getSupportedAgreement = function (idcc) {
|
|
|
67
65
|
exports.getSupportedAgreement = getSupportedAgreement;
|
|
68
66
|
var SupportedAgreementHorsAni;
|
|
69
67
|
(function (SupportedAgreementHorsAni) {
|
|
70
|
-
SupportedAgreementHorsAni["IDCC0413"] = "413";
|
|
71
|
-
SupportedAgreementHorsAni["IDCC0029"] = "29";
|
|
72
|
-
SupportedAgreementHorsAni["IDCC2941"] = "2941";
|
|
73
|
-
SupportedAgreementHorsAni["IDCC2511"] = "2511";
|
|
74
|
-
SupportedAgreementHorsAni["IDCC1518"] = "1518";
|
|
75
68
|
SupportedAgreementHorsAni["IDCC1043"] = "1043";
|
|
69
|
+
SupportedAgreementHorsAni["IDCC1518"] = "1518";
|
|
70
|
+
SupportedAgreementHorsAni["IDCC2511"] = "2511";
|
|
71
|
+
SupportedAgreementHorsAni["IDCC2941"] = "2941";
|
|
76
72
|
})(SupportedAgreementHorsAni || (exports.SupportedAgreementHorsAni = SupportedAgreementHorsAni = {}));
|
|
77
73
|
var getSupportedAgreementHorsAni = function (idcc) {
|
|
78
74
|
for (var _i = 0, _a = Object.values(SupportedAgreementHorsAni); _i < _a.length; _i++) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { LegalReferenceSalaryProps } from "../../base";
|
|
2
|
-
import type { CC16ReferenceSalaryProps,
|
|
2
|
+
import type { CC16ReferenceSalaryProps, CC44ReferenceSalaryProps, CC573ReferenceSalaryProps, CC675ReferenceSalaryProps, CC1483ReferenceSalaryProps, CC1486ReferenceSalaryProps, CC1516ReferenceSalaryProps, CC1527ReferenceSalaryProps, CC1672ReferenceSalaryProps, CC1702ReferenceSalaryProps, CC1740ReferenceSalaryProps, CC2098ReferenceSalaryProps, CC2120ReferenceSalaryProps, CC2148ReferenceSalaryProps, CC2596ReferenceSalaryProps, CC2609ReferenceSalaryProps, CC2614ReferenceSalaryProps, CC3239ReferenceSalaryProps } from "../../conventions";
|
|
3
3
|
import type { SupportedCc } from "..";
|
|
4
4
|
export type SalaryPeriods = {
|
|
5
5
|
month: string;
|
|
@@ -11,4 +11,4 @@ export interface IReferenceSalary<T extends SupportedCc> {
|
|
|
11
11
|
computeExtraInfo?: (args: ReferenceSalaryProps<T>) => Record<string, number | string>;
|
|
12
12
|
mapSituation?: (args: Record<string, string | undefined>) => ReferenceSalaryProps<T>;
|
|
13
13
|
}
|
|
14
|
-
export type ReferenceSalaryProps<T> = T extends SupportedCc.IDCC0016 ? CC16ReferenceSalaryProps : T extends SupportedCc.
|
|
14
|
+
export type ReferenceSalaryProps<T> = T extends SupportedCc.IDCC0016 ? CC16ReferenceSalaryProps : T extends SupportedCc.IDCC0044 ? CC44ReferenceSalaryProps : T extends SupportedCc.IDCC0573 ? CC573ReferenceSalaryProps : T extends SupportedCc.IDCC1486 ? CC1486ReferenceSalaryProps : T extends SupportedCc.IDCC1516 ? CC1516ReferenceSalaryProps : T extends SupportedCc.IDCC1527 ? CC1527ReferenceSalaryProps : T extends SupportedCc.IDCC2098 ? CC2098ReferenceSalaryProps : T extends SupportedCc.IDCC2596 ? CC2596ReferenceSalaryProps : T extends SupportedCc.IDCC2609 ? CC2609ReferenceSalaryProps : T extends SupportedCc.IDCC2148 ? CC2148ReferenceSalaryProps : T extends SupportedCc.IDCC2614 ? CC2614ReferenceSalaryProps : T extends SupportedCc.IDCC3239 ? CC3239ReferenceSalaryProps : T extends SupportedCc.IDCC0675 ? CC675ReferenceSalaryProps : T extends SupportedCc.IDCC1672 ? CC1672ReferenceSalaryProps : T extends SupportedCc.IDCC1483 ? CC1483ReferenceSalaryProps : T extends SupportedCc.IDCC1702 ? CC1702ReferenceSalaryProps : T extends SupportedCc.IDCC1740 ? CC1740ReferenceSalaryProps : T extends SupportedCc.IDCC2120 ? CC2120ReferenceSalaryProps : LegalReferenceSalaryProps;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CC0016SeniorityProps,
|
|
1
|
+
import type { CC0016SeniorityProps, CC650SeniorityProps, CC650SeniorityRequiredProps, CC1672SeniorityProps, CC3248SeniorityProps, CC3248SeniorityRequiredProps } from "../../conventions";
|
|
2
2
|
import type { MotifKeys } from "../motif-keys";
|
|
3
3
|
import type { DefaultSeniorityProps, DefaultSeniorityRequiredProps } from "../seniority";
|
|
4
4
|
import type { SupportedCc } from "../supported-agreements";
|
|
@@ -29,7 +29,7 @@ export interface ISeniority<T extends SupportedCc> {
|
|
|
29
29
|
getMotifs: () => Motif[];
|
|
30
30
|
}
|
|
31
31
|
export type SeniorityRequiredProps<T> = T extends SupportedCc.IDCC3248 ? CC3248SeniorityRequiredProps : T extends SupportedCc.IDCC650 ? CC650SeniorityRequiredProps : DefaultSeniorityRequiredProps;
|
|
32
|
-
export type SeniorityProps<T> = T extends SupportedCc.IDCC0016 ? CC0016SeniorityProps : T extends SupportedCc.
|
|
32
|
+
export type SeniorityProps<T> = T extends SupportedCc.IDCC0016 ? CC0016SeniorityProps : T extends SupportedCc.IDCC1672 ? CC1672SeniorityProps : T extends SupportedCc.IDCC3248 ? CC3248SeniorityProps : T extends SupportedCc.IDCC650 ? CC650SeniorityProps : DefaultSeniorityProps;
|
|
33
33
|
export type SeniorityResult = {
|
|
34
34
|
value: number;
|
|
35
35
|
extraInfos?: Record<string, number | string>;
|
|
@@ -149,11 +149,6 @@
|
|
|
149
149
|
"indemniteLicenciement": "fullySupported",
|
|
150
150
|
"preavisRetraite": "fullySupported"
|
|
151
151
|
},
|
|
152
|
-
{
|
|
153
|
-
"idcc": 2420,
|
|
154
|
-
"indemniteLicenciement": "neverSupported",
|
|
155
|
-
"preavisRetraite": "fullySupported"
|
|
156
|
-
},
|
|
157
152
|
{
|
|
158
153
|
"idcc": 2511,
|
|
159
154
|
"indemniteLicenciement": "fullySupported",
|
|
@@ -189,11 +184,6 @@
|
|
|
189
184
|
"indemniteLicenciement": "fullySupported",
|
|
190
185
|
"preavisRetraite": "fullySupported"
|
|
191
186
|
},
|
|
192
|
-
{
|
|
193
|
-
"idcc": 29,
|
|
194
|
-
"indemniteLicenciement": "fullySupported",
|
|
195
|
-
"preavisRetraite": "fullySupported"
|
|
196
|
-
},
|
|
197
187
|
{
|
|
198
188
|
"idcc": 3043,
|
|
199
189
|
"indemniteLicenciement": "fullySupported",
|
|
@@ -214,11 +204,6 @@
|
|
|
214
204
|
"indemniteLicenciement": "fullySupported",
|
|
215
205
|
"preavisRetraite": "fullySupported"
|
|
216
206
|
},
|
|
217
|
-
{
|
|
218
|
-
"idcc": 413,
|
|
219
|
-
"indemniteLicenciement": "fullySupported",
|
|
220
|
-
"preavisRetraite": "fullySupported"
|
|
221
|
-
},
|
|
222
207
|
{
|
|
223
208
|
"idcc": 44,
|
|
224
209
|
"indemniteLicenciement": "fullySupported",
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
export * from "./16_transports_routiers";
|
|
2
|
-
export * from "./29_hospitalisation_privee_but_non_lucratif";
|
|
3
2
|
export * from "./44_industries_chimiques";
|
|
4
3
|
export * from "./176_industrie_pharmaceutique";
|
|
5
4
|
export * from "./275_transport_aerien_personnel_au_sol";
|
|
6
5
|
export * from "./292_plasturgie";
|
|
7
|
-
export * from "./413_handicap";
|
|
8
6
|
export * from "./573_commerces_de_gros";
|
|
9
7
|
export * from "./650_metallurgie_ingenieurs_cadres";
|
|
10
8
|
export * from "./675_habillement_commerce_succursales";
|
|
@@ -15,12 +15,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./16_transports_routiers"), exports);
|
|
18
|
-
__exportStar(require("./29_hospitalisation_privee_but_non_lucratif"), exports);
|
|
19
18
|
__exportStar(require("./44_industries_chimiques"), exports);
|
|
20
19
|
__exportStar(require("./176_industrie_pharmaceutique"), exports);
|
|
21
20
|
__exportStar(require("./275_transport_aerien_personnel_au_sol"), exports);
|
|
22
21
|
__exportStar(require("./292_plasturgie"), exports);
|
|
23
|
-
__exportStar(require("./413_handicap"), exports);
|
|
24
22
|
__exportStar(require("./573_commerces_de_gros"), exports);
|
|
25
23
|
__exportStar(require("./650_metallurgie_ingenieurs_cadres"), exports);
|
|
26
24
|
__exportStar(require("./675_habillement_commerce_succursales"), exports);
|