jamespot-user-api 1.0.178 → 1.0.180
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 +18 -14
- package/documentation/classes/AdminStoreApi.html +1 -1
- package/documentation/classes/AdminUtilsApi.html +2 -2
- 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/JBbbApi.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/JDatasourceApi.html +1 -1
- package/documentation/classes/JDiapazoneApi.html +1 -1
- package/documentation/classes/JFaqApi.html +1 -1
- package/documentation/classes/JFileApi.html +5 -5
- package/documentation/classes/JFilebankApi.html +1 -1
- package/documentation/classes/JGlobalApi.html +1 -1
- package/documentation/classes/JGroupApi.html +12 -12
- 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 +8 -8
- 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/BookmarkType.html +1 -1
- package/documentation/enums/Format.html +1 -1
- package/documentation/enums/GroupModerateStatus.html +1 -1
- package/documentation/enums/StudioApplicationStatus.html +1 -1
- package/documentation/enums/WidgetsName.html +1 -1
- package/documentation/index.html +1 -1
- package/documentation/interfaces/AccessRightObject.html +1 -1
- package/documentation/interfaces/ApiDefaultWrapper.html +1 -1
- package/documentation/interfaces/ApiWrapper.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/PagingResults.html +1 -1
- package/documentation/interfaces/RootFolderProps.html +1 -1
- package/documentation/interfaces/SpotProps.html +1 -1
- package/documentation/interfaces/TaxonomyCreate.html +1 -1
- package/documentation/interfaces/WidgetType.html +1 -1
- package/documentation/interfaces/WindowInterface.html +1 -1
- package/documentation/modules.html +11 -11
- package/jest.config.ts +2 -2
- package/lib/jamespot-user-api.js +1 -1
- package/lib/jamespot-user-api.js.map +1 -1
- package/lib/src/apis/admin/license.d.ts +6 -4
- package/lib/src/apis/admin/utils.d.ts +2 -2
- package/lib/src/apis/bookmark/bookmark.d.ts +18 -18
- package/lib/src/apis/datasource/datasource.d.ts +1 -1
- package/lib/src/apis/filebank/filebank.d.ts +19 -19
- package/lib/src/apis/filebank/filebank.mock.d.ts +11 -2
- package/lib/src/apis/user/user.d.ts +15 -111
- package/lib/src/types/adminLicence.d.ts +31 -56
- package/lib/src/types/adminUtils.d.ts +14 -14
- package/lib/src/types/article.d.ts +3160 -7359
- package/lib/src/types/asei.d.ts +197 -822
- package/lib/src/types/assetReservation.d.ts +1352 -4283
- package/lib/src/types/autocomplete.d.ts +55 -36
- package/lib/src/types/bookmark.d.ts +222 -234
- package/lib/src/types/businessContact.d.ts +243 -880
- package/lib/src/types/comment.d.ts +200 -900
- package/lib/src/types/diapazone.d.ts +77 -11
- package/lib/src/types/drive.d.ts +27 -21
- package/lib/src/types/faq.d.ts +2077 -5450
- package/lib/src/types/file.d.ts +18 -9
- package/lib/src/types/group.d.ts +10 -6
- package/lib/src/types/license.d.ts +12 -48
- package/lib/src/types/link.d.ts +25 -14
- package/lib/src/types/mediaLibrary.d.ts +223 -820
- package/lib/src/types/meeting.d.ts +1104 -3044
- package/lib/src/types/model.d.ts +3 -0
- package/lib/src/types/object.d.ts +90 -10
- package/lib/src/types/objectBase.d.ts +4 -3
- package/lib/src/types/pollSurvey.d.ts +1075 -3015
- package/lib/src/types/quizz.d.ts +1002 -2942
- package/lib/src/types/search.d.ts +134 -131
- package/lib/src/types/share.d.ts +130 -60
- package/lib/src/types/socialEvent.d.ts +1002 -2942
- package/lib/src/types/support.d.ts +1125 -3059
- package/lib/src/types/surveyDate.d.ts +1005 -2941
- package/lib/src/types/tinymce.d.ts +4 -3
- package/lib/src/types/tvDisplay.d.ts +2 -2
- package/lib/src/types/user.d.ts +72 -45
- package/lib/src/types/utils.d.ts +17 -89
- package/lib/src/types/widgets/default.d.ts +365 -1642
- package/lib/src/types/widgets/widgetArticleButton.d.ts +5 -4
- package/lib/src/types/widgets/widgetDatasourceTable.d.ts +37 -76
- package/lib/src/types/widgets/widgetExcelDatasourceTable.d.ts +39 -33
- package/lib/src/types/widgets.d.ts +4268 -11774
- package/lib/src/util/Test.d.ts +64 -660
- package/package.json +1 -2
- package/phpunitMock/fileBankGetBanks-success.json +69 -0
- package/phpunitMock/fileBankGetDocuments-success.json +110 -0
- package/phpunitMock/fileBankGetFolders-success.json +188 -0
- package/phpunitMock/fileBankGetPath-success.json +43 -43
- package/phpunitMock/fileBankSearchContent-success.json +45 -0
|
@@ -24,19 +24,19 @@ export declare const searchFacetModelSchema: z.ZodObject<{
|
|
|
24
24
|
}, "strip", z.ZodTypeAny, {
|
|
25
25
|
title: string;
|
|
26
26
|
facetType: string;
|
|
27
|
-
facetOptions:
|
|
27
|
+
facetOptions: never[] | Record<string, string | number | z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
28
28
|
field: string;
|
|
29
|
-
facetMode?: "AND" | "OR" | undefined;
|
|
30
29
|
description?: string | undefined;
|
|
31
30
|
category?: string | undefined;
|
|
31
|
+
facetMode?: "AND" | "OR" | undefined;
|
|
32
32
|
}, {
|
|
33
33
|
title: string;
|
|
34
34
|
facetType: string;
|
|
35
|
-
facetOptions:
|
|
35
|
+
facetOptions: never[] | Record<string, string | number | z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
36
36
|
field: string;
|
|
37
|
-
facetMode?: "AND" | "OR" | undefined;
|
|
38
37
|
description?: string | undefined;
|
|
39
38
|
category?: string | undefined;
|
|
39
|
+
facetMode?: "AND" | "OR" | undefined;
|
|
40
40
|
}>;
|
|
41
41
|
export type SearchFacetModel = z.infer<typeof searchFacetModelSchema>;
|
|
42
42
|
export declare const searchCategoryModelSchema: z.ZodObject<{
|
|
@@ -59,19 +59,19 @@ export declare const searchCategoryModelSchema: z.ZodObject<{
|
|
|
59
59
|
}, "strip", z.ZodTypeAny, {
|
|
60
60
|
title: string;
|
|
61
61
|
facetType: string;
|
|
62
|
-
facetOptions:
|
|
62
|
+
facetOptions: never[] | Record<string, string | number | z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
63
63
|
field: string;
|
|
64
|
-
facetMode?: "AND" | "OR" | undefined;
|
|
65
64
|
description?: string | undefined;
|
|
66
65
|
category?: string | undefined;
|
|
66
|
+
facetMode?: "AND" | "OR" | undefined;
|
|
67
67
|
}, {
|
|
68
68
|
title: string;
|
|
69
69
|
facetType: string;
|
|
70
|
-
facetOptions:
|
|
70
|
+
facetOptions: never[] | Record<string, string | number | z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
71
71
|
field: string;
|
|
72
|
-
facetMode?: "AND" | "OR" | undefined;
|
|
73
72
|
description?: string | undefined;
|
|
74
73
|
category?: string | undefined;
|
|
74
|
+
facetMode?: "AND" | "OR" | undefined;
|
|
75
75
|
}>, "many">;
|
|
76
76
|
}, "strip", z.ZodTypeAny, {
|
|
77
77
|
id: string;
|
|
@@ -80,17 +80,17 @@ export declare const searchCategoryModelSchema: z.ZodObject<{
|
|
|
80
80
|
facets: {
|
|
81
81
|
title: string;
|
|
82
82
|
facetType: string;
|
|
83
|
-
facetOptions:
|
|
83
|
+
facetOptions: never[] | Record<string, string | number | z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
84
84
|
field: string;
|
|
85
|
-
facetMode?: "AND" | "OR" | undefined;
|
|
86
85
|
description?: string | undefined;
|
|
87
86
|
category?: string | undefined;
|
|
87
|
+
facetMode?: "AND" | "OR" | undefined;
|
|
88
88
|
}[];
|
|
89
89
|
typesExcluded: string[];
|
|
90
90
|
type?: string | undefined;
|
|
91
|
-
cssclass?: string | undefined;
|
|
92
91
|
active?: boolean | undefined;
|
|
93
92
|
count?: number | undefined;
|
|
93
|
+
cssclass?: string | undefined;
|
|
94
94
|
}, {
|
|
95
95
|
id: string;
|
|
96
96
|
mainType: string;
|
|
@@ -98,17 +98,17 @@ export declare const searchCategoryModelSchema: z.ZodObject<{
|
|
|
98
98
|
facets: {
|
|
99
99
|
title: string;
|
|
100
100
|
facetType: string;
|
|
101
|
-
facetOptions:
|
|
101
|
+
facetOptions: never[] | Record<string, string | number | z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
102
102
|
field: string;
|
|
103
|
-
facetMode?: "AND" | "OR" | undefined;
|
|
104
103
|
description?: string | undefined;
|
|
105
104
|
category?: string | undefined;
|
|
105
|
+
facetMode?: "AND" | "OR" | undefined;
|
|
106
106
|
}[];
|
|
107
107
|
typesExcluded: string[];
|
|
108
108
|
type?: string | undefined;
|
|
109
|
-
cssclass?: string | undefined;
|
|
110
109
|
active?: boolean | undefined;
|
|
111
110
|
count?: number | undefined;
|
|
111
|
+
cssclass?: string | undefined;
|
|
112
112
|
}>;
|
|
113
113
|
export type SearchCategoryModel = z.infer<typeof searchCategoryModelSchema>;
|
|
114
114
|
export declare const searchFacetValuesSchema: z.ZodObject<{
|
|
@@ -174,15 +174,15 @@ export declare const searchQueryFilterModelSchema: z.ZodObject<{
|
|
|
174
174
|
exclude: z.ZodOptional<z.ZodBoolean>;
|
|
175
175
|
or: z.ZodOptional<z.ZodBoolean>;
|
|
176
176
|
}, "strip", z.ZodTypeAny, {
|
|
177
|
-
value:
|
|
177
|
+
value: string | string[];
|
|
178
178
|
field: string;
|
|
179
|
-
exclude?: boolean | undefined;
|
|
180
179
|
or?: boolean | undefined;
|
|
180
|
+
exclude?: boolean | undefined;
|
|
181
181
|
}, {
|
|
182
|
-
value:
|
|
182
|
+
value: string | string[];
|
|
183
183
|
field: string;
|
|
184
|
-
exclude?: boolean | undefined;
|
|
185
184
|
or?: boolean | undefined;
|
|
185
|
+
exclude?: boolean | undefined;
|
|
186
186
|
}>;
|
|
187
187
|
export type SearchQueryFilterModel = z.infer<typeof searchQueryFilterModelSchema>;
|
|
188
188
|
/**
|
|
@@ -230,40 +230,40 @@ export declare const searchConfigSchema: z.ZodObject<{
|
|
|
230
230
|
}, "strip", z.ZodTypeAny, {
|
|
231
231
|
title: string;
|
|
232
232
|
facetType: string;
|
|
233
|
-
facetOptions:
|
|
233
|
+
facetOptions: never[] | Record<string, string | number | z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
234
234
|
field: string;
|
|
235
|
-
facetMode?: "AND" | "OR" | undefined;
|
|
236
235
|
description?: string | undefined;
|
|
237
236
|
category?: string | undefined;
|
|
237
|
+
facetMode?: "AND" | "OR" | undefined;
|
|
238
238
|
}, {
|
|
239
239
|
title: string;
|
|
240
240
|
facetType: string;
|
|
241
|
-
facetOptions:
|
|
241
|
+
facetOptions: never[] | Record<string, string | number | z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
242
242
|
field: string;
|
|
243
|
-
facetMode?: "AND" | "OR" | undefined;
|
|
244
243
|
description?: string | undefined;
|
|
245
244
|
category?: string | undefined;
|
|
245
|
+
facetMode?: "AND" | "OR" | undefined;
|
|
246
246
|
}>, "many">;
|
|
247
247
|
}, "strip", z.ZodTypeAny, {
|
|
248
248
|
facets: {
|
|
249
249
|
title: string;
|
|
250
250
|
facetType: string;
|
|
251
|
-
facetOptions:
|
|
251
|
+
facetOptions: never[] | Record<string, string | number | z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
252
252
|
field: string;
|
|
253
|
-
facetMode?: "AND" | "OR" | undefined;
|
|
254
253
|
description?: string | undefined;
|
|
255
254
|
category?: string | undefined;
|
|
255
|
+
facetMode?: "AND" | "OR" | undefined;
|
|
256
256
|
}[];
|
|
257
257
|
mode: "result" | "category";
|
|
258
258
|
}, {
|
|
259
259
|
facets: {
|
|
260
260
|
title: string;
|
|
261
261
|
facetType: string;
|
|
262
|
-
facetOptions:
|
|
262
|
+
facetOptions: never[] | Record<string, string | number | z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
263
263
|
field: string;
|
|
264
|
-
facetMode?: "AND" | "OR" | undefined;
|
|
265
264
|
description?: string | undefined;
|
|
266
265
|
category?: string | undefined;
|
|
266
|
+
facetMode?: "AND" | "OR" | undefined;
|
|
267
267
|
}[];
|
|
268
268
|
mode: "result" | "category";
|
|
269
269
|
}>;
|
|
@@ -287,19 +287,19 @@ export declare const searchConfigSchema: z.ZodObject<{
|
|
|
287
287
|
}, "strip", z.ZodTypeAny, {
|
|
288
288
|
title: string;
|
|
289
289
|
facetType: string;
|
|
290
|
-
facetOptions:
|
|
290
|
+
facetOptions: never[] | Record<string, string | number | z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
291
291
|
field: string;
|
|
292
|
-
facetMode?: "AND" | "OR" | undefined;
|
|
293
292
|
description?: string | undefined;
|
|
294
293
|
category?: string | undefined;
|
|
294
|
+
facetMode?: "AND" | "OR" | undefined;
|
|
295
295
|
}, {
|
|
296
296
|
title: string;
|
|
297
297
|
facetType: string;
|
|
298
|
-
facetOptions:
|
|
298
|
+
facetOptions: never[] | Record<string, string | number | z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
299
299
|
field: string;
|
|
300
|
-
facetMode?: "AND" | "OR" | undefined;
|
|
301
300
|
description?: string | undefined;
|
|
302
301
|
category?: string | undefined;
|
|
302
|
+
facetMode?: "AND" | "OR" | undefined;
|
|
303
303
|
}>, "many">;
|
|
304
304
|
}, "strip", z.ZodTypeAny, {
|
|
305
305
|
id: string;
|
|
@@ -308,17 +308,17 @@ export declare const searchConfigSchema: z.ZodObject<{
|
|
|
308
308
|
facets: {
|
|
309
309
|
title: string;
|
|
310
310
|
facetType: string;
|
|
311
|
-
facetOptions:
|
|
311
|
+
facetOptions: never[] | Record<string, string | number | z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
312
312
|
field: string;
|
|
313
|
-
facetMode?: "AND" | "OR" | undefined;
|
|
314
313
|
description?: string | undefined;
|
|
315
314
|
category?: string | undefined;
|
|
315
|
+
facetMode?: "AND" | "OR" | undefined;
|
|
316
316
|
}[];
|
|
317
317
|
typesExcluded: string[];
|
|
318
318
|
type?: string | undefined;
|
|
319
|
-
cssclass?: string | undefined;
|
|
320
319
|
active?: boolean | undefined;
|
|
321
320
|
count?: number | undefined;
|
|
321
|
+
cssclass?: string | undefined;
|
|
322
322
|
}, {
|
|
323
323
|
id: string;
|
|
324
324
|
mainType: string;
|
|
@@ -326,17 +326,17 @@ export declare const searchConfigSchema: z.ZodObject<{
|
|
|
326
326
|
facets: {
|
|
327
327
|
title: string;
|
|
328
328
|
facetType: string;
|
|
329
|
-
facetOptions:
|
|
329
|
+
facetOptions: never[] | Record<string, string | number | z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
330
330
|
field: string;
|
|
331
|
-
facetMode?: "AND" | "OR" | undefined;
|
|
332
331
|
description?: string | undefined;
|
|
333
332
|
category?: string | undefined;
|
|
333
|
+
facetMode?: "AND" | "OR" | undefined;
|
|
334
334
|
}[];
|
|
335
335
|
typesExcluded: string[];
|
|
336
336
|
type?: string | undefined;
|
|
337
|
-
cssclass?: string | undefined;
|
|
338
337
|
active?: boolean | undefined;
|
|
339
338
|
count?: number | undefined;
|
|
339
|
+
cssclass?: string | undefined;
|
|
340
340
|
}>, "many">;
|
|
341
341
|
viewcard: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
342
342
|
name: z.ZodString;
|
|
@@ -355,11 +355,11 @@ export declare const searchConfigSchema: z.ZodObject<{
|
|
|
355
355
|
facets: {
|
|
356
356
|
title: string;
|
|
357
357
|
facetType: string;
|
|
358
|
-
facetOptions:
|
|
358
|
+
facetOptions: never[] | Record<string, string | number | z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
359
359
|
field: string;
|
|
360
|
-
facetMode?: "AND" | "OR" | undefined;
|
|
361
360
|
description?: string | undefined;
|
|
362
361
|
category?: string | undefined;
|
|
362
|
+
facetMode?: "AND" | "OR" | undefined;
|
|
363
363
|
}[];
|
|
364
364
|
mode: "result" | "category";
|
|
365
365
|
};
|
|
@@ -370,17 +370,17 @@ export declare const searchConfigSchema: z.ZodObject<{
|
|
|
370
370
|
facets: {
|
|
371
371
|
title: string;
|
|
372
372
|
facetType: string;
|
|
373
|
-
facetOptions:
|
|
373
|
+
facetOptions: never[] | Record<string, string | number | z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
374
374
|
field: string;
|
|
375
|
-
facetMode?: "AND" | "OR" | undefined;
|
|
376
375
|
description?: string | undefined;
|
|
377
376
|
category?: string | undefined;
|
|
377
|
+
facetMode?: "AND" | "OR" | undefined;
|
|
378
378
|
}[];
|
|
379
379
|
typesExcluded: string[];
|
|
380
380
|
type?: string | undefined;
|
|
381
|
-
cssclass?: string | undefined;
|
|
382
381
|
active?: boolean | undefined;
|
|
383
382
|
count?: number | undefined;
|
|
383
|
+
cssclass?: string | undefined;
|
|
384
384
|
}[];
|
|
385
385
|
viewcard: Record<string, {
|
|
386
386
|
title: string;
|
|
@@ -392,11 +392,11 @@ export declare const searchConfigSchema: z.ZodObject<{
|
|
|
392
392
|
facets: {
|
|
393
393
|
title: string;
|
|
394
394
|
facetType: string;
|
|
395
|
-
facetOptions:
|
|
395
|
+
facetOptions: never[] | Record<string, string | number | z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
396
396
|
field: string;
|
|
397
|
-
facetMode?: "AND" | "OR" | undefined;
|
|
398
397
|
description?: string | undefined;
|
|
399
398
|
category?: string | undefined;
|
|
399
|
+
facetMode?: "AND" | "OR" | undefined;
|
|
400
400
|
}[];
|
|
401
401
|
mode: "result" | "category";
|
|
402
402
|
};
|
|
@@ -407,17 +407,17 @@ export declare const searchConfigSchema: z.ZodObject<{
|
|
|
407
407
|
facets: {
|
|
408
408
|
title: string;
|
|
409
409
|
facetType: string;
|
|
410
|
-
facetOptions:
|
|
410
|
+
facetOptions: never[] | Record<string, string | number | z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
411
411
|
field: string;
|
|
412
|
-
facetMode?: "AND" | "OR" | undefined;
|
|
413
412
|
description?: string | undefined;
|
|
414
413
|
category?: string | undefined;
|
|
414
|
+
facetMode?: "AND" | "OR" | undefined;
|
|
415
415
|
}[];
|
|
416
416
|
typesExcluded: string[];
|
|
417
417
|
type?: string | undefined;
|
|
418
|
-
cssclass?: string | undefined;
|
|
419
418
|
active?: boolean | undefined;
|
|
420
419
|
count?: number | undefined;
|
|
420
|
+
cssclass?: string | undefined;
|
|
421
421
|
}[];
|
|
422
422
|
viewcard: Record<string, {
|
|
423
423
|
title: string;
|
|
@@ -470,34 +470,34 @@ export declare const searchResultPropsObjectSchema: z.ZodObject<{
|
|
|
470
470
|
uri: string;
|
|
471
471
|
title: string;
|
|
472
472
|
picture: string;
|
|
473
|
-
id?: number | undefined;
|
|
474
473
|
type?: string | undefined;
|
|
475
|
-
|
|
476
|
-
_cssColor?: string | undefined;
|
|
474
|
+
id?: number | undefined;
|
|
477
475
|
_url?: string | undefined;
|
|
478
|
-
idArticle?: number | undefined;
|
|
479
476
|
_user?: {
|
|
480
477
|
title: string;
|
|
481
478
|
} | undefined;
|
|
482
479
|
_values?: {
|
|
483
480
|
dateModified: string;
|
|
484
481
|
} | undefined;
|
|
482
|
+
_cssColor?: string | undefined;
|
|
483
|
+
icon?: string | undefined;
|
|
484
|
+
idArticle?: number | undefined;
|
|
485
485
|
}, {
|
|
486
486
|
uri: string;
|
|
487
487
|
title: string;
|
|
488
488
|
picture: string;
|
|
489
|
-
id?: number | undefined;
|
|
490
489
|
type?: string | undefined;
|
|
491
|
-
|
|
492
|
-
_cssColor?: string | undefined;
|
|
490
|
+
id?: number | undefined;
|
|
493
491
|
_url?: string | undefined;
|
|
494
|
-
idArticle?: number | undefined;
|
|
495
492
|
_user?: {
|
|
496
493
|
title: string;
|
|
497
494
|
} | undefined;
|
|
498
495
|
_values?: {
|
|
499
496
|
dateModified: string;
|
|
500
497
|
} | undefined;
|
|
498
|
+
_cssColor?: string | undefined;
|
|
499
|
+
icon?: string | undefined;
|
|
500
|
+
idArticle?: number | undefined;
|
|
501
501
|
}>;
|
|
502
502
|
export type SearchResultPropsObject = z.infer<typeof searchResultPropsObjectSchema>;
|
|
503
503
|
export declare const searchQuerySchema: z.ZodObject<{
|
|
@@ -510,15 +510,15 @@ export declare const searchQuerySchema: z.ZodObject<{
|
|
|
510
510
|
exclude: z.ZodOptional<z.ZodBoolean>;
|
|
511
511
|
or: z.ZodOptional<z.ZodBoolean>;
|
|
512
512
|
}, "strip", z.ZodTypeAny, {
|
|
513
|
-
value:
|
|
513
|
+
value: string | string[];
|
|
514
514
|
field: string;
|
|
515
|
-
exclude?: boolean | undefined;
|
|
516
515
|
or?: boolean | undefined;
|
|
516
|
+
exclude?: boolean | undefined;
|
|
517
517
|
}, {
|
|
518
|
-
value:
|
|
518
|
+
value: string | string[];
|
|
519
519
|
field: string;
|
|
520
|
-
exclude?: boolean | undefined;
|
|
521
520
|
or?: boolean | undefined;
|
|
521
|
+
exclude?: boolean | undefined;
|
|
522
522
|
}>, "many">>;
|
|
523
523
|
facets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
524
524
|
facetType: z.ZodString;
|
|
@@ -531,19 +531,19 @@ export declare const searchQuerySchema: z.ZodObject<{
|
|
|
531
531
|
}, "strip", z.ZodTypeAny, {
|
|
532
532
|
title: string;
|
|
533
533
|
facetType: string;
|
|
534
|
-
facetOptions:
|
|
534
|
+
facetOptions: never[] | Record<string, string | number | z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
535
535
|
field: string;
|
|
536
|
-
facetMode?: "AND" | "OR" | undefined;
|
|
537
536
|
description?: string | undefined;
|
|
538
537
|
category?: string | undefined;
|
|
538
|
+
facetMode?: "AND" | "OR" | undefined;
|
|
539
539
|
}, {
|
|
540
540
|
title: string;
|
|
541
541
|
facetType: string;
|
|
542
|
-
facetOptions:
|
|
542
|
+
facetOptions: never[] | Record<string, string | number | z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
543
543
|
field: string;
|
|
544
|
-
facetMode?: "AND" | "OR" | undefined;
|
|
545
544
|
description?: string | undefined;
|
|
546
545
|
category?: string | undefined;
|
|
546
|
+
facetMode?: "AND" | "OR" | undefined;
|
|
547
547
|
}>, "many">>;
|
|
548
548
|
page: z.ZodOptional<z.ZodNumber>;
|
|
549
549
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
@@ -569,80 +569,81 @@ export declare const searchQuerySchema: z.ZodObject<{
|
|
|
569
569
|
}>>;
|
|
570
570
|
format: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodNativeEnum<typeof import("./utils").Format>, "raw-little" | "raw-list" | "raw-view" | "user-api" | "mobile", import("./utils").Format>, z.ZodUndefined]>>;
|
|
571
571
|
}, "strip", z.ZodTypeAny, {
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
572
|
+
options?: {
|
|
573
|
+
facetLimit: number;
|
|
574
|
+
skipEmptyFacets: boolean;
|
|
575
|
+
} | undefined;
|
|
576
|
+
sort?: {
|
|
577
|
+
order: "desc" | "asc";
|
|
577
578
|
field: string;
|
|
578
|
-
|
|
579
|
-
or?: boolean | undefined;
|
|
580
|
-
}[] | undefined;
|
|
579
|
+
} | undefined;
|
|
581
580
|
facets?: {
|
|
582
581
|
title: string;
|
|
583
582
|
facetType: string;
|
|
584
|
-
facetOptions:
|
|
583
|
+
facetOptions: never[] | Record<string, string | number | z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
585
584
|
field: string;
|
|
586
|
-
facetMode?: "AND" | "OR" | undefined;
|
|
587
585
|
description?: string | undefined;
|
|
588
586
|
category?: string | undefined;
|
|
587
|
+
facetMode?: "AND" | "OR" | undefined;
|
|
589
588
|
}[] | undefined;
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
sort?: {
|
|
593
|
-
order: "desc" | "asc";
|
|
589
|
+
filters?: {
|
|
590
|
+
value: string | string[];
|
|
594
591
|
field: string;
|
|
595
|
-
|
|
592
|
+
or?: boolean | undefined;
|
|
593
|
+
exclude?: boolean | undefined;
|
|
594
|
+
}[] | undefined;
|
|
595
|
+
limit?: number | undefined;
|
|
596
|
+
page?: number | undefined;
|
|
597
|
+
format?: "raw-little" | "raw-list" | "raw-view" | "user-api" | "mobile" | undefined;
|
|
598
|
+
category?: string | undefined;
|
|
599
|
+
keywords?: string | undefined;
|
|
600
|
+
facetCategories?: boolean | undefined;
|
|
601
|
+
}, {
|
|
596
602
|
options?: {
|
|
597
603
|
facetLimit: number;
|
|
598
604
|
skipEmptyFacets: boolean;
|
|
599
605
|
} | undefined;
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
keywords?: string | undefined;
|
|
603
|
-
category?: string | undefined;
|
|
604
|
-
facetCategories?: boolean | undefined;
|
|
605
|
-
filters?: {
|
|
606
|
-
value: (string | string[]) & (string | string[] | undefined);
|
|
606
|
+
sort?: {
|
|
607
|
+
order: "desc" | "asc";
|
|
607
608
|
field: string;
|
|
608
|
-
|
|
609
|
-
or?: boolean | undefined;
|
|
610
|
-
}[] | undefined;
|
|
609
|
+
} | undefined;
|
|
611
610
|
facets?: {
|
|
612
611
|
title: string;
|
|
613
612
|
facetType: string;
|
|
614
|
-
facetOptions:
|
|
613
|
+
facetOptions: never[] | Record<string, string | number | z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
615
614
|
field: string;
|
|
616
|
-
facetMode?: "AND" | "OR" | undefined;
|
|
617
615
|
description?: string | undefined;
|
|
618
616
|
category?: string | undefined;
|
|
617
|
+
facetMode?: "AND" | "OR" | undefined;
|
|
619
618
|
}[] | undefined;
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
sort?: {
|
|
623
|
-
order: "desc" | "asc";
|
|
619
|
+
filters?: {
|
|
620
|
+
value: string | string[];
|
|
624
621
|
field: string;
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
622
|
+
or?: boolean | undefined;
|
|
623
|
+
exclude?: boolean | undefined;
|
|
624
|
+
}[] | undefined;
|
|
625
|
+
limit?: number | undefined;
|
|
626
|
+
page?: number | undefined;
|
|
630
627
|
format?: import("./utils").Format | undefined;
|
|
628
|
+
category?: string | undefined;
|
|
629
|
+
keywords?: string | undefined;
|
|
630
|
+
facetCategories?: boolean | undefined;
|
|
631
631
|
}>;
|
|
632
632
|
export type SearchQuery = z.infer<typeof searchQuerySchema>;
|
|
633
633
|
export declare const inferSearchQueryResultSchema: <T extends z.ZodType<jObjectLittle, z.ZodTypeDef, jObjectLittle> = z.ZodType<jObjectLittle, z.ZodTypeDef, jObjectLittle>>(type?: T | undefined) => z.ZodObject<{
|
|
634
634
|
start: z.ZodNumber;
|
|
635
635
|
count: z.ZodNumber;
|
|
636
|
-
results: z.ZodArray<z.ZodObject<{
|
|
637
|
-
type: z.ZodType<string, z.ZodTypeDef, string>;
|
|
636
|
+
results: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
638
637
|
id: z.ZodType<number, z.ZodTypeDef, number>;
|
|
639
638
|
mainType: z.ZodType<string, z.ZodTypeDef, string>;
|
|
639
|
+
type: z.ZodType<string, z.ZodTypeDef, string>;
|
|
640
640
|
uri: z.ZodType<string, z.ZodTypeDef, string>;
|
|
641
641
|
dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
|
|
642
642
|
dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
|
|
643
|
+
}, {
|
|
643
644
|
title: z.ZodString;
|
|
644
645
|
_url: z.ZodString;
|
|
645
|
-
}
|
|
646
|
+
}>, "strip", z.ZodTypeAny, jObjectLittle, jObjectLittle> | T, "many">;
|
|
646
647
|
facets: z.ZodArray<z.ZodObject<{
|
|
647
648
|
name: z.ZodString;
|
|
648
649
|
count: z.ZodNumber;
|
|
@@ -706,16 +707,17 @@ export declare const inferSearchQueryResultSchema: <T extends z.ZodType<jObjectL
|
|
|
706
707
|
id: string;
|
|
707
708
|
count: number;
|
|
708
709
|
}[];
|
|
709
|
-
results: (z.ZodObject<{
|
|
710
|
-
type: z.ZodType<string, z.ZodTypeDef, string>;
|
|
710
|
+
results: (z.ZodObject<z.objectUtil.extendShape<{
|
|
711
711
|
id: z.ZodType<number, z.ZodTypeDef, number>;
|
|
712
712
|
mainType: z.ZodType<string, z.ZodTypeDef, string>;
|
|
713
|
+
type: z.ZodType<string, z.ZodTypeDef, string>;
|
|
713
714
|
uri: z.ZodType<string, z.ZodTypeDef, string>;
|
|
714
715
|
dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
|
|
715
716
|
dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
|
|
717
|
+
}, {
|
|
716
718
|
title: z.ZodString;
|
|
717
719
|
_url: z.ZodString;
|
|
718
|
-
}
|
|
720
|
+
}>, "strip", z.ZodTypeAny, jObjectLittle, jObjectLittle> | T)["_output"][];
|
|
719
721
|
}, {
|
|
720
722
|
start: number;
|
|
721
723
|
facets: {
|
|
@@ -733,16 +735,17 @@ export declare const inferSearchQueryResultSchema: <T extends z.ZodType<jObjectL
|
|
|
733
735
|
id: string;
|
|
734
736
|
count: number;
|
|
735
737
|
}[];
|
|
736
|
-
results: (z.ZodObject<{
|
|
737
|
-
type: z.ZodType<string, z.ZodTypeDef, string>;
|
|
738
|
+
results: (z.ZodObject<z.objectUtil.extendShape<{
|
|
738
739
|
id: z.ZodType<number, z.ZodTypeDef, number>;
|
|
739
740
|
mainType: z.ZodType<string, z.ZodTypeDef, string>;
|
|
741
|
+
type: z.ZodType<string, z.ZodTypeDef, string>;
|
|
740
742
|
uri: z.ZodType<string, z.ZodTypeDef, string>;
|
|
741
743
|
dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
|
|
742
744
|
dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
|
|
745
|
+
}, {
|
|
743
746
|
title: z.ZodString;
|
|
744
747
|
_url: z.ZodString;
|
|
745
|
-
}
|
|
748
|
+
}>, "strip", z.ZodTypeAny, jObjectLittle, jObjectLittle> | T)["_input"][];
|
|
746
749
|
}>;
|
|
747
750
|
export type SearchQueryResult<T extends jObjectLittle = jObjectLittle> = z.infer<ReturnType<typeof inferSearchQueryResultSchema<ZodType<T>>>>;
|
|
748
751
|
export declare const searchLastQuerySchema: z.ZodObject<{
|
|
@@ -797,34 +800,34 @@ export declare const searchResultPropsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
797
800
|
uri: string;
|
|
798
801
|
title: string;
|
|
799
802
|
picture: string;
|
|
800
|
-
id?: number | undefined;
|
|
801
803
|
type?: string | undefined;
|
|
802
|
-
|
|
803
|
-
_cssColor?: string | undefined;
|
|
804
|
+
id?: number | undefined;
|
|
804
805
|
_url?: string | undefined;
|
|
805
|
-
idArticle?: number | undefined;
|
|
806
806
|
_user?: {
|
|
807
807
|
title: string;
|
|
808
808
|
} | undefined;
|
|
809
809
|
_values?: {
|
|
810
810
|
dateModified: string;
|
|
811
811
|
} | undefined;
|
|
812
|
+
_cssColor?: string | undefined;
|
|
813
|
+
icon?: string | undefined;
|
|
814
|
+
idArticle?: number | undefined;
|
|
812
815
|
}, {
|
|
813
816
|
uri: string;
|
|
814
817
|
title: string;
|
|
815
818
|
picture: string;
|
|
816
|
-
id?: number | undefined;
|
|
817
819
|
type?: string | undefined;
|
|
818
|
-
|
|
819
|
-
_cssColor?: string | undefined;
|
|
820
|
+
id?: number | undefined;
|
|
820
821
|
_url?: string | undefined;
|
|
821
|
-
idArticle?: number | undefined;
|
|
822
822
|
_user?: {
|
|
823
823
|
title: string;
|
|
824
824
|
} | undefined;
|
|
825
825
|
_values?: {
|
|
826
826
|
dateModified: string;
|
|
827
827
|
} | undefined;
|
|
828
|
+
_cssColor?: string | undefined;
|
|
829
|
+
icon?: string | undefined;
|
|
830
|
+
idArticle?: number | undefined;
|
|
828
831
|
}>]>;
|
|
829
832
|
export type SearchResultProps = z.infer<typeof searchResultPropsSchema>;
|
|
830
833
|
export declare const searchResultCatPropsSchema: z.ZodObject<{
|
|
@@ -874,34 +877,34 @@ export declare const searchResultCatPropsSchema: z.ZodObject<{
|
|
|
874
877
|
uri: string;
|
|
875
878
|
title: string;
|
|
876
879
|
picture: string;
|
|
877
|
-
id?: number | undefined;
|
|
878
880
|
type?: string | undefined;
|
|
879
|
-
|
|
880
|
-
_cssColor?: string | undefined;
|
|
881
|
+
id?: number | undefined;
|
|
881
882
|
_url?: string | undefined;
|
|
882
|
-
idArticle?: number | undefined;
|
|
883
883
|
_user?: {
|
|
884
884
|
title: string;
|
|
885
885
|
} | undefined;
|
|
886
886
|
_values?: {
|
|
887
887
|
dateModified: string;
|
|
888
888
|
} | undefined;
|
|
889
|
+
_cssColor?: string | undefined;
|
|
890
|
+
icon?: string | undefined;
|
|
891
|
+
idArticle?: number | undefined;
|
|
889
892
|
}, {
|
|
890
893
|
uri: string;
|
|
891
894
|
title: string;
|
|
892
895
|
picture: string;
|
|
893
|
-
id?: number | undefined;
|
|
894
896
|
type?: string | undefined;
|
|
895
|
-
|
|
896
|
-
_cssColor?: string | undefined;
|
|
897
|
+
id?: number | undefined;
|
|
897
898
|
_url?: string | undefined;
|
|
898
|
-
idArticle?: number | undefined;
|
|
899
899
|
_user?: {
|
|
900
900
|
title: string;
|
|
901
901
|
} | undefined;
|
|
902
902
|
_values?: {
|
|
903
903
|
dateModified: string;
|
|
904
904
|
} | undefined;
|
|
905
|
+
_cssColor?: string | undefined;
|
|
906
|
+
icon?: string | undefined;
|
|
907
|
+
idArticle?: number | undefined;
|
|
905
908
|
}>]>, "many">;
|
|
906
909
|
}, "strip", z.ZodTypeAny, {
|
|
907
910
|
id: string;
|
|
@@ -915,18 +918,18 @@ export declare const searchResultCatPropsSchema: z.ZodObject<{
|
|
|
915
918
|
uri: string;
|
|
916
919
|
title: string;
|
|
917
920
|
picture: string;
|
|
918
|
-
id?: number | undefined;
|
|
919
921
|
type?: string | undefined;
|
|
920
|
-
|
|
921
|
-
_cssColor?: string | undefined;
|
|
922
|
+
id?: number | undefined;
|
|
922
923
|
_url?: string | undefined;
|
|
923
|
-
idArticle?: number | undefined;
|
|
924
924
|
_user?: {
|
|
925
925
|
title: string;
|
|
926
926
|
} | undefined;
|
|
927
927
|
_values?: {
|
|
928
928
|
dateModified: string;
|
|
929
929
|
} | undefined;
|
|
930
|
+
_cssColor?: string | undefined;
|
|
931
|
+
icon?: string | undefined;
|
|
932
|
+
idArticle?: number | undefined;
|
|
930
933
|
})[];
|
|
931
934
|
showAll?: boolean | undefined;
|
|
932
935
|
}, {
|
|
@@ -941,18 +944,18 @@ export declare const searchResultCatPropsSchema: z.ZodObject<{
|
|
|
941
944
|
uri: string;
|
|
942
945
|
title: string;
|
|
943
946
|
picture: string;
|
|
944
|
-
id?: number | undefined;
|
|
945
947
|
type?: string | undefined;
|
|
946
|
-
|
|
947
|
-
_cssColor?: string | undefined;
|
|
948
|
+
id?: number | undefined;
|
|
948
949
|
_url?: string | undefined;
|
|
949
|
-
idArticle?: number | undefined;
|
|
950
950
|
_user?: {
|
|
951
951
|
title: string;
|
|
952
952
|
} | undefined;
|
|
953
953
|
_values?: {
|
|
954
954
|
dateModified: string;
|
|
955
955
|
} | undefined;
|
|
956
|
+
_cssColor?: string | undefined;
|
|
957
|
+
icon?: string | undefined;
|
|
958
|
+
idArticle?: number | undefined;
|
|
956
959
|
})[];
|
|
957
960
|
showAll?: boolean | undefined;
|
|
958
961
|
}>;
|