@silexpert/core 1.2.15 → 1.2.16

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.
Files changed (117) hide show
  1. package/dist/cjs/api/resources/Checklist.d.ts +2 -1
  2. package/dist/cjs/api/resources/Checklist.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/Checklist.js +3 -0
  4. package/dist/cjs/api/resources/Checklist.js.map +1 -1
  5. package/dist/cjs/api/resources/Society.d.ts +2 -2
  6. package/dist/cjs/api/resources/Society.d.ts.map +1 -1
  7. package/dist/cjs/api/resources/Society.js +4 -4
  8. package/dist/cjs/api/resources/Society.js.map +1 -1
  9. package/dist/cjs/api/resources/TimeRecorder.d.ts +3 -2
  10. package/dist/cjs/api/resources/TimeRecorder.d.ts.map +1 -1
  11. package/dist/cjs/api/resources/TimeRecorder.js +3 -0
  12. package/dist/cjs/api/resources/TimeRecorder.js.map +1 -1
  13. package/dist/cjs/types/Enum/BalanceSheet.d.ts.map +1 -1
  14. package/dist/cjs/types/Enum/BalanceSheet.js +0 -1
  15. package/dist/cjs/types/Enum/BalanceSheet.js.map +1 -1
  16. package/dist/cjs/types/Interface/api/PaymentRecovery/Create.d.ts +1 -1
  17. package/dist/cjs/types/Interface/api/PaymentRecovery/Create.d.ts.map +1 -1
  18. package/dist/cjs/types/Interface/api/PaymentRecovery/Create.js.map +1 -1
  19. package/dist/cjs/types/Interface/api/checklist/Query.d.ts +7 -0
  20. package/dist/cjs/types/Interface/api/checklist/Query.d.ts.map +1 -1
  21. package/dist/cjs/types/Interface/api/checklist/Query.js +32 -1
  22. package/dist/cjs/types/Interface/api/checklist/Query.js.map +1 -1
  23. package/dist/cjs/types/Interface/api/previsionalForm/CreatePrevisionalForm.d.ts +37 -29
  24. package/dist/cjs/types/Interface/api/previsionalForm/CreatePrevisionalForm.d.ts.map +1 -1
  25. package/dist/cjs/types/Interface/api/previsionalForm/CreatePrevisionalForm.js +89 -31
  26. package/dist/cjs/types/Interface/api/previsionalForm/CreatePrevisionalForm.js.map +1 -1
  27. package/dist/cjs/types/Interface/api/previsionalForm/PrevisionalFormPayload.d.ts +46 -29
  28. package/dist/cjs/types/Interface/api/previsionalForm/PrevisionalFormPayload.d.ts.map +1 -1
  29. package/dist/cjs/types/Interface/api/previsionalForm/PrevisionalFormPayload.js.map +1 -1
  30. package/dist/cjs/types/Interface/api/society/QueryUnpaid.d.ts +1 -0
  31. package/dist/cjs/types/Interface/api/society/QueryUnpaid.d.ts.map +1 -1
  32. package/dist/cjs/types/Interface/api/society/QueryUnpaid.js +7 -0
  33. package/dist/cjs/types/Interface/api/society/QueryUnpaid.js.map +1 -1
  34. package/dist/cjs/types/Interface/api/timeRecorder/CreateRecorder.d.ts +15 -0
  35. package/dist/cjs/types/Interface/api/timeRecorder/CreateRecorder.d.ts.map +1 -0
  36. package/dist/cjs/types/Interface/api/timeRecorder/CreateRecorder.js +82 -0
  37. package/dist/cjs/types/Interface/api/timeRecorder/CreateRecorder.js.map +1 -0
  38. package/dist/cjs/types/Interface/api/timeRecorder/Query.d.ts +3 -0
  39. package/dist/cjs/types/Interface/api/timeRecorder/Query.d.ts.map +1 -1
  40. package/dist/cjs/types/Interface/api/timeRecorder/Query.js +9 -1
  41. package/dist/cjs/types/Interface/api/timeRecorder/Query.js.map +1 -1
  42. package/dist/cjs/types/Interface/api/timeRecorder/UpdateRecorder.d.ts +1 -0
  43. package/dist/cjs/types/Interface/api/timeRecorder/UpdateRecorder.d.ts.map +1 -1
  44. package/dist/cjs/types/Interface/api/timeRecorder/UpdateRecorder.js +7 -0
  45. package/dist/cjs/types/Interface/api/timeRecorder/UpdateRecorder.js.map +1 -1
  46. package/dist/cjs/types/index.d.ts +1 -0
  47. package/dist/cjs/types/index.d.ts.map +1 -1
  48. package/dist/cjs/types/index.js +1 -0
  49. package/dist/cjs/types/index.js.map +1 -1
  50. package/dist/cjs/utils/documents.js +1 -1
  51. package/dist/cjs/utils/documents.js.map +1 -1
  52. package/dist/mjs/api/resources/Checklist.d.ts +2 -1
  53. package/dist/mjs/api/resources/Checklist.d.ts.map +1 -1
  54. package/dist/mjs/api/resources/Checklist.js +6 -0
  55. package/dist/mjs/api/resources/Checklist.js.map +1 -1
  56. package/dist/mjs/api/resources/Society.d.ts +2 -2
  57. package/dist/mjs/api/resources/Society.d.ts.map +1 -1
  58. package/dist/mjs/api/resources/Society.js +4 -4
  59. package/dist/mjs/api/resources/Society.js.map +1 -1
  60. package/dist/mjs/api/resources/TimeRecorder.d.ts +3 -2
  61. package/dist/mjs/api/resources/TimeRecorder.d.ts.map +1 -1
  62. package/dist/mjs/api/resources/TimeRecorder.js +3 -0
  63. package/dist/mjs/api/resources/TimeRecorder.js.map +1 -1
  64. package/dist/mjs/types/Enum/BalanceSheet.d.ts.map +1 -1
  65. package/dist/mjs/types/Enum/BalanceSheet.js +0 -1
  66. package/dist/mjs/types/Enum/BalanceSheet.js.map +1 -1
  67. package/dist/mjs/types/Interface/api/PaymentRecovery/Create.d.ts +1 -1
  68. package/dist/mjs/types/Interface/api/PaymentRecovery/Create.d.ts.map +1 -1
  69. package/dist/mjs/types/Interface/api/PaymentRecovery/Create.js.map +1 -1
  70. package/dist/mjs/types/Interface/api/checklist/Query.d.ts +7 -0
  71. package/dist/mjs/types/Interface/api/checklist/Query.d.ts.map +1 -1
  72. package/dist/mjs/types/Interface/api/checklist/Query.js +36 -1
  73. package/dist/mjs/types/Interface/api/checklist/Query.js.map +1 -1
  74. package/dist/mjs/types/Interface/api/previsionalForm/CreatePrevisionalForm.d.ts +37 -29
  75. package/dist/mjs/types/Interface/api/previsionalForm/CreatePrevisionalForm.d.ts.map +1 -1
  76. package/dist/mjs/types/Interface/api/previsionalForm/CreatePrevisionalForm.js +101 -35
  77. package/dist/mjs/types/Interface/api/previsionalForm/CreatePrevisionalForm.js.map +1 -1
  78. package/dist/mjs/types/Interface/api/previsionalForm/PrevisionalFormPayload.d.ts +46 -29
  79. package/dist/mjs/types/Interface/api/previsionalForm/PrevisionalFormPayload.d.ts.map +1 -1
  80. package/dist/mjs/types/Interface/api/previsionalForm/PrevisionalFormPayload.js.map +1 -1
  81. package/dist/mjs/types/Interface/api/society/QueryUnpaid.d.ts +1 -0
  82. package/dist/mjs/types/Interface/api/society/QueryUnpaid.d.ts.map +1 -1
  83. package/dist/mjs/types/Interface/api/society/QueryUnpaid.js +8 -0
  84. package/dist/mjs/types/Interface/api/society/QueryUnpaid.js.map +1 -1
  85. package/dist/mjs/types/Interface/api/timeRecorder/CreateRecorder.d.ts +15 -0
  86. package/dist/mjs/types/Interface/api/timeRecorder/CreateRecorder.d.ts.map +1 -0
  87. package/dist/mjs/types/Interface/api/timeRecorder/CreateRecorder.js +89 -0
  88. package/dist/mjs/types/Interface/api/timeRecorder/CreateRecorder.js.map +1 -0
  89. package/dist/mjs/types/Interface/api/timeRecorder/Query.d.ts +3 -0
  90. package/dist/mjs/types/Interface/api/timeRecorder/Query.d.ts.map +1 -1
  91. package/dist/mjs/types/Interface/api/timeRecorder/Query.js +8 -0
  92. package/dist/mjs/types/Interface/api/timeRecorder/Query.js.map +1 -1
  93. package/dist/mjs/types/Interface/api/timeRecorder/UpdateRecorder.d.ts +1 -0
  94. package/dist/mjs/types/Interface/api/timeRecorder/UpdateRecorder.d.ts.map +1 -1
  95. package/dist/mjs/types/Interface/api/timeRecorder/UpdateRecorder.js +8 -0
  96. package/dist/mjs/types/Interface/api/timeRecorder/UpdateRecorder.js.map +1 -1
  97. package/dist/mjs/types/index.d.ts +1 -0
  98. package/dist/mjs/types/index.d.ts.map +1 -1
  99. package/dist/mjs/types/index.js +1 -0
  100. package/dist/mjs/types/index.js.map +1 -1
  101. package/dist/mjs/utils/documents.js +1 -1
  102. package/dist/mjs/utils/documents.js.map +1 -1
  103. package/package.json +1 -1
  104. package/ts/api/resources/Checklist.ts +8 -1
  105. package/ts/api/resources/Society.ts +4 -4
  106. package/ts/api/resources/TimeRecorder.ts +7 -2
  107. package/ts/types/Enum/BalanceSheet.ts +0 -1
  108. package/ts/types/Interface/api/PaymentRecovery/Create.ts +1 -1
  109. package/ts/types/Interface/api/checklist/Query.ts +26 -0
  110. package/ts/types/Interface/api/previsionalForm/CreatePrevisionalForm.ts +88 -32
  111. package/ts/types/Interface/api/previsionalForm/PrevisionalFormPayload.ts +50 -30
  112. package/ts/types/Interface/api/society/QueryUnpaid.ts +6 -0
  113. package/ts/types/Interface/api/timeRecorder/CreateRecorder.ts +59 -0
  114. package/ts/types/Interface/api/timeRecorder/Query.ts +6 -0
  115. package/ts/types/Interface/api/timeRecorder/UpdateRecorder.ts +6 -0
  116. package/ts/types/index.ts +1 -0
  117. package/ts/utils/documents.ts +1 -1
@@ -1,10 +1,11 @@
1
1
  import { LegalFormTypeEnum } from '../../../Enum/LegalForm';
2
2
  import { TaxSystem } from '../../../Enum/TaxSystem';
3
- import { NumberFiscalYears, PrevisionalFormActivity, PrevisionalFormPayload } from '../../..';
3
+ import { LoanInformation, NumberFiscalYears, OptionNumberFiscalYears, PrevisionalFormActivity, PrevisionalFormPayload } from '../../..';
4
4
  export declare class NumberFiscalYearsValidation implements NumberFiscalYears {
5
5
  n: number;
6
6
  n1: number;
7
7
  n2: number;
8
+ vat?: number;
8
9
  }
9
10
  export declare class CreatePrevisionalFormData implements PrevisionalFormPayload {
10
11
  /**
@@ -17,48 +18,49 @@ export declare class CreatePrevisionalFormData implements PrevisionalFormPayload
17
18
  /**
18
19
  * Investissement
19
20
  */
20
- computerHardware: NumberFiscalYearsValidation;
21
- vehicle: NumberFiscalYearsValidation;
22
- toolsEquipment: NumberFiscalYearsValidation;
23
- software: NumberFiscalYearsValidation;
24
- website: NumberFiscalYearsValidation;
25
- businessAssets: NumberFiscalYearsValidation;
26
- immobilizedSecurities: NumberFiscalYearsValidation;
27
- deposit: NumberFiscalYearsValidation;
21
+ computerHardware: Required<NumberFiscalYearsValidation>;
22
+ utilityVehicle: Required<NumberFiscalYearsValidation>;
23
+ personalVehicle: Required<NumberFiscalYearsValidation>;
24
+ toolsEquipment: Required<NumberFiscalYearsValidation>;
25
+ software: Required<NumberFiscalYearsValidation>;
26
+ website: Required<NumberFiscalYearsValidation>;
27
+ businessAssets: Required<NumberFiscalYearsValidation>;
28
+ immobilizedSecurities: Required<NumberFiscalYearsValidation>;
29
+ deposit: Required<NumberFiscalYearsValidation>;
28
30
  /**
29
31
  * Financement
30
32
  */
31
33
  socialCapital: NumberFiscalYearsValidation;
32
34
  accountContribution: NumberFiscalYearsValidation;
33
- loan: NumberFiscalYearsValidation;
35
+ loans: LoanInformation[];
34
36
  /**
35
37
  * Chiffres d’affaires et charge liées à l’activité
36
38
  */
37
- turnover: NumberFiscalYearsValidation;
38
- outsourcing: NumberFiscalYearsValidation;
39
- merchandisePurchase: NumberFiscalYearsValidation;
39
+ turnover: Required<NumberFiscalYearsValidation>[];
40
+ outsourcing: Required<NumberFiscalYearsValidation>[];
41
+ merchandisePurchase: OptionNumberFiscalYears[];
40
42
  /**
41
43
  * Consommables
42
44
  */
43
- packaging: NumberFiscalYearsValidation;
44
- utilities: NumberFiscalYearsValidation;
45
- fuel: NumberFiscalYearsValidation;
46
- equipmentAndSupplies: NumberFiscalYearsValidation;
47
- administrativeSupplies: NumberFiscalYearsValidation;
45
+ packaging: Required<NumberFiscalYearsValidation>;
46
+ utilities: Required<NumberFiscalYearsValidation>;
47
+ fuel: Required<NumberFiscalYearsValidation>;
48
+ equipmentAndSupplies: Required<NumberFiscalYearsValidation>;
49
+ administrativeSupplies: Required<NumberFiscalYearsValidation>;
48
50
  /**
49
51
  * Autes charges liées à l’activité
50
52
  */
51
- realEstateRental: NumberFiscalYearsValidation;
52
- otherRental: NumberFiscalYearsValidation;
53
- maintenanceAndRepair: NumberFiscalYearsValidation;
54
- insuranceAndProfessionalLiability: NumberFiscalYearsValidation;
55
- accountingFees: NumberFiscalYearsValidation;
56
- otherFees: NumberFiscalYearsValidation;
57
- advertising: NumberFiscalYearsValidation;
58
- kilometricAllowances: NumberFiscalYearsValidation;
59
- otherTravelExpenses: NumberFiscalYearsValidation;
60
- telephonyInternetNetworks: NumberFiscalYearsValidation;
61
- bankFees: NumberFiscalYearsValidation;
53
+ realEstateRental: Required<NumberFiscalYearsValidation>;
54
+ otherRental: Required<NumberFiscalYearsValidation>;
55
+ maintenanceAndRepair: Required<NumberFiscalYearsValidation>;
56
+ insuranceAndProfessionalLiability: Required<NumberFiscalYearsValidation>;
57
+ accountingFees: Required<NumberFiscalYearsValidation>;
58
+ otherFees: Required<NumberFiscalYearsValidation>;
59
+ advertising: Required<NumberFiscalYearsValidation>;
60
+ kilometricAllowances: Required<NumberFiscalYearsValidation>;
61
+ otherTravelExpenses: Required<NumberFiscalYearsValidation>;
62
+ telephonyInternetNetworks: Required<NumberFiscalYearsValidation>;
63
+ bankFees: Required<NumberFiscalYearsValidation>;
62
64
  /**
63
65
  * Social et rémunération
64
66
  */
@@ -68,6 +70,12 @@ export declare class CreatePrevisionalFormData implements PrevisionalFormPayload
68
70
  employee3GrossSalary: NumberFiscalYearsValidation;
69
71
  remunerationPresident: NumberFiscalYearsValidation;
70
72
  remunerationManager: NumberFiscalYearsValidation;
73
+ /**
74
+ * Impôts
75
+ */
76
+ cfe: NumberFiscalYears | undefined;
77
+ tvs: NumberFiscalYears | undefined;
78
+ otherTaxes: NumberFiscalYears | undefined;
71
79
  }
72
80
  export declare class CreatePrevisionalForm {
73
81
  idSociety: number;
@@ -1 +1 @@
1
- {"version":3,"file":"CreatePrevisionalForm.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/previsionalForm/CreatePrevisionalForm.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,iBAAiB,EAAE,uBAAuB,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAK9F,qBAAa,2BAA4B,YAAW,iBAAiB;IAGjE,CAAC,EAAE,MAAM,CA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C,CAAC;IAItD,SAAS,EAAE,QAAQ,CAAC,2BAA2B,CAAC,CAAC;IAIjD,WAAW,EAAE,QAAQ,CAAC,2BAA2B,CAAC,CAAC;IAInD,oBAAoB,EAAE,QAAQ,CAAC,2BAA2B,CAAC,CAAC;IAI5D,mBAAmB,EAAE,QAAQ,CAAC,2BAA2B,CAAC,CAAC;IAI3D,yBAAyB,EAAE,QAAQ,CAAC,2BAA2B,CAAC,CAAC;IAIjE,QAAQ,EAAE,QAAQ,CAAC,2BAA2B,CAAC,CAAC;IAElD;;OAEG;IAED,iBAAiB,EAAE,OAAO,CAAC;IAI3B,oBAAoB,EAAE,2BAA2B,CAAC;IAIlD,oBAAoB,EAAE,2BAA2B,CAAC;IAIlD,oBAAoB,EAAE,2BAA2B,CAAC;IAIlD,qBAAqB,EAAE,2BAA2B,CAAC;IAInD,mBAAmB,EAAE,2BAA2B,CAAC;IAEnD;;OAEG;IAED,GAAG,EAAE,iBAAiB,GAAG,SAAS,CAAC;IAGnC,GAAG,EAAE,iBAAiB,GAAG,SAAS,CAAC;IAGnC,UAAU,EAAE,iBAAiB,GAAG,SAAS,CAAC;CAC7C;AAED,qBAAa,qBAAqB;IAG9B,SAAS,EAAE,MAAM,CAAC;IAIlB,OAAO,EAAE,yBAAyB,CAAC;CACtC"}
@@ -10,13 +10,14 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  import { LegalFormTypeEnum } from '../../../Enum/LegalForm';
11
11
  import { TaxSystem } from '../../../Enum/TaxSystem';
12
12
  import { PrevisionalFormActivity } from '../../..';
13
- import { ApiProperty } from '../../../../utils';
14
- import { IsNumber, IsBoolean, IsEnum, IsString } from 'class-validator';
13
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
14
+ import { IsNumber, IsBoolean, IsEnum, IsOptional, ValidateNested, IsArray } from 'class-validator';
15
15
  import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
16
16
  export class NumberFiscalYearsValidation {
17
17
  n;
18
18
  n1;
19
19
  n2;
20
+ vat;
20
21
  }
21
22
  __decorate([
22
23
  ApiProperty(),
@@ -33,6 +34,12 @@ __decorate([
33
34
  IsNumber(),
34
35
  __metadata("design:type", Number)
35
36
  ], NumberFiscalYearsValidation.prototype, "n2", void 0);
37
+ __decorate([
38
+ ApiPropertyOptional(),
39
+ IsOptional(),
40
+ IsNumber(),
41
+ __metadata("design:type", Number)
42
+ ], NumberFiscalYearsValidation.prototype, "vat", void 0);
36
43
  export class CreatePrevisionalFormData {
37
44
  /**
38
45
  * Description de la société
@@ -45,7 +52,8 @@ export class CreatePrevisionalFormData {
45
52
  * Investissement
46
53
  */
47
54
  computerHardware;
48
- vehicle;
55
+ utilityVehicle;
56
+ personalVehicle;
49
57
  toolsEquipment;
50
58
  software;
51
59
  website;
@@ -57,7 +65,7 @@ export class CreatePrevisionalFormData {
57
65
  */
58
66
  socialCapital;
59
67
  accountContribution;
60
- loan;
68
+ loans;
61
69
  /**
62
70
  * Chiffres d’affaires et charge liées à l’activité
63
71
  */
@@ -95,6 +103,12 @@ export class CreatePrevisionalFormData {
95
103
  employee3GrossSalary;
96
104
  remunerationPresident;
97
105
  remunerationManager;
106
+ /**
107
+ * Impôts
108
+ */
109
+ cfe;
110
+ tvs;
111
+ otherTaxes;
98
112
  }
99
113
  __decorate([
100
114
  ApiProperty(),
@@ -114,128 +128,162 @@ __decorate([
114
128
  ], CreatePrevisionalFormData.prototype, "idTaxSystem", void 0);
115
129
  __decorate([
116
130
  ApiProperty(),
117
- IsString(),
131
+ IsEnum(PrevisionalFormActivity),
118
132
  __metadata("design:type", Number)
119
133
  ], CreatePrevisionalFormData.prototype, "activity", void 0);
120
134
  __decorate([
121
135
  ApiProperty(),
122
- __metadata("design:type", NumberFiscalYearsValidation)
136
+ ValidateNested(),
137
+ __metadata("design:type", Object)
123
138
  ], CreatePrevisionalFormData.prototype, "computerHardware", void 0);
124
139
  __decorate([
125
140
  ApiProperty(),
126
- __metadata("design:type", NumberFiscalYearsValidation)
127
- ], CreatePrevisionalFormData.prototype, "vehicle", void 0);
141
+ ValidateNested(),
142
+ __metadata("design:type", Object)
143
+ ], CreatePrevisionalFormData.prototype, "utilityVehicle", void 0);
128
144
  __decorate([
129
145
  ApiProperty(),
130
- __metadata("design:type", NumberFiscalYearsValidation)
146
+ ValidateNested(),
147
+ __metadata("design:type", Object)
148
+ ], CreatePrevisionalFormData.prototype, "personalVehicle", void 0);
149
+ __decorate([
150
+ ApiProperty(),
151
+ ValidateNested(),
152
+ __metadata("design:type", Object)
131
153
  ], CreatePrevisionalFormData.prototype, "toolsEquipment", void 0);
132
154
  __decorate([
133
155
  ApiProperty(),
134
- __metadata("design:type", NumberFiscalYearsValidation)
156
+ ValidateNested(),
157
+ __metadata("design:type", Object)
135
158
  ], CreatePrevisionalFormData.prototype, "software", void 0);
136
159
  __decorate([
137
160
  ApiProperty(),
138
- __metadata("design:type", NumberFiscalYearsValidation)
161
+ ValidateNested(),
162
+ __metadata("design:type", Object)
139
163
  ], CreatePrevisionalFormData.prototype, "website", void 0);
140
164
  __decorate([
141
165
  ApiProperty(),
142
- __metadata("design:type", NumberFiscalYearsValidation)
166
+ ValidateNested(),
167
+ __metadata("design:type", Object)
143
168
  ], CreatePrevisionalFormData.prototype, "businessAssets", void 0);
144
169
  __decorate([
145
170
  ApiProperty(),
146
- __metadata("design:type", NumberFiscalYearsValidation)
171
+ ValidateNested(),
172
+ __metadata("design:type", Object)
147
173
  ], CreatePrevisionalFormData.prototype, "immobilizedSecurities", void 0);
148
174
  __decorate([
149
175
  ApiProperty(),
150
- __metadata("design:type", NumberFiscalYearsValidation)
176
+ ValidateNested(),
177
+ __metadata("design:type", Object)
151
178
  ], CreatePrevisionalFormData.prototype, "deposit", void 0);
152
179
  __decorate([
153
180
  ApiProperty(),
181
+ ValidateNested(),
154
182
  __metadata("design:type", NumberFiscalYearsValidation)
155
183
  ], CreatePrevisionalFormData.prototype, "socialCapital", void 0);
156
184
  __decorate([
157
185
  ApiProperty(),
186
+ ValidateNested(),
158
187
  __metadata("design:type", NumberFiscalYearsValidation)
159
188
  ], CreatePrevisionalFormData.prototype, "accountContribution", void 0);
160
189
  __decorate([
161
190
  ApiProperty(),
162
- __metadata("design:type", NumberFiscalYearsValidation)
163
- ], CreatePrevisionalFormData.prototype, "loan", void 0);
191
+ IsArray(),
192
+ __metadata("design:type", Array)
193
+ ], CreatePrevisionalFormData.prototype, "loans", void 0);
164
194
  __decorate([
165
195
  ApiProperty(),
166
- __metadata("design:type", NumberFiscalYearsValidation)
196
+ ValidateNested(),
197
+ __metadata("design:type", Array)
167
198
  ], CreatePrevisionalFormData.prototype, "turnover", void 0);
168
199
  __decorate([
169
200
  ApiProperty(),
170
- __metadata("design:type", NumberFiscalYearsValidation)
201
+ ValidateNested(),
202
+ __metadata("design:type", Array)
171
203
  ], CreatePrevisionalFormData.prototype, "outsourcing", void 0);
172
204
  __decorate([
173
205
  ApiProperty(),
174
- __metadata("design:type", NumberFiscalYearsValidation)
206
+ __metadata("design:type", Array)
175
207
  ], CreatePrevisionalFormData.prototype, "merchandisePurchase", void 0);
176
208
  __decorate([
177
209
  ApiProperty(),
178
- __metadata("design:type", NumberFiscalYearsValidation)
210
+ ValidateNested(),
211
+ __metadata("design:type", Object)
179
212
  ], CreatePrevisionalFormData.prototype, "packaging", void 0);
180
213
  __decorate([
181
214
  ApiProperty(),
182
- __metadata("design:type", NumberFiscalYearsValidation)
215
+ ValidateNested(),
216
+ __metadata("design:type", Object)
183
217
  ], CreatePrevisionalFormData.prototype, "utilities", void 0);
184
218
  __decorate([
185
219
  ApiProperty(),
186
- __metadata("design:type", NumberFiscalYearsValidation)
220
+ ValidateNested(),
221
+ __metadata("design:type", Object)
187
222
  ], CreatePrevisionalFormData.prototype, "fuel", void 0);
188
223
  __decorate([
189
224
  ApiProperty(),
190
- __metadata("design:type", NumberFiscalYearsValidation)
225
+ ValidateNested(),
226
+ __metadata("design:type", Object)
191
227
  ], CreatePrevisionalFormData.prototype, "equipmentAndSupplies", void 0);
192
228
  __decorate([
193
229
  ApiProperty(),
194
- __metadata("design:type", NumberFiscalYearsValidation)
230
+ ValidateNested(),
231
+ __metadata("design:type", Object)
195
232
  ], CreatePrevisionalFormData.prototype, "administrativeSupplies", void 0);
196
233
  __decorate([
197
234
  ApiProperty(),
198
- __metadata("design:type", NumberFiscalYearsValidation)
235
+ ValidateNested(),
236
+ __metadata("design:type", Object)
199
237
  ], CreatePrevisionalFormData.prototype, "realEstateRental", void 0);
200
238
  __decorate([
201
239
  ApiProperty(),
202
- __metadata("design:type", NumberFiscalYearsValidation)
240
+ ValidateNested(),
241
+ __metadata("design:type", Object)
203
242
  ], CreatePrevisionalFormData.prototype, "otherRental", void 0);
204
243
  __decorate([
205
244
  ApiProperty(),
206
- __metadata("design:type", NumberFiscalYearsValidation)
245
+ ValidateNested(),
246
+ __metadata("design:type", Object)
207
247
  ], CreatePrevisionalFormData.prototype, "maintenanceAndRepair", void 0);
208
248
  __decorate([
209
249
  ApiProperty(),
210
- __metadata("design:type", NumberFiscalYearsValidation)
250
+ ValidateNested(),
251
+ __metadata("design:type", Object)
211
252
  ], CreatePrevisionalFormData.prototype, "insuranceAndProfessionalLiability", void 0);
212
253
  __decorate([
213
254
  ApiProperty(),
214
- __metadata("design:type", NumberFiscalYearsValidation)
255
+ ValidateNested(),
256
+ __metadata("design:type", Object)
215
257
  ], CreatePrevisionalFormData.prototype, "accountingFees", void 0);
216
258
  __decorate([
217
259
  ApiProperty(),
218
- __metadata("design:type", NumberFiscalYearsValidation)
260
+ ValidateNested(),
261
+ __metadata("design:type", Object)
219
262
  ], CreatePrevisionalFormData.prototype, "otherFees", void 0);
220
263
  __decorate([
221
264
  ApiProperty(),
222
- __metadata("design:type", NumberFiscalYearsValidation)
265
+ ValidateNested(),
266
+ __metadata("design:type", Object)
223
267
  ], CreatePrevisionalFormData.prototype, "advertising", void 0);
224
268
  __decorate([
225
269
  ApiProperty(),
226
- __metadata("design:type", NumberFiscalYearsValidation)
270
+ ValidateNested(),
271
+ __metadata("design:type", Object)
227
272
  ], CreatePrevisionalFormData.prototype, "kilometricAllowances", void 0);
228
273
  __decorate([
229
274
  ApiProperty(),
230
- __metadata("design:type", NumberFiscalYearsValidation)
275
+ ValidateNested(),
276
+ __metadata("design:type", Object)
231
277
  ], CreatePrevisionalFormData.prototype, "otherTravelExpenses", void 0);
232
278
  __decorate([
233
279
  ApiProperty(),
234
- __metadata("design:type", NumberFiscalYearsValidation)
280
+ ValidateNested(),
281
+ __metadata("design:type", Object)
235
282
  ], CreatePrevisionalFormData.prototype, "telephonyInternetNetworks", void 0);
236
283
  __decorate([
237
284
  ApiProperty(),
238
- __metadata("design:type", NumberFiscalYearsValidation)
285
+ ValidateNested(),
286
+ __metadata("design:type", Object)
239
287
  ], CreatePrevisionalFormData.prototype, "bankFees", void 0);
240
288
  __decorate([
241
289
  ApiProperty(),
@@ -243,24 +291,41 @@ __decorate([
243
291
  ], CreatePrevisionalFormData.prototype, "isACREBeneficiary", void 0);
244
292
  __decorate([
245
293
  ApiProperty(),
294
+ ValidateNested(),
246
295
  __metadata("design:type", NumberFiscalYearsValidation)
247
296
  ], CreatePrevisionalFormData.prototype, "employee1GrossSalary", void 0);
248
297
  __decorate([
249
298
  ApiProperty(),
299
+ ValidateNested(),
250
300
  __metadata("design:type", NumberFiscalYearsValidation)
251
301
  ], CreatePrevisionalFormData.prototype, "employee2GrossSalary", void 0);
252
302
  __decorate([
253
303
  ApiProperty(),
304
+ ValidateNested(),
254
305
  __metadata("design:type", NumberFiscalYearsValidation)
255
306
  ], CreatePrevisionalFormData.prototype, "employee3GrossSalary", void 0);
256
307
  __decorate([
257
308
  ApiProperty(),
309
+ ValidateNested(),
258
310
  __metadata("design:type", NumberFiscalYearsValidation)
259
311
  ], CreatePrevisionalFormData.prototype, "remunerationPresident", void 0);
260
312
  __decorate([
261
313
  ApiProperty(),
314
+ ValidateNested(),
262
315
  __metadata("design:type", NumberFiscalYearsValidation)
263
316
  ], CreatePrevisionalFormData.prototype, "remunerationManager", void 0);
317
+ __decorate([
318
+ ApiProperty(),
319
+ __metadata("design:type", Object)
320
+ ], CreatePrevisionalFormData.prototype, "cfe", void 0);
321
+ __decorate([
322
+ ApiProperty(),
323
+ __metadata("design:type", Object)
324
+ ], CreatePrevisionalFormData.prototype, "tvs", void 0);
325
+ __decorate([
326
+ ApiProperty(),
327
+ __metadata("design:type", Object)
328
+ ], CreatePrevisionalFormData.prototype, "otherTaxes", void 0);
264
329
  export class CreatePrevisionalForm {
265
330
  idSociety;
266
331
  payload;
@@ -272,6 +337,7 @@ __decorate([
272
337
  ], CreatePrevisionalForm.prototype, "idSociety", void 0);
273
338
  __decorate([
274
339
  ApiProperty(),
340
+ ValidateNested(),
275
341
  __metadata("design:type", CreatePrevisionalFormData)
276
342
  ], CreatePrevisionalForm.prototype, "payload", void 0);
277
343
  //# sourceMappingURL=CreatePrevisionalForm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CreatePrevisionalForm.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/previsionalForm/CreatePrevisionalForm.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAqB,uBAAuB,EAA0B,MAAM,UAAU,CAAC;AAC9F,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACxE,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,2BAA2B;IAGpC,CAAC,CAAS;IAIV,EAAE,CAAS;IAIX,EAAE,CAAS;CACd;AATG;IAFD,WAAW,EAAE;IACb,QAAQ,EAAE;;sDACC;AAIV;IAFD,WAAW,EAAE;IACb,QAAQ,EAAE;;uDACE;AAIX;IA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D,WAAW,EAAE;8BACU,2BAA2B;uEAAC;AAGlD;IADD,WAAW,EAAE;8BACS,2BAA2B;sEAAC;AAGjD;IADD,WAAW,EAAE;8BACe,2BAA2B;4EAAC;AAGvD;IADD,WAAW,EAAE;8BACF,2BAA2B;2DAAC;AAMtC;IADD,WAAW,EAAE;;oEACe;AAG3B;IADD,WAAW,EAAE;8BACU,2BAA2B;uEAAC;AAGlD;IADD,WAAW,EAAE;8BACU,2BAA2B;uEAAC;AAGlD;IADD,WAAW,EAAE;8BACU,2BAA2B;uEAAC;AAGlD;IADD,WAAW,EAAE;8BACW,2BAA2B;wEAAC;AAGnD;IADD,WAAW,EAAE;8BACS,2BAA2B;sEAAC;AAGrD,MAAM,OAAO,qBAAqB;IAG9B,SAAS,CAAS;IAGlB,OAAO,CAA4B;CACtC;AAJG;IAFD,WAAW,EAAE;IACb,QAAQ,EAAE;;wDACS;AAGlB;IADD,WAAW,EAAE;8BACH,yBAAyB;sDAAC","sourcesContent":["import { LegalFormTypeEnum } from '../../../Enum/LegalForm';\nimport { TaxSystem } from '../../../Enum/TaxSystem';\nimport { NumberFiscalYears, PrevisionalFormActivity, PrevisionalFormPayload } from '../../..';\nimport { ApiProperty } from '../../../../utils';\nimport { IsNumber, IsBoolean, IsEnum, IsString } from 'class-validator';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class NumberFiscalYearsValidation implements NumberFiscalYears {\n @ApiProperty()\n @IsNumber()\n n: number;\n\n @ApiProperty()\n @IsNumber()\n n1: number;\n\n @ApiProperty()\n @IsNumber()\n n2: number;\n}\n\nexport class CreatePrevisionalFormData implements PrevisionalFormPayload {\n /**\n * Description de la société\n */\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isCompanyCreation: boolean;\n\n @ApiProperty()\n @IsEnum(LegalFormTypeEnum)\n idLegalForm: LegalFormTypeEnum;\n\n @ApiProperty()\n @IsEnum(TaxSystem)\n idTaxSystem: TaxSystem;\n\n @ApiProperty()\n @IsString()\n activity: PrevisionalFormActivity;\n\n /**\n * Investissement\n */\n @ApiProperty()\n computerHardware: NumberFiscalYearsValidation;\n\n @ApiProperty()\n vehicle: NumberFiscalYearsValidation;\n\n @ApiProperty()\n toolsEquipment: NumberFiscalYearsValidation;\n\n @ApiProperty()\n software: NumberFiscalYearsValidation;\n\n @ApiProperty()\n website: NumberFiscalYearsValidation;\n\n @ApiProperty()\n businessAssets: NumberFiscalYearsValidation;\n\n @ApiProperty()\n immobilizedSecurities: NumberFiscalYearsValidation;\n\n @ApiProperty()\n deposit: NumberFiscalYearsValidation;\n\n /**\n * Financement\n */\n @ApiProperty()\n socialCapital: NumberFiscalYearsValidation;\n\n @ApiProperty()\n accountContribution: NumberFiscalYearsValidation;\n\n @ApiProperty()\n loan: NumberFiscalYearsValidation;\n\n /**\n * Chiffres d’affaires et charge liées à l’activité\n */\n @ApiProperty()\n turnover: NumberFiscalYearsValidation;\n\n @ApiProperty()\n outsourcing: NumberFiscalYearsValidation;\n\n @ApiProperty()\n merchandisePurchase: NumberFiscalYearsValidation;\n\n /**\n * Consommables\n */\n @ApiProperty()\n packaging: NumberFiscalYearsValidation;\n\n @ApiProperty()\n utilities: NumberFiscalYearsValidation;\n\n @ApiProperty()\n fuel: NumberFiscalYearsValidation;\n\n @ApiProperty()\n equipmentAndSupplies: NumberFiscalYearsValidation;\n\n @ApiProperty()\n administrativeSupplies: NumberFiscalYearsValidation;\n\n /**\n * Autes charges liées à l’activité\n */\n @ApiProperty()\n realEstateRental: NumberFiscalYearsValidation;\n\n @ApiProperty()\n otherRental: NumberFiscalYearsValidation;\n\n @ApiProperty()\n maintenanceAndRepair: NumberFiscalYearsValidation;\n\n @ApiProperty()\n insuranceAndProfessionalLiability: NumberFiscalYearsValidation;\n\n @ApiProperty()\n accountingFees: NumberFiscalYearsValidation;\n\n @ApiProperty()\n otherFees: NumberFiscalYearsValidation;\n\n @ApiProperty()\n advertising: NumberFiscalYearsValidation;\n\n @ApiProperty()\n kilometricAllowances: NumberFiscalYearsValidation;\n\n @ApiProperty()\n otherTravelExpenses: NumberFiscalYearsValidation;\n\n @ApiProperty()\n telephonyInternetNetworks: NumberFiscalYearsValidation;\n\n @ApiProperty()\n bankFees: NumberFiscalYearsValidation;\n\n /**\n * Social et rémunération\n */\n @ApiProperty()\n isACREBeneficiary: boolean;\n\n @ApiProperty()\n employee1GrossSalary: NumberFiscalYearsValidation;\n\n @ApiProperty()\n employee2GrossSalary: NumberFiscalYearsValidation;\n\n @ApiProperty()\n employee3GrossSalary: NumberFiscalYearsValidation;\n\n @ApiProperty()\n remunerationPresident: NumberFiscalYearsValidation;\n\n @ApiProperty()\n remunerationManager: NumberFiscalYearsValidation;\n}\n\nexport class CreatePrevisionalForm {\n @ApiProperty()\n @IsNumber()\n idSociety: number;\n\n @ApiProperty()\n payload: CreatePrevisionalFormData;\n}"]}
1
+ {"version":3,"file":"CreatePrevisionalForm.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/previsionalForm/CreatePrevisionalForm.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAA+D,uBAAuB,EAA0B,MAAM,UAAU,CAAC;AACxI,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,cAAc,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AACnG,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,2BAA2B;IAGpC,CAAC,CAAS;IAIV,EAAE,CAAS;IAIX,EAAE,CAAS;IAKX,GAAG,CAAU;CAChB;AAdG;IAFD,WAAW,EAAE;IACb,QAAQ,EAAE;;sDACC;AAIV;IAFD,WAAW,EAAE;IACb,QAAQ,E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num } from '../../../Enum/LegalForm';\nimport { TaxSystem } from '../../../Enum/TaxSystem';\nimport { LoanInformation, NumberFiscalYears, OptionNumberFiscalYears, PrevisionalFormActivity, PrevisionalFormPayload } from '../../..';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { IsNumber, IsBoolean, IsEnum, IsOptional, ValidateNested, IsArray } from 'class-validator';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class NumberFiscalYearsValidation implements NumberFiscalYears {\n @ApiProperty()\n @IsNumber()\n n: number;\n\n @ApiProperty()\n @IsNumber()\n n1: number;\n\n @ApiProperty()\n @IsNumber()\n n2: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n vat?: number;\n}\n\nexport class CreatePrevisionalFormData implements PrevisionalFormPayload {\n /**\n * Description de la société\n */\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isCompanyCreation: boolean;\n\n @ApiProperty()\n @IsEnum(LegalFormTypeEnum)\n idLegalForm: LegalFormTypeEnum;\n\n @ApiProperty()\n @IsEnum(TaxSystem)\n idTaxSystem: TaxSystem;\n\n @ApiProperty()\n @IsEnum(PrevisionalFormActivity)\n activity: PrevisionalFormActivity;\n\n /**\n * Investissement\n */\n @ApiProperty()\n @ValidateNested()\n computerHardware: Required<NumberFiscalYearsValidation>;\n\n @ApiProperty()\n @ValidateNested()\n utilityVehicle: Required<NumberFiscalYearsValidation>;\n\n @ApiProperty()\n @ValidateNested()\n personalVehicle: Required<NumberFiscalYearsValidation>;\n\n @ApiProperty()\n @ValidateNested()\n toolsEquipment: Required<NumberFiscalYearsValidation>;\n\n @ApiProperty()\n @ValidateNested()\n software: Required<NumberFiscalYearsValidation>;\n\n @ApiProperty()\n @ValidateNested()\n website: Required<NumberFiscalYearsValidation>;\n\n @ApiProperty()\n @ValidateNested()\n businessAssets: Required<NumberFiscalYearsValidation>;\n\n @ApiProperty()\n @ValidateNested()\n immobilizedSecurities: Required<NumberFiscalYearsValidation>;\n\n @ApiProperty()\n @ValidateNested()\n deposit: Required<NumberFiscalYearsValidation>;\n\n /**\n * Financement\n */\n @ApiProperty()\n @ValidateNested()\n socialCapital: NumberFiscalYearsValidation;\n\n @ApiProperty()\n @ValidateNested()\n accountContribution: NumberFiscalYearsValidation;\n\n @ApiProperty()\n @IsArray()\n loans: LoanInformation[];\n\n /**\n * Chiffres d’affaires et charge liées à l’activité\n */\n @ApiProperty()\n @ValidateNested()\n turnover: Required<NumberFiscalYearsValidation>[];\n\n @ApiProperty()\n @ValidateNested()\n outsourcing: Required<NumberFiscalYearsValidation>[];\n\n @ApiProperty()\n merchandisePurchase: OptionNumberFiscalYears[];\n\n /**\n * Consommables\n */\n @ApiProperty()\n @ValidateNested()\n packaging: Required<NumberFiscalYearsValidation>;\n\n @ApiProperty()\n @ValidateNested()\n utilities: Required<NumberFiscalYearsValidation>;\n\n @ApiProperty()\n @ValidateNested()\n fuel: Required<NumberFiscalYearsValidation>;\n\n @ApiProperty()\n @ValidateNested()\n equipmentAndSupplies: Required<NumberFiscalYearsValidation>;\n\n @ApiProperty()\n @ValidateNested()\n administrativeSupplies: Required<NumberFiscalYearsValidation>;\n\n /**\n * Autes charges liées à l’activité\n */\n @ApiProperty()\n @ValidateNested()\n realEstateRental: Required<NumberFiscalYearsValidation>;\n\n @ApiProperty()\n @ValidateNested()\n otherRental: Required<NumberFiscalYearsValidation>;\n\n @ApiProperty()\n @ValidateNested()\n maintenanceAndRepair: Required<NumberFiscalYearsValidation>;\n\n @ApiProperty()\n @ValidateNested()\n insuranceAndProfessionalLiability: Required<NumberFiscalYearsValidation>;\n\n @ApiProperty()\n @ValidateNested()\n accountingFees: Required<NumberFiscalYearsValidation>;\n\n @ApiProperty()\n @ValidateNested()\n otherFees: Required<NumberFiscalYearsValidation>;\n\n @ApiProperty()\n @ValidateNested()\n advertising: Required<NumberFiscalYearsValidation>;\n\n @ApiProperty()\n @ValidateNested()\n kilometricAllowances: Required<NumberFiscalYearsValidation>;\n\n @ApiProperty()\n @ValidateNested()\n otherTravelExpenses: Required<NumberFiscalYearsValidation>;\n\n @ApiProperty()\n @ValidateNested()\n telephonyInternetNetworks: Required<NumberFiscalYearsValidation>;\n\n @ApiProperty()\n @ValidateNested()\n bankFees: Required<NumberFiscalYearsValidation>;\n\n /**\n * Social et rémunération\n */\n @ApiProperty()\n isACREBeneficiary: boolean;\n\n @ApiProperty()\n @ValidateNested()\n employee1GrossSalary: NumberFiscalYearsValidation;\n\n @ApiProperty()\n @ValidateNested()\n employee2GrossSalary: NumberFiscalYearsValidation;\n\n @ApiProperty()\n @ValidateNested()\n employee3GrossSalary: NumberFiscalYearsValidation;\n\n @ApiProperty()\n @ValidateNested()\n remunerationPresident: NumberFiscalYearsValidation;\n\n @ApiProperty()\n @ValidateNested()\n remunerationManager: NumberFiscalYearsValidation;\n\n /**\n * Impôts\n */\n @ApiProperty()\n cfe: NumberFiscalYears | undefined;\n\n @ApiProperty()\n tvs: NumberFiscalYears | undefined;\n\n @ApiProperty()\n otherTaxes: NumberFiscalYears | undefined;\n}\n\nexport class CreatePrevisionalForm {\n @ApiProperty()\n @IsNumber()\n idSociety: number;\n\n @ApiProperty()\n @ValidateNested()\n payload: CreatePrevisionalFormData;\n}"]}
@@ -5,6 +5,17 @@ export interface NumberFiscalYears {
5
5
  n: number;
6
6
  n1: number;
7
7
  n2: number;
8
+ vat?: number;
9
+ }
10
+ export interface LoanInformation {
11
+ year: 'n' | 'n1' | 'n2';
12
+ amount: number;
13
+ duration: number;
14
+ rate: number;
15
+ payment: number;
16
+ }
17
+ export interface OptionNumberFiscalYears extends Required<NumberFiscalYears> {
18
+ isMarginRate?: boolean;
8
19
  }
9
20
  export interface CompanyDescription {
10
21
  isCompanyCreation: boolean;
@@ -13,46 +24,52 @@ export interface CompanyDescription {
13
24
  activity: PrevisionalFormActivity;
14
25
  }
15
26
  export interface Investment {
16
- computerHardware: NumberFiscalYears;
17
- vehicle: NumberFiscalYears;
18
- toolsEquipment: NumberFiscalYears;
19
- software: NumberFiscalYears;
20
- website: NumberFiscalYears;
21
- businessAssets: NumberFiscalYears;
22
- immobilizedSecurities: NumberFiscalYears;
23
- deposit: NumberFiscalYears;
27
+ computerHardware: Required<NumberFiscalYears>;
28
+ utilityVehicle: Required<NumberFiscalYears>;
29
+ personalVehicle: Required<NumberFiscalYears>;
30
+ toolsEquipment: Required<NumberFiscalYears>;
31
+ software: Required<NumberFiscalYears>;
32
+ website: Required<NumberFiscalYears>;
33
+ businessAssets: Required<NumberFiscalYears>;
34
+ immobilizedSecurities: Required<NumberFiscalYears>;
35
+ deposit: Required<NumberFiscalYears>;
24
36
  }
25
37
  export interface Financing {
26
38
  socialCapital: NumberFiscalYears;
27
39
  accountContribution: NumberFiscalYears;
28
- loan: NumberFiscalYears;
40
+ loans: LoanInformation[];
29
41
  }
30
42
  export interface Turnover {
31
- turnover: NumberFiscalYears;
43
+ turnover: Required<NumberFiscalYears>[];
44
+ merchandisePurchase: OptionNumberFiscalYears[];
32
45
  }
33
46
  export interface Charges {
34
- outsourcing: NumberFiscalYears;
35
- merchandisePurchase: NumberFiscalYears;
47
+ outsourcing: Required<NumberFiscalYears>[];
48
+ }
49
+ export interface Taxes {
50
+ cfe: NumberFiscalYears | undefined;
51
+ tvs: NumberFiscalYears | undefined;
52
+ otherTaxes: NumberFiscalYears | undefined;
36
53
  }
37
54
  export interface Consumables {
38
- packaging: NumberFiscalYears;
39
- utilities: NumberFiscalYears;
40
- fuel: NumberFiscalYears;
41
- equipmentAndSupplies: NumberFiscalYears;
42
- administrativeSupplies: NumberFiscalYears;
55
+ packaging: Required<NumberFiscalYears>;
56
+ utilities: Required<NumberFiscalYears>;
57
+ fuel: Required<NumberFiscalYears>;
58
+ equipmentAndSupplies: Required<NumberFiscalYears>;
59
+ administrativeSupplies: Required<NumberFiscalYears>;
43
60
  }
44
61
  export interface OtherCharges {
45
- realEstateRental: NumberFiscalYears;
46
- otherRental: NumberFiscalYears;
47
- maintenanceAndRepair: NumberFiscalYears;
48
- insuranceAndProfessionalLiability: NumberFiscalYears;
49
- accountingFees: NumberFiscalYears;
50
- otherFees: NumberFiscalYears;
51
- advertising: NumberFiscalYears;
52
- kilometricAllowances: NumberFiscalYears;
53
- otherTravelExpenses: NumberFiscalYears;
54
- telephonyInternetNetworks: NumberFiscalYears;
55
- bankFees: NumberFiscalYears;
62
+ realEstateRental: Required<NumberFiscalYears>;
63
+ otherRental: Required<NumberFiscalYears>;
64
+ maintenanceAndRepair: Required<NumberFiscalYears>;
65
+ insuranceAndProfessionalLiability: Required<NumberFiscalYears>;
66
+ accountingFees: Required<NumberFiscalYears>;
67
+ otherFees: Required<NumberFiscalYears>;
68
+ advertising: Required<NumberFiscalYears>;
69
+ kilometricAllowances: Required<NumberFiscalYears>;
70
+ otherTravelExpenses: Required<NumberFiscalYears>;
71
+ telephonyInternetNetworks: Required<NumberFiscalYears>;
72
+ bankFees: Required<NumberFiscalYears>;
56
73
  }
57
74
  export interface SocialAndRemuneration {
58
75
  isACREBeneficiary: boolean;
@@ -62,6 +79,6 @@ export interface SocialAndRemuneration {
62
79
  remunerationPresident: NumberFiscalYears;
63
80
  remunerationManager: NumberFiscalYears;
64
81
  }
65
- export interface PrevisionalFormPayload extends CompanyDescription, Investment, Financing, Turnover, Charges, Consumables, OtherCharges, SocialAndRemuneration {
82
+ export interface PrevisionalFormPayload extends CompanyDescription, Investment, Financing, Turnover, Charges, Taxes, Consumables, OtherCharges, SocialAndRemuneration {
66
83
  }
67
84
  //# sourceMappingURL=PrevisionalFormPayload.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PrevisionalFormPayload.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/previsionalForm/PrevisionalFormPayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,EAAE,SAAS,EAAE,MAAM,yBAA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E,iBAAiB,CAAC;IACrD,cAAc,EAAE,iBAAiB,CAAC;IAClC,SAAS,EAAE,iBAAiB,CAAC;IAC7B,WAAW,EAAE,iBAAiB,CAAC;IAC/B,oBAAoB,EAAE,iBAAiB,CAAC;IACxC,mBAAmB,EAAE,iBAAiB,CAAC;IACvC,yBAAyB,EAAE,iBAAiB,CAAC;IAC7C,QAAQ,EAAE,iBAAiB,CAAC;CAC7B;AAED,MAAM,WAAW,qBAAqB;IACpC,iBAAiB,EAAE,OAAO,CAAC;IAC3B,oBAAoB,EAAE,iBAAiB,CAAC;IACxC,oBAAoB,EAAE,iBAAiB,CAAC;IACxC,oBAAoB,EAAE,iBAAiB,CAAC;IACxC,qBAAqB,EAAE,iBAAiB,CAAC;IACzC,mBAAmB,EAAE,iBAAiB,CAAC;CACxC;AAED,MAAM,WAAW,sBAAuB,SAAQ,kBAAkB,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,qBAAqB;CAAG"}
1
+ {"version":3,"file":"PrevisionalFormPayload.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/previsionalForm/PrevisionalFormPayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAEpD,MAAM,WAAW,iBAAiB;IAChC,CAAC,EAAE,MAAM,CAAC;IACV,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,GAAG,GAAG,IAAI,GAAG,IAAI,CAAC;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CA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B,CAAC;CACxC;AAED,MAAM,WAAW,sBAAuB,SAAQ,kBAAkB,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,qBAAqB;CAAG"}
@@ -1 +1 @@
1
- {"version":3,"file":"PrevisionalFormPayload.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/previsionalForm/PrevisionalFormPayload.ts"],"names":[],"mappings":"","sourcesContent":["import { LegalFormTypeEnum } from '../../../Enum/LegalForm';\nimport { PrevisionalFormActivity } from '../../../Enum/PrevisionalForm';\nimport { TaxSystem } from '../../../Enum/TaxSystem';\n\nexport interface NumberFiscalYears {\n n: number;\n n1: number;\n n2: number;\n}\n\nexport interface CompanyDescription {\n isCompanyCreation: boolean; // Est-ce une création ?\n idLegalForm: LegalFormTypeEnum; // Statut Juridique\n idTaxSystem: TaxSystem; // Régime d'imposition prévu\n activity: PrevisionalFormActivity; // Quelle est l'activité de la société ?\n // + question \"De combien est le capital initial apporté ?\" socialCapital pour année N\n}\n\nexport interface Investment {\n computerHardware: NumberFiscalYears; // Matériel informatique\n vehicle: NumberFiscalYears; // Véhicules\n toolsEquipment: NumberFiscalYears; // Outillage, matériel\n software: NumberFiscalYears; // Logiciel\n website: NumberFiscalYears; // Site internet\n businessAssets: NumberFiscalYears; // Fonds de commerce\n immobilizedSecurities: NumberFiscalYears; // Titres immobilisés\n deposit: NumberFiscalYears; // Caution\n}\n\nexport interface Financing {\n socialCapital: NumberFiscalYears; // Augmentation social\n accountContribution: NumberFiscalYears; // Apport en compte courant d'associé\n loan: NumberFiscalYears; // Emprunt bancaire\n}\n\nexport interface Turnover {\n turnover: NumberFiscalYears; // Chiffre d'affaires prévu\n}\n\nexport interface Charges {\n outsourcing: NumberFiscalYears; // Sous-traitance prévue\n merchandisePurchase: NumberFiscalYears; // Achats de marchandises / matières premières\n}\n\nexport interface Consumables {\n packaging: NumberFiscalYears; // Emballages\n utilities: NumberFiscalYears; // Eau, électricité, gaz\n fuel: NumberFiscalYears; // Carburant\n equipmentAndSupplies: NumberFiscalYears; // Petit équipement et matériel\n administrativeSupplies: NumberFiscalYears; // Fournitures administratives\n}\n\nexport interface OtherCharges {\n realEstateRental: NumberFiscalYears; // Location immobilière\n otherRental: NumberFiscalYears; // Autres locations et crédit bail\n maintenanceAndRepair: NumberFiscalYears; // Entretien et réparation\n insuranceAndProfessionalLiability: NumberFiscalYears; // Assurances et RC Pro\n accountingFees: NumberFiscalYears; // Honoraires comptables\n otherFees: NumberFiscalYears; // Autres frais de gestion\n advertising: NumberFiscalYears; // Publicité\n kilometricAllowances: NumberFiscalYears; // Indemnités kilométriques\n otherTravelExpenses: NumberFiscalYears; // Autres frais de déplacement\n telephonyInternetNetworks: NumberFiscalYears; // Téléphonie, interne, réseaux\n bankFees: NumberFiscalYears; // Frais bancaires\n}\n\nexport interface SocialAndRemuneration {\n isACREBeneficiary: boolean; // Bénéficiaire de l'ACRE\n employee1GrossSalary: NumberFiscalYears; // Salaire brut employé 1\n employee2GrossSalary: NumberFiscalYears; // Salaire brut employé 2\n employee3GrossSalary: NumberFiscalYears; // Salaire brut employé 3\n remunerationPresident: NumberFiscalYears; // Rémunération brut président\n remunerationManager: NumberFiscalYears; // Rémunération gérant\n}\n\nexport interface PrevisionalFormPayload extends CompanyDescription, Investment, Financing, Turnover, Charges, Consumables, OtherCharges, SocialAndRemuneration {}"]}
1
+ {"version":3,"file":"PrevisionalFormPayload.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/previsionalForm/PrevisionalFormPayload.ts"],"names":[],"mappings":"","sourcesContent":["import { LegalFormTypeEnum } from '../../../Enum/LegalForm';\nimport { PrevisionalFormActivity } from '../../../Enum/PrevisionalForm';\nimport { TaxSystem } from '../../../Enum/TaxSystem';\n\nexport interface NumberFiscalYears {\n n: number;\n n1: number;\n n2: number;\n vat?: number;\n}\n\nexport interface LoanInformation {\n year: 'n' | 'n1' | 'n2';\n amount: number;\n duration: number;\n rate: number;\n payment: number;\n}\n\n\nexport interface OptionNumberFiscalYears extends Required<NumberFiscalYears> {\n isMarginRate?: boolean;\n}\n\nexport interface CompanyDescription {\n isCompanyCreation: boolean; // Est-ce une création ?\n idLegalForm: LegalFormTypeEnum; // Statut Juridique\n idTaxSystem: TaxSystem; // Régime d'imposition prévu\n activity: PrevisionalFormActivity; // Quelle est l'activité de la société ?\n}\n\nexport interface Investment {\n computerHardware: Required<NumberFiscalYears>; // Matériel informatique\n utilityVehicle: Required<NumberFiscalYears>; // Véhicule utilitaire\n personalVehicle: Required<NumberFiscalYears>; // Véhicule particulier\n toolsEquipment: Required<NumberFiscalYears>; // Outillage, matériel\n software: Required<NumberFiscalYears>; // Logiciel\n website: Required<NumberFiscalYears>; // Site internet\n businessAssets: Required<NumberFiscalYears>; // Fonds de commerce\n immobilizedSecurities: Required<NumberFiscalYears>; // Titres immobilisés\n deposit: Required<NumberFiscalYears>; // Caution\n}\n\nexport interface Financing {\n socialCapital: NumberFiscalYears; // Augmentation social\n accountContribution: NumberFiscalYears; // Apport en compte courant d'associé\n loans: LoanInformation[]; // Emprunt bancaire\n}\n\nexport interface Turnover {\n turnover: Required<NumberFiscalYears>[]; // Ventes de marchandises / Ventes de matières premières / Ventes de prestations de services\n merchandisePurchase: OptionNumberFiscalYears[]; // Achats de marchandises / matières premières\n}\n\nexport interface Charges {\n outsourcing: Required<NumberFiscalYears>[]; // Sous-traitance prévue\n}\n\nexport interface Taxes {\n cfe: NumberFiscalYears | undefined; // CFE\n tvs: NumberFiscalYears | undefined; // TVS\n otherTaxes: NumberFiscalYears | undefined; // Autres impôts\n}\n\nexport interface Consumables {\n packaging: Required<NumberFiscalYears>; // Emballages\n utilities: Required<NumberFiscalYears>; // Eau, électricité, gaz\n fuel: Required<NumberFiscalYears>; // Carburant\n equipmentAndSupplies: Required<NumberFiscalYears>; // Petit équipement et matériel\n administrativeSupplies: Required<NumberFiscalYears>; // Fournitures administratives\n}\n\nexport interface OtherCharges {\n realEstateRental: Required<NumberFiscalYears>; // Location immobilière\n otherRental: Required<NumberFiscalYears>; // Autres locations et crédit bail\n maintenanceAndRepair: Required<NumberFiscalYears>; // Entretien et réparation\n insuranceAndProfessionalLiability: Required<NumberFiscalYears>; // Assurances et RC Pro\n accountingFees: Required<NumberFiscalYears>; // Honoraires comptables\n otherFees: Required<NumberFiscalYears>; // Autres frais de gestion\n advertising: Required<NumberFiscalYears>; // Publicité\n kilometricAllowances: Required<NumberFiscalYears>; // Indemnités kilométriques\n otherTravelExpenses: Required<NumberFiscalYears>; // Autres frais de déplacement\n telephonyInternetNetworks: Required<NumberFiscalYears>; // Téléphonie, interne, réseaux\n bankFees: Required<NumberFiscalYears>; // Frais bancaires\n}\n\nexport interface SocialAndRemuneration {\n isACREBeneficiary: boolean; // Bénéficiaire de l'ACRE\n employee1GrossSalary: NumberFiscalYears; // Salaire brut employé 1\n employee2GrossSalary: NumberFiscalYears; // Salaire brut employé 2\n employee3GrossSalary: NumberFiscalYears; // Salaire brut employé 3\n remunerationPresident: NumberFiscalYears; // Rémunération brut président\n remunerationManager: NumberFiscalYears; // Rémunération gérant\n}\n\nexport interface PrevisionalFormPayload extends CompanyDescription, Investment, Financing, Turnover, Charges, Taxes, Consumables, OtherCharges, SocialAndRemuneration {}"]}
@@ -2,6 +2,7 @@ export declare class QueryUnpaidSociety {
2
2
  search?: string;
3
3
  nbUnpaid?: number;
4
4
  isExoExpress?: boolean;
5
+ isRecoverable?: boolean;
5
6
  unpaidReason?: string;
6
7
  listIdPrestationList?: number[];
7
8
  limit?: number;