jamespot-user-api 1.0.140 → 1.0.141

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 (106) 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/JBusinessNetworkingApi.html +1 -0
  12. package/documentation/classes/JCommunityApi.html +1 -1
  13. package/documentation/classes/JDiapazoneApi.html +1 -1
  14. package/documentation/classes/JFaqApi.html +1 -1
  15. package/documentation/classes/JFileApi.html +5 -5
  16. package/documentation/classes/JFilebankApi.html +1 -1
  17. package/documentation/classes/JGlobalApi.html +1 -0
  18. package/documentation/classes/JGroupApi.html +9 -9
  19. package/documentation/classes/JLandApi.html +1 -1
  20. package/documentation/classes/JMessengerApi.html +1 -1
  21. package/documentation/classes/JObjectApi.html +1 -1
  22. package/documentation/classes/JSearchApi.html +6 -6
  23. package/documentation/classes/JShareApi.html +1 -1
  24. package/documentation/classes/JSocialActionApi.html +1 -0
  25. package/documentation/classes/JTaxonomyApi.html +2 -2
  26. package/documentation/classes/JUserApi.html +6 -6
  27. package/documentation/classes/JWedocApi.html +1 -1
  28. package/documentation/classes/JamespotUserApi.html +1 -1
  29. package/documentation/classes/Network.html +1 -1
  30. package/documentation/classes/TVDisplayApi.html +1 -1
  31. package/documentation/classes/WindowBrowser.html +1 -1
  32. package/documentation/enums/StudioApplicationStatus.html +1 -1
  33. package/documentation/index.html +1 -1
  34. package/documentation/interfaces/AccessRightObject.html +1 -1
  35. package/documentation/interfaces/AdminLicenseUser.html +1 -1
  36. package/documentation/interfaces/ApiDefaultWrapper.html +1 -1
  37. package/documentation/interfaces/ApiWrapper.html +1 -1
  38. package/documentation/interfaces/BaseAutocomplete.html +1 -1
  39. package/documentation/interfaces/BaseMessage.html +1 -1
  40. package/documentation/interfaces/Category.html +1 -1
  41. package/documentation/interfaces/FileBankProps.html +1 -1
  42. package/documentation/interfaces/FolderProps.html +1 -1
  43. package/documentation/interfaces/ListFilterSpec.html +1 -1
  44. package/documentation/interfaces/OF.html +1 -1
  45. package/documentation/interfaces/ObjectListProps.html +1 -1
  46. package/documentation/interfaces/PagingResults.html +1 -1
  47. package/documentation/interfaces/RootFolderProps.html +1 -1
  48. package/documentation/interfaces/SearchCategoryModel.html +1 -1
  49. package/documentation/interfaces/SearchCategoryValue.html +1 -1
  50. package/documentation/interfaces/SearchConfig.html +1 -1
  51. package/documentation/interfaces/SearchFacetModel.html +1 -1
  52. package/documentation/interfaces/SearchFacetValueModel.html +1 -1
  53. package/documentation/interfaces/SearchQuery.html +1 -1
  54. package/documentation/interfaces/SearchQueryFilterModel.html +1 -1
  55. package/documentation/interfaces/SearchQueryOption.html +1 -1
  56. package/documentation/interfaces/SearchQueryResult.html +1 -1
  57. package/documentation/interfaces/SearchQuerySortModel.html +1 -1
  58. package/documentation/interfaces/SearchResultCatProps.html +1 -1
  59. package/documentation/interfaces/SearchResultPropsApp.html +1 -1
  60. package/documentation/interfaces/SearchResultPropsObject.html +1 -1
  61. package/documentation/interfaces/SpotProps.html +1 -1
  62. package/documentation/interfaces/Taxonomy.html +1 -1
  63. package/documentation/interfaces/TaxonomyCreate.html +1 -1
  64. package/documentation/interfaces/WindowInterface.html +1 -1
  65. package/documentation/modules.html +11 -11
  66. package/lib/jamespot-user-api.js +1 -1
  67. package/lib/jamespot-user-api.js.map +1 -1
  68. package/lib/src/apis/article/article.d.ts +13 -32
  69. package/lib/src/apis/article/article.mock.d.ts +6 -1
  70. package/lib/src/apis/businessNetworking/businessNetworking.d.ts +5 -0
  71. package/lib/src/apis/businessNetworking/businessNetworking.mock.d.ts +2 -0
  72. package/lib/src/apis/businessNetworking/businessNetworking.test.d.ts +1 -0
  73. package/lib/src/apis/global/global.d.ts +6 -0
  74. package/lib/src/apis/global/global.mock.d.ts +2 -0
  75. package/lib/src/apis/global/global.test.d.ts +1 -0
  76. package/lib/src/apis/index.d.ts +3 -0
  77. package/lib/src/apis/jamespotUserApi.d.ts +8 -2
  78. package/lib/src/apis/jland/jland.d.ts +1 -1
  79. package/lib/src/apis/socialAction/socialAction.d.ts +8 -0
  80. package/lib/src/apis/socialAction/socialAction.mock.d.ts +4 -0
  81. package/lib/src/apis/socialAction/socialAction.test.d.ts +1 -0
  82. package/lib/src/apis/user/user.d.ts +2 -1
  83. package/lib/src/apis/user/user.mock.d.ts +2 -1
  84. package/lib/src/types/article.d.ts +56 -0
  85. package/lib/src/types/comment.d.ts +4 -0
  86. package/lib/src/types/faq.d.ts +3 -1
  87. package/lib/src/types/global.d.ts +19 -0
  88. package/lib/src/types/index.d.ts +2 -0
  89. package/lib/src/types/realtime.d.ts +10 -3
  90. package/lib/src/types/socialAction.d.ts +10 -0
  91. package/lib/src/types/tvDisplay.d.ts +2 -1
  92. package/lib/src/types/user.d.ts +6 -1
  93. package/lib/src/types/utils.d.ts +1 -1
  94. package/package.json +1 -1
  95. package/phpunitMock/activityLogLog-success.json +7 -0
  96. package/phpunitMock/articleAddComment-success.json +57 -0
  97. package/phpunitMock/articleGetComments-success.json +59 -0
  98. package/phpunitMock/articleUpdateComment-success.json +62 -0
  99. package/phpunitMock/businessNetworkingMarkerInfo-success.json +16 -0
  100. package/phpunitMock/commentDelete-success.json +11 -0
  101. package/phpunitMock/customActionAdd-success.json +18 -0
  102. package/phpunitMock/customActionGetUsers-success.json +24 -0
  103. package/phpunitMock/customActionRemove-success.json +7 -0
  104. package/phpunitMock/tvDisplayGetChannel-dynamic.json +214 -209
  105. package/phpunitMock/tvDisplayGetConfigureChannel-dynamic.json +206 -194
  106. package/phpunitMock/userGetFields-success.json +20 -0
@@ -1,194 +1,206 @@
1
- {
2
- "o": "tvDisplay",
3
- "f": "getConfigureChannel",
4
- "error": 0,
5
- "messages": [],
6
- "result": {
7
- "id": 192,
8
- "mainType": "article",
9
- "type": "tvDisplayChannel",
10
- "uri": "tvDisplayChannel/192",
11
- "dateCreation": "2024-01-25 10:21:19",
12
- "dateModified": "2024-01-25 10:21:20",
13
- "title": "TV Channel dynamic",
14
- "_url": "/ng/rr/tv-display",
15
- "_right": {
16
- "create": true,
17
- "read": true,
18
- "publish": true,
19
- "administrate": true,
20
- "update": true,
21
- "delete": true,
22
- "comment": false,
23
- "member": true
24
- },
25
- "_user": {
26
- "id": 4,
27
- "mainType": "user",
28
- "type": "user",
29
- "uri": "user/4",
30
- "dateCreation": "2019-07-09 15:48:26",
31
- "dateModified": "2019-07-09 15:51:24",
32
- "title": "Admin1",
33
- "_url": "/user/4",
34
- "level": 9
35
- },
36
- "image": { "width": 702, "height": 583 },
37
- "_audience": [],
38
- "tvChannelType": "DYNAMIC",
39
- "tvChannelBackgroundColor": "#FF0000",
40
- "tvChannelNumImages": 0,
41
- "tvChannelGroupTarget": {
42
- "id": 1,
43
- "mainType": "spot",
44
- "type": "spot",
45
- "uri": "spot/1",
46
- "dateCreation": "2019-07-18 18:36:24",
47
- "dateModified": "2024-01-25 10:21:20",
48
- "title": "Groupe public",
49
- "_url": "/group/1",
50
- "privacy": 1,
51
- "category": 1
52
- },
53
- "tvChannelConfig": { "contents": [], "key": "65b2280fd40bf" },
54
- "_extend": {
55
- "imageSecureUrl": "http://jenkins-preprod.jamespot.pro/imagesecure/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwYXRoIjoib3JpZ2luYWxcL3R2RGlzcGxheUNoYW5uZWxcLzE5Mi5wbmcifQ.6oZk5-zPqzuLlWLAdx2pzSIGWHbJost7TPzE7jIdil8",
56
- "articles": [
57
- {
58
- "id": 193,
59
- "mainType": "article",
60
- "type": "mpArticle",
61
- "uri": "mpArticle/193",
62
- "dateCreation": "2024-01-25 10:21:20",
63
- "dateModified": "2024-01-25 10:21:20",
64
- "title": "a-2",
65
- "_url": "/article/193",
66
- "_right": {
67
- "create": true,
68
- "read": true,
69
- "publish": false,
70
- "administrate": true,
71
- "update": true,
72
- "delete": true,
73
- "comment": true,
74
- "member": true
75
- },
76
- "description": "<div class='content-html'>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</div>",
77
- "_user": {
78
- "id": 4,
79
- "mainType": "user",
80
- "type": "user",
81
- "uri": "user/4",
82
- "dateCreation": "2019-07-09 15:48:26",
83
- "dateModified": "2019-07-09 15:51:24",
84
- "title": "Admin1",
85
- "_url": "/user/4",
86
- "level": 9
87
- },
88
- "image": { "width": 702, "height": 583 },
89
- "_audience": [
90
- {
91
- "id": 1,
92
- "mainType": "spot",
93
- "type": "spot",
94
- "uri": "spot/1",
95
- "dateCreation": "2019-07-18 18:36:24",
96
- "dateModified": "2024-01-25 10:21:20",
97
- "title": "Groupe public",
98
- "_url": "/group/1",
99
- "privacy": 1,
100
- "category": 1
101
- }
102
- ],
103
- "_extend": {
104
- "descriptionSecure": "<div class=\"content-html\">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</div>\n",
105
- "imageSecureUrl": "http://jenkins-preprod.jamespot.pro/imagesecure/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwYXRoIjoib3JpZ2luYWxcL21wQXJ0aWNsZVwvMTkzLnBuZz9fPTE3MDYxNzQ0ODAifQ.YwD2jbSH0nUjc_HI6h7FOrxZFbuCO_ms3Morf0o6yWI",
106
- "comments": [
107
- {
108
- "id": 13,
109
- "mainType": "comment",
110
- "type": "comment",
111
- "uri": "comment/13",
112
- "dateCreation": "2024-01-25 10:21:20",
113
- "dateModified": null,
114
- "description": "<div class='content-html'>Phasellus sodales augue vitae sapien tempus tristique.</div>",
115
- "_user": {
116
- "id": 4,
117
- "mainType": "user",
118
- "type": "user",
119
- "uri": "user/4",
120
- "dateCreation": "2019-07-09 15:48:26",
121
- "dateModified": "2019-07-09 15:51:24",
122
- "title": "Admin1",
123
- "_url": "/user/4",
124
- "level": 9
125
- },
126
- "_right": {
127
- "create": true,
128
- "read": true,
129
- "publish": true,
130
- "administrate": true,
131
- "update": true,
132
- "delete": true,
133
- "comment": true,
134
- "member": true
135
- },
136
- "_extend": {
137
- "userImageSecureUrl": "http://jenkins-preprod.jamespot.pro/imagesecure/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwYXRoIjoiNTAweDUwMFwvdXNlclwvNC5wbmc_Xz0xNTYyNjgwMjg0In0.903ztErqev5yT72udVgRNf53P7M_MZDxgVF_tKgpCdY",
138
- "descriptionSecure": "<div class=\"content-html\">Phasellus sodales augue vitae sapien tempus tristique.</div>\n"
139
- }
140
- }
141
- ]
142
- }
143
- },
144
- {
145
- "id": 2,
146
- "mainType": "article",
147
- "type": "mpArticle",
148
- "uri": "mpArticle/2",
149
- "dateCreation": "2019-07-19 09:36:25",
150
- "dateModified": "2019-07-19 09:36:25",
151
- "title": "Article groupe public",
152
- "_url": "/article/2",
153
- "_right": {
154
- "create": true,
155
- "read": true,
156
- "publish": false,
157
- "administrate": true,
158
- "update": true,
159
- "delete": true,
160
- "comment": false,
161
- "member": true
162
- },
163
- "description": "<div class='content-html'></div>",
164
- "_user": {
165
- "id": 1,
166
- "mainType": "user",
167
- "type": "user",
168
- "uri": "user/1",
169
- "dateCreation": "2019-03-26 16:29:33",
170
- "dateModified": "2019-07-19 09:39:23",
171
- "title": "AdminJenkins",
172
- "_url": "/user/1",
173
- "level": 9
174
- },
175
- "_audience": [
176
- {
177
- "id": 1,
178
- "mainType": "spot",
179
- "type": "spot",
180
- "uri": "spot/1",
181
- "dateCreation": "2019-07-18 18:36:24",
182
- "dateModified": "2024-01-25 10:21:20",
183
- "title": "Groupe public",
184
- "_url": "/group/1",
185
- "privacy": 1,
186
- "category": 1
187
- }
188
- ],
189
- "_extend": { "descriptionSecure": "<div class=\"content-html\"></div>\n", "comments": [] }
190
- }
191
- ]
192
- }
193
- }
194
- }
1
+ {
2
+ "o": "tvDisplay",
3
+ "f": "getConfigureChannel",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": {
7
+ "id": 246,
8
+ "mainType": "article",
9
+ "type": "tvDisplayChannel",
10
+ "uri": "tvDisplayChannel/246",
11
+ "dateCreation": "2024-03-04 14:30:45",
12
+ "dateModified": "2024-03-04 14:30:45",
13
+ "title": "TV Channel dynamic",
14
+ "_url": "/ng/rr/tv-display",
15
+ "_right": {
16
+ "create": true,
17
+ "read": true,
18
+ "publish": true,
19
+ "administrate": true,
20
+ "update": true,
21
+ "delete": true,
22
+ "comment": false,
23
+ "member": true
24
+ },
25
+ "_user": {
26
+ "id": 4,
27
+ "mainType": "user",
28
+ "type": "user",
29
+ "uri": "user/4",
30
+ "dateCreation": "2019-07-09 15:48:26",
31
+ "dateModified": "2024-03-04 14:28:48",
32
+ "title": "Admin1",
33
+ "_url": "/user/4",
34
+ "level": 9
35
+ },
36
+ "image": {
37
+ "width": 702,
38
+ "height": 583
39
+ },
40
+ "_audience": [],
41
+ "tvChannelType": "DYNAMIC",
42
+ "tvChannelBackgroundColor": "#FF0000",
43
+ "tvChannelNumImages": 0,
44
+ "tvChannelGroupTarget": {
45
+ "id": 1,
46
+ "mainType": "spot",
47
+ "type": "spot",
48
+ "uri": "spot/1",
49
+ "dateCreation": "2019-07-18 18:36:24",
50
+ "dateModified": "2024-03-04 14:30:45",
51
+ "title": "Groupe public",
52
+ "_url": "/group/1",
53
+ "privacy": 1,
54
+ "category": 1
55
+ },
56
+ "tvChannelConfig": {
57
+ "contents": [],
58
+ "key": "65e5cd0523ef5"
59
+ },
60
+ "_extend": {
61
+ "imageSecureUrl": "http://jenkins-preprod.jamespot.pro/imagesecure/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwYXRoIjoib3JpZ2luYWxcL3R2RGlzcGxheUNoYW5uZWxcLzI0Ni5wbmcifQ.knOIBKjpaJC83nF0qoFIxIqtfJZP7vQNfeHDDMdPohw",
62
+ "articles": [
63
+ {
64
+ "id": 247,
65
+ "mainType": "article",
66
+ "type": "mpArticle",
67
+ "uri": "mpArticle/247",
68
+ "dateCreation": "2024-03-04 14:30:45",
69
+ "dateModified": "2024-03-04 14:30:45",
70
+ "title": "a-2",
71
+ "_url": "/article/247",
72
+ "_right": {
73
+ "create": true,
74
+ "read": true,
75
+ "publish": false,
76
+ "administrate": true,
77
+ "update": true,
78
+ "delete": true,
79
+ "comment": true,
80
+ "member": true
81
+ },
82
+ "description": "<div class='content-html'>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</div>",
83
+ "_user": {
84
+ "id": 4,
85
+ "mainType": "user",
86
+ "type": "user",
87
+ "uri": "user/4",
88
+ "dateCreation": "2019-07-09 15:48:26",
89
+ "dateModified": "2024-03-04 14:28:48",
90
+ "title": "Admin1",
91
+ "_url": "/user/4",
92
+ "level": 9
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": "2024-03-04 14:30:45",
106
+ "title": "Groupe public",
107
+ "_url": "/group/1",
108
+ "privacy": 1,
109
+ "category": 1
110
+ }
111
+ ],
112
+ "_extend": {
113
+ "descriptionSecure": "<div class=\"content-html\">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</div>\n",
114
+ "imageSecureUrl": "http://jenkins-preprod.jamespot.pro/imagesecure/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwYXRoIjoib3JpZ2luYWxcL21wQXJ0aWNsZVwvMjQ3LnBuZz9fPTE3MDk1NTkwNDUifQ.eR2Za4Udsl8YPshrDrJ3BHDDeZ4NJkzor8aAweZgtvg",
115
+ "comments": [
116
+ {
117
+ "id": 13,
118
+ "mainType": "comment",
119
+ "type": "comment",
120
+ "uri": "comment/13",
121
+ "dateCreation": "2024-03-04 14:30:45",
122
+ "dateModified": null,
123
+ "description": "<div class='content-html'>Phasellus sodales augue vitae sapien tempus tristique.</div>",
124
+ "_user": {
125
+ "id": 4,
126
+ "mainType": "user",
127
+ "type": "user",
128
+ "uri": "user/4",
129
+ "dateCreation": "2019-07-09 15:48:26",
130
+ "dateModified": "2024-03-04 14:28:48",
131
+ "title": "Admin1",
132
+ "_url": "/user/4",
133
+ "level": 9
134
+ },
135
+ "_right": {
136
+ "create": true,
137
+ "read": true,
138
+ "publish": true,
139
+ "administrate": true,
140
+ "update": true,
141
+ "delete": true,
142
+ "comment": true,
143
+ "member": true
144
+ },
145
+ "_extend": {
146
+ "userImageSecureUrl": "http://jenkins-preprod.jamespot.pro/imagesecure/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwYXRoIjoiNTAweDUwMFwvdXNlclwvNC5wbmc_Xz0xNzA5NTU4OTI4In0.a8NU4HyCU9d4_bea8BurkyKTlz-xa_HB-hGsy1peMM8",
147
+ "descriptionSecure": "<div class=\"content-html\">Phasellus sodales augue vitae sapien tempus tristique.</div>\n"
148
+ }
149
+ }
150
+ ]
151
+ }
152
+ },
153
+ {
154
+ "id": 2,
155
+ "mainType": "article",
156
+ "type": "mpArticle",
157
+ "uri": "mpArticle/2",
158
+ "dateCreation": "2019-07-19 09:36:25",
159
+ "dateModified": "2019-07-19 09:36:25",
160
+ "title": "Article groupe public",
161
+ "_url": "/article/2",
162
+ "_right": {
163
+ "create": true,
164
+ "read": true,
165
+ "publish": false,
166
+ "administrate": true,
167
+ "update": true,
168
+ "delete": true,
169
+ "comment": false,
170
+ "member": true
171
+ },
172
+ "description": "<div class='content-html'></div>",
173
+ "_user": {
174
+ "id": 1,
175
+ "mainType": "user",
176
+ "type": "user",
177
+ "uri": "user/1",
178
+ "dateCreation": "2019-03-26 16:29:33",
179
+ "dateModified": "2019-07-19 09:39:23",
180
+ "title": "AdminJenkins",
181
+ "_url": "/user/1",
182
+ "level": 9
183
+ },
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": "2024-03-04 14:30:45",
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
+ }
202
+ }
203
+ ]
204
+ }
205
+ }
206
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ "o": "user",
3
+ "f": "getFields",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": [
7
+ {
8
+ "value": "admin1@jamespot.com",
9
+ "name": "mail"
10
+ },
11
+ {
12
+ "value": "Jamespot 0.34951100 1707232560",
13
+ "name": "company"
14
+ },
15
+ {
16
+ "value": "D\u00e9veloppeur",
17
+ "name": "function"
18
+ }
19
+ ]
20
+ }