jamespot-user-api 1.0.42 → 1.0.43

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 (173) hide show
  1. package/documentation/.nojekyll +1 -0
  2. package/documentation/assets/highlight.css +50 -0
  3. package/documentation/assets/icons.css +1043 -0
  4. package/documentation/assets/icons.png +0 -0
  5. package/documentation/assets/icons@2x.png +0 -0
  6. package/documentation/assets/main.js +52 -0
  7. package/documentation/assets/search.js +1 -0
  8. package/documentation/assets/style.css +1413 -0
  9. package/documentation/assets/widgets.png +0 -0
  10. package/documentation/assets/widgets@2x.png +0 -0
  11. package/documentation/classes/JApplication.html +1 -0
  12. package/documentation/classes/JApplicationApi.html +30 -0
  13. package/documentation/classes/JArticleApi.html +1 -0
  14. package/documentation/classes/JAudienceApi.html +4 -0
  15. package/documentation/classes/JBaseApi.html +1 -0
  16. package/documentation/classes/JBaseObject.html +4 -0
  17. package/documentation/classes/JBookmark.html +1 -0
  18. package/documentation/classes/JBookmarkApi.html +1 -0
  19. package/documentation/classes/JCommunityApi.html +1 -0
  20. package/documentation/classes/JConcept.html +1 -0
  21. package/documentation/classes/JConceptApi.html +7 -0
  22. package/documentation/classes/JDiapazoneApi.html +1 -0
  23. package/documentation/classes/JFileApi.html +1 -0
  24. package/documentation/classes/JFilebankApi.html +1 -0
  25. package/documentation/classes/JGroupApi.html +12 -0
  26. package/documentation/classes/JLandApi.html +1 -0
  27. package/documentation/classes/JMessengerApi.html +1 -0
  28. package/documentation/classes/JSearchApi.html +18 -0
  29. package/documentation/classes/JUser.html +1 -0
  30. package/documentation/classes/JUserApi.html +17 -0
  31. package/documentation/classes/JWedocApi.html +1 -0
  32. package/documentation/classes/JamespotUserApi.html +6 -0
  33. package/documentation/classes/Network.html +1 -0
  34. package/documentation/enums/JApplicationStatus.html +1 -0
  35. package/documentation/index.html +79 -0
  36. package/documentation/interfaces/ApiError.html +1 -0
  37. package/documentation/interfaces/ApiWrapper.html +1 -0
  38. package/documentation/interfaces/AseiGroups.html +1 -0
  39. package/documentation/interfaces/AseiInstitution.html +1 -0
  40. package/documentation/interfaces/AseiRights.html +1 -0
  41. package/documentation/interfaces/AseiTicket.html +1 -0
  42. package/documentation/interfaces/BaseAutocomplete.html +1 -0
  43. package/documentation/interfaces/BaseMessage.html +1 -0
  44. package/documentation/interfaces/Category.html +1 -0
  45. package/documentation/interfaces/CreateGroup.html +1 -0
  46. package/documentation/interfaces/FileBankProps.html +1 -0
  47. package/documentation/interfaces/FileOption.html +1 -0
  48. package/documentation/interfaces/FolderProps.html +1 -0
  49. package/documentation/interfaces/ListFilterSpec.html +1 -0
  50. package/documentation/interfaces/OF.html +1 -0
  51. package/documentation/interfaces/PagingResults.html +1 -0
  52. package/documentation/interfaces/Result.html +1 -0
  53. package/documentation/interfaces/RootFolderProps.html +1 -0
  54. package/documentation/interfaces/SearchCategoryModel.html +1 -0
  55. package/documentation/interfaces/SearchConfig.html +1 -0
  56. package/documentation/interfaces/SearchFacetModel.html +1 -0
  57. package/documentation/interfaces/SearchFacetValueModel.html +1 -0
  58. package/documentation/interfaces/SearchQuery.html +1 -0
  59. package/documentation/interfaces/SearchQueryFilterModel.html +6 -0
  60. package/documentation/interfaces/SearchQueryOption.html +4 -0
  61. package/documentation/interfaces/SearchQueryResult.html +1 -0
  62. package/documentation/interfaces/SearchQuerySortModel.html +5 -0
  63. package/documentation/interfaces/SearchResultCatProps.html +1 -0
  64. package/documentation/interfaces/SearchResultProps.html +1 -0
  65. package/documentation/interfaces/SpotProps.html +1 -0
  66. package/documentation/interfaces/Taxonomy.html +1 -0
  67. package/documentation/interfaces/TaxonomyCreate.html +1 -0
  68. package/documentation/interfaces/TmpApplication.html +1 -0
  69. package/documentation/interfaces/TmpUser.html +1 -0
  70. package/documentation/interfaces/UserModel.html +1 -0
  71. package/documentation/modules.html +1 -0
  72. package/lib/src/apis/application.d.ts +60 -0
  73. package/lib/src/apis/article.d.ts +38 -0
  74. package/lib/src/apis/asei.d.ts +25 -0
  75. package/lib/src/apis/audience.d.ts +9 -0
  76. package/lib/src/apis/base.d.ts +5 -0
  77. package/lib/src/apis/bookmark.d.ts +21 -0
  78. package/lib/src/apis/community.d.ts +9 -0
  79. package/lib/src/apis/concept.d.ts +10 -0
  80. package/lib/src/apis/diapazone.d.ts +8 -0
  81. package/lib/src/apis/file.d.ts +5 -0
  82. package/lib/src/apis/filebank.d.ts +34 -0
  83. package/lib/src/apis/group.d.ts +16 -0
  84. package/lib/src/apis/index.d.ts +17 -0
  85. package/lib/src/apis/jamespotUserApi.d.ts +47 -0
  86. package/lib/src/apis/jland.d.ts +24 -0
  87. package/lib/src/apis/messenger.d.ts +6 -0
  88. package/lib/src/apis/search.d.ts +47 -0
  89. package/lib/src/apis/taxonomy.d.ts +9 -0
  90. package/lib/src/apis/user.d.ts +27 -0
  91. package/lib/src/apis/wedoc.d.ts +32 -0
  92. package/lib/src/classes/JApplication.d.ts +16 -0
  93. package/lib/src/classes/JBaseObject.d.ts +15 -0
  94. package/lib/src/classes/JBookmark.d.ts +16 -0
  95. package/lib/src/classes/JConcept.d.ts +3 -0
  96. package/lib/src/classes/JDiapazone.d.ts +16 -0
  97. package/lib/src/classes/JFile.d.ts +13 -0
  98. package/lib/src/classes/JUser.d.ts +4 -0
  99. package/lib/src/classes/index.d.ts +5 -0
  100. package/lib/src/index.d.ts +13 -0
  101. package/lib/src/indexMock.d.ts +9 -0
  102. package/lib/src/mock/windowMock.d.ts +9 -0
  103. package/lib/src/types/asei.d.ts +28 -0
  104. package/lib/src/types/autocomplete.d.ts +16 -0
  105. package/lib/src/types/group.d.ts +22 -0
  106. package/lib/src/types/index.d.ts +7 -0
  107. package/lib/src/types/listWrapper.d.ts +6 -0
  108. package/lib/src/types/search.d.ts +96 -0
  109. package/lib/src/types/taxonomy.d.ts +46 -0
  110. package/lib/src/types/user.d.ts +14 -0
  111. package/lib/src/types/utils.d.ts +56 -0
  112. package/lib/src/util/network.d.ts +23 -0
  113. package/package.json +1 -1
  114. package/src/apis/application.ts +132 -0
  115. package/src/apis/article.ts +74 -0
  116. package/src/apis/asei.ts +73 -0
  117. package/src/apis/audience.ts +18 -0
  118. package/src/apis/base.ts +9 -0
  119. package/src/apis/bookmark.ts +110 -0
  120. package/src/apis/community.ts +20 -0
  121. package/src/apis/concept.ts +31 -0
  122. package/src/apis/diapazone.ts +65 -0
  123. package/src/apis/file.ts +14 -0
  124. package/src/apis/filebank.ts +50 -0
  125. package/src/apis/group.ts +48 -0
  126. package/src/apis/index.ts +17 -0
  127. package/src/apis/jamespotUserApi.ts +69 -0
  128. package/src/apis/jland.ts +51 -0
  129. package/src/apis/messenger.ts +25 -0
  130. package/src/apis/search.ts +85 -0
  131. package/src/apis/taxonomy.ts +30 -0
  132. package/src/apis/user.ts +53 -0
  133. package/src/apis/wedoc.ts +77 -0
  134. package/src/classes/JApplication.ts +55 -0
  135. package/src/classes/JBaseObject.ts +64 -0
  136. package/src/classes/JBookmark.ts +44 -0
  137. package/src/classes/JConcept.ts +3 -0
  138. package/src/classes/JDiapazone.ts +42 -0
  139. package/src/classes/JFile.ts +37 -0
  140. package/src/classes/JUser.ts +7 -0
  141. package/src/classes/index.ts +5 -0
  142. package/src/index.ts +21 -0
  143. package/src/indexMock.ts +17 -0
  144. package/src/mock/data/autocomplete/audience/data.json +191 -0
  145. package/src/mock/data/autocomplete/community/data.json +47 -0
  146. package/src/mock/data/autocomplete/taxonomy/data.json +35 -0
  147. package/src/mock/data/autocomplete/user/data.json +107 -0
  148. package/src/mock/data/bookmarks/addBookmark/data.json +54 -0
  149. package/src/mock/data/bookmarks/addLink/data.json +63 -0
  150. package/src/mock/data/bookmarks/bookmarkList/data.json +271 -0
  151. package/src/mock/data/bookmarks/delete/data.json +12 -0
  152. package/src/mock/data/community/sendRequest/data.json +12 -0
  153. package/src/mock/data/file/create/data.json +18 -0
  154. package/src/mock/data/messenger/newMessage/data.json +47 -0
  155. package/src/mock/data/misc/tokenCSRF/data.json +7 -0
  156. package/src/mock/data/search/getConfig/data.json +318 -0
  157. package/src/mock/data/search/lastQueries/data.json +7 -0
  158. package/src/mock/data/search/proposition/data.json +125 -0
  159. package/src/mock/data/spot/create/data.json +7 -0
  160. package/src/mock/data/spot/get-available-widget/data.json +56 -0
  161. package/src/mock/data/spot/get-categories/data.json +28 -0
  162. package/src/mock/data/user/signIn/data.json +197 -0
  163. package/src/mock/windowMock.ts +113 -0
  164. package/src/types/asei.ts +33 -0
  165. package/src/types/autocomplete.ts +17 -0
  166. package/src/types/group.ts +27 -0
  167. package/src/types/index.ts +7 -0
  168. package/src/types/listWrapper.ts +6 -0
  169. package/src/types/search.ts +105 -0
  170. package/src/types/taxonomy.ts +47 -0
  171. package/src/types/user.ts +14 -0
  172. package/src/types/utils.ts +66 -0
  173. package/src/util/network.ts +96 -0
@@ -0,0 +1,17 @@
1
+ import { JamespotUserApi } from './apis';
2
+ import { Network } from './util/network';
3
+ import { WindowMock } from './mock/windowMock';
4
+
5
+ const network = new Network(new WindowMock() as unknown as Window);
6
+ const JamespotUserApiInstance = new JamespotUserApi(network);
7
+
8
+ declare global {
9
+ interface Window {
10
+ JamespotUserApi: JamespotUserApi;
11
+ }
12
+ }
13
+
14
+ window.JamespotUserApi = JamespotUserApiInstance;
15
+
16
+ export { JamespotUserApiInstance };
17
+ export default JamespotUserApiInstance;
@@ -0,0 +1,191 @@
1
+ {
2
+ "o": "audience",
3
+ "f": "autocomplete",
4
+ "filter": "name",
5
+ "error": 0,
6
+ "messages": [],
7
+ "result": [
8
+ {
9
+ "value": "user/8",
10
+ "uri": "user/8",
11
+ "shortUri": "u8",
12
+ "title": "Matthieu_Lluis",
13
+ "name": "Matthieu_Lluis",
14
+ "mainType": "user",
15
+ "type": "user",
16
+ "label": "Utilisateur",
17
+ "cssClass": "user",
18
+ "cssColor": "#a4acaf",
19
+ "class": "user-selector-user",
20
+ "Pseudo": "Matthieu_Lluis"
21
+ },
22
+ {
23
+ "value": "user/25",
24
+ "uri": "user/25",
25
+ "shortUri": "u25",
26
+ "title": "Maxime.Dupont",
27
+ "name": "Maxime.Dupont",
28
+ "mainType": "user",
29
+ "type": "user",
30
+ "label": "Utilisateur",
31
+ "cssClass": "user",
32
+ "cssColor": "#a4acaf",
33
+ "class": "user-selector-user",
34
+ "Pseudo": "Maxime.Dupont"
35
+ },
36
+ {
37
+ "value": "user/23",
38
+ "uri": "user/23",
39
+ "shortUri": "u23",
40
+ "title": "Damien.Percereau",
41
+ "name": "Damien.Percereau",
42
+ "mainType": "user",
43
+ "type": "user",
44
+ "label": "Utilisateur",
45
+ "cssClass": "user",
46
+ "cssColor": "#a4acaf",
47
+ "class": "user-selector-user",
48
+ "Pseudo": "Damien.Percereau"
49
+ },
50
+ {
51
+ "value": "user/2",
52
+ "uri": "user/2",
53
+ "shortUri": "u2",
54
+ "title": "Samuel.Arzouan",
55
+ "name": "Samuel.Arzouan",
56
+ "mainType": "user",
57
+ "type": "user",
58
+ "label": "Utilisateur",
59
+ "cssClass": "user",
60
+ "cssColor": "#a4acaf",
61
+ "class": "user-selector-user",
62
+ "Pseudo": "Samuel.Arzouan"
63
+ },
64
+ {
65
+ "value": "user/20",
66
+ "uri": "user/20",
67
+ "shortUri": "u20",
68
+ "title": "Clémence_Fabre",
69
+ "name": "Clémence_Fabre",
70
+ "mainType": "user",
71
+ "type": "user",
72
+ "label": "Utilisateur",
73
+ "cssClass": "user",
74
+ "cssColor": "#a4acaf",
75
+ "class": "user-selector-user",
76
+ "Pseudo": "Clémence_Fabre"
77
+ },
78
+ {
79
+ "value": "user/11",
80
+ "uri": "user/11",
81
+ "shortUri": "u11",
82
+ "title": "Antony_Meunier",
83
+ "name": "Antony_Meunier",
84
+ "mainType": "user",
85
+ "type": "user",
86
+ "label": "Utilisateur",
87
+ "cssClass": "user",
88
+ "cssColor": "#a4acaf",
89
+ "class": "user-selector-user",
90
+ "Pseudo": "Antony_Meunier"
91
+ },
92
+ {
93
+ "value": "user/12",
94
+ "uri": "user/12",
95
+ "shortUri": "u12",
96
+ "title": "Guillaume_Poumadé",
97
+ "name": "Guillaume_Poumadé",
98
+ "mainType": "user",
99
+ "type": "user",
100
+ "label": "Utilisateur",
101
+ "cssClass": "user",
102
+ "cssColor": "#a4acaf",
103
+ "class": "user-selector-user",
104
+ "Pseudo": "Guillaume_Poumadé"
105
+ },
106
+ {
107
+ "value": "user/27",
108
+ "uri": "user/27",
109
+ "shortUri": "u27",
110
+ "title": "Guillaume.Barreau",
111
+ "name": "Guillaume.Barreau",
112
+ "mainType": "user",
113
+ "type": "user",
114
+ "label": "Utilisateur",
115
+ "cssClass": "user",
116
+ "cssColor": "#a4acaf",
117
+ "class": "user-selector-user",
118
+ "Pseudo": "Guillaume.Barreau"
119
+ },
120
+ {
121
+ "value": "user/28",
122
+ "uri": "user/28",
123
+ "shortUri": "u28",
124
+ "title": "Guillaume.Barreau",
125
+ "name": "Guillaume.Barreau",
126
+ "mainType": "user",
127
+ "type": "user",
128
+ "label": "Utilisateur",
129
+ "cssClass": "user",
130
+ "cssColor": "#a4acaf",
131
+ "class": "user-selector-user",
132
+ "Pseudo": "Guillaume.Barreau"
133
+ },
134
+ {
135
+ "value": "spot/6",
136
+ "valuespot": "6",
137
+ "uri": "spot/6",
138
+ "shortUri": "s6",
139
+ "title": "mon groupe",
140
+ "name": "mon groupe",
141
+ "mainType": "spot",
142
+ "type": "spot",
143
+ "label": "Groupe",
144
+ "cssClass": "group",
145
+ "cssColor": "#e34d55",
146
+ "class": "user-selector-spot"
147
+ },
148
+ {
149
+ "value": "spot/7",
150
+ "valuespot": "7",
151
+ "uri": "spot/7",
152
+ "shortUri": "s7",
153
+ "title": "Mon groupe test",
154
+ "name": "Mon groupe test",
155
+ "mainType": "spot",
156
+ "type": "spot",
157
+ "label": "Groupe",
158
+ "cssClass": "group",
159
+ "cssColor": "#e34d55",
160
+ "class": "user-selector-spot"
161
+ },
162
+ {
163
+ "value": "spot/3",
164
+ "valuespot": "3",
165
+ "uri": "spot/3",
166
+ "shortUri": "s3",
167
+ "title": "Mon nom de groupe",
168
+ "name": "Mon nom de groupe",
169
+ "mainType": "spot",
170
+ "type": "spot",
171
+ "label": "Groupe",
172
+ "cssClass": "group",
173
+ "cssColor": "#e34d55",
174
+ "class": "user-selector-spot"
175
+ },
176
+ {
177
+ "value": "spot/23",
178
+ "valuespot": "23",
179
+ "uri": "spot/23",
180
+ "shortUri": "s23",
181
+ "title": "Mon super groupe",
182
+ "name": "Mon super groupe",
183
+ "mainType": "spot",
184
+ "type": "spot",
185
+ "label": "Groupe",
186
+ "cssClass": "group",
187
+ "cssColor": "#e34d55",
188
+ "class": "user-selector-spot"
189
+ }
190
+ ]
191
+ }
@@ -0,0 +1,47 @@
1
+ {
2
+ "o": "community",
3
+ "f": "autocompleteCommunity",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": [
7
+ {
8
+ "id": "communityPublic/12",
9
+ "uri": "communityPublic/12",
10
+ "shortUri": "ct12",
11
+ "title": "Communauté des astronautes",
12
+ "name": "Communauté des astronautes",
13
+ "mainType": "community",
14
+ "type": "communityPublic",
15
+ "label": "COMMUNITY_Public",
16
+ "cssClass": "globe",
17
+ "cssColor": "#42ac9e",
18
+ "class": ""
19
+ },
20
+ {
21
+ "id": "communityPublic/13",
22
+ "uri": "communityPublic/13",
23
+ "shortUri": "ct13",
24
+ "title": "Communauté des vendeurs de rêves",
25
+ "name": "Communauté des vendeurs de rêves",
26
+ "mainType": "community",
27
+ "type": "communityPublic",
28
+ "label": "COMMUNITY_Public",
29
+ "cssClass": "globe",
30
+ "cssColor": "#42ac9e",
31
+ "class": ""
32
+ },
33
+ {
34
+ "id": "communityPublic/14",
35
+ "uri": "communityPublic/14",
36
+ "shortUri": "ct14",
37
+ "title": "Communauté des vendeurs de paquerettes",
38
+ "name": "Communauté des vendeurs de paquerettes",
39
+ "mainType": "community",
40
+ "type": "communityPublic",
41
+ "label": "COMMUNITY_Public",
42
+ "cssClass": "globe",
43
+ "cssColor": "#42ac9e",
44
+ "class": ""
45
+ }
46
+ ]
47
+ }
@@ -0,0 +1,35 @@
1
+ {
2
+ "o": "taxonomy",
3
+ "f": "autocomplete",
4
+ "error": 0,
5
+ "filter": "name",
6
+ "messages": [],
7
+ "result": [
8
+ {
9
+ "id": "tagConcept/3",
10
+ "uri": "tagConcept/3",
11
+ "shortUri": null,
12
+ "title": "hello",
13
+ "name": "hello",
14
+ "mainType": "tagConcept",
15
+ "type": "tagConcept",
16
+ "label": "Tag",
17
+ "cssClass": "article",
18
+ "cssColor": "#76b9f2",
19
+ "class": "user-selector-spot"
20
+ },
21
+ {
22
+ "id": "tagConcept/2",
23
+ "uri": "tagConcept/2",
24
+ "shortUri": null,
25
+ "title": "salut",
26
+ "name": "salut",
27
+ "mainType": "tagConcept",
28
+ "type": "tagConcept",
29
+ "label": "Tag",
30
+ "cssClass": "article",
31
+ "cssColor": "#76b9f2",
32
+ "class": "user-selector-spot"
33
+ }
34
+ ]
35
+ }
@@ -0,0 +1,107 @@
1
+ {
2
+ "o": "user",
3
+ "f": "autocomplete",
4
+ "error": 0,
5
+ "filter": "name",
6
+ "messages": [],
7
+ "result": [
8
+ {
9
+ "id": "user/8",
10
+ "uri": "user/8",
11
+ "shortUri": "u8",
12
+ "title": "Matthieu_Lluis",
13
+ "name": "Matthieu_Lluis",
14
+ "mainType": "user",
15
+ "type": "user",
16
+ "label": "Utilisateur",
17
+ "cssClass": "user",
18
+ "cssColor": "#a4acaf",
19
+ "class": "user-selector-user",
20
+ "Pseudo": "Matthieu_Lluis"
21
+ },
22
+ {
23
+ "id": "user/25",
24
+ "uri": "user/25",
25
+ "shortUri": "u25",
26
+ "title": "Maxime.Dupont",
27
+ "name": "Maxime.Dupont",
28
+ "mainType": "user",
29
+ "type": "user",
30
+ "label": "Utilisateur",
31
+ "cssClass": "user",
32
+ "cssColor": "#a4acaf",
33
+ "class": "user-selector-user",
34
+ "Pseudo": "Maxime.Dupont"
35
+ },
36
+ {
37
+ "id": "user/23",
38
+ "uri": "user/23",
39
+ "shortUri": "u23",
40
+ "title": "Damien.Percereau",
41
+ "name": "Damien.Percereau",
42
+ "mainType": "user",
43
+ "type": "user",
44
+ "label": "Utilisateur",
45
+ "cssClass": "user",
46
+ "cssColor": "#a4acaf",
47
+ "class": "user-selector-user",
48
+ "Pseudo": "Damien.Percereau"
49
+ },
50
+ {
51
+ "id": "user/2",
52
+ "uri": "user/2",
53
+ "shortUri": "u2",
54
+ "title": "Samuel.Arzouan",
55
+ "name": "Samuel.Arzouan",
56
+ "mainType": "user",
57
+ "type": "user",
58
+ "label": "Utilisateur",
59
+ "cssClass": "user",
60
+ "cssColor": "#a4acaf",
61
+ "class": "user-selector-user",
62
+ "Pseudo": "Samuel.Arzouan"
63
+ },
64
+ {
65
+ "id": "user/20",
66
+ "uri": "user/20",
67
+ "shortUri": "u20",
68
+ "title": "Clémence_Fabre",
69
+ "name": "Clémence_Fabre",
70
+ "mainType": "user",
71
+ "type": "user",
72
+ "label": "Utilisateur",
73
+ "cssClass": "user",
74
+ "cssColor": "#a4acaf",
75
+ "class": "user-selector-user",
76
+ "Pseudo": "Clémence_Fabre"
77
+ },
78
+ {
79
+ "id": "user/11",
80
+ "uri": "user/11",
81
+ "shortUri": "u11",
82
+ "title": "Antony_Meunier",
83
+ "name": "Antony_Meunier",
84
+ "mainType": "user",
85
+ "type": "user",
86
+ "label": "Utilisateur",
87
+ "cssClass": "user",
88
+ "cssColor": "#a4acaf",
89
+ "class": "user-selector-user",
90
+ "Pseudo": "Antony_Meunier"
91
+ },
92
+ {
93
+ "id": "user/12",
94
+ "uri": "user/12",
95
+ "shortUri": "u12",
96
+ "title": "Guillaume_Poumadé",
97
+ "name": "Guillaume_Poumadé",
98
+ "mainType": "user",
99
+ "type": "user",
100
+ "label": "Utilisateur",
101
+ "cssClass": "user",
102
+ "cssColor": "#a4acaf",
103
+ "class": "user-selector-user",
104
+ "Pseudo": "Guillaume_Poumadé"
105
+ }
106
+ ]
107
+ }
@@ -0,0 +1,54 @@
1
+ {
2
+ "o": "shortcuts",
3
+ "f": "add",
4
+ "error": 0,
5
+ "messages": [
6
+ {
7
+ "code": 200,
8
+ "msg": "Enregistrement réussi"
9
+ }
10
+ ],
11
+ "result": {
12
+ "id": 47,
13
+ "type": "bookmarkLink",
14
+ "uri": "bookmarkLink/47",
15
+ "srcId": 1,
16
+ "srcType": "user",
17
+ "targetId": 0,
18
+ "targetType": null,
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
+ "bookmarkOrder": -7,
46
+ "bookmarkLabel": "Test",
47
+ "bookmarkUrl": null,
48
+ "bookmarkMeta": "{ \"type\": \"shortcut:search:v1\", \"query\": \"AB\", \"mainType\": \"spot\" }",
49
+ "_values": {
50
+ "dateCreation": "2021-10-28 12:02:27",
51
+ "dateModified": "2021-10-28 12:02:27"
52
+ }
53
+ }
54
+ }
@@ -0,0 +1,63 @@
1
+ {
2
+ "o": "custom",
3
+ "f": "actionAdd",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": {
7
+ "id": 40,
8
+ "type": "bookmarkLink",
9
+ "uri": "bookmarkLink/40",
10
+ "srcId": 1,
11
+ "srcType": "user",
12
+ "targetId": 6,
13
+ "targetType": "mpMedia",
14
+ "mainType": "link",
15
+ "value": null,
16
+ "_cssColor": "#76b9f2",
17
+ "_cssClass": "star",
18
+ "_src": {
19
+ "id": 1,
20
+ "type": "user",
21
+ "mainType": "user",
22
+ "_cssColor": "#a4acaf",
23
+ "_cssClass": "user",
24
+ "uri": "user/1",
25
+ "title": "Maxime.Dupont",
26
+ "_url": "/user/1",
27
+ "firstname": "Maxime",
28
+ "lastname": "Dupont",
29
+ "company": "",
30
+ "mail": "<a href=\"mailto:maxime.dupont@jamespot.com\" class=\"\" >maxime.dupont@jamespot.com</a>",
31
+ "_values": {
32
+ "firstname": "Maxime",
33
+ "lastname": "Dupont",
34
+ "company": "",
35
+ "mail": "maxime.dupont@jamespot.com",
36
+ "dateCreation": "2021-07-12 10:56:16",
37
+ "dateModified": "2021-07-12 10:56:16"
38
+ }
39
+ },
40
+ "_target": {
41
+ "id": 6,
42
+ "type": "mpMedia",
43
+ "uri": "mpMedia/6",
44
+ "mainType": "article",
45
+ "_cssColor": "#529b60",
46
+ "_cssClass": "article",
47
+ "title": "",
48
+ "_url": "/article/6",
49
+ "_values": {
50
+ "dateCreation": "2021-09-15 16:38:58",
51
+ "dateModified": "2021-09-15 16:38:58"
52
+ }
53
+ },
54
+ "bookmarkOrder": -1,
55
+ "bookmarkLabel": null,
56
+ "bookmarkUrl": null,
57
+ "bookmarkMeta": null,
58
+ "_values": {
59
+ "dateCreation": "2021-10-28 10:04:55",
60
+ "dateModified": "2021-10-28 10:04:55"
61
+ }
62
+ }
63
+ }