@silexpert/core 0.4.118 → 0.4.121
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/AccountingIncome.d.ts +6 -0
- package/es/api/resources/AccountingIncome.d.ts.map +1 -0
- package/es/api/resources/AccountingIncome.js +7 -0
- package/es/api/resources/AccountingIncome.js.map +1 -0
- package/es/api/resources/BankStatement.d.ts +7 -0
- package/es/api/resources/BankStatement.d.ts.map +1 -0
- package/es/api/resources/BankStatement.js +15 -0
- package/es/api/resources/BankStatement.js.map +1 -0
- package/es/api/resources/Cerfa.d.ts +2 -2
- package/es/api/resources/Cerfa.d.ts.map +1 -1
- package/es/api/resources/Cerfa.js.map +1 -1
- package/es/api/resources/Tax.d.ts +3 -1
- package/es/api/resources/Tax.d.ts.map +1 -1
- package/es/api/resources/Tax.js +6 -0
- package/es/api/resources/Tax.js.map +1 -1
- 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/Account.d.ts +4 -0
- package/es/types/Enum/Account.d.ts.map +1 -1
- package/es/types/Enum/Account.js +4 -0
- package/es/types/Enum/Account.js.map +1 -1
- package/es/types/Enum/AnswerTypeValue.d.ts +15 -1
- package/es/types/Enum/AnswerTypeValue.d.ts.map +1 -1
- package/es/types/Enum/AnswerTypeValue.js +17 -2
- package/es/types/Enum/AnswerTypeValue.js.map +1 -1
- package/es/types/Enum/Aspone.d.ts +42 -0
- package/es/types/Enum/Aspone.d.ts.map +1 -0
- package/es/types/Enum/Aspone.js +48 -0
- package/es/types/Enum/Aspone.js.map +1 -0
- package/es/types/Enum/BalanceSheetQuestion.d.ts +42 -6
- package/es/types/Enum/BalanceSheetQuestion.d.ts.map +1 -1
- package/es/types/Enum/BalanceSheetQuestion.js +42 -5
- package/es/types/Enum/BalanceSheetQuestion.js.map +1 -1
- package/es/types/Enum/BalanceSheetQuestionWording.d.ts +221 -0
- package/es/types/Enum/BalanceSheetQuestionWording.d.ts.map +1 -0
- package/es/types/Enum/BalanceSheetQuestionWording.js +224 -0
- package/es/types/Enum/BalanceSheetQuestionWording.js.map +1 -0
- package/es/types/Enum/BrandClementine.d.ts +5 -0
- package/es/types/Enum/BrandClementine.d.ts.map +1 -1
- package/es/types/Enum/BrandClementine.js +5 -0
- package/es/types/Enum/BrandClementine.js.map +1 -1
- package/es/types/Enum/BrandComptalib.d.ts +2 -0
- package/es/types/Enum/BrandComptalib.d.ts.map +1 -1
- package/es/types/Enum/BrandComptalib.js +2 -0
- package/es/types/Enum/BrandComptalib.js.map +1 -1
- package/es/types/Enum/BrandLegalstart.d.ts +1 -0
- package/es/types/Enum/BrandLegalstart.d.ts.map +1 -1
- package/es/types/Enum/BrandLegalstart.js +1 -0
- package/es/types/Enum/BrandLegalstart.js.map +1 -1
- package/es/types/Enum/Ged.d.ts +2 -0
- package/es/types/Enum/Ged.d.ts.map +1 -1
- package/es/types/Enum/Ged.js +2 -1
- package/es/types/Enum/Ged.js.map +1 -1
- package/es/types/Enum/GlobalRegime.d.ts.map +1 -1
- package/es/types/Enum/GlobalRegime.js +66 -14
- package/es/types/Enum/GlobalRegime.js.map +1 -1
- package/es/types/Enum/LegalInformation.d.ts +9 -0
- package/es/types/Enum/LegalInformation.d.ts.map +1 -0
- package/es/types/Enum/LegalInformation.js +10 -0
- package/es/types/Enum/LegalInformation.js.map +1 -0
- package/es/types/Enum/{MealExpenseTresholds.d.ts → MealExpenseThresholds.d.ts} +1 -1
- package/es/types/Enum/MealExpenseThresholds.d.ts.map +1 -0
- package/es/types/Enum/{MealExpenseTresholds.js → MealExpenseThresholds.js} +1 -1
- package/es/types/Enum/MealExpenseThresholds.js.map +1 -0
- package/es/types/Enum/Prestation.d.ts +7 -1
- package/es/types/Enum/Prestation.d.ts.map +1 -1
- package/es/types/Enum/Prestation.js +6 -0
- package/es/types/Enum/Prestation.js.map +1 -1
- package/es/types/Enum/Util.d.ts +4 -0
- package/es/types/Enum/Util.d.ts.map +1 -1
- package/es/types/Enum/Util.js +5 -0
- package/es/types/Enum/Util.js.map +1 -1
- package/es/types/Interface/api/accountingIncome/ReadAccountingIncome.d.ts +4 -0
- package/es/types/Interface/api/accountingIncome/ReadAccountingIncome.d.ts.map +1 -0
- package/es/types/Interface/api/accountingIncome/ReadAccountingIncome.js +2 -0
- package/es/types/Interface/api/accountingIncome/ReadAccountingIncome.js.map +1 -0
- package/es/types/Interface/api/aspone/ReadInterchange.d.ts +76 -0
- package/es/types/Interface/api/aspone/ReadInterchange.d.ts.map +1 -0
- package/es/types/Interface/api/aspone/ReadInterchange.js +9 -0
- package/es/types/Interface/api/aspone/ReadInterchange.js.map +1 -0
- package/es/types/Interface/api/aspone/Util.d.ts +109 -0
- package/es/types/Interface/api/aspone/Util.d.ts.map +1 -0
- package/es/types/Interface/api/aspone/Util.js +17 -0
- package/es/types/Interface/api/aspone/Util.js.map +1 -0
- package/es/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.d.ts +5 -3
- package/es/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.d.ts.map +1 -1
- package/es/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js +27 -4
- package/es/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js.map +1 -1
- package/es/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.d.ts +5 -2
- package/es/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.d.ts.map +1 -1
- package/es/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js +29 -2
- package/es/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js.map +1 -1
- package/es/types/Interface/api/bankStatement/QueryBankStatement.d.ts +6 -0
- package/es/types/Interface/api/bankStatement/QueryBankStatement.d.ts.map +1 -0
- package/es/types/Interface/api/bankStatement/QueryBankStatement.js +25 -0
- package/es/types/Interface/api/bankStatement/QueryBankStatement.js.map +1 -0
- package/es/types/Interface/api/bankStatement/QueryTransactionBankStatement.d.ts +9 -0
- package/es/types/Interface/api/bankStatement/QueryTransactionBankStatement.d.ts.map +1 -0
- package/es/types/Interface/api/bankStatement/QueryTransactionBankStatement.js +27 -0
- package/es/types/Interface/api/bankStatement/QueryTransactionBankStatement.js.map +1 -0
- package/es/types/Interface/api/bankStatement/ReadBankStatement.d.ts +6 -0
- package/es/types/Interface/api/bankStatement/ReadBankStatement.d.ts.map +1 -0
- package/es/types/Interface/api/bankStatement/ReadBankStatement.js +3 -0
- package/es/types/Interface/api/bankStatement/ReadBankStatement.js.map +1 -0
- package/es/types/Interface/api/cerfa/CreateCerfa.d.ts +379 -88
- package/es/types/Interface/api/cerfa/CreateCerfa.d.ts.map +1 -1
- package/es/types/Interface/api/cerfa/CreateCerfa.js +24 -327
- package/es/types/Interface/api/cerfa/CreateCerfa.js.map +1 -1
- package/es/types/Interface/api/cerfa/ReadCerfa.d.ts +4 -0
- package/es/types/Interface/api/cerfa/ReadCerfa.d.ts.map +1 -1
- package/es/types/Interface/api/cerfa/ReadCerfa.js.map +1 -1
- package/es/types/Interface/api/ocr/OcrTransactions.d.ts +12 -0
- package/es/types/Interface/api/ocr/OcrTransactions.d.ts.map +1 -0
- package/es/types/Interface/api/ocr/OcrTransactions.js +33 -0
- package/es/types/Interface/api/ocr/OcrTransactions.js.map +1 -0
- package/es/types/Interface/api/ocr/OcrTypeTransactions.d.ts +7 -0
- package/es/types/Interface/api/ocr/OcrTypeTransactions.d.ts.map +1 -0
- package/es/types/Interface/api/ocr/OcrTypeTransactions.js +2 -0
- package/es/types/Interface/api/ocr/OcrTypeTransactions.js.map +1 -0
- package/es/types/Interface/api/registration/CreateRegistration.d.ts +13 -2
- package/es/types/Interface/api/registration/CreateRegistration.d.ts.map +1 -1
- package/es/types/Interface/api/registration/CreateRegistration.js +20 -4
- package/es/types/Interface/api/registration/CreateRegistration.js.map +1 -1
- package/es/types/Interface/api/registration/DeclareRegistration.d.ts +4 -0
- package/es/types/Interface/api/registration/DeclareRegistration.d.ts.map +1 -0
- package/es/types/Interface/api/registration/DeclareRegistration.js +22 -0
- package/es/types/Interface/api/registration/DeclareRegistration.js.map +1 -0
- package/es/types/Interface/api/registration/ReadRegistration.d.ts +18 -1
- package/es/types/Interface/api/registration/ReadRegistration.d.ts.map +1 -1
- package/es/types/Interface/api/registration/ReadRegistration.js.map +1 -1
- package/es/types/Interface/api/tax/ReadCompanyTax.d.ts +11 -0
- package/es/types/Interface/api/tax/ReadCompanyTax.d.ts.map +1 -0
- package/es/types/Interface/api/tax/ReadCompanyTax.js +2 -0
- package/es/types/Interface/api/tax/ReadCompanyTax.js.map +1 -0
- package/es/types/Interface/api/tax/ReadTax.d.ts +6 -1
- package/es/types/Interface/api/tax/ReadTax.d.ts.map +1 -1
- package/es/types/Interface/api/tax/ReadTax.js.map +1 -1
- package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.d.ts +2 -1
- package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.d.ts.map +1 -1
- package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.js +8 -1
- package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.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 +7 -4
- package/es/types/Interface/models/IBalanceSheetModule.d.ts.map +1 -1
- package/es/types/Interface/models/IBalanceSheetModule.js.map +1 -1
- package/es/types/Interface/models/IBalanceSheetQuestion.d.ts +1 -0
- package/es/types/Interface/models/IBalanceSheetQuestion.d.ts.map +1 -1
- package/es/types/Interface/models/IBalanceSheetQuestion.js.map +1 -1
- package/es/types/Interface/models/ICountry.d.ts +1 -0
- package/es/types/Interface/models/ICountry.d.ts.map +1 -1
- package/es/types/Interface/models/ICountry.js.map +1 -1
- package/es/types/Interface/models/ISocietySocial.d.ts +2 -2
- package/es/types/Interface/models/ISocietySocial.d.ts.map +1 -1
- package/es/types/Interface/models/ISocietySocial.js.map +1 -1
- package/es/types/index.d.ts +17 -4
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +17 -4
- package/es/types/index.js.map +1 -1
- package/js/api/resources/AccountingIncome.js +18 -0
- package/js/api/resources/AccountingIncome.js.map +1 -0
- package/js/api/resources/BankStatement.js +30 -0
- package/js/api/resources/BankStatement.js.map +1 -0
- package/js/api/resources/Cerfa.js.map +1 -1
- package/js/api/resources/Tax.js +8 -0
- package/js/api/resources/Tax.js.map +1 -1
- package/js/api/resources.js +7 -1
- package/js/api/resources.js.map +1 -1
- package/js/types/Enum/Account.js +4 -0
- package/js/types/Enum/Account.js.map +1 -1
- package/js/types/Enum/AnswerTypeValue.js +21 -2
- package/js/types/Enum/AnswerTypeValue.js.map +1 -1
- package/js/types/Enum/Aspone.js +64 -0
- package/js/types/Enum/Aspone.js.map +1 -0
- package/js/types/Enum/BalanceSheetQuestion.js +47 -5
- package/js/types/Enum/BalanceSheetQuestion.js.map +1 -1
- package/js/types/Enum/BalanceSheetQuestionWording.js +238 -0
- package/js/types/Enum/BalanceSheetQuestionWording.js.map +1 -0
- package/js/types/Enum/BrandClementine.js +7 -2
- package/js/types/Enum/BrandClementine.js.map +1 -1
- package/js/types/Enum/BrandComptalib.js +2 -0
- package/js/types/Enum/BrandComptalib.js.map +1 -1
- package/js/types/Enum/BrandLegalstart.js +1 -0
- package/js/types/Enum/BrandLegalstart.js.map +1 -1
- package/js/types/Enum/Ged.js +4 -3
- package/js/types/Enum/Ged.js.map +1 -1
- package/js/types/Enum/GlobalRegime.js +68 -21
- package/js/types/Enum/GlobalRegime.js.map +1 -1
- package/js/types/Enum/LegalInformation.js +16 -0
- package/js/types/Enum/LegalInformation.js.map +1 -0
- package/js/types/Enum/{MealExpenseTresholds.js → MealExpenseThresholds.js} +1 -1
- package/js/types/Enum/MealExpenseThresholds.js.map +1 -0
- package/js/types/Enum/Prestation.js +6 -0
- package/js/types/Enum/Prestation.js.map +1 -1
- package/js/types/Enum/Util.js +7 -0
- package/js/types/Enum/Util.js.map +1 -1
- package/js/types/Interface/api/accountingIncome/ReadAccountingIncome.js +6 -0
- package/js/types/Interface/api/accountingIncome/ReadAccountingIncome.js.map +1 -0
- package/js/types/Interface/api/aspone/ReadInterchange.js +22 -0
- package/js/types/Interface/api/aspone/ReadInterchange.js.map +1 -0
- package/js/types/Interface/api/aspone/Util.js +38 -0
- package/js/types/Interface/api/aspone/Util.js.map +1 -0
- package/js/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js +7 -3
- package/js/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js.map +1 -1
- package/js/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js +8 -2
- package/js/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js.map +1 -1
- package/js/types/Interface/api/bankStatement/QueryBankStatement.js +31 -0
- package/js/types/Interface/api/bankStatement/QueryBankStatement.js.map +1 -0
- package/js/types/Interface/api/bankStatement/QueryTransactionBankStatement.js +33 -0
- package/js/types/Interface/api/bankStatement/QueryTransactionBankStatement.js.map +1 -0
- package/js/types/Interface/api/bankStatement/ReadBankStatement.js +10 -0
- package/js/types/Interface/api/bankStatement/ReadBankStatement.js.map +1 -0
- package/js/types/Interface/api/cerfa/CreateCerfa.js +24 -174
- package/js/types/Interface/api/cerfa/CreateCerfa.js.map +1 -1
- package/js/types/Interface/api/ocr/OcrTransactions.js +37 -0
- package/js/types/Interface/api/ocr/OcrTransactions.js.map +1 -0
- package/js/types/Interface/api/ocr/OcrTypeTransactions.js +6 -0
- package/js/types/Interface/api/ocr/OcrTypeTransactions.js.map +1 -0
- package/js/types/Interface/api/registration/CreateRegistration.js +11 -3
- package/js/types/Interface/api/registration/CreateRegistration.js.map +1 -1
- package/js/types/Interface/api/registration/DeclareRegistration.js +31 -0
- package/js/types/Interface/api/registration/DeclareRegistration.js.map +1 -0
- package/js/types/Interface/{models/IPrestationSocial.js → api/tax/ReadCompanyTax.js} +1 -1
- package/js/types/Interface/{models/IPrestationSocial.js.map → api/tax/ReadCompanyTax.js.map} +1 -1
- package/js/types/Interface/api/taxDeadline/QueryTaxDeadline.js +6 -0
- package/js/types/Interface/api/taxDeadline/QueryTaxDeadline.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 +183 -27
- package/js/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/AccountingIncome.ts +8 -0
- package/ts/api/resources/BankStatement.ts +20 -0
- package/ts/api/resources/Cerfa.ts +2 -2
- package/ts/api/resources/Tax.ts +9 -1
- package/ts/api/resources.ts +4 -0
- package/ts/types/Enum/Account.ts +4 -0
- package/ts/types/Enum/AnswerTypeValue.ts +16 -0
- package/ts/types/Enum/Aspone.ts +46 -0
- package/ts/types/Enum/BalanceSheetQuestion.ts +48 -5
- package/ts/types/Enum/BalanceSheetQuestionWording.ts +283 -0
- package/ts/types/Enum/BrandClementine.ts +5 -0
- package/ts/types/Enum/BrandComptalib.ts +2 -0
- package/ts/types/Enum/BrandLegalstart.ts +1 -0
- package/ts/types/Enum/Ged.ts +2 -1
- package/ts/types/Enum/GlobalRegime.ts +67 -21
- package/ts/types/Enum/LegalInformation.ts +8 -0
- package/ts/types/Enum/Prestation.ts +6 -0
- package/ts/types/Enum/Util.ts +4 -0
- package/ts/types/Interface/api/accountingIncome/ReadAccountingIncome.ts +3 -0
- package/ts/types/Interface/api/aspone/ReadInterchange.ts +75 -0
- package/ts/types/Interface/api/aspone/Util.ts +108 -0
- package/ts/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.ts +24 -3
- package/ts/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.ts +26 -2
- package/ts/types/Interface/api/bankStatement/QueryBankStatement.ts +15 -0
- package/ts/types/Interface/api/bankStatement/QueryTransactionBankStatement.ts +15 -0
- package/ts/types/Interface/api/bankStatement/ReadBankStatement.ts +6 -0
- package/ts/types/Interface/api/cerfa/CreateCerfa.ts +533 -178
- package/ts/types/Interface/api/cerfa/ReadCerfa.ts +4 -0
- package/ts/types/Interface/api/ocr/OcrTransactions.ts +24 -0
- package/ts/types/Interface/api/ocr/OcrTypeTransactions.ts +6 -0
- package/ts/types/Interface/api/registration/CreateRegistration.ts +28 -4
- package/ts/types/Interface/api/registration/DeclareRegistration.ts +11 -0
- package/ts/types/Interface/api/registration/ReadRegistration.ts +19 -1
- package/ts/types/Interface/api/tax/ReadCompanyTax.ts +12 -0
- package/ts/types/Interface/api/tax/ReadTax.ts +6 -1
- package/ts/types/Interface/api/taxDeadline/QueryTaxDeadline.ts +7 -1
- package/ts/types/Interface/models/IApiError.ts +1 -0
- package/ts/types/Interface/models/IBalanceSheetModule.ts +7 -4
- package/ts/types/Interface/models/IBalanceSheetQuestion.ts +1 -0
- package/ts/types/Interface/models/ICountry.ts +1 -0
- package/ts/types/Interface/models/ISocietySocial.ts +2 -2
- package/ts/types/index.ts +18 -4
- package/es/types/Enum/MealExpenseTresholds.d.ts.map +0 -1
- package/es/types/Enum/MealExpenseTresholds.js.map +0 -1
- package/es/types/Interface/models/IPrestationSocial.d.ts +0 -7
- package/es/types/Interface/models/IPrestationSocial.d.ts.map +0 -1
- package/es/types/Interface/models/IPrestationSocial.js +0 -2
- package/es/types/Interface/models/IPrestationSocial.js.map +0 -1
- package/js/types/Enum/MealExpenseTresholds.js.map +0 -1
- package/ts/types/Interface/models/IPrestationSocial.ts +0 -7
- /package/ts/types/Enum/{MealExpenseTresholds.ts → MealExpenseThresholds.ts} +0 -0
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
export type PaymentState = {
|
|
2
|
+
isError: boolean;
|
|
3
|
+
details: string[];
|
|
4
|
+
};
|
|
5
|
+
|
|
6
|
+
type Interchange = {
|
|
7
|
+
name: string |null;
|
|
8
|
+
label: string|null;
|
|
9
|
+
isError: boolean;
|
|
10
|
+
isFinal: boolean;
|
|
11
|
+
date: string|null;
|
|
12
|
+
detailledLabel?: string|null
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export type InterchangeState = Array<Interchange>;
|
|
16
|
+
|
|
17
|
+
export type InterchangeHistory = Interchange & { stateDetailsHistory: InterchangeState };
|
|
18
|
+
|
|
19
|
+
export class ReadDeclaration {
|
|
20
|
+
idDeclaration: string;
|
|
21
|
+
type: string;
|
|
22
|
+
declarationType: {
|
|
23
|
+
code: string| null;
|
|
24
|
+
label: string | null
|
|
25
|
+
};
|
|
26
|
+
payment: PaymentState;
|
|
27
|
+
dld: any;
|
|
28
|
+
states: InterchangeHistory[];
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export class ReadInterchange {
|
|
32
|
+
idDeposit: string;
|
|
33
|
+
date: string;
|
|
34
|
+
idInterchange: string;
|
|
35
|
+
history: InterchangeHistory[];
|
|
36
|
+
declarations: ReadDeclaration[];
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export class RedactorAddress {
|
|
40
|
+
adresseNumero: string;
|
|
41
|
+
adresseType: string | null;
|
|
42
|
+
adresseVoie: string;
|
|
43
|
+
adresseComplement: string;
|
|
44
|
+
adresseCodePostal: string;
|
|
45
|
+
adresseVille: string;
|
|
46
|
+
adresseCodePays: string;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export class Redactor {
|
|
50
|
+
siret: string;
|
|
51
|
+
designation: string;
|
|
52
|
+
designationSuite1: string;
|
|
53
|
+
adresse: RedactorAddress;
|
|
54
|
+
referenceDossier: string;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
type Tag = 'Valeur' | 'AdresseVille' | 'AdresseVoie' | 'AdresseCodePays' | 'AdresseComplement' | 'AdresseCodePostal' | 'AdresseHameau' | 'Telephone' | 'Designation' | 'DesignationSuite1' | 'DesignationSuite2' | 'Identifiant' | 'TexteLibre1' | 'TexteLibre2' | 'DesignationSuite3';
|
|
58
|
+
type Tags = Array<{ description: string; tag: Tag; value: any }>;
|
|
59
|
+
|
|
60
|
+
interface FieldForGeneration {
|
|
61
|
+
tag?: Tag;
|
|
62
|
+
tags?: Tags,
|
|
63
|
+
description?: string;
|
|
64
|
+
key: string;
|
|
65
|
+
value?: any;
|
|
66
|
+
isMultiple: boolean;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export interface PayloadForRegistration {
|
|
70
|
+
isTest: boolean;
|
|
71
|
+
redactor: Redactor;
|
|
72
|
+
indebted: any;
|
|
73
|
+
forms: Array<{ name: string; fields: FieldForGeneration[] }>;
|
|
74
|
+
xml: string
|
|
75
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { InterchangeHistory, PaymentState, Rof } from '../../..';
|
|
2
|
+
|
|
3
|
+
export class PasswordDigest {
|
|
4
|
+
nonce: string;
|
|
5
|
+
created: string;
|
|
6
|
+
passwordDigest: string;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export class WSDL {
|
|
10
|
+
deposit: string;
|
|
11
|
+
monitoring: string;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export class AccessKeys {
|
|
15
|
+
login: string;
|
|
16
|
+
password: string;
|
|
17
|
+
loginMB: string;
|
|
18
|
+
passwordMB: string;
|
|
19
|
+
apiKey: string;
|
|
20
|
+
wsdl: WSDL;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export class RegistrationParams {
|
|
24
|
+
subject: string;
|
|
25
|
+
idSociety: number;
|
|
26
|
+
file: {
|
|
27
|
+
buffer: Buffer,
|
|
28
|
+
token: string
|
|
29
|
+
};
|
|
30
|
+
forceTestMode: boolean;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export class RegistrationResponse {
|
|
34
|
+
status: number;
|
|
35
|
+
response: string;
|
|
36
|
+
depositId: string | null;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export class IndebtedIdentification {
|
|
40
|
+
identifiant: string;
|
|
41
|
+
designation: string;
|
|
42
|
+
adresseVoie: string;
|
|
43
|
+
adresseCodePostal: string;
|
|
44
|
+
adresseVille: string;
|
|
45
|
+
adresseCodePays: string;
|
|
46
|
+
rof: Rof;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export class StateHistory {
|
|
50
|
+
name: string[];
|
|
51
|
+
label: string[];
|
|
52
|
+
isError: string[];
|
|
53
|
+
isFinal: string[];
|
|
54
|
+
date: string[];
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export type DeclarationStateHistory = StateHistory & { stateDetailsHistory: Array<{ stateDetail: InterchangeHistory[] }> };
|
|
58
|
+
|
|
59
|
+
export type DeclarationType = { code: string[]; libelle: string[] };
|
|
60
|
+
|
|
61
|
+
export class InterchangeDeclaration {
|
|
62
|
+
interchange: [];
|
|
63
|
+
numInterchangeDestinataire:string[];
|
|
64
|
+
recipient: {
|
|
65
|
+
name: string[];
|
|
66
|
+
type: string[]
|
|
67
|
+
};
|
|
68
|
+
periodStart: string[];
|
|
69
|
+
periodEnd: string[];
|
|
70
|
+
nameDosier: string[];
|
|
71
|
+
numDossier: string[];
|
|
72
|
+
declarationId: string[];
|
|
73
|
+
declarantSiret: string[];
|
|
74
|
+
declarationType: DeclarationType[];
|
|
75
|
+
statesHistory: Array<{ stateHistory: DeclarationStateHistory[] }>;
|
|
76
|
+
dld: any[];
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export type DeclarationStates = {
|
|
80
|
+
status: number;
|
|
81
|
+
declarationType: {
|
|
82
|
+
code: string| null;
|
|
83
|
+
label: string | null
|
|
84
|
+
}; type: string;
|
|
85
|
+
payment: PaymentState;
|
|
86
|
+
states: InterchangeHistory[],
|
|
87
|
+
dld: any;
|
|
88
|
+
idDeclaration: string|null
|
|
89
|
+
};
|
|
90
|
+
export type InterchangeParsed = Array<{
|
|
91
|
+
interchange: Array<{
|
|
92
|
+
depositId: string[];
|
|
93
|
+
depositDate: string[];
|
|
94
|
+
depositSubject: string[];
|
|
95
|
+
interchangeId: string[];
|
|
96
|
+
numADS: string[];
|
|
97
|
+
adsDate: string[];
|
|
98
|
+
alias: string[];
|
|
99
|
+
version: string[];
|
|
100
|
+
isTest: string[];
|
|
101
|
+
deposantAccount: string[];
|
|
102
|
+
teleProdecure: string[];
|
|
103
|
+
statesHistory: Array<{
|
|
104
|
+
stateHistory: DeclarationStateHistory[]
|
|
105
|
+
}>;
|
|
106
|
+
declarationIds: string[];
|
|
107
|
+
}>
|
|
108
|
+
}>;
|
|
@@ -4,16 +4,31 @@ import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
|
4
4
|
|
|
5
5
|
export class CreateBalanceSheetModuleForm {
|
|
6
6
|
@ApiPropertyOptional()
|
|
7
|
-
|
|
7
|
+
@IsBoolean()
|
|
8
|
+
@ToBoolean()
|
|
9
|
+
@IsOptional()
|
|
10
|
+
inventory: boolean | null;
|
|
8
11
|
|
|
9
12
|
@ApiPropertyOptional()
|
|
10
|
-
|
|
13
|
+
@IsBoolean()
|
|
14
|
+
@ToBoolean()
|
|
15
|
+
@IsOptional()
|
|
16
|
+
recoveryImmobilization: boolean | null;
|
|
17
|
+
|
|
18
|
+
@ApiPropertyOptional()
|
|
19
|
+
@IsBoolean()
|
|
20
|
+
@ToBoolean()
|
|
21
|
+
@IsOptional()
|
|
22
|
+
incomeAllocation:boolean | null;
|
|
11
23
|
|
|
12
24
|
// @ApiPropertyOptional()
|
|
13
25
|
// deadlinerecoveryImmobilization: boolean;
|
|
14
26
|
|
|
15
27
|
@ApiPropertyOptional()
|
|
16
|
-
|
|
28
|
+
@IsBoolean()
|
|
29
|
+
@ToBoolean()
|
|
30
|
+
@IsOptional()
|
|
31
|
+
salariesFile?: boolean | null;
|
|
17
32
|
|
|
18
33
|
@ApiPropertyOptional()
|
|
19
34
|
@IsBoolean()
|
|
@@ -63,6 +78,12 @@ export class CreateBalanceSheetModuleForm {
|
|
|
63
78
|
@IsOptional()
|
|
64
79
|
hasCheckedVAT?: boolean | null;
|
|
65
80
|
|
|
81
|
+
@ApiPropertyOptional()
|
|
82
|
+
@IsBoolean()
|
|
83
|
+
@ToBoolean()
|
|
84
|
+
@IsOptional()
|
|
85
|
+
hasCheckedCompanyTax?: boolean | null;
|
|
86
|
+
|
|
66
87
|
@ApiProperty()
|
|
67
88
|
idExercice: number;
|
|
68
89
|
}
|
|
@@ -4,7 +4,22 @@ import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
|
4
4
|
|
|
5
5
|
export class UpdateBalanceSheetModuleForm {
|
|
6
6
|
@ApiPropertyOptional()
|
|
7
|
-
|
|
7
|
+
@IsBoolean()
|
|
8
|
+
@ToBoolean()
|
|
9
|
+
@IsOptional()
|
|
10
|
+
inventory: boolean | null;
|
|
11
|
+
|
|
12
|
+
@ApiPropertyOptional()
|
|
13
|
+
@IsBoolean()
|
|
14
|
+
@ToBoolean()
|
|
15
|
+
@IsOptional()
|
|
16
|
+
recoveryImmobilization: boolean | null;
|
|
17
|
+
|
|
18
|
+
@ApiPropertyOptional()
|
|
19
|
+
@IsBoolean()
|
|
20
|
+
@ToBoolean()
|
|
21
|
+
@IsOptional()
|
|
22
|
+
incomeAllocation:boolean | null;
|
|
8
23
|
|
|
9
24
|
@ApiPropertyOptional()
|
|
10
25
|
loanToDeclare?: boolean;
|
|
@@ -37,7 +52,10 @@ export class UpdateBalanceSheetModuleForm {
|
|
|
37
52
|
hasProviderInvoiceNotReceived?: boolean | null;
|
|
38
53
|
|
|
39
54
|
@ApiPropertyOptional()
|
|
40
|
-
|
|
55
|
+
@IsBoolean()
|
|
56
|
+
@ToBoolean()
|
|
57
|
+
@IsOptional()
|
|
58
|
+
salariesFile?: boolean | null;
|
|
41
59
|
|
|
42
60
|
@ApiPropertyOptional()
|
|
43
61
|
@IsBoolean()
|
|
@@ -63,6 +81,12 @@ export class UpdateBalanceSheetModuleForm {
|
|
|
63
81
|
@IsOptional()
|
|
64
82
|
hasCheckedVAT?: boolean | null;
|
|
65
83
|
|
|
84
|
+
@ApiPropertyOptional()
|
|
85
|
+
@IsBoolean()
|
|
86
|
+
@ToBoolean()
|
|
87
|
+
@IsOptional()
|
|
88
|
+
hasCheckedCompanyTax?: boolean | null;
|
|
89
|
+
|
|
66
90
|
@ApiPropertyOptional()
|
|
67
91
|
idExercice?: number;
|
|
68
92
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IsNotEmpty, IsNumber, IsOptional } from 'class-validator';
|
|
2
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
|
+
|
|
4
|
+
export class UploadBankStatement {
|
|
5
|
+
@IsOptional()
|
|
6
|
+
@ApiPropertyOptional()
|
|
7
|
+
tokenCsv?: string;
|
|
8
|
+
|
|
9
|
+
@ApiProperty()
|
|
10
|
+
@IsNumber()
|
|
11
|
+
@IsNotEmpty()
|
|
12
|
+
idBankAccount: number;
|
|
13
|
+
|
|
14
|
+
file: File;
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IsNumber } from 'class-validator';
|
|
2
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../..';
|
|
3
|
+
import { OcrTransactionDetails } from '../ocr/OcrTypeTransactions';
|
|
4
|
+
|
|
5
|
+
export class QueryTransactionBankStatement {
|
|
6
|
+
@ApiPropertyOptional()
|
|
7
|
+
accountingFile?: { id: number };
|
|
8
|
+
|
|
9
|
+
@ApiProperty()
|
|
10
|
+
transactions: OcrTransactionDetails[];
|
|
11
|
+
|
|
12
|
+
@ApiProperty()
|
|
13
|
+
@IsNumber()
|
|
14
|
+
idBankAccount?: number;
|
|
15
|
+
}
|