jamespot-user-api 1.0.181 → 1.0.183
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 +15 -15
- 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 +17 -17
- 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 +10 -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/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/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 +1 -2
- package/lib/jamespot-user-api.js +1 -1
- package/lib/jamespot-user-api.js.map +1 -1
- package/lib/jest.config.d.ts +0 -1
- package/lib/jest.config.vm.d.ts +0 -1
- package/lib/src/apis/admin/license.d.ts +2 -2
- package/lib/src/apis/admin/licenses.mock.d.ts +6 -0
- package/lib/src/apis/admin/utils.d.ts +1 -1
- package/lib/src/apis/admin/utils.mock.d.ts +2 -0
- package/lib/src/apis/admin/utils.test.d.ts +1 -0
- package/lib/src/apis/article/article.d.ts +3 -1
- package/lib/src/apis/filebank/filebank.d.ts +2 -2
- package/lib/src/apis/group/group.d.ts +218 -9
- package/lib/src/apis/group/group.mock.d.ts +6 -6
- package/lib/src/apis/jland/jland.d.ts +2 -31
- package/lib/src/apis/jland/jland.mock.d.ts +3 -2
- package/lib/src/apis/taxonomy/taxonomy.d.ts +2 -2
- package/lib/src/apis/tvDisplay/tvDisplay.d.ts +962 -3
- package/lib/src/apis/user/user.d.ts +11 -103
- package/lib/src/apis/user/user.mock.d.ts +5 -1
- package/lib/src/apis/widget/widget.d.ts +2 -2
- package/lib/src/apis/widget/widget.mock.d.ts +2 -2
- package/lib/src/types/adminUtils.d.ts +10 -10
- package/lib/src/types/article.d.ts +3065 -4796
- package/lib/src/types/asei.d.ts +231 -413
- package/lib/src/types/assetReservation.d.ts +1051 -1768
- package/lib/src/types/autocomplete.d.ts +14 -14
- package/lib/src/types/businessContact.d.ts +136 -502
- package/lib/src/types/comment.d.ts +231 -413
- package/lib/src/types/diapazone.d.ts +4 -4
- package/lib/src/types/faq.d.ts +1365 -2277
- package/lib/src/types/global.d.ts +2 -2
- package/lib/src/types/group.d.ts +1880 -127
- package/lib/src/types/hook.d.ts +1 -2
- package/lib/src/types/index.d.ts +2 -1
- package/lib/src/types/jLand.d.ts +1175 -0
- package/lib/src/types/mediaLibrary.d.ts +241 -423
- package/lib/src/types/meeting.d.ts +723 -1269
- package/lib/src/types/model.d.ts +653 -89
- package/lib/src/types/object.d.ts +2 -2
- package/lib/src/types/pollSurvey.d.ts +856 -1402
- package/lib/src/types/quizz.d.ts +723 -1269
- package/lib/src/types/search.d.ts +8 -8
- package/lib/src/types/share.d.ts +8 -8
- package/lib/src/types/socialEvent.d.ts +723 -1269
- package/lib/src/types/support.d.ts +723 -1269
- package/lib/src/types/surveyDate.d.ts +726 -1308
- package/lib/src/types/tvDisplay.d.ts +18544 -49
- package/lib/src/types/uri.d.ts +44 -8
- package/lib/src/types/wedoc.d.ts +633 -27
- package/lib/src/types/widgets/common.d.ts +1 -18
- package/lib/src/types/widgets/default.d.ts +538 -1719
- package/lib/src/types/widgets/widgetApi.d.ts +0 -1
- package/lib/src/types/widgets/widgetArticleAttachment.d.ts +0 -1
- package/lib/src/types/widgets/widgetArticleButton.d.ts +0 -1
- package/lib/src/types/widgets/widgetArticleGallery.d.ts +0 -1
- package/lib/src/types/widgets/widgetArticleImage.d.ts +0 -1
- package/lib/src/types/widgets/widgetArticleSlider.d.ts +0 -1
- package/lib/src/types/widgets/widgetArticleText.d.ts +0 -1
- package/lib/src/types/widgets/widgetArticleTitle.d.ts +0 -1
- package/lib/src/types/widgets/widgetCheckList.d.ts +7 -4
- package/lib/src/types/widgets/widgetDatasourceTable.d.ts +0 -1
- package/lib/src/types/widgets/widgetExcelDatasourceTable.d.ts +2 -26
- package/lib/src/types/widgets.d.ts +3573 -4860
- package/lib/src/util/Test.d.ts +5 -498
- package/lib/src/util/group.d.ts +114 -2
- package/lib/src/util/index.d.ts +1 -0
- package/lib/src/util/widget.d.ts +83 -0
- package/package.json +1 -1
- package/phpunitMock/adminApps-success.json +270 -0
- package/phpunitMock/articleCreate-businessContact.json +23 -0
- package/phpunitMock/articleCreate-jLandMap.json +49 -0
- package/phpunitMock/articleDelete-businessContact.json +12 -0
- package/phpunitMock/articleUpdate-businessContact.json +50 -0
- package/phpunitMock/licenseManagerAssignPossiblesLicenses-success.json +7 -0
- package/phpunitMock/licenseManagerCountObjectsWithoutLicense-success.json +7 -0
- package/phpunitMock/licenseManagerGetAssignmentMode-success.json +7 -0
- package/phpunitMock/licenseManagerOptimizeLicenses-success.json +7 -0
- package/phpunitMock/licenseManagerSetAssignmentMode-success.json +7 -0
- package/phpunitMock/licenseManagerUserStatistics-success.json +11 -0
- package/phpunitMock/objectListJLandJLandList-success.json +14 -0
- package/phpunitMock/userSignIn-success.json +31 -0
- package/documentation/interfaces/Category.html +0 -1
- /package/lib/src/types/{adminLicence.d.ts → adminLicense.d.ts} +0 -0
|
@@ -22,4 +22,3 @@ export declare const widgetApiTypeSchema: z.ZodObject<{
|
|
|
22
22
|
uniqid: z.ZodType<string, z.ZodTypeDef, string>;
|
|
23
23
|
content: z.ZodType<WidgetApiContent, z.ZodTypeDef, WidgetApiContent>;
|
|
24
24
|
}, "strip", z.ZodTypeAny, WidgetApiType, WidgetApiType>;
|
|
25
|
-
export declare const ensureWidgetApiType: (widget: unknown) => widget is WidgetApiType;
|
|
@@ -43,4 +43,3 @@ export declare const widgetArticleAttachmentTypeSchema: z.ZodObject<{
|
|
|
43
43
|
uniqid: z.ZodType<string, z.ZodTypeDef, string>;
|
|
44
44
|
content: z.ZodType<WidgetArticleAttachmentContent, z.ZodTypeDef, WidgetArticleAttachmentContent>;
|
|
45
45
|
}, "strip", z.ZodTypeAny, WidgetArticleAttachmentType, WidgetArticleAttachmentType>;
|
|
46
|
-
export declare const ensureWidgetArticleAttachmentType: (widget: unknown) => widget is WidgetArticleAttachmentType;
|
|
@@ -221,4 +221,3 @@ export declare const widgetArticleButtonTypeSchema: z.ZodObject<{
|
|
|
221
221
|
} | undefined;
|
|
222
222
|
}>;
|
|
223
223
|
}, "strip", z.ZodTypeAny, WidgetArticleButtonType, WidgetArticleButtonType>;
|
|
224
|
-
export declare const ensureWidgetArticleButtonType: (widget: unknown) => widget is WidgetArticleButtonType;
|
|
@@ -45,4 +45,3 @@ export declare const widgetArticleGalleryTypeSchema: z.ZodObject<{
|
|
|
45
45
|
uniqid: z.ZodType<string, z.ZodTypeDef, string>;
|
|
46
46
|
content: z.ZodType<WidgetArticleGalleryContent, z.ZodTypeDef, WidgetArticleGalleryContent>;
|
|
47
47
|
}, "strip", z.ZodTypeAny, WidgetArticleGalleryType, WidgetArticleGalleryType>;
|
|
48
|
-
export declare const ensureWidgetArticleGalleryType: (widget: unknown) => widget is WidgetArticleGalleryType;
|
|
@@ -43,4 +43,3 @@ export declare const widgetArticleImageTypeSchema: z.ZodObject<{
|
|
|
43
43
|
uniqid: z.ZodType<string, z.ZodTypeDef, string>;
|
|
44
44
|
content: z.ZodType<WidgetArticleImageContent, z.ZodTypeDef, WidgetArticleImageContent>;
|
|
45
45
|
}, "strip", z.ZodTypeAny, WidgetArticleImageType, WidgetArticleImageType>;
|
|
46
|
-
export declare const ensureWidgetArticleImageType: (widget: unknown) => widget is WidgetArticleImageType;
|
|
@@ -67,4 +67,3 @@ export declare const widgetArticleSliderTypeSchema: z.ZodObject<{
|
|
|
67
67
|
uniqid: z.ZodType<string, z.ZodTypeDef, string>;
|
|
68
68
|
content: z.ZodType<WidgetArticleSliderContent, z.ZodTypeDef, WidgetArticleSliderContent>;
|
|
69
69
|
}, "strip", z.ZodTypeAny, WidgetArticleSliderType, WidgetArticleSliderType>;
|
|
70
|
-
export declare const ensureWidgetArticleSliderType: (widget: unknown) => widget is WidgetArticleSliderType;
|
|
@@ -24,4 +24,3 @@ export declare const widgetArticleTextTypeSchema: z.ZodObject<{
|
|
|
24
24
|
uniqid: z.ZodType<string, z.ZodTypeDef, string>;
|
|
25
25
|
content: z.ZodType<WidgetArticleTextContent, z.ZodTypeDef, WidgetArticleTextContent>;
|
|
26
26
|
}, "strip", z.ZodTypeAny, WidgetArticleTextType, WidgetArticleTextType>;
|
|
27
|
-
export declare const ensureWidgetArticleTextType: (widget: unknown) => widget is WidgetArticleTextType;
|
|
@@ -24,4 +24,3 @@ export declare const widgetArticleTitleTypeSchema: z.ZodObject<{
|
|
|
24
24
|
uniqid: z.ZodType<string, z.ZodTypeDef, string>;
|
|
25
25
|
content: z.ZodType<WidgetArticleTitleContent, z.ZodTypeDef, WidgetArticleTitleContent>;
|
|
26
26
|
}, "strip", z.ZodTypeAny, WidgetArticleTitleType, WidgetArticleTitleType>;
|
|
27
|
-
export declare const ensureWidgetArticleTitleType: (widget: unknown) => widget is WidgetArticleTitleType;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z, ZodType } from 'zod';
|
|
2
|
-
import {
|
|
2
|
+
import { WidgetBaseType, WidgetsName, WidgetType } from './common';
|
|
3
3
|
import { jHref } from '../utils';
|
|
4
4
|
export type WidgetCheckListContentArr = {
|
|
5
5
|
title: string;
|
|
@@ -35,14 +35,17 @@ export declare const widgetCheckListContentArrSchema: z.ZodObject<{
|
|
|
35
35
|
}, "strip", z.ZodTypeAny, WidgetCheckListContentArr, WidgetCheckListContentArr>;
|
|
36
36
|
export type WidgetCheckListContent = {
|
|
37
37
|
arr?: WidgetCheckListContentArr[];
|
|
38
|
+
css?: Record<string, string> | undefined;
|
|
39
|
+
widgets?: WidgetBaseType[] | undefined;
|
|
38
40
|
};
|
|
39
41
|
export declare const widgetCheckListContentSchema: z.ZodObject<{
|
|
40
42
|
arr: z.ZodOptionalType<z.ZodType<WidgetCheckListContentArr[] | undefined, z.ZodTypeDef, WidgetCheckListContentArr[] | undefined>>;
|
|
43
|
+
css: z.ZodOptionalType<z.ZodType<Record<string, string> | undefined, z.ZodTypeDef, Record<string, string> | undefined>>;
|
|
44
|
+
widgets: z.ZodOptionalType<z.ZodType<WidgetBaseType[] | undefined, z.ZodTypeDef, WidgetBaseType[] | undefined>>;
|
|
41
45
|
}, "strip", z.ZodTypeAny, WidgetCheckListContent, WidgetCheckListContent>;
|
|
42
46
|
export type WidgetCheckListType = {
|
|
43
47
|
name: WidgetsName.CheckList;
|
|
44
48
|
uniqid: string;
|
|
45
|
-
content: WidgetCheckListContent
|
|
49
|
+
content: WidgetCheckListContent;
|
|
46
50
|
};
|
|
47
|
-
export declare const widgetCheckListTypeSchema: ZodType<WidgetType<WidgetCheckListContent
|
|
48
|
-
export declare const ensureWidgetCheckListType: (widget: unknown) => widget is WidgetCheckListType;
|
|
51
|
+
export declare const widgetCheckListTypeSchema: ZodType<WidgetType<WidgetCheckListContent>>;
|
|
@@ -417,4 +417,3 @@ export declare const widgetDatasourceTableTypeSchema: z.ZodObject<{
|
|
|
417
417
|
tableSizedColumnsWidth?: number | undefined;
|
|
418
418
|
}>;
|
|
419
419
|
}, "strip", z.ZodTypeAny, WidgetDatasourceTableType, WidgetDatasourceTableType>;
|
|
420
|
-
export declare const ensureWidgetDatasourceTableType: (widget: unknown) => widget is WidgetDatasourceTableType;
|
|
@@ -76,7 +76,7 @@ export declare const widgetExcelDatasourceTableContentSchema: z.ZodObject<z.obje
|
|
|
76
76
|
tableSizedColumnsWidth?: number | undefined;
|
|
77
77
|
}>;
|
|
78
78
|
export type WidgetExcelDatasourceTableContent = z.infer<typeof widgetExcelDatasourceTableContentSchema>;
|
|
79
|
-
export declare const widgetExcelDatasourceTableTypeSchema: z.
|
|
79
|
+
export declare const widgetExcelDatasourceTableTypeSchema: z.ZodObject<{
|
|
80
80
|
name: z.ZodLiteral<WidgetsName.ExcelDatasourceTable>;
|
|
81
81
|
uniqid: z.ZodString;
|
|
82
82
|
content: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -200,29 +200,5 @@ export declare const widgetExcelDatasourceTableTypeSchema: z.ZodLazy<z.ZodObject
|
|
|
200
200
|
tableSizedColumns?: boolean | undefined;
|
|
201
201
|
tableSizedColumnsWidth?: number | undefined;
|
|
202
202
|
};
|
|
203
|
-
}
|
|
203
|
+
}>;
|
|
204
204
|
export type WidgetExcelDatasourceTableType = z.infer<typeof widgetExcelDatasourceTableTypeSchema>;
|
|
205
|
-
export declare const ensureWidgetExcelDatasourceTableType: (widget: unknown) => widget is {
|
|
206
|
-
name: WidgetsName.ExcelDatasourceTable;
|
|
207
|
-
uniqid: string;
|
|
208
|
-
content: {
|
|
209
|
-
uri?: string | undefined;
|
|
210
|
-
limit?: number | undefined;
|
|
211
|
-
tableColumnsData?: {
|
|
212
|
-
name?: string | undefined;
|
|
213
|
-
label?: string | undefined;
|
|
214
|
-
isVisible?: boolean | undefined;
|
|
215
|
-
textEllipsis?: boolean | undefined;
|
|
216
|
-
dateFormat?: "date" | "time" | "date-time" | "date-time-sec" | "time-sec" | undefined;
|
|
217
|
-
numberFormat?: "fr-FR" | "en-EN" | "filesize" | undefined;
|
|
218
|
-
}[] | undefined;
|
|
219
|
-
tableHeadColor?: string | undefined;
|
|
220
|
-
tableHeadTextColor?: string | undefined;
|
|
221
|
-
tableHeadIconColor?: string | undefined;
|
|
222
|
-
tableRowColor?: string | undefined;
|
|
223
|
-
tableRowTextColor?: string | undefined;
|
|
224
|
-
tableBorderRadius?: number | undefined;
|
|
225
|
-
tableSizedColumns?: boolean | undefined;
|
|
226
|
-
tableSizedColumnsWidth?: number | undefined;
|
|
227
|
-
};
|
|
228
|
-
};
|