@silexpert/core 1.0.52 → 1.0.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.
Files changed (162) hide show
  1. package/es/api/resources/CalendarEvent.d.ts +2 -1
  2. package/es/api/resources/CalendarEvent.d.ts.map +1 -1
  3. package/es/api/resources/CalendarEvent.js +2 -2
  4. package/es/api/resources/CalendarEvent.js.map +1 -1
  5. package/es/api/resources/Invoice.d.ts +3 -2
  6. package/es/api/resources/Invoice.d.ts.map +1 -1
  7. package/es/api/resources/Invoice.js +3 -0
  8. package/es/api/resources/Invoice.js.map +1 -1
  9. package/es/api/resources/LegalNotice.d.ts +6 -0
  10. package/es/api/resources/LegalNotice.d.ts.map +1 -0
  11. package/es/api/resources/LegalNotice.js +7 -0
  12. package/es/api/resources/LegalNotice.js.map +1 -0
  13. package/es/api/resources/PaymentExpectation.d.ts +6 -0
  14. package/es/api/resources/PaymentExpectation.d.ts.map +1 -0
  15. package/es/api/resources/PaymentExpectation.js +7 -0
  16. package/es/api/resources/PaymentExpectation.js.map +1 -0
  17. package/es/api/resources/TerminationList.d.ts +7 -0
  18. package/es/api/resources/TerminationList.d.ts.map +1 -0
  19. package/es/api/resources/TerminationList.js +10 -0
  20. package/es/api/resources/TerminationList.js.map +1 -0
  21. package/es/api/resources/statistic/Accountant.d.ts +6 -0
  22. package/es/api/resources/statistic/Accountant.d.ts.map +1 -1
  23. package/es/api/resources/statistic/Accountant.js +9 -0
  24. package/es/api/resources/statistic/Accountant.js.map +1 -1
  25. package/es/api/resources.d.ts +7 -1
  26. package/es/api/resources.d.ts.map +1 -1
  27. package/es/api/resources.js +7 -1
  28. package/es/api/resources.js.map +1 -1
  29. package/es/types/Enum/OperationLegalNotice.d.ts +4 -0
  30. package/es/types/Enum/OperationLegalNotice.d.ts.map +1 -0
  31. package/es/types/Enum/OperationLegalNotice.js +5 -0
  32. package/es/types/Enum/OperationLegalNotice.js.map +1 -0
  33. package/es/types/Enum/OrderStatus.d.ts +6 -0
  34. package/es/types/Enum/OrderStatus.d.ts.map +1 -0
  35. package/es/types/Enum/OrderStatus.js +7 -0
  36. package/es/types/Enum/OrderStatus.js.map +1 -0
  37. package/es/types/Enum/{Prestation.d.ts → PrestationType.d.ts} +4 -3
  38. package/es/types/Enum/PrestationType.d.ts.map +1 -0
  39. package/es/types/Enum/PrestationType.js +17 -0
  40. package/es/types/Enum/PrestationType.js.map +1 -0
  41. package/es/types/Enum/Reason.d.ts +4 -0
  42. package/es/types/Enum/Reason.d.ts.map +1 -0
  43. package/es/types/Enum/Reason.js +5 -0
  44. package/es/types/Enum/Reason.js.map +1 -0
  45. package/es/types/Enum/StatisticType.d.ts +2 -1
  46. package/es/types/Enum/StatisticType.d.ts.map +1 -1
  47. package/es/types/Enum/StatisticType.js +1 -0
  48. package/es/types/Enum/StatisticType.js.map +1 -1
  49. package/es/types/Enum/TimeCounterType.d.ts +40 -12
  50. package/es/types/Enum/TimeCounterType.d.ts.map +1 -1
  51. package/es/types/Enum/TimeCounterType.js +40 -12
  52. package/es/types/Enum/TimeCounterType.js.map +1 -1
  53. package/es/types/Interface/api/calendarEvent/readAllCalendarEvent.d.ts +1 -0
  54. package/es/types/Interface/api/calendarEvent/readAllCalendarEvent.d.ts.map +1 -1
  55. package/es/types/Interface/api/calendarEvent/readAllCalendarEvent.js.map +1 -1
  56. package/es/types/Interface/api/commercialManagement/Create.d.ts +3 -0
  57. package/es/types/Interface/api/commercialManagement/Create.d.ts.map +1 -1
  58. package/es/types/Interface/api/commercialManagement/Create.js +2 -0
  59. package/es/types/Interface/api/commercialManagement/Create.js.map +1 -1
  60. package/es/types/Interface/api/legalNotice/UpdateLegalNotice.d.ts +5 -0
  61. package/es/types/Interface/api/legalNotice/UpdateLegalNotice.d.ts.map +1 -0
  62. package/es/types/Interface/api/legalNotice/UpdateLegalNotice.js +25 -0
  63. package/es/types/Interface/api/legalNotice/UpdateLegalNotice.js.map +1 -0
  64. package/es/types/Interface/api/paymentExpectation/QueryPaymentExpectation.d.ts +4 -0
  65. package/es/types/Interface/api/paymentExpectation/QueryPaymentExpectation.d.ts.map +1 -0
  66. package/es/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js +17 -0
  67. package/es/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js.map +1 -0
  68. package/es/types/Interface/api/prestation/CreatePrestation.d.ts +6 -0
  69. package/es/types/Interface/api/prestation/CreatePrestation.d.ts.map +1 -0
  70. package/es/types/Interface/api/prestation/CreatePrestation.js +28 -0
  71. package/es/types/Interface/api/prestation/CreatePrestation.js.map +1 -0
  72. package/es/types/Interface/api/statistic/ExitRequest.d.ts +11 -2
  73. package/es/types/Interface/api/statistic/ExitRequest.d.ts.map +1 -1
  74. package/es/types/Interface/api/statistic/ExitRequest.js.map +1 -1
  75. package/es/types/Interface/api/terminationList/DestroyTerminationList.d.ts +17 -0
  76. package/es/types/Interface/api/terminationList/DestroyTerminationList.d.ts.map +1 -0
  77. package/es/types/Interface/api/terminationList/DestroyTerminationList.js +96 -0
  78. package/es/types/Interface/api/terminationList/DestroyTerminationList.js.map +1 -0
  79. package/es/types/Interface/api/terminationList/QueryTerminationList.d.ts +17 -0
  80. package/es/types/Interface/api/terminationList/QueryTerminationList.d.ts.map +1 -0
  81. package/es/types/Interface/api/terminationList/QueryTerminationList.js +98 -0
  82. package/es/types/Interface/api/terminationList/QueryTerminationList.js.map +1 -0
  83. package/es/types/Interface/models/ILegalNotice.d.ts +1 -0
  84. package/es/types/Interface/models/ILegalNotice.d.ts.map +1 -1
  85. package/es/types/Interface/models/ILegalNotice.js.map +1 -1
  86. package/es/types/Interface/models/IPaymentExpectation.d.ts +1 -0
  87. package/es/types/Interface/models/IPaymentExpectation.d.ts.map +1 -1
  88. package/es/types/Interface/models/IPaymentExpectation.js.map +1 -1
  89. package/es/types/index.d.ts +9 -1
  90. package/es/types/index.d.ts.map +1 -1
  91. package/es/types/index.js +9 -1
  92. package/es/types/index.js.map +1 -1
  93. package/js/api/resources/CalendarEvent.js +5 -3
  94. package/js/api/resources/CalendarEvent.js.map +1 -1
  95. package/js/api/resources/Invoice.js +4 -0
  96. package/js/api/resources/Invoice.js.map +1 -1
  97. package/js/api/resources/LegalNotice.js +18 -0
  98. package/js/api/resources/LegalNotice.js.map +1 -0
  99. package/js/api/resources/PaymentExpectation.js +20 -0
  100. package/js/api/resources/PaymentExpectation.js.map +1 -0
  101. package/js/api/resources/TerminationList.js +26 -0
  102. package/js/api/resources/TerminationList.js.map +1 -0
  103. package/js/api/resources/statistic/Accountant.js +15 -0
  104. package/js/api/resources/statistic/Accountant.js.map +1 -1
  105. package/js/api/resources.js +12 -3
  106. package/js/api/resources.js.map +1 -1
  107. package/js/types/Enum/OperationLegalNotice.js +11 -0
  108. package/js/types/Enum/OperationLegalNotice.js.map +1 -0
  109. package/js/types/Enum/OrderStatus.js +13 -0
  110. package/js/types/Enum/OrderStatus.js.map +1 -0
  111. package/js/types/Enum/PrestationType.js +23 -0
  112. package/js/types/Enum/PrestationType.js.map +1 -0
  113. package/js/types/Enum/Reason.js +11 -0
  114. package/js/types/Enum/Reason.js.map +1 -0
  115. package/js/types/Enum/StatisticType.js +1 -0
  116. package/js/types/Enum/StatisticType.js.map +1 -1
  117. package/js/types/Enum/TimeCounterType.js +68 -40
  118. package/js/types/Enum/TimeCounterType.js.map +1 -1
  119. package/js/types/Interface/api/commercialManagement/Create.js +5 -1
  120. package/js/types/Interface/api/commercialManagement/Create.js.map +1 -1
  121. package/js/types/Interface/api/legalNotice/UpdateLegalNotice.js +31 -0
  122. package/js/types/Interface/api/legalNotice/UpdateLegalNotice.js.map +1 -0
  123. package/js/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js +27 -0
  124. package/js/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js.map +1 -0
  125. package/js/types/Interface/api/prestation/CreatePrestation.js +33 -0
  126. package/js/types/Interface/api/prestation/CreatePrestation.js.map +1 -0
  127. package/js/types/Interface/api/terminationList/DestroyTerminationList.js +55 -0
  128. package/js/types/Interface/api/terminationList/DestroyTerminationList.js.map +1 -0
  129. package/js/types/Interface/api/terminationList/QueryTerminationList.js +55 -0
  130. package/js/types/Interface/api/terminationList/QueryTerminationList.js.map +1 -0
  131. package/js/types/index.js +99 -3
  132. package/js/types/index.js.map +1 -1
  133. package/package.json +1 -1
  134. package/ts/api/resources/CalendarEvent.ts +3 -2
  135. package/ts/api/resources/Invoice.ts +6 -1
  136. package/ts/api/resources/LegalNotice.ts +8 -0
  137. package/ts/api/resources/PaymentExpectation.ts +8 -0
  138. package/ts/api/resources/TerminationList.ts +12 -0
  139. package/ts/api/resources/statistic/Accountant.ts +13 -0
  140. package/ts/api/resources.ts +7 -1
  141. package/ts/types/Enum/OperationLegalNotice.ts +3 -0
  142. package/ts/types/Enum/OrderStatus.ts +5 -0
  143. package/ts/types/Enum/{Prestation.ts → PrestationType.ts} +2 -1
  144. package/ts/types/Enum/Reason.ts +3 -0
  145. package/ts/types/Enum/StatisticType.ts +1 -0
  146. package/ts/types/Enum/TimeCounterType.ts +40 -12
  147. package/ts/types/Interface/api/calendarEvent/readAllCalendarEvent.ts +1 -0
  148. package/ts/types/Interface/api/commercialManagement/Create.ts +4 -0
  149. package/ts/types/Interface/api/legalNotice/UpdateLegalNotice.ts +13 -0
  150. package/ts/types/Interface/api/paymentExpectation/QueryPaymentExpectation.ts +6 -0
  151. package/ts/types/Interface/api/prestation/CreatePrestation.ts +15 -0
  152. package/ts/types/Interface/api/statistic/ExitRequest.ts +13 -2
  153. package/ts/types/Interface/api/terminationList/DestroyTerminationList.ts +74 -0
  154. package/ts/types/Interface/api/terminationList/QueryTerminationList.ts +76 -0
  155. package/ts/types/Interface/models/ILegalNotice.ts +1 -0
  156. package/ts/types/Interface/models/IPaymentExpectation.ts +1 -0
  157. package/ts/types/index.ts +9 -1
  158. package/es/types/Enum/Prestation.d.ts.map +0 -1
  159. package/es/types/Enum/Prestation.js +0 -16
  160. package/es/types/Enum/Prestation.js.map +0 -1
  161. package/js/types/Enum/Prestation.js +0 -22
  162. package/js/types/Enum/Prestation.js.map +0 -1
@@ -5,168 +5,196 @@ export declare const TimeCounterType: {
5
5
  label: string;
6
6
  aberrantTime: number;
7
7
  limitedRoles: Role[];
8
+ color: string;
8
9
  };
9
10
  VAT: {
10
11
  id: number;
11
12
  label: string;
12
13
  aberrantTime: number;
13
14
  limitedRoles: Role[];
15
+ color: string;
14
16
  };
15
17
  REVISION: {
16
18
  id: number;
17
19
  label: string;
18
20
  aberrantTime: number;
19
21
  limitedRoles: Role[];
22
+ color: string;
20
23
  };
21
24
  FOLDER_REVIEW: {
22
25
  id: number;
23
26
  label: string;
24
27
  aberrantTime: number;
25
28
  limitedRoles: Role[];
29
+ color: string;
26
30
  };
27
31
  REPORTING: {
28
32
  id: number;
29
33
  label: string;
30
34
  aberrantTime: number;
31
35
  limitedRoles: Role[];
36
+ color: string;
32
37
  };
33
38
  SYNCHRONISATION: {
34
39
  id: number;
35
40
  label: string;
36
41
  aberrantTime: number;
37
42
  limitedRoles: Role[];
43
+ color: string;
38
44
  };
39
45
  UNDER_SUPERVISION: {
40
46
  id: number;
41
47
  label: string;
42
48
  aberrantTime: number;
43
49
  limitedRoles: null;
50
+ color: string;
44
51
  };
45
52
  CLIENT_CONTACT: {
46
53
  id: number;
47
54
  label: string;
48
- aberrantTime: null;
55
+ aberrantTime: number;
49
56
  limitedRoles: null;
57
+ color: string;
50
58
  };
51
59
  MEETING: {
52
60
  id: number;
53
61
  label: string;
54
- aberrantTime: null;
62
+ aberrantTime: number;
55
63
  limitedRoles: null;
64
+ color: string;
56
65
  };
57
66
  FORMATION: {
58
67
  id: number;
59
68
  label: string;
60
- aberrantTime: null;
69
+ aberrantTime: number;
61
70
  limitedRoles: null;
71
+ color: string;
62
72
  };
63
73
  FORECAST: {
64
74
  id: number;
65
75
  label: string;
66
- aberrantTime: null;
76
+ aberrantTime: number;
67
77
  limitedRoles: Role[];
78
+ color: string;
68
79
  };
69
80
  CERTIFICATE: {
70
81
  id: number;
71
82
  label: string;
72
- aberrantTime: null;
83
+ aberrantTime: number;
73
84
  limitedRoles: Role[];
85
+ color: string;
74
86
  };
75
87
  COMPLEMENTARY_MISSION: {
76
88
  id: number;
77
89
  label: string;
78
- aberrantTime: null;
90
+ aberrantTime: number;
79
91
  limitedRoles: Role[];
92
+ color: string;
80
93
  };
81
94
  ORGANISATION: {
82
95
  id: number;
83
96
  label: string;
84
- aberrantTime: null;
97
+ aberrantTime: number;
85
98
  limitedRoles: null;
99
+ color: string;
86
100
  };
87
101
  INTERNAL_ADVICE: {
88
102
  id: number;
89
103
  label: string;
90
- aberrantTime: null;
104
+ aberrantTime: number;
91
105
  limitedRoles: null;
106
+ color: string;
92
107
  };
93
108
  LAB: {
94
109
  id: number;
95
110
  label: string;
96
- aberrantTime: null;
111
+ aberrantTime: number;
97
112
  limitedRoles: Role[];
113
+ color: string;
98
114
  };
99
115
  SUPERVISION: {
100
116
  id: number;
101
117
  label: string;
102
- aberrantTime: null;
118
+ aberrantTime: number;
103
119
  limitedRoles: Role[];
120
+ color: string;
104
121
  };
105
122
  MAIL_PROCESSING: {
106
123
  id: number;
107
124
  label: string;
108
- aberrantTime: null;
125
+ aberrantTime: number;
109
126
  limitedRoles: Role[];
127
+ color: string;
110
128
  };
111
129
  SUPPORT_PROCESSING: {
112
130
  id: number;
113
131
  label: string;
114
- aberrantTime: null;
132
+ aberrantTime: number;
115
133
  limitedRoles: Role[];
134
+ color: string;
116
135
  };
117
136
  BILAN: {
118
137
  id: number;
119
138
  label: string;
120
139
  aberrantTime: number;
121
140
  limitedRoles: Role[];
141
+ color: string;
122
142
  };
123
143
  PAYSLIP: {
124
144
  id: number;
125
145
  label: string;
126
146
  aberrantTime: number;
127
147
  limitedRoles: Role[];
148
+ color: string;
128
149
  };
129
150
  SOCIAL_PARAMETER: {
130
151
  id: number;
131
152
  label: string;
132
153
  aberrantTime: number;
133
154
  limitedRoles: Role[];
155
+ color: string;
134
156
  };
135
157
  WORK_CONTRACT: {
136
158
  id: number;
137
159
  label: string;
138
160
  aberrantTime: number;
139
161
  limitedRoles: Role[];
162
+ color: string;
140
163
  };
141
164
  DPAE: {
142
165
  id: number;
143
166
  label: string;
144
167
  aberrantTime: number;
145
168
  limitedRoles: Role[];
169
+ color: string;
146
170
  };
147
171
  FACTURATION: {
148
172
  id: number;
149
173
  label: string;
150
174
  aberrantTime: number;
151
175
  limitedRoles: null;
176
+ color: string;
152
177
  };
153
178
  LEGAL_DOCUMENT: {
154
179
  id: number;
155
180
  label: string;
156
181
  aberrantTime: number;
157
182
  limitedRoles: Role[];
183
+ color: string;
158
184
  };
159
185
  INFOGREFFE: {
160
186
  id: number;
161
187
  label: string;
162
188
  aberrantTime: number;
163
189
  limitedRoles: Role[];
190
+ color: string;
164
191
  };
165
192
  APPOINTMENT: {
166
193
  id: number;
167
194
  label: string;
168
195
  aberrantTime: number;
169
196
  limitedRoles: null;
197
+ color: string;
170
198
  };
171
199
  };
172
200
  //# sourceMappingURL=TimeCounterType.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TimeCounterType.d.ts","sourceRoot":"","sources":["../../../ts/types/Enum/TimeCounterType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyK3B,CAAC"}
1
+ {"version":3,"file":"TimeCounterType.d.ts","sourceRoot":"","sources":["../../../ts/types/Enum/TimeCounterType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqM3B,CAAC"}
@@ -5,168 +5,196 @@ export const TimeCounterType = {
5
5
  label: 'OnBoarding',
6
6
  aberrantTime: 60,
7
7
  limitedRoles: [Role.FRONT_OFFICE],
8
+ color: 'fire',
8
9
  },
9
10
  VAT: {
10
11
  id: 2,
11
12
  label: 'TVA',
12
13
  aberrantTime: 60,
13
14
  limitedRoles: [Role.MANAGER, Role.EXPERT_ACCOUNTANT, Role.FRONT_OFFICE],
15
+ color: 'iris',
14
16
  },
15
17
  REVISION: {
16
18
  id: 3,
17
19
  label: 'Révision',
18
20
  aberrantTime: 120,
19
21
  limitedRoles: [Role.MANAGER, Role.EXPERT_ACCOUNTANT, Role.FRONT_OFFICE],
22
+ color: 'bubblegum-light',
20
23
  },
21
24
  FOLDER_REVIEW: {
22
25
  id: 4,
23
26
  label: 'Revue dossier',
24
27
  aberrantTime: 60,
25
28
  limitedRoles: [Role.MANAGER, Role.EXPERT_ACCOUNTANT, Role.FRONT_OFFICE],
29
+ color: 'cerulean',
26
30
  },
27
31
  REPORTING: {
28
32
  id: 5,
29
33
  label: 'Signalement',
30
34
  aberrantTime: 60,
31
35
  limitedRoles: [Role.CUSTOMER_SUCCESS],
36
+ color: 'lipstick-dark',
32
37
  },
33
38
  SYNCHRONISATION: {
34
39
  id: 6,
35
40
  label: 'Synchronisation',
36
41
  aberrantTime: 30,
37
42
  limitedRoles: [Role.CUSTOMER_SUCCESS],
43
+ color: 'orange-dark',
38
44
  },
39
45
  UNDER_SUPERVISION: {
40
46
  id: 7,
41
47
  label: 'En cours de supervision',
42
48
  aberrantTime: 45,
43
49
  limitedRoles: null,
50
+ color: 'orange-dark',
44
51
  },
45
52
  CLIENT_CONTACT: {
46
53
  id: 8,
47
54
  label: 'Contact client (Appel/mail/chat)',
48
- aberrantTime: null,
55
+ aberrantTime: 20,
49
56
  limitedRoles: null,
57
+ color: 'orange-light',
50
58
  },
51
59
  MEETING: {
52
60
  id: 9,
53
61
  label: 'Réunion',
54
- aberrantTime: null,
62
+ aberrantTime: 20,
55
63
  limitedRoles: null,
64
+ color: 'fern-dark',
56
65
  },
57
66
  FORMATION: {
58
67
  id: 10,
59
68
  label: 'Formation',
60
- aberrantTime: null,
69
+ aberrantTime: 20,
61
70
  limitedRoles: null,
71
+ color: 'fern',
62
72
  },
63
73
  FORECAST: {
64
74
  id: 11,
65
75
  label: 'Prévisionnel',
66
- aberrantTime: null,
76
+ aberrantTime: 20,
67
77
  limitedRoles: [Role.FRONT_OFFICE],
78
+ color: 'cerulean-light',
68
79
  },
69
80
  CERTIFICATE: {
70
81
  id: 12,
71
82
  label: 'Attestation',
72
- aberrantTime: null,
83
+ aberrantTime: 20,
73
84
  limitedRoles: [Role.CUSTOMER_SUCCESS],
85
+ color: 'lipstick-light',
74
86
  },
75
87
  COMPLEMENTARY_MISSION: {
76
88
  id: 13,
77
89
  label: 'Mission complémentaire',
78
- aberrantTime: null,
90
+ aberrantTime: 20,
79
91
  limitedRoles: [Role.FRONT_OFFICE],
92
+ color: 'cerulean-light',
80
93
  },
81
94
  ORGANISATION: {
82
95
  id: 14,
83
96
  label: 'Organisation',
84
- aberrantTime: null,
97
+ aberrantTime: 20,
85
98
  limitedRoles: null,
99
+ color: 'fern-light',
86
100
  },
87
101
  INTERNAL_ADVICE: {
88
102
  id: 15,
89
103
  label: 'Conseil interne',
90
- aberrantTime: null,
104
+ aberrantTime: 20,
91
105
  limitedRoles: null,
106
+ color: 'fern-light',
92
107
  },
93
108
  LAB: {
94
109
  id: 16,
95
110
  label: 'LAB',
96
- aberrantTime: null,
111
+ aberrantTime: 20,
97
112
  limitedRoles: [Role.EXPERT_ACCOUNTANT],
113
+ color: 'fire',
98
114
  },
99
115
  SUPERVISION: {
100
116
  id: 17,
101
117
  label: 'Supervision',
102
- aberrantTime: null,
118
+ aberrantTime: 20,
103
119
  limitedRoles: [Role.EXPERT_ACCOUNTANT, Role.MANAGER],
120
+ color: 'bubblegum-dark',
104
121
  },
105
122
  MAIL_PROCESSING: {
106
123
  id: 18,
107
124
  label: 'Traitement des courriers',
108
- aberrantTime: null,
125
+ aberrantTime: 20,
109
126
  limitedRoles: [Role.CUSTOMER_SUCCESS],
127
+ color: 'lipstick-light',
110
128
  },
111
129
  SUPPORT_PROCESSING: {
112
130
  id: 19,
113
131
  label: 'Traitement support',
114
- aberrantTime: null,
132
+ aberrantTime: 20,
115
133
  limitedRoles: [Role.CUSTOMER_SUCCESS],
134
+ color: 'error',
116
135
  },
117
136
  BILAN: {
118
137
  id: 20,
119
138
  label: 'Bilan',
120
139
  aberrantTime: 120,
121
140
  limitedRoles: [Role.FRONT_OFFICE, Role.EXPERT_ACCOUNTANT],
141
+ color: 'cerulean-dark',
122
142
  },
123
143
  PAYSLIP: {
124
144
  id: 21,
125
145
  label: 'Bulletin de paie/DSN',
126
146
  aberrantTime: 30,
127
147
  limitedRoles: [Role.SOCIAL],
148
+ color: 'guacamole',
128
149
  },
129
150
  SOCIAL_PARAMETER: {
130
151
  id: 22,
131
152
  label: 'Paramétrage social',
132
153
  aberrantTime: 40,
133
154
  limitedRoles: [Role.SOCIAL],
155
+ color: 'guacamole',
134
156
  },
135
157
  WORK_CONTRACT: {
136
158
  id: 23,
137
159
  label: 'Contrat de travail',
138
160
  aberrantTime: 60,
139
161
  limitedRoles: [Role.SOCIAL],
162
+ color: 'guacamole',
140
163
  },
141
164
  DPAE: {
142
165
  id: 24,
143
166
  label: 'DPAE',
144
167
  aberrantTime: 25,
145
168
  limitedRoles: [Role.SOCIAL],
169
+ color: 'guacamole',
146
170
  },
147
171
  FACTURATION: {
148
172
  id: 25,
149
173
  label: 'Facturation',
150
174
  aberrantTime: 180,
151
175
  limitedRoles: null,
176
+ color: 'success',
152
177
  },
153
178
  LEGAL_DOCUMENT: {
154
179
  id: 26,
155
180
  label: 'Rédaction documents juridiques',
156
181
  aberrantTime: 30,
157
182
  limitedRoles: [Role.JURIDIC],
183
+ color: 'caramel',
158
184
  },
159
185
  INFOGREFFE: {
160
186
  id: 27,
161
187
  label: 'Dépôt infogreffe ou autre',
162
188
  aberrantTime: 15,
163
189
  limitedRoles: [Role.JURIDIC],
190
+ color: 'caramel',
164
191
  },
165
192
  APPOINTMENT: {
166
193
  id: 28,
167
194
  label: 'Rdv client',
168
195
  aberrantTime: 15,
169
196
  limitedRoles: null,
197
+ color: 'orange-light',
170
198
  },
171
199
  };
172
200
  //# sourceMappingURL=TimeCounterType.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TimeCounterType.js","sourceRoot":"","sources":["../../../ts/types/Enum/TimeCounterType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,UAAU,EAAE;QACV,EAAE,EAAE,CAAC;QACL,KAAK,EAAE,YAAY;QACnB,YAAY,EAAE,EAAE;QAChB,YAAY,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC;KAClC;IACD,GAAG,EAAE;QACH,EAAE,EAAE,CAAC;QACL,KAAK,EAAE,KAAK;QACZ,YAAY,EAAE,EAAE;QAChB,YAAY,EAAE,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,iBAAiB,EAAE,IAAI,CAAC,YAAY,CAAC;KACxE;IACD,QAAQ,EAAE;QACR,EAAE,EAAE,CAAC;QACL,KAAK,EAAE,UAAU;QACjB,YAAY,EAAE,GAAG;QACjB,YAAY,EAAE,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,iBAAiB,EAAE,IAAI,CAAC,YAAY,CAAC;KACxE;IACD,aAAa,EAAE;QACb,EAAE,EAAE,CAAC;QACL,KAAK,EAAE,eAAe;QACtB,Y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AC;KAC5B;IACD,gBAAgB,EAAE;QAChB,EAAE,EAAE,EAAE;QACN,KAAK,EAAE,oBAAoB;QAC3B,YAAY,EAAE,EAAE;QAChB,YAAY,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC;KAC5B;IACD,aAAa,EAAE;QACb,EAAE,EAAE,EAAE;QACN,KAAK,EAAE,oBAAoB;QAC3B,YAAY,EAAE,EAAE;QAChB,YAAY,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC;KAC5B;IACD,IAAI,EAAE;QACJ,EAAE,EAAE,EAAE;QACN,KAAK,EAAE,MAAM;QACb,YAAY,EAAE,EAAE;QAChB,YAAY,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC;KAC5B;IACD,WAAW,EAAE;QACX,EAAE,EAAE,EAAE;QACN,KAAK,EAAE,aAAa;QACpB,YAAY,EAAE,GAAG;QACjB,YAAY,EAAE,IAAI;KACnB;IACD,cAAc,EAAE;QACd,EAAE,EAAE,EAAE;QACN,KAAK,EAAE,gCAAgC;QACvC,YAAY,EAAE,EAAE;QAChB,YAAY,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC;KAC7B;IACD,UAAU,EAAE;QACV,EAAE,EAAE,EAAE;QACN,KAAK,EAAE,2BAA2B;QAClC,YAAY,EAAE,EAAE;QAChB,YAAY,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC;KAC7B;IACD,WAAW,EAAE;QACX,EAAE,EAAE,EAAE;QACN,KAAK,EAAE,YAAY;QACnB,YAAY,EAAE,EAAE;QAChB,YAAY,EAAE,IAAI;KACnB;CACF,CAAC","sourcesContent":["import { Role } from './Role';\n\nexport const TimeCounterType = {\n ONBOARDING: {\n id: 1,\n label: 'OnBoarding',\n aberrantTime: 60,\n limitedRoles: [Role.FRONT_OFFICE],\n },\n VAT: {\n id: 2,\n label: 'TVA',\n aberrantTime: 60,\n limitedRoles: [Role.MANAGER, Role.EXPERT_ACCOUNTANT, Role.FRONT_OFFICE],\n },\n REVISION: {\n id: 3,\n label: 'Révision',\n aberrantTime: 120,\n limitedRoles: [Role.MANAGER, Role.EXPERT_ACCOUNTANT, Role.FRONT_OFFICE],\n },\n FOLDER_REVIEW: {\n id: 4,\n label: 'Revue dossier',\n aberrantTime: 60,\n limitedRoles: [Role.MANAGER, Role.EXPERT_ACCOUNTANT, Role.FRONT_OFFICE],\n },\n REPORTING: {\n id: 5,\n label: 'Signalement',\n aberrantTime: 60,\n limitedRoles: [Role.CUSTOMER_SUCCESS],\n },\n SYNCHRONISATION: {\n id: 6,\n label: 'Synchronisation',\n aberrantTime: 30,\n limitedRoles: [Role.CUSTOMER_SUCCESS],\n },\n UNDER_SUPERVISION: {\n id: 7,\n label: 'En cours de supervision',\n aberrantTime: 45,\n limitedRoles: null,\n },\n CLIENT_CONTACT: {\n id: 8,\n label: 'Contact client (Appel/mail/chat)',\n aberrantTime: null,\n limitedRoles: null,\n },\n MEETING: {\n id: 9,\n label: 'Réunion',\n aberrantTime: null,\n limitedRoles: null,\n },\n FORMATION: {\n id: 10,\n label: 'Formation',\n aberrantTime: null,\n limitedRoles: null,\n },\n FORECAST: {\n id: 11,\n label: 'Prévisionnel',\n aberrantTime: null,\n limitedRoles: [Role.FRONT_OFFICE],\n },\n CERTIFICATE: {\n id: 12,\n label: 'Attestation',\n aberrantTime: null,\n limitedRoles: [Role.CUSTOMER_SUCCESS],\n },\n COMPLEMENTARY_MISSION: {\n id: 13,\n label: 'Mission complémentaire',\n aberrantTime: null,\n limitedRoles: [Role.FRONT_OFFICE],\n },\n ORGANISATION: {\n id: 14,\n label: 'Organisation',\n aberrantTime: null,\n limitedRoles: null,\n },\n INTERNAL_ADVICE: {\n id: 15,\n label: 'Conseil interne',\n aberrantTime: null,\n limitedRoles: null,\n },\n LAB: {\n id: 16,\n label: 'LAB',\n aberrantTime: null,\n limitedRoles: [Role.EXPERT_ACCOUNTANT],\n },\n SUPERVISION: {\n id: 17,\n label: 'Supervision',\n aberrantTime: null,\n limitedRoles: [Role.EXPERT_ACCOUNTANT, Role.MANAGER],\n },\n MAIL_PROCESSING: {\n id: 18,\n label: 'Traitement des courriers',\n aberrantTime: null,\n limitedRoles: [Role.CUSTOMER_SUCCESS],\n },\n SUPPORT_PROCESSING: {\n id: 19,\n label: 'Traitement support',\n aberrantTime: null,\n limitedRoles: [Role.CUSTOMER_SUCCESS],\n },\n BILAN: {\n id: 20,\n label: 'Bilan',\n aberrantTime: 120,\n limitedRoles: [Role.FRONT_OFFICE, Role.EXPERT_ACCOUNTANT],\n },\n PAYSLIP: {\n id: 21,\n label: 'Bulletin de paie/DSN',\n aberrantTime: 30,\n limitedRoles: [Role.SOCIAL],\n },\n SOCIAL_PARAMETER: {\n id: 22,\n label: 'Paramétrage social',\n aberrantTime: 40,\n limitedRoles: [Role.SOCIAL],\n },\n WORK_CONTRACT: {\n id: 23,\n label: 'Contrat de travail',\n aberrantTime: 60,\n limitedRoles: [Role.SOCIAL],\n },\n DPAE: {\n id: 24,\n label: 'DPAE',\n aberrantTime: 25,\n limitedRoles: [Role.SOCIAL],\n },\n FACTURATION: {\n id: 25,\n label: 'Facturation',\n aberrantTime: 180,\n limitedRoles: null,\n },\n LEGAL_DOCUMENT: {\n id: 26,\n label: 'Rédaction documents juridiques',\n aberrantTime: 30,\n limitedRoles: [Role.JURIDIC],\n },\n INFOGREFFE: {\n id: 27,\n label: 'Dépôt infogreffe ou autre',\n aberrantTime: 15,\n limitedRoles: [Role.JURIDIC],\n },\n APPOINTMENT: {\n id: 28,\n label: 'Rdv client',\n aberrantTime: 15,\n limitedRoles: null,\n },\n};"]}
1
+ {"version":3,"file":"TimeCounterType.js","sourceRoot":"","sources":["../../../ts/types/Enum/TimeCounterType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,UAAU,EAAE;QACV,EAAE,EAAE,CAAC;QACL,KAAK,EAAE,YAAY;QACnB,YAAY,EAAE,EAAE;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EAAE,EAAE;QACN,KAAK,EAAE,oBAAoB;QAC3B,YAAY,EAAE,EAAE;QAChB,YAAY,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC;QAC3B,KAAK,EAAE,WAAW;KACnB;IACD,IAAI,EAAE;QACJ,EAAE,EAAE,EAAE;QACN,KAAK,EAAE,MAAM;QACb,YAAY,EAAE,EAAE;QAChB,YAAY,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC;QAC3B,KAAK,EAAE,WAAW;KACnB;IACD,WAAW,EAAE;QACX,EAAE,EAAE,EAAE;QACN,KAAK,EAAE,aAAa;QACpB,YAAY,EAAE,GAAG;QACjB,YAAY,EAAE,IAAI;QAClB,KAAK,EAAE,SAAS;KACjB;IACD,cAAc,EAAE;QACd,EAAE,EAAE,EAAE;QACN,KAAK,EAAE,gCAAgC;QACvC,YAAY,EAAE,EAAE;QAChB,YAAY,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC;QAC5B,KAAK,EAAE,SAAS;KACjB;IACD,UAAU,EAAE;QACV,EAAE,EAAE,EAAE;QACN,KAAK,EAAE,2BAA2B;QAClC,YAAY,EAAE,EAAE;QAChB,YAAY,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC;QAC5B,KAAK,EAAE,SAAS;KACjB;IACD,WAAW,EAAE;QACX,EAAE,EAAE,EAAE;QACN,KAAK,EAAE,YAAY;QACnB,YAAY,EAAE,EAAE;QAChB,YAAY,EAAE,IAAI;QAClB,KAAK,EAAE,cAAc;KACtB;CACF,CAAC","sourcesContent":["import { Role } from './Role';\n\nexport const TimeCounterType = {\n ONBOARDING: {\n id: 1,\n label: 'OnBoarding',\n aberrantTime: 60,\n limitedRoles: [Role.FRONT_OFFICE],\n color: 'fire',\n },\n VAT: {\n id: 2,\n label: 'TVA',\n aberrantTime: 60,\n limitedRoles: [Role.MANAGER, Role.EXPERT_ACCOUNTANT, Role.FRONT_OFFICE],\n color: 'iris',\n },\n REVISION: {\n id: 3,\n label: 'Révision',\n aberrantTime: 120,\n limitedRoles: [Role.MANAGER, Role.EXPERT_ACCOUNTANT, Role.FRONT_OFFICE],\n color: 'bubblegum-light',\n },\n FOLDER_REVIEW: {\n id: 4,\n label: 'Revue dossier',\n aberrantTime: 60,\n limitedRoles: [Role.MANAGER, Role.EXPERT_ACCOUNTANT, Role.FRONT_OFFICE],\n color: 'cerulean',\n },\n REPORTING: {\n id: 5,\n label: 'Signalement',\n aberrantTime: 60,\n limitedRoles: [Role.CUSTOMER_SUCCESS],\n color: 'lipstick-dark',\n },\n SYNCHRONISATION: {\n id: 6,\n label: 'Synchronisation',\n aberrantTime: 30,\n limitedRoles: [Role.CUSTOMER_SUCCESS],\n color: 'orange-dark',\n },\n UNDER_SUPERVISION: {\n id: 7,\n label: 'En cours de supervision',\n aberrantTime: 45,\n limitedRoles: null,\n color: 'orange-dark',\n },\n CLIENT_CONTACT: {\n id: 8,\n label: 'Contact client (Appel/mail/chat)',\n aberrantTime: 20,\n limitedRoles: null,\n color: 'orange-light',\n },\n MEETING: {\n id: 9,\n label: 'Réunion',\n aberrantTime: 20,\n limitedRoles: null,\n color: 'fern-dark',\n },\n FORMATION: {\n id: 10,\n label: 'Formation',\n aberrantTime: 20,\n limitedRoles: null,\n color: 'fern',\n },\n FORECAST: {\n id: 11,\n label: 'Prévisionnel',\n aberrantTime: 20,\n limitedRoles: [Role.FRONT_OFFICE],\n color: 'cerulean-light',\n },\n CERTIFICATE: {\n id: 12,\n label: 'Attestation',\n aberrantTime: 20,\n limitedRoles: [Role.CUSTOMER_SUCCESS],\n color: 'lipstick-light',\n },\n COMPLEMENTARY_MISSION: {\n id: 13,\n label: 'Mission complémentaire',\n aberrantTime: 20,\n limitedRoles: [Role.FRONT_OFFICE],\n color: 'cerulean-light',\n },\n ORGANISATION: {\n id: 14,\n label: 'Organisation',\n aberrantTime: 20,\n limitedRoles: null,\n color: 'fern-light',\n },\n INTERNAL_ADVICE: {\n id: 15,\n label: 'Conseil interne',\n aberrantTime: 20,\n limitedRoles: null,\n color: 'fern-light',\n },\n LAB: {\n id: 16,\n label: 'LAB',\n aberrantTime: 20,\n limitedRoles: [Role.EXPERT_ACCOUNTANT],\n color: 'fire',\n },\n SUPERVISION: {\n id: 17,\n label: 'Supervision',\n aberrantTime: 20,\n limitedRoles: [Role.EXPERT_ACCOUNTANT, Role.MANAGER],\n color: 'bubblegum-dark',\n },\n MAIL_PROCESSING: {\n id: 18,\n label: 'Traitement des courriers',\n aberrantTime: 20,\n limitedRoles: [Role.CUSTOMER_SUCCESS],\n color: 'lipstick-light',\n },\n SUPPORT_PROCESSING: {\n id: 19,\n label: 'Traitement support',\n aberrantTime: 20,\n limitedRoles: [Role.CUSTOMER_SUCCESS],\n color: 'error',\n },\n BILAN: {\n id: 20,\n label: 'Bilan',\n aberrantTime: 120,\n limitedRoles: [Role.FRONT_OFFICE, Role.EXPERT_ACCOUNTANT],\n color: 'cerulean-dark',\n },\n PAYSLIP: {\n id: 21,\n label: 'Bulletin de paie/DSN',\n aberrantTime: 30,\n limitedRoles: [Role.SOCIAL],\n color: 'guacamole',\n },\n SOCIAL_PARAMETER: {\n id: 22,\n label: 'Paramétrage social',\n aberrantTime: 40,\n limitedRoles: [Role.SOCIAL],\n color: 'guacamole',\n },\n WORK_CONTRACT: {\n id: 23,\n label: 'Contrat de travail',\n aberrantTime: 60,\n limitedRoles: [Role.SOCIAL],\n color: 'guacamole',\n },\n DPAE: {\n id: 24,\n label: 'DPAE',\n aberrantTime: 25,\n limitedRoles: [Role.SOCIAL],\n color: 'guacamole',\n },\n FACTURATION: {\n id: 25,\n label: 'Facturation',\n aberrantTime: 180,\n limitedRoles: null,\n color: 'success',\n },\n LEGAL_DOCUMENT: {\n id: 26,\n label: 'Rédaction documents juridiques',\n aberrantTime: 30,\n limitedRoles: [Role.JURIDIC],\n color: 'caramel',\n },\n INFOGREFFE: {\n id: 27,\n label: 'Dépôt infogreffe ou autre',\n aberrantTime: 15,\n limitedRoles: [Role.JURIDIC],\n color: 'caramel',\n },\n APPOINTMENT: {\n id: 28,\n label: 'Rdv client',\n aberrantTime: 15,\n limitedRoles: null,\n color: 'orange-light',\n },\n};"]}
@@ -10,5 +10,6 @@ export interface ReadAllCalendarEvent {
10
10
  deletable?: boolean;
11
11
  resizable?: boolean;
12
12
  draggable?: boolean;
13
+ color?: string;
13
14
  }
14
15
  //# sourceMappingURL=readAllCalendarEvent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"readAllCalendarEvent.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/calendarEvent/readAllCalendarEvent.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAoB;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,WAAW,CAAC,EAAE,IAAI,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB"}
1
+ {"version":3,"file":"readAllCalendarEvent.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/calendarEvent/readAllCalendarEvent.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAoB;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,WAAW,CAAC,EAAE,IAAI,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf"}
@@ -1 +1 @@
1
- {"version":3,"file":"readAllCalendarEvent.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/calendarEvent/readAllCalendarEvent.ts"],"names":[],"mappings":"","sourcesContent":["export interface ReadAllCalendarEvent {\n id: number,\n title: string,\n start: string,\n end: string | null,\n content: string,\n idTimeCounterType?: number\n validatedAt?: Date,\n class?: string;\n deletable?: boolean,\n resizable?: boolean,\n draggable?: boolean,\n}"]}
1
+ {"version":3,"file":"readAllCalendarEvent.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/calendarEvent/readAllCalendarEvent.ts"],"names":[],"mappings":"","sourcesContent":["export interface ReadAllCalendarEvent {\n id: number,\n title: string,\n start: string,\n end: string | null,\n content: string,\n idTimeCounterType?: number\n validatedAt?: Date,\n class?: string;\n deletable?: boolean,\n resizable?: boolean,\n draggable?: boolean,\n color?: string\n}"]}
@@ -52,6 +52,9 @@ export declare class CreateCommercialMail {
52
52
  subject: string;
53
53
  content: string;
54
54
  }
55
+ export declare class CreateCommercialMailWithMultipleFiles extends CreateCommercialMail {
56
+ idsFile: number[];
57
+ }
55
58
  export declare class CommercialDocumentInputs {
56
59
  legalForm: string | null;
57
60
  capital: number | null;
@@ -1 +1 @@
1
- {"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/commercialManagement/Create.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,oBAAoB,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAClG,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAEpE,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,0BA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C;CACpB;AAED,qBAAa,cAAc;IAIzB,WAAW,EAAE,OAAO,CAAC;IAKrB,OAAO,EAAE,OAAO,CAAC;IAKjB,UAAU,EAAE,OAAO,CAAC;IAKpB,UAAU,EAAE,OAAO,CAAC;IAKpB,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,OAAO,CAAC,EAAE,MAAM,CAAC;IAIjB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,qBAAa,gBAAgB;IAG3B,IAAI,EAAE,MAAM,CAAC;IAIb,SAAS,EAAE,MAAM,CAAC;IAIlB,OAAO,EAAE,MAAM,CAAC;IAKhB,QAAQ,EAAE,OAAO,CAAC;CACnB"}
@@ -280,6 +280,8 @@ __decorate([
280
280
  IsString(),
281
281
  __metadata("design:type", String)
282
282
  ], CreateCommercialMail.prototype, "content", void 0);
283
+ export class CreateCommercialMailWithMultipleFiles extends CreateCommercialMail {
284
+ }
283
285
  export class CommercialDocumentInputs {
284
286
  }
285
287
  __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/commercialManagement/Create.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,GAAG,GAC9E,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAC3E,OAAO,EAAE,oBAAoB,EAA0B,MAAM,oCAAoC,CAAC;AAClG,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAO9D,MAAM,OAAO,uBAAuB;CAuMnC;AAhMC;IANC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;I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,EAAE;;oEAC2B;AAKzC;IAHC,WAAW,EAAE;IACb,SAAS,EAAE;IACX,SAAS,EAAE;;wEACqB;AAGnC,MAAM,OAAO,qBAAsB,SAAQ,wBAAwB;CAKlE;AACD,MAAM,OAAO,qBAAsB,SAAQ,wBAAwB;CAMlE;AAED,MAAM,OAAO,SAAS;CAGrB;AADC;IADC,WAAW,EAAE;;sCACK;AAGrB,MAAM,OAAO,cAAc;CAkC1B;AA9BC;IAHC,WAAW,EAAE;IACb,SAAS,EAAE;IACX,SAAS,EAAE;;mDACS;AAKrB;IAHC,WAAW,EAAE;IACb,SAAS,EAAE;IACX,SAAS,EAAE;;+CACK;AAKjB;IAHC,WAAW,EAAE;IACb,SAAS,EAAE;IACX,SAAS,EAAE;;kDACQ;AAKpB;IAHC,WAAW,EAAE;IACb,SAAS,EAAE;IACX,SAAS,EAAE;;kDACQ;AAKpB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;+CACI;AAKjB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;+CACI;AAIjB;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;6CACG;AAGhB,MAAM,OAAO,gBAAgB;CAiB5B;AAdC;IAFC,WAAW,EAAE;IACb,MAAM,CAAC,cAAc,CAAC;;8CACV;AAIb;IAFC,WAAW,EAAE;IACb,YAAY,EAAE;;mDACG;AAIlB;IAFC,WAAW,EAAE;IACb,YAAY,EAAE;;iDACC;AAKhB;IAHC,WAAW,EAAE;IACb,SAAS,EAAE;IACX,SAAS,EAAE;;kDACM","sourcesContent":["import {\n IsArray, IsBoolean, IsDateString, IsEnum, IsNumber, IsOptional, IsString, Min,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { AccountingCategoryId, FontIds, LogoAlignment } from '../../../Enum/CommercialManagement';\nimport { EstimateInvoiceType } from '../../../Enum/EstimateInvoice';\nimport { RecurrenceType } from '../../../Enum/RecurrenceType';\nimport { IProductInvoice } from '../../models/IProductInvoice';\nimport { ISocietyGescom } from '../../models/ISocietyGescom';\nimport { IThirdParty } from '../../models/IThirdParty';\n\nexport type IProductInvoiceToCreate = IProductInvoice & { save?: boolean };\n\nexport class CreateCommercialSetting {\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n @Min(0, {\n message: 'Capital should be positive',\n })\n capital?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n tvaCode?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n rcs?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n numberTradeDirectory?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n bank?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n iban?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n bic?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n mailContact?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n phoneContact?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n website?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n commercialName?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n penalties?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n discount?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n recoveryCost?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n vatMention?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n generatedBy?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n acceptCheque?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n mentionAutoent?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n startInvoice?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n startEstimate?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n dayOfValidity?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n paymentsAccepted?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n stripePaymentByDefault?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n displayLogo?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n invoiceCgv?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n color?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n freeInvoiceText?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n freeEstimateText?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n logoAlignment?: LogoAlignment | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idFont?: FontIds | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isEdgingDisplayed?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n edgingColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isCoordinatesFrameDisplayed?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n areLinesSeparationHidden?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n areColumnsSeparationHidden?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n accountingCategory?: AccountingCategoryId;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n shouldPayTaxAfterDebit?: boolean;\n}\n\nexport class CreateCommercialMail {\n @ApiProperty()\n @IsString()\n to: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n cc?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n bcc?: string;\n\n @ApiProperty()\n @IsString()\n subject: string;\n\n @ApiProperty()\n @IsString()\n content: string;\n}\n\nexport class CommercialDocumentInputs {\n @ApiProperty()\n legalForm: string | null;\n\n @ApiProperty()\n capital: number | null;\n\n @ApiProperty()\n siren: string | null;\n\n @ApiProperty()\n rcs: string | null;\n\n @ApiProperty()\n vatCode: string | null;\n\n @ApiProperty()\n nafCode: string | null;\n\n @ApiProperty()\n @IsString()\n reference: string;\n\n @ApiProperty()\n thirdParty: IThirdParty;\n\n @ApiProperty()\n @IsDateString()\n emissionDate: string;\n\n @ApiProperty()\n @IsDateString()\n dueDate: string;\n\n @ApiProperty({ description: 'Date d\\'expiration pour la facture d\\'acompte' })\n expirationDate: string | null;\n\n @ApiProperty({ description: 'Conditions de réglement' })\n termsOfPayment: string | null;\n\n @ApiProperty()\n @IsArray()\n products: Array<IProductInvoiceToCreate>;\n\n @ApiProperty({ description: 'Escompte' })\n discount: string | null;\n\n @ApiProperty()\n comment: string | null;\n\n @ApiProperty({ description: 'Pénalité de retard' })\n penalties: string | null;\n\n @ApiProperty({ description: 'Remise globale' })\n @IsNumber()\n generalDiscount2: number;\n\n @ApiProperty({ description: 'Indemnité forfaitaire' })\n compensation: string | null;\n\n @ApiProperty()\n vatMention: string | null;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n disableVat: boolean;\n\n @ApiProperty()\n title: string | null;\n\n @ApiProperty({ description: 'Commercial name of seller' })\n @IsString()\n name: string;\n\n @ApiProperty({ description: 'Commercial number address of seller' })\n number?: string | null;\n\n @ApiProperty({ description: 'Commercial street address of seller' })\n street: string | null;\n\n @ApiProperty({ description: 'Commercial zip code address of seller' })\n zipCode: string | null;\n\n @ApiProperty({ description: 'Commercial city address of seller' })\n city: string | null;\n\n @ApiProperty()\n settings: ISocietyGescom;\n\n @ApiProperty()\n cgv: string | null;\n\n @ApiProperty()\n logoUrl: string | null;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isStripeAllowed: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isDraft: boolean;\n\n @ApiProperty()\n idEstimateInvoiceType: EstimateInvoiceType;\n\n @ApiProperty()\n accountingCategory: AccountingCategoryId;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n shouldPayTaxAfterDebit?: boolean;\n}\n\nexport class CreatePreSaleDocument extends CommercialDocumentInputs {\n paymentLink?: '#';\n deposit?: undefined;\n fromEstimateId: undefined;\n assetMarginVatIds?: [];\n}\nexport class CreateInvoiceDocument extends CommercialDocumentInputs {\n paymentLink?: string;\n deposit?: number;\n fromInvoiceId?: number | null; // Nécessaire lors de la création d'un avoir à partir d'une facture\n fromEstimateId: number | null; // Nécessaire lors du passage d'un devis à facture\n assetMarginVatIds?: number[]; // Laisser vide côté front, utilisé pour l'affichage des tva sur marge sur les acomptes\n}\n\nexport class CreateCgv {\n @ApiProperty()\n cgv: string | null;\n}\n\nexport class CreateReminder {\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n beforeThree: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n dueDate: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n afterThree: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n afterSeven: boolean;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n subject?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n message?: string;\n\n @ApiProperty()\n @IsString()\n email: string;\n}\n\nexport class CreateRecurrence {\n @ApiProperty()\n @IsEnum(RecurrenceType)\n type: number;\n\n @ApiProperty()\n @IsDateString()\n startDate: string;\n\n @ApiProperty()\n @IsDateString()\n endDate: string;\n\n @ApiProperty()\n @ToBoolean()\n @IsBoolean()\n isActive: boolean;\n}"]}
1
+ {"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/commercialManagement/Create.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,GAAG,GAC9E,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAC3E,OAAO,EAAE,oBAAoB,EAA0B,MAAM,oCAAoC,CAAC;AAClG,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAO9D,MAAM,OAAO,uBAAuB;CAuMnC;AAhMC;IANC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;IACV,GAAG,CAAC,CAAC,EAAE;QACN,OAAO,EAAE,4BAA4B;KACtC,CAAC;;wDACsB;AAKxB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;wDACa;AAKxB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;oDACS;AAKpB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;qEAC0B;AAKrC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;qDACU;AAKrB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;qDACU;AAKrB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;oDACS;AAKpB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EA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SAAS,EAAE;;kDACQ;AAKpB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;+CACI;AAKjB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;+CACI;AAIjB;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;6CACG;AAGhB,MAAM,OAAO,gBAAgB;CAiB5B;AAdC;IAFC,WAAW,EAAE;IACb,MAAM,CAAC,cAAc,CAAC;;8CACV;AAIb;IAFC,WAAW,EAAE;IACb,YAAY,EAAE;;mDACG;AAIlB;IAFC,WAAW,EAAE;IACb,YAAY,EAAE;;iDACC;AAKhB;IAHC,WAAW,EAAE;IACb,SAAS,EAAE;IACX,SAAS,EAAE;;kDACM","sourcesContent":["import {\n IsArray, IsBoolean, IsDateString, IsEnum, IsNumber, IsOptional, IsString, Min,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { AccountingCategoryId, FontIds, LogoAlignment } from '../../../Enum/CommercialManagement';\nimport { EstimateInvoiceType } from '../../../Enum/EstimateInvoice';\nimport { RecurrenceType } from '../../../Enum/RecurrenceType';\nimport { IProductInvoice } from '../../models/IProductInvoice';\nimport { ISocietyGescom } from '../../models/ISocietyGescom';\nimport { IThirdParty } from '../../models/IThirdParty';\n\nexport type IProductInvoiceToCreate = IProductInvoice & { save?: boolean };\n\nexport class CreateCommercialSetting {\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n @Min(0, {\n message: 'Capital should be positive',\n })\n capital?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n tvaCode?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n rcs?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n numberTradeDirectory?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n bank?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n iban?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n bic?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n mailContact?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n phoneContact?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n website?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n commercialName?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n penalties?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n discount?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n recoveryCost?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n vatMention?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n generatedBy?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n acceptCheque?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n mentionAutoent?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n startInvoice?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n startEstimate?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n dayOfValidity?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n paymentsAccepted?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n stripePaymentByDefault?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n displayLogo?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n invoiceCgv?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n color?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n freeInvoiceText?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n freeEstimateText?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n logoAlignment?: LogoAlignment | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idFont?: FontIds | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isEdgingDisplayed?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n edgingColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isCoordinatesFrameDisplayed?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n areLinesSeparationHidden?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n areColumnsSeparationHidden?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n accountingCategory?: AccountingCategoryId;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n shouldPayTaxAfterDebit?: boolean;\n}\n\nexport class CreateCommercialMail {\n @ApiProperty()\n @IsString()\n to: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n cc?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n bcc?: string;\n\n @ApiProperty()\n @IsString()\n subject: string;\n\n @ApiProperty()\n @IsString()\n content: string;\n}\n\nexport class CreateCommercialMailWithMultipleFiles extends CreateCommercialMail {\n idsFile: number[];\n}\n\nexport class CommercialDocumentInputs {\n @ApiProperty()\n legalForm: string | null;\n\n @ApiProperty()\n capital: number | null;\n\n @ApiProperty()\n siren: string | null;\n\n @ApiProperty()\n rcs: string | null;\n\n @ApiProperty()\n vatCode: string | null;\n\n @ApiProperty()\n nafCode: string | null;\n\n @ApiProperty()\n @IsString()\n reference: string;\n\n @ApiProperty()\n thirdParty: IThirdParty;\n\n @ApiProperty()\n @IsDateString()\n emissionDate: string;\n\n @ApiProperty()\n @IsDateString()\n dueDate: string;\n\n @ApiProperty({ description: 'Date d\\'expiration pour la facture d\\'acompte' })\n expirationDate: string | null;\n\n @ApiProperty({ description: 'Conditions de réglement' })\n termsOfPayment: string | null;\n\n @ApiProperty()\n @IsArray()\n products: Array<IProductInvoiceToCreate>;\n\n @ApiProperty({ description: 'Escompte' })\n discount: string | null;\n\n @ApiProperty()\n comment: string | null;\n\n @ApiProperty({ description: 'Pénalité de retard' })\n penalties: string | null;\n\n @ApiProperty({ description: 'Remise globale' })\n @IsNumber()\n generalDiscount2: number;\n\n @ApiProperty({ description: 'Indemnité forfaitaire' })\n compensation: string | null;\n\n @ApiProperty()\n vatMention: string | null;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n disableVat: boolean;\n\n @ApiProperty()\n title: string | null;\n\n @ApiProperty({ description: 'Commercial name of seller' })\n @IsString()\n name: string;\n\n @ApiProperty({ description: 'Commercial number address of seller' })\n number?: string | null;\n\n @ApiProperty({ description: 'Commercial street address of seller' })\n street: string | null;\n\n @ApiProperty({ description: 'Commercial zip code address of seller' })\n zipCode: string | null;\n\n @ApiProperty({ description: 'Commercial city address of seller' })\n city: string | null;\n\n @ApiProperty()\n settings: ISocietyGescom;\n\n @ApiProperty()\n cgv: string | null;\n\n @ApiProperty()\n logoUrl: string | null;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isStripeAllowed: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isDraft: boolean;\n\n @ApiProperty()\n idEstimateInvoiceType: EstimateInvoiceType;\n\n @ApiProperty()\n accountingCategory: AccountingCategoryId;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n shouldPayTaxAfterDebit?: boolean;\n}\n\nexport class CreatePreSaleDocument extends CommercialDocumentInputs {\n paymentLink?: '#';\n deposit?: undefined;\n fromEstimateId: undefined;\n assetMarginVatIds?: [];\n}\nexport class CreateInvoiceDocument extends CommercialDocumentInputs {\n paymentLink?: string;\n deposit?: number;\n fromInvoiceId?: number | null; // Nécessaire lors de la création d'un avoir à partir d'une facture\n fromEstimateId: number | null; // Nécessaire lors du passage d'un devis à facture\n assetMarginVatIds?: number[]; // Laisser vide côté front, utilisé pour l'affichage des tva sur marge sur les acomptes\n}\n\nexport class CreateCgv {\n @ApiProperty()\n cgv: string | null;\n}\n\nexport class CreateReminder {\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n beforeThree: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n dueDate: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n afterThree: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n afterSeven: boolean;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n subject?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n message?: string;\n\n @ApiProperty()\n @IsString()\n email: string;\n}\n\nexport class CreateRecurrence {\n @ApiProperty()\n @IsEnum(RecurrenceType)\n type: number;\n\n @ApiProperty()\n @IsDateString()\n startDate: string;\n\n @ApiProperty()\n @IsDateString()\n endDate: string;\n\n @ApiProperty()\n @ToBoolean()\n @IsBoolean()\n isActive: boolean;\n}"]}
@@ -0,0 +1,5 @@
1
+ export declare class UpdateLegalNotice {
2
+ message: string;
3
+ idPrestation?: number;
4
+ }
5
+ //# sourceMappingURL=UpdateLegalNotice.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UpdateLegalNotice.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/legalNotice/UpdateLegalNotice.ts"],"names":[],"mappings":"AAGA,qBAAa,iBAAiB;IAG5B,OAAO,EAAE,MAAM,CAAC;IAKhB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB"}
@@ -0,0 +1,25 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ var __metadata = (this && this.__metadata) || function (k, v) {
8
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
+ };
10
+ import { IsNumber, IsOptional, IsString } from 'class-validator';
11
+ import { ApiProperty, ApiPropertyOptional } from '../../../..';
12
+ export class UpdateLegalNotice {
13
+ }
14
+ __decorate([
15
+ ApiProperty(),
16
+ IsString(),
17
+ __metadata("design:type", String)
18
+ ], UpdateLegalNotice.prototype, "message", void 0);
19
+ __decorate([
20
+ ApiPropertyOptional(),
21
+ IsOptional(),
22
+ IsNumber(),
23
+ __metadata("design:type", Number)
24
+ ], UpdateLegalNotice.prototype, "idPrestation", void 0);
25
+ //# sourceMappingURL=UpdateLegalNotice.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UpdateLegalNotice.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/legalNotice/UpdateLegalNotice.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAE/D,MAAM,OAAO,iBAAiB;CAS7B;AANC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;kDACK;AAKhB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;uDACW","sourcesContent":["import { IsNumber, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../..';\n\nexport class UpdateLegalNotice {\n @ApiProperty()\n @IsString()\n message: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idPrestation?: number;\n}\n"]}
@@ -0,0 +1,4 @@
1
+ export declare class QueryGetPaymentExpectation {
2
+ idPrestation: number;
3
+ }
4
+ //# sourceMappingURL=QueryPaymentExpectation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryPaymentExpectation.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/paymentExpectation/QueryPaymentExpectation.ts"],"names":[],"mappings":"AAEA,qBAAa,0BAA0B;IAErC,YAAY,EAAE,MAAM,CAAC;CACtB"}