jamespot-user-api 1.0.149 → 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/faq.d.ts +3 -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 +15 -11
- 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 +6 -37
- 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/articleCreate-faq-category.json +1 -0
- package/phpunitMock/articleCreate-faq-item.json +1 -0
- package/phpunitMock/articleGet-faq-category.json +1 -0
- package/phpunitMock/articleGet-meeting-view.json +2 -1
- package/phpunitMock/articleGet-pollSurvey-view.json +2 -1
- package/phpunitMock/articleGet-quizz-view.json +2 -1
- package/phpunitMock/articleGet-socialEvent-view.json +2 -1
- package/phpunitMock/articleGet-support-view.json +2 -1
- package/phpunitMock/articleGet-surveyDate-view.json +2 -1
- package/phpunitMock/articleGet-with-widgets.json +188 -184
- package/phpunitMock/articleGetAttachment-success.json +20 -19
- package/phpunitMock/articleUpdate-faq-category.json +1 -0
- package/phpunitMock/articleUpdate-faq-item.json +1 -0
- package/phpunitMock/articleUpdate-mpArticleView.json +2 -1
- package/phpunitMock/aseiSetStatus-default.json +2 -1
- package/phpunitMock/faqAddEntry-success.json +1 -0
- package/phpunitMock/faqAddTheme-success.json +1 -0
- package/phpunitMock/faqDeleteTheme-success.json +1 -0
- package/phpunitMock/faqGetEntry-success.json +1 -0
- package/phpunitMock/faqMoveEntry-success.json +1 -0
- package/phpunitMock/faqMoveTheme-success.json +2 -0
- package/phpunitMock/fileCreate-rawLittle.json +18 -17
- package/phpunitMock/fileGet-default.json +18 -17
- package/phpunitMock/fileUpdate-rawLittle.json +27 -18
- package/phpunitMock/objectListJamespotArticleQueryList-aseiClearanceTicket-view.json +2 -1
- package/phpunitMock/tvDisplayGetChannel-slideshow.json +94 -92
- package/phpunitMock/tvDisplayGetConfigureChannel-slideshow.json +91 -86
|
@@ -1,312 +1,338 @@
|
|
|
1
1
|
export declare const FileDocx: {
|
|
2
2
|
title: string;
|
|
3
3
|
mimetype: string;
|
|
4
|
-
|
|
4
|
+
type: string;
|
|
5
5
|
id: number;
|
|
6
6
|
mainType: string;
|
|
7
|
-
|
|
7
|
+
uri: string;
|
|
8
8
|
dateCreation: string;
|
|
9
9
|
_url: string;
|
|
10
10
|
dateModified: string | null;
|
|
11
11
|
path?: string;
|
|
12
|
+
size: number;
|
|
12
13
|
};
|
|
13
14
|
export declare const FileXlsx: {
|
|
14
15
|
title: string;
|
|
15
16
|
mimetype: string;
|
|
16
|
-
|
|
17
|
+
type: string;
|
|
17
18
|
id: number;
|
|
18
19
|
mainType: string;
|
|
19
|
-
|
|
20
|
+
uri: string;
|
|
20
21
|
dateCreation: string;
|
|
21
22
|
_url: string;
|
|
22
23
|
dateModified: string | null;
|
|
23
24
|
path?: string;
|
|
25
|
+
size: number;
|
|
24
26
|
};
|
|
25
27
|
export declare const FilePptx: {
|
|
26
28
|
title: string;
|
|
27
29
|
mimetype: string;
|
|
28
|
-
|
|
30
|
+
type: string;
|
|
29
31
|
id: number;
|
|
30
32
|
mainType: string;
|
|
31
|
-
|
|
33
|
+
uri: string;
|
|
32
34
|
dateCreation: string;
|
|
33
35
|
_url: string;
|
|
34
36
|
dateModified: string | null;
|
|
35
37
|
path?: string;
|
|
38
|
+
size: number;
|
|
36
39
|
};
|
|
37
40
|
export declare const FileOdt: {
|
|
38
41
|
title: string;
|
|
39
42
|
mimetype: string;
|
|
40
|
-
|
|
43
|
+
type: string;
|
|
41
44
|
id: number;
|
|
42
45
|
mainType: string;
|
|
43
|
-
|
|
46
|
+
uri: string;
|
|
44
47
|
dateCreation: string;
|
|
45
48
|
_url: string;
|
|
46
49
|
dateModified: string | null;
|
|
47
50
|
path?: string;
|
|
51
|
+
size: number;
|
|
48
52
|
};
|
|
49
53
|
export declare const FilePdf: {
|
|
50
54
|
title: string;
|
|
51
55
|
mimetype: string;
|
|
52
|
-
|
|
56
|
+
type: string;
|
|
53
57
|
id: number;
|
|
54
58
|
mainType: string;
|
|
55
|
-
|
|
59
|
+
uri: string;
|
|
56
60
|
dateCreation: string;
|
|
57
61
|
_url: string;
|
|
58
62
|
dateModified: string | null;
|
|
59
63
|
path?: string;
|
|
64
|
+
size: number;
|
|
60
65
|
};
|
|
61
66
|
export declare const FileZip: {
|
|
62
67
|
title: string;
|
|
63
68
|
mimetype: string;
|
|
64
|
-
|
|
69
|
+
type: string;
|
|
65
70
|
id: number;
|
|
66
71
|
mainType: string;
|
|
67
|
-
|
|
72
|
+
uri: string;
|
|
68
73
|
dateCreation: string;
|
|
69
74
|
_url: string;
|
|
70
75
|
dateModified: string | null;
|
|
71
76
|
path?: string;
|
|
77
|
+
size: number;
|
|
72
78
|
};
|
|
73
79
|
export declare const FileZip2: {
|
|
74
80
|
title: string;
|
|
75
81
|
mimetype: string;
|
|
76
|
-
|
|
82
|
+
type: string;
|
|
77
83
|
id: number;
|
|
78
84
|
mainType: string;
|
|
79
|
-
|
|
85
|
+
uri: string;
|
|
80
86
|
dateCreation: string;
|
|
81
87
|
_url: string;
|
|
82
88
|
dateModified: string | null;
|
|
83
89
|
path?: string;
|
|
90
|
+
size: number;
|
|
84
91
|
};
|
|
85
92
|
export declare const FileAi: {
|
|
86
93
|
title: string;
|
|
87
94
|
mimetype: string;
|
|
88
|
-
|
|
95
|
+
type: string;
|
|
89
96
|
id: number;
|
|
90
97
|
mainType: string;
|
|
91
|
-
|
|
98
|
+
uri: string;
|
|
92
99
|
dateCreation: string;
|
|
93
100
|
_url: string;
|
|
94
101
|
dateModified: string | null;
|
|
95
102
|
path?: string;
|
|
103
|
+
size: number;
|
|
96
104
|
};
|
|
97
105
|
export declare const FileAi2: {
|
|
98
106
|
title: string;
|
|
99
107
|
mimetype: string;
|
|
100
|
-
|
|
108
|
+
type: string;
|
|
101
109
|
id: number;
|
|
102
110
|
mainType: string;
|
|
103
|
-
|
|
111
|
+
uri: string;
|
|
104
112
|
dateCreation: string;
|
|
105
113
|
_url: string;
|
|
106
114
|
dateModified: string | null;
|
|
107
115
|
path?: string;
|
|
116
|
+
size: number;
|
|
108
117
|
};
|
|
109
118
|
export declare const FileMp3: {
|
|
110
119
|
title: string;
|
|
111
120
|
mimetype: string;
|
|
112
|
-
|
|
121
|
+
type: string;
|
|
113
122
|
id: number;
|
|
114
123
|
mainType: string;
|
|
115
|
-
|
|
124
|
+
uri: string;
|
|
116
125
|
dateCreation: string;
|
|
117
126
|
_url: string;
|
|
118
127
|
dateModified: string | null;
|
|
119
128
|
path?: string;
|
|
129
|
+
size: number;
|
|
120
130
|
};
|
|
121
131
|
export declare const FileMp4: {
|
|
122
132
|
title: string;
|
|
123
133
|
mimetype: string;
|
|
124
|
-
|
|
134
|
+
type: string;
|
|
125
135
|
id: number;
|
|
126
136
|
mainType: string;
|
|
127
|
-
|
|
137
|
+
uri: string;
|
|
128
138
|
dateCreation: string;
|
|
129
139
|
_url: string;
|
|
130
140
|
dateModified: string | null;
|
|
131
141
|
path?: string;
|
|
142
|
+
size: number;
|
|
132
143
|
};
|
|
133
144
|
export declare const FileMpeg: {
|
|
134
145
|
title: string;
|
|
135
146
|
mimetype: string;
|
|
136
|
-
|
|
147
|
+
type: string;
|
|
137
148
|
id: number;
|
|
138
149
|
mainType: string;
|
|
139
|
-
|
|
150
|
+
uri: string;
|
|
140
151
|
dateCreation: string;
|
|
141
152
|
_url: string;
|
|
142
153
|
dateModified: string | null;
|
|
143
154
|
path?: string;
|
|
155
|
+
size: number;
|
|
144
156
|
};
|
|
145
157
|
export declare const FileTtf: {
|
|
146
158
|
title: string;
|
|
147
159
|
mimetype: string;
|
|
148
|
-
|
|
160
|
+
type: string;
|
|
149
161
|
id: number;
|
|
150
162
|
mainType: string;
|
|
151
|
-
|
|
163
|
+
uri: string;
|
|
152
164
|
dateCreation: string;
|
|
153
165
|
_url: string;
|
|
154
166
|
dateModified: string | null;
|
|
155
167
|
path?: string;
|
|
168
|
+
size: number;
|
|
156
169
|
};
|
|
157
170
|
export declare const FileTtf2: {
|
|
158
171
|
title: string;
|
|
159
172
|
mimetype: string;
|
|
160
|
-
|
|
173
|
+
type: string;
|
|
161
174
|
id: number;
|
|
162
175
|
mainType: string;
|
|
163
|
-
|
|
176
|
+
uri: string;
|
|
164
177
|
dateCreation: string;
|
|
165
178
|
_url: string;
|
|
166
179
|
dateModified: string | null;
|
|
167
180
|
path?: string;
|
|
181
|
+
size: number;
|
|
168
182
|
};
|
|
169
183
|
export declare const FileOtf: {
|
|
170
184
|
title: string;
|
|
171
185
|
mimetype: string;
|
|
172
|
-
|
|
186
|
+
type: string;
|
|
173
187
|
id: number;
|
|
174
188
|
mainType: string;
|
|
175
|
-
|
|
189
|
+
uri: string;
|
|
176
190
|
dateCreation: string;
|
|
177
191
|
_url: string;
|
|
178
192
|
dateModified: string | null;
|
|
179
193
|
path?: string;
|
|
194
|
+
size: number;
|
|
180
195
|
};
|
|
181
196
|
export declare const FileOtf2: {
|
|
182
197
|
title: string;
|
|
183
198
|
mimetype: string;
|
|
184
|
-
|
|
199
|
+
type: string;
|
|
185
200
|
id: number;
|
|
186
201
|
mainType: string;
|
|
187
|
-
|
|
202
|
+
uri: string;
|
|
188
203
|
dateCreation: string;
|
|
189
204
|
_url: string;
|
|
190
205
|
dateModified: string | null;
|
|
191
206
|
path?: string;
|
|
207
|
+
size: number;
|
|
192
208
|
};
|
|
193
209
|
export declare const FileJpeg: {
|
|
194
210
|
title: string;
|
|
195
211
|
mimetype: string;
|
|
196
|
-
|
|
212
|
+
type: string;
|
|
197
213
|
id: number;
|
|
198
214
|
mainType: string;
|
|
199
|
-
|
|
215
|
+
uri: string;
|
|
200
216
|
dateCreation: string;
|
|
201
217
|
_url: string;
|
|
202
218
|
dateModified: string | null;
|
|
203
219
|
path?: string;
|
|
220
|
+
size: number;
|
|
204
221
|
};
|
|
205
222
|
export declare const FileJpg: {
|
|
206
223
|
title: string;
|
|
207
224
|
mimetype: string;
|
|
208
|
-
|
|
225
|
+
type: string;
|
|
209
226
|
id: number;
|
|
210
227
|
mainType: string;
|
|
211
|
-
|
|
228
|
+
uri: string;
|
|
212
229
|
dateCreation: string;
|
|
213
230
|
_url: string;
|
|
214
231
|
dateModified: string | null;
|
|
215
232
|
path?: string;
|
|
233
|
+
size: number;
|
|
216
234
|
};
|
|
217
235
|
export declare const FilePng: {
|
|
218
236
|
title: string;
|
|
219
237
|
mimetype: string;
|
|
220
|
-
|
|
238
|
+
type: string;
|
|
221
239
|
id: number;
|
|
222
240
|
mainType: string;
|
|
223
|
-
|
|
241
|
+
uri: string;
|
|
224
242
|
dateCreation: string;
|
|
225
243
|
_url: string;
|
|
226
244
|
dateModified: string | null;
|
|
227
245
|
path?: string;
|
|
246
|
+
size: number;
|
|
228
247
|
};
|
|
229
248
|
export declare const FileGif: {
|
|
230
249
|
title: string;
|
|
231
250
|
mimetype: string;
|
|
232
|
-
|
|
251
|
+
type: string;
|
|
233
252
|
id: number;
|
|
234
253
|
mainType: string;
|
|
235
|
-
|
|
254
|
+
uri: string;
|
|
236
255
|
dateCreation: string;
|
|
237
256
|
_url: string;
|
|
238
257
|
dateModified: string | null;
|
|
239
258
|
path?: string;
|
|
259
|
+
size: number;
|
|
240
260
|
};
|
|
241
261
|
export declare const FilePsd: {
|
|
242
262
|
title: string;
|
|
243
263
|
mimetype: string;
|
|
244
|
-
|
|
264
|
+
type: string;
|
|
245
265
|
id: number;
|
|
246
266
|
mainType: string;
|
|
247
|
-
|
|
267
|
+
uri: string;
|
|
248
268
|
dateCreation: string;
|
|
249
269
|
_url: string;
|
|
250
270
|
dateModified: string | null;
|
|
251
271
|
path?: string;
|
|
272
|
+
size: number;
|
|
252
273
|
};
|
|
253
274
|
export declare const FileSvg: {
|
|
254
275
|
title: string;
|
|
255
276
|
mimetype: string;
|
|
256
|
-
|
|
277
|
+
type: string;
|
|
257
278
|
id: number;
|
|
258
279
|
mainType: string;
|
|
259
|
-
|
|
280
|
+
uri: string;
|
|
260
281
|
dateCreation: string;
|
|
261
282
|
_url: string;
|
|
262
283
|
dateModified: string | null;
|
|
263
284
|
path?: string;
|
|
285
|
+
size: number;
|
|
264
286
|
};
|
|
265
287
|
export declare const FileTxt: {
|
|
266
288
|
title: string;
|
|
267
289
|
mimetype: string;
|
|
268
|
-
|
|
290
|
+
type: string;
|
|
269
291
|
id: number;
|
|
270
292
|
mainType: string;
|
|
271
|
-
|
|
293
|
+
uri: string;
|
|
272
294
|
dateCreation: string;
|
|
273
295
|
_url: string;
|
|
274
296
|
dateModified: string | null;
|
|
275
297
|
path?: string;
|
|
298
|
+
size: number;
|
|
276
299
|
};
|
|
277
300
|
export declare const FileCsv: {
|
|
278
301
|
title: string;
|
|
279
302
|
mimetype: string;
|
|
280
|
-
|
|
303
|
+
type: string;
|
|
281
304
|
id: number;
|
|
282
305
|
mainType: string;
|
|
283
|
-
|
|
306
|
+
uri: string;
|
|
284
307
|
dateCreation: string;
|
|
285
308
|
_url: string;
|
|
286
309
|
dateModified: string | null;
|
|
287
310
|
path?: string;
|
|
311
|
+
size: number;
|
|
288
312
|
};
|
|
289
313
|
export declare const FileWebm: {
|
|
290
314
|
title: string;
|
|
291
315
|
mimetype: string;
|
|
292
|
-
|
|
316
|
+
type: string;
|
|
293
317
|
id: number;
|
|
294
318
|
mainType: string;
|
|
295
|
-
|
|
319
|
+
uri: string;
|
|
296
320
|
dateCreation: string;
|
|
297
321
|
_url: string;
|
|
298
322
|
dateModified: string | null;
|
|
299
323
|
path?: string;
|
|
324
|
+
size: number;
|
|
300
325
|
};
|
|
301
326
|
export declare const FileUnknownPsd: {
|
|
302
327
|
title: string;
|
|
303
328
|
mimetype: string;
|
|
304
|
-
|
|
329
|
+
type: string;
|
|
305
330
|
id: number;
|
|
306
331
|
mainType: string;
|
|
307
|
-
|
|
332
|
+
uri: string;
|
|
308
333
|
dateCreation: string;
|
|
309
334
|
_url: string;
|
|
310
335
|
dateModified: string | null;
|
|
311
336
|
path?: string;
|
|
337
|
+
size: number;
|
|
312
338
|
};
|
|
@@ -29,16 +29,17 @@ export declare class Network {
|
|
|
29
29
|
post<T, U = BaseMessages>(body: OF, signal?: AbortSignal): Promise<ApiWrapper<T, U>>;
|
|
30
30
|
postFile(body: FormData): Promise<{
|
|
31
31
|
response: ApiWrapper<{
|
|
32
|
-
|
|
32
|
+
type: string;
|
|
33
33
|
id: number;
|
|
34
34
|
mainType: string;
|
|
35
|
-
|
|
35
|
+
uri: string;
|
|
36
36
|
dateCreation: string;
|
|
37
37
|
title: string;
|
|
38
38
|
_url: string;
|
|
39
39
|
dateModified: string | null;
|
|
40
40
|
mimetype: string;
|
|
41
41
|
path?: string;
|
|
42
|
+
size: number;
|
|
42
43
|
}, BaseMessages>;
|
|
43
44
|
token: string;
|
|
44
45
|
}>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jamespot-user-api",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.151",
|
|
4
4
|
"main": "lib/jamespot-user-api.js",
|
|
5
5
|
"types": "lib/src/index.d.ts",
|
|
6
6
|
"directories": {
|
|
@@ -54,6 +54,9 @@
|
|
|
54
54
|
"npm run prettier"
|
|
55
55
|
]
|
|
56
56
|
},
|
|
57
|
+
"dependencies": {
|
|
58
|
+
"zod": "^3.22.4"
|
|
59
|
+
},
|
|
57
60
|
"scripts": {
|
|
58
61
|
"build": "npx webpack --env NODE_ENV=production",
|
|
59
62
|
"build-dev-vm": "npx webpack --env NODE_ENV=development --env NODE_BUILD=VM",
|