jamespot-user-api 1.0.109 → 1.0.111
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.
- package/documentation/assets/search.js +1 -1
- package/documentation/classes/AdminLicenseApi.html +11 -11
- package/documentation/classes/AdminStoreApi.html +1 -1
- package/documentation/classes/AdminUtilsApi.html +1 -1
- package/documentation/classes/JApplicationApi.html +8 -8
- package/documentation/classes/JArticleApi.html +1 -1
- package/documentation/classes/JAssetReservation.html +1 -1
- package/documentation/classes/JAudienceApi.html +1 -1
- package/documentation/classes/JBaseApi.html +1 -1
- package/documentation/classes/JBookmarkApi.html +1 -1
- package/documentation/classes/JCommunityApi.html +1 -1
- package/documentation/classes/JDiapazoneApi.html +1 -1
- package/documentation/classes/JFileApi.html +5 -5
- package/documentation/classes/JFilebankApi.html +1 -1
- package/documentation/classes/JGroupApi.html +14 -10
- package/documentation/classes/JLandApi.html +1 -1
- package/documentation/classes/JMessengerApi.html +1 -1
- package/documentation/classes/JSearchApi.html +6 -6
- package/documentation/classes/JShareApi.html +1 -1
- package/documentation/classes/JTaxonomyApi.html +2 -2
- package/documentation/classes/JUserApi.html +5 -5
- package/documentation/classes/JWedocApi.html +1 -1
- package/documentation/classes/JamespotUserApi.html +1 -1
- package/documentation/classes/Network.html +1 -1
- package/documentation/classes/TVDisplayApi.html +1 -0
- package/documentation/classes/WindowBrowser.html +1 -1
- package/documentation/enums/StudioApplicationStatus.html +1 -1
- package/documentation/index.html +1 -1
- package/documentation/interfaces/AccessRightObject.html +1 -1
- package/documentation/interfaces/AdminLicenseUser.html +1 -1
- package/documentation/interfaces/ApiDefaultWrapper.html +1 -1
- package/documentation/interfaces/ApiWrapper.html +1 -1
- package/documentation/interfaces/BaseAutocomplete.html +1 -1
- package/documentation/interfaces/BaseMessage.html +1 -1
- package/documentation/interfaces/Category.html +1 -1
- package/documentation/interfaces/FileBankProps.html +1 -1
- package/documentation/interfaces/FolderProps.html +1 -1
- package/documentation/interfaces/ListFilterSpec.html +1 -1
- package/documentation/interfaces/OF.html +1 -1
- package/documentation/interfaces/ObjectListProps.html +1 -1
- package/documentation/interfaces/PagingResults.html +1 -1
- package/documentation/interfaces/RootFolderProps.html +1 -1
- package/documentation/interfaces/SearchCategoryModel.html +1 -1
- package/documentation/interfaces/SearchCategoryValue.html +1 -1
- package/documentation/interfaces/SearchConfig.html +1 -1
- package/documentation/interfaces/SearchFacetModel.html +1 -1
- package/documentation/interfaces/SearchFacetValueModel.html +1 -1
- package/documentation/interfaces/SearchQuery.html +1 -1
- package/documentation/interfaces/SearchQueryFilterModel.html +1 -1
- package/documentation/interfaces/SearchQueryOption.html +1 -1
- package/documentation/interfaces/SearchQueryResult.html +1 -1
- package/documentation/interfaces/SearchQuerySortModel.html +1 -1
- package/documentation/interfaces/SearchResultCatProps.html +1 -1
- package/documentation/interfaces/SearchResultPropsApp.html +1 -1
- package/documentation/interfaces/SearchResultPropsObject.html +1 -1
- package/documentation/interfaces/SpotProps.html +1 -1
- package/documentation/interfaces/Taxonomy.html +1 -1
- package/documentation/interfaces/TaxonomyCreate.html +1 -1
- package/documentation/interfaces/WindowInterface.html +1 -1
- package/documentation/modules.html +23 -7
- package/lib/jamespot-user-api.js +1 -1
- package/lib/jamespot-user-api.js.map +1 -1
- package/lib/src/apis/article/article.d.ts +2 -2
- package/lib/src/apis/bookmark/bookmark.d.ts +1 -19
- package/lib/src/apis/community.d.ts +2 -38
- package/lib/src/apis/file.d.ts +1 -1
- package/lib/src/apis/group/group.d.ts +11 -51
- package/lib/src/apis/group/group.mock.d.ts +3 -2
- package/lib/src/apis/group/index.d.ts +1 -1
- package/lib/src/apis/index.d.ts +1 -0
- package/lib/src/apis/jamespotUserApi.d.ts +2 -0
- package/lib/src/apis/tvDisplay/tvDisplay.d.ts +12 -0
- package/lib/src/apis/tvDisplay/tvDisplay.mock.d.ts +7 -0
- package/lib/src/apis/tvDisplay/tvDisplay.test.d.ts +1 -0
- package/lib/src/apis/user/user.d.ts +5 -2
- package/lib/src/apis/user/user.mock.d.ts +1 -0
- package/lib/src/types/comment.d.ts +11 -0
- package/lib/src/types/file.d.ts +5 -0
- package/lib/src/{apis/group/group.types.d.ts → types/group.d.ts} +3 -4
- package/lib/src/types/model.d.ts +1 -1
- package/lib/src/types/tvDisplay.d.ts +61 -21
- package/lib/src/types/uri.d.ts +19 -0
- package/lib/src/types/user.d.ts +2 -0
- package/lib/src/types/utils.d.ts +6 -6
- package/lib/src/util/Test.d.ts +4 -20
- package/lib/src/util/ensure.d.ts +7 -1
- package/lib/src/util/images.d.ts +68 -0
- package/lib/src/util/images.test.d.ts +1 -0
- package/lib/src/util/index.d.ts +4 -0
- package/lib/src/util/network.d.ts +1 -1
- package/lib/src/util/string.d.ts +3 -0
- package/lib/src/util/taxonomy.d.ts +2 -0
- package/lib/src/util/taxonomy.test.d.ts +1 -0
- package/lib/src/util/uri.d.ts +2 -0
- package/lib/src/util/uri.test.d.ts +1 -0
- package/package.json +1 -1
- package/phpunitMock/autocompleteSpot-a.json +50 -0
- package/phpunitMock/objectListJamespotUserList-rawList.json +191 -0
- package/phpunitMock/spotGet-default.json +5 -6
- package/phpunitMock/spotGetProperties-default.json +1 -1
- package/phpunitMock/tvDisplayGetChannel-dynamic.json +166 -0
- package/phpunitMock/tvDisplayGetChannel-slideshow.json +86 -0
- package/phpunitMock/tvDisplayGetConfigureChannel-dynamic.json +163 -0
- package/phpunitMock/tvDisplayGetConfigureChannel-slideshow.json +83 -0
- package/lib/src/types/spot.d.ts +0 -5
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
{
|
|
2
|
+
"o": "tvDisplay",
|
|
3
|
+
"f": "getConfigureChannel",
|
|
4
|
+
"error": 0,
|
|
5
|
+
"messages": [],
|
|
6
|
+
"result": {
|
|
7
|
+
"id": 168,
|
|
8
|
+
"mainType": "article",
|
|
9
|
+
"type": "tvDisplayChannel",
|
|
10
|
+
"uri": "tvDisplayChannel/168",
|
|
11
|
+
"dateCreation": "2023-07-31 11:12:03",
|
|
12
|
+
"dateModified": "2023-07-31 11:12:03",
|
|
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
|
+
"tvChannelType": "DYNAMIC",
|
|
37
|
+
"tvChannelBackgroundColor": "#FF0000",
|
|
38
|
+
"tvChannelNumImages": 0,
|
|
39
|
+
"tvChannelGroupTarget": {
|
|
40
|
+
"id": 1,
|
|
41
|
+
"mainType": "spot",
|
|
42
|
+
"type": "spot",
|
|
43
|
+
"uri": "spot/1",
|
|
44
|
+
"dateCreation": "2019-07-18 18:36:24",
|
|
45
|
+
"dateModified": "2023-07-31 11:12:04",
|
|
46
|
+
"title": "Groupe public",
|
|
47
|
+
"_url": "/group/1",
|
|
48
|
+
"privacy": 1,
|
|
49
|
+
"category": "1"
|
|
50
|
+
},
|
|
51
|
+
"tvChannelConfig": { "contents": [], "key": "64c77ae3d247e" },
|
|
52
|
+
"_extend": {
|
|
53
|
+
"imageSecureUrl": "http://jenkins-preprod.jamespot.pro/imagesecure/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwYXRoIjoib3JpZ2luYWxcL3R2RGlzcGxheUNoYW5uZWxcLzE2OC5wbmcifQ.ZBwfoMazbEWGpKidSLYvIKHfgsRJUQ1QyOoOE5X_K-8",
|
|
54
|
+
"articles": [
|
|
55
|
+
{
|
|
56
|
+
"id": 169,
|
|
57
|
+
"mainType": "article",
|
|
58
|
+
"type": "mpArticle",
|
|
59
|
+
"uri": "mpArticle/169",
|
|
60
|
+
"dateCreation": "2023-07-31 11:12:04",
|
|
61
|
+
"dateModified": "2023-07-31 11:12:04",
|
|
62
|
+
"title": "a-2",
|
|
63
|
+
"_url": "/article/169",
|
|
64
|
+
"_right": {
|
|
65
|
+
"create": true,
|
|
66
|
+
"read": true,
|
|
67
|
+
"publish": false,
|
|
68
|
+
"administrate": true,
|
|
69
|
+
"update": true,
|
|
70
|
+
"delete": true,
|
|
71
|
+
"comment": true,
|
|
72
|
+
"member": true
|
|
73
|
+
},
|
|
74
|
+
"description": "<div class='content-html'>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</div>",
|
|
75
|
+
"_user": {
|
|
76
|
+
"id": 4,
|
|
77
|
+
"mainType": "user",
|
|
78
|
+
"type": "user",
|
|
79
|
+
"uri": "user/4",
|
|
80
|
+
"dateCreation": "2019-07-09 15:48:26",
|
|
81
|
+
"dateModified": "2019-07-09 15:51:24",
|
|
82
|
+
"title": "Admin1",
|
|
83
|
+
"_url": "/user/4",
|
|
84
|
+
"level": 9
|
|
85
|
+
},
|
|
86
|
+
"_extend": {
|
|
87
|
+
"descriptionSecure": "<div class=\"content-html\">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</div>\n",
|
|
88
|
+
"imageSecureUrl": "http://jenkins-preprod.jamespot.pro/imagesecure/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwYXRoIjoib3JpZ2luYWxcL21wQXJ0aWNsZVwvMTY5LnBuZyJ9.QmhlsUg2s41MxGDSQFt49NNQYWCaMCepRaNElYFTEA8",
|
|
89
|
+
"comments": [
|
|
90
|
+
{
|
|
91
|
+
"id": 13,
|
|
92
|
+
"mainType": "comment",
|
|
93
|
+
"type": "comment",
|
|
94
|
+
"uri": "comment/13",
|
|
95
|
+
"dateCreation": "2023-07-31 11:12:04",
|
|
96
|
+
"dateModified": null,
|
|
97
|
+
"description": "<div class='content-html'>Phasellus sodales augue vitae sapien tempus tristique.</div>",
|
|
98
|
+
"_user": {
|
|
99
|
+
"id": 4,
|
|
100
|
+
"mainType": "user",
|
|
101
|
+
"type": "user",
|
|
102
|
+
"uri": "user/4",
|
|
103
|
+
"dateCreation": "2019-07-09 15:48:26",
|
|
104
|
+
"dateModified": "2019-07-09 15:51:24",
|
|
105
|
+
"title": "Admin1",
|
|
106
|
+
"_url": "/user/4",
|
|
107
|
+
"level": 9
|
|
108
|
+
},
|
|
109
|
+
"_right": {
|
|
110
|
+
"create": true,
|
|
111
|
+
"read": true,
|
|
112
|
+
"publish": true,
|
|
113
|
+
"administrate": true,
|
|
114
|
+
"update": true,
|
|
115
|
+
"delete": true,
|
|
116
|
+
"comment": true,
|
|
117
|
+
"member": true
|
|
118
|
+
},
|
|
119
|
+
"_extend": {
|
|
120
|
+
"userImageSecureUrl": "http://jenkins-preprod.jamespot.pro/imagesecure/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwYXRoIjoiNTAweDUwMFwvdXNlclwvNC5wbmcifQ.fpOAxsrCyDTyPQnIJaGcU6ty-HZOFl2M9ZfszPcHy-g",
|
|
121
|
+
"descriptionSecure": "<div class=\"content-html\">Phasellus sodales augue vitae sapien tempus tristique.</div>\n"
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
]
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"id": 2,
|
|
129
|
+
"mainType": "article",
|
|
130
|
+
"type": "mpArticle",
|
|
131
|
+
"uri": "mpArticle/2",
|
|
132
|
+
"dateCreation": "2019-07-19 09:36:25",
|
|
133
|
+
"dateModified": "2019-07-19 09:36:25",
|
|
134
|
+
"title": "Article groupe public",
|
|
135
|
+
"_url": "/article/2",
|
|
136
|
+
"_right": {
|
|
137
|
+
"create": true,
|
|
138
|
+
"read": true,
|
|
139
|
+
"publish": false,
|
|
140
|
+
"administrate": true,
|
|
141
|
+
"update": true,
|
|
142
|
+
"delete": true,
|
|
143
|
+
"comment": false,
|
|
144
|
+
"member": true
|
|
145
|
+
},
|
|
146
|
+
"description": "<div class='content-html'></div>",
|
|
147
|
+
"_user": {
|
|
148
|
+
"id": 1,
|
|
149
|
+
"mainType": "user",
|
|
150
|
+
"type": "user",
|
|
151
|
+
"uri": "user/1",
|
|
152
|
+
"dateCreation": "2019-03-26 16:29:33",
|
|
153
|
+
"dateModified": "2019-07-19 09:39:23",
|
|
154
|
+
"title": "AdminJenkins",
|
|
155
|
+
"_url": "/user/1",
|
|
156
|
+
"level": 9
|
|
157
|
+
},
|
|
158
|
+
"_extend": { "descriptionSecure": "<div class=\"content-html\"></div>\n", "comments": [] }
|
|
159
|
+
}
|
|
160
|
+
]
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
{
|
|
2
|
+
"o": "tvDisplay",
|
|
3
|
+
"f": "getConfigureChannel",
|
|
4
|
+
"error": 0,
|
|
5
|
+
"messages": [],
|
|
6
|
+
"result": {
|
|
7
|
+
"id": 171,
|
|
8
|
+
"mainType": "article",
|
|
9
|
+
"type": "tvDisplayChannel",
|
|
10
|
+
"uri": "tvDisplayChannel/171",
|
|
11
|
+
"dateCreation": "2023-07-31 11:12:04",
|
|
12
|
+
"dateModified": "2023-07-31 11:12:04",
|
|
13
|
+
"title": "TV Channel slideshow",
|
|
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
|
+
"tvChannelType": "SLIDESHOW",
|
|
37
|
+
"tvChannelBackgroundColor": "#9000DA",
|
|
38
|
+
"tvChannelNumImages": 2,
|
|
39
|
+
"tvChannelGroupTarget": {
|
|
40
|
+
"id": 1,
|
|
41
|
+
"mainType": "spot",
|
|
42
|
+
"type": "spot",
|
|
43
|
+
"uri": "spot/1",
|
|
44
|
+
"dateCreation": "2019-07-18 18:36:24",
|
|
45
|
+
"dateModified": "2023-07-31 11:12:04",
|
|
46
|
+
"title": "Groupe public",
|
|
47
|
+
"_url": "/group/1",
|
|
48
|
+
"privacy": 1,
|
|
49
|
+
"category": "1"
|
|
50
|
+
},
|
|
51
|
+
"tvChannelConfig": { "contents": [], "key": "64c77ae48a2d0" },
|
|
52
|
+
"_extend": {
|
|
53
|
+
"attachments": [
|
|
54
|
+
{
|
|
55
|
+
"id": 22,
|
|
56
|
+
"mainType": "fileArticle",
|
|
57
|
+
"type": "fileArticle",
|
|
58
|
+
"uri": "fileArticle/22",
|
|
59
|
+
"dateCreation": "2023-07-31 11:12:04",
|
|
60
|
+
"dateModified": null,
|
|
61
|
+
"title": "imgTest.jpg",
|
|
62
|
+
"_url": "/ng/rr/tv-display",
|
|
63
|
+
"_extend": {
|
|
64
|
+
"imageSecureUrl": "http://jenkins-preprod.jamespot.pro/mediasecure/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZEZpbGUiOiIyMiIsIm1lZGlhS2V5IjoiOGNiMDYwYjRhOWMzNTBhOWQzNGI1ODg0NzlkMjBjOWYifQ.nhy6AHgSUJ25GW_zvg3Ng8efxxErEOaHZIbAhK8qqZ0"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"id": 23,
|
|
69
|
+
"mainType": "fileArticle",
|
|
70
|
+
"type": "fileArticle",
|
|
71
|
+
"uri": "fileArticle/23",
|
|
72
|
+
"dateCreation": "2023-07-31 11:12:04",
|
|
73
|
+
"dateModified": null,
|
|
74
|
+
"title": "imgTest.jpg",
|
|
75
|
+
"_url": "/ng/rr/tv-display",
|
|
76
|
+
"_extend": {
|
|
77
|
+
"imageSecureUrl": "http://jenkins-preprod.jamespot.pro/mediasecure/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZEZpbGUiOiIyMyIsIm1lZGlhS2V5IjoiOGNiMDYwYjRhOWMzNTBhOWQzNGI1ODg0NzlkMjBjOWYifQ.5UNtRkFJvc2hTkiJ7i7UFt-8WD-tTw0JFOZMQI9ROpo"
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
]
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|