@silexpert/core 1.1.154 → 1.1.156

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 (85) hide show
  1. package/dist/cjs/api/resources/KilometricAllowance.js +1 -1
  2. package/dist/cjs/api/resources/KilometricAllowance.js.map +1 -1
  3. package/dist/cjs/types/Enum/BrandClementine.d.ts +80 -2
  4. package/dist/cjs/types/Enum/BrandClementine.d.ts.map +1 -1
  5. package/dist/cjs/types/Enum/BrandClementine.js +23 -0
  6. package/dist/cjs/types/Enum/BrandClementine.js.map +1 -1
  7. package/dist/cjs/types/Enum/BrandLegalstart.d.ts +1 -0
  8. package/dist/cjs/types/Enum/BrandLegalstart.d.ts.map +1 -1
  9. package/dist/cjs/types/Enum/BrandLegalstart.js +1 -0
  10. package/dist/cjs/types/Enum/BrandLegalstart.js.map +1 -1
  11. package/dist/cjs/types/Enum/BrandPourcentage.d.ts +11 -3
  12. package/dist/cjs/types/Enum/BrandPourcentage.d.ts.map +1 -1
  13. package/dist/cjs/types/Enum/BrandPourcentage.js +15 -2
  14. package/dist/cjs/types/Enum/BrandPourcentage.js.map +1 -1
  15. package/dist/cjs/types/Enum/Log.d.ts +8 -1
  16. package/dist/cjs/types/Enum/Log.d.ts.map +1 -1
  17. package/dist/cjs/types/Enum/Log.js +7 -0
  18. package/dist/cjs/types/Enum/Log.js.map +1 -1
  19. package/dist/cjs/types/Interface/api/thirdParty/CreateThirdPartyForm.d.ts +1 -0
  20. package/dist/cjs/types/Interface/api/thirdParty/CreateThirdPartyForm.d.ts.map +1 -1
  21. package/dist/cjs/types/Interface/api/thirdParty/CreateThirdPartyForm.js +4 -0
  22. package/dist/cjs/types/Interface/api/thirdParty/CreateThirdPartyForm.js.map +1 -1
  23. package/dist/cjs/types/Interface/api/thirdParty/UpdateThirdPartyForm.d.ts +1 -0
  24. package/dist/cjs/types/Interface/api/thirdParty/UpdateThirdPartyForm.d.ts.map +1 -1
  25. package/dist/cjs/types/Interface/api/thirdParty/UpdateThirdPartyForm.js +4 -0
  26. package/dist/cjs/types/Interface/api/thirdParty/UpdateThirdPartyForm.js.map +1 -1
  27. package/dist/cjs/types/Interface/api/webmail/ExportEmails.d.ts +7 -0
  28. package/dist/cjs/types/Interface/api/webmail/ExportEmails.d.ts.map +1 -0
  29. package/dist/cjs/types/Interface/api/webmail/ExportEmails.js +42 -0
  30. package/dist/cjs/types/Interface/api/webmail/ExportEmails.js.map +1 -0
  31. package/dist/cjs/types/Interface/models/IAccountDetail.d.ts +2 -0
  32. package/dist/cjs/types/Interface/models/IAccountDetail.d.ts.map +1 -1
  33. package/dist/cjs/types/Interface/models/IAccountDetail.js.map +1 -1
  34. package/dist/cjs/types/index.d.ts +1 -0
  35. package/dist/cjs/types/index.d.ts.map +1 -1
  36. package/dist/cjs/types/index.js +1 -0
  37. package/dist/cjs/types/index.js.map +1 -1
  38. package/dist/mjs/api/resources/KilometricAllowance.js +1 -1
  39. package/dist/mjs/api/resources/KilometricAllowance.js.map +1 -1
  40. package/dist/mjs/types/Enum/BrandClementine.d.ts +80 -2
  41. package/dist/mjs/types/Enum/BrandClementine.d.ts.map +1 -1
  42. package/dist/mjs/types/Enum/BrandClementine.js +23 -0
  43. package/dist/mjs/types/Enum/BrandClementine.js.map +1 -1
  44. package/dist/mjs/types/Enum/BrandLegalstart.d.ts +1 -0
  45. package/dist/mjs/types/Enum/BrandLegalstart.d.ts.map +1 -1
  46. package/dist/mjs/types/Enum/BrandLegalstart.js +1 -0
  47. package/dist/mjs/types/Enum/BrandLegalstart.js.map +1 -1
  48. package/dist/mjs/types/Enum/BrandPourcentage.d.ts +11 -3
  49. package/dist/mjs/types/Enum/BrandPourcentage.d.ts.map +1 -1
  50. package/dist/mjs/types/Enum/BrandPourcentage.js +15 -2
  51. package/dist/mjs/types/Enum/BrandPourcentage.js.map +1 -1
  52. package/dist/mjs/types/Enum/Log.d.ts +8 -1
  53. package/dist/mjs/types/Enum/Log.d.ts.map +1 -1
  54. package/dist/mjs/types/Enum/Log.js +7 -0
  55. package/dist/mjs/types/Enum/Log.js.map +1 -1
  56. package/dist/mjs/types/Interface/api/thirdParty/CreateThirdPartyForm.d.ts +1 -0
  57. package/dist/mjs/types/Interface/api/thirdParty/CreateThirdPartyForm.d.ts.map +1 -1
  58. package/dist/mjs/types/Interface/api/thirdParty/CreateThirdPartyForm.js +5 -0
  59. package/dist/mjs/types/Interface/api/thirdParty/CreateThirdPartyForm.js.map +1 -1
  60. package/dist/mjs/types/Interface/api/thirdParty/UpdateThirdPartyForm.d.ts +1 -0
  61. package/dist/mjs/types/Interface/api/thirdParty/UpdateThirdPartyForm.d.ts.map +1 -1
  62. package/dist/mjs/types/Interface/api/thirdParty/UpdateThirdPartyForm.js +5 -0
  63. package/dist/mjs/types/Interface/api/thirdParty/UpdateThirdPartyForm.js.map +1 -1
  64. package/dist/mjs/types/Interface/api/webmail/ExportEmails.d.ts +7 -0
  65. package/dist/mjs/types/Interface/api/webmail/ExportEmails.d.ts.map +1 -0
  66. package/dist/mjs/types/Interface/api/webmail/ExportEmails.js +42 -0
  67. package/dist/mjs/types/Interface/api/webmail/ExportEmails.js.map +1 -0
  68. package/dist/mjs/types/Interface/models/IAccountDetail.d.ts +2 -0
  69. package/dist/mjs/types/Interface/models/IAccountDetail.d.ts.map +1 -1
  70. package/dist/mjs/types/Interface/models/IAccountDetail.js.map +1 -1
  71. package/dist/mjs/types/index.d.ts +1 -0
  72. package/dist/mjs/types/index.d.ts.map +1 -1
  73. package/dist/mjs/types/index.js +1 -0
  74. package/dist/mjs/types/index.js.map +1 -1
  75. package/package.json +1 -1
  76. package/ts/api/resources/KilometricAllowance.ts +1 -1
  77. package/ts/types/Enum/BrandClementine.ts +23 -0
  78. package/ts/types/Enum/BrandLegalstart.ts +1 -0
  79. package/ts/types/Enum/BrandPourcentage.ts +15 -2
  80. package/ts/types/Enum/Log.ts +7 -0
  81. package/ts/types/Interface/api/thirdParty/CreateThirdPartyForm.ts +3 -0
  82. package/ts/types/Interface/api/thirdParty/UpdateThirdPartyForm.ts +3 -0
  83. package/ts/types/Interface/api/webmail/ExportEmails.ts +27 -0
  84. package/ts/types/Interface/models/IAccountDetail.ts +2 -0
  85. package/ts/types/index.ts +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@silexpert/core",
3
- "version": "1.1.154",
3
+ "version": "1.1.156",
4
4
  "description": "Silex Core perform HTTP Request and object binding. Silex core helps developers to retrieve and return formatted object",
5
5
  "homepage": "https://gitlab.compta-clementine.fr/dev/silex-api",
6
6
  "main": "dist/cjs/index.js",
@@ -3,7 +3,7 @@ import { BasePaginate, CreateKilometricAllowanceValidation, IAccountingTransacti
3
3
 
4
4
  export class KilometricAllowance extends Resource {
5
5
  validate(idExercice: number, payload: CreateKilometricAllowanceValidation): Promise<boolean> {
6
- return this.axios.$post(`/exercice/${idExercice}/kilometric-allowance/validate`, payload);
6
+ return this.axios.$post(`/exercices/${idExercice}/kilometric-allowance/validate`, payload);
7
7
  }
8
8
 
9
9
  getPaginated(idSociety: number, params: QueryKilometricAllowance, signal?: AbortSignal): Promise<BasePaginate<IAccountingTransaction>> {
@@ -14,6 +14,7 @@ export const BrandClementine = [
14
14
  primary300: '#FFB28A',
15
15
  primary500: '#FF7E3C',
16
16
  primary700: '#D75817',
17
+ footerColor: '#f3692f',
17
18
  },
18
19
  listPhones: {
19
20
  contact: '03 83 93 14 14',
@@ -48,6 +49,7 @@ export const BrandClementine = [
48
49
  nomRaisonSociale: 'EXPERTISE CHOIX B',
49
50
  ECName: 'M. Jean-Louis BOICHÉ',
50
51
  ECOrderCity: 'Nancy',
52
+ ECDepartment: 'Lorraine',
51
53
  ECPosition: 'Président',
52
54
  phone: '03 83 93 14 14',
53
55
  postalAddress: '9, avenue du Rhin',
@@ -305,6 +307,7 @@ export const BrandClementine = [
305
307
  urlS3: 'https://s3.eu-west-3.amazonaws.com/resources-clementine/',
306
308
  colors: {
307
309
  primary: '#16a974',
310
+ footerColor: '#f3692f',
308
311
  },
309
312
  listPhones: {
310
313
  contact: '01 76 39 00 60',
@@ -322,6 +325,7 @@ export const BrandClementine = [
322
325
  nomRaisonSociale: 'EXPERTISE CHOIX B',
323
326
  ECName: 'M. Jean-Louis BOICHÉ',
324
327
  ECOrderCity: 'Nancy',
328
+ ECPosition: 'Président',
325
329
  phone: '03 83 93 14 14',
326
330
  postalAddress: '9, avenue du Rhin',
327
331
  rcs: '752 566 687',
@@ -375,6 +379,7 @@ export const BrandClementine = [
375
379
  },
376
380
  colors: {
377
381
  primary: '#D8192D',
382
+ sendContract: '#f3692f',
378
383
  },
379
384
  internalInvoicing: {
380
385
  statut: 'SAS',
@@ -407,6 +412,7 @@ export const BrandClementine = [
407
412
  },
408
413
  colors: {
409
414
  primary: '#f39a00',
415
+ footerColor: '#f3692f',
410
416
  },
411
417
  internalInvoicing: {
412
418
  statut: 'SAS',
@@ -432,6 +438,22 @@ export const BrandClementine = [
432
438
  urlApi1: 'https://api.compta-clementine.fr',
433
439
  urlApi2: 'https://api-next.compta-clementine.fr',
434
440
  urlClient: 'https://www.klems.fr',
441
+ companyInformation: {
442
+ ape: '6920Z',
443
+ bp: 'BP 31029',
444
+ city: 'Laxou',
445
+ montantCapital: '500 000',
446
+ nomRaisonSociale: 'EXPERTISE CHOIX B',
447
+ ECName: 'M. Jean-Louis BOICHÉ',
448
+ ECOrderCity: 'Nancy',
449
+ ECDepartment: 'Lorraine',
450
+ ECPosition: 'Président',
451
+ phone: '03 83 93 14 14',
452
+ postalAddress: '9, avenue du Rhin',
453
+ rcs: '752 566 687',
454
+ statut: 'SAS',
455
+ zipCode: '54 520',
456
+ },
435
457
  bank: {
436
458
  IBAN: 'FR7616106840138646838239863',
437
459
  BIC: 'AGRIFRPP861',
@@ -440,6 +462,7 @@ export const BrandClementine = [
440
462
  },
441
463
  colors: {
442
464
  primary: '#38A1FF',
465
+ footerColor: '#00A2FF',
443
466
  },
444
467
  internalInvoicing: {
445
468
  statut: 'SAS',
@@ -9,6 +9,7 @@ export const BrandLegalstart = [
9
9
  logoS3: 'config/55624137-0c29-5f16-a079-b2904a6f9e7b.svg',
10
10
  colors: {
11
11
  primary: '#16a974',
12
+ footerColor: '#f3692f',
12
13
  },
13
14
  listPhones: {
14
15
  contact: '03 83 93 14 14',
@@ -14,6 +14,7 @@ export const BrandPourcentage = [
14
14
  primary300: '#589E89',
15
15
  primary500: '#386D5D',
16
16
  primary700: '#1F493D',
17
+ footerColor: '#2e5449',
17
18
  },
18
19
  listPhones: {
19
20
  contact: '01 86 90 82 15',
@@ -48,6 +49,8 @@ export const BrandPourcentage = [
48
49
  nomRaisonSociale: 'EXPERTISE CHOIX C',
49
50
  ECName: 'M. Jean-Louis BOICHÉ',
50
51
  ECOrderCity: 'Nancy',
52
+ ECDepartment: 'Lorraine',
53
+ ECPosition: 'Président',
51
54
  phone: '01 86 90 82 15',
52
55
  postalAddress: '9, avenue du Rhin',
53
56
  rcs: '891 501 181',
@@ -293,6 +296,7 @@ export const BrandPourcentage = [
293
296
  primary300: '#589E89',
294
297
  primary500: '#386D5D',
295
298
  primary700: '#1F493D',
299
+ footerColor: '#2e5449',
296
300
  },
297
301
  listPhones: {
298
302
  contact: '01 48 58 29 45',
@@ -386,6 +390,7 @@ export const BrandPourcentage = [
386
390
  primary300: '#589E89',
387
391
  primary500: '#386D5D',
388
392
  primary700: '#1F493D',
393
+ footerColor: '#2e5449',
389
394
  },
390
395
  listPhones: {
391
396
  contact: '03 83 25 82 20',
@@ -420,6 +425,7 @@ export const BrandPourcentage = [
420
425
  nomRaisonSociale: 'AEC 54',
421
426
  ECName: 'M. Jean-Louis BOICHÉ',
422
427
  ECOrderCity: 'Nancy',
428
+ ECPosition: 'Président',
423
429
  phone: '03 83 25 82 20',
424
430
  postalAddress: '9, avenue du Rhin',
425
431
  rcs: '315 519 587 R.C.S. Nancy',
@@ -474,6 +480,7 @@ export const BrandPourcentage = [
474
480
  primary300: '#589E89',
475
481
  primary500: '#386D5D',
476
482
  primary700: '#1F493D',
483
+ footerColor: '#2e5449',
477
484
  },
478
485
  listPhones: {
479
486
  contact: '01 86 90 82 15',
@@ -508,6 +515,7 @@ export const BrandPourcentage = [
508
515
  nomRaisonSociale: 'POURCENTAGE',
509
516
  ECName: 'M. Jean-Louis BOICHÉ',
510
517
  ECOrderCity: 'Nancy',
518
+ ECPosition: 'Président',
511
519
  phone: '01 86 90 82 15',
512
520
  postalAddress: '9, avenue du Rhin',
513
521
  rcs: '891 501 181',
@@ -562,6 +570,7 @@ export const BrandPourcentage = [
562
570
  primary300: '#589E89',
563
571
  primary500: '#386D5D',
564
572
  primary700: '#1F493D',
573
+ footerColor: '#2e5449',
565
574
  },
566
575
  listPhones: {
567
576
  contact: '04 93 87 03 03',
@@ -596,10 +605,12 @@ export const BrandPourcentage = [
596
605
  nomRaisonSociale: 'AMEX',
597
606
  ECName: 'M. Jean-Louis BOICHÉ',
598
607
  ECOrderCity: 'Nice',
608
+ ECDepartment: 'PACA',
609
+ ECPosition: 'Président',
599
610
  phone: '04 93 87 03 03',
600
611
  postalAddress: '11, Boulevard Victor Hugo',
601
612
  rcs: 'Nice B 882 255 094',
602
- statut: 'SARL',
613
+ statut: 'SAS',
603
614
  zipCode: '06 000',
604
615
  },
605
616
  idPrestationsListAuthorized: [197, 205, 12, 207, 208, 189],
@@ -623,7 +634,7 @@ export const BrandPourcentage = [
623
634
  cleRib: '89',
624
635
  },
625
636
  internalInvoicing: {
626
- statut: 'SARL',
637
+ statut: 'SAS',
627
638
  name: 'AMEX',
628
639
  address: '11, Boulevard Victor Hugo',
629
640
  zipCode: '06 000',
@@ -815,6 +826,7 @@ export const BrandPourcentage = [
815
826
  primary300: '#589E89',
816
827
  primary500: '#386D5D',
817
828
  primary700: '#1F493D',
829
+ footerColor: '#2e5449',
818
830
  },
819
831
  listPhones: {
820
832
  contact: '01 86 90 82 15',
@@ -849,6 +861,7 @@ export const BrandPourcentage = [
849
861
  nomRaisonSociale: 'POURCENTAGE',
850
862
  ECName: 'M. Jean-Louis BOICHÉ',
851
863
  ECOrderCity: 'Nancy',
864
+ ECPosition: 'Président',
852
865
  phone: '01 86 90 82 15',
853
866
  postalAddress: '9, avenue du Rhin',
854
867
  rcs: '891 501 181',
@@ -43,6 +43,7 @@ export enum LogType {
43
43
  CONSTITUTION = 31,
44
44
  APPROBATION = 32,
45
45
  ACCEPTATION = 33,
46
+ IP = 34,
46
47
  }
47
48
 
48
49
  export const LogTypeDetail = {
@@ -244,4 +245,10 @@ export const LogTypeDetail = {
244
245
  color: 'blue-grey darken-1',
245
246
  icon: null,
246
247
  },
248
+ IP: {
249
+ id: LogType.IP,
250
+ label: 'IP',
251
+ color: 'blue-grey darken-2',
252
+ icon: null,
253
+ },
247
254
  };
@@ -36,6 +36,9 @@ export class CreateThirdPartyForm {
36
36
  @ApiPropertyOptional()
37
37
  nTva?: string | null;
38
38
 
39
+ @ApiPropertyOptional()
40
+ legalForm?: number | null;
41
+
39
42
  @ApiProperty()
40
43
  soldeInit: number;
41
44
 
@@ -47,6 +47,9 @@ export class UpdateThirdPartyForm {
47
47
  @IsOptional()
48
48
  nTva?: string | null;
49
49
 
50
+ @ApiPropertyOptional()
51
+ legalForm?: number | null;
52
+
50
53
  @ApiPropertyOptional()
51
54
  @IsOptional()
52
55
  soldeInit?: number;
@@ -0,0 +1,27 @@
1
+ import {
2
+ IsDate,
3
+ IsInt, IsOptional,
4
+ } from 'class-validator';
5
+ import { ApiPropertyOptional } from '../../../../utils';
6
+
7
+ export class ExportEmailsParams {
8
+ @ApiPropertyOptional()
9
+ @IsOptional()
10
+ @IsInt()
11
+ idSociety?: number;
12
+
13
+ @ApiPropertyOptional()
14
+ @IsOptional()
15
+ @IsDate()
16
+ startDate?: Date;
17
+
18
+ @ApiPropertyOptional()
19
+ @IsOptional()
20
+ @IsDate()
21
+ startEnd?: Date;
22
+
23
+ @ApiPropertyOptional()
24
+ @IsOptional()
25
+ @IsInt({ each: true })
26
+ sendingType?: number[];
27
+ }
@@ -7,6 +7,7 @@ export interface IAccountDetail {
7
7
  id?: number;
8
8
  comment?: string | null;
9
9
  dateComment: Date | null;
10
+ userCommentId: number | null;
10
11
  isPending: boolean;
11
12
  checkByIdAccountant: number | null;
12
13
  dateCheckAccountant: Date | null;
@@ -23,4 +24,5 @@ export interface IAccountDetail {
23
24
  account?: IAccount;
24
25
  accountDetailByAccountant?: IUser;
25
26
  accountDetailBySupervisor?: IUser;
27
+ accountDetailByCommentUser?: IUser;
26
28
  }
package/ts/types/index.ts CHANGED
@@ -652,6 +652,7 @@ export * from './Interface/api/salesContract/SendSalesContractParams';
652
652
  export * from './Interface/api/salesContract/GenerateSalesContractParams';
653
653
  export * from './Interface/api/webmail/CreateMailFromLambda';
654
654
  export * from './Interface/api/webmail/MigrateMailAddresses';
655
+ export * from './Interface/api/webmail/ExportEmails';
655
656
  export * from './Interface/api/webmail/PostAttachmentEmailFromLambdaParams';
656
657
  export * from './Interface/api/webmail/GetPaginatedWhereObjectParams';
657
658
  export * from './Interface/api/promoCode/CreateDefaultPromoCode';