@silexpert/core 1.1.331 → 1.1.333
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/AccountingFiles.d.ts.map +1 -1
- package/dist/cjs/api/resources/AccountingFiles.js +3 -0
- package/dist/cjs/api/resources/AccountingFiles.js.map +1 -1
- package/dist/cjs/api/resources/CompanyCreationForm.d.ts +10 -0
- package/dist/cjs/api/resources/CompanyCreationForm.d.ts.map +1 -0
- package/dist/cjs/api/resources/CompanyCreationForm.js +23 -0
- package/dist/cjs/api/resources/CompanyCreationForm.js.map +1 -0
- package/dist/cjs/api/resources/SalariesFile.d.ts +1 -1
- package/dist/cjs/api/resources/SalariesFile.d.ts.map +1 -1
- package/dist/cjs/api/resources/SalariesFile.js.map +1 -1
- 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/FiscalRegime.d.ts +5 -0
- package/dist/cjs/types/Enum/FiscalRegime.d.ts.map +1 -1
- package/dist/cjs/types/Enum/FiscalRegime.js +28 -1
- package/dist/cjs/types/Enum/FiscalRegime.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/accountingFiles/queryAccountingFiles.d.ts +1 -0
- package/dist/cjs/types/Interface/api/accountingFiles/queryAccountingFiles.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/accountingFiles/queryAccountingFiles.js +7 -0
- package/dist/cjs/types/Interface/api/accountingFiles/queryAccountingFiles.js.map +1 -1
- package/dist/cjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.d.ts +107 -0
- package/dist/cjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.js +3 -0
- package/dist/cjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.js.map +1 -0
- package/dist/cjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.d.ts +196 -0
- package/dist/cjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.js +737 -0
- package/dist/cjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.js.map +1 -0
- package/dist/cjs/types/Interface/api/companyCreationForm/UpdateCompanyCreationForm.d.ts +6 -0
- package/dist/cjs/types/Interface/api/companyCreationForm/UpdateCompanyCreationForm.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/companyCreationForm/UpdateCompanyCreationForm.js +24 -0
- package/dist/cjs/types/Interface/api/companyCreationForm/UpdateCompanyCreationForm.js.map +1 -0
- package/dist/cjs/types/Interface/api/societyConfig/update.d.ts +1 -0
- package/dist/cjs/types/Interface/api/societyConfig/update.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/societyConfig/update.js +7 -0
- package/dist/cjs/types/Interface/api/societyConfig/update.js.map +1 -1
- package/dist/cjs/types/Interface/api/vatDeclaration/QueryVatDeclaration.d.ts +1 -1
- package/dist/cjs/types/Interface/api/vatDeclaration/QueryVatDeclaration.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/vatDeclaration/QueryVatDeclaration.js +1 -0
- package/dist/cjs/types/Interface/api/vatDeclaration/QueryVatDeclaration.js.map +1 -1
- package/dist/cjs/types/Interface/api/vatDeclaration/ReadVatDeclaration.d.ts +18 -0
- package/dist/cjs/types/Interface/api/vatDeclaration/ReadVatDeclaration.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/vatDeclaration/ReadVatDeclaration.js +4 -1
- package/dist/cjs/types/Interface/api/vatDeclaration/ReadVatDeclaration.js.map +1 -1
- package/dist/cjs/types/Interface/models/ICompanyCreationForm.d.ts +12 -0
- package/dist/cjs/types/Interface/models/ICompanyCreationForm.d.ts.map +1 -0
- package/dist/cjs/types/Interface/models/ICompanyCreationForm.js +3 -0
- package/dist/cjs/types/Interface/models/ICompanyCreationForm.js.map +1 -0
- package/dist/cjs/types/Interface/models/ISocietyConfig.d.ts +1 -0
- 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/index.d.ts +4 -0
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +4 -0
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/cjs/utils/vat/3310/century23.js.map +1 -1
- package/dist/mjs/api/resources/AccountingFiles.d.ts.map +1 -1
- package/dist/mjs/api/resources/AccountingFiles.js +3 -0
- package/dist/mjs/api/resources/AccountingFiles.js.map +1 -1
- package/dist/mjs/api/resources/CompanyCreationForm.d.ts +10 -0
- package/dist/mjs/api/resources/CompanyCreationForm.d.ts.map +1 -0
- package/dist/mjs/api/resources/CompanyCreationForm.js +23 -0
- package/dist/mjs/api/resources/CompanyCreationForm.js.map +1 -0
- package/dist/mjs/api/resources/SalariesFile.d.ts +1 -1
- package/dist/mjs/api/resources/SalariesFile.d.ts.map +1 -1
- package/dist/mjs/api/resources/SalariesFile.js.map +1 -1
- 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/FiscalRegime.d.ts +5 -0
- package/dist/mjs/types/Enum/FiscalRegime.d.ts.map +1 -1
- package/dist/mjs/types/Enum/FiscalRegime.js +27 -0
- package/dist/mjs/types/Enum/FiscalRegime.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/accountingFiles/queryAccountingFiles.d.ts +1 -0
- package/dist/mjs/types/Interface/api/accountingFiles/queryAccountingFiles.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/accountingFiles/queryAccountingFiles.js +9 -1
- package/dist/mjs/types/Interface/api/accountingFiles/queryAccountingFiles.js.map +1 -1
- package/dist/mjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.d.ts +107 -0
- package/dist/mjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.js +2 -0
- package/dist/mjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.js.map +1 -0
- package/dist/mjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.d.ts +196 -0
- package/dist/mjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.js +897 -0
- package/dist/mjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.js.map +1 -0
- package/dist/mjs/types/Interface/api/companyCreationForm/UpdateCompanyCreationForm.d.ts +6 -0
- package/dist/mjs/types/Interface/api/companyCreationForm/UpdateCompanyCreationForm.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/companyCreationForm/UpdateCompanyCreationForm.js +21 -0
- package/dist/mjs/types/Interface/api/companyCreationForm/UpdateCompanyCreationForm.js.map +1 -0
- package/dist/mjs/types/Interface/api/societyConfig/update.d.ts +1 -0
- package/dist/mjs/types/Interface/api/societyConfig/update.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/societyConfig/update.js +8 -0
- package/dist/mjs/types/Interface/api/societyConfig/update.js.map +1 -1
- package/dist/mjs/types/Interface/api/vatDeclaration/QueryVatDeclaration.d.ts +1 -1
- package/dist/mjs/types/Interface/api/vatDeclaration/QueryVatDeclaration.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/vatDeclaration/QueryVatDeclaration.js +1 -0
- package/dist/mjs/types/Interface/api/vatDeclaration/QueryVatDeclaration.js.map +1 -1
- package/dist/mjs/types/Interface/api/vatDeclaration/ReadVatDeclaration.d.ts +18 -0
- package/dist/mjs/types/Interface/api/vatDeclaration/ReadVatDeclaration.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/vatDeclaration/ReadVatDeclaration.js +4 -0
- package/dist/mjs/types/Interface/api/vatDeclaration/ReadVatDeclaration.js.map +1 -1
- package/dist/mjs/types/Interface/models/ICompanyCreationForm.d.ts +12 -0
- package/dist/mjs/types/Interface/models/ICompanyCreationForm.d.ts.map +1 -0
- package/dist/mjs/types/Interface/models/ICompanyCreationForm.js +2 -0
- package/dist/mjs/types/Interface/models/ICompanyCreationForm.js.map +1 -0
- package/dist/mjs/types/Interface/models/ISocietyConfig.d.ts +1 -0
- 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/index.d.ts +4 -0
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +4 -0
- package/dist/mjs/types/index.js.map +1 -1
- package/dist/mjs/utils/vat/3310/century23.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/AccountingFiles.ts +5 -0
- package/ts/api/resources/CompanyCreationForm.ts +29 -0
- package/ts/api/resources/SalariesFile.ts +1 -1
- package/ts/api/resources.ts +2 -0
- package/ts/types/Enum/FiscalRegime.ts +28 -0
- package/ts/types/Enum/LegalForm.ts +10 -0
- package/ts/types/Interface/api/accountingFiles/queryAccountingFiles.ts +9 -1
- package/ts/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.ts +110 -0
- package/ts/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.ts +646 -0
- package/ts/types/Interface/api/companyCreationForm/UpdateCompanyCreationForm.ts +10 -0
- package/ts/types/Interface/api/societyConfig/update.ts +5 -0
- package/ts/types/Interface/api/vatDeclaration/QueryVatDeclaration.ts +2 -1
- package/ts/types/Interface/api/vatDeclaration/ReadVatDeclaration.ts +11 -0
- package/ts/types/Interface/models/ICompanyCreationForm.ts +13 -0
- package/ts/types/Interface/models/ISocietyConfig.ts +1 -0
- package/ts/types/index.ts +4 -0
- package/ts/utils/vat/3310/century23.ts +1 -1
|
@@ -0,0 +1,737 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
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;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.CreateCompanyCreationForm = exports.CreateCompanyCreationFormData = exports.BeneficiaryInfos = exports.CreateCompanyBusinessPartners = exports.ParentInfos = exports.ContributionInfos = exports.CreateBusinessPartnersUser = exports.MaritalStatusInfos = exports.CreateBusinessPartnersSociety = void 0;
|
|
13
|
+
const LegalForm_1 = require("../../../Enum/LegalForm");
|
|
14
|
+
const Activity_1 = require("../../../Enum/Activity");
|
|
15
|
+
const TaxSystem_1 = require("../../../Enum/TaxSystem");
|
|
16
|
+
const VatRegime_1 = require("../../../Enum/VatRegime");
|
|
17
|
+
const __1 = require("../../..");
|
|
18
|
+
const utils_1 = require("../../../../utils");
|
|
19
|
+
const class_validator_1 = require("class-validator");
|
|
20
|
+
const boolean_transform_1 = require("../../../../utils/transforms/boolean.transform");
|
|
21
|
+
class CreateBusinessPartnersSociety {
|
|
22
|
+
}
|
|
23
|
+
exports.CreateBusinessPartnersSociety = CreateBusinessPartnersSociety;
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, utils_1.ApiProperty)(),
|
|
26
|
+
(0, class_validator_1.IsInt)(),
|
|
27
|
+
__metadata("design:type", Number)
|
|
28
|
+
], CreateBusinessPartnersSociety.prototype, "idLegalForm", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, utils_1.ApiProperty)(),
|
|
31
|
+
(0, class_validator_1.IsString)(),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], CreateBusinessPartnersSociety.prototype, "name", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, utils_1.ApiProperty)(),
|
|
36
|
+
(0, class_validator_1.IsString)(),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], CreateBusinessPartnersSociety.prototype, "ownerName", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, utils_1.ApiProperty)(),
|
|
41
|
+
(0, class_validator_1.IsDate)(),
|
|
42
|
+
__metadata("design:type", Date)
|
|
43
|
+
], CreateBusinessPartnersSociety.prototype, "creationDate", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, utils_1.ApiProperty)(),
|
|
46
|
+
(0, class_validator_1.IsString)(),
|
|
47
|
+
__metadata("design:type", String)
|
|
48
|
+
], CreateBusinessPartnersSociety.prototype, "address", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
51
|
+
(0, class_validator_1.IsOptional)(),
|
|
52
|
+
(0, class_validator_1.IsString)(),
|
|
53
|
+
__metadata("design:type", String)
|
|
54
|
+
], CreateBusinessPartnersSociety.prototype, "additionalAddress", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, utils_1.ApiProperty)(),
|
|
57
|
+
(0, class_validator_1.IsString)(),
|
|
58
|
+
__metadata("design:type", String)
|
|
59
|
+
], CreateBusinessPartnersSociety.prototype, "zipCode", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
62
|
+
(0, class_validator_1.IsOptional)(),
|
|
63
|
+
(0, class_validator_1.IsString)(),
|
|
64
|
+
__metadata("design:type", String)
|
|
65
|
+
], CreateBusinessPartnersSociety.prototype, "city", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, utils_1.ApiProperty)(),
|
|
68
|
+
(0, class_validator_1.IsEnum)(__1.CountryId),
|
|
69
|
+
__metadata("design:type", Number)
|
|
70
|
+
], CreateBusinessPartnersSociety.prototype, "idCountry", void 0);
|
|
71
|
+
class MaritalStatusInfos {
|
|
72
|
+
}
|
|
73
|
+
exports.MaritalStatusInfos = MaritalStatusInfos;
|
|
74
|
+
__decorate([
|
|
75
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
76
|
+
(0, class_validator_1.IsOptional)(),
|
|
77
|
+
(0, class_validator_1.IsDate)(),
|
|
78
|
+
__metadata("design:type", Date)
|
|
79
|
+
], MaritalStatusInfos.prototype, "date", void 0);
|
|
80
|
+
__decorate([
|
|
81
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
82
|
+
(0, class_validator_1.IsOptional)(),
|
|
83
|
+
(0, class_validator_1.IsString)(),
|
|
84
|
+
__metadata("design:type", String)
|
|
85
|
+
], MaritalStatusInfos.prototype, "place", void 0);
|
|
86
|
+
__decorate([
|
|
87
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
88
|
+
(0, class_validator_1.IsOptional)(),
|
|
89
|
+
(0, class_validator_1.IsDate)(),
|
|
90
|
+
__metadata("design:type", Date)
|
|
91
|
+
], MaritalStatusInfos.prototype, "contractDate", void 0);
|
|
92
|
+
__decorate([
|
|
93
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
94
|
+
(0, class_validator_1.IsOptional)(),
|
|
95
|
+
(0, class_validator_1.IsString)(),
|
|
96
|
+
__metadata("design:type", String)
|
|
97
|
+
], MaritalStatusInfos.prototype, "notaryName", void 0);
|
|
98
|
+
__decorate([
|
|
99
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
100
|
+
(0, class_validator_1.IsOptional)(),
|
|
101
|
+
(0, class_validator_1.IsString)(),
|
|
102
|
+
__metadata("design:type", String)
|
|
103
|
+
], MaritalStatusInfos.prototype, "notaryAddress", void 0);
|
|
104
|
+
__decorate([
|
|
105
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
106
|
+
(0, class_validator_1.IsOptional)(),
|
|
107
|
+
(0, class_validator_1.IsString)(),
|
|
108
|
+
__metadata("design:type", String)
|
|
109
|
+
], MaritalStatusInfos.prototype, "spouseBirthname", void 0);
|
|
110
|
+
__decorate([
|
|
111
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
112
|
+
(0, class_validator_1.IsOptional)(),
|
|
113
|
+
(0, class_validator_1.IsEnum)(__1.NationalityId),
|
|
114
|
+
__metadata("design:type", Number)
|
|
115
|
+
], MaritalStatusInfos.prototype, "spouseIdNationality", void 0);
|
|
116
|
+
__decorate([
|
|
117
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
118
|
+
(0, class_validator_1.IsOptional)(),
|
|
119
|
+
(0, class_validator_1.IsDate)(),
|
|
120
|
+
__metadata("design:type", Date)
|
|
121
|
+
], MaritalStatusInfos.prototype, "spouseBirthdate", void 0);
|
|
122
|
+
__decorate([
|
|
123
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
124
|
+
(0, class_validator_1.IsOptional)(),
|
|
125
|
+
(0, class_validator_1.IsString)(),
|
|
126
|
+
__metadata("design:type", String)
|
|
127
|
+
], MaritalStatusInfos.prototype, "spouseBirthPlace", void 0);
|
|
128
|
+
__decorate([
|
|
129
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
130
|
+
(0, class_validator_1.IsOptional)(),
|
|
131
|
+
(0, class_validator_1.IsBoolean)(),
|
|
132
|
+
(0, boolean_transform_1.ToBoolean)(),
|
|
133
|
+
__metadata("design:type", Boolean)
|
|
134
|
+
], MaritalStatusInfos.prototype, "spouseWorkInCompany", void 0);
|
|
135
|
+
__decorate([
|
|
136
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
137
|
+
(0, class_validator_1.IsOptional)(),
|
|
138
|
+
(0, class_validator_1.IsBoolean)(),
|
|
139
|
+
(0, boolean_transform_1.ToBoolean)(),
|
|
140
|
+
__metadata("design:type", Boolean)
|
|
141
|
+
], MaritalStatusInfos.prototype, "spouseIsASalaried", void 0);
|
|
142
|
+
class CreateBusinessPartnersUser {
|
|
143
|
+
}
|
|
144
|
+
exports.CreateBusinessPartnersUser = CreateBusinessPartnersUser;
|
|
145
|
+
__decorate([
|
|
146
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
147
|
+
(0, class_validator_1.IsOptional)(),
|
|
148
|
+
(0, class_validator_1.IsInt)(),
|
|
149
|
+
__metadata("design:type", Number)
|
|
150
|
+
], CreateBusinessPartnersUser.prototype, "idUser", void 0);
|
|
151
|
+
__decorate([
|
|
152
|
+
(0, utils_1.ApiProperty)(),
|
|
153
|
+
(0, class_validator_1.IsString)(),
|
|
154
|
+
__metadata("design:type", String)
|
|
155
|
+
], CreateBusinessPartnersUser.prototype, "firstname", void 0);
|
|
156
|
+
__decorate([
|
|
157
|
+
(0, utils_1.ApiProperty)(),
|
|
158
|
+
(0, class_validator_1.IsString)(),
|
|
159
|
+
__metadata("design:type", String)
|
|
160
|
+
], CreateBusinessPartnersUser.prototype, "lastname", void 0);
|
|
161
|
+
__decorate([
|
|
162
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
163
|
+
(0, class_validator_1.IsOptional)(),
|
|
164
|
+
(0, class_validator_1.IsString)(),
|
|
165
|
+
__metadata("design:type", String)
|
|
166
|
+
], CreateBusinessPartnersUser.prototype, "birthname", void 0);
|
|
167
|
+
__decorate([
|
|
168
|
+
(0, utils_1.ApiProperty)(),
|
|
169
|
+
(0, class_validator_1.IsEnum)(__1.NationalityId),
|
|
170
|
+
__metadata("design:type", Number)
|
|
171
|
+
], CreateBusinessPartnersUser.prototype, "idNationality", void 0);
|
|
172
|
+
__decorate([
|
|
173
|
+
(0, utils_1.ApiProperty)(),
|
|
174
|
+
(0, class_validator_1.IsDate)(),
|
|
175
|
+
__metadata("design:type", Date)
|
|
176
|
+
], CreateBusinessPartnersUser.prototype, "birthdate", void 0);
|
|
177
|
+
__decorate([
|
|
178
|
+
(0, utils_1.ApiProperty)(),
|
|
179
|
+
(0, class_validator_1.IsString)(),
|
|
180
|
+
__metadata("design:type", String)
|
|
181
|
+
], CreateBusinessPartnersUser.prototype, "cityOfBirth", void 0);
|
|
182
|
+
__decorate([
|
|
183
|
+
(0, utils_1.ApiProperty)(),
|
|
184
|
+
(0, class_validator_1.IsEnum)(__1.CountryId),
|
|
185
|
+
__metadata("design:type", Number)
|
|
186
|
+
], CreateBusinessPartnersUser.prototype, "idCountryBirth", void 0);
|
|
187
|
+
__decorate([
|
|
188
|
+
(0, utils_1.ApiProperty)(),
|
|
189
|
+
(0, class_validator_1.IsBoolean)(),
|
|
190
|
+
(0, boolean_transform_1.ToBoolean)(),
|
|
191
|
+
__metadata("design:type", Boolean)
|
|
192
|
+
], CreateBusinessPartnersUser.prototype, "isOwner", void 0);
|
|
193
|
+
__decorate([
|
|
194
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
195
|
+
(0, class_validator_1.IsOptional)(),
|
|
196
|
+
(0, class_validator_1.IsEnum)(__1.Quality),
|
|
197
|
+
__metadata("design:type", Number)
|
|
198
|
+
], CreateBusinessPartnersUser.prototype, "idQuality", void 0);
|
|
199
|
+
__decorate([
|
|
200
|
+
(0, utils_1.ApiProperty)(),
|
|
201
|
+
(0, class_validator_1.IsEnum)(__1.MaritalStatus),
|
|
202
|
+
__metadata("design:type", Number)
|
|
203
|
+
], CreateBusinessPartnersUser.prototype, "idMaritalStatus", void 0);
|
|
204
|
+
__decorate([
|
|
205
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
206
|
+
(0, class_validator_1.IsOptional)(),
|
|
207
|
+
(0, class_validator_1.IsString)(),
|
|
208
|
+
__metadata("design:type", MaritalStatusInfos)
|
|
209
|
+
], CreateBusinessPartnersUser.prototype, "maritalStatus", void 0);
|
|
210
|
+
__decorate([
|
|
211
|
+
(0, utils_1.ApiProperty)(),
|
|
212
|
+
(0, class_validator_1.IsString)(),
|
|
213
|
+
__metadata("design:type", String)
|
|
214
|
+
], CreateBusinessPartnersUser.prototype, "address", void 0);
|
|
215
|
+
__decorate([
|
|
216
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
217
|
+
(0, class_validator_1.IsOptional)(),
|
|
218
|
+
(0, class_validator_1.IsString)(),
|
|
219
|
+
__metadata("design:type", String)
|
|
220
|
+
], CreateBusinessPartnersUser.prototype, "additionalAddress", void 0);
|
|
221
|
+
__decorate([
|
|
222
|
+
(0, utils_1.ApiProperty)(),
|
|
223
|
+
(0, class_validator_1.IsString)(),
|
|
224
|
+
__metadata("design:type", String)
|
|
225
|
+
], CreateBusinessPartnersUser.prototype, "zipCode", void 0);
|
|
226
|
+
__decorate([
|
|
227
|
+
(0, utils_1.ApiProperty)(),
|
|
228
|
+
(0, class_validator_1.IsString)(),
|
|
229
|
+
__metadata("design:type", String)
|
|
230
|
+
], CreateBusinessPartnersUser.prototype, "city", void 0);
|
|
231
|
+
__decorate([
|
|
232
|
+
(0, utils_1.ApiProperty)(),
|
|
233
|
+
(0, class_validator_1.IsString)(),
|
|
234
|
+
__metadata("design:type", String)
|
|
235
|
+
], CreateBusinessPartnersUser.prototype, "prefix", void 0);
|
|
236
|
+
__decorate([
|
|
237
|
+
(0, utils_1.ApiProperty)(),
|
|
238
|
+
(0, class_validator_1.IsString)(),
|
|
239
|
+
__metadata("design:type", String)
|
|
240
|
+
], CreateBusinessPartnersUser.prototype, "phone", void 0);
|
|
241
|
+
__decorate([
|
|
242
|
+
(0, utils_1.ApiProperty)(),
|
|
243
|
+
(0, class_validator_1.IsString)(),
|
|
244
|
+
__metadata("design:type", String)
|
|
245
|
+
], CreateBusinessPartnersUser.prototype, "email", void 0);
|
|
246
|
+
class ContributionInfos {
|
|
247
|
+
}
|
|
248
|
+
exports.ContributionInfos = ContributionInfos;
|
|
249
|
+
__decorate([
|
|
250
|
+
(0, utils_1.ApiProperty)(),
|
|
251
|
+
(0, class_validator_1.IsString)(),
|
|
252
|
+
__metadata("design:type", String)
|
|
253
|
+
], ContributionInfos.prototype, "sourceOfFunds", void 0);
|
|
254
|
+
__decorate([
|
|
255
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
256
|
+
(0, class_validator_1.IsOptional)(),
|
|
257
|
+
(0, class_validator_1.IsString)(),
|
|
258
|
+
__metadata("design:type", String)
|
|
259
|
+
], ContributionInfos.prototype, "description", void 0);
|
|
260
|
+
__decorate([
|
|
261
|
+
(0, utils_1.ApiProperty)(),
|
|
262
|
+
(0, class_validator_1.IsNumber)(),
|
|
263
|
+
__metadata("design:type", Number)
|
|
264
|
+
], ContributionInfos.prototype, "amount", void 0);
|
|
265
|
+
__decorate([
|
|
266
|
+
(0, utils_1.ApiProperty)(),
|
|
267
|
+
(0, class_validator_1.IsBoolean)(),
|
|
268
|
+
(0, boolean_transform_1.ToBoolean)(),
|
|
269
|
+
__metadata("design:type", Boolean)
|
|
270
|
+
], ContributionInfos.prototype, "isPercentage", void 0);
|
|
271
|
+
class ParentInfos {
|
|
272
|
+
}
|
|
273
|
+
exports.ParentInfos = ParentInfos;
|
|
274
|
+
__decorate([
|
|
275
|
+
(0, utils_1.ApiProperty)(),
|
|
276
|
+
(0, class_validator_1.IsString)(),
|
|
277
|
+
__metadata("design:type", String)
|
|
278
|
+
], ParentInfos.prototype, "firstname", void 0);
|
|
279
|
+
__decorate([
|
|
280
|
+
(0, utils_1.ApiProperty)(),
|
|
281
|
+
(0, class_validator_1.IsString)(),
|
|
282
|
+
__metadata("design:type", String)
|
|
283
|
+
], ParentInfos.prototype, "lastname", void 0);
|
|
284
|
+
__decorate([
|
|
285
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
286
|
+
(0, class_validator_1.IsOptional)(),
|
|
287
|
+
(0, class_validator_1.IsString)(),
|
|
288
|
+
__metadata("design:type", String)
|
|
289
|
+
], ParentInfos.prototype, "birthname", void 0);
|
|
290
|
+
class CreateCompanyBusinessPartners {
|
|
291
|
+
}
|
|
292
|
+
exports.CreateCompanyBusinessPartners = CreateCompanyBusinessPartners;
|
|
293
|
+
__decorate([
|
|
294
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
295
|
+
(0, class_validator_1.IsOptional)(),
|
|
296
|
+
(0, class_validator_1.IsBoolean)(),
|
|
297
|
+
(0, boolean_transform_1.ToBoolean)(),
|
|
298
|
+
__metadata("design:type", Boolean)
|
|
299
|
+
], CreateCompanyBusinessPartners.prototype, "isPhysical", void 0);
|
|
300
|
+
__decorate([
|
|
301
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
302
|
+
(0, class_validator_1.IsOptional)(),
|
|
303
|
+
__metadata("design:type", Array)
|
|
304
|
+
], CreateCompanyBusinessPartners.prototype, "parents", void 0);
|
|
305
|
+
__decorate([
|
|
306
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
307
|
+
(0, class_validator_1.IsOptional)(),
|
|
308
|
+
__metadata("design:type", CreateBusinessPartnersUser)
|
|
309
|
+
], CreateCompanyBusinessPartners.prototype, "user", void 0);
|
|
310
|
+
__decorate([
|
|
311
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
312
|
+
(0, class_validator_1.IsOptional)(),
|
|
313
|
+
__metadata("design:type", CreateBusinessPartnersSociety)
|
|
314
|
+
], CreateCompanyBusinessPartners.prototype, "society", void 0);
|
|
315
|
+
__decorate([
|
|
316
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
317
|
+
(0, class_validator_1.IsOptional)(),
|
|
318
|
+
__metadata("design:type", ContributionInfos)
|
|
319
|
+
], CreateCompanyBusinessPartners.prototype, "contribution", void 0);
|
|
320
|
+
class BeneficiaryInfos {
|
|
321
|
+
}
|
|
322
|
+
exports.BeneficiaryInfos = BeneficiaryInfos;
|
|
323
|
+
__decorate([
|
|
324
|
+
(0, utils_1.ApiProperty)(),
|
|
325
|
+
(0, class_validator_1.IsString)(),
|
|
326
|
+
__metadata("design:type", String)
|
|
327
|
+
], BeneficiaryInfos.prototype, "parentalLink", void 0);
|
|
328
|
+
__decorate([
|
|
329
|
+
(0, utils_1.ApiProperty)(),
|
|
330
|
+
(0, class_validator_1.IsString)(),
|
|
331
|
+
__metadata("design:type", String)
|
|
332
|
+
], BeneficiaryInfos.prototype, "firstname", void 0);
|
|
333
|
+
__decorate([
|
|
334
|
+
(0, utils_1.ApiProperty)(),
|
|
335
|
+
(0, class_validator_1.IsString)(),
|
|
336
|
+
__metadata("design:type", String)
|
|
337
|
+
], BeneficiaryInfos.prototype, "lastname", void 0);
|
|
338
|
+
__decorate([
|
|
339
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
340
|
+
(0, class_validator_1.IsOptional)(),
|
|
341
|
+
(0, class_validator_1.IsString)(),
|
|
342
|
+
__metadata("design:type", String)
|
|
343
|
+
], BeneficiaryInfos.prototype, "birthname", void 0);
|
|
344
|
+
__decorate([
|
|
345
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
346
|
+
(0, class_validator_1.IsOptional)(),
|
|
347
|
+
(0, class_validator_1.IsString)(),
|
|
348
|
+
__metadata("design:type", String)
|
|
349
|
+
], BeneficiaryInfos.prototype, "gender", void 0);
|
|
350
|
+
__decorate([
|
|
351
|
+
(0, utils_1.ApiProperty)(),
|
|
352
|
+
(0, class_validator_1.IsDate)(),
|
|
353
|
+
__metadata("design:type", Date)
|
|
354
|
+
], BeneficiaryInfos.prototype, "birthdate", void 0);
|
|
355
|
+
__decorate([
|
|
356
|
+
(0, utils_1.ApiProperty)(),
|
|
357
|
+
(0, class_validator_1.IsString)(),
|
|
358
|
+
__metadata("design:type", String)
|
|
359
|
+
], BeneficiaryInfos.prototype, "birthPlace", void 0);
|
|
360
|
+
__decorate([
|
|
361
|
+
(0, utils_1.ApiProperty)(),
|
|
362
|
+
(0, class_validator_1.IsString)(),
|
|
363
|
+
__metadata("design:type", String)
|
|
364
|
+
], BeneficiaryInfos.prototype, "birthZipCode", void 0);
|
|
365
|
+
__decorate([
|
|
366
|
+
(0, utils_1.ApiProperty)(),
|
|
367
|
+
(0, class_validator_1.IsString)(),
|
|
368
|
+
__metadata("design:type", String)
|
|
369
|
+
], BeneficiaryInfos.prototype, "socialSecurityNumber", void 0);
|
|
370
|
+
__decorate([
|
|
371
|
+
(0, utils_1.ApiProperty)(),
|
|
372
|
+
(0, class_validator_1.IsEnum)(__1.NationalityId),
|
|
373
|
+
__metadata("design:type", Number)
|
|
374
|
+
], BeneficiaryInfos.prototype, "idNationality", void 0);
|
|
375
|
+
class CreateCompanyCreationFormData {
|
|
376
|
+
}
|
|
377
|
+
exports.CreateCompanyCreationFormData = CreateCompanyCreationFormData;
|
|
378
|
+
__decorate([
|
|
379
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
380
|
+
(0, class_validator_1.IsOptional)(),
|
|
381
|
+
(0, class_validator_1.IsEnum)(LegalForm_1.LegalFormTypeEnum),
|
|
382
|
+
__metadata("design:type", Number)
|
|
383
|
+
], CreateCompanyCreationFormData.prototype, "idLegalForm", void 0);
|
|
384
|
+
__decorate([
|
|
385
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
386
|
+
(0, class_validator_1.IsOptional)(),
|
|
387
|
+
(0, class_validator_1.IsString)(),
|
|
388
|
+
__metadata("design:type", String)
|
|
389
|
+
], CreateCompanyCreationFormData.prototype, "name", void 0);
|
|
390
|
+
__decorate([
|
|
391
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
392
|
+
(0, class_validator_1.IsOptional)(),
|
|
393
|
+
(0, class_validator_1.IsString)(),
|
|
394
|
+
__metadata("design:type", String)
|
|
395
|
+
], CreateCompanyCreationFormData.prototype, "sigle", void 0);
|
|
396
|
+
__decorate([
|
|
397
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
398
|
+
(0, class_validator_1.IsOptional)(),
|
|
399
|
+
(0, class_validator_1.IsString)(),
|
|
400
|
+
__metadata("design:type", String)
|
|
401
|
+
], CreateCompanyCreationFormData.prototype, "commercialName", void 0);
|
|
402
|
+
__decorate([
|
|
403
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
404
|
+
(0, class_validator_1.IsOptional)(),
|
|
405
|
+
(0, class_validator_1.IsString)(),
|
|
406
|
+
__metadata("design:type", String)
|
|
407
|
+
], CreateCompanyCreationFormData.prototype, "signboard", void 0);
|
|
408
|
+
__decorate([
|
|
409
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
410
|
+
(0, class_validator_1.IsOptional)(),
|
|
411
|
+
(0, class_validator_1.IsBoolean)(),
|
|
412
|
+
(0, boolean_transform_1.ToBoolean)(),
|
|
413
|
+
__metadata("design:type", Boolean)
|
|
414
|
+
], CreateCompanyCreationFormData.prototype, "wantToBeContactedForDeposition", void 0);
|
|
415
|
+
__decorate([
|
|
416
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
417
|
+
(0, class_validator_1.IsOptional)(),
|
|
418
|
+
(0, class_validator_1.IsEnum)(Activity_1.Activity),
|
|
419
|
+
__metadata("design:type", Number)
|
|
420
|
+
], CreateCompanyCreationFormData.prototype, "idActivity", void 0);
|
|
421
|
+
__decorate([
|
|
422
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
423
|
+
(0, class_validator_1.IsOptional)(),
|
|
424
|
+
(0, class_validator_1.IsString)(),
|
|
425
|
+
__metadata("design:type", String)
|
|
426
|
+
], CreateCompanyCreationFormData.prototype, "modeOfSale", void 0);
|
|
427
|
+
__decorate([
|
|
428
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
429
|
+
(0, class_validator_1.IsOptional)(),
|
|
430
|
+
(0, class_validator_1.IsString)(),
|
|
431
|
+
__metadata("design:type", String)
|
|
432
|
+
], CreateCompanyCreationFormData.prototype, "modeOfSaleDescription", void 0);
|
|
433
|
+
__decorate([
|
|
434
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
435
|
+
(0, class_validator_1.IsOptional)(),
|
|
436
|
+
(0, class_validator_1.IsNumber)(),
|
|
437
|
+
__metadata("design:type", Number)
|
|
438
|
+
], CreateCompanyCreationFormData.prototype, "surfaceArea", void 0);
|
|
439
|
+
__decorate([
|
|
440
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
441
|
+
(0, class_validator_1.IsOptional)(),
|
|
442
|
+
(0, class_validator_1.IsBoolean)(),
|
|
443
|
+
(0, boolean_transform_1.ToBoolean)(),
|
|
444
|
+
__metadata("design:type", Boolean)
|
|
445
|
+
], CreateCompanyCreationFormData.prototype, "isActivitySubjectToObligation", void 0);
|
|
446
|
+
__decorate([
|
|
447
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
448
|
+
(0, class_validator_1.IsOptional)(),
|
|
449
|
+
(0, class_validator_1.IsString)(),
|
|
450
|
+
__metadata("design:type", String)
|
|
451
|
+
], CreateCompanyCreationFormData.prototype, "address", void 0);
|
|
452
|
+
__decorate([
|
|
453
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
454
|
+
(0, class_validator_1.IsOptional)(),
|
|
455
|
+
(0, class_validator_1.IsString)(),
|
|
456
|
+
__metadata("design:type", String)
|
|
457
|
+
], CreateCompanyCreationFormData.prototype, "additionalAddress", void 0);
|
|
458
|
+
__decorate([
|
|
459
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
460
|
+
(0, class_validator_1.IsOptional)(),
|
|
461
|
+
(0, class_validator_1.IsString)(),
|
|
462
|
+
__metadata("design:type", String)
|
|
463
|
+
], CreateCompanyCreationFormData.prototype, "zipCode", void 0);
|
|
464
|
+
__decorate([
|
|
465
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
466
|
+
(0, class_validator_1.IsOptional)(),
|
|
467
|
+
(0, class_validator_1.IsString)(),
|
|
468
|
+
__metadata("design:type", String)
|
|
469
|
+
], CreateCompanyCreationFormData.prototype, "city", void 0);
|
|
470
|
+
__decorate([
|
|
471
|
+
(0, utils_1.ApiProperty)(),
|
|
472
|
+
(0, class_validator_1.IsString)(),
|
|
473
|
+
__metadata("design:type", String)
|
|
474
|
+
], CreateCompanyCreationFormData.prototype, "type", void 0);
|
|
475
|
+
__decorate([
|
|
476
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
477
|
+
(0, class_validator_1.IsString)(),
|
|
478
|
+
__metadata("design:type", String)
|
|
479
|
+
], CreateCompanyCreationFormData.prototype, "sourceOfFunds", void 0);
|
|
480
|
+
__decorate([
|
|
481
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
482
|
+
(0, class_validator_1.IsString)(),
|
|
483
|
+
(0, class_validator_1.IsIn)(['owner', 'tenant']),
|
|
484
|
+
__metadata("design:type", String)
|
|
485
|
+
], CreateCompanyCreationFormData.prototype, "headOfficeOccupationType", void 0);
|
|
486
|
+
__decorate([
|
|
487
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
488
|
+
(0, class_validator_1.IsBoolean)(),
|
|
489
|
+
(0, boolean_transform_1.ToBoolean)(),
|
|
490
|
+
__metadata("design:type", Boolean)
|
|
491
|
+
], CreateCompanyCreationFormData.prototype, "isActivityAtDifferentAddress", void 0);
|
|
492
|
+
__decorate([
|
|
493
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
494
|
+
(0, class_validator_1.IsString)(),
|
|
495
|
+
__metadata("design:type", String)
|
|
496
|
+
], CreateCompanyCreationFormData.prototype, "activityAddress", void 0);
|
|
497
|
+
__decorate([
|
|
498
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
499
|
+
(0, class_validator_1.IsString)(),
|
|
500
|
+
__metadata("design:type", String)
|
|
501
|
+
], CreateCompanyCreationFormData.prototype, "additionalActivityAddress", void 0);
|
|
502
|
+
__decorate([
|
|
503
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
504
|
+
(0, class_validator_1.IsString)(),
|
|
505
|
+
__metadata("design:type", String)
|
|
506
|
+
], CreateCompanyCreationFormData.prototype, "zipCodeActivity", void 0);
|
|
507
|
+
__decorate([
|
|
508
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
509
|
+
(0, class_validator_1.IsString)(),
|
|
510
|
+
__metadata("design:type", String)
|
|
511
|
+
], CreateCompanyCreationFormData.prototype, "cityActivity", void 0);
|
|
512
|
+
__decorate([
|
|
513
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
514
|
+
(0, class_validator_1.IsOptional)(),
|
|
515
|
+
(0, class_validator_1.IsBoolean)(),
|
|
516
|
+
(0, boolean_transform_1.ToBoolean)(),
|
|
517
|
+
__metadata("design:type", Boolean)
|
|
518
|
+
], CreateCompanyCreationFormData.prototype, "wantToBeContactedForHeadOffice", void 0);
|
|
519
|
+
__decorate([
|
|
520
|
+
(0, utils_1.ApiProperty)(),
|
|
521
|
+
(0, class_validator_1.IsDate)(),
|
|
522
|
+
__metadata("design:type", Date)
|
|
523
|
+
], CreateCompanyCreationFormData.prototype, "startDate", void 0);
|
|
524
|
+
__decorate([
|
|
525
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
526
|
+
(0, class_validator_1.IsOptional)(),
|
|
527
|
+
(0, class_validator_1.IsDate)(),
|
|
528
|
+
__metadata("design:type", Date)
|
|
529
|
+
], CreateCompanyCreationFormData.prototype, "endDate", void 0);
|
|
530
|
+
__decorate([
|
|
531
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
532
|
+
(0, class_validator_1.IsOptional)(),
|
|
533
|
+
(0, class_validator_1.IsBoolean)(),
|
|
534
|
+
(0, boolean_transform_1.ToBoolean)(),
|
|
535
|
+
__metadata("design:type", Boolean)
|
|
536
|
+
], CreateCompanyCreationFormData.prototype, "wantToStartActivityNow", void 0);
|
|
537
|
+
__decorate([
|
|
538
|
+
(0, utils_1.ApiProperty)(),
|
|
539
|
+
(0, class_validator_1.IsNumber)(),
|
|
540
|
+
__metadata("design:type", Number)
|
|
541
|
+
], CreateCompanyCreationFormData.prototype, "nbEmployees", void 0);
|
|
542
|
+
__decorate([
|
|
543
|
+
(0, utils_1.ApiProperty)(),
|
|
544
|
+
(0, class_validator_1.IsNumber)(),
|
|
545
|
+
__metadata("design:type", Number)
|
|
546
|
+
], CreateCompanyCreationFormData.prototype, "nbApprentices", void 0);
|
|
547
|
+
__decorate([
|
|
548
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
549
|
+
(0, class_validator_1.IsOptional)(),
|
|
550
|
+
(0, class_validator_1.IsEnum)(TaxSystem_1.TaxSystem),
|
|
551
|
+
__metadata("design:type", Number)
|
|
552
|
+
], CreateCompanyCreationFormData.prototype, "idTaxSystem", void 0);
|
|
553
|
+
__decorate([
|
|
554
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
555
|
+
(0, class_validator_1.IsOptional)(),
|
|
556
|
+
(0, class_validator_1.IsEnum)(VatRegime_1.VatRegime),
|
|
557
|
+
__metadata("design:type", Number)
|
|
558
|
+
], CreateCompanyCreationFormData.prototype, "idVatRegime", void 0);
|
|
559
|
+
__decorate([
|
|
560
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
561
|
+
(0, class_validator_1.IsOptional)(),
|
|
562
|
+
(0, class_validator_1.IsString)(),
|
|
563
|
+
__metadata("design:type", String)
|
|
564
|
+
], CreateCompanyCreationFormData.prototype, "fiscalRegime", void 0);
|
|
565
|
+
__decorate([
|
|
566
|
+
(0, utils_1.ApiProperty)(),
|
|
567
|
+
__metadata("design:type", Array)
|
|
568
|
+
], CreateCompanyCreationFormData.prototype, "partners", void 0);
|
|
569
|
+
__decorate([
|
|
570
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
571
|
+
(0, class_validator_1.IsOptional)(),
|
|
572
|
+
(0, class_validator_1.IsString)(),
|
|
573
|
+
__metadata("design:type", String)
|
|
574
|
+
], CreateCompanyCreationFormData.prototype, "socialSecurityNumber", void 0);
|
|
575
|
+
__decorate([
|
|
576
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
577
|
+
(0, class_validator_1.IsOptional)(),
|
|
578
|
+
(0, class_validator_1.IsString)(),
|
|
579
|
+
__metadata("design:type", String)
|
|
580
|
+
], CreateCompanyCreationFormData.prototype, "socialRegime", void 0);
|
|
581
|
+
__decorate([
|
|
582
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
583
|
+
(0, class_validator_1.IsOptional)(),
|
|
584
|
+
(0, class_validator_1.IsBoolean)(),
|
|
585
|
+
(0, boolean_transform_1.ToBoolean)(),
|
|
586
|
+
__metadata("design:type", Boolean)
|
|
587
|
+
], CreateCompanyCreationFormData.prototype, "hasAlreadyHaveSelfEmployedActivity", void 0);
|
|
588
|
+
__decorate([
|
|
589
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
590
|
+
(0, class_validator_1.IsOptional)(),
|
|
591
|
+
(0, class_validator_1.IsString)(),
|
|
592
|
+
__metadata("design:type", String)
|
|
593
|
+
], CreateCompanyCreationFormData.prototype, "selfEmployedActivitySiren", void 0);
|
|
594
|
+
__decorate([
|
|
595
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
596
|
+
(0, class_validator_1.IsOptional)(),
|
|
597
|
+
(0, class_validator_1.IsString)(),
|
|
598
|
+
__metadata("design:type", String)
|
|
599
|
+
], CreateCompanyCreationFormData.prototype, "selfEmployedActivityType", void 0);
|
|
600
|
+
__decorate([
|
|
601
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
602
|
+
(0, class_validator_1.IsOptional)(),
|
|
603
|
+
(0, class_validator_1.IsString)(),
|
|
604
|
+
__metadata("design:type", String)
|
|
605
|
+
], CreateCompanyCreationFormData.prototype, "selfEmployedActivityZipCode", void 0);
|
|
606
|
+
__decorate([
|
|
607
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
608
|
+
(0, class_validator_1.IsOptional)(),
|
|
609
|
+
(0, class_validator_1.IsString)(),
|
|
610
|
+
__metadata("design:type", String)
|
|
611
|
+
], CreateCompanyCreationFormData.prototype, "selfEmployedActivityCity", void 0);
|
|
612
|
+
__decorate([
|
|
613
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
614
|
+
(0, class_validator_1.IsOptional)(),
|
|
615
|
+
(0, class_validator_1.IsDate)(),
|
|
616
|
+
__metadata("design:type", Date)
|
|
617
|
+
], CreateCompanyCreationFormData.prototype, "selfEmployedActivityEndDate", void 0);
|
|
618
|
+
__decorate([
|
|
619
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
620
|
+
(0, class_validator_1.IsOptional)(),
|
|
621
|
+
(0, class_validator_1.IsString)(),
|
|
622
|
+
__metadata("design:type", String)
|
|
623
|
+
], CreateCompanyCreationFormData.prototype, "parallelActivityType", void 0);
|
|
624
|
+
__decorate([
|
|
625
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
626
|
+
(0, class_validator_1.IsOptional)(),
|
|
627
|
+
(0, class_validator_1.IsBoolean)(),
|
|
628
|
+
(0, boolean_transform_1.ToBoolean)(),
|
|
629
|
+
__metadata("design:type", Boolean)
|
|
630
|
+
], CreateCompanyCreationFormData.prototype, "hasSelectedHealthInsurance", void 0);
|
|
631
|
+
__decorate([
|
|
632
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
633
|
+
(0, class_validator_1.IsOptional)(),
|
|
634
|
+
(0, class_validator_1.IsBoolean)(),
|
|
635
|
+
(0, boolean_transform_1.ToBoolean)(),
|
|
636
|
+
__metadata("design:type", Boolean)
|
|
637
|
+
], CreateCompanyCreationFormData.prototype, "spouseHasHealthInsurance", void 0);
|
|
638
|
+
__decorate([
|
|
639
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
640
|
+
(0, class_validator_1.IsOptional)(),
|
|
641
|
+
(0, class_validator_1.IsString)(),
|
|
642
|
+
__metadata("design:type", String)
|
|
643
|
+
], CreateCompanyCreationFormData.prototype, "spouseAssociatedWithTheCompany", void 0);
|
|
644
|
+
__decorate([
|
|
645
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
646
|
+
(0, class_validator_1.IsOptional)(),
|
|
647
|
+
(0, class_validator_1.IsNumber)(),
|
|
648
|
+
__metadata("design:type", Number)
|
|
649
|
+
], CreateCompanyCreationFormData.prototype, "nbChildren", void 0);
|
|
650
|
+
__decorate([
|
|
651
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
652
|
+
(0, class_validator_1.IsOptional)(),
|
|
653
|
+
(0, class_validator_1.IsBoolean)(),
|
|
654
|
+
(0, boolean_transform_1.ToBoolean)(),
|
|
655
|
+
__metadata("design:type", Boolean)
|
|
656
|
+
], CreateCompanyCreationFormData.prototype, "hasBeneficiaries", void 0);
|
|
657
|
+
__decorate([
|
|
658
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
659
|
+
__metadata("design:type", Array)
|
|
660
|
+
], CreateCompanyCreationFormData.prototype, "beneficiaries", void 0);
|
|
661
|
+
__decorate([
|
|
662
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
663
|
+
(0, class_validator_1.IsOptional)(),
|
|
664
|
+
(0, class_validator_1.IsNumber)(),
|
|
665
|
+
__metadata("design:type", Number)
|
|
666
|
+
], CreateCompanyCreationFormData.prototype, "capitalAmount", void 0);
|
|
667
|
+
__decorate([
|
|
668
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
669
|
+
(0, class_validator_1.IsOptional)(),
|
|
670
|
+
(0, class_validator_1.IsBoolean)(),
|
|
671
|
+
(0, boolean_transform_1.ToBoolean)(),
|
|
672
|
+
__metadata("design:type", Boolean)
|
|
673
|
+
], CreateCompanyCreationFormData.prototype, "isAContributionInKind", void 0);
|
|
674
|
+
__decorate([
|
|
675
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
676
|
+
(0, class_validator_1.IsOptional)(),
|
|
677
|
+
(0, class_validator_1.IsString)(),
|
|
678
|
+
__metadata("design:type", String)
|
|
679
|
+
], CreateCompanyCreationFormData.prototype, "contributionInKindDescription", void 0);
|
|
680
|
+
__decorate([
|
|
681
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
682
|
+
(0, class_validator_1.IsOptional)(),
|
|
683
|
+
(0, class_validator_1.IsString)(),
|
|
684
|
+
__metadata("design:type", String)
|
|
685
|
+
], CreateCompanyCreationFormData.prototype, "bankName", void 0);
|
|
686
|
+
__decorate([
|
|
687
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
688
|
+
(0, class_validator_1.IsOptional)(),
|
|
689
|
+
(0, class_validator_1.IsString)(),
|
|
690
|
+
__metadata("design:type", String)
|
|
691
|
+
], CreateCompanyCreationFormData.prototype, "bankAddress", void 0);
|
|
692
|
+
__decorate([
|
|
693
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
694
|
+
(0, class_validator_1.IsOptional)(),
|
|
695
|
+
(0, class_validator_1.IsString)(),
|
|
696
|
+
__metadata("design:type", String)
|
|
697
|
+
], CreateCompanyCreationFormData.prototype, "bankZipCode", void 0);
|
|
698
|
+
__decorate([
|
|
699
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
700
|
+
(0, class_validator_1.IsOptional)(),
|
|
701
|
+
(0, class_validator_1.IsString)(),
|
|
702
|
+
__metadata("design:type", String)
|
|
703
|
+
], CreateCompanyCreationFormData.prototype, "bankCity", void 0);
|
|
704
|
+
__decorate([
|
|
705
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
706
|
+
(0, class_validator_1.IsOptional)(),
|
|
707
|
+
(0, class_validator_1.IsBoolean)(),
|
|
708
|
+
(0, boolean_transform_1.ToBoolean)(),
|
|
709
|
+
__metadata("design:type", Boolean)
|
|
710
|
+
], CreateCompanyCreationFormData.prototype, "hasNotYetSendSocialCapital", void 0);
|
|
711
|
+
__decorate([
|
|
712
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
713
|
+
(0, class_validator_1.IsOptional)(),
|
|
714
|
+
(0, class_validator_1.IsBoolean)(),
|
|
715
|
+
(0, boolean_transform_1.ToBoolean)(),
|
|
716
|
+
__metadata("design:type", Boolean)
|
|
717
|
+
], CreateCompanyCreationFormData.prototype, "wantToBenefitFromACRE", void 0);
|
|
718
|
+
__decorate([
|
|
719
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
720
|
+
(0, class_validator_1.IsOptional)(),
|
|
721
|
+
(0, class_validator_1.IsBoolean)(),
|
|
722
|
+
(0, boolean_transform_1.ToBoolean)(),
|
|
723
|
+
__metadata("design:type", Boolean)
|
|
724
|
+
], CreateCompanyCreationFormData.prototype, "informationsSharedToSirene", void 0);
|
|
725
|
+
class CreateCompanyCreationForm {
|
|
726
|
+
}
|
|
727
|
+
exports.CreateCompanyCreationForm = CreateCompanyCreationForm;
|
|
728
|
+
__decorate([
|
|
729
|
+
(0, utils_1.ApiProperty)(),
|
|
730
|
+
(0, class_validator_1.IsNumber)(),
|
|
731
|
+
__metadata("design:type", Number)
|
|
732
|
+
], CreateCompanyCreationForm.prototype, "idSociety", void 0);
|
|
733
|
+
__decorate([
|
|
734
|
+
(0, utils_1.ApiProperty)(),
|
|
735
|
+
__metadata("design:type", CreateCompanyCreationFormData)
|
|
736
|
+
], CreateCompanyCreationForm.prototype, "payload", void 0);
|
|
737
|
+
//# sourceMappingURL=CreateCompanyCreationForm.js.map
|