@silexpert/core 0.4.17 → 0.4.18
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/Report.d.ts +1 -0
- package/es/api/resources/Report.d.ts.map +1 -1
- package/es/api/resources/Report.js +3 -0
- package/es/api/resources/Report.js.map +1 -1
- package/es/api/resources/Search.d.ts +7 -0
- package/es/api/resources/Search.d.ts.map +1 -0
- package/es/api/resources/Search.js +10 -0
- package/es/api/resources/Search.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 +6 -0
- package/es/api/resources/Society.js.map +1 -1
- package/es/api/resources.d.ts +2 -0
- package/es/api/resources.d.ts.map +1 -1
- package/es/api/resources.js +2 -0
- package/es/api/resources.js.map +1 -1
- package/es/types/Enum/Ged.d.ts +6 -0
- package/es/types/Enum/Ged.d.ts.map +1 -1
- package/es/types/Enum/Ged.js +22 -2
- package/es/types/Enum/Ged.js.map +1 -1
- package/es/types/Enum/LegalForm.d.ts +17 -0
- package/es/types/Enum/LegalForm.d.ts.map +1 -1
- package/es/types/Enum/LegalForm.js +17 -0
- package/es/types/Enum/LegalForm.js.map +1 -1
- package/es/types/Enum/LetterState.d.ts +27 -0
- package/es/types/Enum/LetterState.d.ts.map +1 -0
- package/es/types/Enum/LetterState.js +27 -0
- package/es/types/Enum/LetterState.js.map +1 -0
- package/es/types/Enum/ReportType.d.ts +4 -0
- package/es/types/Enum/ReportType.d.ts.map +1 -1
- package/es/types/Enum/ReportType.js +4 -0
- package/es/types/Enum/ReportType.js.map +1 -1
- package/es/types/Interface/api/letter/CreateLetter.d.ts +1 -1
- package/es/types/Interface/api/letter/CreateLetter.d.ts.map +1 -1
- package/es/types/Interface/api/letter/CreateLetter.js +4 -4
- package/es/types/Interface/api/letter/CreateLetter.js.map +1 -1
- package/es/types/Interface/api/pappers/CreatePappers.d.ts +27 -0
- package/es/types/Interface/api/pappers/CreatePappers.d.ts.map +1 -0
- package/es/types/Interface/api/pappers/CreatePappers.js +2 -0
- package/es/types/Interface/api/pappers/CreatePappers.js.map +1 -0
- package/es/types/Interface/api/pappers/QueryPappers.d.ts +267 -0
- package/es/types/Interface/api/pappers/QueryPappers.d.ts.map +1 -0
- package/es/types/Interface/api/pappers/QueryPappers.js +104 -0
- package/es/types/Interface/api/pappers/QueryPappers.js.map +1 -0
- package/es/types/Interface/api/pappers/ReadPappers.d.ts +62 -0
- package/es/types/Interface/api/pappers/ReadPappers.d.ts.map +1 -0
- package/es/types/Interface/api/pappers/ReadPappers.js +3 -0
- package/es/types/Interface/api/pappers/ReadPappers.js.map +1 -0
- package/es/types/Interface/api/report/CreateReport.d.ts +6 -0
- package/es/types/Interface/api/report/CreateReport.d.ts.map +1 -1
- package/es/types/Interface/api/report/CreateReport.js +24 -0
- package/es/types/Interface/api/report/CreateReport.js.map +1 -1
- package/es/types/Interface/api/report/DeleteReport.d.ts +5 -0
- package/es/types/Interface/api/report/DeleteReport.d.ts.map +1 -0
- package/es/types/Interface/api/report/DeleteReport.js +17 -0
- package/es/types/Interface/api/report/DeleteReport.js.map +1 -0
- package/es/types/Interface/api/society/CreateSociety.d.ts +5 -0
- package/es/types/Interface/api/society/CreateSociety.d.ts.map +1 -1
- package/es/types/Interface/api/society/CreateSociety.js +20 -0
- package/es/types/Interface/api/society/CreateSociety.js.map +1 -1
- package/es/types/Interface/api/society/UpdateSociety.d.ts +17 -0
- package/es/types/Interface/api/society/UpdateSociety.d.ts.map +1 -0
- package/es/types/Interface/api/society/UpdateSociety.js +57 -0
- package/es/types/Interface/api/society/UpdateSociety.js.map +1 -0
- package/es/types/Interface/models/IApiError.d.ts +1 -0
- package/es/types/Interface/models/IApiError.d.ts.map +1 -1
- package/es/types/Interface/models/IApiError.js +1 -0
- package/es/types/Interface/models/IApiError.js.map +1 -1
- package/es/types/Interface/models/ILetter.d.ts +1 -0
- package/es/types/Interface/models/ILetter.d.ts.map +1 -1
- package/es/types/Interface/models/ILetter.js.map +1 -1
- package/es/types/index.d.ts +7 -0
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +7 -0
- package/es/types/index.js.map +1 -1
- package/js/api/resources/Report.js +4 -0
- package/js/api/resources/Report.js.map +1 -1
- package/js/api/resources/Search.js +26 -0
- package/js/api/resources/Search.js.map +1 -0
- package/js/api/resources/Society.js +8 -0
- package/js/api/resources/Society.js.map +1 -1
- package/js/api/resources.js +4 -1
- package/js/api/resources.js.map +1 -1
- package/js/types/Enum/Ged.js +25 -4
- package/js/types/Enum/Ged.js.map +1 -1
- package/js/types/Enum/LegalForm.js +34 -17
- package/js/types/Enum/LegalForm.js.map +1 -1
- package/js/types/Enum/LetterState.js +32 -0
- package/js/types/Enum/LetterState.js.map +1 -0
- package/js/types/Enum/ReportType.js +4 -0
- package/js/types/Enum/ReportType.js.map +1 -1
- package/js/types/Interface/api/letter/CreateLetter.js +2 -2
- package/js/types/Interface/api/letter/CreateLetter.js.map +1 -1
- package/js/types/Interface/api/pappers/CreatePappers.js +6 -0
- package/js/types/Interface/api/pappers/CreatePappers.js.map +1 -0
- package/js/types/Interface/api/pappers/QueryPappers.js +85 -0
- package/js/types/Interface/api/pappers/QueryPappers.js.map +1 -0
- package/js/types/Interface/api/pappers/ReadPappers.js +10 -0
- package/js/types/Interface/api/pappers/ReadPappers.js.map +1 -0
- package/js/types/Interface/api/report/CreateReport.js +12 -0
- package/js/types/Interface/api/report/CreateReport.js.map +1 -1
- package/js/types/Interface/api/report/DeleteReport.js +27 -0
- package/js/types/Interface/api/report/DeleteReport.js.map +1 -0
- package/js/types/Interface/api/society/CreateSociety.js +10 -0
- package/js/types/Interface/api/society/CreateSociety.js.map +1 -1
- package/js/types/Interface/api/society/UpdateSociety.js +47 -0
- package/js/types/Interface/api/society/UpdateSociety.js.map +1 -0
- package/js/types/Interface/models/IApiError.js +2 -1
- package/js/types/Interface/models/IApiError.js.map +1 -1
- package/js/types/index.js +84 -0
- package/js/types/index.js.map +1 -1
- package/package.json +7 -11
- package/ts/api/resources/Report.ts +4 -1
- package/ts/api/resources/Search.ts +11 -0
- package/ts/api/resources/Society.ts +8 -0
- package/ts/api/resources.ts +2 -0
- package/ts/types/Enum/Ged.ts +22 -2
- package/ts/types/Enum/LegalForm.ts +17 -0
- package/ts/types/Enum/LetterState.ts +26 -0
- package/ts/types/Enum/ReportType.ts +4 -0
- package/ts/types/Interface/api/letter/CreateLetter.ts +3 -3
- package/ts/types/Interface/api/pappers/CreatePappers.ts +29 -0
- package/ts/types/Interface/api/pappers/QueryPappers.ts +323 -0
- package/ts/types/Interface/api/pappers/ReadPappers.ts +65 -0
- package/ts/types/Interface/api/report/CreateReport.ts +18 -0
- package/ts/types/Interface/api/report/DeleteReport.ts +7 -0
- package/ts/types/Interface/api/society/CreateSociety.ts +15 -0
- package/ts/types/Interface/api/society/UpdateSociety.ts +36 -0
- package/ts/types/Interface/models/IApiError.ts +1 -0
- package/ts/types/Interface/models/ILetter.ts +1 -0
- package/ts/types/index.ts +7 -0
package/ts/api/resources.ts
CHANGED
|
@@ -19,6 +19,7 @@ import { BalanceSheet } from './resources/BalanceSheet';
|
|
|
19
19
|
import { Cerfa } from './resources/Cerfa';
|
|
20
20
|
import { LegalForm } from './resources/LegalForm';
|
|
21
21
|
import { Authenticate } from './resources/Authenticate';
|
|
22
|
+
import { Search } from './resources/Search';
|
|
22
23
|
|
|
23
24
|
export const resources = {
|
|
24
25
|
simulation: Simulation,
|
|
@@ -42,4 +43,5 @@ export const resources = {
|
|
|
42
43
|
cerfa: Cerfa,
|
|
43
44
|
legalForm: LegalForm,
|
|
44
45
|
authenticate: Authenticate,
|
|
46
|
+
search: Search,
|
|
45
47
|
};
|
package/ts/types/Enum/Ged.ts
CHANGED
|
@@ -10,14 +10,14 @@ export enum GedCategory {
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
export enum GedFolder {
|
|
13
|
-
|
|
13
|
+
KBIS = 1,
|
|
14
14
|
// Mission letters = 2,
|
|
15
15
|
// Mandates & RIB = 3,
|
|
16
16
|
// Balance-GL Journals = 5,
|
|
17
17
|
// Closes & Balance Sheets = 7,
|
|
18
18
|
// VAT declarations = 10,
|
|
19
19
|
// IS declarations = 11,
|
|
20
|
-
|
|
20
|
+
STATUTES = 13,
|
|
21
21
|
// Training and professional tax = 14,
|
|
22
22
|
// DADS-U & DUE = 15,
|
|
23
23
|
// URSSAF & Pôle-Emploi = 16,
|
|
@@ -45,3 +45,23 @@ export enum GedFolder {
|
|
|
45
45
|
// Pending points = 39,
|
|
46
46
|
// Balance-GL Journals Year N-1 = 40
|
|
47
47
|
}
|
|
48
|
+
|
|
49
|
+
export enum GedFileType {
|
|
50
|
+
STATUTES = 1,
|
|
51
|
+
// 2,'Carte d\'identité'
|
|
52
|
+
KBIS = 3,
|
|
53
|
+
// 4,'RIB'
|
|
54
|
+
// 5,'Mémento Fiscal'
|
|
55
|
+
// 6,'SEPA'
|
|
56
|
+
// 7,'Plaquette'
|
|
57
|
+
// 8,'M0'
|
|
58
|
+
// 9,'Dbe'
|
|
59
|
+
// 10,'Autre'
|
|
60
|
+
// 11,'Inscription au répertoire SIRENE / Répertoire des métiers'
|
|
61
|
+
// 12,'Déclaration du patrimoine affectée'
|
|
62
|
+
// 13,'Déclaration des bénéficiaires effectifs'
|
|
63
|
+
// 14,'Liste des souscripteurs pour connaître la répartition des actions'
|
|
64
|
+
// 15,'Récépissé d’inscription de l’association en préfecture'
|
|
65
|
+
// 16,'Liste des représentants de l’association'
|
|
66
|
+
// 17,'Règlement intérieur'
|
|
67
|
+
}
|
|
@@ -6,6 +6,7 @@ export const LegalForm = {
|
|
|
6
6
|
diaCode: 11,
|
|
7
7
|
hideVat: false,
|
|
8
8
|
individual: true,
|
|
9
|
+
pappersLabel: 'Entrepreneur individuel',
|
|
9
10
|
},
|
|
10
11
|
EIRL: {
|
|
11
12
|
id: 2,
|
|
@@ -14,6 +15,7 @@ export const LegalForm = {
|
|
|
14
15
|
diaCode: 11,
|
|
15
16
|
hideVat: false,
|
|
16
17
|
individual: true,
|
|
18
|
+
pappersLabel: 'Indivision entre personnes physiques',
|
|
17
19
|
},
|
|
18
20
|
EURL: {
|
|
19
21
|
id: 3,
|
|
@@ -22,6 +24,7 @@ export const LegalForm = {
|
|
|
22
24
|
diaCode: 12212,
|
|
23
25
|
hideVat: false,
|
|
24
26
|
individual: false,
|
|
27
|
+
pappersLabel: 'EURL, entreprise unipersonnelle à responsabilité limitée',
|
|
25
28
|
},
|
|
26
29
|
SARL: {
|
|
27
30
|
id: 4,
|
|
@@ -30,6 +33,7 @@ export const LegalForm = {
|
|
|
30
33
|
diaCode: 12211,
|
|
31
34
|
hideVat: false,
|
|
32
35
|
individual: false,
|
|
36
|
+
pappersLabel: 'SARL, société à responsabilité limitée',
|
|
33
37
|
},
|
|
34
38
|
SASU: {
|
|
35
39
|
id: 5,
|
|
@@ -38,6 +42,7 @@ export const LegalForm = {
|
|
|
38
42
|
diaCode: 12223,
|
|
39
43
|
hideVat: false,
|
|
40
44
|
individual: false,
|
|
45
|
+
pappersLabel: 'SASU, société par actions simplifiée unipersonnelle',
|
|
41
46
|
},
|
|
42
47
|
SAS: {
|
|
43
48
|
id: 6,
|
|
@@ -46,6 +51,7 @@ export const LegalForm = {
|
|
|
46
51
|
diaCode: 12223,
|
|
47
52
|
hideVat: false,
|
|
48
53
|
individual: false,
|
|
54
|
+
pappersLabel: 'SAS, société par actions simplifiée',
|
|
49
55
|
},
|
|
50
56
|
SCI: {
|
|
51
57
|
id: 7,
|
|
@@ -54,6 +60,7 @@ export const LegalForm = {
|
|
|
54
60
|
diaCode: 12131,
|
|
55
61
|
hideVat: false,
|
|
56
62
|
individual: false,
|
|
63
|
+
pappersLabel: 'SCI, société civile immobilière',
|
|
57
64
|
},
|
|
58
65
|
GIE: {
|
|
59
66
|
id: 8,
|
|
@@ -62,6 +69,7 @@ export const LegalForm = {
|
|
|
62
69
|
diaCode: 13,
|
|
63
70
|
hideVat: false,
|
|
64
71
|
individual: false,
|
|
72
|
+
pappersLabel: 'GIE, groupement d\'intérêt économique',
|
|
65
73
|
},
|
|
66
74
|
SELARL: {
|
|
67
75
|
id: 9,
|
|
@@ -70,6 +78,7 @@ export const LegalForm = {
|
|
|
70
78
|
diaCode: 12213,
|
|
71
79
|
hideVat: false,
|
|
72
80
|
individual: false,
|
|
81
|
+
pappersLabel: 'SERL, société d\'exercice libéral à responsabilité limitée',
|
|
73
82
|
},
|
|
74
83
|
ASSOCIATION: {
|
|
75
84
|
id: 10,
|
|
@@ -78,6 +87,7 @@ export const LegalForm = {
|
|
|
78
87
|
diaCode: 2,
|
|
79
88
|
hideVat: true,
|
|
80
89
|
individual: false,
|
|
90
|
+
pappersLabel: 'Association déclarée',
|
|
81
91
|
},
|
|
82
92
|
AUTO_ENTREPRENEUR: {
|
|
83
93
|
id: 11,
|
|
@@ -86,6 +96,7 @@ export const LegalForm = {
|
|
|
86
96
|
diaCode: null,
|
|
87
97
|
hideVat: true,
|
|
88
98
|
individual: true,
|
|
99
|
+
pappersLabel: 'Entrepreneur individuel',
|
|
89
100
|
},
|
|
90
101
|
SA: {
|
|
91
102
|
id: 12,
|
|
@@ -94,6 +105,7 @@ export const LegalForm = {
|
|
|
94
105
|
diaCode: 12221,
|
|
95
106
|
hideVat: false,
|
|
96
107
|
individual: false,
|
|
108
|
+
pappersLabel: 'SA à conseil d\'administration (s.a.i.)',
|
|
97
109
|
},
|
|
98
110
|
SNC: {
|
|
99
111
|
id: 13,
|
|
@@ -102,6 +114,7 @@ export const LegalForm = {
|
|
|
102
114
|
diaCode: 1212,
|
|
103
115
|
hideVat: false,
|
|
104
116
|
individual: false,
|
|
117
|
+
pappersLabel: 'Société en nom collectif',
|
|
105
118
|
},
|
|
106
119
|
OTHER: {
|
|
107
120
|
id: 14,
|
|
@@ -126,6 +139,7 @@ export const LegalForm = {
|
|
|
126
139
|
diaCode: null,
|
|
127
140
|
hideVat: false,
|
|
128
141
|
individual: false,
|
|
142
|
+
pappersLabel: 'SCOP, SARL coopérative ouvrière de production',
|
|
129
143
|
},
|
|
130
144
|
SCE_DROIT_ETRANGER: {
|
|
131
145
|
id: 17,
|
|
@@ -142,6 +156,7 @@ export const LegalForm = {
|
|
|
142
156
|
diaCode: 12137,
|
|
143
157
|
hideVat: false,
|
|
144
158
|
individual: false,
|
|
159
|
+
pappersLabel: 'SCOP, SARL coopérative ouvrière de production',
|
|
145
160
|
},
|
|
146
161
|
SCP: {
|
|
147
162
|
id: 19,
|
|
@@ -150,6 +165,7 @@ export const LegalForm = {
|
|
|
150
165
|
diaCode: null,
|
|
151
166
|
hideVat: false,
|
|
152
167
|
individual: false,
|
|
168
|
+
pappersLabel: 'SCP d\'avocats',
|
|
153
169
|
},
|
|
154
170
|
SOCIETE_CIVILE: {
|
|
155
171
|
id: 20,
|
|
@@ -158,5 +174,6 @@ export const LegalForm = {
|
|
|
158
174
|
diaCode: null,
|
|
159
175
|
hideVat: false,
|
|
160
176
|
individual: false,
|
|
177
|
+
pappersLabel: 'Autre société civile',
|
|
161
178
|
},
|
|
162
179
|
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export const LetterState = {
|
|
2
|
+
RECEIVED_SIMPLE_LETTER: {
|
|
3
|
+
id: 1,
|
|
4
|
+
name: 'Reçu courrier simple',
|
|
5
|
+
},
|
|
6
|
+
RECEIVED_AR_LETTER: {
|
|
7
|
+
id: 2,
|
|
8
|
+
name: 'Reçu courrier LRAR',
|
|
9
|
+
},
|
|
10
|
+
SENDING_SIMPLE_LETTER: {
|
|
11
|
+
id: 3,
|
|
12
|
+
name: 'À envoyer courrier simple',
|
|
13
|
+
},
|
|
14
|
+
SENDING_AR_LETTER: {
|
|
15
|
+
id: 4,
|
|
16
|
+
name: 'À envoyer avec LRAR',
|
|
17
|
+
},
|
|
18
|
+
SENT_SIMPLE_LETTER: {
|
|
19
|
+
id: 5,
|
|
20
|
+
name: 'Envoyé courrier simple',
|
|
21
|
+
},
|
|
22
|
+
SENT_AR_LETTER: {
|
|
23
|
+
id: 6,
|
|
24
|
+
name: 'Envoyé avec LRAR',
|
|
25
|
+
},
|
|
26
|
+
};
|
|
@@ -17,15 +17,15 @@ export class CreateLetter implements ILetter {
|
|
|
17
17
|
@ApiPropertyOptional()
|
|
18
18
|
complement?: string;
|
|
19
19
|
|
|
20
|
-
@ApiPropertyOptional()
|
|
21
|
-
fileType?: 'receivedFileObject' | 'responseFileObject' | null;
|
|
22
|
-
|
|
23
20
|
@ApiPropertyOptional()
|
|
24
21
|
isLRAR?: boolean;
|
|
25
22
|
|
|
26
23
|
@ApiPropertyOptional()
|
|
27
24
|
isDone?: boolean;
|
|
28
25
|
|
|
26
|
+
@ApiPropertyOptional()
|
|
27
|
+
state?: number;
|
|
28
|
+
|
|
29
29
|
@ApiPropertyOptional()
|
|
30
30
|
needResponse?: boolean;
|
|
31
31
|
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ReadStatusPappers } from '../../..';
|
|
2
|
+
|
|
3
|
+
export type CreateSocietyPappers = {
|
|
4
|
+
name: string | null;
|
|
5
|
+
idLegalForm: number | null;
|
|
6
|
+
descriptionActivity: string | null;
|
|
7
|
+
capital: number | null;
|
|
8
|
+
nafCode: string | null;
|
|
9
|
+
address: string | null;
|
|
10
|
+
zipCode: string | null;
|
|
11
|
+
city: string | null;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export type CreatePartnerPappers = {
|
|
15
|
+
name: string | null;
|
|
16
|
+
firstname: string | null;
|
|
17
|
+
lastname: string | null;
|
|
18
|
+
idNationality: number | null;
|
|
19
|
+
isCorporation: boolean;
|
|
20
|
+
sharesHeld: number | null;
|
|
21
|
+
birthdate: Date | null;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
export type CreateSynchronization = {
|
|
25
|
+
society: CreateSocietyPappers;
|
|
26
|
+
partners: CreatePartnerPappers[];
|
|
27
|
+
status: ReadStatusPappers | null;
|
|
28
|
+
registration: string | null;
|
|
29
|
+
};
|
|
@@ -0,0 +1,323 @@
|
|
|
1
|
+
import { ApiPropertyOptional, ApiProperty } from '../../../../utils';
|
|
2
|
+
|
|
3
|
+
export type DatabasePappers = 'entreprises' | 'dirigeants' | 'documents' | 'publications';
|
|
4
|
+
export type PrecisionPappers = 'approximative' | 'standard' | 'exacte';
|
|
5
|
+
export type PublicationTypePappers = 'Création' | 'Immatriculation' | 'Modification' | 'Vente' | 'Radiation' | 'Procédure collective' | 'Dépôt des comptes';
|
|
6
|
+
|
|
7
|
+
export type LegalCategoryPappers = {
|
|
8
|
+
nom: string | null;
|
|
9
|
+
idcc: number | null;
|
|
10
|
+
confirme: boolean | null;
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export type HeadOfficePappers = {
|
|
14
|
+
siret: string | null;
|
|
15
|
+
siret_formate: string | null;
|
|
16
|
+
nic: string | null;
|
|
17
|
+
code_postal: string | null;
|
|
18
|
+
ville: string | null;
|
|
19
|
+
latitude: number | null;
|
|
20
|
+
longitude: number | null;
|
|
21
|
+
etablissement_cesse: boolean | null;
|
|
22
|
+
siege: boolean | null;
|
|
23
|
+
etablissement_employeur: boolean | null;
|
|
24
|
+
effectif: string | null;
|
|
25
|
+
effectif_min: number | null;
|
|
26
|
+
effectif_max: number | null;
|
|
27
|
+
tranche_effectif: string | null;
|
|
28
|
+
annee_effectif: number | null;
|
|
29
|
+
code_naf: string | null;
|
|
30
|
+
libelle_code_naf: string | null;
|
|
31
|
+
date_de_creation: string | null;
|
|
32
|
+
numero_voie: number | null;
|
|
33
|
+
indice_repetition: string | null;
|
|
34
|
+
type_voie: string | null;
|
|
35
|
+
libelle_voie: string | null;
|
|
36
|
+
complement_adresse: string | null;
|
|
37
|
+
adresse_ligne_1: string | null;
|
|
38
|
+
adresse_ligne_2: string | null;
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
export type EstablishmentPappers = {
|
|
42
|
+
siret: string | null;
|
|
43
|
+
siret_formate: string | null;
|
|
44
|
+
nic: string | null;
|
|
45
|
+
code_postal: string | null;
|
|
46
|
+
ville: string | null;
|
|
47
|
+
latitude: number | null;
|
|
48
|
+
longitude: number | null;
|
|
49
|
+
etablissement_cesse: boolean | null;
|
|
50
|
+
siege: boolean | null;
|
|
51
|
+
etablissement_employeur: boolean | null;
|
|
52
|
+
effectif: string | null;
|
|
53
|
+
effectif_min: number | null;
|
|
54
|
+
effectif_max: number | null;
|
|
55
|
+
tranche_effectif: number | null;
|
|
56
|
+
annee_effectif: number | null;
|
|
57
|
+
code_naf: string | null;
|
|
58
|
+
libelle_code_naf: string | null;
|
|
59
|
+
date_de_creation: string | null;
|
|
60
|
+
numero_voie: number | null;
|
|
61
|
+
indice_repetition: string | null;
|
|
62
|
+
type_voie: string | null;
|
|
63
|
+
libelle_voie: string | null;
|
|
64
|
+
complement_adresse: string | null;
|
|
65
|
+
adresse_ligne_1: string | null;
|
|
66
|
+
adresse_ligne_2: string | null;
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
export type FinancePappers = {
|
|
70
|
+
annee: number | null;
|
|
71
|
+
date_de_cloture_exercice: string | null;
|
|
72
|
+
duree_exercice: number | null;
|
|
73
|
+
chiffre_affaires: number | null;
|
|
74
|
+
resultat: number | null;
|
|
75
|
+
effectif: number | null;
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
export type RepresentativePappers = {
|
|
79
|
+
qualite: string | null;
|
|
80
|
+
personne_morale: boolean | null;
|
|
81
|
+
date_prise_de_poste: string | null;
|
|
82
|
+
nom: string | null;
|
|
83
|
+
prenom: string | null;
|
|
84
|
+
nom_complet: string | null;
|
|
85
|
+
date_de_naissance: string | null;
|
|
86
|
+
date_de_naissance_formate: string | null;
|
|
87
|
+
age: number | null;
|
|
88
|
+
nationalite: string | null;
|
|
89
|
+
ville_de_naissance: string | null;
|
|
90
|
+
pays_de_naissance: string | null;
|
|
91
|
+
adresse_ligne_1: string | null;
|
|
92
|
+
adresse_ligne_2: string | null;
|
|
93
|
+
adresse_ligne_3: string | null;
|
|
94
|
+
code_postal: string | null;
|
|
95
|
+
ville: string | null;
|
|
96
|
+
pays: string | null;
|
|
97
|
+
};
|
|
98
|
+
|
|
99
|
+
export type BeneficialOwnerPappers = {
|
|
100
|
+
date_greffe: string | null;
|
|
101
|
+
nom: string | null;
|
|
102
|
+
nom_usage: string | null;
|
|
103
|
+
prenom: string | null;
|
|
104
|
+
pseudonyme: string | null;
|
|
105
|
+
date_de_naissance_formatee: string | null;
|
|
106
|
+
nationalite: string | null;
|
|
107
|
+
pourcentage_parts: number | null;
|
|
108
|
+
pourcentage_parts_directes: number | null;
|
|
109
|
+
pourcentage_parts_indirectes: number | null;
|
|
110
|
+
pourcentage_parts_vocation_titulaire: number | null;
|
|
111
|
+
details_parts_directes: any | null;
|
|
112
|
+
details_parts_indirectes: any | null;
|
|
113
|
+
details_parts_vocation_titulaire: any | null;
|
|
114
|
+
pourcentage_votes: number | null;
|
|
115
|
+
pourcentage_votes_directs: number | null;
|
|
116
|
+
pourcentage_votes_indirect: number | null;
|
|
117
|
+
details_votes_directs: any | null;
|
|
118
|
+
details_votes_indirects: any | null;
|
|
119
|
+
details_societe_de_gestion: any | null;
|
|
120
|
+
detention_pouvoir_decision_ag: boolean | null;
|
|
121
|
+
detention_pouvoir_nom_membre_conseil_administration: boolean | null;
|
|
122
|
+
detention_autres_moyens_controle: boolean | null;
|
|
123
|
+
beneficiaire_representant_legal: boolean | null;
|
|
124
|
+
representant_legal_placement_sans_gestion_delegation: boolean
|
|
125
|
+
};
|
|
126
|
+
|
|
127
|
+
export type Act = {
|
|
128
|
+
type: string | null;
|
|
129
|
+
decision: string | null;
|
|
130
|
+
date_acte: string | null;
|
|
131
|
+
date_acte_formate: string | null;
|
|
132
|
+
};
|
|
133
|
+
|
|
134
|
+
export type ActDepositPappers = {
|
|
135
|
+
date_depot: string | null;
|
|
136
|
+
date_depot_formate: string | null;
|
|
137
|
+
disponible: boolean | null;
|
|
138
|
+
nom_fichier_pdf: string | null;
|
|
139
|
+
token: string | null;
|
|
140
|
+
actes: Act[] | null;
|
|
141
|
+
};
|
|
142
|
+
|
|
143
|
+
export type ReportPappers = {
|
|
144
|
+
date_depot: string | null;
|
|
145
|
+
date_depot_formate: string | null;
|
|
146
|
+
date_cloture: string | null;
|
|
147
|
+
annee_cloture: number | null;
|
|
148
|
+
confidentialite: boolean | null;
|
|
149
|
+
confidentialite_compte_de_resultat: boolean | null;
|
|
150
|
+
disponible: boolean | null;
|
|
151
|
+
nom_fichier_pdf: string | null;
|
|
152
|
+
token: string | null;
|
|
153
|
+
};
|
|
154
|
+
|
|
155
|
+
export type BODACCPublicationPappers = {
|
|
156
|
+
numero_parution: string | null;
|
|
157
|
+
date: string | null;
|
|
158
|
+
numero_annonce: string | null;
|
|
159
|
+
bodacc: string | null;
|
|
160
|
+
type: string | null;
|
|
161
|
+
};
|
|
162
|
+
|
|
163
|
+
export type CollectiveProceedingPappers = {
|
|
164
|
+
type: string | null;
|
|
165
|
+
date_debut:string | null;
|
|
166
|
+
date_fin: string | null;
|
|
167
|
+
publications_bodacc: BODACCPublicationPappers[] | null;
|
|
168
|
+
};
|
|
169
|
+
|
|
170
|
+
export type LastsStatusPappers = {
|
|
171
|
+
date_depot: string | null;
|
|
172
|
+
date_depot_formate: string | null;
|
|
173
|
+
disponible: boolean | null;
|
|
174
|
+
nom_fichier_pdf: string | null;
|
|
175
|
+
token: string | null;
|
|
176
|
+
type: string | null;
|
|
177
|
+
decision: string | null;
|
|
178
|
+
date_acte: string | null;
|
|
179
|
+
date_acte_formate: string | null;
|
|
180
|
+
};
|
|
181
|
+
|
|
182
|
+
export type ImmatriculationPappers = {
|
|
183
|
+
token: string;
|
|
184
|
+
};
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* DOCUMENTS ENTREPRISE
|
|
188
|
+
*/
|
|
189
|
+
|
|
190
|
+
export class QueryGetBusinessDocumentPappers {
|
|
191
|
+
@ApiProperty()
|
|
192
|
+
token: string;
|
|
193
|
+
|
|
194
|
+
@ApiPropertyOptional()
|
|
195
|
+
name?: string;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* FICHE ENTREPRISE
|
|
200
|
+
*/
|
|
201
|
+
|
|
202
|
+
export class QueryGetBusinessPappers {
|
|
203
|
+
@ApiPropertyOptional()
|
|
204
|
+
siren?: string;
|
|
205
|
+
|
|
206
|
+
@ApiPropertyOptional()
|
|
207
|
+
siret?: string;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
export class GetBusinessPappersResponse {
|
|
211
|
+
siren: string | null;
|
|
212
|
+
siren_formate: string | null;
|
|
213
|
+
nom_entreprise: string | null;
|
|
214
|
+
personne_morale: boolean;
|
|
215
|
+
denomination: string | null;
|
|
216
|
+
nom: string | null;
|
|
217
|
+
prenom: string | null;
|
|
218
|
+
sexe: string | null;
|
|
219
|
+
code_naf: string | null;
|
|
220
|
+
libelle_code_naf: string | null;
|
|
221
|
+
domaine_activite: string | null;
|
|
222
|
+
conventions_collectives: LegalCategoryPappers[] | null;
|
|
223
|
+
date_creation: string | null;
|
|
224
|
+
date_creation_formate: string | null;
|
|
225
|
+
entreprise_cessee: boolean;
|
|
226
|
+
date_cessation: string | null;
|
|
227
|
+
entreprise_employeuse: boolean;
|
|
228
|
+
categorie_juridique: string | null;
|
|
229
|
+
forme_juridique: string | null;
|
|
230
|
+
effectif: string | null;
|
|
231
|
+
effectif_min: number | null;
|
|
232
|
+
effectif_max: number | null;
|
|
233
|
+
tranche_effectif: string | null;
|
|
234
|
+
annee_effectif: number | null;
|
|
235
|
+
dernier_traitement: string | null;
|
|
236
|
+
siege: HeadOfficePappers | null;
|
|
237
|
+
diffusable: boolean;
|
|
238
|
+
sigle: any | null;
|
|
239
|
+
objet_social: string | null;
|
|
240
|
+
capital: number | null;
|
|
241
|
+
capital_formate: string | null;
|
|
242
|
+
capital_actuel_si_variable: any | null;
|
|
243
|
+
numero_rcs: string | null;
|
|
244
|
+
date_cloture_exercice: string | null;
|
|
245
|
+
date_cloture_exercice_exceptionnelle: string | null;
|
|
246
|
+
date_cloture_exercice_exceptionnelle_formate: string | null;
|
|
247
|
+
prochaine_date_cloture_exercice: string | null;
|
|
248
|
+
prochaine_date_cloture_exercice_formate: string | null;
|
|
249
|
+
economie_sociale_solidaire: boolean;
|
|
250
|
+
duree_personne_morale: any | null;
|
|
251
|
+
derniere_mise_a_jour_sirene: string | null;
|
|
252
|
+
derniere_mise_a_jour_rcs: string | null;
|
|
253
|
+
statut_rcs: string | null;
|
|
254
|
+
greffe: string | null;
|
|
255
|
+
date_immatriculation_rcs: string | null;
|
|
256
|
+
date_premiere_immatriculation_rcs: string | null;
|
|
257
|
+
date_radiation_rcs: string | null;
|
|
258
|
+
numero_tva_intracommunautaire: string | null;
|
|
259
|
+
associe_unique: boolean;
|
|
260
|
+
etablissements: EstablishmentPappers[] | null;
|
|
261
|
+
finances: FinancePappers[] | null;
|
|
262
|
+
representants: RepresentativePappers[] | null;
|
|
263
|
+
beneficiaires_effectifs: BeneficialOwnerPappers[] | null;
|
|
264
|
+
depots_actes: ActDepositPappers[] | null;
|
|
265
|
+
comptes: ReportPappers[] | null;
|
|
266
|
+
publications_bodacc: BODACCPublicationPappers[] | null;
|
|
267
|
+
procedures_collectives: CollectiveProceedingPappers[] | null;
|
|
268
|
+
procedure_collective_existe: boolean;
|
|
269
|
+
procedure_collective_en_cours: boolean;
|
|
270
|
+
derniers_statuts: LastsStatusPappers | null;
|
|
271
|
+
extrait_immatriculation: ImmatriculationPappers | null;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* RECHERCHE ENTREPRISE
|
|
276
|
+
*/
|
|
277
|
+
|
|
278
|
+
export class QuerySearchBusinessPappers {
|
|
279
|
+
@ApiPropertyOptional()
|
|
280
|
+
limit?: number; // par_page
|
|
281
|
+
|
|
282
|
+
@ApiPropertyOptional()
|
|
283
|
+
page?: number;
|
|
284
|
+
|
|
285
|
+
@ApiPropertyOptional()
|
|
286
|
+
databases?: DatabasePappers[]; // bases
|
|
287
|
+
|
|
288
|
+
@ApiPropertyOptional()
|
|
289
|
+
precision?: PrecisionPappers;
|
|
290
|
+
|
|
291
|
+
@ApiPropertyOptional()
|
|
292
|
+
query?: string; // q
|
|
293
|
+
|
|
294
|
+
@ApiPropertyOptional()
|
|
295
|
+
nafCode?: string; // code_naf
|
|
296
|
+
|
|
297
|
+
@ApiPropertyOptional()
|
|
298
|
+
department?: string; // departement
|
|
299
|
+
|
|
300
|
+
@ApiPropertyOptional()
|
|
301
|
+
region?: string;
|
|
302
|
+
|
|
303
|
+
@ApiPropertyOptional()
|
|
304
|
+
zipCode?: string; // code_postal
|
|
305
|
+
|
|
306
|
+
@ApiPropertyOptional()
|
|
307
|
+
collectiveAgreement?: string; // convention_collective
|
|
308
|
+
|
|
309
|
+
@ApiPropertyOptional()
|
|
310
|
+
legalCategory?: string; // categorie_juridique
|
|
311
|
+
|
|
312
|
+
@ApiPropertyOptional()
|
|
313
|
+
active?: boolean; // entreprise_cessee
|
|
314
|
+
|
|
315
|
+
@ApiPropertyOptional()
|
|
316
|
+
minimumTurnover?: string; // chiffre_affaires_min
|
|
317
|
+
|
|
318
|
+
@ApiPropertyOptional()
|
|
319
|
+
maximumTurnover?: string; // chiffre_affaires_max
|
|
320
|
+
|
|
321
|
+
@ApiPropertyOptional()
|
|
322
|
+
publicationType?: PublicationTypePappers; // type_publication
|
|
323
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
export type ReadBusinessPartnerPappers = {
|
|
2
|
+
firstname: string | null;
|
|
3
|
+
lastname: string | null;
|
|
4
|
+
birthdate: string | null;
|
|
5
|
+
nationality: string | null;
|
|
6
|
+
sharesHeldRate: number | null;
|
|
7
|
+
isCorporation: boolean;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
export type ReadBusinessOwnerPappers = {
|
|
11
|
+
grade: string | null;
|
|
12
|
+
isCorporation: boolean;
|
|
13
|
+
firstname: string | null;
|
|
14
|
+
lastname: string | null;
|
|
15
|
+
fullname: string | null;
|
|
16
|
+
birthdate: string;
|
|
17
|
+
nationality: string | null;
|
|
18
|
+
birthPlace: string | null;
|
|
19
|
+
countryBirth: string | null;
|
|
20
|
+
address: string | null;
|
|
21
|
+
address2: string | null;
|
|
22
|
+
address3: string | null;
|
|
23
|
+
zipCode: string | null;
|
|
24
|
+
city: string | null;
|
|
25
|
+
country: string | null;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
export type ReadStatusPappers = {
|
|
29
|
+
date: string;
|
|
30
|
+
available: boolean;
|
|
31
|
+
name: string;
|
|
32
|
+
token: string | null;
|
|
33
|
+
type: string | null;
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
export type ReadHeadOfficePappers = {
|
|
37
|
+
addressNumber: number | null;
|
|
38
|
+
suffix: string | null;
|
|
39
|
+
street: string | null;
|
|
40
|
+
address: string | null;
|
|
41
|
+
address2: string | null;
|
|
42
|
+
zipCode: string;
|
|
43
|
+
city: string;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
export class ReadBusinessPappers {
|
|
47
|
+
siren: string | null;
|
|
48
|
+
name: string | null;
|
|
49
|
+
firstname: string | null;
|
|
50
|
+
lastname: string | null;
|
|
51
|
+
civility: string | null;
|
|
52
|
+
activity: string | null;
|
|
53
|
+
isCorporation: boolean;
|
|
54
|
+
nafCode: string | null;
|
|
55
|
+
legalForm: string | null;
|
|
56
|
+
minimumEmployees: number | null;
|
|
57
|
+
maximumEmployees: number | null;
|
|
58
|
+
active: boolean;
|
|
59
|
+
headOffice: ReadHeadOfficePappers;
|
|
60
|
+
capital: number | null;
|
|
61
|
+
owners: ReadBusinessOwnerPappers[] | null;
|
|
62
|
+
partners: ReadBusinessPartnerPappers[] | null;
|
|
63
|
+
status: ReadStatusPappers | null;
|
|
64
|
+
registration: string;
|
|
65
|
+
}
|
|
@@ -18,6 +18,24 @@ export class CreateReport implements IReport {
|
|
|
18
18
|
@ApiPropertyOptional()
|
|
19
19
|
search?: string;
|
|
20
20
|
|
|
21
|
+
@ApiPropertyOptional()
|
|
22
|
+
declareSoupcons?: boolean;
|
|
23
|
+
|
|
24
|
+
@ApiPropertyOptional()
|
|
25
|
+
etat?: number;
|
|
26
|
+
|
|
27
|
+
@ApiPropertyOptional()
|
|
28
|
+
informerjlb?: boolean;
|
|
29
|
+
|
|
30
|
+
@ApiPropertyOptional()
|
|
31
|
+
ressenti?: number;
|
|
32
|
+
|
|
33
|
+
@ApiPropertyOptional()
|
|
34
|
+
action?: number;
|
|
35
|
+
|
|
36
|
+
@ApiPropertyOptional()
|
|
37
|
+
processed?: boolean;
|
|
38
|
+
|
|
21
39
|
@ApiProperty()
|
|
22
40
|
letterDate: Date;
|
|
23
41
|
|