@silexpert/core 1.2.23 → 1.2.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/api/resources/Card.d.ts +2 -1
- package/dist/cjs/api/resources/Card.d.ts.map +1 -1
- package/dist/cjs/api/resources/Card.js +3 -0
- package/dist/cjs/api/resources/Card.js.map +1 -1
- package/dist/cjs/api/resources/Registration.d.ts +1 -0
- package/dist/cjs/api/resources/Registration.d.ts.map +1 -1
- package/dist/cjs/api/resources/Registration.js +3 -0
- package/dist/cjs/api/resources/Registration.js.map +1 -1
- package/dist/cjs/api/resources/RegistrationForm.d.ts +6 -0
- package/dist/cjs/api/resources/RegistrationForm.d.ts.map +1 -0
- package/dist/cjs/api/resources/RegistrationForm.js +11 -0
- package/dist/cjs/api/resources/RegistrationForm.js.map +1 -0
- package/dist/cjs/api/resources.d.ts +2 -0
- package/dist/cjs/api/resources.d.ts.map +1 -1
- package/dist/cjs/api/resources.js +2 -0
- package/dist/cjs/api/resources.js.map +1 -1
- package/dist/cjs/types/Enum/Aspone.d.ts +39 -0
- package/dist/cjs/types/Enum/Aspone.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Aspone.js +42 -1
- package/dist/cjs/types/Enum/Aspone.js.map +1 -1
- package/dist/cjs/types/Enum/BrandClementine.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BrandClementine.js +6 -0
- package/dist/cjs/types/Enum/BrandClementine.js.map +1 -1
- package/dist/cjs/types/Enum/CerfaType.d.ts +2 -1
- package/dist/cjs/types/Enum/CerfaType.d.ts.map +1 -1
- package/dist/cjs/types/Enum/CerfaType.js +1 -0
- package/dist/cjs/types/Enum/CerfaType.js.map +1 -1
- package/dist/cjs/types/Enum/GlobalRegime.d.ts.map +1 -1
- package/dist/cjs/types/Enum/GlobalRegime.js +47 -0
- package/dist/cjs/types/Enum/GlobalRegime.js.map +1 -1
- package/dist/cjs/types/Enum/LegalForm.d.ts +2 -1
- package/dist/cjs/types/Enum/LegalForm.d.ts.map +1 -1
- package/dist/cjs/types/Enum/LegalForm.js +10 -0
- package/dist/cjs/types/Enum/LegalForm.js.map +1 -1
- package/dist/cjs/types/Interface/api/PaymentRecovery/Caarl.d.ts +2 -0
- package/dist/cjs/types/Interface/api/PaymentRecovery/Caarl.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/PaymentRecovery/Caarl.js.map +1 -1
- package/dist/cjs/types/Interface/api/card/OrganizeBalanceSheets.d.ts +19 -0
- package/dist/cjs/types/Interface/api/card/OrganizeBalanceSheets.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/card/OrganizeBalanceSheets.js +85 -0
- package/dist/cjs/types/Interface/api/card/OrganizeBalanceSheets.js.map +1 -0
- package/dist/cjs/types/Interface/api/cerfa/2069RCI.d.ts +118 -0
- package/dist/cjs/types/Interface/api/cerfa/2069RCI.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/cerfa/2069RCI.js +3 -0
- package/dist/cjs/types/Interface/api/cerfa/2069RCI.js.map +1 -0
- package/dist/cjs/types/Interface/api/cerfa/CreateCerfa.d.ts +1 -0
- package/dist/cjs/types/Interface/api/cerfa/CreateCerfa.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/CreateCerfa.js +1 -0
- package/dist/cjs/types/Interface/api/cerfa/CreateCerfa.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.d.ts +15 -13
- package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.js.map +1 -1
- package/dist/cjs/types/Interface/api/commercialManagement/Create.d.ts +1 -0
- package/dist/cjs/types/Interface/api/commercialManagement/Create.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/commercialManagement/Create.js +6 -0
- package/dist/cjs/types/Interface/api/commercialManagement/Create.js.map +1 -1
- package/dist/cjs/types/Interface/api/partner/CreatePartner.d.ts +1 -0
- package/dist/cjs/types/Interface/api/partner/CreatePartner.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/partner/CreatePartner.js +7 -0
- package/dist/cjs/types/Interface/api/partner/CreatePartner.js.map +1 -1
- package/dist/cjs/types/Interface/api/partner/UpdatePartner.d.ts +1 -0
- package/dist/cjs/types/Interface/api/partner/UpdatePartner.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/partner/UpdatePartner.js +7 -0
- package/dist/cjs/types/Interface/api/partner/UpdatePartner.js.map +1 -1
- package/dist/cjs/types/Interface/api/registration/CreateRegistration.d.ts +2 -0
- package/dist/cjs/types/Interface/api/registration/CreateRegistration.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/registration/CreateRegistration.js.map +1 -1
- package/dist/cjs/types/Interface/api/societyConfig/update.d.ts +0 -1
- package/dist/cjs/types/Interface/api/societyConfig/update.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/societyConfig/update.js +0 -6
- package/dist/cjs/types/Interface/api/societyConfig/update.js.map +1 -1
- package/dist/cjs/types/Interface/api/terminationList/QueryPaginateTerminationList.d.ts +1 -0
- package/dist/cjs/types/Interface/api/terminationList/QueryPaginateTerminationList.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/terminationList/QueryPaginateTerminationList.js +6 -0
- package/dist/cjs/types/Interface/api/terminationList/QueryPaginateTerminationList.js.map +1 -1
- package/dist/cjs/types/Interface/models/IApiError.d.ts +1 -1
- package/dist/cjs/types/Interface/models/IApiError.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IApiError.js +1 -1
- package/dist/cjs/types/Interface/models/IApiError.js.map +1 -1
- package/dist/cjs/types/Interface/models/IFile.d.ts +2 -1
- package/dist/cjs/types/Interface/models/IFile.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IFile.js.map +1 -1
- package/dist/cjs/types/Interface/models/IPaymentRecovery.d.ts +1 -0
- package/dist/cjs/types/Interface/models/IPaymentRecovery.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IPaymentRecovery.js.map +1 -1
- package/dist/cjs/types/Interface/models/ISocietyConfig.d.ts +0 -1
- package/dist/cjs/types/Interface/models/ISocietyConfig.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/ISocietyConfig.js.map +1 -1
- package/dist/cjs/types/Interface/models/ISocietyGescom.d.ts +3 -1
- package/dist/cjs/types/Interface/models/ISocietyGescom.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/ISocietyGescom.js.map +1 -1
- package/dist/cjs/types/Interface/models/ISocietyPartner.d.ts +1 -0
- package/dist/cjs/types/Interface/models/ISocietyPartner.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/ISocietyPartner.js.map +1 -1
- package/dist/cjs/types/index.d.ts +1 -0
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +1 -0
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/cjs/utils/brands.d.ts +6 -0
- package/dist/cjs/utils/brands.d.ts.map +1 -1
- package/dist/cjs/utils/brands.js.map +1 -1
- package/dist/mjs/api/resources/Card.d.ts +2 -1
- package/dist/mjs/api/resources/Card.d.ts.map +1 -1
- package/dist/mjs/api/resources/Card.js +3 -0
- package/dist/mjs/api/resources/Card.js.map +1 -1
- package/dist/mjs/api/resources/Registration.d.ts +1 -0
- package/dist/mjs/api/resources/Registration.d.ts.map +1 -1
- package/dist/mjs/api/resources/Registration.js +3 -0
- package/dist/mjs/api/resources/Registration.js.map +1 -1
- package/dist/mjs/api/resources/RegistrationForm.d.ts +6 -0
- package/dist/mjs/api/resources/RegistrationForm.d.ts.map +1 -0
- package/dist/mjs/api/resources/RegistrationForm.js +7 -0
- package/dist/mjs/api/resources/RegistrationForm.js.map +1 -0
- package/dist/mjs/api/resources.d.ts +2 -0
- package/dist/mjs/api/resources.d.ts.map +1 -1
- package/dist/mjs/api/resources.js +2 -0
- package/dist/mjs/api/resources.js.map +1 -1
- package/dist/mjs/types/Enum/Aspone.d.ts +39 -0
- package/dist/mjs/types/Enum/Aspone.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Aspone.js +41 -0
- package/dist/mjs/types/Enum/Aspone.js.map +1 -1
- package/dist/mjs/types/Enum/BrandClementine.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BrandClementine.js +6 -0
- package/dist/mjs/types/Enum/BrandClementine.js.map +1 -1
- package/dist/mjs/types/Enum/CerfaType.d.ts +2 -1
- package/dist/mjs/types/Enum/CerfaType.d.ts.map +1 -1
- package/dist/mjs/types/Enum/CerfaType.js +1 -0
- package/dist/mjs/types/Enum/CerfaType.js.map +1 -1
- package/dist/mjs/types/Enum/GlobalRegime.d.ts.map +1 -1
- package/dist/mjs/types/Enum/GlobalRegime.js +47 -0
- package/dist/mjs/types/Enum/GlobalRegime.js.map +1 -1
- package/dist/mjs/types/Enum/LegalForm.d.ts +2 -1
- package/dist/mjs/types/Enum/LegalForm.d.ts.map +1 -1
- package/dist/mjs/types/Enum/LegalForm.js +10 -0
- package/dist/mjs/types/Enum/LegalForm.js.map +1 -1
- package/dist/mjs/types/Interface/api/PaymentRecovery/Caarl.d.ts +2 -0
- package/dist/mjs/types/Interface/api/PaymentRecovery/Caarl.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/PaymentRecovery/Caarl.js.map +1 -1
- package/dist/mjs/types/Interface/api/card/OrganizeBalanceSheets.d.ts +19 -0
- package/dist/mjs/types/Interface/api/card/OrganizeBalanceSheets.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/card/OrganizeBalanceSheets.js +92 -0
- package/dist/mjs/types/Interface/api/card/OrganizeBalanceSheets.js.map +1 -0
- package/dist/mjs/types/Interface/api/cerfa/2069RCI.d.ts +118 -0
- package/dist/mjs/types/Interface/api/cerfa/2069RCI.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/cerfa/2069RCI.js +2 -0
- package/dist/mjs/types/Interface/api/cerfa/2069RCI.js.map +1 -0
- package/dist/mjs/types/Interface/api/cerfa/CreateCerfa.d.ts +1 -0
- package/dist/mjs/types/Interface/api/cerfa/CreateCerfa.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/CreateCerfa.js +1 -0
- package/dist/mjs/types/Interface/api/cerfa/CreateCerfa.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.d.ts +15 -13
- package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.js.map +1 -1
- package/dist/mjs/types/Interface/api/commercialManagement/Create.d.ts +1 -0
- package/dist/mjs/types/Interface/api/commercialManagement/Create.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/commercialManagement/Create.js +7 -0
- package/dist/mjs/types/Interface/api/commercialManagement/Create.js.map +1 -1
- package/dist/mjs/types/Interface/api/partner/CreatePartner.d.ts +1 -0
- package/dist/mjs/types/Interface/api/partner/CreatePartner.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/partner/CreatePartner.js +8 -0
- package/dist/mjs/types/Interface/api/partner/CreatePartner.js.map +1 -1
- package/dist/mjs/types/Interface/api/partner/UpdatePartner.d.ts +1 -0
- package/dist/mjs/types/Interface/api/partner/UpdatePartner.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/partner/UpdatePartner.js +8 -0
- package/dist/mjs/types/Interface/api/partner/UpdatePartner.js.map +1 -1
- package/dist/mjs/types/Interface/api/registration/CreateRegistration.d.ts +2 -0
- package/dist/mjs/types/Interface/api/registration/CreateRegistration.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/registration/CreateRegistration.js.map +1 -1
- package/dist/mjs/types/Interface/api/societyConfig/update.d.ts +0 -1
- package/dist/mjs/types/Interface/api/societyConfig/update.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/societyConfig/update.js +1 -8
- package/dist/mjs/types/Interface/api/societyConfig/update.js.map +1 -1
- package/dist/mjs/types/Interface/api/terminationList/QueryPaginateTerminationList.d.ts +1 -0
- package/dist/mjs/types/Interface/api/terminationList/QueryPaginateTerminationList.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/terminationList/QueryPaginateTerminationList.js +7 -0
- package/dist/mjs/types/Interface/api/terminationList/QueryPaginateTerminationList.js.map +1 -1
- package/dist/mjs/types/Interface/models/IApiError.d.ts +1 -1
- package/dist/mjs/types/Interface/models/IApiError.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IApiError.js +1 -1
- package/dist/mjs/types/Interface/models/IApiError.js.map +1 -1
- package/dist/mjs/types/Interface/models/IFile.d.ts +2 -1
- package/dist/mjs/types/Interface/models/IFile.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IFile.js.map +1 -1
- package/dist/mjs/types/Interface/models/IPaymentRecovery.d.ts +1 -0
- package/dist/mjs/types/Interface/models/IPaymentRecovery.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IPaymentRecovery.js.map +1 -1
- package/dist/mjs/types/Interface/models/ISocietyConfig.d.ts +0 -1
- package/dist/mjs/types/Interface/models/ISocietyConfig.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/ISocietyConfig.js.map +1 -1
- package/dist/mjs/types/Interface/models/ISocietyGescom.d.ts +3 -1
- package/dist/mjs/types/Interface/models/ISocietyGescom.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/ISocietyGescom.js.map +1 -1
- package/dist/mjs/types/Interface/models/ISocietyPartner.d.ts +1 -0
- package/dist/mjs/types/Interface/models/ISocietyPartner.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/ISocietyPartner.js.map +1 -1
- package/dist/mjs/types/index.d.ts +1 -0
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +1 -0
- package/dist/mjs/types/index.js.map +1 -1
- package/dist/mjs/utils/brands.d.ts +6 -0
- package/dist/mjs/utils/brands.d.ts.map +1 -1
- package/dist/mjs/utils/brands.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Card.ts +5 -2
- package/ts/api/resources/Registration.ts +4 -0
- package/ts/api/resources/RegistrationForm.ts +8 -0
- package/ts/api/resources.ts +2 -0
- package/ts/types/Enum/Aspone.ts +41 -0
- package/ts/types/Enum/BrandClementine.ts +6 -0
- package/ts/types/Enum/CerfaType.ts +1 -0
- package/ts/types/Enum/GlobalRegime.ts +47 -0
- package/ts/types/Enum/LegalForm.ts +10 -0
- package/ts/types/Interface/api/PaymentRecovery/Caarl.ts +2 -0
- package/ts/types/Interface/api/card/OrganizeBalanceSheets.ts +64 -0
- package/ts/types/Interface/api/cerfa/2069RCI.ts +109 -0
- package/ts/types/Interface/api/cerfa/CreateCerfa.ts +1 -0
- package/ts/types/Interface/api/cerfa/ReadCerfa.ts +16 -12
- package/ts/types/Interface/api/commercialManagement/Create.ts +4 -0
- package/ts/types/Interface/api/partner/CreatePartner.ts +5 -0
- package/ts/types/Interface/api/partner/UpdatePartner.ts +7 -0
- package/ts/types/Interface/api/registration/CreateRegistration.ts +2 -0
- package/ts/types/Interface/api/societyConfig/update.ts +1 -6
- package/ts/types/Interface/api/terminationList/QueryPaginateTerminationList.ts +5 -0
- package/ts/types/Interface/models/IApiError.ts +1 -1
- package/ts/types/Interface/models/IFile.ts +2 -1
- package/ts/types/Interface/models/IPaymentRecovery.ts +1 -1
- package/ts/types/Interface/models/ISocietyConfig.ts +0 -1
- package/ts/types/Interface/models/ISocietyGescom.ts +3 -1
- package/ts/types/Interface/models/ISocietyPartner.ts +1 -0
- package/ts/types/index.ts +1 -0
- package/ts/utils/brands.ts +6 -0
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import { IsArray, IsBoolean, IsDate, IsEnum, IsInt, IsNumber, IsOptional } from 'class-validator';
|
|
11
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
12
|
+
import { ComptaType } from '../../../Enum/ComptaType';
|
|
13
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
14
|
+
import { CardType } from '../../../Enum/Card';
|
|
15
|
+
export class OrganizeBalanceSheets {
|
|
16
|
+
idTeam;
|
|
17
|
+
idAccountants;
|
|
18
|
+
cardType;
|
|
19
|
+
exerciceMonthDate;
|
|
20
|
+
idComptaType;
|
|
21
|
+
soldeIsOk;
|
|
22
|
+
withSocial;
|
|
23
|
+
assignDateStart;
|
|
24
|
+
assignDateEnd;
|
|
25
|
+
nbCardByDay;
|
|
26
|
+
idSociety;
|
|
27
|
+
}
|
|
28
|
+
__decorate([
|
|
29
|
+
ApiPropertyOptional(),
|
|
30
|
+
IsOptional(),
|
|
31
|
+
IsNumber(),
|
|
32
|
+
__metadata("design:type", Number)
|
|
33
|
+
], OrganizeBalanceSheets.prototype, "idTeam", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
ApiPropertyOptional(),
|
|
36
|
+
IsOptional(),
|
|
37
|
+
IsArray(),
|
|
38
|
+
IsInt({ each: true }),
|
|
39
|
+
__metadata("design:type", Array)
|
|
40
|
+
], OrganizeBalanceSheets.prototype, "idAccountants", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
ApiProperty(),
|
|
43
|
+
IsArray(),
|
|
44
|
+
IsEnum(CardType, { each: true }),
|
|
45
|
+
__metadata("design:type", Array)
|
|
46
|
+
], OrganizeBalanceSheets.prototype, "cardType", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
ApiProperty(),
|
|
49
|
+
IsDate(),
|
|
50
|
+
__metadata("design:type", Date)
|
|
51
|
+
], OrganizeBalanceSheets.prototype, "exerciceMonthDate", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
ApiProperty(),
|
|
54
|
+
IsEnum(ComptaType),
|
|
55
|
+
__metadata("design:type", Number)
|
|
56
|
+
], OrganizeBalanceSheets.prototype, "idComptaType", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
ApiProperty(),
|
|
59
|
+
IsBoolean(),
|
|
60
|
+
ToBoolean(),
|
|
61
|
+
__metadata("design:type", Boolean)
|
|
62
|
+
], OrganizeBalanceSheets.prototype, "soldeIsOk", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
ApiProperty(),
|
|
65
|
+
IsBoolean(),
|
|
66
|
+
ToBoolean(),
|
|
67
|
+
__metadata("design:type", Boolean)
|
|
68
|
+
], OrganizeBalanceSheets.prototype, "withSocial", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
ApiProperty(),
|
|
71
|
+
IsDate(),
|
|
72
|
+
__metadata("design:type", Date)
|
|
73
|
+
], OrganizeBalanceSheets.prototype, "assignDateStart", void 0);
|
|
74
|
+
__decorate([
|
|
75
|
+
ApiPropertyOptional(),
|
|
76
|
+
IsOptional(),
|
|
77
|
+
IsDate(),
|
|
78
|
+
__metadata("design:type", Date)
|
|
79
|
+
], OrganizeBalanceSheets.prototype, "assignDateEnd", void 0);
|
|
80
|
+
__decorate([
|
|
81
|
+
ApiPropertyOptional(),
|
|
82
|
+
IsOptional(),
|
|
83
|
+
IsNumber(),
|
|
84
|
+
__metadata("design:type", Number)
|
|
85
|
+
], OrganizeBalanceSheets.prototype, "nbCardByDay", void 0);
|
|
86
|
+
__decorate([
|
|
87
|
+
ApiPropertyOptional(),
|
|
88
|
+
IsOptional(),
|
|
89
|
+
IsNumber(),
|
|
90
|
+
__metadata("design:type", Number)
|
|
91
|
+
], OrganizeBalanceSheets.prototype, "idSociety", void 0);
|
|
92
|
+
//# sourceMappingURL=OrganizeBalanceSheets.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OrganizeBalanceSheets.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/card/OrganizeBalanceSheets.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAClG,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAC3E,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAM9C,MAAM,OAAO,qBAAqB;IAI9B,MAAM,CAAU;IAMhB,aAAa,CAAY;IAKzB,QAAQ,CAAa;IAIrB,iBAAiB,CAAO;IAIxB,YAAY,CAAa;IAKzB,SAAS,CAAU;IAKnB,UAAU,CAAU;IAIpB,eAAe,CAAO;IAKtB,aAAa,CAAQ;IAKrB,WAAW,CAAU;IAKrB,SAAS,CAAU;CACtB;AAjDG;IAHD,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;qDACO;AAMhB;IAJD,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,OAAO,EAAE;IACT,KAAK,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;4DACK;AAKzB;IAHD,WAAW,EAAE;IACb,OAAO,EAAE;IACT,MAAM,CAAC,QAAQ,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;uDACV;AAIrB;IAFD,WAAW,EAAE;IACb,MAAM,EAAE;8BACY,IAAI;gEAAC;AAIxB;IAFD,WAAW,EAAE;IACb,MAAM,CAAC,UAAU,CAAC;;2DACQ;AAKzB;IAHD,WAAW,EAAE;IACb,SAAS,EAAE;IACX,SAAS,EAAE;;wDACS;AAKnB;IAHD,WAAW,EAAE;IACb,SAAS,EAAE;IACX,SAAS,EAAE;;yDACU;AAIpB;IAFD,WAAW,EAAE;IACb,MAAM,EAAE;8BACU,IAAI;8DAAC;AAKtB;IAHD,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,MAAM,EAAE;8BACS,IAAI;4DAAC;AAKrB;IAHD,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;0DACY;AAKrB;IAHD,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;wDACU","sourcesContent":["import { IsArray, IsBoolean, IsDate, IsEnum, IsInt, IsNumber, IsOptional } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ComptaType } from '../../../Enum/ComptaType';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { CardType } from '../../../Enum/Card';\n\nexport interface OrganizeBalanceSheetsResponse {\n plannedCardsCount: number; \n}\n\nexport class OrganizeBalanceSheets {\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idTeam?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n @IsInt({ each: true })\n idAccountants?: number[];\n\n @ApiProperty()\n @IsArray()\n @IsEnum(CardType, { each: true })\n cardType: CardType[];\n\n @ApiProperty()\n @IsDate()\n exerciceMonthDate: Date;\n\n @ApiProperty()\n @IsEnum(ComptaType)\n idComptaType: ComptaType;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n soldeIsOk: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n withSocial: boolean;\n \n @ApiProperty()\n @IsDate()\n assignDateStart: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n assignDateEnd?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n nbCardByDay?: number;\n \n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idSociety?: number;\n}"]}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { AsponeCR5_2024, AsponeCR6_2024 } from '../../../Enum/Aspone';
|
|
2
|
+
import { CerfaAddress } from './ReadCerfa';
|
|
3
|
+
export type Cerfa2069RCI_2024 = {
|
|
4
|
+
credits: {
|
|
5
|
+
withoutRegistration: {
|
|
6
|
+
'2LI': number | null;
|
|
7
|
+
'3IV': number | null;
|
|
8
|
+
'AUD': number | null;
|
|
9
|
+
'CCI': number | null;
|
|
10
|
+
'CIC': {
|
|
11
|
+
prePay: number | null;
|
|
12
|
+
total: number | null;
|
|
13
|
+
};
|
|
14
|
+
'CIN': number | null;
|
|
15
|
+
'COM': number | null;
|
|
16
|
+
'CPG': number | null;
|
|
17
|
+
'CSV': number | null;
|
|
18
|
+
'FOR': number | null;
|
|
19
|
+
'HVE': number | null;
|
|
20
|
+
'MEC': {
|
|
21
|
+
donation: number | null;
|
|
22
|
+
federations: number | null;
|
|
23
|
+
notreDameDeParis: number | null;
|
|
24
|
+
total: number | null;
|
|
25
|
+
};
|
|
26
|
+
'PRE': number | null;
|
|
27
|
+
'RAC': number | null;
|
|
28
|
+
'REB': number | null;
|
|
29
|
+
'RTD': number | null;
|
|
30
|
+
'VLO': number | null;
|
|
31
|
+
onParticipation: number | null;
|
|
32
|
+
remunerations: {
|
|
33
|
+
mandatory: number | null;
|
|
34
|
+
smic: number | null;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
withRegistration: {
|
|
38
|
+
'PVM': number | null;
|
|
39
|
+
'COR': number | null;
|
|
40
|
+
'CIR': {
|
|
41
|
+
exposedInDOM: number | null;
|
|
42
|
+
total: number | null;
|
|
43
|
+
};
|
|
44
|
+
'CRC': number | null;
|
|
45
|
+
'FAM': number | null;
|
|
46
|
+
'TZM': number | null;
|
|
47
|
+
'BIO': number | null;
|
|
48
|
+
'PHO': number | null;
|
|
49
|
+
'ART': number | null;
|
|
50
|
+
'CJV': number | null;
|
|
51
|
+
'EOM': number | null;
|
|
52
|
+
'CPE': number | null;
|
|
53
|
+
'PTR': number | null;
|
|
54
|
+
'RTA': number | null;
|
|
55
|
+
'CIO': number | null;
|
|
56
|
+
'COL': number | null;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
declaration: {
|
|
60
|
+
period: {
|
|
61
|
+
startDate: string;
|
|
62
|
+
endDate: string;
|
|
63
|
+
};
|
|
64
|
+
societyInGroup: null | {
|
|
65
|
+
siren: string;
|
|
66
|
+
address: CerfaAddress;
|
|
67
|
+
name: string;
|
|
68
|
+
};
|
|
69
|
+
siren: string | null;
|
|
70
|
+
};
|
|
71
|
+
isNil: boolean;
|
|
72
|
+
isPME: boolean;
|
|
73
|
+
isParentSociety: boolean;
|
|
74
|
+
};
|
|
75
|
+
export type Cerfa2069RCI_2024_Payload = {
|
|
76
|
+
isParentSociety: boolean;
|
|
77
|
+
parentSociety: null | {
|
|
78
|
+
siren: string;
|
|
79
|
+
name: string;
|
|
80
|
+
address: {
|
|
81
|
+
number: string;
|
|
82
|
+
street: string;
|
|
83
|
+
zipCode: string;
|
|
84
|
+
city: string;
|
|
85
|
+
idCountry: number;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
creditsWithoutRegistration: Array<{
|
|
89
|
+
id: AsponeCR5_2024;
|
|
90
|
+
amount: number;
|
|
91
|
+
}>;
|
|
92
|
+
creditsWithRegistration: Array<{
|
|
93
|
+
id: AsponeCR6_2024;
|
|
94
|
+
amount: number;
|
|
95
|
+
}>;
|
|
96
|
+
isNil: boolean;
|
|
97
|
+
isPME: boolean;
|
|
98
|
+
};
|
|
99
|
+
export type ReadCerfa2069RCIInputs = {
|
|
100
|
+
withoutRegistrationMandatory: Array<{
|
|
101
|
+
id: AsponeCR5_2024;
|
|
102
|
+
label: string;
|
|
103
|
+
defaultValue?: number | null;
|
|
104
|
+
}>;
|
|
105
|
+
withRegistration: Array<{
|
|
106
|
+
id: AsponeCR6_2024;
|
|
107
|
+
label: string;
|
|
108
|
+
defaultValue?: number | null;
|
|
109
|
+
}>;
|
|
110
|
+
};
|
|
111
|
+
export type PrepareCerfa2069RCI = {
|
|
112
|
+
idExercice: number;
|
|
113
|
+
idSociety: number;
|
|
114
|
+
values: {
|
|
115
|
+
cerfa2069RCI: Cerfa2069RCI_2024;
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
//# sourceMappingURL=2069RCI.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"2069RCI.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/cerfa/2069RCI.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE3C,MAAM,MAAM,iBAAiB,GAAG;IAC9B,OAAO,EAAE;QACP,mBAAmB,EAAE;YACnB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;YACrB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;YACrB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;YACrB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;YACrB,KAAK,EAAE;gBACL,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;gBACtB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;aACtB,CAAC;YACF,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;YACrB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;YACrB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;YACrB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;YACrB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;YACrB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;YACrB,KAAK,EAAE;gBACL,QAAQ,EAAE,MAAM,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M,CAAC;QACd,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;KAC9B,CAAC,CAAC;IACH,gBAAgB,EAAE,KAAK,CAAC;QACtB,EAAE,EAAE,cAAc,CAAC;QACnB,KAAK,EAAE,MAAM,CAAC;QACd,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;KAC9B,CAAC,CAAC;CACJ,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAAE,UAAU,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE;QAAE,YAAY,EAAE,iBAAiB,CAAA;KAAE,CAAA;CAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"2069RCI.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/cerfa/2069RCI.ts"],"names":[],"mappings":"","sourcesContent":["import { AsponeCR5_2024, AsponeCR6_2024 } from '../../../Enum/Aspone';\nimport { CerfaAddress } from './ReadCerfa';\n\nexport type Cerfa2069RCI_2024 = {\n credits: {\n withoutRegistration: {\n '2LI': number | null;\n '3IV': number | null;\n 'AUD': number | null;\n 'CCI': number | null;\n 'CIC': {\n prePay: number | null;\n total: number | null;\n };\n 'CIN': number | null;\n 'COM': number | null;\n 'CPG': number | null;\n 'CSV': number | null;\n 'FOR': number | null;\n 'HVE': number | null;\n 'MEC': {\n donation: number | null;\n federations: number | null;\n notreDameDeParis: number | null;\n total: number | null;\n }\n 'PRE': number | null;\n 'RAC': number | null;\n 'REB': number | null;\n 'RTD': number | null;\n 'VLO': number | null;\n onParticipation: number | null;\n remunerations: {\n mandatory: number | null;\n smic: number | null;\n };\n };\n withRegistration: {\n 'PVM': number | null;\n 'COR': number | null;\n 'CIR': {\n exposedInDOM: number | null;\n total: number | null;\n };\n 'CRC': number | null;\n 'FAM': number | null;\n 'TZM': number | null;\n 'BIO': number | null;\n 'PHO': number | null;\n 'ART': number | null;\n 'CJV': number | null;\n 'EOM': number | null;\n 'CPE': number | null;\n 'PTR': number | null;\n 'RTA': number | null;\n 'CIO': number | null;\n 'COL': number | null;\n }\n };\n declaration: {\n period: {\n startDate: string;\n endDate: string;\n };\n societyInGroup: null | {\n siren: string;\n address: CerfaAddress;\n name: string;\n };\n siren: string | null;\n };\n isNil: boolean;\n isPME: boolean;\n isParentSociety: boolean;\n};\n\nexport type Cerfa2069RCI_2024_Payload = {\n isParentSociety: boolean;\n parentSociety: null | {\n siren: string;\n name: string;\n address: {\n number: string;\n street: string;\n zipCode: string;\n city: string;\n idCountry: number;\n }\n };\n creditsWithoutRegistration: Array<{ id: AsponeCR5_2024; amount: number; }>\n creditsWithRegistration: Array<{ id: AsponeCR6_2024; amount: number; }>\n isNil: boolean;\n isPME: boolean;\n};\n\nexport type ReadCerfa2069RCIInputs = {\n withoutRegistrationMandatory: Array<{ \n id: AsponeCR5_2024;\n label: string;\n defaultValue?: number | null;\n }>;\n withRegistration: Array<{ \n id: AsponeCR6_2024;\n label: string;\n defaultValue?: number | null;\n }>;\n};\n\nexport type PrepareCerfa2069RCI = { idExercice: number; idSociety: number; values: { cerfa2069RCI: Cerfa2069RCI_2024 } };"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateCerfa.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/cerfa/CreateCerfa.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAEhD,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AAExB,MAAM,WAAW,gBAAgB;IAC/B,iBAAiB,EAAE,OAAO,CAAC;IA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OAAO,EAAE,MAAM,CAAC;QAChB,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,EAAE,MAAM,CAAC;QAChB,WAAW,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;KACxC,CAAC;CACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateCerfa.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/cerfa/CreateCerfa.ts"],"names":[],"mappings":"AAGA,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC","sourcesContent":["import { VehicleCerfaFuel } from '../../../Enum/Vehicle';\nimport { AsponeTTV, AsponeTTC } from '../../..';\n\nexport * from './2031';\nexport * from './2033';\nexport * from './2035';\nexport * from './2050';\nexport * from './2065';\nexport * from './2571';\nexport * from './2572';\nexport * from './Utils';\n\nexport interface DeterminedResult {\n incomeExpenditure: boolean; // d'après les règles « recettes-dépenses »\n debts: boolean; // d'après les règles « créances-dettes »\n}\n\nexport type AccountingKept = 'dutyFree' | 'taxIncluded' | 'notSubjectToVat';\nexport type CerfaCivility = 'M' | 'Mme' | 'Mlle';\n\nexport interface AccreditedOrganization {\n isMember: boolean;\n memberSince: string;\n numberOfEmployees: string;\n netWagesReceived: number; // Salaires nets perçus\n}\n\nexport interface Vehicle {\n name: string;\n type: string;\n asponeType: AsponeTTV;\n fiscalPower: number;\n isBNCScale: boolean;\n isBICScale: boolean;\n fuel: VehicleCerfaFuel;\n asponeFuel: AsponeTTC | null;\n professionalKilometers: number;\n deductible: number;\n depreciationPracticedAtReintegrate: number;\n}\n\nexport interface MoralShareholder {\n legalForm: string;\n name: string;\n siren?: string;\n percentShares: number;\n shares: number;\n address: {\n number: string | undefined;\n street: string;\n zipCode: string;\n city: string;\n country: string;\n countryCode: string | null | undefined;\n };\n}\n\nexport interface PhysicShareholder {\n civility: CerfaCivility;\n firstname: string;\n lastname: string;\n percentShares: number;\n marriedName: string | null | undefined;\n shares: number | null;\n birth: {\n date: string;\n department: string | undefined;\n city: string;\n country: string;\n countryCode: string | null | undefined;\n },\n address: {\n street: string | undefined;\n zipCode: string | undefined;\n city: string | undefined;\n country: string | undefined;\n countryCode: string | null | undefined;\n number: string | undefined;\n }\n}\n\nexport interface Subsidiarie {\n legalForm: string;\n name: string;\n siren?: string;\n percentShares: number;\n address: {\n number: string;\n street: string;\n zipCode: string;\n city: string;\n country: string;\n countryCode: string | null | undefined;\n };\n}"]}
|
|
1
|
+
{"version":3,"file":"CreateCerfa.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/cerfa/CreateCerfa.ts"],"names":[],"mappings":"AAGA,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC","sourcesContent":["import { VehicleCerfaFuel } from '../../../Enum/Vehicle';\nimport { AsponeTTV, AsponeTTC } from '../../..';\n\nexport * from './2031';\nexport * from './2033';\nexport * from './2035';\nexport * from './2050';\nexport * from './2065';\nexport * from './2571';\nexport * from './2572';\nexport * from './2069RCI';\nexport * from './Utils';\n\nexport interface DeterminedResult {\n incomeExpenditure: boolean; // d'après les règles « recettes-dépenses »\n debts: boolean; // d'après les règles « créances-dettes »\n}\n\nexport type AccountingKept = 'dutyFree' | 'taxIncluded' | 'notSubjectToVat';\nexport type CerfaCivility = 'M' | 'Mme' | 'Mlle';\n\nexport interface AccreditedOrganization {\n isMember: boolean;\n memberSince: string;\n numberOfEmployees: string;\n netWagesReceived: number; // Salaires nets perçus\n}\n\nexport interface Vehicle {\n name: string;\n type: string;\n asponeType: AsponeTTV;\n fiscalPower: number;\n isBNCScale: boolean;\n isBICScale: boolean;\n fuel: VehicleCerfaFuel;\n asponeFuel: AsponeTTC | null;\n professionalKilometers: number;\n deductible: number;\n depreciationPracticedAtReintegrate: number;\n}\n\nexport interface MoralShareholder {\n legalForm: string;\n name: string;\n siren?: string;\n percentShares: number;\n shares: number;\n address: {\n number: string | undefined;\n street: string;\n zipCode: string;\n city: string;\n country: string;\n countryCode: string | null | undefined;\n };\n}\n\nexport interface PhysicShareholder {\n civility: CerfaCivility;\n firstname: string;\n lastname: string;\n percentShares: number;\n marriedName: string | null | undefined;\n shares: number | null;\n birth: {\n date: string;\n department: string | undefined;\n city: string;\n country: string;\n countryCode: string | null | undefined;\n },\n address: {\n street: string | undefined;\n zipCode: string | undefined;\n city: string | undefined;\n country: string | undefined;\n countryCode: string | null | undefined;\n number: string | undefined;\n }\n}\n\nexport interface Subsidiarie {\n legalForm: string;\n name: string;\n siren?: string;\n percentShares: number;\n address: {\n number: string;\n street: string;\n zipCode: string;\n city: string;\n country: string;\n countryCode: string | null | undefined;\n };\n}"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CerfaType } from '../../../Enum/CerfaType';
|
|
2
|
-
import { AnyCerfa2033Century, Cerfa2031, Cerfa2031_2024, Cerfa2065, Cerfa2065_2024, Cerfa2571_2023, Cerfa2571_2024, Cerfa2572_2022, Cerfa2572_2023, Cerfa2572_2024, Cerfa3519_2017, FieldForGeneration, FullCerfa2035, FullCerfa2035_2024, PayloadCerfa3519_2017, QuestionWording } from '../../..';
|
|
2
|
+
import { AnyCerfa2033Century, Cerfa2031, Cerfa2031_2024, Cerfa2065, Cerfa2065_2024, Cerfa2069RCI_2024, Cerfa2571_2023, Cerfa2571_2024, Cerfa2572_2022, Cerfa2572_2023, Cerfa2572_2024, Cerfa3519_2017, FieldForGeneration, FullCerfa2035, FullCerfa2035_2024, PayloadCerfa3519_2017, QuestionWording } from '../../..';
|
|
3
3
|
import { Question } from '../../../Enum/BalanceSheetQuestion';
|
|
4
4
|
import { TerminationType } from '../../../Enum/AnswerTypeValue';
|
|
5
5
|
import { Cerfa3310_2023 } from './3310';
|
|
@@ -105,20 +105,22 @@ export interface RegistrationPayload {
|
|
|
105
105
|
cerfa2033?: AnyCerfa2033Century;
|
|
106
106
|
cerfa2065?: Cerfa2065 | Cerfa2065_2024;
|
|
107
107
|
cerfa2035?: FullCerfa2035 | FullCerfa2035_2024;
|
|
108
|
+
cerfa2069RCI?: Cerfa2069RCI_2024;
|
|
108
109
|
}
|
|
110
|
+
export type ReadFormFile = {
|
|
111
|
+
name: string;
|
|
112
|
+
idFile: number;
|
|
113
|
+
size: number;
|
|
114
|
+
token: string;
|
|
115
|
+
id?: number;
|
|
116
|
+
Location: string;
|
|
117
|
+
ETag: string;
|
|
118
|
+
Bucket: string;
|
|
119
|
+
Key?: string;
|
|
120
|
+
mimeType?: string;
|
|
121
|
+
};
|
|
109
122
|
export interface ReadFormGeneration {
|
|
110
|
-
file:
|
|
111
|
-
name: string;
|
|
112
|
-
idFile: number;
|
|
113
|
-
size: number;
|
|
114
|
-
token: string;
|
|
115
|
-
id?: number;
|
|
116
|
-
Location: string;
|
|
117
|
-
ETag: string;
|
|
118
|
-
Bucket: string;
|
|
119
|
-
Key?: string;
|
|
120
|
-
mimeType?: string;
|
|
121
|
-
};
|
|
123
|
+
file: ReadFormFile;
|
|
122
124
|
payload: RegistrationPayload;
|
|
123
125
|
}
|
|
124
126
|
//# sourceMappingURL=ReadCerfa.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReadCerfa.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/cerfa/ReadCerfa.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EACL,mBAAmB,EACnB,SAAS,EACT,cAAc,EACd,SAAS,EACT,cAAc,EACd,cAAc,EAC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,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,kBAAkB,EAAE,CAAA;CAAE,CAAC;AAE7E,MAAM,WAAW,mBAAmB;IAClC,SAAS,CAAC,EAAE,cAAc,GAAG,cAAc,GAAG,cAAc,CAAC;IAC7D,SAAS,CAAC,EAAE,cAAc,GAAG,cAAc,CAAC;IAC5C,SAAS,CAAC,EAAE,SAAS,GAAG,cAAc,CAAC;IACvC,SAAS,CAAC,EAAE,mBAAmB,CAAC;IAChC,SAAS,CAAC,EAAE,SAAS,GAAG,cAAc,CAAC;IACvC,SAAS,CAAC,EAAE,aAAa,GAAG,kBAAkB,CAAC;IAC/C,YAAY,CAAC,EAAE,iBAAiB,CAAC;CAClC;AAED,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,YAAY,CAAC;IACnB,OAAO,EAAE,mBAAmB,CAAA;CAC7B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReadCerfa.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/cerfa/ReadCerfa.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ReadCerfa.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/cerfa/ReadCerfa.ts"],"names":[],"mappings":"AA8BA,MAAM,OAAO,cAAc;IAAG,GAAG,CAAS;IAAC,KAAK,CAAmC;CAAE","sourcesContent":["import { CerfaType } from '../../../Enum/CerfaType';\nimport {\n AnyCerfa2033Century,\n Cerfa2031,\n Cerfa2031_2024,\n Cerfa2065,\n Cerfa2065_2024,\n Cerfa2069RCI_2024,\n Cerfa2571_2023,\n Cerfa2571_2024,\n Cerfa2572_2022,\n Cerfa2572_2023,\n Cerfa2572_2024,\n Cerfa3519_2017,\n FieldForGeneration, FullCerfa2035, FullCerfa2035_2024, PayloadCerfa3519_2017, QuestionWording,\n} from '../../..';\nimport { Question } from '../../../Enum/BalanceSheetQuestion';\nimport { TerminationType } from '../../../Enum/AnswerTypeValue';\nimport { Cerfa3310_2023 } from './3310';\nimport { getCerfa3519Century17Payload } from '../../../../utils/vat/3519/century17';\nimport { getCerfa3519Century23RegistrationFields } from '../../../../utils/vat/3519/century23';\n\nexport type CerfaPayloadFormField = {\n label: string;\n key: string;\n type: 'text' | 'string' | 'number' | 'boolean' | 'date';\n visibleIf?: string;\n columns?: number;\n};\n\nexport class CerfaFormValue { key: string; value: string | number | boolean | null; }\n\nexport type CerfaPayloadForm = {\n sectionName: string;\n childrens: CerfaPayloadForm | CerfaPayloadFormField[]\n};\n\nexport type AnnexVatDocument = {\n shouldInclude: (data: Cerfa3310_2023) => boolean;\n name: string;\n century: string;\n payload: (amount: number, payload: PayloadCerfa3519_2017) => ReturnType<typeof getCerfa3519Century17Payload>,\n asponePayload: (data: Cerfa3519_2017) => ReturnType<typeof getCerfa3519Century23RegistrationFields>\n fields: CerfaPayloadForm[];\n fileName: '3519-2017';\n};\n\nexport type VatDocument = {\n idCerfaType: CerfaType,\n name: string;\n century: string, // Millésime du formulaire ASPONE\n centuries: number[],\n payload: (...args: any[]) => any,\n asponePayload: (...args: any[]) => any,\n fields: Array<CerfaPayloadForm>,\n fileName: '3310-2023' | '3514-2022' | '3517-2023' | '3310-2024';\n annex?: AnnexVatDocument;\n};\n\nexport interface ReadCerfaToComplete {\n declaration: CerfaType;\n annex: CerfaType | null\n}\nexport interface ReadCerfaDocument {\n file: any;\n payload: any;\n}\nexport interface Accountant {\n has: boolean;\n name: string | null;\n phone: string | null;\n address: CerfaAddress;\n}\nexport interface CouncilDetails {\n has: boolean;\n name: string | null;\n phone: string | null;\n address: CerfaAddress;\n}\nexport interface EcfDetails {\n has: boolean;\n name: string | null;\n address: CerfaAddress;\n}\nexport interface ViewerDetails {\n has: boolean;\n name: string;\n address: CerfaAddress\n number: string | null;\n}\nexport interface CerfaAddress {\n number: string;\n street: string;\n zipCode: string;\n city: string;\n country: {\n name: string | null,\n code: string | null\n }\n full: string;\n}\n\nexport type CerfaAnswers = {\n [key in keyof typeof QuestionWording\n | keyof typeof Question]: any\n};\n\nexport type Termination = {\n type: TerminationType,\n date: string | null\n};\n\nexport type AsponeFormFields = Array<{ name: string; fields: FieldForGeneration[], index?: number }>;\nexport type AsponeFormField = { name: string; fields: FieldForGeneration[] };\n\nexport interface RegistrationPayload { \n cerfa2572?: Cerfa2572_2022 | Cerfa2572_2023 | Cerfa2572_2024;\n cerfa2571?: Cerfa2571_2023 | Cerfa2571_2024;\n cerfa2031?: Cerfa2031 | Cerfa2031_2024;\n cerfa2033?: AnyCerfa2033Century;\n cerfa2065?: Cerfa2065 | Cerfa2065_2024;\n cerfa2035?: FullCerfa2035 | FullCerfa2035_2024;\n cerfa2069RCI?: Cerfa2069RCI_2024;\n}\n\nexport type ReadFormFile = {\n name: string,\n idFile: number,\n size: number,\n token: string,\n id?: number,\n Location: string,\n ETag: string,\n Bucket: string,\n Key?: string\n mimeType?: string,\n};\n\nexport interface ReadFormGeneration {\n file: ReadFormFile;\n payload: RegistrationPayload\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/commercialManagement/Create.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAGrD,OAAO,EAAE,oBAAoB,EAAE,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,oCAAoC,CA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C;QACzB,gBAAgB,EAAE,MAAM,CAAC;QACzB,IAAI,CAAC,EAAE,KAAK,CAAA;QACZ,QAAQ,EAAE,eAAe,CAAA;KAC1B,CAAC;IACF,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,OAAO,CAAA;CAChB,CAAC"}
|
|
@@ -66,6 +66,7 @@ export class CreateCommercialSetting {
|
|
|
66
66
|
externalBorderType;
|
|
67
67
|
externalBorderColor;
|
|
68
68
|
idRibFile;
|
|
69
|
+
idSignatureFile;
|
|
69
70
|
}
|
|
70
71
|
__decorate([
|
|
71
72
|
ApiPropertyOptional(),
|
|
@@ -395,6 +396,12 @@ __decorate([
|
|
|
395
396
|
IsInt(),
|
|
396
397
|
__metadata("design:type", Object)
|
|
397
398
|
], CreateCommercialSetting.prototype, "idRibFile", void 0);
|
|
399
|
+
__decorate([
|
|
400
|
+
ApiPropertyOptional(),
|
|
401
|
+
IsOptional(),
|
|
402
|
+
IsInt(),
|
|
403
|
+
__metadata("design:type", Object)
|
|
404
|
+
], CreateCommercialSetting.prototype, "idSignatureFile", void 0);
|
|
398
405
|
export class CreateCommercialMail {
|
|
399
406
|
to;
|
|
400
407
|
cc;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/commercialManagement/Create.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,GAAG,GACrF,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD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EAAE;;kDACQ;AAGtB,MAAM,OAAO,wBAAwB;IAGjC,KAAK,CAAS;IAId,SAAS,CAAS;IAIlB,KAAK,CAAS;CACjB;AATG;IAFD,WAAW,EAAE;IACb,QAAQ,EAAE;;uDACK;AAId;IAFD,WAAW,EAAE;IACb,QAAQ,EAAE;;2DACS;AAIlB;IAFD,WAAW,EAAE;IACb,QAAQ,EAAE;;uDACK","sourcesContent":["import {\n IsArray, IsBoolean, IsDateString, IsEnum, IsInt, IsNumber, IsOptional, IsString, Min,\n} from 'class-validator';\nimport { IFile, ReadProductEditing } from '../../..';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { AccountingCategoryId, FontIds, InvoiceLanguage, LogoAlignment } from '../../../Enum/CommercialManagement';\nimport { EstimateInvoiceType } from '../../../Enum/EstimateInvoice';\nimport { RecurrenceType } from '../../../Enum/RecurrenceType';\nimport { IProductInvoice } from '../../models/IProductInvoice';\nimport { ISocietyGescom } from '../../models/ISocietyGescom';\nimport { IThirdParty } from '../../models/IThirdParty';\n\nexport type IProductInvoiceToCreate = IProductInvoice & { save?: boolean };\n\nexport class CreateCommercialSetting {\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n @Min(0, {\n message: 'Capital should be positive',\n })\n capital?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n tvaCode?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n rcs?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n numberTradeDirectory?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n bank?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n iban?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n bic?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n mailContact?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n phoneContact?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n website?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n commercialName?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n penalties?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n discount?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n recoveryCost?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n vatMention?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n generatedBy?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n acceptCheque?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n mentionAutoent?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n startInvoice?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n startEstimate?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n dayOfValidity?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n paymentsAccepted?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n stripePaymentByDefault?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n displayLogo?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n invoiceCgv?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n color?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n freeInvoiceText?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n freeEstimateText?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n logoAlignment?: LogoAlignment | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idFont?: FontIds | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isEdgingDisplayed?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n edgingColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n fontColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isCoordinatesFrameDisplayed?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n areLinesSeparationHidden?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n areColumnsSeparationHidden?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n accountingCategory?: AccountingCategoryId;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n shouldPayTaxAfterDebit?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n shouldHideEmailHeader?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n shouldHideBrandName?: boolean;\n\n \n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n customerBlockBorderThickness?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n customerBlockBorderColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n lineSeparationThickness?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n lineSeparationType?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n lineSeparationColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n columnSeparationThickness?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n columnSeparationType?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n columnSeparationColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n externalBorderThickness?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n externalBorderType?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n externalBorderColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idRibFile?: number | null;\n\n}\n\nexport class CreateCommercialMail {\n @ApiProperty()\n @IsString()\n to: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n cc?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n bcc?: string;\n\n @ApiProperty()\n @IsString()\n subject: string;\n\n @ApiProperty()\n @IsString()\n content: string;\n}\n\nexport class CreateCommercialMailWithMultipleFiles extends CreateCommercialMail {\n idsFile: number[];\n}\n\nexport class CommercialDocumentInputs {\n @ApiProperty()\n legalForm: string | null;\n\n @ApiProperty()\n capital: number | null;\n\n @ApiProperty()\n siren: string | null;\n\n @ApiProperty()\n rcs: string | null;\n\n @ApiProperty()\n vatCode: string | null;\n\n @ApiProperty()\n nafCode: string | null;\n\n @ApiProperty()\n @IsString()\n reference: string;\n\n @ApiProperty()\n thirdParty: IThirdParty;\n\n @ApiProperty()\n @IsDateString()\n emissionDate: string;\n\n @ApiProperty()\n @IsDateString()\n dueDate: string;\n\n @ApiProperty({ description: 'Date d\\'expiration pour la facture d\\'acompte' })\n expirationDate: string | null;\n\n @ApiProperty({ description: 'Conditions de réglement' })\n termsOfPayment: string | null;\n\n @ApiProperty()\n @IsArray()\n products: Array<IProductInvoiceToCreate>;\n\n @ApiProperty({ description: 'Escompte' })\n discount: string | null;\n\n @ApiProperty()\n comment: string | null;\n\n @ApiProperty({ description: 'Pénalité de retard' })\n penalties: string | null;\n\n @ApiPropertyOptional({ description: 'Remise globale' })\n generalDiscount2: number | null;\n\n @ApiProperty({ description: 'Indemnité forfaitaire' })\n compensation: string | null;\n\n @ApiProperty()\n vatMention: string | null;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n disableVat: boolean;\n\n @ApiProperty()\n title: string | null;\n\n @ApiProperty({ description: 'Commercial name of seller' })\n @IsString()\n name: string;\n\n @ApiProperty({ description: 'Commercial number address of seller' })\n number?: string | null;\n\n @ApiProperty({ description: 'Commercial street address of seller' })\n street: string | null;\n\n @ApiProperty({ description: 'Commercial zip code address of seller' })\n zipCode: string | null;\n\n @ApiProperty({ description: 'Commercial city address of seller' })\n city: string | null;\n\n @ApiProperty()\n settings: ISocietyGescom;\n\n @ApiProperty()\n cgv: string | null;\n\n @ApiProperty()\n logoUrl: string | null;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isStripeAllowed: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isDraft: boolean;\n\n @ApiProperty()\n idEstimateInvoiceType: EstimateInvoiceType;\n\n @ApiProperty()\n accountingCategory: AccountingCategoryId;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n shouldPayTaxAfterDebit?: boolean;\n\n @ApiPropertyOptional({ description: 'Moyen de paiement' })\n paymentType?: string | null;\n}\n\nexport class CreatePreSaleDocument extends CommercialDocumentInputs {\n paymentLink?: '#';\n deposit?: undefined;\n fromEstimateId: undefined;\n assetMarginVatIds?: [];\n advanceProducts?: [];\n language?: InvoiceLanguage; \n}\nexport class CreateInvoiceDocument extends CommercialDocumentInputs {\n paymentLink?: string;\n deposit?: number;\n fromInvoiceId?: number | null; // Nécessaire lors de la création d'un avoir à partir d'une facture\n fromEstimateId: number | null; // Nécessaire lors du passage d'un devis à facture\n assetMarginVatIds?: number[]; // Laisser vide côté front, utilisé pour l'affichage des tva sur marge sur les acomptes\n advanceProducts?: ReadProductEditing[]; // Laisser vide côté front, utilisé pour l'affichage des bases TVA sur les acomptes\n language?: InvoiceLanguage; \n}\n\nexport class CreateCgv {\n @ApiProperty()\n cgv: string | null;\n}\n\nexport class CreateReminder {\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n beforeThree: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n dueDate: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n afterThree: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n afterSeven: boolean;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n subject?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n message?: string;\n\n @ApiProperty()\n @IsString()\n email: string;\n}\n\nexport class CreateRecurrence {\n @ApiProperty()\n @IsEnum(RecurrenceType)\n type: number;\n\n @ApiProperty()\n @IsDateString()\n startDate: string;\n\n @ApiProperty()\n @IsDateString()\n endDate: string;\n\n @ApiProperty()\n @ToBoolean()\n @IsBoolean()\n isActive: boolean;\n}\n\nexport class CreateRegenerateDocument {\n @ApiProperty()\n @IsString()\n label: string;\n\n @ApiProperty()\n @IsString()\n reference: string;\n\n @ApiProperty()\n @IsString()\n title: string;\n}\n\nexport type CreateMailHeader = {\n payload: {\n reference: string,\n dueDate: Date | null,\n idEstimateInvoiceType: EstimateInvoiceType,\n totalTaxExcluded: number,\n totalTaxIncluded: number,\n file?: IFile\n language: InvoiceLanguage\n },\n logoUrl: string | null,\n companyName: string,\n fileUrl: string | null,\n hostS3: string,\n hasVat: boolean\n};"]}
|
|
1
|
+
{"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/commercialManagement/Create.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,GAAG,GACrF,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAC3E,OAAO,EAAE,oBAAoB,EAA2C,MAAM,oCAAoC,CAAC;AACnH,OAAO,EAAE,m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IACX,SAAS,EAAE;;kDACQ;AAGtB,MAAM,OAAO,wBAAwB;IAGjC,KAAK,CAAS;IAId,SAAS,CAAS;IAIlB,KAAK,CAAS;CACjB;AATG;IAFD,WAAW,EAAE;IACb,QAAQ,EAAE;;uDACK;AAId;IAFD,WAAW,EAAE;IACb,QAAQ,EAAE;;2DACS;AAIlB;IAFD,WAAW,EAAE;IACb,QAAQ,EAAE;;uDACK","sourcesContent":["import {\n IsArray, IsBoolean, IsDateString, IsEnum, IsInt, IsNumber, IsOptional, IsString, Min,\n} from 'class-validator';\nimport { IFile, ReadProductEditing } from '../../..';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { AccountingCategoryId, FontIds, InvoiceLanguage, LogoAlignment } from '../../../Enum/CommercialManagement';\nimport { EstimateInvoiceType } from '../../../Enum/EstimateInvoice';\nimport { RecurrenceType } from '../../../Enum/RecurrenceType';\nimport { IProductInvoice } from '../../models/IProductInvoice';\nimport { ISocietyGescom } from '../../models/ISocietyGescom';\nimport { IThirdParty } from '../../models/IThirdParty';\n\nexport type IProductInvoiceToCreate = IProductInvoice & { save?: boolean };\n\nexport class CreateCommercialSetting {\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n @Min(0, {\n message: 'Capital should be positive',\n })\n capital?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n tvaCode?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n rcs?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n numberTradeDirectory?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n bank?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n iban?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n bic?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n mailContact?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n phoneContact?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n website?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n commercialName?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n penalties?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n discount?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n recoveryCost?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n vatMention?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n generatedBy?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n acceptCheque?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n mentionAutoent?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n startInvoice?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n startEstimate?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n dayOfValidity?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n paymentsAccepted?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n stripePaymentByDefault?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n displayLogo?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n invoiceCgv?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n color?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n freeInvoiceText?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n freeEstimateText?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n logoAlignment?: LogoAlignment | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idFont?: FontIds | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isEdgingDisplayed?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n edgingColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n fontColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isCoordinatesFrameDisplayed?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n areLinesSeparationHidden?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n areColumnsSeparationHidden?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n accountingCategory?: AccountingCategoryId;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n shouldPayTaxAfterDebit?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n shouldHideEmailHeader?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n shouldHideBrandName?: boolean;\n\n \n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n customerBlockBorderThickness?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n customerBlockBorderColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n lineSeparationThickness?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n lineSeparationType?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n lineSeparationColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n columnSeparationThickness?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n columnSeparationType?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n columnSeparationColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n externalBorderThickness?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n externalBorderType?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n externalBorderColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idRibFile?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSignatureFile?: number | null;\n}\n\nexport class CreateCommercialMail {\n @ApiProperty()\n @IsString()\n to: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n cc?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n bcc?: string;\n\n @ApiProperty()\n @IsString()\n subject: string;\n\n @ApiProperty()\n @IsString()\n content: string;\n}\n\nexport class CreateCommercialMailWithMultipleFiles extends CreateCommercialMail {\n idsFile: number[];\n}\n\nexport class CommercialDocumentInputs {\n @ApiProperty()\n legalForm: string | null;\n\n @ApiProperty()\n capital: number | null;\n\n @ApiProperty()\n siren: string | null;\n\n @ApiProperty()\n rcs: string | null;\n\n @ApiProperty()\n vatCode: string | null;\n\n @ApiProperty()\n nafCode: string | null;\n\n @ApiProperty()\n @IsString()\n reference: string;\n\n @ApiProperty()\n thirdParty: IThirdParty;\n\n @ApiProperty()\n @IsDateString()\n emissionDate: string;\n\n @ApiProperty()\n @IsDateString()\n dueDate: string;\n\n @ApiProperty({ description: 'Date d\\'expiration pour la facture d\\'acompte' })\n expirationDate: string | null;\n\n @ApiProperty({ description: 'Conditions de réglement' })\n termsOfPayment: string | null;\n\n @ApiProperty()\n @IsArray()\n products: Array<IProductInvoiceToCreate>;\n\n @ApiProperty({ description: 'Escompte' })\n discount: string | null;\n\n @ApiProperty()\n comment: string | null;\n\n @ApiProperty({ description: 'Pénalité de retard' })\n penalties: string | null;\n\n @ApiPropertyOptional({ description: 'Remise globale' })\n generalDiscount2: number | null;\n\n @ApiProperty({ description: 'Indemnité forfaitaire' })\n compensation: string | null;\n\n @ApiProperty()\n vatMention: string | null;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n disableVat: boolean;\n\n @ApiProperty()\n title: string | null;\n\n @ApiProperty({ description: 'Commercial name of seller' })\n @IsString()\n name: string;\n\n @ApiProperty({ description: 'Commercial number address of seller' })\n number?: string | null;\n\n @ApiProperty({ description: 'Commercial street address of seller' })\n street: string | null;\n\n @ApiProperty({ description: 'Commercial zip code address of seller' })\n zipCode: string | null;\n\n @ApiProperty({ description: 'Commercial city address of seller' })\n city: string | null;\n\n @ApiProperty()\n settings: ISocietyGescom;\n\n @ApiProperty()\n cgv: string | null;\n\n @ApiProperty()\n logoUrl: string | null;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isStripeAllowed: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isDraft: boolean;\n\n @ApiProperty()\n idEstimateInvoiceType: EstimateInvoiceType;\n\n @ApiProperty()\n accountingCategory: AccountingCategoryId;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n shouldPayTaxAfterDebit?: boolean;\n\n @ApiPropertyOptional({ description: 'Moyen de paiement' })\n paymentType?: string | null;\n}\n\nexport class CreatePreSaleDocument extends CommercialDocumentInputs {\n paymentLink?: '#';\n deposit?: undefined;\n fromEstimateId: undefined;\n assetMarginVatIds?: [];\n advanceProducts?: [];\n language?: InvoiceLanguage; \n}\nexport class CreateInvoiceDocument extends CommercialDocumentInputs {\n paymentLink?: string;\n deposit?: number;\n fromInvoiceId?: number | null; // Nécessaire lors de la création d'un avoir à partir d'une facture\n fromEstimateId: number | null; // Nécessaire lors du passage d'un devis à facture\n assetMarginVatIds?: number[]; // Laisser vide côté front, utilisé pour l'affichage des tva sur marge sur les acomptes\n advanceProducts?: ReadProductEditing[]; // Laisser vide côté front, utilisé pour l'affichage des bases TVA sur les acomptes\n language?: InvoiceLanguage; \n}\n\nexport class CreateCgv {\n @ApiProperty()\n cgv: string | null;\n}\n\nexport class CreateReminder {\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n beforeThree: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n dueDate: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n afterThree: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n afterSeven: boolean;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n subject?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n message?: string;\n\n @ApiProperty()\n @IsString()\n email: string;\n}\n\nexport class CreateRecurrence {\n @ApiProperty()\n @IsEnum(RecurrenceType)\n type: number;\n\n @ApiProperty()\n @IsDateString()\n startDate: string;\n\n @ApiProperty()\n @IsDateString()\n endDate: string;\n\n @ApiProperty()\n @ToBoolean()\n @IsBoolean()\n isActive: boolean;\n}\n\nexport class CreateRegenerateDocument {\n @ApiProperty()\n @IsString()\n label: string;\n\n @ApiProperty()\n @IsString()\n reference: string;\n\n @ApiProperty()\n @IsString()\n title: string;\n}\n\nexport type CreateMailHeader = {\n payload: {\n reference: string,\n dueDate: Date | null,\n idEstimateInvoiceType: EstimateInvoiceType,\n totalTaxExcluded: number,\n totalTaxIncluded: number,\n file?: IFile\n language: InvoiceLanguage\n },\n logoUrl: string | null,\n companyName: string,\n fileUrl: string | null,\n hostS3: string,\n hasVat: boolean\n};"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreatePartner.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/partner/CreatePartner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoC,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACjF,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"CreatePartner.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/partner/CreatePartner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoC,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACjF,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAGxD,qBAAa,aAAc,YAAW,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,EAAE,WAAW,GAAG,WAAW,GAAG,SAAS,CAAC;IAE1G,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,QAAQ,EAAE,MAAM,CAAC;IAEjB,SAAS,EAAE,MAAM,CAAC;IAKlB,aAAa,EAAE,WAAW,CAAC;IAI3B,uBAAuB,CAAC,EAAE,MAAM,CAAC;CACpC"}
|
|
@@ -9,6 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
};
|
|
10
10
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
11
11
|
import { PartnerType } from '../../..';
|
|
12
|
+
import { IsNumber, IsOptional } from 'class-validator';
|
|
12
13
|
export class CreatePartner {
|
|
13
14
|
firstname;
|
|
14
15
|
lastname;
|
|
@@ -17,6 +18,7 @@ export class CreatePartner {
|
|
|
17
18
|
fonction;
|
|
18
19
|
soldeInit;
|
|
19
20
|
idPartnerType;
|
|
21
|
+
maximalAmountForExpense;
|
|
20
22
|
}
|
|
21
23
|
__decorate([
|
|
22
24
|
ApiPropertyOptional(),
|
|
@@ -49,4 +51,10 @@ __decorate([
|
|
|
49
51
|
}),
|
|
50
52
|
__metadata("design:type", Number)
|
|
51
53
|
], CreatePartner.prototype, "idPartnerType", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
ApiPropertyOptional(),
|
|
56
|
+
IsNumber(),
|
|
57
|
+
IsOptional(),
|
|
58
|
+
__metadata("design:type", Number)
|
|
59
|
+
], CreatePartner.prototype, "maximalAmountForExpense", void 0);
|
|
52
60
|
//# sourceMappingURL=CreatePartner.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreatePartner.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/partner/CreatePartner.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAc,MAAM,mBAAmB,CAAC;AACjF,OAAO,EAAmB,WAAW,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"CreatePartner.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/partner/CreatePartner.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAc,MAAM,mBAAmB,CAAC;AACjF,OAAO,EAAmB,WAAW,EAAE,MAAM,UAAU,CAAC;AACxD,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAEvD,MAAM,OAAO,aAAa;IAEtB,SAAS,CAAU;IAEnB,QAAQ,CAAU;IAElB,OAAO,CAAU;IAEjB,KAAK,CAAU;IAEf,QAAQ,CAAS;IAEjB,SAAS,CAAS;IAKlB,aAAa,CAAc;IAI3B,uBAAuB,CAAU;CACpC;AApBG;IADD,mBAAmB,EAAE;;gDACD;AAEnB;IADD,mBAAmB,EAAE;;+CACF;AAElB;IADD,mBAAmB,EAAE;;8CACH;AAEjB;IADD,mBAAmB,EAAE;;4CACL;AAEf;IADD,WAAW,EAAE;;+CACK;AAEjB;IADD,WAAW,EAAE;;gDACM;AAKlB;IAJD,WAAW,CAAC;QACX,OAAO,EAAE,WAAW,CAAC,gBAAgB;QACrC,WAAW,EAAE,iDAAiD;KAC/D,CAAC;;oDAC2B;AAI3B;IAHD,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;8DACsB","sourcesContent":["import { ApiProperty, ApiPropertyOptional, BaseEntity } from '../../../../utils';\nimport { ISocietyPartner, PartnerType } from '../../..';\nimport { IsNumber, IsOptional } from 'class-validator';\n\nexport class CreatePartner implements Omit<BaseEntity<ISocietyPartner>, 'idAccount' | 'idSociety' | 'account'> {\n @ApiPropertyOptional()\n firstname?: string;\n @ApiPropertyOptional()\n lastname?: string;\n @ApiPropertyOptional()\n company?: string;\n @ApiPropertyOptional()\n siret?: string;\n @ApiProperty()\n fonction: string;\n @ApiProperty()\n soldeInit: number;\n @ApiProperty({\n default: PartnerType.PHYSICAL_PARTNER,\n description: 'You can retrieve the enum Partner Type in @core',\n })\n idPartnerType: PartnerType;\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n maximalAmountForExpense?: number;\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdatePartner.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/partner/UpdatePartner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoC,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACjF,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"UpdatePartner.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/partner/UpdatePartner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoC,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACjF,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAGxD,qBAAa,aAAc,YAAW,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,EAAE,WAAW,GAAG,WAAW,GAAG,SAAS,CAAC;IAE1G,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,QAAQ,EAAE,MAAM,CAAC;IAEjB,SAAS,EAAE,MAAM,CAAC;IAKlB,aAAa,EAAE,WAAW,CAAC;IAK3B,uBAAuB,CAAC,EAAE,MAAM,CAAC;CAEpC"}
|