jamespot-user-api 1.0.201 → 1.0.203

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 (113) hide show
  1. package/documentation/assets/search.js +1 -1
  2. package/documentation/classes/AdminLicenseApi.html +14 -14
  3. package/documentation/classes/AdminStoreApi.html +1 -1
  4. package/documentation/classes/AdminUtilsApi.html +1 -1
  5. package/documentation/classes/JApplicationApi.html +8 -8
  6. package/documentation/classes/JArticleApi.html +1 -1
  7. package/documentation/classes/JAssetReservation.html +1 -1
  8. package/documentation/classes/JAudienceApi.html +2 -2
  9. package/documentation/classes/JBaseApi.html +1 -1
  10. package/documentation/classes/JBbbApi.html +1 -1
  11. package/documentation/classes/JBookmarkApi.html +1 -1
  12. package/documentation/classes/JBusinessNetworkingApi.html +1 -1
  13. package/documentation/classes/JCalendarApi.html +1 -0
  14. package/documentation/classes/JCommunityApi.html +1 -1
  15. package/documentation/classes/JDatasourceApi.html +1 -1
  16. package/documentation/classes/JDiapazoneApi.html +1 -1
  17. package/documentation/classes/JExternalAppApi.html +1 -0
  18. package/documentation/classes/JFaqApi.html +1 -1
  19. package/documentation/classes/JFileApi.html +5 -5
  20. package/documentation/classes/JFilebankApi.html +1 -1
  21. package/documentation/classes/JGlobalApi.html +1 -1
  22. package/documentation/classes/JGroupApi.html +12 -12
  23. package/documentation/classes/JIAApi.html +1 -1
  24. package/documentation/classes/JLandApi.html +1 -1
  25. package/documentation/classes/JMessengerApi.html +1 -1
  26. package/documentation/classes/JModuleApi.html +1 -0
  27. package/documentation/classes/JObjectApi.html +1 -1
  28. package/documentation/classes/JSearchApi.html +6 -6
  29. package/documentation/classes/JShareApi.html +1 -1
  30. package/documentation/classes/JSocialActionApi.html +1 -1
  31. package/documentation/classes/JTaxonomyApi.html +2 -2
  32. package/documentation/classes/JUserApi.html +7 -7
  33. package/documentation/classes/JWedocApi.html +1 -1
  34. package/documentation/classes/JWidgetApi.html +1 -1
  35. package/documentation/classes/JamespotUserApi.html +1 -1
  36. package/documentation/classes/Network.html +1 -1
  37. package/documentation/classes/TVDisplayApi.html +1 -1
  38. package/documentation/classes/WindowBrowser.html +1 -1
  39. package/documentation/enums/BookmarkType.html +1 -1
  40. package/documentation/enums/Format.html +1 -1
  41. package/documentation/enums/GroupModerateStatus.html +1 -1
  42. package/documentation/enums/StudioApplicationStatus.html +1 -1
  43. package/documentation/enums/WidgetsName.html +1 -1
  44. package/documentation/index.html +1 -1
  45. package/documentation/interfaces/AccessRightObject.html +1 -1
  46. package/documentation/interfaces/ApiDefaultWrapper.html +1 -1
  47. package/documentation/interfaces/ApiWrapper.html +1 -1
  48. package/documentation/interfaces/BaseMessage.html +1 -1
  49. package/documentation/interfaces/FileBankProps.html +1 -1
  50. package/documentation/interfaces/FolderProps.html +1 -1
  51. package/documentation/interfaces/ListFilterSpec.html +1 -1
  52. package/documentation/interfaces/OF.html +1 -1
  53. package/documentation/interfaces/PagingResults.html +1 -1
  54. package/documentation/interfaces/RootFolderProps.html +1 -1
  55. package/documentation/interfaces/SpotProps.html +1 -1
  56. package/documentation/interfaces/TaxonomyCreate.html +1 -1
  57. package/documentation/interfaces/WidgetType.html +1 -1
  58. package/documentation/interfaces/WindowInterface.html +1 -1
  59. package/documentation/modules.html +11 -11
  60. package/jest.config.ts +2 -2
  61. package/lib/jamespot-user-api.js +1 -1
  62. package/lib/jamespot-user-api.js.map +1 -1
  63. package/lib/src/apis/application/types.d.ts +1 -1
  64. package/lib/src/apis/article/article.mock.d.ts +8 -1
  65. package/lib/src/apis/bbb/bbb.d.ts +3 -0
  66. package/lib/src/apis/calendar/calendar.d.ts +18 -0
  67. package/lib/src/apis/calendar/calendar.mock.d.ts +4 -0
  68. package/lib/src/apis/calendar/calendar.test.d.ts +1 -0
  69. package/lib/src/apis/externalApp/externalApp.d.ts +13 -0
  70. package/lib/src/apis/externalApp/externalApp.mock.d.ts +4 -0
  71. package/lib/src/apis/externalApp/externalApp.test.d.ts +1 -0
  72. package/lib/src/apis/index.d.ts +3 -0
  73. package/lib/src/apis/jamespotUserApi.d.ts +6 -0
  74. package/lib/src/apis/module/module.d.ts +13 -0
  75. package/lib/src/apis/module/module.mock.d.ts +4 -0
  76. package/lib/src/apis/module/module.test.d.ts +1 -0
  77. package/lib/src/apis/user/user.d.ts +15 -4
  78. package/lib/src/apis/user/user.mock.d.ts +2 -1
  79. package/lib/src/apis/widget/widget.mock.d.ts +4 -2
  80. package/lib/src/types/animations.d.ts +4 -4
  81. package/lib/src/types/autocomplete.d.ts +6 -0
  82. package/lib/src/types/calendar.d.ts +83 -0
  83. package/lib/src/types/externalApp.d.ts +13 -0
  84. package/lib/src/types/faq.d.ts +5 -0
  85. package/lib/src/types/index.d.ts +3 -0
  86. package/lib/src/types/mediaLibrary.d.ts +5 -0
  87. package/lib/src/types/meeting.d.ts +105 -0
  88. package/lib/src/types/module.d.ts +17 -0
  89. package/lib/src/types/search.d.ts +139 -22
  90. package/lib/src/types/socialEvent.d.ts +105 -0
  91. package/lib/src/types/widgets.d.ts +5 -0
  92. package/package.json +1 -1
  93. package/phpunitMock/articleGetRead-default.json +10 -0
  94. package/phpunitMock/autocompleteUser-a.json +8 -4
  95. package/phpunitMock/bigBlueButtonVideoRecordingDelete-default.json +1 -0
  96. package/phpunitMock/calendarGetEvents-spot.json +24 -0
  97. package/phpunitMock/calendarGetEvents-user.json +24 -0
  98. package/phpunitMock/calendarGetLastEvents-raw-list.json +205 -0
  99. package/phpunitMock/externalAppList-default.json +21 -0
  100. package/phpunitMock/externalAppSave-default.json +19 -0
  101. package/phpunitMock/moduleGetConfiguration-DigitalDeskHook.json +45 -0
  102. package/phpunitMock/moduleSetConfiguration-DigitalDeskHook.json +1 -0
  103. package/phpunitMock/studioGet-install-V2.json +1 -1
  104. package/phpunitMock/studioInstall-V2.json +1 -1
  105. package/phpunitMock/studioList-install-V2.json +1 -1
  106. package/phpunitMock/studioList-testUserApiList.json +1 -1
  107. package/phpunitMock/studioRestart-V2.json +1 -1
  108. package/phpunitMock/studioSuspend-V2.json +1 -1
  109. package/phpunitMock/userGetSpots-rawLittle.json +32 -0
  110. package/phpunitMock/widgetQuickSurveyRespond-default.json +1 -0
  111. package/phpunitMock/widgetResponseUserList-default.json +118 -0
  112. package/phpunitMock/widgetUpdateWidget-quickSurvey.json +16 -6
  113. package/phpunitMock/widgetUpdateWidget-checkList.json +0 -23
@@ -428,28 +428,42 @@ export type SearchConfig = z.infer<typeof searchConfigSchema>;
428
428
  export declare const searchResultPropsAppSchema: z.ZodObject<{
429
429
  name: z.ZodString;
430
430
  title: z.ZodString;
431
- icon: z.ZodString;
431
+ img: z.ZodString;
432
+ icon: z.ZodOptional<z.ZodString>;
433
+ color: z.ZodOptional<z.ZodString>;
434
+ urlTarget: z.ZodOptional<z.ZodEnum<["_blank"]>>;
435
+ urlNoReferrer: z.ZodOptional<z.ZodBoolean>;
432
436
  _url: z.ZodString;
433
437
  }, "strip", z.ZodTypeAny, {
434
438
  title: string;
435
439
  _url: string;
436
440
  name: string;
437
- icon: string;
441
+ img: string;
442
+ color?: string | undefined;
443
+ icon?: string | undefined;
444
+ urlTarget?: "_blank" | undefined;
445
+ urlNoReferrer?: boolean | undefined;
438
446
  }, {
439
447
  title: string;
440
448
  _url: string;
441
449
  name: string;
442
- icon: string;
450
+ img: string;
451
+ color?: string | undefined;
452
+ icon?: string | undefined;
453
+ urlTarget?: "_blank" | undefined;
454
+ urlNoReferrer?: boolean | undefined;
443
455
  }>;
444
456
  export type SearchResultPropsApp = z.infer<typeof searchResultPropsAppSchema>;
445
457
  export declare const searchResultPropsObjectSchema: z.ZodObject<{
446
458
  id: z.ZodOptional<z.ZodNumber>;
447
459
  title: z.ZodString;
448
- picture: z.ZodString;
460
+ picture: z.ZodOptional<z.ZodString>;
449
461
  uri: z.ZodString;
462
+ mainType: z.ZodString;
450
463
  type: z.ZodOptional<z.ZodString>;
451
464
  icon: z.ZodOptional<z.ZodString>;
452
465
  _cssColor: z.ZodOptional<z.ZodString>;
466
+ _cssClass: z.ZodOptional<z.ZodString>;
453
467
  _url: z.ZodOptional<z.ZodString>;
454
468
  idArticle: z.ZodOptional<z.ZodNumber>;
455
469
  _user: z.ZodOptional<z.ZodObject<{
@@ -460,16 +474,25 @@ export declare const searchResultPropsObjectSchema: z.ZodObject<{
460
474
  title: string;
461
475
  }>>;
462
476
  _values: z.ZodOptional<z.ZodObject<{
477
+ privacy: z.ZodOptional<z.ZodNumber>;
478
+ category: z.ZodOptional<z.ZodString>;
479
+ dateCreation: z.ZodString;
463
480
  dateModified: z.ZodString;
464
481
  }, "strip", z.ZodTypeAny, {
482
+ dateCreation: string;
465
483
  dateModified: string;
484
+ privacy?: number | undefined;
485
+ category?: string | undefined;
466
486
  }, {
487
+ dateCreation: string;
467
488
  dateModified: string;
489
+ privacy?: number | undefined;
490
+ category?: string | undefined;
468
491
  }>>;
469
492
  }, "strip", z.ZodTypeAny, {
493
+ mainType: string;
470
494
  uri: string;
471
495
  title: string;
472
- picture: string;
473
496
  type?: string | undefined;
474
497
  id?: number | undefined;
475
498
  _url?: string | undefined;
@@ -478,14 +501,19 @@ export declare const searchResultPropsObjectSchema: z.ZodObject<{
478
501
  } | undefined;
479
502
  icon?: string | undefined;
480
503
  _values?: {
504
+ dateCreation: string;
481
505
  dateModified: string;
506
+ privacy?: number | undefined;
507
+ category?: string | undefined;
482
508
  } | undefined;
483
509
  _cssColor?: string | undefined;
510
+ _cssClass?: string | undefined;
484
511
  idArticle?: number | undefined;
512
+ picture?: string | undefined;
485
513
  }, {
514
+ mainType: string;
486
515
  uri: string;
487
516
  title: string;
488
- picture: string;
489
517
  type?: string | undefined;
490
518
  id?: number | undefined;
491
519
  _url?: string | undefined;
@@ -494,10 +522,15 @@ export declare const searchResultPropsObjectSchema: z.ZodObject<{
494
522
  } | undefined;
495
523
  icon?: string | undefined;
496
524
  _values?: {
525
+ dateCreation: string;
497
526
  dateModified: string;
527
+ privacy?: number | undefined;
528
+ category?: string | undefined;
498
529
  } | undefined;
499
530
  _cssColor?: string | undefined;
531
+ _cssClass?: string | undefined;
500
532
  idArticle?: number | undefined;
533
+ picture?: string | undefined;
501
534
  }>;
502
535
  export type SearchResultPropsObject = z.infer<typeof searchResultPropsObjectSchema>;
503
536
  export declare const searchQuerySchema: z.ZodObject<{
@@ -760,26 +793,40 @@ export type SearchAdminConfig = any;
760
793
  export declare const searchResultPropsSchema: z.ZodUnion<[z.ZodObject<{
761
794
  name: z.ZodString;
762
795
  title: z.ZodString;
763
- icon: z.ZodString;
796
+ img: z.ZodString;
797
+ icon: z.ZodOptional<z.ZodString>;
798
+ color: z.ZodOptional<z.ZodString>;
799
+ urlTarget: z.ZodOptional<z.ZodEnum<["_blank"]>>;
800
+ urlNoReferrer: z.ZodOptional<z.ZodBoolean>;
764
801
  _url: z.ZodString;
765
802
  }, "strip", z.ZodTypeAny, {
766
803
  title: string;
767
804
  _url: string;
768
805
  name: string;
769
- icon: string;
806
+ img: string;
807
+ color?: string | undefined;
808
+ icon?: string | undefined;
809
+ urlTarget?: "_blank" | undefined;
810
+ urlNoReferrer?: boolean | undefined;
770
811
  }, {
771
812
  title: string;
772
813
  _url: string;
773
814
  name: string;
774
- icon: string;
815
+ img: string;
816
+ color?: string | undefined;
817
+ icon?: string | undefined;
818
+ urlTarget?: "_blank" | undefined;
819
+ urlNoReferrer?: boolean | undefined;
775
820
  }>, z.ZodObject<{
776
821
  id: z.ZodOptional<z.ZodNumber>;
777
822
  title: z.ZodString;
778
- picture: z.ZodString;
823
+ picture: z.ZodOptional<z.ZodString>;
779
824
  uri: z.ZodString;
825
+ mainType: z.ZodString;
780
826
  type: z.ZodOptional<z.ZodString>;
781
827
  icon: z.ZodOptional<z.ZodString>;
782
828
  _cssColor: z.ZodOptional<z.ZodString>;
829
+ _cssClass: z.ZodOptional<z.ZodString>;
783
830
  _url: z.ZodOptional<z.ZodString>;
784
831
  idArticle: z.ZodOptional<z.ZodNumber>;
785
832
  _user: z.ZodOptional<z.ZodObject<{
@@ -790,16 +837,25 @@ export declare const searchResultPropsSchema: z.ZodUnion<[z.ZodObject<{
790
837
  title: string;
791
838
  }>>;
792
839
  _values: z.ZodOptional<z.ZodObject<{
840
+ privacy: z.ZodOptional<z.ZodNumber>;
841
+ category: z.ZodOptional<z.ZodString>;
842
+ dateCreation: z.ZodString;
793
843
  dateModified: z.ZodString;
794
844
  }, "strip", z.ZodTypeAny, {
845
+ dateCreation: string;
795
846
  dateModified: string;
847
+ privacy?: number | undefined;
848
+ category?: string | undefined;
796
849
  }, {
850
+ dateCreation: string;
797
851
  dateModified: string;
852
+ privacy?: number | undefined;
853
+ category?: string | undefined;
798
854
  }>>;
799
855
  }, "strip", z.ZodTypeAny, {
856
+ mainType: string;
800
857
  uri: string;
801
858
  title: string;
802
- picture: string;
803
859
  type?: string | undefined;
804
860
  id?: number | undefined;
805
861
  _url?: string | undefined;
@@ -808,14 +864,19 @@ export declare const searchResultPropsSchema: z.ZodUnion<[z.ZodObject<{
808
864
  } | undefined;
809
865
  icon?: string | undefined;
810
866
  _values?: {
867
+ dateCreation: string;
811
868
  dateModified: string;
869
+ privacy?: number | undefined;
870
+ category?: string | undefined;
812
871
  } | undefined;
813
872
  _cssColor?: string | undefined;
873
+ _cssClass?: string | undefined;
814
874
  idArticle?: number | undefined;
875
+ picture?: string | undefined;
815
876
  }, {
877
+ mainType: string;
816
878
  uri: string;
817
879
  title: string;
818
- picture: string;
819
880
  type?: string | undefined;
820
881
  id?: number | undefined;
821
882
  _url?: string | undefined;
@@ -824,10 +885,15 @@ export declare const searchResultPropsSchema: z.ZodUnion<[z.ZodObject<{
824
885
  } | undefined;
825
886
  icon?: string | undefined;
826
887
  _values?: {
888
+ dateCreation: string;
827
889
  dateModified: string;
890
+ privacy?: number | undefined;
891
+ category?: string | undefined;
828
892
  } | undefined;
829
893
  _cssColor?: string | undefined;
894
+ _cssClass?: string | undefined;
830
895
  idArticle?: number | undefined;
896
+ picture?: string | undefined;
831
897
  }>]>;
832
898
  export type SearchResultProps = z.infer<typeof searchResultPropsSchema>;
833
899
  export declare const searchResultCatPropsSchema: z.ZodObject<{
@@ -837,26 +903,40 @@ export declare const searchResultCatPropsSchema: z.ZodObject<{
837
903
  results: z.ZodArray<z.ZodUnion<[z.ZodObject<{
838
904
  name: z.ZodString;
839
905
  title: z.ZodString;
840
- icon: z.ZodString;
906
+ img: z.ZodString;
907
+ icon: z.ZodOptional<z.ZodString>;
908
+ color: z.ZodOptional<z.ZodString>;
909
+ urlTarget: z.ZodOptional<z.ZodEnum<["_blank"]>>;
910
+ urlNoReferrer: z.ZodOptional<z.ZodBoolean>;
841
911
  _url: z.ZodString;
842
912
  }, "strip", z.ZodTypeAny, {
843
913
  title: string;
844
914
  _url: string;
845
915
  name: string;
846
- icon: string;
916
+ img: string;
917
+ color?: string | undefined;
918
+ icon?: string | undefined;
919
+ urlTarget?: "_blank" | undefined;
920
+ urlNoReferrer?: boolean | undefined;
847
921
  }, {
848
922
  title: string;
849
923
  _url: string;
850
924
  name: string;
851
- icon: string;
925
+ img: string;
926
+ color?: string | undefined;
927
+ icon?: string | undefined;
928
+ urlTarget?: "_blank" | undefined;
929
+ urlNoReferrer?: boolean | undefined;
852
930
  }>, z.ZodObject<{
853
931
  id: z.ZodOptional<z.ZodNumber>;
854
932
  title: z.ZodString;
855
- picture: z.ZodString;
933
+ picture: z.ZodOptional<z.ZodString>;
856
934
  uri: z.ZodString;
935
+ mainType: z.ZodString;
857
936
  type: z.ZodOptional<z.ZodString>;
858
937
  icon: z.ZodOptional<z.ZodString>;
859
938
  _cssColor: z.ZodOptional<z.ZodString>;
939
+ _cssClass: z.ZodOptional<z.ZodString>;
860
940
  _url: z.ZodOptional<z.ZodString>;
861
941
  idArticle: z.ZodOptional<z.ZodNumber>;
862
942
  _user: z.ZodOptional<z.ZodObject<{
@@ -867,16 +947,25 @@ export declare const searchResultCatPropsSchema: z.ZodObject<{
867
947
  title: string;
868
948
  }>>;
869
949
  _values: z.ZodOptional<z.ZodObject<{
950
+ privacy: z.ZodOptional<z.ZodNumber>;
951
+ category: z.ZodOptional<z.ZodString>;
952
+ dateCreation: z.ZodString;
870
953
  dateModified: z.ZodString;
871
954
  }, "strip", z.ZodTypeAny, {
955
+ dateCreation: string;
872
956
  dateModified: string;
957
+ privacy?: number | undefined;
958
+ category?: string | undefined;
873
959
  }, {
960
+ dateCreation: string;
874
961
  dateModified: string;
962
+ privacy?: number | undefined;
963
+ category?: string | undefined;
875
964
  }>>;
876
965
  }, "strip", z.ZodTypeAny, {
966
+ mainType: string;
877
967
  uri: string;
878
968
  title: string;
879
- picture: string;
880
969
  type?: string | undefined;
881
970
  id?: number | undefined;
882
971
  _url?: string | undefined;
@@ -885,14 +974,19 @@ export declare const searchResultCatPropsSchema: z.ZodObject<{
885
974
  } | undefined;
886
975
  icon?: string | undefined;
887
976
  _values?: {
977
+ dateCreation: string;
888
978
  dateModified: string;
979
+ privacy?: number | undefined;
980
+ category?: string | undefined;
889
981
  } | undefined;
890
982
  _cssColor?: string | undefined;
983
+ _cssClass?: string | undefined;
891
984
  idArticle?: number | undefined;
985
+ picture?: string | undefined;
892
986
  }, {
987
+ mainType: string;
893
988
  uri: string;
894
989
  title: string;
895
- picture: string;
896
990
  type?: string | undefined;
897
991
  id?: number | undefined;
898
992
  _url?: string | undefined;
@@ -901,10 +995,15 @@ export declare const searchResultCatPropsSchema: z.ZodObject<{
901
995
  } | undefined;
902
996
  icon?: string | undefined;
903
997
  _values?: {
998
+ dateCreation: string;
904
999
  dateModified: string;
1000
+ privacy?: number | undefined;
1001
+ category?: string | undefined;
905
1002
  } | undefined;
906
1003
  _cssColor?: string | undefined;
1004
+ _cssClass?: string | undefined;
907
1005
  idArticle?: number | undefined;
1006
+ picture?: string | undefined;
908
1007
  }>]>, "many">;
909
1008
  }, "strip", z.ZodTypeAny, {
910
1009
  id: string;
@@ -913,11 +1012,15 @@ export declare const searchResultCatPropsSchema: z.ZodObject<{
913
1012
  title: string;
914
1013
  _url: string;
915
1014
  name: string;
916
- icon: string;
1015
+ img: string;
1016
+ color?: string | undefined;
1017
+ icon?: string | undefined;
1018
+ urlTarget?: "_blank" | undefined;
1019
+ urlNoReferrer?: boolean | undefined;
917
1020
  } | {
1021
+ mainType: string;
918
1022
  uri: string;
919
1023
  title: string;
920
- picture: string;
921
1024
  type?: string | undefined;
922
1025
  id?: number | undefined;
923
1026
  _url?: string | undefined;
@@ -926,10 +1029,15 @@ export declare const searchResultCatPropsSchema: z.ZodObject<{
926
1029
  } | undefined;
927
1030
  icon?: string | undefined;
928
1031
  _values?: {
1032
+ dateCreation: string;
929
1033
  dateModified: string;
1034
+ privacy?: number | undefined;
1035
+ category?: string | undefined;
930
1036
  } | undefined;
931
1037
  _cssColor?: string | undefined;
1038
+ _cssClass?: string | undefined;
932
1039
  idArticle?: number | undefined;
1040
+ picture?: string | undefined;
933
1041
  })[];
934
1042
  showAll?: boolean | undefined;
935
1043
  }, {
@@ -939,11 +1047,15 @@ export declare const searchResultCatPropsSchema: z.ZodObject<{
939
1047
  title: string;
940
1048
  _url: string;
941
1049
  name: string;
942
- icon: string;
1050
+ img: string;
1051
+ color?: string | undefined;
1052
+ icon?: string | undefined;
1053
+ urlTarget?: "_blank" | undefined;
1054
+ urlNoReferrer?: boolean | undefined;
943
1055
  } | {
1056
+ mainType: string;
944
1057
  uri: string;
945
1058
  title: string;
946
- picture: string;
947
1059
  type?: string | undefined;
948
1060
  id?: number | undefined;
949
1061
  _url?: string | undefined;
@@ -952,10 +1064,15 @@ export declare const searchResultCatPropsSchema: z.ZodObject<{
952
1064
  } | undefined;
953
1065
  icon?: string | undefined;
954
1066
  _values?: {
1067
+ dateCreation: string;
955
1068
  dateModified: string;
1069
+ privacy?: number | undefined;
1070
+ category?: string | undefined;
956
1071
  } | undefined;
957
1072
  _cssColor?: string | undefined;
1073
+ _cssClass?: string | undefined;
958
1074
  idArticle?: number | undefined;
1075
+ picture?: string | undefined;
959
1076
  })[];
960
1077
  showAll?: boolean | undefined;
961
1078
  }>;
@@ -570,6 +570,111 @@ export declare const jSocialEventListSchema: z.ZodObject<z.objectUtil.extendShap
570
570
  } & import("./widgets").WidgetQuickSurveyType)>[] | undefined;
571
571
  }>;
572
572
  export type jSocialEventList = z.infer<typeof jSocialEventListSchema>;
573
+ export declare const ensureIsSocialEventList: (o: unknown) => o is {
574
+ type: string;
575
+ id: number;
576
+ mainType: string;
577
+ uri: string;
578
+ dateCreation: string;
579
+ dateModified: string;
580
+ title: string;
581
+ _url: string;
582
+ place: string;
583
+ _user: import("./objectBase").jObjectBase & {
584
+ title: string;
585
+ _url: string;
586
+ } & {
587
+ [key: string]: string | number | null;
588
+ level: 0 | 3 | 5 | 9;
589
+ dateCreation: string;
590
+ dateModified: string;
591
+ };
592
+ _right: import("./common").Rights;
593
+ dateStart: string;
594
+ dateEnd: string;
595
+ _audience: (import("./user").jUserLittle | {
596
+ type: string;
597
+ id: number;
598
+ mainType: string;
599
+ uri: string;
600
+ dateCreation: string;
601
+ dateModified: string;
602
+ title: string;
603
+ _url: string;
604
+ privacy: number;
605
+ category: number;
606
+ } | {
607
+ type: "folder" | "rootFolder";
608
+ id: number;
609
+ mainType: string;
610
+ uri: string;
611
+ title: string;
612
+ _url: string;
613
+ dateCreation?: string | undefined;
614
+ dateModified?: string | null | undefined;
615
+ folderColor?: string | undefined;
616
+ })[];
617
+ address: string;
618
+ noGestion: boolean;
619
+ description?: string | null | undefined;
620
+ image?: {
621
+ width: number;
622
+ height: number;
623
+ } | undefined;
624
+ articleWidgets?: import("./widgets").WidgetWrapperGeneric<({
625
+ layers?: string[] | undefined;
626
+ } & import("./widgets").WidgetArticleAttachmentType) | ({
627
+ layers?: string[] | undefined;
628
+ } & import("./widgets").WidgetArticleButtonType) | ({
629
+ layers?: string[] | undefined;
630
+ } & import("./widgets").WidgetArticleGalleryType) | ({
631
+ layers?: string[] | undefined;
632
+ } & import("./widgets").WidgetArticleImageType) | ({
633
+ layers?: string[] | undefined;
634
+ } & import("./widgets").WidgetArticleTitleType) | ({
635
+ layers?: string[] | undefined;
636
+ } & import("./widgets").WidgetArticleTextType) | ({
637
+ layers?: string[] | undefined;
638
+ } & import("./widgets").WidgetArticleSliderType) | ({
639
+ layers?: string[] | undefined;
640
+ } & import("./widgets").WidgetType<{
641
+ widgets?: import("./widgets").WidgetBaseType[] | undefined;
642
+ arr?: import("./widgets").WidgetCheckListContentArr[] | undefined;
643
+ css?: Record<string, string> | undefined;
644
+ edit?: boolean | undefined;
645
+ }>) | ({
646
+ layers?: string[] | undefined;
647
+ } & import("./widgets").WidgetDatasourceTableType) | ({
648
+ layers?: string[] | undefined;
649
+ } & {
650
+ name: import("./widgets").WidgetsName.ExcelDatasourceTable;
651
+ uniqid: string;
652
+ content: {
653
+ uri?: string | undefined;
654
+ limit?: number | boolean | undefined;
655
+ tableColumnsData?: {
656
+ name?: string | undefined;
657
+ label?: string | undefined;
658
+ isVisible?: boolean | undefined;
659
+ textEllipsis?: boolean | undefined;
660
+ dateFormat?: "date" | "time" | "date-time" | "date-time-sec" | "time-sec" | undefined;
661
+ numberFormat?: "fr-FR" | "en-EN" | "filesize" | undefined;
662
+ }[] | undefined;
663
+ tableHeadColor?: string | undefined;
664
+ tableHeadTextColor?: string | undefined;
665
+ tableHeadIconColor?: string | undefined;
666
+ tableRowColor?: string | undefined;
667
+ tableRowTextColor?: string | undefined;
668
+ tableBorderRadius?: number | undefined;
669
+ tableSizedColumns?: boolean | undefined;
670
+ tableSizedColumnsWidth?: number | undefined;
671
+ };
672
+ }) | ({
673
+ layers?: string[] | undefined;
674
+ } & import("./widgets").WidgetPresenceType) | ({
675
+ layers?: string[] | undefined;
676
+ } & import("./widgets").WidgetQuickSurveyType)>[] | undefined;
677
+ };
573
678
  export declare const jSocialEventViewSchema: z.ZodIntersection<z.ZodIntersection<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
574
679
  id: z.ZodType<number, z.ZodTypeDef, number>;
575
680
  mainType: z.ZodType<string, z.ZodTypeDef, string>;
@@ -5331,12 +5331,14 @@ export declare const jArticleWidgetViewSchema: z.ZodObject<z.objectUtil.extendSh
5331
5331
  title: z.ZodString;
5332
5332
  }>, {
5333
5333
  Pseudo: z.ZodString;
5334
+ _url: z.ZodString;
5334
5335
  }>, "strip", z.ZodTypeAny, {
5335
5336
  type: string;
5336
5337
  id: string;
5337
5338
  mainType: string;
5338
5339
  uri: string;
5339
5340
  title: string;
5341
+ _url: string;
5340
5342
  name: string;
5341
5343
  Pseudo: string;
5342
5344
  class: string;
@@ -5350,6 +5352,7 @@ export declare const jArticleWidgetViewSchema: z.ZodObject<z.objectUtil.extendSh
5350
5352
  mainType: string;
5351
5353
  uri: string;
5352
5354
  title: string;
5355
+ _url: string;
5353
5356
  name: string;
5354
5357
  Pseudo: string;
5355
5358
  class: string;
@@ -5437,6 +5440,7 @@ export declare const jArticleWidgetViewSchema: z.ZodObject<z.objectUtil.extendSh
5437
5440
  mainType: string;
5438
5441
  uri: string;
5439
5442
  title: string;
5443
+ _url: string;
5440
5444
  name: string;
5441
5445
  Pseudo: string;
5442
5446
  class: string;
@@ -5555,6 +5559,7 @@ export declare const jArticleWidgetViewSchema: z.ZodObject<z.objectUtil.extendSh
5555
5559
  mainType: string;
5556
5560
  uri: string;
5557
5561
  title: string;
5562
+ _url: string;
5558
5563
  name: string;
5559
5564
  Pseudo: string;
5560
5565
  class: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jamespot-user-api",
3
- "version": "1.0.201",
3
+ "version": "1.0.203",
4
4
  "main": "lib/jamespot-user-api.js",
5
5
  "types": "lib/src/index.d.ts",
6
6
  "directories": {
@@ -0,0 +1,10 @@
1
+ {
2
+ "o": "article",
3
+ "f": "getRead",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": {
7
+ "count": 1,
8
+ "list": [{ "idUser": "4", "dateRead": "2024-11-05 15:42:04", "Pseudo": "Admin1", "type": "user" }]
9
+ }
10
+ }
@@ -16,7 +16,8 @@
16
16
  "cssClass": "user",
17
17
  "cssColor": "#a4acaf",
18
18
  "class": "user-selector-user",
19
- "Pseudo": "Admin1"
19
+ "Pseudo": "Admin1",
20
+ "_url": "http://jenkins-preprod.dev.jamespot.pro/user/4"
20
21
  },
21
22
  {
22
23
  "id": "user/5",
@@ -30,7 +31,8 @@
30
31
  "cssClass": "user",
31
32
  "cssColor": "#a4acaf",
32
33
  "class": "user-selector-user",
33
- "Pseudo": "Admin2"
34
+ "Pseudo": "Admin2",
35
+ "_url": "http://jenkins-preprod.dev.jamespot.pro/user/5"
34
36
  },
35
37
  {
36
38
  "id": "user/1",
@@ -44,7 +46,8 @@
44
46
  "cssClass": "user",
45
47
  "cssColor": "#a4acaf",
46
48
  "class": "user-selector-user",
47
- "Pseudo": "AdminJenkins"
49
+ "Pseudo": "AdminJenkins",
50
+ "_url": "http://jenkins-preprod.dev.jamespot.pro/user/1"
48
51
  },
49
52
  {
50
53
  "id": "user/2",
@@ -58,7 +61,8 @@
58
61
  "cssClass": "user",
59
62
  "cssColor": "#a4acaf",
60
63
  "class": "user-selector-user",
61
- "Pseudo": "Browser.Stack"
64
+ "Pseudo": "Browser.Stack",
65
+ "_url": "http://jenkins-preprod.dev.jamespot.pro/user/2"
62
66
  }
63
67
  ]
64
68
  }
@@ -0,0 +1 @@
1
+ { "o": "bigBlueButton", "f": "videoRecordingDelete", "error": 0, "messages": [], "result": true }
@@ -0,0 +1,24 @@
1
+ {
2
+ "o": "calendar",
3
+ "f": "getEvents",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": [
7
+ {
8
+ "idArticle": 97,
9
+ "title": "EVENT FOR TEST",
10
+ "start": "2024-09-27 14:32:56",
11
+ "end": "2024-09-27 17:32:56",
12
+ "url": "/article/97",
13
+ "subscribe": true
14
+ },
15
+ {
16
+ "idArticle": 99,
17
+ "title": "EVENT FOR TEST Hybrid",
18
+ "start": "2024-09-27 14:32:56",
19
+ "end": "2024-09-27 17:32:56",
20
+ "url": "/article/99",
21
+ "subscribe": true
22
+ }
23
+ ]
24
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "o": "calendar",
3
+ "f": "getEvents",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": [
7
+ {
8
+ "idArticle": 97,
9
+ "title": "EVENT FOR TEST",
10
+ "start": "2024-09-27 14:32:56",
11
+ "end": "2024-09-27 17:32:56",
12
+ "url": "/article/97",
13
+ "subscribe": true
14
+ },
15
+ {
16
+ "idArticle": 99,
17
+ "title": "EVENT FOR TEST Hybrid",
18
+ "start": "2024-09-27 14:32:56",
19
+ "end": "2024-09-27 17:32:56",
20
+ "url": "/article/99",
21
+ "subscribe": true
22
+ }
23
+ ]
24
+ }