@silexpert/core 0.4.128 → 0.4.129
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/Revision.d.ts +6 -0
- package/es/api/resources/Revision.d.ts.map +1 -0
- package/es/api/resources/Revision.js +7 -0
- package/es/api/resources/Revision.js.map +1 -0
- package/es/api/resources/Transaction.d.ts +2 -1
- package/es/api/resources/Transaction.d.ts.map +1 -1
- package/es/api/resources/Transaction.js +3 -0
- package/es/api/resources/Transaction.js.map +1 -1
- package/es/api/resources/WorkingSchedule.d.ts +6 -0
- package/es/api/resources/WorkingSchedule.d.ts.map +1 -0
- package/es/api/resources/WorkingSchedule.js +12 -0
- package/es/api/resources/WorkingSchedule.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/Aspone.d.ts +2 -1
- package/es/types/Enum/Aspone.d.ts.map +1 -1
- package/es/types/Enum/Aspone.js +1 -0
- package/es/types/Enum/Aspone.js.map +1 -1
- package/es/types/Enum/BalanceSheetQuestion.d.ts +7 -1
- package/es/types/Enum/BalanceSheetQuestion.d.ts.map +1 -1
- package/es/types/Enum/BalanceSheetQuestion.js +6 -0
- package/es/types/Enum/BalanceSheetQuestion.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 +1 -0
- package/es/types/Enum/CerfaType.js.map +1 -1
- package/es/types/Enum/Currency.d.ts +4 -0
- package/es/types/Enum/Currency.d.ts.map +1 -0
- package/es/types/Enum/Currency.js +5 -0
- package/es/types/Enum/Currency.js.map +1 -0
- package/es/types/Enum/JeDeclare.d.ts +24 -0
- package/es/types/Enum/JeDeclare.d.ts.map +1 -0
- package/es/types/Enum/JeDeclare.js +28 -0
- package/es/types/Enum/JeDeclare.js.map +1 -0
- package/es/types/Enum/PartnerTransactionType.d.ts +3 -1
- package/es/types/Enum/PartnerTransactionType.d.ts.map +1 -1
- package/es/types/Enum/PartnerTransactionType.js +2 -0
- package/es/types/Enum/PartnerTransactionType.js.map +1 -1
- package/es/types/Interface/api/accountingTransaction/DeleteInvoices.d.ts +11 -0
- package/es/types/Interface/api/accountingTransaction/DeleteInvoices.d.ts.map +1 -0
- package/es/types/Interface/api/accountingTransaction/DeleteInvoices.js +46 -0
- package/es/types/Interface/api/accountingTransaction/DeleteInvoices.js.map +1 -0
- 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/aspone/Util.d.ts +2 -0
- package/es/types/Interface/api/aspone/Util.d.ts.map +1 -1
- package/es/types/Interface/api/aspone/Util.js.map +1 -1
- package/es/types/Interface/api/cerfa/2572.d.ts +149 -0
- package/es/types/Interface/api/cerfa/2572.d.ts.map +1 -0
- package/es/types/Interface/api/cerfa/2572.js +5 -0
- package/es/types/Interface/api/cerfa/2572.js.map +1 -0
- package/es/types/Interface/api/cerfa/CreateCerfa.d.ts +1 -0
- package/es/types/Interface/api/cerfa/CreateCerfa.d.ts.map +1 -1
- package/es/types/Interface/api/cerfa/CreateCerfa.js +1 -0
- package/es/types/Interface/api/cerfa/CreateCerfa.js.map +1 -1
- package/es/types/Interface/api/jeDeclare/CreateDocumentsParams.d.ts +7 -0
- package/es/types/Interface/api/jeDeclare/CreateDocumentsParams.d.ts.map +1 -0
- package/es/types/Interface/api/jeDeclare/CreateDocumentsParams.js +37 -0
- package/es/types/Interface/api/jeDeclare/CreateDocumentsParams.js.map +1 -0
- package/es/types/Interface/api/jeDeclare/Util.d.ts +68 -0
- package/es/types/Interface/api/jeDeclare/Util.d.ts.map +1 -0
- package/es/types/Interface/api/jeDeclare/Util.js +2 -0
- package/es/types/Interface/api/jeDeclare/Util.js.map +1 -0
- package/es/types/Interface/api/jeDeclare/UtilCFONB.d.ts +23 -0
- package/es/types/Interface/api/jeDeclare/UtilCFONB.d.ts.map +1 -0
- package/es/types/Interface/api/jeDeclare/UtilCFONB.js +378 -0
- package/es/types/Interface/api/jeDeclare/UtilCFONB.js.map +1 -0
- package/es/types/Interface/api/log/CreateLog.d.ts +1 -0
- package/es/types/Interface/api/log/CreateLog.d.ts.map +1 -1
- package/es/types/Interface/api/log/CreateLog.js.map +1 -1
- package/es/types/Interface/api/registration/CreateRegistration.d.ts +2 -1
- package/es/types/Interface/api/registration/CreateRegistration.d.ts.map +1 -1
- package/es/types/Interface/api/registration/CreateRegistration.js.map +1 -1
- package/es/types/Interface/api/revision/QueryRevision.d.ts +6 -0
- package/es/types/Interface/api/revision/QueryRevision.d.ts.map +1 -0
- package/es/types/Interface/api/revision/QueryRevision.js +29 -0
- package/es/types/Interface/api/revision/QueryRevision.js.map +1 -0
- package/es/types/Interface/api/revision/ReadRevision.d.ts +14 -0
- package/es/types/Interface/api/revision/ReadRevision.d.ts.map +1 -0
- package/es/types/Interface/api/revision/ReadRevision.js +2 -0
- package/es/types/Interface/api/revision/ReadRevision.js.map +1 -0
- package/es/types/Interface/api/revision/Revision.d.ts +5 -0
- package/es/types/Interface/api/revision/Revision.d.ts.map +1 -0
- package/es/types/Interface/api/revision/Revision.js +2 -0
- package/es/types/Interface/api/revision/Revision.js.map +1 -0
- package/es/types/Interface/api/revision/RevisionObject.d.ts +10 -0
- package/es/types/Interface/api/revision/RevisionObject.d.ts.map +1 -0
- package/es/types/Interface/api/revision/RevisionObject.js +2 -0
- package/es/types/Interface/api/revision/RevisionObject.js.map +1 -0
- package/es/types/Interface/api/woocommerce/InvoicesWoocommerce.d.ts +1 -0
- package/es/types/Interface/api/woocommerce/InvoicesWoocommerce.d.ts.map +1 -1
- package/es/types/Interface/api/woocommerce/InvoicesWoocommerce.js +4 -0
- package/es/types/Interface/api/woocommerce/InvoicesWoocommerce.js.map +1 -1
- package/es/types/Interface/models/IApiError.d.ts +2 -1
- package/es/types/Interface/models/IApiError.d.ts.map +1 -1
- package/es/types/Interface/models/IApiError.js +2 -0
- package/es/types/Interface/models/IApiError.js.map +1 -1
- package/es/types/Interface/models/IUser.d.ts +1 -0
- package/es/types/Interface/models/IUser.d.ts.map +1 -1
- package/es/types/Interface/models/IUser.js.map +1 -1
- package/es/types/Interface/models/IWorkingSchedule.d.ts +3 -1
- package/es/types/Interface/models/IWorkingSchedule.d.ts.map +1 -1
- package/es/types/Interface/models/IWorkingSchedule.js.map +1 -1
- package/es/types/index.d.ts +10 -0
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +10 -0
- package/es/types/index.js.map +1 -1
- package/js/api/resources/Revision.js +20 -0
- package/js/api/resources/Revision.js.map +1 -0
- package/js/api/resources/Transaction.js +6 -0
- package/js/api/resources/Transaction.js.map +1 -1
- package/js/api/resources/WorkingSchedule.js +23 -0
- package/js/api/resources/WorkingSchedule.js.map +1 -0
- package/js/api/resources.js +7 -1
- package/js/api/resources.js.map +1 -1
- package/js/types/Enum/Aspone.js +1 -0
- package/js/types/Enum/Aspone.js.map +1 -1
- package/js/types/Enum/BalanceSheetQuestion.js +7 -0
- package/js/types/Enum/BalanceSheetQuestion.js.map +1 -1
- package/js/types/Enum/CerfaType.js +1 -0
- package/js/types/Enum/CerfaType.js.map +1 -1
- package/js/types/Enum/Currency.js +11 -0
- package/js/types/Enum/Currency.js.map +1 -0
- package/js/types/Enum/JeDeclare.js +40 -0
- package/js/types/Enum/JeDeclare.js.map +1 -0
- package/js/types/Enum/PartnerTransactionType.js +2 -0
- package/js/types/Enum/PartnerTransactionType.js.map +1 -1
- package/js/types/Interface/api/accountingTransaction/DeleteInvoices.js +41 -0
- package/js/types/Interface/api/accountingTransaction/DeleteInvoices.js.map +1 -0
- package/js/types/Interface/api/aspone/ReadInterchange.js.map +1 -1
- package/js/types/Interface/api/aspone/Util.js.map +1 -1
- package/js/types/Interface/api/cerfa/2572.js +14 -0
- package/js/types/Interface/api/cerfa/2572.js.map +1 -0
- package/js/types/Interface/api/cerfa/CreateCerfa.js +12 -0
- package/js/types/Interface/api/cerfa/CreateCerfa.js.map +1 -1
- package/js/types/Interface/api/jeDeclare/CreateDocumentsParams.js +37 -0
- package/js/types/Interface/api/jeDeclare/CreateDocumentsParams.js.map +1 -0
- package/js/types/Interface/api/jeDeclare/Util.js +6 -0
- package/js/types/Interface/api/jeDeclare/Util.js.map +1 -0
- package/js/types/Interface/api/jeDeclare/UtilCFONB.js +394 -0
- package/js/types/Interface/api/jeDeclare/UtilCFONB.js.map +1 -0
- package/js/types/Interface/api/registration/CreateRegistration.js.map +1 -1
- package/js/types/Interface/api/revision/QueryRevision.js +33 -0
- package/js/types/Interface/api/revision/QueryRevision.js.map +1 -0
- package/js/types/Interface/api/revision/ReadRevision.js +6 -0
- package/js/types/Interface/api/revision/ReadRevision.js.map +1 -0
- package/js/types/Interface/api/revision/Revision.js +6 -0
- package/js/types/Interface/api/revision/Revision.js.map +1 -0
- package/js/types/Interface/api/revision/RevisionObject.js +6 -0
- package/js/types/Interface/api/revision/RevisionObject.js.map +1 -0
- package/js/types/Interface/api/woocommerce/InvoicesWoocommerce.js +2 -0
- package/js/types/Interface/api/woocommerce/InvoicesWoocommerce.js.map +1 -1
- package/js/types/Interface/models/IApiError.js +3 -1
- package/js/types/Interface/models/IApiError.js.map +1 -1
- package/js/types/index.js +120 -0
- package/js/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Revision.ts +8 -0
- package/ts/api/resources/Transaction.ts +5 -1
- package/ts/api/resources/WorkingSchedule.ts +12 -0
- package/ts/api/resources.ts +4 -0
- package/ts/types/Enum/Aspone.ts +1 -0
- package/ts/types/Enum/BalanceSheetQuestion.ts +7 -0
- package/ts/types/Enum/CerfaType.ts +1 -0
- package/ts/types/Enum/Currency.ts +3 -0
- package/ts/types/Enum/JeDeclare.ts +26 -0
- package/ts/types/Enum/PartnerTransactionType.ts +2 -0
- package/ts/types/Interface/api/accountingTransaction/DeleteInvoices.ts +37 -0
- package/ts/types/Interface/api/aspone/ReadInterchange.ts +1 -1
- package/ts/types/Interface/api/aspone/Util.ts +3 -0
- package/ts/types/Interface/api/cerfa/2572.ts +150 -0
- package/ts/types/Interface/api/cerfa/CreateCerfa.ts +1 -0
- package/ts/types/Interface/api/jeDeclare/CreateDocumentsParams.ts +23 -0
- package/ts/types/Interface/api/jeDeclare/Util.ts +69 -0
- package/ts/types/Interface/api/jeDeclare/UtilCFONB.ts +387 -0
- package/ts/types/Interface/api/log/CreateLog.ts +1 -0
- package/ts/types/Interface/api/registration/CreateRegistration.ts +2 -1
- package/ts/types/Interface/api/revision/QueryRevision.ts +16 -0
- package/ts/types/Interface/api/revision/ReadRevision.ts +14 -0
- package/ts/types/Interface/api/revision/Revision.ts +5 -0
- package/ts/types/Interface/api/revision/RevisionObject.ts +10 -0
- package/ts/types/Interface/api/woocommerce/InvoicesWoocommerce.ts +2 -0
- package/ts/types/Interface/models/IApiError.ts +2 -0
- package/ts/types/Interface/models/IUser.ts +1 -0
- package/ts/types/Interface/models/IWorkingSchedule.ts +3 -1
- package/ts/types/index.ts +10 -1
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export enum JeDeclareTypeError {
|
|
2
|
+
SUCCESS = '00',
|
|
3
|
+
ERROR_AUTHENTIFICATION = '06',
|
|
4
|
+
BAD_REQUEST = '05',
|
|
5
|
+
INCORRECT_E_PROCESS = '11',
|
|
6
|
+
TECHNICAL_ERROR = '99',
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export enum ListType {
|
|
10
|
+
ADS = '00',
|
|
11
|
+
ACS = '01',
|
|
12
|
+
ARS = '02',
|
|
13
|
+
RCP_RECEPTION = '03',
|
|
14
|
+
ACS_ARS_RCP_RECEPTION = '97',
|
|
15
|
+
ACS_ARS = '98',
|
|
16
|
+
ADS_ACS_ARS_RCP_RECEPTION = '99',
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export enum ItemStatus {
|
|
20
|
+
ALL_PIECES = '00',
|
|
21
|
+
ALREADY_FETCHED_PIECES = '01',
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export enum ProcedureType {
|
|
25
|
+
RELEVE = 'RELEVE',
|
|
26
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import {
|
|
2
|
+
IsBoolean, IsDate, IsIn, IsNumber, IsOptional,
|
|
3
|
+
} from 'class-validator';
|
|
4
|
+
import { AccountingJournal } from '../../..';
|
|
5
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../..';
|
|
6
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
7
|
+
|
|
8
|
+
export class QueryDeleteInvoices {
|
|
9
|
+
@ApiProperty()
|
|
10
|
+
@IsDate()
|
|
11
|
+
startDate: Date;
|
|
12
|
+
|
|
13
|
+
@ApiProperty()
|
|
14
|
+
@IsDate()
|
|
15
|
+
endDate: Date;
|
|
16
|
+
|
|
17
|
+
@ApiProperty()
|
|
18
|
+
@IsNumber()
|
|
19
|
+
@IsIn([AccountingJournal.AC, AccountingJournal.VE])
|
|
20
|
+
idAccountingJournal: number;
|
|
21
|
+
|
|
22
|
+
@ApiPropertyOptional()
|
|
23
|
+
@IsBoolean()
|
|
24
|
+
@IsOptional()
|
|
25
|
+
@ToBoolean()
|
|
26
|
+
isLocked?: boolean;
|
|
27
|
+
|
|
28
|
+
@ApiPropertyOptional()
|
|
29
|
+
@IsBoolean()
|
|
30
|
+
@IsOptional()
|
|
31
|
+
@ToBoolean()
|
|
32
|
+
isExported?: boolean;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export interface ReadDeletedInvoices {
|
|
36
|
+
deletedTransactions: number;
|
|
37
|
+
}
|
|
@@ -6,6 +6,8 @@ export class PasswordDigest {
|
|
|
6
6
|
passwordDigest: string;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
+
export type ProcessType = 'DADS-U' | 'TDFC' | 'TVA' | 'DUCS' | 'DUE' | 'PAIEMENT' | 'AED' | 'DSI' | 'DSN' | 'REQUETE' | 'IR' | 'DRP' | 'DPAE' | 'OGA' | 'PART' | 'WEB_TDFC' | 'WEB_TVA' | 'WEB_PAIEMENT' | 'WEB_REQUETE' | 'WEB_PART';
|
|
10
|
+
|
|
9
11
|
export class WSDL {
|
|
10
12
|
deposit: string;
|
|
11
13
|
monitoring: string;
|
|
@@ -28,6 +30,7 @@ export class RegistrationParams {
|
|
|
28
30
|
token: string
|
|
29
31
|
};
|
|
30
32
|
forceTestMode: boolean;
|
|
33
|
+
processType: ProcessType;
|
|
31
34
|
}
|
|
32
35
|
|
|
33
36
|
export class RegistrationResponse {
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
type BaseAndAmount = {
|
|
2
|
+
base: number;
|
|
3
|
+
amount: number;
|
|
4
|
+
};
|
|
5
|
+
|
|
6
|
+
type Tax = {
|
|
7
|
+
normalRate: BaseAndAmount;
|
|
8
|
+
normalRate2: BaseAndAmount;
|
|
9
|
+
reduceRate: BaseAndAmount;
|
|
10
|
+
addedValue: { amount: number; }
|
|
11
|
+
other: { amount: number; }
|
|
12
|
+
total: number;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
type Exercice = {
|
|
16
|
+
startDate: string;
|
|
17
|
+
endDate: string;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
type Society = {
|
|
21
|
+
name: string;
|
|
22
|
+
address: string;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
type PreFinancingWithAmount = {
|
|
26
|
+
preFinancing: number;
|
|
27
|
+
amount: number;
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
type Debts = {
|
|
31
|
+
onCompanyTax: number;
|
|
32
|
+
notOnCompanyTax: number;
|
|
33
|
+
VEL: number;
|
|
34
|
+
PRE: number;
|
|
35
|
+
new: number;
|
|
36
|
+
companyTaxAfterImputation: number;
|
|
37
|
+
reducedTax: {
|
|
38
|
+
inEurope: number;
|
|
39
|
+
amount: number;
|
|
40
|
+
}
|
|
41
|
+
balanceInPreviousExercises: number;
|
|
42
|
+
jobCredit: PreFinancingWithAmount;
|
|
43
|
+
jobCreditForLongExercises: PreFinancingWithAmount;
|
|
44
|
+
jobCreditForPreviousExercises: number;
|
|
45
|
+
corse: number;
|
|
46
|
+
CORInPreviousExercise: number;
|
|
47
|
+
deficit: number;
|
|
48
|
+
RADInPreviousExercise: number;
|
|
49
|
+
CIRcredit: number;
|
|
50
|
+
CIRsolde: number;
|
|
51
|
+
reportedInLine2B11: number;
|
|
52
|
+
subTotal: number;
|
|
53
|
+
inDepositLimit: number;
|
|
54
|
+
balanceDebtInPreviousExercises: number;
|
|
55
|
+
FOR: number;
|
|
56
|
+
RAC: number;
|
|
57
|
+
FAM: number;
|
|
58
|
+
CIN: number;
|
|
59
|
+
BIO: number;
|
|
60
|
+
PHO: number;
|
|
61
|
+
AUD: number;
|
|
62
|
+
ART: number;
|
|
63
|
+
CJV: number;
|
|
64
|
+
CPE: number;
|
|
65
|
+
CCI: number;
|
|
66
|
+
PTR: number;
|
|
67
|
+
CIO: PreFinancingWithAmount;
|
|
68
|
+
COL: PreFinancingWithAmount;
|
|
69
|
+
CSV: number;
|
|
70
|
+
CAC: number;
|
|
71
|
+
REB: number;
|
|
72
|
+
BLC: number;
|
|
73
|
+
RTD: number;
|
|
74
|
+
CPG: number;
|
|
75
|
+
HVE: number;
|
|
76
|
+
newUnlistedReceivables: number;
|
|
77
|
+
inLine2C22: number;
|
|
78
|
+
subTotal2: number;
|
|
79
|
+
afterImputation: number;
|
|
80
|
+
payment: number;
|
|
81
|
+
taxAmount: number;
|
|
82
|
+
CSB: { base: number };
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
type SocialContribution = {
|
|
86
|
+
CSB: BaseAndAmount;
|
|
87
|
+
strangers: number;
|
|
88
|
+
onCompanyTax: number;
|
|
89
|
+
payment: number;
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
type YearlyContribution = {
|
|
93
|
+
onRent: number;
|
|
94
|
+
amount: number;
|
|
95
|
+
payment: number;
|
|
96
|
+
};
|
|
97
|
+
|
|
98
|
+
type AmountToPayWithOverage = {
|
|
99
|
+
amountToPay: number;
|
|
100
|
+
overage: number;
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
type Summary = {
|
|
104
|
+
companyTax: AmountToPayWithOverage
|
|
105
|
+
socialContribution: AmountToPayWithOverage;
|
|
106
|
+
yearlyContribution: AmountToPayWithOverage;
|
|
107
|
+
total: AmountToPayWithOverage
|
|
108
|
+
amountToPay: number;
|
|
109
|
+
overage: number;
|
|
110
|
+
imputedOverage: number;
|
|
111
|
+
contribution: number;
|
|
112
|
+
limitDate: string;
|
|
113
|
+
amountToInpute: number;
|
|
114
|
+
overageRefundAsked: number;
|
|
115
|
+
};
|
|
116
|
+
|
|
117
|
+
type Payment = {
|
|
118
|
+
date: number;
|
|
119
|
+
phone: number;
|
|
120
|
+
isTransfer: number;
|
|
121
|
+
isCheck: number;
|
|
122
|
+
isElectronicPayment: number;
|
|
123
|
+
contribution: number;
|
|
124
|
+
limitDate: number;
|
|
125
|
+
amountToInpute: number;
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
type Administration = {
|
|
129
|
+
amount: number;
|
|
130
|
+
date: string;
|
|
131
|
+
operationNumber: number;
|
|
132
|
+
receptionDate: string;
|
|
133
|
+
};
|
|
134
|
+
|
|
135
|
+
export class Cerfa2572 {
|
|
136
|
+
siren: string;
|
|
137
|
+
exercice: Exercice;
|
|
138
|
+
society: Society;
|
|
139
|
+
tax: Tax;
|
|
140
|
+
debts: Debts;
|
|
141
|
+
socialContribution: SocialContribution;
|
|
142
|
+
yearlyContribution: YearlyContribution;
|
|
143
|
+
summary: Summary;
|
|
144
|
+
payment: Payment;
|
|
145
|
+
administration?: Administration;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
export type Prepare2572Params = { idSociety: number; idExercice: number; values: Cerfa2572 };
|
|
149
|
+
|
|
150
|
+
export class ParamsGenerate2572 {}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { IsBoolean, IsOptional, IsString } from 'class-validator';
|
|
2
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../..';
|
|
3
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
4
|
+
|
|
5
|
+
export class CreateDocumentsParams {
|
|
6
|
+
@ApiProperty()
|
|
7
|
+
@IsString()
|
|
8
|
+
itemStatus: string;
|
|
9
|
+
|
|
10
|
+
@ApiProperty()
|
|
11
|
+
@IsString()
|
|
12
|
+
procedureType: string;
|
|
13
|
+
|
|
14
|
+
@ApiProperty()
|
|
15
|
+
@IsString()
|
|
16
|
+
listType: string;
|
|
17
|
+
|
|
18
|
+
@ApiPropertyOptional()
|
|
19
|
+
@IsBoolean()
|
|
20
|
+
@ToBoolean()
|
|
21
|
+
@IsOptional()
|
|
22
|
+
forceTestMode?: boolean;
|
|
23
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
type WSDLJeDeClare = {
|
|
2
|
+
url: string;
|
|
3
|
+
};
|
|
4
|
+
|
|
5
|
+
export type AccessKeysJeDeclare = {
|
|
6
|
+
login: string;
|
|
7
|
+
password: string;
|
|
8
|
+
editor: string;
|
|
9
|
+
software: string;
|
|
10
|
+
wsdl: WSDLJeDeClare;
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export type GetDocumentParams = {
|
|
14
|
+
itemStatus: string;
|
|
15
|
+
procedureType: string;
|
|
16
|
+
listType: string;
|
|
17
|
+
forceTestMode?: boolean;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export type ListDocumentAvailability = DocumentAvailability[];
|
|
21
|
+
|
|
22
|
+
export type DocumentAvailability = {
|
|
23
|
+
'ns2:numero': string[];
|
|
24
|
+
'ns2:statut': string[];
|
|
25
|
+
'ns2:typeDePiece': string[];
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
export type BankStatementCFONBStructure = {
|
|
29
|
+
previous: { [key: string]: string | null } | null;
|
|
30
|
+
transactions: LineStructure[];
|
|
31
|
+
last: { [key: string]: string | null } | null;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
export type LineStructureUnknowProperty = { [key: string]: string | null } | null;
|
|
35
|
+
export type LineStructure = LineStructureUnknowProperty & {
|
|
36
|
+
detail: { [key: string]: string | null } | null;
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
export type AmountType = 'credit' | 'debit' | 'neutral' | 'unknown';
|
|
40
|
+
|
|
41
|
+
type UsableBankStatementTransaction = {
|
|
42
|
+
dateValue?: string;
|
|
43
|
+
id?: number;
|
|
44
|
+
label: string | null;
|
|
45
|
+
debit: number;
|
|
46
|
+
credit: number;
|
|
47
|
+
idCurrency: number | null;
|
|
48
|
+
complementaryLabel: string | null;
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
type BankStatementData = {
|
|
52
|
+
balance: number;
|
|
53
|
+
dateBalance?: string;
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
export type UsableBankStatement = {
|
|
57
|
+
iban: string | null;
|
|
58
|
+
previous: BankStatementData;
|
|
59
|
+
next: BankStatementData;
|
|
60
|
+
name: string | null;
|
|
61
|
+
transactions: UsableBankStatementTransaction[];
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
export type GetDocumentsParams = {
|
|
65
|
+
itemStatus: string;
|
|
66
|
+
procedureType: string;
|
|
67
|
+
listType: string;
|
|
68
|
+
forceTestMode?: boolean;
|
|
69
|
+
};
|