@silexpert/core 1.0.84 → 1.0.87
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/Inpi.d.ts +61 -0
- package/es/api/resources/Inpi.d.ts.map +1 -0
- package/es/api/resources/Inpi.js +78 -0
- package/es/api/resources/Inpi.js.map +1 -0
- package/es/api/resources/prestation.d.ts +11 -0
- package/es/api/resources/prestation.d.ts.map +1 -0
- package/es/api/resources/prestation.js +12 -0
- package/es/api/resources/prestation.js.map +1 -0
- package/es/api/resources.d.ts +4 -0
- package/es/api/resources.d.ts.map +1 -1
- package/es/api/resources.js +4 -0
- package/es/api/resources.js.map +1 -1
- package/es/types/Enum/AccountType.d.ts +10 -0
- package/es/types/Enum/AccountType.d.ts.map +1 -1
- package/es/types/Enum/AccountType.js +10 -0
- package/es/types/Enum/AccountType.js.map +1 -1
- package/es/types/Enum/BalanceSheet.js +1 -1
- package/es/types/Enum/BalanceSheet.js.map +1 -1
- package/es/types/Enum/CerfaType.d.ts +2 -1
- package/es/types/Enum/CerfaType.d.ts.map +1 -1
- package/es/types/Enum/CerfaType.js +2 -1
- package/es/types/Enum/CerfaType.js.map +1 -1
- package/es/types/Enum/InpiType.d.ts +39 -0
- package/es/types/Enum/InpiType.d.ts.map +1 -0
- package/es/types/Enum/InpiType.js +39 -0
- package/es/types/Enum/InpiType.js.map +1 -0
- package/es/types/Enum/PrestationType.d.ts +18 -1
- package/es/types/Enum/PrestationType.d.ts.map +1 -1
- package/es/types/Enum/PrestationType.js +44 -27
- package/es/types/Enum/PrestationType.js.map +1 -1
- package/es/types/Enum/ProcessingState.d.ts +7 -0
- package/es/types/Enum/ProcessingState.d.ts.map +1 -0
- package/es/types/Enum/ProcessingState.js +8 -0
- package/es/types/Enum/ProcessingState.js.map +1 -0
- package/es/types/Enum/TimeCounterType.d.ts +42 -0
- package/es/types/Enum/TimeCounterType.d.ts.map +1 -1
- package/es/types/Enum/TimeCounterType.js +42 -0
- package/es/types/Enum/TimeCounterType.js.map +1 -1
- package/es/types/Interface/api/aspone/ReadInterchange.d.ts +1 -1
- package/es/types/Interface/api/aspone/ReadInterchange.d.ts.map +1 -1
- package/es/types/Interface/api/aspone/ReadInterchange.js.map +1 -1
- package/es/types/Interface/api/cerfa/2572.d.ts +91 -2
- package/es/types/Interface/api/cerfa/2572.d.ts.map +1 -1
- package/es/types/Interface/api/cerfa/2572.js +3 -1
- package/es/types/Interface/api/cerfa/2572.js.map +1 -1
- package/es/types/Interface/api/iDocus/CreateExport.d.ts +4 -0
- package/es/types/Interface/api/iDocus/CreateExport.d.ts.map +1 -0
- package/es/types/Interface/api/iDocus/CreateExport.js +21 -0
- package/es/types/Interface/api/iDocus/CreateExport.js.map +1 -0
- package/es/types/Interface/api/iDocus/iDocus.d.ts +35 -0
- package/es/types/Interface/api/iDocus/iDocus.d.ts.map +1 -0
- package/es/types/Interface/api/iDocus/iDocus.js +2 -0
- package/es/types/Interface/api/iDocus/iDocus.js.map +1 -0
- package/es/types/Interface/api/inpiBalance/QueryInpiBalancePaginated.d.ts +6 -0
- package/es/types/Interface/api/inpiBalance/QueryInpiBalancePaginated.d.ts.map +1 -0
- package/es/types/Interface/api/inpiBalance/QueryInpiBalancePaginated.js +41 -0
- package/es/types/Interface/api/inpiBalance/QueryInpiBalancePaginated.js.map +1 -0
- package/es/types/Interface/api/inpiBalance/QueryInpiBalanceStatistic.d.ts +4 -0
- package/es/types/Interface/api/inpiBalance/QueryInpiBalanceStatistic.d.ts.map +1 -0
- package/es/types/Interface/api/inpiBalance/QueryInpiBalanceStatistic.js +21 -0
- package/es/types/Interface/api/inpiBalance/QueryInpiBalanceStatistic.js.map +1 -0
- package/es/types/Interface/api/inpiBalance/inpiBalanceStatistic.d.ts +6 -0
- package/es/types/Interface/api/inpiBalance/inpiBalanceStatistic.d.ts.map +1 -0
- package/es/types/Interface/api/inpiBalance/inpiBalanceStatistic.js +2 -0
- package/es/types/Interface/api/inpiBalance/inpiBalanceStatistic.js.map +1 -0
- package/es/types/Interface/api/inpiPayment/QueryInpiPaymentPaginated.d.ts +10 -0
- package/es/types/Interface/api/inpiPayment/QueryInpiPaymentPaginated.d.ts.map +1 -0
- package/es/types/Interface/api/inpiPayment/QueryInpiPaymentPaginated.js +75 -0
- package/es/types/Interface/api/inpiPayment/QueryInpiPaymentPaginated.js.map +1 -0
- package/es/types/Interface/api/inpiPayment/QueryInpiPaymentStatistic.d.ts +4 -0
- package/es/types/Interface/api/inpiPayment/QueryInpiPaymentStatistic.d.ts.map +1 -0
- package/es/types/Interface/api/inpiPayment/QueryInpiPaymentStatistic.js +21 -0
- package/es/types/Interface/api/inpiPayment/QueryInpiPaymentStatistic.js.map +1 -0
- package/es/types/Interface/api/pdf/ReadPdftkizer.d.ts +2 -0
- package/es/types/Interface/api/pdf/ReadPdftkizer.d.ts.map +1 -0
- package/es/types/Interface/api/pdf/ReadPdftkizer.js +2 -0
- package/es/types/Interface/api/pdf/ReadPdftkizer.js.map +1 -0
- package/es/types/Interface/api/society/SocietyWithStatsCaParams.d.ts +2 -0
- package/es/types/Interface/api/society/SocietyWithStatsCaParams.d.ts.map +1 -1
- package/es/types/Interface/api/society/SocietyWithStatsCaParams.js.map +1 -1
- package/es/types/Interface/api/statistic/ExitRequest.d.ts +1 -0
- package/es/types/Interface/api/statistic/ExitRequest.d.ts.map +1 -1
- package/es/types/Interface/api/statistic/ExitRequest.js.map +1 -1
- package/es/types/Interface/models/IAccountingTransaction.d.ts +1 -0
- package/es/types/Interface/models/IAccountingTransaction.d.ts.map +1 -1
- package/es/types/Interface/models/IAccountingTransaction.js.map +1 -1
- package/es/types/Interface/models/IGedFile.d.ts +3 -0
- package/es/types/Interface/models/IGedFile.d.ts.map +1 -1
- package/es/types/Interface/models/IGedFile.js.map +1 -1
- package/es/types/Interface/models/IInpiBalance.d.ts +10 -0
- package/es/types/Interface/models/IInpiBalance.d.ts.map +1 -0
- package/es/types/Interface/models/IInpiBalance.js +2 -0
- package/es/types/Interface/models/IInpiBalance.js.map +1 -0
- package/es/types/Interface/models/IInpiPayment.d.ts +29 -0
- package/es/types/Interface/models/IInpiPayment.d.ts.map +1 -0
- package/es/types/Interface/models/IInpiPayment.js +2 -0
- package/es/types/Interface/models/IInpiPayment.js.map +1 -0
- package/es/types/Interface/models/IRegulate.d.ts +1 -0
- package/es/types/Interface/models/IRegulate.d.ts.map +1 -1
- package/es/types/Interface/models/IRegulate.js.map +1 -1
- package/es/types/index.d.ts +13 -0
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +13 -0
- package/es/types/index.js.map +1 -1
- package/js/api/resources/Inpi.js +113 -0
- package/js/api/resources/Inpi.js.map +1 -0
- package/js/api/resources/prestation.js +23 -0
- package/js/api/resources/prestation.js.map +1 -0
- package/js/api/resources.js +6 -0
- package/js/api/resources.js.map +1 -1
- package/js/types/Enum/AccountType.js +10 -0
- package/js/types/Enum/AccountType.js.map +1 -1
- package/js/types/Enum/BalanceSheet.js +1 -1
- package/js/types/Enum/BalanceSheet.js.map +1 -1
- package/js/types/Enum/CerfaType.js +2 -1
- package/js/types/Enum/CerfaType.js.map +1 -1
- package/js/types/Enum/InpiType.js +44 -0
- package/js/types/Enum/InpiType.js.map +1 -0
- package/js/types/Enum/PrestationType.js +44 -27
- package/js/types/Enum/PrestationType.js.map +1 -1
- package/js/types/Enum/ProcessingState.js +14 -0
- package/js/types/Enum/ProcessingState.js.map +1 -0
- package/js/types/Enum/TimeCounterType.js +42 -0
- package/js/types/Enum/TimeCounterType.js.map +1 -1
- package/js/types/Interface/api/aspone/ReadInterchange.js.map +1 -1
- package/js/types/Interface/api/cerfa/2572.js +6 -2
- package/js/types/Interface/api/cerfa/2572.js.map +1 -1
- package/js/types/Interface/api/iDocus/CreateExport.js +29 -0
- package/js/types/Interface/api/iDocus/CreateExport.js.map +1 -0
- package/js/types/Interface/api/iDocus/iDocus.js +6 -0
- package/js/types/Interface/api/iDocus/iDocus.js.map +1 -0
- package/js/types/Interface/api/inpiBalance/QueryInpiBalancePaginated.js +47 -0
- package/js/types/Interface/api/inpiBalance/QueryInpiBalancePaginated.js.map +1 -0
- package/js/types/Interface/api/inpiBalance/QueryInpiBalanceStatistic.js +31 -0
- package/js/types/Interface/api/inpiBalance/QueryInpiBalanceStatistic.js.map +1 -0
- package/js/types/Interface/api/inpiBalance/inpiBalanceStatistic.js +6 -0
- package/js/types/Interface/api/inpiBalance/inpiBalanceStatistic.js.map +1 -0
- package/js/types/Interface/api/inpiPayment/QueryInpiPaymentPaginated.js +73 -0
- package/js/types/Interface/api/inpiPayment/QueryInpiPaymentPaginated.js.map +1 -0
- package/js/types/Interface/api/inpiPayment/QueryInpiPaymentStatistic.js +31 -0
- package/js/types/Interface/api/inpiPayment/QueryInpiPaymentStatistic.js.map +1 -0
- package/js/types/Interface/api/pdf/ReadPdftkizer.js +6 -0
- package/js/types/Interface/api/pdf/ReadPdftkizer.js.map +1 -0
- package/js/types/Interface/models/IInpiBalance.js +6 -0
- package/js/types/Interface/models/IInpiBalance.js.map +1 -0
- package/js/types/Interface/models/IInpiPayment.js +6 -0
- package/js/types/Interface/models/IInpiPayment.js.map +1 -0
- package/js/types/index.js +156 -0
- package/js/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Inpi.ts +89 -0
- package/ts/api/resources/prestation.ts +15 -0
- package/ts/api/resources.ts +4 -0
- package/ts/types/Enum/AccountType.ts +10 -0
- package/ts/types/Enum/BalanceSheet.ts +1 -1
- package/ts/types/Enum/CerfaType.ts +2 -1
- package/ts/types/Enum/InpiType.ts +40 -0
- package/ts/types/Enum/PrestationType.ts +44 -27
- package/ts/types/Enum/ProcessingState.ts +6 -0
- package/ts/types/Enum/TimeCounterType.ts +42 -0
- package/ts/types/Interface/api/aspone/ReadInterchange.ts +1 -1
- package/ts/types/Interface/api/cerfa/2572.ts +88 -2
- package/ts/types/Interface/api/iDocus/CreateExport.ts +10 -0
- package/ts/types/Interface/api/iDocus/iDocus.ts +35 -0
- package/ts/types/Interface/api/inpiBalance/QueryInpiBalancePaginated.ts +28 -0
- package/ts/types/Interface/api/inpiBalance/QueryInpiBalanceStatistic.ts +10 -0
- package/ts/types/Interface/api/inpiBalance/inpiBalanceStatistic.ts +5 -0
- package/ts/types/Interface/api/inpiPayment/QueryInpiPaymentPaginated.ts +58 -0
- package/ts/types/Interface/api/inpiPayment/QueryInpiPaymentStatistic.ts +10 -0
- package/ts/types/Interface/api/pdf/ReadPdftkizer.ts +1 -0
- package/ts/types/Interface/api/society/SocietyWithStatsCaParams.ts +2 -0
- package/ts/types/Interface/api/statistic/ExitRequest.ts +1 -0
- package/ts/types/Interface/models/IAccountingTransaction.ts +1 -0
- package/ts/types/Interface/models/IGedFile.ts +3 -0
- package/ts/types/Interface/models/IInpiBalance.ts +12 -0
- package/ts/types/Interface/models/IInpiPayment.ts +31 -0
- package/ts/types/Interface/models/IRegulate.ts +1 -0
- package/ts/types/index.ts +13 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Resource } from '../Resource';
|
|
2
|
+
import {
|
|
3
|
+
IPrestation,
|
|
4
|
+
} from '../../types';
|
|
5
|
+
|
|
6
|
+
export class Prestation extends Resource {
|
|
7
|
+
/**
|
|
8
|
+
* retourne toutes les prestations juridique d'une société
|
|
9
|
+
* @param { number } id
|
|
10
|
+
* @returns { IPrestation }
|
|
11
|
+
*/
|
|
12
|
+
public getAllJuridicFromSociety(id: number): Promise<IPrestation> {
|
|
13
|
+
return this.axios.$get(`/prestation/society/${id}/juridicals`);
|
|
14
|
+
}
|
|
15
|
+
}
|
package/ts/api/resources.ts
CHANGED
|
@@ -109,6 +109,8 @@ import { SlowDetection } from './resources/SlowDetection';
|
|
|
109
109
|
import { Sources } from './resources/Sources';
|
|
110
110
|
import { Commercial } from './resources/Commercial';
|
|
111
111
|
import { Facturation } from './resources/Facturation';
|
|
112
|
+
import { Inpi } from './resources/Inpi';
|
|
113
|
+
import { Prestation } from './resources/prestation';
|
|
112
114
|
|
|
113
115
|
export const resources = {
|
|
114
116
|
simulation: Simulation,
|
|
@@ -221,5 +223,7 @@ export const resources = {
|
|
|
221
223
|
paymentExpectation: PaymentExpectation,
|
|
222
224
|
terminationList: TerminationList,
|
|
223
225
|
slowDetection: SlowDetection,
|
|
226
|
+
inpi: Inpi,
|
|
227
|
+
prestation: Prestation,
|
|
224
228
|
sources: Sources,
|
|
225
229
|
};
|
|
@@ -119,4 +119,14 @@ export const AccountType = {
|
|
|
119
119
|
color: '#CCCCCC',
|
|
120
120
|
icon: 'CapitalAssets',
|
|
121
121
|
},
|
|
122
|
+
ACHATS_MATIERE_PREMIERE: {
|
|
123
|
+
id: 29,
|
|
124
|
+
color: '#FBD65C',
|
|
125
|
+
icon: 'Buyings',
|
|
126
|
+
},
|
|
127
|
+
ACHATS_EXTERNES: {
|
|
128
|
+
id: 30,
|
|
129
|
+
color: '#FBD65C',
|
|
130
|
+
icon: 'Buyings',
|
|
131
|
+
},
|
|
122
132
|
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export const InpiCostType = {
|
|
2
|
+
GREFFE: {
|
|
3
|
+
id: 1,
|
|
4
|
+
label: 'Greffe',
|
|
5
|
+
},
|
|
6
|
+
CMA: {
|
|
7
|
+
id: 2,
|
|
8
|
+
label: 'CMA',
|
|
9
|
+
},
|
|
10
|
+
OTHER: {
|
|
11
|
+
id: 3,
|
|
12
|
+
label: 'Autres Greffe',
|
|
13
|
+
},
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export const InpiState = {
|
|
17
|
+
IN_PROGRESS: {
|
|
18
|
+
id: 1,
|
|
19
|
+
label: 'En cours de paiement client',
|
|
20
|
+
},
|
|
21
|
+
CUSTOMER_CANCELLED: {
|
|
22
|
+
id: 2,
|
|
23
|
+
label: 'Annulé problème client',
|
|
24
|
+
},
|
|
25
|
+
VALIDATED: {
|
|
26
|
+
id: 3,
|
|
27
|
+
label: 'Validé',
|
|
28
|
+
},
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
export const InpiPaymentType = {
|
|
32
|
+
PACKAGE: {
|
|
33
|
+
id: 1,
|
|
34
|
+
label: 'Forfait',
|
|
35
|
+
},
|
|
36
|
+
PAYMENT_LINK: {
|
|
37
|
+
id: 2,
|
|
38
|
+
label: 'Lien de paiement',
|
|
39
|
+
},
|
|
40
|
+
};
|
|
@@ -162,6 +162,7 @@ export enum PrestationType {
|
|
|
162
162
|
COMPTA_POURCENTAGE_EXPRESS = 207,
|
|
163
163
|
COMPTA_POURCENTAGE_PREMIUM_EXPRESS = 208,
|
|
164
164
|
ANNONCE_LEGALE = 209,
|
|
165
|
+
FRAIS_DE_GREFFE = 210,
|
|
165
166
|
}
|
|
166
167
|
|
|
167
168
|
export const PrestationDetail = {
|
|
@@ -242,7 +243,7 @@ export const PrestationDetail = {
|
|
|
242
243
|
isCatalog: 0,
|
|
243
244
|
hidden: 1,
|
|
244
245
|
isComplementary: 0,
|
|
245
|
-
signaturePosition: '
|
|
246
|
+
signaturePosition: '400,54,569,90',
|
|
246
247
|
signaturePage: 5,
|
|
247
248
|
},
|
|
248
249
|
PREVISIONNEL: {
|
|
@@ -354,7 +355,7 @@ export const PrestationDetail = {
|
|
|
354
355
|
isCatalog: 1,
|
|
355
356
|
hidden: 0,
|
|
356
357
|
isComplementary: 0,
|
|
357
|
-
signaturePosition: '
|
|
358
|
+
signaturePosition: '400,54,569,90',
|
|
358
359
|
signaturePage: 5,
|
|
359
360
|
},
|
|
360
361
|
TELEDECLARATION: {
|
|
@@ -386,7 +387,7 @@ export const PrestationDetail = {
|
|
|
386
387
|
isCatalog: 0,
|
|
387
388
|
hidden: 0,
|
|
388
389
|
isComplementary: 0,
|
|
389
|
-
signaturePosition: '
|
|
390
|
+
signaturePosition: '400,54,569,90',
|
|
390
391
|
signaturePage: 6,
|
|
391
392
|
},
|
|
392
393
|
JURIDIQUE: {
|
|
@@ -642,7 +643,7 @@ export const PrestationDetail = {
|
|
|
642
643
|
isCatalog: 0,
|
|
643
644
|
hidden: 0,
|
|
644
645
|
isComplementary: 0,
|
|
645
|
-
signaturePosition: '
|
|
646
|
+
signaturePosition: '400,54,569,90',
|
|
646
647
|
signaturePage: 7,
|
|
647
648
|
},
|
|
648
649
|
COMPTA_PRO_PAIE: {
|
|
@@ -674,7 +675,7 @@ export const PrestationDetail = {
|
|
|
674
675
|
isCatalog: 0,
|
|
675
676
|
hidden: 0,
|
|
676
677
|
isComplementary: 0,
|
|
677
|
-
signaturePosition: '
|
|
678
|
+
signaturePosition: '400,54,569,90',
|
|
678
679
|
signaturePage: 7,
|
|
679
680
|
},
|
|
680
681
|
COMPTA_PRO_EXPRESS_PAIE: {
|
|
@@ -706,7 +707,7 @@ export const PrestationDetail = {
|
|
|
706
707
|
isCatalog: 0,
|
|
707
708
|
hidden: 0,
|
|
708
709
|
isComplementary: 0,
|
|
709
|
-
signaturePosition: '
|
|
710
|
+
signaturePosition: '400,54,569,90',
|
|
710
711
|
signaturePage: 7,
|
|
711
712
|
},
|
|
712
713
|
COMPTA_ENTREPRISE_PAIE: {
|
|
@@ -738,7 +739,7 @@ export const PrestationDetail = {
|
|
|
738
739
|
isCatalog: 0,
|
|
739
740
|
hidden: 0,
|
|
740
741
|
isComplementary: 0,
|
|
741
|
-
signaturePosition: '
|
|
742
|
+
signaturePosition: '400,54,569,90',
|
|
742
743
|
signaturePage: 7,
|
|
743
744
|
},
|
|
744
745
|
COMPTA_ENTREPRISE_EXPRESS_PAIE: {
|
|
@@ -802,7 +803,7 @@ export const PrestationDetail = {
|
|
|
802
803
|
isCatalog: 1,
|
|
803
804
|
hidden: 0,
|
|
804
805
|
isComplementary: 0,
|
|
805
|
-
signaturePosition: '
|
|
806
|
+
signaturePosition: '400,54,569,90',
|
|
806
807
|
signaturePage: 5,
|
|
807
808
|
},
|
|
808
809
|
COMPTA_ASSISTANCE: {
|
|
@@ -1987,7 +1988,7 @@ export const PrestationDetail = {
|
|
|
1987
1988
|
isCatalog: 0,
|
|
1988
1989
|
hidden: 0,
|
|
1989
1990
|
isComplementary: 0,
|
|
1990
|
-
signaturePosition: '
|
|
1991
|
+
signaturePosition: '400,54,569,90',
|
|
1991
1992
|
signaturePage: 5,
|
|
1992
1993
|
},
|
|
1993
1994
|
EXPERTISE_COMPTABLE_PLUS: {
|
|
@@ -2003,7 +2004,7 @@ export const PrestationDetail = {
|
|
|
2003
2004
|
isCatalog: 0,
|
|
2004
2005
|
hidden: 0,
|
|
2005
2006
|
isComplementary: 0,
|
|
2006
|
-
signaturePosition: '
|
|
2007
|
+
signaturePosition: '400,54,569,90',
|
|
2007
2008
|
signaturePage: 5,
|
|
2008
2009
|
},
|
|
2009
2010
|
DEMANDE_CHOMAGE_PARTIEL: {
|
|
@@ -2387,7 +2388,7 @@ export const PrestationDetail = {
|
|
|
2387
2388
|
isCatalog: 0,
|
|
2388
2389
|
hidden: 0,
|
|
2389
2390
|
isComplementary: 0,
|
|
2390
|
-
signaturePosition: '
|
|
2391
|
+
signaturePosition: '400,54,569,90',
|
|
2391
2392
|
signaturePage: 7,
|
|
2392
2393
|
},
|
|
2393
2394
|
COMPTA_MICRO_EXPRESS: {
|
|
@@ -2403,7 +2404,7 @@ export const PrestationDetail = {
|
|
|
2403
2404
|
isCatalog: 0,
|
|
2404
2405
|
hidden: 0,
|
|
2405
2406
|
isComplementary: 0,
|
|
2406
|
-
signaturePosition: '
|
|
2407
|
+
signaturePosition: '400,54,569,90',
|
|
2407
2408
|
signaturePage: 7,
|
|
2408
2409
|
},
|
|
2409
2410
|
COMPTA_SCI: {
|
|
@@ -2419,7 +2420,7 @@ export const PrestationDetail = {
|
|
|
2419
2420
|
isCatalog: 0,
|
|
2420
2421
|
hidden: 0,
|
|
2421
2422
|
isComplementary: 0,
|
|
2422
|
-
signaturePosition: '
|
|
2423
|
+
signaturePosition: '400,54,569,90',
|
|
2423
2424
|
signaturePage: 6,
|
|
2424
2425
|
},
|
|
2425
2426
|
COMPTA_SCI_EXPRESS: {
|
|
@@ -2435,7 +2436,7 @@ export const PrestationDetail = {
|
|
|
2435
2436
|
isCatalog: 0,
|
|
2436
2437
|
hidden: 0,
|
|
2437
2438
|
isComplementary: 0,
|
|
2438
|
-
signaturePosition: '
|
|
2439
|
+
signaturePosition: '400,54,569,90',
|
|
2439
2440
|
signaturePage: 6,
|
|
2440
2441
|
},
|
|
2441
2442
|
BILAN_PREVISIONNEL: {
|
|
@@ -2451,7 +2452,7 @@ export const PrestationDetail = {
|
|
|
2451
2452
|
isCatalog: 1,
|
|
2452
2453
|
hidden: 0,
|
|
2453
2454
|
isComplementary: 0,
|
|
2454
|
-
signaturePosition: '
|
|
2455
|
+
signaturePosition: '400,54,569,90',
|
|
2455
2456
|
signaturePage: 5,
|
|
2456
2457
|
},
|
|
2457
2458
|
ATTESTATION_1: {
|
|
@@ -2531,7 +2532,7 @@ export const PrestationDetail = {
|
|
|
2531
2532
|
isCatalog: 0,
|
|
2532
2533
|
hidden: 0,
|
|
2533
2534
|
isComplementary: 0,
|
|
2534
|
-
signaturePosition: '
|
|
2535
|
+
signaturePosition: '400,54,569,90',
|
|
2535
2536
|
signaturePage: 7,
|
|
2536
2537
|
},
|
|
2537
2538
|
COMPTA_STARTER_ENTREPRISE: {
|
|
@@ -2547,7 +2548,7 @@ export const PrestationDetail = {
|
|
|
2547
2548
|
isCatalog: 0,
|
|
2548
2549
|
hidden: 0,
|
|
2549
2550
|
isComplementary: 0,
|
|
2550
|
-
signaturePosition: '
|
|
2551
|
+
signaturePosition: '400,54,569,90',
|
|
2551
2552
|
signaturePage: 7,
|
|
2552
2553
|
},
|
|
2553
2554
|
ABO_STRIPE: {
|
|
@@ -2579,7 +2580,7 @@ export const PrestationDetail = {
|
|
|
2579
2580
|
isCatalog: 0,
|
|
2580
2581
|
hidden: 0,
|
|
2581
2582
|
isComplementary: 0,
|
|
2582
|
-
signaturePosition: '
|
|
2583
|
+
signaturePosition: '400,54,569,90',
|
|
2583
2584
|
signaturePage: 7,
|
|
2584
2585
|
},
|
|
2585
2586
|
COMPTA_PRO_COMPTASTART: {
|
|
@@ -2595,7 +2596,7 @@ export const PrestationDetail = {
|
|
|
2595
2596
|
isCatalog: 0,
|
|
2596
2597
|
hidden: 0,
|
|
2597
2598
|
isComplementary: 0,
|
|
2598
|
-
signaturePosition: '
|
|
2599
|
+
signaturePosition: '400,54,569,90',
|
|
2599
2600
|
signaturePage: 5,
|
|
2600
2601
|
},
|
|
2601
2602
|
COMPTA_PRO_COMPTASTART_EXPRESS: {
|
|
@@ -2611,7 +2612,7 @@ export const PrestationDetail = {
|
|
|
2611
2612
|
isCatalog: 0,
|
|
2612
2613
|
hidden: 0,
|
|
2613
2614
|
isComplementary: 0,
|
|
2614
|
-
signaturePosition: '
|
|
2615
|
+
signaturePosition: '400,54,569,90',
|
|
2615
2616
|
signaturePage: 5,
|
|
2616
2617
|
},
|
|
2617
2618
|
ATTESTATION_NON_REMUNERATION_RECURRENTE: {
|
|
@@ -2643,7 +2644,7 @@ export const PrestationDetail = {
|
|
|
2643
2644
|
isCatalog: 0,
|
|
2644
2645
|
hidden: 0,
|
|
2645
2646
|
isComplementary: 0,
|
|
2646
|
-
signaturePosition: '
|
|
2647
|
+
signaturePosition: '400,54,569,90',
|
|
2647
2648
|
signaturePage: 7,
|
|
2648
2649
|
},
|
|
2649
2650
|
COMPTA_PREMIUM: {
|
|
@@ -2659,7 +2660,7 @@ export const PrestationDetail = {
|
|
|
2659
2660
|
isCatalog: 0,
|
|
2660
2661
|
hidden: 0,
|
|
2661
2662
|
isComplementary: 0,
|
|
2662
|
-
signaturePosition: '
|
|
2663
|
+
signaturePosition: '400,54,569,90',
|
|
2663
2664
|
signaturePage: 7,
|
|
2664
2665
|
},
|
|
2665
2666
|
COMPTA_BUSINESS: {
|
|
@@ -2675,7 +2676,7 @@ export const PrestationDetail = {
|
|
|
2675
2676
|
isCatalog: 0,
|
|
2676
2677
|
hidden: 0,
|
|
2677
2678
|
isComplementary: 0,
|
|
2678
|
-
signaturePosition: '
|
|
2679
|
+
signaturePosition: '400,54,569,90',
|
|
2679
2680
|
signaturePage: 7,
|
|
2680
2681
|
},
|
|
2681
2682
|
DOCUMENT_DE_SORTIE: {
|
|
@@ -2707,7 +2708,7 @@ export const PrestationDetail = {
|
|
|
2707
2708
|
isCatalog: 0,
|
|
2708
2709
|
hidden: 0,
|
|
2709
2710
|
isComplementary: 0,
|
|
2710
|
-
signaturePosition: '
|
|
2711
|
+
signaturePosition: '400,54,569,90',
|
|
2711
2712
|
signaturePage: 7,
|
|
2712
2713
|
},
|
|
2713
2714
|
DECLARATION_IR: {
|
|
@@ -2739,7 +2740,7 @@ export const PrestationDetail = {
|
|
|
2739
2740
|
isCatalog: 0,
|
|
2740
2741
|
hidden: 0,
|
|
2741
2742
|
isComplementary: 0,
|
|
2742
|
-
signaturePosition: '
|
|
2743
|
+
signaturePosition: '400,54,569,90',
|
|
2743
2744
|
signaturePage: 7,
|
|
2744
2745
|
},
|
|
2745
2746
|
COMPTA_POURCENTAGE_PREMIUM_EXPRESS: {
|
|
@@ -2755,7 +2756,7 @@ export const PrestationDetail = {
|
|
|
2755
2756
|
isCatalog: 0,
|
|
2756
2757
|
hidden: 0,
|
|
2757
2758
|
isComplementary: 0,
|
|
2758
|
-
signaturePosition: '
|
|
2759
|
+
signaturePosition: '400,54,569,90',
|
|
2759
2760
|
signaturePage: 7,
|
|
2760
2761
|
},
|
|
2761
2762
|
ANNONCE_LEGALE: {
|
|
@@ -2771,7 +2772,23 @@ export const PrestationDetail = {
|
|
|
2771
2772
|
isCatalog: 0,
|
|
2772
2773
|
hidden: 0,
|
|
2773
2774
|
isComplementary: 0,
|
|
2774
|
-
signaturePosition: '
|
|
2775
|
+
signaturePosition: '400,54,569,90',
|
|
2775
2776
|
signaturePage: 7,
|
|
2776
2777
|
},
|
|
2778
|
+
FRAIS_DE_GREFFE: {
|
|
2779
|
+
id: 210,
|
|
2780
|
+
name: 'Annonces légales',
|
|
2781
|
+
isComptable: 0,
|
|
2782
|
+
isJuridique: 1,
|
|
2783
|
+
isSocial: 0,
|
|
2784
|
+
isAttestation: 0,
|
|
2785
|
+
inAverageCart: 0,
|
|
2786
|
+
isBack: 0,
|
|
2787
|
+
price: null,
|
|
2788
|
+
isCatalog: 0,
|
|
2789
|
+
hidden: 0,
|
|
2790
|
+
isComplementary: 0,
|
|
2791
|
+
signaturePosition: '',
|
|
2792
|
+
signaturePage: 0,
|
|
2793
|
+
},
|
|
2777
2794
|
};
|
|
@@ -197,4 +197,46 @@ export const TimeCounterType = {
|
|
|
197
197
|
limitedRoles: null,
|
|
198
198
|
color: 'orange-light',
|
|
199
199
|
},
|
|
200
|
+
PHYSIC_UPKEEP: {
|
|
201
|
+
id: 29,
|
|
202
|
+
label: 'Entretien physique',
|
|
203
|
+
aberrantTime: 30,
|
|
204
|
+
limitedRoles: [Role.HUMAN_RESSOURCES],
|
|
205
|
+
color: 'success',
|
|
206
|
+
},
|
|
207
|
+
VISIO_UPKEEP: {
|
|
208
|
+
id: 30,
|
|
209
|
+
label: 'Entretien visio-conférence',
|
|
210
|
+
aberrantTime: 30,
|
|
211
|
+
limitedRoles: [Role.HUMAN_RESSOURCES],
|
|
212
|
+
color: 'success',
|
|
213
|
+
},
|
|
214
|
+
PREQUALIF_TEL: {
|
|
215
|
+
id: 31,
|
|
216
|
+
label: 'Pré-qualification téléphonique',
|
|
217
|
+
aberrantTime: 30,
|
|
218
|
+
limitedRoles: [Role.HUMAN_RESSOURCES],
|
|
219
|
+
color: 'success',
|
|
220
|
+
},
|
|
221
|
+
HUMAN_RESSOURCES_POINT: {
|
|
222
|
+
id: 32,
|
|
223
|
+
label: 'Point RH',
|
|
224
|
+
aberrantTime: 30,
|
|
225
|
+
limitedRoles: [Role.HUMAN_RESSOURCES],
|
|
226
|
+
color: 'cerulean',
|
|
227
|
+
},
|
|
228
|
+
ADMINISTRATIV: {
|
|
229
|
+
id: 33,
|
|
230
|
+
label: 'Administratif',
|
|
231
|
+
aberrantTime: 30,
|
|
232
|
+
limitedRoles: [Role.HUMAN_RESSOURCES],
|
|
233
|
+
color: 'iris',
|
|
234
|
+
},
|
|
235
|
+
INTEGRATION_DAY: {
|
|
236
|
+
id: 34,
|
|
237
|
+
label: 'Journée d’intégration',
|
|
238
|
+
aberrantTime: 30,
|
|
239
|
+
limitedRoles: [Role.HUMAN_RESSOURCES],
|
|
240
|
+
color: 'orange',
|
|
241
|
+
},
|
|
200
242
|
};
|
|
@@ -57,7 +57,7 @@ export class Redactor {
|
|
|
57
57
|
type Tag = 'Valeur' | 'AdresseVille' | 'AdresseVoie' | 'AdresseCodePays' | 'AdresseComplement' | 'AdresseCodePostal' | 'AdresseHameau' | 'Telephone' | 'Designation' | 'DesignationSuite1' | 'DesignationSuite2' | 'Identifiant' | 'TexteLibre1' | 'TexteLibre2' | 'DesignationSuite3' | 'AdresseNumero';
|
|
58
58
|
type Tags = Array<{ description: string; tag: Tag; value: any }>;
|
|
59
59
|
|
|
60
|
-
interface FieldForGeneration {
|
|
60
|
+
export interface FieldForGeneration {
|
|
61
61
|
tag?: Tag;
|
|
62
62
|
tags?: Tags,
|
|
63
63
|
description?: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { CerfaType } from '../../../Enum/CerfaType';
|
|
1
2
|
import { Termination, CerfaAddress } from './ReadCerfa';
|
|
2
3
|
|
|
3
4
|
type BaseAndAmount = {
|
|
@@ -14,6 +15,14 @@ type Tax = {
|
|
|
14
15
|
total: number;
|
|
15
16
|
};
|
|
16
17
|
|
|
18
|
+
type Tax_2023 = {
|
|
19
|
+
normalRate: BaseAndAmount;
|
|
20
|
+
reduceRate: BaseAndAmount;
|
|
21
|
+
addedValue: { amount: number; }
|
|
22
|
+
other: { amount: number; }
|
|
23
|
+
total: number;
|
|
24
|
+
};
|
|
25
|
+
|
|
17
26
|
type Exercice = {
|
|
18
27
|
startDate: string;
|
|
19
28
|
endDate: string;
|
|
@@ -85,6 +94,63 @@ type Debts = {
|
|
|
85
94
|
CSB: { base: number };
|
|
86
95
|
};
|
|
87
96
|
|
|
97
|
+
type Debts_2023 = {
|
|
98
|
+
onCompanyTax: number;
|
|
99
|
+
notOnCompanyTax: number;
|
|
100
|
+
VEL: number;
|
|
101
|
+
PRE: number;
|
|
102
|
+
new: number;
|
|
103
|
+
companyTaxAfterImputation: number;
|
|
104
|
+
reducedTax: {
|
|
105
|
+
inEurope: number;
|
|
106
|
+
amount: number;
|
|
107
|
+
}
|
|
108
|
+
balanceInPreviousExercises: number;
|
|
109
|
+
jobCredit: PreFinancingWithAmount;
|
|
110
|
+
jobCreditForLongExercises: PreFinancingWithAmount;
|
|
111
|
+
jobCreditForPreviousExercises: number;
|
|
112
|
+
corse: number;
|
|
113
|
+
CORInPreviousExercise: number;
|
|
114
|
+
deficit: number;
|
|
115
|
+
RADInPreviousExercise: number;
|
|
116
|
+
CIRcredit: number;
|
|
117
|
+
CIRsolde: number;
|
|
118
|
+
CRCcredit: number;
|
|
119
|
+
CRCsolde: number;
|
|
120
|
+
reportedInLine2B11: number;
|
|
121
|
+
subTotal: number;
|
|
122
|
+
inDepositLimit: number;
|
|
123
|
+
balanceDebtInPreviousExercises: number;
|
|
124
|
+
reducedTaxOuterSea: number;
|
|
125
|
+
balanceInPreviousExercisesOuterSea: number;
|
|
126
|
+
FOR: number;
|
|
127
|
+
RAC: number;
|
|
128
|
+
FAM: number;
|
|
129
|
+
CIN: number;
|
|
130
|
+
BIO: number;
|
|
131
|
+
PHO: number;
|
|
132
|
+
AUD: number;
|
|
133
|
+
ART: number;
|
|
134
|
+
CJV: number;
|
|
135
|
+
CPE: number;
|
|
136
|
+
CCI: number;
|
|
137
|
+
PTR: number;
|
|
138
|
+
CIO: PreFinancingWithAmount;
|
|
139
|
+
COL: PreFinancingWithAmount;
|
|
140
|
+
CSV: number;
|
|
141
|
+
REB: number;
|
|
142
|
+
RTD: number;
|
|
143
|
+
CPG: number;
|
|
144
|
+
HVE: number;
|
|
145
|
+
EOM: number;
|
|
146
|
+
newUnlistedReceivables: number;
|
|
147
|
+
inLine2C22: number;
|
|
148
|
+
subTotal2: number;
|
|
149
|
+
afterImputation: number;
|
|
150
|
+
payment: number;
|
|
151
|
+
taxAmount: number;
|
|
152
|
+
};
|
|
153
|
+
|
|
88
154
|
type SocialContribution = {
|
|
89
155
|
CSB: BaseAndAmount;
|
|
90
156
|
strangers: number;
|
|
@@ -117,6 +183,8 @@ type Summary = {
|
|
|
117
183
|
overageRefundAsked: number;
|
|
118
184
|
};
|
|
119
185
|
|
|
186
|
+
type Summary_2023 = Summary & { temporaryContribution: number; };
|
|
187
|
+
|
|
120
188
|
type Payment = {
|
|
121
189
|
date: number;
|
|
122
190
|
phone: number;
|
|
@@ -135,7 +203,7 @@ type Administration = {
|
|
|
135
203
|
receptionDate: string;
|
|
136
204
|
};
|
|
137
205
|
|
|
138
|
-
export class
|
|
206
|
+
export class Cerfa2572_2022 {
|
|
139
207
|
siren: string;
|
|
140
208
|
exercice: Exercice;
|
|
141
209
|
society: Society;
|
|
@@ -149,6 +217,24 @@ export class Cerfa2572 {
|
|
|
149
217
|
termination: Termination;
|
|
150
218
|
}
|
|
151
219
|
|
|
152
|
-
export
|
|
220
|
+
export class Cerfa2572_2023 {
|
|
221
|
+
siren: string;
|
|
222
|
+
exercice: Exercice;
|
|
223
|
+
society: Society;
|
|
224
|
+
tax: Tax_2023;
|
|
225
|
+
debts: Debts_2023;
|
|
226
|
+
socialContribution: SocialContribution;
|
|
227
|
+
yearlyContribution: YearlyContribution;
|
|
228
|
+
summary: Summary_2023;
|
|
229
|
+
payment: Payment;
|
|
230
|
+
administration?: Administration;
|
|
231
|
+
termination: Termination;
|
|
232
|
+
temporaryContribution: {
|
|
233
|
+
solidarityRange: number;
|
|
234
|
+
solidarityAmount: number;
|
|
235
|
+
};
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
export type Prepare2572Params = { idSociety: number; idExercice: number; values: Cerfa2572_2022 | Cerfa2572_2023, idCerfaType: CerfaType.CERFA_2572_2022 | CerfaType.CERFA_2572_2023 };
|
|
153
239
|
|
|
154
240
|
export class ParamsGenerate2572 {}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export type HookPayload = {
|
|
2
|
+
external_id: number; // Votre id
|
|
3
|
+
parent_external_id: number;// Votre id
|
|
4
|
+
currency: string; // Devise
|
|
5
|
+
date: string; // Date de facture
|
|
6
|
+
supplier: string; // Nom fournisseur
|
|
7
|
+
iban: string; // Iban
|
|
8
|
+
vat_identifier: string; // Identifiant de TVA du fournisseur
|
|
9
|
+
due_date: string; // Date d'échéance
|
|
10
|
+
invoice_number: string; // Numéro de facture
|
|
11
|
+
category: string; // Catégorie selon votre nomenclature
|
|
12
|
+
amount_without_taxes: number; // Montant HT
|
|
13
|
+
original_amount_without_taxes: number; // Montant original HT en devise si devise
|
|
14
|
+
original_total_amount: number; // Montant original TTC en devise si devise
|
|
15
|
+
tax_amount: number; // Total TVA
|
|
16
|
+
total_amount: number; // Total TTC
|
|
17
|
+
error_code: string; // Code erreur sous forme de string
|
|
18
|
+
controlled: boolean; // Passé en contrôle qualité
|
|
19
|
+
page_count: number; // Nombre de pages
|
|
20
|
+
observation: string; // Observation du con
|
|
21
|
+
file_base64: string;// Le document découpé
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
type Document = {
|
|
25
|
+
external_id: number, // L'Id du document chez vous
|
|
26
|
+
file_base64: string, // Le base 64 du document, on peut aussi fonctionner par URL
|
|
27
|
+
document_type: 'purchases' | 'sales' | 'bank', // Le type de doc
|
|
28
|
+
sender: string, // Votre client
|
|
29
|
+
callbackurl: string, // L'URL sur laquelle vous envoyer le callback une fois le traitement fini
|
|
30
|
+
account_numbers?: string[] // Les comptes bancaires à traiter sur le relevé (si bank)
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
export type PayloadIDocus = {
|
|
34
|
+
document: Document
|
|
35
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
2
|
+
|
|
3
|
+
export class QueryInpiBalancePaginated {
|
|
4
|
+
@ApiProperty({
|
|
5
|
+
description: 'limit of element',
|
|
6
|
+
required: true,
|
|
7
|
+
type: Number,
|
|
8
|
+
default: 50,
|
|
9
|
+
example: 50,
|
|
10
|
+
})
|
|
11
|
+
limit: number;
|
|
12
|
+
|
|
13
|
+
@ApiProperty({
|
|
14
|
+
description: 'limit of element',
|
|
15
|
+
required: true,
|
|
16
|
+
type: Number,
|
|
17
|
+
default: 1,
|
|
18
|
+
example: 5,
|
|
19
|
+
})
|
|
20
|
+
page: number;
|
|
21
|
+
|
|
22
|
+
@ApiPropertyOptional({
|
|
23
|
+
description: 'end date of the paginated',
|
|
24
|
+
required: false,
|
|
25
|
+
type: String,
|
|
26
|
+
})
|
|
27
|
+
endDate: string;
|
|
28
|
+
}
|