@silexpert/core 1.2.52 → 1.2.54
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/3cx.d.ts +2 -2
- package/dist/cjs/api/resources/3cx.d.ts.map +1 -1
- package/dist/cjs/api/resources/3cx.js.map +1 -1
- package/dist/cjs/api/resources/BalanceSheet.d.ts +3 -0
- package/dist/cjs/api/resources/BalanceSheet.d.ts.map +1 -1
- package/dist/cjs/api/resources/BalanceSheet.js +10 -0
- package/dist/cjs/api/resources/BalanceSheet.js.map +1 -1
- package/dist/cjs/api/resources/KilometricAllowance.d.ts +5 -1
- package/dist/cjs/api/resources/KilometricAllowance.d.ts.map +1 -1
- package/dist/cjs/api/resources/KilometricAllowance.js +9 -1
- package/dist/cjs/api/resources/KilometricAllowance.js.map +1 -1
- package/dist/cjs/api/resources/{ToDoExpress.d.ts → ToDoBalanceSheet.d.ts} +8 -8
- package/dist/cjs/api/resources/ToDoBalanceSheet.d.ts.map +1 -0
- package/dist/cjs/api/resources/{ToDoExpress.js → ToDoBalanceSheet.js} +10 -10
- package/dist/cjs/api/resources/ToDoBalanceSheet.js.map +1 -0
- package/dist/cjs/api/resources.d.ts +2 -2
- package/dist/cjs/api/resources.d.ts.map +1 -1
- package/dist/cjs/api/resources.js +2 -2
- package/dist/cjs/api/resources.js.map +1 -1
- package/dist/cjs/types/Interface/api/3cx/Query3cxMeeting.d.ts +1 -0
- package/dist/cjs/types/Interface/api/3cx/Query3cxMeeting.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/3cx/Query3cxMeeting.js +6 -0
- package/dist/cjs/types/Interface/api/3cx/Query3cxMeeting.js.map +1 -1
- package/dist/cjs/types/Interface/api/3cx/Read3cxMeeting.d.ts +16 -2
- package/dist/cjs/types/Interface/api/3cx/Read3cxMeeting.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/3cx/Read3cxMeeting.js +0 -7
- package/dist/cjs/types/Interface/api/3cx/Read3cxMeeting.js.map +1 -1
- package/dist/cjs/types/Interface/api/brevo/BrevoElement.d.ts +3 -0
- package/dist/cjs/types/Interface/api/brevo/BrevoElement.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/brevo/BrevoElement.js +10 -1
- package/dist/cjs/types/Interface/api/brevo/BrevoElement.js.map +1 -1
- package/dist/cjs/types/Interface/api/brevo/Read.d.ts +3 -0
- package/dist/cjs/types/Interface/api/brevo/Read.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/brevo/Read.js.map +1 -1
- package/dist/cjs/types/Interface/api/cashAndExpense/Query.d.ts +3 -0
- package/dist/cjs/types/Interface/api/cashAndExpense/Query.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cashAndExpense/Query.js +10 -1
- package/dist/cjs/types/Interface/api/cashAndExpense/Query.js.map +1 -1
- package/dist/cjs/types/Interface/api/commercialManagement/Create.d.ts +1 -0
- package/dist/cjs/types/Interface/api/commercialManagement/Create.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/commercialManagement/Create.js +5 -0
- package/dist/cjs/types/Interface/api/commercialManagement/Create.js.map +1 -1
- package/dist/cjs/types/Interface/api/kilometricAllowance/ReadKilometricAllowance.d.ts +7 -0
- package/dist/cjs/types/Interface/api/kilometricAllowance/ReadKilometricAllowance.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/kilometricAllowance/ReadKilometricAllowance.js.map +1 -1
- package/dist/cjs/types/Interface/api/previsionalForm/CreatePrevisionalForm.d.ts +0 -1
- package/dist/cjs/types/Interface/api/previsionalForm/CreatePrevisionalForm.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/previsionalForm/CreatePrevisionalForm.js +0 -5
- package/dist/cjs/types/Interface/api/previsionalForm/CreatePrevisionalForm.js.map +1 -1
- package/dist/cjs/types/Interface/api/previsionalForm/PrevisionalFormPayload.d.ts +0 -1
- package/dist/cjs/types/Interface/api/previsionalForm/PrevisionalFormPayload.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/previsionalForm/PrevisionalFormPayload.js.map +1 -1
- package/dist/cjs/types/Interface/api/toDoExpress/Query.d.ts +13 -2
- package/dist/cjs/types/Interface/api/toDoExpress/Query.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/toDoExpress/Query.js +92 -34
- package/dist/cjs/types/Interface/api/toDoExpress/Query.js.map +1 -1
- package/dist/mjs/api/resources/3cx.d.ts +2 -2
- package/dist/mjs/api/resources/3cx.d.ts.map +1 -1
- package/dist/mjs/api/resources/3cx.js.map +1 -1
- package/dist/mjs/api/resources/BalanceSheet.d.ts +3 -0
- package/dist/mjs/api/resources/BalanceSheet.d.ts.map +1 -1
- package/dist/mjs/api/resources/BalanceSheet.js +10 -0
- package/dist/mjs/api/resources/BalanceSheet.js.map +1 -1
- package/dist/mjs/api/resources/KilometricAllowance.d.ts +5 -1
- package/dist/mjs/api/resources/KilometricAllowance.d.ts.map +1 -1
- package/dist/mjs/api/resources/KilometricAllowance.js +12 -0
- package/dist/mjs/api/resources/KilometricAllowance.js.map +1 -1
- package/dist/mjs/api/resources/{ToDoExpress.d.ts → ToDoBalanceSheet.d.ts} +8 -8
- package/dist/mjs/api/resources/ToDoBalanceSheet.d.ts.map +1 -0
- package/dist/mjs/api/resources/{ToDoExpress.js → ToDoBalanceSheet.js} +8 -8
- package/dist/mjs/api/resources/ToDoBalanceSheet.js.map +1 -0
- package/dist/mjs/api/resources.d.ts +2 -2
- package/dist/mjs/api/resources.d.ts.map +1 -1
- package/dist/mjs/api/resources.js +2 -2
- package/dist/mjs/api/resources.js.map +1 -1
- package/dist/mjs/types/Interface/api/3cx/Query3cxMeeting.d.ts +1 -0
- package/dist/mjs/types/Interface/api/3cx/Query3cxMeeting.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/3cx/Query3cxMeeting.js +7 -0
- package/dist/mjs/types/Interface/api/3cx/Query3cxMeeting.js.map +1 -1
- package/dist/mjs/types/Interface/api/3cx/Read3cxMeeting.d.ts +16 -2
- package/dist/mjs/types/Interface/api/3cx/Read3cxMeeting.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/3cx/Read3cxMeeting.js +1 -13
- package/dist/mjs/types/Interface/api/3cx/Read3cxMeeting.js.map +1 -1
- package/dist/mjs/types/Interface/api/brevo/BrevoElement.d.ts +3 -0
- package/dist/mjs/types/Interface/api/brevo/BrevoElement.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/brevo/BrevoElement.js +9 -0
- package/dist/mjs/types/Interface/api/brevo/BrevoElement.js.map +1 -1
- package/dist/mjs/types/Interface/api/brevo/Read.d.ts +3 -0
- package/dist/mjs/types/Interface/api/brevo/Read.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/brevo/Read.js.map +1 -1
- package/dist/mjs/types/Interface/api/cashAndExpense/Query.d.ts +3 -0
- package/dist/mjs/types/Interface/api/cashAndExpense/Query.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cashAndExpense/Query.js +10 -1
- package/dist/mjs/types/Interface/api/cashAndExpense/Query.js.map +1 -1
- package/dist/mjs/types/Interface/api/commercialManagement/Create.d.ts +1 -0
- package/dist/mjs/types/Interface/api/commercialManagement/Create.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/commercialManagement/Create.js +6 -0
- package/dist/mjs/types/Interface/api/commercialManagement/Create.js.map +1 -1
- package/dist/mjs/types/Interface/api/kilometricAllowance/ReadKilometricAllowance.d.ts +7 -0
- package/dist/mjs/types/Interface/api/kilometricAllowance/ReadKilometricAllowance.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/kilometricAllowance/ReadKilometricAllowance.js.map +1 -1
- package/dist/mjs/types/Interface/api/previsionalForm/CreatePrevisionalForm.d.ts +0 -1
- package/dist/mjs/types/Interface/api/previsionalForm/CreatePrevisionalForm.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/previsionalForm/CreatePrevisionalForm.js +0 -6
- package/dist/mjs/types/Interface/api/previsionalForm/CreatePrevisionalForm.js.map +1 -1
- package/dist/mjs/types/Interface/api/previsionalForm/PrevisionalFormPayload.d.ts +0 -1
- package/dist/mjs/types/Interface/api/previsionalForm/PrevisionalFormPayload.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/previsionalForm/PrevisionalFormPayload.js.map +1 -1
- package/dist/mjs/types/Interface/api/toDoExpress/Query.d.ts +13 -2
- package/dist/mjs/types/Interface/api/toDoExpress/Query.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/toDoExpress/Query.js +98 -32
- package/dist/mjs/types/Interface/api/toDoExpress/Query.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/3cx.ts +2 -2
- package/ts/api/resources/BalanceSheet.ts +11 -0
- package/ts/api/resources/KilometricAllowance.ts +17 -0
- package/ts/api/resources/ToDoBalanceSheet.ts +62 -0
- package/ts/api/resources.ts +2 -2
- package/ts/types/Interface/api/3cx/Query3cxMeeting.ts +5 -0
- package/ts/types/Interface/api/3cx/Read3cxMeeting.ts +18 -2
- package/ts/types/Interface/api/brevo/BrevoElement.ts +7 -0
- package/ts/types/Interface/api/brevo/Read.ts +4 -0
- package/ts/types/Interface/api/cashAndExpense/Query.ts +8 -1
- package/ts/types/Interface/api/commercialManagement/Create.ts +4 -0
- package/ts/types/Interface/api/kilometricAllowance/ReadKilometricAllowance.ts +8 -0
- package/ts/types/Interface/api/previsionalForm/CreatePrevisionalForm.ts +0 -4
- package/ts/types/Interface/api/previsionalForm/PrevisionalFormPayload.ts +9 -10
- package/ts/types/Interface/api/toDoExpress/Query.ts +51 -3
- package/dist/cjs/api/resources/ToDoExpress.d.ts.map +0 -1
- package/dist/cjs/api/resources/ToDoExpress.js.map +0 -1
- package/dist/mjs/api/resources/ToDoExpress.d.ts.map +0 -1
- package/dist/mjs/api/resources/ToDoExpress.js.map +0 -1
- package/ts/api/resources/ToDoExpress.ts +0 -43
|
@@ -8,10 +8,11 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
10
|
import { IsArray, IsBoolean, IsDate, IsInt, IsOptional, IsString } from 'class-validator';
|
|
11
|
-
import { ApiPropertyOptional } from '../../../../utils';
|
|
11
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
12
12
|
import { RequiredQueryPaginate } from '../BasePaginate';
|
|
13
13
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
14
|
-
export class
|
|
14
|
+
export class QueryToDoBalanceSheetPaginated extends RequiredQueryPaginate {
|
|
15
|
+
isExpress;
|
|
15
16
|
search;
|
|
16
17
|
accountant;
|
|
17
18
|
legalForm;
|
|
@@ -29,105 +30,112 @@ export class QueryToDoExpressPaginated extends RequiredQueryPaginate {
|
|
|
29
30
|
supervisionState;
|
|
30
31
|
planedState;
|
|
31
32
|
}
|
|
33
|
+
__decorate([
|
|
34
|
+
ApiProperty(),
|
|
35
|
+
IsBoolean(),
|
|
36
|
+
ToBoolean(),
|
|
37
|
+
__metadata("design:type", Boolean)
|
|
38
|
+
], QueryToDoBalanceSheetPaginated.prototype, "isExpress", void 0);
|
|
32
39
|
__decorate([
|
|
33
40
|
ApiPropertyOptional(),
|
|
34
41
|
IsOptional(),
|
|
35
42
|
IsString(),
|
|
36
43
|
__metadata("design:type", String)
|
|
37
|
-
],
|
|
44
|
+
], QueryToDoBalanceSheetPaginated.prototype, "search", void 0);
|
|
38
45
|
__decorate([
|
|
39
46
|
ApiPropertyOptional(),
|
|
40
47
|
IsOptional(),
|
|
41
48
|
__metadata("design:type", Object)
|
|
42
|
-
],
|
|
49
|
+
], QueryToDoBalanceSheetPaginated.prototype, "accountant", void 0);
|
|
43
50
|
__decorate([
|
|
44
51
|
ApiPropertyOptional(),
|
|
45
52
|
IsOptional(),
|
|
46
53
|
IsInt(),
|
|
47
54
|
__metadata("design:type", Number)
|
|
48
|
-
],
|
|
55
|
+
], QueryToDoBalanceSheetPaginated.prototype, "legalForm", void 0);
|
|
49
56
|
__decorate([
|
|
50
57
|
ApiPropertyOptional(),
|
|
51
58
|
IsOptional(),
|
|
52
59
|
IsDate(),
|
|
53
60
|
__metadata("design:type", Date)
|
|
54
|
-
],
|
|
61
|
+
], QueryToDoBalanceSheetPaginated.prototype, "arrivalDate", void 0);
|
|
55
62
|
__decorate([
|
|
56
63
|
ApiPropertyOptional(),
|
|
57
64
|
IsOptional(),
|
|
58
65
|
IsArray(),
|
|
59
66
|
__metadata("design:type", Array)
|
|
60
|
-
],
|
|
67
|
+
], QueryToDoBalanceSheetPaginated.prototype, "turnoverMax", void 0);
|
|
61
68
|
__decorate([
|
|
62
69
|
ApiPropertyOptional(),
|
|
63
70
|
IsOptional(),
|
|
64
71
|
IsBoolean(),
|
|
65
72
|
ToBoolean(),
|
|
66
73
|
__metadata("design:type", Boolean)
|
|
67
|
-
],
|
|
74
|
+
], QueryToDoBalanceSheetPaginated.prototype, "facturationState", void 0);
|
|
68
75
|
__decorate([
|
|
69
76
|
ApiPropertyOptional(),
|
|
70
77
|
IsOptional(),
|
|
71
78
|
IsInt(),
|
|
72
79
|
__metadata("design:type", Number)
|
|
73
|
-
],
|
|
80
|
+
], QueryToDoBalanceSheetPaginated.prototype, "missionAcceptationState", void 0);
|
|
74
81
|
__decorate([
|
|
75
82
|
ApiPropertyOptional(),
|
|
76
83
|
IsOptional(),
|
|
77
84
|
IsInt(),
|
|
78
85
|
__metadata("design:type", Number)
|
|
79
|
-
],
|
|
86
|
+
], QueryToDoBalanceSheetPaginated.prototype, "onboardingState", void 0);
|
|
80
87
|
__decorate([
|
|
81
88
|
ApiPropertyOptional(),
|
|
82
89
|
IsOptional(),
|
|
83
90
|
IsInt(),
|
|
84
91
|
__metadata("design:type", Number)
|
|
85
|
-
],
|
|
92
|
+
], QueryToDoBalanceSheetPaginated.prototype, "dateEnd", void 0);
|
|
86
93
|
__decorate([
|
|
87
94
|
ApiPropertyOptional(),
|
|
88
95
|
IsOptional(),
|
|
89
96
|
IsInt(),
|
|
90
97
|
__metadata("design:type", Number)
|
|
91
|
-
],
|
|
98
|
+
], QueryToDoBalanceSheetPaginated.prototype, "year", void 0);
|
|
92
99
|
__decorate([
|
|
93
100
|
ApiPropertyOptional(),
|
|
94
101
|
IsOptional(),
|
|
95
102
|
IsBoolean(),
|
|
96
103
|
ToBoolean(),
|
|
97
104
|
__metadata("design:type", Boolean)
|
|
98
|
-
],
|
|
105
|
+
], QueryToDoBalanceSheetPaginated.prototype, "collectionState", void 0);
|
|
99
106
|
__decorate([
|
|
100
107
|
ApiPropertyOptional(),
|
|
101
108
|
IsOptional(),
|
|
102
109
|
IsArray(),
|
|
103
110
|
__metadata("design:type", Array)
|
|
104
|
-
],
|
|
111
|
+
], QueryToDoBalanceSheetPaginated.prototype, "notation", void 0);
|
|
105
112
|
__decorate([
|
|
106
113
|
ApiPropertyOptional(),
|
|
107
114
|
IsOptional(),
|
|
108
115
|
IsArray(),
|
|
109
116
|
__metadata("design:type", Array)
|
|
110
|
-
],
|
|
117
|
+
], QueryToDoBalanceSheetPaginated.prototype, "review", void 0);
|
|
111
118
|
__decorate([
|
|
112
119
|
ApiPropertyOptional(),
|
|
113
120
|
IsOptional(),
|
|
114
121
|
IsInt(),
|
|
115
122
|
__metadata("design:type", Number)
|
|
116
|
-
],
|
|
123
|
+
], QueryToDoBalanceSheetPaginated.prototype, "balanceSheetState", void 0);
|
|
117
124
|
__decorate([
|
|
118
125
|
ApiPropertyOptional(),
|
|
119
126
|
IsOptional(),
|
|
120
127
|
IsInt(),
|
|
121
128
|
__metadata("design:type", Number)
|
|
122
|
-
],
|
|
129
|
+
], QueryToDoBalanceSheetPaginated.prototype, "supervisionState", void 0);
|
|
123
130
|
__decorate([
|
|
124
131
|
ApiPropertyOptional(),
|
|
125
132
|
IsOptional(),
|
|
126
133
|
IsBoolean(),
|
|
127
134
|
ToBoolean(),
|
|
128
135
|
__metadata("design:type", Boolean)
|
|
129
|
-
],
|
|
130
|
-
export class
|
|
136
|
+
], QueryToDoBalanceSheetPaginated.prototype, "planedState", void 0);
|
|
137
|
+
export class QueryToDoBalanceSheetStats {
|
|
138
|
+
isExpress;
|
|
131
139
|
search;
|
|
132
140
|
accountant;
|
|
133
141
|
legalForm;
|
|
@@ -142,85 +150,143 @@ export class QueryToDoExpressStats {
|
|
|
142
150
|
supervisionState;
|
|
143
151
|
planedState;
|
|
144
152
|
}
|
|
153
|
+
__decorate([
|
|
154
|
+
ApiProperty(),
|
|
155
|
+
IsBoolean(),
|
|
156
|
+
ToBoolean(),
|
|
157
|
+
__metadata("design:type", Boolean)
|
|
158
|
+
], QueryToDoBalanceSheetStats.prototype, "isExpress", void 0);
|
|
145
159
|
__decorate([
|
|
146
160
|
ApiPropertyOptional(),
|
|
147
161
|
IsOptional(),
|
|
148
162
|
IsString(),
|
|
149
163
|
__metadata("design:type", String)
|
|
150
|
-
],
|
|
164
|
+
], QueryToDoBalanceSheetStats.prototype, "search", void 0);
|
|
151
165
|
__decorate([
|
|
152
166
|
ApiPropertyOptional(),
|
|
153
167
|
IsOptional(),
|
|
154
168
|
IsInt(),
|
|
155
169
|
__metadata("design:type", Number)
|
|
156
|
-
],
|
|
170
|
+
], QueryToDoBalanceSheetStats.prototype, "accountant", void 0);
|
|
157
171
|
__decorate([
|
|
158
172
|
ApiPropertyOptional(),
|
|
159
173
|
IsOptional(),
|
|
160
174
|
IsInt(),
|
|
161
175
|
__metadata("design:type", Number)
|
|
162
|
-
],
|
|
176
|
+
], QueryToDoBalanceSheetStats.prototype, "legalForm", void 0);
|
|
163
177
|
__decorate([
|
|
164
178
|
ApiPropertyOptional(),
|
|
165
179
|
IsOptional(),
|
|
166
180
|
IsDate(),
|
|
167
181
|
__metadata("design:type", Date)
|
|
168
|
-
],
|
|
182
|
+
], QueryToDoBalanceSheetStats.prototype, "arrivalDate", void 0);
|
|
169
183
|
__decorate([
|
|
170
184
|
ApiPropertyOptional(),
|
|
171
185
|
IsOptional(),
|
|
172
186
|
IsArray(),
|
|
173
187
|
__metadata("design:type", Array)
|
|
174
|
-
],
|
|
188
|
+
], QueryToDoBalanceSheetStats.prototype, "turnoverMax", void 0);
|
|
175
189
|
__decorate([
|
|
176
190
|
ApiPropertyOptional(),
|
|
177
191
|
IsOptional(),
|
|
178
192
|
IsBoolean(),
|
|
179
193
|
ToBoolean(),
|
|
180
194
|
__metadata("design:type", Boolean)
|
|
181
|
-
],
|
|
195
|
+
], QueryToDoBalanceSheetStats.prototype, "facturationState", void 0);
|
|
182
196
|
__decorate([
|
|
183
197
|
ApiPropertyOptional(),
|
|
184
198
|
IsOptional(),
|
|
185
199
|
IsInt(),
|
|
186
200
|
__metadata("design:type", Number)
|
|
187
|
-
],
|
|
201
|
+
], QueryToDoBalanceSheetStats.prototype, "onboardingState", void 0);
|
|
188
202
|
__decorate([
|
|
189
203
|
ApiPropertyOptional(),
|
|
190
204
|
IsOptional(),
|
|
191
205
|
IsBoolean(),
|
|
192
206
|
ToBoolean(),
|
|
193
207
|
__metadata("design:type", Boolean)
|
|
194
|
-
],
|
|
208
|
+
], QueryToDoBalanceSheetStats.prototype, "collectionState", void 0);
|
|
209
|
+
__decorate([
|
|
210
|
+
ApiPropertyOptional(),
|
|
211
|
+
IsOptional(),
|
|
212
|
+
IsArray(),
|
|
213
|
+
__metadata("design:type", Array)
|
|
214
|
+
], QueryToDoBalanceSheetStats.prototype, "notation", void 0);
|
|
195
215
|
__decorate([
|
|
196
216
|
ApiPropertyOptional(),
|
|
197
217
|
IsOptional(),
|
|
198
218
|
IsArray(),
|
|
199
219
|
__metadata("design:type", Array)
|
|
200
|
-
],
|
|
220
|
+
], QueryToDoBalanceSheetStats.prototype, "review", void 0);
|
|
221
|
+
__decorate([
|
|
222
|
+
ApiPropertyOptional(),
|
|
223
|
+
IsOptional(),
|
|
224
|
+
IsInt(),
|
|
225
|
+
__metadata("design:type", Number)
|
|
226
|
+
], QueryToDoBalanceSheetStats.prototype, "balanceSheetState", void 0);
|
|
227
|
+
__decorate([
|
|
228
|
+
ApiPropertyOptional(),
|
|
229
|
+
IsOptional(),
|
|
230
|
+
IsInt(),
|
|
231
|
+
__metadata("design:type", Number)
|
|
232
|
+
], QueryToDoBalanceSheetStats.prototype, "supervisionState", void 0);
|
|
233
|
+
__decorate([
|
|
234
|
+
ApiPropertyOptional(),
|
|
235
|
+
IsOptional(),
|
|
236
|
+
IsBoolean(),
|
|
237
|
+
ToBoolean(),
|
|
238
|
+
__metadata("design:type", Boolean)
|
|
239
|
+
], QueryToDoBalanceSheetStats.prototype, "planedState", void 0);
|
|
240
|
+
export class QueryToDoBalanceSheetGetExercicesSociety {
|
|
241
|
+
isExpress;
|
|
242
|
+
turnoverMax;
|
|
243
|
+
dateEnd;
|
|
244
|
+
year;
|
|
245
|
+
balanceSheetState;
|
|
246
|
+
supervisionState;
|
|
247
|
+
planedState;
|
|
248
|
+
}
|
|
249
|
+
__decorate([
|
|
250
|
+
ApiProperty(),
|
|
251
|
+
IsBoolean(),
|
|
252
|
+
ToBoolean(),
|
|
253
|
+
__metadata("design:type", Boolean)
|
|
254
|
+
], QueryToDoBalanceSheetGetExercicesSociety.prototype, "isExpress", void 0);
|
|
201
255
|
__decorate([
|
|
202
256
|
ApiPropertyOptional(),
|
|
203
257
|
IsOptional(),
|
|
204
258
|
IsArray(),
|
|
205
259
|
__metadata("design:type", Array)
|
|
206
|
-
],
|
|
260
|
+
], QueryToDoBalanceSheetGetExercicesSociety.prototype, "turnoverMax", void 0);
|
|
261
|
+
__decorate([
|
|
262
|
+
ApiPropertyOptional(),
|
|
263
|
+
IsOptional(),
|
|
264
|
+
IsInt(),
|
|
265
|
+
__metadata("design:type", Number)
|
|
266
|
+
], QueryToDoBalanceSheetGetExercicesSociety.prototype, "dateEnd", void 0);
|
|
267
|
+
__decorate([
|
|
268
|
+
ApiPropertyOptional(),
|
|
269
|
+
IsOptional(),
|
|
270
|
+
IsInt(),
|
|
271
|
+
__metadata("design:type", Number)
|
|
272
|
+
], QueryToDoBalanceSheetGetExercicesSociety.prototype, "year", void 0);
|
|
207
273
|
__decorate([
|
|
208
274
|
ApiPropertyOptional(),
|
|
209
275
|
IsOptional(),
|
|
210
276
|
IsInt(),
|
|
211
277
|
__metadata("design:type", Number)
|
|
212
|
-
],
|
|
278
|
+
], QueryToDoBalanceSheetGetExercicesSociety.prototype, "balanceSheetState", void 0);
|
|
213
279
|
__decorate([
|
|
214
280
|
ApiPropertyOptional(),
|
|
215
281
|
IsOptional(),
|
|
216
282
|
IsInt(),
|
|
217
283
|
__metadata("design:type", Number)
|
|
218
|
-
],
|
|
284
|
+
], QueryToDoBalanceSheetGetExercicesSociety.prototype, "supervisionState", void 0);
|
|
219
285
|
__decorate([
|
|
220
286
|
ApiPropertyOptional(),
|
|
221
287
|
IsOptional(),
|
|
222
288
|
IsBoolean(),
|
|
223
289
|
ToBoolean(),
|
|
224
290
|
__metadata("design:type", Boolean)
|
|
225
|
-
],
|
|
291
|
+
], QueryToDoBalanceSheetGetExercicesSociety.prototype, "planedState", void 0);
|
|
226
292
|
//# sourceMappingURL=Query.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/toDoExpress/Query.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC1F,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/toDoExpress/Query.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC1F,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,E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AM1B;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;6EACU","sourcesContent":["import { IsArray, IsBoolean, IsDate, IsInt, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { RequiredQueryPaginate } from '../BasePaginate';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryToDoBalanceSheetPaginated extends RequiredQueryPaginate {\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isExpress: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n accountant: number | number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n legalForm?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n arrivalDate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n turnoverMax?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n facturationState?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n missionAcceptationState?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n onboardingState?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n dateEnd?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n year?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n collectionState?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n notation?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n review?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n balanceSheetState?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n supervisionState?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n planedState?: boolean;\n}\n\nexport class QueryToDoBalanceSheetStats {\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isExpress: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n accountant?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n legalForm?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n arrivalDate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n turnoverMax?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n facturationState?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n onboardingState?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n collectionState?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n notation?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n review?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n balanceSheetState?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n supervisionState?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n planedState?: boolean;\n}\n\nexport class QueryToDoBalanceSheetGetExercicesSociety {\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isExpress: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n turnoverMax?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n dateEnd?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n year?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n balanceSheetState?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n supervisionState?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n planedState?: boolean;\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silexpert/core",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.54",
|
|
4
4
|
"description": "Silex Core perform HTTP Request and object binding. Silex core helps developers to retrieve and return formatted object",
|
|
5
5
|
"homepage": "https://gitlab.compta-clementine.fr/dev/silex-api",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
package/ts/api/resources/3cx.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BasePaginate, OptionalQueryPaginate, Query3cxLog, Read3cxAgent,
|
|
1
|
+
import { BasePaginate, OptionalQueryPaginate, Query3cxLog, Read3cxAgent, Read3cxMeetings } from '../../types';
|
|
2
2
|
import { ICallHistory } from '../../types/Interface/models/ICallHistory';
|
|
3
3
|
import { Resource } from '../Resource';
|
|
4
4
|
|
|
@@ -11,7 +11,7 @@ export class Cx extends Resource {
|
|
|
11
11
|
return this.axios.$get('/connectors/3cx/agents');
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
getAllMeetings(): Promise<
|
|
14
|
+
getAllMeetings(): Promise<Read3cxMeetings> {
|
|
15
15
|
return this.axios.$get('/connectors/3cx/meetings');
|
|
16
16
|
}
|
|
17
17
|
|
|
@@ -64,6 +64,17 @@ export class BalanceSheet extends Resource {
|
|
|
64
64
|
});
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
+
// cette route a été créée pour des tests sur l'envoi de project client (juste pour vérifier le retour du SIG)
|
|
68
|
+
// ce sera supprimé par la suite.
|
|
69
|
+
getIntermediateManagementRebatePdf(params: { idExercice: number }): Promise<Buffer> {
|
|
70
|
+
return this.axios.$get(`/exercice/${params.idExercice}/balanceSheet/intermediate-management-rebate/pdf`, {
|
|
71
|
+
responseType: 'arraybuffer',
|
|
72
|
+
headers: {
|
|
73
|
+
Accept: 'application/pdf',
|
|
74
|
+
},
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
|
|
67
78
|
getFreelanceTurnover(params: { idExercice: number }): Promise<ReadFreelanceTurnover> {
|
|
68
79
|
return this.axios.$get(`/exercice/${params.idExercice}/balanceSheet/freelanceTurnover`);
|
|
69
80
|
}
|
|
@@ -4,6 +4,8 @@ import {
|
|
|
4
4
|
CreateKilometricAllowanceValidation,
|
|
5
5
|
IAccountingTransaction,
|
|
6
6
|
QueryKilometricAllowance,
|
|
7
|
+
QueryKilometricAllowanceGrouped,
|
|
8
|
+
ReadKilometricAllowanceByPartner,
|
|
7
9
|
ReadKilometricAllowanceByVehicle,
|
|
8
10
|
} from '../../types';
|
|
9
11
|
|
|
@@ -23,8 +25,23 @@ export class KilometricAllowance extends Resource {
|
|
|
23
25
|
});
|
|
24
26
|
}
|
|
25
27
|
|
|
28
|
+
/**
|
|
29
|
+
* Resume by vehicle
|
|
30
|
+
*/
|
|
26
31
|
getResume(idExercice: number, signal?: AbortSignal): Promise<ReadKilometricAllowanceByVehicle[]> {
|
|
32
|
+
const query = { groupedBy: 'vehicle' } satisfies QueryKilometricAllowanceGrouped;
|
|
33
|
+
|
|
27
34
|
return this.axios.$get(`/exercices/${idExercice}/kilometric-allowances`, {
|
|
35
|
+
params: query,
|
|
36
|
+
...(signal ? { signal } : {}),
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
getResumeByPartner(idExercice: number, signal?: AbortSignal): Promise<ReadKilometricAllowanceByPartner[]> {
|
|
41
|
+
const query = { groupedBy: 'partner' } satisfies QueryKilometricAllowanceGrouped;
|
|
42
|
+
|
|
43
|
+
return this.axios.$get(`/exercices/${idExercice}/kilometric-allowances`, {
|
|
44
|
+
params: query,
|
|
28
45
|
...(signal ? { signal } : {}),
|
|
29
46
|
});
|
|
30
47
|
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { Resource } from '../Resource';
|
|
2
|
+
import {
|
|
3
|
+
BasePaginate,
|
|
4
|
+
IExercice,
|
|
5
|
+
ISociety,
|
|
6
|
+
QueryToDoBalanceSheetPaginated,
|
|
7
|
+
QueryToDoBalanceSheetStats,
|
|
8
|
+
} from '../../types';
|
|
9
|
+
|
|
10
|
+
export class ToDoBalanceSheet extends Resource {
|
|
11
|
+
/**
|
|
12
|
+
* Retourne les société sous format paginé
|
|
13
|
+
* @param { QueryToDoBalanceSheetPaginated } params
|
|
14
|
+
* @param { AbortSignal } signal
|
|
15
|
+
* @returns { Promise<BasePaginate<ISociety>> }
|
|
16
|
+
*/
|
|
17
|
+
getPaginated(
|
|
18
|
+
params: QueryToDoBalanceSheetPaginated,
|
|
19
|
+
signal?: AbortSignal,
|
|
20
|
+
): Promise<BasePaginate<ISociety>> {
|
|
21
|
+
return this.axios.$get('/balance-sheet/todo', {
|
|
22
|
+
...(signal ? { signal } : {}),
|
|
23
|
+
params,
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Retourne les statistiques
|
|
29
|
+
* @param { QueryToDoBalanceSheetStats } params
|
|
30
|
+
* @param { AbortSignal } signal
|
|
31
|
+
* @returns { Promise<{ [key: string]: number }> }
|
|
32
|
+
*/
|
|
33
|
+
getStats(
|
|
34
|
+
params: QueryToDoBalanceSheetStats,
|
|
35
|
+
signal?: AbortSignal,
|
|
36
|
+
): Promise<{ [key: string]: number }> {
|
|
37
|
+
return this.axios.$get('/balance-sheet/todo/stats', {
|
|
38
|
+
...(signal ? { signal } : {}),
|
|
39
|
+
params,
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Retourne le détail pour un exercice donné
|
|
45
|
+
* @param { number } idSociety
|
|
46
|
+
* @param { number } idExercice
|
|
47
|
+
* @param { AbortSignal } signal
|
|
48
|
+
* @returns { Promise<IExercice> }
|
|
49
|
+
*/
|
|
50
|
+
getExercice(
|
|
51
|
+
idSociety: number,
|
|
52
|
+
idExercice: number,
|
|
53
|
+
signal?: AbortSignal,
|
|
54
|
+
): Promise<IExercice> {
|
|
55
|
+
return this.axios.$get(
|
|
56
|
+
`/balance-sheet/todo/${idSociety}/exercice/${idExercice}`,
|
|
57
|
+
{
|
|
58
|
+
...(signal ? { signal } : {}),
|
|
59
|
+
},
|
|
60
|
+
);
|
|
61
|
+
}
|
|
62
|
+
}
|
package/ts/api/resources.ts
CHANGED
|
@@ -164,7 +164,7 @@ import { UserSocietyPermission } from './resources/UserSocietyPermission';
|
|
|
164
164
|
import { BalanceSheetSupervision } from './resources/BalanceSheetSupervision';
|
|
165
165
|
import { CompanyCreationForm } from './resources/CompanyCreationForm';
|
|
166
166
|
import { BankConnection } from './resources/BankConnection';
|
|
167
|
-
import {
|
|
167
|
+
import { ToDoBalanceSheet } from './resources/ToDoBalanceSheet';
|
|
168
168
|
import { JuridicalMission } from './resources/JuridicalMission';
|
|
169
169
|
import { PrestationComplementary } from './resources/PrestationComplementary';
|
|
170
170
|
import { PrevisionalForm } from './resources/PrevisionalForm';
|
|
@@ -343,7 +343,7 @@ export const resources = {
|
|
|
343
343
|
companyCreationForm: CompanyCreationForm,
|
|
344
344
|
project: Project,
|
|
345
345
|
bankConnection: BankConnection,
|
|
346
|
-
|
|
346
|
+
toDoBalanceSheet: ToDoBalanceSheet,
|
|
347
347
|
juridicalMission: JuridicalMission,
|
|
348
348
|
prestationComplementary: PrestationComplementary,
|
|
349
349
|
previsionalForm: PrevisionalForm,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export interface ReadData3cxMeeting {
|
|
2
2
|
extension: number | null;
|
|
3
3
|
name: string | null;
|
|
4
4
|
meetingid: string | null;
|
|
@@ -9,6 +9,22 @@ export class ReadData3cxMeeting {
|
|
|
9
9
|
type: string | null;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
export
|
|
12
|
+
export interface Read3cxMeetings {
|
|
13
13
|
scheduledMeetings: ReadData3cxMeeting[];
|
|
14
14
|
}
|
|
15
|
+
|
|
16
|
+
export interface ReadDataForOne3cxMeeting {
|
|
17
|
+
extension: number | null;
|
|
18
|
+
name: string | null;
|
|
19
|
+
meetingid: string | null;
|
|
20
|
+
subject: string | null;
|
|
21
|
+
datetime: string | null;
|
|
22
|
+
duration: number | null;
|
|
23
|
+
participants: Participant[] | null;
|
|
24
|
+
type: string | null;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export interface Participant {
|
|
28
|
+
email: string;
|
|
29
|
+
name: string;
|
|
30
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IsBoolean, IsDateString, IsOptional, IsString } from 'class-validator';
|
|
1
|
+
import { IsBoolean, IsDateString, IsIn, IsOptional, IsString } from 'class-validator';
|
|
2
2
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
3
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
4
4
|
|
|
@@ -22,3 +22,10 @@ export class QueryKilometricAllowance {
|
|
|
22
22
|
@IsOptional()
|
|
23
23
|
isDescending?: boolean;
|
|
24
24
|
}
|
|
25
|
+
|
|
26
|
+
export class QueryKilometricAllowanceGrouped {
|
|
27
|
+
@ApiPropertyOptional()
|
|
28
|
+
@IsIn(['partner', 'vehicle'])
|
|
29
|
+
@IsOptional()
|
|
30
|
+
groupedBy?: 'partner' | 'vehicle';
|
|
31
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ISocietyPartner } from '../../..';
|
|
1
2
|
import { ISocietyVehicle } from '../../models/ISocietyVehicle';
|
|
2
3
|
|
|
3
4
|
export type ReadKilometricAllowanceByVehicleInfoPerYear = {
|
|
@@ -12,3 +13,10 @@ export type ReadKilometricAllowanceByVehicle = {
|
|
|
12
13
|
kilometers: number;
|
|
13
14
|
informationsPerYear: ReadKilometricAllowanceByVehicleInfoPerYear[];
|
|
14
15
|
};
|
|
16
|
+
|
|
17
|
+
export type ReadKilometricAllowanceByPartner = {
|
|
18
|
+
partner: ISocietyPartner;
|
|
19
|
+
amount: number;
|
|
20
|
+
kilometers: number;
|
|
21
|
+
informationsPerYear: ReadKilometricAllowanceByVehicleInfoPerYear[];
|
|
22
|
+
};
|
|
@@ -14,7 +14,6 @@ export interface LoanInformation {
|
|
|
14
14
|
amount: number;
|
|
15
15
|
duration: number;
|
|
16
16
|
rate: number;
|
|
17
|
-
payment: number;
|
|
18
17
|
}
|
|
19
18
|
|
|
20
19
|
export interface OptionNumberFiscalYears extends Required<NumberFiscalYears> {
|
|
@@ -97,12 +96,12 @@ export interface ProjectSummary {
|
|
|
97
96
|
|
|
98
97
|
export interface PrevisionalFormPayload
|
|
99
98
|
extends CompanyDescription,
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
99
|
+
Investment,
|
|
100
|
+
Financing,
|
|
101
|
+
Turnover,
|
|
102
|
+
Charges,
|
|
103
|
+
Taxes,
|
|
104
|
+
Consumables,
|
|
105
|
+
OtherCharges,
|
|
106
|
+
SocialAndRemuneration,
|
|
107
|
+
ProjectSummary { }
|