@silexpert/core 1.3.114 → 1.3.115-cerfa2050-2
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/AccountingFiles.d.ts.map +1 -1
- package/dist/cjs/api/resources/AccountingFiles.js +1 -0
- package/dist/cjs/api/resources/AccountingFiles.js.map +1 -1
- package/dist/cjs/api/resources/Inpi.d.ts +30 -0
- package/dist/cjs/api/resources/Inpi.d.ts.map +1 -1
- package/dist/cjs/api/resources/Inpi.js +40 -0
- package/dist/cjs/api/resources/Inpi.js.map +1 -1
- package/dist/cjs/types/Enum/Aspone.d.ts +8 -0
- package/dist/cjs/types/Enum/Aspone.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Aspone.js +11 -1
- package/dist/cjs/types/Enum/Aspone.js.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheet.d.ts +64 -0
- package/dist/cjs/types/Enum/BalanceSheet.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheet.js +152 -66
- package/dist/cjs/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheetQuestionWording.d.ts +57 -13
- package/dist/cjs/types/Enum/BalanceSheetQuestionWording.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheetQuestionWording.js +56 -12
- package/dist/cjs/types/Enum/BalanceSheetQuestionWording.js.map +1 -1
- package/dist/cjs/types/Enum/GlobalRegime.js +19 -19
- package/dist/cjs/types/Enum/GlobalRegime.js.map +1 -1
- package/dist/cjs/types/Enum/IncomeStatement.d.ts +32 -0
- package/dist/cjs/types/Enum/IncomeStatement.d.ts.map +1 -1
- package/dist/cjs/types/Enum/IncomeStatement.js +66 -33
- package/dist/cjs/types/Enum/IncomeStatement.js.map +1 -1
- package/dist/cjs/types/Enum/Unit.d.ts +10 -3
- package/dist/cjs/types/Enum/Unit.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Unit.js +11 -0
- package/dist/cjs/types/Enum/Unit.js.map +1 -1
- package/dist/cjs/types/Interface/api/balanceSheet/ReadBalanceSheet.d.ts +3 -2
- package/dist/cjs/types/Interface/api/balanceSheet/ReadBalanceSheet.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/balanceSheet/ReadBalanceSheet.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2031.d.ts +3 -2
- package/dist/cjs/types/Interface/api/cerfa/2031.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2031.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2050.d.ts +1578 -1626
- package/dist/cjs/types/Interface/api/cerfa/2050.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2050.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2065.d.ts +2 -1
- package/dist/cjs/types/Interface/api/cerfa/2065.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2065.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.d.ts +6 -1
- package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.js.map +1 -1
- package/dist/cjs/types/Interface/api/incomeStatement/ReadIncomeStatement.d.ts +3 -2
- package/dist/cjs/types/Interface/api/incomeStatement/ReadIncomeStatement.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/incomeStatement/ReadIncomeStatement.js.map +1 -1
- package/dist/cjs/types/Interface/api/inpi/inpi.d.ts +58 -0
- package/dist/cjs/types/Interface/api/inpi/inpi.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/inpi/inpi.js.map +1 -1
- package/dist/cjs/utils/vat/3310/century25.d.ts.map +1 -1
- package/dist/cjs/utils/vat/3310/century25.js +10 -10
- package/dist/cjs/utils/vat/3310/century25.js.map +1 -1
- package/dist/mjs/api/resources/AccountingFiles.d.ts.map +1 -1
- package/dist/mjs/api/resources/AccountingFiles.js +1 -0
- package/dist/mjs/api/resources/AccountingFiles.js.map +1 -1
- package/dist/mjs/api/resources/Inpi.d.ts +30 -0
- package/dist/mjs/api/resources/Inpi.d.ts.map +1 -1
- package/dist/mjs/api/resources/Inpi.js +40 -0
- package/dist/mjs/api/resources/Inpi.js.map +1 -1
- package/dist/mjs/types/Enum/Aspone.d.ts +8 -0
- package/dist/mjs/types/Enum/Aspone.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Aspone.js +10 -0
- package/dist/mjs/types/Enum/Aspone.js.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheet.d.ts +64 -0
- package/dist/mjs/types/Enum/BalanceSheet.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheet.js +151 -65
- package/dist/mjs/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheetQuestionWording.d.ts +57 -13
- package/dist/mjs/types/Enum/BalanceSheetQuestionWording.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheetQuestionWording.js +56 -12
- package/dist/mjs/types/Enum/BalanceSheetQuestionWording.js.map +1 -1
- package/dist/mjs/types/Enum/GlobalRegime.js +19 -19
- package/dist/mjs/types/Enum/GlobalRegime.js.map +1 -1
- package/dist/mjs/types/Enum/IncomeStatement.d.ts +32 -0
- package/dist/mjs/types/Enum/IncomeStatement.d.ts.map +1 -1
- package/dist/mjs/types/Enum/IncomeStatement.js +65 -32
- package/dist/mjs/types/Enum/IncomeStatement.js.map +1 -1
- package/dist/mjs/types/Enum/Unit.d.ts +10 -3
- package/dist/mjs/types/Enum/Unit.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Unit.js +11 -0
- package/dist/mjs/types/Enum/Unit.js.map +1 -1
- package/dist/mjs/types/Interface/api/balanceSheet/ReadBalanceSheet.d.ts +3 -2
- package/dist/mjs/types/Interface/api/balanceSheet/ReadBalanceSheet.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/balanceSheet/ReadBalanceSheet.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2031.d.ts +3 -2
- package/dist/mjs/types/Interface/api/cerfa/2031.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2031.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2050.d.ts +1578 -1626
- package/dist/mjs/types/Interface/api/cerfa/2050.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2050.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2065.d.ts +2 -1
- package/dist/mjs/types/Interface/api/cerfa/2065.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2065.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.d.ts +6 -1
- package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.js.map +1 -1
- package/dist/mjs/types/Interface/api/incomeStatement/ReadIncomeStatement.d.ts +3 -2
- package/dist/mjs/types/Interface/api/incomeStatement/ReadIncomeStatement.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/incomeStatement/ReadIncomeStatement.js.map +1 -1
- package/dist/mjs/types/Interface/api/inpi/inpi.d.ts +58 -0
- package/dist/mjs/types/Interface/api/inpi/inpi.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/inpi/inpi.js.map +1 -1
- package/dist/mjs/utils/vat/3310/century25.d.ts.map +1 -1
- package/dist/mjs/utils/vat/3310/century25.js +10 -10
- package/dist/mjs/utils/vat/3310/century25.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/AccountingFiles.ts +1 -0
- package/ts/api/resources/Inpi.ts +45 -0
- package/ts/types/Enum/Aspone.ts +10 -0
- package/ts/types/Enum/BalanceSheet.ts +151 -65
- package/ts/types/Enum/BalanceSheetQuestionWording.ts +126 -81
- package/ts/types/Enum/GlobalRegime.ts +19 -19
- package/ts/types/Enum/IncomeStatement.ts +66 -32
- package/ts/types/Enum/Unit.ts +11 -0
- package/ts/types/Interface/api/balanceSheet/ReadBalanceSheet.ts +4 -2
- package/ts/types/Interface/api/cerfa/2031.ts +3 -2
- package/ts/types/Interface/api/cerfa/2050.ts +1571 -1393
- package/ts/types/Interface/api/cerfa/2065.ts +2 -2
- package/ts/types/Interface/api/cerfa/ReadCerfa.ts +15 -2
- package/ts/types/Interface/api/incomeStatement/ReadIncomeStatement.ts +4 -2
- package/ts/types/Interface/api/inpi/inpi.ts +64 -0
- package/ts/utils/vat/3310/century25.ts +10 -11
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AnyCerfa2033Century, ApiPropertyOptional } from '../../../..';
|
|
1
|
+
import { AnyCerfa2033Century, AnyCerfa2050Century, ApiPropertyOptional } from '../../../..';
|
|
2
2
|
import { CerfaAddress, ViewerDetails, Accountant, CouncilDetails, EcfDetails, Termination } from './ReadCerfa';
|
|
3
3
|
import { PartnersLegalEntity } from './Utils';
|
|
4
4
|
|
|
@@ -257,7 +257,7 @@ export type PrepareCerfa2065 = {
|
|
|
257
257
|
idExercice: number;
|
|
258
258
|
idSociety: number;
|
|
259
259
|
idUser: number;
|
|
260
|
-
values: { cerfa2065: AnyCerfa2065Century; cerfa2033: AnyCerfa2033Century };
|
|
260
|
+
values: { cerfa2065: AnyCerfa2065Century; cerfa2033: AnyCerfa2033Century; cerfa2050?: AnyCerfa2050Century };
|
|
261
261
|
};
|
|
262
262
|
|
|
263
263
|
export interface Cerfa2065_2025 {
|
|
@@ -2,6 +2,7 @@ import { CerfaType } from '../../../Enum/CerfaType';
|
|
|
2
2
|
import {
|
|
3
3
|
AnyCerfa2031Century,
|
|
4
4
|
AnyCerfa2033Century,
|
|
5
|
+
AnyCerfa2050Century,
|
|
5
6
|
AnyCerfa2035Century,
|
|
6
7
|
AnyCerfa2065Century,
|
|
7
8
|
AnyCerfa2571Century,
|
|
@@ -112,8 +113,19 @@ export type Termination = {
|
|
|
112
113
|
date: string | null;
|
|
113
114
|
};
|
|
114
115
|
|
|
115
|
-
export type AsponeFormFields = Array<{
|
|
116
|
-
|
|
116
|
+
export type AsponeFormFields = Array<{
|
|
117
|
+
name: string;
|
|
118
|
+
/** Système dynamique de remplissage néant si aucun champ du formulaire n'est rempli */
|
|
119
|
+
nilKey?: string;
|
|
120
|
+
fields: FieldForGeneration[];
|
|
121
|
+
index?: number;
|
|
122
|
+
}>;
|
|
123
|
+
export type AsponeFormField = {
|
|
124
|
+
name: string;
|
|
125
|
+
/** Système dynamique de remplissage néant si aucun champ du formulaire n'est rempli */
|
|
126
|
+
nilKey?: string;
|
|
127
|
+
fields: FieldForGeneration[];
|
|
128
|
+
};
|
|
117
129
|
|
|
118
130
|
export interface RegistrationPayload {
|
|
119
131
|
cerfa2573?: Cerfa2573_2024;
|
|
@@ -121,6 +133,7 @@ export interface RegistrationPayload {
|
|
|
121
133
|
cerfa2571?: AnyCerfa2571Century;
|
|
122
134
|
cerfa2031?: AnyCerfa2031Century;
|
|
123
135
|
cerfa2033?: AnyCerfa2033Century;
|
|
136
|
+
cerfa2050?: AnyCerfa2050Century;
|
|
124
137
|
cerfa2065?: AnyCerfa2065Century;
|
|
125
138
|
cerfa2035?: AnyCerfa2035Century;
|
|
126
139
|
cerfa2069RCI?: Cerfa2069RCI_2024;
|
|
@@ -560,3 +560,67 @@ interface AdresseDomicile3 {
|
|
|
560
560
|
commune: string;
|
|
561
561
|
codeInseeCommune: string;
|
|
562
562
|
}
|
|
563
|
+
|
|
564
|
+
export type RneConfidentiality = 'Public' | 'Publication simplifiee' | 'Partiellement confidentiel';
|
|
565
|
+
|
|
566
|
+
export interface RneActe {
|
|
567
|
+
id: string;
|
|
568
|
+
siren: string;
|
|
569
|
+
denomination?: string;
|
|
570
|
+
dateDepot?: string;
|
|
571
|
+
numChrono?: string;
|
|
572
|
+
nomDocument?: string;
|
|
573
|
+
confidentiality?: RneConfidentiality;
|
|
574
|
+
deleted?: boolean;
|
|
575
|
+
// présent dans ton JSON : liste indicative du/des type(s) d'acte + décision
|
|
576
|
+
typeRdd?: Array<{ typeActe: string; decision?: string }>;
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
export interface RneBilanMeta {
|
|
580
|
+
id: string;
|
|
581
|
+
siren: string;
|
|
582
|
+
denomination?: string;
|
|
583
|
+
dateDepot?: string;
|
|
584
|
+
numChrono?: string;
|
|
585
|
+
nomDocument?: string;
|
|
586
|
+
confidentiality?: RneConfidentiality;
|
|
587
|
+
deleted?: boolean;
|
|
588
|
+
dateCloture?: string;
|
|
589
|
+
typeBilan?: string;
|
|
590
|
+
version?: string;
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
export interface RneBilanSaisiMeta {
|
|
594
|
+
id: string;
|
|
595
|
+
siren: string;
|
|
596
|
+
denomination?: string;
|
|
597
|
+
dateDepot?: string;
|
|
598
|
+
numDepot?: string;
|
|
599
|
+
confidentiality?: RneConfidentiality;
|
|
600
|
+
deleted?: boolean;
|
|
601
|
+
dateCloture?: string;
|
|
602
|
+
typeBilan?: string;
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
export interface RneAttachmentsResponse {
|
|
606
|
+
actes: RneActe[];
|
|
607
|
+
bilans: RneBilanMeta[];
|
|
608
|
+
bilansSaisis: RneBilanSaisiMeta[];
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
// DTO unifié pour le front (liste unique "documents")
|
|
612
|
+
export type RneDocumentType = 'acte' | 'bilan' | 'bilanSaisi';
|
|
613
|
+
|
|
614
|
+
export interface RneUiDocument {
|
|
615
|
+
id: string;
|
|
616
|
+
type: RneDocumentType;
|
|
617
|
+
siren: string;
|
|
618
|
+
title: string;
|
|
619
|
+
subtitle?: string;
|
|
620
|
+
dateDepot?: string;
|
|
621
|
+
dateCloture?: string;
|
|
622
|
+
confidentiality?: RneConfidentiality;
|
|
623
|
+
deleted?: boolean;
|
|
624
|
+
downloadUrl?: string;
|
|
625
|
+
nomDocument?: string;
|
|
626
|
+
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
1
|
import * as dayjs from 'dayjs';
|
|
3
2
|
import { isDefined } from 'class-validator';
|
|
4
3
|
import { round as _round, flatten, uniqBy, maxBy } from 'lodash';
|
|
@@ -962,16 +961,6 @@ export function getCerfa3310Century25RegistrationFields(data: Cerfa3310_2025): A
|
|
|
962
961
|
{
|
|
963
962
|
name: '3310CA3',
|
|
964
963
|
fields: [
|
|
965
|
-
{
|
|
966
|
-
key: 'BA',
|
|
967
|
-
value: null,
|
|
968
|
-
isMultiple: false,
|
|
969
|
-
tags: [1, 2, 3, 4, 5].map((i) => ({
|
|
970
|
-
tag: `TexteLibre${i}` as 'TexteLibre1',
|
|
971
|
-
description: `FTX Commentaires type ${i}`,
|
|
972
|
-
value: textFormatting(comment, 512, 512 * (i - 1)) || null,
|
|
973
|
-
})),
|
|
974
|
-
},
|
|
975
964
|
{
|
|
976
965
|
key: 'BB',
|
|
977
966
|
tag: 'Valeur',
|
|
@@ -986,6 +975,16 @@ export function getCerfa3310Century25RegistrationFields(data: Cerfa3310_2025): A
|
|
|
986
975
|
description: 'CCITBX Mention expresse Table TBX avec X pour sélectionné, CCI/7037 = CAV/1131 =',
|
|
987
976
|
value: comment && comment?.length > 0 ? 'X' : null,
|
|
988
977
|
},
|
|
978
|
+
{
|
|
979
|
+
key: 'BA',
|
|
980
|
+
value: null,
|
|
981
|
+
isMultiple: false,
|
|
982
|
+
tags: [1, 2, 3, 4, 5].map((i) => ({
|
|
983
|
+
tag: `TexteLibre${i}` as 'TexteLibre1',
|
|
984
|
+
description: `FTX Commentaires type ${i}`,
|
|
985
|
+
value: textFormatting(comment, 512, 512 * (i - 1)) || null,
|
|
986
|
+
})),
|
|
987
|
+
},
|
|
989
988
|
{
|
|
990
989
|
key: 'BE',
|
|
991
990
|
tag: 'Valeur',
|