jamespot-user-api 1.0.117 → 1.0.119

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 (96) 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/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 +6 -6
  15. package/documentation/classes/JFilebankApi.html +1 -1
  16. package/documentation/classes/JGroupApi.html +9 -9
  17. package/documentation/classes/JLandApi.html +1 -1
  18. package/documentation/classes/JMessengerApi.html +1 -1
  19. package/documentation/classes/JSearchApi.html +6 -6
  20. package/documentation/classes/JShareApi.html +1 -1
  21. package/documentation/classes/JTaxonomyApi.html +2 -2
  22. package/documentation/classes/JUserApi.html +4 -4
  23. package/documentation/classes/JWedocApi.html +1 -1
  24. package/documentation/classes/JamespotUserApi.html +1 -1
  25. package/documentation/classes/Network.html +1 -1
  26. package/documentation/classes/TVDisplayApi.html +1 -1
  27. package/documentation/classes/WindowBrowser.html +1 -1
  28. package/documentation/enums/StudioApplicationStatus.html +1 -1
  29. package/documentation/index.html +1 -1
  30. package/documentation/interfaces/AccessRightObject.html +1 -1
  31. package/documentation/interfaces/AdminLicenseUser.html +1 -1
  32. package/documentation/interfaces/ApiDefaultWrapper.html +1 -1
  33. package/documentation/interfaces/ApiWrapper.html +1 -1
  34. package/documentation/interfaces/BaseAutocomplete.html +1 -1
  35. package/documentation/interfaces/BaseMessage.html +1 -1
  36. package/documentation/interfaces/Category.html +1 -1
  37. package/documentation/interfaces/FileBankProps.html +1 -1
  38. package/documentation/interfaces/FolderProps.html +1 -1
  39. package/documentation/interfaces/ListFilterSpec.html +1 -1
  40. package/documentation/interfaces/OF.html +1 -1
  41. package/documentation/interfaces/ObjectListProps.html +1 -1
  42. package/documentation/interfaces/PagingResults.html +1 -1
  43. package/documentation/interfaces/RootFolderProps.html +1 -1
  44. package/documentation/interfaces/SearchCategoryModel.html +1 -1
  45. package/documentation/interfaces/SearchCategoryValue.html +1 -1
  46. package/documentation/interfaces/SearchConfig.html +1 -1
  47. package/documentation/interfaces/SearchFacetModel.html +1 -1
  48. package/documentation/interfaces/SearchFacetValueModel.html +1 -1
  49. package/documentation/interfaces/SearchQuery.html +1 -1
  50. package/documentation/interfaces/SearchQueryFilterModel.html +1 -1
  51. package/documentation/interfaces/SearchQueryOption.html +1 -1
  52. package/documentation/interfaces/SearchQueryResult.html +1 -1
  53. package/documentation/interfaces/SearchQuerySortModel.html +1 -1
  54. package/documentation/interfaces/SearchResultCatProps.html +1 -1
  55. package/documentation/interfaces/SearchResultPropsApp.html +1 -1
  56. package/documentation/interfaces/SearchResultPropsObject.html +1 -1
  57. package/documentation/interfaces/SpotProps.html +1 -1
  58. package/documentation/interfaces/Taxonomy.html +1 -1
  59. package/documentation/interfaces/TaxonomyCreate.html +1 -1
  60. package/documentation/interfaces/WindowInterface.html +1 -1
  61. package/documentation/modules.html +14 -9
  62. package/lib/jamespot-user-api.js +1 -1
  63. package/lib/jamespot-user-api.js.map +1 -1
  64. package/lib/src/apis/article/article.d.ts +3 -11
  65. package/lib/src/apis/article/article.mock.d.ts +3 -3
  66. package/lib/src/apis/faq/faq.d.ts +1 -3
  67. package/lib/src/apis/file/file.d.ts +68 -0
  68. package/lib/src/apis/file/file.mock.d.ts +8 -0
  69. package/lib/src/apis/file/file.test.d.ts +1 -0
  70. package/lib/src/apis/index.d.ts +1 -1
  71. package/lib/src/apis/jamespotUserApi.d.ts +1 -1
  72. package/lib/src/apis/wedoc/wedoc.d.ts +1 -0
  73. package/lib/src/apis/wedoc/wedoc.mock.d.ts +1 -0
  74. package/lib/src/types/file.d.ts +9 -20
  75. package/lib/src/types/mediaLibrary.d.ts +3 -7
  76. package/lib/src/types/widgets.d.ts +9 -10
  77. package/lib/src/util/Test.d.ts +23 -0
  78. package/lib/src/util/file.d.ts +23 -7
  79. package/lib/src/util/file.mock.d.ts +312 -0
  80. package/lib/src/util/network.d.ts +16 -2
  81. package/package.json +1 -1
  82. package/phpunitMock/articleGet-faq-category.json +1 -2
  83. package/phpunitMock/articleGet-mpArticle-list.json +1 -2
  84. package/phpunitMock/articleGet-with-widgets.json +161 -0
  85. package/phpunitMock/articleGetAttachment-success.json +19 -18
  86. package/phpunitMock/fileCreate-rawLittle.json +17 -0
  87. package/phpunitMock/fileDelete-default.json +1 -0
  88. package/phpunitMock/fileDeleteImage-default.json +1 -0
  89. package/phpunitMock/fileGet-default.json +17 -0
  90. package/phpunitMock/fileUpdate-rawLittle.json +18 -0
  91. package/phpunitMock/onlyOfficeCreateVersion-create-version.json +12 -0
  92. package/phpunitMock/tvDisplayGetChannel-dynamic.json +16 -16
  93. package/phpunitMock/tvDisplayGetChannel-slideshow.json +16 -14
  94. package/phpunitMock/tvDisplayGetConfigureChannel-dynamic.json +16 -16
  95. package/phpunitMock/tvDisplayGetConfigureChannel-slideshow.json +16 -14
  96. package/lib/src/apis/file.d.ts +0 -62
@@ -1,4 +1,4 @@
1
- import { ApiWrapper, BaseMessages, FileResponse, MaybeWithToken } from '../types';
1
+ import { ApiWrapper, BaseMessages, MaybeWithToken } from '../types';
2
2
  import { WindowInterface } from '../window/Window';
3
3
  export interface OF {
4
4
  o: string;
@@ -27,7 +27,21 @@ export declare class Network {
27
27
  getHostname(): Promise<string>;
28
28
  fetch<T>({ o, f, ...body }: OF, signal?: AbortSignal | null): Promise<import("../window/Window").FetchResponseType<T>>;
29
29
  post<T, U = BaseMessages>(body: OF, signal?: AbortSignal): Promise<ApiWrapper<T, U>>;
30
- postFile(body: FormData): Promise<ApiWrapper<FileResponse, BaseMessages>>;
30
+ postFile(body: FormData): Promise<{
31
+ response: ApiWrapper<{
32
+ uri: string;
33
+ id: number;
34
+ mainType: string;
35
+ type: string;
36
+ dateCreation: string;
37
+ title: string;
38
+ _url: string;
39
+ dateModified: string | null;
40
+ mimetype: string;
41
+ path?: string;
42
+ }, BaseMessages>;
43
+ token: string;
44
+ }>;
31
45
  postCSRF<T, U = BaseMessages>(body: OF): Promise<ApiWrapper<T, U>>;
32
46
  postToken<T, U = BaseMessages>(body: OF): Promise<ApiWrapper<T, U>>;
33
47
  maybePostToken<T, U = BaseMessages, P extends MaybeWithToken<OF> = MaybeWithToken<OF>>(body: P): Promise<ApiWrapper<T, U>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jamespot-user-api",
3
- "version": "1.0.117",
3
+ "version": "1.0.119",
4
4
  "main": "lib/jamespot-user-api.js",
5
5
  "types": "lib/src/index.d.ts",
6
6
  "directories": {
@@ -39,7 +39,6 @@
39
39
  "_audience": [],
40
40
  "image": null,
41
41
  "tags": [],
42
- "isWeb": false,
43
- "_nbAttachedFiles": 0
42
+ "isWeb": false
44
43
  }
45
44
  }
@@ -33,7 +33,6 @@
33
33
  "title": "AdminJenkins",
34
34
  "_url": "/user/1",
35
35
  "level": 9
36
- },
37
- "_nbAttachedFiles": 0
36
+ }
38
37
  }
39
38
  }
@@ -0,0 +1,161 @@
1
+ {
2
+ "o": "article",
3
+ "f": "get",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": {
7
+ "id": 191,
8
+ "mainType": "article",
9
+ "type": "articleWidget",
10
+ "uri": "articleWidget/191",
11
+ "dateCreation": "2023-09-21 11:40:50",
12
+ "dateModified": "2023-09-21 11:40:50",
13
+ "title": "Article with widgets",
14
+ "_url": "/article/191",
15
+ "articleWidgets": [
16
+ {
17
+ "title": "",
18
+ "widget": {
19
+ "name": "widget-article-attachment",
20
+ "uniqid": "650c0fa2c1c89",
21
+ "content": {
22
+ "files": [
23
+ {
24
+ "id": 93,
25
+ "mainType": "file",
26
+ "type": "fileTmp",
27
+ "uri": "fileTmp/93",
28
+ "dateCreation": "2023-09-21 11:40:50",
29
+ "dateModified": "2023-09-21 11:40:50",
30
+ "title": "txtTest.docx",
31
+ "mimetype": "application/octet-stream",
32
+ "_url": "javascript:void(0);"
33
+ }
34
+ ],
35
+ "fileDisplay": "list"
36
+ }
37
+ }
38
+ },
39
+ {
40
+ "title": "",
41
+ "widget": {
42
+ "name": "widget-article-text",
43
+ "uniqid": "650c0fa2c1c8d",
44
+ "content": {
45
+ "text": "Hello world",
46
+ "color": "white",
47
+ "fontSize": "12",
48
+ "lineHeight": "12",
49
+ "linkColor": "red"
50
+ }
51
+ }
52
+ },
53
+ {
54
+ "title": "",
55
+ "widget": {
56
+ "name": "widget-article-title",
57
+ "uniqid": "650c0fa2c1c8e",
58
+ "content": {
59
+ "text": "This is my title",
60
+ "textAlign": "center",
61
+ "heading": "h1",
62
+ "color": "white",
63
+ "backgroundColor": "red"
64
+ }
65
+ }
66
+ },
67
+ {
68
+ "title": "",
69
+ "widget": {
70
+ "name": "widget-article-button",
71
+ "uniqid": "650c0fa2c1c8f",
72
+ "content": {
73
+ "text": "This is a button",
74
+ "color": "white",
75
+ "backgroundColor": "#4dbf96",
76
+ "borderRadius": "10",
77
+ "fontSize": "12",
78
+ "buttonSize": "sm",
79
+ "variant": "contained",
80
+ "openingType": "link",
81
+ "openingTypeLink": {
82
+ "url": "https://ecosysteme.jamespot.pro/",
83
+ "target": "_blank"
84
+ },
85
+ "openingTypeAnchor": {
86
+ "uniqid": "id"
87
+ },
88
+ "openingTypePopup": {
89
+ "title": "Popup title",
90
+ "widgets": [
91
+ {
92
+ "title": "",
93
+ "widget": {
94
+ "name": "widget-article-text",
95
+ "uniqid": "650c0fa2c1c8d",
96
+ "content": {
97
+ "text": "Hello world",
98
+ "color": "white",
99
+ "fontSize": "12",
100
+ "lineHeight": "12",
101
+ "linkColor": "red"
102
+ }
103
+ }
104
+ }
105
+ ]
106
+ }
107
+ }
108
+ }
109
+ },
110
+ {
111
+ "title": "",
112
+ "widget": {
113
+ "name": "widget-article-image",
114
+ "uniqid": "650c0fa2c1c92",
115
+ "content": {
116
+ "file": {
117
+ "id": 93,
118
+ "mainType": "file",
119
+ "type": "fileTmp",
120
+ "uri": "fileTmp/93",
121
+ "dateCreation": "2023-09-21 11:40:50",
122
+ "dateModified": "2023-09-21 11:40:50",
123
+ "title": "txtTest.docx",
124
+ "mimetype": "application/octet-stream",
125
+ "_url": "javascript:void(0);"
126
+ },
127
+ "useFilter": true,
128
+ "displayAs": "image",
129
+ "backgroundPosition": "center",
130
+ "backgroundSize": "cover",
131
+ "borderRadius": "10"
132
+ }
133
+ }
134
+ },
135
+ {
136
+ "title": "",
137
+ "widget": {
138
+ "name": "widget-article-gallery",
139
+ "uniqid": "650c0fa2c1c93",
140
+ "content": {
141
+ "files": [
142
+ {
143
+ "id": 93,
144
+ "mainType": "file",
145
+ "type": "fileTmp",
146
+ "uri": "fileTmp/93",
147
+ "dateCreation": "2023-09-21 11:40:50",
148
+ "dateModified": "2023-09-21 11:40:50",
149
+ "title": "txtTest.docx",
150
+ "mimetype": "application/octet-stream",
151
+ "_url": "javascript:void(0);"
152
+ }
153
+ ],
154
+ "gap": "4",
155
+ "column": "3"
156
+ }
157
+ }
158
+ }
159
+ ]
160
+ }
161
+ }
@@ -1,18 +1,19 @@
1
- {
2
- "o": "article",
3
- "f": "getAttachment",
4
- "error": 0,
5
- "messages": [],
6
- "result": [
7
- {
8
- "id": 70,
9
- "mainType": "fileArticle",
10
- "type": "fileArticle",
11
- "uri": "fileArticle/70",
12
- "dateCreation": "2023-09-11 10:56:53",
13
- "dateModified": "2023-09-11 10:56:53",
14
- "title": "imgTest.jpg",
15
- "_url": "/article/416"
16
- }
17
- ]
18
- }
1
+ {
2
+ "o": "article",
3
+ "f": "getAttachment",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": [
7
+ {
8
+ "id": 4,
9
+ "mainType": "fileArticle",
10
+ "type": "fileArticle",
11
+ "uri": "fileArticle/4",
12
+ "dateCreation": "2023-09-21 10:09:45",
13
+ "dateModified": "2023-09-21 10:09:45",
14
+ "title": "imgTest.jpg",
15
+ "mimetype": "image/jpeg",
16
+ "_url": "/article/13"
17
+ }
18
+ ]
19
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "o": "file",
3
+ "f": "create",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": {
7
+ "id": 9,
8
+ "mainType": "file",
9
+ "type": "fileTmp",
10
+ "uri": "fileTmp/9",
11
+ "dateCreation": "2023-09-14 15:34:15",
12
+ "dateModified": "2023-09-14 15:34:15",
13
+ "title": "imgTest.jpg",
14
+ "mimetype": "image/jpeg",
15
+ "_url": "javascript:void(0);"
16
+ }
17
+ }
@@ -0,0 +1 @@
1
+ { "o": "file", "f": "delete", "error": 0, "messages": [], "result": true }
@@ -0,0 +1 @@
1
+ { "o": "file", "f": "deleteImage", "error": 0, "messages": [], "result": { "id": 29 } }
@@ -0,0 +1,17 @@
1
+ {
2
+ "o": "file",
3
+ "f": "get",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": {
7
+ "id": 27,
8
+ "mainType": "file",
9
+ "type": "fileTmp",
10
+ "uri": "fileTmp/27",
11
+ "dateCreation": "2023-09-15 10:29:07",
12
+ "dateModified": "2023-09-15 10:29:06",
13
+ "title": "imgTest.jpg",
14
+ "mimetype": "image/jpeg",
15
+ "_url": "javascript:void(0);"
16
+ }
17
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "o": "file",
3
+ "f": "update",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": {
7
+ "id": 8,
8
+ "mainType": "file",
9
+ "type": "fileTmp",
10
+ "uri": "fileTmp/8",
11
+ "dateCreation": "2023-09-14 14:12:30",
12
+ "dateModified": "2023-09-14 14:12:29",
13
+ "title": "imgTest.jpg",
14
+ "mimetype": "image/jpeg",
15
+ "_url": "javascript:void(0);",
16
+ "_extend": { "crop": { "x": 0, "y": 0, "w": 100, "h": 50, "rotation": 1 } }
17
+ }
18
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "o": "onlyOffice",
3
+ "f": "createVersion",
4
+ "error": 0,
5
+ "messages": [
6
+ {
7
+ "code": 200,
8
+ "msg": "Votre version a bien \u00e9t\u00e9 cr\u00e9\u00e9e"
9
+ }
10
+ ],
11
+ "result": true
12
+ }
@@ -6,12 +6,12 @@
6
6
  "result": {
7
7
  "interval": 60,
8
8
  "channel": {
9
- "id": 168,
9
+ "id": 147,
10
10
  "mainType": "article",
11
11
  "type": "tvDisplayChannel",
12
- "uri": "tvDisplayChannel/168",
13
- "dateCreation": "2023-07-31 11:12:03",
14
- "dateModified": "2023-07-31 11:12:03",
12
+ "uri": "tvDisplayChannel/147",
13
+ "dateCreation": "2023-09-15 09:57:22",
14
+ "dateModified": "2023-09-15 09:57:24",
15
15
  "title": "TV Channel dynamic",
16
16
  "_url": "/ng/rr/tv-display",
17
17
  "_right": {
@@ -44,25 +44,25 @@
44
44
  "type": "spot",
45
45
  "uri": "spot/1",
46
46
  "dateCreation": "2019-07-18 18:36:24",
47
- "dateModified": "2023-07-31 11:12:04",
47
+ "dateModified": "2023-09-15 09:57:24",
48
48
  "title": "Groupe public",
49
49
  "_url": "/group/1",
50
50
  "privacy": 1,
51
51
  "category": "1"
52
52
  },
53
- "tvChannelConfig": { "contents": [], "key": "64c77ae3d247e" },
53
+ "tvChannelConfig": { "contents": [], "key": "65040e622030f" },
54
54
  "_extend": {
55
- "imageSecureUrl": "http://jenkins-preprod.jamespot.pro/imagesecure/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwYXRoIjoib3JpZ2luYWxcL3R2RGlzcGxheUNoYW5uZWxcLzE2OC5wbmcifQ.ZBwfoMazbEWGpKidSLYvIKHfgsRJUQ1QyOoOE5X_K-8",
55
+ "imageSecureUrl": "http://jenkins-preprod.jamespot.pro/imagesecure/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwYXRoIjoib3JpZ2luYWxcL3R2RGlzcGxheUNoYW5uZWxcLzE0Ny5wbmcifQ.M_AZe2Im1tlWaFUZZZs0vSTFAIV4A5bEzGG0ErrY1l8",
56
56
  "articles": [
57
57
  {
58
- "id": 169,
58
+ "id": 148,
59
59
  "mainType": "article",
60
60
  "type": "mpArticle",
61
- "uri": "mpArticle/169",
62
- "dateCreation": "2023-07-31 11:12:04",
63
- "dateModified": "2023-07-31 11:12:04",
61
+ "uri": "mpArticle/148",
62
+ "dateCreation": "2023-09-15 09:57:24",
63
+ "dateModified": "2023-09-15 09:57:25",
64
64
  "title": "a-2",
65
- "_url": "/article/169",
65
+ "_url": "/article/148",
66
66
  "_right": {
67
67
  "create": true,
68
68
  "read": true,
@@ -87,14 +87,14 @@
87
87
  },
88
88
  "_extend": {
89
89
  "descriptionSecure": "<div class=\"content-html\">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</div>\n",
90
- "imageSecureUrl": "http://jenkins-preprod.jamespot.pro/imagesecure/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwYXRoIjoib3JpZ2luYWxcL21wQXJ0aWNsZVwvMTY5LnBuZyJ9.QmhlsUg2s41MxGDSQFt49NNQYWCaMCepRaNElYFTEA8",
90
+ "imageSecureUrl": "http://jenkins-preprod.jamespot.pro/imagesecure/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwYXRoIjoib3JpZ2luYWxcL21wQXJ0aWNsZVwvMTQ4LnBuZyJ9.SyBEjpsFFbeL-GWT69yKgtL9v7af6KjOcNoQe8hKWOI",
91
91
  "comments": [
92
92
  {
93
- "id": 13,
93
+ "id": 12,
94
94
  "mainType": "comment",
95
95
  "type": "comment",
96
- "uri": "comment/13",
97
- "dateCreation": "2023-07-31 11:12:04",
96
+ "uri": "comment/12",
97
+ "dateCreation": "2023-09-15 09:57:26",
98
98
  "dateModified": null,
99
99
  "description": "<div class='content-html'>Phasellus sodales augue vitae sapien tempus tristique.</div>",
100
100
  "_user": {
@@ -6,12 +6,12 @@
6
6
  "result": {
7
7
  "interval": 60,
8
8
  "channel": {
9
- "id": 171,
9
+ "id": 150,
10
10
  "mainType": "article",
11
11
  "type": "tvDisplayChannel",
12
- "uri": "tvDisplayChannel/171",
13
- "dateCreation": "2023-07-31 11:12:04",
14
- "dateModified": "2023-07-31 11:12:04",
12
+ "uri": "tvDisplayChannel/150",
13
+ "dateCreation": "2023-09-15 09:57:26",
14
+ "dateModified": "2023-09-15 09:57:26",
15
15
  "title": "TV Channel slideshow",
16
16
  "_url": "/ng/rr/tv-display",
17
17
  "_right": {
@@ -44,39 +44,41 @@
44
44
  "type": "spot",
45
45
  "uri": "spot/1",
46
46
  "dateCreation": "2019-07-18 18:36:24",
47
- "dateModified": "2023-07-31 11:12:04",
47
+ "dateModified": "2023-09-15 09:57:24",
48
48
  "title": "Groupe public",
49
49
  "_url": "/group/1",
50
50
  "privacy": 1,
51
51
  "category": "1"
52
52
  },
53
- "tvChannelConfig": { "contents": [], "key": "64c77ae48a2d0" },
53
+ "tvChannelConfig": { "contents": [], "key": "65040e66b77be" },
54
54
  "_extend": {
55
55
  "attachments": [
56
56
  {
57
- "id": 22,
57
+ "id": 20,
58
58
  "mainType": "fileArticle",
59
59
  "type": "fileArticle",
60
- "uri": "fileArticle/22",
61
- "dateCreation": "2023-07-31 11:12:04",
60
+ "uri": "fileArticle/20",
61
+ "dateCreation": "2023-09-15 09:57:27",
62
62
  "dateModified": null,
63
63
  "title": "imgTest.jpg",
64
+ "mimetype": "image/jpeg",
64
65
  "_url": "/ng/rr/tv-display",
65
66
  "_extend": {
66
- "imageSecureUrl": "http://jenkins-preprod.jamespot.pro/mediasecure/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZEZpbGUiOiIyMiIsIm1lZGlhS2V5IjoiOGNiMDYwYjRhOWMzNTBhOWQzNGI1ODg0NzlkMjBjOWYifQ.nhy6AHgSUJ25GW_zvg3Ng8efxxErEOaHZIbAhK8qqZ0"
67
+ "imageSecureUrl": "http://jenkins-preprod.jamespot.pro/mediasecure/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZEZpbGUiOiIyMCIsIm1lZGlhS2V5IjoiOGNiMDYwYjRhOWMzNTBhOWQzNGI1ODg0NzlkMjBjOWYifQ.LvM19cWwGYEEjLxTeYxYe_6s-GEDonSGit3eDm5uEHY"
67
68
  }
68
69
  },
69
70
  {
70
- "id": 23,
71
+ "id": 21,
71
72
  "mainType": "fileArticle",
72
73
  "type": "fileArticle",
73
- "uri": "fileArticle/23",
74
- "dateCreation": "2023-07-31 11:12:04",
74
+ "uri": "fileArticle/21",
75
+ "dateCreation": "2023-09-15 09:57:27",
75
76
  "dateModified": null,
76
77
  "title": "imgTest.jpg",
78
+ "mimetype": "image/jpeg",
77
79
  "_url": "/ng/rr/tv-display",
78
80
  "_extend": {
79
- "imageSecureUrl": "http://jenkins-preprod.jamespot.pro/mediasecure/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZEZpbGUiOiIyMyIsIm1lZGlhS2V5IjoiOGNiMDYwYjRhOWMzNTBhOWQzNGI1ODg0NzlkMjBjOWYifQ.5UNtRkFJvc2hTkiJ7i7UFt-8WD-tTw0JFOZMQI9ROpo"
81
+ "imageSecureUrl": "http://jenkins-preprod.jamespot.pro/mediasecure/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZEZpbGUiOiIyMSIsIm1lZGlhS2V5IjoiOGNiMDYwYjRhOWMzNTBhOWQzNGI1ODg0NzlkMjBjOWYifQ.0ateeXcwyHrVzdcWyRZsH0Nun04OouZ8DmrBfMDc_f4"
80
82
  }
81
83
  }
82
84
  ]
@@ -4,12 +4,12 @@
4
4
  "error": 0,
5
5
  "messages": [],
6
6
  "result": {
7
- "id": 168,
7
+ "id": 147,
8
8
  "mainType": "article",
9
9
  "type": "tvDisplayChannel",
10
- "uri": "tvDisplayChannel/168",
11
- "dateCreation": "2023-07-31 11:12:03",
12
- "dateModified": "2023-07-31 11:12:03",
10
+ "uri": "tvDisplayChannel/147",
11
+ "dateCreation": "2023-09-15 09:57:22",
12
+ "dateModified": "2023-09-15 09:57:24",
13
13
  "title": "TV Channel dynamic",
14
14
  "_url": "/ng/rr/tv-display",
15
15
  "_right": {
@@ -42,25 +42,25 @@
42
42
  "type": "spot",
43
43
  "uri": "spot/1",
44
44
  "dateCreation": "2019-07-18 18:36:24",
45
- "dateModified": "2023-07-31 11:12:04",
45
+ "dateModified": "2023-09-15 09:57:24",
46
46
  "title": "Groupe public",
47
47
  "_url": "/group/1",
48
48
  "privacy": 1,
49
49
  "category": "1"
50
50
  },
51
- "tvChannelConfig": { "contents": [], "key": "64c77ae3d247e" },
51
+ "tvChannelConfig": { "contents": [], "key": "65040e622030f" },
52
52
  "_extend": {
53
- "imageSecureUrl": "http://jenkins-preprod.jamespot.pro/imagesecure/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwYXRoIjoib3JpZ2luYWxcL3R2RGlzcGxheUNoYW5uZWxcLzE2OC5wbmcifQ.ZBwfoMazbEWGpKidSLYvIKHfgsRJUQ1QyOoOE5X_K-8",
53
+ "imageSecureUrl": "http://jenkins-preprod.jamespot.pro/imagesecure/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwYXRoIjoib3JpZ2luYWxcL3R2RGlzcGxheUNoYW5uZWxcLzE0Ny5wbmcifQ.M_AZe2Im1tlWaFUZZZs0vSTFAIV4A5bEzGG0ErrY1l8",
54
54
  "articles": [
55
55
  {
56
- "id": 169,
56
+ "id": 148,
57
57
  "mainType": "article",
58
58
  "type": "mpArticle",
59
- "uri": "mpArticle/169",
60
- "dateCreation": "2023-07-31 11:12:04",
61
- "dateModified": "2023-07-31 11:12:04",
59
+ "uri": "mpArticle/148",
60
+ "dateCreation": "2023-09-15 09:57:24",
61
+ "dateModified": "2023-09-15 09:57:25",
62
62
  "title": "a-2",
63
- "_url": "/article/169",
63
+ "_url": "/article/148",
64
64
  "_right": {
65
65
  "create": true,
66
66
  "read": true,
@@ -85,14 +85,14 @@
85
85
  },
86
86
  "_extend": {
87
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",
88
+ "imageSecureUrl": "http://jenkins-preprod.jamespot.pro/imagesecure/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwYXRoIjoib3JpZ2luYWxcL21wQXJ0aWNsZVwvMTQ4LnBuZyJ9.SyBEjpsFFbeL-GWT69yKgtL9v7af6KjOcNoQe8hKWOI",
89
89
  "comments": [
90
90
  {
91
- "id": 13,
91
+ "id": 12,
92
92
  "mainType": "comment",
93
93
  "type": "comment",
94
- "uri": "comment/13",
95
- "dateCreation": "2023-07-31 11:12:04",
94
+ "uri": "comment/12",
95
+ "dateCreation": "2023-09-15 09:57:26",
96
96
  "dateModified": null,
97
97
  "description": "<div class='content-html'>Phasellus sodales augue vitae sapien tempus tristique.</div>",
98
98
  "_user": {
@@ -4,12 +4,12 @@
4
4
  "error": 0,
5
5
  "messages": [],
6
6
  "result": {
7
- "id": 171,
7
+ "id": 150,
8
8
  "mainType": "article",
9
9
  "type": "tvDisplayChannel",
10
- "uri": "tvDisplayChannel/171",
11
- "dateCreation": "2023-07-31 11:12:04",
12
- "dateModified": "2023-07-31 11:12:04",
10
+ "uri": "tvDisplayChannel/150",
11
+ "dateCreation": "2023-09-15 09:57:26",
12
+ "dateModified": "2023-09-15 09:57:26",
13
13
  "title": "TV Channel slideshow",
14
14
  "_url": "/ng/rr/tv-display",
15
15
  "_right": {
@@ -42,39 +42,41 @@
42
42
  "type": "spot",
43
43
  "uri": "spot/1",
44
44
  "dateCreation": "2019-07-18 18:36:24",
45
- "dateModified": "2023-07-31 11:12:04",
45
+ "dateModified": "2023-09-15 09:57:24",
46
46
  "title": "Groupe public",
47
47
  "_url": "/group/1",
48
48
  "privacy": 1,
49
49
  "category": "1"
50
50
  },
51
- "tvChannelConfig": { "contents": [], "key": "64c77ae48a2d0" },
51
+ "tvChannelConfig": { "contents": [], "key": "65040e66b77be" },
52
52
  "_extend": {
53
53
  "attachments": [
54
54
  {
55
- "id": 22,
55
+ "id": 20,
56
56
  "mainType": "fileArticle",
57
57
  "type": "fileArticle",
58
- "uri": "fileArticle/22",
59
- "dateCreation": "2023-07-31 11:12:04",
58
+ "uri": "fileArticle/20",
59
+ "dateCreation": "2023-09-15 09:57:27",
60
60
  "dateModified": null,
61
61
  "title": "imgTest.jpg",
62
+ "mimetype": "image/jpeg",
62
63
  "_url": "/ng/rr/tv-display",
63
64
  "_extend": {
64
- "imageSecureUrl": "http://jenkins-preprod.jamespot.pro/mediasecure/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZEZpbGUiOiIyMiIsIm1lZGlhS2V5IjoiOGNiMDYwYjRhOWMzNTBhOWQzNGI1ODg0NzlkMjBjOWYifQ.nhy6AHgSUJ25GW_zvg3Ng8efxxErEOaHZIbAhK8qqZ0"
65
+ "imageSecureUrl": "http://jenkins-preprod.jamespot.pro/mediasecure/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZEZpbGUiOiIyMCIsIm1lZGlhS2V5IjoiOGNiMDYwYjRhOWMzNTBhOWQzNGI1ODg0NzlkMjBjOWYifQ.LvM19cWwGYEEjLxTeYxYe_6s-GEDonSGit3eDm5uEHY"
65
66
  }
66
67
  },
67
68
  {
68
- "id": 23,
69
+ "id": 21,
69
70
  "mainType": "fileArticle",
70
71
  "type": "fileArticle",
71
- "uri": "fileArticle/23",
72
- "dateCreation": "2023-07-31 11:12:04",
72
+ "uri": "fileArticle/21",
73
+ "dateCreation": "2023-09-15 09:57:27",
73
74
  "dateModified": null,
74
75
  "title": "imgTest.jpg",
76
+ "mimetype": "image/jpeg",
75
77
  "_url": "/ng/rr/tv-display",
76
78
  "_extend": {
77
- "imageSecureUrl": "http://jenkins-preprod.jamespot.pro/mediasecure/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZEZpbGUiOiIyMyIsIm1lZGlhS2V5IjoiOGNiMDYwYjRhOWMzNTBhOWQzNGI1ODg0NzlkMjBjOWYifQ.5UNtRkFJvc2hTkiJ7i7UFt-8WD-tTw0JFOZMQI9ROpo"
79
+ "imageSecureUrl": "http://jenkins-preprod.jamespot.pro/mediasecure/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZEZpbGUiOiIyMSIsIm1lZGlhS2V5IjoiOGNiMDYwYjRhOWMzNTBhOWQzNGI1ODg0NzlkMjBjOWYifQ.0ateeXcwyHrVzdcWyRZsH0Nun04OouZ8DmrBfMDc_f4"
78
80
  }
79
81
  }
80
82
  ]