jamespot-user-api 1.0.43 → 1.0.47

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 (126) hide show
  1. package/documentation/assets/search.js +1 -1
  2. package/documentation/classes/JApplication.html +1 -1
  3. package/documentation/classes/JApplicationApi.html +8 -8
  4. package/documentation/classes/JArticleApi.html +1 -1
  5. package/documentation/classes/JAudienceApi.html +1 -1
  6. package/documentation/classes/JBaseApi.html +1 -1
  7. package/documentation/classes/JBaseObject.html +1 -1
  8. package/documentation/classes/JBookmark.html +1 -1
  9. package/documentation/classes/JBookmarkApi.html +1 -1
  10. package/documentation/classes/JCommunityApi.html +1 -1
  11. package/documentation/classes/JConcept.html +1 -1
  12. package/documentation/classes/JConceptApi.html +1 -1
  13. package/documentation/classes/JDiapazoneApi.html +1 -1
  14. package/documentation/classes/JFileApi.html +1 -1
  15. package/documentation/classes/JFilebankApi.html +1 -1
  16. package/documentation/classes/JGroupApi.html +1 -1
  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/JUser.html +1 -1
  21. package/documentation/classes/JUserApi.html +3 -3
  22. package/documentation/classes/JWedocApi.html +1 -1
  23. package/documentation/classes/JamespotUserApi.html +1 -1
  24. package/documentation/classes/Network.html +1 -1
  25. package/documentation/enums/JApplicationStatus.html +1 -1
  26. package/documentation/index.html +1 -1
  27. package/documentation/interfaces/ApiError.html +1 -1
  28. package/documentation/interfaces/ApiWrapper.html +1 -1
  29. package/documentation/interfaces/AseiGroups.html +1 -1
  30. package/documentation/interfaces/AseiInstitution.html +1 -1
  31. package/documentation/interfaces/AseiRights.html +1 -1
  32. package/documentation/interfaces/AseiTicket.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/CreateGroup.html +1 -1
  37. package/documentation/interfaces/FileBankProps.html +1 -1
  38. package/documentation/interfaces/FileOption.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/PagingResults.html +1 -1
  43. package/documentation/interfaces/Result.html +1 -1
  44. package/documentation/interfaces/RootFolderProps.html +1 -1
  45. package/documentation/interfaces/SearchCategoryModel.html +1 -1
  46. package/documentation/interfaces/SearchConfig.html +1 -1
  47. package/documentation/interfaces/SearchFacetModel.html +1 -1
  48. package/documentation/interfaces/SearchFacetValueModel.html +1 -1
  49. package/documentation/interfaces/SearchQuery.html +1 -1
  50. package/documentation/interfaces/SearchQueryFilterModel.html +1 -1
  51. package/documentation/interfaces/SearchQueryOption.html +1 -1
  52. package/documentation/interfaces/SearchQueryResult.html +1 -1
  53. package/documentation/interfaces/SearchQuerySortModel.html +1 -1
  54. package/documentation/interfaces/SearchResultCatProps.html +1 -1
  55. package/documentation/interfaces/SearchResultProps.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/TmpApplication.html +1 -1
  60. package/documentation/interfaces/TmpUser.html +1 -1
  61. package/documentation/interfaces/UserModel.html +1 -1
  62. package/documentation/modules.html +1 -1
  63. package/lib/jamespot-user-api.js.map +1 -1
  64. package/lib/src/apis/search.d.ts +2 -2
  65. package/lib/src/types/search.d.ts +3 -0
  66. package/package.json +1 -1
  67. package/src/apis/application.ts +0 -132
  68. package/src/apis/article.ts +0 -74
  69. package/src/apis/asei.ts +0 -73
  70. package/src/apis/audience.ts +0 -18
  71. package/src/apis/base.ts +0 -9
  72. package/src/apis/bookmark.ts +0 -110
  73. package/src/apis/community.ts +0 -20
  74. package/src/apis/concept.ts +0 -31
  75. package/src/apis/diapazone.ts +0 -65
  76. package/src/apis/file.ts +0 -14
  77. package/src/apis/filebank.ts +0 -50
  78. package/src/apis/group.ts +0 -48
  79. package/src/apis/index.ts +0 -17
  80. package/src/apis/jamespotUserApi.ts +0 -69
  81. package/src/apis/jland.ts +0 -51
  82. package/src/apis/messenger.ts +0 -25
  83. package/src/apis/search.ts +0 -85
  84. package/src/apis/taxonomy.ts +0 -30
  85. package/src/apis/user.ts +0 -53
  86. package/src/apis/wedoc.ts +0 -77
  87. package/src/classes/JApplication.ts +0 -55
  88. package/src/classes/JBaseObject.ts +0 -64
  89. package/src/classes/JBookmark.ts +0 -44
  90. package/src/classes/JConcept.ts +0 -3
  91. package/src/classes/JDiapazone.ts +0 -42
  92. package/src/classes/JFile.ts +0 -37
  93. package/src/classes/JUser.ts +0 -7
  94. package/src/classes/index.ts +0 -5
  95. package/src/index.ts +0 -21
  96. package/src/indexMock.ts +0 -17
  97. package/src/mock/data/autocomplete/audience/data.json +0 -191
  98. package/src/mock/data/autocomplete/community/data.json +0 -47
  99. package/src/mock/data/autocomplete/taxonomy/data.json +0 -35
  100. package/src/mock/data/autocomplete/user/data.json +0 -107
  101. package/src/mock/data/bookmarks/addBookmark/data.json +0 -54
  102. package/src/mock/data/bookmarks/addLink/data.json +0 -63
  103. package/src/mock/data/bookmarks/bookmarkList/data.json +0 -271
  104. package/src/mock/data/bookmarks/delete/data.json +0 -12
  105. package/src/mock/data/community/sendRequest/data.json +0 -12
  106. package/src/mock/data/file/create/data.json +0 -18
  107. package/src/mock/data/messenger/newMessage/data.json +0 -47
  108. package/src/mock/data/misc/tokenCSRF/data.json +0 -7
  109. package/src/mock/data/search/getConfig/data.json +0 -318
  110. package/src/mock/data/search/lastQueries/data.json +0 -7
  111. package/src/mock/data/search/proposition/data.json +0 -125
  112. package/src/mock/data/spot/create/data.json +0 -7
  113. package/src/mock/data/spot/get-available-widget/data.json +0 -56
  114. package/src/mock/data/spot/get-categories/data.json +0 -28
  115. package/src/mock/data/user/signIn/data.json +0 -197
  116. package/src/mock/windowMock.ts +0 -113
  117. package/src/types/asei.ts +0 -33
  118. package/src/types/autocomplete.ts +0 -17
  119. package/src/types/group.ts +0 -27
  120. package/src/types/index.ts +0 -7
  121. package/src/types/listWrapper.ts +0 -6
  122. package/src/types/search.ts +0 -105
  123. package/src/types/taxonomy.ts +0 -47
  124. package/src/types/user.ts +0 -14
  125. package/src/types/utils.ts +0 -66
  126. package/src/util/network.ts +0 -96
@@ -1,271 +0,0 @@
1
- {
2
- "o": "object",
3
- "f": "list",
4
- "error": 0,
5
- "messages": [],
6
- "result": {
7
- "limit": 5,
8
- "page": 2,
9
- "cnt": 15,
10
- "data": [
11
- {
12
- "id": 50,
13
- "type": "bookmarkLink",
14
- "uri": "bookmarkLink/50",
15
- "srcId": 1,
16
- "srcType": "user",
17
- "targetId": 6,
18
- "targetType": "mpMedia",
19
- "mainType": "link",
20
- "value": null,
21
- "_cssColor": "#76b9f2",
22
- "_cssClass": "star",
23
- "_src": {
24
- "id": 1,
25
- "type": "user",
26
- "mainType": "user",
27
- "_cssColor": "#a4acaf",
28
- "_cssClass": "user",
29
- "uri": "user/1",
30
- "title": "Maxime.Dupont",
31
- "_url": "/user/1",
32
- "firstname": "Maxime",
33
- "lastname": "Dupont",
34
- "company": "",
35
- "mail": "<a href=\"mailto:maxime.dupont@jamespot.com\" class=\"\" >maxime.dupont@jamespot.com</a>",
36
- "_values": {
37
- "firstname": "Maxime",
38
- "lastname": "Dupont",
39
- "company": "",
40
- "mail": "maxime.dupont@jamespot.com",
41
- "dateCreation": "2021-07-12 10:56:16",
42
- "dateModified": "2021-07-12 10:56:16"
43
- }
44
- },
45
- "_target": {
46
- "id": 6,
47
- "type": "mpMedia",
48
- "uri": "mpMedia/6",
49
- "mainType": "article",
50
- "_cssColor": "#529b60",
51
- "_cssClass": "article",
52
- "title": "",
53
- "_url": "/article/6",
54
- "_values": {
55
- "dateCreation": "2021-09-15 16:38:58",
56
- "dateModified": "2021-09-15 16:38:58"
57
- }
58
- },
59
- "bookmarkOrder": "-10",
60
- "bookmarkLabel": null,
61
- "bookmarkUrl": null,
62
- "bookmarkMeta": null,
63
- "_values": {
64
- "dateCreation": "2021-10-28 12:55:33",
65
- "dateModified": "2021-10-28 12:55:33"
66
- }
67
- },
68
- {
69
- "id": 49,
70
- "type": "bookmarkLink",
71
- "uri": "bookmarkLink/49",
72
- "srcId": 1,
73
- "srcType": "user",
74
- "targetId": 0,
75
- "targetType": null,
76
- "mainType": "link",
77
- "value": null,
78
- "_cssColor": "#76b9f2",
79
- "_cssClass": "star",
80
- "_src": {
81
- "id": 1,
82
- "type": "user",
83
- "mainType": "user",
84
- "_cssColor": "#a4acaf",
85
- "_cssClass": "user",
86
- "uri": "user/1",
87
- "title": "Maxime.Dupont",
88
- "_url": "/user/1",
89
- "firstname": "Maxime",
90
- "lastname": "Dupont",
91
- "company": "",
92
- "mail": "<a href=\"mailto:maxime.dupont@jamespot.com\" class=\"\" >maxime.dupont@jamespot.com</a>",
93
- "_values": {
94
- "firstname": "Maxime",
95
- "lastname": "Dupont",
96
- "company": "",
97
- "mail": "maxime.dupont@jamespot.com",
98
- "dateCreation": "2021-07-12 10:56:16",
99
- "dateModified": "2021-07-12 10:56:16"
100
- }
101
- },
102
- "bookmarkOrder": "-9",
103
- "bookmarkLabel": "Recherche de groupes qui commencent par AB",
104
- "bookmarkUrl": null,
105
- "bookmarkMeta": "{\"type\":\"shortcut:search:v1\",\"query\":\"AB\",\"mainType\":\"spot\"}",
106
- "_values": {
107
- "dateCreation": "2021-10-28 12:03:39",
108
- "dateModified": "2021-10-28 12:03:39"
109
- }
110
- },
111
- {
112
- "id": 48,
113
- "type": "bookmarkLink",
114
- "uri": "bookmarkLink/48",
115
- "srcId": 1,
116
- "srcType": "user",
117
- "targetId": 6,
118
- "targetType": "mpMedia",
119
- "mainType": "link",
120
- "value": null,
121
- "_cssColor": "#76b9f2",
122
- "_cssClass": "star",
123
- "_src": {
124
- "id": 1,
125
- "type": "user",
126
- "mainType": "user",
127
- "_cssColor": "#a4acaf",
128
- "_cssClass": "user",
129
- "uri": "user/1",
130
- "title": "Maxime.Dupont",
131
- "_url": "/user/1",
132
- "firstname": "Maxime",
133
- "lastname": "Dupont",
134
- "company": "",
135
- "mail": "<a href=\"mailto:maxime.dupont@jamespot.com\" class=\"\" >maxime.dupont@jamespot.com</a>",
136
- "_values": {
137
- "firstname": "Maxime",
138
- "lastname": "Dupont",
139
- "company": "",
140
- "mail": "maxime.dupont@jamespot.com",
141
- "dateCreation": "2021-07-12 10:56:16",
142
- "dateModified": "2021-07-12 10:56:16"
143
- }
144
- },
145
- "_target": {
146
- "id": 6,
147
- "type": "mpMedia",
148
- "uri": "mpMedia/6",
149
- "mainType": "article",
150
- "_cssColor": "#529b60",
151
- "_cssClass": "article",
152
- "title": "",
153
- "_url": "/article/6",
154
- "_values": {
155
- "dateCreation": "2021-09-15 16:38:58",
156
- "dateModified": "2021-09-15 16:38:58"
157
- }
158
- },
159
- "bookmarkOrder": "-8",
160
- "bookmarkLabel": null,
161
- "bookmarkUrl": null,
162
- "bookmarkMeta": null,
163
- "_values": {
164
- "dateCreation": "2021-10-28 12:03:38",
165
- "dateModified": "2021-10-28 12:03:38"
166
- }
167
- },
168
- {
169
- "id": 47,
170
- "type": "bookmarkLink",
171
- "uri": "bookmarkLink/47",
172
- "srcId": 1,
173
- "srcType": "user",
174
- "targetId": 0,
175
- "targetType": null,
176
- "mainType": "link",
177
- "value": null,
178
- "_cssColor": "#76b9f2",
179
- "_cssClass": "star",
180
- "_src": {
181
- "id": 1,
182
- "type": "user",
183
- "mainType": "user",
184
- "_cssColor": "#a4acaf",
185
- "_cssClass": "user",
186
- "uri": "user/1",
187
- "title": "Maxime.Dupont",
188
- "_url": "/user/1",
189
- "firstname": "Maxime",
190
- "lastname": "Dupont",
191
- "company": "",
192
- "mail": "<a href=\"mailto:maxime.dupont@jamespot.com\" class=\"\" >maxime.dupont@jamespot.com</a>",
193
- "_values": {
194
- "firstname": "Maxime",
195
- "lastname": "Dupont",
196
- "company": "",
197
- "mail": "maxime.dupont@jamespot.com",
198
- "dateCreation": "2021-07-12 10:56:16",
199
- "dateModified": "2021-07-12 10:56:16"
200
- }
201
- },
202
- "bookmarkOrder": "-7",
203
- "bookmarkLabel": "Test",
204
- "bookmarkUrl": null,
205
- "bookmarkMeta": "{ \"type\": \"shortcut:search:v1\", \"query\": \"AB\", \"mainType\": \"spot\" }",
206
- "_values": {
207
- "dateCreation": "2021-10-28 12:02:27",
208
- "dateModified": "2021-10-28 12:02:27"
209
- }
210
- },
211
- {
212
- "id": 46,
213
- "type": "bookmarkLink",
214
- "uri": "bookmarkLink/46",
215
- "srcId": 1,
216
- "srcType": "user",
217
- "targetId": 6,
218
- "targetType": "mpMedia",
219
- "mainType": "link",
220
- "value": null,
221
- "_cssColor": "#76b9f2",
222
- "_cssClass": "star",
223
- "_src": {
224
- "id": 1,
225
- "type": "user",
226
- "mainType": "user",
227
- "_cssColor": "#a4acaf",
228
- "_cssClass": "user",
229
- "uri": "user/1",
230
- "title": "Maxime.Dupont",
231
- "_url": "/user/1",
232
- "firstname": "Maxime",
233
- "lastname": "Dupont",
234
- "company": "",
235
- "mail": "<a href=\"mailto:maxime.dupont@jamespot.com\" class=\"\" >maxime.dupont@jamespot.com</a>",
236
- "_values": {
237
- "firstname": "Maxime",
238
- "lastname": "Dupont",
239
- "company": "",
240
- "mail": "maxime.dupont@jamespot.com",
241
- "dateCreation": "2021-07-12 10:56:16",
242
- "dateModified": "2021-07-12 10:56:16"
243
- }
244
- },
245
- "_target": {
246
- "id": 6,
247
- "type": "mpMedia",
248
- "uri": "mpMedia/6",
249
- "mainType": "article",
250
- "_cssColor": "#529b60",
251
- "_cssClass": "article",
252
- "title": "",
253
- "_url": "/article/6",
254
- "_values": {
255
- "dateCreation": "2021-09-15 16:38:58",
256
- "dateModified": "2021-09-15 16:38:58"
257
- }
258
- },
259
- "bookmarkOrder": "-6",
260
- "bookmarkLabel": null,
261
- "bookmarkUrl": null,
262
- "bookmarkMeta": null,
263
- "_values": {
264
- "dateCreation": "2021-10-28 10:46:04",
265
- "dateModified": "2021-10-28 10:46:04"
266
- }
267
- }
268
- ],
269
- "facets": null
270
- }
271
- }
@@ -1,12 +0,0 @@
1
- {
2
- "o": "shortcuts",
3
- "f": "delete",
4
- "error": 0,
5
- "messages": [
6
- {
7
- "code": 200,
8
- "msg": "Suppression réussie"
9
- }
10
- ],
11
- "result": null
12
- }
@@ -1,12 +0,0 @@
1
- {
2
- "o": "community",
3
- "f": "sendRequest",
4
- "error": 0,
5
- "messages": [
6
- {
7
- "code": 200,
8
- "msg": "Votre demande de contact a \u00e9t\u00e9 envoy\u00e9e !"
9
- }
10
- ],
11
- "result": true
12
- }
@@ -1,18 +0,0 @@
1
- {
2
- "o": "file",
3
- "f": "create",
4
- "error": 0,
5
- "messages": [],
6
- "result": {
7
- "id": "13",
8
- "name": "2.png",
9
- "type": "fileTmp",
10
- "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.IntcIm5hbWVcIjpcIkpQT1RcIixcImlkVXNlclwiOlwiOVwiLFwibWljcm90aW1lXCI6MTYyOTgxMzExNC4yMDU5NjU5OTU3ODg1NzQyMTg3NX0i.wQe4w4woyWPXYZr8nkJqhqNhmK2fFfug3ESAUon_nIQ",
11
- "size": "51.77 KB",
12
- "mediaKey": "cf37e6c33f22d69b9fd715423a94b8f4",
13
- "imagesize": {
14
- "width": 528,
15
- "height": 528
16
- }
17
- }
18
- }
@@ -1,47 +0,0 @@
1
- {
2
- "o": "messenger",
3
- "f": "newMessage",
4
- "error": 0,
5
- "messages": [],
6
- "result": {
7
- "id": 22,
8
- "type": "messengerMessage",
9
- "uri": "messengerMessage/22",
10
- "uriDiscussion": "messengerUser/7",
11
- "description": "test",
12
- "preview": {},
13
- "isTechnical": false,
14
- "_url": "/messengerMessage/22",
15
- "_right": {
16
- "create": true,
17
- "read": true,
18
- "publish": true,
19
- "administrate": true,
20
- "update": true,
21
- "delete": true,
22
- "comment": true
23
- },
24
- "_user": {
25
- "id": 9,
26
- "type": "user",
27
- "mainType": "user",
28
- "_cssColor": "#a4acaf",
29
- "_cssClass": "user",
30
- "uri": "user/9",
31
- "title": "Chrystelle_Blot",
32
- "firstname": "Chrystelle",
33
- "lastname": "Blot",
34
- "mail": "chrystelle.blot@jamespot.com",
35
- "_url": "/user/9",
36
- "_values": {
37
- "dateCreation": "2021-06-07 16:05:10",
38
- "dateModified": null
39
- }
40
- },
41
- "_values": {
42
- "dateCreation": "2021-08-24 14:51:58",
43
- "dateModified": "2021-08-24 14:51:58"
44
- },
45
- "_idDiscussion": "9.25"
46
- }
47
- }
@@ -1,7 +0,0 @@
1
- {
2
- "o": "misc",
3
- "f": "tokenCSRF",
4
- "error": 0,
5
- "messages": [],
6
- "result": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.IntcIm5hbWVcIjpcInRva2VuLWNzcmZcIixcImlkVXNlclwiOlwiMVwiLFwibWljcm90aW1lXCI6MTYzNTQxNTMzOS44MTE2NzE5NzIyNzQ3ODAyNzM0Mzc1fSI.76-eAKpubev8HzdcJXqx7CnXYYceLFwy6cBScLOJFoU"
7
- }