@silexpert/core 1.3.48 → 1.3.49

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 (53) hide show
  1. package/dist/cjs/types/Enum/ActionCategoryForNotation.d.ts +5 -0
  2. package/dist/cjs/types/Enum/ActionCategoryForNotation.d.ts.map +1 -0
  3. package/dist/cjs/types/Enum/ActionCategoryForNotation.js +15 -0
  4. package/dist/cjs/types/Enum/ActionCategoryForNotation.js.map +1 -0
  5. package/dist/cjs/types/Enum/Card.d.ts +24 -6
  6. package/dist/cjs/types/Enum/Card.d.ts.map +1 -1
  7. package/dist/cjs/types/Enum/Card.js +38 -8
  8. package/dist/cjs/types/Enum/Card.js.map +1 -1
  9. package/dist/cjs/types/Enum/MailAuto.d.ts +2 -1
  10. package/dist/cjs/types/Enum/MailAuto.d.ts.map +1 -1
  11. package/dist/cjs/types/Enum/MailAuto.js +1 -0
  12. package/dist/cjs/types/Enum/MailAuto.js.map +1 -1
  13. package/dist/cjs/types/Interface/api/ratingHistory/CreateRatingHistory.d.ts +1 -0
  14. package/dist/cjs/types/Interface/api/ratingHistory/CreateRatingHistory.d.ts.map +1 -1
  15. package/dist/cjs/types/Interface/api/ratingHistory/CreateRatingHistory.js +6 -0
  16. package/dist/cjs/types/Interface/api/ratingHistory/CreateRatingHistory.js.map +1 -1
  17. package/dist/cjs/types/Interface/models/IRatingHistory.d.ts +1 -0
  18. package/dist/cjs/types/Interface/models/IRatingHistory.d.ts.map +1 -1
  19. package/dist/cjs/types/Interface/models/IRatingHistory.js.map +1 -1
  20. package/dist/cjs/types/index.d.ts +1 -0
  21. package/dist/cjs/types/index.d.ts.map +1 -1
  22. package/dist/cjs/types/index.js +1 -0
  23. package/dist/cjs/types/index.js.map +1 -1
  24. package/dist/mjs/types/Enum/ActionCategoryForNotation.d.ts +5 -0
  25. package/dist/mjs/types/Enum/ActionCategoryForNotation.d.ts.map +1 -0
  26. package/dist/mjs/types/Enum/ActionCategoryForNotation.js +12 -0
  27. package/dist/mjs/types/Enum/ActionCategoryForNotation.js.map +1 -0
  28. package/dist/mjs/types/Enum/Card.d.ts +24 -6
  29. package/dist/mjs/types/Enum/Card.d.ts.map +1 -1
  30. package/dist/mjs/types/Enum/Card.js +38 -8
  31. package/dist/mjs/types/Enum/Card.js.map +1 -1
  32. package/dist/mjs/types/Enum/MailAuto.d.ts +2 -1
  33. package/dist/mjs/types/Enum/MailAuto.d.ts.map +1 -1
  34. package/dist/mjs/types/Enum/MailAuto.js +1 -0
  35. package/dist/mjs/types/Enum/MailAuto.js.map +1 -1
  36. package/dist/mjs/types/Interface/api/ratingHistory/CreateRatingHistory.d.ts +1 -0
  37. package/dist/mjs/types/Interface/api/ratingHistory/CreateRatingHistory.d.ts.map +1 -1
  38. package/dist/mjs/types/Interface/api/ratingHistory/CreateRatingHistory.js +8 -1
  39. package/dist/mjs/types/Interface/api/ratingHistory/CreateRatingHistory.js.map +1 -1
  40. package/dist/mjs/types/Interface/models/IRatingHistory.d.ts +1 -0
  41. package/dist/mjs/types/Interface/models/IRatingHistory.d.ts.map +1 -1
  42. package/dist/mjs/types/Interface/models/IRatingHistory.js.map +1 -1
  43. package/dist/mjs/types/index.d.ts +1 -0
  44. package/dist/mjs/types/index.d.ts.map +1 -1
  45. package/dist/mjs/types/index.js +1 -0
  46. package/dist/mjs/types/index.js.map +1 -1
  47. package/package.json +1 -1
  48. package/ts/types/Enum/ActionCategoryForNotation.ts +11 -0
  49. package/ts/types/Enum/Card.ts +38 -8
  50. package/ts/types/Enum/MailAuto.ts +1 -0
  51. package/ts/types/Interface/api/ratingHistory/CreateRatingHistory.ts +6 -1
  52. package/ts/types/Interface/models/IRatingHistory.ts +1 -0
  53. package/ts/types/index.ts +1 -0
@@ -16,16 +16,19 @@ export enum CardType {
16
16
  UPDATE_ANNOTATIONS = 12, // MAJ Annotations
17
17
  CONTROL_REVISION_SURVEY = 13, // Contrôle/Revision/Sondage
18
18
  SETUP_AND_INTEGRATION_N_MINUS_1 = 14, // Paramétrage & Intégration N-1
19
- VAT_REFUSED = 15, // TVA Refus (Refus SIE + Refus client)
19
+ VAT_REFUSED_SIE = 15, // TVA Refus SIE
20
20
  ADVANCE_IS = 16, // Acompte IS
21
21
  VAT_EXPRESS = 17, // TVA EXPRESS
22
- ADVANCE_IS_REFUSED = 18, // Acompte Refus SIE
22
+ ADVANCE_IS_REFUSED_SIE = 18, // Acompte Refus SIE
23
23
  CLR = 19, // CLR
24
24
  CLR_EXCEPTIONAL_MISSION = 20, // CLR mission exceptionnelle (V2)
25
25
  CUT_OFF = 21, // Cut Off
26
26
  BALANCE_SHEET_PREPARATION = 22, // Préparation et Formalisation du Bilan
27
27
  BALANCE_SHEET_SEND_SIE = 23, // Envoi du bilan SIE
28
- BALANCE_SHEET_REFUSED = 24, // Bilan Refus (Refus SIE + Refus client)
28
+ BALANCE_SHEET_REFUSED_SIE = 24, // Bilan Refus SIE
29
+ VAT_REFUSED_BY_CLIENT = 25, // TVA Refus client
30
+ ADVANCE_IS_REFUSED_BY_CLIENT = 26, // Acompte IS Refus client
31
+ BALANCE_SHEET_REFUSED_BY_CLIENT = 27, // Bilan Refus client
29
32
  }
30
33
 
31
34
  export enum CardState {
@@ -63,7 +66,8 @@ export const CardGroup: readonly CardGroupType[] = [
63
66
  types: [
64
67
  CardType.BALANCE_SHEET_PREPARATION,
65
68
  CardType.BALANCE_SHEET_SEND_SIE,
66
- CardType.BALANCE_SHEET_REFUSED,
69
+ CardType.BALANCE_SHEET_REFUSED_SIE,
70
+ CardType.BALANCE_SHEET_REFUSED_BY_CLIENT
67
71
  ],
68
72
  roles: [Role.ACCOUNTANT],
69
73
  teamType: TeamType.BALANCESHEET,
@@ -72,7 +76,15 @@ export const CardGroup: readonly CardGroupType[] = [
72
76
  {
73
77
  id: CardGroupEnum.VAT_GROUP,
74
78
  label: 'Déclarations',
75
- types: [CardType.VAT, CardType.VAT_EXPRESS, CardType.VAT_REFUSED, CardType.ADVANCE_IS, CardType.ADVANCE_IS_REFUSED],
79
+ types: [
80
+ CardType.VAT,
81
+ CardType.VAT_EXPRESS,
82
+ CardType.VAT_REFUSED_SIE,
83
+ CardType.VAT_REFUSED_BY_CLIENT,
84
+ CardType.ADVANCE_IS,
85
+ CardType.ADVANCE_IS_REFUSED_SIE,
86
+ CardType.ADVANCE_IS_REFUSED_BY_CLIENT
87
+ ],
76
88
  roles: [Role.ACCOUNTANT],
77
89
  teamType: TeamType.VAT,
78
90
  maxByDay: 6,
@@ -171,11 +183,17 @@ export const CardTypeLabel = [
171
183
  groupId: CardGroupEnum.BALANCE_SHEET_GROUP,
172
184
  },
173
185
  {
174
- id: CardType.BALANCE_SHEET_REFUSED,
186
+ id: CardType.BALANCE_SHEET_REFUSED_SIE,
175
187
  label: 'Bilan Refus SIE',
176
188
  refLabel: 'BRS',
177
189
  groupId: CardGroupEnum.BALANCE_SHEET_GROUP,
178
190
  },
191
+ {
192
+ id: CardType.BALANCE_SHEET_REFUSED_BY_CLIENT,
193
+ label: 'Bilan Refus client',
194
+ refLabel: 'BRC',
195
+ groupId: CardGroupEnum.BALANCE_SHEET_GROUP,
196
+ },
179
197
  {
180
198
  id: CardType.VAT,
181
199
  label: 'TVA',
@@ -189,11 +207,17 @@ export const CardTypeLabel = [
189
207
  groupId: CardGroupEnum.VAT_GROUP,
190
208
  },
191
209
  {
192
- id: CardType.VAT_REFUSED,
210
+ id: CardType.VAT_REFUSED_SIE,
193
211
  label: 'TVA Refus SIE',
194
212
  refLabel: 'TVARS',
195
213
  groupId: CardGroupEnum.VAT_GROUP,
196
214
  },
215
+ {
216
+ id: CardType.VAT_REFUSED_BY_CLIENT,
217
+ label: 'TVA Refus client',
218
+ refLabel: 'TVARC',
219
+ groupId: CardGroupEnum.VAT_GROUP,
220
+ },
197
221
  {
198
222
  id: CardType.ADVANCE_IS,
199
223
  label: 'Acompte IS',
@@ -201,11 +225,17 @@ export const CardTypeLabel = [
201
225
  groupId: CardGroupEnum.VAT_GROUP,
202
226
  },
203
227
  {
204
- id: CardType.ADVANCE_IS_REFUSED,
228
+ id: CardType.ADVANCE_IS_REFUSED_SIE,
205
229
  label: 'Acompte Refus SIE',
206
230
  refLabel: 'ARS',
207
231
  groupId: CardGroupEnum.VAT_GROUP,
208
232
  },
233
+ {
234
+ id: CardType.ADVANCE_IS_REFUSED_BY_CLIENT,
235
+ label: 'Acompte Refus Client',
236
+ refLabel: 'ARC',
237
+ groupId: CardGroupEnum.VAT_GROUP,
238
+ },
209
239
  {
210
240
  id: CardType.CHECK_BALANCE_ANNOTATION_NEW_CLIENT,
211
241
  label: 'Contrôle solde bancaire & mise en place annotation nouveau client',
@@ -135,6 +135,7 @@ export enum MailAuto {
135
135
  APPROBATION_STOP_ETABLISHMENT = 163,
136
136
  APPROBATION_ACCOUNTS_DIVIDENDS = 164,
137
137
  APPROBATION_ACCOUNTS_WITH_DIVIDENDS = 165,
138
+ NO_ESTIMATE_PROSPECT = 166,
138
139
  }
139
140
 
140
141
  export enum MailAutoType {
@@ -1,4 +1,4 @@
1
- import { IsDateString, IsInt, IsString } from 'class-validator';
1
+ import { IsDateString, IsInt, IsOptional, IsString } from 'class-validator';
2
2
  import { ApiProperty } from '../../../../utils';
3
3
 
4
4
  export class CreateRatingHistory {
@@ -14,6 +14,11 @@ export class CreateRatingHistory {
14
14
  @IsInt()
15
15
  idUserWhoCalled?: number;
16
16
 
17
+ @ApiProperty()
18
+ @IsInt()
19
+ @IsOptional()
20
+ actionCategory?: number;
21
+
17
22
  @ApiProperty()
18
23
  @IsInt()
19
24
  idRating?: number;
@@ -6,6 +6,7 @@ export interface IRatingHistory {
6
6
  id?: number;
7
7
  idRating: number;
8
8
  idUserWhoCalled: number;
9
+ actionCategory?: number;
9
10
  commentResponse: string;
10
11
  callingDate: Date;
11
12
  createdAt?: Date | null;
package/ts/types/index.ts CHANGED
@@ -538,6 +538,7 @@ export * from './Enum/Contest';
538
538
  export * from './Enum/LetterResponseType';
539
539
  export * from './Enum/StatusRating';
540
540
  export * from './Enum/TypeSupportForNotation';
541
+ export * from './Enum/ActionCategoryForNotation';
541
542
  export * from './Enum/ToRecallRating';
542
543
  export * from './Enum/PrevisionalForm';
543
544
  export * from './Enum/PaymentRecovery';