@silexpert/core 1.1.179 → 1.1.180

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.
@@ -287,7 +287,7 @@ export const BrandPourcentage = [
287
287
  idTypeBrand: 2,
288
288
  urlS3: 'https://s3.eu-west-3.amazonaws.com/resources-pourcentage/',
289
289
  logoS3: 'config/pourcentage-logo.png',
290
- name: 'Pourcentage Paris', // Sofrageco
290
+ name: 'Pourcentage Paris - ECD Sofrageco', // Sofrageco
291
291
  commercialName: 'Pourcentage',
292
292
  colors: {
293
293
  primary: '#1e6f5c',
@@ -377,191 +377,191 @@ export const BrandPourcentage = [
377
377
  domain: '@pourcentage.fr',
378
378
  },
379
379
  },
380
- {
381
- idTypeBrand: 3,
382
- urlS3: 'https://s3.eu-west-3.amazonaws.com/resources-pourcentage/',
383
- logoS3: 'config/pourcentage-logo.png',
384
- name: 'Pourcentage Nancy', // AEC54
385
- commercialName: 'Pourcentage',
386
- colors: {
387
- primary: '#1e6f5c',
388
- primary50: '#DFF9F1',
389
- primary100: '#8ACAB7',
390
- primary300: '#589E89',
391
- primary500: '#386D5D',
392
- primary700: '#1F493D',
393
- footerColor: '#2e5449',
394
- },
395
- listPhones: {
396
- contact: '03 83 25 82 20',
397
- qualite: '03 83 25 82 20',
398
- social: '03 83 25 82 20',
399
- juridique: '03 83 25 82 20',
400
- },
401
- listMails: {
402
- administratif: 'contact@pourcentage.fr',
403
- app: 'contact@pourcentage.fr',
404
- bonjour: 'bonjour@pourcentage.fr',
405
- contact: 'contact@pourcentage.fr',
406
- facturation: 'facturation@pourcentage.fr',
407
- feedback: 'contact@pourcentage.fr',
408
- juridique: 'juridique@pourcentage.fr',
409
- informatique: 'contact@pourcentage.fr',
410
- msd: 'contact@pourcentage.fr',
411
- noreply: 'contact@pourcentage.fr',
412
- qualite: 'contact@pourcentage.fr',
413
- paiement: 'contact@pourcentage.fr',
414
- rh: 'rh@pourcentage.fr',
415
- social: 'social@pourcentage.fr',
416
- support: 'contact@pourcentage.fr',
417
- tva: 'contact@pourcentage.fr',
418
- wb: 'contact@pourcentage.fr',
419
- },
420
- companyInformation: {
421
- ape: '6920Z',
422
- bp: '',
423
- city: 'Laxou',
424
- montantCapital: '7 622',
425
- nomRaisonSociale: 'AEC 54',
426
- ECName: 'M. Jean-Louis BOICHÉ',
427
- ECOrderCity: 'Nancy',
428
- ECPosition: 'Président',
429
- phone: '03 83 25 82 20',
430
- postalAddress: '9, avenue du Rhin',
431
- rcs: '315 519 587 R.C.S. Nancy',
432
- statut: 'SARL',
433
- zipCode: '54 520',
434
- },
435
- idPrestationsListAuthorized: [197, 205, 12, 207, 208, 189],
436
- logoUrl: 'logo-pourcentage.svg',
437
- miniLogoUrl: 'logo-pourcentage-mini.svg',
438
- hiddenPages: [],
439
- recaptchaSecretKey: '6Le0o3kaAAAAAIEcSOib77JdK_W3cyIilK-p2yOG',
440
- urlApp: 'https://app.pourcentage.fr',
441
- urlApi1: 'https://api.pourcentage.fr',
442
- urlApi2: 'https://api-next.pourcentage.fr',
443
- urlExpert: 'https://pro.pourcentage.fr',
444
- urlClient: 'https://www.pourcentage.fr',
445
- bank: {
446
- IBAN: 'FR7630087336510002008560147',
447
- BIC: 'CMCIFRPP',
448
- Name: 'AEC 54',
449
- Id: '***',
450
- },
451
- internalInvoicing: {
452
- statut: 'SARL',
453
- name: 'AEC 54',
454
- address: '9, avenue du Rhin',
455
- zipCode: '54520',
456
- city: 'LAXOU',
457
- country: 'FRANCE',
458
- montantCapital: '7 622',
459
- siret: '31551958700069',
460
- ape: '6920Z',
461
- rcs: '315 519 587 R.C.S. Nancy',
462
- phone: '03 83 25 82 20',
463
- vatIntracom: 'FR84315519587',
464
- email: 'facturation@pourcentage.fr',
465
- },
466
- webmail: {
467
- domain: '@pourcentage.fr',
468
- },
469
- },
470
- {
471
- idTypeBrand: 4,
472
- urlS3: 'https://s3.eu-west-3.amazonaws.com/resources-pourcentage/',
473
- logoS3: 'config/pourcentage-logo.png',
474
- name: 'Pourcentage Epinal', // Pourcentage EPINAL
475
- commercialName: 'Pourcentage',
476
- colors: {
477
- primary: '#1e6f5c',
478
- primary50: '#DFF9F1',
479
- primary100: '#8ACAB7',
480
- primary300: '#589E89',
481
- primary500: '#386D5D',
482
- primary700: '#1F493D',
483
- footerColor: '#2e5449',
484
- },
485
- listPhones: {
486
- contact: '01 86 90 82 15',
487
- qualite: '01 86 90 82 15',
488
- social: '01 86 90 82 15',
489
- juridique: '01 86 90 82 15',
490
- },
491
- listMails: {
492
- administratif: 'contact@pourcentage.fr',
493
- app: 'contact@pourcentage.fr',
494
- bonjour: 'bonjour@pourcentage.fr',
495
- contact: 'contact@pourcentage.fr',
496
- facturation: 'facturation@pourcentage.fr',
497
- feedback: 'contact@pourcentage.fr',
498
- juridique: 'juridique@pourcentage.fr',
499
- informatique: 'contact@pourcentage.fr',
500
- msd: 'contact@pourcentage.fr',
501
- noreply: 'contact@pourcentage.fr',
502
- qualite: 'contact@pourcentage.fr',
503
- paiement: 'contact@pourcentage.fr',
504
- rh: 'rh@pourcentage.fr',
505
- social: 'social@pourcentage.fr',
506
- support: 'contact@pourcentage.fr',
507
- tva: 'contact@pourcentage.fr',
508
- wb: 'contact@pourcentage.fr',
509
- },
510
- companyInformation: {
511
- ape: '6920Z',
512
- bp: '',
513
- city: 'Laxou',
514
- montantCapital: '150 000',
515
- nomRaisonSociale: 'POURCENTAGE',
516
- ECName: 'M. Jean-Louis BOICHÉ',
517
- ECOrderCity: 'Nancy',
518
- ECPosition: 'Président',
519
- phone: '01 86 90 82 15',
520
- postalAddress: '9, avenue du Rhin',
521
- rcs: '891 501 181',
522
- statut: 'SAS',
523
- zipCode: '54 520',
524
- },
525
- idPrestationsListAuthorized: [197, 205, 12, 207, 208, 189],
526
- logoUrl: 'logo-pourcentage.svg',
527
- miniLogoUrl: 'logo-pourcentage-mini.svg',
528
- hiddenPages: [],
529
- recaptchaSecretKey: '6Le0o3kaAAAAAIEcSOib77JdK_W3cyIilK-p2yOG',
530
- urlApp: 'https://app.pourcentage.fr',
531
- urlApi1: 'https://api.pourcentage.fr',
532
- urlApi2: 'https://api-next.pourcentage.fr',
533
- urlExpert: 'https://pro.pourcentage.fr',
534
- urlClient: 'https://www.pourcentage.fr',
535
- bank: {
536
- IBAN: 'FR7616106010019601826952765',
537
- BIC: 'AGRIFRPP861',
538
- Name: 'POURCENTAGE',
539
- Id: 'FR57ZZZ878E61',
540
- },
541
- internalInvoicing: {
542
- statut: 'SASU',
543
- name: 'POURCENTAGE',
544
- address: '9, avenue du Rhin',
545
- zipCode: '54520',
546
- city: 'LAXOU',
547
- country: 'FRANCE',
548
- montantCapital: '150 000',
549
- siret: '89150118100020',
550
- ape: '6920Z',
551
- rcs: '891 501 181',
552
- phone: '01 86 90 82 15',
553
- vatIntracom: 'FR58891501181',
554
- email: 'facturation@pourcentage.fr',
555
- },
556
- webmail: {
557
- domain: '@pourcentage.fr',
558
- },
559
- },
380
+ // {
381
+ // idTypeBrand: 3,
382
+ // urlS3: 'https://s3.eu-west-3.amazonaws.com/resources-pourcentage/',
383
+ // logoS3: 'config/pourcentage-logo.png',
384
+ // name: 'Pourcentage Nancy', // AEC54
385
+ // commercialName: 'Pourcentage',
386
+ // colors: {
387
+ // primary: '#1e6f5c',
388
+ // primary50: '#DFF9F1',
389
+ // primary100: '#8ACAB7',
390
+ // primary300: '#589E89',
391
+ // primary500: '#386D5D',
392
+ // primary700: '#1F493D',
393
+ // footerColor: '#2e5449',
394
+ // },
395
+ // listPhones: {
396
+ // contact: '03 83 25 82 20',
397
+ // qualite: '03 83 25 82 20',
398
+ // social: '03 83 25 82 20',
399
+ // juridique: '03 83 25 82 20',
400
+ // },
401
+ // listMails: {
402
+ // administratif: 'contact@pourcentage.fr',
403
+ // app: 'contact@pourcentage.fr',
404
+ // bonjour: 'bonjour@pourcentage.fr',
405
+ // contact: 'contact@pourcentage.fr',
406
+ // facturation: 'facturation@pourcentage.fr',
407
+ // feedback: 'contact@pourcentage.fr',
408
+ // juridique: 'juridique@pourcentage.fr',
409
+ // informatique: 'contact@pourcentage.fr',
410
+ // msd: 'contact@pourcentage.fr',
411
+ // noreply: 'contact@pourcentage.fr',
412
+ // qualite: 'contact@pourcentage.fr',
413
+ // paiement: 'contact@pourcentage.fr',
414
+ // rh: 'rh@pourcentage.fr',
415
+ // social: 'social@pourcentage.fr',
416
+ // support: 'contact@pourcentage.fr',
417
+ // tva: 'contact@pourcentage.fr',
418
+ // wb: 'contact@pourcentage.fr',
419
+ // },
420
+ // companyInformation: {
421
+ // ape: '6920Z',
422
+ // bp: '',
423
+ // city: 'Laxou',
424
+ // montantCapital: '7 622',
425
+ // nomRaisonSociale: 'AEC 54',
426
+ // ECName: 'M. Jean-Louis BOICHÉ',
427
+ // ECOrderCity: 'Nancy',
428
+ // ECPosition: 'Président',
429
+ // phone: '03 83 25 82 20',
430
+ // postalAddress: '9, avenue du Rhin',
431
+ // rcs: '315 519 587 R.C.S. Nancy',
432
+ // statut: 'SARL',
433
+ // zipCode: '54 520',
434
+ // },
435
+ // idPrestationsListAuthorized: [197, 205, 12, 207, 208, 189],
436
+ // logoUrl: 'logo-pourcentage.svg',
437
+ // miniLogoUrl: 'logo-pourcentage-mini.svg',
438
+ // hiddenPages: [],
439
+ // recaptchaSecretKey: '6Le0o3kaAAAAAIEcSOib77JdK_W3cyIilK-p2yOG',
440
+ // urlApp: 'https://app.pourcentage.fr',
441
+ // urlApi1: 'https://api.pourcentage.fr',
442
+ // urlApi2: 'https://api-next.pourcentage.fr',
443
+ // urlExpert: 'https://pro.pourcentage.fr',
444
+ // urlClient: 'https://www.pourcentage.fr',
445
+ // bank: {
446
+ // IBAN: 'FR7630087336510002008560147',
447
+ // BIC: 'CMCIFRPP',
448
+ // Name: 'AEC 54',
449
+ // Id: '***',
450
+ // },
451
+ // internalInvoicing: {
452
+ // statut: 'SARL',
453
+ // name: 'AEC 54',
454
+ // address: '9, avenue du Rhin',
455
+ // zipCode: '54520',
456
+ // city: 'LAXOU',
457
+ // country: 'FRANCE',
458
+ // montantCapital: '7 622',
459
+ // siret: '31551958700069',
460
+ // ape: '6920Z',
461
+ // rcs: '315 519 587 R.C.S. Nancy',
462
+ // phone: '03 83 25 82 20',
463
+ // vatIntracom: 'FR84315519587',
464
+ // email: 'facturation@pourcentage.fr',
465
+ // },
466
+ // webmail: {
467
+ // domain: '@pourcentage.fr',
468
+ // },
469
+ // },
470
+ // {
471
+ // idTypeBrand: 4,
472
+ // urlS3: 'https://s3.eu-west-3.amazonaws.com/resources-pourcentage/',
473
+ // logoS3: 'config/pourcentage-logo.png',
474
+ // name: 'Pourcentage Epinal', // Pourcentage EPINAL
475
+ // commercialName: 'Pourcentage',
476
+ // colors: {
477
+ // primary: '#1e6f5c',
478
+ // primary50: '#DFF9F1',
479
+ // primary100: '#8ACAB7',
480
+ // primary300: '#589E89',
481
+ // primary500: '#386D5D',
482
+ // primary700: '#1F493D',
483
+ // footerColor: '#2e5449',
484
+ // },
485
+ // listPhones: {
486
+ // contact: '01 86 90 82 15',
487
+ // qualite: '01 86 90 82 15',
488
+ // social: '01 86 90 82 15',
489
+ // juridique: '01 86 90 82 15',
490
+ // },
491
+ // listMails: {
492
+ // administratif: 'contact@pourcentage.fr',
493
+ // app: 'contact@pourcentage.fr',
494
+ // bonjour: 'bonjour@pourcentage.fr',
495
+ // contact: 'contact@pourcentage.fr',
496
+ // facturation: 'facturation@pourcentage.fr',
497
+ // feedback: 'contact@pourcentage.fr',
498
+ // juridique: 'juridique@pourcentage.fr',
499
+ // informatique: 'contact@pourcentage.fr',
500
+ // msd: 'contact@pourcentage.fr',
501
+ // noreply: 'contact@pourcentage.fr',
502
+ // qualite: 'contact@pourcentage.fr',
503
+ // paiement: 'contact@pourcentage.fr',
504
+ // rh: 'rh@pourcentage.fr',
505
+ // social: 'social@pourcentage.fr',
506
+ // support: 'contact@pourcentage.fr',
507
+ // tva: 'contact@pourcentage.fr',
508
+ // wb: 'contact@pourcentage.fr',
509
+ // },
510
+ // companyInformation: {
511
+ // ape: '6920Z',
512
+ // bp: '',
513
+ // city: 'Laxou',
514
+ // montantCapital: '150 000',
515
+ // nomRaisonSociale: 'POURCENTAGE',
516
+ // ECName: 'M. Jean-Louis BOICHÉ',
517
+ // ECOrderCity: 'Nancy',
518
+ // ECPosition: 'Président',
519
+ // phone: '01 86 90 82 15',
520
+ // postalAddress: '9, avenue du Rhin',
521
+ // rcs: '891 501 181',
522
+ // statut: 'SAS',
523
+ // zipCode: '54 520',
524
+ // },
525
+ // idPrestationsListAuthorized: [197, 205, 12, 207, 208, 189],
526
+ // logoUrl: 'logo-pourcentage.svg',
527
+ // miniLogoUrl: 'logo-pourcentage-mini.svg',
528
+ // hiddenPages: [],
529
+ // recaptchaSecretKey: '6Le0o3kaAAAAAIEcSOib77JdK_W3cyIilK-p2yOG',
530
+ // urlApp: 'https://app.pourcentage.fr',
531
+ // urlApi1: 'https://api.pourcentage.fr',
532
+ // urlApi2: 'https://api-next.pourcentage.fr',
533
+ // urlExpert: 'https://pro.pourcentage.fr',
534
+ // urlClient: 'https://www.pourcentage.fr',
535
+ // bank: {
536
+ // IBAN: 'FR7616106010019601826952765',
537
+ // BIC: 'AGRIFRPP861',
538
+ // Name: 'POURCENTAGE',
539
+ // Id: 'FR57ZZZ878E61',
540
+ // },
541
+ // internalInvoicing: {
542
+ // statut: 'SASU',
543
+ // name: 'POURCENTAGE',
544
+ // address: '9, avenue du Rhin',
545
+ // zipCode: '54520',
546
+ // city: 'LAXOU',
547
+ // country: 'FRANCE',
548
+ // montantCapital: '150 000',
549
+ // siret: '89150118100020',
550
+ // ape: '6920Z',
551
+ // rcs: '891 501 181',
552
+ // phone: '01 86 90 82 15',
553
+ // vatIntracom: 'FR58891501181',
554
+ // email: 'facturation@pourcentage.fr',
555
+ // },
556
+ // webmail: {
557
+ // domain: '@pourcentage.fr',
558
+ // },
559
+ // },
560
560
  {
561
561
  idTypeBrand: 5,
562
562
  urlS3: 'https://s3.eu-west-3.amazonaws.com/resources-pourcentage/',
563
563
  logoS3: 'config/pourcentage-logo.png',
564
- name: 'Pourcentage ECE', // AMEX
564
+ name: 'Pourcentage ECE - AMEX', // AMEX
565
565
  commercialName: 'Pourcentage AMEX',
566
566
  colors: {
567
567
  primary: '#1e6f5c',
@@ -814,96 +814,96 @@ export const BrandPourcentage = [
814
814
  },
815
815
  ],
816
816
  },
817
- {
818
- idTypeBrand: 6,
819
- urlS3: 'https://s3.eu-west-3.amazonaws.com/resources-pourcentage/',
820
- logoS3: 'config/pourcentage-logo.png',
821
- name: 'Pourcentage Marseille', // Pourcentage Marseille
822
- commercialName: 'Pourcentage',
823
- colors: {
824
- primary: '#1e6f5c',
825
- primary50: '#DFF9F1',
826
- primary100: '#8ACAB7',
827
- primary300: '#589E89',
828
- primary500: '#386D5D',
829
- primary700: '#1F493D',
830
- footerColor: '#2e5449',
831
- },
832
- listPhones: {
833
- contact: '01 86 90 82 15',
834
- qualite: '01 86 90 82 15',
835
- social: '01 86 90 82 15',
836
- juridique: '01 86 90 82 15',
837
- },
838
- listMails: {
839
- administratif: 'contact@pourcentage.fr',
840
- app: 'contact@pourcentage.fr',
841
- bonjour: 'bonjour@pourcentage.fr',
842
- contact: 'contact@pourcentage.fr',
843
- facturation: 'facturation@pourcentage.fr',
844
- feedback: 'contact@pourcentage.fr',
845
- juridique: 'juridique@pourcentage.fr',
846
- informatique: 'contact@pourcentage.fr',
847
- msd: 'contact@pourcentage.fr',
848
- noreply: 'contact@pourcentage.fr',
849
- qualite: 'contact@pourcentage.fr',
850
- paiement: 'contact@pourcentage.fr',
851
- rh: 'rh@pourcentage.fr',
852
- social: 'social@pourcentage.fr',
853
- support: 'contact@pourcentage.fr',
854
- tva: 'contact@pourcentage.fr',
855
- wb: 'contact@pourcentage.fr',
856
- },
857
- companyInformation: {
858
- ape: '6920Z',
859
- bp: '',
860
- city: 'Laxou',
861
- montantCapital: '150 000',
862
- nomRaisonSociale: 'POURCENTAGE',
863
- ECName: 'M. Jean-Louis BOICHÉ',
864
- ECOrderCity: 'Nancy',
865
- ECPosition: 'Président',
866
- phone: '01 86 90 82 15',
867
- postalAddress: '9, avenue du Rhin',
868
- rcs: '891 501 181',
869
- statut: 'SAS',
870
- zipCode: '54 520',
871
- },
872
- idPrestationsListAuthorized: [197, 205, 12, 207, 208, 189],
873
- logoUrl: 'logo-pourcentage.svg',
874
- miniLogoUrl: 'logo-pourcentage-mini.svg',
875
- hiddenPages: [],
876
- recaptchaSecretKey: '6Le0o3kaAAAAAIEcSOib77JdK_W3cyIilK-p2yOG',
877
- urlApp: 'https://app.pourcentage.fr',
878
- urlApi1: 'https://api.pourcentage.fr',
879
- urlApi2: 'https://api-next.pourcentage.fr',
880
- urlExpert: 'https://pro.pourcentage.fr',
881
- urlClient: 'https://www.pourcentage.fr',
882
- bank: {
883
- IBAN: 'FR7616106010019601826952765',
884
- BIC: 'AGRIFRPP861',
885
- Name: 'POURCENTAGE',
886
- Id: 'FR57ZZZ878E61',
887
- },
888
- internalInvoicing: {
889
- statut: 'SASU',
890
- name: 'POURCENTAGE',
891
- address: '9, avenue du Rhin',
892
- zipCode: '54520',
893
- city: 'LAXOU',
894
- country: 'FRANCE',
895
- montantCapital: '150 000',
896
- siret: '89150118100020',
897
- ape: '6920Z',
898
- rcs: '891 501 181',
899
- phone: '01 86 90 82 15',
900
- vatIntracom: 'FR58891501181',
901
- email: 'facturation@pourcentage.fr',
902
- },
903
- webmail: {
904
- domain: '@pourcentage.fr',
905
- },
906
- },
817
+ // {
818
+ // idTypeBrand: 6,
819
+ // urlS3: 'https://s3.eu-west-3.amazonaws.com/resources-pourcentage/',
820
+ // logoS3: 'config/pourcentage-logo.png',
821
+ // name: 'Pourcentage Marseille', // Pourcentage Marseille
822
+ // commercialName: 'Pourcentage',
823
+ // colors: {
824
+ // primary: '#1e6f5c',
825
+ // primary50: '#DFF9F1',
826
+ // primary100: '#8ACAB7',
827
+ // primary300: '#589E89',
828
+ // primary500: '#386D5D',
829
+ // primary700: '#1F493D',
830
+ // footerColor: '#2e5449',
831
+ // },
832
+ // listPhones: {
833
+ // contact: '01 86 90 82 15',
834
+ // qualite: '01 86 90 82 15',
835
+ // social: '01 86 90 82 15',
836
+ // juridique: '01 86 90 82 15',
837
+ // },
838
+ // listMails: {
839
+ // administratif: 'contact@pourcentage.fr',
840
+ // app: 'contact@pourcentage.fr',
841
+ // bonjour: 'bonjour@pourcentage.fr',
842
+ // contact: 'contact@pourcentage.fr',
843
+ // facturation: 'facturation@pourcentage.fr',
844
+ // feedback: 'contact@pourcentage.fr',
845
+ // juridique: 'juridique@pourcentage.fr',
846
+ // informatique: 'contact@pourcentage.fr',
847
+ // msd: 'contact@pourcentage.fr',
848
+ // noreply: 'contact@pourcentage.fr',
849
+ // qualite: 'contact@pourcentage.fr',
850
+ // paiement: 'contact@pourcentage.fr',
851
+ // rh: 'rh@pourcentage.fr',
852
+ // social: 'social@pourcentage.fr',
853
+ // support: 'contact@pourcentage.fr',
854
+ // tva: 'contact@pourcentage.fr',
855
+ // wb: 'contact@pourcentage.fr',
856
+ // },
857
+ // companyInformation: {
858
+ // ape: '6920Z',
859
+ // bp: '',
860
+ // city: 'Laxou',
861
+ // montantCapital: '150 000',
862
+ // nomRaisonSociale: 'POURCENTAGE',
863
+ // ECName: 'M. Jean-Louis BOICHÉ',
864
+ // ECOrderCity: 'Nancy',
865
+ // ECPosition: 'Président',
866
+ // phone: '01 86 90 82 15',
867
+ // postalAddress: '9, avenue du Rhin',
868
+ // rcs: '891 501 181',
869
+ // statut: 'SAS',
870
+ // zipCode: '54 520',
871
+ // },
872
+ // idPrestationsListAuthorized: [197, 205, 12, 207, 208, 189],
873
+ // logoUrl: 'logo-pourcentage.svg',
874
+ // miniLogoUrl: 'logo-pourcentage-mini.svg',
875
+ // hiddenPages: [],
876
+ // recaptchaSecretKey: '6Le0o3kaAAAAAIEcSOib77JdK_W3cyIilK-p2yOG',
877
+ // urlApp: 'https://app.pourcentage.fr',
878
+ // urlApi1: 'https://api.pourcentage.fr',
879
+ // urlApi2: 'https://api-next.pourcentage.fr',
880
+ // urlExpert: 'https://pro.pourcentage.fr',
881
+ // urlClient: 'https://www.pourcentage.fr',
882
+ // bank: {
883
+ // IBAN: 'FR7616106010019601826952765',
884
+ // BIC: 'AGRIFRPP861',
885
+ // Name: 'POURCENTAGE',
886
+ // Id: 'FR57ZZZ878E61',
887
+ // },
888
+ // internalInvoicing: {
889
+ // statut: 'SASU',
890
+ // name: 'POURCENTAGE',
891
+ // address: '9, avenue du Rhin',
892
+ // zipCode: '54520',
893
+ // city: 'LAXOU',
894
+ // country: 'FRANCE',
895
+ // montantCapital: '150 000',
896
+ // siret: '89150118100020',
897
+ // ape: '6920Z',
898
+ // rcs: '891 501 181',
899
+ // phone: '01 86 90 82 15',
900
+ // vatIntracom: 'FR58891501181',
901
+ // email: 'facturation@pourcentage.fr',
902
+ // },
903
+ // webmail: {
904
+ // domain: '@pourcentage.fr',
905
+ // },
906
+ // },
907
907
  {
908
908
  idTypeBrand: 7,
909
909
  urlS3: 'https://s3.eu-west-3.amazonaws.com/resources-pourcentage/',
@@ -1,5 +1,5 @@
1
1
  import {
2
- IsIn, IsOptional, IsString, IsNumber, IsBoolean, IsInt, IsEnum, IsDateString,
2
+ IsIn, IsOptional, IsString, IsNumber, IsBoolean, IsInt, IsDateString,
3
3
  } from 'class-validator';
4
4
  import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
5
5
  import { GedFolder, GedFileType, GedCategory } from '../../../Enum/Ged';
@@ -103,7 +103,6 @@ export class UpdateOrCreateGedFile {
103
103
 
104
104
  export class QueryLibrarySociety extends RequiredQueryPaginate {
105
105
  @ApiProperty()
106
- @IsEnum(GedCategory, { each: true })
107
106
  idGedCategories: GedCategory[];
108
107
 
109
108
  @ApiPropertyOptional()
@@ -72,4 +72,32 @@ export const orderBy = (keys: any[], orders: any[]) => {
72
72
  }
73
73
  }
74
74
  return cb;
75
- };
75
+ };
76
+
77
+ // _.get() replacement
78
+ export type GetFieldType<Obj, Path> =
79
+ Path extends `${infer Left}.${infer Right}`
80
+ ? Left extends keyof Obj
81
+ ? GetFieldType<Obj[Left], Right>
82
+ : undefined
83
+ : Path extends keyof Obj
84
+ ? Obj[Path]
85
+ : undefined;
86
+ export function getValue<
87
+ TData,
88
+ TPath extends string,
89
+ TDefault = GetFieldType<TData, TPath>,
90
+ >(
91
+ data: TData,
92
+ path: TPath,
93
+ defaultValue?: TDefault,
94
+ ): GetFieldType<TData, TPath> | TDefault {
95
+ const value = path
96
+ .split(/[.[\]]/)
97
+ .filter(Boolean)
98
+ .reduce<GetFieldType<TData, TPath>>(
99
+ (v, key) => (v as any)?.[key],
100
+ data as any,
101
+ );
102
+ return value !== undefined ? value : (defaultValue as TDefault);
103
+ }