jamespot-user-api 1.0.122 → 1.0.124

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 (124) hide show
  1. package/documentation/assets/search.js +1 -1
  2. package/documentation/classes/AdminLicenseApi.html +11 -11
  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 +1 -1
  9. package/documentation/classes/JBaseApi.html +1 -1
  10. package/documentation/classes/JBookmarkApi.html +1 -1
  11. package/documentation/classes/JCommunityApi.html +1 -1
  12. package/documentation/classes/JDiapazoneApi.html +1 -1
  13. package/documentation/classes/JFaqApi.html +1 -1
  14. package/documentation/classes/JFileApi.html +6 -6
  15. package/documentation/classes/JFilebankApi.html +1 -1
  16. package/documentation/classes/JGroupApi.html +9 -9
  17. package/documentation/classes/JLandApi.html +1 -1
  18. package/documentation/classes/JMessengerApi.html +1 -1
  19. package/documentation/classes/JObjectApi.html +1 -0
  20. package/documentation/classes/JSearchApi.html +6 -6
  21. package/documentation/classes/JShareApi.html +1 -1
  22. package/documentation/classes/JTaxonomyApi.html +2 -2
  23. package/documentation/classes/JUserApi.html +4 -4
  24. package/documentation/classes/JWedocApi.html +1 -1
  25. package/documentation/classes/JamespotUserApi.html +1 -1
  26. package/documentation/classes/Network.html +1 -1
  27. package/documentation/classes/TVDisplayApi.html +1 -1
  28. package/documentation/classes/WindowBrowser.html +1 -1
  29. package/documentation/enums/StudioApplicationStatus.html +1 -1
  30. package/documentation/index.html +1 -1
  31. package/documentation/interfaces/AccessRightObject.html +1 -1
  32. package/documentation/interfaces/AdminLicenseUser.html +1 -1
  33. package/documentation/interfaces/ApiDefaultWrapper.html +1 -1
  34. package/documentation/interfaces/ApiWrapper.html +1 -1
  35. package/documentation/interfaces/BaseAutocomplete.html +1 -1
  36. package/documentation/interfaces/BaseMessage.html +1 -1
  37. package/documentation/interfaces/Category.html +1 -1
  38. package/documentation/interfaces/FileBankProps.html +1 -1
  39. package/documentation/interfaces/FolderProps.html +1 -1
  40. package/documentation/interfaces/ListFilterSpec.html +1 -1
  41. package/documentation/interfaces/OF.html +1 -1
  42. package/documentation/interfaces/ObjectListProps.html +1 -1
  43. package/documentation/interfaces/PagingResults.html +1 -1
  44. package/documentation/interfaces/RootFolderProps.html +1 -1
  45. package/documentation/interfaces/SearchCategoryModel.html +1 -1
  46. package/documentation/interfaces/SearchCategoryValue.html +1 -1
  47. package/documentation/interfaces/SearchConfig.html +1 -1
  48. package/documentation/interfaces/SearchFacetModel.html +1 -1
  49. package/documentation/interfaces/SearchFacetValueModel.html +1 -1
  50. package/documentation/interfaces/SearchQuery.html +1 -1
  51. package/documentation/interfaces/SearchQueryFilterModel.html +1 -1
  52. package/documentation/interfaces/SearchQueryOption.html +1 -1
  53. package/documentation/interfaces/SearchQueryResult.html +1 -1
  54. package/documentation/interfaces/SearchQuerySortModel.html +1 -1
  55. package/documentation/interfaces/SearchResultCatProps.html +1 -1
  56. package/documentation/interfaces/SearchResultPropsApp.html +1 -1
  57. package/documentation/interfaces/SearchResultPropsObject.html +1 -1
  58. package/documentation/interfaces/SpotProps.html +1 -1
  59. package/documentation/interfaces/Taxonomy.html +1 -1
  60. package/documentation/interfaces/TaxonomyCreate.html +1 -1
  61. package/documentation/interfaces/WindowInterface.html +1 -1
  62. package/documentation/modules.html +11 -11
  63. package/lib/jamespot-user-api.js +1 -1
  64. package/lib/jamespot-user-api.js.map +1 -1
  65. package/lib/src/apis/admin/store.mock.d.ts +4 -0
  66. package/lib/src/apis/admin/store.test.d.ts +1 -0
  67. package/lib/src/apis/faq/faq.d.ts +11 -2
  68. package/lib/src/apis/faq/faq.mock.d.ts +29 -4
  69. package/lib/src/apis/file/file.d.ts +8 -1
  70. package/lib/src/apis/index.d.ts +1 -0
  71. package/lib/src/apis/jamespotUserApi.d.ts +2 -0
  72. package/lib/src/apis/object/object.d.ts +12 -0
  73. package/lib/src/apis/object/object.mock.d.ts +5 -0
  74. package/lib/src/apis/object/object.test.d.ts +1 -0
  75. package/lib/src/apis/share/share.d.ts +2 -11
  76. package/lib/src/apis/share/share.mock.d.ts +3 -7
  77. package/lib/src/apis/wedoc/wedoc.d.ts +5 -6
  78. package/lib/src/apis/wedoc/wedoc.mock.d.ts +4 -5
  79. package/lib/src/types/faq.d.ts +34 -2
  80. package/lib/src/types/share.d.ts +2 -1
  81. package/lib/src/types/utils.d.ts +3 -0
  82. package/lib/src/types/wedoc.d.ts +6 -1
  83. package/package.json +1 -1
  84. package/phpunitMock/articleCreate-faq-category.json +2 -2
  85. package/phpunitMock/articleCreate-faq-item.json +52 -0
  86. package/phpunitMock/articleDelete-faq-item.json +12 -0
  87. package/phpunitMock/articleGet-faq-category.json +9 -3
  88. package/phpunitMock/articleUpdate-faq-category.json +2 -2
  89. package/phpunitMock/articleUpdate-faq-item.json +50 -0
  90. package/phpunitMock/assetReservationBookByDate-default.json +2 -0
  91. package/phpunitMock/assetReservationCancelReservation-default.json +2 -0
  92. package/phpunitMock/assetReservationCreateReservation-default.json +2 -0
  93. package/phpunitMock/faqAddEntry-success.json +54 -0
  94. package/phpunitMock/faqAddTheme-success.json +17 -6
  95. package/phpunitMock/faqCheckItem-success.json +10 -8
  96. package/phpunitMock/faqDeleteTheme-success.json +22 -6
  97. package/phpunitMock/faqGetEntry-success.json +57 -0
  98. package/phpunitMock/faqMoveEntry-success.json +56 -0
  99. package/phpunitMock/objectGetAccess-default.json +1 -0
  100. package/phpunitMock/objectGetAccessHash-default.json +7 -0
  101. package/phpunitMock/objectGetObject-default.json +16 -0
  102. package/phpunitMock/objectListAssetReservationList-default.json +86 -73
  103. package/phpunitMock/objectListFaqQueryList-faq-success.json +10 -5
  104. package/phpunitMock/objectSetAccess-default.json +1 -0
  105. package/phpunitMock/onlyOfficeAskAccess-ask-read.json +1 -0
  106. package/phpunitMock/{onlyOfficeGetObjectAccessRequest-all-request.json → onlyOfficeGetAccessRequest-all-request.json} +1 -1
  107. package/phpunitMock/onlyOfficeGetFile-get-file.json +13 -10
  108. package/phpunitMock/onlyOfficeGetFiles-get-files.json +17 -13
  109. package/phpunitMock/onlyOfficeSetAccessRequest-accept.json +1 -0
  110. package/phpunitMock/sharedContentObjectLinks-default.json +1 -0
  111. package/phpunitMock/sharedContentSetObjectAccessRule-default.json +1 -0
  112. package/phpunitMock/tvDisplayGetChannel-dynamic.json +1067 -2
  113. package/phpunitMock/tvDisplayGetChannel-slideshow.json +1 -0
  114. package/phpunitMock/tvDisplayGetConfigureChannel-dynamic.json +60 -17
  115. package/phpunitMock/tvDisplayGetConfigureChannel-slideshow.json +1 -0
  116. package/phpunitMock/diapazoneCreateDiapazone.json +0 -18
  117. package/phpunitMock/jLandAdminLogs-full.json +0 -98
  118. package/phpunitMock/onlyOfficeAskObjectAccess-ask-read.json +0 -1
  119. package/phpunitMock/onlyOfficeDuplicateFile-duplicate-file.json +0 -19
  120. package/phpunitMock/onlyOfficeGetObject-default.json +0 -26
  121. package/phpunitMock/onlyOfficeGetObjectAccess-default.json +0 -34
  122. package/phpunitMock/onlyOfficeGetObjectAccessHash-default.json +0 -7
  123. package/phpunitMock/onlyOfficeSetObjectAccess-default.json +0 -1
  124. package/phpunitMock/onlyOfficeSetObjectAccessRequest-accept.json +0 -1
@@ -35,6 +35,7 @@
35
35
  "_url": "/user/4",
36
36
  "level": 9
37
37
  },
38
+ "_audience": [],
38
39
  "tvChannelType": "SLIDESHOW",
39
40
  "tvChannelBackgroundColor": "#9000DA",
40
41
  "tvChannelNumImages": 2,
@@ -4,12 +4,12 @@
4
4
  "error": 0,
5
5
  "messages": [],
6
6
  "result": {
7
- "id": 147,
7
+ "id": 187,
8
8
  "mainType": "article",
9
9
  "type": "tvDisplayChannel",
10
- "uri": "tvDisplayChannel/147",
11
- "dateCreation": "2023-09-15 09:57:22",
12
- "dateModified": "2023-09-15 09:57:24",
10
+ "uri": "tvDisplayChannel/187",
11
+ "dateCreation": "2023-10-25 14:46:46",
12
+ "dateModified": "2023-10-25 14:46:46",
13
13
  "title": "TV Channel dynamic",
14
14
  "_url": "/ng/rr/tv-display",
15
15
  "_right": {
@@ -33,6 +33,11 @@
33
33
  "_url": "/user/4",
34
34
  "level": 9
35
35
  },
36
+ "image": {
37
+ "width": 702,
38
+ "height": 583
39
+ },
40
+ "_audience": [],
36
41
  "tvChannelType": "DYNAMIC",
37
42
  "tvChannelBackgroundColor": "#FF0000",
38
43
  "tvChannelNumImages": 0,
@@ -42,25 +47,28 @@
42
47
  "type": "spot",
43
48
  "uri": "spot/1",
44
49
  "dateCreation": "2019-07-18 18:36:24",
45
- "dateModified": "2023-09-15 09:57:24",
50
+ "dateModified": "2023-10-25 14:46:46",
46
51
  "title": "Groupe public",
47
52
  "_url": "/group/1",
48
53
  "privacy": 1,
49
54
  "category": "1"
50
55
  },
51
- "tvChannelConfig": { "contents": [], "key": "65040e622030f" },
56
+ "tvChannelConfig": {
57
+ "contents": [],
58
+ "key": "65390e3611bb8"
59
+ },
52
60
  "_extend": {
53
- "imageSecureUrl": "http://jenkins-preprod.jamespot.pro/imagesecure/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwYXRoIjoib3JpZ2luYWxcL3R2RGlzcGxheUNoYW5uZWxcLzE0Ny5wbmcifQ.M_AZe2Im1tlWaFUZZZs0vSTFAIV4A5bEzGG0ErrY1l8",
61
+ "imageSecureUrl": "http://jenkins-preprod.jamespot.pro/imagesecure/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwYXRoIjoib3JpZ2luYWxcL3R2RGlzcGxheUNoYW5uZWxcLzE4Ny5wbmcifQ.IA96pMspWuQzTQvwvP8G-vEpHrFqHlzvEP8jul2AKlU",
54
62
  "articles": [
55
63
  {
56
- "id": 148,
64
+ "id": 188,
57
65
  "mainType": "article",
58
66
  "type": "mpArticle",
59
- "uri": "mpArticle/148",
60
- "dateCreation": "2023-09-15 09:57:24",
61
- "dateModified": "2023-09-15 09:57:25",
67
+ "uri": "mpArticle/188",
68
+ "dateCreation": "2023-10-25 14:46:46",
69
+ "dateModified": "2023-10-25 14:46:46",
62
70
  "title": "a-2",
63
- "_url": "/article/148",
71
+ "_url": "/article/188",
64
72
  "_right": {
65
73
  "create": true,
66
74
  "read": true,
@@ -83,16 +91,34 @@
83
91
  "_url": "/user/4",
84
92
  "level": 9
85
93
  },
94
+ "image": {
95
+ "width": 702,
96
+ "height": 583
97
+ },
98
+ "_audience": [
99
+ {
100
+ "id": 1,
101
+ "mainType": "spot",
102
+ "type": "spot",
103
+ "uri": "spot/1",
104
+ "dateCreation": "2019-07-18 18:36:24",
105
+ "dateModified": "2023-10-25 14:46:46",
106
+ "title": "Groupe public",
107
+ "_url": "/group/1",
108
+ "privacy": 1,
109
+ "category": "1"
110
+ }
111
+ ],
86
112
  "_extend": {
87
113
  "descriptionSecure": "<div class=\"content-html\">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</div>\n",
88
- "imageSecureUrl": "http://jenkins-preprod.jamespot.pro/imagesecure/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwYXRoIjoib3JpZ2luYWxcL21wQXJ0aWNsZVwvMTQ4LnBuZyJ9.SyBEjpsFFbeL-GWT69yKgtL9v7af6KjOcNoQe8hKWOI",
114
+ "imageSecureUrl": "http://jenkins-preprod.jamespot.pro/imagesecure/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwYXRoIjoib3JpZ2luYWxcL21wQXJ0aWNsZVwvMTg4LnBuZyJ9.PBbUgwfU9O6-cBG7T0GWVrTIUPL6RtL3fg4sbQN6naE",
89
115
  "comments": [
90
116
  {
91
- "id": 12,
117
+ "id": 13,
92
118
  "mainType": "comment",
93
119
  "type": "comment",
94
- "uri": "comment/12",
95
- "dateCreation": "2023-09-15 09:57:26",
120
+ "uri": "comment/13",
121
+ "dateCreation": "2023-10-25 14:46:46",
96
122
  "dateModified": null,
97
123
  "description": "<div class='content-html'>Phasellus sodales augue vitae sapien tempus tristique.</div>",
98
124
  "_user": {
@@ -155,7 +181,24 @@
155
181
  "_url": "/user/1",
156
182
  "level": 9
157
183
  },
158
- "_extend": { "descriptionSecure": "<div class=\"content-html\"></div>\n", "comments": [] }
184
+ "_audience": [
185
+ {
186
+ "id": 1,
187
+ "mainType": "spot",
188
+ "type": "spot",
189
+ "uri": "spot/1",
190
+ "dateCreation": "2019-07-18 18:36:24",
191
+ "dateModified": "2023-10-25 14:46:46",
192
+ "title": "Groupe public",
193
+ "_url": "/group/1",
194
+ "privacy": 1,
195
+ "category": "1"
196
+ }
197
+ ],
198
+ "_extend": {
199
+ "descriptionSecure": "<div class=\"content-html\"></div>\n",
200
+ "comments": []
201
+ }
159
202
  }
160
203
  ]
161
204
  }
@@ -33,6 +33,7 @@
33
33
  "_url": "/user/4",
34
34
  "level": 9
35
35
  },
36
+ "_audience": [],
36
37
  "tvChannelType": "SLIDESHOW",
37
38
  "tvChannelBackgroundColor": "#9000DA",
38
39
  "tvChannelNumImages": 2,
@@ -1,18 +0,0 @@
1
- {
2
- "o": "article",
3
- "f": "create",
4
- "error": 0,
5
- "messages": [{ "code": 200, "msg": "Enregistrement r\u00e9ussi" }],
6
- "result": [
7
- {
8
- "id": 1,
9
- "mainType": "article",
10
- "type": "mpArticle",
11
- "uri": "mpArticle/1",
12
- "title": "Diapazone",
13
- "_url": "/article/1",
14
- "dateCreation": "2023-04-11 14:53:51",
15
- "dateModified": "2023-04-11 14:53:51"
16
- }
17
- ]
18
- }
@@ -1,98 +0,0 @@
1
- {
2
- "o": "jLand",
3
- "f": "adminLogs",
4
- "error": 0,
5
- "messages": [],
6
- "result": [
7
- {
8
- "idLog": 155924,
9
- "slug": "jday-2022.jamespot.pro",
10
- "dateCreation": "2023-04-13T10:00:12.000Z",
11
- "map": "170",
12
- "mail": "cyril.barragan@jamespot.com",
13
- "action": "access",
14
- "mode": "controlled"
15
- },
16
- {
17
- "idLog": 71508,
18
- "slug": "jday-2022.jamespot.pro",
19
- "dateCreation": "2022-10-13T13:12:30.000Z",
20
- "map": "jpro/office",
21
- "mail": "alain.garnier@jamespot.com",
22
- "action": "access",
23
- "mode": "controlled"
24
- },
25
- {
26
- "idLog": 44612,
27
- "slug": "jday-2022.jamespot.pro",
28
- "dateCreation": "2022-08-23T15:57:10.000Z",
29
- "map": "jpro/office",
30
- "mail": "romaric.pighetti@jamespot.com",
31
- "action": "access",
32
- "mode": "controlled"
33
- },
34
- {
35
- "idLog": 44611,
36
- "slug": "jday-2022.jamespot.pro",
37
- "dateCreation": "2022-08-23T15:56:31.000Z",
38
- "map": "jpro/office",
39
- "mail": "romaric.pighetti@jamespot.com",
40
- "action": "access",
41
- "mode": "controlled"
42
- },
43
- {
44
- "idLog": 44610,
45
- "slug": "jday-2022.jamespot.pro",
46
- "dateCreation": "2022-08-23T15:56:30.000Z",
47
- "map": "jpro/office",
48
- "mail": "romaric.pighetti@jamespot.com",
49
- "action": "access",
50
- "mode": "controlled"
51
- },
52
- {
53
- "idLog": 44609,
54
- "slug": "jday-2022.jamespot.pro",
55
- "dateCreation": "2022-08-23T15:56:29.000Z",
56
- "map": "jpro/office",
57
- "mail": "romaric.pighetti@jamespot.com",
58
- "action": "access",
59
- "mode": "controlled"
60
- },
61
- {
62
- "idLog": 44608,
63
- "slug": "jday-2022.jamespot.pro",
64
- "dateCreation": "2022-08-23T15:56:26.000Z",
65
- "map": "jpro/office",
66
- "mail": "romaric.pighetti@jamespot.com",
67
- "action": "access",
68
- "mode": "controlled"
69
- },
70
- {
71
- "idLog": 36888,
72
- "slug": "jday-2022.jamespot.pro",
73
- "dateCreation": "2022-08-01T12:44:01.000Z",
74
- "map": "jpro/office",
75
- "mail": "romaric.pighetti@jamespot.com",
76
- "action": "access",
77
- "mode": "controlled"
78
- },
79
- {
80
- "idLog": 36887,
81
- "slug": "jday-2022.jamespot.pro",
82
- "dateCreation": "2022-08-01T12:44:01.000Z",
83
- "map": "jpro/office",
84
- "mail": "romaric.pighetti@jamespot.com",
85
- "action": "access",
86
- "mode": "controlled"
87
- },
88
- {
89
- "idLog": 36886,
90
- "slug": "jday-2022.jamespot.pro",
91
- "dateCreation": "2022-08-01T12:43:59.000Z",
92
- "map": "jpro/office",
93
- "mail": "romaric.pighetti@jamespot.com",
94
- "action": "access",
95
- "mode": "controlled"
96
- }
97
- ]
98
- }
@@ -1 +0,0 @@
1
- { "o": "onlyOffice", "f": "askObjectAccess", "error": 0, "messages": [], "result": true }
@@ -1,19 +0,0 @@
1
- {
2
- "o": "onlyOffice",
3
- "f": "duplicateFile",
4
- "error": 0,
5
- "messages": [],
6
- "result": {
7
- "idFile": 163,
8
- "article": {
9
- "id": 91,
10
- "mainType": "article",
11
- "type": "mpSocialFile",
12
- "uri": "mpSocialFile/91",
13
- "title": "DUPLICATED",
14
- "_url": "/article/91",
15
- "dateCreation": "2023-04-14 15:54:17",
16
- "dateModified": "2023-04-14 15:54:17"
17
- }
18
- }
19
- }
@@ -1,26 +0,0 @@
1
- {
2
- "o": "onlyOffice",
3
- "f": "getObject",
4
- "error": 0,
5
- "messages": [],
6
- "result": {
7
- "id": 101,
8
- "type": "fileArticle",
9
- "title": "ASK.xlsx",
10
- "idUser": 4,
11
- "uri": "fileArticle/101",
12
- "generalAccessRule": "link",
13
- "generalAccessHash": null,
14
- "_right": {
15
- "create": true,
16
- "read": true,
17
- "publish": false,
18
- "administrate": true,
19
- "update": true,
20
- "delete": true,
21
- "comment": true,
22
- "member": true
23
- },
24
- "_audience": []
25
- }
26
- }
@@ -1,34 +0,0 @@
1
- {
2
- "o": "onlyOffice",
3
- "f": "getObjectAccess",
4
- "error": 0,
5
- "messages": [],
6
- "result": {
7
- "audience": [
8
- {
9
- "id": 6,
10
- "mainType": "user",
11
- "type": "user",
12
- "uri": "user/6",
13
- "dateCreation": "2019-07-09 15:49:06",
14
- "dateModified": "2019-07-09 15:51:35",
15
- "title": "User1",
16
- "_url": "/user/6",
17
- "level": 5
18
- },
19
- {
20
- "id": 7,
21
- "mainType": "user",
22
- "type": "user",
23
- "uri": "user/7",
24
- "dateCreation": "2019-07-09 15:49:25",
25
- "dateModified": "2019-07-09 15:51:50",
26
- "title": "User2",
27
- "_url": "/user/7",
28
- "level": 5
29
- }
30
- ],
31
- "read": ["user/6", "user/7"],
32
- "write": ["user/6"]
33
- }
34
- }
@@ -1,7 +0,0 @@
1
- {
2
- "o": "OnlyOffice",
3
- "f": "GetObjectAccessHash",
4
- "error": 0,
5
- "messages": [],
6
- "result": "2b52420a9329a76dcedd914e960194726d37c99f8bd545d2f4a32671628bc952"
7
- }
@@ -1 +0,0 @@
1
- { "o": "onlyOffice", "f": "setObjectAccess", "error": 0, "messages": [], "result": true }
@@ -1 +0,0 @@
1
- { "o": "onlyOffice", "f": "setObjectAccessRequest", "error": 0, "messages": [], "result": [] }