@silexpert/core 0.4.17 → 0.4.19

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.
Files changed (155) hide show
  1. package/es/api/resources/Report.d.ts +1 -0
  2. package/es/api/resources/Report.d.ts.map +1 -1
  3. package/es/api/resources/Report.js +3 -0
  4. package/es/api/resources/Report.js.map +1 -1
  5. package/es/api/resources/Search.d.ts +7 -0
  6. package/es/api/resources/Search.d.ts.map +1 -0
  7. package/es/api/resources/Search.js +10 -0
  8. package/es/api/resources/Search.js.map +1 -0
  9. package/es/api/resources/Society.d.ts +3 -1
  10. package/es/api/resources/Society.d.ts.map +1 -1
  11. package/es/api/resources/Society.js +6 -0
  12. package/es/api/resources/Society.js.map +1 -1
  13. package/es/api/resources/Transaction.d.ts +2 -1
  14. package/es/api/resources/Transaction.d.ts.map +1 -1
  15. package/es/api/resources/Transaction.js +3 -0
  16. package/es/api/resources/Transaction.js.map +1 -1
  17. package/es/api/resources.d.ts +2 -0
  18. package/es/api/resources.d.ts.map +1 -1
  19. package/es/api/resources.js +2 -0
  20. package/es/api/resources.js.map +1 -1
  21. package/es/types/Enum/ComptaType.d.ts +1 -1
  22. package/es/types/Enum/ComptaType.js +1 -1
  23. package/es/types/Enum/ComptaType.js.map +1 -1
  24. package/es/types/Enum/Ged.d.ts +6 -0
  25. package/es/types/Enum/Ged.d.ts.map +1 -1
  26. package/es/types/Enum/Ged.js +22 -2
  27. package/es/types/Enum/Ged.js.map +1 -1
  28. package/es/types/Enum/LegalForm.d.ts +17 -0
  29. package/es/types/Enum/LegalForm.d.ts.map +1 -1
  30. package/es/types/Enum/LegalForm.js +17 -0
  31. package/es/types/Enum/LegalForm.js.map +1 -1
  32. package/es/types/Enum/LetterState.d.ts +27 -0
  33. package/es/types/Enum/LetterState.d.ts.map +1 -0
  34. package/es/types/Enum/LetterState.js +27 -0
  35. package/es/types/Enum/LetterState.js.map +1 -0
  36. package/es/types/Enum/ReportType.d.ts +4 -0
  37. package/es/types/Enum/ReportType.d.ts.map +1 -1
  38. package/es/types/Enum/ReportType.js +4 -0
  39. package/es/types/Enum/ReportType.js.map +1 -1
  40. package/es/types/Interface/api/bankAccount/DeleteTransaction.d.ts +9 -0
  41. package/es/types/Interface/api/bankAccount/DeleteTransaction.d.ts.map +1 -0
  42. package/es/types/Interface/api/bankAccount/DeleteTransaction.js +37 -0
  43. package/es/types/Interface/api/bankAccount/DeleteTransaction.js.map +1 -0
  44. package/es/types/Interface/api/letter/CreateLetter.d.ts +1 -1
  45. package/es/types/Interface/api/letter/CreateLetter.d.ts.map +1 -1
  46. package/es/types/Interface/api/letter/CreateLetter.js +4 -4
  47. package/es/types/Interface/api/letter/CreateLetter.js.map +1 -1
  48. package/es/types/Interface/api/pappers/CreatePappers.d.ts +27 -0
  49. package/es/types/Interface/api/pappers/CreatePappers.d.ts.map +1 -0
  50. package/es/types/Interface/api/pappers/CreatePappers.js +2 -0
  51. package/es/types/Interface/api/pappers/CreatePappers.js.map +1 -0
  52. package/es/types/Interface/api/pappers/QueryPappers.d.ts +267 -0
  53. package/es/types/Interface/api/pappers/QueryPappers.d.ts.map +1 -0
  54. package/es/types/Interface/api/pappers/QueryPappers.js +104 -0
  55. package/es/types/Interface/api/pappers/QueryPappers.js.map +1 -0
  56. package/es/types/Interface/api/pappers/ReadPappers.d.ts +62 -0
  57. package/es/types/Interface/api/pappers/ReadPappers.d.ts.map +1 -0
  58. package/es/types/Interface/api/pappers/ReadPappers.js +3 -0
  59. package/es/types/Interface/api/pappers/ReadPappers.js.map +1 -0
  60. package/es/types/Interface/api/report/CreateReport.d.ts +6 -0
  61. package/es/types/Interface/api/report/CreateReport.d.ts.map +1 -1
  62. package/es/types/Interface/api/report/CreateReport.js +24 -0
  63. package/es/types/Interface/api/report/CreateReport.js.map +1 -1
  64. package/es/types/Interface/api/report/DeleteReport.d.ts +5 -0
  65. package/es/types/Interface/api/report/DeleteReport.d.ts.map +1 -0
  66. package/es/types/Interface/api/report/DeleteReport.js +17 -0
  67. package/es/types/Interface/api/report/DeleteReport.js.map +1 -0
  68. package/es/types/Interface/api/society/CreateSociety.d.ts +5 -0
  69. package/es/types/Interface/api/society/CreateSociety.d.ts.map +1 -1
  70. package/es/types/Interface/api/society/CreateSociety.js +20 -0
  71. package/es/types/Interface/api/society/CreateSociety.js.map +1 -1
  72. package/es/types/Interface/api/society/LegalFormSiren.d.ts +2 -0
  73. package/es/types/Interface/api/society/LegalFormSiren.d.ts.map +1 -1
  74. package/es/types/Interface/api/society/LegalFormSiren.js.map +1 -1
  75. package/es/types/Interface/api/society/UpdateSociety.d.ts +17 -0
  76. package/es/types/Interface/api/society/UpdateSociety.d.ts.map +1 -0
  77. package/es/types/Interface/api/society/UpdateSociety.js +57 -0
  78. package/es/types/Interface/api/society/UpdateSociety.js.map +1 -0
  79. package/es/types/Interface/models/IApiError.d.ts +1 -0
  80. package/es/types/Interface/models/IApiError.d.ts.map +1 -1
  81. package/es/types/Interface/models/IApiError.js +1 -0
  82. package/es/types/Interface/models/IApiError.js.map +1 -1
  83. package/es/types/Interface/models/ILetter.d.ts +1 -0
  84. package/es/types/Interface/models/ILetter.d.ts.map +1 -1
  85. package/es/types/Interface/models/ILetter.js.map +1 -1
  86. package/es/types/index.d.ts +8 -0
  87. package/es/types/index.d.ts.map +1 -1
  88. package/es/types/index.js +8 -0
  89. package/es/types/index.js.map +1 -1
  90. package/js/api/resources/Report.js +4 -0
  91. package/js/api/resources/Report.js.map +1 -1
  92. package/js/api/resources/Search.js +26 -0
  93. package/js/api/resources/Search.js.map +1 -0
  94. package/js/api/resources/Society.js +8 -0
  95. package/js/api/resources/Society.js.map +1 -1
  96. package/js/api/resources/Transaction.js +6 -0
  97. package/js/api/resources/Transaction.js.map +1 -1
  98. package/js/api/resources.js +4 -1
  99. package/js/api/resources.js.map +1 -1
  100. package/js/types/Enum/ComptaType.js +1 -1
  101. package/js/types/Enum/ComptaType.js.map +1 -1
  102. package/js/types/Enum/Ged.js +25 -4
  103. package/js/types/Enum/Ged.js.map +1 -1
  104. package/js/types/Enum/LegalForm.js +34 -17
  105. package/js/types/Enum/LegalForm.js.map +1 -1
  106. package/js/types/Enum/LetterState.js +32 -0
  107. package/js/types/Enum/LetterState.js.map +1 -0
  108. package/js/types/Enum/ReportType.js +4 -0
  109. package/js/types/Enum/ReportType.js.map +1 -1
  110. package/js/types/Interface/api/bankAccount/DeleteTransaction.js +37 -0
  111. package/js/types/Interface/api/bankAccount/DeleteTransaction.js.map +1 -0
  112. package/js/types/Interface/api/letter/CreateLetter.js +2 -2
  113. package/js/types/Interface/api/letter/CreateLetter.js.map +1 -1
  114. package/js/types/Interface/api/pappers/CreatePappers.js +6 -0
  115. package/js/types/Interface/api/pappers/CreatePappers.js.map +1 -0
  116. package/js/types/Interface/api/pappers/QueryPappers.js +85 -0
  117. package/js/types/Interface/api/pappers/QueryPappers.js.map +1 -0
  118. package/js/types/Interface/api/pappers/ReadPappers.js +10 -0
  119. package/js/types/Interface/api/pappers/ReadPappers.js.map +1 -0
  120. package/js/types/Interface/api/report/CreateReport.js +12 -0
  121. package/js/types/Interface/api/report/CreateReport.js.map +1 -1
  122. package/js/types/Interface/api/report/DeleteReport.js +27 -0
  123. package/js/types/Interface/api/report/DeleteReport.js.map +1 -0
  124. package/js/types/Interface/api/society/CreateSociety.js +10 -0
  125. package/js/types/Interface/api/society/CreateSociety.js.map +1 -1
  126. package/js/types/Interface/api/society/UpdateSociety.js +47 -0
  127. package/js/types/Interface/api/society/UpdateSociety.js.map +1 -0
  128. package/js/types/Interface/models/IApiError.js +2 -1
  129. package/js/types/Interface/models/IApiError.js.map +1 -1
  130. package/js/types/index.js +96 -0
  131. package/js/types/index.js.map +1 -1
  132. package/package.json +7 -11
  133. package/ts/api/resources/Report.ts +4 -1
  134. package/ts/api/resources/Search.ts +11 -0
  135. package/ts/api/resources/Society.ts +8 -0
  136. package/ts/api/resources/Transaction.ts +4 -1
  137. package/ts/api/resources.ts +2 -0
  138. package/ts/types/Enum/ComptaType.ts +1 -1
  139. package/ts/types/Enum/Ged.ts +22 -2
  140. package/ts/types/Enum/LegalForm.ts +17 -0
  141. package/ts/types/Enum/LetterState.ts +26 -0
  142. package/ts/types/Enum/ReportType.ts +4 -0
  143. package/ts/types/Interface/api/bankAccount/DeleteTransaction.ts +21 -0
  144. package/ts/types/Interface/api/letter/CreateLetter.ts +3 -3
  145. package/ts/types/Interface/api/pappers/CreatePappers.ts +29 -0
  146. package/ts/types/Interface/api/pappers/QueryPappers.ts +323 -0
  147. package/ts/types/Interface/api/pappers/ReadPappers.ts +65 -0
  148. package/ts/types/Interface/api/report/CreateReport.ts +18 -0
  149. package/ts/types/Interface/api/report/DeleteReport.ts +7 -0
  150. package/ts/types/Interface/api/society/CreateSociety.ts +15 -0
  151. package/ts/types/Interface/api/society/LegalFormSiren.ts +2 -0
  152. package/ts/types/Interface/api/society/UpdateSociety.ts +36 -0
  153. package/ts/types/Interface/models/IApiError.ts +1 -0
  154. package/ts/types/Interface/models/ILetter.ts +1 -0
  155. package/ts/types/index.ts +8 -0
@@ -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
 
@@ -0,0 +1,7 @@
1
+ import { IReport } from '../../..';
2
+ import { ApiProperty } from '../../../../utils';
3
+
4
+ export class DeleteReport implements IReport {
5
+ @ApiProperty()
6
+ id: number;
7
+ }
@@ -16,6 +16,15 @@ export class CreateSociety {
16
16
  @ApiPropertyOptional()
17
17
  name?: string;
18
18
 
19
+ @ApiPropertyOptional()
20
+ address?: string;
21
+
22
+ @ApiPropertyOptional()
23
+ city?: string;
24
+
25
+ @ApiPropertyOptional()
26
+ idCountry?: number;
27
+
19
28
  @ApiPropertyOptional()
20
29
  idActivity?: number;
21
30
 
@@ -28,6 +37,12 @@ export class CreateSociety {
28
37
  @ApiPropertyOptional()
29
38
  exercicePeriod?: { start: string, end: string };
30
39
 
40
+ @ApiPropertyOptional()
41
+ nafCode?: string;
42
+
43
+ @ApiPropertyOptional()
44
+ zipCode?: string;
45
+
31
46
  @ApiProperty()
32
47
  analyticsUtm: AnalticsUtm;
33
48
  }
@@ -2,4 +2,6 @@ export type LegalFormSiren = {
2
2
  l1_normalisee: string;
3
3
  l4_declaree: string;
4
4
  l6_declaree: string;
5
+ libcom: string;
6
+ codpos: string;
5
7
  };
@@ -0,0 +1,36 @@
1
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
2
+
3
+ export class UpdateSociety {
4
+ @ApiProperty()
5
+ idTypeCompta: number;
6
+
7
+ @ApiPropertyOptional()
8
+ idUser?: number;
9
+
10
+ @ApiPropertyOptional()
11
+ name?: string;
12
+
13
+ @ApiPropertyOptional()
14
+ address?: string;
15
+
16
+ @ApiPropertyOptional()
17
+ city?: string;
18
+
19
+ @ApiPropertyOptional()
20
+ idCountry?: number;
21
+
22
+ @ApiPropertyOptional()
23
+ idActivity?: number;
24
+
25
+ @ApiPropertyOptional()
26
+ idTvaRegime?: number;
27
+
28
+ @ApiPropertyOptional()
29
+ idLegalForm?: number;
30
+
31
+ @ApiPropertyOptional()
32
+ exercicePeriod?: { start: string, end: string };
33
+
34
+ @ApiPropertyOptional()
35
+ confirmedAt?: string;
36
+ }
@@ -14,6 +14,7 @@ export enum Code {
14
14
  outOfRange = 'resource_ofr',
15
15
  internalServerError = 'internal_server_error',
16
16
  constraintKeyError = 'resource_fk_error',
17
+ serviceUnavailable = 'service_unavailable',
17
18
 
18
19
  // Annotation Error
19
20
  failedCheckBalance = 'failed_check_balance',
@@ -8,6 +8,7 @@ import { IReport } from './IReport';
8
8
  export interface ILetter {
9
9
  id?: number;
10
10
  complement?: string | null;
11
+ state?: number;
11
12
  isLRAR?: boolean;
12
13
  isDone?: boolean;
13
14
  needResponse?: boolean;
package/ts/types/index.ts CHANGED
@@ -307,7 +307,9 @@ export * from './Enum/IncomeStatement';
307
307
  export * from './Enum/Vehicle';
308
308
  export * from './Enum/VehicleType';
309
309
  export * from './Enum/BalanceSheet';
310
+ export * from './Enum/LetterState';
310
311
  export * from './Enum/DefaultPermissions';
312
+ export * from './Enum/Ged';
311
313
 
312
314
  // Interfaces API
313
315
  export * from './Interface/api/businessPartner/ReadBusinessPartner';
@@ -333,6 +335,7 @@ export * from './Interface/api/cerfa/CreateCerfa';
333
335
  export * from './Interface/api/society/LegalFormSiren';
334
336
  export * from './Interface/api/society/GetDataSociety';
335
337
  export * from './Interface/api/society/CreateSociety';
338
+ export * from './Interface/api/society/UpdateSociety';
336
339
 
337
340
  // export * from './Interface/api/survey/QuerySurvey';
338
341
  export * from './Interface/api/survey/ReadSurvey';
@@ -340,6 +343,7 @@ export * from './Interface/api/survey/UpdateSurvey';
340
343
  export * from './Interface/api/survey/CreateSurvey';
341
344
  export * from './Interface/api/report/ReadReport';
342
345
  export * from './Interface/api/report/CreateReport';
346
+ export * from './Interface/api/report/DeleteReport';
343
347
  export * from './Interface/api/report/QueryReports';
344
348
  export * from './Interface/api/letter/CreateLetter';
345
349
  export * from './Interface/api/mailInvoice/CreateInvoiceMail';
@@ -352,3 +356,7 @@ export * from './Interface/api/generalLedger/QueryGeneralLedger';
352
356
  export * from './Interface/api/incomeStatement/QueryIncomeStatement';
353
357
  export * from './Interface/api/incomeStatement/ReadIncomeStatement';
354
358
  export * from './Interface/api/balanceSheet/ReadBalanceSheet';
359
+ export * from './Interface/api/pappers/QueryPappers';
360
+ export * from './Interface/api/pappers/ReadPappers';
361
+ export * from './Interface/api/pappers/CreatePappers';
362
+ export * from './Interface/api/bankAccount/DeleteTransaction';