@silexpert/core 1.3.166 → 1.3.168-1
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/DocumentRequest.d.ts +2 -1
- package/dist/cjs/api/resources/DocumentRequest.d.ts.map +1 -1
- package/dist/cjs/api/resources/DocumentRequest.js +3 -0
- package/dist/cjs/api/resources/DocumentRequest.js.map +1 -1
- package/dist/cjs/api/resources/InformationRequest.d.ts +11 -0
- package/dist/cjs/api/resources/InformationRequest.d.ts.map +1 -0
- package/dist/cjs/api/resources/InformationRequest.js +26 -0
- package/dist/cjs/api/resources/InformationRequest.js.map +1 -0
- package/dist/cjs/api/resources.d.ts +2 -0
- package/dist/cjs/api/resources.d.ts.map +1 -1
- package/dist/cjs/api/resources.js +2 -0
- package/dist/cjs/api/resources.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/BalanceSheetModule.d.ts +2 -0
- package/dist/cjs/types/Enum/BalanceSheetModule.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheetModule.js +23 -1
- package/dist/cjs/types/Enum/BalanceSheetModule.js.map +1 -1
- package/dist/cjs/types/Enum/Ged.d.ts +16 -2
- package/dist/cjs/types/Enum/Ged.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Ged.js +131 -0
- package/dist/cjs/types/Enum/Ged.js.map +1 -1
- package/dist/cjs/types/Enum/InformationRequestState.d.ts +6 -0
- package/dist/cjs/types/Enum/InformationRequestState.d.ts.map +1 -0
- package/dist/cjs/types/Enum/InformationRequestState.js +10 -0
- package/dist/cjs/types/Enum/InformationRequestState.js.map +1 -0
- package/dist/cjs/types/Enum/InformationRequestType.d.ts +16 -0
- package/dist/cjs/types/Enum/InformationRequestType.d.ts.map +1 -0
- package/dist/cjs/types/Enum/InformationRequestType.js +46 -0
- package/dist/cjs/types/Enum/InformationRequestType.js.map +1 -0
- package/dist/cjs/types/Enum/RegistrationSource.d.ts +2 -1
- package/dist/cjs/types/Enum/RegistrationSource.d.ts.map +1 -1
- package/dist/cjs/types/Enum/RegistrationSource.js +1 -0
- package/dist/cjs/types/Enum/RegistrationSource.js.map +1 -1
- package/dist/cjs/types/Interface/api/cashAndExpense/Create.d.ts +1 -1
- package/dist/cjs/types/Interface/api/cashAndExpense/Create.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cashAndExpense/Create.js +1 -1
- package/dist/cjs/types/Interface/api/cashAndExpense/Create.js.map +1 -1
- package/dist/cjs/types/Interface/api/config/ConfigType.d.ts +4 -0
- package/dist/cjs/types/Interface/api/config/ConfigType.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/config/ConfigType.js.map +1 -1
- package/dist/cjs/types/Interface/api/documentRequest/Create.d.ts +1 -0
- package/dist/cjs/types/Interface/api/documentRequest/Create.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/documentRequest/Create.js +8 -0
- package/dist/cjs/types/Interface/api/documentRequest/Create.js.map +1 -1
- package/dist/cjs/types/Interface/api/documentRequest/Query.d.ts +3 -0
- package/dist/cjs/types/Interface/api/documentRequest/Query.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/documentRequest/Query.js +12 -0
- package/dist/cjs/types/Interface/api/documentRequest/Query.js.map +1 -1
- package/dist/cjs/types/Interface/api/documentRequest/Update.d.ts +12 -0
- package/dist/cjs/types/Interface/api/documentRequest/Update.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/documentRequest/Update.js +63 -0
- package/dist/cjs/types/Interface/api/documentRequest/Update.js.map +1 -0
- package/dist/cjs/types/Interface/api/informationRequest/Create.d.ts +10 -0
- package/dist/cjs/types/Interface/api/informationRequest/Create.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/informationRequest/Create.js +49 -0
- package/dist/cjs/types/Interface/api/informationRequest/Create.js.map +1 -0
- package/dist/cjs/types/Interface/api/informationRequest/Query.d.ts +11 -0
- package/dist/cjs/types/Interface/api/informationRequest/Query.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/informationRequest/Query.js +54 -0
- package/dist/cjs/types/Interface/api/informationRequest/Query.js.map +1 -0
- package/dist/cjs/types/Interface/api/informationRequest/Update.d.ts +12 -0
- package/dist/cjs/types/Interface/api/informationRequest/Update.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/informationRequest/Update.js +58 -0
- package/dist/cjs/types/Interface/api/informationRequest/Update.js.map +1 -0
- package/dist/cjs/types/Interface/api/payment/Params.d.ts +3 -1
- package/dist/cjs/types/Interface/api/payment/Params.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/payment/Params.js +17 -1
- package/dist/cjs/types/Interface/api/payment/Params.js.map +1 -1
- package/dist/cjs/types/Interface/api/{revenueMovement.d.ts → revenue/revenueMovement.d.ts} +1 -1
- package/dist/cjs/types/Interface/api/revenue/revenueMovement.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/{revenueMovement.js → revenue/revenueMovement.js} +2 -2
- package/dist/cjs/types/Interface/api/revenue/revenueMovement.js.map +1 -0
- package/dist/cjs/types/Interface/api/{revenueSnapshot.d.ts → revenue/revenueSnapshot.d.ts} +2 -1
- package/dist/cjs/types/Interface/api/revenue/revenueSnapshot.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/revenue/revenueSnapshot.js.map +1 -0
- package/dist/cjs/types/Interface/api/revenue/revenueSnapshotGenerate.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/{revenueSnapshotGenerate.js → revenue/revenueSnapshotGenerate.js} +3 -3
- package/dist/cjs/types/Interface/api/revenue/revenueSnapshotGenerate.js.map +1 -0
- package/dist/cjs/types/Interface/api/user/RegisterProspect.d.ts +4 -0
- package/dist/cjs/types/Interface/api/user/RegisterProspect.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/user/RegisterProspect.js.map +1 -1
- package/dist/cjs/types/Interface/api/user/RegisterWebhook.d.ts +6 -0
- package/dist/cjs/types/Interface/api/user/RegisterWebhook.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/user/RegisterWebhook.js +22 -0
- package/dist/cjs/types/Interface/api/user/RegisterWebhook.js.map +1 -1
- package/dist/cjs/types/Interface/models/IBalanceSheetModule.d.ts +4 -0
- package/dist/cjs/types/Interface/models/IBalanceSheetModule.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IBalanceSheetModule.js.map +1 -1
- package/dist/cjs/types/Interface/models/IDocumentRequest.d.ts +7 -1
- package/dist/cjs/types/Interface/models/IDocumentRequest.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IDocumentRequest.js.map +1 -1
- package/dist/cjs/types/Interface/models/IInformationRequest.d.ts +25 -0
- package/dist/cjs/types/Interface/models/IInformationRequest.d.ts.map +1 -0
- package/dist/cjs/types/Interface/models/IInformationRequest.js +3 -0
- package/dist/cjs/types/Interface/models/IInformationRequest.js.map +1 -0
- package/dist/cjs/types/Interface/models/ISociety.d.ts +1 -1
- package/dist/cjs/types/Interface/models/ISociety.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/ISociety.js.map +1 -1
- package/dist/cjs/types/index.d.ts +13 -6
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +13 -7
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/cjs/utils/exercice.d.ts +8 -1
- package/dist/cjs/utils/exercice.d.ts.map +1 -1
- package/dist/cjs/utils/exercice.js +11 -1
- package/dist/cjs/utils/exercice.js.map +1 -1
- package/dist/cjs/utils/vat/3517/century25.js +53 -53
- package/dist/cjs/utils/vat/3517/century25.js.map +1 -1
- package/dist/mjs/api/resources/DocumentRequest.d.ts +2 -1
- package/dist/mjs/api/resources/DocumentRequest.d.ts.map +1 -1
- package/dist/mjs/api/resources/DocumentRequest.js +3 -0
- package/dist/mjs/api/resources/DocumentRequest.js.map +1 -1
- package/dist/mjs/api/resources/InformationRequest.d.ts +11 -0
- package/dist/mjs/api/resources/InformationRequest.d.ts.map +1 -0
- package/dist/mjs/api/resources/InformationRequest.js +30 -0
- package/dist/mjs/api/resources/InformationRequest.js.map +1 -0
- package/dist/mjs/api/resources.d.ts +2 -0
- package/dist/mjs/api/resources.d.ts.map +1 -1
- package/dist/mjs/api/resources.js +2 -0
- package/dist/mjs/api/resources.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/BalanceSheetModule.d.ts +2 -0
- package/dist/mjs/types/Enum/BalanceSheetModule.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheetModule.js +22 -0
- package/dist/mjs/types/Enum/BalanceSheetModule.js.map +1 -1
- package/dist/mjs/types/Enum/Ged.d.ts +16 -2
- package/dist/mjs/types/Enum/Ged.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Ged.js +131 -0
- package/dist/mjs/types/Enum/Ged.js.map +1 -1
- package/dist/mjs/types/Enum/InformationRequestState.d.ts +6 -0
- package/dist/mjs/types/Enum/InformationRequestState.d.ts.map +1 -0
- package/dist/mjs/types/Enum/InformationRequestState.js +7 -0
- package/dist/mjs/types/Enum/InformationRequestState.js.map +1 -0
- package/dist/mjs/types/Enum/InformationRequestType.d.ts +16 -0
- package/dist/mjs/types/Enum/InformationRequestType.d.ts.map +1 -0
- package/dist/mjs/types/Enum/InformationRequestType.js +43 -0
- package/dist/mjs/types/Enum/InformationRequestType.js.map +1 -0
- package/dist/mjs/types/Enum/RegistrationSource.d.ts +2 -1
- package/dist/mjs/types/Enum/RegistrationSource.d.ts.map +1 -1
- package/dist/mjs/types/Enum/RegistrationSource.js +1 -0
- package/dist/mjs/types/Enum/RegistrationSource.js.map +1 -1
- package/dist/mjs/types/Interface/api/cashAndExpense/Create.d.ts +1 -1
- package/dist/mjs/types/Interface/api/cashAndExpense/Create.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cashAndExpense/Create.js +1 -1
- package/dist/mjs/types/Interface/api/cashAndExpense/Create.js.map +1 -1
- package/dist/mjs/types/Interface/api/config/ConfigType.d.ts +4 -0
- package/dist/mjs/types/Interface/api/config/ConfigType.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/config/ConfigType.js.map +1 -1
- package/dist/mjs/types/Interface/api/documentRequest/Create.d.ts +1 -0
- package/dist/mjs/types/Interface/api/documentRequest/Create.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/documentRequest/Create.js +10 -1
- package/dist/mjs/types/Interface/api/documentRequest/Create.js.map +1 -1
- package/dist/mjs/types/Interface/api/documentRequest/Query.d.ts +3 -0
- package/dist/mjs/types/Interface/api/documentRequest/Query.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/documentRequest/Query.js +15 -1
- package/dist/mjs/types/Interface/api/documentRequest/Query.js.map +1 -1
- package/dist/mjs/types/Interface/api/documentRequest/Update.d.ts +12 -0
- package/dist/mjs/types/Interface/api/documentRequest/Update.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/documentRequest/Update.js +66 -0
- package/dist/mjs/types/Interface/api/documentRequest/Update.js.map +1 -0
- package/dist/mjs/types/Interface/api/informationRequest/Create.d.ts +10 -0
- package/dist/mjs/types/Interface/api/informationRequest/Create.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/informationRequest/Create.js +50 -0
- package/dist/mjs/types/Interface/api/informationRequest/Create.js.map +1 -0
- package/dist/mjs/types/Interface/api/informationRequest/Query.d.ts +11 -0
- package/dist/mjs/types/Interface/api/informationRequest/Query.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/informationRequest/Query.js +56 -0
- package/dist/mjs/types/Interface/api/informationRequest/Query.js.map +1 -0
- package/dist/mjs/types/Interface/api/informationRequest/Update.d.ts +12 -0
- package/dist/mjs/types/Interface/api/informationRequest/Update.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/informationRequest/Update.js +60 -0
- package/dist/mjs/types/Interface/api/informationRequest/Update.js.map +1 -0
- package/dist/mjs/types/Interface/api/payment/Params.d.ts +3 -1
- package/dist/mjs/types/Interface/api/payment/Params.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/payment/Params.js +18 -2
- package/dist/mjs/types/Interface/api/payment/Params.js.map +1 -1
- package/dist/mjs/types/Interface/api/{revenueMovement.d.ts → revenue/revenueMovement.d.ts} +1 -1
- package/dist/mjs/types/Interface/api/revenue/revenueMovement.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/{revenueMovement.js → revenue/revenueMovement.js} +2 -2
- package/dist/mjs/types/Interface/api/revenue/revenueMovement.js.map +1 -0
- package/dist/mjs/types/Interface/api/{revenueSnapshot.d.ts → revenue/revenueSnapshot.d.ts} +2 -1
- package/dist/mjs/types/Interface/api/revenue/revenueSnapshot.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/revenue/revenueSnapshot.js.map +1 -0
- package/dist/mjs/types/Interface/api/revenue/revenueSnapshotGenerate.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/{revenueSnapshotGenerate.js → revenue/revenueSnapshotGenerate.js} +3 -3
- package/dist/mjs/types/Interface/api/revenue/revenueSnapshotGenerate.js.map +1 -0
- package/dist/mjs/types/Interface/api/user/RegisterProspect.d.ts +4 -0
- package/dist/mjs/types/Interface/api/user/RegisterProspect.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/user/RegisterProspect.js.map +1 -1
- package/dist/mjs/types/Interface/api/user/RegisterWebhook.d.ts +6 -0
- package/dist/mjs/types/Interface/api/user/RegisterWebhook.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/user/RegisterWebhook.js +26 -1
- package/dist/mjs/types/Interface/api/user/RegisterWebhook.js.map +1 -1
- package/dist/mjs/types/Interface/models/IBalanceSheetModule.d.ts +4 -0
- package/dist/mjs/types/Interface/models/IBalanceSheetModule.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IBalanceSheetModule.js.map +1 -1
- package/dist/mjs/types/Interface/models/IDocumentRequest.d.ts +7 -1
- package/dist/mjs/types/Interface/models/IDocumentRequest.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IDocumentRequest.js.map +1 -1
- package/dist/mjs/types/Interface/models/IInformationRequest.d.ts +25 -0
- package/dist/mjs/types/Interface/models/IInformationRequest.d.ts.map +1 -0
- package/dist/mjs/types/Interface/models/IInformationRequest.js +2 -0
- package/dist/mjs/types/Interface/models/IInformationRequest.js.map +1 -0
- package/dist/mjs/types/Interface/models/ISociety.d.ts +1 -1
- package/dist/mjs/types/Interface/models/ISociety.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/ISociety.js.map +1 -1
- package/dist/mjs/types/index.d.ts +13 -6
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +13 -7
- package/dist/mjs/types/index.js.map +1 -1
- package/dist/mjs/utils/exercice.d.ts +8 -1
- package/dist/mjs/utils/exercice.d.ts.map +1 -1
- package/dist/mjs/utils/exercice.js +10 -1
- package/dist/mjs/utils/exercice.js.map +1 -1
- package/dist/mjs/utils/vat/3517/century25.js +53 -53
- package/dist/mjs/utils/vat/3517/century25.js.map +1 -1
- package/package.json +17 -17
- package/ts/api/resources/DocumentRequest.ts +5 -1
- package/ts/api/resources/InformationRequest.ts +36 -0
- package/ts/api/resources.ts +2 -0
- package/ts/types/Enum/BalanceSheet.ts +11 -11
- package/ts/types/Enum/BalanceSheetModule.ts +24 -1
- package/ts/types/Enum/Ged.ts +132 -0
- package/ts/types/Enum/InformationRequestState.ts +5 -0
- package/ts/types/Enum/InformationRequestType.ts +51 -0
- package/ts/types/Enum/RegistrationSource.ts +1 -0
- package/ts/types/Interface/api/cashAndExpense/Create.ts +2 -2
- package/ts/types/Interface/api/config/ConfigType.ts +1 -0
- package/ts/types/Interface/api/documentRequest/Create.ts +8 -1
- package/ts/types/Interface/api/documentRequest/Query.ts +12 -1
- package/ts/types/Interface/api/documentRequest/Update.ts +43 -0
- package/ts/types/Interface/api/informationRequest/Create.ts +31 -0
- package/ts/types/Interface/api/informationRequest/Query.ts +36 -0
- package/ts/types/Interface/api/informationRequest/Update.ts +39 -0
- package/ts/types/Interface/api/payment/Params.ts +15 -3
- package/ts/types/Interface/api/{revenueMovement.ts → revenue/revenueMovement.ts} +2 -2
- package/ts/types/Interface/api/{revenueSnapshot.ts → revenue/revenueSnapshot.ts} +3 -1
- package/ts/types/Interface/api/{revenueSnapshotGenerate.ts → revenue/revenueSnapshotGenerate.ts} +3 -3
- package/ts/types/Interface/api/user/RegisterProspect.ts +4 -0
- package/ts/types/Interface/api/user/RegisterWebhook.ts +19 -1
- package/ts/types/Interface/models/IBalanceSheetModule.ts +7 -1
- package/ts/types/Interface/models/IDocumentRequest.ts +8 -2
- package/ts/types/Interface/models/IInformationRequest.ts +27 -0
- package/ts/types/Interface/models/ISociety.ts +1 -1
- package/ts/types/index.ts +13 -8
- package/ts/utils/exercice.ts +11 -1
- package/ts/utils/vat/3517/century25.ts +53 -53
- package/dist/cjs/types/Interface/api/revenueMovement.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/revenueMovement.js.map +0 -1
- package/dist/cjs/types/Interface/api/revenueSnapshot.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/revenueSnapshot.js.map +0 -1
- package/dist/cjs/types/Interface/api/revenueSnapshotGenerate.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/revenueSnapshotGenerate.js.map +0 -1
- package/dist/mjs/types/Interface/api/revenueMovement.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/revenueMovement.js.map +0 -1
- package/dist/mjs/types/Interface/api/revenueSnapshot.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/revenueSnapshot.js.map +0 -1
- package/dist/mjs/types/Interface/api/revenueSnapshotGenerate.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/revenueSnapshotGenerate.js.map +0 -1
- /package/dist/cjs/types/Interface/api/{revenueSnapshot.js → revenue/revenueSnapshot.js} +0 -0
- /package/dist/cjs/types/Interface/api/{revenueSnapshotGenerate.d.ts → revenue/revenueSnapshotGenerate.d.ts} +0 -0
- /package/dist/mjs/types/Interface/api/{revenueSnapshot.js → revenue/revenueSnapshot.js} +0 -0
- /package/dist/mjs/types/Interface/api/{revenueSnapshotGenerate.d.ts → revenue/revenueSnapshotGenerate.d.ts} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/documentRequest/Query.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/documentRequest/Query.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C,qBAAa,oBAAoB;IAI/B,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,cAAc,CAAC,EAAE,MAAM,CAAC;IAKxB,aAAa,CAAC,EAAE,MAAM,CAAC;IAKvB,QAAQ,CAAC,EAAE,QAAQ,EAAE,CAAC;CACvB"}
|
|
@@ -7,11 +7,13 @@ 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 { IsInt, IsOptional } from 'class-validator';
|
|
10
|
+
import { IsArray, IsInt, IsOptional } from 'class-validator';
|
|
11
11
|
import { ApiPropertyOptional } from '../../../../utils';
|
|
12
12
|
export class QueryDocumentRequest {
|
|
13
13
|
idExercice;
|
|
14
14
|
idBalanceSheet;
|
|
15
|
+
idRequestedBy;
|
|
16
|
+
typeFile;
|
|
15
17
|
}
|
|
16
18
|
__decorate([
|
|
17
19
|
ApiPropertyOptional(),
|
|
@@ -25,4 +27,16 @@ __decorate([
|
|
|
25
27
|
IsInt(),
|
|
26
28
|
__metadata("design:type", Number)
|
|
27
29
|
], QueryDocumentRequest.prototype, "idBalanceSheet", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
ApiPropertyOptional(),
|
|
32
|
+
IsOptional(),
|
|
33
|
+
IsInt(),
|
|
34
|
+
__metadata("design:type", Number)
|
|
35
|
+
], QueryDocumentRequest.prototype, "idRequestedBy", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
ApiPropertyOptional(),
|
|
38
|
+
IsOptional(),
|
|
39
|
+
IsArray(),
|
|
40
|
+
__metadata("design:type", Array)
|
|
41
|
+
], QueryDocumentRequest.prototype, "typeFile", void 0);
|
|
28
42
|
//# sourceMappingURL=Query.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/documentRequest/Query.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/documentRequest/Query.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7D,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAGxD,MAAM,OAAO,oBAAoB;IAI/B,UAAU,CAAU;IAKpB,cAAc,CAAU;IAKxB,aAAa,CAAU;IAKvB,QAAQ,CAAc;CACvB;AAhBC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;wDACY;AAKpB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;4DACgB;AAKxB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;2DACe;AAKvB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,OAAO,EAAE;;sDACY","sourcesContent":["import { IsArray, IsInt, IsOptional } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { TypeFile } from '../../../Enum/Ged';\n\nexport class QueryDocumentRequest {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idBalanceSheet?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idRequestedBy?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n typeFile?: TypeFile[];\n}\n"]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IDocumentRequest } from '../../models/IDocumentRequest';
|
|
2
|
+
import { TypeFile } from '../../../Enum/Ged';
|
|
3
|
+
export declare class UpdateDocumentRequest implements Partial<Omit<IDocumentRequest, 'id' | 'idRequestedBy' | 'notConcernedAt'>> {
|
|
4
|
+
idSociety?: number;
|
|
5
|
+
typeFile?: TypeFile;
|
|
6
|
+
idExercice?: number;
|
|
7
|
+
idBalanceSheet?: number;
|
|
8
|
+
comment?: string;
|
|
9
|
+
isNotConcerned?: boolean;
|
|
10
|
+
isMandatory?: boolean;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=Update.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Update.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/documentRequest/Update.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAG7C,qBAAa,qBAAsB,YAAW,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE,IAAI,GAAG,eAAe,GAAG,gBAAgB,CAAC,CAAC;IAItH,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IAKpB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,cAAc,CAAC,EAAE,MAAM,CAAC;IAIxB,OAAO,CAAC,EAAE,MAAM,CAAC;IAMjB,cAAc,CAAC,EAAE,OAAO,CAAC;IAMzB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import { IsBoolean, IsEnum, IsInt, IsOptional } from 'class-validator';
|
|
11
|
+
import { ApiPropertyOptional } from '../../../../utils';
|
|
12
|
+
import { TypeFile } from '../../../Enum/Ged';
|
|
13
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
14
|
+
export class UpdateDocumentRequest {
|
|
15
|
+
idSociety;
|
|
16
|
+
typeFile;
|
|
17
|
+
idExercice;
|
|
18
|
+
idBalanceSheet;
|
|
19
|
+
comment;
|
|
20
|
+
isNotConcerned;
|
|
21
|
+
isMandatory;
|
|
22
|
+
}
|
|
23
|
+
__decorate([
|
|
24
|
+
ApiPropertyOptional(),
|
|
25
|
+
IsOptional(),
|
|
26
|
+
IsInt(),
|
|
27
|
+
__metadata("design:type", Number)
|
|
28
|
+
], UpdateDocumentRequest.prototype, "idSociety", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
ApiPropertyOptional(),
|
|
31
|
+
IsOptional(),
|
|
32
|
+
IsEnum(TypeFile),
|
|
33
|
+
__metadata("design:type", Number)
|
|
34
|
+
], UpdateDocumentRequest.prototype, "typeFile", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
ApiPropertyOptional(),
|
|
37
|
+
IsOptional(),
|
|
38
|
+
IsInt(),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], UpdateDocumentRequest.prototype, "idExercice", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
ApiPropertyOptional(),
|
|
43
|
+
IsOptional(),
|
|
44
|
+
IsInt(),
|
|
45
|
+
__metadata("design:type", Number)
|
|
46
|
+
], UpdateDocumentRequest.prototype, "idBalanceSheet", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
ApiPropertyOptional(),
|
|
49
|
+
IsOptional(),
|
|
50
|
+
__metadata("design:type", String)
|
|
51
|
+
], UpdateDocumentRequest.prototype, "comment", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
ApiPropertyOptional(),
|
|
54
|
+
IsOptional(),
|
|
55
|
+
IsBoolean(),
|
|
56
|
+
ToBoolean(),
|
|
57
|
+
__metadata("design:type", Boolean)
|
|
58
|
+
], UpdateDocumentRequest.prototype, "isNotConcerned", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
ApiPropertyOptional(),
|
|
61
|
+
IsOptional(),
|
|
62
|
+
IsBoolean(),
|
|
63
|
+
ToBoolean(),
|
|
64
|
+
__metadata("design:type", Boolean)
|
|
65
|
+
], UpdateDocumentRequest.prototype, "isMandatory", void 0);
|
|
66
|
+
//# sourceMappingURL=Update.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Update.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/documentRequest/Update.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AACvE,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,qBAAqB;IAIhC,SAAS,CAAU;IAKnB,QAAQ,CAAY;IAKpB,UAAU,CAAU;IAKpB,cAAc,CAAU;IAIxB,OAAO,CAAU;IAMjB,cAAc,CAAW;IAMzB,WAAW,CAAW;CACvB;AAhCC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;wDACW;AAKnB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,MAAM,CAAC,QAAQ,CAAC;;uDACG;AAKpB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;yDACY;AAKpB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;6DACgB;AAIxB;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;sDACI;AAMjB;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;6DACa;AAMzB;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;0DACU","sourcesContent":["import { IsBoolean, IsEnum, IsInt, IsOptional } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { IDocumentRequest } from '../../models/IDocumentRequest';\nimport { TypeFile } from '../../../Enum/Ged';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class UpdateDocumentRequest implements Partial<Omit<IDocumentRequest, 'id' | 'idRequestedBy' | 'notConcernedAt'>> {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(TypeFile)\n typeFile?: TypeFile;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idBalanceSheet?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n comment?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isNotConcerned?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isMandatory?: boolean;\n}"]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IInformationRequest } from '../../models/IInformationRequest';
|
|
2
|
+
import { InformationRequestType } from '../../../Enum/InformationRequestType';
|
|
3
|
+
export declare class CreateInformationRequest implements Omit<IInformationRequest, 'id' | 'idRequestedBy' | 'state'> {
|
|
4
|
+
idSociety: number;
|
|
5
|
+
idExercice?: number | null;
|
|
6
|
+
idBalanceSheet?: number | null;
|
|
7
|
+
type: InformationRequestType;
|
|
8
|
+
isMandatory?: boolean;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=Create.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/informationRequest/Create.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAG9E,qBAAa,wBAAyB,YAAW,IAAI,CAAC,mBAAmB,EAAE,IAAI,GAAG,eAAe,GAAG,OAAO,CAAC;IAG1G,SAAS,EAAE,MAAM,CAAC;IAKlB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAK3B,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAI/B,IAAI,EAAE,sBAAsB,CAAC;IAM7B,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import { IsBoolean, IsEnum, IsInt, IsOptional } from 'class-validator';
|
|
11
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
12
|
+
import { InformationRequestType } from '../../../Enum/InformationRequestType';
|
|
13
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
14
|
+
export class CreateInformationRequest {
|
|
15
|
+
idSociety;
|
|
16
|
+
idExercice;
|
|
17
|
+
idBalanceSheet;
|
|
18
|
+
type;
|
|
19
|
+
isMandatory;
|
|
20
|
+
}
|
|
21
|
+
__decorate([
|
|
22
|
+
ApiProperty(),
|
|
23
|
+
IsInt(),
|
|
24
|
+
__metadata("design:type", Number)
|
|
25
|
+
], CreateInformationRequest.prototype, "idSociety", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
ApiPropertyOptional(),
|
|
28
|
+
IsOptional(),
|
|
29
|
+
IsInt(),
|
|
30
|
+
__metadata("design:type", Object)
|
|
31
|
+
], CreateInformationRequest.prototype, "idExercice", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
ApiPropertyOptional(),
|
|
34
|
+
IsOptional(),
|
|
35
|
+
IsInt(),
|
|
36
|
+
__metadata("design:type", Object)
|
|
37
|
+
], CreateInformationRequest.prototype, "idBalanceSheet", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
ApiProperty(),
|
|
40
|
+
IsEnum(InformationRequestType),
|
|
41
|
+
__metadata("design:type", Number)
|
|
42
|
+
], CreateInformationRequest.prototype, "type", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
ApiPropertyOptional(),
|
|
45
|
+
IsOptional(),
|
|
46
|
+
IsBoolean(),
|
|
47
|
+
ToBoolean(),
|
|
48
|
+
__metadata("design:type", Boolean)
|
|
49
|
+
], CreateInformationRequest.prototype, "isMandatory", void 0);
|
|
50
|
+
//# sourceMappingURL=Create.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/informationRequest/Create.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AACvE,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAErE,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAC9E,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,wBAAwB;IAGnC,SAAS,CAAS;IAKlB,UAAU,CAAiB;IAK3B,cAAc,CAAiB;IAI/B,IAAI,CAAyB;IAM7B,WAAW,CAAW;CACvB;AArBC;IAFC,WAAW,EAAE;IACb,KAAK,EAAE;;2DACU;AAKlB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;4DACmB;AAK3B;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;gEACuB;AAI/B;IAFC,WAAW,EAAE;IACb,MAAM,CAAC,sBAAsB,CAAC;;sDACF;AAM7B;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;6DACU","sourcesContent":["import { IsBoolean, IsEnum, IsInt, IsOptional } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { IInformationRequest } from '../../models/IInformationRequest';\nimport { InformationRequestType } from '../../../Enum/InformationRequestType';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class CreateInformationRequest implements Omit<IInformationRequest, 'id' | 'idRequestedBy' | 'state'> {\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idBalanceSheet?: number | null;\n\n @ApiProperty()\n @IsEnum(InformationRequestType)\n type: InformationRequestType;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isMandatory?: boolean;\n}\n"]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { InformationRequestType } from '../../../Enum/InformationRequestType';
|
|
2
|
+
import { InformationRequestState } from '../../../Enum/InformationRequestState';
|
|
3
|
+
export declare class QueryInformationRequest {
|
|
4
|
+
idSociety?: number;
|
|
5
|
+
idExercice?: number;
|
|
6
|
+
idBalanceSheet?: number;
|
|
7
|
+
idRequestedBy?: number;
|
|
8
|
+
type?: InformationRequestType[];
|
|
9
|
+
state?: InformationRequestState[];
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=Query.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/informationRequest/Query.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAC9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAEhF,qBAAa,uBAAuB;IAIlC,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,cAAc,CAAC,EAAE,MAAM,CAAC;IAKxB,aAAa,CAAC,EAAE,MAAM,CAAC;IAKvB,IAAI,CAAC,EAAE,sBAAsB,EAAE,CAAC;IAKhC,KAAK,CAAC,EAAE,uBAAuB,EAAE,CAAC;CACnC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import { IsArray, IsInt, IsOptional } from 'class-validator';
|
|
11
|
+
import { ApiPropertyOptional } from '../../../../utils';
|
|
12
|
+
export class QueryInformationRequest {
|
|
13
|
+
idSociety;
|
|
14
|
+
idExercice;
|
|
15
|
+
idBalanceSheet;
|
|
16
|
+
idRequestedBy;
|
|
17
|
+
type;
|
|
18
|
+
state;
|
|
19
|
+
}
|
|
20
|
+
__decorate([
|
|
21
|
+
ApiPropertyOptional(),
|
|
22
|
+
IsOptional(),
|
|
23
|
+
IsInt(),
|
|
24
|
+
__metadata("design:type", Number)
|
|
25
|
+
], QueryInformationRequest.prototype, "idSociety", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
ApiPropertyOptional(),
|
|
28
|
+
IsOptional(),
|
|
29
|
+
IsInt(),
|
|
30
|
+
__metadata("design:type", Number)
|
|
31
|
+
], QueryInformationRequest.prototype, "idExercice", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
ApiPropertyOptional(),
|
|
34
|
+
IsOptional(),
|
|
35
|
+
IsInt(),
|
|
36
|
+
__metadata("design:type", Number)
|
|
37
|
+
], QueryInformationRequest.prototype, "idBalanceSheet", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
ApiPropertyOptional(),
|
|
40
|
+
IsOptional(),
|
|
41
|
+
IsInt(),
|
|
42
|
+
__metadata("design:type", Number)
|
|
43
|
+
], QueryInformationRequest.prototype, "idRequestedBy", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
ApiPropertyOptional(),
|
|
46
|
+
IsOptional(),
|
|
47
|
+
IsArray(),
|
|
48
|
+
__metadata("design:type", Array)
|
|
49
|
+
], QueryInformationRequest.prototype, "type", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
ApiPropertyOptional(),
|
|
52
|
+
IsOptional(),
|
|
53
|
+
IsArray(),
|
|
54
|
+
__metadata("design:type", Array)
|
|
55
|
+
], QueryInformationRequest.prototype, "state", void 0);
|
|
56
|
+
//# sourceMappingURL=Query.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/informationRequest/Query.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7D,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAIxD,MAAM,OAAO,uBAAuB;IAIlC,SAAS,CAAU;IAKnB,UAAU,CAAU;IAKpB,cAAc,CAAU;IAKxB,aAAa,CAAU;IAKvB,IAAI,CAA4B;IAKhC,KAAK,CAA6B;CACnC;AA1BC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;0DACW;AAKnB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;2DACY;AAKpB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;+DACgB;AAKxB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;8DACe;AAKvB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,OAAO,EAAE;;qDACsB;AAKhC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,OAAO,EAAE;;sDACwB","sourcesContent":["import { IsArray, IsInt, IsOptional } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { InformationRequestType } from '../../../Enum/InformationRequestType';\nimport { InformationRequestState } from '../../../Enum/InformationRequestState';\n\nexport class QueryInformationRequest {\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 idBalanceSheet?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idRequestedBy?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n type?: InformationRequestType[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n state?: InformationRequestState[];\n}\n"]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IInformationRequest } from '../../models/IInformationRequest';
|
|
2
|
+
import { InformationRequestType } from '../../../Enum/InformationRequestType';
|
|
3
|
+
import { InformationRequestState } from '../../../Enum/InformationRequestState';
|
|
4
|
+
export declare class UpdateInformationRequest implements Partial<Omit<IInformationRequest, 'id'>> {
|
|
5
|
+
idSociety?: number;
|
|
6
|
+
idExercice?: number;
|
|
7
|
+
idRequestedBy?: number;
|
|
8
|
+
type?: InformationRequestType;
|
|
9
|
+
state?: InformationRequestState;
|
|
10
|
+
isMandatory?: boolean;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=Update.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Update.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/informationRequest/Update.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAC9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAGhF,qBAAa,wBAAyB,YAAW,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,IAAI,CAAC,CAAC;IAIvF,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,aAAa,CAAC,EAAE,MAAM,CAAC;IAKvB,IAAI,CAAC,EAAE,sBAAsB,CAAC;IAK9B,KAAK,CAAC,EAAE,uBAAuB,CAAC;IAMhC,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import { IsBoolean, IsEnum, IsInt, IsOptional } from 'class-validator';
|
|
11
|
+
import { ApiPropertyOptional } from '../../../../utils';
|
|
12
|
+
import { InformationRequestType } from '../../../Enum/InformationRequestType';
|
|
13
|
+
import { InformationRequestState } from '../../../Enum/InformationRequestState';
|
|
14
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
15
|
+
export class UpdateInformationRequest {
|
|
16
|
+
idSociety;
|
|
17
|
+
idExercice;
|
|
18
|
+
idRequestedBy;
|
|
19
|
+
type;
|
|
20
|
+
state;
|
|
21
|
+
isMandatory;
|
|
22
|
+
}
|
|
23
|
+
__decorate([
|
|
24
|
+
ApiPropertyOptional(),
|
|
25
|
+
IsOptional(),
|
|
26
|
+
IsInt(),
|
|
27
|
+
__metadata("design:type", Number)
|
|
28
|
+
], UpdateInformationRequest.prototype, "idSociety", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
ApiPropertyOptional(),
|
|
31
|
+
IsOptional(),
|
|
32
|
+
IsInt(),
|
|
33
|
+
__metadata("design:type", Number)
|
|
34
|
+
], UpdateInformationRequest.prototype, "idExercice", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
ApiPropertyOptional(),
|
|
37
|
+
IsOptional(),
|
|
38
|
+
IsInt(),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], UpdateInformationRequest.prototype, "idRequestedBy", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
ApiPropertyOptional(),
|
|
43
|
+
IsOptional(),
|
|
44
|
+
IsEnum(InformationRequestType),
|
|
45
|
+
__metadata("design:type", Number)
|
|
46
|
+
], UpdateInformationRequest.prototype, "type", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
ApiPropertyOptional(),
|
|
49
|
+
IsOptional(),
|
|
50
|
+
IsEnum(InformationRequestState),
|
|
51
|
+
__metadata("design:type", Number)
|
|
52
|
+
], UpdateInformationRequest.prototype, "state", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
ApiPropertyOptional(),
|
|
55
|
+
IsOptional(),
|
|
56
|
+
IsBoolean(),
|
|
57
|
+
ToBoolean(),
|
|
58
|
+
__metadata("design:type", Boolean)
|
|
59
|
+
], UpdateInformationRequest.prototype, "isMandatory", void 0);
|
|
60
|
+
//# sourceMappingURL=Update.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Update.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/informationRequest/Update.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AACvE,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAC9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAChF,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,wBAAwB;IAInC,SAAS,CAAU;IAKnB,UAAU,CAAU;IAKpB,aAAa,CAAU;IAKvB,IAAI,CAA0B;IAK9B,KAAK,CAA2B;IAMhC,WAAW,CAAW;CACvB;AA3BC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;2DACW;AAKnB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;4DACY;AAKpB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;+DACe;AAKvB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,MAAM,CAAC,sBAAsB,CAAC;;sDACD;AAK9B;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,MAAM,CAAC,uBAAuB,CAAC;;uDACA;AAMhC;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;6DACU","sourcesContent":["import { IsBoolean, IsEnum, IsInt, IsOptional } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { IInformationRequest } from '../../models/IInformationRequest';\nimport { InformationRequestType } from '../../../Enum/InformationRequestType';\nimport { InformationRequestState } from '../../../Enum/InformationRequestState';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class UpdateInformationRequest implements Partial<Omit<IInformationRequest, 'id'>> {\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 idRequestedBy?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(InformationRequestType)\n type?: InformationRequestType;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(InformationRequestState)\n state?: InformationRequestState;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isMandatory?: boolean;\n}\n"]}
|
|
@@ -2,9 +2,11 @@ export declare class CreatePaymentsAutoBilling {
|
|
|
2
2
|
idSociety?: number;
|
|
3
3
|
}
|
|
4
4
|
export declare class CreatePaymentsRebilling {
|
|
5
|
-
idSociety
|
|
5
|
+
idSociety?: number;
|
|
6
6
|
endDate?: string;
|
|
7
7
|
nbExercicesToGenerate?: number;
|
|
8
|
+
limit?: number;
|
|
9
|
+
debug?: boolean;
|
|
8
10
|
}
|
|
9
11
|
export declare class UpdateCollectable {
|
|
10
12
|
listIdPayment: number[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/payment/Params.ts"],"names":[],"mappings":"AAIA,qBAAa,yBAAyB;IAIpC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AACD,qBAAa,uBAAuB;
|
|
1
|
+
{"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/payment/Params.ts"],"names":[],"mappings":"AAIA,qBAAa,yBAAyB;IAIpC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AACD,qBAAa,uBAAuB;IAIlC,SAAS,CAAC,EAAE,MAAM,CAAC;IAQnB,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,qBAAqB,CAAC,EAAE,MAAM,CAAK;IAKnC,KAAK,CAAC,EAAE,MAAM,CAAM;IAMpB,KAAK,CAAC,EAAE,OAAO,CAAS;CACzB;AAED,qBAAa,iBAAiB;IAG5B,aAAa,EAAE,MAAM,EAAE,CAAC;IAMxB,aAAa,EAAE,OAAO,CAAC;CACxB;AAED,qBAAa,aAAa;IAIxB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,eAAe,CAAC,EAAE,MAAM,CAAC;IAKzB,YAAY,CAAC,EAAE,MAAM,CAAC;IAMtB,OAAO,CAAC,EAAE,OAAO,CAAC;IAMlB,MAAM,CAAC,EAAE,OAAO,CAAC;IAMjB,UAAU,CAAC,EAAE,OAAO,CAAC;IAMrB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAM3B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAM5B,eAAe,CAAC,EAAE,OAAO,CAAC;IAK1B,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,aAAa,CAAC,EAAE,MAAM,CAAC;IAKvB,WAAW,CAAC,EAAE,IAAI,CAAC;CACpB"}
|
|
@@ -7,7 +7,7 @@ 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 { IsBoolean, IsDate, IsInt, IsNumber, IsOptional, IsString, Matches } from 'class-validator';
|
|
10
|
+
import { IsBoolean, IsDate, IsInt, IsNumber, IsOptional, IsString, Matches, Min } from 'class-validator';
|
|
11
11
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
12
12
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
13
13
|
export class CreatePaymentsAutoBilling {
|
|
@@ -23,9 +23,12 @@ export class CreatePaymentsRebilling {
|
|
|
23
23
|
idSociety;
|
|
24
24
|
endDate;
|
|
25
25
|
nbExercicesToGenerate = 1;
|
|
26
|
+
limit = 10;
|
|
27
|
+
debug = false;
|
|
26
28
|
}
|
|
27
29
|
__decorate([
|
|
28
|
-
|
|
30
|
+
ApiPropertyOptional(),
|
|
31
|
+
IsOptional(),
|
|
29
32
|
IsInt(),
|
|
30
33
|
__metadata("design:type", Number)
|
|
31
34
|
], CreatePaymentsRebilling.prototype, "idSociety", void 0);
|
|
@@ -44,6 +47,19 @@ __decorate([
|
|
|
44
47
|
IsInt(),
|
|
45
48
|
__metadata("design:type", Number)
|
|
46
49
|
], CreatePaymentsRebilling.prototype, "nbExercicesToGenerate", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
ApiProperty({ default: 10 }),
|
|
52
|
+
IsInt(),
|
|
53
|
+
Min(1),
|
|
54
|
+
__metadata("design:type", Number)
|
|
55
|
+
], CreatePaymentsRebilling.prototype, "limit", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
ApiPropertyOptional({ default: false }),
|
|
58
|
+
IsOptional(),
|
|
59
|
+
IsBoolean(),
|
|
60
|
+
ToBoolean(),
|
|
61
|
+
__metadata("design:type", Boolean)
|
|
62
|
+
], CreatePaymentsRebilling.prototype, "debug", void 0);
|
|
47
63
|
export class UpdateCollectable {
|
|
48
64
|
listIdPayment;
|
|
49
65
|
isCollectable;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Params.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/payment/Params.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,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E;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;uDACe;AAM3B;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;wDACgB;AAM5B;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;sDACc;AAK1B;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;8CACM;AAKjB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;oDACY;AAKvB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,MAAM,EAAE;8BACK,IAAI;kDAAC","sourcesContent":["import { IsBoolean, IsDate, IsInt, IsNumber, IsOptional, IsString, Matches, Min } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class CreatePaymentsAutoBilling {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n}\nexport class CreatePaymentsRebilling {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n @Matches(/^\\d{4}-(0[1-9]|1[0-2])$/, {\n message: 'endDate doit être au format YYYY-MM',\n })\n endDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n nbExercicesToGenerate?: number = 1;\n\n @ApiProperty({ default: 10 })\n @IsInt()\n @Min(1)\n limit?: number = 10;\n\n @ApiPropertyOptional({ default: false })\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n debug?: boolean = false;\n}\n\nexport class UpdateCollectable {\n @ApiProperty()\n @IsInt({ each: true })\n listIdPayment: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isCollectable: boolean;\n}\n\nexport class UpdatePayment {\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n amount?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n amountPayed?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idPaymentMethod?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idPrestation?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n isAsset?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n isFree?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n isOverpaid?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n isHiddenCustomer?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n noInternalInvoice?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n isDebtSpreading?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n comment?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n internComment?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n datePayment?: Date;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"revenueMovement.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/revenue/revenueMovement.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAG5D;;GAEG;AACH,qBAAa,6BAA6B;IAGxC,IAAI,EAAE,mBAAmB,CAAC;IAI1B,SAAS,EAAE,MAAM,CAAC;IAKlB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,YAAY,CAAC,EAAE,MAAM,CAAC;IAKtB,iBAAiB,CAAC,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
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
10
|
import { IsDate, IsInt, IsOptional, IsEnum, IsNumber, IsString, IsObject, IsArray } from 'class-validator';
|
|
11
|
-
import { RevenueMovementType } from '
|
|
12
|
-
import { ApiProperty, ApiPropertyOptional } from '
|
|
11
|
+
import { RevenueMovementType } from '../../../Enum/Revenue';
|
|
12
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
13
13
|
/**
|
|
14
14
|
* DTO pour créer un mouvement de revenu
|
|
15
15
|
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"revenueMovement.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/revenue/revenueMovement.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC3G,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAErE;;GAEG;AACH,MAAM,OAAO,6BAA6B;IAGxC,IAAI,CAAsB;IAI1B,SAAS,CAAS;IAKlB,UAAU,CAAU;IAKpB,YAAY,CAAU;IAKtB,iBAAiB,CAAU;IAK3B,eAAe,CAAU;IAIzB,MAAM,CAAS;IAIf,GAAG,CAAS;IAIZ,GAAG,CAAS;IAIZ,YAAY,CAAO;IAKnB,WAAW,CAAU;IAKrB,QAAQ,CAAuB;CAChC;AAnDC;IAFC,WAAW,EAAE;IACb,MAAM,CAAC,mBAAmB,CAAC;;2DACF;AAI1B;IAFC,WAAW,EAAE;IACb,KAAK,EAAE;;gEACU;AAKlB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;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K,EAAE;;0DACO;AAcjB;;GAEG;AACH,MAAM,OAAO,wBAAwB;IAInC,IAAI,CAAU;IAKd,SAAS,CAAU;IAKnB,UAAU,CAAU;CACrB;AAXC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,MAAM,EAAE;;sDACK;AAKd;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;2DACW;AAKnB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;4DACY;AAGtB;;GAEG;AACH,MAAM,OAAO,4BAA4B;IAIvC,IAAI,CAAU;CACf;AADC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,MAAM,EAAE;;0DACK;AAGhB;;GAEG;AACH,MAAM,OAAO,2BAA2B;IAItC,SAAS,CAAS;IAKlB,UAAU,CAAU;IAKpB,IAAI,CAAQ;CACb;AAXC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;8DACU;AAKlB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;+DACY;AAKpB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,MAAM,EAAE;8BACF,IAAI;yDAAC","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"]}
|
|
@@ -49,9 +49,10 @@ export interface IGetArrSummaryResponse {
|
|
|
49
49
|
timeline: Array<{
|
|
50
50
|
date: Date;
|
|
51
51
|
arr: number;
|
|
52
|
-
mrr: number;
|
|
53
52
|
bookings: number;
|
|
54
53
|
churn: number;
|
|
54
|
+
recognition: number;
|
|
55
|
+
provision: number;
|
|
55
56
|
}>;
|
|
56
57
|
}
|
|
57
58
|
//# sourceMappingURL=revenueSnapshot.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"revenueSnapshot.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/revenue/revenueSnapshot.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IAC1B,OAAO,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C,SAAS,EAAE,GAAG,EAAE,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC,QAAQ,EAAE,GAAG,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE;QACN,SAAS,EAAE,IAAI,CAAC;QAChB,OAAO,EAAE,IAAI,CAAC;KACf,CAAC;IACF,OAAO,EAAE;QACP,UAAU,EAAE,MAAM,CAAC;QACnB,UAAU,EAAE,MAAM,CAAC;QACnB,aAAa,EAAE,MAAM,CAAC;QACtB,UAAU,EAAE,MAAM,CAAC;QACnB,eAAe,EAAE,MAAM,CAAC;QACxB,iBAAiB,EAAE,MAAM,CAAC;QAC1B,eAAe,EAAE,MAAM,CAAC;QACxB,SAAS,EAAE,MAAM,CAAC;QAClB,aAAa,EAAE,MAAM,CAAC;KACvB,CAAC;IACF,QAAQ,EAAE,KAAK,CAAC;QACd,IAAI,EAAE,IAAI,CAAC;QACX,GAAG,EAAE,MAAM,CAAC;QAEZ,QAAQ,EAAE,MAAM,CAAC;QACjB,KAAK,EAAE,MAAM,CAAC;QACd,WAAW,EAAE,MAAM,CAAC;QACpB,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC,CAAC;CACJ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"revenueSnapshot.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/revenue/revenueSnapshot.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Filtres pour récupérer les snapshots de revenu\n */\nexport interface IGetRevenueSnapshotsRequest {\n idSociety?: number;\n idExercice?: number;\n startDate?: Date | string;\n endDate?: Date | string;\n page?: number;\n limit?: number;\n}\n\n/**\n * Réponse paginée pour les snapshots de revenu\n */\nexport interface IGetRevenueSnapshotsResponse {\n snapshots: any[]; // IRevenueSnapshot[]\n total: number;\n page: number;\n limit: number;\n totalPages: number;\n}\n\n/**\n * Réponse pour obtenir le dernier snapshot d'une société\n */\nexport interface IGetLatestSnapshotResponse {\n snapshot: any; // IRevenueSnapshot\n}\n\n/**\n * Réponse pour obtenir le tableau récapitulatif ARR\n */\nexport interface IGetArrSummaryResponse {\n idSociety?: number;\n idExercice?: number;\n period: {\n startDate: Date;\n endDate: Date;\n };\n summary: {\n currentArr: number;\n currentMrr: number;\n totalBookings: number;\n totalChurn: number;\n totalProvisions: number;\n totalRecognitions: number;\n activeCustomers: number;\n churnRate: number;\n mrrGrowthRate: number;\n };\n timeline: Array<{\n date: Date;\n arr: number;\n // mrr: number;\n bookings: number;\n churn: number;\n recognition: number;\n provision: number;\n }>;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"revenueSnapshotGenerate.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/revenue/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;IAgB9B,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB"}
|
|
@@ -7,7 +7,7 @@ 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, ApiPropertyOptional } from '
|
|
10
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
11
11
|
import { IsOptional, IsString, IsNumber, IsInt } from 'class-validator';
|
|
12
12
|
export class GenerateSnapshot {
|
|
13
13
|
date;
|
|
@@ -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(),
|
|
@@ -70,7 +70,7 @@ export class ManageRetroactivity {
|
|
|
70
70
|
__decorate([
|
|
71
71
|
ApiPropertyOptional({
|
|
72
72
|
required: false,
|
|
73
|
-
description:
|
|
73
|
+
description: "ID de l'exercice (si non fourni, utilise l'exercice courant)",
|
|
74
74
|
example: 123456,
|
|
75
75
|
}),
|
|
76
76
|
IsOptional(),
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"revenueSnapshotGenerate.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/revenue/revenueSnapshotGenerate.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAExE,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;IAC9B,iBAAiB;IACjB,oBAAoB;IACpB,qCAAqC;IACrC,oBAAoB;IACpB,KAAK;IACL,WAAW;IACX,qBAAqB;IASrB,UAAU,CAAU;CACrB;AADC;IAPC,mBAAmB,CAAC;QACnB,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,8DAA8D;QAC3E,OAAO,EAAE,MAAM;KAChB,CAAC;IACD,UAAU,EAAE;IACZ,KAAK,EAAE;;uDACY","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { IsOptional, IsString, IsNumber, IsInt } 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 // @IsInt()\n // idSociety: number;\n\n @ApiPropertyOptional({\n required: false,\n description: \"ID de l'exercice (si non fourni, utilise l'exercice courant)\",\n example: 123456,\n })\n @IsOptional()\n @IsInt()\n idExercice?: number;\n}\n"]}
|
|
@@ -3,6 +3,7 @@ import { Civility } from '../../../Enum/Civility';
|
|
|
3
3
|
import { IAnalyticsUtm } from '../../models/IAnalyticsUtm';
|
|
4
4
|
import { LegalFormTypeEnum } from '../../../Enum/LegalForm';
|
|
5
5
|
import { UpdateOrCreateVisualizedInformation } from '../visualizedInformation/Update';
|
|
6
|
+
import { IPermission } from '../../models/IPermission';
|
|
6
7
|
/**
|
|
7
8
|
* Response of the register prospect endpoint
|
|
8
9
|
*/
|
|
@@ -29,6 +30,8 @@ export interface ProspectSocietyInfo {
|
|
|
29
30
|
idLegalForm?: LegalFormTypeEnum;
|
|
30
31
|
zipCode?: string;
|
|
31
32
|
turnover?: number;
|
|
33
|
+
siret?: string;
|
|
34
|
+
idNafCode?: number;
|
|
32
35
|
}
|
|
33
36
|
export interface ReferalProgram {
|
|
34
37
|
email: string;
|
|
@@ -43,6 +46,7 @@ export interface RegisterProspect {
|
|
|
43
46
|
idSource?: number;
|
|
44
47
|
sourceAlias?: string;
|
|
45
48
|
idTypeBrand: number;
|
|
49
|
+
permissions?: IPermission;
|
|
46
50
|
analyticsUtm?: Omit<Partial<IAnalyticsUtm>, 'idSociety'>;
|
|
47
51
|
comment?: string;
|
|
48
52
|
}
|