@silexpert/core 0.4.27 → 0.4.30
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/Immobilization.d.ts +4 -0
- package/es/api/resources/Immobilization.d.ts.map +1 -1
- package/es/api/resources/Immobilization.js +3 -0
- package/es/api/resources/Immobilization.js.map +1 -1
- package/es/api/resources/Loan.d.ts +11 -0
- package/es/api/resources/Loan.d.ts.map +1 -0
- package/es/api/resources/Loan.js +13 -0
- package/es/api/resources/Loan.js.map +1 -0
- package/es/api/resources/PromoCode.d.ts +9 -0
- package/es/api/resources/PromoCode.d.ts.map +1 -0
- package/es/api/resources/PromoCode.js +16 -0
- package/es/api/resources/PromoCode.js.map +1 -0
- package/es/api/resources/Society.d.ts +2 -1
- package/es/api/resources/Society.d.ts.map +1 -1
- package/es/api/resources/Society.js +3 -0
- package/es/api/resources/Society.js.map +1 -1
- package/es/api/resources/SocietyPromoCode.d.ts +8 -0
- package/es/api/resources/SocietyPromoCode.d.ts.map +1 -0
- package/es/api/resources/SocietyPromoCode.js +13 -0
- package/es/api/resources/SocietyPromoCode.js.map +1 -0
- package/es/api/resources/Stocks.d.ts +11 -0
- package/es/api/resources/Stocks.d.ts.map +1 -0
- package/es/api/resources/Stocks.js +22 -0
- package/es/api/resources/Stocks.js.map +1 -0
- package/es/api/resources.d.ts +8 -0
- package/es/api/resources.d.ts.map +1 -1
- package/es/api/resources.js +8 -0
- package/es/api/resources.js.map +1 -1
- package/es/types/Enum/Activity.d.ts +7 -0
- package/es/types/Enum/Activity.d.ts.map +1 -0
- package/es/types/Enum/Activity.js +8 -0
- package/es/types/Enum/Activity.js.map +1 -0
- package/es/types/Enum/CerfaType.d.ts +15 -0
- package/es/types/Enum/CerfaType.d.ts.map +1 -0
- package/es/types/Enum/CerfaType.js +15 -0
- package/es/types/Enum/CerfaType.js.map +1 -0
- package/es/types/Enum/FiscalRegime.d.ts +6 -0
- package/es/types/Enum/FiscalRegime.d.ts.map +1 -0
- package/es/types/Enum/FiscalRegime.js +7 -0
- package/es/types/Enum/FiscalRegime.js.map +1 -0
- package/es/types/Enum/GlobalRegime.d.ts +30 -0
- package/es/types/Enum/GlobalRegime.d.ts.map +1 -0
- package/es/types/Enum/GlobalRegime.js +412 -0
- package/es/types/Enum/GlobalRegime.js.map +1 -0
- package/es/types/Enum/ImmobilizationType.d.ts +46 -0
- package/es/types/Enum/ImmobilizationType.d.ts.map +1 -1
- package/es/types/Enum/ImmobilizationType.js +47 -1
- package/es/types/Enum/ImmobilizationType.js.map +1 -1
- package/es/types/Enum/ProfitsType.d.ts +5 -0
- package/es/types/Enum/ProfitsType.d.ts.map +1 -0
- package/es/types/Enum/ProfitsType.js +6 -0
- package/es/types/Enum/ProfitsType.js.map +1 -0
- package/es/types/Enum/StockType.d.ts +15 -55
- package/es/types/Enum/StockType.d.ts.map +1 -1
- package/es/types/Enum/StockType.js +24 -0
- package/es/types/Enum/StockType.js.map +1 -1
- package/es/types/Enum/TaxSystem.d.ts +6 -0
- package/es/types/Enum/TaxSystem.d.ts.map +1 -0
- package/es/types/Enum/TaxSystem.js +7 -0
- package/es/types/Enum/TaxSystem.js.map +1 -0
- package/es/types/Interface/api/balanceBankAccount/CreateBudgetBalanceBankAccount.d.ts +5 -0
- package/es/types/Interface/api/balanceBankAccount/CreateBudgetBalanceBankAccount.d.ts.map +1 -0
- package/es/types/Interface/api/balanceBankAccount/CreateBudgetBalanceBankAccount.js +22 -0
- package/es/types/Interface/api/balanceBankAccount/CreateBudgetBalanceBankAccount.js.map +1 -0
- package/es/types/Interface/api/immobilization/CreateImmobilization.d.ts +7 -1
- package/es/types/Interface/api/immobilization/CreateImmobilization.d.ts.map +1 -1
- package/es/types/Interface/api/immobilization/CreateImmobilization.js +19 -1
- package/es/types/Interface/api/immobilization/CreateImmobilization.js.map +1 -1
- package/es/types/Interface/api/loan/CreateLoan.d.ts +10 -0
- package/es/types/Interface/api/loan/CreateLoan.d.ts.map +1 -0
- package/es/types/Interface/api/loan/CreateLoan.js +41 -0
- package/es/types/Interface/api/loan/CreateLoan.js.map +1 -0
- package/es/types/Interface/api/promoCode/CreatePromoCode.d.ts +12 -0
- package/es/types/Interface/api/promoCode/CreatePromoCode.d.ts.map +1 -0
- package/es/types/Interface/api/promoCode/CreatePromoCode.js +49 -0
- package/es/types/Interface/api/promoCode/CreatePromoCode.js.map +1 -0
- package/es/types/Interface/api/promoCode/UpdatePromoCode.d.ts +12 -0
- package/es/types/Interface/api/promoCode/UpdatePromoCode.d.ts.map +1 -0
- package/es/types/Interface/api/promoCode/UpdatePromoCode.js +49 -0
- package/es/types/Interface/api/promoCode/UpdatePromoCode.js.map +1 -0
- package/es/types/Interface/api/society/UpdateSociety.d.ts +3 -0
- package/es/types/Interface/api/society/UpdateSociety.d.ts.map +1 -1
- package/es/types/Interface/api/society/UpdateSociety.js +12 -0
- package/es/types/Interface/api/society/UpdateSociety.js.map +1 -1
- package/es/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.d.ts +5 -0
- package/es/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.d.ts.map +1 -0
- package/es/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.js +21 -0
- package/es/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.js.map +1 -0
- package/es/types/Interface/api/stock/StockEntries.d.ts +20 -0
- package/es/types/Interface/api/stock/StockEntries.d.ts.map +1 -0
- package/es/types/Interface/api/stock/StockEntries.js +114 -0
- package/es/types/Interface/api/stock/StockEntries.js.map +1 -0
- package/es/types/Interface/api/stock/Stocks.d.ts +14 -0
- package/es/types/Interface/api/stock/Stocks.d.ts.map +1 -0
- package/es/types/Interface/api/stock/Stocks.js +2 -0
- package/es/types/Interface/api/stock/Stocks.js.map +1 -0
- package/es/types/Interface/api/stock/StocksDepreciationInterface.d.ts +8 -0
- package/es/types/Interface/api/stock/StocksDepreciationInterface.d.ts.map +1 -0
- package/es/types/Interface/api/stock/StocksDepreciationInterface.js +2 -0
- package/es/types/Interface/api/stock/StocksDepreciationInterface.js.map +1 -0
- package/es/types/Interface/api/stock/StocksType.d.ts +7 -0
- package/es/types/Interface/api/stock/StocksType.d.ts.map +1 -0
- package/es/types/Interface/api/stock/StocksType.js +2 -0
- package/es/types/Interface/api/stock/StocksType.js.map +1 -0
- package/es/types/Interface/models/IApiError.d.ts +2 -0
- 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/IBalanceSheetModule.d.ts +11 -0
- package/es/types/Interface/models/IBalanceSheetModule.d.ts.map +1 -0
- package/es/types/Interface/models/IBalanceSheetModule.js +2 -0
- package/es/types/Interface/models/IBalanceSheetModule.js.map +1 -0
- package/es/types/Interface/models/ICustomerTva.d.ts +2 -0
- package/es/types/Interface/models/ICustomerTva.d.ts.map +1 -1
- package/es/types/Interface/models/ICustomerTva.js.map +1 -1
- package/es/types/Interface/models/IExerciceComment.d.ts +13 -0
- package/es/types/Interface/models/IExerciceComment.d.ts.map +1 -0
- package/es/types/Interface/models/IExerciceComment.js +2 -0
- package/es/types/Interface/models/IExerciceComment.js.map +1 -0
- package/es/types/Interface/models/IExerciceDetail.d.ts +2 -0
- package/es/types/Interface/models/IExerciceDetail.d.ts.map +1 -1
- package/es/types/Interface/models/IExerciceDetail.js.map +1 -1
- package/es/types/Interface/models/IImmobilization.d.ts +3 -0
- package/es/types/Interface/models/IImmobilization.d.ts.map +1 -1
- package/es/types/Interface/models/IImmobilization.js.map +1 -1
- package/es/types/Interface/models/ILoan.d.ts +18 -0
- package/es/types/Interface/models/ILoan.d.ts.map +1 -0
- package/es/types/Interface/models/ILoan.js +2 -0
- package/es/types/Interface/models/ILoan.js.map +1 -0
- package/es/types/Interface/models/IPromoCode.d.ts +15 -0
- package/es/types/Interface/models/IPromoCode.d.ts.map +1 -0
- package/es/types/Interface/models/IPromoCode.js +2 -0
- package/es/types/Interface/models/IPromoCode.js.map +1 -0
- package/es/types/Interface/models/IRefund.d.ts +3 -3
- package/es/types/Interface/models/IRefund.d.ts.map +1 -1
- package/es/types/Interface/models/IRefund.js.map +1 -1
- package/es/types/Interface/models/ISocietyDetail.d.ts +5 -1
- package/es/types/Interface/models/ISocietyDetail.d.ts.map +1 -1
- package/es/types/Interface/models/ISocietyDetail.js.map +1 -1
- package/es/types/Interface/models/ISocietyPromoCode.d.ts +8 -0
- package/es/types/Interface/models/ISocietyPromoCode.d.ts.map +1 -0
- package/es/types/Interface/models/ISocietyPromoCode.js +2 -0
- package/es/types/Interface/models/ISocietyPromoCode.js.map +1 -0
- package/es/types/Interface/models/IStock.d.ts +11 -0
- package/es/types/Interface/models/IStock.d.ts.map +1 -0
- package/es/types/Interface/models/IStock.js +2 -0
- package/es/types/Interface/models/IStock.js.map +1 -0
- 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/index.d.ts +19 -0
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +21 -0
- package/es/types/index.js.map +1 -1
- package/js/api/resources/Immobilization.js +4 -0
- package/js/api/resources/Immobilization.js.map +1 -1
- package/js/api/resources/Loan.js +26 -0
- package/js/api/resources/Loan.js.map +1 -0
- package/js/api/resources/PromoCode.js +30 -0
- package/js/api/resources/PromoCode.js.map +1 -0
- package/js/api/resources/Society.js +4 -0
- package/js/api/resources/Society.js.map +1 -1
- package/js/api/resources/SocietyPromoCode.js +26 -0
- package/js/api/resources/SocietyPromoCode.js.map +1 -0
- package/js/api/resources/Stocks.js +44 -0
- package/js/api/resources/Stocks.js.map +1 -0
- package/js/api/resources.js +13 -1
- package/js/api/resources.js.map +1 -1
- package/js/types/Enum/Activity.js +14 -0
- package/js/types/Enum/Activity.js.map +1 -0
- package/js/types/Enum/CerfaType.js +20 -0
- package/js/types/Enum/CerfaType.js.map +1 -0
- package/js/types/Enum/FiscalRegime.js +13 -0
- package/js/types/Enum/FiscalRegime.js.map +1 -0
- package/js/types/Enum/GlobalRegime.js +376 -0
- package/js/types/Enum/GlobalRegime.js.map +1 -0
- package/js/types/Enum/ImmobilizationType.js +85 -37
- package/js/types/Enum/ImmobilizationType.js.map +1 -1
- package/js/types/Enum/ProfitsType.js +12 -0
- package/js/types/Enum/ProfitsType.js.map +1 -0
- package/js/types/Enum/StockType.js +25 -1
- package/js/types/Enum/StockType.js.map +1 -1
- package/js/types/Enum/TaxSystem.js +13 -0
- package/js/types/Enum/TaxSystem.js.map +1 -0
- package/js/types/Interface/api/balanceBankAccount/CreateBudgetBalanceBankAccount.js +31 -0
- package/js/types/Interface/api/balanceBankAccount/CreateBudgetBalanceBankAccount.js.map +1 -0
- package/js/types/Interface/api/immobilization/CreateImmobilization.js +17 -1
- package/js/types/Interface/api/immobilization/CreateImmobilization.js.map +1 -1
- package/js/types/Interface/api/loan/CreateLoan.js +39 -0
- package/js/types/Interface/api/loan/CreateLoan.js.map +1 -0
- package/js/types/Interface/api/promoCode/CreatePromoCode.js +43 -0
- package/js/types/Interface/api/promoCode/CreatePromoCode.js.map +1 -0
- package/js/types/Interface/api/promoCode/UpdatePromoCode.js +43 -0
- package/js/types/Interface/api/promoCode/UpdatePromoCode.js.map +1 -0
- package/js/types/Interface/api/society/UpdateSociety.js +6 -0
- package/js/types/Interface/api/society/UpdateSociety.js.map +1 -1
- package/js/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.js +29 -0
- package/js/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.js.map +1 -0
- package/js/types/Interface/api/stock/StockEntries.js +98 -0
- package/js/types/Interface/api/stock/StockEntries.js.map +1 -0
- package/js/types/Interface/api/stock/Stocks.js +6 -0
- package/js/types/Interface/api/stock/Stocks.js.map +1 -0
- package/js/types/Interface/api/stock/StocksDepreciationInterface.js +6 -0
- package/js/types/Interface/api/stock/StocksDepreciationInterface.js.map +1 -0
- package/js/types/Interface/api/stock/StocksType.js +6 -0
- package/js/types/Interface/api/stock/StocksType.js.map +1 -0
- package/js/types/Interface/models/IApiError.js +3 -1
- package/js/types/Interface/models/IApiError.js.map +1 -1
- package/js/types/Interface/models/IBalanceSheetModule.js +6 -0
- package/js/types/Interface/models/IBalanceSheetModule.js.map +1 -0
- package/js/types/Interface/models/IExerciceComment.js +6 -0
- package/js/types/Interface/models/IExerciceComment.js.map +1 -0
- package/js/types/Interface/models/ILoan.js +6 -0
- package/js/types/Interface/models/ILoan.js.map +1 -0
- package/js/types/Interface/models/IPromoCode.js +6 -0
- package/js/types/Interface/models/IPromoCode.js.map +1 -0
- package/js/types/Interface/models/ISocietyPromoCode.js +6 -0
- package/js/types/Interface/models/ISocietyPromoCode.js.map +1 -0
- package/js/types/Interface/models/IStock.js +6 -0
- package/js/types/Interface/models/IStock.js.map +1 -0
- package/js/types/index.js +228 -0
- package/js/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Immobilization.ts +4 -0
- package/ts/api/resources/Loan.ts +17 -0
- package/ts/api/resources/PromoCode.ts +20 -0
- package/ts/api/resources/Society.ts +4 -0
- package/ts/api/resources/SocietyPromoCode.ts +16 -0
- package/ts/api/resources/Stocks.ts +28 -0
- package/ts/api/resources.ts +8 -0
- package/ts/types/Enum/Activity.ts +6 -0
- package/ts/types/Enum/CerfaType.ts +14 -0
- package/ts/types/Enum/FiscalRegime.ts +5 -0
- package/ts/types/Enum/GlobalRegime.ts +441 -0
- package/ts/types/Enum/ImmobilizationType.ts +51 -4
- package/ts/types/Enum/ProfitsType.ts +4 -0
- package/ts/types/Enum/StockType.ts +31 -2
- package/ts/types/Enum/TaxSystem.ts +5 -0
- package/ts/types/Interface/api/balanceBankAccount/CreateBudgetBalanceBankAccount.ts +10 -0
- package/ts/types/Interface/api/immobilization/CreateImmobilization.ts +16 -2
- package/ts/types/Interface/api/loan/CreateLoan.ts +24 -0
- package/ts/types/Interface/api/promoCode/CreatePromoCode.ts +30 -0
- package/ts/types/Interface/api/promoCode/UpdatePromoCode.ts +30 -0
- package/ts/types/Interface/api/society/UpdateSociety.ts +9 -0
- package/ts/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.ts +9 -0
- package/ts/types/Interface/api/stock/StockEntries.ts +115 -0
- package/ts/types/Interface/api/stock/Stocks.ts +14 -0
- package/ts/types/Interface/api/stock/StocksDepreciationInterface.ts +8 -0
- package/ts/types/Interface/api/stock/StocksType.ts +6 -0
- package/ts/types/Interface/models/IApiError.ts +2 -0
- package/ts/types/Interface/models/IBalanceSheetModule.ts +11 -0
- package/ts/types/Interface/models/ICustomerTva.ts +2 -0
- package/ts/types/Interface/models/IExerciceComment.ts +16 -0
- package/ts/types/Interface/models/IExerciceDetail.ts +2 -0
- package/ts/types/Interface/models/IImmobilization.ts +3 -0
- package/ts/types/Interface/models/ILoan.ts +20 -0
- package/ts/types/Interface/models/IPromoCode.ts +14 -0
- package/ts/types/Interface/models/IRefund.ts +3 -3
- package/ts/types/Interface/models/ISocietyDetail.ts +5 -1
- package/ts/types/Interface/models/ISocietyPromoCode.ts +7 -0
- package/ts/types/Interface/models/IStock.ts +10 -0
- package/ts/types/Interface/models/IUser.ts +1 -0
- package/ts/types/index.ts +21 -0
|
@@ -33,12 +33,14 @@ export enum Code {
|
|
|
33
33
|
immobilizationNotSetWithAccountStartTwo = 'immobilization_not_set_with_account_start_two',
|
|
34
34
|
immobilizationCanOnlyBeSetForDebit = 'immobilization_can_only_be_set_for_debit',
|
|
35
35
|
immobilizationCanNotBeSetWithoutAccount = 'immobilization_can_not_be_set_without_account',
|
|
36
|
+
immobilizationNotExist = 'immobilization_not_exist',
|
|
36
37
|
accountIsNotDepreciable = 'account_is_not_depreciable',
|
|
37
38
|
invalidNetBookValue = 'invalid_net_book_value',
|
|
38
39
|
noExerciceFoundForImmobilization = 'no_exercice_found_for_immobilization',
|
|
39
40
|
amountImmobilizationLessThanAmountTransaction = 'amount_immobilization_less_than_amount_transaction',
|
|
40
41
|
amountImmobilizationLessThanAmountAllTaxIncluded = 'amount_immobilization_less_than_amount_all_tax_included',
|
|
41
42
|
amountImmobilizationIsGreaterThanTotalAmountTransactions = 'amount_immobilization_is_greater_than_total_amount_transactions',
|
|
43
|
+
immobilizationNotFound = 'immobilization_not_found',
|
|
42
44
|
|
|
43
45
|
// PDF error
|
|
44
46
|
mergeFailed = 'merge_failed',
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// balanceSheetModule
|
|
2
|
+
export interface IBalanceSheetModule {
|
|
3
|
+
id?: number;
|
|
4
|
+
inventory: boolean;
|
|
5
|
+
deadlinerecoveryImmobilization: boolean;
|
|
6
|
+
salariesFile: boolean;
|
|
7
|
+
idSociety: number;
|
|
8
|
+
idExercice: number;
|
|
9
|
+
createdAt?: Date | null;
|
|
10
|
+
updatedAt?: Date | null;
|
|
11
|
+
}
|
|
@@ -17,6 +17,8 @@ export interface ICustomerTva {
|
|
|
17
17
|
amountBaseTva: number | null;
|
|
18
18
|
comment: string | null;
|
|
19
19
|
token: string | null;
|
|
20
|
+
acceptation: boolean | null;
|
|
21
|
+
acceptationDate: Date | null;
|
|
20
22
|
idMail: number | null;
|
|
21
23
|
idVatDeclaration: number | null;
|
|
22
24
|
createdAt?: Date | null;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { IExercice } from './IExercice';
|
|
2
|
+
import { IUser } from './IUser';
|
|
3
|
+
|
|
4
|
+
// exerciceComments
|
|
5
|
+
export interface IExerciceComment {
|
|
6
|
+
id?: number;
|
|
7
|
+
comment: string;
|
|
8
|
+
idExercice: number;
|
|
9
|
+
idUser: number;
|
|
10
|
+
createdAt?: Date | null;
|
|
11
|
+
updatedAt?: Date | null;
|
|
12
|
+
|
|
13
|
+
// Associations
|
|
14
|
+
exercice?: IExercice;
|
|
15
|
+
user?: IUser;
|
|
16
|
+
}
|
|
@@ -10,6 +10,8 @@ export interface IExerciceDetail {
|
|
|
10
10
|
checklistMaj: boolean | null;
|
|
11
11
|
statutReview: number | null;
|
|
12
12
|
isDone: boolean;
|
|
13
|
+
acceptation: boolean | null;
|
|
14
|
+
acceptationDate: Date | null;
|
|
13
15
|
idExercice: number;
|
|
14
16
|
createdAt?: Date | null;
|
|
15
17
|
updatedAt?: Date | null;
|
|
@@ -7,12 +7,15 @@ export interface IImmobilization {
|
|
|
7
7
|
reference: string;
|
|
8
8
|
designation: string;
|
|
9
9
|
quantity: number;
|
|
10
|
+
quantityTrashed?: number;
|
|
11
|
+
quantitySelled?: number;
|
|
10
12
|
acquisitionDate?: Date; // si il n'y a pas d'acquisition date, c'est un acompte
|
|
11
13
|
duration: number;
|
|
12
14
|
provider: string;
|
|
13
15
|
depreciationMethod?: DepreciationMethods;
|
|
14
16
|
amountTotalImmobilization : number;
|
|
15
17
|
amountAlreadyDeducted?: number;
|
|
18
|
+
idAccount?: number | null;
|
|
16
19
|
idSociety: number;
|
|
17
20
|
createdAt?: Date | null;
|
|
18
21
|
updatedAt?: Date | null;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ISociety } from './ISociety';
|
|
2
|
+
import { IExercice } from './IExercice';
|
|
3
|
+
|
|
4
|
+
export interface ILoan {
|
|
5
|
+
id?: number;
|
|
6
|
+
name: string;
|
|
7
|
+
lenderDesignation: string;
|
|
8
|
+
number: number;
|
|
9
|
+
amount: number;
|
|
10
|
+
assetBeforeExercice: number;
|
|
11
|
+
assetAfterExercice: number;
|
|
12
|
+
idExercice: number;
|
|
13
|
+
idSociety: number;
|
|
14
|
+
createdAt?: Date | null;
|
|
15
|
+
updatedAt?: Date | null;
|
|
16
|
+
|
|
17
|
+
// Associations
|
|
18
|
+
society?: ISociety;
|
|
19
|
+
exercice?: IExercice
|
|
20
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface IPromoCode {
|
|
2
|
+
id?: number;
|
|
3
|
+
name: string;
|
|
4
|
+
microMonthly?: string | null;
|
|
5
|
+
microMonthlyDescription?: string | null;
|
|
6
|
+
microYearly?: string | null;
|
|
7
|
+
microYearlyDescription?: string | null;
|
|
8
|
+
businessMonthly?: string | null;
|
|
9
|
+
businessMonthlyDescription?: string | null;
|
|
10
|
+
businessYearly?: string | null;
|
|
11
|
+
businessYearlyDescription?: string | null;
|
|
12
|
+
createdAt?: Date | null;
|
|
13
|
+
updatedAt?: Date | null;
|
|
14
|
+
}
|
|
@@ -6,14 +6,14 @@ import { IUser } from './IUser';
|
|
|
6
6
|
// refunds
|
|
7
7
|
export interface IRefund {
|
|
8
8
|
id?: number;
|
|
9
|
-
amount: number;
|
|
9
|
+
amount: number | null;
|
|
10
10
|
comment: string | null;
|
|
11
|
-
refundDate: Date;
|
|
11
|
+
refundDate: Date | null;
|
|
12
12
|
processed: boolean;
|
|
13
13
|
idRefundMotif: number;
|
|
14
14
|
idSociety: number;
|
|
15
15
|
idUserDemand: number;
|
|
16
|
-
idFile: number;
|
|
16
|
+
idFile: number | null;
|
|
17
17
|
createdAt?: Date | null;
|
|
18
18
|
updatedAt?: Date | null;
|
|
19
19
|
|
|
@@ -29,7 +29,7 @@ export interface ISocietyDetail {
|
|
|
29
29
|
tauxTvaComment: string | null;
|
|
30
30
|
remarqueComment: string | null;
|
|
31
31
|
remarqueCommentCab: string | null;
|
|
32
|
-
acceptation:
|
|
32
|
+
acceptation: number | null;
|
|
33
33
|
userIdAcceptation: number | null;
|
|
34
34
|
lab: boolean | null;
|
|
35
35
|
userIdLab: number | null;
|
|
@@ -94,6 +94,10 @@ export interface ISocietyDetail {
|
|
|
94
94
|
notificationForConstitution: boolean;
|
|
95
95
|
notificationForOtherMissions: boolean | null;
|
|
96
96
|
takeKnowledge: boolean;
|
|
97
|
+
bankSynchronisationState: number | null;
|
|
98
|
+
platformExplanation:number | null;
|
|
99
|
+
mobileAppInstallationProposal:number | null;
|
|
100
|
+
verifiedDocuments: boolean | null;
|
|
97
101
|
createdAt?: Date | null;
|
|
98
102
|
updatedAt?: Date | null;
|
|
99
103
|
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface IStock {
|
|
2
|
+
id?: number;
|
|
3
|
+
dateValue: Date;
|
|
4
|
+
idAccountingTransaction: number;
|
|
5
|
+
idAccountingTransactionExtourne: number;
|
|
6
|
+
idAccountingTransactionDepreciation: number | null;
|
|
7
|
+
idAccountingTransactionDepreciationExtourne: number | null;
|
|
8
|
+
idAccountReferral: number;
|
|
9
|
+
idSociety: number;
|
|
10
|
+
}
|
package/ts/types/index.ts
CHANGED
|
@@ -71,6 +71,7 @@ export * from './Interface/models/IEngagementOcrExtraction';
|
|
|
71
71
|
export * from './Interface/models/IEstimateInvoiceRepeat';
|
|
72
72
|
export * from './Interface/models/IEstimateInvoice';
|
|
73
73
|
export * from './Interface/models/IExerciceDetail';
|
|
74
|
+
export * from './Interface/models/IExerciceComment';
|
|
74
75
|
export * from './Interface/models/IExercice';
|
|
75
76
|
export * from './Interface/models/IExercicePrestation';
|
|
76
77
|
export * from './Interface/models/IFailedLoginAttempt';
|
|
@@ -274,6 +275,11 @@ export * from './Interface/models/IField';
|
|
|
274
275
|
export * from './Interface/models/IFecFile';
|
|
275
276
|
export * from './Interface/models/ISuggestion';
|
|
276
277
|
export * from './Interface/models/ISalariesFile';
|
|
278
|
+
export * from './Interface/models/IPromoCode';
|
|
279
|
+
export * from './Interface/models/ILoan';
|
|
280
|
+
export * from './Interface/models/IBalanceSheetModule';
|
|
281
|
+
export * from './Interface/models/IStock';
|
|
282
|
+
export * from './Interface/models/ISocietyPromoCode';
|
|
277
283
|
|
|
278
284
|
// Forms
|
|
279
285
|
export * from './Form/FormAuthenticate';
|
|
@@ -314,6 +320,12 @@ export * from './Enum/SponsorshipState';
|
|
|
314
320
|
export * from './Enum/Ged';
|
|
315
321
|
export * from './Enum/SendInBlueList';
|
|
316
322
|
export * from './Enum/TypeBankConnection';
|
|
323
|
+
export * from './Enum/GlobalRegime';
|
|
324
|
+
export * from './Enum/TaxSystem';
|
|
325
|
+
export * from './Enum/FiscalRegime';
|
|
326
|
+
export * from './Enum/Activity';
|
|
327
|
+
export * from './Enum/CerfaType';
|
|
328
|
+
export * from './Enum/StockType';
|
|
317
329
|
|
|
318
330
|
// Interfaces API
|
|
319
331
|
export * from './Interface/api/businessPartner/ReadBusinessPartner';
|
|
@@ -349,6 +361,8 @@ export * from './Interface/api/BasePaginate';
|
|
|
349
361
|
export * from './Interface/api/BaseRequest';
|
|
350
362
|
export * from './Interface/api/generalLedger/IGeneralLedgerAccount';
|
|
351
363
|
export * from './Interface/api/generalLedger/IGeneralLedgerAccountingEntry';
|
|
364
|
+
// export * from './Interface/api/stock/stockEntries';
|
|
365
|
+
export * from './Interface/api/stock/StockEntries';
|
|
352
366
|
|
|
353
367
|
// export * from './Interface/api/survey/QuerySurvey';
|
|
354
368
|
export * from './Interface/api/survey/ReadSurvey';
|
|
@@ -386,3 +400,10 @@ export * from './Interface/api/shine/GetConnect';
|
|
|
386
400
|
export * from './Interface/api/shine/CreateShineAccount';
|
|
387
401
|
export * from './Interface/api/shine/CreateShineTransactions';
|
|
388
402
|
export * from './Interface/api/shine/ConnectResponse';
|
|
403
|
+
export * from './Interface/api/promoCode/UpdatePromoCode';
|
|
404
|
+
export * from './Interface/api/promoCode/CreatePromoCode';
|
|
405
|
+
export * from './Interface/api/balanceBankAccount/CreateBudgetBalanceBankAccount';
|
|
406
|
+
export * from './Interface/api/loan/CreateLoan';
|
|
407
|
+
export * from './Interface/api/stock/StocksType';
|
|
408
|
+
// export * from './Interface/api/stock/StockEntries';
|
|
409
|
+
export * from './Interface/api/societyPromoCode/CreateSocietyPromoCode';
|