@silexpert/core 1.1.332 → 1.1.333
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/CompanyCreationForm.d.ts +10 -0
- package/dist/cjs/api/resources/CompanyCreationForm.d.ts.map +1 -0
- package/dist/cjs/api/resources/CompanyCreationForm.js +23 -0
- package/dist/cjs/api/resources/CompanyCreationForm.js.map +1 -0
- 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/FiscalRegime.d.ts +5 -0
- package/dist/cjs/types/Enum/FiscalRegime.d.ts.map +1 -1
- package/dist/cjs/types/Enum/FiscalRegime.js +28 -1
- package/dist/cjs/types/Enum/FiscalRegime.js.map +1 -1
- package/dist/cjs/types/Enum/LegalForm.d.ts +2 -1
- package/dist/cjs/types/Enum/LegalForm.d.ts.map +1 -1
- package/dist/cjs/types/Enum/LegalForm.js +10 -0
- package/dist/cjs/types/Enum/LegalForm.js.map +1 -1
- package/dist/cjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.d.ts +107 -0
- package/dist/cjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.js +3 -0
- package/dist/cjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.js.map +1 -0
- package/dist/cjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.d.ts +196 -0
- package/dist/cjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.js +737 -0
- package/dist/cjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.js.map +1 -0
- package/dist/cjs/types/Interface/api/companyCreationForm/UpdateCompanyCreationForm.d.ts +6 -0
- package/dist/cjs/types/Interface/api/companyCreationForm/UpdateCompanyCreationForm.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/companyCreationForm/UpdateCompanyCreationForm.js +24 -0
- package/dist/cjs/types/Interface/api/companyCreationForm/UpdateCompanyCreationForm.js.map +1 -0
- package/dist/cjs/types/Interface/models/ICompanyCreationForm.d.ts +12 -0
- package/dist/cjs/types/Interface/models/ICompanyCreationForm.d.ts.map +1 -0
- package/dist/cjs/types/Interface/models/ICompanyCreationForm.js +3 -0
- package/dist/cjs/types/Interface/models/ICompanyCreationForm.js.map +1 -0
- package/dist/cjs/types/index.d.ts +4 -0
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +4 -0
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/mjs/api/resources/CompanyCreationForm.d.ts +10 -0
- package/dist/mjs/api/resources/CompanyCreationForm.d.ts.map +1 -0
- package/dist/mjs/api/resources/CompanyCreationForm.js +23 -0
- package/dist/mjs/api/resources/CompanyCreationForm.js.map +1 -0
- 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/FiscalRegime.d.ts +5 -0
- package/dist/mjs/types/Enum/FiscalRegime.d.ts.map +1 -1
- package/dist/mjs/types/Enum/FiscalRegime.js +27 -0
- package/dist/mjs/types/Enum/FiscalRegime.js.map +1 -1
- package/dist/mjs/types/Enum/LegalForm.d.ts +2 -1
- package/dist/mjs/types/Enum/LegalForm.d.ts.map +1 -1
- package/dist/mjs/types/Enum/LegalForm.js +10 -0
- package/dist/mjs/types/Enum/LegalForm.js.map +1 -1
- package/dist/mjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.d.ts +107 -0
- package/dist/mjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.js +2 -0
- package/dist/mjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.js.map +1 -0
- package/dist/mjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.d.ts +196 -0
- package/dist/mjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.js +897 -0
- package/dist/mjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.js.map +1 -0
- package/dist/mjs/types/Interface/api/companyCreationForm/UpdateCompanyCreationForm.d.ts +6 -0
- package/dist/mjs/types/Interface/api/companyCreationForm/UpdateCompanyCreationForm.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/companyCreationForm/UpdateCompanyCreationForm.js +21 -0
- package/dist/mjs/types/Interface/api/companyCreationForm/UpdateCompanyCreationForm.js.map +1 -0
- package/dist/mjs/types/Interface/models/ICompanyCreationForm.d.ts +12 -0
- package/dist/mjs/types/Interface/models/ICompanyCreationForm.d.ts.map +1 -0
- package/dist/mjs/types/Interface/models/ICompanyCreationForm.js +2 -0
- package/dist/mjs/types/Interface/models/ICompanyCreationForm.js.map +1 -0
- package/dist/mjs/types/index.d.ts +4 -0
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +4 -0
- package/dist/mjs/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/CompanyCreationForm.ts +29 -0
- package/ts/api/resources.ts +2 -0
- package/ts/types/Enum/FiscalRegime.ts +28 -0
- package/ts/types/Enum/LegalForm.ts +10 -0
- package/ts/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.ts +110 -0
- package/ts/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.ts +646 -0
- package/ts/types/Interface/api/companyCreationForm/UpdateCompanyCreationForm.ts +10 -0
- package/ts/types/Interface/models/ICompanyCreationForm.ts +13 -0
- package/ts/types/index.ts +4 -0
|
@@ -21,3 +21,31 @@ export const FiscalRegimeList: { label: string; id: number; designation: string
|
|
|
21
21
|
designation: 'N/A - Aucun',
|
|
22
22
|
},
|
|
23
23
|
];
|
|
24
|
+
|
|
25
|
+
export const CompanyCreationFiscalRegimeOptions: { label: string; description: string;idFiscalRegime: FiscalRegime | null }[] = [
|
|
26
|
+
{
|
|
27
|
+
label: 'BIC Réel simplifié',
|
|
28
|
+
description: 'Taxe sur les bénéfices',
|
|
29
|
+
idFiscalRegime: FiscalRegime.RS,
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
label: 'BIC Réel normal',
|
|
33
|
+
description: 'Taxe sur les revenus personnels',
|
|
34
|
+
idFiscalRegime: FiscalRegime.RN,
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
label: 'Micro-entreprise',
|
|
38
|
+
description: 'Uniquement pour les micro-entreprises',
|
|
39
|
+
idFiscalRegime: null,
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
label: 'Option pour l\'impôt sur les sociétés',
|
|
43
|
+
description: 'Réduction d\'impôt dans certain cas',
|
|
44
|
+
idFiscalRegime: null,
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
label: 'Je ne sais pas',
|
|
48
|
+
description: 'On vous aide à choisir',
|
|
49
|
+
idFiscalRegime: null,
|
|
50
|
+
},
|
|
51
|
+
];
|
|
@@ -21,6 +21,7 @@ export enum LegalFormTypeEnum {
|
|
|
21
21
|
SOCIETE_CIVILE = 20,
|
|
22
22
|
SELASU = 21,
|
|
23
23
|
SELARLU = 22,
|
|
24
|
+
LMNP = 23,
|
|
24
25
|
}
|
|
25
26
|
|
|
26
27
|
export type LegalFormTypeContent = {
|
|
@@ -233,4 +234,13 @@ export const LegalForm: LegalFormType = {
|
|
|
233
234
|
individual: true,
|
|
234
235
|
pappersLabel: 'Selarl unipersonnelle',
|
|
235
236
|
},
|
|
237
|
+
LMNP: {
|
|
238
|
+
id: LegalFormTypeEnum.LMNP,
|
|
239
|
+
name: 'LMNP',
|
|
240
|
+
alias: 'Lmnp',
|
|
241
|
+
diaCode: null,
|
|
242
|
+
hideVat: false,
|
|
243
|
+
individual: true,
|
|
244
|
+
pappersLabel: 'Loueur en meublé non professionnel',
|
|
245
|
+
},
|
|
236
246
|
};
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { LegalFormTypeEnum } from '../../../Enum/LegalForm';
|
|
2
|
+
import { TaxSystem } from '../../../Enum/TaxSystem';
|
|
3
|
+
import { VatRegime } from '../../../Enum/VatRegime';
|
|
4
|
+
import { BeneficiaryInfos, CreateCompanyBusinessPartners } from './CreateCompanyCreationForm';
|
|
5
|
+
|
|
6
|
+
export interface CompanyCreationFormPayload {
|
|
7
|
+
/**
|
|
8
|
+
* Choix du statut
|
|
9
|
+
*/
|
|
10
|
+
idLegalForm?: LegalFormTypeEnum;
|
|
11
|
+
/**
|
|
12
|
+
* Régime d'imposition
|
|
13
|
+
*/
|
|
14
|
+
idTaxSystem?: TaxSystem;
|
|
15
|
+
/**
|
|
16
|
+
* Régime de TVA
|
|
17
|
+
*/
|
|
18
|
+
idVatRegime?: VatRegime;
|
|
19
|
+
/**
|
|
20
|
+
* Régime fiscal
|
|
21
|
+
*/
|
|
22
|
+
fiscalRegime?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Dénomination sociale
|
|
25
|
+
*/
|
|
26
|
+
name?: string;
|
|
27
|
+
sigle?: string;
|
|
28
|
+
commercialName?: string;
|
|
29
|
+
signboard?: string;
|
|
30
|
+
wantToBeContactedForDeposition?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Activité
|
|
33
|
+
*/
|
|
34
|
+
idActivity?: number;
|
|
35
|
+
modeOfSale?: string;
|
|
36
|
+
surfaceArea?: number;
|
|
37
|
+
modeOfSaleDescription?: string;
|
|
38
|
+
isActivitySubjectToObligation?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Siège social
|
|
41
|
+
*/
|
|
42
|
+
address?: string;
|
|
43
|
+
additionalAddress?: string;
|
|
44
|
+
zipCode?: string;
|
|
45
|
+
city?: string;
|
|
46
|
+
type: string;
|
|
47
|
+
sourceOfFunds?: string;
|
|
48
|
+
headOfficeOccupationType?: 'owner' | 'tenant';
|
|
49
|
+
isActivityAtDifferentAddress?: boolean;
|
|
50
|
+
activityAddress?: string;
|
|
51
|
+
additionalActivityAddress?: string;
|
|
52
|
+
zipCodeActivity?: string;
|
|
53
|
+
cityActivity?: string;
|
|
54
|
+
wantToBeContactedForHeadOffice: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Calendrier
|
|
57
|
+
*/
|
|
58
|
+
startDate: Date;
|
|
59
|
+
endDate?: Date;
|
|
60
|
+
wantToStartActivityNow: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* Salariés
|
|
63
|
+
*/
|
|
64
|
+
nbEmployees: number;
|
|
65
|
+
nbApprentices: number;
|
|
66
|
+
/**
|
|
67
|
+
* Dirigeants et associés
|
|
68
|
+
*/
|
|
69
|
+
partners: CreateCompanyBusinessPartners[];
|
|
70
|
+
/**
|
|
71
|
+
* Informations sociales
|
|
72
|
+
*/
|
|
73
|
+
socialSecurityNumber?: string;
|
|
74
|
+
socialRegime?: string;
|
|
75
|
+
hasAlreadyHaveSelfEmployedActivity?: boolean;
|
|
76
|
+
selfEmployedActivityType?: string;
|
|
77
|
+
selfEmployedActivitySiren?: string;
|
|
78
|
+
selfEmployedActivityZipCode?: string;
|
|
79
|
+
selfEmployedActivityCity?: string;
|
|
80
|
+
selfEmployedActivityEndDate?: Date;
|
|
81
|
+
parallelActivityType?: string;
|
|
82
|
+
hasSelectedHealthInsurance?: boolean;
|
|
83
|
+
spouseHasHealthInsurance?: boolean;
|
|
84
|
+
spouseAssociatedWithTheCompany?: string;
|
|
85
|
+
nbChildren?: number;
|
|
86
|
+
hasBeneficiaries?: boolean;
|
|
87
|
+
beneficiaries?: BeneficiaryInfos[];
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Capital social
|
|
91
|
+
*/
|
|
92
|
+
capitalAmount?: number;
|
|
93
|
+
isAContributionInKind?: boolean;
|
|
94
|
+
contributionInKindDescription?: string;
|
|
95
|
+
bankName?: string;
|
|
96
|
+
bankAddress?: string;
|
|
97
|
+
bankZipCode?: string;
|
|
98
|
+
bankCity?: string;
|
|
99
|
+
hasNotYetSendSocialCapital?: boolean;
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* Acre
|
|
103
|
+
*/
|
|
104
|
+
wantToBenefitFromACRE?: boolean;
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Sirene
|
|
108
|
+
*/
|
|
109
|
+
informationsSharedToSirene?: boolean;
|
|
110
|
+
}
|