@silexpert/core 1.3.183-1 → 1.3.184-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/api/resources/Card.d.ts +1 -23
- package/dist/cjs/api/resources/Card.d.ts.map +1 -1
- package/dist/cjs/api/resources/Card.js +0 -36
- package/dist/cjs/api/resources/Card.js.map +1 -1
- package/dist/cjs/api/resources/Checklist.d.ts +6 -0
- package/dist/cjs/api/resources/Checklist.d.ts.map +1 -1
- package/dist/cjs/api/resources/Checklist.js +6 -0
- package/dist/cjs/api/resources/Checklist.js.map +1 -1
- package/dist/cjs/api/resources/DocumentRequest.d.ts +3 -1
- package/dist/cjs/api/resources/DocumentRequest.d.ts.map +1 -1
- package/dist/cjs/api/resources/DocumentRequest.js +6 -0
- package/dist/cjs/api/resources/DocumentRequest.js.map +1 -1
- package/dist/cjs/api/resources/User.d.ts +1 -6
- package/dist/cjs/api/resources/User.d.ts.map +1 -1
- package/dist/cjs/api/resources/User.js +0 -15
- package/dist/cjs/api/resources/User.js.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheet.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheet.js +6 -6
- package/dist/cjs/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/cjs/types/Enum/Consistency.d.ts +1 -1
- package/dist/cjs/types/Enum/Consistency.js +7 -7
- package/dist/cjs/types/Enum/Consistency.js.map +1 -1
- package/dist/cjs/types/Enum/DashboardBlock.d.ts +2 -1
- package/dist/cjs/types/Enum/DashboardBlock.d.ts.map +1 -1
- package/dist/cjs/types/Enum/DashboardBlock.js +1 -0
- package/dist/cjs/types/Enum/DashboardBlock.js.map +1 -1
- package/dist/cjs/types/Enum/Ged.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Ged.js +21 -38
- 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/Enum/InformationRequestType.d.ts.map +1 -1
- package/dist/cjs/types/Enum/InformationRequestType.js +12 -6
- package/dist/cjs/types/Enum/InformationRequestType.js.map +1 -1
- package/dist/cjs/types/Enum/KilometricAllowanceScale.d.ts.map +1 -1
- package/dist/cjs/types/Enum/KilometricAllowanceScale.js +119 -0
- package/dist/cjs/types/Enum/KilometricAllowanceScale.js.map +1 -1
- package/dist/cjs/types/Enum/MailAuto.d.ts +3 -1
- package/dist/cjs/types/Enum/MailAuto.d.ts.map +1 -1
- package/dist/cjs/types/Enum/MailAuto.js +2 -0
- package/dist/cjs/types/Enum/MailAuto.js.map +1 -1
- package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts +0 -1
- package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js +0 -6
- package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js.map +1 -1
- package/dist/cjs/types/Interface/api/card/Cron.d.ts +3 -0
- package/dist/cjs/types/Interface/api/card/Cron.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/card/Cron.js +10 -1
- package/dist/cjs/types/Interface/api/card/Cron.js.map +1 -1
- package/dist/cjs/types/Interface/api/card/QueryUserCards.d.ts +0 -11
- package/dist/cjs/types/Interface/api/card/QueryUserCards.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/card/QueryUserCards.js +1 -44
- package/dist/cjs/types/Interface/api/card/QueryUserCards.js.map +1 -1
- package/dist/cjs/types/Interface/api/card/UpdateCard.d.ts +0 -13
- package/dist/cjs/types/Interface/api/card/UpdateCard.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/card/UpdateCard.js +1 -58
- package/dist/cjs/types/Interface/api/card/UpdateCard.js.map +1 -1
- package/dist/cjs/types/Interface/api/documentRequest/Query.d.ts +10 -0
- package/dist/cjs/types/Interface/api/documentRequest/Query.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/documentRequest/Query.js +43 -1
- package/dist/cjs/types/Interface/api/documentRequest/Query.js.map +1 -1
- package/dist/cjs/types/Interface/api/revenue/revenueMovement.d.ts +10 -9
- package/dist/cjs/types/Interface/api/revenue/revenueMovement.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/revenue/revenueMovement.js +16 -15
- package/dist/cjs/types/Interface/api/revenue/revenueMovement.js.map +1 -1
- package/dist/cjs/types/Interface/api/revenue/revenueSnapshotGenerate.d.ts +0 -3
- package/dist/cjs/types/Interface/api/revenue/revenueSnapshotGenerate.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/revenue/revenueSnapshotGenerate.js +1 -14
- package/dist/cjs/types/Interface/api/revenue/revenueSnapshotGenerate.js.map +1 -1
- package/dist/cjs/types/Interface/models/IBalanceSheet.d.ts +0 -3
- package/dist/cjs/types/Interface/models/IBalanceSheet.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IBalanceSheet.js.map +1 -1
- package/dist/cjs/types/Interface/models/ICard.d.ts +0 -19
- package/dist/cjs/types/Interface/models/ICard.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/ICard.js.map +1 -1
- package/dist/cjs/types/Interface/models/ICardHistory.d.ts +0 -4
- package/dist/cjs/types/Interface/models/ICardHistory.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/ICardHistory.js.map +1 -1
- package/dist/cjs/types/Interface/models/ICustomerVat.d.ts +0 -1
- package/dist/cjs/types/Interface/models/ICustomerVat.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/ICustomerVat.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/checkup.d.ts +12 -368
- package/dist/cjs/utils/checkup.d.ts.map +1 -1
- package/dist/cjs/utils/checkup.js +342 -565
- package/dist/cjs/utils/checkup.js.map +1 -1
- package/dist/cjs/utils/vat/centuries.js +2 -2
- package/dist/cjs/utils/vat/centuries.js.map +1 -1
- package/dist/cjs/utils/vat/utils.d.ts.map +1 -1
- package/dist/cjs/utils/vat/utils.js +5 -2
- package/dist/cjs/utils/vat/utils.js.map +1 -1
- package/dist/mjs/api/resources/Card.d.ts +1 -23
- package/dist/mjs/api/resources/Card.d.ts.map +1 -1
- package/dist/mjs/api/resources/Card.js +0 -45
- package/dist/mjs/api/resources/Card.js.map +1 -1
- package/dist/mjs/api/resources/Checklist.d.ts +6 -0
- package/dist/mjs/api/resources/Checklist.d.ts.map +1 -1
- package/dist/mjs/api/resources/Checklist.js +6 -0
- package/dist/mjs/api/resources/Checklist.js.map +1 -1
- package/dist/mjs/api/resources/DocumentRequest.d.ts +3 -1
- package/dist/mjs/api/resources/DocumentRequest.d.ts.map +1 -1
- package/dist/mjs/api/resources/DocumentRequest.js +6 -0
- package/dist/mjs/api/resources/DocumentRequest.js.map +1 -1
- package/dist/mjs/api/resources/User.d.ts +1 -6
- package/dist/mjs/api/resources/User.d.ts.map +1 -1
- package/dist/mjs/api/resources/User.js +0 -15
- package/dist/mjs/api/resources/User.js.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheet.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheet.js +6 -6
- package/dist/mjs/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/mjs/types/Enum/Consistency.d.ts +1 -1
- package/dist/mjs/types/Enum/Consistency.js +7 -7
- package/dist/mjs/types/Enum/Consistency.js.map +1 -1
- package/dist/mjs/types/Enum/DashboardBlock.d.ts +2 -1
- package/dist/mjs/types/Enum/DashboardBlock.d.ts.map +1 -1
- package/dist/mjs/types/Enum/DashboardBlock.js +1 -0
- package/dist/mjs/types/Enum/DashboardBlock.js.map +1 -1
- package/dist/mjs/types/Enum/Ged.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Ged.js +21 -38
- 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/Enum/InformationRequestType.d.ts.map +1 -1
- package/dist/mjs/types/Enum/InformationRequestType.js +12 -6
- package/dist/mjs/types/Enum/InformationRequestType.js.map +1 -1
- package/dist/mjs/types/Enum/KilometricAllowanceScale.d.ts.map +1 -1
- package/dist/mjs/types/Enum/KilometricAllowanceScale.js +119 -0
- package/dist/mjs/types/Enum/KilometricAllowanceScale.js.map +1 -1
- package/dist/mjs/types/Enum/MailAuto.d.ts +3 -1
- package/dist/mjs/types/Enum/MailAuto.d.ts.map +1 -1
- package/dist/mjs/types/Enum/MailAuto.js +2 -0
- package/dist/mjs/types/Enum/MailAuto.js.map +1 -1
- package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts +0 -1
- package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js +0 -7
- package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js.map +1 -1
- package/dist/mjs/types/Interface/api/card/Cron.d.ts +3 -0
- package/dist/mjs/types/Interface/api/card/Cron.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/card/Cron.js +8 -0
- package/dist/mjs/types/Interface/api/card/Cron.js.map +1 -1
- package/dist/mjs/types/Interface/api/card/QueryUserCards.d.ts +0 -11
- package/dist/mjs/types/Interface/api/card/QueryUserCards.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/card/QueryUserCards.js +1 -43
- package/dist/mjs/types/Interface/api/card/QueryUserCards.js.map +1 -1
- package/dist/mjs/types/Interface/api/card/UpdateCard.d.ts +0 -13
- package/dist/mjs/types/Interface/api/card/UpdateCard.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/card/UpdateCard.js +1 -65
- package/dist/mjs/types/Interface/api/card/UpdateCard.js.map +1 -1
- package/dist/mjs/types/Interface/api/documentRequest/Query.d.ts +10 -0
- package/dist/mjs/types/Interface/api/documentRequest/Query.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/documentRequest/Query.js +48 -2
- package/dist/mjs/types/Interface/api/documentRequest/Query.js.map +1 -1
- package/dist/mjs/types/Interface/api/revenue/revenueMovement.d.ts +10 -9
- package/dist/mjs/types/Interface/api/revenue/revenueMovement.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/revenue/revenueMovement.js +13 -12
- package/dist/mjs/types/Interface/api/revenue/revenueMovement.js.map +1 -1
- package/dist/mjs/types/Interface/api/revenue/revenueSnapshotGenerate.d.ts +0 -3
- package/dist/mjs/types/Interface/api/revenue/revenueSnapshotGenerate.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/revenue/revenueSnapshotGenerate.js +2 -22
- package/dist/mjs/types/Interface/api/revenue/revenueSnapshotGenerate.js.map +1 -1
- package/dist/mjs/types/Interface/models/IBalanceSheet.d.ts +0 -3
- package/dist/mjs/types/Interface/models/IBalanceSheet.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IBalanceSheet.js.map +1 -1
- package/dist/mjs/types/Interface/models/ICard.d.ts +0 -19
- package/dist/mjs/types/Interface/models/ICard.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/ICard.js.map +1 -1
- package/dist/mjs/types/Interface/models/ICardHistory.d.ts +0 -4
- package/dist/mjs/types/Interface/models/ICardHistory.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/ICardHistory.js.map +1 -1
- package/dist/mjs/types/Interface/models/ICustomerVat.d.ts +0 -1
- package/dist/mjs/types/Interface/models/ICustomerVat.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/ICustomerVat.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/checkup.d.ts +12 -368
- package/dist/mjs/utils/checkup.d.ts.map +1 -1
- package/dist/mjs/utils/checkup.js +343 -566
- package/dist/mjs/utils/checkup.js.map +1 -1
- package/dist/mjs/utils/vat/centuries.js +2 -2
- package/dist/mjs/utils/vat/centuries.js.map +1 -1
- package/dist/mjs/utils/vat/utils.d.ts.map +1 -1
- package/dist/mjs/utils/vat/utils.js +5 -2
- package/dist/mjs/utils/vat/utils.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Card.ts +0 -61
- package/ts/api/resources/Checklist.ts +6 -0
- package/ts/api/resources/DocumentRequest.ts +9 -1
- package/ts/api/resources/User.ts +0 -23
- package/ts/types/Enum/BalanceSheet.ts +17 -17
- package/ts/types/Enum/Consistency.ts +7 -7
- package/ts/types/Enum/DashboardBlock.ts +1 -0
- package/ts/types/Enum/Ged.ts +31 -45
- package/ts/types/Enum/InformationRequestState.ts +1 -0
- package/ts/types/Enum/InformationRequestType.ts +12 -6
- package/ts/types/Enum/KilometricAllowanceScale.ts +119 -0
- package/ts/types/Enum/MailAuto.ts +2 -0
- package/ts/types/Interface/api/balanceSheet/UpdateBalanceSheet.ts +0 -5
- package/ts/types/Interface/api/card/Cron.ts +8 -1
- package/ts/types/Interface/api/card/QueryUserCards.ts +1 -36
- package/ts/types/Interface/api/card/UpdateCard.ts +2 -50
- package/ts/types/Interface/api/documentRequest/Query.ts +40 -2
- package/ts/types/Interface/api/revenue/revenueMovement.ts +11 -9
- package/ts/types/Interface/api/revenue/revenueSnapshotGenerate.ts +2 -21
- package/ts/types/Interface/models/IBalanceSheet.ts +0 -3
- package/ts/types/Interface/models/ICard.ts +0 -20
- package/ts/types/Interface/models/ICardHistory.ts +0 -4
- package/ts/types/Interface/models/ICustomerVat.ts +0 -1
- package/ts/types/index.ts +0 -5
- package/ts/utils/checkup.ts +347 -566
- package/ts/utils/vat/centuries.ts +2 -2
- package/ts/utils/vat/utils.ts +7 -2
- package/dist/cjs/types/Interface/api/card/ModifyAcceptation.d.ts +0 -9
- package/dist/cjs/types/Interface/api/card/ModifyAcceptation.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/card/ModifyAcceptation.js +0 -43
- package/dist/cjs/types/Interface/api/card/ModifyAcceptation.js.map +0 -1
- package/dist/cjs/types/Interface/api/card/ModifyBalanceSheet.d.ts +0 -25
- package/dist/cjs/types/Interface/api/card/ModifyBalanceSheet.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/card/ModifyBalanceSheet.js +0 -106
- package/dist/cjs/types/Interface/api/card/ModifyBalanceSheet.js.map +0 -1
- package/dist/cjs/types/Interface/api/card/ModifyCustomerVat.d.ts +0 -5
- package/dist/cjs/types/Interface/api/card/ModifyCustomerVat.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/card/ModifyCustomerVat.js +0 -29
- package/dist/cjs/types/Interface/api/card/ModifyCustomerVat.js.map +0 -1
- package/dist/cjs/types/Interface/api/card/ModifyPlanning.d.ts +0 -18
- package/dist/cjs/types/Interface/api/card/ModifyPlanning.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/card/ModifyPlanning.js +0 -79
- package/dist/cjs/types/Interface/api/card/ModifyPlanning.js.map +0 -1
- package/dist/cjs/types/Interface/api/card/Query.d.ts +0 -8
- package/dist/cjs/types/Interface/api/card/Query.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/card/Query.js +0 -37
- package/dist/cjs/types/Interface/api/card/Query.js.map +0 -1
- package/dist/mjs/types/Interface/api/card/ModifyAcceptation.d.ts +0 -9
- package/dist/mjs/types/Interface/api/card/ModifyAcceptation.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/card/ModifyAcceptation.js +0 -42
- package/dist/mjs/types/Interface/api/card/ModifyAcceptation.js.map +0 -1
- package/dist/mjs/types/Interface/api/card/ModifyBalanceSheet.d.ts +0 -25
- package/dist/mjs/types/Interface/api/card/ModifyBalanceSheet.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/card/ModifyBalanceSheet.js +0 -115
- package/dist/mjs/types/Interface/api/card/ModifyBalanceSheet.js.map +0 -1
- package/dist/mjs/types/Interface/api/card/ModifyCustomerVat.d.ts +0 -5
- package/dist/mjs/types/Interface/api/card/ModifyCustomerVat.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/card/ModifyCustomerVat.js +0 -27
- package/dist/mjs/types/Interface/api/card/ModifyCustomerVat.js.map +0 -1
- package/dist/mjs/types/Interface/api/card/ModifyPlanning.d.ts +0 -18
- package/dist/mjs/types/Interface/api/card/ModifyPlanning.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/card/ModifyPlanning.js +0 -84
- package/dist/mjs/types/Interface/api/card/ModifyPlanning.js.map +0 -1
- package/dist/mjs/types/Interface/api/card/Query.d.ts +0 -8
- package/dist/mjs/types/Interface/api/card/Query.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/card/Query.js +0 -34
- package/dist/mjs/types/Interface/api/card/Query.js.map +0 -1
- package/ts/types/Interface/api/card/ModifyAcceptation.ts +0 -24
- package/ts/types/Interface/api/card/ModifyBalanceSheet.ts +0 -81
- package/ts/types/Interface/api/card/ModifyCustomerVat.ts +0 -13
- package/ts/types/Interface/api/card/ModifyPlanning.ts +0 -52
- package/ts/types/Interface/api/card/Query.ts +0 -19
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { IsArray, IsInt, IsOptional } from 'class-validator';
|
|
2
|
-
import { ApiPropertyOptional } from '../../../../utils';
|
|
1
|
+
import { IsArray, IsBoolean, IsInt, IsOptional } from 'class-validator';
|
|
2
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
3
|
import { TypeFile } from '../../../Enum/Ged';
|
|
4
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
4
5
|
|
|
5
6
|
export class QueryDocumentRequest {
|
|
6
7
|
@ApiPropertyOptional()
|
|
@@ -23,3 +24,40 @@ export class QueryDocumentRequest {
|
|
|
23
24
|
@IsArray()
|
|
24
25
|
typeFile?: TypeFile[];
|
|
25
26
|
}
|
|
27
|
+
|
|
28
|
+
export class SendRelaunchDocumentsMail {
|
|
29
|
+
@ApiProperty()
|
|
30
|
+
@IsInt()
|
|
31
|
+
idExercice: number;
|
|
32
|
+
|
|
33
|
+
@ApiProperty()
|
|
34
|
+
@IsBoolean()
|
|
35
|
+
@ToBoolean()
|
|
36
|
+
sendRefusedTemplate: boolean;
|
|
37
|
+
|
|
38
|
+
@ApiProperty()
|
|
39
|
+
@IsBoolean()
|
|
40
|
+
@ToBoolean()
|
|
41
|
+
isForChecklist: boolean;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export class SendAskDocumentsMail {
|
|
45
|
+
@ApiProperty()
|
|
46
|
+
@IsInt()
|
|
47
|
+
idExercice: number;
|
|
48
|
+
|
|
49
|
+
@ApiPropertyOptional()
|
|
50
|
+
@IsOptional()
|
|
51
|
+
@IsBoolean()
|
|
52
|
+
@ToBoolean()
|
|
53
|
+
addAdviceNote?: boolean;
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
@ApiProperty()
|
|
57
|
+
@IsBoolean()
|
|
58
|
+
@ToBoolean()
|
|
59
|
+
isForChecklist: boolean;
|
|
60
|
+
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
|
|
@@ -209,9 +209,9 @@ export class IGenerateAllSnapshotsRequest {
|
|
|
209
209
|
}
|
|
210
210
|
|
|
211
211
|
/**
|
|
212
|
-
* DTO pour
|
|
212
|
+
* DTO pour générer les mouvements de revenu rétroactifs
|
|
213
213
|
*/
|
|
214
|
-
export class
|
|
214
|
+
export class IGenerateRetroactiveMovementsRequest {
|
|
215
215
|
@ApiPropertyOptional()
|
|
216
216
|
@IsOptional()
|
|
217
217
|
@IsInt()
|
|
@@ -229,9 +229,9 @@ export class IManageRetroactivityRequest {
|
|
|
229
229
|
}
|
|
230
230
|
|
|
231
231
|
/**
|
|
232
|
-
* Réponse pour la
|
|
232
|
+
* Réponse pour la génération de mouvements rétroactifs
|
|
233
233
|
*/
|
|
234
|
-
export interface
|
|
234
|
+
export interface IGenerateRetroactiveMovementsResponse {
|
|
235
235
|
idSociety: number;
|
|
236
236
|
idExercice: number[];
|
|
237
237
|
exerciceStartDate: Date[];
|
|
@@ -258,9 +258,9 @@ export interface IManageRetroactivityResponse {
|
|
|
258
258
|
}
|
|
259
259
|
|
|
260
260
|
/**
|
|
261
|
-
* DTO pour
|
|
261
|
+
* DTO pour générer les mouvements rétroactifs en batch pour toutes les sociétés sans mouvements
|
|
262
262
|
*/
|
|
263
|
-
export class
|
|
263
|
+
export class IGenerateRetroactiveMovementsBatchRequest {
|
|
264
264
|
@ApiPropertyOptional({
|
|
265
265
|
description: 'Limite du nombre de sociétés à traiter',
|
|
266
266
|
example: 10,
|
|
@@ -304,14 +304,16 @@ export class IManageRetroactivityBatchRequest {
|
|
|
304
304
|
}
|
|
305
305
|
|
|
306
306
|
/**
|
|
307
|
-
* Réponse pour la
|
|
307
|
+
* Réponse pour la génération batch de mouvements rétroactifs
|
|
308
308
|
*/
|
|
309
|
-
export interface
|
|
309
|
+
export interface IGenerateRetroactiveMovementsBatchResponse {
|
|
310
310
|
message: string;
|
|
311
311
|
totalSocietiesProcessed: number;
|
|
312
|
-
results:
|
|
312
|
+
results: IGenerateRetroactiveMovementsResponse[];
|
|
313
313
|
errors: Array<{
|
|
314
314
|
idSociety: number;
|
|
315
315
|
error: string;
|
|
316
316
|
}>;
|
|
317
317
|
}
|
|
318
|
+
|
|
319
|
+
export { IGenerateRetroactiveMovementsRequest as GenerateRetroactiveMovements };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ApiProperty
|
|
2
|
-
import { IsOptional, IsString, IsNumber
|
|
1
|
+
import { ApiProperty } from '../../../../utils';
|
|
2
|
+
import { IsOptional, IsString, IsNumber } from 'class-validator';
|
|
3
3
|
|
|
4
4
|
export class GenerateSnapshot {
|
|
5
5
|
@ApiProperty({
|
|
@@ -40,22 +40,3 @@ export class GenerateAllSnapshots {
|
|
|
40
40
|
@IsString()
|
|
41
41
|
date?: string;
|
|
42
42
|
}
|
|
43
|
-
|
|
44
|
-
export class ManageRetroactivity {
|
|
45
|
-
// @ApiProperty({
|
|
46
|
-
// required: true,
|
|
47
|
-
// description: 'ID de la société',
|
|
48
|
-
// example: 60170,
|
|
49
|
-
// })
|
|
50
|
-
// @IsInt()
|
|
51
|
-
// idSociety: number;
|
|
52
|
-
|
|
53
|
-
@ApiPropertyOptional({
|
|
54
|
-
required: false,
|
|
55
|
-
description: "ID de l'exercice (si non fourni, utilise l'exercice courant)",
|
|
56
|
-
example: 123456,
|
|
57
|
-
})
|
|
58
|
-
@IsOptional()
|
|
59
|
-
@IsInt()
|
|
60
|
-
idExercice?: number;
|
|
61
|
-
}
|
|
@@ -4,7 +4,6 @@ import { ISupervision } from './ISupervision';
|
|
|
4
4
|
import { IPrestation } from './IPrestation';
|
|
5
5
|
import { IGedFile } from './IGedFile';
|
|
6
6
|
import { IFile } from './IFile';
|
|
7
|
-
import { ICard } from './ICard';
|
|
8
7
|
import { IBalanceSheetHistory } from './IBalanceSheetHistory';
|
|
9
8
|
import { IAdditionalBalance } from './IAdditionalBalance';
|
|
10
9
|
|
|
@@ -24,7 +23,6 @@ export interface IBalanceSheet {
|
|
|
24
23
|
bankCollectingState?: number;
|
|
25
24
|
idExercice?: number;
|
|
26
25
|
idCalendarEvent?: number;
|
|
27
|
-
idCard?: number;
|
|
28
26
|
createdAt?: Date;
|
|
29
27
|
updatedAt?: Date;
|
|
30
28
|
|
|
@@ -35,7 +33,6 @@ export interface IBalanceSheet {
|
|
|
35
33
|
prestations?: IPrestation[];
|
|
36
34
|
gedFiles?: IGedFile[];
|
|
37
35
|
file?: IFile;
|
|
38
|
-
card?: ICard;
|
|
39
36
|
balanceSheetHistories?: IBalanceSheetHistory[];
|
|
40
37
|
additionalBalance?: IAdditionalBalance;
|
|
41
38
|
}
|
|
@@ -6,7 +6,6 @@ import { ICalendarEvent } from './ICalendarEvent';
|
|
|
6
6
|
import { ICustomerVat } from './ICustomerVat';
|
|
7
7
|
import { ICardHistory } from './ICardHistory';
|
|
8
8
|
import { IComment } from './IComment';
|
|
9
|
-
import { ITeam } from './ITeam';
|
|
10
9
|
import { IChecklist } from './IChecklist';
|
|
11
10
|
import { ICustomerIsRegime } from './ICustomerIsRegime';
|
|
12
11
|
import { IExercice } from './IExercice';
|
|
@@ -15,12 +14,8 @@ export interface ICard {
|
|
|
15
14
|
id?: number;
|
|
16
15
|
type: CardType;
|
|
17
16
|
state: CardState;
|
|
18
|
-
isManual: boolean;
|
|
19
|
-
isBlocked: boolean;
|
|
20
17
|
priority?: number | null;
|
|
21
|
-
plannedAt?: Date | null;
|
|
22
18
|
idUser?: number | null;
|
|
23
|
-
idTeam?: number | null;
|
|
24
19
|
idSociety: number;
|
|
25
20
|
idBalanceSheet?: number | null;
|
|
26
21
|
idCustomerVat?: number | null;
|
|
@@ -33,28 +28,13 @@ export interface ICard {
|
|
|
33
28
|
|
|
34
29
|
// Associations
|
|
35
30
|
user?: IUser;
|
|
36
|
-
team?: ITeam;
|
|
37
31
|
society?: ISociety;
|
|
38
32
|
balancesheet?: IBalanceSheet;
|
|
39
33
|
vat?: ICustomerVat;
|
|
40
34
|
customerIsRegime?: ICustomerIsRegime;
|
|
41
35
|
checklist?: IChecklist;
|
|
42
36
|
exercice?: IExercice;
|
|
43
|
-
/**
|
|
44
|
-
* @deprecated old relationship with balance sheet
|
|
45
|
-
*/
|
|
46
|
-
balanceSheet?: IBalanceSheet;
|
|
47
|
-
/**
|
|
48
|
-
* @deprecated old relationship with customer vat
|
|
49
|
-
*/
|
|
50
|
-
customerVat?: ICustomerVat;
|
|
51
37
|
events?: ICalendarEvent[];
|
|
52
38
|
history?: ICardHistory[];
|
|
53
39
|
comment?: IComment;
|
|
54
40
|
}
|
|
55
|
-
|
|
56
|
-
export interface CardAnnotedTransaction {
|
|
57
|
-
total: number;
|
|
58
|
-
nbAnnoted: number;
|
|
59
|
-
rate: number;
|
|
60
|
-
}
|
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
import { CardState } from '../../Enum/Card';
|
|
2
2
|
import { IUser } from './IUser';
|
|
3
3
|
import { ICard } from './ICard';
|
|
4
|
-
import { ITeam } from './ITeam';
|
|
5
4
|
|
|
6
5
|
export interface ICardHistory {
|
|
7
6
|
id?: number;
|
|
8
7
|
state: CardState;
|
|
9
|
-
plannedAt: Date;
|
|
10
8
|
idUserWhoChanged: number;
|
|
11
9
|
idUserOrigin?: number;
|
|
12
|
-
idTeamOrigin?: number;
|
|
13
10
|
idCard: number;
|
|
14
11
|
createdAt?: Date;
|
|
15
12
|
updatedAt?: Date;
|
|
@@ -17,6 +14,5 @@ export interface ICardHistory {
|
|
|
17
14
|
// Associations
|
|
18
15
|
userWhoChanged?: Partial<IUser>;
|
|
19
16
|
userOrigin?: Partial<IUser>;
|
|
20
|
-
teamOrigin?: Partial<ITeam>;
|
|
21
17
|
card?: ICard;
|
|
22
18
|
}
|
package/ts/types/index.ts
CHANGED
|
@@ -1074,9 +1074,7 @@ export * from './Interface/api/vatControl/QueryVatControl';
|
|
|
1074
1074
|
export * from './Interface/api/terminationList/QueryPaginateTerminationList';
|
|
1075
1075
|
export * from './Interface/api/card/QueryUserCards';
|
|
1076
1076
|
export * from './Interface/api/card/QueryUserCardsStats';
|
|
1077
|
-
export * from './Interface/api/card/Query';
|
|
1078
1077
|
export * from './Interface/api/card/UpdateCard';
|
|
1079
|
-
export * from './Interface/api/card/ModifyPlanning';
|
|
1080
1078
|
export * from './Interface/api/notion/NotionResponse';
|
|
1081
1079
|
export * from './Interface/api/IntermediateManagementRebate';
|
|
1082
1080
|
export * from './Interface/api/equipment/Query';
|
|
@@ -1130,9 +1128,6 @@ export * from './Interface/api/previsionalForm/CreatePrevisionalForm';
|
|
|
1130
1128
|
export * from './Interface/api/toDoExpress/Query';
|
|
1131
1129
|
export * from './Interface/api/toDoExpress/Read';
|
|
1132
1130
|
export * from './Interface/api/config/ConfigType';
|
|
1133
|
-
export * from './Interface/api/card/ModifyBalanceSheet';
|
|
1134
|
-
export * from './Interface/api/card/ModifyAcceptation';
|
|
1135
|
-
export * from './Interface/api/card/ModifyCustomerVat';
|
|
1136
1131
|
export * from './Interface/api/card/Cron';
|
|
1137
1132
|
export * from './Interface/api/user/RegisterProspect';
|
|
1138
1133
|
export * from './Interface/api/user/RegisterWebhook';
|