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.
Files changed (102) 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/JBusinessNetworkingApi.html +1 -1
  12. package/documentation/classes/JCommunityApi.html +1 -1
  13. package/documentation/classes/JDiapazoneApi.html +1 -1
  14. package/documentation/classes/JFaqApi.html +1 -1
  15. package/documentation/classes/JFileApi.html +6 -6
  16. package/documentation/classes/JFilebankApi.html +1 -1
  17. package/documentation/classes/JGlobalApi.html +1 -1
  18. package/documentation/classes/JGroupApi.html +11 -11
  19. package/documentation/classes/JIAApi.html +1 -1
  20. package/documentation/classes/JLandApi.html +1 -1
  21. package/documentation/classes/JMessengerApi.html +1 -1
  22. package/documentation/classes/JObjectApi.html +1 -1
  23. package/documentation/classes/JSearchApi.html +6 -6
  24. package/documentation/classes/JShareApi.html +1 -1
  25. package/documentation/classes/JSocialActionApi.html +1 -1
  26. package/documentation/classes/JTaxonomyApi.html +3 -3
  27. package/documentation/classes/JUserApi.html +8 -8
  28. package/documentation/classes/JWedocApi.html +1 -1
  29. package/documentation/classes/JWidgetApi.html +1 -1
  30. package/documentation/classes/JamespotUserApi.html +1 -1
  31. package/documentation/classes/Network.html +1 -1
  32. package/documentation/classes/TVDisplayApi.html +1 -1
  33. package/documentation/classes/WindowBrowser.html +1 -1
  34. package/documentation/enums/StudioApplicationStatus.html +1 -1
  35. package/documentation/index.html +1 -1
  36. package/documentation/interfaces/AccessRightObject.html +1 -1
  37. package/documentation/interfaces/AdminLicenseUser.html +1 -1
  38. package/documentation/interfaces/ApiDefaultWrapper.html +1 -1
  39. package/documentation/interfaces/ApiWrapper.html +1 -1
  40. package/documentation/interfaces/BaseAutocomplete.html +1 -1
  41. package/documentation/interfaces/BaseMessage.html +1 -1
  42. package/documentation/interfaces/Category.html +1 -1
  43. package/documentation/interfaces/FileBankProps.html +1 -1
  44. package/documentation/interfaces/FolderProps.html +1 -1
  45. package/documentation/interfaces/ListFilterSpec.html +1 -1
  46. package/documentation/interfaces/OF.html +1 -1
  47. package/documentation/interfaces/ObjectListProps.html +1 -1
  48. package/documentation/interfaces/PagingResults.html +1 -1
  49. package/documentation/interfaces/RootFolderProps.html +1 -1
  50. package/documentation/interfaces/SearchCategoryModel.html +1 -1
  51. package/documentation/interfaces/SearchCategoryValue.html +1 -1
  52. package/documentation/interfaces/SearchConfig.html +1 -1
  53. package/documentation/interfaces/SearchFacetModel.html +1 -1
  54. package/documentation/interfaces/SearchFacetValueModel.html +1 -1
  55. package/documentation/interfaces/SearchQuery.html +1 -1
  56. package/documentation/interfaces/SearchQueryFilterModel.html +1 -1
  57. package/documentation/interfaces/SearchQueryOption.html +1 -1
  58. package/documentation/interfaces/SearchQueryResult.html +1 -1
  59. package/documentation/interfaces/SearchQuerySortModel.html +1 -1
  60. package/documentation/interfaces/SearchResultCatProps.html +1 -1
  61. package/documentation/interfaces/SearchResultPropsApp.html +1 -1
  62. package/documentation/interfaces/SearchResultPropsObject.html +1 -1
  63. package/documentation/interfaces/SpotProps.html +1 -1
  64. package/documentation/interfaces/TaxonomyCreate.html +1 -1
  65. package/documentation/interfaces/WindowInterface.html +1 -1
  66. package/documentation/modules.html +10 -12
  67. package/lib/jamespot-user-api.js +1 -1
  68. package/lib/jamespot-user-api.js.map +1 -1
  69. package/lib/src/apis/bookmark/bookmark.d.ts +34 -1
  70. package/lib/src/apis/community.d.ts +38 -2
  71. package/lib/src/apis/file/file.d.ts +6 -4
  72. package/lib/src/apis/group/group.d.ts +40 -4
  73. package/lib/src/apis/user/user.d.ts +2 -2
  74. package/lib/src/types/asei.d.ts +3 -1
  75. package/lib/src/types/autocomplete.d.ts +1 -1
  76. package/lib/src/types/bookmark.d.ts +2 -1
  77. package/lib/src/types/comment.d.ts +3 -1
  78. package/lib/src/types/common.d.ts +31 -0
  79. package/lib/src/types/diapazone.d.ts +2 -1
  80. package/lib/src/types/file.d.ts +3 -1
  81. package/lib/src/types/group.d.ts +2 -1
  82. package/lib/src/types/index.d.ts +2 -0
  83. package/lib/src/types/model.d.ts +11 -10
  84. package/lib/src/types/object.d.ts +249 -0
  85. package/lib/src/types/realtime.d.ts +2 -1
  86. package/lib/src/types/search.d.ts +1 -1
  87. package/lib/src/types/share.d.ts +1 -1
  88. package/lib/src/types/tvDisplay.d.ts +2 -1
  89. package/lib/src/types/user.d.ts +49 -8
  90. package/lib/src/types/utils.d.ts +2 -35
  91. package/lib/src/types/wedoc.d.ts +3 -1
  92. package/lib/src/util/Test.d.ts +7 -8
  93. package/lib/src/util/file.mock.d.ts +78 -52
  94. package/lib/src/util/network.d.ts +3 -2
  95. package/package.json +4 -1
  96. package/phpunitMock/articleGet-with-widgets.json +188 -184
  97. package/phpunitMock/articleGetAttachment-success.json +20 -19
  98. package/phpunitMock/fileCreate-rawLittle.json +18 -17
  99. package/phpunitMock/fileGet-default.json +18 -17
  100. package/phpunitMock/fileUpdate-rawLittle.json +27 -18
  101. package/phpunitMock/tvDisplayGetChannel-slideshow.json +94 -92
  102. package/phpunitMock/tvDisplayGetConfigureChannel-slideshow.json +91 -86
@@ -1,184 +1,188 @@
1
- {
2
- "o": "article",
3
- "f": "get",
4
- "error": 0,
5
- "messages": [],
6
- "result": {
7
- "id": 248,
8
- "mainType": "article",
9
- "type": "articleWidget",
10
- "uri": "articleWidget/248",
11
- "dateCreation": "2024-02-16 10:59:20",
12
- "dateModified": "2024-02-16 10:59:20",
13
- "title": "Article with widgets",
14
- "_url": "/article/248",
15
- "articleWidgets": [
16
- {
17
- "title": "",
18
- "widget": {
19
- "name": "widget-article-attachment",
20
- "uniqid": "65cf31f8a9ba4",
21
- "content": {
22
- "files": [
23
- {
24
- "id": 39,
25
- "mainType": "file",
26
- "type": "fileTmp",
27
- "uri": "fileTmp/39",
28
- "dateCreation": "2024-02-16 10:59:20",
29
- "dateModified": "2024-02-16 10:59:20",
30
- "title": "txtTest.docx",
31
- "mimetype": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
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": "65cf31f8a9ba6",
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": "65cf31f8a9ba7",
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": "65cf31f8a9ba8",
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": "65cf31f8a9ba6",
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": "65cf31f8a9baa",
115
- "content": {
116
- "file": {
117
- "id": 39,
118
- "mainType": "file",
119
- "type": "fileTmp",
120
- "uri": "fileTmp/39",
121
- "dateCreation": "2024-02-16 10:59:20",
122
- "dateModified": "2024-02-16 10:59:20",
123
- "title": "txtTest.docx",
124
- "mimetype": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
125
- "_url": "javascript:void(0);"
126
- },
127
- "useFilter": true
128
- }
129
- }
130
- },
131
- {
132
- "title": "",
133
- "widget": {
134
- "name": "widget-article-gallery",
135
- "uniqid": "65cf31f8a9bab",
136
- "content": {
137
- "files": [
138
- {
139
- "id": 39,
140
- "mainType": "file",
141
- "type": "fileTmp",
142
- "uri": "fileTmp/39",
143
- "dateCreation": "2024-02-16 10:59:20",
144
- "dateModified": "2024-02-16 10:59:20",
145
- "title": "txtTest.docx",
146
- "mimetype": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
147
- "_url": "javascript:void(0);"
148
- }
149
- ],
150
- "gap": "4",
151
- "column": "3"
152
- }
153
- }
154
- },
155
- {
156
- "title": "",
157
- "widget": {
158
- "name": "widget-article-slider",
159
- "uniqid": "65cf31f8a9bac",
160
- "content": {
161
- "slides": [
162
- {
163
- "title": "Slider",
164
- "text": "Description",
165
- "file": {
166
- "id": 39,
167
- "mainType": "file",
168
- "type": "fileTmp",
169
- "uri": "fileTmp/39",
170
- "dateCreation": "2024-02-16 10:59:20",
171
- "dateModified": "2024-02-16 10:59:20",
172
- "title": "txtTest.docx",
173
- "mimetype": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
174
- "_url": "javascript:void(0);"
175
- }
176
- }
177
- ]
178
- }
179
- }
180
- }
181
- ],
182
- "articleWidgetDisplayMode": null
183
- }
184
- }
1
+ {
2
+ "o": "article",
3
+ "f": "get",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": {
7
+ "id": 275,
8
+ "mainType": "article",
9
+ "type": "articleWidget",
10
+ "uri": "articleWidget/275",
11
+ "dateCreation": "2024-04-11 12:11:35",
12
+ "dateModified": "2024-04-11 12:11:35",
13
+ "title": "Article with widgets",
14
+ "_url": "/article/275",
15
+ "articleWidgets": [
16
+ {
17
+ "title": "",
18
+ "widget": {
19
+ "name": "widget-article-attachment",
20
+ "uniqid": "6617b75730ea0",
21
+ "content": {
22
+ "files": [
23
+ {
24
+ "id": 67,
25
+ "mainType": "file",
26
+ "type": "fileTmp",
27
+ "uri": "fileTmp/67",
28
+ "dateCreation": "2024-04-11 12:11:35",
29
+ "dateModified": "2024-04-11 12:11:35",
30
+ "title": "txtTest.docx",
31
+ "size": 4177,
32
+ "mimetype": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
33
+ "_url": "javascript:void(0);"
34
+ }
35
+ ],
36
+ "fileDisplay": "list"
37
+ }
38
+ }
39
+ },
40
+ {
41
+ "title": "",
42
+ "widget": {
43
+ "name": "widget-article-text",
44
+ "uniqid": "6617b75730ea4",
45
+ "content": {
46
+ "text": "Hello world",
47
+ "color": "white",
48
+ "fontSize": "12",
49
+ "lineHeight": "12",
50
+ "linkColor": "red"
51
+ }
52
+ }
53
+ },
54
+ {
55
+ "title": "",
56
+ "widget": {
57
+ "name": "widget-article-title",
58
+ "uniqid": "6617b75730ea6",
59
+ "content": {
60
+ "text": "This is my title",
61
+ "textAlign": "center",
62
+ "heading": "h1",
63
+ "color": "white",
64
+ "backgroundColor": "red"
65
+ }
66
+ }
67
+ },
68
+ {
69
+ "title": "",
70
+ "widget": {
71
+ "name": "widget-article-button",
72
+ "uniqid": "6617b75730ea7",
73
+ "content": {
74
+ "text": "This is a button",
75
+ "color": "white",
76
+ "backgroundColor": "#4dbf96",
77
+ "borderRadius": "10",
78
+ "fontSize": "12",
79
+ "buttonSize": "sm",
80
+ "variant": "contained",
81
+ "openingType": "link",
82
+ "openingTypeLink": {
83
+ "url": "https://ecosysteme.jamespot.pro/",
84
+ "target": "_blank"
85
+ },
86
+ "openingTypeAnchor": {
87
+ "uniqid": "id"
88
+ },
89
+ "openingTypePopup": {
90
+ "title": "Popup title",
91
+ "widgets": [
92
+ {
93
+ "title": "",
94
+ "widget": {
95
+ "name": "widget-article-text",
96
+ "uniqid": "6617b75730ea4",
97
+ "content": {
98
+ "text": "Hello world",
99
+ "color": "white",
100
+ "fontSize": "12",
101
+ "lineHeight": "12",
102
+ "linkColor": "red"
103
+ }
104
+ }
105
+ }
106
+ ]
107
+ }
108
+ }
109
+ }
110
+ },
111
+ {
112
+ "title": "",
113
+ "widget": {
114
+ "name": "widget-article-image",
115
+ "uniqid": "6617b75730eab",
116
+ "content": {
117
+ "file": {
118
+ "id": 67,
119
+ "mainType": "file",
120
+ "type": "fileTmp",
121
+ "uri": "fileTmp/67",
122
+ "dateCreation": "2024-04-11 12:11:35",
123
+ "dateModified": "2024-04-11 12:11:35",
124
+ "title": "txtTest.docx",
125
+ "size": 4177,
126
+ "mimetype": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
127
+ "_url": "javascript:void(0);"
128
+ },
129
+ "useFilter": true
130
+ }
131
+ }
132
+ },
133
+ {
134
+ "title": "",
135
+ "widget": {
136
+ "name": "widget-article-gallery",
137
+ "uniqid": "6617b75730eac",
138
+ "content": {
139
+ "files": [
140
+ {
141
+ "id": 67,
142
+ "mainType": "file",
143
+ "type": "fileTmp",
144
+ "uri": "fileTmp/67",
145
+ "dateCreation": "2024-04-11 12:11:35",
146
+ "dateModified": "2024-04-11 12:11:35",
147
+ "title": "txtTest.docx",
148
+ "size": 4177,
149
+ "mimetype": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
150
+ "_url": "javascript:void(0);"
151
+ }
152
+ ],
153
+ "gap": "4",
154
+ "column": "3"
155
+ }
156
+ }
157
+ },
158
+ {
159
+ "title": "",
160
+ "widget": {
161
+ "name": "widget-article-slider",
162
+ "uniqid": "6617b75730eae",
163
+ "content": {
164
+ "slides": [
165
+ {
166
+ "title": "Slider",
167
+ "text": "Description",
168
+ "file": {
169
+ "id": 67,
170
+ "mainType": "file",
171
+ "type": "fileTmp",
172
+ "uri": "fileTmp/67",
173
+ "dateCreation": "2024-04-11 12:11:35",
174
+ "dateModified": "2024-04-11 12:11:35",
175
+ "title": "txtTest.docx",
176
+ "size": 4177,
177
+ "mimetype": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
178
+ "_url": "javascript:void(0);"
179
+ }
180
+ }
181
+ ]
182
+ }
183
+ }
184
+ }
185
+ ],
186
+ "articleWidgetDisplayMode": null
187
+ }
188
+ }
@@ -1,19 +1,20 @@
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
- }
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": "2024-04-11 12:11:36",
13
+ "dateModified": "2024-04-11 12:11:36",
14
+ "title": "imgTest.jpg",
15
+ "size": 20904,
16
+ "mimetype": "image/jpeg",
17
+ "_url": "/article/292"
18
+ }
19
+ ]
20
+ }
@@ -1,17 +1,18 @@
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
- }
1
+ {
2
+ "o": "file",
3
+ "f": "create",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": {
7
+ "id": 75,
8
+ "mainType": "file",
9
+ "type": "fileTmp",
10
+ "uri": "fileTmp/75",
11
+ "dateCreation": "2024-04-11 12:11:42",
12
+ "dateModified": "2024-04-11 12:11:42",
13
+ "title": "imgTest.jpg",
14
+ "size": 20904,
15
+ "mimetype": "image/jpeg",
16
+ "_url": "javascript:void(0);"
17
+ }
18
+ }
@@ -1,17 +1,18 @@
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
- }
1
+ {
2
+ "o": "file",
3
+ "f": "get",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": {
7
+ "id": 77,
8
+ "mainType": "file",
9
+ "type": "fileTmp",
10
+ "uri": "fileTmp/77",
11
+ "dateCreation": "2024-04-11 12:11:43",
12
+ "dateModified": "2024-04-11 12:11:43",
13
+ "title": "imgTest.jpg",
14
+ "size": 20904,
15
+ "mimetype": "image/jpeg",
16
+ "_url": "javascript:void(0);"
17
+ }
18
+ }
@@ -1,18 +1,27 @@
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
- }
1
+ {
2
+ "o": "file",
3
+ "f": "update",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": {
7
+ "id": 76,
8
+ "mainType": "file",
9
+ "type": "fileTmp",
10
+ "uri": "fileTmp/76",
11
+ "dateCreation": "2024-04-11 12:11:43",
12
+ "dateModified": "2024-04-11 12:11:42",
13
+ "title": "imgTest.jpg",
14
+ "size": 20904,
15
+ "mimetype": "image/jpeg",
16
+ "_url": "javascript:void(0);",
17
+ "_extend": {
18
+ "crop": {
19
+ "x": 0,
20
+ "y": 0,
21
+ "w": 100,
22
+ "h": 50,
23
+ "rotation": 90
24
+ }
25
+ }
26
+ }
27
+ }