@silexpert/core 1.3.202 → 1.3.203-is-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/dist/cjs/api/resources/Docoon.d.ts +6 -0
- package/dist/cjs/api/resources/Docoon.d.ts.map +1 -0
- package/dist/cjs/api/resources/Docoon.js +11 -0
- package/dist/cjs/api/resources/Docoon.js.map +1 -0
- package/dist/cjs/api/resources/InternalInvoicing.d.ts +1 -1
- package/dist/cjs/api/resources/InternalInvoicing.d.ts.map +1 -1
- package/dist/cjs/api/resources/InternalInvoicing.js +5 -1
- package/dist/cjs/api/resources/InternalInvoicing.js.map +1 -1
- package/dist/cjs/api/resources/WorkingSchedule.d.ts +1 -0
- package/dist/cjs/api/resources/WorkingSchedule.d.ts.map +1 -1
- package/dist/cjs/api/resources/WorkingSchedule.js +3 -0
- package/dist/cjs/api/resources/WorkingSchedule.js.map +1 -1
- package/dist/cjs/api/resources.d.ts +2 -0
- package/dist/cjs/api/resources.d.ts.map +1 -1
- package/dist/cjs/api/resources.js +2 -0
- package/dist/cjs/api/resources.js.map +1 -1
- package/dist/cjs/types/Enum/AnalyticsUtm.d.ts +49 -0
- package/dist/cjs/types/Enum/AnalyticsUtm.d.ts.map +1 -0
- package/dist/cjs/types/Enum/AnalyticsUtm.js +54 -0
- package/dist/cjs/types/Enum/AnalyticsUtm.js.map +1 -0
- package/dist/cjs/types/Enum/BalanceSheet.js +2 -2
- package/dist/cjs/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/cjs/types/Enum/PrestationType.js +1 -1
- package/dist/cjs/types/Enum/PrestationType.js.map +1 -1
- package/dist/cjs/types/Interface/api/card/Cron.d.ts +1 -0
- package/dist/cjs/types/Interface/api/card/Cron.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/card/Cron.js +6 -0
- package/dist/cjs/types/Interface/api/card/Cron.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2571.d.ts +2 -53
- package/dist/cjs/types/Interface/api/cerfa/2571.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2571.js +1 -4
- package/dist/cjs/types/Interface/api/cerfa/2571.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2572.d.ts +9 -150
- package/dist/cjs/types/Interface/api/cerfa/2572.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2572.js +4 -7
- package/dist/cjs/types/Interface/api/cerfa/2572.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2573.d.ts +2 -1
- package/dist/cjs/types/Interface/api/cerfa/2573.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2573.js.map +1 -1
- package/dist/cjs/types/Interface/api/config/ConfigType.d.ts +4 -0
- package/dist/cjs/types/Interface/api/config/ConfigType.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/config/ConfigType.js.map +1 -1
- package/dist/cjs/types/Interface/api/docoon/Query.d.ts +6 -0
- package/dist/cjs/types/Interface/api/docoon/Query.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/docoon/Query.js +36 -0
- package/dist/cjs/types/Interface/api/docoon/Query.js.map +1 -0
- package/dist/cjs/types/Interface/api/docoon/Read.d.ts +78 -0
- package/dist/cjs/types/Interface/api/docoon/Read.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/docoon/Read.js +3 -0
- package/dist/cjs/types/Interface/api/docoon/Read.js.map +1 -0
- package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts +2 -0
- package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.js.map +1 -1
- package/dist/cjs/types/Interface/api/revenue/revenueMovement.d.ts +1 -0
- package/dist/cjs/types/Interface/api/revenue/revenueMovement.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/revenue/revenueMovement.js.map +1 -1
- package/dist/cjs/types/Interface/api/revision/Query.d.ts +2 -1
- package/dist/cjs/types/Interface/api/revision/Query.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/revision/Query.js +6 -0
- package/dist/cjs/types/Interface/api/revision/Query.js.map +1 -1
- package/dist/cjs/types/Interface/api/user/RegisterProspect.d.ts +2 -0
- package/dist/cjs/types/Interface/api/user/RegisterProspect.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/user/RegisterProspect.js +14 -0
- package/dist/cjs/types/Interface/api/user/RegisterProspect.js.map +1 -1
- package/dist/cjs/types/Interface/api/webex/GetWebinarsParams.d.ts +1 -0
- package/dist/cjs/types/Interface/api/webex/GetWebinarsParams.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/webex/GetWebinarsParams.js +5 -0
- package/dist/cjs/types/Interface/api/webex/GetWebinarsParams.js.map +1 -1
- package/dist/cjs/types/Interface/models/IAccountDetail.d.ts +1 -0
- package/dist/cjs/types/Interface/models/IAccountDetail.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IAccountDetail.js.map +1 -1
- package/dist/cjs/types/Interface/models/IAnalyticsUtm.d.ts +2 -0
- package/dist/cjs/types/Interface/models/IAnalyticsUtm.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IAnalyticsUtm.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/types/index.d.ts +3 -0
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +3 -0
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/cjs/utils/email.js +1 -1
- package/dist/cjs/utils/email.js.map +1 -1
- package/dist/cjs/utils/vat/registration.js.map +1 -1
- package/dist/mjs/api/resources/Docoon.d.ts +6 -0
- package/dist/mjs/api/resources/Docoon.d.ts.map +1 -0
- package/dist/mjs/api/resources/Docoon.js +7 -0
- package/dist/mjs/api/resources/Docoon.js.map +1 -0
- package/dist/mjs/api/resources/InternalInvoicing.d.ts +1 -1
- package/dist/mjs/api/resources/InternalInvoicing.d.ts.map +1 -1
- package/dist/mjs/api/resources/InternalInvoicing.js +5 -1
- package/dist/mjs/api/resources/InternalInvoicing.js.map +1 -1
- package/dist/mjs/api/resources/WorkingSchedule.d.ts +1 -0
- package/dist/mjs/api/resources/WorkingSchedule.d.ts.map +1 -1
- package/dist/mjs/api/resources/WorkingSchedule.js +3 -0
- package/dist/mjs/api/resources/WorkingSchedule.js.map +1 -1
- package/dist/mjs/api/resources.d.ts +2 -0
- package/dist/mjs/api/resources.d.ts.map +1 -1
- package/dist/mjs/api/resources.js +2 -0
- package/dist/mjs/api/resources.js.map +1 -1
- package/dist/mjs/types/Enum/AnalyticsUtm.d.ts +49 -0
- package/dist/mjs/types/Enum/AnalyticsUtm.d.ts.map +1 -0
- package/dist/mjs/types/Enum/AnalyticsUtm.js +51 -0
- package/dist/mjs/types/Enum/AnalyticsUtm.js.map +1 -0
- package/dist/mjs/types/Enum/BalanceSheet.js +2 -2
- package/dist/mjs/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/mjs/types/Enum/PrestationType.js +1 -1
- package/dist/mjs/types/Enum/PrestationType.js.map +1 -1
- package/dist/mjs/types/Interface/api/card/Cron.d.ts +1 -0
- package/dist/mjs/types/Interface/api/card/Cron.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/card/Cron.js +6 -0
- package/dist/mjs/types/Interface/api/card/Cron.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2571.d.ts +2 -53
- package/dist/mjs/types/Interface/api/cerfa/2571.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2571.js +0 -10
- package/dist/mjs/types/Interface/api/cerfa/2571.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2572.d.ts +9 -150
- package/dist/mjs/types/Interface/api/cerfa/2572.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2572.js +3 -17
- package/dist/mjs/types/Interface/api/cerfa/2572.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2573.d.ts +2 -1
- package/dist/mjs/types/Interface/api/cerfa/2573.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2573.js.map +1 -1
- package/dist/mjs/types/Interface/api/config/ConfigType.d.ts +4 -0
- package/dist/mjs/types/Interface/api/config/ConfigType.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/config/ConfigType.js.map +1 -1
- package/dist/mjs/types/Interface/api/docoon/Query.d.ts +6 -0
- package/dist/mjs/types/Interface/api/docoon/Query.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/docoon/Query.js +35 -0
- package/dist/mjs/types/Interface/api/docoon/Query.js.map +1 -0
- package/dist/mjs/types/Interface/api/docoon/Read.d.ts +78 -0
- package/dist/mjs/types/Interface/api/docoon/Read.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/docoon/Read.js +2 -0
- package/dist/mjs/types/Interface/api/docoon/Read.js.map +1 -0
- package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts +2 -0
- package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.js.map +1 -1
- package/dist/mjs/types/Interface/api/revenue/revenueMovement.d.ts +1 -0
- package/dist/mjs/types/Interface/api/revenue/revenueMovement.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/revenue/revenueMovement.js.map +1 -1
- package/dist/mjs/types/Interface/api/revision/Query.d.ts +2 -1
- package/dist/mjs/types/Interface/api/revision/Query.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/revision/Query.js +7 -0
- package/dist/mjs/types/Interface/api/revision/Query.js.map +1 -1
- package/dist/mjs/types/Interface/api/user/RegisterProspect.d.ts +2 -0
- package/dist/mjs/types/Interface/api/user/RegisterProspect.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/user/RegisterProspect.js +16 -0
- package/dist/mjs/types/Interface/api/user/RegisterProspect.js.map +1 -1
- package/dist/mjs/types/Interface/api/webex/GetWebinarsParams.d.ts +1 -0
- package/dist/mjs/types/Interface/api/webex/GetWebinarsParams.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/webex/GetWebinarsParams.js +6 -0
- package/dist/mjs/types/Interface/api/webex/GetWebinarsParams.js.map +1 -1
- package/dist/mjs/types/Interface/models/IAccountDetail.d.ts +1 -0
- package/dist/mjs/types/Interface/models/IAccountDetail.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IAccountDetail.js.map +1 -1
- package/dist/mjs/types/Interface/models/IAnalyticsUtm.d.ts +2 -0
- package/dist/mjs/types/Interface/models/IAnalyticsUtm.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IAnalyticsUtm.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/types/index.d.ts +3 -0
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +3 -0
- package/dist/mjs/types/index.js.map +1 -1
- package/dist/mjs/utils/email.js +1 -1
- package/dist/mjs/utils/email.js.map +1 -1
- package/dist/mjs/utils/vat/registration.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Docoon.ts +8 -0
- package/ts/api/resources/InternalInvoicing.ts +5 -1
- package/ts/api/resources/WorkingSchedule.ts +4 -0
- package/ts/api/resources.ts +2 -0
- package/ts/types/Enum/AnalyticsUtm.ts +51 -0
- package/ts/types/Enum/BalanceSheet.ts +2 -2
- package/ts/types/Enum/PrestationType.ts +1 -1
- package/ts/types/Interface/api/card/Cron.ts +5 -0
- package/ts/types/Interface/api/cerfa/2571.ts +3 -54
- package/ts/types/Interface/api/cerfa/2572.ts +10 -148
- package/ts/types/Interface/api/cerfa/2573.ts +3 -1
- package/ts/types/Interface/api/config/ConfigType.ts +6 -1
- package/ts/types/Interface/api/docoon/Query.ts +19 -0
- package/ts/types/Interface/api/docoon/Read.ts +93 -0
- package/ts/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.ts +2 -0
- package/ts/types/Interface/api/revenue/revenueMovement.ts +1 -0
- package/ts/types/Interface/api/revision/Query.ts +6 -1
- package/ts/types/Interface/api/user/RegisterProspect.ts +12 -0
- package/ts/types/Interface/api/webex/GetWebinarsParams.ts +4 -0
- package/ts/types/Interface/models/IAccountDetail.ts +1 -0
- package/ts/types/Interface/models/IAnalyticsUtm.ts +2 -0
- package/ts/types/Interface/models/IExercicePrestation.ts +1 -0
- package/ts/types/index.ts +3 -0
- package/ts/utils/email.ts +1 -1
- package/ts/utils/vat/registration.ts +2 -2
|
@@ -1,21 +1,12 @@
|
|
|
1
1
|
import { Termination, CerfaAddress } from './ReadCerfa';
|
|
2
2
|
|
|
3
|
-
export type AnyCerfa2572Century =
|
|
3
|
+
export type AnyCerfa2572Century = Cerfa2572_2024 | Cerfa2572_2025 | Cerfa2572_2026;
|
|
4
4
|
|
|
5
5
|
type BaseAndAmount = {
|
|
6
6
|
base: number;
|
|
7
7
|
amount: number;
|
|
8
8
|
};
|
|
9
9
|
|
|
10
|
-
type Tax = {
|
|
11
|
-
normalRate: BaseAndAmount;
|
|
12
|
-
normalRate2: BaseAndAmount;
|
|
13
|
-
reduceRate: BaseAndAmount;
|
|
14
|
-
addedValue: { amount: number };
|
|
15
|
-
other: { amount: number };
|
|
16
|
-
total: number;
|
|
17
|
-
};
|
|
18
|
-
|
|
19
10
|
type Tax_2023 = {
|
|
20
11
|
normalRate: BaseAndAmount;
|
|
21
12
|
reduceRate: BaseAndAmount;
|
|
@@ -40,119 +31,6 @@ type PreFinancingWithAmount = {
|
|
|
40
31
|
amount: number;
|
|
41
32
|
};
|
|
42
33
|
|
|
43
|
-
type Debts = {
|
|
44
|
-
onCompanyTax: number;
|
|
45
|
-
notOnCompanyTax: number;
|
|
46
|
-
VEL: number;
|
|
47
|
-
PRE: number;
|
|
48
|
-
new: number;
|
|
49
|
-
companyTaxAfterImputation: number;
|
|
50
|
-
reducedTax: {
|
|
51
|
-
inEurope: number;
|
|
52
|
-
amount: number;
|
|
53
|
-
};
|
|
54
|
-
balanceInPreviousExercises: number;
|
|
55
|
-
jobCredit: PreFinancingWithAmount;
|
|
56
|
-
jobCreditForLongExercises: PreFinancingWithAmount;
|
|
57
|
-
jobCreditForPreviousExercises: number;
|
|
58
|
-
corse: number;
|
|
59
|
-
CORInPreviousExercise: number;
|
|
60
|
-
deficit: number;
|
|
61
|
-
RADInPreviousExercise: number;
|
|
62
|
-
CIRcredit: number;
|
|
63
|
-
CIRsolde: number;
|
|
64
|
-
reportedInLine2B11: number;
|
|
65
|
-
subTotal: number;
|
|
66
|
-
inDepositLimit: number;
|
|
67
|
-
balanceDebtInPreviousExercises: number;
|
|
68
|
-
FOR: number;
|
|
69
|
-
RAC: number;
|
|
70
|
-
FAM: number;
|
|
71
|
-
CIN: number;
|
|
72
|
-
BIO: number;
|
|
73
|
-
PHO: number;
|
|
74
|
-
AUD: number;
|
|
75
|
-
ART: number;
|
|
76
|
-
CJV: number;
|
|
77
|
-
CPE: number;
|
|
78
|
-
CCI: number;
|
|
79
|
-
PTR: number;
|
|
80
|
-
CIO: PreFinancingWithAmount;
|
|
81
|
-
COL: PreFinancingWithAmount;
|
|
82
|
-
CSV: number;
|
|
83
|
-
CAC: number;
|
|
84
|
-
REB: number;
|
|
85
|
-
BLC: number;
|
|
86
|
-
RTD: number;
|
|
87
|
-
CPG: number;
|
|
88
|
-
HVE: number;
|
|
89
|
-
newUnlistedReceivables: number;
|
|
90
|
-
inLine2C22: number;
|
|
91
|
-
subTotal2: number;
|
|
92
|
-
afterImputation: number;
|
|
93
|
-
payment: number;
|
|
94
|
-
taxAmount: number;
|
|
95
|
-
CSB: { base: number };
|
|
96
|
-
};
|
|
97
|
-
|
|
98
|
-
type Debts_2023 = {
|
|
99
|
-
onCompanyTax: number;
|
|
100
|
-
notOnCompanyTax: number;
|
|
101
|
-
VEL: number;
|
|
102
|
-
PRE: number;
|
|
103
|
-
new: number;
|
|
104
|
-
companyTaxAfterImputation: number;
|
|
105
|
-
reducedTax: {
|
|
106
|
-
inEurope: number;
|
|
107
|
-
amount: number;
|
|
108
|
-
};
|
|
109
|
-
balanceInPreviousExercises: number;
|
|
110
|
-
jobCredit: PreFinancingWithAmount;
|
|
111
|
-
jobCreditForLongExercises: PreFinancingWithAmount;
|
|
112
|
-
jobCreditForPreviousExercises: number;
|
|
113
|
-
corse: number;
|
|
114
|
-
CORInPreviousExercise: number;
|
|
115
|
-
deficit: number;
|
|
116
|
-
RADInPreviousExercise: number;
|
|
117
|
-
CIRcredit: number;
|
|
118
|
-
CIRsolde: number;
|
|
119
|
-
CRCcredit: number;
|
|
120
|
-
CRCsolde: number;
|
|
121
|
-
reportedInLine2B11: number;
|
|
122
|
-
subTotal1: number;
|
|
123
|
-
subTotal: number;
|
|
124
|
-
inDepositLimit: number;
|
|
125
|
-
balanceDebtInPreviousExercises: number;
|
|
126
|
-
reducedTaxOuterSea: number;
|
|
127
|
-
balanceInPreviousExercisesOuterSea: number;
|
|
128
|
-
FOR: number;
|
|
129
|
-
RAC: number;
|
|
130
|
-
FAM: number;
|
|
131
|
-
CIN: number;
|
|
132
|
-
BIO: number;
|
|
133
|
-
PHO: number;
|
|
134
|
-
AUD: number;
|
|
135
|
-
ART: number;
|
|
136
|
-
CJV: number;
|
|
137
|
-
CPE: number;
|
|
138
|
-
CCI: number;
|
|
139
|
-
PTR: number;
|
|
140
|
-
CIO: PreFinancingWithAmount;
|
|
141
|
-
COL: PreFinancingWithAmount;
|
|
142
|
-
CSV: number;
|
|
143
|
-
REB: number;
|
|
144
|
-
RTD: number;
|
|
145
|
-
CPG: number;
|
|
146
|
-
HVE: number;
|
|
147
|
-
EOM: number;
|
|
148
|
-
newUnlistedReceivables: number;
|
|
149
|
-
inLine2C22: number;
|
|
150
|
-
subTotal2: number;
|
|
151
|
-
afterImputation: number;
|
|
152
|
-
payment: number;
|
|
153
|
-
taxAmount: number;
|
|
154
|
-
};
|
|
155
|
-
|
|
156
34
|
type Debts_2024 = {
|
|
157
35
|
onCompanyTax: number;
|
|
158
36
|
notOnCompanyTax: number;
|
|
@@ -279,6 +157,8 @@ type Debts_2025 = {
|
|
|
279
157
|
taxAmount: number;
|
|
280
158
|
};
|
|
281
159
|
|
|
160
|
+
type Debts_2026 = Omit<Debts_2025, 'PRE' | 'AUD' | 'CPG'>;
|
|
161
|
+
|
|
282
162
|
type SocialContribution = {
|
|
283
163
|
CSB: BaseAndAmount;
|
|
284
164
|
strangers: number;
|
|
@@ -331,26 +211,12 @@ type Administration = {
|
|
|
331
211
|
receptionDate: string;
|
|
332
212
|
};
|
|
333
213
|
|
|
334
|
-
export class
|
|
335
|
-
siren: string;
|
|
336
|
-
exercice: Exercice;
|
|
337
|
-
society: Society;
|
|
338
|
-
tax: Tax;
|
|
339
|
-
debts: Debts;
|
|
340
|
-
socialContribution: SocialContribution;
|
|
341
|
-
yearlyContribution: YearlyContribution;
|
|
342
|
-
summary: Summary;
|
|
343
|
-
payment: Payment;
|
|
344
|
-
administration?: Administration;
|
|
345
|
-
termination: Termination;
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
export class Cerfa2572_2023 {
|
|
214
|
+
export class Cerfa2572_2024 {
|
|
349
215
|
siren: string;
|
|
350
216
|
exercice: Exercice;
|
|
351
217
|
society: Society;
|
|
352
218
|
tax: Tax_2023;
|
|
353
|
-
debts:
|
|
219
|
+
debts: Debts_2024;
|
|
354
220
|
socialContribution: SocialContribution;
|
|
355
221
|
yearlyContribution: YearlyContribution;
|
|
356
222
|
summary: Summary_2023;
|
|
@@ -363,30 +229,26 @@ export class Cerfa2572_2023 {
|
|
|
363
229
|
};
|
|
364
230
|
}
|
|
365
231
|
|
|
366
|
-
export class
|
|
232
|
+
export class Cerfa2572_2025 {
|
|
367
233
|
siren: string;
|
|
368
234
|
exercice: Exercice;
|
|
369
235
|
society: Society;
|
|
370
236
|
tax: Tax_2023;
|
|
371
|
-
debts:
|
|
237
|
+
debts: Debts_2025;
|
|
372
238
|
socialContribution: SocialContribution;
|
|
373
239
|
yearlyContribution: YearlyContribution;
|
|
374
|
-
summary:
|
|
240
|
+
summary: Summary;
|
|
375
241
|
payment: Payment;
|
|
376
242
|
administration?: Administration;
|
|
377
243
|
termination: Termination;
|
|
378
|
-
temporaryContribution: {
|
|
379
|
-
solidarityRange: number;
|
|
380
|
-
solidarityAmount: number;
|
|
381
|
-
};
|
|
382
244
|
}
|
|
383
245
|
|
|
384
|
-
export class
|
|
246
|
+
export class Cerfa2572_2026 {
|
|
385
247
|
siren: string;
|
|
386
248
|
exercice: Exercice;
|
|
387
249
|
society: Society;
|
|
388
250
|
tax: Tax_2023;
|
|
389
|
-
debts:
|
|
251
|
+
debts: Debts_2026;
|
|
390
252
|
socialContribution: SocialContribution;
|
|
391
253
|
yearlyContribution: YearlyContribution;
|
|
392
254
|
summary: Summary;
|
|
@@ -62,7 +62,9 @@ export type Cerfa2573_2024 = {
|
|
|
62
62
|
};
|
|
63
63
|
|
|
64
64
|
export type Cerfa2573_2025 = Cerfa2573_2024;
|
|
65
|
-
export type
|
|
65
|
+
export type Cerfa2573_2026 = Cerfa2573_2025;
|
|
66
|
+
// eslint-disable-next-line @typescript-eslint/no-duplicate-type-constituents
|
|
67
|
+
export type AnyCerfa2573Century = Cerfa2573_2024 | Cerfa2573_2025 | Cerfa2573_2026;
|
|
66
68
|
|
|
67
69
|
export type Prepare2573Params = {
|
|
68
70
|
idSociety: number;
|
|
@@ -32,7 +32,8 @@ export interface ConfigType {
|
|
|
32
32
|
chartizer: LambdaInfos;
|
|
33
33
|
authentication?: Authentication;
|
|
34
34
|
powens: { url: string };
|
|
35
|
-
firebase: { projectId: string; clientEmail: string
|
|
35
|
+
firebase: { projectId: string; clientEmail: string };
|
|
36
|
+
docoon: Docoon;
|
|
36
37
|
}
|
|
37
38
|
|
|
38
39
|
interface Authentication {
|
|
@@ -236,3 +237,7 @@ interface Echo {
|
|
|
236
237
|
//apikey: string;
|
|
237
238
|
token: string;
|
|
238
239
|
}
|
|
240
|
+
|
|
241
|
+
interface Docoon {
|
|
242
|
+
baseUrl: string;
|
|
243
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { IsString, IsOptional, IsInt } from 'class-validator';
|
|
2
|
+
import { ApiPropertyOptional } from '../../../../utils';
|
|
3
|
+
|
|
4
|
+
export class QueryDirectoryLine {
|
|
5
|
+
@ApiPropertyOptional()
|
|
6
|
+
@IsString()
|
|
7
|
+
@IsOptional()
|
|
8
|
+
siretOrSiren?: string;
|
|
9
|
+
|
|
10
|
+
@ApiPropertyOptional()
|
|
11
|
+
@IsInt()
|
|
12
|
+
@IsOptional()
|
|
13
|
+
idSociety?: number;
|
|
14
|
+
|
|
15
|
+
@ApiPropertyOptional()
|
|
16
|
+
@IsInt()
|
|
17
|
+
@IsOptional()
|
|
18
|
+
offset?: number;
|
|
19
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
export interface QuerySearchDirectoryLine {
|
|
2
|
+
filter: QuerySearchFilterDirectoryLine;
|
|
3
|
+
sorting: QuerySearchSortingDirectoryLine[];
|
|
4
|
+
fields: QuerySearchFieldsDirectoryLine[];
|
|
5
|
+
limit: number;
|
|
6
|
+
ignore?: number;
|
|
7
|
+
}
|
|
8
|
+
export interface QuerySearchFilterDirectoryLine {
|
|
9
|
+
addressingIdentifier?: {
|
|
10
|
+
op: 'contains';
|
|
11
|
+
value: string;
|
|
12
|
+
};
|
|
13
|
+
platformRegistrationNumber?: {
|
|
14
|
+
op: 'contains';
|
|
15
|
+
value: string;
|
|
16
|
+
};
|
|
17
|
+
siret?: {
|
|
18
|
+
op: 'contains';
|
|
19
|
+
value: string;
|
|
20
|
+
};
|
|
21
|
+
siren?: {
|
|
22
|
+
op: 'contains';
|
|
23
|
+
value: string;
|
|
24
|
+
};
|
|
25
|
+
routingIdentifier?: {
|
|
26
|
+
op: 'contains';
|
|
27
|
+
value: string;
|
|
28
|
+
};
|
|
29
|
+
addressingSuffix?: {
|
|
30
|
+
op: 'contains';
|
|
31
|
+
value: string;
|
|
32
|
+
};
|
|
33
|
+
history: QuerySearchHistoryDirectoryLine;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export interface QuerySearchHistoryDirectoryLine {
|
|
37
|
+
observationDate?: {
|
|
38
|
+
op: 'strict';
|
|
39
|
+
value: string;
|
|
40
|
+
};
|
|
41
|
+
searchDateStart?: {
|
|
42
|
+
op: 'strict';
|
|
43
|
+
value: string;
|
|
44
|
+
};
|
|
45
|
+
searchDateEnd?: {
|
|
46
|
+
op: 'strict';
|
|
47
|
+
value: string;
|
|
48
|
+
};
|
|
49
|
+
auditMode?: {
|
|
50
|
+
op: 'strict';
|
|
51
|
+
value: boolean;
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export type QuerySearchSortingDirectoryLine = {
|
|
56
|
+
field: QuerySearchFieldsDirectoryLine;
|
|
57
|
+
sortingOrder: 'ascending' | 'descending';
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
export type QuerySearchFieldsDirectoryLine =
|
|
61
|
+
| 'addressingIdentifier'
|
|
62
|
+
| 'siren'
|
|
63
|
+
| 'siret'
|
|
64
|
+
| 'addressingSuffix'
|
|
65
|
+
| 'platformRegistrationNumber'
|
|
66
|
+
| 'dateTo'
|
|
67
|
+
| 'effectiveEndDate'
|
|
68
|
+
| 'dateFrom'
|
|
69
|
+
| 'hidden'
|
|
70
|
+
| 'idInstance'
|
|
71
|
+
| 'createdBy';
|
|
72
|
+
|
|
73
|
+
export type ReadDirectoryLineResult = {
|
|
74
|
+
addressingIdentifier: string;
|
|
75
|
+
siren: string;
|
|
76
|
+
siret?: string;
|
|
77
|
+
dateFrom: string;
|
|
78
|
+
dateTo: string;
|
|
79
|
+
effectiveEndDate?: string;
|
|
80
|
+
createdBy: string;
|
|
81
|
+
history: {
|
|
82
|
+
hidden: boolean;
|
|
83
|
+
};
|
|
84
|
+
plateform: {
|
|
85
|
+
platformRegistrationNumber: string;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
export interface ReadDirectoryLine {
|
|
90
|
+
search: QuerySearchDirectoryLine;
|
|
91
|
+
total_number_results: number;
|
|
92
|
+
results: ReadDirectoryLineResult[];
|
|
93
|
+
}
|
|
@@ -12,6 +12,7 @@ export interface IGeneralLedgerThirdParty {
|
|
|
12
12
|
totalSolde: number;
|
|
13
13
|
entries: IGeneralLedgerAccountingEntry[];
|
|
14
14
|
identifier: string;
|
|
15
|
+
generalLedgerComment: string | null;
|
|
15
16
|
initialBalance: number;
|
|
16
17
|
}
|
|
17
18
|
|
|
@@ -34,6 +35,7 @@ export interface ReadGeneralLedgerSummary {
|
|
|
34
35
|
balance: number;
|
|
35
36
|
identifier: string;
|
|
36
37
|
initialBalance: number;
|
|
38
|
+
generalLedgerComment: string | null;
|
|
37
39
|
entries?: IGeneralLedgerAccountingEntry[];
|
|
38
40
|
}
|
|
39
41
|
|
|
@@ -180,7 +180,12 @@ export class QueryRevisionAccountComment {
|
|
|
180
180
|
@ApiPropertyOptional()
|
|
181
181
|
@IsOptional()
|
|
182
182
|
@IsString()
|
|
183
|
-
comment
|
|
183
|
+
comment?: string | null;
|
|
184
|
+
|
|
185
|
+
@ApiPropertyOptional()
|
|
186
|
+
@IsOptional()
|
|
187
|
+
@IsString()
|
|
188
|
+
generalLedgerComment?: string | null;
|
|
184
189
|
}
|
|
185
190
|
|
|
186
191
|
export class QueryRevisionAccountControlFile {
|
|
@@ -188,6 +188,18 @@ class AnalyticsUtmBody implements Omit<Partial<IAnalyticsUtm>, 'idSociety'> {
|
|
|
188
188
|
@IsOptional()
|
|
189
189
|
@IsString()
|
|
190
190
|
content?: string | null;
|
|
191
|
+
|
|
192
|
+
@ApiProperty()
|
|
193
|
+
@ApiPropertyOptional()
|
|
194
|
+
@IsOptional()
|
|
195
|
+
@IsNumber()
|
|
196
|
+
situation?: number | null;
|
|
197
|
+
|
|
198
|
+
@ApiProperty()
|
|
199
|
+
@ApiPropertyOptional()
|
|
200
|
+
@IsOptional()
|
|
201
|
+
@IsArray()
|
|
202
|
+
serviceSought?: number[] | null;
|
|
191
203
|
}
|
|
192
204
|
|
|
193
205
|
export class RegisterProspectBody implements RegisterProspect {
|
|
@@ -11,6 +11,7 @@ export interface IExercicePrestation {
|
|
|
11
11
|
monthNumber: number | null;
|
|
12
12
|
amountSocial: number | null;
|
|
13
13
|
monthOffers: number | null;
|
|
14
|
+
amountOffer: number | null;
|
|
14
15
|
isInCA: boolean;
|
|
15
16
|
countExpressMonthlyPayment: number | null;
|
|
16
17
|
idBalanceSheet: number | null;
|
package/ts/types/index.ts
CHANGED
|
@@ -558,6 +558,7 @@ export * from './Enum/Template';
|
|
|
558
558
|
export * from './Enum/Marketing';
|
|
559
559
|
export * from './Enum/EnglishLevel';
|
|
560
560
|
export * from './Enum/AIPrompt';
|
|
561
|
+
export * from './Enum/AnalyticsUtm';
|
|
561
562
|
export * from './Enum/SocietyTypeExportCsv';
|
|
562
563
|
export * from './Enum/TeamType';
|
|
563
564
|
export * from './Enum/PartneredAccountantServiceType';
|
|
@@ -1203,3 +1204,5 @@ export * from './Interface/api/webex/PaginatedWebinars';
|
|
|
1203
1204
|
export * from './Interface/api/webex/WebexMeeting';
|
|
1204
1205
|
export * from './Interface/api/webex/WebexRegistrant';
|
|
1205
1206
|
export * from './Interface/api/bankAccount/Benchmark';
|
|
1207
|
+
export * from './Interface/api/docoon/Query';
|
|
1208
|
+
export * from './Interface/api/docoon/Read';
|
package/ts/utils/email.ts
CHANGED
|
@@ -402,7 +402,7 @@ export function generateSignature(params: any): string {
|
|
|
402
402
|
mailSignature = facturationMail;
|
|
403
403
|
roleSignature = null;
|
|
404
404
|
phoneSignature = standardPhoneSignature;
|
|
405
|
-
} else if (!user) {
|
|
405
|
+
} else if (!user || forceRole === 'generique') {
|
|
406
406
|
// Signature Clementine
|
|
407
407
|
user = {
|
|
408
408
|
firstname: `L'équipe ${commercialName}`,
|
|
@@ -2,8 +2,8 @@ import * as dayjs from 'dayjs';
|
|
|
2
2
|
import { isDefined } from 'class-validator';
|
|
3
3
|
import { reverse, sumBy } from 'lodash';
|
|
4
4
|
import {
|
|
5
|
+
AnyCerfa2571Century,
|
|
5
6
|
AnyCerfa3310_Century,
|
|
6
|
-
Cerfa2571_2023,
|
|
7
7
|
Cerfa2573_2024,
|
|
8
8
|
Cerfa3514_2022,
|
|
9
9
|
CerfaType,
|
|
@@ -206,7 +206,7 @@ export function getTypeAndAmountFromRegistration(registration: IRegistration): {
|
|
|
206
206
|
CerfaType.CERFA_2571_2023_D,
|
|
207
207
|
].includes(registration.idCerfaType)
|
|
208
208
|
) {
|
|
209
|
-
const payload = registration.payload.cerfa2571 as
|
|
209
|
+
const payload = registration.payload.cerfa2571 as AnyCerfa2571Century;
|
|
210
210
|
|
|
211
211
|
if (registration.customerIsRegime?.type === TaxType.TO_PAY) {
|
|
212
212
|
return {
|