@silexpert/core 1.2.40 → 1.2.42

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 (35) hide show
  1. package/dist/cjs/types/Enum/ReasonNotSubscribed.d.ts +12 -0
  2. package/dist/cjs/types/Enum/ReasonNotSubscribed.d.ts.map +1 -0
  3. package/dist/cjs/types/Enum/ReasonNotSubscribed.js +210 -0
  4. package/dist/cjs/types/Enum/ReasonNotSubscribed.js.map +1 -0
  5. package/dist/cjs/types/Interface/api/balanceSheet/Query.d.ts +4 -0
  6. package/dist/cjs/types/Interface/api/balanceSheet/Query.d.ts.map +1 -1
  7. package/dist/cjs/types/Interface/api/balanceSheet/Query.js +14 -1
  8. package/dist/cjs/types/Interface/api/balanceSheet/Query.js.map +1 -1
  9. package/dist/cjs/types/Interface/models/IUser.d.ts +2 -0
  10. package/dist/cjs/types/Interface/models/IUser.d.ts.map +1 -1
  11. package/dist/cjs/types/Interface/models/IUser.js.map +1 -1
  12. package/dist/cjs/types/index.d.ts +1 -0
  13. package/dist/cjs/types/index.d.ts.map +1 -1
  14. package/dist/cjs/types/index.js +1 -0
  15. package/dist/cjs/types/index.js.map +1 -1
  16. package/dist/mjs/types/Enum/ReasonNotSubscribed.d.ts +12 -0
  17. package/dist/mjs/types/Enum/ReasonNotSubscribed.d.ts.map +1 -0
  18. package/dist/mjs/types/Enum/ReasonNotSubscribed.js +207 -0
  19. package/dist/mjs/types/Enum/ReasonNotSubscribed.js.map +1 -0
  20. package/dist/mjs/types/Interface/api/balanceSheet/Query.d.ts +4 -0
  21. package/dist/mjs/types/Interface/api/balanceSheet/Query.d.ts.map +1 -1
  22. package/dist/mjs/types/Interface/api/balanceSheet/Query.js +15 -1
  23. package/dist/mjs/types/Interface/api/balanceSheet/Query.js.map +1 -1
  24. package/dist/mjs/types/Interface/models/IUser.d.ts +2 -0
  25. package/dist/mjs/types/Interface/models/IUser.d.ts.map +1 -1
  26. package/dist/mjs/types/Interface/models/IUser.js.map +1 -1
  27. package/dist/mjs/types/index.d.ts +1 -0
  28. package/dist/mjs/types/index.d.ts.map +1 -1
  29. package/dist/mjs/types/index.js +1 -0
  30. package/dist/mjs/types/index.js.map +1 -1
  31. package/package.json +2 -2
  32. package/ts/types/Enum/ReasonNotSubscribed.ts +206 -0
  33. package/ts/types/Interface/api/balanceSheet/Query.ts +33 -26
  34. package/ts/types/Interface/models/IUser.ts +4 -2
  35. package/ts/types/index.ts +1 -0
@@ -0,0 +1,206 @@
1
+ export const ReasonNotSubscribed = [
2
+ {
3
+ id: 1,
4
+ text: 'Souhaite un cabinet comptable physique',
5
+ hidden: false,
6
+ isOver: [8, 18, 27, 28],
7
+ },
8
+ {
9
+ id: 2,
10
+ text: "Création d'entreprise sans suivi comptable",
11
+ hidden: false,
12
+ isOver: null,
13
+ },
14
+ {
15
+ id: 3,
16
+ text: 'Heure de conseil à la carte',
17
+ hidden: false,
18
+ isOver: null,
19
+ },
20
+ {
21
+ id: 4,
22
+ text: 'Prestation social pour salarié unique',
23
+ hidden: true,
24
+ isOver: null,
25
+ },
26
+ {
27
+ id: 5,
28
+ text: 'Prestation comptable exceptionnelle',
29
+ hidden: false,
30
+ isOver: null,
31
+ },
32
+ {
33
+ id: 6,
34
+ text: 'Prestation juridique exceptionnelle',
35
+ hidden: false,
36
+ isOver: null,
37
+ },
38
+ {
39
+ id: 7,
40
+ text: 'Ne veut pas annoter les opérations',
41
+ hidden: true,
42
+ isOver: null,
43
+ },
44
+ {
45
+ id: 8,
46
+ text: 'Tarifs trop élevés',
47
+ hidden: false,
48
+ isOver: null,
49
+ },
50
+ {
51
+ id: 9,
52
+ text: 'Ne répond pas',
53
+ hidden: true,
54
+ isOver: null,
55
+ },
56
+ {
57
+ id: 11,
58
+ text: 'Concurrence',
59
+ hidden: false,
60
+ isOver: [8, 18, 25, 26],
61
+ },
62
+ {
63
+ id: 12,
64
+ text: 'Ne parle pas français',
65
+ hidden: false,
66
+ isOver: null,
67
+ },
68
+ {
69
+ id: 13,
70
+ text: "N'a pas fait de demande",
71
+ hidden: false,
72
+ isOver: null,
73
+ },
74
+ {
75
+ id: 14,
76
+ text: 'Exercice à reprendre trop vieux',
77
+ hidden: true,
78
+ isOver: null,
79
+ },
80
+ {
81
+ id: 15,
82
+ text: 'Entreprise/société étrangère',
83
+ hidden: true,
84
+ isOver: null,
85
+ },
86
+ {
87
+ id: 16,
88
+ text: 'Activité non prise en charge',
89
+ hidden: false,
90
+ isOver: null,
91
+ },
92
+ {
93
+ id: 17,
94
+ text: 'AE - pas besoin de compta',
95
+ hidden: true,
96
+ isOver: null,
97
+ },
98
+ {
99
+ id: 18,
100
+ text: "Trop d'avis négatif",
101
+ hidden: false,
102
+ isOver: null,
103
+ },
104
+ {
105
+ id: 19,
106
+ text: 'Particulier',
107
+ hidden: true,
108
+ isOver: null,
109
+ },
110
+ {
111
+ id: 20,
112
+ text: 'Erreur de demande',
113
+ hidden: false,
114
+ isOver: [12, 13, 19, 31, 32, 33],
115
+ },
116
+ {
117
+ id: 21,
118
+ text: 'Pourcentage',
119
+ hidden: true,
120
+ isOver: null,
121
+ },
122
+ {
123
+ id: 22,
124
+ text: 'Prévis délais trop long',
125
+ hidden: true,
126
+ isOver: null,
127
+ },
128
+ {
129
+ id: 23,
130
+ text: 'STOP SMS',
131
+ hidden: false,
132
+ isOver: [],
133
+ },
134
+ {
135
+ id: 24,
136
+ text: 'Inscription Newsletter',
137
+ hidden: true,
138
+ isOver: null,
139
+ },
140
+ {
141
+ id: 25,
142
+ text: "N'aime pas le logiciel",
143
+ hidden: false,
144
+ isOver: null,
145
+ },
146
+ {
147
+ id: 26,
148
+ text: 'Approche commercial',
149
+ hidden: false,
150
+ isOver: null,
151
+ },
152
+ {
153
+ id: 27,
154
+ text: 'Souhaite un cabinet comptable physique',
155
+ hidden: false,
156
+ isOver: null,
157
+ },
158
+ {
159
+ id: 28,
160
+ text: 'Souhaite avoir son comptable près de chez lui',
161
+ hidden: false,
162
+ isOver: null,
163
+ },
164
+ {
165
+ id: 29,
166
+ text: 'Prestation non prise en charge',
167
+ hidden: false,
168
+ isOver: [2, 3, 4, 5, 6, 14, 15, 16, 21, 22, 30],
169
+ },
170
+ {
171
+ id: 30,
172
+ text: 'Renvoi Comptalib – souhaite uniquement un logiciel',
173
+ hidden: false,
174
+ isOver: null,
175
+ },
176
+ {
177
+ id: 31,
178
+ text: 'Faux contact',
179
+ hidden: false,
180
+ isOver: null,
181
+ },
182
+ {
183
+ id: 32,
184
+ text: 'Echec appels',
185
+ hidden: false,
186
+ isOver: null,
187
+ },
188
+ {
189
+ id: 33,
190
+ text: 'Demande pour un autre service (RH, communication, ...)',
191
+ hidden: false,
192
+ isOver: null,
193
+ },
194
+ {
195
+ id: 34,
196
+ text: 'Projet annulé/reporté',
197
+ hidden: false,
198
+ isOver: [],
199
+ },
200
+ {
201
+ id: 35,
202
+ text: 'Litige ancien EC/documents pas à jour',
203
+ hidden: false,
204
+ isOver: [],
205
+ },
206
+ ];
@@ -1,81 +1,88 @@
1
1
  import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
2
- import {
3
- IsDateString, IsIn, IsNumber, IsOptional, IsString,
4
- } from 'class-validator';
2
+ import { IsDate, IsDateString, IsIn, IsNumber, IsOptional, IsString } from 'class-validator';
5
3
  import { Supervision } from '../../../Enum/Supervision';
6
4
 
7
-
8
5
  export class QueryBalanceSheetStatistic {
9
6
  @ApiProperty()
10
7
  @IsDateString()
11
- date: string;
8
+ date: string;
12
9
 
13
10
  @ApiPropertyOptional()
14
11
  @IsNumber()
15
12
  @IsOptional()
16
- idUser: number;
13
+ idUser: number;
17
14
  }
18
15
 
19
16
  export class QueryBalanceSheetGenerateUnpaid {
20
17
  @ApiPropertyOptional()
21
18
  @IsNumber()
22
19
  @IsOptional()
23
- idSociety: number;
20
+ idSociety: number;
24
21
  }
25
22
 
26
23
  export class QueryBalanceSheetMonthlyStatistic {
27
24
  @ApiProperty()
28
25
  @IsDateString()
29
- date: string;
26
+ date: string;
27
+ }
28
+
29
+ export class QueryBalanceSheetSupervisedStatistic {
30
+ @ApiProperty()
31
+ @IsDate()
32
+ date: Date;
33
+
34
+ @ApiProperty()
35
+ @IsDate()
36
+ endDate: Date;
30
37
  }
31
38
 
32
39
  export class QueryBalanceSheetAttestation {
33
40
  @ApiProperty()
34
41
  @IsNumber()
35
- idState: number;
42
+ idState: number;
36
43
 
37
44
  @ApiProperty()
38
45
  @IsNumber()
39
- idSociety: number;
40
-
46
+ idSociety: number;
47
+
41
48
  @ApiProperty()
42
49
  @IsNumber()
43
- idBalanceSheet: number;
44
-
50
+ idBalanceSheet: number;
51
+
45
52
  @ApiProperty()
46
53
  @IsNumber()
47
- idExercice: number;
48
-
54
+ idExercice: number;
55
+
49
56
  @ApiProperty()
50
57
  @IsNumber()
51
- idExpertAccountant: number;
58
+ idExpertAccountant: number;
52
59
  }
53
60
 
54
61
  export class CreateBalanceSheetAttestation {
55
62
  @ApiProperty()
56
63
  @IsString()
57
- attestation: string;
58
-
64
+ attestation: string;
65
+
59
66
  @ApiPropertyOptional()
60
67
  @IsString()
61
68
  @IsOptional()
62
- attestationDetail?: string;
63
-
69
+ attestationDetail?: string;
70
+
64
71
  @ApiProperty()
65
72
  @IsNumber()
66
- idSociety: number;
67
-
73
+ idSociety: number;
74
+
68
75
  @ApiPropertyOptional()
69
76
  @IsNumber()
70
77
  @IsOptional()
71
- idFile: number;
78
+ idFile: number;
72
79
 
73
80
  @ApiProperty()
74
81
  @IsNumber()
75
- idSupervision: number;
82
+ idSupervision: number;
76
83
 
77
84
  @ApiProperty()
78
85
  @IsNumber()
79
86
  @IsIn([Supervision.ATTESTED, Supervision.ATTEST_REFUSED, Supervision.ATTEST_WITH_OBSERVATIONS])
80
- state: number;
81
- }
87
+ state: number;
88
+ }
@@ -23,6 +23,7 @@ import { INationality } from './INationality';
23
23
  import { IUserBrand } from './IUserBrand';
24
24
  import { ICollaboraterDetail } from './ICollaboraterDetail';
25
25
  import { IUserTimeSlot } from './IUserTimeSlot';
26
+ import { IUserTeam } from './IUserTeam';
26
27
 
27
28
  // eslint-disable-next-line @typescript-eslint/no-redundant-type-constituents
28
29
  type isAny<T> = T | any;
@@ -43,7 +44,7 @@ export interface IUser {
43
44
  hash?: string | null;
44
45
  password?: string | null;
45
46
  idFile?: number | null;
46
- quality?: string | null; //FIXME: à supprimer ?
47
+ quality?: string | null; //FIXME: à supprimer ?
47
48
  phone?: string | null;
48
49
  phone2?: string | null;
49
50
  textMessageNumber?: string | null;
@@ -106,7 +107,7 @@ export interface IUser {
106
107
  idNationality?: number;
107
108
  maritalStatus?: string;
108
109
  idMaritalStatus?: number;
109
-
110
+
110
111
  // Associations
111
112
  userHasEvent?: isAny<ICalendarEvent>[];
112
113
  roles?: IRole[];
@@ -126,6 +127,7 @@ export interface IUser {
126
127
  notifications?: INotification[];
127
128
  societies?: ISociety[];
128
129
  teams?: ITeam[];
130
+ userTeams?: IUserTeam[];
129
131
  usersTest?: IUserTest;
130
132
  mobile?: IMobile;
131
133
  timeRecorders?: ITimeRecorder[];
package/ts/types/index.ts CHANGED
@@ -564,6 +564,7 @@ export * from './Enum/JuridicalSociety';
564
564
  export * from './Enum/Pdf2PicLocalType';
565
565
  export * from './Enum/DocumentForHumanResourceType';
566
566
  export * from './Enum/ReasonCancelSignatureRequest';
567
+ export * from './Enum/ReasonNotSubscribed';
567
568
  export * from './Enum/QualificationLead';
568
569
  export * from './Enum/Template';
569
570