@silexpert/core 1.3.176 → 1.3.177-0
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/dist/cjs/types/Enum/Ged.d.ts +0 -1
- package/dist/cjs/types/Enum/Ged.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Ged.js +13 -136
- package/dist/cjs/types/Enum/Ged.js.map +1 -1
- package/dist/cjs/types/Enum/InformationRequestState.d.ts +2 -1
- package/dist/cjs/types/Enum/InformationRequestState.d.ts.map +1 -1
- package/dist/cjs/types/Enum/InformationRequestState.js +1 -0
- package/dist/cjs/types/Enum/InformationRequestState.js.map +1 -1
- package/dist/cjs/types/Interface/api/revenue/revenueMovement.d.ts +13 -9
- package/dist/cjs/types/Interface/api/revenue/revenueMovement.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/revenue/revenueMovement.js +35 -13
- package/dist/cjs/types/Interface/api/revenue/revenueMovement.js.map +1 -1
- package/dist/mjs/types/Enum/Ged.d.ts +0 -1
- package/dist/mjs/types/Enum/Ged.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Ged.js +13 -136
- package/dist/mjs/types/Enum/Ged.js.map +1 -1
- package/dist/mjs/types/Enum/InformationRequestState.d.ts +2 -1
- package/dist/mjs/types/Enum/InformationRequestState.d.ts.map +1 -1
- package/dist/mjs/types/Enum/InformationRequestState.js +1 -0
- package/dist/mjs/types/Enum/InformationRequestState.js.map +1 -1
- package/dist/mjs/types/Interface/api/revenue/revenueMovement.d.ts +13 -9
- package/dist/mjs/types/Interface/api/revenue/revenueMovement.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/revenue/revenueMovement.js +34 -11
- package/dist/mjs/types/Interface/api/revenue/revenueMovement.js.map +1 -1
- package/package.json +1 -1
- package/ts/types/Enum/Ged.ts +212 -333
- package/ts/types/Enum/InformationRequestState.ts +1 -0
- package/ts/types/Interface/api/revenue/revenueMovement.ts +31 -10
|
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
12
|
+
exports.GenerateRetroactiveMovements = exports.IGenerateRetroactiveMovementsBatchRequest = exports.IGenerateRetroactiveMovementsRequest = exports.IGenerateAllSnapshotsRequest = exports.IGenerateSnapshotRequest = exports.IGetRevenueMovementsRequest = exports.IUpdateRevenueMovementRequest = exports.ICreateRevenueMovementRequest = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
const Revenue_1 = require("../../../Enum/Revenue");
|
|
15
15
|
const utils_1 = require("../../../../utils");
|
|
@@ -249,39 +249,41 @@ __decorate([
|
|
|
249
249
|
__metadata("design:type", String)
|
|
250
250
|
], IGenerateAllSnapshotsRequest.prototype, "date", void 0);
|
|
251
251
|
/**
|
|
252
|
-
* DTO pour
|
|
252
|
+
* DTO pour générer les mouvements de revenu rétroactifs
|
|
253
253
|
*/
|
|
254
|
-
class
|
|
254
|
+
class IGenerateRetroactiveMovementsRequest {
|
|
255
255
|
}
|
|
256
|
-
exports.
|
|
256
|
+
exports.IGenerateRetroactiveMovementsRequest = IGenerateRetroactiveMovementsRequest;
|
|
257
|
+
exports.GenerateRetroactiveMovements = IGenerateRetroactiveMovementsRequest;
|
|
257
258
|
__decorate([
|
|
258
259
|
(0, utils_1.ApiPropertyOptional)(),
|
|
259
260
|
(0, class_validator_1.IsOptional)(),
|
|
260
261
|
(0, class_validator_1.IsInt)(),
|
|
261
262
|
__metadata("design:type", Number)
|
|
262
|
-
],
|
|
263
|
+
], IGenerateRetroactiveMovementsRequest.prototype, "idSociety", void 0);
|
|
263
264
|
__decorate([
|
|
264
265
|
(0, utils_1.ApiPropertyOptional)(),
|
|
265
266
|
(0, class_validator_1.IsOptional)(),
|
|
266
267
|
(0, class_validator_1.IsInt)(),
|
|
267
268
|
__metadata("design:type", Number)
|
|
268
|
-
],
|
|
269
|
+
], IGenerateRetroactiveMovementsRequest.prototype, "idExercice", void 0);
|
|
269
270
|
__decorate([
|
|
270
271
|
(0, utils_1.ApiPropertyOptional)(),
|
|
271
272
|
(0, class_validator_1.IsOptional)(),
|
|
272
273
|
(0, class_validator_1.IsDate)(),
|
|
273
274
|
__metadata("design:type", Date)
|
|
274
|
-
],
|
|
275
|
+
], IGenerateRetroactiveMovementsRequest.prototype, "date", void 0);
|
|
275
276
|
/**
|
|
276
|
-
* DTO pour
|
|
277
|
+
* DTO pour générer les mouvements rétroactifs en batch pour toutes les sociétés sans mouvements
|
|
277
278
|
*/
|
|
278
|
-
class
|
|
279
|
+
class IGenerateRetroactiveMovementsBatchRequest {
|
|
279
280
|
constructor() {
|
|
280
281
|
this.limit = 10;
|
|
281
282
|
this.offset = 0;
|
|
283
|
+
this.batchSize = 5;
|
|
282
284
|
}
|
|
283
285
|
}
|
|
284
|
-
exports.
|
|
286
|
+
exports.IGenerateRetroactiveMovementsBatchRequest = IGenerateRetroactiveMovementsBatchRequest;
|
|
285
287
|
__decorate([
|
|
286
288
|
(0, utils_1.ApiPropertyOptional)({
|
|
287
289
|
description: 'Limite du nombre de sociétés à traiter',
|
|
@@ -290,7 +292,7 @@ __decorate([
|
|
|
290
292
|
(0, class_validator_1.IsOptional)(),
|
|
291
293
|
(0, class_validator_1.IsInt)(),
|
|
292
294
|
__metadata("design:type", Number)
|
|
293
|
-
],
|
|
295
|
+
], IGenerateRetroactiveMovementsBatchRequest.prototype, "limit", void 0);
|
|
294
296
|
__decorate([
|
|
295
297
|
(0, utils_1.ApiPropertyOptional)({
|
|
296
298
|
description: 'Offset pour pagination',
|
|
@@ -299,7 +301,7 @@ __decorate([
|
|
|
299
301
|
(0, class_validator_1.IsOptional)(),
|
|
300
302
|
(0, class_validator_1.IsInt)(),
|
|
301
303
|
__metadata("design:type", Number)
|
|
302
|
-
],
|
|
304
|
+
], IGenerateRetroactiveMovementsBatchRequest.prototype, "offset", void 0);
|
|
303
305
|
__decorate([
|
|
304
306
|
(0, utils_1.ApiPropertyOptional)({
|
|
305
307
|
description: 'Date de référence pour la rétroactivité',
|
|
@@ -307,5 +309,25 @@ __decorate([
|
|
|
307
309
|
(0, class_validator_1.IsOptional)(),
|
|
308
310
|
(0, class_validator_1.IsDate)(),
|
|
309
311
|
__metadata("design:type", Date)
|
|
310
|
-
],
|
|
312
|
+
], IGenerateRetroactiveMovementsBatchRequest.prototype, "date", void 0);
|
|
313
|
+
__decorate([
|
|
314
|
+
(0, utils_1.ApiPropertyOptional)({
|
|
315
|
+
description: "Liste d'IDs de sociétés à traiter explicitement",
|
|
316
|
+
example: [101, 202, 303],
|
|
317
|
+
}),
|
|
318
|
+
(0, class_validator_1.IsOptional)(),
|
|
319
|
+
(0, class_validator_1.IsArray)(),
|
|
320
|
+
(0, class_validator_1.IsInt)({ each: true }),
|
|
321
|
+
__metadata("design:type", Array)
|
|
322
|
+
], IGenerateRetroactiveMovementsBatchRequest.prototype, "idSociety", void 0);
|
|
323
|
+
__decorate([
|
|
324
|
+
(0, utils_1.ApiPropertyOptional)({
|
|
325
|
+
description: 'Taille du lot de traitement en parallèle',
|
|
326
|
+
example: 5,
|
|
327
|
+
}),
|
|
328
|
+
(0, class_validator_1.IsOptional)(),
|
|
329
|
+
(0, class_validator_1.IsInt)(),
|
|
330
|
+
(0, class_validator_1.Min)(1),
|
|
331
|
+
__metadata("design:type", Number)
|
|
332
|
+
], IGenerateRetroactiveMovementsBatchRequest.prototype, "batchSize", void 0);
|
|
311
333
|
//# sourceMappingURL=revenueMovement.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"revenueMovement.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/revenue/revenueMovement.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2G;AAC3G,mDAA4D;AAC5D,6CAAqE;AAErE;;GAEG;AACH,MAAa,6BAA6B;CAsD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,IAAA,wBAAM,GAAE;8BACF,IAAI;yDAAC;AA+Bd;;GAEG;AACH,MAAa,gCAAgC;IAA7C;QAOE,UAAK,GAAY,EAAE,CAAC;QAQpB,WAAM,GAAY,CAAC,CAAC;IAQtB,CAAC;CAAA;AAvBD,4EAuBC;AAhBC;IANC,IAAA,2BAAmB,EAAC;QACnB,WAAW,EAAE,wCAAwC;QACrD,OAAO,EAAE,EAAE;KACZ,CAAC;IACD,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;+DACY;AAQpB;IANC,IAAA,2BAAmB,EAAC;QACnB,WAAW,EAAE,wBAAwB;QACrC,OAAO,EAAE,CAAC;KACX,CAAC;IACD,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;gEACY;AAOpB;IALC,IAAA,2BAAmB,EAAC;QACnB,WAAW,EAAE,yCAAyC;KACvD,CAAC;IACD,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;8BACF,IAAI;8DAAC","sourcesContent":["import { IsDate, IsInt, IsOptional, IsEnum, IsNumber, IsString, IsObject, IsArray } from 'class-validator';\nimport { RevenueMovementType } from '../../../Enum/Revenue';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\n/**\n * DTO pour créer un mouvement de revenu\n */\nexport class ICreateRevenueMovementRequest {\n @ApiProperty()\n @IsEnum(RevenueMovementType)\n type: RevenueMovementType;\n\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idPrestation?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idTerminationList?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idChurnMovement?: number;\n\n @ApiProperty()\n @IsInt()\n amount: number;\n\n @ApiProperty()\n @IsInt()\n mrr: number;\n\n @ApiProperty()\n @IsInt()\n arr: number;\n\n @ApiProperty()\n @IsDate()\n movementDate: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n description?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsObject()\n metadata?: Record<string, any>;\n}\n\n/**\n * DTO pour mettre à jour un mouvement de revenu\n */\nexport class IUpdateRevenueMovementRequest {\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(RevenueMovementType)\n type?: RevenueMovementType;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idTerminationList?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idChurnMovement?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n amount?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n mrr?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n arr?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n movementDate?: Date | string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n description?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsObject()\n metadata?: Record<string, any>;\n}\n\n/**\n * Filtres pour récupérer les mouvements de revenu\n */\nexport class IGetRevenueMovementsRequest {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idPrestation?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idTerminationList?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idChurnMovement?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n @IsEnum(RevenueMovementType, { each: true })\n type?: RevenueMovementType[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n startDate?: Date | string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n endDate?: Date | string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n page?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n limit?: number;\n}\n\n/**\n * Réponse paginée pour les mouvements de revenu\n */\nexport interface IGetRevenueMovementsResponse {\n movements: any[]; // IRevenueMovement[]\n total: number;\n page: number;\n limit: number;\n totalPages: number;\n}\n\n/**\n * DTO pour générer un snapshot de revenu\n */\nexport class IGenerateSnapshotRequest {\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n date?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n}\n\n/**\n * DTO pour générer tous les snapshots de revenu\n */\nexport class IGenerateAllSnapshotsRequest {\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n date?: string;\n}\n\n/**\n * DTO pour gérer la rétroactivité des mouvements de revenu\n */\nexport class IManageRetroactivityRequest {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n date?: Date;\n}\n\n/**\n * Réponse pour la gestion de la rétroactivité\n */\nexport interface IManageRetroactivityResponse {\n idSociety: number;\n idExercice: number[];\n exerciceStartDate: Date[];\n exerciceEndDate: Date[];\n movementsCreated: {\n bookings: number;\n churns: number;\n recognitions: number;\n provisions: number;\n mothballingBookings: number;\n };\n prestationsProcessed: number;\n monthsProcessed: number;\n details: {\n type: string;\n idPrestation?: number;\n prestationName?: string;\n date: Date;\n amount: number;\n mrr: number;\n arr: number;\n }[];\n}\n\n/**\n * DTO pour gérer la rétroactivité batch de toutes les sociétés sans mouvements\n */\nexport class IManageRetroactivityBatchRequest {\n @ApiPropertyOptional({\n description: 'Limite du nombre de sociétés à traiter',\n example: 10,\n })\n @IsOptional()\n @IsInt()\n limit?: number = 10;\n\n @ApiPropertyOptional({\n description: 'Offset pour pagination',\n example: 0,\n })\n @IsOptional()\n @IsInt()\n offset?: number = 0;\n\n @ApiPropertyOptional({\n description: 'Date de référence pour la rétroactivité',\n })\n @IsOptional()\n @IsDate()\n date?: Date;\n}\n\n/**\n * Réponse pour la gestion batch de la rétroactivité\n */\nexport interface IManageRetroactivityBatchResponse {\n message: string;\n totalSocietiesProcessed: number;\n results: IManageRetroactivityResponse[];\n errors: Array<{\n idSociety: number;\n error: string;\n }>;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"revenueMovement.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/revenue/revenueMovement.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAgH;AAChH,mDAA4D;AAC5D,6CAAqE;AAErE;;GAEG;AACH,MAAa,6BAA6B;CAsDzC;AAtDD,sEAsDC;AAnDC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,wBAAM,EAAC,6BAAmB,CAAC;;2DACF;AAI1B;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;gEACU;AAKlB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;iEACY;AAKpB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;mEACc;AAKtB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;wEACmB;AAK3B;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;sEACiB;AAIzB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;6DACO;AAIf;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;0DACI;AAIZ;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;0DACI;AAIZ;IAFC,IAAA,m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,EAAE,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC;KACzB,CAAC;IACD,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,uBAAK,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;4EACD;AASrB;IAPC,IAAA,2BAAmB,EAAC;QACnB,WAAW,EAAE,0CAA0C;QACvD,OAAO,EAAE,CAAC;KACX,CAAC;IACD,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;IACP,IAAA,qBAAG,EAAC,CAAC,CAAC;;4EACgB","sourcesContent":["import { IsDate, IsInt, IsOptional, IsEnum, IsNumber, IsString, IsObject, IsArray, Min } from 'class-validator';\nimport { RevenueMovementType } from '../../../Enum/Revenue';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\n/**\n * DTO pour créer un mouvement de revenu\n */\nexport class ICreateRevenueMovementRequest {\n @ApiProperty()\n @IsEnum(RevenueMovementType)\n type: RevenueMovementType;\n\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idPrestation?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idTerminationList?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idChurnMovement?: number;\n\n @ApiProperty()\n @IsInt()\n amount: number;\n\n @ApiProperty()\n @IsInt()\n mrr: number;\n\n @ApiProperty()\n @IsInt()\n arr: number;\n\n @ApiProperty()\n @IsDate()\n movementDate: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n description?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsObject()\n metadata?: Record<string, any>;\n}\n\n/**\n * DTO pour mettre à jour un mouvement de revenu\n */\nexport class IUpdateRevenueMovementRequest {\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(RevenueMovementType)\n type?: RevenueMovementType;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idTerminationList?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idChurnMovement?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n amount?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n mrr?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n arr?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n movementDate?: Date | string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n description?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsObject()\n metadata?: Record<string, any>;\n}\n\n/**\n * Filtres pour récupérer les mouvements de revenu\n */\nexport class IGetRevenueMovementsRequest {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idPrestation?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idTerminationList?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idChurnMovement?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n @IsEnum(RevenueMovementType, { each: true })\n type?: RevenueMovementType[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n startDate?: Date | string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n endDate?: Date | string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n page?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n limit?: number;\n}\n\n/**\n * Réponse paginée pour les mouvements de revenu\n */\nexport interface IGetRevenueMovementsResponse {\n movements: any[]; // IRevenueMovement[]\n total: number;\n page: number;\n limit: number;\n totalPages: number;\n}\n\n/**\n * DTO pour générer un snapshot de revenu\n */\nexport class IGenerateSnapshotRequest {\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n date?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n}\n\n/**\n * DTO pour générer tous les snapshots de revenu\n */\nexport class IGenerateAllSnapshotsRequest {\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n date?: string;\n}\n\n/**\n * DTO pour générer les mouvements de revenu rétroactifs\n */\nexport class IGenerateRetroactiveMovementsRequest {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n date?: Date;\n}\n\n/**\n * Réponse pour la génération de mouvements rétroactifs\n */\nexport interface IGenerateRetroactiveMovementsResponse {\n idSociety: number;\n idExercice: number[];\n exerciceStartDate: Date[];\n exerciceEndDate: Date[];\n movementsCreated: {\n bookings: number;\n churns: number;\n recognitions: number;\n provisions: number;\n mothballingBookings: number;\n };\n prestationsProcessed: number;\n monthsProcessed: number;\n details: {\n type: string;\n idPrestation?: number;\n idExercice?: number;\n prestationName?: string;\n date: Date;\n amount: number;\n mrr: number;\n arr: number;\n }[];\n}\n\n/**\n * DTO pour générer les mouvements rétroactifs en batch pour toutes les sociétés sans mouvements\n */\nexport class IGenerateRetroactiveMovementsBatchRequest {\n @ApiPropertyOptional({\n description: 'Limite du nombre de sociétés à traiter',\n example: 10,\n })\n @IsOptional()\n @IsInt()\n limit?: number = 10;\n\n @ApiPropertyOptional({\n description: 'Offset pour pagination',\n example: 0,\n })\n @IsOptional()\n @IsInt()\n offset?: number = 0;\n\n @ApiPropertyOptional({\n description: 'Date de référence pour la rétroactivité',\n })\n @IsOptional()\n @IsDate()\n date?: Date;\n\n @ApiPropertyOptional({\n description: \"Liste d'IDs de sociétés à traiter explicitement\",\n example: [101, 202, 303],\n })\n @IsOptional()\n @IsArray()\n @IsInt({ each: true })\n idSociety?: number[];\n\n @ApiPropertyOptional({\n description: 'Taille du lot de traitement en parallèle',\n example: 5,\n })\n @IsOptional()\n @IsInt()\n @Min(1)\n batchSize?: number = 5;\n}\n\n/**\n * Réponse pour la génération batch de mouvements rétroactifs\n */\nexport interface IGenerateRetroactiveMovementsBatchResponse {\n message: string;\n totalSocietiesProcessed: number;\n results: IGenerateRetroactiveMovementsResponse[];\n errors: Array<{\n idSociety: number;\n error: string;\n }>;\n}\n\nexport { IGenerateRetroactiveMovementsRequest as GenerateRetroactiveMovements };\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Ged.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/Ged.ts"],"names":[],"mappings":"AAAA,oBAAY,WAAW;IACrB,OAAO,IAAI;IACX,kBAAkB,IAAI;IACtB,MAAM,IAAI;IACV,OAAO,IAAI;IACX,UAAU,IAAI;IACd,OAAO,IAAI;IACX,IAAI,IAAI;IACR,cAAc,IAAI;CACnB;AAED,oBAAY,SAAS;IACnB,IAAI,IAAI;IACR,GAAG,IAAI;IACP,YAAY,IAAI;IAChB,UAAU,IAAI;IACd,mBAAmB,IAAI;IACvB,GAAG,KAAK;IACR,eAAe,KAAK;IACpB,QAAQ,KAAK;IACb,6BAA6B,KAAK;IAClC,UAAU,KAAK;IACf,MAAM,KAAK;IACX,SAAS,KAAK;IACd,GAAG,KAAK;IACR,GAAG,KAAK,CAAE,kCAAkC;IAC5C,gBAAgB,KAAK;IACrB,UAAU,KAAK;IACf,gBAAgB,KAAK;IACrB,KAAK,KAAK;IACV,QAAQ,KAAK;IACb,gBAAgB,KAAK;IACrB,UAAU,KAAK;IACf,aAAa,KAAK;IAClB,SAAS,KAAK;IACd,4BAA4B,KAAK;IACjC,aAAa,KAAK;IAClB,mBAAmB,KAAK;IACxB,YAAY,KAAK;IACjB,QAAQ,KAAK;IACb,cAAc,KAAK;IACnB,aAAa,KAAK;IAClB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D,cAAc,KAAK;IACnB,YAAY,KAAK,CAAE,oBAAoB;IACvC,iBAAiB,KAAK;IACtB,aAAa,KAAK,CAAE,aAAa;IACjC,aAAa,KAAK;CACnB;AAED,eAAO,MAAM,cAAc;;;GAyB1B,CAAC;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;IA2BnC,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;GAgB/B,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuI7B,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC;IAChC,EAAE,EAAE,SAAS,CAAC;IACd,kBAAkB,EAAE,OAAO,CAAC;IAC5B,aAAa,EAAE,WAAW,CAAC;IAC3B,IAAI,EAAE,MAAM,CAAC;CACd,CAmLA,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC;IACtC,aAAa,EAAE,MAAM,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,EAAE,OAAO,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;CAC3B,CAcA,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,MAAM,CACjC,MAAM,EACN;IACE,QAAQ,EAAE,QAAQ,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,SAAS,CAAC;CACzB,CA0HF,CAAC"}
|
|
@@ -279,7 +279,7 @@ export const GedFileTypeDetail = {
|
|
|
279
279
|
},
|
|
280
280
|
IDENTITY_CARD: {
|
|
281
281
|
id: GedFileType.IDENTITY_CARD,
|
|
282
|
-
name:
|
|
282
|
+
name: "Carte d'identité",
|
|
283
283
|
idGedFolder: GedFolder.KBIS,
|
|
284
284
|
typeFile: TypeFile.IDENTITY_CARD_RECTO,
|
|
285
285
|
},
|
|
@@ -409,7 +409,7 @@ export const GedFileTypeDetail = {
|
|
|
409
409
|
export const GedFolderList = [
|
|
410
410
|
{
|
|
411
411
|
id: GedFolder.KBIS,
|
|
412
|
-
name:
|
|
412
|
+
name: "K-bis & Carte d'identité & Mémento fiscal",
|
|
413
413
|
isVisibleForClient: true,
|
|
414
414
|
idGedCategory: GedCategory.COMPANY,
|
|
415
415
|
},
|
|
@@ -435,7 +435,7 @@ export const GedFolderList = [
|
|
|
435
435
|
},
|
|
436
436
|
{
|
|
437
437
|
id: GedFolder.IS_DECLARATIONS,
|
|
438
|
-
name:
|
|
438
|
+
name: "Déclarations d'IS",
|
|
439
439
|
isVisibleForClient: true,
|
|
440
440
|
idGedCategory: GedCategory.ACCOUNTING_AND_TAX,
|
|
441
441
|
},
|
|
@@ -455,7 +455,7 @@ export const GedFolderList = [
|
|
|
455
455
|
idGedCategory: GedCategory.SOCIAL,
|
|
456
456
|
},
|
|
457
457
|
{ id: GedFolder.TNS, name: 'TNS', isVisibleForClient: true, idGedCategory: GedCategory.SOCIAL },
|
|
458
|
-
{ id: GedFolder.AGM, name:
|
|
458
|
+
{ id: GedFolder.AGM, name: "PV d'AG", isVisibleForClient: true, idGedCategory: GedCategory.JURIDIC },
|
|
459
459
|
{
|
|
460
460
|
id: GedFolder.CONTRACTS_LEASES,
|
|
461
461
|
name: 'Contrats & Baux',
|
|
@@ -585,24 +585,6 @@ export const GedFolderList = [
|
|
|
585
585
|
isVisibleForClient: false,
|
|
586
586
|
idGedCategory: GedCategory.ACCOUNTING_AND_TAX,
|
|
587
587
|
},
|
|
588
|
-
{
|
|
589
|
-
id: GedFolder.CASH_BOOK,
|
|
590
|
-
name: 'Caisse',
|
|
591
|
-
isVisibleForClient: true,
|
|
592
|
-
idGedCategory: GedCategory.ACCOUNTING_AND_TAX,
|
|
593
|
-
},
|
|
594
|
-
{
|
|
595
|
-
id: GedFolder.STOCK,
|
|
596
|
-
name: 'Stock',
|
|
597
|
-
isVisibleForClient: true,
|
|
598
|
-
idGedCategory: GedCategory.ACCOUNTING_AND_TAX,
|
|
599
|
-
},
|
|
600
|
-
{
|
|
601
|
-
id: GedFolder.SUMMARY,
|
|
602
|
-
name: 'Récapitulatif',
|
|
603
|
-
isVisibleForClient: true,
|
|
604
|
-
idGedCategory: GedCategory.ACCOUNTING_AND_TAX,
|
|
605
|
-
},
|
|
606
588
|
];
|
|
607
589
|
export const gedCategoryWithName = [
|
|
608
590
|
{ idGedCategory: GedCategory.COMPANY, name: 'Entreprise', usableByClient: true },
|
|
@@ -622,29 +604,22 @@ export const gedCategoryWithName = [
|
|
|
622
604
|
export const TypeFileDetail = {
|
|
623
605
|
[TypeFile.INSURANCE_CONTRACT]: {
|
|
624
606
|
typeFile: TypeFile.INSURANCE_CONTRACT,
|
|
625
|
-
name:
|
|
607
|
+
name: "Contrat d'assurance",
|
|
626
608
|
idGedFolder: GedFolder.INSURANCES,
|
|
627
609
|
},
|
|
628
610
|
[TypeFile.COMPANY_CONTRIBUTION_PROOF]: {
|
|
629
611
|
typeFile: TypeFile.COMPANY_CONTRIBUTION_PROOF,
|
|
630
612
|
name: 'Justificatif des apports faits à la société',
|
|
631
613
|
idGedFolder: GedFolder.JURIDICAL,
|
|
632
|
-
helpText: 'Vos relevés bancaires personnels indiquant le montant d’épargne disponible, votre avis d\'imposition personnel'
|
|
633
614
|
},
|
|
634
615
|
[TypeFile.NOTARY_STATEMENT]: {
|
|
635
616
|
typeFile: TypeFile.NOTARY_STATEMENT,
|
|
636
|
-
name:
|
|
637
|
-
idGedFolder: GedFolder.JURIDICAL,
|
|
638
|
-
helpText: 'Le décompte du notaire définitif doit détailler toutes les opérations intervenues'
|
|
639
|
-
},
|
|
640
|
-
[TypeFile.PURCHASE_DEED]: {
|
|
641
|
-
typeFile: TypeFile.PURCHASE_DEED,
|
|
642
|
-
name: 'Acte d\'achat',
|
|
617
|
+
name: "Décompte de notaire et acte d'achat",
|
|
643
618
|
idGedFolder: GedFolder.JURIDICAL,
|
|
644
619
|
},
|
|
645
620
|
[TypeFile.PV_RESULT_ALLOCATION]: {
|
|
646
621
|
typeFile: TypeFile.PV_RESULT_ALLOCATION,
|
|
647
|
-
name:
|
|
622
|
+
name: "PV d'AG d'affectation du résultat",
|
|
648
623
|
idGedFolder: GedFolder.AGM,
|
|
649
624
|
},
|
|
650
625
|
[TypeFile.SUBSIDY_PROOF]: {
|
|
@@ -654,7 +629,7 @@ export const TypeFileDetail = {
|
|
|
654
629
|
},
|
|
655
630
|
[TypeFile.LOAN_AMORTIZATION_TABLE]: {
|
|
656
631
|
typeFile: TypeFile.LOAN_AMORTIZATION_TABLE,
|
|
657
|
-
name:
|
|
632
|
+
name: "Tableau d'amortissement des emprunts",
|
|
658
633
|
idGedFolder: GedFolder.BORROWING_TABLES,
|
|
659
634
|
},
|
|
660
635
|
[TypeFile.COMMERCIAL_OR_RENTAL_LEASE]: {
|
|
@@ -674,7 +649,7 @@ export const TypeFileDetail = {
|
|
|
674
649
|
},
|
|
675
650
|
[TypeFile.LIVESTOCK_REGISTER]: {
|
|
676
651
|
typeFile: TypeFile.LIVESTOCK_REGISTER,
|
|
677
|
-
name:
|
|
652
|
+
name: "Registre d'élevage",
|
|
678
653
|
idGedFolder: GedFolder.OTHER,
|
|
679
654
|
},
|
|
680
655
|
[TypeFile.LIVESTOCK_INVENTORY]: {
|
|
@@ -704,7 +679,7 @@ export const TypeFileDetail = {
|
|
|
704
679
|
},
|
|
705
680
|
[TypeFile.AGRICULTURAL_TAX_CREDIT_PROOF]: {
|
|
706
681
|
typeFile: TypeFile.AGRICULTURAL_TAX_CREDIT_PROOF,
|
|
707
|
-
name:
|
|
682
|
+
name: "Justificatifs de crédits d'impôt agricoles",
|
|
708
683
|
idGedFolder: GedFolder.MISCELLANEOUS,
|
|
709
684
|
},
|
|
710
685
|
[TypeFile.LOAN_REPAYMENT_PROOF]: {
|
|
@@ -729,17 +704,17 @@ export const TypeFileDetail = {
|
|
|
729
704
|
},
|
|
730
705
|
[TypeFile.CONDOMINIUM_AGM_MINUTES]: {
|
|
731
706
|
typeFile: TypeFile.CONDOMINIUM_AGM_MINUTES,
|
|
732
|
-
name:
|
|
707
|
+
name: "Procès-verbaux d'AG de copropriété",
|
|
733
708
|
idGedFolder: GedFolder.AGM,
|
|
734
709
|
},
|
|
735
710
|
[TypeFile.TAX_NOTICE]: {
|
|
736
711
|
typeFile: TypeFile.TAX_NOTICE,
|
|
737
|
-
name:
|
|
712
|
+
name: "Avis d'imposition (CFE, taxe foncière)",
|
|
738
713
|
idGedFolder: GedFolder.SLIPS_CFE,
|
|
739
714
|
},
|
|
740
715
|
[TypeFile.SUBSIDY_ALLOCATION_NOTIFICATION]: {
|
|
741
716
|
typeFile: TypeFile.SUBSIDY_ALLOCATION_NOTIFICATION,
|
|
742
|
-
name:
|
|
717
|
+
name: "Notifications d'attribution de subventions publiques",
|
|
743
718
|
idGedFolder: GedFolder.SUBVENTION,
|
|
744
719
|
},
|
|
745
720
|
[TypeFile.FINANCING_CONTRACTS_OR_SUBSIDY_AGREEMENTS]: {
|
|
@@ -747,103 +722,5 @@ export const TypeFileDetail = {
|
|
|
747
722
|
name: 'Contrats de financement ou conventions de subvention',
|
|
748
723
|
idGedFolder: GedFolder.SUBVENTION,
|
|
749
724
|
},
|
|
750
|
-
[TypeFile.CAISSE]: {
|
|
751
|
-
typeFile: TypeFile.CAISSE,
|
|
752
|
-
name: 'Livre de caisse',
|
|
753
|
-
idGedFolder: GedFolder.CASH_BOOK,
|
|
754
|
-
helpText: `Créer un tableau structuré Le livre de caisse peut être tenu sur papier, dans un tableur (Excel), ou via un logiciel comptable. Il doit comporter les colonnes suivantes :
|
|
755
|
-
Date
|
|
756
|
-
Libellé / Description de l’opération
|
|
757
|
-
Pièce justificative (n° ou référence)
|
|
758
|
-
Entrée (recette)
|
|
759
|
-
Sortie (dépense)
|
|
760
|
-
Solde
|
|
761
|
-
Enregistrer chaque opération
|
|
762
|
-
Dès qu’une opération en espèces est effectuée, elle doit être inscrite dans le livre de caisse.
|
|
763
|
-
Le solde doit être mis à jour après chaque mouvement.
|
|
764
|
-
Conserver les justificatifs
|
|
765
|
-
Chaque opération doit être appuyée par une pièce justificative (facture, reçu, ticket de caisse…).
|
|
766
|
-
Ces documents doivent être classés et conservés.
|
|
767
|
-
Faire des contrôles réguliers
|
|
768
|
-
Vérifiez que le solde du livre de caisse correspond au montant réel dans la caisse. En cas d’écart, il faut l’expliquer et le corriger.
|
|
769
|
-
Clôturer périodiquement
|
|
770
|
-
À la fin de chaque mois ou période comptable, le livre de caisse peut être clôturé et archivé`
|
|
771
|
-
},
|
|
772
|
-
[TypeFile.STOCK]: {
|
|
773
|
-
typeFile: TypeFile.STOCK,
|
|
774
|
-
name: 'L\'état de vos stocks à la date de clôture',
|
|
775
|
-
idGedFolder: GedFolder.STOCK,
|
|
776
|
-
helpText: 'L’état des stocks doit recenser l’ensemble des produits disponibles à la date de clôture. Chaque article doit être identifié précisément, classé par catégorie (matières premières, marchandises, produits finis), et valorisé au prix d’achat hors taxes (HT). Ce document doit impérativement être daté et signé'
|
|
777
|
-
},
|
|
778
|
-
[TypeFile.RECIPROCITY]: {
|
|
779
|
-
typeFile: TypeFile.RECIPROCITY,
|
|
780
|
-
name: 'Le grand livre de réciprocité des comptes',
|
|
781
|
-
idGedFolder: GedFolder.BALANCE_GL_JOURNALS_YEAR,
|
|
782
|
-
helpText: 'Votre société détient ou a cédé des actions à une autre entité, ce qui établit un lien capitalistique entre les deux sociétés. En conséquence, des mouvements comptables peuvent exister entre elles. Afin d\'assurer la cohérence des écritures comptables, nous vous demandons de nous transmettre les grands livres des opérations enregistrées dans la comptabilité de l’autre société. Cela nous permettra de rapprocher et cadrer les flux entre les deux entités'
|
|
783
|
-
},
|
|
784
|
-
[TypeFile.SUPPLIER_DEBTS]: {
|
|
785
|
-
typeFile: TypeFile.SUPPLIER_DEBTS,
|
|
786
|
-
name: 'Vos dettes fournisseurs',
|
|
787
|
-
idGedFolder: GedFolder.BALANCE_GL_JOURNALS_YEAR,
|
|
788
|
-
helpText: 'Les factures d’achats émises avant la clôture de l’exercice mais non réglées à cette date'
|
|
789
|
-
},
|
|
790
|
-
[TypeFile.CUSTOMER_RECEIVABLES]: {
|
|
791
|
-
typeFile: TypeFile.CUSTOMER_RECEIVABLES,
|
|
792
|
-
name: 'Vos créances clients',
|
|
793
|
-
idGedFolder: GedFolder.BALANCE_GL_JOURNALS_YEAR,
|
|
794
|
-
helpText: 'Les factures de ventes émises avant la clôture de l’exercice mais non encaissées à cette date'
|
|
795
|
-
},
|
|
796
|
-
[TypeFile.PAYROLL_ACCOUNTING_FILE]: {
|
|
797
|
-
typeFile: TypeFile.PAYROLL_ACCOUNTING_FILE,
|
|
798
|
-
name: 'Votre fichier des écritures comptables de paie',
|
|
799
|
-
idGedFolder: GedFolder.PAY_SLIPS,
|
|
800
|
-
helpText: 'Les écritures de paie, le tableau des charges, le livre de paie annuel. Ces documents sont fournis par le prestataire qui établit les bulletins de salaire'
|
|
801
|
-
},
|
|
802
|
-
[TypeFile.MONTHLY_TESE_SUMMARIES]: {
|
|
803
|
-
typeFile: TypeFile.MONTHLY_TESE_SUMMARIES,
|
|
804
|
-
name: 'États des récapitulatifs mensuels TESE',
|
|
805
|
-
idGedFolder: GedFolder.PAY_SLIPS,
|
|
806
|
-
},
|
|
807
|
-
[TypeFile.TICKET_Z]: {
|
|
808
|
-
typeFile: TypeFile.TICKET_Z,
|
|
809
|
-
name: 'Vos ticket Z',
|
|
810
|
-
idGedFolder: GedFolder.CASH_BOOK,
|
|
811
|
-
helpText: 'Un ticket Z mensuel regroupe et récapitule toutes les ventes enregistrées durant le mois. Le document est édité par la caisse enregistreuse à la fin d’un mois'
|
|
812
|
-
},
|
|
813
|
-
[TypeFile.POLICE_BOOK]: {
|
|
814
|
-
typeFile: TypeFile.POLICE_BOOK,
|
|
815
|
-
name: 'Votre livre de police',
|
|
816
|
-
idGedFolder: GedFolder.SUMMARY,
|
|
817
|
-
helpText: 'Récapitulatif des achats et des ventes de vos véhicules afin de comparer la marge. Le document doit être signé et tamponné par la mairie ou la police avant remplissage de celui-ci'
|
|
818
|
-
},
|
|
819
|
-
[TypeFile.STRIPE_AMAZON_STATEMENTS]: {
|
|
820
|
-
typeFile: TypeFile.STRIPE_AMAZON_STATEMENTS,
|
|
821
|
-
name: ' Vos relevés stripe, amazon ect.',
|
|
822
|
-
idGedFolder: GedFolder.SUMMARY,
|
|
823
|
-
helpText: `Stripe : Dans le menu Rapports → Balance ou Relevés financiers, vous pouvez générer un rapport mensuel complet en PDF ou CSV incluant paiements, frais, remboursements, et soldes.
|
|
824
|
-
Amazon : Rendez-vous sur Business Analytics.
|
|
825
|
-
Sous Rapports, sélectionnez Commandes.
|
|
826
|
-
Sélectionnez la période, les filtres, les colonnes, les factures et tous les documents liés à la commande que vous souhaitez télécharger.
|
|
827
|
-
Saisissez un nom pour votre rapport de commande.
|
|
828
|
-
Sélectionnez Télécharger en format PDF`
|
|
829
|
-
},
|
|
830
|
-
[TypeFile.INVOICING_SOFTWARE_SUMMARY]: {
|
|
831
|
-
typeFile: TypeFile.INVOICING_SOFTWARE_SUMMARY,
|
|
832
|
-
name: 'Un récapitulatif de votre logiciel de facturation détaillé par type d’encaissement et par taux de TVA',
|
|
833
|
-
idGedFolder: GedFolder.SUMMARY,
|
|
834
|
-
},
|
|
835
|
-
[TypeFile.MILEAGE_ALLOWANCES_SUMMARY]: {
|
|
836
|
-
typeFile: TypeFile.MILEAGE_ALLOWANCES_SUMMARY,
|
|
837
|
-
name: 'Un récapitulatif de vos indemnités kilométriques',
|
|
838
|
-
idGedFolder: GedFolder.SUMMARY,
|
|
839
|
-
helpText: `Le récapitulatif de vos indemnités kilométriques (IK) doit comporter les éléments suivants :
|
|
840
|
-
Le lieu de départ
|
|
841
|
-
Le lieu d’arrivée
|
|
842
|
-
Le nombre de kilomètres parcourus
|
|
843
|
-
Le véhicule utilisé
|
|
844
|
-
La puissance fiscale du véhicule (CV fiscaux)
|
|
845
|
-
Le barème appliqué
|
|
846
|
-
Le montant de l’indemnité calculée`
|
|
847
|
-
}
|
|
848
725
|
};
|
|
849
726
|
//# sourceMappingURL=Ged.js.map
|