@silexpert/core 0.4.13 → 0.4.15
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/es/api/resources/Authenticate.d.ts +9 -0
- package/es/api/resources/Authenticate.d.ts.map +1 -0
- package/es/api/resources/Authenticate.js +7 -0
- package/es/api/resources/Authenticate.js.map +1 -0
- package/es/api/resources/BalanceSheet.d.ts +8 -0
- package/es/api/resources/BalanceSheet.d.ts.map +1 -0
- package/es/api/resources/BalanceSheet.js +12 -0
- package/es/api/resources/BalanceSheet.js.map +1 -0
- package/es/api/resources/Cerfa.d.ts +10 -0
- package/es/api/resources/Cerfa.d.ts.map +1 -0
- package/es/api/resources/Cerfa.js +12 -0
- package/es/api/resources/Cerfa.js.map +1 -0
- package/es/api/resources/LegalForm.d.ts +6 -0
- package/es/api/resources/LegalForm.d.ts.map +1 -0
- package/es/api/resources/LegalForm.js +7 -0
- package/es/api/resources/LegalForm.js.map +1 -0
- package/es/api/resources/Letter.d.ts +6 -0
- package/es/api/resources/Letter.d.ts.map +1 -0
- package/es/api/resources/Letter.js +7 -0
- package/es/api/resources/Letter.js.map +1 -0
- package/es/api/resources/Report.d.ts +14 -0
- package/es/api/resources/Report.d.ts.map +1 -0
- package/es/api/resources/Report.js +13 -0
- package/es/api/resources/Report.js.map +1 -0
- package/es/api/resources/Society.d.ts +3 -1
- package/es/api/resources/Society.d.ts.map +1 -1
- package/es/api/resources/Society.js +7 -0
- package/es/api/resources/Society.js.map +1 -1
- package/es/api/resources/User.d.ts +4 -1
- package/es/api/resources/User.d.ts.map +1 -1
- package/es/api/resources/User.js +9 -0
- package/es/api/resources/User.js.map +1 -1
- package/es/api/resources.d.ts +14 -2
- package/es/api/resources.d.ts.map +1 -1
- package/es/api/resources.js +14 -2
- package/es/api/resources.js.map +1 -1
- package/es/types/Enum/AccountingJournal.d.ts +2 -1
- package/es/types/Enum/AccountingJournal.d.ts.map +1 -1
- package/es/types/Enum/AccountingJournal.js +1 -0
- package/es/types/Enum/AccountingJournal.js.map +1 -1
- package/es/types/Enum/BalanceSheet.d.ts +21 -0
- package/es/types/Enum/BalanceSheet.d.ts.map +1 -0
- package/es/types/Enum/BalanceSheet.js +529 -0
- package/es/types/Enum/BalanceSheet.js.map +1 -0
- package/es/types/Enum/DefaultPermissions.d.ts +13 -0
- package/es/types/Enum/DefaultPermissions.d.ts.map +1 -0
- package/es/types/Enum/DefaultPermissions.js +13 -0
- package/es/types/Enum/DefaultPermissions.js.map +1 -0
- package/es/types/Enum/IncomeStatement.d.ts +1 -0
- package/es/types/Enum/IncomeStatement.d.ts.map +1 -1
- package/es/types/Enum/IncomeStatement.js +5 -2
- package/es/types/Enum/IncomeStatement.js.map +1 -1
- package/es/types/Enum/LegalForm.d.ts +1 -0
- package/es/types/Enum/LegalForm.d.ts.map +1 -1
- package/es/types/Enum/LegalForm.js +1 -0
- package/es/types/Enum/LegalForm.js.map +1 -1
- package/es/types/Enum/LetterType.d.ts +47 -0
- package/es/types/Enum/LetterType.d.ts.map +1 -0
- package/es/types/Enum/LetterType.js +47 -0
- package/es/types/Enum/LetterType.js.map +1 -0
- package/es/types/Enum/ReportState.d.ts +31 -0
- package/es/types/Enum/ReportState.d.ts.map +1 -0
- package/es/types/Enum/ReportState.js +31 -0
- package/es/types/Enum/ReportState.js.map +1 -0
- package/es/types/Enum/ReportType.d.ts +27 -0
- package/es/types/Enum/ReportType.d.ts.map +1 -0
- package/es/types/Enum/ReportType.js +27 -0
- package/es/types/Enum/ReportType.js.map +1 -0
- package/es/types/Enum/Role.d.ts +7 -2
- package/es/types/Enum/Role.d.ts.map +1 -1
- package/es/types/Enum/Role.js +6 -1
- package/es/types/Enum/Role.js.map +1 -1
- package/es/types/Enum/Vehicle.d.ts +8 -0
- package/es/types/Enum/Vehicle.d.ts.map +1 -0
- package/es/types/Enum/Vehicle.js +9 -0
- package/es/types/Enum/Vehicle.js.map +1 -0
- package/es/types/Enum/VehicleType.d.ts +15 -0
- package/es/types/Enum/VehicleType.d.ts.map +1 -0
- package/es/types/Enum/VehicleType.js +15 -0
- package/es/types/Enum/VehicleType.js.map +1 -0
- package/es/types/Interface/api/balanceSheet/ReadBalanceSheet.d.ts +11 -0
- package/es/types/Interface/api/balanceSheet/ReadBalanceSheet.d.ts.map +1 -0
- package/es/types/Interface/api/balanceSheet/ReadBalanceSheet.js +2 -0
- package/es/types/Interface/api/balanceSheet/ReadBalanceSheet.js.map +1 -0
- package/es/types/Interface/api/cerfa/CreateCerfa.d.ts +292 -0
- package/es/types/Interface/api/cerfa/CreateCerfa.d.ts.map +1 -0
- package/es/types/Interface/api/cerfa/CreateCerfa.js +113 -0
- package/es/types/Interface/api/cerfa/CreateCerfa.js.map +1 -0
- package/es/types/Interface/api/letter/CreateLetter.d.ts +15 -0
- package/es/types/Interface/api/letter/CreateLetter.d.ts.map +1 -0
- package/es/types/Interface/api/letter/CreateLetter.js +57 -0
- package/es/types/Interface/api/letter/CreateLetter.js.map +1 -0
- package/es/types/Interface/api/report/CreateReport.d.ts +13 -0
- package/es/types/Interface/api/report/CreateReport.d.ts.map +1 -0
- package/es/types/Interface/api/report/CreateReport.js +45 -0
- package/es/types/Interface/api/report/CreateReport.js.map +1 -0
- package/es/types/Interface/api/report/QueryReports.d.ts +9 -0
- package/es/types/Interface/api/report/QueryReports.d.ts.map +1 -0
- package/es/types/Interface/api/report/QueryReports.js +37 -0
- package/es/types/Interface/api/report/QueryReports.js.map +1 -0
- package/es/types/Interface/api/report/ReadReport.d.ts +8 -0
- package/es/types/Interface/api/report/ReadReport.d.ts.map +1 -0
- package/es/types/Interface/api/report/ReadReport.js +2 -0
- package/es/types/Interface/api/report/ReadReport.js.map +1 -0
- package/es/types/Interface/api/society/CreateSociety.d.ts +13 -0
- package/es/types/Interface/api/society/CreateSociety.d.ts.map +1 -0
- package/es/types/Interface/api/society/CreateSociety.js +41 -0
- package/es/types/Interface/api/society/CreateSociety.js.map +1 -0
- package/es/types/Interface/api/society/GetDataSociety.d.ts +5 -0
- package/es/types/Interface/api/society/GetDataSociety.d.ts.map +1 -0
- package/es/types/Interface/api/society/GetDataSociety.js +2 -0
- package/es/types/Interface/api/society/GetDataSociety.js.map +1 -0
- package/es/types/Interface/api/society/LegalFormSiren.d.ts +6 -0
- package/es/types/Interface/api/society/LegalFormSiren.d.ts.map +1 -0
- package/es/types/Interface/api/society/LegalFormSiren.js +2 -0
- package/es/types/Interface/api/society/LegalFormSiren.js.map +1 -0
- package/es/types/Interface/api/user/CreateUser.d.ts +10 -0
- package/es/types/Interface/api/user/CreateUser.d.ts.map +1 -0
- package/es/types/Interface/api/user/CreateUser.js +41 -0
- package/es/types/Interface/api/user/CreateUser.js.map +1 -0
- package/es/types/Interface/api/user/QueryUserSmsConfirmation.d.ts +4 -0
- package/es/types/Interface/api/user/QueryUserSmsConfirmation.d.ts.map +1 -0
- package/es/types/Interface/api/user/QueryUserSmsConfirmation.js +17 -0
- package/es/types/Interface/api/user/QueryUserSmsConfirmation.js.map +1 -0
- package/es/types/Interface/models/IAccountingJournal.d.ts +2 -0
- package/es/types/Interface/models/IAccountingJournal.d.ts.map +1 -1
- package/es/types/Interface/models/IAccountingJournal.js.map +1 -1
- package/es/types/Interface/models/IApiError.d.ts +9 -1
- package/es/types/Interface/models/IApiError.d.ts.map +1 -1
- package/es/types/Interface/models/IApiError.js +11 -0
- package/es/types/Interface/models/IApiError.js.map +1 -1
- package/es/types/Interface/models/ILetter.d.ts +18 -14
- package/es/types/Interface/models/ILetter.d.ts.map +1 -1
- package/es/types/Interface/models/ILetter.js.map +1 -1
- package/es/types/Interface/models/IReport.d.ts +12 -11
- package/es/types/Interface/models/IReport.d.ts.map +1 -1
- package/es/types/Interface/models/IReport.js.map +1 -1
- package/es/types/Interface/models/IReportMessage.d.ts +1 -1
- package/es/types/Interface/models/IReportMessage.d.ts.map +1 -1
- package/es/types/Interface/models/IReportMessage.js.map +1 -1
- package/es/types/Interface/models/IReportType.js.map +1 -1
- package/es/types/Interface/models/ISociety.d.ts +0 -1
- package/es/types/Interface/models/ISociety.d.ts.map +1 -1
- package/es/types/Interface/models/ISociety.js.map +1 -1
- package/es/types/index.d.ts +22 -4
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +23 -4
- package/es/types/index.js.map +1 -1
- package/es/utils/objectUtils/overwrite.d.ts.map +1 -1
- package/es/utils/objectUtils/overwrite.js.map +1 -1
- package/js/api/resources/Authenticate.js +18 -0
- package/js/api/resources/Authenticate.js.map +1 -0
- package/js/api/resources/BalanceSheet.js +23 -0
- package/js/api/resources/BalanceSheet.js.map +1 -0
- package/js/api/resources/Cerfa.js +23 -0
- package/js/api/resources/Cerfa.js.map +1 -0
- package/js/api/resources/LegalForm.js +18 -0
- package/js/api/resources/LegalForm.js.map +1 -0
- package/js/api/resources/Letter.js +18 -0
- package/js/api/resources/Letter.js.map +1 -0
- package/js/api/resources/Report.js +28 -0
- package/js/api/resources/Report.js.map +1 -0
- package/js/api/resources/Society.js +11 -0
- package/js/api/resources/Society.js.map +1 -1
- package/js/api/resources/User.js +14 -0
- package/js/api/resources/User.js.map +1 -1
- package/js/api/resources.js +21 -3
- package/js/api/resources.js.map +1 -1
- package/js/types/Enum/AccountingJournal.js +1 -0
- package/js/types/Enum/AccountingJournal.js.map +1 -1
- package/js/types/Enum/BalanceSheet.js +438 -0
- package/js/types/Enum/BalanceSheet.js.map +1 -0
- package/js/types/Enum/DefaultPermissions.js +18 -0
- package/js/types/Enum/DefaultPermissions.js.map +1 -0
- package/js/types/Enum/IncomeStatement.js +5 -2
- package/js/types/Enum/IncomeStatement.js.map +1 -1
- package/js/types/Enum/LegalForm.js +1 -0
- package/js/types/Enum/LegalForm.js.map +1 -1
- package/js/types/Enum/LetterType.js +52 -0
- package/js/types/Enum/LetterType.js.map +1 -0
- package/js/types/Enum/ReportState.js +36 -0
- package/js/types/Enum/ReportState.js.map +1 -0
- package/js/types/Enum/ReportType.js +32 -0
- package/js/types/Enum/ReportType.js.map +1 -0
- package/js/types/Enum/Role.js +6 -1
- package/js/types/Enum/Role.js.map +1 -1
- package/js/types/Enum/Vehicle.js +15 -0
- package/js/types/Enum/Vehicle.js.map +1 -0
- package/js/types/Enum/VehicleType.js +20 -0
- package/js/types/Enum/VehicleType.js.map +1 -0
- package/js/types/Interface/api/balanceSheet/ReadBalanceSheet.js +6 -0
- package/js/types/Interface/api/balanceSheet/ReadBalanceSheet.js.map +1 -0
- package/js/types/Interface/api/cerfa/CreateCerfa.js +75 -0
- package/js/types/Interface/api/cerfa/CreateCerfa.js.map +1 -0
- package/js/types/Interface/api/letter/CreateLetter.js +47 -0
- package/js/types/Interface/api/letter/CreateLetter.js.map +1 -0
- package/js/types/Interface/api/report/CreateReport.js +41 -0
- package/js/types/Interface/api/report/CreateReport.js.map +1 -0
- package/js/types/Interface/api/report/QueryReports.js +37 -0
- package/js/types/Interface/api/report/QueryReports.js.map +1 -0
- package/js/types/Interface/api/{society/ReadSociety.js → report/ReadReport.js} +1 -1
- package/js/types/Interface/api/{society/ReadSociety.js.map → report/ReadReport.js.map} +1 -1
- package/js/types/Interface/api/society/CreateSociety.js +39 -0
- package/js/types/Interface/api/society/CreateSociety.js.map +1 -0
- package/js/types/Interface/api/society/GetDataSociety.js +6 -0
- package/js/types/Interface/api/society/GetDataSociety.js.map +1 -0
- package/js/types/Interface/api/society/LegalFormSiren.js +6 -0
- package/js/types/Interface/api/society/LegalFormSiren.js.map +1 -0
- package/js/types/Interface/api/user/CreateUser.js +39 -0
- package/js/types/Interface/api/user/CreateUser.js.map +1 -0
- package/js/types/Interface/api/user/QueryUserSmsConfirmation.js +27 -0
- package/js/types/Interface/api/user/QueryUserSmsConfirmation.js.map +1 -0
- package/js/types/Interface/models/IApiError.js +14 -3
- package/js/types/Interface/models/IApiError.js.map +1 -1
- package/js/types/index.js +240 -24
- package/js/types/index.js.map +1 -1
- package/package.json +16 -16
- package/ts/api/resources/Authenticate.ts +7 -0
- package/ts/api/resources/BalanceSheet.ts +12 -0
- package/ts/api/resources/Cerfa.ts +13 -0
- package/ts/api/resources/LegalForm.ts +8 -0
- package/ts/api/resources/Letter.ts +10 -0
- package/ts/api/resources/Report.ts +22 -0
- package/ts/api/resources/Society.ts +11 -0
- package/ts/api/resources/User.ts +12 -1
- package/ts/api/resources.ts +14 -2
- package/ts/types/Enum/AccountingJournal.ts +1 -0
- package/ts/types/Enum/BalanceSheet.ts +555 -0
- package/ts/types/Enum/DefaultPermissions.ts +12 -0
- package/ts/types/Enum/IncomeStatement.ts +6 -2
- package/ts/types/Enum/LegalForm.ts +1 -0
- package/ts/types/Enum/LetterType.ts +46 -0
- package/ts/types/Enum/ReportState.ts +30 -0
- package/ts/types/Enum/ReportType.ts +26 -0
- package/ts/types/Enum/Role.ts +6 -1
- package/ts/types/Enum/Vehicle.ts +7 -0
- package/ts/types/Enum/VehicleType.ts +14 -0
- package/ts/types/Interface/api/balanceSheet/ReadBalanceSheet.ts +10 -0
- package/ts/types/Interface/api/cerfa/CreateCerfa.ts +350 -0
- package/ts/types/Interface/api/letter/CreateLetter.ts +37 -0
- package/ts/types/Interface/api/report/CreateReport.ts +29 -0
- package/ts/types/Interface/api/report/QueryReports.ts +21 -0
- package/ts/types/Interface/api/report/ReadReport.ts +9 -0
- package/ts/types/Interface/api/society/CreateSociety.ts +24 -0
- package/ts/types/Interface/api/society/GetDataSociety.ts +4 -0
- package/ts/types/Interface/api/society/LegalFormSiren.ts +5 -0
- package/ts/types/Interface/api/user/CreateUser.ts +18 -0
- package/ts/types/Interface/api/user/QueryUserSmsConfirmation.ts +6 -0
- package/ts/types/Interface/models/IAccountingJournal.ts +2 -0
- package/ts/types/Interface/models/IApiError.ts +14 -0
- package/ts/types/Interface/models/ILetter.ts +18 -14
- package/ts/types/Interface/models/IReport.ts +12 -11
- package/ts/types/Interface/models/IReportMessage.ts +1 -1
- package/ts/types/Interface/models/IReportType.ts +1 -1
- package/ts/types/Interface/models/ISociety.ts +0 -1
- package/ts/types/index.ts +23 -4
- package/ts/utils/objectUtils/overwrite.ts +1 -1
- package/es/types/Interface/api/society/ReadSociety.d.ts +0 -5
- package/es/types/Interface/api/society/ReadSociety.d.ts.map +0 -1
- package/es/types/Interface/api/society/ReadSociety.js +0 -2
- package/es/types/Interface/api/society/ReadSociety.js.map +0 -1
- package/ts/types/Interface/api/society/ReadSociety.ts +0 -5
|
@@ -0,0 +1,292 @@
|
|
|
1
|
+
import { VehicleCerfaFuel } from '../../../Enum/Vehicle';
|
|
2
|
+
export interface DeterminedResult {
|
|
3
|
+
incomeExpenditure: boolean;
|
|
4
|
+
debts: boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare type AccountingKept = 'dutyFree' | 'taxIncluded' | 'notSubjectToVat';
|
|
7
|
+
export declare type CerfaCivility = 'M' | 'Mme' | 'Mlle';
|
|
8
|
+
export interface AccreditedOrganization {
|
|
9
|
+
isMember: boolean;
|
|
10
|
+
memberSince: Date;
|
|
11
|
+
numberOfEmployees: string;
|
|
12
|
+
netWagesReceived: number;
|
|
13
|
+
}
|
|
14
|
+
interface Vehicle {
|
|
15
|
+
name: string;
|
|
16
|
+
type: string;
|
|
17
|
+
fiscalPower: number;
|
|
18
|
+
isBNCScale: boolean;
|
|
19
|
+
isBICScale: boolean;
|
|
20
|
+
fuel: VehicleCerfaFuel;
|
|
21
|
+
professionalKilometers: number;
|
|
22
|
+
deductible: number;
|
|
23
|
+
depreciationPracticedAtReintegrate: number;
|
|
24
|
+
}
|
|
25
|
+
export interface MoralShareholder {
|
|
26
|
+
legalForm: string;
|
|
27
|
+
name: string;
|
|
28
|
+
siren?: string;
|
|
29
|
+
percentShares: number;
|
|
30
|
+
shares: number;
|
|
31
|
+
address: {
|
|
32
|
+
number: number | undefined;
|
|
33
|
+
street: string;
|
|
34
|
+
zipCode: string;
|
|
35
|
+
city: string;
|
|
36
|
+
country: string;
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export interface PhysicShareholder {
|
|
40
|
+
civility: CerfaCivility;
|
|
41
|
+
firstname: string;
|
|
42
|
+
lastname: string;
|
|
43
|
+
percentShares: number;
|
|
44
|
+
marriedName: string | null | undefined;
|
|
45
|
+
shares: number | null;
|
|
46
|
+
birth: {
|
|
47
|
+
date: string;
|
|
48
|
+
department: string | undefined;
|
|
49
|
+
city: string;
|
|
50
|
+
country: string;
|
|
51
|
+
};
|
|
52
|
+
address: {
|
|
53
|
+
street: string | undefined;
|
|
54
|
+
zipCode: string | undefined;
|
|
55
|
+
city: string | undefined;
|
|
56
|
+
country: string | undefined;
|
|
57
|
+
number: string | undefined;
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
export interface Subsidiarie {
|
|
61
|
+
legalForm: string;
|
|
62
|
+
name: string;
|
|
63
|
+
siren?: string;
|
|
64
|
+
percentShares: number;
|
|
65
|
+
address: {
|
|
66
|
+
number: number;
|
|
67
|
+
street: string;
|
|
68
|
+
zipCode: string;
|
|
69
|
+
city: string;
|
|
70
|
+
country: string;
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* CERFA 2035 TYPES
|
|
75
|
+
*/
|
|
76
|
+
export interface Cerfa2035Society {
|
|
77
|
+
name: string;
|
|
78
|
+
activity: string | null;
|
|
79
|
+
siret: string;
|
|
80
|
+
activityCode?: string;
|
|
81
|
+
ifExerciceInSociety?: boolean;
|
|
82
|
+
partnersCount?: number;
|
|
83
|
+
determinedResult?: DeterminedResult;
|
|
84
|
+
accountingKept: AccountingKept;
|
|
85
|
+
accreditedOrganization?: AccreditedOrganization;
|
|
86
|
+
address: string;
|
|
87
|
+
zipCode: string;
|
|
88
|
+
city: string;
|
|
89
|
+
}
|
|
90
|
+
export interface Cerfa2035ProfessionalRecipes {
|
|
91
|
+
collected: number;
|
|
92
|
+
toDeduce: {
|
|
93
|
+
disbursements: number;
|
|
94
|
+
retrocededFees: {
|
|
95
|
+
total: number;
|
|
96
|
+
supplement: number;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
net: number;
|
|
100
|
+
financialProducts: number;
|
|
101
|
+
miscellaneousGain: number;
|
|
102
|
+
total: number;
|
|
103
|
+
}
|
|
104
|
+
export interface Cerfa2035ProfessionalExpenses {
|
|
105
|
+
purchases: number;
|
|
106
|
+
personnelCosts: {
|
|
107
|
+
netSalariesAndBenefitsInKind: number;
|
|
108
|
+
socialChargesOnSalaries: number;
|
|
109
|
+
};
|
|
110
|
+
duesAndTaxes: {
|
|
111
|
+
valueAddedTax: number;
|
|
112
|
+
territorialEconomicContribution: number;
|
|
113
|
+
otherTaxes: number;
|
|
114
|
+
generalDeductibleSocialContribution: number;
|
|
115
|
+
};
|
|
116
|
+
rentAndRentalCharges: number;
|
|
117
|
+
equipmentRental: {
|
|
118
|
+
total: number;
|
|
119
|
+
collaborationFees: number;
|
|
120
|
+
};
|
|
121
|
+
maintenance: number;
|
|
122
|
+
temporaryStaff: number;
|
|
123
|
+
smallTools: number;
|
|
124
|
+
heatingWaterGasElectricity: number;
|
|
125
|
+
feesNotRetrocessions: number;
|
|
126
|
+
insurancePremiums: number;
|
|
127
|
+
vehicleCosts: {
|
|
128
|
+
total: number;
|
|
129
|
+
lumpSumAssessment: boolean;
|
|
130
|
+
};
|
|
131
|
+
otherTravelExpenses: number;
|
|
132
|
+
totalWorkSupplies: number;
|
|
133
|
+
totalTransport: number;
|
|
134
|
+
personalSocialCharges: {
|
|
135
|
+
obligatory: number;
|
|
136
|
+
contributionsMadelin: number;
|
|
137
|
+
retirementSavingsPlans: number;
|
|
138
|
+
total: number;
|
|
139
|
+
};
|
|
140
|
+
receptionFees: number;
|
|
141
|
+
officeSupplies: number;
|
|
142
|
+
legalCosts: number;
|
|
143
|
+
unionDues: number;
|
|
144
|
+
otherManagementFees: number;
|
|
145
|
+
totalDues: number;
|
|
146
|
+
financialExpenses: number;
|
|
147
|
+
miscellaneousLosses: number;
|
|
148
|
+
total: number;
|
|
149
|
+
}
|
|
150
|
+
export interface Cerfa2035Determination {
|
|
151
|
+
surplus: number;
|
|
152
|
+
shortTermCapitalGains: number;
|
|
153
|
+
miscellaneousToBeReinstated: number;
|
|
154
|
+
civilSocietyBenefit: number;
|
|
155
|
+
totalSurplus: number;
|
|
156
|
+
insufficiency: number;
|
|
157
|
+
administrationFees: number;
|
|
158
|
+
depreciationAllowance: number;
|
|
159
|
+
shortTermLoss: number;
|
|
160
|
+
miscellaneousToBeDeducted: {
|
|
161
|
+
freeZone: {
|
|
162
|
+
amount: number;
|
|
163
|
+
};
|
|
164
|
+
newBusiness: {
|
|
165
|
+
onSavingsSalary: number;
|
|
166
|
+
amount: number;
|
|
167
|
+
};
|
|
168
|
+
innovativeCompanies: {
|
|
169
|
+
amount: number;
|
|
170
|
+
youngArtists: number;
|
|
171
|
+
};
|
|
172
|
+
doctorsExemption: {
|
|
173
|
+
amount: number;
|
|
174
|
+
sectorApprovedDoctors: number;
|
|
175
|
+
};
|
|
176
|
+
total: number;
|
|
177
|
+
};
|
|
178
|
+
civilSocietyDeficit: number;
|
|
179
|
+
totalInsufficiency: number;
|
|
180
|
+
profit: number;
|
|
181
|
+
deficit: number;
|
|
182
|
+
}
|
|
183
|
+
export interface Cerfa2035ValueAddedTax {
|
|
184
|
+
grossReceipts: number;
|
|
185
|
+
relatedToPurchases: {
|
|
186
|
+
amount: number;
|
|
187
|
+
retrocededFees: number;
|
|
188
|
+
};
|
|
189
|
+
}
|
|
190
|
+
export interface Cerfa2035KilometricAllowance {
|
|
191
|
+
vehicles: Vehicle[];
|
|
192
|
+
costsNotCoveredByKilometricAllowances: number;
|
|
193
|
+
totalDeductible: number;
|
|
194
|
+
totalDepreciationPracticedAtReintegrate: number;
|
|
195
|
+
}
|
|
196
|
+
export interface Cerfa2035Recipes {
|
|
197
|
+
fees: number;
|
|
198
|
+
miscellaneousGains: number;
|
|
199
|
+
deductibleVat: number;
|
|
200
|
+
capitalGains: number;
|
|
201
|
+
total: number;
|
|
202
|
+
}
|
|
203
|
+
export interface Cerfa2035Expenses {
|
|
204
|
+
purchases: number;
|
|
205
|
+
stockVariation: number;
|
|
206
|
+
externalServices: number;
|
|
207
|
+
rentsAndRoyalties: number;
|
|
208
|
+
transport: number;
|
|
209
|
+
management: number;
|
|
210
|
+
vatInRecipes: number;
|
|
211
|
+
turnoverTax: number;
|
|
212
|
+
amortization: number;
|
|
213
|
+
capitalLosses: number;
|
|
214
|
+
total: number;
|
|
215
|
+
}
|
|
216
|
+
export interface Cerfa2035MonoEstablishment {
|
|
217
|
+
is: boolean;
|
|
218
|
+
benchmarkTurnover: number;
|
|
219
|
+
groupTurnover: number;
|
|
220
|
+
workforce: number;
|
|
221
|
+
period: {
|
|
222
|
+
startDate: Date;
|
|
223
|
+
endDate: Date;
|
|
224
|
+
};
|
|
225
|
+
cessationDate: Date;
|
|
226
|
+
}
|
|
227
|
+
export interface Cerfa2035ShareCapital {
|
|
228
|
+
moralAssociates: number;
|
|
229
|
+
moralAssociatesShares: number;
|
|
230
|
+
physicAssociates: number;
|
|
231
|
+
physicAssociatesShares: number;
|
|
232
|
+
moralShareholder: MoralShareholder[];
|
|
233
|
+
physicShareholder: PhysicShareholder[];
|
|
234
|
+
idDeposit?: number;
|
|
235
|
+
}
|
|
236
|
+
export interface Cerfa2035 {
|
|
237
|
+
isNil: boolean;
|
|
238
|
+
society: Cerfa2035Society;
|
|
239
|
+
immobilizations: number;
|
|
240
|
+
professionalRecipes: Cerfa2035ProfessionalRecipes;
|
|
241
|
+
professionalExpenses: Cerfa2035ProfessionalExpenses;
|
|
242
|
+
determination: Cerfa2035Determination;
|
|
243
|
+
valueAddedTax: Cerfa2035ValueAddedTax;
|
|
244
|
+
territorialContribution: number;
|
|
245
|
+
kilometricAllowances: Cerfa2035KilometricAllowance;
|
|
246
|
+
period: {
|
|
247
|
+
startDate: Date;
|
|
248
|
+
endDate: Date;
|
|
249
|
+
months: string;
|
|
250
|
+
};
|
|
251
|
+
shareCapital: Cerfa2035ShareCapital;
|
|
252
|
+
subsidiaries: {
|
|
253
|
+
total: number;
|
|
254
|
+
list: Subsidiarie[];
|
|
255
|
+
};
|
|
256
|
+
annex?: {
|
|
257
|
+
recipes: Cerfa2035Recipes;
|
|
258
|
+
expenses: Cerfa2035Expenses;
|
|
259
|
+
addedValue: number;
|
|
260
|
+
addedValueContribution: number;
|
|
261
|
+
monoEstablishment: Cerfa2035MonoEstablishment | null;
|
|
262
|
+
};
|
|
263
|
+
}
|
|
264
|
+
export declare class ParamsGenerate2035 {
|
|
265
|
+
isTest?: boolean;
|
|
266
|
+
isNil: boolean;
|
|
267
|
+
disbursements?: number | null;
|
|
268
|
+
supplement?: number | null;
|
|
269
|
+
activityCode?: string | null;
|
|
270
|
+
valueAddedTax?: number | null;
|
|
271
|
+
equipmentRentalCollaborationFees?: number | null;
|
|
272
|
+
lumpSumAssessment?: boolean | null;
|
|
273
|
+
personalSocialChargesObligatory?: number | null;
|
|
274
|
+
contributionsMadelin?: number | null;
|
|
275
|
+
retirementSavingsPlans?: number | null;
|
|
276
|
+
miscellaneousToBeReinstated?: number | null;
|
|
277
|
+
civilSocietyBenefit?: number | null;
|
|
278
|
+
administrationFees?: number | null;
|
|
279
|
+
mtbdFreeZoneAmount?: number | null;
|
|
280
|
+
mtbdNewBusinessAmount?: number | null;
|
|
281
|
+
mtbdInnovativeCompaniesAmount?: number | null;
|
|
282
|
+
mtbdInnovativeCompaniesYoungArtists?: number | null;
|
|
283
|
+
mtbdDoctorsExemptionAmount?: number | null;
|
|
284
|
+
mtbdDoctorsExemptionSectorApprovedDoctors?: number | null;
|
|
285
|
+
grossReceipts?: number | null;
|
|
286
|
+
relatedToPurchasesAmount?: number | null;
|
|
287
|
+
retrocededFees?: number | null;
|
|
288
|
+
territorialContribution?: number | null;
|
|
289
|
+
miscellaneousToBeDeductedTotal?: number | null;
|
|
290
|
+
}
|
|
291
|
+
export {};
|
|
292
|
+
//# sourceMappingURL=CreateCerfa.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateCerfa.d.ts","sourceRoot":"","sources":["../../../../../ts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? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
11
|
+
export class ParamsGenerate2035 {
|
|
12
|
+
}
|
|
13
|
+
__decorate([
|
|
14
|
+
ApiProperty(),
|
|
15
|
+
__metadata("design:type", Boolean)
|
|
16
|
+
], ParamsGenerate2035.prototype, "isTest", void 0);
|
|
17
|
+
__decorate([
|
|
18
|
+
ApiProperty(),
|
|
19
|
+
__metadata("design:type", Boolean)
|
|
20
|
+
], ParamsGenerate2035.prototype, "isNil", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
ApiPropertyOptional(),
|
|
23
|
+
__metadata("design:type", Object)
|
|
24
|
+
], ParamsGenerate2035.prototype, "disbursements", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
ApiPropertyOptional(),
|
|
27
|
+
__metadata("design:type", Object)
|
|
28
|
+
], ParamsGenerate2035.prototype, "supplement", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
ApiPropertyOptional(),
|
|
31
|
+
__metadata("design:type", Object)
|
|
32
|
+
], ParamsGenerate2035.prototype, "activityCode", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
ApiPropertyOptional(),
|
|
35
|
+
__metadata("design:type", Object)
|
|
36
|
+
], ParamsGenerate2035.prototype, "valueAddedTax", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
ApiPropertyOptional(),
|
|
39
|
+
__metadata("design:type", Object)
|
|
40
|
+
], ParamsGenerate2035.prototype, "equipmentRentalCollaborationFees", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
ApiPropertyOptional(),
|
|
43
|
+
__metadata("design:type", Object)
|
|
44
|
+
], ParamsGenerate2035.prototype, "lumpSumAssessment", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
ApiPropertyOptional(),
|
|
47
|
+
__metadata("design:type", Object)
|
|
48
|
+
], ParamsGenerate2035.prototype, "personalSocialChargesObligatory", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
ApiPropertyOptional(),
|
|
51
|
+
__metadata("design:type", Object)
|
|
52
|
+
], ParamsGenerate2035.prototype, "contributionsMadelin", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
ApiPropertyOptional(),
|
|
55
|
+
__metadata("design:type", Object)
|
|
56
|
+
], ParamsGenerate2035.prototype, "retirementSavingsPlans", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
ApiPropertyOptional(),
|
|
59
|
+
__metadata("design:type", Object)
|
|
60
|
+
], ParamsGenerate2035.prototype, "miscellaneousToBeReinstated", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
ApiPropertyOptional(),
|
|
63
|
+
__metadata("design:type", Object)
|
|
64
|
+
], ParamsGenerate2035.prototype, "civilSocietyBenefit", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
ApiPropertyOptional(),
|
|
67
|
+
__metadata("design:type", Object)
|
|
68
|
+
], ParamsGenerate2035.prototype, "administrationFees", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
ApiPropertyOptional(),
|
|
71
|
+
__metadata("design:type", Object)
|
|
72
|
+
], ParamsGenerate2035.prototype, "mtbdFreeZoneAmount", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
ApiPropertyOptional(),
|
|
75
|
+
__metadata("design:type", Object)
|
|
76
|
+
], ParamsGenerate2035.prototype, "mtbdNewBusinessAmount", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
ApiPropertyOptional(),
|
|
79
|
+
__metadata("design:type", Object)
|
|
80
|
+
], ParamsGenerate2035.prototype, "mtbdInnovativeCompaniesAmount", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
ApiPropertyOptional(),
|
|
83
|
+
__metadata("design:type", Object)
|
|
84
|
+
], ParamsGenerate2035.prototype, "mtbdInnovativeCompaniesYoungArtists", void 0);
|
|
85
|
+
__decorate([
|
|
86
|
+
ApiPropertyOptional(),
|
|
87
|
+
__metadata("design:type", Object)
|
|
88
|
+
], ParamsGenerate2035.prototype, "mtbdDoctorsExemptionAmount", void 0);
|
|
89
|
+
__decorate([
|
|
90
|
+
ApiPropertyOptional(),
|
|
91
|
+
__metadata("design:type", Object)
|
|
92
|
+
], ParamsGenerate2035.prototype, "mtbdDoctorsExemptionSectorApprovedDoctors", void 0);
|
|
93
|
+
__decorate([
|
|
94
|
+
ApiPropertyOptional(),
|
|
95
|
+
__metadata("design:type", Object)
|
|
96
|
+
], ParamsGenerate2035.prototype, "grossReceipts", void 0);
|
|
97
|
+
__decorate([
|
|
98
|
+
ApiPropertyOptional(),
|
|
99
|
+
__metadata("design:type", Object)
|
|
100
|
+
], ParamsGenerate2035.prototype, "relatedToPurchasesAmount", void 0);
|
|
101
|
+
__decorate([
|
|
102
|
+
ApiPropertyOptional(),
|
|
103
|
+
__metadata("design:type", Object)
|
|
104
|
+
], ParamsGenerate2035.prototype, "retrocededFees", void 0);
|
|
105
|
+
__decorate([
|
|
106
|
+
ApiPropertyOptional(),
|
|
107
|
+
__metadata("design:type", Object)
|
|
108
|
+
], ParamsGenerate2035.prototype, "territorialContribution", void 0);
|
|
109
|
+
__decorate([
|
|
110
|
+
ApiPropertyOptional(),
|
|
111
|
+
__metadata("design:type", Object)
|
|
112
|
+
], ParamsGenerate2035.prototype, "miscellaneousToBeDeductedTotal", void 0);
|
|
113
|
+
//# sourceMappingURL=CreateCerfa.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateCerfa.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/cerfa/CreateCerfa.ts"],"names":[],"mappings":";;;;;;;;;AACA,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAiRrE,MAAM,OAAO,kBAAkB;CA2E9B;AAzEC;IADC,WAAW,EAAE;;kDACG;AAGjB;IADC,WAAW,EAAE;;iDACC;AAGf;IADC,mBAAmB,EAAE;;yDACQ;AAG9B;IADC,mBAAmB,EAAE;;sDACK;AAG3B;IADC,mBAAmB,EAAE;;wDACO;AAG7B;IADC,mBAAmB,EAAE;;yDACQ;AAG9B;IADC,mBAAmB,EAAE;;4EAC2B;AAGjD;IADC,mBAAmB,EAAE;;6DACa;AAGnC;IADC,mBAAmB,EAAE;;2EAC0B;AAGhD;IADC,mBAAmB,EAAE;;gEACe;AAGrC;IADC,mBAAmB,EAAE;;kEACiB;AAGvC;IADC,mBAAmB,EAAE;;uEACsB;AAG5C;IADC,mBAAmB,EAAE;;+DACc;AAGpC;IADC,mBAAmB,EAAE;;8DACa;AAGnC;IADC,mBAAmB,EAAE;;8DACa;AAGnC;IADC,mBAAmB,EAAE;;iEACgB;AAGtC;IADC,mBAAmB,EAAE;;yEACwB;AAG9C;IADC,mBAAmB,EAAE;;+EAC8B;AAGpD;IADC,mBAAmB,EAAE;;sEACqB;AAG3C;IADC,mBAAmB,EAAE;;qFACoC;AAG1D;IADC,mBAAmB,EAAE;;yDACQ;AAG9B;IADC,mBAAmB,EAAE;;oEACmB;AAGzC;IADC,mBAAmB,EAAE;;0DACS;AAG/B;IADC,mBAAmB,EAAE;;mEACkB;AAGxC;IADC,mBAAmB,EAAE;;0EACyB","sourcesContent":["import { VehicleCerfaFuel } from '../../../Enum/Vehicle';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport interface DeterminedResult {\n incomeExpenditure: boolean; // d'après les règles « recettes-dépenses »\n debts: boolean; // d'après les règles « créances-dettes »\n}\n\nexport type AccountingKept = 'dutyFree' | 'taxIncluded' | 'notSubjectToVat';\nexport type CerfaCivility = 'M' | 'Mme' | 'Mlle';\n\nexport interface AccreditedOrganization {\n isMember: boolean;\n memberSince: Date;\n numberOfEmployees: string;\n netWagesReceived: number; // Salaires nets perçus\n}\n\ninterface Vehicle {\n name: string;\n type: string;\n fiscalPower: number;\n isBNCScale: boolean;\n isBICScale: boolean;\n fuel: VehicleCerfaFuel;\n professionalKilometers: number;\n deductible: number;\n depreciationPracticedAtReintegrate: number;\n}\n\nexport interface MoralShareholder {\n legalForm: string;\n name: string;\n siren?: string;\n percentShares: number;\n shares: number;\n address: {\n number: number | undefined;\n street: string;\n zipCode: string;\n city: string;\n country: string;\n };\n}\n\nexport interface PhysicShareholder {\n civility: CerfaCivility;\n firstname: string;\n lastname: string;\n percentShares: number;\n marriedName: string | null | undefined;\n shares: number | null;\n birth: {\n date: string;\n department: string | undefined;\n city: string;\n country: string;\n }\n address: {\n street: string | undefined;\n zipCode: string | undefined;\n city: string | undefined;\n country: string | undefined;\n number: string | undefined;\n }\n}\n\nexport interface Subsidiarie {\n legalForm: string;\n name: string;\n siren?: string;\n percentShares: number;\n address: {\n number: number;\n street: string;\n zipCode: string;\n city: string;\n country: string;\n };\n}\n\n/**\n * CERFA 2035 TYPES\n */\n\nexport interface Cerfa2035Society {\n name: string;\n activity: string | null;\n siret: string;\n activityCode?: string; // Code activité pour les praticiens médicaux\n ifExerciceInSociety?: boolean; // Si exercice en société\n partnersCount?: number;\n determinedResult?: DeterminedResult; // Résultat déterminé\n accountingKept: AccountingKept; // Comptabilité tenue\n accreditedOrganization?: AccreditedOrganization // Si vous êtes adhérent d'un organisme agréé (association ou organisme mixte) ou client d'un viseur fiscal\n address: string;\n zipCode: string;\n city: string;\n}\n\nexport interface Cerfa2035ProfessionalRecipes {\n collected: number;\n toDeduce: {\n disbursements: number;\n retrocededFees: {\n total: number;\n supplement: number;\n }\n };\n net: number;\n financialProducts: number;\n miscellaneousGain: number;\n total: number;\n}\n\nexport interface Cerfa2035ProfessionalExpenses {\n purchases: number;\n personnelCosts: {\n netSalariesAndBenefitsInKind: number;\n socialChargesOnSalaries: number;\n }\n duesAndTaxes: {\n valueAddedTax: number;\n territorialEconomicContribution: number;\n otherTaxes: number;\n generalDeductibleSocialContribution: number;\n };\n rentAndRentalCharges: number;\n equipmentRental: {\n total: number;\n collaborationFees: number;\n };\n maintenance: number;\n temporaryStaff: number;\n smallTools: number;\n heatingWaterGasElectricity: number;\n feesNotRetrocessions: number;\n insurancePremiums: number;\n vehicleCosts: {\n total: number;\n lumpSumAssessment: boolean;\n };\n otherTravelExpenses: number;\n totalWorkSupplies: number;\n totalTransport: number;\n personalSocialCharges: {\n obligatory: number;\n contributionsMadelin: number;\n retirementSavingsPlans: number;\n total: number;\n };\n receptionFees: number;\n officeSupplies: number;\n legalCosts: number;\n unionDues: number;\n otherManagementFees: number;\n totalDues: number;\n financialExpenses: number;\n miscellaneousLosses: number;\n total: number;\n}\n\nexport interface Cerfa2035Determination {\n surplus: number;\n shortTermCapitalGains: number;\n miscellaneousToBeReinstated: number;\n civilSocietyBenefit: number;\n totalSurplus: number;\n insufficiency: number;\n administrationFees: number;\n depreciationAllowance: number;\n shortTermLoss: number;\n miscellaneousToBeDeducted: {\n freeZone: {\n amount: number;\n };\n newBusiness: {\n onSavingsSalary: number;\n amount: number;\n };\n innovativeCompanies: {\n amount: number;\n youngArtists: number;\n }\n doctorsExemption: {\n amount: number;\n sectorApprovedDoctors: number;\n };\n total: number;\n }\n civilSocietyDeficit: number;\n totalInsufficiency: number;\n profit: number;\n deficit: number;\n}\n\nexport interface Cerfa2035ValueAddedTax {\n grossReceipts: number;\n relatedToPurchases: {\n amount: number;\n retrocededFees: number;\n };\n}\n\nexport interface Cerfa2035KilometricAllowance {\n vehicles: Vehicle[];\n costsNotCoveredByKilometricAllowances: number;\n totalDeductible: number;\n totalDepreciationPracticedAtReintegrate: number;\n}\n\nexport interface Cerfa2035Recipes {\n fees: number;\n miscellaneousGains: number;\n deductibleVat: number;\n capitalGains: number;\n total: number;\n}\n\nexport interface Cerfa2035Expenses {\n purchases: number;\n stockVariation: number;\n externalServices: number;\n rentsAndRoyalties: number;\n transport: number;\n management: number;\n vatInRecipes: number;\n turnoverTax: number;\n amortization: number;\n capitalLosses: number;\n total: number;\n}\n\nexport interface Cerfa2035MonoEstablishment {\n is: boolean; // Est mono établissement\n benchmarkTurnover: number;\n groupTurnover: number;\n workforce: number;\n period: { startDate: Date, endDate: Date };\n cessationDate: Date;\n}\n\nexport interface Cerfa2035ShareCapital {\n moralAssociates: number;\n moralAssociatesShares: number;\n physicAssociates: number;\n physicAssociatesShares: number;\n moralShareholder: MoralShareholder[];\n physicShareholder: PhysicShareholder[];\n idDeposit?: number;\n}\n\nexport interface Cerfa2035 {\n isNil: boolean;\n society: Cerfa2035Society;\n immobilizations: number;\n professionalRecipes: Cerfa2035ProfessionalRecipes;\n professionalExpenses: Cerfa2035ProfessionalExpenses;\n determination: Cerfa2035Determination;\n valueAddedTax: Cerfa2035ValueAddedTax;\n territorialContribution: number;\n kilometricAllowances: Cerfa2035KilometricAllowance;\n period: { startDate: Date, endDate: Date, months: string };\n shareCapital: Cerfa2035ShareCapital;\n subsidiaries: { total: number, list: Subsidiarie[] };\n annex?: {\n recipes: Cerfa2035Recipes;\n expenses: Cerfa2035Expenses;\n addedValue: number;\n addedValueContribution: number;\n monoEstablishment: Cerfa2035MonoEstablishment | null;\n }\n}\n\nexport class ParamsGenerate2035 {\n @ApiProperty()\n isTest?: boolean; // Modifie le chemin du PDF\n\n @ApiProperty()\n isNil: boolean; // Néant\n\n @ApiPropertyOptional()\n disbursements?: number | null; // Débours payés pour le compte des clients\n\n @ApiPropertyOptional()\n supplement?: number | null; // Honoraires rétrocédés (dont suppléments rétrocédés)\n\n @ApiPropertyOptional()\n activityCode?: string | null; // Code activité pour les praticiens médicaux\n\n @ApiPropertyOptional()\n valueAddedTax?: number | null; // Impôts et taxes : Taxe sur la valeur ajoutée\n\n @ApiPropertyOptional()\n equipmentRentalCollaborationFees?: number | null; // Location de matériel et de mobilier – dont redevances de collaboration\n\n @ApiPropertyOptional()\n lumpSumAssessment?: boolean | null; // Frais de véhicules - (cocher la case si évaluation forfaitaire)\n\n @ApiPropertyOptional()\n personalSocialChargesObligatory?: number | null; // Charges sociales personnelles - dont obligatoires\n\n @ApiPropertyOptional()\n contributionsMadelin?: number | null; // Charges sociales personnelles - dont cotisations facultatives Madelin\n\n @ApiPropertyOptional()\n retirementSavingsPlans?: number | null; // Dont facultatives aux nouveaux plans d’épargne retraite\n\n @ApiPropertyOptional()\n miscellaneousToBeReinstated?: number | null; // Divers à réintégrer\n\n @ApiPropertyOptional()\n civilSocietyBenefit?: number | null; // Bénéfice Société civile de moyen\n\n @ApiPropertyOptional()\n administrationFees?: number | null; // Frais d'établissement\n\n @ApiPropertyOptional()\n mtbdFreeZoneAmount?: number | null; // dont exonération sur le bénéfice « zone franche urbaine territoire entrepreneur »\n\n @ApiPropertyOptional()\n mtbdNewBusinessAmount?: number | null; // dont exonération sur le bénéfice « entreprise nouvelle »\n\n @ApiPropertyOptional()\n mtbdInnovativeCompaniesAmount?: number | null; // dont exonération « jeunes entreprises innovantes »\n\n @ApiPropertyOptional()\n mtbdInnovativeCompaniesYoungArtists?: number | null; // dont exonération sur le bénéfice « jeunes artistes »\n\n @ApiPropertyOptional()\n mtbdDoctorsExemptionAmount?: number | null; // dont exonération médecins « zones déficitaires en offre de soins »\n\n @ApiPropertyOptional()\n mtbdDoctorsExemptionSectorApprovedDoctors?: number | null; // dont déductions « médecins conventionnés de secteur I »\n\n @ApiPropertyOptional()\n grossReceipts?: number | null; // Montant de la TVA afférente aux recettes brutes\n\n @ApiPropertyOptional()\n relatedToPurchasesAmount?: number | null; // Montant de la TVA afférente aux achats (biens et services autres qu'immobilisations) :\n\n @ApiPropertyOptional()\n retrocededFees?: number | null; // dont montant de la TVA afférente aux honoraires rétrocédés\n\n @ApiPropertyOptional()\n territorialContribution?: number | null; // Recettes provenant d'activités exonérées à titre permanent\n\n @ApiPropertyOptional()\n miscellaneousToBeDeductedTotal?: number | null; // Divers à déduire (CL)\n}"]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ILetter } from '../../..';
|
|
2
|
+
export declare class CreateLetter implements ILetter {
|
|
3
|
+
idLetterType: number;
|
|
4
|
+
idReport?: number;
|
|
5
|
+
idSociety: number;
|
|
6
|
+
letterDate: Date;
|
|
7
|
+
complement?: string;
|
|
8
|
+
fileType?: 'receivedFileObject' | 'responseFileObject' | null;
|
|
9
|
+
isLRAR?: boolean;
|
|
10
|
+
isDone?: boolean;
|
|
11
|
+
needResponse?: boolean;
|
|
12
|
+
ARNumber?: string;
|
|
13
|
+
idAccountant?: number;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=CreateLetter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateLetter.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/letter/CreateLetter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAGnC,qBAAa,YAAa,YAAW,OAAO;IAE1C,YAAY,EAAE,MAAM,CAAC;IAGrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,SAAS,EAAE,MAAM,CAAC;IAGlB,UAAU,EAAE,IAAI,CAAC;IAGjB,UAAU,CAAC,EAAE,MAAM,CAAC;IAGpB,QAAQ,CAAC,EAAE,oBAAoB,GAAG,oBAAoB,GAAG,IAAI,CAAC;IAG9D,MAAM,CAAC,EAAE,OAAO,CAAC;IAGjB,MAAM,CAAC,EAAE,OAAO,CAAC;IAGjB,YAAY,CAAC,EAAE,OAAO,CAAC;IAGvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
11
|
+
export class CreateLetter {
|
|
12
|
+
}
|
|
13
|
+
__decorate([
|
|
14
|
+
ApiProperty(),
|
|
15
|
+
__metadata("design:type", Number)
|
|
16
|
+
], CreateLetter.prototype, "idLetterType", void 0);
|
|
17
|
+
__decorate([
|
|
18
|
+
ApiPropertyOptional(),
|
|
19
|
+
__metadata("design:type", Number)
|
|
20
|
+
], CreateLetter.prototype, "idReport", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
ApiProperty(),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], CreateLetter.prototype, "idSociety", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
ApiProperty(),
|
|
27
|
+
__metadata("design:type", Date)
|
|
28
|
+
], CreateLetter.prototype, "letterDate", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
ApiPropertyOptional(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], CreateLetter.prototype, "complement", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
ApiPropertyOptional(),
|
|
35
|
+
__metadata("design:type", Object)
|
|
36
|
+
], CreateLetter.prototype, "fileType", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
ApiPropertyOptional(),
|
|
39
|
+
__metadata("design:type", Boolean)
|
|
40
|
+
], CreateLetter.prototype, "isLRAR", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
ApiPropertyOptional(),
|
|
43
|
+
__metadata("design:type", Boolean)
|
|
44
|
+
], CreateLetter.prototype, "isDone", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
ApiPropertyOptional(),
|
|
47
|
+
__metadata("design:type", Boolean)
|
|
48
|
+
], CreateLetter.prototype, "needResponse", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
ApiPropertyOptional(),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], CreateLetter.prototype, "ARNumber", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
ApiPropertyOptional(),
|
|
55
|
+
__metadata("design:type", Number)
|
|
56
|
+
], CreateLetter.prototype, "idAccountant", void 0);
|
|
57
|
+
//# sourceMappingURL=CreateLetter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateLetter.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/letter/CreateLetter.ts"],"names":[],"mappings":";;;;;;;;;AACA,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAErE,MAAM,OAAO,YAAY;CAiCxB;AA/BC;IADC,WAAW,EAAE;;kDACO;AAGrB;IADC,mBAAmB,EAAE;;8CACJ;AAGlB;IADC,WAAW,EAAE;;+CACI;AAGlB;IADC,WAAW,EAAE;8BACF,IAAI;gDAAC;AAGjB;IADC,mBAAmB,EAAE;;gDACF;AAGpB;IADC,mBAAmB,EAAE;;8CACwC;AAG9D;IADC,mBAAmB,EAAE;;4CACL;AAGjB;IADC,mBAAmB,EAAE;;4CACL;AAGjB;IADC,mBAAmB,EAAE;;kDACC;AAGvB;IADC,mBAAmB,EAAE;;8CACJ;AAGlB;IADC,mBAAmB,EAAE;;kDACA","sourcesContent":["import { ILetter } from '../../..';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class CreateLetter implements ILetter {\n @ApiProperty()\n idLetterType: number;\n\n @ApiPropertyOptional()\n idReport?: number;\n\n @ApiProperty()\n idSociety: number;\n\n @ApiProperty()\n letterDate: Date;\n\n @ApiPropertyOptional()\n complement?: string;\n\n @ApiPropertyOptional()\n fileType?: 'receivedFileObject' | 'responseFileObject' | null;\n\n @ApiPropertyOptional()\n isLRAR?: boolean;\n\n @ApiPropertyOptional()\n isDone?: boolean;\n\n @ApiPropertyOptional()\n needResponse?: boolean;\n\n @ApiPropertyOptional()\n ARNumber?: string;\n\n @ApiPropertyOptional()\n idAccountant?: number;\n}\n"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IReport } from '../../..';
|
|
2
|
+
import { TFile } from '../file/TFile';
|
|
3
|
+
export declare class CreateReport implements IReport {
|
|
4
|
+
idReportType?: number;
|
|
5
|
+
idSociety?: number;
|
|
6
|
+
idUser: number;
|
|
7
|
+
message: string;
|
|
8
|
+
search?: string;
|
|
9
|
+
letterDate: Date;
|
|
10
|
+
receivedFile?: TFile;
|
|
11
|
+
responseFile?: TFile;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=CreateReport.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateReport.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/report/CreateReport.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAEnC,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEtC,qBAAa,YAAa,YAAW,OAAO;IAE1C,YAAY,CAAC,EAAE,MAAM,CAAC;IAGtB,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,MAAM,EAAE,MAAM,CAAC;IAGf,OAAO,EAAE,MAAM,CAAC;IAGhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,UAAU,EAAE,IAAI,CAAC;IAGjB,YAAY,CAAC,EAAE,KAAK,CAAC;IAGrB,YAAY,CAAC,EAAE,KAAK,CAAC;CACtB"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
11
|
+
export class CreateReport {
|
|
12
|
+
}
|
|
13
|
+
__decorate([
|
|
14
|
+
ApiPropertyOptional(),
|
|
15
|
+
__metadata("design:type", Number)
|
|
16
|
+
], CreateReport.prototype, "idReportType", void 0);
|
|
17
|
+
__decorate([
|
|
18
|
+
ApiPropertyOptional(),
|
|
19
|
+
__metadata("design:type", Number)
|
|
20
|
+
], CreateReport.prototype, "idSociety", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
ApiProperty(),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], CreateReport.prototype, "idUser", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
ApiProperty(),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], CreateReport.prototype, "message", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
ApiPropertyOptional(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], CreateReport.prototype, "search", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
ApiProperty(),
|
|
35
|
+
__metadata("design:type", Date)
|
|
36
|
+
], CreateReport.prototype, "letterDate", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
ApiPropertyOptional(),
|
|
39
|
+
__metadata("design:type", Object)
|
|
40
|
+
], CreateReport.prototype, "receivedFile", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
ApiPropertyOptional(),
|
|
43
|
+
__metadata("design:type", Object)
|
|
44
|
+
], CreateReport.prototype, "responseFile", void 0);
|
|
45
|
+
//# sourceMappingURL=CreateReport.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateReport.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/report/CreateReport.ts"],"names":[],"mappings":";;;;;;;;;AACA,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAGrE,MAAM,OAAO,YAAY;CAwBxB;AAtBC;IADC,mBAAmB,EAAE;;kDACA;AAGtB;IADC,mBAAmB,EAAE;;+CACH;AAGnB;IADC,WAAW,EAAE;;4CACC;AAGf;IADC,WAAW,EAAE;;6CACE;AAGhB;IADC,mBAAmB,EAAE;;4CACN;AAGhB;IADC,WAAW,EAAE;8BACF,IAAI;gDAAC;AAGjB;IADC,mBAAmB,EAAE;;kDACD;AAGrB;IADC,mBAAmB,EAAE;;kDACD","sourcesContent":["import { IReport } from '../../..';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { TFile } from '../file/TFile';\n\nexport class CreateReport implements IReport {\n @ApiPropertyOptional()\n idReportType?: number;\n\n @ApiPropertyOptional()\n idSociety?: number;\n\n @ApiProperty()\n idUser: number;\n\n @ApiProperty()\n message: string;\n\n @ApiPropertyOptional()\n search?: string;\n\n @ApiProperty()\n letterDate: Date;\n\n @ApiPropertyOptional()\n receivedFile?: TFile;\n\n @ApiPropertyOptional()\n responseFile?: TFile;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QueryReports.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/report/QueryReports.ts"],"names":[],"mappings":"AAEA,qBAAa,YAAY;IAEvB,YAAY,CAAC,EAAE,MAAM,CAAC;IAGtB,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import { ApiPropertyOptional } from '../../../../utils';
|
|
11
|
+
export class QueryReports {
|
|
12
|
+
}
|
|
13
|
+
__decorate([
|
|
14
|
+
ApiPropertyOptional(),
|
|
15
|
+
__metadata("design:type", Number)
|
|
16
|
+
], QueryReports.prototype, "idReportType", void 0);
|
|
17
|
+
__decorate([
|
|
18
|
+
ApiPropertyOptional(),
|
|
19
|
+
__metadata("design:type", Number)
|
|
20
|
+
], QueryReports.prototype, "idSociety", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
ApiPropertyOptional(),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], QueryReports.prototype, "search", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
ApiPropertyOptional(),
|
|
27
|
+
__metadata("design:type", Number)
|
|
28
|
+
], QueryReports.prototype, "year", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
ApiPropertyOptional(),
|
|
31
|
+
__metadata("design:type", Number)
|
|
32
|
+
], QueryReports.prototype, "state", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
ApiPropertyOptional(),
|
|
35
|
+
__metadata("design:type", Number)
|
|
36
|
+
], QueryReports.prototype, "idUser", void 0);
|
|
37
|
+
//# sourceMappingURL=QueryReports.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QueryReports.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/report/QueryReports.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,MAAM,OAAO,YAAY;CAkBxB;AAhBC;IADC,mBAAmB,EAAE;;kDACA;AAGtB;IADC,mBAAmB,EAAE;;+CACH;AAGnB;IADC,mBAAmB,EAAE;;4CACN;AAGhB;IADC,mBAAmB,EAAE;;0CACR;AAGd;IADC,mBAAmB,EAAE;;2CACP;AAGf;IADC,mBAAmB,EAAE;;4CACN","sourcesContent":["import { ApiPropertyOptional } from '../../../../utils';\n\nexport class QueryReports {\n @ApiPropertyOptional()\n idReportType?: number;\n\n @ApiPropertyOptional()\n idSociety?: number;\n\n @ApiPropertyOptional()\n search?: string;\n\n @ApiPropertyOptional()\n year?: number;\n\n @ApiPropertyOptional()\n state?: number;\n\n @ApiPropertyOptional()\n idUser?: number;\n}\n"]}
|