@silexpert/core 0.4.51 → 0.4.53
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/Cerfa.d.ts +5 -1
- package/es/api/resources/Cerfa.d.ts.map +1 -1
- package/es/api/resources/Cerfa.js +8 -0
- package/es/api/resources/Cerfa.js.map +1 -1
- package/es/api/resources/CustomerProviderOperation.d.ts +6 -0
- package/es/api/resources/CustomerProviderOperation.d.ts.map +1 -0
- package/es/api/resources/CustomerProviderOperation.js +7 -0
- package/es/api/resources/CustomerProviderOperation.js.map +1 -0
- package/es/api/resources/{dashboard.d.ts → Dashboard.d.ts} +2 -2
- package/es/api/resources/{dashboard.d.ts.map → Dashboard.d.ts.map} +1 -1
- package/es/api/resources/{dashboard.js → Dashboard.js} +2 -2
- package/es/api/resources/{dashboard.js.map → Dashboard.js.map} +1 -1
- package/es/api/resources/IncomeAllocation.d.ts +11 -0
- package/es/api/resources/IncomeAllocation.d.ts.map +1 -0
- package/es/api/resources/IncomeAllocation.js +22 -0
- package/es/api/resources/IncomeAllocation.js.map +1 -0
- package/es/api/resources/Step.d.ts +7 -0
- package/es/api/resources/Step.d.ts.map +1 -0
- package/es/api/resources/Step.js +8 -0
- package/es/api/resources/Step.js.map +1 -0
- package/es/api/resources/Transaction.d.ts +3 -1
- package/es/api/resources/Transaction.d.ts.map +1 -1
- package/es/api/resources/Transaction.js +6 -0
- package/es/api/resources/Transaction.js.map +1 -1
- package/es/api/resources.d.ts +7 -1
- package/es/api/resources.d.ts.map +1 -1
- package/es/api/resources.js +7 -1
- package/es/api/resources.js.map +1 -1
- package/es/types/Enum/Account.d.ts +40 -0
- package/es/types/Enum/Account.d.ts.map +1 -1
- package/es/types/Enum/Account.js +40 -0
- package/es/types/Enum/Account.js.map +1 -1
- package/es/types/Enum/Ged.d.ts +3 -1
- package/es/types/Enum/Ged.d.ts.map +1 -1
- package/es/types/Enum/Ged.js +2 -2
- package/es/types/Enum/Ged.js.map +1 -1
- package/es/types/Enum/Quality.d.ts +14 -0
- package/es/types/Enum/Quality.d.ts.map +1 -0
- package/es/types/Enum/Quality.js +15 -0
- package/es/types/Enum/Quality.js.map +1 -0
- package/es/types/Enum/TypeCustomerProviderOperation.d.ts +9 -0
- package/es/types/Enum/TypeCustomerProviderOperation.d.ts.map +1 -0
- package/es/types/Enum/TypeCustomerProviderOperation.js +10 -0
- package/es/types/Enum/TypeCustomerProviderOperation.js.map +1 -0
- package/es/types/Enum/TypeIncomeAllocation.d.ts +6 -0
- package/es/types/Enum/TypeIncomeAllocation.d.ts.map +1 -0
- package/es/types/Enum/TypeIncomeAllocation.js +7 -0
- package/es/types/Enum/TypeIncomeAllocation.js.map +1 -0
- package/es/types/Interface/api/accountingTransaction/QueryTransaction.d.ts +5 -0
- package/es/types/Interface/api/accountingTransaction/QueryTransaction.d.ts.map +1 -1
- package/es/types/Interface/api/accountingTransaction/QueryTransaction.js +11 -0
- package/es/types/Interface/api/accountingTransaction/QueryTransaction.js.map +1 -1
- package/es/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.d.ts +9 -3
- package/es/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.d.ts.map +1 -1
- package/es/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js +24 -0
- package/es/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js.map +1 -1
- package/es/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.d.ts +9 -3
- package/es/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.d.ts.map +1 -1
- package/es/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js +24 -0
- package/es/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js.map +1 -1
- package/es/types/Interface/api/bankAccount/DeleteTransaction.d.ts +3 -0
- package/es/types/Interface/api/bankAccount/DeleteTransaction.d.ts.map +1 -1
- package/es/types/Interface/api/bankAccount/DeleteTransaction.js +6 -0
- package/es/types/Interface/api/bankAccount/DeleteTransaction.js.map +1 -1
- package/es/types/Interface/api/cerfa/CreateCerfa.d.ts +192 -0
- package/es/types/Interface/api/cerfa/CreateCerfa.d.ts.map +1 -1
- package/es/types/Interface/api/cerfa/CreateCerfa.js +239 -1
- package/es/types/Interface/api/cerfa/CreateCerfa.js.map +1 -1
- package/es/types/Interface/api/customerProviderOperation/CreateCustomerProviderOperation.d.ts +11 -0
- package/es/types/Interface/api/customerProviderOperation/CreateCustomerProviderOperation.d.ts.map +1 -0
- package/es/types/Interface/api/customerProviderOperation/CreateCustomerProviderOperation.js +38 -0
- package/es/types/Interface/api/customerProviderOperation/CreateCustomerProviderOperation.js.map +1 -0
- package/es/types/Interface/api/dashboard/ReadTopBuys.d.ts +3 -0
- package/es/types/Interface/api/dashboard/ReadTopBuys.d.ts.map +1 -1
- package/es/types/Interface/api/dashboard/ReadTopBuys.js.map +1 -1
- package/es/types/Interface/api/dashboard/ReadTopProviders.d.ts +4 -1
- package/es/types/Interface/api/dashboard/ReadTopProviders.d.ts.map +1 -1
- package/es/types/Interface/api/dashboard/ReadTopProviders.js.map +1 -1
- package/es/types/Interface/api/incomeAllocation/CreateIncomeAllocation.d.ts +16 -0
- package/es/types/Interface/api/incomeAllocation/CreateIncomeAllocation.d.ts.map +1 -0
- package/es/types/Interface/api/incomeAllocation/CreateIncomeAllocation.js +65 -0
- package/es/types/Interface/api/incomeAllocation/CreateIncomeAllocation.js.map +1 -0
- package/es/types/Interface/api/incomeAllocation/ReadIncomeAllocation.d.ts +19 -0
- package/es/types/Interface/api/incomeAllocation/ReadIncomeAllocation.d.ts.map +1 -0
- package/es/types/Interface/api/incomeAllocation/ReadIncomeAllocation.js +2 -0
- package/es/types/Interface/api/incomeAllocation/ReadIncomeAllocation.js.map +1 -0
- package/es/types/Interface/api/incomeAllocation/TypeAndAmount.d.ts +6 -0
- package/es/types/Interface/api/incomeAllocation/TypeAndAmount.d.ts.map +1 -0
- package/es/types/Interface/api/incomeAllocation/TypeAndAmount.js +2 -0
- package/es/types/Interface/api/incomeAllocation/TypeAndAmount.js.map +1 -0
- package/es/types/Interface/api/loan/CreateLoan.js +2 -2
- package/es/types/Interface/api/loan/CreateLoan.js.map +1 -1
- 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/IBalanceSheetModule.d.ts +6 -0
- package/es/types/Interface/models/IBalanceSheetModule.d.ts.map +1 -1
- package/es/types/Interface/models/IBalanceSheetModule.js.map +1 -1
- package/es/types/index.d.ts +7 -1
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +7 -1
- package/es/types/index.js.map +1 -1
- package/js/api/resources/Cerfa.js +9 -0
- package/js/api/resources/Cerfa.js.map +1 -1
- package/js/api/resources/CustomerProviderOperation.js +18 -0
- package/js/api/resources/CustomerProviderOperation.js.map +1 -0
- package/js/api/resources/{dashboard.js → Dashboard.js} +2 -2
- package/js/api/resources/{dashboard.js.map → Dashboard.js.map} +1 -1
- package/js/api/resources/IncomeAllocation.js +38 -0
- package/js/api/resources/IncomeAllocation.js.map +1 -0
- package/js/api/resources/Step.js +20 -0
- package/js/api/resources/Step.js.map +1 -0
- package/js/api/resources/Transaction.js +10 -0
- package/js/api/resources/Transaction.js.map +1 -1
- package/js/api/resources.js +12 -3
- package/js/api/resources.js.map +1 -1
- package/js/types/Enum/Account.js +40 -0
- package/js/types/Enum/Account.js.map +1 -1
- package/js/types/Enum/Ged.js +4 -4
- package/js/types/Enum/Ged.js.map +1 -1
- package/js/types/Enum/Quality.js +21 -0
- package/js/types/Enum/Quality.js.map +1 -0
- package/js/types/Enum/TypeCustomerProviderOperation.js +16 -0
- package/js/types/Enum/TypeCustomerProviderOperation.js.map +1 -0
- package/js/types/Enum/TypeIncomeAllocation.js +13 -0
- package/js/types/Enum/TypeIncomeAllocation.js.map +1 -0
- package/js/types/Interface/api/accountingTransaction/QueryTransaction.js +11 -1
- package/js/types/Interface/api/accountingTransaction/QueryTransaction.js.map +1 -1
- package/js/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js +12 -0
- package/js/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js.map +1 -1
- package/js/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js +12 -0
- package/js/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js.map +1 -1
- package/js/types/Interface/api/bankAccount/DeleteTransaction.js +7 -1
- package/js/types/Interface/api/bankAccount/DeleteTransaction.js.map +1 -1
- package/js/types/Interface/api/cerfa/CreateCerfa.js +146 -2
- package/js/types/Interface/api/cerfa/CreateCerfa.js.map +1 -1
- package/js/types/Interface/api/customerProviderOperation/CreateCustomerProviderOperation.js +45 -0
- package/js/types/Interface/api/customerProviderOperation/CreateCustomerProviderOperation.js.map +1 -0
- package/js/types/Interface/api/dashboard/ReadTopBuys.js.map +1 -1
- package/js/types/Interface/api/dashboard/ReadTopProviders.js.map +1 -1
- package/js/types/Interface/api/incomeAllocation/CreateIncomeAllocation.js +51 -0
- package/js/types/Interface/api/incomeAllocation/CreateIncomeAllocation.js.map +1 -0
- package/js/types/Interface/api/incomeAllocation/ReadIncomeAllocation.js +6 -0
- package/js/types/Interface/api/incomeAllocation/ReadIncomeAllocation.js.map +1 -0
- package/js/types/Interface/api/incomeAllocation/TypeAndAmount.js +6 -0
- package/js/types/Interface/api/incomeAllocation/TypeAndAmount.js.map +1 -0
- package/js/types/Interface/api/loan/CreateLoan.js +6 -2
- package/js/types/Interface/api/loan/CreateLoan.js.map +1 -1
- package/js/types/Interface/models/IApiError.js +2 -1
- package/js/types/Interface/models/IApiError.js.map +1 -1
- package/js/types/index.js +75 -3
- package/js/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Cerfa.ts +9 -1
- package/ts/api/resources/CustomerProviderOperation.ts +8 -0
- package/ts/api/resources/{dashboard.ts → Dashboard.ts} +1 -1
- package/ts/api/resources/IncomeAllocation.ts +30 -0
- package/ts/api/resources/Step.ts +11 -0
- package/ts/api/resources/Transaction.ts +7 -1
- package/ts/api/resources.ts +7 -1
- package/ts/types/Enum/Account.ts +40 -0
- package/ts/types/Enum/Ged.ts +8 -8
- package/ts/types/Enum/Quality.ts +13 -0
- package/ts/types/Enum/TypeCustomerProviderOperation.ts +8 -0
- package/ts/types/Enum/TypeIncomeAllocation.ts +5 -0
- package/ts/types/Interface/api/accountingTransaction/QueryTransaction.ts +9 -0
- package/ts/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.ts +21 -3
- package/ts/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.ts +21 -3
- package/ts/types/Interface/api/bankAccount/DeleteTransaction.ts +5 -0
- package/ts/types/Interface/api/cerfa/CreateCerfa.ts +299 -2
- package/ts/types/Interface/api/customerProviderOperation/CreateCustomerProviderOperation.ts +23 -0
- package/ts/types/Interface/api/dashboard/ReadTopBuys.ts +3 -0
- package/ts/types/Interface/api/dashboard/ReadTopProviders.ts +5 -2
- package/ts/types/Interface/api/incomeAllocation/CreateIncomeAllocation.ts +42 -0
- package/ts/types/Interface/api/incomeAllocation/ReadIncomeAllocation.ts +19 -0
- package/ts/types/Interface/api/incomeAllocation/TypeAndAmount.ts +6 -0
- package/ts/types/Interface/api/loan/CreateLoan.ts +2 -2
- package/ts/types/Interface/models/IApiError.ts +1 -0
- package/ts/types/Interface/models/IBalanceSheetModule.ts +6 -0
- package/ts/types/index.ts +7 -1
- package/es/types/Enum/Society.d.ts +0 -9
- package/es/types/Enum/Society.d.ts.map +0 -1
- package/es/types/Enum/Society.js +0 -10
- package/es/types/Enum/Society.js.map +0 -1
- package/js/types/Enum/Society.js +0 -16
- package/js/types/Enum/Society.js.map +0 -1
- package/ts/types/Enum/Society.ts +0 -8
package/ts/types/Enum/Ged.ts
CHANGED
|
@@ -23,7 +23,7 @@ export enum GedFolder {
|
|
|
23
23
|
// URSSAF & Pôle-Emploi = 16,
|
|
24
24
|
// Pay slips = 17,
|
|
25
25
|
// TNS = 18,
|
|
26
|
-
//
|
|
26
|
+
AGM = 19, // Annual General Meeting, PV d'AG
|
|
27
27
|
// Contracts & Leases = 20,
|
|
28
28
|
// Insurance = 22,
|
|
29
29
|
// Cabinet invoices = 23,
|
|
@@ -50,13 +50,13 @@ export enum GedFileType {
|
|
|
50
50
|
STATUTES = 1,
|
|
51
51
|
// 2,'Carte d\'identité'
|
|
52
52
|
KBIS = 3,
|
|
53
|
-
// 4,'RIB'
|
|
54
|
-
// 5,'Mémento Fiscal'
|
|
55
|
-
// 6,'SEPA'
|
|
56
|
-
// 7,'Plaquette'
|
|
57
|
-
// 8,'M0'
|
|
58
|
-
// 9,'Dbe'
|
|
59
|
-
|
|
53
|
+
// 4,'RIB'
|
|
54
|
+
// 5,'Mémento Fiscal'
|
|
55
|
+
// 6,'SEPA'
|
|
56
|
+
// 7,'Plaquette'
|
|
57
|
+
// 8,'M0'
|
|
58
|
+
// 9,'Dbe'
|
|
59
|
+
OTHER = 10,
|
|
60
60
|
// 11,'Inscription au répertoire SIRENE / Répertoire des métiers'
|
|
61
61
|
// 12,'Déclaration du patrimoine affectée'
|
|
62
62
|
// 13,'Déclaration des bénéficiaires effectifs'
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
2
|
+
import { TypeCustomerProviderOperation } from '../../../Enum/TypeCustomerProviderOperation';
|
|
2
3
|
|
|
3
4
|
export class QueryTransaction {
|
|
4
5
|
id: number;
|
|
@@ -43,3 +44,11 @@ export class QueryTransaction {
|
|
|
43
44
|
@ApiPropertyOptional()
|
|
44
45
|
invoiceRequested?: boolean;
|
|
45
46
|
}
|
|
47
|
+
|
|
48
|
+
export class QueryGetAllTransactions {
|
|
49
|
+
@ApiPropertyOptional()
|
|
50
|
+
typeOperation?: TypeCustomerProviderOperation;
|
|
51
|
+
|
|
52
|
+
@ApiPropertyOptional()
|
|
53
|
+
dateValue?: Date;
|
|
54
|
+
}
|
|
@@ -2,16 +2,34 @@ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
|
2
2
|
|
|
3
3
|
export class CreateBalanceSheetModuleForm {
|
|
4
4
|
@ApiPropertyOptional()
|
|
5
|
-
inventory
|
|
5
|
+
inventory?: boolean;
|
|
6
6
|
|
|
7
7
|
@ApiPropertyOptional()
|
|
8
|
-
loanToDeclare
|
|
8
|
+
loanToDeclare?: boolean;
|
|
9
9
|
|
|
10
10
|
// @ApiPropertyOptional()
|
|
11
11
|
// deadlinerecoveryImmobilization: boolean;
|
|
12
12
|
|
|
13
13
|
@ApiPropertyOptional()
|
|
14
|
-
salariesFile
|
|
14
|
+
salariesFile?: boolean;
|
|
15
|
+
|
|
16
|
+
@ApiPropertyOptional()
|
|
17
|
+
hasCustomerInvoiceToEstablish?: boolean | null;
|
|
18
|
+
|
|
19
|
+
@ApiPropertyOptional()
|
|
20
|
+
hasCustomerAssetToEstablish?: boolean | null;
|
|
21
|
+
|
|
22
|
+
@ApiPropertyOptional()
|
|
23
|
+
hasCustomerPrepaidIncome?: boolean | null;
|
|
24
|
+
|
|
25
|
+
@ApiPropertyOptional()
|
|
26
|
+
hasProviderPrepaidReceived?: boolean | null;
|
|
27
|
+
|
|
28
|
+
@ApiPropertyOptional()
|
|
29
|
+
hasProviderAssetToReceived?: boolean | null;
|
|
30
|
+
|
|
31
|
+
@ApiPropertyOptional()
|
|
32
|
+
hasProviderInvoiceNotReceived?: boolean | null;
|
|
15
33
|
|
|
16
34
|
@ApiProperty()
|
|
17
35
|
idExercice: number;
|
|
@@ -5,14 +5,32 @@ export class UpdateBalanceSheetModuleForm {
|
|
|
5
5
|
inventory: boolean;
|
|
6
6
|
|
|
7
7
|
@ApiPropertyOptional()
|
|
8
|
-
loanToDeclare
|
|
8
|
+
loanToDeclare?: boolean;
|
|
9
9
|
|
|
10
10
|
// @ApiPropertyOptional()
|
|
11
11
|
// deadlinerecoveryImmobilization: boolean;
|
|
12
12
|
|
|
13
13
|
@ApiPropertyOptional()
|
|
14
|
-
|
|
14
|
+
hasCustomerInvoiceToEstablish?: boolean | null;
|
|
15
15
|
|
|
16
16
|
@ApiPropertyOptional()
|
|
17
|
-
|
|
17
|
+
hasCustomerAssetToEstablish?: boolean | null;
|
|
18
|
+
|
|
19
|
+
@ApiPropertyOptional()
|
|
20
|
+
hasCustomerPrepaidIncome?: boolean | null;
|
|
21
|
+
|
|
22
|
+
@ApiPropertyOptional()
|
|
23
|
+
hasProviderPrepaidReceived?: boolean | null;
|
|
24
|
+
|
|
25
|
+
@ApiPropertyOptional()
|
|
26
|
+
hasProviderAssetToReceived?: boolean | null;
|
|
27
|
+
|
|
28
|
+
@ApiPropertyOptional()
|
|
29
|
+
hasProviderInvoiceNotReceived?: boolean | null;
|
|
30
|
+
|
|
31
|
+
@ApiPropertyOptional()
|
|
32
|
+
salariesFile?: boolean;
|
|
33
|
+
|
|
34
|
+
@ApiPropertyOptional()
|
|
35
|
+
idExercice?: number;
|
|
18
36
|
}
|
|
@@ -21,4 +21,9 @@ export class DeleteTransactions {
|
|
|
21
21
|
|
|
22
22
|
@ApiPropertyOptional({ description: 'Deleting the bank account. Warning ! this delete also the transactions of the specified bank account' })
|
|
23
23
|
deleteBankAccount?: boolean;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export class DeleteSocietyTransactions {
|
|
27
|
+
@ApiProperty()
|
|
28
|
+
id: number | number[];
|
|
24
29
|
}
|
|
@@ -273,7 +273,7 @@ export interface Cerfa2035 {
|
|
|
273
273
|
}
|
|
274
274
|
|
|
275
275
|
export class ParamsGenerate2035 {
|
|
276
|
-
@
|
|
276
|
+
@ApiPropertyOptional()
|
|
277
277
|
isTest?: boolean; // Modifie le chemin du PDF
|
|
278
278
|
|
|
279
279
|
@ApiProperty()
|
|
@@ -1070,4 +1070,301 @@ export class ParamsGenerate2033 {
|
|
|
1070
1070
|
|
|
1071
1071
|
@ApiPropertyOptional()
|
|
1072
1072
|
deductionsDiverseTotal?: number;
|
|
1073
|
-
}
|
|
1073
|
+
}
|
|
1074
|
+
|
|
1075
|
+
export class Cerfa2065Society {
|
|
1076
|
+
name: string;
|
|
1077
|
+
addressFormatted: string;
|
|
1078
|
+
siret: string;
|
|
1079
|
+
email: string;
|
|
1080
|
+
oldAddress: string | null;
|
|
1081
|
+
}
|
|
1082
|
+
|
|
1083
|
+
export class Cerfa2065Remunerations {
|
|
1084
|
+
name: string;
|
|
1085
|
+
sharesHeld: number;
|
|
1086
|
+
year: string;
|
|
1087
|
+
amount: number;
|
|
1088
|
+
indemnities: number;
|
|
1089
|
+
refund: number;
|
|
1090
|
+
indemnities2: number;
|
|
1091
|
+
refunds2: number;
|
|
1092
|
+
}
|
|
1093
|
+
export interface Cerfa2065 {
|
|
1094
|
+
society: Cerfa2065Society;
|
|
1095
|
+
period: {
|
|
1096
|
+
startDate: Date,
|
|
1097
|
+
endDate: Date,
|
|
1098
|
+
};
|
|
1099
|
+
isSimplifiedRegime: boolean;
|
|
1100
|
+
isDeclarationForGroup: boolean;
|
|
1101
|
+
isRealRegime: boolean;
|
|
1102
|
+
isPME: boolean;
|
|
1103
|
+
fillialeText: string | null;
|
|
1104
|
+
isTonnageOption: boolean;
|
|
1105
|
+
headOffice: { addressFormatted: string; }
|
|
1106
|
+
incomeDate: Date | null;
|
|
1107
|
+
siret: string | null;
|
|
1108
|
+
activity: string;
|
|
1109
|
+
hasActivityChanged: boolean;
|
|
1110
|
+
benefit31: number;
|
|
1111
|
+
benefit28: number;
|
|
1112
|
+
deficit: number;
|
|
1113
|
+
benefit15: number;
|
|
1114
|
+
resultNet: number;
|
|
1115
|
+
addedValues15: number;
|
|
1116
|
+
addedValues19: number;
|
|
1117
|
+
exoneration: number;
|
|
1118
|
+
otherAddedValues19: number;
|
|
1119
|
+
otherAddedValues0: number;
|
|
1120
|
+
isNewBusinessSexies: boolean;
|
|
1121
|
+
isYoungBusiness: boolean;
|
|
1122
|
+
isNewBusinessSepties: boolean;
|
|
1123
|
+
isActivityZone: boolean;
|
|
1124
|
+
isRestructuration: boolean;
|
|
1125
|
+
isUrbanToDynamise: boolean;
|
|
1126
|
+
isUrban: boolean;
|
|
1127
|
+
isOther: boolean;
|
|
1128
|
+
isPriorityZone: boolean;
|
|
1129
|
+
isInvestmentBusiness: boolean;
|
|
1130
|
+
benefitOrDeficit: string;
|
|
1131
|
+
exoneration15: number;
|
|
1132
|
+
isImpositionDOMTOM: number;
|
|
1133
|
+
furnitureIncome: number;
|
|
1134
|
+
icomeOther: number;
|
|
1135
|
+
income2Dot5: number;
|
|
1136
|
+
isSocietyHead: boolean;
|
|
1137
|
+
otherSocietyHead: { name: string; number: string };
|
|
1138
|
+
isSocietyDesigned: boolean;
|
|
1139
|
+
societyHead: { name: string; number: string };
|
|
1140
|
+
hasAccountancyComputerized: boolean;
|
|
1141
|
+
hasNotAccountancyComputerized: boolean;
|
|
1142
|
+
accountancyComputerizedName: string;
|
|
1143
|
+
accountant: {
|
|
1144
|
+
name: string;
|
|
1145
|
+
phone: string;
|
|
1146
|
+
};
|
|
1147
|
+
hasOGA: boolean;
|
|
1148
|
+
hasViewer: boolean;
|
|
1149
|
+
OGA: { name: string; number: string };
|
|
1150
|
+
ecf: boolean;
|
|
1151
|
+
ecfName: string;
|
|
1152
|
+
council: {
|
|
1153
|
+
name: string;
|
|
1154
|
+
phone: string;
|
|
1155
|
+
};
|
|
1156
|
+
declarer: {
|
|
1157
|
+
date: string;
|
|
1158
|
+
place: string;
|
|
1159
|
+
name: string;
|
|
1160
|
+
}
|
|
1161
|
+
distributionAmount: { bySociety: number; byEstablishment: number };
|
|
1162
|
+
remuneration: number;
|
|
1163
|
+
advances: number;
|
|
1164
|
+
other1: number;
|
|
1165
|
+
other2: number;
|
|
1166
|
+
other3: number;
|
|
1167
|
+
other4: number;
|
|
1168
|
+
elligible: number;
|
|
1169
|
+
noElligible: number;
|
|
1170
|
+
amountRemunerations: number;
|
|
1171
|
+
remunerations: Cerfa2065Remunerations[],
|
|
1172
|
+
diverse: {
|
|
1173
|
+
name: string;
|
|
1174
|
+
address: string;
|
|
1175
|
+
otherAddress: string;
|
|
1176
|
+
}
|
|
1177
|
+
simplified: {
|
|
1178
|
+
amount: number;
|
|
1179
|
+
retrocessions: number;
|
|
1180
|
+
remainingExerciceStart: number;
|
|
1181
|
+
imputed: number;
|
|
1182
|
+
realized: number;
|
|
1183
|
+
remaining: number;
|
|
1184
|
+
}
|
|
1185
|
+
}
|
|
1186
|
+
|
|
1187
|
+
export type BusinessPartnersValue = {
|
|
1188
|
+
idBusinessPartner: number,
|
|
1189
|
+
amount: number;
|
|
1190
|
+
indemnities: number;
|
|
1191
|
+
refund: number;
|
|
1192
|
+
indemnities2: number;
|
|
1193
|
+
refunds2: number;
|
|
1194
|
+
};
|
|
1195
|
+
|
|
1196
|
+
export class ParamsGenerate2065 {
|
|
1197
|
+
@ApiPropertyOptional({ description: 'Modifie le chemin du PDF' })
|
|
1198
|
+
isTest?: boolean;
|
|
1199
|
+
|
|
1200
|
+
@ApiProperty({ description: 'Adresse du siège social' })
|
|
1201
|
+
headOfficeAddress: string | null;
|
|
1202
|
+
|
|
1203
|
+
@ApiProperty({ description: 'Adresse du principal établissement' })
|
|
1204
|
+
principalEstablishmentAddress: string | null;
|
|
1205
|
+
|
|
1206
|
+
@ApiProperty({ description: 'Ancienne adresse en cas de changement:' })
|
|
1207
|
+
oldAddress: string | null;
|
|
1208
|
+
|
|
1209
|
+
@ApiProperty({})
|
|
1210
|
+
hasChangedActivity: boolean | null;
|
|
1211
|
+
|
|
1212
|
+
@ApiProperty({ description: 'Recettes nettes soumises à la contribution de 2,5%' })
|
|
1213
|
+
income2Dot5: number | null;
|
|
1214
|
+
|
|
1215
|
+
@ApiProperty()
|
|
1216
|
+
addedValues15: number | null;
|
|
1217
|
+
|
|
1218
|
+
@ApiProperty()
|
|
1219
|
+
addedValues19: number | null;
|
|
1220
|
+
|
|
1221
|
+
@ApiProperty({ description: 'PV exonérées (art. 238 quindecies)' })
|
|
1222
|
+
exoneration: number | null;
|
|
1223
|
+
|
|
1224
|
+
@ApiProperty()
|
|
1225
|
+
otherAddedValues19: number | null;
|
|
1226
|
+
|
|
1227
|
+
@ApiProperty()
|
|
1228
|
+
otherAddedValues0: number | null;
|
|
1229
|
+
|
|
1230
|
+
@ApiProperty({ description: 'Entreprise nouvelle, art. 44 sexies' })
|
|
1231
|
+
isNewBusinessSexies: boolean | null;
|
|
1232
|
+
|
|
1233
|
+
@ApiProperty()
|
|
1234
|
+
isYoungBusiness: boolean | null;
|
|
1235
|
+
|
|
1236
|
+
@ApiProperty()
|
|
1237
|
+
isNewBusinessSepties: boolean | null;
|
|
1238
|
+
|
|
1239
|
+
@ApiProperty()
|
|
1240
|
+
isActivityZone: boolean | null;
|
|
1241
|
+
|
|
1242
|
+
@ApiProperty()
|
|
1243
|
+
isRestructuration: boolean | null;
|
|
1244
|
+
|
|
1245
|
+
@ApiProperty()
|
|
1246
|
+
isUrbanToDynamise: boolean | null;
|
|
1247
|
+
|
|
1248
|
+
@ApiProperty()
|
|
1249
|
+
isUrban: boolean | null;
|
|
1250
|
+
|
|
1251
|
+
@ApiProperty()
|
|
1252
|
+
isOther: boolean | null;
|
|
1253
|
+
|
|
1254
|
+
@ApiProperty()
|
|
1255
|
+
isPriorityZone: boolean | null;
|
|
1256
|
+
|
|
1257
|
+
@ApiProperty()
|
|
1258
|
+
isInvestmentBusiness: boolean | null;
|
|
1259
|
+
|
|
1260
|
+
@ApiProperty()
|
|
1261
|
+
benefitOrDeficit: string | null;
|
|
1262
|
+
|
|
1263
|
+
@ApiProperty()
|
|
1264
|
+
exoneration15: number | null;
|
|
1265
|
+
|
|
1266
|
+
@ApiProperty()
|
|
1267
|
+
isImpositionDOMTOM: number | null;
|
|
1268
|
+
|
|
1269
|
+
@ApiProperty()
|
|
1270
|
+
furnitureIncome: number | null;
|
|
1271
|
+
|
|
1272
|
+
@ApiProperty()
|
|
1273
|
+
icomeOther: number | null;
|
|
1274
|
+
|
|
1275
|
+
@ApiProperty()
|
|
1276
|
+
isSocietyHead: boolean | null;
|
|
1277
|
+
|
|
1278
|
+
@ApiProperty()
|
|
1279
|
+
otherSocietyHeadName: string | null;
|
|
1280
|
+
|
|
1281
|
+
@ApiProperty()
|
|
1282
|
+
otherSocietyHeadNumber: string | null;
|
|
1283
|
+
|
|
1284
|
+
@ApiProperty()
|
|
1285
|
+
isSocietyDesigned: boolean | null;
|
|
1286
|
+
|
|
1287
|
+
@ApiProperty()
|
|
1288
|
+
societyHeadName: string | null;
|
|
1289
|
+
|
|
1290
|
+
@ApiProperty()
|
|
1291
|
+
societyHeadNumber: string | null;
|
|
1292
|
+
|
|
1293
|
+
@ApiProperty()
|
|
1294
|
+
hasAccountancyComputerized: boolean | null;
|
|
1295
|
+
|
|
1296
|
+
@ApiProperty()
|
|
1297
|
+
hasNotAccountancyComputerized: boolean | null;
|
|
1298
|
+
|
|
1299
|
+
@ApiProperty()
|
|
1300
|
+
accountancyComputerizedName: string | null;
|
|
1301
|
+
|
|
1302
|
+
@ApiProperty()
|
|
1303
|
+
distributionAmountBySociety: number | null;
|
|
1304
|
+
|
|
1305
|
+
@ApiProperty()
|
|
1306
|
+
distributionAmountByEstablishment: number| null;
|
|
1307
|
+
|
|
1308
|
+
@ApiProperty()
|
|
1309
|
+
remuneration: number | null;
|
|
1310
|
+
|
|
1311
|
+
@ApiProperty()
|
|
1312
|
+
advances: number | null;
|
|
1313
|
+
|
|
1314
|
+
@ApiProperty()
|
|
1315
|
+
other1: number | null;
|
|
1316
|
+
|
|
1317
|
+
@ApiProperty()
|
|
1318
|
+
other2: number | null;
|
|
1319
|
+
|
|
1320
|
+
@ApiProperty()
|
|
1321
|
+
other3: number | null;
|
|
1322
|
+
|
|
1323
|
+
@ApiProperty()
|
|
1324
|
+
other4: number | null;
|
|
1325
|
+
|
|
1326
|
+
@ApiProperty()
|
|
1327
|
+
elligible: number | null;
|
|
1328
|
+
|
|
1329
|
+
@ApiProperty()
|
|
1330
|
+
noElligible: number | null;
|
|
1331
|
+
|
|
1332
|
+
@ApiProperty()
|
|
1333
|
+
amountRemunerations: number | null;
|
|
1334
|
+
|
|
1335
|
+
@ApiProperty({ description: 'RÉMUNÉRATIONS NETTES VERSÉES AUX MEMBRES DE CERTAINES SOCIÉTÉS' })
|
|
1336
|
+
businessPartnersValues: BusinessPartnersValue[];
|
|
1337
|
+
|
|
1338
|
+
@ApiProperty()
|
|
1339
|
+
diverseName: string;
|
|
1340
|
+
|
|
1341
|
+
@ApiProperty()
|
|
1342
|
+
diverseAddress: string;
|
|
1343
|
+
|
|
1344
|
+
@ApiProperty()
|
|
1345
|
+
diverseOtherAddress: string;
|
|
1346
|
+
|
|
1347
|
+
@ApiProperty()
|
|
1348
|
+
simplifiedAmount: number;
|
|
1349
|
+
|
|
1350
|
+
@ApiProperty()
|
|
1351
|
+
simplifiedRetrocessions: number;
|
|
1352
|
+
|
|
1353
|
+
@ApiProperty()
|
|
1354
|
+
simplifiedRemainingExerciceStart: number;
|
|
1355
|
+
|
|
1356
|
+
@ApiProperty()
|
|
1357
|
+
simplifiedImputed: number;
|
|
1358
|
+
|
|
1359
|
+
@ApiProperty()
|
|
1360
|
+
simplifiedRealized: number;
|
|
1361
|
+
|
|
1362
|
+
@ApiProperty()
|
|
1363
|
+
simplifiedRemaining: number;
|
|
1364
|
+
|
|
1365
|
+
@ApiProperty()
|
|
1366
|
+
hasReduceRate: boolean;
|
|
1367
|
+
|
|
1368
|
+
@ApiProperty()
|
|
1369
|
+
hasViewer: boolean;
|
|
1370
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
2
|
+
import { TypeCustomerProviderOperation } from '../../../Enum/TypeCustomerProviderOperation';
|
|
3
|
+
import { Vat } from '../../../Enum/Vat';
|
|
4
|
+
|
|
5
|
+
export class CreateCustomerProviderOperation {
|
|
6
|
+
@ApiProperty()
|
|
7
|
+
typeOperation: TypeCustomerProviderOperation;
|
|
8
|
+
|
|
9
|
+
@ApiProperty({ description: 'Montant hors taxe' })
|
|
10
|
+
amountWithoutTaxes: number;
|
|
11
|
+
|
|
12
|
+
@ApiProperty({ description: 'Type d\'achat ou de vente' })
|
|
13
|
+
idAccount: number;
|
|
14
|
+
|
|
15
|
+
@ApiProperty({ description: 'Identifiant du client / fournisseur' })
|
|
16
|
+
idThirdParty: number;
|
|
17
|
+
|
|
18
|
+
@ApiPropertyOptional()
|
|
19
|
+
vat?: typeof Vat[keyof typeof Vat];
|
|
20
|
+
|
|
21
|
+
@ApiPropertyOptional()
|
|
22
|
+
isImmobilization?: boolean;
|
|
23
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
2
|
+
|
|
3
|
+
export class CreateIncomeAllocation {
|
|
4
|
+
@ApiProperty()
|
|
5
|
+
amount: number;
|
|
6
|
+
|
|
7
|
+
@ApiProperty()
|
|
8
|
+
idExercice: number;
|
|
9
|
+
|
|
10
|
+
@ApiPropertyOptional()
|
|
11
|
+
idFile?: number;
|
|
12
|
+
|
|
13
|
+
@ApiProperty()
|
|
14
|
+
dateValue: string;
|
|
15
|
+
|
|
16
|
+
@ApiProperty()
|
|
17
|
+
debitReport: number;
|
|
18
|
+
|
|
19
|
+
@ApiProperty()
|
|
20
|
+
creditReport: number;
|
|
21
|
+
|
|
22
|
+
@ApiProperty()
|
|
23
|
+
statutoryReserve: number;
|
|
24
|
+
|
|
25
|
+
@ApiProperty()
|
|
26
|
+
legalReserve: number;
|
|
27
|
+
|
|
28
|
+
@ApiProperty()
|
|
29
|
+
regulatedReserve: number;
|
|
30
|
+
|
|
31
|
+
@ApiProperty()
|
|
32
|
+
unavailableReserve: number;
|
|
33
|
+
|
|
34
|
+
@ApiProperty()
|
|
35
|
+
optionalReserve: number;
|
|
36
|
+
|
|
37
|
+
@ApiProperty()
|
|
38
|
+
levyOnReserve: number;
|
|
39
|
+
|
|
40
|
+
@ApiProperty()
|
|
41
|
+
dividend: number;
|
|
42
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { TypeIncomeAllocation } from '../../../Enum/TypeIncomeAllocation';
|
|
2
|
+
|
|
3
|
+
export type ReadIncomeAllocation = {
|
|
4
|
+
idAccountingTransaction?: number,
|
|
5
|
+
type: TypeIncomeAllocation,
|
|
6
|
+
amount?: number,
|
|
7
|
+
idExercice: number,
|
|
8
|
+
dateValue?: string,
|
|
9
|
+
debitReport?: number,
|
|
10
|
+
creditReport?: number,
|
|
11
|
+
statutoryReserve?: number,
|
|
12
|
+
legalReserve?: number,
|
|
13
|
+
regulatedReserve?: number,
|
|
14
|
+
unavailableReserve?: number,
|
|
15
|
+
optionalReserve?: number,
|
|
16
|
+
levyOnReserve?: number,
|
|
17
|
+
dividend?: number,
|
|
18
|
+
idFile?: number
|
|
19
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ApiProperty } from '../../../../utils';
|
|
2
2
|
|
|
3
3
|
export class CreateLoanForm {
|
|
4
|
-
@ApiProperty()
|
|
4
|
+
@ApiProperty({ description: 'Désignation' })
|
|
5
5
|
name: string;
|
|
6
6
|
|
|
7
|
-
@ApiProperty()
|
|
7
|
+
@ApiProperty({ description: 'Désignation de l\'organisme' })
|
|
8
8
|
lenderDesignation: string;
|
|
9
9
|
|
|
10
10
|
@ApiProperty()
|
|
@@ -15,6 +15,7 @@ export enum Code {
|
|
|
15
15
|
internalServerError = 'internal_server_error',
|
|
16
16
|
constraintKeyError = 'resource_fk_error',
|
|
17
17
|
serviceUnavailable = 'service_unavailable',
|
|
18
|
+
notImplemented = 'not_implemented',
|
|
18
19
|
|
|
19
20
|
// Annotation Error
|
|
20
21
|
failedCheckBalance = 'failed_check_balance',
|
|
@@ -5,6 +5,12 @@ export interface IBalanceSheetModule {
|
|
|
5
5
|
loanToDeclare: boolean;
|
|
6
6
|
// deadlinerecoveryImmobilization: boolean;
|
|
7
7
|
salariesFile: boolean;
|
|
8
|
+
hasCustomerInvoiceToEstablish?: boolean | null;
|
|
9
|
+
hasCustomerAssetToEstablish?: boolean | null;
|
|
10
|
+
hasCustomerPrepaidIncome?: boolean | null;
|
|
11
|
+
hasProviderPrepaidReceived?: boolean | null;
|
|
12
|
+
hasProviderAssetToReceived?: boolean | null;
|
|
13
|
+
hasProviderInvoiceNotReceived?: boolean | null;
|
|
8
14
|
idSociety: number;
|
|
9
15
|
idExercice: number;
|
|
10
16
|
createdAt?: Date | null;
|
package/ts/types/index.ts
CHANGED
|
@@ -288,6 +288,7 @@ export * from './Form/FormAuthenticate';
|
|
|
288
288
|
export * from './Form/FormConnector';
|
|
289
289
|
|
|
290
290
|
// Enums
|
|
291
|
+
export * from './Enum/Quality';
|
|
291
292
|
export * from './Enum/Role';
|
|
292
293
|
export * from './Enum/Simulation';
|
|
293
294
|
export * from './Enum/Country';
|
|
@@ -330,9 +331,10 @@ export * from './Enum/StockType';
|
|
|
330
331
|
export * from './Enum/SaleType';
|
|
331
332
|
export * from './Enum/TypePayment';
|
|
332
333
|
export * from './Enum/Account';
|
|
334
|
+
export * from './Enum/TypeCustomerProviderOperation';
|
|
333
335
|
export * from './Enum/EstimateInvoice';
|
|
334
336
|
export * from './Enum/Gescom';
|
|
335
|
-
export * from './Enum/
|
|
337
|
+
export * from './Enum/TypeIncomeAllocation';
|
|
336
338
|
|
|
337
339
|
// Interfaces API
|
|
338
340
|
export * from './Interface/api/businessPartner/ReadBusinessPartner';
|
|
@@ -362,6 +364,7 @@ export * from './Interface/api/simulationColors/ReadSimulationColors';
|
|
|
362
364
|
export * from './Interface/api/survey/QuerySurveys';
|
|
363
365
|
export * from './Interface/api/file/TFile';
|
|
364
366
|
export * from './Interface/api/cerfa/CreateCerfa';
|
|
367
|
+
export * from './Interface/api/customerProviderOperation/CreateCustomerProviderOperation';
|
|
365
368
|
export * from './Interface/api/society/LegalFormSiren';
|
|
366
369
|
export * from './Interface/api/society/GetDataSociety';
|
|
367
370
|
export * from './Interface/api/society/CreateSociety';
|
|
@@ -444,3 +447,6 @@ export * from './Interface/api/shopify/address';
|
|
|
444
447
|
export * from './Interface/api/shopify/ImportInvoicesShopify';
|
|
445
448
|
export * from './Interface/api/transactions/QueryUnexport';
|
|
446
449
|
export * from './Interface/api/crisp/GetCrisp';
|
|
450
|
+
export * from './Interface/api/incomeAllocation/CreateIncomeAllocation';
|
|
451
|
+
export * from './Interface/api/incomeAllocation/ReadIncomeAllocation';
|
|
452
|
+
export * from './Interface/api/incomeAllocation/TypeAndAmount';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Society.d.ts","sourceRoot":"","sources":["../../../ts/types/Enum/Society.ts"],"names":[],"mappings":"AAAA,oBAAY,iBAAiB;IAC3B,KAAK,IAAI;IACT,IAAI,IAAI;IACR,YAAY,IAAI;IAChB,WAAW,IAAI;IACf,YAAY,IAAI;IAChB,WAAW,IAAI;CAChB"}
|
package/es/types/Enum/Society.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export var SocietyComptaType;
|
|
2
|
-
(function (SocietyComptaType) {
|
|
3
|
-
SocietyComptaType[SocietyComptaType["TRESO"] = 1] = "TRESO";
|
|
4
|
-
SocietyComptaType[SocietyComptaType["ENGA"] = 2] = "ENGA";
|
|
5
|
-
SocietyComptaType[SocietyComptaType["SAISIE_TRESO"] = 3] = "SAISIE_TRESO";
|
|
6
|
-
SocietyComptaType[SocietyComptaType["SAISIE_ENGA"] = 4] = "SAISIE_ENGA";
|
|
7
|
-
SocietyComptaType[SocietyComptaType["ASSIST_TRESO"] = 5] = "ASSIST_TRESO";
|
|
8
|
-
SocietyComptaType[SocietyComptaType["ASSIST_ENGA"] = 6] = "ASSIST_ENGA";
|
|
9
|
-
})(SocietyComptaType || (SocietyComptaType = {}));
|
|
10
|
-
//# sourceMappingURL=Society.js.map
|