jamespot-user-api 1.0.155 → 1.0.156
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/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 +5 -5
- package/documentation/classes/JFilebankApi.html +1 -1
- package/documentation/classes/JGlobalApi.html +1 -1
- package/documentation/classes/JGroupApi.html +9 -9
- 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 +2 -2
- package/documentation/classes/JUserApi.html +7 -7
- 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/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 +11 -11
- package/lib/jamespot-user-api.js +1 -1
- package/lib/jamespot-user-api.js.map +1 -1
- package/lib/src/apis/mediaLibrary/mediaLibrary.d.ts +1 -0
- package/lib/src/apis/mediaLibrary/mediaLibrary.mock.d.ts +5 -0
- package/package.json +1 -1
- package/phpunitMock/mediaLibraryAccess-admin.json +1 -0
- package/phpunitMock/mediaLibraryAccess-default.json +1 -0
- package/phpunitMock/mediaLibraryAccess-personnalized.json +1 -0
- package/phpunitMock/mediaLibraryAccess-personnalizeduser.json +1 -0
- package/phpunitMock/mediaLibraryAccess-userNotAdmin.json +1 -0
- package/phpunitMock/objectList-mediaLibraryFolder.json +138 -0
|
@@ -2,4 +2,5 @@ import { JBaseApi } from '../base';
|
|
|
2
2
|
import { PagingResults, ApiWrapper, MediaLibraryList, GetUnclassifiedFilesParams } from '../../types';
|
|
3
3
|
export declare class JMediaLibraryApi extends JBaseApi {
|
|
4
4
|
GetUnclassifiedFiles(params: GetUnclassifiedFilesParams): Promise<ApiWrapper<PagingResults<MediaLibraryList>>>;
|
|
5
|
+
getAccess(): Promise<ApiWrapper<boolean>>;
|
|
5
6
|
}
|
|
@@ -1,2 +1,7 @@
|
|
|
1
1
|
import { ApiWrapper, MediaLibraryList, PagingResults } from '../../types';
|
|
2
2
|
export declare const mediaLibraryGetUnclassifiedFilesDefault: ApiWrapper<PagingResults<MediaLibraryList>>;
|
|
3
|
+
export declare const mediaLibraryAccessDefault: ApiWrapper<boolean>;
|
|
4
|
+
export declare const mediaLibraryAccessAdmin: ApiWrapper<boolean>;
|
|
5
|
+
export declare const mediaLibraryAccessUserNotAdmin: ApiWrapper<boolean>;
|
|
6
|
+
export declare const mediaLibraryAccessPersonnalized: ApiWrapper<boolean>;
|
|
7
|
+
export declare const mediaLibraryAccessPersonnalizedUser: ApiWrapper<boolean>;
|
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "o": "mediaLibrary", "f": "access", "error": 0, "messages": [], "result": true }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "o": "mediaLibrary", "f": "access", "error": 0, "messages": [], "result": true }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "o": "mediaLibrary", "f": "access", "error": 0, "messages": [], "result": true }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "o": "mediaLibrary", "f": "access", "error": 0, "messages": [], "result": false }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "o": "mediaLibrary", "f": "access", "error": 0, "messages": [], "result": false }
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
{
|
|
2
|
+
"o": "objectList",
|
|
3
|
+
"f": "jamespotArticleQueryList",
|
|
4
|
+
"error": 0,
|
|
5
|
+
"messages": [],
|
|
6
|
+
"result": {
|
|
7
|
+
"limit": 10,
|
|
8
|
+
"page": 1,
|
|
9
|
+
"cnt": 5,
|
|
10
|
+
"data": [
|
|
11
|
+
{
|
|
12
|
+
"id": 190,
|
|
13
|
+
"mainType": "article",
|
|
14
|
+
"type": "mediaLibraryFolder",
|
|
15
|
+
"uri": "mediaLibraryFolder/190",
|
|
16
|
+
"dateCreation": "2023-08-23 10:05:07",
|
|
17
|
+
"dateModified": "2023-08-25 10:36:58",
|
|
18
|
+
"title": "Mon dossier",
|
|
19
|
+
"_url": "/article/190",
|
|
20
|
+
"_audience": [],
|
|
21
|
+
"_user": {
|
|
22
|
+
"id": 1,
|
|
23
|
+
"mainType": "user",
|
|
24
|
+
"type": "user",
|
|
25
|
+
"uri": "user/1",
|
|
26
|
+
"dateCreation": "2019-03-26 16:29:33",
|
|
27
|
+
"dateModified": "2019-07-19 09:39:23",
|
|
28
|
+
"title": "AdminJenkins",
|
|
29
|
+
"_url": "/user/1",
|
|
30
|
+
"level": 9
|
|
31
|
+
},
|
|
32
|
+
"image": {
|
|
33
|
+
"width": 612,
|
|
34
|
+
"height": 454
|
|
35
|
+
},
|
|
36
|
+
"description": "<div class=\u0027content-html\u0027><div class=\u0022content-html\u0022>\n<div class=\u0022content-html\u0022>\n<div class=\u0022content-html\u0022>\n<div class=\u0022content-html\u0022>\n<div class=\u0022content-html\u0022>\n<div class=\u0022content-html\u0022>Hello</div>\n</div>\n</div>\n</div>\n</div>\n</div>\n</div>"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"id": 350,
|
|
40
|
+
"mainType": "article",
|
|
41
|
+
"type": "mediaLibraryFolder",
|
|
42
|
+
"uri": "mediaLibraryFolder/350",
|
|
43
|
+
"dateCreation": "2023-10-19 10:08:40",
|
|
44
|
+
"dateModified": "2024-01-17 15:28:36",
|
|
45
|
+
"title": "test",
|
|
46
|
+
"_url": "/article/350",
|
|
47
|
+
"_audience": [],
|
|
48
|
+
"_user": {
|
|
49
|
+
"id": 1,
|
|
50
|
+
"mainType": "user",
|
|
51
|
+
"type": "user",
|
|
52
|
+
"uri": "user/1",
|
|
53
|
+
"dateCreation": "2019-03-26 16:29:33",
|
|
54
|
+
"dateModified": "2019-07-19 09:39:23",
|
|
55
|
+
"title": "AdminJenkins",
|
|
56
|
+
"_url": "/user/1",
|
|
57
|
+
"level": 9
|
|
58
|
+
},
|
|
59
|
+
"image": {
|
|
60
|
+
"width": 1648,
|
|
61
|
+
"height": 929
|
|
62
|
+
},
|
|
63
|
+
"description": "<div class=\u0027content-html\u0027><div class=\u0022content-html\u0022>\n<div class=\u0022content-html\u0022></div>\n</div>\n</div>"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"id": 351,
|
|
67
|
+
"mainType": "article",
|
|
68
|
+
"type": "mediaLibraryFolder",
|
|
69
|
+
"uri": "mediaLibraryFolder/351",
|
|
70
|
+
"dateCreation": "2023-10-19 15:48:46",
|
|
71
|
+
"dateModified": "2023-12-15 09:34:18",
|
|
72
|
+
"title": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Blandit massa enim nec dui nunc mattis enim. Laoreet non curabitur gravida arcu ac. Tortor id aliquet lectus proin nibh. Orci sagit",
|
|
73
|
+
"_url": "/article/351",
|
|
74
|
+
"_audience": [],
|
|
75
|
+
"_user": {
|
|
76
|
+
"id": 1,
|
|
77
|
+
"mainType": "user",
|
|
78
|
+
"type": "user",
|
|
79
|
+
"uri": "user/1",
|
|
80
|
+
"dateCreation": "2019-03-26 16:29:33",
|
|
81
|
+
"dateModified": "2019-07-19 09:39:23",
|
|
82
|
+
"title": "AdminJenkins",
|
|
83
|
+
"_url": "/user/1",
|
|
84
|
+
"level": 9
|
|
85
|
+
},
|
|
86
|
+
"description": "<div class=\u0027content-html\u0027><div class=\u0022content-html\u0022></div>\n</div>"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"id": 851,
|
|
90
|
+
"mainType": "article",
|
|
91
|
+
"type": "mediaLibraryFolder",
|
|
92
|
+
"uri": "mediaLibraryFolder/851",
|
|
93
|
+
"dateCreation": "2024-05-06 14:17:03",
|
|
94
|
+
"dateModified": "2024-05-06 14:17:03",
|
|
95
|
+
"title": "yes",
|
|
96
|
+
"_url": "/article/851",
|
|
97
|
+
"_audience": [],
|
|
98
|
+
"_user": {
|
|
99
|
+
"id": 1,
|
|
100
|
+
"mainType": "user",
|
|
101
|
+
"type": "user",
|
|
102
|
+
"uri": "user/1",
|
|
103
|
+
"dateCreation": "2019-03-26 16:29:33",
|
|
104
|
+
"dateModified": "2019-07-19 09:39:23",
|
|
105
|
+
"title": "AdminJenkins",
|
|
106
|
+
"_url": "/user/1",
|
|
107
|
+
"level": 9
|
|
108
|
+
},
|
|
109
|
+
"description": "<div class=\u0027content-html\u0027>ezeza</div>"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"id": 853,
|
|
113
|
+
"mainType": "article",
|
|
114
|
+
"type": "mediaLibraryFolder",
|
|
115
|
+
"uri": "mediaLibraryFolder/853",
|
|
116
|
+
"dateCreation": "2024-05-07 09:58:18",
|
|
117
|
+
"dateModified": "2024-05-07 09:58:35",
|
|
118
|
+
"title": "test Heddy dossier",
|
|
119
|
+
"_url": "/article/853",
|
|
120
|
+
"_audience": [],
|
|
121
|
+
"_user": {
|
|
122
|
+
"id": 1,
|
|
123
|
+
"mainType": "user",
|
|
124
|
+
"type": "user",
|
|
125
|
+
"uri": "user/1",
|
|
126
|
+
"dateCreation": "2019-03-26 16:29:33",
|
|
127
|
+
"dateModified": "2019-07-19 09:39:23",
|
|
128
|
+
"title": "AdminJenkins",
|
|
129
|
+
"_url": "/user/1",
|
|
130
|
+
"level": 9
|
|
131
|
+
},
|
|
132
|
+
"description": "<div class=\u0027content-html\u0027><div class=\u0022content-html\u0022></div>\n</div>"
|
|
133
|
+
}
|
|
134
|
+
],
|
|
135
|
+
"facets": null,
|
|
136
|
+
"idQuery": null
|
|
137
|
+
}
|
|
138
|
+
}
|