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.
Files changed (75) hide show
  1. package/documentation/classes/AdminLicenseApi.html +11 -11
  2. package/documentation/classes/AdminStoreApi.html +1 -1
  3. package/documentation/classes/AdminUtilsApi.html +1 -1
  4. package/documentation/classes/JApplicationApi.html +8 -8
  5. package/documentation/classes/JArticleApi.html +1 -1
  6. package/documentation/classes/JAssetReservation.html +1 -1
  7. package/documentation/classes/JAudienceApi.html +1 -1
  8. package/documentation/classes/JBaseApi.html +1 -1
  9. package/documentation/classes/JBookmarkApi.html +1 -1
  10. package/documentation/classes/JBusinessNetworkingApi.html +1 -1
  11. package/documentation/classes/JCommunityApi.html +1 -1
  12. package/documentation/classes/JDiapazoneApi.html +1 -1
  13. package/documentation/classes/JFaqApi.html +1 -1
  14. package/documentation/classes/JFileApi.html +5 -5
  15. package/documentation/classes/JFilebankApi.html +1 -1
  16. package/documentation/classes/JGlobalApi.html +1 -1
  17. package/documentation/classes/JGroupApi.html +9 -9
  18. package/documentation/classes/JIAApi.html +1 -1
  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 -1
  25. package/documentation/classes/JTaxonomyApi.html +2 -2
  26. package/documentation/classes/JUserApi.html +7 -7
  27. package/documentation/classes/JWedocApi.html +1 -1
  28. package/documentation/classes/JWidgetApi.html +1 -1
  29. package/documentation/classes/JamespotUserApi.html +1 -1
  30. package/documentation/classes/Network.html +1 -1
  31. package/documentation/classes/TVDisplayApi.html +1 -1
  32. package/documentation/classes/WindowBrowser.html +1 -1
  33. package/documentation/enums/StudioApplicationStatus.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/TaxonomyCreate.html +1 -1
  63. package/documentation/interfaces/WindowInterface.html +1 -1
  64. package/documentation/modules.html +11 -11
  65. package/lib/jamespot-user-api.js +1 -1
  66. package/lib/jamespot-user-api.js.map +1 -1
  67. package/lib/src/apis/mediaLibrary/mediaLibrary.d.ts +1 -0
  68. package/lib/src/apis/mediaLibrary/mediaLibrary.mock.d.ts +5 -0
  69. package/package.json +1 -1
  70. package/phpunitMock/mediaLibraryAccess-admin.json +1 -0
  71. package/phpunitMock/mediaLibraryAccess-default.json +1 -0
  72. package/phpunitMock/mediaLibraryAccess-personnalized.json +1 -0
  73. package/phpunitMock/mediaLibraryAccess-personnalizeduser.json +1 -0
  74. package/phpunitMock/mediaLibraryAccess-userNotAdmin.json +1 -0
  75. 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jamespot-user-api",
3
- "version": "1.0.155",
3
+ "version": "1.0.156",
4
4
  "main": "lib/jamespot-user-api.js",
5
5
  "types": "lib/src/index.d.ts",
6
6
  "directories": {
@@ -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
+ }