jamespot-user-api 1.0.106 → 1.0.108

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 (110) hide show
  1. package/README-internal.md +14 -14
  2. package/documentation/assets/search.js +1 -1
  3. package/documentation/classes/AdminLicenseApi.html +11 -11
  4. package/documentation/classes/AdminStoreApi.html +1 -1
  5. package/documentation/classes/AdminUtilsApi.html +1 -1
  6. package/documentation/classes/JApplicationApi.html +8 -8
  7. package/documentation/classes/JArticleApi.html +1 -1
  8. package/documentation/classes/JAssetReservation.html +1 -1
  9. package/documentation/classes/JAudienceApi.html +1 -1
  10. package/documentation/classes/JBaseApi.html +1 -1
  11. package/documentation/classes/JBookmarkApi.html +1 -1
  12. package/documentation/classes/JCommunityApi.html +1 -1
  13. package/documentation/classes/JDiapazoneApi.html +1 -1
  14. package/documentation/classes/JFileApi.html +5 -5
  15. package/documentation/classes/JFilebankApi.html +1 -1
  16. package/documentation/classes/JGroupApi.html +12 -8
  17. package/documentation/classes/JLandApi.html +1 -1
  18. package/documentation/classes/JMessengerApi.html +1 -1
  19. package/documentation/classes/JSearchApi.html +6 -6
  20. package/documentation/classes/JShareApi.html +1 -1
  21. package/documentation/classes/JTaxonomyApi.html +2 -2
  22. package/documentation/classes/JUserApi.html +4 -4
  23. package/documentation/classes/JWedocApi.html +1 -1
  24. package/documentation/classes/JamespotUserApi.html +1 -1
  25. package/documentation/classes/Network.html +1 -1
  26. package/documentation/classes/WindowBrowser.html +1 -1
  27. package/documentation/enums/StudioApplicationStatus.html +1 -1
  28. package/documentation/index.html +1 -1
  29. package/documentation/interfaces/AccessRightObject.html +1 -1
  30. package/documentation/interfaces/AdminLicenseUser.html +1 -1
  31. package/documentation/interfaces/ApiDefaultWrapper.html +1 -1
  32. package/documentation/interfaces/ApiWrapper.html +1 -1
  33. package/documentation/interfaces/BaseAutocomplete.html +1 -1
  34. package/documentation/interfaces/BaseMessage.html +1 -1
  35. package/documentation/interfaces/Category.html +1 -1
  36. package/documentation/interfaces/FileBankProps.html +1 -1
  37. package/documentation/interfaces/FolderProps.html +1 -1
  38. package/documentation/interfaces/ListFilterSpec.html +1 -1
  39. package/documentation/interfaces/OF.html +1 -1
  40. package/documentation/interfaces/ObjectListProps.html +1 -1
  41. package/documentation/interfaces/PagingResults.html +1 -1
  42. package/documentation/interfaces/RootFolderProps.html +1 -1
  43. package/documentation/interfaces/SearchCategoryModel.html +1 -1
  44. package/documentation/interfaces/SearchCategoryValue.html +1 -1
  45. package/documentation/interfaces/SearchConfig.html +1 -1
  46. package/documentation/interfaces/SearchFacetModel.html +1 -1
  47. package/documentation/interfaces/SearchFacetValueModel.html +1 -1
  48. package/documentation/interfaces/SearchQuery.html +1 -1
  49. package/documentation/interfaces/SearchQueryFilterModel.html +1 -1
  50. package/documentation/interfaces/SearchQueryOption.html +1 -1
  51. package/documentation/interfaces/SearchQueryResult.html +1 -1
  52. package/documentation/interfaces/SearchQuerySortModel.html +1 -1
  53. package/documentation/interfaces/SearchResultCatProps.html +1 -1
  54. package/documentation/interfaces/SearchResultPropsApp.html +1 -1
  55. package/documentation/interfaces/SearchResultPropsObject.html +1 -1
  56. package/documentation/interfaces/SpotProps.html +1 -1
  57. package/documentation/interfaces/Taxonomy.html +1 -1
  58. package/documentation/interfaces/TaxonomyCreate.html +1 -1
  59. package/documentation/interfaces/WindowInterface.html +1 -1
  60. package/documentation/modules.html +19 -6
  61. package/lib/jamespot-user-api.js +1 -1
  62. package/lib/jamespot-user-api.js.map +1 -1
  63. package/lib/src/apis/{assetReservation.d.ts → assetReservation/assetReservation.d.ts} +3 -4
  64. package/lib/src/apis/assetReservation/assetReservation.mock.d.ts +6 -0
  65. package/lib/src/apis/base.d.ts +1 -1
  66. package/lib/src/apis/community.d.ts +39 -2
  67. package/lib/src/apis/diapazone/diapazone.d.ts +6 -0
  68. package/lib/src/apis/diapazone/diapazone.mock.d.ts +3 -0
  69. package/lib/src/apis/diapazone/diapazone.test.d.ts +1 -0
  70. package/lib/src/apis/{group.d.ts → group/group.d.ts} +23 -13
  71. package/lib/src/apis/group/group.mock.d.ts +4 -0
  72. package/lib/src/apis/group/group.test.d.ts +1 -0
  73. package/lib/src/apis/group/group.types.d.ts +123 -0
  74. package/lib/src/apis/group/index.d.ts +2 -0
  75. package/lib/src/apis/index.d.ts +2 -2
  76. package/lib/src/apis/jamespotUserApi.d.ts +3 -3
  77. package/lib/src/apis/share/share.d.ts +1 -0
  78. package/lib/src/apis/wedoc/wedoc.d.ts +1 -1
  79. package/lib/src/apis/wedoc/wedoc.mock.d.ts +1 -0
  80. package/lib/src/index.d.ts +1 -3
  81. package/lib/src/types/assetReservation.d.ts +2 -2
  82. package/lib/src/types/autocomplete.d.ts +12 -0
  83. package/lib/src/types/diapazone.d.ts +12 -0
  84. package/lib/src/types/index.d.ts +1 -1
  85. package/lib/src/types/realtime.d.ts +37 -11
  86. package/lib/src/types/user.d.ts +1 -1
  87. package/lib/src/types/utils.d.ts +6 -1
  88. package/lib/src/types/wedoc.d.ts +2 -0
  89. package/lib/src/util/Test.d.ts +10 -1
  90. package/lib/src/util/index.d.ts +4 -0
  91. package/lib/src/util/object.d.ts +12 -0
  92. package/lib/src/util/object.test.d.ts +1 -0
  93. package/package.json +1 -1
  94. package/phpunitMock/articleCreate-animatedMeeting.json +41 -0
  95. package/phpunitMock/assetReservationBookByDate-default.json +76 -0
  96. package/phpunitMock/assetReservationCancelReservation-default.json +75 -0
  97. package/phpunitMock/assetReservationCreateReservation-default.json +75 -0
  98. package/phpunitMock/diapazoneCreateDiapazone.json +18 -0
  99. package/phpunitMock/objectListAssetReservationList-default.json +428 -0
  100. package/phpunitMock/objectListDiapazoneQueryList-default-raw-list.json +77 -0
  101. package/phpunitMock/onlyOfficeGetFile-get-file.json +2 -1
  102. package/phpunitMock/onlyOfficeGetFiles-get-files.json +2 -1
  103. package/phpunitMock/onlyOfficeGetObjectAccessHash-default.json +7 -0
  104. package/phpunitMock/spotGet-default.json +25 -0
  105. package/phpunitMock/spotGetProperties-default.json +78 -0
  106. package/pnpm-lock.yaml +12425 -0
  107. package/lib/src/apis/assetReservation.mock.d.ts +0 -3
  108. package/lib/src/apis/diapazone.d.ts +0 -24
  109. package/lib/src/types/group.d.ts +0 -58
  110. /package/lib/src/apis/{assetReservation.test.d.ts → assetReservation/assetReservation.test.d.ts} +0 -0
@@ -0,0 +1,77 @@
1
+ {
2
+ "o": "ObjectList",
3
+ "f": "DiapazoneQueryList",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": {
7
+ "limit": 50,
8
+ "page": 1,
9
+ "cnt": 1,
10
+ "data": [
11
+ {
12
+ "id": 35,
13
+ "mainType": "article",
14
+ "type": "animatedMeeting",
15
+ "uri": "animatedMeeting/35",
16
+ "dateCreation": "2023-06-23 14:28:33",
17
+ "dateModified": "2023-06-23 14:28:33",
18
+ "title": "Animated Meeting for test",
19
+ "_url": "/diapazone/35",
20
+ "_right": {
21
+ "create": true,
22
+ "read": true,
23
+ "publish": false,
24
+ "administrate": true,
25
+ "update": true,
26
+ "delete": true,
27
+ "comment": true,
28
+ "member": true
29
+ },
30
+ "_user": {
31
+ "id": 1,
32
+ "mainType": "user",
33
+ "type": "user",
34
+ "uri": "user/1",
35
+ "dateCreation": "2019-03-26 16:29:33",
36
+ "dateModified": "2019-07-19 09:39:23",
37
+ "title": "AdminJenkins",
38
+ "_url": "/user/1",
39
+ "level": 9
40
+ },
41
+ "animatedMeetingContent": {
42
+ "arr": [
43
+ { "title": "Animated Meeting for test", "color": "#7C90DE", "parts": 3600, "displayValue": 60 }
44
+ ],
45
+ "tabs": [],
46
+ "animations": [],
47
+ "visio": null,
48
+ "presence": {},
49
+ "status": {
50
+ "start": true,
51
+ "startDate": "2023-06-23 14:28:35",
52
+ "pause": false,
53
+ "stop": false,
54
+ "seconds": 0
55
+ }
56
+ },
57
+ "dateStart": "2023-06-23 14:28:33",
58
+ "_extend": { "status": "En cours", "statusValue": 2, "date": "Aujourd'hui de 14:28 \u00e0 15:28" },
59
+ "_audience": [
60
+ {
61
+ "id": 6,
62
+ "mainType": "user",
63
+ "type": "user",
64
+ "uri": "user/6",
65
+ "dateCreation": "2019-07-09 15:49:06",
66
+ "dateModified": "2019-07-09 15:51:35",
67
+ "title": "User1",
68
+ "_url": "/user/6",
69
+ "level": 5
70
+ }
71
+ ],
72
+ "_audienceLeft": 0
73
+ }
74
+ ],
75
+ "facets": null
76
+ }
77
+ }
@@ -22,7 +22,8 @@
22
22
  "extension": "xlsx",
23
23
  "icon": "icon-file-excel-o",
24
24
  "label": "Tableur"
25
- }
25
+ },
26
+ "parentFiles": [56]
26
27
  },
27
28
  "_user": {
28
29
  "id": 4,
@@ -24,7 +24,8 @@
24
24
  "extension": "xlsx",
25
25
  "icon": "icon-file-excel-o",
26
26
  "label": "Tableur"
27
- }
27
+ },
28
+ "parentFiles": [56]
28
29
  },
29
30
  "_user": {
30
31
  "id": 4,
@@ -0,0 +1,7 @@
1
+ {
2
+ "o": "OnlyOffice",
3
+ "f": "GetObjectAccessHash",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": "2b52420a9329a76dcedd914e960194726d37c99f8bd545d2f4a32671628bc952"
7
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "o": "spot",
3
+ "f": "get",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": {
7
+ "id": 2,
8
+ "mainType": "spot",
9
+ "type": "spot",
10
+ "uri": "spot/2",
11
+ "dateCreation": "2019-07-19 18:36:24",
12
+ "dateModified": "2023-06-08 09:19:44",
13
+ "title": "Groupe public",
14
+ "_url": "/group/2",
15
+ "privacy": 1,
16
+ "idCategory": 1,
17
+ "category": "1",
18
+ "description": "",
19
+ "edito": null,
20
+ "language": "fr",
21
+ "image": null,
22
+ "spotBanner": [],
23
+ "useTeaser": ""
24
+ }
25
+ }
@@ -0,0 +1,78 @@
1
+ {
2
+ "o": "spot",
3
+ "f": "getProperties",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": {
7
+ "_options": {
8
+ "custom_widgets": [],
9
+ "isArchive": 0,
10
+ "edit_access": [
11
+ { "value": "", "label": "Administrateur", "description": "SPOT_Edit_Access_Admin_Description" },
12
+ {
13
+ "value": "author",
14
+ "label": "R\u00e9dacteur",
15
+ "description": "SPOT_Edit_Access_Contributor_Description"
16
+ }
17
+ ],
18
+ "commentLevel": [
19
+ { "value": "3", "label": "Member", "selected": true },
20
+ { "value": "2", "label": "Contributor" },
21
+ { "value": "1", "label": "Administrator" }
22
+ ],
23
+ "user_level_signup": [
24
+ { "value": "3", "label": "Member" },
25
+ { "value": "2", "label": "Contributor", "selected": true },
26
+ { "value": "1", "label": "Administrator" }
27
+ ],
28
+ "useTeaser": [
29
+ { "value": "", "label": "Param\u00e8tres par default" },
30
+ { "value": 1, "label": "Oui" },
31
+ { "value": 0, "label": "Non" }
32
+ ],
33
+ "displayType": [
34
+ { "value": "doc", "label": "Documentaire" },
35
+ { "value": "wall", "label": "Dynamique" }
36
+ ],
37
+ "spot_right_user": [
38
+ { "value": "3", "label": "Member" },
39
+ { "value": "2", "label": "Contributor", "selected": true },
40
+ { "value": "1", "label": "Administrator" },
41
+ { "value": "0", "label": "Creator" }
42
+ ],
43
+ "spotDefaultPublishType": ["mpMedia", "mpArticle", "mpSocialFile", "socialQuestion"],
44
+ "mail_frequency": [
45
+ { "value": -1, "label": "Fr\u00e9quence par d\u00e9faut (Temps r\u00e9el)" },
46
+ { "value": 0, "label": "Temps r\u00e9el" },
47
+ { "value": 1, "label": "Quotidien" },
48
+ { "value": 2, "label": "Hebdomadaire" },
49
+ { "value": 10, "label": "Jamais" }
50
+ ],
51
+ "widgets": [
52
+ { "id": "fbank_box", "title": "Banque documentaire" },
53
+ { "id": "spot_tags_box", "title": "Tags" }
54
+ ]
55
+ },
56
+ "_errors": [],
57
+ "edit_access": "",
58
+ "commentLevel": "3",
59
+ "user_level_signup": "3",
60
+ "nounsubscribe": "1",
61
+ "useTeaser": "",
62
+ "displayType": "wall",
63
+ "spot_right_user": "2",
64
+ "rss_access": "0",
65
+ "rss_key": "",
66
+ "rss_feed": "",
67
+ "spotDefaultPublishType": "mpArticle",
68
+ "mail_frequency": "-1",
69
+ "mail_comment": "1",
70
+ "mail_spotit": "1",
71
+ "mail_subscriber": "",
72
+ "lock_mail": "",
73
+ "activity": "1",
74
+ "publishFolder": "1",
75
+ "notifyFolder": "1",
76
+ "widgets": []
77
+ }
78
+ }