@silexpert/core 1.0.94 → 1.0.95

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 (74) hide show
  1. package/es/api/resources/Registration.d.ts +2 -2
  2. package/es/api/resources/Registration.d.ts.map +1 -1
  3. package/es/api/resources/Registration.js +2 -2
  4. package/es/api/resources/Registration.js.map +1 -1
  5. package/es/types/Enum/GeneralThirdParty.d.ts +6 -0
  6. package/es/types/Enum/GeneralThirdParty.d.ts.map +1 -0
  7. package/es/types/Enum/GeneralThirdParty.js +254 -0
  8. package/es/types/Enum/GeneralThirdParty.js.map +1 -0
  9. package/es/types/Interface/api/calendarEvent/createCalendarEventForUsers.d.ts +1 -0
  10. package/es/types/Interface/api/calendarEvent/createCalendarEventForUsers.d.ts.map +1 -1
  11. package/es/types/Interface/api/calendarEvent/createCalendarEventForUsers.js +6 -0
  12. package/es/types/Interface/api/calendarEvent/createCalendarEventForUsers.js.map +1 -1
  13. package/es/types/Interface/api/commercial/QueryGetStats.d.ts +1 -0
  14. package/es/types/Interface/api/commercial/QueryGetStats.d.ts.map +1 -1
  15. package/es/types/Interface/api/commercial/QueryGetStats.js +7 -1
  16. package/es/types/Interface/api/commercial/QueryGetStats.js.map +1 -1
  17. package/es/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.d.ts.map +1 -0
  18. package/es/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.js.map +1 -0
  19. package/es/types/Interface/api/facturation/QueryPaginatedSocietyWithFacturation.d.ts.map +1 -0
  20. package/es/types/Interface/api/facturation/QueryPaginatedSocietyWithFacturation.js.map +1 -0
  21. package/es/types/Interface/api/sheetMonthSchedule/QuerySheetMonthSchedule.d.ts +2 -1
  22. package/es/types/Interface/api/sheetMonthSchedule/QuerySheetMonthSchedule.d.ts.map +1 -1
  23. package/es/types/Interface/api/sheetMonthSchedule/QuerySheetMonthSchedule.js +8 -1
  24. package/es/types/Interface/api/sheetMonthSchedule/QuerySheetMonthSchedule.js.map +1 -1
  25. package/es/types/Interface/models/ISociety.d.ts +2 -1
  26. package/es/types/Interface/models/ISociety.d.ts.map +1 -1
  27. package/es/types/Interface/models/ISociety.js.map +1 -1
  28. package/es/types/index.d.ts +3 -2
  29. package/es/types/index.d.ts.map +1 -1
  30. package/es/types/index.js +3 -2
  31. package/es/types/index.js.map +1 -1
  32. package/es/utils/prestation.d.ts +1 -2
  33. package/es/utils/prestation.d.ts.map +1 -1
  34. package/es/utils/prestation.js +1 -44
  35. package/es/utils/prestation.js.map +1 -1
  36. package/js/api/resources/Registration.js +2 -2
  37. package/js/api/resources/Registration.js.map +1 -1
  38. package/js/types/Enum/GeneralThirdParty.js +760 -0
  39. package/js/types/Enum/GeneralThirdParty.js.map +1 -0
  40. package/js/types/Interface/api/calendarEvent/createCalendarEventForUsers.js +4 -0
  41. package/js/types/Interface/api/calendarEvent/createCalendarEventForUsers.js.map +1 -1
  42. package/js/types/Interface/api/commercial/QueryGetStats.js +2 -0
  43. package/js/types/Interface/api/commercial/QueryGetStats.js.map +1 -1
  44. package/js/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.js.map +1 -0
  45. package/js/types/Interface/api/facturation/QueryPaginatedSocietyWithFacturation.js.map +1 -0
  46. package/js/types/Interface/api/sheetMonthSchedule/QuerySheetMonthSchedule.js +3 -1
  47. package/js/types/Interface/api/sheetMonthSchedule/QuerySheetMonthSchedule.js.map +1 -1
  48. package/js/types/index.js +14 -2
  49. package/js/types/index.js.map +1 -1
  50. package/js/utils/prestation.js +1 -8
  51. package/js/utils/prestation.js.map +1 -1
  52. package/package.json +1 -1
  53. package/ts/api/resources/Registration.ts +23 -8
  54. package/ts/types/Enum/GeneralThirdParty.ts +258 -0
  55. package/ts/types/Interface/api/calendarEvent/createCalendarEventForUsers.ts +5 -0
  56. package/ts/types/Interface/api/commercial/QueryGetStats.ts +6 -1
  57. package/ts/types/Interface/api/sheetMonthSchedule/QuerySheetMonthSchedule.ts +8 -2
  58. package/ts/types/Interface/models/ISociety.ts +2 -1
  59. package/ts/types/index.ts +3 -2
  60. package/ts/utils/prestation.ts +1 -44
  61. package/es/types/Interface/api/society/QueryPaginatedSocietyWithFacturation.d.ts.map +0 -1
  62. package/es/types/Interface/api/society/QueryPaginatedSocietyWithFacturation.js.map +0 -1
  63. package/es/types/Interface/api/society/QueryPaginatedSocietyWithStatsCa.d.ts.map +0 -1
  64. package/es/types/Interface/api/society/QueryPaginatedSocietyWithStatsCa.js.map +0 -1
  65. package/js/types/Interface/api/society/QueryPaginatedSocietyWithFacturation.js.map +0 -1
  66. package/js/types/Interface/api/society/QueryPaginatedSocietyWithStatsCa.js.map +0 -1
  67. /package/es/types/Interface/api/{society → commercial}/QueryPaginatedSocietyWithStatsCa.d.ts +0 -0
  68. /package/es/types/Interface/api/{society → commercial}/QueryPaginatedSocietyWithStatsCa.js +0 -0
  69. /package/es/types/Interface/api/{society → facturation}/QueryPaginatedSocietyWithFacturation.d.ts +0 -0
  70. /package/es/types/Interface/api/{society → facturation}/QueryPaginatedSocietyWithFacturation.js +0 -0
  71. /package/js/types/Interface/api/{society → commercial}/QueryPaginatedSocietyWithStatsCa.js +0 -0
  72. /package/js/types/Interface/api/{society → facturation}/QueryPaginatedSocietyWithFacturation.js +0 -0
  73. /package/ts/types/Interface/api/{society → commercial}/QueryPaginatedSocietyWithStatsCa.ts +0 -0
  74. /package/ts/types/Interface/api/{society → facturation}/QueryPaginatedSocietyWithFacturation.ts +0 -0
@@ -1,19 +1,34 @@
1
1
  import { Resource } from '../Resource';
2
2
  import {
3
- CreateRegistration, ReadRegistration, CreateRegistrationSetting, IVatDeclarationSocietyDetail, QueryRegistration,
3
+ CreateRegistration,
4
+ ReadRegistration,
5
+ CreateRegistrationSetting,
6
+ IVatDeclarationSocietyDetail,
7
+ QueryRegistration,
8
+ DeclareRegistration,
4
9
  } from '../../types';
5
10
 
6
11
  export class Registration extends Resource {
7
- updateOrCreate(idExercice: number, params: CreateRegistration): Promise<ReadRegistration> {
12
+ updateOrCreate(
13
+ idExercice: number,
14
+ params: CreateRegistration,
15
+ ): Promise<ReadRegistration> {
8
16
  return this.axios.$post(`/exercices/${idExercice}/registrations`, params);
9
17
  }
10
- updateOrCreateSettings(params: CreateRegistrationSetting): Promise<IVatDeclarationSocietyDetail> {
18
+ updateOrCreateSettings(
19
+ params: CreateRegistrationSetting,
20
+ ): Promise<IVatDeclarationSocietyDetail> {
11
21
  return this.axios.$post('/registrations/settings', params);
12
22
  }
13
- getAll(idSociety: number, params?: QueryRegistration): Promise<ReadRegistration[]> {
14
- return this.axios.$get(`/societies/${idSociety}/registrations`, { ...(params ? { params } : {}) });
23
+ getAll(
24
+ idSociety: number,
25
+ params?: QueryRegistration,
26
+ ): Promise<ReadRegistration[]> {
27
+ return this.axios.$get(`/societies/${idSociety}/registrations`, {
28
+ ...(params ? { params } : {}),
29
+ });
15
30
  }
16
- declare(id: number): Promise<ReadRegistration> {
17
- return this.axios.$post(`/registrations/${id}/declare`);
31
+ declare(id: number, params: DeclareRegistration): Promise<ReadRegistration> {
32
+ return this.axios.$post(`/registrations/${id}/declare`, params);
18
33
  }
19
- }
34
+ }
@@ -0,0 +1,258 @@
1
+ export type GeneralThirdParty = {
2
+ company: string;
3
+ idAccount: number;
4
+ };
5
+
6
+ export const generalThirdParties: GeneralThirdParty[] = [
7
+ { company: 'ACTION FRANCE', idAccount: 24 },
8
+ { company: 'ADECCO FRANCE', idAccount: 97 },
9
+ { company: 'AEROPORTS DE PARIS', idAccount: 58384 },
10
+ { company: 'AIR LIQUIDE FRANCE INDUSTRIE', idAccount: 21 },
11
+ { company: 'AIRBUS', idAccount: 58383 },
12
+ { company: 'AMAZON', idAccount: 24 },
13
+ { company: 'AMAZON FRANCE TRANSPORT SAS', idAccount: 115 },
14
+ { company: 'ANTARGAZ', idAccount: 21 },
15
+ { company: 'APRR', idAccount: 58384 },
16
+ { company: 'AS 24', idAccount: 22 },
17
+ { company: 'AUCHAN CARBURANT', idAccount: 22 },
18
+ { company: 'AUCHAN HYPERMARCHE', idAccount: 117 },
19
+ { company: 'AUCHAN SUPERMARCHE', idAccount: 58383 },
20
+ { company: 'AUTOROUTES DU SUD DE LA FRANCE', idAccount: 58383 },
21
+ { company: 'BOLLORE ENERGY', idAccount: 21 },
22
+ { company: 'BOULANGER', idAccount: 24 },
23
+ { company: 'BOUYGUES TELECOM', idAccount: 123 },
24
+ { company: 'BOUYGUES TRAVAUX PUBLICS', idAccount: 223 },
25
+ { company: 'BRICO DEPOT', idAccount: 24 },
26
+ { company: 'BUT INTERNATIONAL', idAccount: 280 },
27
+ { company: 'BUTAGAZ', idAccount: 21 },
28
+ { company: 'CARREFOUR HYPERMARCHES', idAccount: 117 },
29
+ { company: 'CARREFOUR STATIONS SERVICE', idAccount: 22 },
30
+ { company: 'CARREFOUR SUPPLY CHAIN', idAccount: 58383 },
31
+ { company: 'CASTORAMA FRANCE', idAccount: 24 },
32
+ { company: 'CDISCOUNT', idAccount: 24 },
33
+ { company: 'CHRONOPOST', idAccount: 115 },
34
+ { company: 'COFIROUTE', idAccount: 58384 },
35
+ { company: 'CONFORAMA FRANCE', idAccount: 24 },
36
+ { company: 'CORA', idAccount: 58383 },
37
+ { company: 'DALKIA', idAccount: 21 },
38
+ { company: 'DELL', idAccount: 27586 },
39
+ { company: 'DIAC LOCATION', idAccount: 80 },
40
+ { company: 'EDF', idAccount: 21 },
41
+ { company: 'ELECTRO DEPOT FRANCE', idAccount: 24 },
42
+ { company: 'ENEDIS', idAccount: 21 },
43
+ { company: 'ENGIE', idAccount: 21 },
44
+ { company: 'ENGIE ENERGIE SERVICES', idAccount: 21 },
45
+ { company: 'ESSO', idAccount: 22 },
46
+ { company: 'DARTY', idAccount: 24 },
47
+ { company: 'FACEBOOK FRANCE', idAccount: 108 },
48
+ { company: 'FNAC', idAccount: 24 },
49
+ { company: 'FREE', idAccount: 123 },
50
+ { company: 'FREE MOBILE', idAccount: 123 },
51
+ { company: 'GRDF', idAccount: 21 },
52
+ { company: 'GRENKE LOCATION', idAccount: 80 },
53
+ { company: 'GRTGAZ', idAccount: 21 },
54
+ { company: 'HENKEL FRANCE', idAccount: 24 },
55
+ { company: 'HP FRANCE SAS', idAccount: 27586 },
56
+ { company: 'KPMG', idAccount: 104 },
57
+ { company: 'LA POSTE', idAccount: 122 },
58
+ { company: 'LEROY MERLIN FRANCE', idAccount: 24 },
59
+ { company: 'LOXAM', idAccount: 80 },
60
+ { company: 'LYONNAISE DES EAUX FRANCE', idAccount: 58366 },
61
+ { company: 'MANPOWER FRANCE', idAccount: 97 },
62
+ { company: 'MICHELIN', idAccount: 58379 },
63
+ { company: 'MCDONALD\'S FRANCE', idAccount: 58383 },
64
+ { company: 'METRO FRANCE', idAccount: 58514 },
65
+ { company: 'MEUBLES IKEA FRANCE', idAccount: 24 },
66
+ { company: 'MONOPRIX', idAccount: 58383 },
67
+ { company: 'NORAUTO FRANCE', idAccount: 58379 },
68
+ { company: 'ORANGE', idAccount: 123 },
69
+ { company: 'RANDSTAD', idAccount: 58517 },
70
+ { company: 'RELAIS FNAC', idAccount: 24 },
71
+ { company: 'SAMSUNG ELECTRONICS FRANCE', idAccount: 27586 },
72
+ { company: 'SANEF', idAccount: 58384 },
73
+ { company: 'SNCF RESEAU', idAccount: 58383 },
74
+ { company: 'SNCF VOYAGEURS', idAccount: 58383 },
75
+ { company: 'AIR FRANCE', idAccount: 117 },
76
+ { company: 'LECLERC', idAccount: 117 },
77
+ { company: 'SFR FIBRE SAS', idAccount: 123 },
78
+ { company: 'SUPERMARCHES MATCH', idAccount: 58383 },
79
+ { company: 'TOTAL ENERGIE GAZ', idAccount: 21 },
80
+ { company: 'TOTAL', idAccount: 22 },
81
+ { company: 'TOTALENERGIES ELECTRICITE ET GAZ FRANCE', idAccount: 21 },
82
+ { company: 'TRANSGOURMET OPERATIONS', idAccount: 58357 },
83
+ { company: 'UBER EATS FRANCE SAS', idAccount: 58383 },
84
+ { company: 'VENTE PRIVEE.COM', idAccount: 24 },
85
+ { company: 'VINCI', idAccount: 58384 },
86
+ { company: 'VOLKSWAGEN GROUP FRANCE', idAccount: 73 },
87
+ { company: 'LINKDIN', idAccount: 108 },
88
+ { company: 'GOOGLE', idAccount: 108 },
89
+ { company: 'ELECTRO DEPOT', idAccount: 24 },
90
+ { company: 'UBER', idAccount: 58383 },
91
+ { company: 'DELIVEROO', idAccount: 117 },
92
+ { company: 'PROMOCASH', idAccount: 58357 },
93
+ { company: 'LYRECO', idAccount: 25 },
94
+ { company: 'YZICO', idAccount: 104 },
95
+ { company: 'AXA', idAccount: 27292 },
96
+ { company: 'INTERMARCHE', idAccount: 58383 },
97
+ { company: 'NESPRESSO', idAccount: 24 },
98
+ { company: 'VISTAPRINT', idAccount: 108 },
99
+ { company: 'BUFFALO', idAccount: 58383 },
100
+ { company: 'BURGER KING', idAccount: 58383 },
101
+ { company: 'KFC', idAccount: 58383 },
102
+ { company: 'QUICK', idAccount: 58383 },
103
+ { company: 'SUBWAY', idAccount: 58383 },
104
+ { company: 'YONOS', idAccount: 80 },
105
+ { company: 'CAPRI', idAccount: 58383 },
106
+ { company: 'OVH', idAccount: 80 },
107
+ { company: 'FEU VERT', idAccount: 58379 },
108
+ { company: 'CARGLASS', idAccount: 58379 },
109
+ { company: 'HIPPOPOTAMUS', idAccount: 58383 },
110
+ { company: 'RODI', idAccount: 58379 },
111
+ { company: 'HARMONI MUTUELLE', idAccount: 27292 },
112
+ { company: 'SPEEDY', idAccount: 58379 },
113
+ { company: 'GENERALI', idAccount: 27292 },
114
+ { company: 'GROUPAMA', idAccount: 27292 },
115
+ { company: 'SWISS LIFE', idAccount: 27292 },
116
+ { company: 'AVIVA', idAccount: 27292 },
117
+ { company: 'MACIF', idAccount: 27292 },
118
+ { company: 'MAAF', idAccount: 27292 },
119
+ { company: 'MMA ', idAccount: 27292 },
120
+ { company: 'GMF', idAccount: 27292 },
121
+ { company: 'Pizza Hut', idAccount: 58383 },
122
+ { company: 'DEL ARTE', idAccount: 58383 },
123
+ { company: 'CHEZ PAUL', idAccount: 58383 },
124
+ { company: 'ELEPHANT BLEU', idAccount: 58379 },
125
+ { company: 'LEON', idAccount: 58383 },
126
+ { company: 'MARIE BLACHERE', idAccount: 58383 },
127
+ { company: 'AU BUREAU', idAccount: 58383 },
128
+ { company: 'BRICORAMA', idAccount: 24 },
129
+ { company: 'MONSIEUR BRICOLAGE', idAccount: 24 },
130
+ { company: 'COMPTALIB', idAccount: 80 },
131
+ { company: 'EXPERTISE CHOIX B', idAccount: 104 },
132
+ { company: 'FLUNCH', idAccount: 58383 },
133
+ { company: 'BUT', idAccount: 280 },
134
+ { company: 'OFFICE DEPOT', idAccount: 24 },
135
+ { company: 'PEGASE', idAccount: 80 },
136
+ { company: 'SECURITAS', idAccount: 80 },
137
+ { company: 'BUREAU VALLEE', idAccount: 25 },
138
+ { company: 'YOLO', idAccount: 58381 },
139
+ { company: 'ALDI', idAccount: 58383 },
140
+ { company: 'APPLE', idAccount: 27586 },
141
+ { company: 'RATP', idAccount: 58383 },
142
+ { company: 'CLEMENTINE', idAccount: 104 },
143
+ { company: 'QONTO', idAccount: 126 },
144
+ { company: 'SUMUP', idAccount: 126 },
145
+ { company: 'REXEL', idAccount: 24 },
146
+ { company: 'LEBONCOIN', idAccount: 24 },
147
+ { company: 'AIRBNB', idAccount: 58382 },
148
+ { company: 'IBIS', idAccount: 58382 },
149
+ { company: 'F1', idAccount: 58382 },
150
+ { company: 'ACCORD HOTEL', idAccount: 58382 },
151
+ { company: 'NOVOTEL', idAccount: 58382 },
152
+ { company: '1&1 IONOS', idAccount: 80 },
153
+ { company: 'BANQUE POSTAL', idAccount: 126 },
154
+ { company: 'BOOKING', idAccount: 58382 },
155
+ { company: 'LIDL', idAccount: 58383 },
156
+ { company: 'GREFFE DU TRIBUNAL ', idAccount: 105 },
157
+ { company: 'RETIF', idAccount: 24 },
158
+ { company: 'ADOBE', idAccount: 80 },
159
+ { company: 'AUTOGRILL', idAccount: 58383 },
160
+ { company: 'EUROPCAR', idAccount: 79 },
161
+ { company: 'AVIS', idAccount: 79 },
162
+ { company: 'HERTZ', idAccount: 79 },
163
+ { company: 'SIXT', idAccount: 79 },
164
+ { company: 'DHL', idAccount: 115 },
165
+ { company: 'EURO-INFORMATION', idAccount: 80 },
166
+ { company: 'FRANPRIX', idAccount: 58383 },
167
+ { company: 'CULTURA', idAccount: 24 },
168
+ { company: 'UPS', idAccount: 115 },
169
+ { company: 'SACEM', idAccount: 17293 },
170
+ { company: 'SOSH', idAccount: 123 },
171
+ { company: 'MAXICOFEE', idAccount: 58383 },
172
+ { company: 'LOXAM', idAccount: 80 },
173
+ { company: 'EASYJET', idAccount: 117 },
174
+ { company: 'SEDOMICILIER', idAccount: 80 },
175
+ { company: 'SAGE', idAccount: 80 },
176
+ { company: 'STARBUCK', idAccount: 58383 },
177
+ { company: 'TOTAL RELAIS', idAccount: 22 },
178
+ { company: 'AVIADAC', idAccount: 22 },
179
+ { company: 'LEGALSTART', idAccount: 58381 },
180
+ { company: 'SHOPIFY', idAccount: 80 },
181
+ { company: 'VEOLIA', idAccount: 58366 },
182
+ { company: 'FRANCE DISTRIBUTION', idAccount: 58514 },
183
+ { company: 'GIFI ', idAccount: 24 },
184
+ { company: 'LEADER PRICE', idAccount: 58383 },
185
+ { company: 'EUROMASTER', idAccount: 58379 },
186
+ { company: 'ALLOPNEUS', idAccount: 58379 },
187
+ { company: 'CANVA', idAccount: 80 },
188
+ { company: 'RS COMPONENT', idAccount: 24 },
189
+ { company: 'CAMPANILE', idAccount: 58382 },
190
+ { company: 'EXAPRINT', idAccount: 108 },
191
+ { company: 'COLISSIMO', idAccount: 122 },
192
+ { company: 'INDEED', idAccount: 80 },
193
+ { company: 'AVOCAT', idAccount: 58381 },
194
+ { company: 'OSCARO', idAccount: 24 },
195
+ { company: 'LIXXBAIL', idAccount: 58375 },
196
+ { company: 'GRENKE', idAccount: 80 },
197
+ { company: 'POINT P', idAccount: 58379 },
198
+ { company: 'AUTOSUR', idAccount: 58379 },
199
+ { company: 'SUEZ', idAccount: 21 },
200
+ { company: 'NORTON', idAccount: 80 },
201
+ { company: 'AVAST ', idAccount: 80 },
202
+ { company: 'TRANSGOURMET', idAccount: 58357 },
203
+ { company: 'PROMOCASH', idAccount: 58357 },
204
+ { company: 'POMONA', idAccount: 58357 },
205
+ { company: 'EPISAVEUR', idAccount: 58357 },
206
+ { company: 'TERRE AZUR', idAccount: 58357 },
207
+ { company: 'RELAI D\'OR', idAccount: 58357 },
208
+ { company: 'INDIGO', idAccount: 58384 },
209
+ { company: 'GANDI', idAccount: 80 },
210
+ { company: 'STATION ESSENCE', idAccount: 22 },
211
+ { company: 'GEDIMAT', idAccount: 24 },
212
+ { company: 'BIGMAT', idAccount: 24 },
213
+ { company: 'SOCIETE.COM', idAccount: 105 },
214
+ { company: 'DOUGS', idAccount: 58381 },
215
+ { company: 'SHUTTERSTOCK', idAccount: 108 },
216
+ { company: 'QUICKBOOKS', idAccount: 80 },
217
+ { company: 'WIX.COM', idAccount: 80 },
218
+ { company: 'MIDAS', idAccount: 58379 },
219
+ { company: 'RYANAIR', idAccount: 58383 },
220
+ { company: 'REXEL', idAccount: 18 },
221
+ { company: 'INFOGREFFE', idAccount: 105 },
222
+ { company: 'POURCENTAGE', idAccount: 104 },
223
+ { company: 'ENI', idAccount: 21 },
224
+ { company: 'COYOTE ', idAccount: 80 },
225
+ { company: 'Bank of Africa', idAccount: 126 },
226
+ { company: 'Banque BCP', idAccount: 126 },
227
+ { company: 'Banque Chaix', idAccount: 126 },
228
+ { company: 'Banque de la Réunion', idAccount: 126 },
229
+ { company: 'Banque de Savoie', idAccount: 126 },
230
+ { company: 'Banque Européenne Crédit Mutuel', idAccount: 126 },
231
+ { company: 'Banque Populaire', idAccount: 126 },
232
+ { company: 'Banque Transatlantique', idAccount: 126 },
233
+ { company: 'Boursorama', idAccount: 126 },
234
+ { company: 'Crédit Coopératif', idAccount: 126 },
235
+ { company: 'docusign', idAccount: 80 },
236
+ { company: 'AMEN', idAccount: 80 },
237
+ { company: 'Gaz de Bordeaux', idAccount: 21 },
238
+ { company: 'Hello bank!', idAccount: 126 },
239
+ { company: 'Just Eat', idAccount: 58383 },
240
+ { company: 'La Banque Postale', idAccount: 126 },
241
+ { company: 'La Poste Mobile', idAccount: 123 },
242
+ { company: 'MACWAY', idAccount: 27586 },
243
+ { company: 'COLOMBUS', idAccount: 58383 },
244
+ { company: 'O MALO', idAccount: 58383 },
245
+ { company: 'RATP', idAccount: 117 },
246
+ { company: 'NUMERICABLE', idAccount: 123 },
247
+ { company: 'SHELL', idAccount: 22 },
248
+ { company: 'TRAINLINE', idAccount: 117 },
249
+ { company: 'VELIB ', idAccount: 117 },
250
+ { company: 'WELCOME TO THE JUNGLE', idAccount: 80 },
251
+ { company: 'ZENDESK', idAccount: 80 },
252
+ { company: 'ZOOM', idAccount: 80 },
253
+ { company: 'PWC', idAccount: 104 },
254
+ { company: 'SO YOU START', idAccount: 80 },
255
+ { company: 'ZOHO', idAccount: 80 },
256
+ { company: 'TIIME', idAccount: 80 },
257
+ { company: 'PAYFIT', idAccount: 80 },
258
+ ];
@@ -1,3 +1,4 @@
1
+ import { IsOptional } from 'class-validator';
1
2
  import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
2
3
 
3
4
  export class CreateCalendarEventForUsers {
@@ -13,6 +14,10 @@ export class CreateCalendarEventForUsers {
13
14
  @ApiProperty()
14
15
  comment: string;
15
16
 
17
+ @ApiPropertyOptional()
18
+ @IsOptional()
19
+ meetLink?: string;
20
+
16
21
  @ApiPropertyOptional()
17
22
  idRoom?: number;
18
23
 
@@ -1,5 +1,5 @@
1
1
  import {
2
- IsInt, IsOptional,
2
+ IsInt, IsOptional, IsString,
3
3
  } from 'class-validator';
4
4
  import { ApiPropertyOptional } from '../../../../utils';
5
5
 
@@ -18,4 +18,9 @@ export class QueryGetStats {
18
18
  @IsOptional()
19
19
  @IsInt()
20
20
  idUser?: number;
21
+
22
+ @ApiPropertyOptional()
23
+ @IsOptional()
24
+ @IsString()
25
+ search?: string;
21
26
  }
@@ -7,9 +7,15 @@ import { ApiProperty } from '../../../..';
7
7
  import { ApiPropertyOptional } from '../../../../utils';
8
8
 
9
9
  export class QuerySheetMonthSchedule {
10
- @ApiProperty()
10
+ @ApiPropertyOptional()
11
11
  @IsArray()
12
- idEmployee: number[];
12
+ @IsOptional()
13
+ idEmployee?: number[];
14
+
15
+ @ApiPropertyOptional()
16
+ @IsInt()
17
+ @IsOptional()
18
+ idSociety?: number;
13
19
 
14
20
  @ApiPropertyOptional()
15
21
  @IsInt()
@@ -48,7 +48,7 @@ import { ISms } from './ISms';
48
48
  import { IUser } from './IUser';
49
49
  import { ISocietyEvent } from './ISocietyEvent';
50
50
  import {
51
- ComptaType, CountryId, INafCode, IPartneredAccountantCompanyService, Sector, UnpaidDetail, IPartneredAccountantToSociety, IMail, IAccountingTransaction, IFecFile, IGedFile, IBusinessPartner, IPaymentSchedule, IRegulate,
51
+ ComptaType, CountryId, INafCode, IPartneredAccountantCompanyService, Sector, UnpaidDetail, IPartneredAccountantToSociety, IMail, IAccountingTransaction, IFecFile, IGedFile, IBusinessPartner, IPaymentSchedule, IRegulate, IUserSocietyPermission,
52
52
  } from '../..';
53
53
  import { IBrandType } from './IBrandType';
54
54
 
@@ -200,6 +200,7 @@ export interface ISociety {
200
200
  logs?: ILog[];
201
201
  sms?: ISms[];
202
202
  users?: IUser[];
203
+ userPermission?: IUserSocietyPermission;
203
204
  regulates?: IRegulate[];
204
205
  brandType?: IBrandType;
205
206
  partneredAccountantCompaniesServices: IPartneredAccountantCompanyService[];
package/ts/types/index.ts CHANGED
@@ -462,6 +462,7 @@ export * from './Enum/ProcessingState';
462
462
  export * from './Enum/InpiType';
463
463
  export * from './Enum/BankCollectingState';
464
464
  export * from './Enum/Phone';
465
+ export * from './Enum/GeneralThirdParty';
465
466
 
466
467
  // Interfaces API
467
468
  export * from './Interface/api/partnerTransactionType/ReadPartnerTransactionType';
@@ -526,8 +527,8 @@ export * from './Interface/api/society/LegalFormSiren';
526
527
  export * from './Interface/api/society/SocietyWithStatsCaParams';
527
528
  export * from './Interface/api/society/QuerySociety';
528
529
  export * from './Interface/api/society/QueryPaginatedSociety';
529
- export * from './Interface/api/society/QueryPaginatedSocietyWithStatsCa';
530
- export * from './Interface/api/society/QueryPaginatedSocietyWithFacturation';
530
+ export * from './Interface/api/commercial/QueryPaginatedSocietyWithStatsCa';
531
+ export * from './Interface/api/facturation/QueryPaginatedSocietyWithFacturation';
531
532
  export * from './Interface/api/billingHistory/QueryPaginatedBillingHistory';
532
533
  export * from './Interface/api/facturation/CreateRebilling';
533
534
  export * from './Interface/api/commercial/QueryGetStats';
@@ -23,49 +23,6 @@ const isOnlyJuridic = (idPrestationList: number[]):boolean => !idPrestationList.
23
23
 
24
24
  const isCreation = (idPrestationList: number[]):boolean => idPrestationList.includes(PrestationType.CREATION_SOCIETE);
25
25
 
26
- const getDebitType = (idPrestationList: number): 'Mensuel'|'Annuel'|'Récurrent' => {
27
- if ([
28
- PrestationType.PV_AG,
29
- PrestationType.GESTION_JURIDIQUE,
30
- PrestationType.TVS,
31
- PrestationType.IRPP,
32
- PrestationType.BAIL_COMMERCIAL,
33
- PrestationType.CONVENTION_DE_MISE_A_DISPOSITION_A_TITRE_GRATUIT,
34
- PrestationType.CONVENTION_COMPTE_COURANT,
35
- PrestationType.INTEGRATION_FISCALE,
36
- PrestationType.DISTRIBUTION_DIVIDENDES_SUR_RESERVE,
37
- PrestationType.FORMALITES,
38
- PrestationType.ATTESTATION_SALAIRE,
39
- PrestationType.TAXE_APPRENTISSAGE_ET_FORMATION_CONTINUE,
40
- ].includes(idPrestationList)) return 'Annuel';
41
-
42
- if ([PrestationType.COMPTA_PRO,
43
- PrestationType.COMPTA_PRO_PAIE,
44
- PrestationType.COMPTA_PRO_EXPRESS,
45
- PrestationType.COMPTA_PRO_EXPRESS_PAIE,
46
- PrestationType.COMPTA_PRO_COMPTASTART,
47
- PrestationType.COMPTA_PRO_COMPTASTART_EXPRESS,
48
- PrestationType.COMPTA_ENTREPRISE,
49
- PrestationType.COMPTA_ENTREPRISE_PAIE,
50
- PrestationType.COMPTA_ENTREPRISE_EXPRESS,
51
- PrestationType.COMPTA_ENTREPRISE_EXPRESS_PAIE,
52
- PrestationType.MISE_EN_SOMMEIL,
53
- PrestationType.FRUCTUPAIE,
54
- PrestationType.BULLETIONS_SALAIRE,
55
- PrestationType.DSN,
56
- PrestationType.CREATION_DOSSIER_INFORMATIQUE_PAR_SALARIE,
57
- PrestationType.ATTESTATION_NON_REMUNERATION,
58
- PrestationType.ATTESTATIONS_NON_REMUNERATION,
59
- PrestationType.ATTESTATION_CA,
60
- PrestationType.ATTESTATION_COMPTE_COURANT,
61
- PrestationType.DPAE,
62
- PrestationType.ATTESTATION_MASSE_SALARIALE,
63
- PrestationType.COMPTA_SCI,
64
- PrestationType.COMPTA_SCI_EXPRESS,
65
- ].includes(idPrestationList)) return 'Mensuel';
66
- return 'Récurrent';
67
- };
68
-
69
26
  export {
70
- isOtherAccountingMissions, isOtherJuridicalMissions, isAdditionalPresta, isOtherSocialMission, getDebitType, isOnlyPrevi, isOnlySocial, isOnlyJuridic, isCreation,
27
+ isOtherAccountingMissions, isOtherJuridicalMissions, isAdditionalPresta, isOtherSocialMission, isOnlyPrevi, isOnlySocial, isOnlyJuridic, isCreation,
71
28
  };
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryPaginatedSocietyWithFacturation.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/society/QueryPaginatedSocietyWithFacturation.ts"],"names":[],"mappings":"AAKA,qBAAa,oCAAoC;IAI/C,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,GAAG,CAAC,EAAE,MAAM,CAAC;IAKb,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,IAAI,CAAC,EAAE,MAAM,CAAC;IAKd,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,cAAc,CAAC,EAAE,MAAM,CAAC;IAKxB,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,IAAI,CAAC,EAAE,MAAM,CAAC;CACf"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryPaginatedSocietyWithFacturation.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/society/QueryPaginatedSocietyWithFacturation.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,KAAK,EAAE,UAAU,EAAE,QAAQ,GAC5B,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,MAAM,OAAO,oCAAoC;CAwChD;AApCC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;oEACK;AAKhB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;iEACK;AAKb;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;mEACO;AAKf;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;kEACM;AAKd;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;oEACQ;AAKhB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;4EACgB;AAKxB;IAHC,mBAAmB,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;IACpC,UAAU,EAAE;IACZ,KAAK,EAAE;;mEACO;AAKf;IAHC,mBAAmB,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;IACnC,UAAU,EAAE;IACZ,KAAK,EAAE;;kEACM","sourcesContent":["import {\n IsInt, IsOptional, IsString,\n} from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport class QueryPaginatedSocietyWithFacturation {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n day?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n month?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n year?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUser?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idBillingState?: number;\n\n @ApiPropertyOptional({ default: 20 })\n @IsOptional()\n @IsInt()\n limit?: number;\n\n @ApiPropertyOptional({ default: 1 })\n @IsOptional()\n @IsInt()\n page?: number;\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryPaginatedSocietyWithStatsCa.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/society/QueryPaginatedSocietyWithStatsCa.ts"],"names":[],"mappings":"AAOA,qBAAa,gCAAgC;IAI3C,MAAM,CAAC,EAAE,MAAM,CAAC;IAMhB,MAAM,CAAC,EAAE,OAAO,CAAC;IAMjB,eAAe,CAAC,EAAE,OAAO,CAAC;IAM1B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAK5B,GAAG,CAAC,EAAE,MAAM,CAAC;IAKb,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,IAAI,CAAC,EAAE,MAAM,CAAC;IAKd,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAK1B,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IAKnB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAK7B,cAAc,CAAC,EAAE,MAAM,CAAC;IAKxB,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,IAAI,CAAC,EAAE,MAAM,CAAC;CACf"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryPaginatedSocietyWithStatsCa.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/society/QueryPaginatedSocietyWithStatsCa.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,SAAS,EACT,KAAK,EAAE,UAAU,EAAE,QAAQ,GAC5B,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,gCAAgC;CA8E5C;AA1EC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;gEACK;AAMhB;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;gEACK;AAMjB;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;yEACc;AAM1B;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;2EACgB;AAK5B;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;6DACK;AAKb;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;+DACO;AAKf;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;8DACM;AAKd;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;gEACQ;AAKhB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;kEACU;AAKlB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;0EACkB;AAK1B;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;iEACH;AAKnB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;6EACqB;AAK7B;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;wEACgB;AAKxB;IAHC,mBAAmB,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;IACpC,UAAU,EAAE;IACZ,KAAK,EAAE;;+DACO;AAKf;IAHC,mBAAmB,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;IACnC,UAAU,EAAE;IACZ,KAAK,EAAE;;8DACM","sourcesContent":["import {\n IsBoolean,\n IsInt, IsOptional, IsString,\n} from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryPaginatedSocietyWithStatsCa {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isInCA?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n turnoverRefused?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isAdditionalSales?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n day?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n month?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n year?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUser?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSource?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idPrestationList?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt({ each: true })\n idState?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idConstitutionState?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idBillingState?: number;\n\n @ApiPropertyOptional({ default: 20 })\n @IsOptional()\n @IsInt()\n limit?: number;\n\n @ApiPropertyOptional({ default: 1 })\n @IsOptional()\n @IsInt()\n page?: number;\n}"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryPaginatedSocietyWithFacturation.js","mappings":";;;;;;;AAAA;;AAGA;;;;;;;;;;;;;;AAEM,MAAOA,oCAAP,CAA2C;;QAApCA,oC,GAAAA,oC;;AAIXC,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAGD,EAFC,iCAED,EADC,4BACD;;AAKAD,YAHC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAGD,EAFC,iCAED,EADC,4BACD","names":["QueryPaginatedSocietyWithFacturation","__decorate","default"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/society/QueryPaginatedSocietyWithFacturation.ts"],"sourcesContent":["import {\n IsInt, IsOptional, IsString,\n} from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport class QueryPaginatedSocietyWithFacturation {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n day?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n month?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n year?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUser?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idBillingState?: number;\n\n @ApiPropertyOptional({ default: 20 })\n @IsOptional()\n @IsInt()\n limit?: number;\n\n @ApiPropertyOptional({ default: 1 })\n @IsOptional()\n @IsInt()\n page?: number;\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryPaginatedSocietyWithStatsCa.js","mappings":";;;;;;;AAAA;;AAIA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,gCAAP,CAAuC;;QAAhCA,gC,GAAAA,gC;;AAIXC,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAMAA,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAA,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAA,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,2BAAM;EAAEC,IAAI,EAAE;AAAR,CAAN,CACD;;AAKAD,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,gCAAoB;EAAEE,OAAO,EAAE;AAAX,CAApB,CAGD,EAFC,iCAED,EADC,4BACD;;AAKAF,YAHC,gCAAoB;EAAEE,OAAO,EAAE;AAAX,CAApB,CAGD,EAFC,iCAED,EADC,4BACD","names":["QueryPaginatedSocietyWithStatsCa","__decorate","each","default"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/society/QueryPaginatedSocietyWithStatsCa.ts"],"sourcesContent":["import {\n IsBoolean,\n IsInt, IsOptional, IsString,\n} from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryPaginatedSocietyWithStatsCa {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isInCA?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n turnoverRefused?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isAdditionalSales?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n day?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n month?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n year?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUser?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSource?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idPrestationList?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt({ each: true })\n idState?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idConstitutionState?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idBillingState?: number;\n\n @ApiPropertyOptional({ default: 20 })\n @IsOptional()\n @IsInt()\n limit?: number;\n\n @ApiPropertyOptional({ default: 1 })\n @IsOptional()\n @IsInt()\n page?: number;\n}"]}