@silexpert/core 1.3.129-2 → 1.3.129
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/Checklist.d.ts +1 -28
- package/dist/cjs/api/resources/Checklist.d.ts.map +1 -1
- package/dist/cjs/api/resources/Checklist.js +0 -39
- package/dist/cjs/api/resources/Checklist.js.map +1 -1
- package/dist/cjs/api/resources/Exercice.d.ts +0 -1
- package/dist/cjs/api/resources/Exercice.d.ts.map +1 -1
- package/dist/cjs/api/resources/Exercice.js +0 -3
- package/dist/cjs/api/resources/Exercice.js.map +1 -1
- package/dist/cjs/api/resources.d.ts +0 -8
- package/dist/cjs/api/resources.d.ts.map +1 -1
- package/dist/cjs/api/resources.js +0 -8
- package/dist/cjs/api/resources.js.map +1 -1
- package/dist/cjs/types/Enum/ChecklistType.d.ts +1 -8
- package/dist/cjs/types/Enum/ChecklistType.d.ts.map +1 -1
- package/dist/cjs/types/Enum/ChecklistType.js +0 -8
- package/dist/cjs/types/Enum/ChecklistType.js.map +1 -1
- package/dist/cjs/types/Enum/ConstitutionState.js +1 -1
- package/dist/cjs/types/Enum/ConstitutionState.js.map +1 -1
- package/dist/cjs/types/Enum/Ged.d.ts +1 -31
- package/dist/cjs/types/Enum/Ged.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Ged.js +5 -152
- package/dist/cjs/types/Enum/Ged.js.map +1 -1
- package/dist/cjs/types/Enum/PrestationType.d.ts +1 -8
- package/dist/cjs/types/Enum/PrestationType.d.ts.map +1 -1
- package/dist/cjs/types/Enum/PrestationType.js +15 -162
- package/dist/cjs/types/Enum/PrestationType.js.map +1 -1
- package/dist/cjs/types/Enum/SalesContractBrandClementine.js +7 -7
- package/dist/cjs/types/Enum/SalesContractBrandClementine.js.map +1 -1
- package/dist/cjs/types/Enum/ZoneCode.d.ts +0 -6
- package/dist/cjs/types/Enum/ZoneCode.d.ts.map +1 -1
- package/dist/cjs/types/Enum/ZoneCode.js +0 -7
- package/dist/cjs/types/Enum/ZoneCode.js.map +1 -1
- package/dist/cjs/types/Interface/api/checklist/Query.d.ts +0 -3
- package/dist/cjs/types/Interface/api/checklist/Query.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/checklist/Query.js +1 -10
- package/dist/cjs/types/Interface/api/checklist/Query.js.map +1 -1
- package/dist/cjs/types/Interface/api/checklist/Update.d.ts +1 -11
- package/dist/cjs/types/Interface/api/checklist/Update.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/checklist/Update.js +1 -49
- package/dist/cjs/types/Interface/api/checklist/Update.js.map +1 -1
- package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.d.ts +0 -2
- package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.js +1 -9
- package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.js.map +1 -1
- package/dist/cjs/types/Interface/api/library/QueryLibrary.d.ts +2 -4
- package/dist/cjs/types/Interface/api/library/QueryLibrary.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/library/QueryLibrary.js +2 -6
- package/dist/cjs/types/Interface/api/library/QueryLibrary.js.map +1 -1
- package/dist/cjs/types/Interface/api/society/ReadSociety.d.ts +3 -7
- package/dist/cjs/types/Interface/api/society/ReadSociety.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/society/ReadSociety.js.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/Create.d.ts +0 -1
- package/dist/cjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/Create.js +0 -6
- package/dist/cjs/types/Interface/api/stripe/Create.js.map +1 -1
- package/dist/cjs/types/Interface/models/IAttestation.d.ts +18 -20
- package/dist/cjs/types/Interface/models/IAttestation.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IAttestation.js.map +1 -1
- package/dist/cjs/types/Interface/models/IChecklist.d.ts +2 -2
- package/dist/cjs/types/Interface/models/IChecklist.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IChecklist.js.map +1 -1
- package/dist/cjs/types/Interface/models/IChecklistDetail.d.ts +3 -3
- package/dist/cjs/types/Interface/models/IChecklistDetail.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IChecklistDetail.js.map +1 -1
- package/dist/cjs/types/Interface/models/IGedFile.d.ts +1 -6
- package/dist/cjs/types/Interface/models/IGedFile.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IGedFile.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/vat/utils.js +3 -3
- package/dist/cjs/utils/vat/utils.js.map +1 -1
- package/dist/cjs/utils/webmail.d.ts.map +1 -1
- package/dist/cjs/utils/webmail.js +3 -4
- package/dist/cjs/utils/webmail.js.map +1 -1
- package/dist/mjs/api/resources/Checklist.d.ts +1 -28
- package/dist/mjs/api/resources/Checklist.d.ts.map +1 -1
- package/dist/mjs/api/resources/Checklist.js +0 -39
- package/dist/mjs/api/resources/Checklist.js.map +1 -1
- package/dist/mjs/api/resources/Exercice.d.ts +0 -1
- package/dist/mjs/api/resources/Exercice.d.ts.map +1 -1
- package/dist/mjs/api/resources/Exercice.js +0 -3
- package/dist/mjs/api/resources/Exercice.js.map +1 -1
- package/dist/mjs/api/resources.d.ts +0 -8
- package/dist/mjs/api/resources.d.ts.map +1 -1
- package/dist/mjs/api/resources.js +0 -8
- package/dist/mjs/api/resources.js.map +1 -1
- package/dist/mjs/types/Enum/ChecklistType.d.ts +1 -8
- package/dist/mjs/types/Enum/ChecklistType.d.ts.map +1 -1
- package/dist/mjs/types/Enum/ChecklistType.js +0 -8
- package/dist/mjs/types/Enum/ChecklistType.js.map +1 -1
- package/dist/mjs/types/Enum/ConstitutionState.js +1 -1
- package/dist/mjs/types/Enum/ConstitutionState.js.map +1 -1
- package/dist/mjs/types/Enum/Ged.d.ts +1 -31
- package/dist/mjs/types/Enum/Ged.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Ged.js +4 -151
- package/dist/mjs/types/Enum/Ged.js.map +1 -1
- package/dist/mjs/types/Enum/PrestationType.d.ts +1 -8
- package/dist/mjs/types/Enum/PrestationType.d.ts.map +1 -1
- package/dist/mjs/types/Enum/PrestationType.js +15 -162
- package/dist/mjs/types/Enum/PrestationType.js.map +1 -1
- package/dist/mjs/types/Enum/SalesContractBrandClementine.js +7 -7
- package/dist/mjs/types/Enum/SalesContractBrandClementine.js.map +1 -1
- package/dist/mjs/types/Enum/ZoneCode.d.ts +0 -6
- package/dist/mjs/types/Enum/ZoneCode.d.ts.map +1 -1
- package/dist/mjs/types/Enum/ZoneCode.js +0 -7
- package/dist/mjs/types/Enum/ZoneCode.js.map +1 -1
- package/dist/mjs/types/Interface/api/checklist/Query.d.ts +0 -3
- package/dist/mjs/types/Interface/api/checklist/Query.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/checklist/Query.js +0 -9
- package/dist/mjs/types/Interface/api/checklist/Query.js.map +1 -1
- package/dist/mjs/types/Interface/api/checklist/Update.d.ts +1 -11
- package/dist/mjs/types/Interface/api/checklist/Update.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/checklist/Update.js +3 -57
- package/dist/mjs/types/Interface/api/checklist/Update.js.map +1 -1
- package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.d.ts +0 -2
- package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.js +2 -12
- package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.js.map +1 -1
- package/dist/mjs/types/Interface/api/library/QueryLibrary.d.ts +2 -4
- package/dist/mjs/types/Interface/api/library/QueryLibrary.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/library/QueryLibrary.js +3 -9
- package/dist/mjs/types/Interface/api/library/QueryLibrary.js.map +1 -1
- package/dist/mjs/types/Interface/api/society/ReadSociety.d.ts +3 -7
- package/dist/mjs/types/Interface/api/society/ReadSociety.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/society/ReadSociety.js.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/Create.d.ts +0 -1
- package/dist/mjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/Create.js +0 -7
- package/dist/mjs/types/Interface/api/stripe/Create.js.map +1 -1
- package/dist/mjs/types/Interface/models/IAttestation.d.ts +18 -20
- package/dist/mjs/types/Interface/models/IAttestation.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IAttestation.js.map +1 -1
- package/dist/mjs/types/Interface/models/IChecklist.d.ts +2 -2
- package/dist/mjs/types/Interface/models/IChecklist.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IChecklist.js.map +1 -1
- package/dist/mjs/types/Interface/models/IChecklistDetail.d.ts +3 -3
- package/dist/mjs/types/Interface/models/IChecklistDetail.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IChecklistDetail.js.map +1 -1
- package/dist/mjs/types/Interface/models/IGedFile.d.ts +1 -6
- package/dist/mjs/types/Interface/models/IGedFile.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IGedFile.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/vat/utils.js +3 -3
- package/dist/mjs/utils/vat/utils.js.map +1 -1
- package/dist/mjs/utils/webmail.d.ts.map +1 -1
- package/dist/mjs/utils/webmail.js +3 -4
- package/dist/mjs/utils/webmail.js.map +1 -1
- package/package.json +14 -14
- package/ts/api/resources/Checklist.ts +0 -49
- package/ts/api/resources/Exercice.ts +0 -4
- package/ts/api/resources.ts +0 -8
- package/ts/types/Enum/ChecklistType.ts +0 -9
- package/ts/types/Enum/ConstitutionState.ts +1 -1
- package/ts/types/Enum/Ged.ts +193 -345
- package/ts/types/Enum/PrestationType.ts +15 -162
- package/ts/types/Enum/SalesContractBrandClementine.ts +7 -7
- package/ts/types/Enum/ZoneCode.ts +0 -7
- package/ts/types/Interface/api/checklist/Query.ts +0 -7
- package/ts/types/Interface/api/checklist/Update.ts +3 -44
- package/ts/types/Interface/api/gedFile/createFileAndGed.ts +1 -7
- package/ts/types/Interface/api/library/QueryLibrary.ts +2 -4
- package/ts/types/Interface/api/society/ReadSociety.ts +3 -7
- package/ts/types/Interface/api/stripe/Create.ts +0 -5
- package/ts/types/Interface/models/IAttestation.ts +18 -20
- package/ts/types/Interface/models/IChecklist.ts +2 -2
- package/ts/types/Interface/models/IChecklistDetail.ts +3 -3
- package/ts/types/Interface/models/IGedFile.ts +1 -6
- package/ts/types/index.ts +0 -5
- package/ts/utils/vat/utils.ts +3 -3
- package/ts/utils/webmail.ts +16 -19
- package/dist/cjs/api/resources/BalanceSheetReport.d.ts +0 -10
- package/dist/cjs/api/resources/BalanceSheetReport.d.ts.map +0 -1
- package/dist/cjs/api/resources/BalanceSheetReport.js +0 -23
- package/dist/cjs/api/resources/BalanceSheetReport.js.map +0 -1
- package/dist/cjs/api/resources/DashboardLayout.d.ts +0 -10
- package/dist/cjs/api/resources/DashboardLayout.d.ts.map +0 -1
- package/dist/cjs/api/resources/DashboardLayout.js +0 -20
- package/dist/cjs/api/resources/DashboardLayout.js.map +0 -1
- package/dist/cjs/api/resources/DocumentRequest.d.ts +0 -10
- package/dist/cjs/api/resources/DocumentRequest.d.ts.map +0 -1
- package/dist/cjs/api/resources/DocumentRequest.js +0 -23
- package/dist/cjs/api/resources/DocumentRequest.js.map +0 -1
- package/dist/cjs/api/resources/feature.d.ts +0 -6
- package/dist/cjs/api/resources/feature.d.ts.map +0 -1
- package/dist/cjs/api/resources/feature.js +0 -11
- package/dist/cjs/api/resources/feature.js.map +0 -1
- package/dist/cjs/types/Enum/DashboardBlock.d.ts +0 -13
- package/dist/cjs/types/Enum/DashboardBlock.d.ts.map +0 -1
- package/dist/cjs/types/Enum/DashboardBlock.js +0 -17
- package/dist/cjs/types/Enum/DashboardBlock.js.map +0 -1
- package/dist/cjs/types/Interface/api/DashboardLayout.d.ts +0 -23
- package/dist/cjs/types/Interface/api/DashboardLayout.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/DashboardLayout.js +0 -3
- package/dist/cjs/types/Interface/api/DashboardLayout.js.map +0 -1
- package/dist/cjs/types/Interface/api/balanceSheetReport/Query.d.ts +0 -40
- package/dist/cjs/types/Interface/api/balanceSheetReport/Query.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/balanceSheetReport/Query.js +0 -207
- package/dist/cjs/types/Interface/api/balanceSheetReport/Query.js.map +0 -1
- package/dist/cjs/types/Interface/api/documentRequest/Create.d.ts +0 -10
- package/dist/cjs/types/Interface/api/documentRequest/Create.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/documentRequest/Create.js +0 -46
- package/dist/cjs/types/Interface/api/documentRequest/Create.js.map +0 -1
- package/dist/cjs/types/Interface/api/documentRequest/Query.d.ts +0 -5
- package/dist/cjs/types/Interface/api/documentRequest/Query.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/documentRequest/Query.js +0 -30
- package/dist/cjs/types/Interface/api/documentRequest/Query.js.map +0 -1
- package/dist/cjs/types/Interface/api/feature/GetAvailableDashboardBlocks.d.ts +0 -5
- package/dist/cjs/types/Interface/api/feature/GetAvailableDashboardBlocks.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/feature/GetAvailableDashboardBlocks.js +0 -3
- package/dist/cjs/types/Interface/api/feature/GetAvailableDashboardBlocks.js.map +0 -1
- package/dist/cjs/types/Interface/models/IDocumentRequest.d.ts +0 -23
- package/dist/cjs/types/Interface/models/IDocumentRequest.d.ts.map +0 -1
- package/dist/cjs/types/Interface/models/IDocumentRequest.js +0 -3
- package/dist/cjs/types/Interface/models/IDocumentRequest.js.map +0 -1
- package/dist/mjs/api/resources/BalanceSheetReport.d.ts +0 -10
- package/dist/mjs/api/resources/BalanceSheetReport.d.ts.map +0 -1
- package/dist/mjs/api/resources/BalanceSheetReport.js +0 -22
- package/dist/mjs/api/resources/BalanceSheetReport.js.map +0 -1
- package/dist/mjs/api/resources/DashboardLayout.d.ts +0 -10
- package/dist/mjs/api/resources/DashboardLayout.d.ts.map +0 -1
- package/dist/mjs/api/resources/DashboardLayout.js +0 -16
- package/dist/mjs/api/resources/DashboardLayout.js.map +0 -1
- package/dist/mjs/api/resources/DocumentRequest.d.ts +0 -10
- package/dist/mjs/api/resources/DocumentRequest.d.ts.map +0 -1
- package/dist/mjs/api/resources/DocumentRequest.js +0 -27
- package/dist/mjs/api/resources/DocumentRequest.js.map +0 -1
- package/dist/mjs/api/resources/feature.d.ts +0 -6
- package/dist/mjs/api/resources/feature.d.ts.map +0 -1
- package/dist/mjs/api/resources/feature.js +0 -7
- package/dist/mjs/api/resources/feature.js.map +0 -1
- package/dist/mjs/types/Enum/DashboardBlock.d.ts +0 -13
- package/dist/mjs/types/Enum/DashboardBlock.d.ts.map +0 -1
- package/dist/mjs/types/Enum/DashboardBlock.js +0 -14
- package/dist/mjs/types/Enum/DashboardBlock.js.map +0 -1
- package/dist/mjs/types/Interface/api/DashboardLayout.d.ts +0 -23
- package/dist/mjs/types/Interface/api/DashboardLayout.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/DashboardLayout.js +0 -2
- package/dist/mjs/types/Interface/api/DashboardLayout.js.map +0 -1
- package/dist/mjs/types/Interface/api/balanceSheetReport/Query.d.ts +0 -40
- package/dist/mjs/types/Interface/api/balanceSheetReport/Query.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/balanceSheetReport/Query.js +0 -200
- package/dist/mjs/types/Interface/api/balanceSheetReport/Query.js.map +0 -1
- package/dist/mjs/types/Interface/api/documentRequest/Create.d.ts +0 -10
- package/dist/mjs/types/Interface/api/documentRequest/Create.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/documentRequest/Create.js +0 -47
- package/dist/mjs/types/Interface/api/documentRequest/Create.js.map +0 -1
- package/dist/mjs/types/Interface/api/documentRequest/Query.d.ts +0 -5
- package/dist/mjs/types/Interface/api/documentRequest/Query.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/documentRequest/Query.js +0 -28
- package/dist/mjs/types/Interface/api/documentRequest/Query.js.map +0 -1
- package/dist/mjs/types/Interface/api/feature/GetAvailableDashboardBlocks.d.ts +0 -5
- package/dist/mjs/types/Interface/api/feature/GetAvailableDashboardBlocks.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/feature/GetAvailableDashboardBlocks.js +0 -2
- package/dist/mjs/types/Interface/api/feature/GetAvailableDashboardBlocks.js.map +0 -1
- package/dist/mjs/types/Interface/models/IDocumentRequest.d.ts +0 -23
- package/dist/mjs/types/Interface/models/IDocumentRequest.d.ts.map +0 -1
- package/dist/mjs/types/Interface/models/IDocumentRequest.js +0 -2
- package/dist/mjs/types/Interface/models/IDocumentRequest.js.map +0 -1
- package/ts/api/resources/BalanceSheetReport.ts +0 -36
- package/ts/api/resources/DashboardLayout.ts +0 -19
- package/ts/api/resources/DocumentRequest.ts +0 -32
- package/ts/api/resources/feature.ts +0 -8
- package/ts/types/Enum/DashboardBlock.ts +0 -12
- package/ts/types/Interface/api/DashboardLayout.ts +0 -26
- package/ts/types/Interface/api/balanceSheetReport/Query.ts +0 -160
- package/ts/types/Interface/api/documentRequest/Create.ts +0 -28
- package/ts/types/Interface/api/documentRequest/Query.ts +0 -14
- package/ts/types/Interface/api/feature/GetAvailableDashboardBlocks.ts +0 -5
- package/ts/types/Interface/models/IDocumentRequest.ts +0 -25
|
@@ -1,200 +0,0 @@
|
|
|
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, IsDate, IsInt, IsOptional, IsString } from 'class-validator';
|
|
11
|
-
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
12
|
-
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
13
|
-
import { RequiredQueryPaginate } from '../BasePaginate';
|
|
14
|
-
export class QueryBalanceSheetReportPaginated extends RequiredQueryPaginate {
|
|
15
|
-
}
|
|
16
|
-
__decorate([
|
|
17
|
-
ApiPropertyOptional(),
|
|
18
|
-
IsOptional(),
|
|
19
|
-
IsString(),
|
|
20
|
-
__metadata("design:type", String)
|
|
21
|
-
], QueryBalanceSheetReportPaginated.prototype, "search", void 0);
|
|
22
|
-
__decorate([
|
|
23
|
-
ApiPropertyOptional(),
|
|
24
|
-
IsOptional(),
|
|
25
|
-
IsBoolean(),
|
|
26
|
-
ToBoolean(),
|
|
27
|
-
__metadata("design:type", Boolean)
|
|
28
|
-
], QueryBalanceSheetReportPaginated.prototype, "signed", void 0);
|
|
29
|
-
__decorate([
|
|
30
|
-
ApiPropertyOptional(),
|
|
31
|
-
IsOptional(),
|
|
32
|
-
IsInt(),
|
|
33
|
-
__metadata("design:type", Number)
|
|
34
|
-
], QueryBalanceSheetReportPaginated.prototype, "factured", void 0);
|
|
35
|
-
__decorate([
|
|
36
|
-
ApiPropertyOptional(),
|
|
37
|
-
IsOptional(),
|
|
38
|
-
IsInt(),
|
|
39
|
-
__metadata("design:type", Number)
|
|
40
|
-
], QueryBalanceSheetReportPaginated.prototype, "idSupervisor", void 0);
|
|
41
|
-
export class ParamsBalanceSheetReportCreate {
|
|
42
|
-
}
|
|
43
|
-
__decorate([
|
|
44
|
-
ApiProperty(),
|
|
45
|
-
IsInt(),
|
|
46
|
-
__metadata("design:type", Number)
|
|
47
|
-
], ParamsBalanceSheetReportCreate.prototype, "idSociety", void 0);
|
|
48
|
-
__decorate([
|
|
49
|
-
ApiProperty(),
|
|
50
|
-
IsInt(),
|
|
51
|
-
__metadata("design:type", Number)
|
|
52
|
-
], ParamsBalanceSheetReportCreate.prototype, "idExercice", void 0);
|
|
53
|
-
__decorate([
|
|
54
|
-
ApiProperty(),
|
|
55
|
-
IsInt(),
|
|
56
|
-
__metadata("design:type", Number)
|
|
57
|
-
], ParamsBalanceSheetReportCreate.prototype, "idPrestationList", void 0);
|
|
58
|
-
__decorate([
|
|
59
|
-
ApiProperty(),
|
|
60
|
-
IsInt(),
|
|
61
|
-
__metadata("design:type", Number)
|
|
62
|
-
], ParamsBalanceSheetReportCreate.prototype, "idSupervisor", void 0);
|
|
63
|
-
__decorate([
|
|
64
|
-
ApiProperty(),
|
|
65
|
-
IsInt(),
|
|
66
|
-
__metadata("design:type", Number)
|
|
67
|
-
], ParamsBalanceSheetReportCreate.prototype, "price", void 0);
|
|
68
|
-
__decorate([
|
|
69
|
-
ApiProperty(),
|
|
70
|
-
IsBoolean(),
|
|
71
|
-
ToBoolean(),
|
|
72
|
-
__metadata("design:type", Boolean)
|
|
73
|
-
], ParamsBalanceSheetReportCreate.prototype, "annoted", void 0);
|
|
74
|
-
__decorate([
|
|
75
|
-
ApiProperty(),
|
|
76
|
-
IsInt(),
|
|
77
|
-
__metadata("design:type", Number)
|
|
78
|
-
], ParamsBalanceSheetReportCreate.prototype, "factured", void 0);
|
|
79
|
-
export class ParamsBalanceSheetReportGeneratePdf {
|
|
80
|
-
}
|
|
81
|
-
__decorate([
|
|
82
|
-
ApiProperty(),
|
|
83
|
-
IsBoolean(),
|
|
84
|
-
ToBoolean(),
|
|
85
|
-
__metadata("design:type", Boolean)
|
|
86
|
-
], ParamsBalanceSheetReportGeneratePdf.prototype, "isSigned", void 0);
|
|
87
|
-
__decorate([
|
|
88
|
-
ApiPropertyOptional(),
|
|
89
|
-
IsOptional(),
|
|
90
|
-
IsString(),
|
|
91
|
-
__metadata("design:type", String)
|
|
92
|
-
], ParamsBalanceSheetReportGeneratePdf.prototype, "comment", void 0);
|
|
93
|
-
export class ParamsBalanceSheetReportUpdate {
|
|
94
|
-
}
|
|
95
|
-
__decorate([
|
|
96
|
-
ApiPropertyOptional(),
|
|
97
|
-
IsOptional(),
|
|
98
|
-
IsInt(),
|
|
99
|
-
__metadata("design:type", Number)
|
|
100
|
-
], ParamsBalanceSheetReportUpdate.prototype, "price", void 0);
|
|
101
|
-
__decorate([
|
|
102
|
-
ApiPropertyOptional(),
|
|
103
|
-
IsOptional(),
|
|
104
|
-
IsInt(),
|
|
105
|
-
__metadata("design:type", Number)
|
|
106
|
-
], ParamsBalanceSheetReportUpdate.prototype, "idPrestationList", void 0);
|
|
107
|
-
__decorate([
|
|
108
|
-
ApiPropertyOptional(),
|
|
109
|
-
IsOptional(),
|
|
110
|
-
IsInt(),
|
|
111
|
-
__metadata("design:type", Number)
|
|
112
|
-
], ParamsBalanceSheetReportUpdate.prototype, "idExercice", void 0);
|
|
113
|
-
__decorate([
|
|
114
|
-
ApiPropertyOptional(),
|
|
115
|
-
IsOptional(),
|
|
116
|
-
IsInt(),
|
|
117
|
-
__metadata("design:type", Number)
|
|
118
|
-
], ParamsBalanceSheetReportUpdate.prototype, "idSociety", void 0);
|
|
119
|
-
__decorate([
|
|
120
|
-
ApiPropertyOptional(),
|
|
121
|
-
IsOptional(),
|
|
122
|
-
IsInt(),
|
|
123
|
-
__metadata("design:type", Number)
|
|
124
|
-
], ParamsBalanceSheetReportUpdate.prototype, "idSupervisor", void 0);
|
|
125
|
-
__decorate([
|
|
126
|
-
ApiPropertyOptional(),
|
|
127
|
-
IsOptional(),
|
|
128
|
-
IsInt(),
|
|
129
|
-
__metadata("design:type", Number)
|
|
130
|
-
], ParamsBalanceSheetReportUpdate.prototype, "idUserDemand", void 0);
|
|
131
|
-
__decorate([
|
|
132
|
-
ApiPropertyOptional(),
|
|
133
|
-
IsOptional(),
|
|
134
|
-
IsInt(),
|
|
135
|
-
__metadata("design:type", Number)
|
|
136
|
-
], ParamsBalanceSheetReportUpdate.prototype, "idPaymentExpectation", void 0);
|
|
137
|
-
__decorate([
|
|
138
|
-
ApiPropertyOptional(),
|
|
139
|
-
IsOptional(),
|
|
140
|
-
IsInt(),
|
|
141
|
-
__metadata("design:type", Number)
|
|
142
|
-
], ParamsBalanceSheetReportUpdate.prototype, "idFile", void 0);
|
|
143
|
-
__decorate([
|
|
144
|
-
ApiPropertyOptional(),
|
|
145
|
-
IsOptional(),
|
|
146
|
-
IsInt(),
|
|
147
|
-
__metadata("design:type", Number)
|
|
148
|
-
], ParamsBalanceSheetReportUpdate.prototype, "idGedFile", void 0);
|
|
149
|
-
__decorate([
|
|
150
|
-
ApiPropertyOptional(),
|
|
151
|
-
IsOptional(),
|
|
152
|
-
IsBoolean(),
|
|
153
|
-
ToBoolean(),
|
|
154
|
-
__metadata("design:type", Boolean)
|
|
155
|
-
], ParamsBalanceSheetReportUpdate.prototype, "annoted", void 0);
|
|
156
|
-
__decorate([
|
|
157
|
-
ApiPropertyOptional(),
|
|
158
|
-
IsOptional(),
|
|
159
|
-
IsInt(),
|
|
160
|
-
__metadata("design:type", Number)
|
|
161
|
-
], ParamsBalanceSheetReportUpdate.prototype, "factured", void 0);
|
|
162
|
-
__decorate([
|
|
163
|
-
ApiPropertyOptional(),
|
|
164
|
-
IsOptional(),
|
|
165
|
-
IsDate(),
|
|
166
|
-
__metadata("design:type", Date)
|
|
167
|
-
], ParamsBalanceSheetReportUpdate.prototype, "sendDate", void 0);
|
|
168
|
-
__decorate([
|
|
169
|
-
ApiPropertyOptional(),
|
|
170
|
-
IsOptional(),
|
|
171
|
-
IsString(),
|
|
172
|
-
__metadata("design:type", String)
|
|
173
|
-
], ParamsBalanceSheetReportUpdate.prototype, "textPdf", void 0);
|
|
174
|
-
__decorate([
|
|
175
|
-
ApiPropertyOptional(),
|
|
176
|
-
IsOptional(),
|
|
177
|
-
IsBoolean(),
|
|
178
|
-
ToBoolean(),
|
|
179
|
-
__metadata("design:type", Boolean)
|
|
180
|
-
], ParamsBalanceSheetReportUpdate.prototype, "isSign", void 0);
|
|
181
|
-
__decorate([
|
|
182
|
-
ApiPropertyOptional(),
|
|
183
|
-
IsOptional(),
|
|
184
|
-
IsBoolean(),
|
|
185
|
-
ToBoolean(),
|
|
186
|
-
__metadata("design:type", Boolean)
|
|
187
|
-
], ParamsBalanceSheetReportUpdate.prototype, "done", void 0);
|
|
188
|
-
__decorate([
|
|
189
|
-
ApiPropertyOptional(),
|
|
190
|
-
IsOptional(),
|
|
191
|
-
IsInt(),
|
|
192
|
-
__metadata("design:type", Number)
|
|
193
|
-
], ParamsBalanceSheetReportUpdate.prototype, "idMailValidation", void 0);
|
|
194
|
-
__decorate([
|
|
195
|
-
ApiPropertyOptional(),
|
|
196
|
-
IsOptional(),
|
|
197
|
-
IsInt(),
|
|
198
|
-
__metadata("design:type", Number)
|
|
199
|
-
], ParamsBalanceSheetReportUpdate.prototype, "idMailPayment", void 0);
|
|
200
|
-
//# sourceMappingURL=Query.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/balanceSheetReport/Query.ts"],"names":[],"mappings":"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","sourcesContent":["import { IsBoolean, IsDate, IsInt, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { RequiredQueryPaginate } from '../BasePaginate';\n\nexport class QueryBalanceSheetReportPaginated extends RequiredQueryPaginate {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n declare search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n declare signed?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare factured?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare idSupervisor?: number;\n}\n\nexport class ParamsBalanceSheetReportCreate {\n @ApiProperty()\n @IsInt()\n declare idSociety: number;\n\n @ApiProperty()\n @IsInt()\n declare idExercice: number;\n\n @ApiProperty()\n @IsInt()\n declare idPrestationList: number;\n\n @ApiProperty()\n @IsInt()\n declare idSupervisor: number;\n\n @ApiProperty()\n @IsInt()\n declare price: number;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n declare annoted: boolean;\n\n @ApiProperty()\n @IsInt()\n declare factured: number;\n}\n\nexport class ParamsBalanceSheetReportGeneratePdf {\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n declare isSigned: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n declare comment?: string;\n}\n\nexport class ParamsBalanceSheetReportUpdate {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare price?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare idPrestationList?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare idExercice?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare idSupervisor?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare idUserDemand?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare idPaymentExpectation?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare idFile?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare idGedFile?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n declare annoted?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare factured?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n declare sendDate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n declare textPdf?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n declare isSign?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n declare done?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare idMailValidation?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare idMailPayment?: number;\n}\n"]}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { IDocumentRequest } from '../../models/IDocumentRequest';
|
|
2
|
-
import { TypeFile } from '../../../Enum/Ged';
|
|
3
|
-
export declare class CreateDocumentRequest implements Omit<IDocumentRequest, 'id' | 'idRequestedBy'> {
|
|
4
|
-
idSociety: number;
|
|
5
|
-
typeFile: TypeFile;
|
|
6
|
-
idExercice?: number;
|
|
7
|
-
idBalanceSheet?: number;
|
|
8
|
-
comment?: string;
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=Create.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/documentRequest/Create.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C,qBAAa,qBAAsB,YAAW,IAAI,CAAC,gBAAgB,EAAE,IAAI,GAAG,eAAe,CAAC;IAG1F,SAAS,EAAE,MAAM,CAAC;IAIlB,QAAQ,EAAE,QAAQ,CAAC;IAKnB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,cAAc,CAAC,EAAE,MAAM,CAAC;IAIxB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB"}
|
|
@@ -1,47 +0,0 @@
|
|
|
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 { IsEnum, IsInt, IsOptional } from 'class-validator';
|
|
11
|
-
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
12
|
-
import { TypeFile } from '../../../Enum/Ged';
|
|
13
|
-
export class CreateDocumentRequest {
|
|
14
|
-
idSociety;
|
|
15
|
-
typeFile;
|
|
16
|
-
idExercice;
|
|
17
|
-
idBalanceSheet;
|
|
18
|
-
comment;
|
|
19
|
-
}
|
|
20
|
-
__decorate([
|
|
21
|
-
ApiProperty(),
|
|
22
|
-
IsInt(),
|
|
23
|
-
__metadata("design:type", Number)
|
|
24
|
-
], CreateDocumentRequest.prototype, "idSociety", void 0);
|
|
25
|
-
__decorate([
|
|
26
|
-
ApiProperty(),
|
|
27
|
-
IsEnum(TypeFile),
|
|
28
|
-
__metadata("design:type", Number)
|
|
29
|
-
], CreateDocumentRequest.prototype, "typeFile", void 0);
|
|
30
|
-
__decorate([
|
|
31
|
-
ApiPropertyOptional(),
|
|
32
|
-
IsOptional(),
|
|
33
|
-
IsInt(),
|
|
34
|
-
__metadata("design:type", Number)
|
|
35
|
-
], CreateDocumentRequest.prototype, "idExercice", void 0);
|
|
36
|
-
__decorate([
|
|
37
|
-
ApiPropertyOptional(),
|
|
38
|
-
IsOptional(),
|
|
39
|
-
IsInt(),
|
|
40
|
-
__metadata("design:type", Number)
|
|
41
|
-
], CreateDocumentRequest.prototype, "idBalanceSheet", void 0);
|
|
42
|
-
__decorate([
|
|
43
|
-
ApiPropertyOptional(),
|
|
44
|
-
IsOptional(),
|
|
45
|
-
__metadata("design:type", String)
|
|
46
|
-
], CreateDocumentRequest.prototype, "comment", void 0);
|
|
47
|
-
//# sourceMappingURL=Create.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/documentRequest/Create.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAErE,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C,MAAM,OAAO,qBAAqB;IAGhC,SAAS,CAAS;IAIlB,QAAQ,CAAW;IAKnB,UAAU,CAAU;IAKpB,cAAc,CAAU;IAIxB,OAAO,CAAU;CAClB;AAnBC;IAFC,WAAW,EAAE;IACb,KAAK,EAAE;;wDACU;AAIlB;IAFC,WAAW,EAAE;IACb,MAAM,CAAC,QAAQ,CAAC;;uDACE;AAKnB;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","sourcesContent":["import { IsEnum, IsInt, IsOptional } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { IDocumentRequest } from '../../models/IDocumentRequest';\nimport { TypeFile } from '../../../Enum/Ged';\n\nexport class CreateDocumentRequest implements Omit<IDocumentRequest, 'id' | 'idRequestedBy'> {\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiProperty()\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"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/documentRequest/Query.ts"],"names":[],"mappings":"AAGA,qBAAa,oBAAoB;IAI/B,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB"}
|
|
@@ -1,28 +0,0 @@
|
|
|
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 { IsInt, IsOptional } from 'class-validator';
|
|
11
|
-
import { ApiPropertyOptional } from '../../../../utils';
|
|
12
|
-
export class QueryDocumentRequest {
|
|
13
|
-
idExercice;
|
|
14
|
-
idBalanceSheet;
|
|
15
|
-
}
|
|
16
|
-
__decorate([
|
|
17
|
-
ApiPropertyOptional(),
|
|
18
|
-
IsOptional(),
|
|
19
|
-
IsInt(),
|
|
20
|
-
__metadata("design:type", Number)
|
|
21
|
-
], QueryDocumentRequest.prototype, "idExercice", void 0);
|
|
22
|
-
__decorate([
|
|
23
|
-
ApiPropertyOptional(),
|
|
24
|
-
IsOptional(),
|
|
25
|
-
IsInt(),
|
|
26
|
-
__metadata("design:type", Number)
|
|
27
|
-
], QueryDocumentRequest.prototype, "idBalanceSheet", void 0);
|
|
28
|
-
//# sourceMappingURL=Query.js.map
|
|
@@ -1 +0,0 @@
|
|
|
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;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,MAAM,OAAO,oBAAoB;IAI/B,UAAU,CAAU;IAKpB,cAAc,CAAU;CACzB;AANC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;wDACY;AAKpB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;4DACgB","sourcesContent":["import { IsInt, IsOptional } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\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"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GetAvailableDashboardBlocks.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/feature/GetAvailableDashboardBlocks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,MAAM,WAAW,mCAAmC;IAClD,eAAe,EAAE,cAAc,EAAE,CAAC;CACnC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GetAvailableDashboardBlocks.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/feature/GetAvailableDashboardBlocks.ts"],"names":[],"mappings":"","sourcesContent":["import { DashboardBlock } from '../../../Enum/DashboardBlock';\n\nexport interface GetAvailableDashboardBlocksResponse {\n dashboardBlocks: DashboardBlock[];\n}\n"]}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { TypeFile } from '../../Enum/Ged';
|
|
2
|
-
import { ISociety } from './ISociety';
|
|
3
|
-
import { IExercice } from './IExercice';
|
|
4
|
-
import { IBalanceSheet } from './IBalanceSheet';
|
|
5
|
-
import { IUser } from './IUser';
|
|
6
|
-
import { IFile } from './IFile';
|
|
7
|
-
import { IGedFile } from './IGedFile';
|
|
8
|
-
export interface IDocumentRequest {
|
|
9
|
-
id: number;
|
|
10
|
-
idSociety: number;
|
|
11
|
-
idExercice?: number | null;
|
|
12
|
-
idBalanceSheet?: number | null;
|
|
13
|
-
idRequestedBy: number;
|
|
14
|
-
typeFile: TypeFile;
|
|
15
|
-
comment?: string | null;
|
|
16
|
-
society?: ISociety;
|
|
17
|
-
exercice?: IExercice;
|
|
18
|
-
balanceSheet?: IBalanceSheet;
|
|
19
|
-
requestedBy?: IUser;
|
|
20
|
-
gedFiles?: IGedFile[];
|
|
21
|
-
files?: IFile[];
|
|
22
|
-
}
|
|
23
|
-
//# sourceMappingURL=IDocumentRequest.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IDocumentRequest.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IDocumentRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,QAAQ,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGxB,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,YAAY,CAAC,EAAE,aAAa,CAAC;IAC7B,WAAW,CAAC,EAAE,KAAK,CAAC;IACpB,QAAQ,CAAC,EAAE,QAAQ,EAAE,CAAC;IACtB,KAAK,CAAC,EAAE,KAAK,EAAE,CAAC;CACjB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IDocumentRequest.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IDocumentRequest.ts"],"names":[],"mappings":"","sourcesContent":["import { TypeFile } from '../../Enum/Ged';\nimport { ISociety } from './ISociety';\nimport { IExercice } from './IExercice';\nimport { IBalanceSheet } from './IBalanceSheet';\nimport { IUser } from './IUser';\nimport { IFile } from './IFile';\nimport { IGedFile } from './IGedFile';\n\nexport interface IDocumentRequest {\n id: number;\n idSociety: number;\n idExercice?: number | null;\n idBalanceSheet?: number | null;\n idRequestedBy: number;\n typeFile: TypeFile;\n comment?: string | null;\n\n // Associations\n society?: ISociety;\n exercice?: IExercice;\n balanceSheet?: IBalanceSheet;\n requestedBy?: IUser;\n gedFiles?: IGedFile[];\n files?: IFile[];\n}"]}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
BasePaginate,
|
|
3
|
-
IAttestation,
|
|
4
|
-
ParamsBalanceSheetReportGeneratePdf,
|
|
5
|
-
ParamsBalanceSheetReportCreate,
|
|
6
|
-
QueryBalanceSheetReportPaginated,
|
|
7
|
-
} from '../../types';
|
|
8
|
-
import { Resource } from '../Resource';
|
|
9
|
-
|
|
10
|
-
export class BalanceSheetReport extends Resource {
|
|
11
|
-
public getPaginated(
|
|
12
|
-
params: QueryBalanceSheetReportPaginated,
|
|
13
|
-
signal?: AbortSignal,
|
|
14
|
-
): Promise<BasePaginate<IAttestation>> {
|
|
15
|
-
return this.axios.$get('balance-sheets/reports/paginated', {
|
|
16
|
-
...(signal ? { signal } : {}),
|
|
17
|
-
params,
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
create(data: ParamsBalanceSheetReportCreate): Promise<number> {
|
|
22
|
-
return this.axios.$post('balance-sheets/reports', data);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
generatePdf(idReport: number, data: ParamsBalanceSheetReportGeneratePdf): Promise<IAttestation> {
|
|
26
|
-
return this.axios.$post(`balance-sheets/reports/${idReport}/pdf`, data);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
update(idReport: number, data: Partial<IAttestation>): Promise<IAttestation> {
|
|
30
|
-
return this.axios.$put(`balance-sheets/reports/${idReport}`, data);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
delete(idReport: number): Promise<number> {
|
|
34
|
-
return this.axios.$delete(`balance-sheets/reports/${idReport}`);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Resource } from '../Resource';
|
|
2
|
-
|
|
3
|
-
export class DashboardLayout extends Resource {
|
|
4
|
-
createOrUpdate(idSociety: number, jsonLayout: string) {
|
|
5
|
-
return this.axios.$post(`/dashboard-layouts/${idSociety}`, { jsonLayout });
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
findOneByUserAndSociety(idSociety: number) {
|
|
9
|
-
return this.axios.$get(`/dashboard-layouts/${idSociety}`);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
deleteByUserAndSociety(idSociety: number) {
|
|
13
|
-
return this.axios.$delete(`/dashboard-layouts/${idSociety}`);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
hasLayout(idSociety: number) {
|
|
17
|
-
return this.axios.$get<boolean>(`/dashboard-layouts/${idSociety}/exists`);
|
|
18
|
-
}
|
|
19
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { Resource } from '../Resource';
|
|
2
|
-
import { CreateDocumentRequest, IDocumentRequest, QueryDocumentRequest } from '../../types';
|
|
3
|
-
|
|
4
|
-
export class DocumentRequest extends Resource {
|
|
5
|
-
create(body: CreateDocumentRequest): Promise<IDocumentRequest> {
|
|
6
|
-
return this.axios.$post('/documents-requests', body);
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
getAllBySociety(idSociety: number, query?: QueryDocumentRequest, signal?: AbortSignal): Promise<IDocumentRequest[]> {
|
|
10
|
-
return this.axios.$get(`/documents-requests/society/${idSociety}`, {
|
|
11
|
-
...signal && { signal },
|
|
12
|
-
...query && { params: query },
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
getPendingBySociety(idSociety: number, query?: QueryDocumentRequest, signal?: AbortSignal): Promise<IDocumentRequest[]> {
|
|
17
|
-
return this.axios.$get(`/documents-requests/pending/${idSociety}`, {
|
|
18
|
-
...signal && { signal },
|
|
19
|
-
...query && { params: query },
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
getById(id: number, signal?: AbortSignal): Promise<IDocumentRequest> {
|
|
24
|
-
return this.axios.$get(`/documents-requests/${id}`, {
|
|
25
|
-
...signal && { signal },
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
delete(id: number): Promise<void> {
|
|
30
|
-
return this.axios.$delete(`/documents-requests/${id}`);
|
|
31
|
-
}
|
|
32
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { GetAvailableDashboardBlocksResponse } from '../../types/Interface/api/feature/GetAvailableDashboardBlocks';
|
|
2
|
-
import { Resource } from '../Resource';
|
|
3
|
-
|
|
4
|
-
export class Feature extends Resource {
|
|
5
|
-
getAvailableDashboardBlocks(idSociety: number): Promise<GetAvailableDashboardBlocksResponse> {
|
|
6
|
-
return this.axios.$get(`/feature/${idSociety}/dashboard-blocks`);
|
|
7
|
-
}
|
|
8
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export enum DashboardBlock {
|
|
2
|
-
KEY_INDICATORS = 'KEY_INDICATORS',
|
|
3
|
-
TREASURY = 'TREASURY',
|
|
4
|
-
TOP_PURCHASES = 'TOP_PURCHASES',
|
|
5
|
-
TOP_SUPPLIERS = 'TOP_SUPPLIERS',
|
|
6
|
-
SALES = 'SALES',
|
|
7
|
-
DEADLINES = 'DEADLINES',
|
|
8
|
-
IS_AMOUNT = 'IS_AMOUNT',
|
|
9
|
-
VAT_DECLARATION = 'VAT_DECLARATION',
|
|
10
|
-
CURRENT_VAT = 'CURRENT_VAT',
|
|
11
|
-
ASSOCIATE_CURRENT_ACCOUNT = 'ASSOCIATE_CURRENT_ACCOUNT',
|
|
12
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { DashboardBlock } from '../../Enum/DashboardBlock';
|
|
2
|
-
|
|
3
|
-
export interface IDashboardLayoutItem {
|
|
4
|
-
x: number;
|
|
5
|
-
y: number;
|
|
6
|
-
w: number;
|
|
7
|
-
h: number;
|
|
8
|
-
i: DashboardBlock;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export interface ICreateDashboardLayoutRequest {
|
|
12
|
-
jsonLayout: IDashboardLayoutItem[];
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export interface IUpdateDashboardLayoutRequest {
|
|
16
|
-
jsonLayout: IDashboardLayoutItem[];
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export interface IDashboardLayoutResponse {
|
|
20
|
-
id: number;
|
|
21
|
-
idUser: number;
|
|
22
|
-
idSociety: number;
|
|
23
|
-
jsonLayout: IDashboardLayoutItem[];
|
|
24
|
-
createdAt: Date;
|
|
25
|
-
updatedAt: Date;
|
|
26
|
-
}
|