jamespot-front-business 1.1.96 → 1.1.97

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 (2) hide show
  1. package/dist/types.d.ts +395 -275
  2. package/package.json +2 -2
package/dist/types.d.ts CHANGED
@@ -12350,35 +12350,88 @@ declare const Faq: {
12350
12350
 
12351
12351
  declare const slice$1: _reduxjs_toolkit.Slice<{}, {
12352
12352
  initHooks: (_: Draft<S>, { payload }: PayloadAction<HookListType>) => {
12353
- DriveHook?: ({
12353
+ AdminAdvancedHook?: {
12354
12354
  isActive: boolean;
12355
- } & {
12356
- drives: Partial<Record<"drive_microsoft_graph" | "drive_dropbox" | "drive_google", boolean>>;
12357
- }) | undefined;
12358
- calendarHook?: ({
12355
+ sendAlert: boolean;
12356
+ } | undefined;
12357
+ AnimatedMeetingHook?: {
12358
+ color: string;
12359
+ description: string;
12360
+ create: boolean;
12361
+ label: string;
12362
+ icon: string;
12359
12363
  isActive: boolean;
12360
- } & {
12364
+ } | undefined;
12365
+ calendarHook?: {
12361
12366
  label: string;
12362
- }) | undefined;
12363
- FileBankHook?: ({
12364
12367
  isActive: boolean;
12365
- } & {
12368
+ } | undefined;
12369
+ DriveHook?: {
12370
+ isActive: boolean;
12371
+ drives: Partial<Record<"drive_microsoft_graph" | "drive_dropbox" | "drive_google", boolean>>;
12372
+ } | undefined;
12373
+ ExtraBotHook?: {
12374
+ create: boolean;
12375
+ label: string;
12376
+ isActive: boolean;
12377
+ } | undefined;
12378
+ FAQHook?: {
12379
+ isActive: boolean;
12380
+ manage: boolean;
12381
+ } | undefined;
12382
+ FileBankHook?: {
12383
+ isActive: boolean;
12366
12384
  orderBy: string;
12367
12385
  order: "ASC" | "DESC";
12368
- }) | undefined;
12369
- StudioHook?: ({
12386
+ } | undefined;
12387
+ JitsiHook?: {
12388
+ create: boolean;
12389
+ label: string;
12390
+ isActive: boolean;
12391
+ } | undefined;
12392
+ spotRssFeed?: {
12393
+ isActive: boolean;
12394
+ } | undefined;
12395
+ WidgetHook?: {
12396
+ create: boolean;
12397
+ isActive: boolean;
12398
+ autorize: ("message" | "article" | "comment" | "board" | undefined)[];
12399
+ } | undefined;
12400
+ } & {
12401
+ ExternalAppHook?: {
12370
12402
  isActive: boolean;
12371
- } & {
12372
12403
  hasLicense: boolean;
12373
- oldViewOptionProperty: boolean;
12374
- }) | undefined;
12375
- OnlyOfficeHook?: ({
12404
+ } | undefined;
12405
+ BigBlueButtonHook?: {
12406
+ label: string;
12376
12407
  isActive: boolean;
12377
- } & {
12408
+ hasLicense: boolean;
12409
+ } | undefined;
12410
+ MagicPadHook?: {
12411
+ label: string;
12412
+ isActive: boolean;
12413
+ hasLicense: boolean;
12414
+ } | undefined;
12415
+ MagicWandHook?: {
12416
+ label: string;
12417
+ isActive: boolean;
12418
+ hasLicense: boolean;
12419
+ menuItems: {
12420
+ type: string;
12421
+ text: string;
12422
+ actions: string;
12423
+ }[] | null;
12424
+ } | undefined;
12425
+ OfficeHook?: {
12426
+ label: string;
12427
+ isActive: boolean;
12428
+ hasLicense: boolean;
12429
+ } | undefined;
12430
+ OnlyOfficeHook?: {
12378
12431
  color: string;
12379
12432
  description: string;
12380
12433
  label: string;
12381
- hasLicense: boolean;
12434
+ isActive: boolean;
12382
12435
  templates: {
12383
12436
  color: string;
12384
12437
  description: string;
@@ -12386,54 +12439,25 @@ declare const slice$1: _reduxjs_toolkit.Slice<{}, {
12386
12439
  icon: string;
12387
12440
  extension: string;
12388
12441
  }[];
12389
- }) | undefined;
12390
- spotRssFeed?: {
12391
- isActive: boolean;
12442
+ hasLicense: boolean;
12392
12443
  } | undefined;
12393
- WidgetHook?: ({
12394
- isActive: boolean;
12395
- } & {
12396
- create: boolean;
12397
- autorize: ("message" | "article" | "comment" | "board" | undefined)[];
12398
- }) | undefined;
12399
- AdminAdvancedHook?: ({
12444
+ StudioHook?: {
12400
12445
  isActive: boolean;
12401
- } & {
12402
- sendAlert: boolean;
12403
- }) | undefined;
12404
- ExtraBotHook?: ({
12405
- isActive: boolean;
12406
- } & {
12407
- create: boolean;
12408
- label: string;
12409
- }) | undefined;
12410
- TwoFactorAuthenticationHook?: ({
12411
- isActive: boolean;
12412
- } & {
12446
+ hasLicense: boolean;
12447
+ oldViewOptionProperty: boolean;
12448
+ } | undefined;
12449
+ TwoFactorAuthenticationHook?: {
12413
12450
  name: string;
12414
12451
  isActive: boolean;
12415
12452
  hasLicense: boolean;
12416
12453
  providers: Partial<Record<"loginPassword" | "saml" | "oAuth", "no" | "optional" | "mandatory">>;
12417
12454
  banLifespan: number;
12418
- }) | undefined;
12419
- ExternalAppHook?: ({
12420
- isActive: boolean;
12421
- } & {
12422
- hasLicense: boolean;
12423
- }) | undefined;
12424
- } & {
12425
- MagicPadHook?: ({
12426
- isActive: boolean;
12427
- } & {
12455
+ } | undefined;
12456
+ VisioConnectHook?: {
12428
12457
  label: string;
12429
- hasLicense: boolean;
12430
- }) | undefined;
12431
- OfficeHook?: ({
12432
12458
  isActive: boolean;
12433
- } & {
12434
- label: string;
12435
12459
  hasLicense: boolean;
12436
- }) | undefined;
12460
+ } | undefined;
12437
12461
  };
12438
12462
  }, "hooks">;
12439
12463
  type HookRootState = {
@@ -12442,35 +12466,88 @@ type HookRootState = {
12442
12466
  declare const Hook: {
12443
12467
  slice: _reduxjs_toolkit.Slice<{}, {
12444
12468
  initHooks: (_: Draft<S>, { payload }: PayloadAction<HookListType>) => {
12445
- DriveHook?: ({
12469
+ AdminAdvancedHook?: {
12446
12470
  isActive: boolean;
12447
- } & {
12448
- drives: Partial<Record<"drive_microsoft_graph" | "drive_dropbox" | "drive_google", boolean>>;
12449
- }) | undefined;
12450
- calendarHook?: ({
12471
+ sendAlert: boolean;
12472
+ } | undefined;
12473
+ AnimatedMeetingHook?: {
12474
+ color: string;
12475
+ description: string;
12476
+ create: boolean;
12477
+ label: string;
12478
+ icon: string;
12451
12479
  isActive: boolean;
12452
- } & {
12480
+ } | undefined;
12481
+ calendarHook?: {
12453
12482
  label: string;
12454
- }) | undefined;
12455
- FileBankHook?: ({
12456
12483
  isActive: boolean;
12457
- } & {
12484
+ } | undefined;
12485
+ DriveHook?: {
12486
+ isActive: boolean;
12487
+ drives: Partial<Record<"drive_microsoft_graph" | "drive_dropbox" | "drive_google", boolean>>;
12488
+ } | undefined;
12489
+ ExtraBotHook?: {
12490
+ create: boolean;
12491
+ label: string;
12492
+ isActive: boolean;
12493
+ } | undefined;
12494
+ FAQHook?: {
12495
+ isActive: boolean;
12496
+ manage: boolean;
12497
+ } | undefined;
12498
+ FileBankHook?: {
12499
+ isActive: boolean;
12458
12500
  orderBy: string;
12459
12501
  order: "ASC" | "DESC";
12460
- }) | undefined;
12461
- StudioHook?: ({
12502
+ } | undefined;
12503
+ JitsiHook?: {
12504
+ create: boolean;
12505
+ label: string;
12506
+ isActive: boolean;
12507
+ } | undefined;
12508
+ spotRssFeed?: {
12509
+ isActive: boolean;
12510
+ } | undefined;
12511
+ WidgetHook?: {
12512
+ create: boolean;
12513
+ isActive: boolean;
12514
+ autorize: ("message" | "article" | "comment" | "board" | undefined)[];
12515
+ } | undefined;
12516
+ } & {
12517
+ ExternalAppHook?: {
12462
12518
  isActive: boolean;
12463
- } & {
12464
12519
  hasLicense: boolean;
12465
- oldViewOptionProperty: boolean;
12466
- }) | undefined;
12467
- OnlyOfficeHook?: ({
12520
+ } | undefined;
12521
+ BigBlueButtonHook?: {
12522
+ label: string;
12468
12523
  isActive: boolean;
12469
- } & {
12524
+ hasLicense: boolean;
12525
+ } | undefined;
12526
+ MagicPadHook?: {
12527
+ label: string;
12528
+ isActive: boolean;
12529
+ hasLicense: boolean;
12530
+ } | undefined;
12531
+ MagicWandHook?: {
12532
+ label: string;
12533
+ isActive: boolean;
12534
+ hasLicense: boolean;
12535
+ menuItems: {
12536
+ type: string;
12537
+ text: string;
12538
+ actions: string;
12539
+ }[] | null;
12540
+ } | undefined;
12541
+ OfficeHook?: {
12542
+ label: string;
12543
+ isActive: boolean;
12544
+ hasLicense: boolean;
12545
+ } | undefined;
12546
+ OnlyOfficeHook?: {
12470
12547
  color: string;
12471
12548
  description: string;
12472
12549
  label: string;
12473
- hasLicense: boolean;
12550
+ isActive: boolean;
12474
12551
  templates: {
12475
12552
  color: string;
12476
12553
  description: string;
@@ -12478,87 +12555,111 @@ declare const Hook: {
12478
12555
  icon: string;
12479
12556
  extension: string;
12480
12557
  }[];
12481
- }) | undefined;
12482
- spotRssFeed?: {
12483
- isActive: boolean;
12558
+ hasLicense: boolean;
12484
12559
  } | undefined;
12485
- WidgetHook?: ({
12560
+ StudioHook?: {
12486
12561
  isActive: boolean;
12487
- } & {
12488
- create: boolean;
12489
- autorize: ("message" | "article" | "comment" | "board" | undefined)[];
12490
- }) | undefined;
12491
- AdminAdvancedHook?: ({
12492
- isActive: boolean;
12493
- } & {
12494
- sendAlert: boolean;
12495
- }) | undefined;
12496
- ExtraBotHook?: ({
12497
- isActive: boolean;
12498
- } & {
12499
- create: boolean;
12500
- label: string;
12501
- }) | undefined;
12502
- TwoFactorAuthenticationHook?: ({
12503
- isActive: boolean;
12504
- } & {
12562
+ hasLicense: boolean;
12563
+ oldViewOptionProperty: boolean;
12564
+ } | undefined;
12565
+ TwoFactorAuthenticationHook?: {
12505
12566
  name: string;
12506
12567
  isActive: boolean;
12507
12568
  hasLicense: boolean;
12508
12569
  providers: Partial<Record<"loginPassword" | "saml" | "oAuth", "no" | "optional" | "mandatory">>;
12509
12570
  banLifespan: number;
12510
- }) | undefined;
12511
- ExternalAppHook?: ({
12512
- isActive: boolean;
12513
- } & {
12514
- hasLicense: boolean;
12515
- }) | undefined;
12516
- } & {
12517
- MagicPadHook?: ({
12518
- isActive: boolean;
12519
- } & {
12571
+ } | undefined;
12572
+ VisioConnectHook?: {
12520
12573
  label: string;
12521
- hasLicense: boolean;
12522
- }) | undefined;
12523
- OfficeHook?: ({
12524
12574
  isActive: boolean;
12525
- } & {
12526
- label: string;
12527
12575
  hasLicense: boolean;
12528
- }) | undefined;
12576
+ } | undefined;
12529
12577
  };
12530
12578
  }, "hooks">;
12531
12579
  actions: _reduxjs_toolkit.CaseReducerActions<{
12532
12580
  initHooks: (_: Draft<S>, { payload }: PayloadAction<HookListType>) => {
12533
- DriveHook?: ({
12581
+ AdminAdvancedHook?: {
12534
12582
  isActive: boolean;
12535
- } & {
12536
- drives: Partial<Record<"drive_microsoft_graph" | "drive_dropbox" | "drive_google", boolean>>;
12537
- }) | undefined;
12538
- calendarHook?: ({
12583
+ sendAlert: boolean;
12584
+ } | undefined;
12585
+ AnimatedMeetingHook?: {
12586
+ color: string;
12587
+ description: string;
12588
+ create: boolean;
12589
+ label: string;
12590
+ icon: string;
12539
12591
  isActive: boolean;
12540
- } & {
12592
+ } | undefined;
12593
+ calendarHook?: {
12541
12594
  label: string;
12542
- }) | undefined;
12543
- FileBankHook?: ({
12544
12595
  isActive: boolean;
12545
- } & {
12596
+ } | undefined;
12597
+ DriveHook?: {
12598
+ isActive: boolean;
12599
+ drives: Partial<Record<"drive_microsoft_graph" | "drive_dropbox" | "drive_google", boolean>>;
12600
+ } | undefined;
12601
+ ExtraBotHook?: {
12602
+ create: boolean;
12603
+ label: string;
12604
+ isActive: boolean;
12605
+ } | undefined;
12606
+ FAQHook?: {
12607
+ isActive: boolean;
12608
+ manage: boolean;
12609
+ } | undefined;
12610
+ FileBankHook?: {
12611
+ isActive: boolean;
12546
12612
  orderBy: string;
12547
12613
  order: "ASC" | "DESC";
12548
- }) | undefined;
12549
- StudioHook?: ({
12614
+ } | undefined;
12615
+ JitsiHook?: {
12616
+ create: boolean;
12617
+ label: string;
12618
+ isActive: boolean;
12619
+ } | undefined;
12620
+ spotRssFeed?: {
12621
+ isActive: boolean;
12622
+ } | undefined;
12623
+ WidgetHook?: {
12624
+ create: boolean;
12625
+ isActive: boolean;
12626
+ autorize: ("message" | "article" | "comment" | "board" | undefined)[];
12627
+ } | undefined;
12628
+ } & {
12629
+ ExternalAppHook?: {
12550
12630
  isActive: boolean;
12551
- } & {
12552
12631
  hasLicense: boolean;
12553
- oldViewOptionProperty: boolean;
12554
- }) | undefined;
12555
- OnlyOfficeHook?: ({
12632
+ } | undefined;
12633
+ BigBlueButtonHook?: {
12634
+ label: string;
12556
12635
  isActive: boolean;
12557
- } & {
12636
+ hasLicense: boolean;
12637
+ } | undefined;
12638
+ MagicPadHook?: {
12639
+ label: string;
12640
+ isActive: boolean;
12641
+ hasLicense: boolean;
12642
+ } | undefined;
12643
+ MagicWandHook?: {
12644
+ label: string;
12645
+ isActive: boolean;
12646
+ hasLicense: boolean;
12647
+ menuItems: {
12648
+ type: string;
12649
+ text: string;
12650
+ actions: string;
12651
+ }[] | null;
12652
+ } | undefined;
12653
+ OfficeHook?: {
12654
+ label: string;
12655
+ isActive: boolean;
12656
+ hasLicense: boolean;
12657
+ } | undefined;
12658
+ OnlyOfficeHook?: {
12558
12659
  color: string;
12559
12660
  description: string;
12560
12661
  label: string;
12561
- hasLicense: boolean;
12662
+ isActive: boolean;
12562
12663
  templates: {
12563
12664
  color: string;
12564
12665
  description: string;
@@ -12566,87 +12667,111 @@ declare const Hook: {
12566
12667
  icon: string;
12567
12668
  extension: string;
12568
12669
  }[];
12569
- }) | undefined;
12570
- spotRssFeed?: {
12571
- isActive: boolean;
12670
+ hasLicense: boolean;
12572
12671
  } | undefined;
12573
- WidgetHook?: ({
12574
- isActive: boolean;
12575
- } & {
12576
- create: boolean;
12577
- autorize: ("message" | "article" | "comment" | "board" | undefined)[];
12578
- }) | undefined;
12579
- AdminAdvancedHook?: ({
12672
+ StudioHook?: {
12580
12673
  isActive: boolean;
12581
- } & {
12582
- sendAlert: boolean;
12583
- }) | undefined;
12584
- ExtraBotHook?: ({
12585
- isActive: boolean;
12586
- } & {
12587
- create: boolean;
12588
- label: string;
12589
- }) | undefined;
12590
- TwoFactorAuthenticationHook?: ({
12591
- isActive: boolean;
12592
- } & {
12674
+ hasLicense: boolean;
12675
+ oldViewOptionProperty: boolean;
12676
+ } | undefined;
12677
+ TwoFactorAuthenticationHook?: {
12593
12678
  name: string;
12594
12679
  isActive: boolean;
12595
12680
  hasLicense: boolean;
12596
12681
  providers: Partial<Record<"loginPassword" | "saml" | "oAuth", "no" | "optional" | "mandatory">>;
12597
12682
  banLifespan: number;
12598
- }) | undefined;
12599
- ExternalAppHook?: ({
12600
- isActive: boolean;
12601
- } & {
12602
- hasLicense: boolean;
12603
- }) | undefined;
12604
- } & {
12605
- MagicPadHook?: ({
12606
- isActive: boolean;
12607
- } & {
12683
+ } | undefined;
12684
+ VisioConnectHook?: {
12608
12685
  label: string;
12609
- hasLicense: boolean;
12610
- }) | undefined;
12611
- OfficeHook?: ({
12612
12686
  isActive: boolean;
12613
- } & {
12614
- label: string;
12615
12687
  hasLicense: boolean;
12616
- }) | undefined;
12688
+ } | undefined;
12617
12689
  };
12618
12690
  }, "hooks">;
12619
12691
  selectors: {
12620
12692
  selectHooks: (state: HookRootState) => {
12621
- DriveHook?: ({
12693
+ AdminAdvancedHook?: {
12622
12694
  isActive: boolean;
12623
- } & {
12624
- drives: Partial<Record<"drive_microsoft_graph" | "drive_dropbox" | "drive_google", boolean>>;
12625
- }) | undefined;
12626
- calendarHook?: ({
12695
+ sendAlert: boolean;
12696
+ } | undefined;
12697
+ AnimatedMeetingHook?: {
12698
+ color: string;
12699
+ description: string;
12700
+ create: boolean;
12701
+ label: string;
12702
+ icon: string;
12627
12703
  isActive: boolean;
12628
- } & {
12704
+ } | undefined;
12705
+ calendarHook?: {
12629
12706
  label: string;
12630
- }) | undefined;
12631
- FileBankHook?: ({
12632
12707
  isActive: boolean;
12633
- } & {
12708
+ } | undefined;
12709
+ DriveHook?: {
12710
+ isActive: boolean;
12711
+ drives: Partial<Record<"drive_microsoft_graph" | "drive_dropbox" | "drive_google", boolean>>;
12712
+ } | undefined;
12713
+ ExtraBotHook?: {
12714
+ create: boolean;
12715
+ label: string;
12716
+ isActive: boolean;
12717
+ } | undefined;
12718
+ FAQHook?: {
12719
+ isActive: boolean;
12720
+ manage: boolean;
12721
+ } | undefined;
12722
+ FileBankHook?: {
12723
+ isActive: boolean;
12634
12724
  orderBy: string;
12635
12725
  order: "ASC" | "DESC";
12636
- }) | undefined;
12637
- StudioHook?: ({
12726
+ } | undefined;
12727
+ JitsiHook?: {
12728
+ create: boolean;
12729
+ label: string;
12730
+ isActive: boolean;
12731
+ } | undefined;
12732
+ spotRssFeed?: {
12733
+ isActive: boolean;
12734
+ } | undefined;
12735
+ WidgetHook?: {
12736
+ create: boolean;
12737
+ isActive: boolean;
12738
+ autorize: ("message" | "article" | "comment" | "board" | undefined)[];
12739
+ } | undefined;
12740
+ } & {
12741
+ ExternalAppHook?: {
12638
12742
  isActive: boolean;
12639
- } & {
12640
12743
  hasLicense: boolean;
12641
- oldViewOptionProperty: boolean;
12642
- }) | undefined;
12643
- OnlyOfficeHook?: ({
12744
+ } | undefined;
12745
+ BigBlueButtonHook?: {
12746
+ label: string;
12644
12747
  isActive: boolean;
12645
- } & {
12748
+ hasLicense: boolean;
12749
+ } | undefined;
12750
+ MagicPadHook?: {
12751
+ label: string;
12752
+ isActive: boolean;
12753
+ hasLicense: boolean;
12754
+ } | undefined;
12755
+ MagicWandHook?: {
12756
+ label: string;
12757
+ isActive: boolean;
12758
+ hasLicense: boolean;
12759
+ menuItems: {
12760
+ type: string;
12761
+ text: string;
12762
+ actions: string;
12763
+ }[] | null;
12764
+ } | undefined;
12765
+ OfficeHook?: {
12766
+ label: string;
12767
+ isActive: boolean;
12768
+ hasLicense: boolean;
12769
+ } | undefined;
12770
+ OnlyOfficeHook?: {
12646
12771
  color: string;
12647
12772
  description: string;
12648
12773
  label: string;
12649
- hasLicense: boolean;
12774
+ isActive: boolean;
12650
12775
  templates: {
12651
12776
  color: string;
12652
12777
  description: string;
@@ -12654,85 +12779,109 @@ declare const Hook: {
12654
12779
  icon: string;
12655
12780
  extension: string;
12656
12781
  }[];
12657
- }) | undefined;
12658
- spotRssFeed?: {
12659
- isActive: boolean;
12782
+ hasLicense: boolean;
12660
12783
  } | undefined;
12661
- WidgetHook?: ({
12784
+ StudioHook?: {
12662
12785
  isActive: boolean;
12663
- } & {
12664
- create: boolean;
12665
- autorize: ("message" | "article" | "comment" | "board" | undefined)[];
12666
- }) | undefined;
12667
- AdminAdvancedHook?: ({
12668
- isActive: boolean;
12669
- } & {
12670
- sendAlert: boolean;
12671
- }) | undefined;
12672
- ExtraBotHook?: ({
12673
- isActive: boolean;
12674
- } & {
12675
- create: boolean;
12676
- label: string;
12677
- }) | undefined;
12678
- TwoFactorAuthenticationHook?: ({
12679
- isActive: boolean;
12680
- } & {
12786
+ hasLicense: boolean;
12787
+ oldViewOptionProperty: boolean;
12788
+ } | undefined;
12789
+ TwoFactorAuthenticationHook?: {
12681
12790
  name: string;
12682
12791
  isActive: boolean;
12683
12792
  hasLicense: boolean;
12684
12793
  providers: Partial<Record<"loginPassword" | "saml" | "oAuth", "no" | "optional" | "mandatory">>;
12685
12794
  banLifespan: number;
12686
- }) | undefined;
12687
- ExternalAppHook?: ({
12795
+ } | undefined;
12796
+ VisioConnectHook?: {
12797
+ label: string;
12688
12798
  isActive: boolean;
12689
- } & {
12690
12799
  hasLicense: boolean;
12691
- }) | undefined;
12692
- } & {
12693
- MagicPadHook?: ({
12800
+ } | undefined;
12801
+ };
12802
+ selectHook: <T extends "ExtraBotHook" | "AdminAdvancedHook" | "AnimatedMeetingHook" | "calendarHook" | "DriveHook" | "FAQHook" | "FileBankHook" | "JitsiHook" | "spotRssFeed" | "WidgetHook" | "ExternalAppHook" | "BigBlueButtonHook" | "MagicPadHook" | "MagicWandHook" | "OfficeHook" | "OnlyOfficeHook" | "StudioHook" | "TwoFactorAuthenticationHook" | "VisioConnectHook">(state: HookRootState, hook: T) => ({
12803
+ AdminAdvancedHook?: {
12694
12804
  isActive: boolean;
12695
- } & {
12805
+ sendAlert: boolean;
12806
+ } | undefined;
12807
+ AnimatedMeetingHook?: {
12808
+ color: string;
12809
+ description: string;
12810
+ create: boolean;
12696
12811
  label: string;
12697
- hasLicense: boolean;
12698
- }) | undefined;
12699
- OfficeHook?: ({
12812
+ icon: string;
12700
12813
  isActive: boolean;
12701
- } & {
12814
+ } | undefined;
12815
+ calendarHook?: {
12702
12816
  label: string;
12703
- hasLicense: boolean;
12704
- }) | undefined;
12705
- };
12706
- selectHook: <T extends "ExtraBotHook" | "DriveHook" | "calendarHook" | "FileBankHook" | "StudioHook" | "OnlyOfficeHook" | "spotRssFeed" | "WidgetHook" | "AdminAdvancedHook" | "TwoFactorAuthenticationHook" | "ExternalAppHook" | "MagicPadHook" | "OfficeHook">(state: HookRootState, hook: T) => ({
12707
- DriveHook?: ({
12708
12817
  isActive: boolean;
12709
- } & {
12710
- drives: Partial<Record<"drive_microsoft_graph" | "drive_dropbox" | "drive_google", boolean>>;
12711
- }) | undefined;
12712
- calendarHook?: ({
12818
+ } | undefined;
12819
+ DriveHook?: {
12713
12820
  isActive: boolean;
12714
- } & {
12821
+ drives: Partial<Record<"drive_microsoft_graph" | "drive_dropbox" | "drive_google", boolean>>;
12822
+ } | undefined;
12823
+ ExtraBotHook?: {
12824
+ create: boolean;
12715
12825
  label: string;
12716
- }) | undefined;
12717
- FileBankHook?: ({
12718
12826
  isActive: boolean;
12719
- } & {
12827
+ } | undefined;
12828
+ FAQHook?: {
12829
+ isActive: boolean;
12830
+ manage: boolean;
12831
+ } | undefined;
12832
+ FileBankHook?: {
12833
+ isActive: boolean;
12720
12834
  orderBy: string;
12721
12835
  order: "ASC" | "DESC";
12722
- }) | undefined;
12723
- StudioHook?: ({
12836
+ } | undefined;
12837
+ JitsiHook?: {
12838
+ create: boolean;
12839
+ label: string;
12840
+ isActive: boolean;
12841
+ } | undefined;
12842
+ spotRssFeed?: {
12843
+ isActive: boolean;
12844
+ } | undefined;
12845
+ WidgetHook?: {
12846
+ create: boolean;
12847
+ isActive: boolean;
12848
+ autorize: ("message" | "article" | "comment" | "board" | undefined)[];
12849
+ } | undefined;
12850
+ } & {
12851
+ ExternalAppHook?: {
12724
12852
  isActive: boolean;
12725
- } & {
12726
12853
  hasLicense: boolean;
12727
- oldViewOptionProperty: boolean;
12728
- }) | undefined;
12729
- OnlyOfficeHook?: ({
12854
+ } | undefined;
12855
+ BigBlueButtonHook?: {
12856
+ label: string;
12730
12857
  isActive: boolean;
12731
- } & {
12858
+ hasLicense: boolean;
12859
+ } | undefined;
12860
+ MagicPadHook?: {
12861
+ label: string;
12862
+ isActive: boolean;
12863
+ hasLicense: boolean;
12864
+ } | undefined;
12865
+ MagicWandHook?: {
12866
+ label: string;
12867
+ isActive: boolean;
12868
+ hasLicense: boolean;
12869
+ menuItems: {
12870
+ type: string;
12871
+ text: string;
12872
+ actions: string;
12873
+ }[] | null;
12874
+ } | undefined;
12875
+ OfficeHook?: {
12876
+ label: string;
12877
+ isActive: boolean;
12878
+ hasLicense: boolean;
12879
+ } | undefined;
12880
+ OnlyOfficeHook?: {
12732
12881
  color: string;
12733
12882
  description: string;
12734
12883
  label: string;
12735
- hasLicense: boolean;
12884
+ isActive: boolean;
12736
12885
  templates: {
12737
12886
  color: string;
12738
12887
  description: string;
@@ -12740,56 +12889,27 @@ declare const Hook: {
12740
12889
  icon: string;
12741
12890
  extension: string;
12742
12891
  }[];
12743
- }) | undefined;
12744
- spotRssFeed?: {
12745
- isActive: boolean;
12892
+ hasLicense: boolean;
12746
12893
  } | undefined;
12747
- WidgetHook?: ({
12748
- isActive: boolean;
12749
- } & {
12750
- create: boolean;
12751
- autorize: ("message" | "article" | "comment" | "board" | undefined)[];
12752
- }) | undefined;
12753
- AdminAdvancedHook?: ({
12754
- isActive: boolean;
12755
- } & {
12756
- sendAlert: boolean;
12757
- }) | undefined;
12758
- ExtraBotHook?: ({
12894
+ StudioHook?: {
12759
12895
  isActive: boolean;
12760
- } & {
12761
- create: boolean;
12762
- label: string;
12763
- }) | undefined;
12764
- TwoFactorAuthenticationHook?: ({
12765
- isActive: boolean;
12766
- } & {
12896
+ hasLicense: boolean;
12897
+ oldViewOptionProperty: boolean;
12898
+ } | undefined;
12899
+ TwoFactorAuthenticationHook?: {
12767
12900
  name: string;
12768
12901
  isActive: boolean;
12769
12902
  hasLicense: boolean;
12770
12903
  providers: Partial<Record<"loginPassword" | "saml" | "oAuth", "no" | "optional" | "mandatory">>;
12771
12904
  banLifespan: number;
12772
- }) | undefined;
12773
- ExternalAppHook?: ({
12774
- isActive: boolean;
12775
- } & {
12776
- hasLicense: boolean;
12777
- }) | undefined;
12778
- } & {
12779
- MagicPadHook?: ({
12780
- isActive: boolean;
12781
- } & {
12905
+ } | undefined;
12906
+ VisioConnectHook?: {
12782
12907
  label: string;
12783
- hasLicense: boolean;
12784
- }) | undefined;
12785
- OfficeHook?: ({
12786
12908
  isActive: boolean;
12787
- } & {
12788
- label: string;
12789
12909
  hasLicense: boolean;
12790
- }) | undefined;
12910
+ } | undefined;
12791
12911
  })[T] | undefined;
12792
- hasHookLicense: <T_1 extends "MagicPadHook" | "OfficeHook">(state: HookRootState, hook: T_1) => boolean;
12912
+ hasHookLicense: <T_1 extends "ExternalAppHook" | "BigBlueButtonHook" | "MagicPadHook" | "MagicWandHook" | "OfficeHook" | "OnlyOfficeHook" | "StudioHook" | "TwoFactorAuthenticationHook" | "VisioConnectHook">(state: HookRootState, hook: T_1) => boolean;
12793
12913
  };
12794
12914
  utils: {
12795
12915
  buildDrivesArrayFromObject: (drives: Partial<Record<"drive_microsoft_graph" | "drive_dropbox" | "drive_google", boolean>> | undefined) => string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jamespot-front-business",
3
- "version": "1.1.96",
3
+ "version": "1.1.97",
4
4
  "description": "typescript utils",
5
5
  "main": "dist/cjs.js",
6
6
  "module": "dist/esm.js",
@@ -43,7 +43,7 @@
43
43
  "dependencies": {
44
44
  "@reduxjs/toolkit": "1.9.0",
45
45
  "@types/uuid": "^10.0.0",
46
- "jamespot-user-api": "^1.0.224",
46
+ "jamespot-user-api": "^1.0.225",
47
47
  "react-redux": "7.2.9",
48
48
  "redux": "4.2.0",
49
49
  "uuid": "^10.0.0"