@silexpert/core 1.3.97 → 1.3.98

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 (44) hide show
  1. package/dist/cjs/types/Enum/Card.d.ts +18 -11
  2. package/dist/cjs/types/Enum/Card.d.ts.map +1 -1
  3. package/dist/cjs/types/Enum/Card.js +28 -10
  4. package/dist/cjs/types/Enum/Card.js.map +1 -1
  5. package/dist/cjs/types/Interface/api/card/Cron.d.ts +8 -0
  6. package/dist/cjs/types/Interface/api/card/Cron.d.ts.map +1 -0
  7. package/dist/cjs/types/Interface/api/card/Cron.js +39 -0
  8. package/dist/cjs/types/Interface/api/card/Cron.js.map +1 -0
  9. package/dist/cjs/types/Interface/api/config/ConfigType.d.ts +4 -17
  10. package/dist/cjs/types/Interface/api/config/ConfigType.d.ts.map +1 -1
  11. package/dist/cjs/types/Interface/api/config/ConfigType.js.map +1 -1
  12. package/dist/cjs/types/index.d.ts +1 -1
  13. package/dist/cjs/types/index.d.ts.map +1 -1
  14. package/dist/cjs/types/index.js +1 -1
  15. package/dist/cjs/types/index.js.map +1 -1
  16. package/dist/mjs/types/Enum/Card.d.ts +18 -11
  17. package/dist/mjs/types/Enum/Card.d.ts.map +1 -1
  18. package/dist/mjs/types/Enum/Card.js +28 -10
  19. package/dist/mjs/types/Enum/Card.js.map +1 -1
  20. package/dist/mjs/types/Interface/api/card/Cron.d.ts +8 -0
  21. package/dist/mjs/types/Interface/api/card/Cron.d.ts.map +1 -0
  22. package/dist/mjs/types/Interface/api/card/Cron.js +37 -0
  23. package/dist/mjs/types/Interface/api/card/Cron.js.map +1 -0
  24. package/dist/mjs/types/Interface/api/config/ConfigType.d.ts +4 -17
  25. package/dist/mjs/types/Interface/api/config/ConfigType.d.ts.map +1 -1
  26. package/dist/mjs/types/Interface/api/config/ConfigType.js.map +1 -1
  27. package/dist/mjs/types/index.d.ts +1 -1
  28. package/dist/mjs/types/index.d.ts.map +1 -1
  29. package/dist/mjs/types/index.js +1 -1
  30. package/dist/mjs/types/index.js.map +1 -1
  31. package/package.json +1 -1
  32. package/ts/types/Enum/Card.ts +29 -11
  33. package/ts/types/Interface/api/card/Cron.ts +21 -0
  34. package/ts/types/Interface/api/config/ConfigType.ts +2 -19
  35. package/ts/types/index.ts +1 -1
  36. package/dist/cjs/types/Interface/api/companeo/CompaneoReturn.d.ts +0 -46
  37. package/dist/cjs/types/Interface/api/companeo/CompaneoReturn.d.ts.map +0 -1
  38. package/dist/cjs/types/Interface/api/companeo/CompaneoReturn.js +0 -3
  39. package/dist/cjs/types/Interface/api/companeo/CompaneoReturn.js.map +0 -1
  40. package/dist/mjs/types/Interface/api/companeo/CompaneoReturn.d.ts +0 -46
  41. package/dist/mjs/types/Interface/api/companeo/CompaneoReturn.d.ts.map +0 -1
  42. package/dist/mjs/types/Interface/api/companeo/CompaneoReturn.js +0 -2
  43. package/dist/mjs/types/Interface/api/companeo/CompaneoReturn.js.map +0 -1
  44. package/ts/types/Interface/api/companeo/CompaneoReturn.ts +0 -47
@@ -17,9 +17,9 @@ export enum CardType {
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
19
  VAT_REFUSED_SIE = 15, // TVA Refus SIE
20
- ADVANCE_IS = 16, // Acompte IS
20
+ ADVANCE_IS_PREPARATION = 16, // Acompte IS préparation
21
21
  VAT_EXPRESS = 17, // TVA EXPRESS
22
- ADVANCE_IS_REFUSED_SIE = 18, // Acompte Refus SIE
22
+ ADVANCE_IS_REFUSED_SIE = 18, // Acompte IS Refus SIE
23
23
  CLR = 19, // CLR
24
24
  CLR_EXCEPTIONAL_MISSION = 20, // CLR mission exceptionnelle (V2)
25
25
  CUT_OFF = 21, // Cut Off
@@ -32,6 +32,7 @@ export enum CardType {
32
32
  ADVANCE_SIMPLIFIED_VAT_PREPARATION = 28, // Acompte de TVA préparation
33
33
  ADVANCE_SIMPLIFIED_VAT_SEND_SIE = 29, // Acompte de TVA envoi SIE
34
34
  VAT_SEND_SIE = 30, // TVA envoi SIE
35
+ ADVANCE_IS_SEND_SIE = 31, // Acompte IS envoi SIE
35
36
  }
36
37
 
37
38
  export enum CardState {
@@ -51,6 +52,7 @@ export enum CardGroupEnum {
51
52
  ANNOTATION = 7,
52
53
  CLR = 8,
53
54
  CUT_OFF = 9,
55
+ ADVANCE_IS_GROUP = 10,
54
56
  }
55
57
 
56
58
  export interface CardGroupType {
@@ -87,13 +89,23 @@ export const CardGroup: readonly CardGroupType[] = [
87
89
  CardType.VAT_EXPRESS,
88
90
  CardType.ADVANCE_SIMPLIFIED_VAT_PREPARATION,
89
91
  CardType.ADVANCE_SIMPLIFIED_VAT_SEND_SIE,
90
- CardType.ADVANCE_IS,
92
+ ],
93
+ roles: [Role.ACCOUNTANT],
94
+ teamType: TeamType.VAT,
95
+ maxByDay: 6,
96
+ },
97
+ {
98
+ id: CardGroupEnum.ADVANCE_IS_GROUP,
99
+ label: 'Acomptes IS',
100
+ types: [
101
+ CardType.ADVANCE_IS_PREPARATION,
102
+ CardType.ADVANCE_IS_SEND_SIE,
91
103
  CardType.ADVANCE_IS_REFUSED_SIE,
92
104
  CardType.ADVANCE_IS_REFUSED_BY_CLIENT,
93
105
  ],
94
106
  roles: [Role.ACCOUNTANT],
95
107
  teamType: TeamType.VAT,
96
- maxByDay: 6,
108
+ maxByDay: 4,
97
109
  },
98
110
  {
99
111
  id: CardGroupEnum.CARRY_FORWARD,
@@ -223,22 +235,28 @@ export const CardTypeLabel = [
223
235
  groupId: CardGroupEnum.VAT_GROUP,
224
236
  },
225
237
  {
226
- id: CardType.ADVANCE_IS,
227
- label: 'Acompte IS',
238
+ id: CardType.ADVANCE_IS_PREPARATION,
239
+ label: 'Acompte IS préparation',
228
240
  refLabel: 'AIS',
229
- groupId: CardGroupEnum.VAT_GROUP,
241
+ groupId: CardGroupEnum.ADVANCE_IS_GROUP,
242
+ },
243
+ {
244
+ id: CardType.ADVANCE_IS_SEND_SIE,
245
+ label: 'Acompte IS envoi SIE',
246
+ refLabel: 'AIS-SIE',
247
+ groupId: CardGroupEnum.ADVANCE_IS_GROUP,
230
248
  },
231
249
  {
232
250
  id: CardType.ADVANCE_IS_REFUSED_SIE,
233
- label: 'Acompte Refus SIE',
251
+ label: 'Acompte IS Refus SIE',
234
252
  refLabel: 'ARS',
235
- groupId: CardGroupEnum.VAT_GROUP,
253
+ groupId: CardGroupEnum.ADVANCE_IS_GROUP,
236
254
  },
237
255
  {
238
256
  id: CardType.ADVANCE_IS_REFUSED_BY_CLIENT,
239
- label: 'Acompte Refus Client',
257
+ label: 'Acompte IS Refus Client',
240
258
  refLabel: 'ARC',
241
- groupId: CardGroupEnum.VAT_GROUP,
259
+ groupId: CardGroupEnum.ADVANCE_IS_GROUP,
242
260
  },
243
261
  {
244
262
  id: CardType.CHECK_BALANCE_ANNOTATION_NEW_CLIENT,
@@ -0,0 +1,21 @@
1
+ import { IsInt, IsOptional } from 'class-validator';
2
+ import { ApiPropertyOptional } from '../../../../utils';
3
+
4
+ export class GenerateVatCard {
5
+ @ApiPropertyOptional()
6
+ @IsOptional()
7
+ @IsInt()
8
+ idSociety?: number;
9
+ }
10
+
11
+ export class GenerateAdvanceISCard {
12
+ @ApiPropertyOptional()
13
+ @IsOptional()
14
+ @IsInt()
15
+ idSociety?: number;
16
+
17
+ @ApiPropertyOptional()
18
+ @IsOptional()
19
+ @IsInt()
20
+ month?: number;
21
+ }
@@ -17,11 +17,9 @@ export interface ConfigType {
17
17
  brand: ConfigBrand;
18
18
  ocr: Ocr;
19
19
  jeDeclare: JeDeclare;
20
- notification: Notification;
21
20
  pdfizer: Pdfizer;
22
21
  iDocus: IDocus;
23
- imageMagick: LambdaInfos;
24
- companeo: Companeo;
22
+ imageMagick: { url: string };
25
23
  inpi: Inpi;
26
24
  brevo: Brevo;
27
25
  tinyurl: LambdaInfos;
@@ -32,7 +30,7 @@ export interface ConfigType {
32
30
  pdftkizer: LambdaInfos;
33
31
  sharper: LambdaInfos;
34
32
  chartizer: LambdaInfos;
35
- authentication: Authentication;
33
+ authentication?: Authentication;
36
34
  }
37
35
 
38
36
  interface Authentication {
@@ -41,7 +39,6 @@ interface Authentication {
41
39
 
42
40
  interface LambdaInfos {
43
41
  url: string;
44
- key: string;
45
42
  }
46
43
 
47
44
  interface Mongodb {
@@ -157,7 +154,6 @@ interface DefaultPermissions {
157
154
 
158
155
  interface Crisp {
159
156
  identifier: string;
160
- key: string;
161
157
  }
162
158
 
163
159
  interface ConfigBrand {
@@ -205,29 +201,17 @@ interface Wsdl2 {
205
201
  url: string;
206
202
  }
207
203
 
208
- export interface Notification {
209
- hookToken: string;
210
- }
211
-
212
204
  interface Pdfizer {
213
205
  url: string;
214
- key: string;
215
206
  }
216
207
 
217
208
  interface IDocus {
218
209
  baseUrl: string;
219
210
  callbackurl: string;
220
- authorizationKey: string;
221
- }
222
-
223
- interface Companeo {
224
- username: string;
225
- pass: string;
226
211
  }
227
212
 
228
213
  interface Inpi {
229
214
  username: string;
230
- password: string;
231
215
  }
232
216
 
233
217
  interface Brevo {
@@ -242,5 +226,4 @@ interface Brevo {
242
226
  interface Echo {
243
227
  url: string;
244
228
  accountid: string;
245
- apikey: string;
246
229
  }
package/ts/types/index.ts CHANGED
@@ -765,7 +765,6 @@ export * from './Interface/api/textMessage/Create';
765
765
  export * from './Interface/api/textMessage/Update';
766
766
  export * from './Interface/api/textMessage/Query';
767
767
  export * from './Interface/api/textMessage/Read';
768
- export * from './Interface/api/companeo/CompaneoReturn';
769
768
  export * from './Interface/api/inpi/inpi';
770
769
  export * from './Interface/api/team/QueryCreate';
771
770
  export * from './Interface/api/team/QueryGetAllWithIncludes';
@@ -1122,6 +1121,7 @@ export * from './Interface/api/config/ConfigType';
1122
1121
  export * from './Interface/api/card/ModifyBalanceSheet';
1123
1122
  export * from './Interface/api/card/ModifyAcceptation';
1124
1123
  export * from './Interface/api/card/ModifyCustomerVat';
1124
+ export * from './Interface/api/card/Cron';
1125
1125
  export * from './Interface/api/user/RegisterProspect';
1126
1126
  export * from './Interface/api/stateBankAccount/Query';
1127
1127
  export * from './Interface/api/absenceRequest/QueryAbsenceRequest';
@@ -1,46 +0,0 @@
1
- export interface CompaneoQuestionType {
2
- $: {
3
- question_id: number;
4
- };
5
- value: string;
6
- reponse: {
7
- _?: string;
8
- $: {
9
- answer_id: number;
10
- };
11
- };
12
- }
13
- export interface CompaneoBasicData {
14
- _?: string;
15
- $?: {
16
- code: string;
17
- };
18
- }
19
- export interface CompaneoReturn {
20
- id: number;
21
- lead_id: number;
22
- dem_num: string;
23
- lead_date: Date;
24
- raison_sociale: string;
25
- civilite: string;
26
- nom: string;
27
- prenom: string;
28
- activite: CompaneoBasicData;
29
- poste: CompaneoBasicData;
30
- fonction: CompaneoBasicData;
31
- code_postal: string;
32
- ville: string;
33
- adresse: string;
34
- adresse2?: string;
35
- adresse3?: string;
36
- email: string;
37
- telephone: string;
38
- fax: string;
39
- mobile: string;
40
- segment: string;
41
- date_creation: string;
42
- commentaire: string;
43
- comment_companeo: string;
44
- questionnaire: string;
45
- }
46
- //# sourceMappingURL=CompaneoReturn.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CompaneoReturn.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/companeo/CompaneoReturn.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAoB;IACnC,CAAC,EAAE;QACD,WAAW,EAAE,MAAM,CAAC;KACrB,CAAC;IACF,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE;QACP,CAAC,CAAC,EAAE,MAAM,CAAC;QACX,CAAC,EAAE;YACD,SAAS,EAAE,MAAM,CAAC;SACnB,CAAC;KACH,CAAC;CACH;AAED,MAAM,WAAW,iBAAiB;IAChC,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,CAAC,CAAC,EAAE;QACF,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;CACH;AAED,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,KAAK,EAAE,iBAAiB,CAAC;IACzB,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,EAAE,MAAM,CAAC;IACzB,aAAa,EAAE,MAAM,CAAC;CACvB"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=CompaneoReturn.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CompaneoReturn.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/companeo/CompaneoReturn.ts"],"names":[],"mappings":"","sourcesContent":["export interface CompaneoQuestionType {\n $: {\n question_id: number;\n };\n value: string;\n reponse: {\n _?: string;\n $: {\n answer_id: number;\n };\n };\n}\n\nexport interface CompaneoBasicData {\n _?: string;\n $?: {\n code: string;\n };\n}\n\nexport interface CompaneoReturn {\n id: number;\n lead_id: number;\n dem_num: string;\n lead_date: Date;\n raison_sociale: string;\n civilite: string;\n nom: string;\n prenom: string;\n activite: CompaneoBasicData;\n poste: CompaneoBasicData;\n fonction: CompaneoBasicData;\n code_postal: string;\n ville: string;\n adresse: string;\n adresse2?: string;\n adresse3?: string;\n email: string;\n telephone: string;\n fax: string;\n mobile: string;\n segment: string;\n date_creation: string;\n commentaire: string;\n comment_companeo: string;\n questionnaire: string;\n}\n"]}
@@ -1,46 +0,0 @@
1
- export interface CompaneoQuestionType {
2
- $: {
3
- question_id: number;
4
- };
5
- value: string;
6
- reponse: {
7
- _?: string;
8
- $: {
9
- answer_id: number;
10
- };
11
- };
12
- }
13
- export interface CompaneoBasicData {
14
- _?: string;
15
- $?: {
16
- code: string;
17
- };
18
- }
19
- export interface CompaneoReturn {
20
- id: number;
21
- lead_id: number;
22
- dem_num: string;
23
- lead_date: Date;
24
- raison_sociale: string;
25
- civilite: string;
26
- nom: string;
27
- prenom: string;
28
- activite: CompaneoBasicData;
29
- poste: CompaneoBasicData;
30
- fonction: CompaneoBasicData;
31
- code_postal: string;
32
- ville: string;
33
- adresse: string;
34
- adresse2?: string;
35
- adresse3?: string;
36
- email: string;
37
- telephone: string;
38
- fax: string;
39
- mobile: string;
40
- segment: string;
41
- date_creation: string;
42
- commentaire: string;
43
- comment_companeo: string;
44
- questionnaire: string;
45
- }
46
- //# sourceMappingURL=CompaneoReturn.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CompaneoReturn.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/companeo/CompaneoReturn.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAoB;IACnC,CAAC,EAAE;QACD,WAAW,EAAE,MAAM,CAAC;KACrB,CAAC;IACF,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE;QACP,CAAC,CAAC,EAAE,MAAM,CAAC;QACX,CAAC,EAAE;YACD,SAAS,EAAE,MAAM,CAAC;SACnB,CAAC;KACH,CAAC;CACH;AAED,MAAM,WAAW,iBAAiB;IAChC,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,CAAC,CAAC,EAAE;QACF,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;CACH;AAED,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,KAAK,EAAE,iBAAiB,CAAC;IACzB,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,EAAE,MAAM,CAAC;IACzB,aAAa,EAAE,MAAM,CAAC;CACvB"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=CompaneoReturn.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CompaneoReturn.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/companeo/CompaneoReturn.ts"],"names":[],"mappings":"","sourcesContent":["export interface CompaneoQuestionType {\n $: {\n question_id: number;\n };\n value: string;\n reponse: {\n _?: string;\n $: {\n answer_id: number;\n };\n };\n}\n\nexport interface CompaneoBasicData {\n _?: string;\n $?: {\n code: string;\n };\n}\n\nexport interface CompaneoReturn {\n id: number;\n lead_id: number;\n dem_num: string;\n lead_date: Date;\n raison_sociale: string;\n civilite: string;\n nom: string;\n prenom: string;\n activite: CompaneoBasicData;\n poste: CompaneoBasicData;\n fonction: CompaneoBasicData;\n code_postal: string;\n ville: string;\n adresse: string;\n adresse2?: string;\n adresse3?: string;\n email: string;\n telephone: string;\n fax: string;\n mobile: string;\n segment: string;\n date_creation: string;\n commentaire: string;\n comment_companeo: string;\n questionnaire: string;\n}\n"]}
@@ -1,47 +0,0 @@
1
- export interface CompaneoQuestionType {
2
- $: {
3
- question_id: number;
4
- };
5
- value: string;
6
- reponse: {
7
- _?: string;
8
- $: {
9
- answer_id: number;
10
- };
11
- };
12
- }
13
-
14
- export interface CompaneoBasicData {
15
- _?: string;
16
- $?: {
17
- code: string;
18
- };
19
- }
20
-
21
- export interface CompaneoReturn {
22
- id: number;
23
- lead_id: number;
24
- dem_num: string;
25
- lead_date: Date;
26
- raison_sociale: string;
27
- civilite: string;
28
- nom: string;
29
- prenom: string;
30
- activite: CompaneoBasicData;
31
- poste: CompaneoBasicData;
32
- fonction: CompaneoBasicData;
33
- code_postal: string;
34
- ville: string;
35
- adresse: string;
36
- adresse2?: string;
37
- adresse3?: string;
38
- email: string;
39
- telephone: string;
40
- fax: string;
41
- mobile: string;
42
- segment: string;
43
- date_creation: string;
44
- commentaire: string;
45
- comment_companeo: string;
46
- questionnaire: string;
47
- }