jamespot-user-api 1.0.154 → 1.0.155
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 +8 -8
- 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/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 +11 -10
- package/lib/jamespot-user-api.js +1 -1
- package/lib/jamespot-user-api.js.map +1 -1
- package/lib/src/apis/file/file.d.ts +28 -6
- package/lib/src/apis/user/user.d.ts +5 -59
- package/lib/src/apis/user/user.mock.d.ts +1 -2
- package/lib/src/types/adminLicence.d.ts +1 -1
- package/lib/src/types/common.d.ts +10 -1
- package/lib/src/types/file.d.ts +202 -21
- package/lib/src/types/hook.d.ts +143 -0
- package/lib/src/types/index.d.ts +1 -0
- package/lib/src/types/user.d.ts +1071 -56
- package/lib/src/types/utils.d.ts +10 -0
- package/lib/src/util/Test.d.ts +0 -25
- package/lib/src/util/file.mock.d.ts +52 -52
- package/lib/src/util/network.d.ts +2 -2
- package/package.json +1 -1
- package/phpunitMock/tvDisplayGetChannel-slideshow.json +2 -2
package/lib/src/types/utils.d.ts
CHANGED
|
@@ -41,6 +41,16 @@ export interface ApiDefaultWrapper<U = BaseMessages> {
|
|
|
41
41
|
export interface ApiWrapper<T, U = BaseMessages> extends ApiDefaultWrapper<U> {
|
|
42
42
|
result: T;
|
|
43
43
|
}
|
|
44
|
+
export interface ObjectListProps {
|
|
45
|
+
additionalFilter?: {};
|
|
46
|
+
facets?: {}[];
|
|
47
|
+
filters?: Filters;
|
|
48
|
+
query?: string;
|
|
49
|
+
limit?: number;
|
|
50
|
+
page?: number;
|
|
51
|
+
orders?: Orders;
|
|
52
|
+
format?: string;
|
|
53
|
+
}
|
|
44
54
|
export interface PagingResults<T> {
|
|
45
55
|
cnt: number;
|
|
46
56
|
data: Array<T>;
|
package/lib/src/util/Test.d.ts
CHANGED
|
@@ -128,31 +128,6 @@ export declare const validateObject: <T extends {
|
|
|
128
128
|
export declare const validateArticleIsFormatView: <T extends jArticleView = jArticleView>(object: T) => void;
|
|
129
129
|
export declare const validateObjectIsFormatAutocomplete: <T extends jObjectAutocomplete = jObjectAutocomplete>(object: T) => void;
|
|
130
130
|
export declare const validateCommentIsFormatList: <T extends jCommentList = jCommentList>(object: T) => void;
|
|
131
|
-
export declare const validateFileIsFormatLittle: <T extends {
|
|
132
|
-
type: string;
|
|
133
|
-
id: number;
|
|
134
|
-
mainType: string;
|
|
135
|
-
uri: string;
|
|
136
|
-
dateCreation: string;
|
|
137
|
-
title: string;
|
|
138
|
-
_url: string;
|
|
139
|
-
dateModified: string | null;
|
|
140
|
-
mimetype: string;
|
|
141
|
-
path?: string;
|
|
142
|
-
size: number;
|
|
143
|
-
} = {
|
|
144
|
-
type: string;
|
|
145
|
-
id: number;
|
|
146
|
-
mainType: string;
|
|
147
|
-
uri: string;
|
|
148
|
-
dateCreation: string;
|
|
149
|
-
title: string;
|
|
150
|
-
_url: string;
|
|
151
|
-
dateModified: string | null;
|
|
152
|
-
mimetype: string;
|
|
153
|
-
path?: string;
|
|
154
|
-
size: number;
|
|
155
|
-
}>(object: T) => void;
|
|
156
131
|
export declare const expectToHaveProperties: <T>(props: string[], payload: T[]) => void;
|
|
157
132
|
export declare const expectToBeArray: <T>(arr: T[]) => void;
|
|
158
133
|
export declare const jDynamicProperties: string[];
|
|
@@ -6,10 +6,10 @@ export declare const FileDocx: {
|
|
|
6
6
|
mainType: string;
|
|
7
7
|
uri: string;
|
|
8
8
|
dateCreation: string;
|
|
9
|
-
_url: string;
|
|
10
9
|
dateModified: string | null;
|
|
11
|
-
|
|
10
|
+
_url: string;
|
|
12
11
|
size: number;
|
|
12
|
+
path?: string | undefined;
|
|
13
13
|
};
|
|
14
14
|
export declare const FileXlsx: {
|
|
15
15
|
title: string;
|
|
@@ -19,10 +19,10 @@ export declare const FileXlsx: {
|
|
|
19
19
|
mainType: string;
|
|
20
20
|
uri: string;
|
|
21
21
|
dateCreation: string;
|
|
22
|
-
_url: string;
|
|
23
22
|
dateModified: string | null;
|
|
24
|
-
|
|
23
|
+
_url: string;
|
|
25
24
|
size: number;
|
|
25
|
+
path?: string | undefined;
|
|
26
26
|
};
|
|
27
27
|
export declare const FilePptx: {
|
|
28
28
|
title: string;
|
|
@@ -32,10 +32,10 @@ export declare const FilePptx: {
|
|
|
32
32
|
mainType: string;
|
|
33
33
|
uri: string;
|
|
34
34
|
dateCreation: string;
|
|
35
|
-
_url: string;
|
|
36
35
|
dateModified: string | null;
|
|
37
|
-
|
|
36
|
+
_url: string;
|
|
38
37
|
size: number;
|
|
38
|
+
path?: string | undefined;
|
|
39
39
|
};
|
|
40
40
|
export declare const FileOdt: {
|
|
41
41
|
title: string;
|
|
@@ -45,10 +45,10 @@ export declare const FileOdt: {
|
|
|
45
45
|
mainType: string;
|
|
46
46
|
uri: string;
|
|
47
47
|
dateCreation: string;
|
|
48
|
-
_url: string;
|
|
49
48
|
dateModified: string | null;
|
|
50
|
-
|
|
49
|
+
_url: string;
|
|
51
50
|
size: number;
|
|
51
|
+
path?: string | undefined;
|
|
52
52
|
};
|
|
53
53
|
export declare const FilePdf: {
|
|
54
54
|
title: string;
|
|
@@ -58,10 +58,10 @@ export declare const FilePdf: {
|
|
|
58
58
|
mainType: string;
|
|
59
59
|
uri: string;
|
|
60
60
|
dateCreation: string;
|
|
61
|
-
_url: string;
|
|
62
61
|
dateModified: string | null;
|
|
63
|
-
|
|
62
|
+
_url: string;
|
|
64
63
|
size: number;
|
|
64
|
+
path?: string | undefined;
|
|
65
65
|
};
|
|
66
66
|
export declare const FileZip: {
|
|
67
67
|
title: string;
|
|
@@ -71,10 +71,10 @@ export declare const FileZip: {
|
|
|
71
71
|
mainType: string;
|
|
72
72
|
uri: string;
|
|
73
73
|
dateCreation: string;
|
|
74
|
-
_url: string;
|
|
75
74
|
dateModified: string | null;
|
|
76
|
-
|
|
75
|
+
_url: string;
|
|
77
76
|
size: number;
|
|
77
|
+
path?: string | undefined;
|
|
78
78
|
};
|
|
79
79
|
export declare const FileZip2: {
|
|
80
80
|
title: string;
|
|
@@ -84,10 +84,10 @@ export declare const FileZip2: {
|
|
|
84
84
|
mainType: string;
|
|
85
85
|
uri: string;
|
|
86
86
|
dateCreation: string;
|
|
87
|
-
_url: string;
|
|
88
87
|
dateModified: string | null;
|
|
89
|
-
|
|
88
|
+
_url: string;
|
|
90
89
|
size: number;
|
|
90
|
+
path?: string | undefined;
|
|
91
91
|
};
|
|
92
92
|
export declare const FileAi: {
|
|
93
93
|
title: string;
|
|
@@ -97,10 +97,10 @@ export declare const FileAi: {
|
|
|
97
97
|
mainType: string;
|
|
98
98
|
uri: string;
|
|
99
99
|
dateCreation: string;
|
|
100
|
-
_url: string;
|
|
101
100
|
dateModified: string | null;
|
|
102
|
-
|
|
101
|
+
_url: string;
|
|
103
102
|
size: number;
|
|
103
|
+
path?: string | undefined;
|
|
104
104
|
};
|
|
105
105
|
export declare const FileAi2: {
|
|
106
106
|
title: string;
|
|
@@ -110,10 +110,10 @@ export declare const FileAi2: {
|
|
|
110
110
|
mainType: string;
|
|
111
111
|
uri: string;
|
|
112
112
|
dateCreation: string;
|
|
113
|
-
_url: string;
|
|
114
113
|
dateModified: string | null;
|
|
115
|
-
|
|
114
|
+
_url: string;
|
|
116
115
|
size: number;
|
|
116
|
+
path?: string | undefined;
|
|
117
117
|
};
|
|
118
118
|
export declare const FileMp3: {
|
|
119
119
|
title: string;
|
|
@@ -123,10 +123,10 @@ export declare const FileMp3: {
|
|
|
123
123
|
mainType: string;
|
|
124
124
|
uri: string;
|
|
125
125
|
dateCreation: string;
|
|
126
|
-
_url: string;
|
|
127
126
|
dateModified: string | null;
|
|
128
|
-
|
|
127
|
+
_url: string;
|
|
129
128
|
size: number;
|
|
129
|
+
path?: string | undefined;
|
|
130
130
|
};
|
|
131
131
|
export declare const FileMp4: {
|
|
132
132
|
title: string;
|
|
@@ -136,10 +136,10 @@ export declare const FileMp4: {
|
|
|
136
136
|
mainType: string;
|
|
137
137
|
uri: string;
|
|
138
138
|
dateCreation: string;
|
|
139
|
-
_url: string;
|
|
140
139
|
dateModified: string | null;
|
|
141
|
-
|
|
140
|
+
_url: string;
|
|
142
141
|
size: number;
|
|
142
|
+
path?: string | undefined;
|
|
143
143
|
};
|
|
144
144
|
export declare const FileMpeg: {
|
|
145
145
|
title: string;
|
|
@@ -149,10 +149,10 @@ export declare const FileMpeg: {
|
|
|
149
149
|
mainType: string;
|
|
150
150
|
uri: string;
|
|
151
151
|
dateCreation: string;
|
|
152
|
-
_url: string;
|
|
153
152
|
dateModified: string | null;
|
|
154
|
-
|
|
153
|
+
_url: string;
|
|
155
154
|
size: number;
|
|
155
|
+
path?: string | undefined;
|
|
156
156
|
};
|
|
157
157
|
export declare const FileTtf: {
|
|
158
158
|
title: string;
|
|
@@ -162,10 +162,10 @@ export declare const FileTtf: {
|
|
|
162
162
|
mainType: string;
|
|
163
163
|
uri: string;
|
|
164
164
|
dateCreation: string;
|
|
165
|
-
_url: string;
|
|
166
165
|
dateModified: string | null;
|
|
167
|
-
|
|
166
|
+
_url: string;
|
|
168
167
|
size: number;
|
|
168
|
+
path?: string | undefined;
|
|
169
169
|
};
|
|
170
170
|
export declare const FileTtf2: {
|
|
171
171
|
title: string;
|
|
@@ -175,10 +175,10 @@ export declare const FileTtf2: {
|
|
|
175
175
|
mainType: string;
|
|
176
176
|
uri: string;
|
|
177
177
|
dateCreation: string;
|
|
178
|
-
_url: string;
|
|
179
178
|
dateModified: string | null;
|
|
180
|
-
|
|
179
|
+
_url: string;
|
|
181
180
|
size: number;
|
|
181
|
+
path?: string | undefined;
|
|
182
182
|
};
|
|
183
183
|
export declare const FileOtf: {
|
|
184
184
|
title: string;
|
|
@@ -188,10 +188,10 @@ export declare const FileOtf: {
|
|
|
188
188
|
mainType: string;
|
|
189
189
|
uri: string;
|
|
190
190
|
dateCreation: string;
|
|
191
|
-
_url: string;
|
|
192
191
|
dateModified: string | null;
|
|
193
|
-
|
|
192
|
+
_url: string;
|
|
194
193
|
size: number;
|
|
194
|
+
path?: string | undefined;
|
|
195
195
|
};
|
|
196
196
|
export declare const FileOtf2: {
|
|
197
197
|
title: string;
|
|
@@ -201,10 +201,10 @@ export declare const FileOtf2: {
|
|
|
201
201
|
mainType: string;
|
|
202
202
|
uri: string;
|
|
203
203
|
dateCreation: string;
|
|
204
|
-
_url: string;
|
|
205
204
|
dateModified: string | null;
|
|
206
|
-
|
|
205
|
+
_url: string;
|
|
207
206
|
size: number;
|
|
207
|
+
path?: string | undefined;
|
|
208
208
|
};
|
|
209
209
|
export declare const FileJpeg: {
|
|
210
210
|
title: string;
|
|
@@ -214,10 +214,10 @@ export declare const FileJpeg: {
|
|
|
214
214
|
mainType: string;
|
|
215
215
|
uri: string;
|
|
216
216
|
dateCreation: string;
|
|
217
|
-
_url: string;
|
|
218
217
|
dateModified: string | null;
|
|
219
|
-
|
|
218
|
+
_url: string;
|
|
220
219
|
size: number;
|
|
220
|
+
path?: string | undefined;
|
|
221
221
|
};
|
|
222
222
|
export declare const FileJpg: {
|
|
223
223
|
title: string;
|
|
@@ -227,10 +227,10 @@ export declare const FileJpg: {
|
|
|
227
227
|
mainType: string;
|
|
228
228
|
uri: string;
|
|
229
229
|
dateCreation: string;
|
|
230
|
-
_url: string;
|
|
231
230
|
dateModified: string | null;
|
|
232
|
-
|
|
231
|
+
_url: string;
|
|
233
232
|
size: number;
|
|
233
|
+
path?: string | undefined;
|
|
234
234
|
};
|
|
235
235
|
export declare const FilePng: {
|
|
236
236
|
title: string;
|
|
@@ -240,10 +240,10 @@ export declare const FilePng: {
|
|
|
240
240
|
mainType: string;
|
|
241
241
|
uri: string;
|
|
242
242
|
dateCreation: string;
|
|
243
|
-
_url: string;
|
|
244
243
|
dateModified: string | null;
|
|
245
|
-
|
|
244
|
+
_url: string;
|
|
246
245
|
size: number;
|
|
246
|
+
path?: string | undefined;
|
|
247
247
|
};
|
|
248
248
|
export declare const FileGif: {
|
|
249
249
|
title: string;
|
|
@@ -253,10 +253,10 @@ export declare const FileGif: {
|
|
|
253
253
|
mainType: string;
|
|
254
254
|
uri: string;
|
|
255
255
|
dateCreation: string;
|
|
256
|
-
_url: string;
|
|
257
256
|
dateModified: string | null;
|
|
258
|
-
|
|
257
|
+
_url: string;
|
|
259
258
|
size: number;
|
|
259
|
+
path?: string | undefined;
|
|
260
260
|
};
|
|
261
261
|
export declare const FilePsd: {
|
|
262
262
|
title: string;
|
|
@@ -266,10 +266,10 @@ export declare const FilePsd: {
|
|
|
266
266
|
mainType: string;
|
|
267
267
|
uri: string;
|
|
268
268
|
dateCreation: string;
|
|
269
|
-
_url: string;
|
|
270
269
|
dateModified: string | null;
|
|
271
|
-
|
|
270
|
+
_url: string;
|
|
272
271
|
size: number;
|
|
272
|
+
path?: string | undefined;
|
|
273
273
|
};
|
|
274
274
|
export declare const FileSvg: {
|
|
275
275
|
title: string;
|
|
@@ -279,10 +279,10 @@ export declare const FileSvg: {
|
|
|
279
279
|
mainType: string;
|
|
280
280
|
uri: string;
|
|
281
281
|
dateCreation: string;
|
|
282
|
-
_url: string;
|
|
283
282
|
dateModified: string | null;
|
|
284
|
-
|
|
283
|
+
_url: string;
|
|
285
284
|
size: number;
|
|
285
|
+
path?: string | undefined;
|
|
286
286
|
};
|
|
287
287
|
export declare const FileTxt: {
|
|
288
288
|
title: string;
|
|
@@ -292,10 +292,10 @@ export declare const FileTxt: {
|
|
|
292
292
|
mainType: string;
|
|
293
293
|
uri: string;
|
|
294
294
|
dateCreation: string;
|
|
295
|
-
_url: string;
|
|
296
295
|
dateModified: string | null;
|
|
297
|
-
|
|
296
|
+
_url: string;
|
|
298
297
|
size: number;
|
|
298
|
+
path?: string | undefined;
|
|
299
299
|
};
|
|
300
300
|
export declare const FileCsv: {
|
|
301
301
|
title: string;
|
|
@@ -305,10 +305,10 @@ export declare const FileCsv: {
|
|
|
305
305
|
mainType: string;
|
|
306
306
|
uri: string;
|
|
307
307
|
dateCreation: string;
|
|
308
|
-
_url: string;
|
|
309
308
|
dateModified: string | null;
|
|
310
|
-
|
|
309
|
+
_url: string;
|
|
311
310
|
size: number;
|
|
311
|
+
path?: string | undefined;
|
|
312
312
|
};
|
|
313
313
|
export declare const FileWebm: {
|
|
314
314
|
title: string;
|
|
@@ -318,10 +318,10 @@ export declare const FileWebm: {
|
|
|
318
318
|
mainType: string;
|
|
319
319
|
uri: string;
|
|
320
320
|
dateCreation: string;
|
|
321
|
-
_url: string;
|
|
322
321
|
dateModified: string | null;
|
|
323
|
-
|
|
322
|
+
_url: string;
|
|
324
323
|
size: number;
|
|
324
|
+
path?: string | undefined;
|
|
325
325
|
};
|
|
326
326
|
export declare const FileUnknownPsd: {
|
|
327
327
|
title: string;
|
|
@@ -331,8 +331,8 @@ export declare const FileUnknownPsd: {
|
|
|
331
331
|
mainType: string;
|
|
332
332
|
uri: string;
|
|
333
333
|
dateCreation: string;
|
|
334
|
-
_url: string;
|
|
335
334
|
dateModified: string | null;
|
|
336
|
-
|
|
335
|
+
_url: string;
|
|
337
336
|
size: number;
|
|
337
|
+
path?: string | undefined;
|
|
338
338
|
};
|
|
@@ -34,12 +34,12 @@ export declare class Network {
|
|
|
34
34
|
mainType: string;
|
|
35
35
|
uri: string;
|
|
36
36
|
dateCreation: string;
|
|
37
|
+
dateModified: string | null;
|
|
37
38
|
title: string;
|
|
38
39
|
_url: string;
|
|
39
|
-
dateModified: string | null;
|
|
40
40
|
mimetype: string;
|
|
41
|
-
path?: string;
|
|
42
41
|
size: number;
|
|
42
|
+
path?: string | undefined;
|
|
43
43
|
}, BaseMessages>;
|
|
44
44
|
token: string;
|
|
45
45
|
}>;
|
package/package.json
CHANGED
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"dateCreation": "2024-04-11 12:10:28",
|
|
66
66
|
"dateModified": null,
|
|
67
67
|
"title": "imgTest.jpg",
|
|
68
|
-
"size":
|
|
68
|
+
"size": 20904,
|
|
69
69
|
"mimetype": "image/jpeg",
|
|
70
70
|
"_url": "/ng/rr/tv-display",
|
|
71
71
|
"_extend": {
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"dateCreation": "2024-04-11 12:10:28",
|
|
81
81
|
"dateModified": null,
|
|
82
82
|
"title": "imgTest.jpg",
|
|
83
|
-
"size":
|
|
83
|
+
"size": 20904,
|
|
84
84
|
"mimetype": "image/jpeg",
|
|
85
85
|
"_url": "/ng/rr/tv-display",
|
|
86
86
|
"_extend": {
|