@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
@@ -97,10 +97,13 @@ import { Recurrence } from './resources/Recurrence';
97
97
  import { Stripe } from './resources/Stripe';
98
98
  import { File } from './resources/FIle';
99
99
  import { SocietyConfig } from './resources/SocietyConfig';
100
+ import { LegalNotice } from './resources/LegalNotice';
100
101
  import { StatisticAccountant } from './resources/statistic/Accountant';
101
- import { StatisticDirection } from './resources/statistic/Direction';
102
102
  import { StatisticExpertAccountant } from './resources/statistic/ExpertAccountant';
103
103
  import { Wallet } from './resources/Wallet';
104
+ import { PaymentExpectation } from './resources/PaymentExpectation';
105
+ import { StatisticDirection } from './resources/statistic/Direction';
106
+ import { TerminationList } from './resources/TerminationList';
104
107
 
105
108
  export const resources = {
106
109
  simulation: Simulation,
@@ -203,7 +206,10 @@ export const resources = {
203
206
  file: File,
204
207
  wallet: Wallet,
205
208
  societyConfig: SocietyConfig,
209
+ legalNotice: LegalNotice,
206
210
  statisticAccountant: StatisticAccountant,
207
211
  statisticDirection: StatisticDirection,
208
212
  statisticExpertAccountant: StatisticExpertAccountant,
213
+ paymentExpectation: PaymentExpectation,
214
+ terminationList: TerminationList,
209
215
  };
@@ -0,0 +1,3 @@
1
+ export enum OperationLegalNotice {
2
+ LIQUIDATION = 1,
3
+ }
@@ -0,0 +1,5 @@
1
+ export enum OrderStatus {
2
+ A_FAIRE = 0,
3
+ FAIT = 1,
4
+ JAMAIS = 2,
5
+ }
@@ -1,4 +1,4 @@
1
- export enum Prestation {
1
+ export enum PrestationType {
2
2
  PREVISIONNEL = 6, // à remplacer par 189
3
3
  BILAN_INTERMEDIAIRE = 9,
4
4
  TELEDECLARATION = 13,
@@ -11,4 +11,5 @@ export enum Prestation {
11
11
  BILAN_PREVISIONNEL = 189,
12
12
  DISSOLUTION_LIQUIDATION = 192,
13
13
  ABO_STRIPE = 196,
14
+ ANNONCE_LEGALE = 209,
14
15
  }
@@ -0,0 +1,3 @@
1
+ export enum Reason {
2
+ ANNONCE_LEGALE = 3,
3
+ }
@@ -11,4 +11,5 @@ export enum StatisticType {
11
11
  ACCOUNTANT_IS_IR = 10,
12
12
  ACCOUNTANT_BALANCE_SHEET = 11,
13
13
  ACCOUNTANT_ADDITIONNAL_SELL = 12,
14
+ ACCOUNTANT_VAT = 13,
14
15
  }
@@ -6,167 +6,195 @@ export const TimeCounterType = {
6
6
  label: 'OnBoarding',
7
7
  aberrantTime: 60,
8
8
  limitedRoles: [Role.FRONT_OFFICE],
9
+ color: 'fire',
9
10
  },
10
11
  VAT: {
11
12
  id: 2,
12
13
  label: 'TVA',
13
14
  aberrantTime: 60,
14
15
  limitedRoles: [Role.MANAGER, Role.EXPERT_ACCOUNTANT, Role.FRONT_OFFICE],
16
+ color: 'iris',
15
17
  },
16
18
  REVISION: {
17
19
  id: 3,
18
20
  label: 'Révision',
19
21
  aberrantTime: 120,
20
22
  limitedRoles: [Role.MANAGER, Role.EXPERT_ACCOUNTANT, Role.FRONT_OFFICE],
23
+ color: 'bubblegum-light',
21
24
  },
22
25
  FOLDER_REVIEW: {
23
26
  id: 4,
24
27
  label: 'Revue dossier',
25
28
  aberrantTime: 60,
26
29
  limitedRoles: [Role.MANAGER, Role.EXPERT_ACCOUNTANT, Role.FRONT_OFFICE],
30
+ color: 'cerulean',
27
31
  },
28
32
  REPORTING: {
29
33
  id: 5,
30
34
  label: 'Signalement',
31
35
  aberrantTime: 60,
32
36
  limitedRoles: [Role.CUSTOMER_SUCCESS],
37
+ color: 'lipstick-dark',
33
38
  },
34
39
  SYNCHRONISATION: {
35
40
  id: 6,
36
41
  label: 'Synchronisation',
37
42
  aberrantTime: 30,
38
43
  limitedRoles: [Role.CUSTOMER_SUCCESS],
44
+ color: 'orange-dark',
39
45
  },
40
46
  UNDER_SUPERVISION: {
41
47
  id: 7,
42
48
  label: 'En cours de supervision',
43
49
  aberrantTime: 45,
44
50
  limitedRoles: null,
51
+ color: 'orange-dark',
45
52
  },
46
53
  CLIENT_CONTACT: {
47
54
  id: 8,
48
55
  label: 'Contact client (Appel/mail/chat)',
49
- aberrantTime: null,
56
+ aberrantTime: 20,
50
57
  limitedRoles: null,
58
+ color: 'orange-light',
51
59
  },
52
60
  MEETING: {
53
61
  id: 9,
54
62
  label: 'Réunion',
55
- aberrantTime: null,
63
+ aberrantTime: 20,
56
64
  limitedRoles: null,
65
+ color: 'fern-dark',
57
66
  },
58
67
  FORMATION: {
59
68
  id: 10,
60
69
  label: 'Formation',
61
- aberrantTime: null,
70
+ aberrantTime: 20,
62
71
  limitedRoles: null,
72
+ color: 'fern',
63
73
  },
64
74
  FORECAST: {
65
75
  id: 11,
66
76
  label: 'Prévisionnel',
67
- aberrantTime: null,
77
+ aberrantTime: 20,
68
78
  limitedRoles: [Role.FRONT_OFFICE],
79
+ color: 'cerulean-light',
69
80
  },
70
81
  CERTIFICATE: {
71
82
  id: 12,
72
83
  label: 'Attestation',
73
- aberrantTime: null,
84
+ aberrantTime: 20,
74
85
  limitedRoles: [Role.CUSTOMER_SUCCESS],
86
+ color: 'lipstick-light',
75
87
  },
76
88
  COMPLEMENTARY_MISSION: {
77
89
  id: 13,
78
90
  label: 'Mission complémentaire',
79
- aberrantTime: null,
91
+ aberrantTime: 20,
80
92
  limitedRoles: [Role.FRONT_OFFICE],
93
+ color: 'cerulean-light',
81
94
  },
82
95
  ORGANISATION: {
83
96
  id: 14,
84
97
  label: 'Organisation',
85
- aberrantTime: null,
98
+ aberrantTime: 20,
86
99
  limitedRoles: null,
100
+ color: 'fern-light',
87
101
  },
88
102
  INTERNAL_ADVICE: {
89
103
  id: 15,
90
104
  label: 'Conseil interne',
91
- aberrantTime: null,
105
+ aberrantTime: 20,
92
106
  limitedRoles: null,
107
+ color: 'fern-light',
93
108
  },
94
109
  LAB: {
95
110
  id: 16,
96
111
  label: 'LAB',
97
- aberrantTime: null,
112
+ aberrantTime: 20,
98
113
  limitedRoles: [Role.EXPERT_ACCOUNTANT],
114
+ color: 'fire',
99
115
  },
100
116
  SUPERVISION: {
101
117
  id: 17,
102
118
  label: 'Supervision',
103
- aberrantTime: null,
119
+ aberrantTime: 20,
104
120
  limitedRoles: [Role.EXPERT_ACCOUNTANT, Role.MANAGER],
121
+ color: 'bubblegum-dark',
105
122
  },
106
123
  MAIL_PROCESSING: {
107
124
  id: 18,
108
125
  label: 'Traitement des courriers',
109
- aberrantTime: null,
126
+ aberrantTime: 20,
110
127
  limitedRoles: [Role.CUSTOMER_SUCCESS],
128
+ color: 'lipstick-light',
111
129
  },
112
130
  SUPPORT_PROCESSING: {
113
131
  id: 19,
114
132
  label: 'Traitement support',
115
- aberrantTime: null,
133
+ aberrantTime: 20,
116
134
  limitedRoles: [Role.CUSTOMER_SUCCESS],
135
+ color: 'error',
117
136
  },
118
137
  BILAN: {
119
138
  id: 20,
120
139
  label: 'Bilan',
121
140
  aberrantTime: 120,
122
141
  limitedRoles: [Role.FRONT_OFFICE, Role.EXPERT_ACCOUNTANT],
142
+ color: 'cerulean-dark',
123
143
  },
124
144
  PAYSLIP: {
125
145
  id: 21,
126
146
  label: 'Bulletin de paie/DSN',
127
147
  aberrantTime: 30,
128
148
  limitedRoles: [Role.SOCIAL],
149
+ color: 'guacamole',
129
150
  },
130
151
  SOCIAL_PARAMETER: {
131
152
  id: 22,
132
153
  label: 'Paramétrage social',
133
154
  aberrantTime: 40,
134
155
  limitedRoles: [Role.SOCIAL],
156
+ color: 'guacamole',
135
157
  },
136
158
  WORK_CONTRACT: {
137
159
  id: 23,
138
160
  label: 'Contrat de travail',
139
161
  aberrantTime: 60,
140
162
  limitedRoles: [Role.SOCIAL],
163
+ color: 'guacamole',
141
164
  },
142
165
  DPAE: {
143
166
  id: 24,
144
167
  label: 'DPAE',
145
168
  aberrantTime: 25,
146
169
  limitedRoles: [Role.SOCIAL],
170
+ color: 'guacamole',
147
171
  },
148
172
  FACTURATION: {
149
173
  id: 25,
150
174
  label: 'Facturation',
151
175
  aberrantTime: 180,
152
176
  limitedRoles: null,
177
+ color: 'success',
153
178
  },
154
179
  LEGAL_DOCUMENT: {
155
180
  id: 26,
156
181
  label: 'Rédaction documents juridiques',
157
182
  aberrantTime: 30,
158
183
  limitedRoles: [Role.JURIDIC],
184
+ color: 'caramel',
159
185
  },
160
186
  INFOGREFFE: {
161
187
  id: 27,
162
188
  label: 'Dépôt infogreffe ou autre',
163
189
  aberrantTime: 15,
164
190
  limitedRoles: [Role.JURIDIC],
191
+ color: 'caramel',
165
192
  },
166
193
  APPOINTMENT: {
167
194
  id: 28,
168
195
  label: 'Rdv client',
169
196
  aberrantTime: 15,
170
197
  limitedRoles: null,
198
+ color: 'orange-light',
171
199
  },
172
200
  };
@@ -10,4 +10,5 @@ export interface ReadAllCalendarEvent {
10
10
  deletable?: boolean,
11
11
  resizable?: boolean,
12
12
  draggable?: boolean,
13
+ color?: string
13
14
  }
@@ -237,6 +237,10 @@ export class CreateCommercialMail {
237
237
  content: string;
238
238
  }
239
239
 
240
+ export class CreateCommercialMailWithMultipleFiles extends CreateCommercialMail {
241
+ idsFile: number[];
242
+ }
243
+
240
244
  export class CommercialDocumentInputs {
241
245
  @ApiProperty()
242
246
  legalForm: string | null;
@@ -0,0 +1,13 @@
1
+ import { IsNumber, IsOptional, IsString } from 'class-validator';
2
+ import { ApiProperty, ApiPropertyOptional } from '../../../..';
3
+
4
+ export class UpdateLegalNotice {
5
+ @ApiProperty()
6
+ @IsString()
7
+ message: string;
8
+
9
+ @ApiPropertyOptional()
10
+ @IsOptional()
11
+ @IsNumber()
12
+ idPrestation?: number;
13
+ }
@@ -0,0 +1,6 @@
1
+ import { ApiProperty } from '../../../../utils';
2
+
3
+ export class QueryGetPaymentExpectation {
4
+ @ApiProperty()
5
+ idPrestation: number;
6
+ }
@@ -0,0 +1,15 @@
1
+ import { IsNumber } from 'class-validator';
2
+ import { ApiProperty, ApiPropertyOptional } from '../../../..';
3
+
4
+ export class CreatePrestation {
5
+ @ApiProperty()
6
+ @IsNumber()
7
+ orderStatus: number;
8
+
9
+ @ApiProperty()
10
+ @IsNumber()
11
+ amountTtc: number;
12
+
13
+ @ApiPropertyOptional()
14
+ label?: string;
15
+ }
@@ -16,6 +16,17 @@ export interface CountIsIr {
16
16
  IR: string[],
17
17
  }
18
18
 
19
+ export interface CountVat {
20
+ monthly: string[],
21
+ quarterly: string[],
22
+ simplified: string[],
23
+ }
24
+
25
+ export interface AnnotatedSocieties {
26
+ annotated: string[],
27
+ noAnnotated: string[],
28
+ }
29
+
19
30
  export interface CountComplementaryPrestation {
20
31
  waitingClient: string[],
21
32
  waitingDirection: string[],
@@ -94,8 +105,9 @@ export interface ReturnListType {
94
105
  checklist?: CountLateToDoDone,
95
106
  checklistReinforced?: CountLateToDoDone,
96
107
  revision?: Count,
97
- annotate?: string[],
108
+ annotate?: AnnotatedSocieties,
98
109
  isIr?: CountIsIr,
110
+ vatType?: CountVat,
99
111
  task?: StatsLabBySocieties,
100
112
  mail?: StatsMailsBySocieties,
101
113
  call?: StatsCallsBySocieties,
@@ -103,6 +115,5 @@ export interface ReturnListType {
103
115
  profitability?: TotalAverageProfit,
104
116
  synchronised?: string[],
105
117
  applicationJustified?: ExitApplication,
106
- applicationAnnoted?: ExitApplication,
107
118
  applicationSynchronised?: ExitApplication,
108
119
  }
@@ -0,0 +1,74 @@
1
+ import {
2
+ IsDateString, IsInt, IsOptional, IsString,
3
+ } from 'class-validator';
4
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
5
+
6
+ export class DestroyTerminationList {
7
+ @ApiProperty()
8
+ @IsInt()
9
+ id: number;
10
+
11
+ @ApiPropertyOptional()
12
+ @IsOptional()
13
+ @IsString()
14
+ comment?: string;
15
+
16
+ @ApiPropertyOptional()
17
+ @IsOptional()
18
+ @IsDateString()
19
+ effectiveDate?: string;
20
+
21
+ @ApiPropertyOptional()
22
+ @IsOptional()
23
+ @IsDateString()
24
+ endContractDate?: string;
25
+
26
+ @ApiPropertyOptional()
27
+ @IsOptional()
28
+ @IsDateString()
29
+ recalledCustomer?: string;
30
+
31
+ @ApiPropertyOptional()
32
+ @IsOptional()
33
+ @IsDateString()
34
+ recalledCustomerBySupervisor?: string;
35
+
36
+ @ApiPropertyOptional()
37
+ @IsOptional()
38
+ @IsInt()
39
+ idExercice?: number;
40
+
41
+ @ApiPropertyOptional()
42
+ @IsOptional()
43
+ @IsInt()
44
+ refund?: number;
45
+
46
+ @ApiPropertyOptional()
47
+ @IsOptional()
48
+ @IsInt()
49
+ idReasonTermination?: number;
50
+
51
+ @ApiProperty()
52
+ @IsInt()
53
+ idSociety: number;
54
+
55
+ @ApiPropertyOptional()
56
+ @IsOptional()
57
+ @IsInt()
58
+ idPrestation?: number;
59
+
60
+ @ApiPropertyOptional()
61
+ @IsOptional()
62
+ @IsInt()
63
+ idCollaborateur?: number;
64
+
65
+ @ApiPropertyOptional()
66
+ @IsOptional()
67
+ @IsDateString()
68
+ createdAt?: string;
69
+
70
+ @ApiPropertyOptional()
71
+ @IsOptional()
72
+ @IsDateString()
73
+ updatedAt?: string;
74
+ }
@@ -0,0 +1,76 @@
1
+ import {
2
+ IsDateString, IsInt, IsOptional, IsString,
3
+ } from 'class-validator';
4
+ import { ApiPropertyOptional } from '../../../../utils';
5
+
6
+ export class QueryTerminationList {
7
+ @ApiPropertyOptional()
8
+ @IsOptional()
9
+ @IsInt()
10
+ id?: number;
11
+
12
+ @ApiPropertyOptional()
13
+ @IsOptional()
14
+ @IsString()
15
+ comment?: string;
16
+
17
+ @ApiPropertyOptional()
18
+ @IsOptional()
19
+ @IsDateString()
20
+ effectiveDate?: string;
21
+
22
+ @ApiPropertyOptional()
23
+ @IsOptional()
24
+ @IsDateString()
25
+ endContractDate?: string;
26
+
27
+ @ApiPropertyOptional()
28
+ @IsOptional()
29
+ @IsDateString()
30
+ recalledCustomer?: string;
31
+
32
+ @ApiPropertyOptional()
33
+ @IsOptional()
34
+ @IsDateString()
35
+ recalledCustomerBySupervisor?: string;
36
+
37
+ @ApiPropertyOptional()
38
+ @IsOptional()
39
+ @IsInt()
40
+ idExercice?: number;
41
+
42
+ @ApiPropertyOptional()
43
+ @IsOptional()
44
+ @IsInt()
45
+ refund?: number;
46
+
47
+ @ApiPropertyOptional()
48
+ @IsOptional()
49
+ @IsInt()
50
+ idReasonTermination?: number;
51
+
52
+ @ApiPropertyOptional()
53
+ @IsOptional()
54
+ @IsInt()
55
+ idSociety?: number;
56
+
57
+ @ApiPropertyOptional()
58
+ @IsOptional()
59
+ @IsInt()
60
+ idPrestation?: number;
61
+
62
+ @ApiPropertyOptional()
63
+ @IsOptional()
64
+ @IsInt()
65
+ idCollaborateur?: number;
66
+
67
+ @ApiPropertyOptional()
68
+ @IsOptional()
69
+ @IsDateString()
70
+ createdAt?: string;
71
+
72
+ @ApiPropertyOptional()
73
+ @IsOptional()
74
+ @IsDateString()
75
+ updatedAt?: string;
76
+ }
@@ -19,6 +19,7 @@ export interface ILegalNotice {
19
19
  societyWithoutRegister: string | null;
20
20
  idSociety: number | null;
21
21
  idOperationLegalNotice: number;
22
+ idPrestation: number | null;
22
23
  createdAt?: Date | null;
23
24
  updatedAt?: Date | null;
24
25
 
@@ -13,6 +13,7 @@ export interface IPaymentExpectation {
13
13
  idReason: number | null;
14
14
  idSociety: number;
15
15
  idRegulation: number | null;
16
+ idPrestation: number | null;
16
17
  createdAt?: Date | null;
17
18
  updatedAt?: Date | null;
18
19
 
package/ts/types/index.ts CHANGED
@@ -394,7 +394,7 @@ export * from './Enum/RevisionGuide';
394
394
  export * from './Enum/Util';
395
395
  export * from './Enum/RegisterCategory';
396
396
  export * from './Enum/FieldSocietyStat';
397
- export * from './Enum/Prestation';
397
+ export * from './Enum/PrestationType';
398
398
  export * from './Enum/Supervision';
399
399
  export * from './Enum/Notification';
400
400
  export * from './Enum/Comment';
@@ -442,6 +442,9 @@ export * from './Enum/ConnectionError';
442
442
  export * from './Enum/RecurrenceType';
443
443
  export * from './Enum/Rules';
444
444
  export * from './Enum/CustomerVat';
445
+ export * from './Enum/Reason';
446
+ export * from './Enum/OperationLegalNotice';
447
+ export * from './Enum/OrderStatus';
445
448
 
446
449
  // Interfaces API
447
450
  export * from './Interface/api/partnerTransactionType/ReadPartnerTransactionType';
@@ -799,6 +802,11 @@ export * from './Interface/api/file/Create';
799
802
  export * from './Interface/api/file/Read';
800
803
  export * from './Interface/api/societyConfig/update';
801
804
  export * from './Interface/api/wallet/UpdateAttribution';
805
+ export * from './Interface/api/prestation/CreatePrestation';
806
+ export * from './Interface/api/paymentExpectation/QueryPaymentExpectation';
807
+ export * from './Interface/api/legalNotice/UpdateLegalNotice';
808
+ export * from './Interface/api/terminationList/QueryTerminationList';
809
+ export * from './Interface/api/terminationList/DestroyTerminationList';
802
810
 
803
811
  // Enums types
804
812
  export * from './Interface/enum/Util';
@@ -1 +0,0 @@
1
- {"version":3,"file":"Prestation.d.ts","sourceRoot":"","sources":["../../../ts/types/Enum/Prestation.ts"],"names":[],"mappings":"AAAA,oBAAY,UAAU;IACpB,YAAY,IAAI;IAChB,mBAAmB,IAAI;IACvB,eAAe,KAAK;IACpB,iBAAiB,KAAK;IACtB,eAAe,KAAK;IACpB,sCAAsC,KAAK;IAC3C,yCAAyC,KAAK;IAC9C,4BAA4B,KAAK;IACjC,YAAY,MAAM;IAClB,kBAAkB,MAAM;IACxB,uBAAuB,MAAM;IAC7B,UAAU,MAAM;CACjB"}
@@ -1,16 +0,0 @@
1
- export var Prestation;
2
- (function (Prestation) {
3
- Prestation[Prestation["PREVISIONNEL"] = 6] = "PREVISIONNEL";
4
- Prestation[Prestation["BILAN_INTERMEDIAIRE"] = 9] = "BILAN_INTERMEDIAIRE";
5
- Prestation[Prestation["TELEDECLARATION"] = 13] = "TELEDECLARATION";
6
- Prestation[Prestation["BILAN_LIQUIDATION"] = 22] = "BILAN_LIQUIDATION";
7
- Prestation[Prestation["CESSION_ACTIONS"] = 51] = "CESSION_ACTIONS";
8
- Prestation[Prestation["DISSOLUTION_LIQUIDATION_A_DATE_CLOTURE"] = 61] = "DISSOLUTION_LIQUIDATION_A_DATE_CLOTURE";
9
- Prestation[Prestation["DISSOLUTION_LIQUIDATION_HORS_DATE_CLOTURE"] = 85] = "DISSOLUTION_LIQUIDATION_HORS_DATE_CLOTURE";
10
- Prestation[Prestation["ATTESTATION_NON_REMUNERATION"] = 91] = "ATTESTATION_NON_REMUNERATION";
11
- Prestation[Prestation["COMPTA_MICRO"] = 185] = "COMPTA_MICRO";
12
- Prestation[Prestation["BILAN_PREVISIONNEL"] = 189] = "BILAN_PREVISIONNEL";
13
- Prestation[Prestation["DISSOLUTION_LIQUIDATION"] = 192] = "DISSOLUTION_LIQUIDATION";
14
- Prestation[Prestation["ABO_STRIPE"] = 196] = "ABO_STRIPE";
15
- })(Prestation || (Prestation = {}));
16
- //# sourceMappingURL=Prestation.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Prestation.js","sourceRoot":"","sources":["../../../ts/types/Enum/Prestation.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,UAaX;AAbD,WAAY,UAAU;IACpB,2DAAgB,CAAA;IAChB,yEAAuB,CAAA;IACvB,kEAAoB,CAAA;IACpB,sEAAsB,CAAA;IACtB,kEAAoB,CAAA;IACpB,gHAA2C,CAAA;IAC3C,sHAA8C,CAAA;IAC9C,4FAAiC,CAAA;IACjC,6DAAkB,CAAA;IAClB,yEAAwB,CAAA;IACxB,mFAA6B,CAAA;IAC7B,yDAAgB,CAAA;AAClB,CAAC,EAbW,UAAU,KAAV,UAAU,QAarB","sourcesContent":["export enum Prestation {\n PREVISIONNEL = 6, // à remplacer par 189\n BILAN_INTERMEDIAIRE = 9,\n TELEDECLARATION = 13,\n BILAN_LIQUIDATION = 22,\n CESSION_ACTIONS = 51,\n DISSOLUTION_LIQUIDATION_A_DATE_CLOTURE = 61,\n DISSOLUTION_LIQUIDATION_HORS_DATE_CLOTURE = 85,\n ATTESTATION_NON_REMUNERATION = 91,\n COMPTA_MICRO = 185,\n BILAN_PREVISIONNEL = 189,\n DISSOLUTION_LIQUIDATION = 192,\n ABO_STRIPE = 196,\n}"]}
@@ -1,22 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- var Prestation = exports.Prestation = undefined;
7
-
8
- (function (Prestation) {
9
- Prestation[Prestation["PREVISIONNEL"] = 6] = "PREVISIONNEL";
10
- Prestation[Prestation["BILAN_INTERMEDIAIRE"] = 9] = "BILAN_INTERMEDIAIRE";
11
- Prestation[Prestation["TELEDECLARATION"] = 13] = "TELEDECLARATION";
12
- Prestation[Prestation["BILAN_LIQUIDATION"] = 22] = "BILAN_LIQUIDATION";
13
- Prestation[Prestation["CESSION_ACTIONS"] = 51] = "CESSION_ACTIONS";
14
- Prestation[Prestation["DISSOLUTION_LIQUIDATION_A_DATE_CLOTURE"] = 61] = "DISSOLUTION_LIQUIDATION_A_DATE_CLOTURE";
15
- Prestation[Prestation["DISSOLUTION_LIQUIDATION_HORS_DATE_CLOTURE"] = 85] = "DISSOLUTION_LIQUIDATION_HORS_DATE_CLOTURE";
16
- Prestation[Prestation["ATTESTATION_NON_REMUNERATION"] = 91] = "ATTESTATION_NON_REMUNERATION";
17
- Prestation[Prestation["COMPTA_MICRO"] = 185] = "COMPTA_MICRO";
18
- Prestation[Prestation["BILAN_PREVISIONNEL"] = 189] = "BILAN_PREVISIONNEL";
19
- Prestation[Prestation["DISSOLUTION_LIQUIDATION"] = 192] = "DISSOLUTION_LIQUIDATION";
20
- Prestation[Prestation["ABO_STRIPE"] = 196] = "ABO_STRIPE";
21
- })(Prestation || (exports.Prestation = Prestation = {}));
22
- //# sourceMappingURL=Prestation.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Prestation.js","mappings":";;;;;AAAA,IAAYA,UAaX,WAbWA,UAaX,YAbD;;AAAA,WAAYA,UAAZ,EAAsB;EACpBA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;AACD,CAbD,EAAYA,UAAU,aAAVA,UAAU,GAAVA,UAAU,MAAtB","names":["Prestation"],"sourceRoot":"","sources":["../../../ts/types/Enum/Prestation.ts"],"sourcesContent":["export enum Prestation {\n PREVISIONNEL = 6, // à remplacer par 189\n BILAN_INTERMEDIAIRE = 9,\n TELEDECLARATION = 13,\n BILAN_LIQUIDATION = 22,\n CESSION_ACTIONS = 51,\n DISSOLUTION_LIQUIDATION_A_DATE_CLOTURE = 61,\n DISSOLUTION_LIQUIDATION_HORS_DATE_CLOTURE = 85,\n ATTESTATION_NON_REMUNERATION = 91,\n COMPTA_MICRO = 185,\n BILAN_PREVISIONNEL = 189,\n DISSOLUTION_LIQUIDATION = 192,\n ABO_STRIPE = 196,\n}"]}