@silexpert/core 0.4.10-0 → 0.4.11
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/README.md +2 -2
- package/es/api/resources/GeneralLedger.d.ts +1 -0
- package/es/api/resources/GeneralLedger.d.ts.map +1 -1
- package/es/api/resources/GeneralLedger.js +9 -0
- package/es/api/resources/GeneralLedger.js.map +1 -1
- package/es/api/resources/Immobilization.d.ts.map +1 -1
- package/es/api/resources/Immobilization.js +6 -1
- package/es/api/resources/Immobilization.js.map +1 -1
- package/es/api/resources/IncomeStatement.d.ts +7 -0
- package/es/api/resources/IncomeStatement.d.ts.map +1 -0
- package/es/api/resources/IncomeStatement.js +13 -0
- package/es/api/resources/IncomeStatement.js.map +1 -0
- package/es/api/resources.d.ts +2 -0
- package/es/api/resources.d.ts.map +1 -1
- package/es/api/resources.js +2 -0
- package/es/api/resources.js.map +1 -1
- package/es/types/Enum/IncomeStatement.d.ts +21 -0
- package/es/types/Enum/IncomeStatement.d.ts.map +1 -0
- package/es/types/Enum/IncomeStatement.js +309 -0
- package/es/types/Enum/IncomeStatement.js.map +1 -0
- package/es/types/Enum/ThirdPartyType.d.ts +5 -0
- package/es/types/Enum/ThirdPartyType.d.ts.map +1 -0
- package/es/types/Enum/ThirdPartyType.js +6 -0
- package/es/types/Enum/ThirdPartyType.js.map +1 -0
- package/es/types/Interface/api/incomeStatement/QueryIncomeStatement.d.ts +9 -0
- package/es/types/Interface/api/incomeStatement/QueryIncomeStatement.d.ts.map +1 -0
- package/es/types/Interface/api/incomeStatement/QueryIncomeStatement.js +31 -0
- package/es/types/Interface/api/incomeStatement/QueryIncomeStatement.js.map +1 -0
- package/es/types/Interface/api/incomeStatement/ReadIncomeStatement.d.ts +7 -0
- package/es/types/Interface/api/incomeStatement/ReadIncomeStatement.d.ts.map +1 -0
- package/es/types/Interface/api/incomeStatement/ReadIncomeStatement.js +2 -0
- package/es/types/Interface/api/incomeStatement/ReadIncomeStatement.js.map +1 -0
- package/es/types/Interface/models/IAccountingEntry.d.ts +2 -0
- 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/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/ISuggestion.d.ts +14 -0
- package/es/types/Interface/models/ISuggestion.d.ts.map +1 -0
- package/es/types/Interface/models/ISuggestion.js +2 -0
- package/es/types/Interface/models/ISuggestion.js.map +1 -0
- package/es/types/index.d.ts +5 -1
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +5 -1
- package/es/types/index.js.map +1 -1
- package/js/api/resources/GeneralLedger.js +10 -0
- package/js/api/resources/GeneralLedger.js.map +1 -1
- package/js/api/resources/Immobilization.js +6 -1
- package/js/api/resources/Immobilization.js.map +1 -1
- package/js/api/resources/IncomeStatement.js +24 -0
- package/js/api/resources/IncomeStatement.js.map +1 -0
- package/js/api/resources.js +4 -1
- package/js/api/resources.js.map +1 -1
- package/js/types/Enum/IncomeStatement.js +251 -0
- package/js/types/Enum/IncomeStatement.js.map +1 -0
- package/js/types/Enum/ThirdPartyType.js +12 -0
- package/js/types/Enum/ThirdPartyType.js.map +1 -0
- package/js/types/Interface/api/incomeStatement/QueryIncomeStatement.js +37 -0
- package/js/types/Interface/api/incomeStatement/QueryIncomeStatement.js.map +1 -0
- package/js/types/Interface/api/{generalLedger/IGeneralLedgerAccountFormattedForPdf.js → incomeStatement/ReadIncomeStatement.js} +1 -1
- package/js/types/Interface/api/{generalLedger/IGeneralLedgerAccountFormattedForPdf.js.map → incomeStatement/ReadIncomeStatement.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/Interface/models/ISuggestion.js +6 -0
- package/js/types/Interface/models/ISuggestion.js.map +1 -0
- package/js/types/index.js +60 -12
- package/js/types/index.js.map +1 -1
- package/package.json +12 -12
- package/ts/api/resources/GeneralLedger.ts +9 -0
- package/ts/api/resources/Immobilization.ts +6 -1
- package/ts/api/resources/IncomeStatement.ts +14 -0
- package/ts/api/resources.ts +2 -0
- package/ts/types/Enum/IncomeStatement.ts +328 -0
- package/ts/types/Enum/ThirdPartyType.ts +4 -0
- package/ts/types/Interface/api/incomeStatement/QueryIncomeStatement.ts +17 -0
- package/ts/types/Interface/api/incomeStatement/ReadIncomeStatement.ts +6 -0
- package/ts/types/Interface/models/IAccountingEntry.ts +2 -0
- package/ts/types/Interface/models/IApiError.ts +3 -0
- package/ts/types/Interface/models/ISuggestion.ts +17 -0
- package/ts/types/index.ts +5 -1
- package/es/types/Interface/api/generalLedger/IGeneralLedgerAccountFormattedForPdf.d.ts +0 -16
- package/es/types/Interface/api/generalLedger/IGeneralLedgerAccountFormattedForPdf.d.ts.map +0 -1
- package/es/types/Interface/api/generalLedger/IGeneralLedgerAccountFormattedForPdf.js +0 -2
- package/es/types/Interface/api/generalLedger/IGeneralLedgerAccountFormattedForPdf.js.map +0 -1
- package/ts/types/Interface/api/generalLedger/IGeneralLedgerAccountFormattedForPdf.ts +0 -16
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<p>
|
|
3
3
|
<img alt="Version" src="https://img.shields.io/badge/version-0.0.1-blue.svg?cacheSeconds=2592000" />
|
|
4
4
|
<img src="https://img.shields.io/badge/node-%3E%3D12.15.0-blue.svg" />
|
|
5
|
-
<a href="https://gitlab.compta-clementine.fr/dev/silex-
|
|
5
|
+
<a href="https://gitlab.compta-clementine.fr/dev/silex-api/-/blob/dev/README.md" target="_blank">
|
|
6
6
|
<img alt="Documentation" src="https://img.shields.io/badge/documentation-yes-brightgreen.svg" />
|
|
7
7
|
</a>
|
|
8
8
|
<a href="#" target="_blank">
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
> Silex Core permet de réaliser des requêtes HTTP depuis les applications front-end et de retourner des objets consistants entre les deux couches applicatives.
|
|
14
14
|
|
|
15
|
-
### 🏠 [Homepage](https://gitlab.compta-clementine.fr/dev/silex-
|
|
15
|
+
### 🏠 [Homepage](https://gitlab.compta-clementine.fr/dev/silex-api/)
|
|
16
16
|
|
|
17
17
|
## Prerequisites
|
|
18
18
|
|
|
@@ -4,5 +4,6 @@ import { Resource } from '../Resource';
|
|
|
4
4
|
export declare class GeneralLedger extends Resource {
|
|
5
5
|
getBySociety(params: QueryGeneralLedger): Promise<void>;
|
|
6
6
|
getPdf(params: QueryGeneralLedger): Promise<Buffer>;
|
|
7
|
+
getBalancePdf(params: QueryGeneralLedger): Promise<Buffer>;
|
|
7
8
|
}
|
|
8
9
|
//# sourceMappingURL=GeneralLedger.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GeneralLedger.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/GeneralLedger.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,4DAA4D,CAAC;AAChG,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,qBAAa,aAAc,SAAQ,QAAQ;IACzC,YAAY,CAAC,MAAM,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC;IAKvD,MAAM,CAAC,MAAM,EAAE,kBAAkB,GAAE,OAAO,CAAC,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"GeneralLedger.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/GeneralLedger.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,4DAA4D,CAAC;AAChG,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,qBAAa,aAAc,SAAQ,QAAQ;IACzC,YAAY,CAAC,MAAM,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC;IAKvD,MAAM,CAAC,MAAM,EAAE,kBAAkB,GAAE,OAAO,CAAC,MAAM,CAAC;IASlD,aAAa,CAAC,MAAM,EAAE,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC;CAS3D"}
|
|
@@ -14,5 +14,14 @@ export class GeneralLedger extends Resource {
|
|
|
14
14
|
},
|
|
15
15
|
});
|
|
16
16
|
}
|
|
17
|
+
getBalancePdf(params) {
|
|
18
|
+
return this.axios.$get('/generalLedger/balance/pdf', {
|
|
19
|
+
params,
|
|
20
|
+
responseType: 'arraybuffer',
|
|
21
|
+
headers: {
|
|
22
|
+
Accept: 'application/pdf',
|
|
23
|
+
},
|
|
24
|
+
});
|
|
25
|
+
}
|
|
17
26
|
}
|
|
18
27
|
//# sourceMappingURL=GeneralLedger.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GeneralLedger.js","sourceRoot":"","sources":["../../../ts/api/resources/GeneralLedger.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,MAAM,OAAO,aAAc,SAAQ,QAAQ;IACzC,YAAY,CAAC,MAA0B;QACrC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,gBAAgB,EAAE;YACvC,MAAM;SACP,CAAC,CAAC;IACL,CAAC;IACD,MAAM,CAAC,MAA0B;QAC/B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,oBAAoB,EAAE;YAC3C,MAAM;YACN,YAAY,EAAE,aAAa;YAC3B,OAAO,EAAE;gBACP,MAAM,EAAE,iBAAiB;aAC1B;SACF,CAAC,CAAC;IACL,CAAC;CACF","sourcesContent":["import { QueryGeneralLedger } from '../../types/Interface/api/generalLedger/QueryGeneralLedger';\nimport { Resource } from '../Resource';\n\nexport class GeneralLedger extends Resource {\n getBySociety(params: QueryGeneralLedger): Promise<void> {\n return this.axios.$get('/generalLedger', {\n params,\n });\n }\n getPdf(params: QueryGeneralLedger):Promise<Buffer> {\n return this.axios.$get('/generalLedger/pdf', {\n params,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n}"]}
|
|
1
|
+
{"version":3,"file":"GeneralLedger.js","sourceRoot":"","sources":["../../../ts/api/resources/GeneralLedger.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,MAAM,OAAO,aAAc,SAAQ,QAAQ;IACzC,YAAY,CAAC,MAA0B;QACrC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,gBAAgB,EAAE;YACvC,MAAM;SACP,CAAC,CAAC;IACL,CAAC;IACD,MAAM,CAAC,MAA0B;QAC/B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,oBAAoB,EAAE;YAC3C,MAAM;YACN,YAAY,EAAE,aAAa;YAC3B,OAAO,EAAE;gBACP,MAAM,EAAE,iBAAiB;aAC1B;SACF,CAAC,CAAC;IACL,CAAC;IACD,aAAa,CAAC,MAA0B;QACtC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,4BAA4B,EAAE;YACnD,MAAM;YACN,YAAY,EAAE,aAAa;YAC3B,OAAO,EAAE;gBACP,MAAM,EAAE,iBAAiB;aAC1B;SACF,CAAC,CAAC;IACL,CAAC;CACF","sourcesContent":["import { QueryGeneralLedger } from '../../types/Interface/api/generalLedger/QueryGeneralLedger';\nimport { Resource } from '../Resource';\n\nexport class GeneralLedger extends Resource {\n getBySociety(params: QueryGeneralLedger): Promise<void> {\n return this.axios.$get('/generalLedger', {\n params,\n });\n }\n getPdf(params: QueryGeneralLedger):Promise<Buffer> {\n return this.axios.$get('/generalLedger/pdf', {\n params,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n getBalancePdf(params: QueryGeneralLedger): Promise<Buffer> {\n return this.axios.$get('/generalLedger/balance/pdf', {\n params,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Immobilization.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/Immobilization.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EACL,qCAAqC,EAAE,0BAA0B,EAClE,MAAM,aAAa,CAAC;AAErB,qBAAa,cAAe,SAAQ,QAAQ;IAC1C,2BAA2B,CAAC,MAAM,EAAE;QAAE,UAAU,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,qCAAqC,GAAG,KAAK,CAAC;IAInH,8BAA8B,CAAC,MAAM,EAAE;QAAE,UAAU,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"Immobilization.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/Immobilization.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EACL,qCAAqC,EAAE,0BAA0B,EAClE,MAAM,aAAa,CAAC;AAErB,qBAAa,cAAe,SAAQ,QAAQ;IAC1C,2BAA2B,CAAC,MAAM,EAAE;QAAE,UAAU,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,qCAAqC,GAAG,KAAK,CAAC;IAInH,8BAA8B,CAAC,MAAM,EAAE;QAAE,UAAU,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAS7E,kBAAkB,CAAC,MAAM,EAAE;QAAE,SAAS,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,0BAA0B,EAAE,CAAC;CAGzF"}
|
|
@@ -4,7 +4,12 @@ export class Immobilization extends Resource {
|
|
|
4
4
|
return this.axios.$get(`/exercice/${params.idExercice}/immobilizationsInventory`, {});
|
|
5
5
|
}
|
|
6
6
|
getImmobilizationsInventoryPdf(params) {
|
|
7
|
-
return this.axios.$get(`/exercice/${params.idExercice}/immobilizationsInventory/pdf`, {
|
|
7
|
+
return this.axios.$get(`/exercice/${params.idExercice}/immobilizationsInventory/pdf`, {
|
|
8
|
+
responseType: 'arraybuffer',
|
|
9
|
+
headers: {
|
|
10
|
+
Accept: 'application/pdf',
|
|
11
|
+
},
|
|
12
|
+
});
|
|
8
13
|
}
|
|
9
14
|
getImmobilizations(params) {
|
|
10
15
|
return this.axios.$get(`/society/${params.idSociety}/immobilizations`, {});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Immobilization.js","sourceRoot":"","sources":["../../../ts/api/resources/Immobilization.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAKvC,MAAM,OAAO,cAAe,SAAQ,QAAQ;IAC1C,2BAA2B,CAAC,MAA8B;QACxD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,aAAa,MAAM,CAAC,UAAU,2BAA2B,EAAE,EAAE,CAAC,CAAC;IACxF,CAAC;IAED,8BAA8B,CAAC,MAA8B;QAC3D,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,aAAa,MAAM,CAAC,UAAU,+BAA+B,EAAE,EAAE,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"Immobilization.js","sourceRoot":"","sources":["../../../ts/api/resources/Immobilization.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAKvC,MAAM,OAAO,cAAe,SAAQ,QAAQ;IAC1C,2BAA2B,CAAC,MAA8B;QACxD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,aAAa,MAAM,CAAC,UAAU,2BAA2B,EAAE,EAAE,CAAC,CAAC;IACxF,CAAC;IAED,8BAA8B,CAAC,MAA8B;QAC3D,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,aAAa,MAAM,CAAC,UAAU,+BAA+B,EAAE;YACpF,YAAY,EAAE,aAAa;YAC3B,OAAO,EAAE;gBACP,MAAM,EAAE,iBAAiB;aAC1B;SACF,CAAC,CAAC;IACL,CAAC;IAED,kBAAkB,CAAC,MAA6B;QAC9C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,YAAY,MAAM,CAAC,SAAS,kBAAkB,EAAE,EAAE,CAAC,CAAC;IAC7E,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport {\n ReadFormattedImmobilizationsByAccount, ReadHydratedImmobilization,\n} from '../../types';\n\nexport class Immobilization extends Resource {\n getImmobilizationsInventory(params: { idExercice: number }): Promise<ReadFormattedImmobilizationsByAccount | Error> {\n return this.axios.$get(`/exercice/${params.idExercice}/immobilizationsInventory`, {});\n }\n\n getImmobilizationsInventoryPdf(params: { idExercice: number }): Promise<void> {\n return this.axios.$get(`/exercice/${params.idExercice}/immobilizationsInventory/pdf`, {\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n\n getImmobilizations(params: { idSociety: number }): Promise<ReadHydratedImmobilization[]> {\n return this.axios.$get(`/society/${params.idSociety}/immobilizations`, {});\n }\n}\n"]}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import { Resource } from '../Resource';
|
|
3
|
+
import { QueryIncomeStatementPdf } from '../../types';
|
|
4
|
+
export declare class IncomeStatement extends Resource {
|
|
5
|
+
getPdf(query: QueryIncomeStatementPdf): Promise<Buffer>;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=IncomeStatement.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IncomeStatement.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/IncomeStatement.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAEtD,qBAAa,eAAgB,SAAQ,QAAQ;IAC3C,MAAM,CAAC,KAAK,EAAE,uBAAuB,GAAI,OAAO,CAAC,MAAM,CAAC;CASzD"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Resource } from '../Resource';
|
|
2
|
+
export class IncomeStatement extends Resource {
|
|
3
|
+
getPdf(query) {
|
|
4
|
+
return this.axios.$get('/incomeStatement/pdf', {
|
|
5
|
+
params: query,
|
|
6
|
+
responseType: 'arraybuffer',
|
|
7
|
+
headers: {
|
|
8
|
+
Accept: 'application/pdf',
|
|
9
|
+
},
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=IncomeStatement.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IncomeStatement.js","sourceRoot":"","sources":["../../../ts/api/resources/IncomeStatement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,MAAM,OAAO,eAAgB,SAAQ,QAAQ;IAC3C,MAAM,CAAC,KAA8B;QACnC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,sBAAsB,EAAE;YAC7C,MAAM,EAAE,KAAK;YACb,YAAY,EAAE,aAAa;YAC3B,OAAO,EAAE;gBACP,MAAM,EAAE,iBAAiB;aAC1B;SACF,CAAC,CAAC;IACL,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport { QueryIncomeStatementPdf } from '../../types';\n\nexport class IncomeStatement extends Resource {\n getPdf(query: QueryIncomeStatementPdf) : Promise<Buffer> {\n return this.axios.$get('/incomeStatement/pdf', {\n params: query,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n}"]}
|
package/es/api/resources.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ import { FirstStep } from './resources/FirstStep';
|
|
|
11
11
|
import { Society } from './resources/Society';
|
|
12
12
|
import { Partner } from './resources/Partner';
|
|
13
13
|
import { GeneralLedger } from './resources/GeneralLedger';
|
|
14
|
+
import { IncomeStatement } from './resources/IncomeStatement';
|
|
14
15
|
export declare const resources: {
|
|
15
16
|
simulation: typeof Simulation;
|
|
16
17
|
country: typeof Country;
|
|
@@ -25,5 +26,6 @@ export declare const resources: {
|
|
|
25
26
|
society: typeof Society;
|
|
26
27
|
partner: typeof Partner;
|
|
27
28
|
generalLedger: typeof GeneralLedger;
|
|
29
|
+
incomeStatement: typeof IncomeStatement;
|
|
28
30
|
};
|
|
29
31
|
//# sourceMappingURL=resources.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resources.d.ts","sourceRoot":"","sources":["../../ts/api/resources.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,0BAA0B,EAAE,MAAM,wCAAwC,CAAC;AACpF,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"resources.d.ts","sourceRoot":"","sources":["../../ts/api/resources.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,0BAA0B,EAAE,MAAM,wCAAwC,CAAC;AACpF,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAE9D,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;CAerB,CAAC"}
|
package/es/api/resources.js
CHANGED
|
@@ -11,6 +11,7 @@ import { FirstStep } from './resources/FirstStep';
|
|
|
11
11
|
import { Society } from './resources/Society';
|
|
12
12
|
import { Partner } from './resources/Partner';
|
|
13
13
|
import { GeneralLedger } from './resources/GeneralLedger';
|
|
14
|
+
import { IncomeStatement } from './resources/IncomeStatement';
|
|
14
15
|
export const resources = {
|
|
15
16
|
simulation: Simulation,
|
|
16
17
|
country: Country,
|
|
@@ -25,5 +26,6 @@ export const resources = {
|
|
|
25
26
|
society: Society,
|
|
26
27
|
partner: Partner,
|
|
27
28
|
generalLedger: GeneralLedger,
|
|
29
|
+
incomeStatement: IncomeStatement,
|
|
28
30
|
};
|
|
29
31
|
//# sourceMappingURL=resources.js.map
|
package/es/api/resources.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resources.js","sourceRoot":"","sources":["../../ts/api/resources.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,0BAA0B,EAAE,MAAM,wCAAwC,CAAC;AACpF,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"resources.js","sourceRoot":"","sources":["../../ts/api/resources.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,0BAA0B,EAAE,MAAM,wCAAwC,CAAC;AACpF,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAE9D,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,UAAU,EAAE,UAAU;IACtB,OAAO,EAAE,OAAO;IAChB,0BAA0B,EAAE,0BAA0B;IACtD,cAAc,EAAE,cAAc;IAC9B,WAAW,EAAE,WAAW;IACxB,WAAW,EAAE,WAAW;IACxB,OAAO,EAAE,OAAO;IAChB,IAAI,EAAE,IAAI;IACV,MAAM,EAAE,MAAM;IACd,SAAS,EAAE,SAAS;IACpB,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE,OAAO;IAChB,aAAa,EAAE,aAAa;IAC5B,eAAe,EAAE,eAAe;CACjC,CAAC","sourcesContent":["import { Country } from './resources/Country';\nimport { Simulation } from './resources/Simulation';\nimport { PaymentExpectationCustomer } from './resources/PaymentExpectationCustomer';\nimport { Immobilization } from './resources/Immobilization';\nimport { AccountType } from './resources/AccountType';\nimport { Transaction } from './resources/Transaction';\nimport { Account } from './resources/Account';\nimport { User } from './resources/User';\nimport { Survey } from './resources/Survey';\nimport { FirstStep } from './resources/FirstStep';\nimport { Society } from './resources/Society';\nimport { Partner } from './resources/Partner';\nimport { GeneralLedger } from './resources/GeneralLedger';\nimport { IncomeStatement } from './resources/IncomeStatement';\n\nexport const resources = {\n simulation: Simulation,\n country: Country,\n paymentExpectationCustomer: PaymentExpectationCustomer,\n immobilization: Immobilization,\n accountType: AccountType,\n transaction: Transaction,\n account: Account,\n user: User,\n survey: Survey,\n firstStep: FirstStep,\n society: Society,\n partner: Partner,\n generalLedger: GeneralLedger,\n incomeStatement: IncomeStatement,\n};\n"]}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
declare type IncomeStatementField = {
|
|
2
|
+
name: string;
|
|
3
|
+
fields?: IncomeStatementField[];
|
|
4
|
+
accounts?: string[];
|
|
5
|
+
total: number;
|
|
6
|
+
excludeAccounts?: string[];
|
|
7
|
+
};
|
|
8
|
+
export declare type IncomeStatement = {
|
|
9
|
+
name: string;
|
|
10
|
+
fields?: IncomeStatementField[];
|
|
11
|
+
total: number;
|
|
12
|
+
accounts?: string[];
|
|
13
|
+
excludeAccounts?: string[];
|
|
14
|
+
key: string;
|
|
15
|
+
calculation?: boolean;
|
|
16
|
+
calculationAdd?: string[];
|
|
17
|
+
calculationSubtract?: string[];
|
|
18
|
+
};
|
|
19
|
+
export declare const INCOME_STATEMENT_LIST: IncomeStatement[];
|
|
20
|
+
export {};
|
|
21
|
+
//# sourceMappingURL=IncomeStatement.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IncomeStatement.d.ts","sourceRoot":"","sources":["../../../ts/types/Enum/IncomeStatement.ts"],"names":[],"mappings":"AAAA,aAAK,oBAAoB,GAAG;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,oBAAoB,EAAE,CAAC;IAChC,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;CAC5B,CAAC;AAEF,oBAAY,eAAe,GAAG;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,oBAAoB,EAAE,CAAC;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;CAChC,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,eAAe,EAmTlD,CAAC"}
|
|
@@ -0,0 +1,309 @@
|
|
|
1
|
+
export const INCOME_STATEMENT_LIST = [
|
|
2
|
+
{
|
|
3
|
+
name: 'Total des produits d\'exploitation',
|
|
4
|
+
key: 'totalOperatingIncome',
|
|
5
|
+
total: 0,
|
|
6
|
+
fields: [
|
|
7
|
+
{
|
|
8
|
+
name: 'Chiffre d\'Affaires',
|
|
9
|
+
total: 0,
|
|
10
|
+
fields: [
|
|
11
|
+
{
|
|
12
|
+
name: 'Ventes de marchandises',
|
|
13
|
+
total: 0,
|
|
14
|
+
accounts: ['707'],
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
name: 'Production vendue',
|
|
18
|
+
total: 0,
|
|
19
|
+
accounts: ['701', '702', '703', '704', '705', '706'],
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
name: 'Produits des activités annexes',
|
|
23
|
+
total: 0,
|
|
24
|
+
accounts: ['708'],
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
name: 'Rabais, remises, ristournes accordés par l\'entreprise',
|
|
28
|
+
total: 0,
|
|
29
|
+
accounts: ['709'],
|
|
30
|
+
},
|
|
31
|
+
],
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
name: 'Production stockée',
|
|
35
|
+
total: 0,
|
|
36
|
+
accounts: ['71'],
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
name: 'Production immobilisée',
|
|
40
|
+
total: 0,
|
|
41
|
+
accounts: ['72'],
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
name: 'Subventions d\'exploitation',
|
|
45
|
+
total: 0,
|
|
46
|
+
accounts: ['74'],
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
name: 'Reprises sur provisions, dépréciations et amortissements, transferts de charges',
|
|
50
|
+
total: 0,
|
|
51
|
+
accounts: ['781', '791'],
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
name: 'Autres produits de gestion courante',
|
|
55
|
+
total: 0,
|
|
56
|
+
accounts: ['75'],
|
|
57
|
+
},
|
|
58
|
+
],
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
name: 'Total des charges d\'exploitation',
|
|
62
|
+
key: 'totalOperatingExpenses',
|
|
63
|
+
total: 0,
|
|
64
|
+
fields: [
|
|
65
|
+
{
|
|
66
|
+
name: 'Achats de marchandises',
|
|
67
|
+
total: 0,
|
|
68
|
+
accounts: ['607'],
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
name: 'Variation des stocks de marchandises',
|
|
72
|
+
total: 0,
|
|
73
|
+
accounts: ['6037'],
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
name: 'Achats de matières premieres et autres approvisionnements',
|
|
77
|
+
total: 0,
|
|
78
|
+
accounts: ['60'],
|
|
79
|
+
excludeAccounts: ['607', '603', '606'],
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
name: 'Variation des stocks de matières premieres et autres approvisionnements',
|
|
83
|
+
total: 0,
|
|
84
|
+
accounts: ['603'],
|
|
85
|
+
excludeAccounts: ['6037'],
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
name: 'Autres achats et charges externes',
|
|
89
|
+
total: 0,
|
|
90
|
+
accounts: ['61', '62', '606'],
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
name: 'Impôts, taxes et versements assimilés',
|
|
94
|
+
total: 0,
|
|
95
|
+
accounts: ['63'],
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
name: 'Salaires et traitements',
|
|
99
|
+
total: 0,
|
|
100
|
+
accounts: ['641', '642', '643', '644'],
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
name: 'Charges sociales',
|
|
104
|
+
total: 0,
|
|
105
|
+
accounts: ['645', '646', '647', '648', '649'],
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
name: 'Dotations aux amortissements et provisions',
|
|
109
|
+
total: 0,
|
|
110
|
+
accounts: ['681', '682', '683', '684', '685'],
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
name: 'Autres charges de gestion courante',
|
|
114
|
+
total: 0,
|
|
115
|
+
accounts: ['65'],
|
|
116
|
+
},
|
|
117
|
+
],
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
name: 'Résultat d\'exploitation',
|
|
121
|
+
key: 'operatingResult',
|
|
122
|
+
total: 0,
|
|
123
|
+
calculation: true,
|
|
124
|
+
calculationAdd: ['totalOperatingIncome'],
|
|
125
|
+
calculationSubtract: ['totalOperatingExpenses'],
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
name: 'Total des produits financiers',
|
|
129
|
+
key: 'totalFinancialProducts',
|
|
130
|
+
total: 0,
|
|
131
|
+
fields: [
|
|
132
|
+
{
|
|
133
|
+
name: 'De participations',
|
|
134
|
+
total: 0,
|
|
135
|
+
accounts: ['761'],
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
name: 'D\'autres valeurs mobilières et créances de l\'actif immobilisé',
|
|
139
|
+
total: 0,
|
|
140
|
+
accounts: ['762'],
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
name: 'Autres intérêts et produits assimilés',
|
|
144
|
+
total: 0,
|
|
145
|
+
accounts: ['763', '764', '765', '768'],
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
name: 'Reprises sur dépréciations, provisions et transferts de charges financières',
|
|
149
|
+
total: 0,
|
|
150
|
+
accounts: ['786', '796'],
|
|
151
|
+
}, {
|
|
152
|
+
name: 'Différences positives de change',
|
|
153
|
+
total: 0,
|
|
154
|
+
accounts: ['766'],
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
name: 'Produits nets sur cessions de valeurs mobilières de placement',
|
|
158
|
+
total: 0,
|
|
159
|
+
accounts: ['767'],
|
|
160
|
+
},
|
|
161
|
+
],
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
name: 'Total des charges financières',
|
|
165
|
+
total: 0,
|
|
166
|
+
key: 'totalFinancialExpenses',
|
|
167
|
+
fields: [
|
|
168
|
+
{
|
|
169
|
+
name: 'Dotations aux amortissements, dépréciations et provisions',
|
|
170
|
+
total: 0,
|
|
171
|
+
accounts: ['686'],
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
name: 'Intérêts et charges assimilés',
|
|
175
|
+
total: 0,
|
|
176
|
+
accounts: ['661', '664', '665', '668'],
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
name: 'Différences négatives de change',
|
|
180
|
+
total: 0,
|
|
181
|
+
accounts: ['666'],
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
name: 'Charges nettes sur cessions de valeurs mobilières de placement',
|
|
185
|
+
total: 0,
|
|
186
|
+
accounts: ['667'],
|
|
187
|
+
},
|
|
188
|
+
],
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
name: 'Résultat financier',
|
|
192
|
+
total: 0,
|
|
193
|
+
calculation: true,
|
|
194
|
+
calculationAdd: ['totalFinancialProducts'],
|
|
195
|
+
calculationSubtract: ['totalFinancialExpenses'],
|
|
196
|
+
key: 'financialResult',
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
name: 'Résultat courant avant impôt',
|
|
200
|
+
total: 0,
|
|
201
|
+
calculation: true,
|
|
202
|
+
calculationAdd: ['totalOperatingIncome', 'totalFinancialProducts'],
|
|
203
|
+
calculationSubtract: ['totalOperatingExpenses', 'totalFinancialExpenses'],
|
|
204
|
+
key: 'profitBeforeTax',
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
name: 'Total des produits exceptionnels',
|
|
208
|
+
total: 0,
|
|
209
|
+
key: 'totalExceptionalProducts',
|
|
210
|
+
fields: [
|
|
211
|
+
{
|
|
212
|
+
name: 'Sur opérations de gestion',
|
|
213
|
+
total: 0,
|
|
214
|
+
accounts: ['771', '772'],
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
name: 'Sur opérations en capital',
|
|
218
|
+
total: 0,
|
|
219
|
+
fields: [{
|
|
220
|
+
name: 'Produits des cessions d\'éléments d\'actifs',
|
|
221
|
+
total: 0,
|
|
222
|
+
accounts: ['775'],
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
name: 'Subventions d\'investissement virées aux résultats de l\'exercice',
|
|
226
|
+
total: 0,
|
|
227
|
+
accounts: ['777'],
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
name: 'Autre',
|
|
231
|
+
total: 0,
|
|
232
|
+
accounts: ['778'],
|
|
233
|
+
},
|
|
234
|
+
],
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
name: 'Reprises sur dépréciations, provisions et transferts de charges exceptionnelles',
|
|
238
|
+
total: 0,
|
|
239
|
+
accounts: ['787', '797'],
|
|
240
|
+
},
|
|
241
|
+
],
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
name: 'Total des charges exceptionnelles',
|
|
245
|
+
total: 0,
|
|
246
|
+
key: 'totalExceptionalExpenses',
|
|
247
|
+
fields: [
|
|
248
|
+
{
|
|
249
|
+
name: 'Sur opérations de gestion',
|
|
250
|
+
total: 0,
|
|
251
|
+
accounts: ['671', '672'],
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
name: 'Sur opérations en capital',
|
|
255
|
+
total: 0,
|
|
256
|
+
fields: [{
|
|
257
|
+
name: 'Valeurs comptables des éléments immobilisés et financiers cédés',
|
|
258
|
+
total: 0,
|
|
259
|
+
accounts: ['675'],
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
name: 'Autre',
|
|
263
|
+
total: 0,
|
|
264
|
+
accounts: ['678'],
|
|
265
|
+
},
|
|
266
|
+
],
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
name: 'Dotations aux amortissements, dépréciations et provisions',
|
|
270
|
+
total: 0,
|
|
271
|
+
fields: [
|
|
272
|
+
{
|
|
273
|
+
name: 'Dotations aux provisions réglementées',
|
|
274
|
+
accounts: ['6872', '6873', '6874'],
|
|
275
|
+
total: 0,
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
name: 'Dotations aux amortissements, dépréciations et autres provisions',
|
|
279
|
+
accounts: ['6871', '6875', '6876'],
|
|
280
|
+
total: 0,
|
|
281
|
+
},
|
|
282
|
+
],
|
|
283
|
+
},
|
|
284
|
+
],
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
name: 'Résultat exceptionnel',
|
|
288
|
+
total: 0,
|
|
289
|
+
calculation: true,
|
|
290
|
+
calculationAdd: [],
|
|
291
|
+
calculationSubtract: ['totalExceptionalProducts', 'totalExceptionalExpenses'],
|
|
292
|
+
key: 'exceptionalResult',
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
name: 'Impôt sur les bénéfices',
|
|
296
|
+
total: 0,
|
|
297
|
+
key: 'incomeTax',
|
|
298
|
+
accounts: ['695'],
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
name: 'Résultat de l\'exercice',
|
|
302
|
+
total: 0,
|
|
303
|
+
calculation: true,
|
|
304
|
+
calculationAdd: ['totalOperatingIncome', 'totalFinancialProducts', 'totalExceptionalProducts', 'totalExceptionalExpenses'],
|
|
305
|
+
calculationSubtract: ['totalOperatingExpenses', 'totalFinancialExpenses', 'incomeTax'],
|
|
306
|
+
key: 'resultOfExercise',
|
|
307
|
+
},
|
|
308
|
+
];
|
|
309
|
+
//# sourceMappingURL=IncomeStatement.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IncomeStatement.js","sourceRoot":"","sources":["../../../ts/types/Enum/IncomeStatement.ts"],"names":[],"mappings":"AAoBA,MAAM,CAAC,MAAM,qBAAqB,GAAsB;IACtD;QACE,IAAI,EAAE,oCAAoC;QAC1C,GAA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mBAAmB;KACzB;IACD;QACE,IAAI,EAAE,yBAAyB;QAC/B,KAAK,EAAE,CAAC;QACR,GAAG,EAAE,WAAW;QAChB,QAAQ,EAAE,CAAC,KAAK,CAAC;KAClB;IACD;QACE,IAAI,EAAE,yBAAyB;QAC/B,KAAK,EAAE,CAAC;QACR,WAAW,EAAE,IAAI;QACjB,cAAc,EAAE,CAAC,sBAAsB,EAAE,wBAAwB,EAAE,0BAA0B,EAAE,0BAA0B,CAAC;QAC1H,mBAAmB,EAAE,CAAC,wBAAwB,EAAE,wBAAwB,EAAE,WAAW,CAAC;QACtF,GAAG,EAAE,kBAAkB;KACxB;CACF,CAAC","sourcesContent":["type IncomeStatementField = {\n name: string;\n fields?: IncomeStatementField[];\n accounts?: string[];\n total: number;\n excludeAccounts?: string[];\n};\n\nexport type IncomeStatement = {\n name: string;\n fields?: IncomeStatementField[],\n total: number;\n accounts?: string[];\n excludeAccounts?: string[];\n key: string;\n calculation?: boolean; // Doit être calculé avec calculationAdd & calculationSubtract\n calculationAdd?: string[]; // Tableau des keys à additionner pour obtenir le total\n calculationSubtract?: string[]; // Tableau des keys à soustraire pour obtenir le total\n};\n\nexport const INCOME_STATEMENT_LIST: IncomeStatement[] = [\n {\n name: 'Total des produits d\\'exploitation',\n key: 'totalOperatingIncome',\n total: 0,\n fields: [\n {\n name: 'Chiffre d\\'Affaires',\n total: 0,\n fields: [\n {\n name: 'Ventes de marchandises',\n total: 0,\n accounts: ['707'],\n },\n {\n name: 'Production vendue',\n total: 0,\n accounts: ['701', '702', '703', '704', '705', '706'],\n },\n {\n name: 'Produits des activités annexes',\n total: 0,\n accounts: ['708'],\n },\n {\n name: 'Rabais, remises, ristournes accordés par l\\'entreprise',\n total: 0,\n accounts: ['709'],\n },\n ],\n },\n {\n name: 'Production stockée',\n total: 0,\n accounts: ['71'],\n },\n {\n name: 'Production immobilisée',\n total: 0,\n accounts: ['72'],\n },\n {\n name: 'Subventions d\\'exploitation',\n total: 0,\n accounts: ['74'],\n },\n {\n name: 'Reprises sur provisions, dépréciations et amortissements, transferts de charges',\n total: 0,\n accounts: ['781', '791'],\n },\n {\n name: 'Autres produits de gestion courante',\n total: 0,\n accounts: ['75'],\n },\n ],\n },\n {\n name: 'Total des charges d\\'exploitation',\n key: 'totalOperatingExpenses',\n total: 0,\n fields: [\n {\n name: 'Achats de marchandises',\n total: 0,\n accounts: ['607'],\n },\n {\n name: 'Variation des stocks de marchandises',\n total: 0,\n accounts: ['6037'],\n },\n {\n name: 'Achats de matières premieres et autres approvisionnements',\n total: 0,\n accounts: ['60'],\n excludeAccounts: ['607', '603', '606'],\n },\n {\n name: 'Variation des stocks de matières premieres et autres approvisionnements',\n total: 0,\n accounts: ['603'],\n excludeAccounts: ['6037'],\n },\n {\n name: 'Autres achats et charges externes',\n total: 0,\n accounts: ['61', '62', '606'],\n },\n {\n name: 'Impôts, taxes et versements assimilés',\n total: 0,\n accounts: ['63'],\n },\n {\n name: 'Salaires et traitements',\n total: 0,\n accounts: ['641', '642', '643', '644'],\n },\n {\n name: 'Charges sociales',\n total: 0,\n accounts: ['645', '646', '647', '648', '649'],\n },\n {\n name: 'Dotations aux amortissements et provisions',\n total: 0,\n accounts: ['681', '682', '683', '684', '685'],\n },\n {\n name: 'Autres charges de gestion courante',\n total: 0,\n accounts: ['65'],\n },\n ],\n },\n {\n name: 'Résultat d\\'exploitation',\n key: 'operatingResult',\n total: 0,\n calculation: true,\n calculationAdd: ['totalOperatingIncome'],\n calculationSubtract: ['totalOperatingExpenses'],\n },\n {\n name: 'Total des produits financiers',\n key: 'totalFinancialProducts',\n total: 0,\n fields: [\n {\n name: 'De participations',\n total: 0,\n accounts: ['761'],\n },\n {\n name: 'D\\'autres valeurs mobilières et créances de l\\'actif immobilisé',\n total: 0,\n accounts: ['762'],\n },\n {\n name: 'Autres intérêts et produits assimilés',\n total: 0,\n accounts: ['763', '764', '765', '768'],\n },\n {\n name: 'Reprises sur dépréciations, provisions et transferts de charges financières',\n total: 0,\n accounts: ['786', '796'],\n }, {\n name: 'Différences positives de change',\n total: 0,\n accounts: ['766'],\n },\n {\n name: 'Produits nets sur cessions de valeurs mobilières de placement',\n total: 0,\n accounts: ['767'],\n },\n ],\n },\n {\n name: 'Total des charges financières',\n total: 0,\n key: 'totalFinancialExpenses',\n fields: [\n {\n name: 'Dotations aux amortissements, dépréciations et provisions',\n total: 0,\n accounts: ['686'],\n },\n {\n name: 'Intérêts et charges assimilés',\n total: 0,\n accounts: ['661', '664', '665', '668'],\n },\n {\n name: 'Différences négatives de change',\n total: 0,\n accounts: ['666'],\n },\n {\n name: 'Charges nettes sur cessions de valeurs mobilières de placement',\n total: 0,\n accounts: ['667'],\n },\n ],\n },\n {\n name: 'Résultat financier',\n total: 0,\n calculation: true,\n calculationAdd: ['totalFinancialProducts'],\n calculationSubtract: ['totalFinancialExpenses'],\n key: 'financialResult',\n },\n {\n name: 'Résultat courant avant impôt',\n total: 0,\n calculation: true,\n calculationAdd: ['totalOperatingIncome', 'totalFinancialProducts'],\n calculationSubtract: ['totalOperatingExpenses', 'totalFinancialExpenses'],\n key: 'profitBeforeTax',\n },\n {\n name: 'Total des produits exceptionnels',\n total: 0,\n key: 'totalExceptionalProducts',\n fields: [\n {\n name: 'Sur opérations de gestion',\n total: 0,\n accounts: ['771', '772'],\n },\n {\n name: 'Sur opérations en capital',\n total: 0,\n fields: [{\n name: 'Produits des cessions d\\'éléments d\\'actifs',\n total: 0,\n accounts: ['775'],\n },\n {\n name: 'Subventions d\\'investissement virées aux résultats de l\\'exercice',\n total: 0,\n accounts: ['777'],\n },\n {\n name: 'Autre',\n total: 0,\n accounts: ['778'],\n },\n ],\n },\n {\n name: 'Reprises sur dépréciations, provisions et transferts de charges exceptionnelles',\n total: 0,\n accounts: ['787', '797'],\n },\n ],\n },\n {\n name: 'Total des charges exceptionnelles',\n total: 0,\n key: 'totalExceptionalExpenses',\n fields: [\n {\n name: 'Sur opérations de gestion',\n total: 0,\n accounts: ['671', '672'],\n },\n {\n name: 'Sur opérations en capital',\n total: 0,\n fields: [{\n name: 'Valeurs comptables des éléments immobilisés et financiers cédés',\n total: 0,\n accounts: ['675'],\n },\n {\n name: 'Autre',\n total: 0,\n accounts: ['678'],\n },\n ],\n },\n {\n name: 'Dotations aux amortissements, dépréciations et provisions',\n total: 0,\n fields: [\n {\n name: 'Dotations aux provisions réglementées',\n accounts: ['6872', '6873', '6874'],\n total: 0,\n },\n {\n name: 'Dotations aux amortissements, dépréciations et autres provisions',\n accounts: ['6871', '6875', '6876'],\n total: 0,\n },\n ],\n },\n ],\n },\n {\n name: 'Résultat exceptionnel',\n total: 0,\n calculation: true,\n calculationAdd: [],\n calculationSubtract: ['totalExceptionalProducts', 'totalExceptionalExpenses'],\n key: 'exceptionalResult',\n },\n {\n name: 'Impôt sur les bénéfices',\n total: 0,\n key: 'incomeTax',\n accounts: ['695'],\n },\n {\n name: 'Résultat de l\\'exercice',\n total: 0,\n calculation: true,\n calculationAdd: ['totalOperatingIncome', 'totalFinancialProducts', 'totalExceptionalProducts', 'totalExceptionalExpenses'],\n calculationSubtract: ['totalOperatingExpenses', 'totalFinancialExpenses', 'incomeTax'],\n key: 'resultOfExercise',\n },\n];"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThirdPartyType.d.ts","sourceRoot":"","sources":["../../../ts/types/Enum/ThirdPartyType.ts"],"names":[],"mappings":"AAAA,oBAAY,cAAc;IACxB,QAAQ,IAAI;IACZ,QAAQ,IAAI;CACb"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export var ThirdPartyType;
|
|
2
|
+
(function (ThirdPartyType) {
|
|
3
|
+
ThirdPartyType[ThirdPartyType["CUSTOMER"] = 1] = "CUSTOMER";
|
|
4
|
+
ThirdPartyType[ThirdPartyType["PROVIDER"] = 2] = "PROVIDER";
|
|
5
|
+
})(ThirdPartyType || (ThirdPartyType = {}));
|
|
6
|
+
//# sourceMappingURL=ThirdPartyType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThirdPartyType.js","sourceRoot":"","sources":["../../../ts/types/Enum/ThirdPartyType.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,2DAAY,CAAA;IACZ,2DAAY,CAAA;AACd,CAAC,EAHW,cAAc,KAAd,cAAc,QAGzB","sourcesContent":["export enum ThirdPartyType{\n CUSTOMER = 1,\n PROVIDER = 2,\n}"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QueryIncomeStatement.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/incomeStatement/QueryIncomeStatement.ts"],"names":[],"mappings":"AAEA,qBAAa,oBAAoB;IAE/B,SAAS,EAAE,MAAM,CAAC;IAGlB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,qBAAa,uBAAuB;IAElC,SAAS,EAAE,MAAM,CAAC;IAGlB,OAAO,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import { ApiProperty } from '../../../../utils';
|
|
11
|
+
export class QueryIncomeStatement {
|
|
12
|
+
}
|
|
13
|
+
__decorate([
|
|
14
|
+
ApiProperty(),
|
|
15
|
+
__metadata("design:type", String)
|
|
16
|
+
], QueryIncomeStatement.prototype, "startDate", void 0);
|
|
17
|
+
__decorate([
|
|
18
|
+
ApiProperty(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], QueryIncomeStatement.prototype, "endDate", void 0);
|
|
21
|
+
export class QueryIncomeStatementPdf {
|
|
22
|
+
}
|
|
23
|
+
__decorate([
|
|
24
|
+
ApiProperty(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], QueryIncomeStatementPdf.prototype, "startDate", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
ApiProperty(),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], QueryIncomeStatementPdf.prototype, "endDate", void 0);
|
|
31
|
+
//# sourceMappingURL=QueryIncomeStatement.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QueryIncomeStatement.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/incomeStatement/QueryIncomeStatement.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,MAAM,OAAO,oBAAoB;CAMhC;AAJC;IADC,WAAW,EAAE;;uDACI;AAGlB;IADC,WAAW,EAAE;;qDACE;AAGlB,MAAM,OAAO,uBAAuB;CAMnC;AAJC;IADC,WAAW,EAAE;;0DACI;AAGlB;IADC,WAAW,EAAE;;wDACE","sourcesContent":["import { ApiProperty } from '../../../../utils';\n\nexport class QueryIncomeStatement {\n @ApiProperty()\n startDate: string;\n\n @ApiProperty()\n endDate: string;\n}\n\nexport class QueryIncomeStatementPdf {\n @ApiProperty()\n startDate: string;\n\n @ApiProperty()\n endDate: string;\n}"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReadIncomeStatement.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/incomeStatement/ReadIncomeStatement.ts"],"names":[],"mappings":"AAAA,oBAAY,mBAAmB,GAAG,KAAK,CAAC;IACtC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,mBAAmB,CAAC;IAClC,GAAG,EAAE,MAAM,CAAC;CACb,CAAC,CAAC"}
|