@silexpert/core 0.1.5 → 0.1.6
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/types/Enum/ImmobilizationType.d.ts +399 -0
- package/es/types/Enum/ImmobilizationType.d.ts.map +1 -0
- package/es/types/Enum/ImmobilizationType.js +399 -0
- package/es/types/Enum/ImmobilizationType.js.map +1 -0
- package/es/types/Enum/Vat.d.ts +9 -0
- package/es/types/Enum/Vat.d.ts.map +1 -1
- package/es/types/Enum/Vat.js +18 -9
- package/es/types/Enum/Vat.js.map +1 -1
- package/es/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.d.ts +5 -1
- package/es/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.d.ts.map +1 -1
- package/es/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.js.map +1 -1
- package/es/types/Interface/models/IAccountingEntry.d.ts +4 -1
- package/es/types/Interface/models/IAccountingEntry.d.ts.map +1 -1
- package/es/types/Interface/models/IAccountingEntry.js.map +1 -1
- package/es/types/Interface/models/IExercice.d.ts +14 -14
- package/es/types/Interface/models/IExercice.d.ts.map +1 -1
- package/es/types/Interface/models/IExercice.js.map +1 -1
- package/es/types/Interface/models/IImmobilization.d.ts +1 -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/index.d.ts +2 -0
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +2 -0
- package/es/types/index.js.map +1 -1
- package/js/types/Enum/ImmobilizationType.js +404 -0
- package/js/types/Enum/ImmobilizationType.js.map +1 -0
- package/js/types/Enum/Vat.js +18 -9
- package/js/types/Enum/Vat.js.map +1 -1
- package/js/types/index.js +24 -0
- package/js/types/index.js.map +1 -1
- package/package.json +4 -4
- package/ts/types/Enum/ImmobilizationType.ts +399 -0
- package/ts/types/Enum/Vat.ts +18 -9
- package/ts/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.ts +4 -3
- package/ts/types/Interface/models/IAccountingEntry.ts +4 -1
- package/ts/types/Interface/models/IExercice.ts +14 -14
- package/ts/types/Interface/models/IImmobilization.ts +1 -0
- package/ts/types/index.ts +2 -0
- package/yalc.lock +4 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IAccountingTransaction } from '../../..';
|
|
2
2
|
import { IImmobilization } from '../../models/IImmobilization';
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
export type FormImmobilization = IImmobilization & { isDeposit: boolean }
|
|
5
5
|
|
|
6
6
|
export interface FormEntry {
|
|
7
7
|
vat? : number | {
|
|
@@ -12,8 +12,9 @@ export interface FormEntry {
|
|
|
12
12
|
idThirdParty?: number;
|
|
13
13
|
amountAllTaxIncludedPurchase?: number;
|
|
14
14
|
designation?: string;
|
|
15
|
-
amountAllTaxIncluded?: number
|
|
16
|
-
immobilization?:
|
|
15
|
+
amountAllTaxIncluded?: number;
|
|
16
|
+
immobilization?: FormImmobilization // pour la création d'une immo
|
|
17
|
+
idImmobilization?: number; //
|
|
17
18
|
}
|
|
18
19
|
|
|
19
20
|
// Permet d'annoté une transaction bancaire Split, Marge, Intracom, Immo etc...
|
|
@@ -3,6 +3,7 @@ import { IAccount } from './IAccount';
|
|
|
3
3
|
import { IThirdParty } from './IThirdParty';
|
|
4
4
|
import { IAccountingTransaction } from './IAccountingTransaction';
|
|
5
5
|
import {IVat} from './IVat';
|
|
6
|
+
import { IImmobilization } from './IImmobilization';
|
|
6
7
|
|
|
7
8
|
// accountingEntries
|
|
8
9
|
export interface IAccountingEntry {
|
|
@@ -19,7 +20,8 @@ export interface IAccountingEntry {
|
|
|
19
20
|
idAccount: number | null;
|
|
20
21
|
idThirdParty: number | null;
|
|
21
22
|
idAccountingTransaction: number;
|
|
22
|
-
idVat?: number;
|
|
23
|
+
idVat?: number | null;
|
|
24
|
+
idImmobilization?: number | null;
|
|
23
25
|
createdAt?: Date | null;
|
|
24
26
|
updatedAt?: Date | null;
|
|
25
27
|
|
|
@@ -30,4 +32,5 @@ export interface IAccountingEntry {
|
|
|
30
32
|
childTva?: IAccountingEntry;
|
|
31
33
|
accountingTransaction?: IAccountingTransaction;
|
|
32
34
|
vat?: IVat;
|
|
35
|
+
immobilization?: IImmobilization;
|
|
33
36
|
}
|
|
@@ -15,8 +15,8 @@ import { IExerciceDetail } from './IExerciceDetail';
|
|
|
15
15
|
// exercices
|
|
16
16
|
export interface IExercice {
|
|
17
17
|
id?: number;
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
startDate: Date | null;
|
|
19
|
+
endDate: Date | null;
|
|
20
20
|
turnover: string | null;
|
|
21
21
|
invoicePurchase: number | null;
|
|
22
22
|
invoiceSales: number | null;
|
|
@@ -42,16 +42,16 @@ export interface IExercice {
|
|
|
42
42
|
deletedAt?: Date | null;
|
|
43
43
|
|
|
44
44
|
// Associations
|
|
45
|
-
supervision
|
|
46
|
-
checklists
|
|
47
|
-
exerciceCustomerTvas
|
|
48
|
-
exerciceCustomersIsRegimes
|
|
49
|
-
exerciceBalanceSheet
|
|
50
|
-
exerciceAdditionnalBalance
|
|
51
|
-
exerciceApprovals
|
|
52
|
-
prestations
|
|
53
|
-
exercicesToPrestations
|
|
54
|
-
file
|
|
55
|
-
society
|
|
56
|
-
exerciceDetail
|
|
45
|
+
supervision?: ISupervision;
|
|
46
|
+
checklists?: IChecklist[];
|
|
47
|
+
exerciceCustomerTvas?: ICustomerTva[];
|
|
48
|
+
exerciceCustomersIsRegimes?: ICustomerIsRegime[];
|
|
49
|
+
exerciceBalanceSheet?: IBalanceSheet;
|
|
50
|
+
exerciceAdditionnalBalance?: IAdditionalBalance;
|
|
51
|
+
exerciceApprovals?: ISocietyApproval;
|
|
52
|
+
prestations?: IPrestation[];
|
|
53
|
+
exercicesToPrestations?: IExercicePrestation[];
|
|
54
|
+
file?: IFile;
|
|
55
|
+
society?: ISociety;
|
|
56
|
+
exerciceDetail?: IExerciceDetail;
|
|
57
57
|
}
|
package/ts/types/index.ts
CHANGED
|
@@ -98,6 +98,7 @@ export * from './Interface/models/IInternalEstimate';
|
|
|
98
98
|
export * from './Interface/models/IIpTmpBlocked';
|
|
99
99
|
export * from './Interface/models/IItemEstimate';
|
|
100
100
|
export * from './Interface/models/IJobCategory';
|
|
101
|
+
export * from './Interface/models/IImmobilization';
|
|
101
102
|
export * from './Interface/models/IJob';
|
|
102
103
|
export * from './Interface/models/IKilometricAllowanceScale';
|
|
103
104
|
export * from './Interface/models/ILabelPaymentWaiting';
|
|
@@ -286,6 +287,7 @@ export * from './Enum/VatRegime';
|
|
|
286
287
|
export * from './Enum/TypeConnector';
|
|
287
288
|
export * from './Enum/Vat';
|
|
288
289
|
export * from './Enum/AccountingJournal';
|
|
290
|
+
export * from './Enum/ImmobilizationType';
|
|
289
291
|
|
|
290
292
|
// Interfaces API
|
|
291
293
|
export * from './Interface/api/businessPartner/ReadBusinessPartner';
|
package/yalc.lock
ADDED