@silexpert/core 1.3.130-0 → 1.3.130
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 +28 -1
- package/dist/cjs/api/resources/Checklist.d.ts.map +1 -1
- package/dist/cjs/api/resources/Checklist.js +39 -0
- package/dist/cjs/api/resources/Checklist.js.map +1 -1
- package/dist/cjs/api/resources/DocumentRequest.d.ts +10 -0
- package/dist/cjs/api/resources/DocumentRequest.d.ts.map +1 -0
- package/dist/cjs/api/resources/DocumentRequest.js +23 -0
- package/dist/cjs/api/resources/DocumentRequest.js.map +1 -0
- package/dist/cjs/api/resources.d.ts +2 -2
- package/dist/cjs/api/resources.d.ts.map +1 -1
- package/dist/cjs/api/resources.js +2 -2
- package/dist/cjs/api/resources.js.map +1 -1
- package/dist/cjs/types/Enum/ChecklistType.d.ts +8 -1
- package/dist/cjs/types/Enum/ChecklistType.d.ts.map +1 -1
- package/dist/cjs/types/Enum/ChecklistType.js +8 -0
- 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 +31 -1
- package/dist/cjs/types/Enum/Ged.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Ged.js +152 -5
- package/dist/cjs/types/Enum/Ged.js.map +1 -1
- package/dist/cjs/types/Enum/PrestationType.d.ts.map +1 -1
- package/dist/cjs/types/Enum/PrestationType.js +22 -29
- package/dist/cjs/types/Enum/PrestationType.js.map +1 -1
- package/dist/cjs/types/Enum/SalesContractBrandClementine.d.ts.map +1 -1
- package/dist/cjs/types/Enum/SalesContractBrandClementine.js +7 -22
- package/dist/cjs/types/Enum/SalesContractBrandClementine.js.map +1 -1
- package/dist/cjs/types/Enum/ZoneCode.d.ts +6 -0
- package/dist/cjs/types/Enum/ZoneCode.d.ts.map +1 -1
- package/dist/cjs/types/Enum/ZoneCode.js +7 -0
- package/dist/cjs/types/Enum/ZoneCode.js.map +1 -1
- package/dist/cjs/types/Interface/api/checklist/Query.d.ts +3 -0
- package/dist/cjs/types/Interface/api/checklist/Query.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/checklist/Query.js +10 -1
- package/dist/cjs/types/Interface/api/checklist/Query.js.map +1 -1
- package/dist/cjs/types/Interface/api/checklist/Update.d.ts +11 -1
- package/dist/cjs/types/Interface/api/checklist/Update.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/checklist/Update.js +49 -1
- package/dist/cjs/types/Interface/api/checklist/Update.js.map +1 -1
- package/dist/cjs/types/Interface/api/documentRequest/Create.d.ts +10 -0
- package/dist/cjs/types/Interface/api/documentRequest/Create.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/documentRequest/Create.js +46 -0
- package/dist/cjs/types/Interface/api/documentRequest/Create.js.map +1 -0
- package/dist/cjs/types/Interface/api/documentRequest/Query.d.ts +5 -0
- package/dist/cjs/types/Interface/api/documentRequest/Query.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/documentRequest/Query.js +30 -0
- package/dist/cjs/types/Interface/api/documentRequest/Query.js.map +1 -0
- package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.d.ts +2 -0
- package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.js +9 -1
- package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.js.map +1 -1
- package/dist/cjs/types/Interface/api/library/QueryLibrary.d.ts +4 -2
- package/dist/cjs/types/Interface/api/library/QueryLibrary.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/library/QueryLibrary.js +6 -2
- package/dist/cjs/types/Interface/api/library/QueryLibrary.js.map +1 -1
- package/dist/cjs/types/Interface/api/society/ReadSociety.d.ts +7 -3
- 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 +1 -0
- package/dist/cjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/Create.js +6 -0
- 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/IDocumentRequest.d.ts +23 -0
- package/dist/cjs/types/Interface/models/IDocumentRequest.d.ts.map +1 -0
- package/dist/cjs/types/Interface/models/IDocumentRequest.js +3 -0
- package/dist/cjs/types/Interface/models/IDocumentRequest.js.map +1 -0
- package/dist/cjs/types/Interface/models/IGedFile.d.ts +6 -1
- 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 +3 -1
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +3 -1
- 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/mjs/api/resources/Checklist.d.ts +28 -1
- package/dist/mjs/api/resources/Checklist.d.ts.map +1 -1
- package/dist/mjs/api/resources/Checklist.js +39 -0
- package/dist/mjs/api/resources/Checklist.js.map +1 -1
- package/dist/mjs/api/resources/DocumentRequest.d.ts +10 -0
- package/dist/mjs/api/resources/DocumentRequest.d.ts.map +1 -0
- package/dist/mjs/api/resources/DocumentRequest.js +27 -0
- package/dist/mjs/api/resources/DocumentRequest.js.map +1 -0
- package/dist/mjs/api/resources.d.ts +2 -2
- package/dist/mjs/api/resources.d.ts.map +1 -1
- package/dist/mjs/api/resources.js +2 -2
- package/dist/mjs/api/resources.js.map +1 -1
- package/dist/mjs/types/Enum/ChecklistType.d.ts +8 -1
- package/dist/mjs/types/Enum/ChecklistType.d.ts.map +1 -1
- package/dist/mjs/types/Enum/ChecklistType.js +8 -0
- 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 +31 -1
- package/dist/mjs/types/Enum/Ged.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Ged.js +151 -4
- package/dist/mjs/types/Enum/Ged.js.map +1 -1
- package/dist/mjs/types/Enum/PrestationType.d.ts.map +1 -1
- package/dist/mjs/types/Enum/PrestationType.js +22 -29
- package/dist/mjs/types/Enum/PrestationType.js.map +1 -1
- package/dist/mjs/types/Enum/SalesContractBrandClementine.d.ts.map +1 -1
- package/dist/mjs/types/Enum/SalesContractBrandClementine.js +7 -22
- package/dist/mjs/types/Enum/SalesContractBrandClementine.js.map +1 -1
- package/dist/mjs/types/Enum/ZoneCode.d.ts +6 -0
- package/dist/mjs/types/Enum/ZoneCode.d.ts.map +1 -1
- package/dist/mjs/types/Enum/ZoneCode.js +7 -0
- package/dist/mjs/types/Enum/ZoneCode.js.map +1 -1
- package/dist/mjs/types/Interface/api/checklist/Query.d.ts +3 -0
- package/dist/mjs/types/Interface/api/checklist/Query.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/checklist/Query.js +9 -0
- package/dist/mjs/types/Interface/api/checklist/Query.js.map +1 -1
- package/dist/mjs/types/Interface/api/checklist/Update.d.ts +11 -1
- package/dist/mjs/types/Interface/api/checklist/Update.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/checklist/Update.js +57 -3
- package/dist/mjs/types/Interface/api/checklist/Update.js.map +1 -1
- package/dist/mjs/types/Interface/api/documentRequest/Create.d.ts +10 -0
- package/dist/mjs/types/Interface/api/documentRequest/Create.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/documentRequest/Create.js +47 -0
- package/dist/mjs/types/Interface/api/documentRequest/Create.js.map +1 -0
- package/dist/mjs/types/Interface/api/documentRequest/Query.d.ts +5 -0
- package/dist/mjs/types/Interface/api/documentRequest/Query.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/documentRequest/Query.js +28 -0
- package/dist/mjs/types/Interface/api/documentRequest/Query.js.map +1 -0
- package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.d.ts +2 -0
- package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.js +12 -2
- package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.js.map +1 -1
- package/dist/mjs/types/Interface/api/library/QueryLibrary.d.ts +4 -2
- package/dist/mjs/types/Interface/api/library/QueryLibrary.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/library/QueryLibrary.js +9 -3
- package/dist/mjs/types/Interface/api/library/QueryLibrary.js.map +1 -1
- package/dist/mjs/types/Interface/api/society/ReadSociety.d.ts +7 -3
- 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 +1 -0
- package/dist/mjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/Create.js +7 -0
- 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/IDocumentRequest.d.ts +23 -0
- package/dist/mjs/types/Interface/models/IDocumentRequest.d.ts.map +1 -0
- package/dist/mjs/types/Interface/models/IDocumentRequest.js +2 -0
- package/dist/mjs/types/Interface/models/IDocumentRequest.js.map +1 -0
- package/dist/mjs/types/Interface/models/IGedFile.d.ts +6 -1
- 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 +3 -1
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +3 -1
- 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/package.json +14 -14
- package/ts/api/resources/Checklist.ts +49 -0
- package/ts/api/resources/DocumentRequest.ts +32 -0
- package/ts/api/resources.ts +2 -2
- package/ts/types/Enum/ChecklistType.ts +9 -0
- package/ts/types/Enum/ConstitutionState.ts +1 -1
- package/ts/types/Enum/Ged.ts +345 -193
- package/ts/types/Enum/PrestationType.ts +22 -29
- package/ts/types/Enum/SalesContractBrandClementine.ts +7 -22
- package/ts/types/Enum/ZoneCode.ts +7 -0
- package/ts/types/Interface/api/checklist/Query.ts +7 -0
- package/ts/types/Interface/api/checklist/Update.ts +44 -3
- package/ts/types/Interface/api/documentRequest/Create.ts +28 -0
- package/ts/types/Interface/api/documentRequest/Query.ts +14 -0
- package/ts/types/Interface/api/gedFile/createFileAndGed.ts +7 -1
- package/ts/types/Interface/api/library/QueryLibrary.ts +4 -2
- package/ts/types/Interface/api/society/ReadSociety.ts +7 -3
- package/ts/types/Interface/api/stripe/Create.ts +5 -0
- 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/IDocumentRequest.ts +25 -0
- package/ts/types/Interface/models/IGedFile.ts +6 -1
- package/ts/types/index.ts +3 -1
- package/ts/utils/vat/utils.ts +3 -3
- 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/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/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/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/ts/api/resources/BalanceSheetReport.ts +0 -36
- package/ts/types/Interface/api/balanceSheetReport/Query.ts +0 -160
|
@@ -7,9 +7,10 @@ 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 { IsEnum, IsString } from 'class-validator';
|
|
11
|
-
import { ApiProperty } from '../../../../utils';
|
|
12
|
-
import { ChecklistDetailValue } from '../../../Enum/ChecklistType';
|
|
10
|
+
import { IsBoolean, IsDate, IsEnum, IsInt, IsOptional, IsString } from 'class-validator';
|
|
11
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
12
|
+
import { ChecklistDetailValue, ChecklistTypeEnum } from '../../../Enum/ChecklistType';
|
|
13
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
13
14
|
export class UpdateAnswer {
|
|
14
15
|
name;
|
|
15
16
|
value;
|
|
@@ -24,4 +25,57 @@ __decorate([
|
|
|
24
25
|
IsEnum(ChecklistDetailValue),
|
|
25
26
|
__metadata("design:type", Number)
|
|
26
27
|
], UpdateAnswer.prototype, "value", void 0);
|
|
28
|
+
export class UpdateChecklist {
|
|
29
|
+
revisionDate;
|
|
30
|
+
idUserWhoValidate;
|
|
31
|
+
validateDate;
|
|
32
|
+
idUserFront;
|
|
33
|
+
isConfirmed;
|
|
34
|
+
type;
|
|
35
|
+
force;
|
|
36
|
+
}
|
|
37
|
+
__decorate([
|
|
38
|
+
ApiPropertyOptional(),
|
|
39
|
+
IsOptional(),
|
|
40
|
+
IsDate(),
|
|
41
|
+
__metadata("design:type", Date)
|
|
42
|
+
], UpdateChecklist.prototype, "revisionDate", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
ApiPropertyOptional(),
|
|
45
|
+
IsOptional(),
|
|
46
|
+
IsInt(),
|
|
47
|
+
__metadata("design:type", Number)
|
|
48
|
+
], UpdateChecklist.prototype, "idUserWhoValidate", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
ApiPropertyOptional(),
|
|
51
|
+
IsOptional(),
|
|
52
|
+
IsDate(),
|
|
53
|
+
__metadata("design:type", Date)
|
|
54
|
+
], UpdateChecklist.prototype, "validateDate", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
ApiProperty(),
|
|
57
|
+
IsOptional(),
|
|
58
|
+
IsInt(),
|
|
59
|
+
__metadata("design:type", Number)
|
|
60
|
+
], UpdateChecklist.prototype, "idUserFront", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
ApiProperty(),
|
|
63
|
+
IsOptional(),
|
|
64
|
+
IsBoolean(),
|
|
65
|
+
ToBoolean(),
|
|
66
|
+
__metadata("design:type", Boolean)
|
|
67
|
+
], UpdateChecklist.prototype, "isConfirmed", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
ApiPropertyOptional(),
|
|
70
|
+
IsOptional(),
|
|
71
|
+
IsEnum(ChecklistTypeEnum),
|
|
72
|
+
__metadata("design:type", Number)
|
|
73
|
+
], UpdateChecklist.prototype, "type", void 0);
|
|
74
|
+
__decorate([
|
|
75
|
+
ApiPropertyOptional(),
|
|
76
|
+
IsOptional(),
|
|
77
|
+
IsBoolean(),
|
|
78
|
+
ToBoolean(),
|
|
79
|
+
__metadata("design:type", Boolean)
|
|
80
|
+
], UpdateChecklist.prototype, "force", void 0);
|
|
27
81
|
//# sourceMappingURL=Update.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Update.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/checklist/Update.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"Update.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/checklist/Update.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACzF,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAEtF,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,YAAY;IAGvB,IAAI,CAAS;IAIb,KAAK,CAAuB;CAC7B;AALC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;0CACE;AAIb;IAFC,WAAW,EAAE;IACb,MAAM,CAAC,oBAAoB,CAAC;;2CACD;AAG9B,MAAM,OAAO,eAAe;IAI1B,YAAY,CAAQ;IAKpB,iBAAiB,CAAU;IAK3B,YAAY,CAAQ;IAKpB,WAAW,CAAU;IAMrB,WAAW,CAAW;IAKtB,IAAI,CAAqB;IAMzB,KAAK,CAAW;CACjB;AAjCC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,MAAM,EAAE;8BACM,IAAI;qDAAC;AAKpB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;0DACmB;AAK3B;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,MAAM,EAAE;8BACM,IAAI;qDAAC;AAKpB;IAHC,WAAW,EAAE;IACb,UAAU,EAAE;IACZ,KAAK,EAAE;;oDACa;AAMrB;IAJC,WAAW,EAAE;IACb,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;oDACU;AAKtB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,MAAM,CAAC,iBAAiB,CAAC;;6CACD;AAMzB;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;8CACI","sourcesContent":["import { IsBoolean, IsDate, IsEnum, IsInt, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ChecklistDetailValue, ChecklistTypeEnum } from '../../../Enum/ChecklistType';\nimport { IChecklist } from '../../models/IChecklist';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class UpdateAnswer {\n @ApiProperty()\n @IsString()\n name: string;\n\n @ApiProperty()\n @IsEnum(ChecklistDetailValue)\n value: ChecklistDetailValue;\n}\n\nexport class UpdateChecklist implements Partial<IChecklist> {\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n revisionDate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUserWhoValidate?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n validateDate?: Date;\n\n @ApiProperty()\n @IsOptional()\n @IsInt()\n idUserFront?: number;\n\n @ApiProperty()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isConfirmed?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(ChecklistTypeEnum)\n type?: ChecklistTypeEnum;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n force?: boolean;\n}\n"]}
|
|
@@ -0,0 +1,10 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,47 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"]}
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,28 @@
|
|
|
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
|
|
@@ -0,0 +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;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"]}
|
|
@@ -4,6 +4,7 @@ export declare class CreateFileAndGed {
|
|
|
4
4
|
filename: string;
|
|
5
5
|
emissionDate: Date;
|
|
6
6
|
statutFile?: number | null;
|
|
7
|
+
/** @deprecated use TypeFile enum with GedFile.typeFile field */
|
|
7
8
|
idTypeGedFile?: number;
|
|
8
9
|
idUser: number;
|
|
9
10
|
idGedFolder: number;
|
|
@@ -15,5 +16,6 @@ export declare class CreateFileAndGed {
|
|
|
15
16
|
idBankAccount?: number;
|
|
16
17
|
needToBeReviewed?: boolean | null;
|
|
17
18
|
formatFileName?: boolean | null;
|
|
19
|
+
idDocumentRequest?: number | null;
|
|
18
20
|
}
|
|
19
21
|
//# sourceMappingURL=createFileAndGed.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createFileAndGed.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/gedFile/createFileAndGed.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAGtC,qBAAa,gBAAgB;IAE3B,IAAI,EAAE,KAAK,CAAC;IAIZ,QAAQ,EAAE,MAAM,CAAC;IAIjB,YAAY,EAAE,IAAI,CAAC;IAInB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAK3B,aAAa,CAAC,EAAE,MAAM,CAAC;IAIvB,MAAM,EAAE,MAAM,CAAC;IAIf,WAAW,EAAE,MAAM,CAAC;IAIpB,SAAS,EAAE,MAAM,CAAC;IAKlB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,cAAc,CAAC,EAAE,MAAM,CAAC;IAKxB,2BAA2B,CAAC,EAAE,MAAM,CAAC;IAKrC,aAAa,CAAC,EAAE,MAAM,CAAC;IAMvB,gBAAgB,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAMlC,cAAc,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"createFileAndGed.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/gedFile/createFileAndGed.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAGtC,qBAAa,gBAAgB;IAE3B,IAAI,EAAE,KAAK,CAAC;IAIZ,QAAQ,EAAE,MAAM,CAAC;IAIjB,YAAY,EAAE,IAAI,CAAC;IAInB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAK3B,gEAAgE;IAChE,aAAa,CAAC,EAAE,MAAM,CAAC;IAIvB,MAAM,EAAE,MAAM,CAAC;IAIf,WAAW,EAAE,MAAM,CAAC;IAIpB,SAAS,EAAE,MAAM,CAAC;IAKlB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,cAAc,CAAC,EAAE,MAAM,CAAC;IAKxB,2BAA2B,CAAC,EAAE,MAAM,CAAC;IAKrC,aAAa,CAAC,EAAE,MAAM,CAAC;IAMvB,gBAAgB,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAMlC,cAAc,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAKhC,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACnC"}
|
|
@@ -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, IsNumber, IsOptional, IsString } from 'class-validator';
|
|
10
|
+
import { IsBoolean, IsDate, IsInt, IsNumber, IsOptional, IsString } from 'class-validator';
|
|
11
11
|
import { ApiPropertyOptional, ApiProperty } from '../../../../utils';
|
|
12
12
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
13
13
|
export class CreateFileAndGed {
|
|
@@ -15,6 +15,7 @@ export class CreateFileAndGed {
|
|
|
15
15
|
filename;
|
|
16
16
|
emissionDate;
|
|
17
17
|
statutFile;
|
|
18
|
+
/** @deprecated use TypeFile enum with GedFile.typeFile field */
|
|
18
19
|
idTypeGedFile;
|
|
19
20
|
idUser;
|
|
20
21
|
idGedFolder;
|
|
@@ -26,6 +27,7 @@ export class CreateFileAndGed {
|
|
|
26
27
|
idBankAccount;
|
|
27
28
|
needToBeReviewed;
|
|
28
29
|
formatFileName;
|
|
30
|
+
idDocumentRequest;
|
|
29
31
|
}
|
|
30
32
|
__decorate([
|
|
31
33
|
ApiProperty(),
|
|
@@ -49,7 +51,9 @@ __decorate([
|
|
|
49
51
|
__decorate([
|
|
50
52
|
ApiPropertyOptional(),
|
|
51
53
|
IsNumber(),
|
|
52
|
-
IsOptional()
|
|
54
|
+
IsOptional()
|
|
55
|
+
/** @deprecated use TypeFile enum with GedFile.typeFile field */
|
|
56
|
+
,
|
|
53
57
|
__metadata("design:type", Number)
|
|
54
58
|
], CreateFileAndGed.prototype, "idTypeGedFile", void 0);
|
|
55
59
|
__decorate([
|
|
@@ -111,4 +115,10 @@ __decorate([
|
|
|
111
115
|
ToBoolean(),
|
|
112
116
|
__metadata("design:type", Object)
|
|
113
117
|
], CreateFileAndGed.prototype, "formatFileName", void 0);
|
|
118
|
+
__decorate([
|
|
119
|
+
ApiPropertyOptional(),
|
|
120
|
+
IsOptional(),
|
|
121
|
+
IsInt(),
|
|
122
|
+
__metadata("design:type", Object)
|
|
123
|
+
], CreateFileAndGed.prototype, "idDocumentRequest", void 0);
|
|
114
124
|
//# sourceMappingURL=createFileAndGed.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createFileAndGed.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/gedFile/createFileAndGed.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,UAA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Q,EAAE;IACV,UAAU,EAAE;;kDACK;AAKlB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;oDACO;AAKpB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;wDACW;AAKxB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;qEACwB;AAKrC;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;uDACU;AAMvB;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;0DACsB;AAMlC;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;wDACoB;AAKhC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;2DAC0B","sourcesContent":["import { IsBoolean, IsDate, IsInt, IsNumber, IsOptional, IsString } from 'class-validator';\nimport { ApiPropertyOptional, ApiProperty } from '../../../../utils';\nimport { TFile } from '../file/TFile';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class CreateFileAndGed {\n @ApiProperty()\n file: TFile;\n\n @ApiProperty()\n @IsString()\n filename: string;\n\n @ApiProperty()\n @IsDate()\n emissionDate: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n statutFile?: number | null;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n /** @deprecated use TypeFile enum with GedFile.typeFile field */\n idTypeGedFile?: number;\n\n @ApiProperty()\n @IsNumber()\n idUser: number;\n\n @ApiProperty()\n @IsNumber()\n idGedFolder: number;\n\n @ApiProperty()\n @IsNumber()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n typeFile?: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idBalanceSheet?: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idSocietyConfigBalanceSheet?: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idBankAccount?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n needToBeReviewed?: boolean | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n formatFileName?: boolean | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idDocumentRequest?: number | null;\n}\n"]}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { GedFolder, GedFileType, GedCategory } from '../../../Enum/Ged';
|
|
1
|
+
import { GedFolder, GedFileType, GedCategory, TypeFile } from '../../../Enum/Ged';
|
|
2
2
|
import { RequiredQueryPaginate } from '../BasePaginate';
|
|
3
3
|
import { TFile } from '../file/TFile';
|
|
4
4
|
export declare class QueryLibraryFile {
|
|
5
5
|
idSociety: number;
|
|
6
6
|
idGedFolder?: GedFolder;
|
|
7
|
+
/** @deprecated use TypeFile enum with GedFile.typeFile field */
|
|
7
8
|
idTypeGedFile?: GedFileType | GedFileType[];
|
|
8
9
|
idGedCategory?: GedCategory;
|
|
9
10
|
typeGedFolder?: GedFolder[];
|
|
@@ -11,7 +12,7 @@ export declare class QueryLibraryFile {
|
|
|
11
12
|
idBalanceSheet?: number;
|
|
12
13
|
idBankAccount?: number | number[];
|
|
13
14
|
idFile?: number;
|
|
14
|
-
typeFile?:
|
|
15
|
+
typeFile?: TypeFile;
|
|
15
16
|
findSign?: boolean;
|
|
16
17
|
attributes?: string[];
|
|
17
18
|
page?: number;
|
|
@@ -45,6 +46,7 @@ export declare class QueryLibrarySociety extends RequiredQueryPaginate {
|
|
|
45
46
|
}
|
|
46
47
|
export declare class QueryLastFileOfType {
|
|
47
48
|
idSociety: number;
|
|
49
|
+
/** @deprecated Use TypeFile enum instead with GedFile.typeFile field */
|
|
48
50
|
idTypeGedFile: GedFileType;
|
|
49
51
|
idDocumentSectionType: number;
|
|
50
52
|
include?: string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryLibrary.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/library/QueryLibrary.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"QueryLibrary.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/library/QueryLibrary.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAClF,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAGtC,qBAAa,gBAAgB;IAE3B,SAAS,EAAE,MAAM,CAAC;IAGlB,WAAW,CAAC,EAAE,SAAS,CAAC;IAGxB,gEAAgE;IAChE,aAAa,CAAC,EAAE,WAAW,GAAG,WAAW,EAAE,CAAC;IAG5C,aAAa,CAAC,EAAE,WAAW,CAAC;IAG5B,aAAa,CAAC,EAAE,SAAS,EAAE,CAAC;IAG5B,UAAU,CAAC,EAAE,MAAM,CAAC;IAGpB,cAAc,CAAC,EAAE,MAAM,CAAC;IAGxB,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAGlC,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IAKpB,QAAQ,CAAC,EAAE,OAAO,CAAS;IAO3B,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IAKtB,IAAI,CAAC,EAAE,MAAM,CAAC;IAKd,KAAK,CAAC,EAAE,MAAM,CAAC;IAQf,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB;AAED,qBAAa,iBAA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AAC,EAAE,MAAM,CAAC;IAKjB,YAAY,CAAC,EAAE,MAAM,CAAC;IAKtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB"}
|
|
@@ -9,12 +9,13 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
};
|
|
10
10
|
import { IsIn, IsOptional, IsString, IsNumber, IsBoolean, IsInt, IsDateString, IsArray } from 'class-validator';
|
|
11
11
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
12
|
-
import { GedFolder, GedFileType, GedCategory } from '../../../Enum/Ged';
|
|
12
|
+
import { GedFolder, GedFileType, GedCategory, TypeFile } from '../../../Enum/Ged';
|
|
13
13
|
import { RequiredQueryPaginate } from '../BasePaginate';
|
|
14
14
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
15
15
|
export class QueryLibraryFile {
|
|
16
16
|
idSociety;
|
|
17
17
|
idGedFolder;
|
|
18
|
+
/** @deprecated use TypeFile enum with GedFile.typeFile field */
|
|
18
19
|
idTypeGedFile;
|
|
19
20
|
idGedCategory;
|
|
20
21
|
typeGedFolder;
|
|
@@ -38,7 +39,9 @@ __decorate([
|
|
|
38
39
|
__metadata("design:type", Number)
|
|
39
40
|
], QueryLibraryFile.prototype, "idGedFolder", void 0);
|
|
40
41
|
__decorate([
|
|
41
|
-
ApiPropertyOptional()
|
|
42
|
+
ApiPropertyOptional()
|
|
43
|
+
/** @deprecated use TypeFile enum with GedFile.typeFile field */
|
|
44
|
+
,
|
|
42
45
|
__metadata("design:type", Object)
|
|
43
46
|
], QueryLibraryFile.prototype, "idTypeGedFile", void 0);
|
|
44
47
|
__decorate([
|
|
@@ -221,6 +224,7 @@ __decorate([
|
|
|
221
224
|
], QueryLibrarySociety.prototype, "descending", void 0);
|
|
222
225
|
export class QueryLastFileOfType {
|
|
223
226
|
idSociety;
|
|
227
|
+
/** @deprecated Use TypeFile enum instead with GedFile.typeFile field */
|
|
224
228
|
idTypeGedFile;
|
|
225
229
|
idDocumentSectionType;
|
|
226
230
|
include;
|
|
@@ -231,7 +235,9 @@ __decorate([
|
|
|
231
235
|
__metadata("design:type", Number)
|
|
232
236
|
], QueryLastFileOfType.prototype, "idSociety", void 0);
|
|
233
237
|
__decorate([
|
|
234
|
-
ApiProperty()
|
|
238
|
+
ApiProperty()
|
|
239
|
+
/** @deprecated Use TypeFile enum instead with GedFile.typeFile field */
|
|
240
|
+
,
|
|
235
241
|
__metadata("design:type", Number)
|
|
236
242
|
], QueryLastFileOfType.prototype, "idTypeGedFile", void 0);
|
|
237
243
|
__decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryLibrary.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/library/QueryLibrary.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAChH,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"QueryLibrary.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/library/QueryLibrary.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAChH,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,WAAW,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IAEhC,IAAI,CAAQ;IAIZ,UAAU,CAAS;IAKnB,MAAM,CAAS;IAKf,OAAO,CAAU;IAKjB,YAAY,CAAU;IAKtB,QAAQ,CAAU;IAKlB,KAAK,CAAU;IAKf,MAAM,CAAU;IAKhB,YAAY,CAAU;CACvB;AAxCC;IADC,WAAW,EAAE;;mDACF;AAIZ;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;yDACQ;AAKnB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;qDACE;AAKf;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;sDACI;AAKjB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;2DACS;AAKtB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;uDACK;AAKlB;IAHC,mBAAmB,EAAE;IACrB,KAAK,EAAE;IACP,UAAU,EAAE;;oDACE;AAKf;IAHC,mBAAmB,EAAE;IACrB,KAAK,EAAE;IACP,UAAU,EAAE;;qDACG;AAKhB;IAHC,mBAAmB,EAAE;IACrB,KAAK,EAAE;IACP,UAAU,EAAE;;2DACS","sourcesContent":["import { IsIn, IsOptional, IsString, IsNumber, IsBoolean, IsInt, IsDateString, IsArray } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { GedFolder, GedFileType, GedCategory, TypeFile } from '../../../Enum/Ged';\nimport { RequiredQueryPaginate } from '../BasePaginate';\nimport { TFile } from '../file/TFile';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryLibraryFile {\n @ApiProperty()\n idSociety: number;\n\n @ApiPropertyOptional()\n idGedFolder?: GedFolder;\n\n @ApiPropertyOptional()\n /** @deprecated use TypeFile enum with GedFile.typeFile field */\n idTypeGedFile?: GedFileType | GedFileType[];\n\n @ApiPropertyOptional()\n idGedCategory?: GedCategory;\n\n @ApiPropertyOptional()\n typeGedFolder?: GedFolder[];\n\n @ApiPropertyOptional()\n idExercice?: number;\n\n @ApiPropertyOptional()\n idBalanceSheet?: number;\n\n @ApiPropertyOptional()\n idBankAccount?: number | number[];\n\n @ApiPropertyOptional()\n idFile?: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n typeFile?: TypeFile;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @IsOptional()\n findSign?: boolean = false;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({\n each: true,\n })\n attributes?: string[];\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n page?: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n limit?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({\n each: true,\n })\n @IsIn(['gedFolder', 'balanceSheet', 'customerSignature', 'fileFromGed', 'user', 'bankAccount'], { each: true })\n include?: string[];\n}\n\nexport class QueryDownloadFile {\n @ApiProperty()\n folderName: string;\n\n @ApiProperty()\n token: string;\n\n @ApiPropertyOptional()\n idUser?: number;\n\n @ApiPropertyOptional()\n idMail?: number;\n}\n\nexport class UpdateOrCreateGedFile {\n @ApiProperty()\n idFile: number;\n\n @ApiPropertyOptional()\n emissionDate?: Date;\n\n @ApiPropertyOptional()\n idUser?: number;\n\n @ApiProperty()\n idGedFolder: number;\n\n @ApiPropertyOptional()\n idSociety?: number;\n\n @ApiPropertyOptional()\n idExercice?: number;\n\n @ApiPropertyOptional()\n idTypeGedFile?: number;\n}\n\nexport class QueryLibrarySociety extends RequiredQueryPaginate {\n @ApiProperty()\n idGedCategories: GedCategory[];\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n startDate?: string;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n endDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n orderBy?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n idBankAccount?: number | number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n idGedFolders?: GedFolder[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n descending?: boolean;\n}\nexport class QueryLastFileOfType {\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiProperty()\n /** @deprecated Use TypeFile enum instead with GedFile.typeFile field */\n idTypeGedFile: GedFileType;\n\n @ApiPropertyOptional()\n @IsOptional()\n idDocumentSectionType: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({\n each: true,\n })\n @IsIn(['gedFolder', 'balanceSheet', 'customerSignature', 'fileFromGed', 'user'], { each: true })\n include?: string[];\n}\n\nexport class QueryProcessCommercialFile {\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n idGedFile?: number;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n idSocietyLike?: string;\n\n @ApiPropertyOptional({ default: 15 })\n @IsOptional()\n @IsInt()\n limit?: number;\n}\n\nexport class ConvertFilePdfToImage {\n @ApiProperty()\n file: TFile;\n\n @ApiProperty()\n @IsString()\n returnType: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n format: string;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n density?: number;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n saveFilename?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n savePath?: string;\n\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n width?: number;\n\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n height?: number;\n\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n numberOfPage?: number;\n}\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IFile } from '../../..';
|
|
1
|
+
import { IFile, TypeFile } from '../../..';
|
|
2
2
|
export type UnpaidDetail = {
|
|
3
3
|
datePayment: Date;
|
|
4
4
|
amount: number;
|
|
@@ -17,7 +17,11 @@ export type ReadAskOrRequiredDocuments = {
|
|
|
17
17
|
name: string;
|
|
18
18
|
status: string;
|
|
19
19
|
idGedFolder: number;
|
|
20
|
-
idGedFileType
|
|
21
|
-
|
|
20
|
+
idGedFileType?: number;
|
|
21
|
+
typeFile?: TypeFile;
|
|
22
|
+
idDocumentRequest?: number;
|
|
23
|
+
idExercice?: number;
|
|
24
|
+
idBalanceSheet?: number;
|
|
25
|
+
idBankAccount?: number;
|
|
22
26
|
};
|
|
23
27
|
//# sourceMappingURL=ReadSociety.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReadSociety.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/society/ReadSociety.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"ReadSociety.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/society/ReadSociety.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAE3C,MAAM,MAAM,YAAY,GAAG;IACzB,WAAW,EAAE,IAAI,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,IAAI,CAAC;IAChB,OAAO,EAAE,IAAI,CAAC;IACd,IAAI,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReadSociety.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/society/ReadSociety.ts"],"names":[],"mappings":"","sourcesContent":["import { IFile } from '../../..';\n\nexport type UnpaidDetail = {\n datePayment: Date;\n amount: number;\n idExercice: number;\n dateStart: Date;\n dateEnd: Date;\n file?: IFile | null;\n};\n\nexport type ReadInvalidFieldState = {\n label: string;\n field: string;\n};\n\nexport type ReadAskOrRequiredDocuments = {\n idGedFile?: number;\n idFile?: number;\n name: string;\n status: string;\n idGedFolder: number;\n idGedFileType
|
|
1
|
+
{"version":3,"file":"ReadSociety.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/society/ReadSociety.ts"],"names":[],"mappings":"","sourcesContent":["import { IFile, TypeFile } from '../../..';\n\nexport type UnpaidDetail = {\n datePayment: Date;\n amount: number;\n idExercice: number;\n dateStart: Date;\n dateEnd: Date;\n file?: IFile | null;\n};\n\nexport type ReadInvalidFieldState = {\n label: string;\n field: string;\n};\n\nexport type ReadAskOrRequiredDocuments = {\n idGedFile?: number;\n idFile?: number;\n name: string;\n status: string;\n idGedFolder: number;\n idGedFileType?: number;\n typeFile?: TypeFile;\n idDocumentRequest?: number;\n idExercice?: number;\n idBalanceSheet?: number;\n idBankAccount?: number;\n};\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/Create.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,qBAAa,sBAAsB;IAGjC,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C,CAAC;CACrD;AACD,qBAAa,oBAAoB;IAG/B,gBAAgB,EAAE,MAAM,CAAC;IAKzB,KAAK,CAAC,EAAE,MAAM,CAAC;IAIf,SAAS,EAAE,MAAM,CAAC;IAIlB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;IAK3C,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAKlC,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,yBAAyB,CAAC,EAAE,MAAM,CAAC;IAKnC,aAAa,CAAC,EAAE,MAAM,CAAC;IAKvB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB"}
|
|
@@ -254,6 +254,7 @@ export class CreatePaymentSession {
|
|
|
254
254
|
priceId;
|
|
255
255
|
idVatForInternalInvoicing;
|
|
256
256
|
stripeAccount;
|
|
257
|
+
idempotencyKey;
|
|
257
258
|
}
|
|
258
259
|
__decorate([
|
|
259
260
|
ApiProperty(),
|
|
@@ -300,4 +301,10 @@ __decorate([
|
|
|
300
301
|
IsString(),
|
|
301
302
|
__metadata("design:type", String)
|
|
302
303
|
], CreatePaymentSession.prototype, "stripeAccount", void 0);
|
|
304
|
+
__decorate([
|
|
305
|
+
ApiPropertyOptional(),
|
|
306
|
+
IsOptional(),
|
|
307
|
+
IsString(),
|
|
308
|
+
__metadata("design:type", String)
|
|
309
|
+
], CreatePaymentSession.prototype, "idempotencyKey", void 0);
|
|
303
310
|
//# sourceMappingURL=Create.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/Create.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,YAAY,EAAE,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AACvH,OAAO,EAAE,WAAW,EAAE,mB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IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;qDACM;AAKjB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;uEAC2B;AAKnC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;2DACY;AAKvB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;4DACa","sourcesContent":["import { IsArray, IsBoolean, IsDate, IsDateString, IsInt, IsNumber, IsOptional, IsString, Min } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport type Stripe from 'stripe';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nexport class CreateStripeConnection {\n @ApiProperty()\n @IsString()\n code: string;\n}\n\nexport class CreateStripePortals {\n @ApiProperty()\n @IsString()\n stripeCustomerId: string;\n}\n\nexport class CreateCustomer {\n @ApiProperty()\n @IsInt()\n id: number;\n\n @ApiProperty()\n @IsString()\n email: string;\n\n @ApiPropertyOptional()\n @IsString()\n lastname?: string;\n\n @ApiPropertyOptional()\n @IsString()\n firstname?: string;\n}\n\nexport class CreateImportTransactionForSociety {\n @ApiPropertyOptional()\n @IsDate()\n @IsOptional()\n startDate?: Date;\n\n @ApiPropertyOptional()\n @IsDate()\n @IsOptional()\n endDate?: Date;\n}\n\nexport class CreateSubscriptionSession {\n @ApiProperty()\n @IsString()\n priceId: string;\n}\n\nexport class CreateCommercialSession {\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiProperty()\n @IsInt()\n idUser: number;\n\n @ApiProperty()\n @IsString()\n priceId: string;\n}\n\nexport class CreateSubscriptionSessionOff {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n stripeCustomerId?: string;\n\n @ApiProperty()\n @IsString()\n ref: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n returnUrl?: string;\n}\n\nexport class CreateSubscriptionSessionOffApp {\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiProperty()\n @IsString()\n stripePriceId: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n returnUrl?: string;\n}\n\nexport class CreatePaymentIntent {\n @ApiProperty()\n @IsString()\n stripeCustomerId: string;\n\n @ApiProperty()\n @IsString()\n paymentMethodId: string;\n\n @ApiProperty()\n @IsInt()\n amountInCents: number;\n\n @ApiPropertyOptional()\n metadata?: Stripe.MetadataParam;\n}\n\nexport class UpdatePaymentMethod {\n @ApiProperty()\n @IsString()\n stripePaymentMethodId: string;\n\n @ApiProperty()\n metadata: any;\n}\n\nexport class PostProcessPaymentAutomatically {\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n minDate?: string;\n}\n\nexport class CreateTapToPayIntent {\n @ApiProperty()\n @IsNumber()\n @Min(1, {\n message: 'Le montant doit être supérieur à 1ct',\n })\n amountInCents: number;\n}\n\nexport class CreateTapToPayConnectionToken {\n @ApiProperty()\n @IsString()\n @IsOptional()\n locationId?: string;\n}\n\nexport class CreatePurchaseSession {\n @ApiProperty({ description: 'Is software or accountancy product' })\n @IsBoolean()\n @ToBoolean()\n isSoftware: boolean;\n\n @ApiProperty({ description: 'Redirection link on success' })\n @IsString()\n successRedirection: string;\n\n @ApiProperty({ description: 'Redirection link on cancel / error' })\n @IsString()\n cancelRedirection: string;\n\n @ApiPropertyOptional()\n metadata?: Record<string, string | number>;\n\n @ApiProperty()\n @IsArray()\n items: Array<{ priceId: string; quantity: number }>;\n}\nexport class CreatePaymentSession {\n @ApiProperty()\n @IsString()\n stripeCustomerId: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n label?: string;\n\n @ApiProperty()\n @IsString()\n returnUrl: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n metadata?: Record<string, string | number>;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n amountInCentsTaxIncluded?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n priceId?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idVatForInternalInvoicing?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n stripeAccount?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n idempotencyKey?: string;\n}\n"]}
|
|
@@ -12,28 +12,26 @@ export interface IAttestation {
|
|
|
12
12
|
idExercice: number | null;
|
|
13
13
|
idSociety: number | null;
|
|
14
14
|
idSupervisor: number | null;
|
|
15
|
-
idUserDemand
|
|
16
|
-
idPaymentExpectation
|
|
17
|
-
idFile
|
|
15
|
+
idUserDemand: number | null;
|
|
16
|
+
idPaymentExpectation: number | null;
|
|
17
|
+
idFile: number | null;
|
|
18
18
|
annoted: boolean;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
idMailValidation?: number | null;
|
|
26
|
-
fileLink?: string;
|
|
19
|
+
sendDate: Date | null;
|
|
20
|
+
textPdf: string | null;
|
|
21
|
+
isSign: boolean | null;
|
|
22
|
+
done: boolean | null;
|
|
23
|
+
idMailPayment: number | null;
|
|
24
|
+
idMailValidation: number | null;
|
|
27
25
|
createdAt?: Date | null;
|
|
28
26
|
updatedAt?: Date | null;
|
|
29
|
-
attestationSupervisor
|
|
30
|
-
attestationUserDemand
|
|
31
|
-
prestationsList
|
|
32
|
-
attestationPaymentExpectation
|
|
33
|
-
attestationFiles
|
|
34
|
-
society
|
|
35
|
-
exercices
|
|
36
|
-
paymentMail
|
|
37
|
-
validationMail
|
|
27
|
+
attestationSupervisor: IUser;
|
|
28
|
+
attestationUserDemand: IUser;
|
|
29
|
+
prestationsList: IPrestationList;
|
|
30
|
+
attestationPaymentExpectation: IPaymentExpectation;
|
|
31
|
+
attestationFiles: IFile;
|
|
32
|
+
society: ISociety;
|
|
33
|
+
exercices: IExercice;
|
|
34
|
+
paymentMail: IMail;
|
|
35
|
+
validationMail: IMail;
|
|
38
36
|
}
|
|
39
37
|
//# sourceMappingURL=IAttestation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IAttestation.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IAttestation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAGhC,MAAM,WAAW,YAAY;IAC3B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,gBAAgB,EAAE,MAAM,CAAC;IACzB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,YAAY,
|
|
1
|
+
{"version":3,"file":"IAttestation.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IAttestation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;A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mappings":"","sourcesContent":["import { IUser } from './IUser';\nimport { IPrestationList } from './IPrestationList';\nimport { IPaymentExpectation } from './IPaymentExpectation';\nimport { IFile } from './IFile';\nimport { ISociety } from './ISociety';\nimport { IExercice } from './IExercice';\nimport { IMail } from './IMail';\n\n// attestations\nexport interface IAttestation {\n id?: number;\n price: number | null;\n idPrestationList: number;\n idExercice: number | null;\n idSociety: number | null;\n idSupervisor: number | null;\n idUserDemand
|
|
1
|
+
{"version":3,"file":"IAttestation.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IAttestation.ts"],"names":[],"mappings":"","sourcesContent":["import { IUser } from './IUser';\nimport { IPrestationList } from './IPrestationList';\nimport { IPaymentExpectation } from './IPaymentExpectation';\nimport { IFile } from './IFile';\nimport { ISociety } from './ISociety';\nimport { IExercice } from './IExercice';\nimport { IMail } from './IMail';\n\n// attestations\nexport interface IAttestation {\n id?: number;\n price: number | null;\n idPrestationList: number;\n idExercice: number | null;\n idSociety: number | null;\n idSupervisor: number | null;\n idUserDemand: number | null;\n idPaymentExpectation: number | null;\n idFile: number | null;\n annoted: boolean;\n sendDate: Date | null;\n textPdf: string | null;\n isSign: boolean | null;\n done: boolean | null;\n idMailPayment: number | null;\n idMailValidation: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n attestationSupervisor: IUser;\n attestationUserDemand: IUser;\n prestationsList: IPrestationList;\n attestationPaymentExpectation: IPaymentExpectation;\n attestationFiles: IFile;\n society: ISociety;\n exercices: IExercice;\n paymentMail: IMail;\n validationMail: IMail;\n}\n"]}
|
|
@@ -18,8 +18,8 @@ export interface IChecklist {
|
|
|
18
18
|
startDate?: Date | null;
|
|
19
19
|
endDate?: Date | null;
|
|
20
20
|
notifyFront?: boolean;
|
|
21
|
-
idExercice
|
|
22
|
-
idCustomerVat
|
|
21
|
+
idExercice?: number | null;
|
|
22
|
+
idCustomerVat?: number | null;
|
|
23
23
|
createdAt?: Date | null;
|
|
24
24
|
updatedAt?: Date | null;
|
|
25
25
|
checklistHasSomeDetails?: IChecklistDetail[];
|