jamespot-user-api 1.0.150 → 1.0.151
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/JBusinessNetworkingApi.html +1 -1
- package/documentation/classes/JCommunityApi.html +1 -1
- package/documentation/classes/JDiapazoneApi.html +1 -1
- package/documentation/classes/JFaqApi.html +1 -1
- package/documentation/classes/JFileApi.html +6 -6
- package/documentation/classes/JFilebankApi.html +1 -1
- package/documentation/classes/JGlobalApi.html +1 -1
- package/documentation/classes/JGroupApi.html +11 -11
- package/documentation/classes/JIAApi.html +1 -1
- package/documentation/classes/JLandApi.html +1 -1
- package/documentation/classes/JMessengerApi.html +1 -1
- package/documentation/classes/JObjectApi.html +1 -1
- package/documentation/classes/JSearchApi.html +6 -6
- package/documentation/classes/JShareApi.html +1 -1
- package/documentation/classes/JSocialActionApi.html +1 -1
- package/documentation/classes/JTaxonomyApi.html +3 -3
- package/documentation/classes/JUserApi.html +8 -8
- package/documentation/classes/JWedocApi.html +1 -1
- package/documentation/classes/JWidgetApi.html +1 -1
- package/documentation/classes/JamespotUserApi.html +1 -1
- package/documentation/classes/Network.html +1 -1
- package/documentation/classes/TVDisplayApi.html +1 -1
- 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/TaxonomyCreate.html +1 -1
- package/documentation/interfaces/WindowInterface.html +1 -1
- package/documentation/modules.html +10 -12
- package/lib/jamespot-user-api.js +1 -1
- package/lib/jamespot-user-api.js.map +1 -1
- package/lib/src/apis/bookmark/bookmark.d.ts +34 -1
- package/lib/src/apis/community.d.ts +38 -2
- package/lib/src/apis/file/file.d.ts +6 -4
- package/lib/src/apis/group/group.d.ts +40 -4
- package/lib/src/apis/user/user.d.ts +2 -2
- package/lib/src/types/asei.d.ts +3 -1
- package/lib/src/types/autocomplete.d.ts +1 -1
- package/lib/src/types/bookmark.d.ts +2 -1
- package/lib/src/types/comment.d.ts +3 -1
- package/lib/src/types/common.d.ts +31 -0
- package/lib/src/types/diapazone.d.ts +2 -1
- package/lib/src/types/file.d.ts +3 -1
- package/lib/src/types/group.d.ts +2 -1
- package/lib/src/types/index.d.ts +2 -0
- package/lib/src/types/model.d.ts +11 -10
- package/lib/src/types/object.d.ts +249 -0
- package/lib/src/types/realtime.d.ts +2 -1
- package/lib/src/types/search.d.ts +1 -1
- package/lib/src/types/share.d.ts +1 -1
- package/lib/src/types/tvDisplay.d.ts +2 -1
- package/lib/src/types/user.d.ts +49 -8
- package/lib/src/types/utils.d.ts +2 -35
- package/lib/src/types/wedoc.d.ts +3 -1
- package/lib/src/util/Test.d.ts +7 -8
- package/lib/src/util/file.mock.d.ts +78 -52
- package/lib/src/util/network.d.ts +3 -2
- package/package.json +4 -1
- package/phpunitMock/articleGet-with-widgets.json +188 -184
- package/phpunitMock/articleGetAttachment-success.json +20 -19
- package/phpunitMock/fileCreate-rawLittle.json +18 -17
- package/phpunitMock/fileGet-default.json +18 -17
- package/phpunitMock/fileUpdate-rawLittle.json +27 -18
- package/phpunitMock/tvDisplayGetChannel-slideshow.json +94 -92
- package/phpunitMock/tvDisplayGetConfigureChannel-slideshow.json +91 -86
|
@@ -1,92 +1,94 @@
|
|
|
1
|
-
{
|
|
2
|
-
"o": "tvDisplay",
|
|
3
|
-
"f": "getChannel",
|
|
4
|
-
"error": 0,
|
|
5
|
-
"messages": [],
|
|
6
|
-
"result": {
|
|
7
|
-
"interval": 60,
|
|
8
|
-
"channel": {
|
|
9
|
-
"id":
|
|
10
|
-
"mainType": "article",
|
|
11
|
-
"type": "tvDisplayChannel",
|
|
12
|
-
"uri": "tvDisplayChannel/
|
|
13
|
-
"dateCreation": "2024-
|
|
14
|
-
"dateModified": "2024-
|
|
15
|
-
"title": "TV Channel slideshow",
|
|
16
|
-
"_url": "/ng/rr/tv-display",
|
|
17
|
-
"_right": {
|
|
18
|
-
"create": true,
|
|
19
|
-
"read": true,
|
|
20
|
-
"publish": true,
|
|
21
|
-
"administrate": true,
|
|
22
|
-
"update": true,
|
|
23
|
-
"delete": true,
|
|
24
|
-
"comment": false,
|
|
25
|
-
"member": true
|
|
26
|
-
},
|
|
27
|
-
"_user": {
|
|
28
|
-
"id": 4,
|
|
29
|
-
"mainType": "user",
|
|
30
|
-
"type": "user",
|
|
31
|
-
"uri": "user/4",
|
|
32
|
-
"dateCreation": "2019-07-09 15:48:26",
|
|
33
|
-
"dateModified": "
|
|
34
|
-
"title": "Admin1",
|
|
35
|
-
"_url": "/user/4",
|
|
36
|
-
"level": 9
|
|
37
|
-
},
|
|
38
|
-
"_audience": [],
|
|
39
|
-
"tvChannelType": "SLIDESHOW",
|
|
40
|
-
"tvChannelBackgroundColor": "#9000DA",
|
|
41
|
-
"tvChannelNumImages": 2,
|
|
42
|
-
"tvChannelGroupTarget": {
|
|
43
|
-
"id": 1,
|
|
44
|
-
"mainType": "spot",
|
|
45
|
-
"type": "spot",
|
|
46
|
-
"uri": "spot/1",
|
|
47
|
-
"dateCreation": "2019-07-18 18:36:24",
|
|
48
|
-
"dateModified": "2024-
|
|
49
|
-
"title": "Groupe public",
|
|
50
|
-
"_url": "/group/1",
|
|
51
|
-
"privacy": 1,
|
|
52
|
-
"category":
|
|
53
|
-
},
|
|
54
|
-
"tvChannelConfig": {
|
|
55
|
-
"contents": [],
|
|
56
|
-
"key": "
|
|
57
|
-
},
|
|
58
|
-
"_extend": {
|
|
59
|
-
"attachments": [
|
|
60
|
-
{
|
|
61
|
-
"id":
|
|
62
|
-
"mainType": "fileArticle",
|
|
63
|
-
"type": "fileArticle",
|
|
64
|
-
"uri": "fileArticle/
|
|
65
|
-
"dateCreation": "2024-
|
|
66
|
-
"dateModified": null,
|
|
67
|
-
"title": "imgTest.jpg",
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"o": "tvDisplay",
|
|
3
|
+
"f": "getChannel",
|
|
4
|
+
"error": 0,
|
|
5
|
+
"messages": [],
|
|
6
|
+
"result": {
|
|
7
|
+
"interval": 60,
|
|
8
|
+
"channel": {
|
|
9
|
+
"id": 252,
|
|
10
|
+
"mainType": "article",
|
|
11
|
+
"type": "tvDisplayChannel",
|
|
12
|
+
"uri": "tvDisplayChannel/252",
|
|
13
|
+
"dateCreation": "2024-04-11 12:10:28",
|
|
14
|
+
"dateModified": "2024-04-11 12:10:28",
|
|
15
|
+
"title": "TV Channel slideshow",
|
|
16
|
+
"_url": "/ng/rr/tv-display",
|
|
17
|
+
"_right": {
|
|
18
|
+
"create": true,
|
|
19
|
+
"read": true,
|
|
20
|
+
"publish": true,
|
|
21
|
+
"administrate": true,
|
|
22
|
+
"update": true,
|
|
23
|
+
"delete": true,
|
|
24
|
+
"comment": false,
|
|
25
|
+
"member": true
|
|
26
|
+
},
|
|
27
|
+
"_user": {
|
|
28
|
+
"id": 4,
|
|
29
|
+
"mainType": "user",
|
|
30
|
+
"type": "user",
|
|
31
|
+
"uri": "user/4",
|
|
32
|
+
"dateCreation": "2019-07-09 15:48:26",
|
|
33
|
+
"dateModified": "2024-04-11 12:08:23",
|
|
34
|
+
"title": "Admin1",
|
|
35
|
+
"_url": "/user/4",
|
|
36
|
+
"level": 9
|
|
37
|
+
},
|
|
38
|
+
"_audience": [],
|
|
39
|
+
"tvChannelType": "SLIDESHOW",
|
|
40
|
+
"tvChannelBackgroundColor": "#9000DA",
|
|
41
|
+
"tvChannelNumImages": 2,
|
|
42
|
+
"tvChannelGroupTarget": {
|
|
43
|
+
"id": 1,
|
|
44
|
+
"mainType": "spot",
|
|
45
|
+
"type": "spot",
|
|
46
|
+
"uri": "spot/1",
|
|
47
|
+
"dateCreation": "2019-07-18 18:36:24",
|
|
48
|
+
"dateModified": "2024-04-11 12:10:28",
|
|
49
|
+
"title": "Groupe public",
|
|
50
|
+
"_url": "/group/1",
|
|
51
|
+
"privacy": 1,
|
|
52
|
+
"category": 1
|
|
53
|
+
},
|
|
54
|
+
"tvChannelConfig": {
|
|
55
|
+
"contents": [],
|
|
56
|
+
"key": "6617b714ad958"
|
|
57
|
+
},
|
|
58
|
+
"_extend": {
|
|
59
|
+
"attachments": [
|
|
60
|
+
{
|
|
61
|
+
"id": 62,
|
|
62
|
+
"mainType": "fileArticle",
|
|
63
|
+
"type": "fileArticle",
|
|
64
|
+
"uri": "fileArticle/62",
|
|
65
|
+
"dateCreation": "2024-04-11 12:10:28",
|
|
66
|
+
"dateModified": null,
|
|
67
|
+
"title": "imgTest.jpg",
|
|
68
|
+
"size": "20904",
|
|
69
|
+
"mimetype": "image/jpeg",
|
|
70
|
+
"_url": "/ng/rr/tv-display",
|
|
71
|
+
"_extend": {
|
|
72
|
+
"imageSecureUrl": "http://jenkins-preprod.jamespot.pro/mediasecure/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZEZpbGUiOiI2MiIsIm1lZGlhS2V5IjoiOGNiMDYwYjRhOWMzNTBhOWQzNGI1ODg0NzlkMjBjOWYifQ.ePFfgg46wD5aUujkcEDvEwplwOR0fCCJv89tYZmgc9w"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"id": 63,
|
|
77
|
+
"mainType": "fileArticle",
|
|
78
|
+
"type": "fileArticle",
|
|
79
|
+
"uri": "fileArticle/63",
|
|
80
|
+
"dateCreation": "2024-04-11 12:10:28",
|
|
81
|
+
"dateModified": null,
|
|
82
|
+
"title": "imgTest.jpg",
|
|
83
|
+
"size": "20904",
|
|
84
|
+
"mimetype": "image/jpeg",
|
|
85
|
+
"_url": "/ng/rr/tv-display",
|
|
86
|
+
"_extend": {
|
|
87
|
+
"imageSecureUrl": "http://jenkins-preprod.jamespot.pro/mediasecure/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZEZpbGUiOiI2MyIsIm1lZGlhS2V5IjoiOGNiMDYwYjRhOWMzNTBhOWQzNGI1ODg0NzlkMjBjOWYifQ.PrdfckcLYqAeP7vcnxYdI4sQPe0HefKJFXXPCCvL0Ok"
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
]
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
@@ -1,86 +1,91 @@
|
|
|
1
|
-
{
|
|
2
|
-
"o": "tvDisplay",
|
|
3
|
-
"f": "getConfigureChannel",
|
|
4
|
-
"error": 0,
|
|
5
|
-
"messages": [],
|
|
6
|
-
"result": {
|
|
7
|
-
"id":
|
|
8
|
-
"mainType": "article",
|
|
9
|
-
"type": "tvDisplayChannel",
|
|
10
|
-
"uri": "tvDisplayChannel/
|
|
11
|
-
"dateCreation": "2024-
|
|
12
|
-
"dateModified": "2024-
|
|
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": "
|
|
32
|
-
"title": "Admin1",
|
|
33
|
-
"_url": "/user/4",
|
|
34
|
-
"level": 9
|
|
35
|
-
},
|
|
36
|
-
"_audience": [],
|
|
37
|
-
"tvChannelType": "SLIDESHOW",
|
|
38
|
-
"tvChannelBackgroundColor": "#9000DA",
|
|
39
|
-
"tvChannelNumImages": 2,
|
|
40
|
-
"tvChannelGroupTarget": {
|
|
41
|
-
"id": 1,
|
|
42
|
-
"mainType": "spot",
|
|
43
|
-
"type": "spot",
|
|
44
|
-
"uri": "spot/1",
|
|
45
|
-
"dateCreation": "2019-07-18 18:36:24",
|
|
46
|
-
"dateModified": "2024-
|
|
47
|
-
"title": "Groupe public",
|
|
48
|
-
"_url": "/group/1",
|
|
49
|
-
"privacy": 1,
|
|
50
|
-
"category": 1
|
|
51
|
-
},
|
|
52
|
-
"tvChannelConfig": {
|
|
53
|
-
|
|
54
|
-
"
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"o": "tvDisplay",
|
|
3
|
+
"f": "getConfigureChannel",
|
|
4
|
+
"error": 0,
|
|
5
|
+
"messages": [],
|
|
6
|
+
"result": {
|
|
7
|
+
"id": 252,
|
|
8
|
+
"mainType": "article",
|
|
9
|
+
"type": "tvDisplayChannel",
|
|
10
|
+
"uri": "tvDisplayChannel/252",
|
|
11
|
+
"dateCreation": "2024-04-11 12:10:28",
|
|
12
|
+
"dateModified": "2024-04-11 12:10:28",
|
|
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": "2024-04-11 12:08:23",
|
|
32
|
+
"title": "Admin1",
|
|
33
|
+
"_url": "/user/4",
|
|
34
|
+
"level": 9
|
|
35
|
+
},
|
|
36
|
+
"_audience": [],
|
|
37
|
+
"tvChannelType": "SLIDESHOW",
|
|
38
|
+
"tvChannelBackgroundColor": "#9000DA",
|
|
39
|
+
"tvChannelNumImages": 2,
|
|
40
|
+
"tvChannelGroupTarget": {
|
|
41
|
+
"id": 1,
|
|
42
|
+
"mainType": "spot",
|
|
43
|
+
"type": "spot",
|
|
44
|
+
"uri": "spot/1",
|
|
45
|
+
"dateCreation": "2019-07-18 18:36:24",
|
|
46
|
+
"dateModified": "2024-04-11 12:10:28",
|
|
47
|
+
"title": "Groupe public",
|
|
48
|
+
"_url": "/group/1",
|
|
49
|
+
"privacy": 1,
|
|
50
|
+
"category": 1
|
|
51
|
+
},
|
|
52
|
+
"tvChannelConfig": {
|
|
53
|
+
"contents": [],
|
|
54
|
+
"key": "6617b714ad958"
|
|
55
|
+
},
|
|
56
|
+
"_extend": {
|
|
57
|
+
"attachments": [
|
|
58
|
+
{
|
|
59
|
+
"id": 62,
|
|
60
|
+
"mainType": "fileArticle",
|
|
61
|
+
"type": "fileArticle",
|
|
62
|
+
"uri": "fileArticle/62",
|
|
63
|
+
"dateCreation": "2024-04-11 12:10:28",
|
|
64
|
+
"dateModified": null,
|
|
65
|
+
"title": "imgTest.jpg",
|
|
66
|
+
"size": 20904,
|
|
67
|
+
"mimetype": "image/jpeg",
|
|
68
|
+
"_url": "/ng/rr/tv-display",
|
|
69
|
+
"_extend": {
|
|
70
|
+
"imageSecureUrl": "http://jenkins-preprod.jamespot.pro/mediasecure/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZEZpbGUiOiI2MiIsIm1lZGlhS2V5IjoiOGNiMDYwYjRhOWMzNTBhOWQzNGI1ODg0NzlkMjBjOWYifQ.ePFfgg46wD5aUujkcEDvEwplwOR0fCCJv89tYZmgc9w"
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"id": 63,
|
|
75
|
+
"mainType": "fileArticle",
|
|
76
|
+
"type": "fileArticle",
|
|
77
|
+
"uri": "fileArticle/63",
|
|
78
|
+
"dateCreation": "2024-04-11 12:10:28",
|
|
79
|
+
"dateModified": null,
|
|
80
|
+
"title": "imgTest.jpg",
|
|
81
|
+
"size": 20904,
|
|
82
|
+
"mimetype": "image/jpeg",
|
|
83
|
+
"_url": "/ng/rr/tv-display",
|
|
84
|
+
"_extend": {
|
|
85
|
+
"imageSecureUrl": "http://jenkins-preprod.jamespot.pro/mediasecure/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZEZpbGUiOiI2MyIsIm1lZGlhS2V5IjoiOGNiMDYwYjRhOWMzNTBhOWQzNGI1ODg0NzlkMjBjOWYifQ.PrdfckcLYqAeP7vcnxYdI4sQPe0HefKJFXXPCCvL0Ok"
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
]
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|