@silexpert/core 1.3.160-4 → 1.3.160
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/api/resources/GeneralLedger.d.ts +1 -2
- package/dist/cjs/api/resources/GeneralLedger.d.ts.map +1 -1
- package/dist/cjs/api/resources/GeneralLedger.js +0 -9
- package/dist/cjs/api/resources/GeneralLedger.js.map +1 -1
- package/dist/cjs/api/resources/Mfa.d.ts +0 -2
- package/dist/cjs/api/resources/Mfa.d.ts.map +1 -1
- package/dist/cjs/api/resources/Mfa.js +0 -7
- package/dist/cjs/api/resources/Mfa.js.map +1 -1
- package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.d.ts +0 -10
- package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.js.map +1 -1
- package/dist/cjs/types/Interface/api/brevo/EmailSendOptions.dto.js +12 -12
- package/dist/cjs/types/Interface/api/brevo/EmailSendOptions.dto.js.map +1 -1
- package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.d.ts +0 -1
- package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.js.map +1 -1
- package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts +0 -1
- package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.js.map +1 -1
- package/dist/cjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.d.ts +0 -9
- package/dist/cjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js +1 -30
- package/dist/cjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js.map +1 -1
- package/dist/cjs/types/Interface/api/revenueMovement.d.ts +9 -10
- package/dist/cjs/types/Interface/api/revenueMovement.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/revenueMovement.js +0 -272
- package/dist/cjs/types/Interface/api/revenueMovement.js.map +1 -1
- package/dist/cjs/types/Interface/api/revenueSnapshotGenerate.d.ts +1 -0
- package/dist/cjs/types/Interface/api/revenueSnapshotGenerate.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/revenueSnapshotGenerate.js +13 -4
- package/dist/cjs/types/Interface/api/revenueSnapshotGenerate.js.map +1 -1
- package/dist/cjs/types/Interface/models/IImmobilization.d.ts +0 -1
- package/dist/cjs/types/Interface/models/IImmobilization.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IImmobilization.js.map +1 -1
- package/dist/cjs/types/Interface/models/IUser.d.ts +0 -1
- package/dist/cjs/types/Interface/models/IUser.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IUser.js.map +1 -1
- package/dist/cjs/types/index.d.ts +0 -5
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +0 -5
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/cjs/utils/prestation.d.ts.map +1 -1
- package/dist/cjs/utils/prestation.js +4 -9
- package/dist/cjs/utils/prestation.js.map +1 -1
- package/dist/mjs/api/resources/GeneralLedger.d.ts +1 -2
- package/dist/mjs/api/resources/GeneralLedger.d.ts.map +1 -1
- package/dist/mjs/api/resources/GeneralLedger.js +0 -9
- package/dist/mjs/api/resources/GeneralLedger.js.map +1 -1
- package/dist/mjs/api/resources/Mfa.d.ts +0 -2
- package/dist/mjs/api/resources/Mfa.d.ts.map +1 -1
- package/dist/mjs/api/resources/Mfa.js +0 -7
- package/dist/mjs/api/resources/Mfa.js.map +1 -1
- package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.d.ts +0 -10
- package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.js.map +1 -1
- package/dist/mjs/types/Interface/api/brevo/EmailSendOptions.dto.js +1 -1
- package/dist/mjs/types/Interface/api/brevo/EmailSendOptions.dto.js.map +1 -1
- package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.d.ts +0 -1
- package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.js.map +1 -1
- package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts +0 -1
- package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.js.map +1 -1
- package/dist/mjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.d.ts +0 -9
- package/dist/mjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js +1 -34
- package/dist/mjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js.map +1 -1
- package/dist/mjs/types/Interface/api/revenueMovement.d.ts +9 -10
- package/dist/mjs/types/Interface/api/revenueMovement.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/revenueMovement.js +1 -303
- package/dist/mjs/types/Interface/api/revenueMovement.js.map +1 -1
- package/dist/mjs/types/Interface/api/revenueSnapshotGenerate.d.ts +1 -0
- package/dist/mjs/types/Interface/api/revenueSnapshotGenerate.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/revenueSnapshotGenerate.js +16 -13
- package/dist/mjs/types/Interface/api/revenueSnapshotGenerate.js.map +1 -1
- package/dist/mjs/types/Interface/models/IImmobilization.d.ts +0 -1
- package/dist/mjs/types/Interface/models/IImmobilization.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IImmobilization.js.map +1 -1
- package/dist/mjs/types/Interface/models/IUser.d.ts +0 -1
- package/dist/mjs/types/Interface/models/IUser.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IUser.js.map +1 -1
- package/dist/mjs/types/index.d.ts +0 -5
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +0 -5
- package/dist/mjs/types/index.js.map +1 -1
- package/dist/mjs/utils/prestation.d.ts.map +1 -1
- package/dist/mjs/utils/prestation.js +1 -3
- package/dist/mjs/utils/prestation.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/GeneralLedger.ts +0 -11
- package/ts/api/resources/Mfa.ts +0 -10
- package/ts/types/Interface/api/authentification/AuthenticationResponse.ts +0 -10
- package/ts/types/Interface/api/brevo/EmailSendOptions.dto.ts +1 -1
- package/ts/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.ts +0 -1
- package/ts/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.ts +0 -1
- package/ts/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.ts +1 -26
- package/ts/types/Interface/api/revenueMovement.ts +9 -153
- package/ts/types/Interface/api/revenueSnapshotGenerate.ts +13 -13
- package/ts/types/Interface/models/IImmobilization.ts +0 -1
- package/ts/types/Interface/models/IUser.ts +0 -1
- package/ts/types/index.ts +0 -5
- package/ts/utils/prestation.ts +1 -3
- package/dist/cjs/api/resources/LoginApproval.d.ts +0 -18
- package/dist/cjs/api/resources/LoginApproval.d.ts.map +0 -1
- package/dist/cjs/api/resources/LoginApproval.js +0 -20
- package/dist/cjs/api/resources/LoginApproval.js.map +0 -1
- package/dist/cjs/types/Enum/LoginApprovalStatus.d.ts +0 -14
- package/dist/cjs/types/Enum/LoginApprovalStatus.d.ts.map +0 -1
- package/dist/cjs/types/Enum/LoginApprovalStatus.js +0 -18
- package/dist/cjs/types/Enum/LoginApprovalStatus.js.map +0 -1
- package/dist/cjs/types/Enum/MfaMode.d.ts +0 -12
- package/dist/cjs/types/Enum/MfaMode.d.ts.map +0 -1
- package/dist/cjs/types/Enum/MfaMode.js +0 -16
- package/dist/cjs/types/Enum/MfaMode.js.map +0 -1
- package/dist/cjs/types/Interface/api/authentification/loginApproval.d.ts +0 -65
- package/dist/cjs/types/Interface/api/authentification/loginApproval.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/authentification/loginApproval.js +0 -3
- package/dist/cjs/types/Interface/api/authentification/loginApproval.js.map +0 -1
- package/dist/cjs/types/Interface/models/ILoginApproval.d.ts +0 -31
- package/dist/cjs/types/Interface/models/ILoginApproval.d.ts.map +0 -1
- package/dist/cjs/types/Interface/models/ILoginApproval.js +0 -3
- package/dist/cjs/types/Interface/models/ILoginApproval.js.map +0 -1
- package/dist/mjs/api/resources/LoginApproval.d.ts +0 -18
- package/dist/mjs/api/resources/LoginApproval.d.ts.map +0 -1
- package/dist/mjs/api/resources/LoginApproval.js +0 -16
- package/dist/mjs/api/resources/LoginApproval.js.map +0 -1
- package/dist/mjs/types/Enum/LoginApprovalStatus.d.ts +0 -14
- package/dist/mjs/types/Enum/LoginApprovalStatus.d.ts.map +0 -1
- package/dist/mjs/types/Enum/LoginApprovalStatus.js +0 -15
- package/dist/mjs/types/Enum/LoginApprovalStatus.js.map +0 -1
- package/dist/mjs/types/Enum/MfaMode.d.ts +0 -12
- package/dist/mjs/types/Enum/MfaMode.d.ts.map +0 -1
- package/dist/mjs/types/Enum/MfaMode.js +0 -13
- package/dist/mjs/types/Enum/MfaMode.js.map +0 -1
- package/dist/mjs/types/Interface/api/authentification/loginApproval.d.ts +0 -65
- package/dist/mjs/types/Interface/api/authentification/loginApproval.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/authentification/loginApproval.js +0 -2
- package/dist/mjs/types/Interface/api/authentification/loginApproval.js.map +0 -1
- package/dist/mjs/types/Interface/models/ILoginApproval.d.ts +0 -31
- package/dist/mjs/types/Interface/models/ILoginApproval.d.ts.map +0 -1
- package/dist/mjs/types/Interface/models/ILoginApproval.js +0 -2
- package/dist/mjs/types/Interface/models/ILoginApproval.js.map +0 -1
- package/ts/api/resources/LoginApproval.ts +0 -20
- package/ts/types/Enum/LoginApprovalStatus.ts +0 -13
- package/ts/types/Enum/MfaMode.ts +0 -11
- package/ts/types/Interface/api/authentification/loginApproval.ts +0 -69
- package/ts/types/Interface/models/ILoginApproval.ts +0 -31
|
@@ -2,7 +2,7 @@ import { RevenueMovementType } from '../../Enum/Revenue';
|
|
|
2
2
|
/**
|
|
3
3
|
* DTO pour créer un mouvement de revenu
|
|
4
4
|
*/
|
|
5
|
-
export
|
|
5
|
+
export interface ICreateRevenueMovementRequest {
|
|
6
6
|
type: RevenueMovementType;
|
|
7
7
|
idSociety: number;
|
|
8
8
|
idExercice?: number;
|
|
@@ -19,7 +19,7 @@ export declare class ICreateRevenueMovementRequest {
|
|
|
19
19
|
/**
|
|
20
20
|
* DTO pour mettre à jour un mouvement de revenu
|
|
21
21
|
*/
|
|
22
|
-
export
|
|
22
|
+
export interface IUpdateRevenueMovementRequest {
|
|
23
23
|
type?: RevenueMovementType;
|
|
24
24
|
idTerminationList?: number;
|
|
25
25
|
idChurnMovement?: number;
|
|
@@ -33,7 +33,7 @@ export declare class IUpdateRevenueMovementRequest {
|
|
|
33
33
|
/**
|
|
34
34
|
* Filtres pour récupérer les mouvements de revenu
|
|
35
35
|
*/
|
|
36
|
-
export
|
|
36
|
+
export interface IGetRevenueMovementsRequest {
|
|
37
37
|
idSociety?: number;
|
|
38
38
|
idExercice?: number;
|
|
39
39
|
idPrestation?: number;
|
|
@@ -58,7 +58,7 @@ export interface IGetRevenueMovementsResponse {
|
|
|
58
58
|
/**
|
|
59
59
|
* DTO pour générer un snapshot de revenu
|
|
60
60
|
*/
|
|
61
|
-
export
|
|
61
|
+
export interface IGenerateSnapshotRequest {
|
|
62
62
|
date?: string;
|
|
63
63
|
idSociety?: number;
|
|
64
64
|
idExercice?: number;
|
|
@@ -66,25 +66,24 @@ export declare class IGenerateSnapshotRequest {
|
|
|
66
66
|
/**
|
|
67
67
|
* DTO pour générer tous les snapshots de revenu
|
|
68
68
|
*/
|
|
69
|
-
export
|
|
69
|
+
export interface IGenerateAllSnapshotsRequest {
|
|
70
70
|
date?: string;
|
|
71
71
|
}
|
|
72
72
|
/**
|
|
73
73
|
* DTO pour gérer la rétroactivité des mouvements de revenu
|
|
74
74
|
*/
|
|
75
|
-
export
|
|
75
|
+
export interface IManageRetroactivityRequest {
|
|
76
76
|
idSociety: number;
|
|
77
77
|
idExercice?: number;
|
|
78
|
-
date?: Date;
|
|
79
78
|
}
|
|
80
79
|
/**
|
|
81
80
|
* Réponse pour la gestion de la rétroactivité
|
|
82
81
|
*/
|
|
83
82
|
export interface IManageRetroactivityResponse {
|
|
84
83
|
idSociety: number;
|
|
85
|
-
idExercice: number
|
|
86
|
-
exerciceStartDate: Date
|
|
87
|
-
exerciceEndDate: Date
|
|
84
|
+
idExercice: number;
|
|
85
|
+
exerciceStartDate: Date;
|
|
86
|
+
exerciceEndDate: Date;
|
|
88
87
|
movementsCreated: {
|
|
89
88
|
bookings: number;
|
|
90
89
|
churns: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"revenueMovement.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revenueMovement.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"revenueMovement.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revenueMovement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAEzD;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC5C,IAAI,EAAE,mBAAmB,CAAC;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,eAAe,CAAC,EAA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CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,iBAAiB,EAAE,IAAI,CAAC;IACxB,eAAe,EAAE,IAAI,CAAC;IACtB,gBAAgB,EAAE;QAChB,QAAQ,EAAE,MAAM,CAAC;QACjB,MAAM,EAAE,MAAM,CAAC;QACf,YAAY,EAAE,MAAM,CAAC;QACrB,UAAU,EAAE,MAAM,CAAC;QACnB,mBAAmB,EAAE,MAAM,CAAC;KAC7B,CAAC;IACF,oBAAoB,EAAE,MAAM,CAAC;IAC7B,eAAe,EAAE,MAAM,CAAC;IACxB,OAAO,EAAE;QACP,IAAI,EAAE,MAAM,CAAC;QACb,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,IAAI,EAAE,IAAI,CAAC;QACX,MAAM,EAAE,MAAM,CAAC;QACf,GAAG,EAAE,MAAM,CAAC;QACZ,GAAG,EAAE,MAAM,CAAC;KACb,EAAE,CAAC;CACL"}
|
|
@@ -1,304 +1,2 @@
|
|
|
1
|
-
|
|
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 { IsDate, IsInt, IsOptional, IsEnum, IsNumber, IsString, IsObject, IsArray } from 'class-validator';
|
|
11
|
-
import { RevenueMovementType } from '../../Enum/Revenue';
|
|
12
|
-
import { ApiProperty, ApiPropertyOptional } from '../../../utils';
|
|
13
|
-
/**
|
|
14
|
-
* DTO pour créer un mouvement de revenu
|
|
15
|
-
*/
|
|
16
|
-
export class ICreateRevenueMovementRequest {
|
|
17
|
-
type;
|
|
18
|
-
idSociety;
|
|
19
|
-
idExercice;
|
|
20
|
-
idPrestation;
|
|
21
|
-
idTerminationList;
|
|
22
|
-
idChurnMovement;
|
|
23
|
-
amount;
|
|
24
|
-
mrr;
|
|
25
|
-
arr;
|
|
26
|
-
movementDate;
|
|
27
|
-
description;
|
|
28
|
-
metadata;
|
|
29
|
-
}
|
|
30
|
-
__decorate([
|
|
31
|
-
ApiProperty(),
|
|
32
|
-
IsEnum(RevenueMovementType),
|
|
33
|
-
__metadata("design:type", Number)
|
|
34
|
-
], ICreateRevenueMovementRequest.prototype, "type", void 0);
|
|
35
|
-
__decorate([
|
|
36
|
-
ApiProperty(),
|
|
37
|
-
IsInt(),
|
|
38
|
-
__metadata("design:type", Number)
|
|
39
|
-
], ICreateRevenueMovementRequest.prototype, "idSociety", void 0);
|
|
40
|
-
__decorate([
|
|
41
|
-
ApiPropertyOptional(),
|
|
42
|
-
IsOptional(),
|
|
43
|
-
IsInt(),
|
|
44
|
-
__metadata("design:type", Number)
|
|
45
|
-
], ICreateRevenueMovementRequest.prototype, "idExercice", void 0);
|
|
46
|
-
__decorate([
|
|
47
|
-
ApiPropertyOptional(),
|
|
48
|
-
IsOptional(),
|
|
49
|
-
IsInt(),
|
|
50
|
-
__metadata("design:type", Number)
|
|
51
|
-
], ICreateRevenueMovementRequest.prototype, "idPrestation", void 0);
|
|
52
|
-
__decorate([
|
|
53
|
-
ApiPropertyOptional(),
|
|
54
|
-
IsOptional(),
|
|
55
|
-
IsInt(),
|
|
56
|
-
__metadata("design:type", Number)
|
|
57
|
-
], ICreateRevenueMovementRequest.prototype, "idTerminationList", void 0);
|
|
58
|
-
__decorate([
|
|
59
|
-
ApiPropertyOptional(),
|
|
60
|
-
IsOptional(),
|
|
61
|
-
IsInt(),
|
|
62
|
-
__metadata("design:type", Number)
|
|
63
|
-
], ICreateRevenueMovementRequest.prototype, "idChurnMovement", void 0);
|
|
64
|
-
__decorate([
|
|
65
|
-
ApiProperty(),
|
|
66
|
-
IsInt(),
|
|
67
|
-
__metadata("design:type", Number)
|
|
68
|
-
], ICreateRevenueMovementRequest.prototype, "amount", void 0);
|
|
69
|
-
__decorate([
|
|
70
|
-
ApiProperty(),
|
|
71
|
-
IsInt(),
|
|
72
|
-
__metadata("design:type", Number)
|
|
73
|
-
], ICreateRevenueMovementRequest.prototype, "mrr", void 0);
|
|
74
|
-
__decorate([
|
|
75
|
-
ApiProperty(),
|
|
76
|
-
IsInt(),
|
|
77
|
-
__metadata("design:type", Number)
|
|
78
|
-
], ICreateRevenueMovementRequest.prototype, "arr", void 0);
|
|
79
|
-
__decorate([
|
|
80
|
-
ApiProperty(),
|
|
81
|
-
IsDate(),
|
|
82
|
-
__metadata("design:type", Date)
|
|
83
|
-
], ICreateRevenueMovementRequest.prototype, "movementDate", void 0);
|
|
84
|
-
__decorate([
|
|
85
|
-
ApiPropertyOptional(),
|
|
86
|
-
IsOptional(),
|
|
87
|
-
IsString(),
|
|
88
|
-
__metadata("design:type", String)
|
|
89
|
-
], ICreateRevenueMovementRequest.prototype, "description", void 0);
|
|
90
|
-
__decorate([
|
|
91
|
-
ApiPropertyOptional(),
|
|
92
|
-
IsOptional(),
|
|
93
|
-
IsObject(),
|
|
94
|
-
__metadata("design:type", Object)
|
|
95
|
-
], ICreateRevenueMovementRequest.prototype, "metadata", void 0);
|
|
96
|
-
/**
|
|
97
|
-
* DTO pour mettre à jour un mouvement de revenu
|
|
98
|
-
*/
|
|
99
|
-
export class IUpdateRevenueMovementRequest {
|
|
100
|
-
type;
|
|
101
|
-
idTerminationList;
|
|
102
|
-
idChurnMovement;
|
|
103
|
-
amount;
|
|
104
|
-
mrr;
|
|
105
|
-
arr;
|
|
106
|
-
movementDate;
|
|
107
|
-
description;
|
|
108
|
-
metadata;
|
|
109
|
-
}
|
|
110
|
-
__decorate([
|
|
111
|
-
ApiPropertyOptional(),
|
|
112
|
-
IsOptional(),
|
|
113
|
-
IsEnum(RevenueMovementType),
|
|
114
|
-
__metadata("design:type", Number)
|
|
115
|
-
], IUpdateRevenueMovementRequest.prototype, "type", void 0);
|
|
116
|
-
__decorate([
|
|
117
|
-
ApiPropertyOptional(),
|
|
118
|
-
IsOptional(),
|
|
119
|
-
IsInt(),
|
|
120
|
-
__metadata("design:type", Number)
|
|
121
|
-
], IUpdateRevenueMovementRequest.prototype, "idTerminationList", void 0);
|
|
122
|
-
__decorate([
|
|
123
|
-
ApiPropertyOptional(),
|
|
124
|
-
IsOptional(),
|
|
125
|
-
IsInt(),
|
|
126
|
-
__metadata("design:type", Number)
|
|
127
|
-
], IUpdateRevenueMovementRequest.prototype, "idChurnMovement", void 0);
|
|
128
|
-
__decorate([
|
|
129
|
-
ApiPropertyOptional(),
|
|
130
|
-
IsOptional(),
|
|
131
|
-
IsNumber(),
|
|
132
|
-
__metadata("design:type", Number)
|
|
133
|
-
], IUpdateRevenueMovementRequest.prototype, "amount", void 0);
|
|
134
|
-
__decorate([
|
|
135
|
-
ApiPropertyOptional(),
|
|
136
|
-
IsOptional(),
|
|
137
|
-
IsInt(),
|
|
138
|
-
__metadata("design:type", Number)
|
|
139
|
-
], IUpdateRevenueMovementRequest.prototype, "mrr", void 0);
|
|
140
|
-
__decorate([
|
|
141
|
-
ApiPropertyOptional(),
|
|
142
|
-
IsOptional(),
|
|
143
|
-
IsInt(),
|
|
144
|
-
__metadata("design:type", Number)
|
|
145
|
-
], IUpdateRevenueMovementRequest.prototype, "arr", void 0);
|
|
146
|
-
__decorate([
|
|
147
|
-
ApiPropertyOptional(),
|
|
148
|
-
IsOptional(),
|
|
149
|
-
IsDate(),
|
|
150
|
-
__metadata("design:type", Object)
|
|
151
|
-
], IUpdateRevenueMovementRequest.prototype, "movementDate", void 0);
|
|
152
|
-
__decorate([
|
|
153
|
-
ApiPropertyOptional(),
|
|
154
|
-
IsOptional(),
|
|
155
|
-
IsString(),
|
|
156
|
-
__metadata("design:type", String)
|
|
157
|
-
], IUpdateRevenueMovementRequest.prototype, "description", void 0);
|
|
158
|
-
__decorate([
|
|
159
|
-
ApiPropertyOptional(),
|
|
160
|
-
IsOptional(),
|
|
161
|
-
IsObject(),
|
|
162
|
-
__metadata("design:type", Object)
|
|
163
|
-
], IUpdateRevenueMovementRequest.prototype, "metadata", void 0);
|
|
164
|
-
/**
|
|
165
|
-
* Filtres pour récupérer les mouvements de revenu
|
|
166
|
-
*/
|
|
167
|
-
export class IGetRevenueMovementsRequest {
|
|
168
|
-
idSociety;
|
|
169
|
-
idExercice;
|
|
170
|
-
idPrestation;
|
|
171
|
-
idTerminationList;
|
|
172
|
-
idChurnMovement;
|
|
173
|
-
type;
|
|
174
|
-
startDate;
|
|
175
|
-
endDate;
|
|
176
|
-
page;
|
|
177
|
-
limit;
|
|
178
|
-
}
|
|
179
|
-
__decorate([
|
|
180
|
-
ApiPropertyOptional(),
|
|
181
|
-
IsOptional(),
|
|
182
|
-
IsInt(),
|
|
183
|
-
__metadata("design:type", Number)
|
|
184
|
-
], IGetRevenueMovementsRequest.prototype, "idSociety", void 0);
|
|
185
|
-
__decorate([
|
|
186
|
-
ApiPropertyOptional(),
|
|
187
|
-
IsOptional(),
|
|
188
|
-
IsInt(),
|
|
189
|
-
__metadata("design:type", Number)
|
|
190
|
-
], IGetRevenueMovementsRequest.prototype, "idExercice", void 0);
|
|
191
|
-
__decorate([
|
|
192
|
-
ApiPropertyOptional(),
|
|
193
|
-
IsOptional(),
|
|
194
|
-
IsInt(),
|
|
195
|
-
__metadata("design:type", Number)
|
|
196
|
-
], IGetRevenueMovementsRequest.prototype, "idPrestation", void 0);
|
|
197
|
-
__decorate([
|
|
198
|
-
ApiPropertyOptional(),
|
|
199
|
-
IsOptional(),
|
|
200
|
-
IsInt(),
|
|
201
|
-
__metadata("design:type", Number)
|
|
202
|
-
], IGetRevenueMovementsRequest.prototype, "idTerminationList", void 0);
|
|
203
|
-
__decorate([
|
|
204
|
-
ApiPropertyOptional(),
|
|
205
|
-
IsOptional(),
|
|
206
|
-
IsInt(),
|
|
207
|
-
__metadata("design:type", Number)
|
|
208
|
-
], IGetRevenueMovementsRequest.prototype, "idChurnMovement", void 0);
|
|
209
|
-
__decorate([
|
|
210
|
-
ApiPropertyOptional(),
|
|
211
|
-
IsOptional(),
|
|
212
|
-
IsArray(),
|
|
213
|
-
IsEnum(RevenueMovementType, { each: true }),
|
|
214
|
-
__metadata("design:type", Array)
|
|
215
|
-
], IGetRevenueMovementsRequest.prototype, "type", void 0);
|
|
216
|
-
__decorate([
|
|
217
|
-
ApiPropertyOptional(),
|
|
218
|
-
IsOptional(),
|
|
219
|
-
IsDate(),
|
|
220
|
-
__metadata("design:type", Object)
|
|
221
|
-
], IGetRevenueMovementsRequest.prototype, "startDate", void 0);
|
|
222
|
-
__decorate([
|
|
223
|
-
ApiPropertyOptional(),
|
|
224
|
-
IsOptional(),
|
|
225
|
-
IsDate(),
|
|
226
|
-
__metadata("design:type", Object)
|
|
227
|
-
], IGetRevenueMovementsRequest.prototype, "endDate", void 0);
|
|
228
|
-
__decorate([
|
|
229
|
-
ApiPropertyOptional(),
|
|
230
|
-
IsOptional(),
|
|
231
|
-
IsInt(),
|
|
232
|
-
__metadata("design:type", Number)
|
|
233
|
-
], IGetRevenueMovementsRequest.prototype, "page", void 0);
|
|
234
|
-
__decorate([
|
|
235
|
-
ApiPropertyOptional(),
|
|
236
|
-
IsOptional(),
|
|
237
|
-
IsInt(),
|
|
238
|
-
__metadata("design:type", Number)
|
|
239
|
-
], IGetRevenueMovementsRequest.prototype, "limit", void 0);
|
|
240
|
-
/**
|
|
241
|
-
* DTO pour générer un snapshot de revenu
|
|
242
|
-
*/
|
|
243
|
-
export class IGenerateSnapshotRequest {
|
|
244
|
-
date;
|
|
245
|
-
idSociety;
|
|
246
|
-
idExercice;
|
|
247
|
-
}
|
|
248
|
-
__decorate([
|
|
249
|
-
ApiPropertyOptional(),
|
|
250
|
-
IsOptional(),
|
|
251
|
-
IsDate(),
|
|
252
|
-
__metadata("design:type", String)
|
|
253
|
-
], IGenerateSnapshotRequest.prototype, "date", void 0);
|
|
254
|
-
__decorate([
|
|
255
|
-
ApiPropertyOptional(),
|
|
256
|
-
IsOptional(),
|
|
257
|
-
IsInt(),
|
|
258
|
-
__metadata("design:type", Number)
|
|
259
|
-
], IGenerateSnapshotRequest.prototype, "idSociety", void 0);
|
|
260
|
-
__decorate([
|
|
261
|
-
ApiPropertyOptional(),
|
|
262
|
-
IsOptional(),
|
|
263
|
-
IsInt(),
|
|
264
|
-
__metadata("design:type", Number)
|
|
265
|
-
], IGenerateSnapshotRequest.prototype, "idExercice", void 0);
|
|
266
|
-
/**
|
|
267
|
-
* DTO pour générer tous les snapshots de revenu
|
|
268
|
-
*/
|
|
269
|
-
export class IGenerateAllSnapshotsRequest {
|
|
270
|
-
date;
|
|
271
|
-
}
|
|
272
|
-
__decorate([
|
|
273
|
-
ApiPropertyOptional(),
|
|
274
|
-
IsOptional(),
|
|
275
|
-
IsDate(),
|
|
276
|
-
__metadata("design:type", String)
|
|
277
|
-
], IGenerateAllSnapshotsRequest.prototype, "date", void 0);
|
|
278
|
-
/**
|
|
279
|
-
* DTO pour gérer la rétroactivité des mouvements de revenu
|
|
280
|
-
*/
|
|
281
|
-
export class IManageRetroactivityRequest {
|
|
282
|
-
idSociety;
|
|
283
|
-
idExercice;
|
|
284
|
-
date;
|
|
285
|
-
}
|
|
286
|
-
__decorate([
|
|
287
|
-
ApiPropertyOptional(),
|
|
288
|
-
IsOptional(),
|
|
289
|
-
IsInt(),
|
|
290
|
-
__metadata("design:type", Number)
|
|
291
|
-
], IManageRetroactivityRequest.prototype, "idSociety", void 0);
|
|
292
|
-
__decorate([
|
|
293
|
-
ApiPropertyOptional(),
|
|
294
|
-
IsOptional(),
|
|
295
|
-
IsInt(),
|
|
296
|
-
__metadata("design:type", Number)
|
|
297
|
-
], IManageRetroactivityRequest.prototype, "idExercice", void 0);
|
|
298
|
-
__decorate([
|
|
299
|
-
ApiPropertyOptional(),
|
|
300
|
-
IsOptional(),
|
|
301
|
-
IsDate(),
|
|
302
|
-
__metadata("design:type", Date)
|
|
303
|
-
], IManageRetroactivityRequest.prototype, "date", void 0);
|
|
1
|
+
export {};
|
|
304
2
|
//# sourceMappingURL=revenueMovement.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"revenueMovement.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revenueMovement.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"revenueMovement.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revenueMovement.ts"],"names":[],"mappings":"","sourcesContent":["import { RevenueMovementType } from '../../Enum/Revenue';\n\n/**\n * DTO pour créer un mouvement de revenu\n */\nexport interface ICreateRevenueMovementRequest {\n type: RevenueMovementType;\n idSociety: number;\n idExercice?: number;\n idPrestation?: number;\n idTerminationList?: number;\n idChurnMovement?: number;\n amount: number;\n mrr: number;\n arr: number;\n movementDate: Date;\n description?: string;\n metadata?: Record<string, any>;\n}\n\n/**\n * DTO pour mettre à jour un mouvement de revenu\n */\nexport interface IUpdateRevenueMovementRequest {\n type?: RevenueMovementType;\n idTerminationList?: number;\n idChurnMovement?: number;\n amount?: number;\n mrr?: number;\n arr?: number;\n movementDate?: Date | string;\n description?: string;\n metadata?: Record<string, any>;\n}\n\n/**\n * Filtres pour récupérer les mouvements de revenu\n */\nexport interface IGetRevenueMovementsRequest {\n idSociety?: number;\n idExercice?: number;\n idPrestation?: number;\n idTerminationList?: number;\n idChurnMovement?: number;\n type?: RevenueMovementType[];\n startDate?: Date | string;\n endDate?: Date | string;\n page?: number;\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 interface IGenerateSnapshotRequest {\n date?: string;\n idSociety?: number;\n idExercice?: number;\n}\n\n/**\n * DTO pour générer tous les snapshots de revenu\n */\nexport interface IGenerateAllSnapshotsRequest {\n date?: string;\n}\n\n/**\n * DTO pour gérer la rétroactivité des mouvements de revenu\n */\nexport interface IManageRetroactivityRequest {\n idSociety: number;\n idExercice?: number;\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"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"revenueSnapshotGenerate.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revenueSnapshotGenerate.ts"],"names":[],"mappings":"AAGA,qBAAa,gBAAgB;IAQ3B,IAAI,CAAC,EAAE,MAAM,CAAC;IASd,SAAS,CAAC,EAAE,MAAM,CAAC;IASnB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,qBAAa,oBAAoB;IAQ/B,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,qBAAa,mBAAmB;
|
|
1
|
+
{"version":3,"file":"revenueSnapshotGenerate.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revenueSnapshotGenerate.ts"],"names":[],"mappings":"AAGA,qBAAa,gBAAgB;IAQ3B,IAAI,CAAC,EAAE,MAAM,CAAC;IASd,SAAS,CAAC,EAAE,MAAM,CAAC;IASnB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,qBAAa,oBAAoB;IAQ/B,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,qBAAa,mBAAmB;IAO9B,SAAS,EAAE,MAAM,CAAC;IASlB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB"}
|
|
@@ -7,8 +7,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import { ApiProperty
|
|
11
|
-
import { IsOptional, IsString, IsNumber
|
|
10
|
+
import { ApiProperty } from '../../../utils';
|
|
11
|
+
import { IsOptional, IsString, IsNumber } from 'class-validator';
|
|
12
12
|
export class GenerateSnapshot {
|
|
13
13
|
date;
|
|
14
14
|
idSociety;
|
|
@@ -37,7 +37,7 @@ __decorate([
|
|
|
37
37
|
__decorate([
|
|
38
38
|
ApiProperty({
|
|
39
39
|
required: false,
|
|
40
|
-
description:
|
|
40
|
+
description: "ID de l'exercice",
|
|
41
41
|
example: 123456,
|
|
42
42
|
}),
|
|
43
43
|
IsOptional(),
|
|
@@ -58,23 +58,26 @@ __decorate([
|
|
|
58
58
|
__metadata("design:type", String)
|
|
59
59
|
], GenerateAllSnapshots.prototype, "date", void 0);
|
|
60
60
|
export class ManageRetroactivity {
|
|
61
|
-
|
|
62
|
-
// required: true,
|
|
63
|
-
// description: 'ID de la société',
|
|
64
|
-
// example: 60170,
|
|
65
|
-
// })
|
|
66
|
-
// @IsInt()
|
|
67
|
-
// idSociety: number;
|
|
61
|
+
idSociety;
|
|
68
62
|
idExercice;
|
|
69
63
|
}
|
|
70
64
|
__decorate([
|
|
71
|
-
|
|
65
|
+
ApiProperty({
|
|
66
|
+
required: true,
|
|
67
|
+
description: 'ID de la société',
|
|
68
|
+
example: 60170,
|
|
69
|
+
}),
|
|
70
|
+
IsNumber(),
|
|
71
|
+
__metadata("design:type", Number)
|
|
72
|
+
], ManageRetroactivity.prototype, "idSociety", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
ApiProperty({
|
|
72
75
|
required: false,
|
|
73
|
-
description:
|
|
76
|
+
description: "ID de l'exercice (si non fourni, utilise l'exercice courant)",
|
|
74
77
|
example: 123456,
|
|
75
78
|
}),
|
|
76
79
|
IsOptional(),
|
|
77
|
-
|
|
80
|
+
IsNumber(),
|
|
78
81
|
__metadata("design:type", Number)
|
|
79
82
|
], ManageRetroactivity.prototype, "idExercice", void 0);
|
|
80
83
|
//# sourceMappingURL=revenueSnapshotGenerate.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"revenueSnapshotGenerate.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revenueSnapshotGenerate.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"revenueSnapshotGenerate.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revenueSnapshotGenerate.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAEjE,MAAM,OAAO,gBAAgB;IAQ3B,IAAI,CAAU;IASd,SAAS,CAAU;IASnB,UAAU,CAAU;CACrB;AAnBC;IAPC,WAAW,CAAC;QACX,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,6CAA6C;QAC1D,OAAO,EAAE,YAAY;KACtB,CAAC;IACD,UAAU,EAAE;IACZ,QAAQ,EAAE;;8CACG;AASd;IAPC,WAAW,CAAC;QACX,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,kBAAkB;QAC/B,OAAO,EAAE,KAAK;KACf,CAAC;IACD,UAAU,EAAE;IACZ,QAAQ,EAAE;;mDACQ;AASnB;IAPC,WAAW,CAAC;QACX,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,kBAAkB;QAC/B,OAAO,EAAE,MAAM;KAChB,CAAC;IACD,UAAU,EAAE;IACZ,QAAQ,EAAE;;oDACS;AAGtB,MAAM,OAAO,oBAAoB;IAQ/B,IAAI,CAAU;CACf;AADC;IAPC,WAAW,CAAC;QACX,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,6CAA6C;QAC1D,OAAO,EAAE,YAAY;KACtB,CAAC;IACD,UAAU,EAAE;IACZ,QAAQ,EAAE;;kDACG;AAGhB,MAAM,OAAO,mBAAmB;IAO9B,SAAS,CAAS;IASlB,UAAU,CAAU;CACrB;AAVC;IANC,WAAW,CAAC;QACX,QAAQ,EAAE,IAAI;QACd,WAAW,EAAE,kBAAkB;QAC/B,OAAO,EAAE,KAAK;KACf,CAAC;IACD,QAAQ,EAAE;;sDACO;AASlB;IAPC,WAAW,CAAC;QACX,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,8DAA8D;QAC3E,OAAO,EAAE,MAAM;KAChB,CAAC;IACD,UAAU,EAAE;IACZ,QAAQ,EAAE;;uDACS","sourcesContent":["import { ApiProperty } from '../../../utils';\nimport { IsOptional, IsString, IsNumber } from 'class-validator';\n\nexport class GenerateSnapshot {\n @ApiProperty({\n required: false,\n description: 'Date du snapshot au format ISO (YYYY-MM-DD)',\n example: '2025-11-04',\n })\n @IsOptional()\n @IsString()\n date?: string;\n\n @ApiProperty({\n required: false,\n description: 'ID de la société',\n example: 60170,\n })\n @IsOptional()\n @IsNumber()\n idSociety?: number;\n\n @ApiProperty({\n required: false,\n description: \"ID de l'exercice\",\n example: 123456,\n })\n @IsOptional()\n @IsNumber()\n idExercice?: number;\n}\n\nexport class GenerateAllSnapshots {\n @ApiProperty({\n required: false,\n description: 'Date du snapshot au format ISO (YYYY-MM-DD)',\n example: '2025-11-04',\n })\n @IsOptional()\n @IsString()\n date?: string;\n}\n\nexport class ManageRetroactivity {\n @ApiProperty({\n required: true,\n description: 'ID de la société',\n example: 60170,\n })\n @IsNumber()\n idSociety: number;\n\n @ApiProperty({\n required: false,\n description: \"ID de l'exercice (si non fourni, utilise l'exercice courant)\",\n example: 123456,\n })\n @IsOptional()\n @IsNumber()\n idExercice?: number;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IImmobilization.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IImmobilization.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,MAAM,WAAW,eAAe;IAC9B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,uBAAuB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxC,WAAW,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC1B,
|
|
1
|
+
{"version":3,"file":"IImmobilization.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IImmobilization.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,MAAM,WAAW,eAAe;IAC9B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,uBAAuB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxC,WAAW,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC1B,eAAe,CAAC,EAAE,IAAI,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,kBAAkB,CAAC,EAAE,mBAAmB,CAAC;IACzC,yBAAyB,EAAE,MAAM,CAAC;IAClC,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;IAC5B,iBAAiB,CAAC,EAAE,gBAAgB,EAAE,CAAC;CACxC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IImmobilization.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IImmobilization.ts"],"names":[],"mappings":"","sourcesContent":["import { IAccountingEntry } from './IAccountingEntry';\nimport { ISociety } from './ISociety';\nimport { DepreciationMethods } from '../../Enum/ImmobilizationType';\nimport { IAccount } from './IAccount';\n\nexport interface IImmobilization {\n id?: number;\n reference: string;\n designation: string;\n quantity: number;\n quantityTrashed?: number;\n quantitySelled?: number;\n amountOfSellTaxIncluded?: number | null;\n sellingDate?: Date | null;\n
|
|
1
|
+
{"version":3,"file":"IImmobilization.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IImmobilization.ts"],"names":[],"mappings":"","sourcesContent":["import { IAccountingEntry } from './IAccountingEntry';\nimport { ISociety } from './ISociety';\nimport { DepreciationMethods } from '../../Enum/ImmobilizationType';\nimport { IAccount } from './IAccount';\n\nexport interface IImmobilization {\n id?: number;\n reference: string;\n designation: string;\n quantity: number;\n quantityTrashed?: number;\n quantitySelled?: number;\n amountOfSellTaxIncluded?: number | null;\n sellingDate?: Date | null;\n acquisitionDate?: Date; // si il n'y a pas d'acquisition date, c'est un acompte\n duration: number;\n provider: string;\n depreciationMethod?: DepreciationMethods;\n amountTotalImmobilization: number;\n amountAlreadyDeducted?: number;\n idAccount?: number | null;\n idSociety: number;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n society?: ISociety;\n account?: Partial<IAccount>;\n accountingEntries?: IAccountingEntry[];\n}\n"]}
|
|
@@ -48,7 +48,6 @@ export interface IUser {
|
|
|
48
48
|
prefix?: string | null;
|
|
49
49
|
tokenLostPassword?: string | null;
|
|
50
50
|
twoFactorEnabled?: boolean | null;
|
|
51
|
-
mfaMode?: 'none' | 'totp' | 'mobile_approval';
|
|
52
51
|
tokenApi?: string | null;
|
|
53
52
|
tokenNotification?: string | null;
|
|
54
53
|
tokenSocket?: string | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IUser.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/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CAAC,EAAE,aAAa,EAAE,CAAC;IACjC,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;CAC3C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IUser.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IUser.ts"],"names":[],"mappings":"","sourcesContent":["import { ICalendarEvent } from './ICalendarEvent';\nimport { IRole } from './IRole';\nimport { ICivility } from './ICivility';\nimport { IFile } from './IFile';\nimport { IUserSocietyPermission } from './IUserSocietyPermission';\nimport { IWorkingSchedule } from './IWorkingSchedule';\nimport { IRecontactHistory } from './IRecontactHistory';\nimport { IAllowedIp } from './IAllowedIp';\nimport { IBusinessPartner } from './IBusinessPartner';\nimport { ILog } from './ILog';\nimport { INotification } from './INotification';\nimport { ISociety } from './ISociety';\nimport { ITeam } from './ITeam';\nimport { IMobile } from './IMobile';\nimport { IRoleUser } from './IRoleUser';\nimport { ITimeRecorder } from './ITimeRecorder';\nimport { EntityType } from '../../Enum/EntityType';\nimport { IMailAddress } from './IMailAddress';\nimport { IAccountingStatementHistory } from './IAccountingStatementHistory';\nimport { ICountry } from './ICountry';\nimport { INationality } from './INationality';\nimport { IUserBrand } from './IUserBrand';\nimport { ICollaboraterDetail } from './ICollaboraterDetail';\nimport { IUserTimeSlot } from './IUserTimeSlot';\nimport { IUserTeam } from './IUserTeam';\n\n// eslint-disable-next-line @typescript-eslint/no-redundant-type-constituents\ntype isAny<T> = T | any;\n\n// users\nexport interface IUser {\n id?: number;\n firstname?: string | null;\n lastname?: string | null;\n fullname?: string | null;\n avatarLink?: string;\n email?: string | null;\n email2?: string | null;\n isMigrated?: boolean;\n username?: string | null;\n stripeCustomerId?: string | null;\n stripeCustomerIdErp?: string | null;\n positionLabel?: string | null;\n sha?: string | null;\n hash?: string | null;\n password?: string | null;\n idFile?: number | null;\n quality?: string | null; //FIXME: à supprimer ?\n phone?: string | null;\n phone2?: string | null;\n textMessageNumber?: string | null;\n prefix?: string | null;\n tokenLostPassword?: string | null;\n twoFactorEnabled?: boolean | null;\n
|
|
1
|
+
{"version":3,"file":"IUser.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IUser.ts"],"names":[],"mappings":"","sourcesContent":["import { ICalendarEvent } from './ICalendarEvent';\nimport { IRole } from './IRole';\nimport { ICivility } from './ICivility';\nimport { IFile } from './IFile';\nimport { IUserSocietyPermission } from './IUserSocietyPermission';\nimport { IWorkingSchedule } from './IWorkingSchedule';\nimport { IRecontactHistory } from './IRecontactHistory';\nimport { IAllowedIp } from './IAllowedIp';\nimport { IBusinessPartner } from './IBusinessPartner';\nimport { ILog } from './ILog';\nimport { INotification } from './INotification';\nimport { ISociety } from './ISociety';\nimport { ITeam } from './ITeam';\nimport { IMobile } from './IMobile';\nimport { IRoleUser } from './IRoleUser';\nimport { ITimeRecorder } from './ITimeRecorder';\nimport { EntityType } from '../../Enum/EntityType';\nimport { IMailAddress } from './IMailAddress';\nimport { IAccountingStatementHistory } from './IAccountingStatementHistory';\nimport { ICountry } from './ICountry';\nimport { INationality } from './INationality';\nimport { IUserBrand } from './IUserBrand';\nimport { ICollaboraterDetail } from './ICollaboraterDetail';\nimport { IUserTimeSlot } from './IUserTimeSlot';\nimport { IUserTeam } from './IUserTeam';\n\n// eslint-disable-next-line @typescript-eslint/no-redundant-type-constituents\ntype isAny<T> = T | any;\n\n// users\nexport interface IUser {\n id?: number;\n firstname?: string | null;\n lastname?: string | null;\n fullname?: string | null;\n avatarLink?: string;\n email?: string | null;\n email2?: string | null;\n isMigrated?: boolean;\n username?: string | null;\n stripeCustomerId?: string | null;\n stripeCustomerIdErp?: string | null;\n positionLabel?: string | null;\n sha?: string | null;\n hash?: string | null;\n password?: string | null;\n idFile?: number | null;\n quality?: string | null; //FIXME: à supprimer ?\n phone?: string | null;\n phone2?: string | null;\n textMessageNumber?: string | null;\n prefix?: string | null;\n tokenLostPassword?: string | null;\n twoFactorEnabled?: boolean | null;\n tokenApi?: string | null;\n tokenNotification?: string | null;\n tokenSocket?: string | null;\n authyId?: string | null;\n authCode?: string | null;\n authCodeDate?: Date | null;\n tutoTransaction?: boolean | null;\n lastConnection?: Date | null;\n beforeLastConnection?: Date | null;\n active?: boolean | null;\n toContact?: boolean;\n stateProspect?: boolean | null;\n birthdate?: Date | null;\n arrivalDate?: Date | null;\n entity?: EntityType | null;\n validityDateOfResidencePermit?: Date | null;\n isNewProspect?: boolean;\n hasAccountNumberDisplay?: boolean;\n isResponderActive?: boolean;\n suppDoublon?: boolean | null;\n calendlyUrl?: string | null;\n idCivility?: number | null;\n idCommercialDoublon?: number | null;\n idProspectIsWith?: number | null;\n apprentice?: boolean;\n flexitime?: boolean;\n /**\n * @deprecated\n */\n idCommercialGrade?: number | null;\n smsNotAllowed?: boolean;\n restDaysAbsence?: number | null;\n startOnboarding?: Date | null;\n societyByDefault?: number | null;\n longAbsence?: boolean | null;\n isDailyContract?: boolean | null;\n internationalPhone?: string | null;\n isThemeLight?: boolean;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n confirmedAt?: Date | null;\n tokenConfirmedAt?: string | null;\n idPoleLeader?: number | null;\n affiliateTrackingId?: number | null;\n streetNumber?: string | null;\n address?: string;\n zipCodeBirth?: string;\n //@deprecated Use cityOfBirth instead\n birthPlace?: string;\n departmentBirth?: string;\n idCountryBirth?: number;\n birthname?: string;\n cityOfBirth?: string;\n idCountry?: number;\n zipCode?: string | null;\n city?: string | null;\n idNationality?: number;\n maritalStatus?: string;\n idMaritalStatus?: number;\n\n // Associations\n userHasEvent?: isAny<ICalendarEvent>[];\n roles?: IRole[];\n roleUser?: IRoleUser;\n genders?: ICivility;\n commercial?: IUser;\n prospectPrincipal?: IUser;\n avatar?: IFile;\n userPermissions?: IUserSocietyPermission[];\n workingSchedules?: IWorkingSchedule[];\n recontactHistories?: IRecontactHistory[];\n poleLeader?: IUser;\n allowedIps?: IAllowedIp[];\n businessPartners?: IBusinessPartner[];\n poleAccountants?: IUser[];\n logs?: ILog[];\n notifications?: INotification[];\n societies?: ISociety[];\n teams?: ITeam[];\n userTeams?: IUserTeam[];\n mobile?: IMobile;\n timeRecorders?: ITimeRecorder[];\n mailAddresses?: IMailAddress[];\n accountingStatementHistory?: IAccountingStatementHistory[];\n country?: ICountry;\n countryLiving?: ICountry;\n nationality?: INationality;\n usersBrands?: IUserBrand[];\n usersTimeSlots?: IUserTimeSlot[];\n collaboraterDetails?: ICollaboraterDetail;\n}\n"]}
|
|
@@ -2,7 +2,6 @@ export * from './Interface/models/ICallHistory';
|
|
|
2
2
|
export * from './Interface/models/IBusinessLineUser';
|
|
3
3
|
export * from './Interface/models/IVisualizedInformation';
|
|
4
4
|
export * from './Interface/models/IApiError';
|
|
5
|
-
export * from './Interface/models/ILoginApproval';
|
|
6
5
|
export * from './Interface/models/ISms';
|
|
7
6
|
export * from './Interface/models/IAccessToken';
|
|
8
7
|
export * from './Interface/models/IAccountDetail';
|
|
@@ -332,8 +331,6 @@ export * from './Enum/Feature';
|
|
|
332
331
|
export * from './Enum/AutomaticRegistration';
|
|
333
332
|
export * from './Enum/IntermediateManagementRebate';
|
|
334
333
|
export * from './Enum/Das';
|
|
335
|
-
export * from './Enum/LoginApprovalStatus';
|
|
336
|
-
export * from './Enum/MfaMode';
|
|
337
334
|
export * from './Enum/ChangeLog';
|
|
338
335
|
export * from './Enum/VisualizedInformation';
|
|
339
336
|
export * from './Enum/NafCode';
|
|
@@ -553,7 +550,6 @@ export * from './Enum/PartneredAccountantServiceTypeId';
|
|
|
553
550
|
export * from './Enum/PaymentAttempt';
|
|
554
551
|
export * from './Interface/api/authentification/AuthenticationResponse';
|
|
555
552
|
export * from './Interface/api/exercice/ReadExercice';
|
|
556
|
-
export * from './Interface/api/authentification/AuthenticationResponse';
|
|
557
553
|
export * from './Interface/api/balanceSheet/consistency/Read';
|
|
558
554
|
export * from './Interface/api/kilometricAllowance/ReadKilometricAllowance';
|
|
559
555
|
export * from './Interface/api/cashAndExpense/Query';
|
|
@@ -1044,7 +1040,6 @@ export * from './Interface/api/changelog/Create';
|
|
|
1044
1040
|
export * from './Interface/api/authentification/ReadAuthenticateCollaborater';
|
|
1045
1041
|
export * from './Interface/api/authentification/ResetPassword';
|
|
1046
1042
|
export * from './Interface/api/authentification/ForgotPassword';
|
|
1047
|
-
export * from './Interface/api/authentification/loginApproval';
|
|
1048
1043
|
export * from './Interface/api/society/Export';
|
|
1049
1044
|
export * from './Interface/api/society/State';
|
|
1050
1045
|
export * from './Interface/api/businessSector/Create';
|