jamespot-user-api 1.0.179 → 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 +14 -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 +2 -2
- 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
|
@@ -116,8 +116,8 @@ export declare class AdminLicenseApi extends JBaseApi {
|
|
|
116
116
|
getLicenceUsersByKind<T extends jUserLittle = jUserLittle>({ ...params }: GetLicenseKindUsersParams, format: FormatList, signal?: AbortSignal): Promise<import("../../types/utils").ApiWrapper<PagingResults<import("zod").objectUtil.addQuestionMarks<import("zod").baseObjectOutputType<{
|
|
117
117
|
license: import("zod").ZodUnion<[import("zod").ZodLiteral<"1">, import("zod").ZodLiteral<"0">]>;
|
|
118
118
|
user: import("zod").ZodType<T, import("zod").ZodTypeDef, T>;
|
|
119
|
-
}>,
|
|
119
|
+
}>, any> extends infer T_1 ? { [k in keyof T_1]: import("zod").objectUtil.addQuestionMarks<import("zod").baseObjectOutputType<{
|
|
120
120
|
license: import("zod").ZodUnion<[import("zod").ZodLiteral<"1">, import("zod").ZodLiteral<"0">]>;
|
|
121
121
|
user: import("zod").ZodType<T, import("zod").ZodTypeDef, T>;
|
|
122
|
-
}>,
|
|
122
|
+
}>, any>[k]; } : never>, import("../../types/utils").BaseMessages>>;
|
|
123
123
|
}
|
|
@@ -9,14 +9,14 @@ export declare class AdminUtilsApi extends JBaseApi {
|
|
|
9
9
|
label: string;
|
|
10
10
|
icon: string;
|
|
11
11
|
access: boolean;
|
|
12
|
-
state?: string | undefined;
|
|
13
12
|
url?: string | undefined;
|
|
13
|
+
state?: string | undefined;
|
|
14
14
|
tabs?: {
|
|
15
15
|
idDiv: string;
|
|
16
16
|
label: string;
|
|
17
17
|
icon: string;
|
|
18
|
-
sref?: string | undefined;
|
|
19
18
|
href?: string | undefined;
|
|
19
|
+
sref?: string | undefined;
|
|
20
20
|
licenseMode?: "classic" | undefined;
|
|
21
21
|
hook?: string | undefined;
|
|
22
22
|
}[] | undefined;
|
|
@@ -21,13 +21,13 @@ export declare class JBookmarkApi extends JBaseApi {
|
|
|
21
21
|
targetType: string | null;
|
|
22
22
|
dateCreation?: string | undefined;
|
|
23
23
|
dateModified?: string | null | undefined;
|
|
24
|
+
url?: string | null | undefined;
|
|
24
25
|
_src?: import("../..").jObjectLittle | import("../..").jUserLittle | undefined;
|
|
25
26
|
_target?: import("../..").jObjectLittle | import("../..").jUserLittle | undefined;
|
|
26
27
|
bookmarkUrl?: string | null | undefined;
|
|
27
28
|
bookmarkOrder?: number | undefined;
|
|
28
29
|
bookmarkLabel?: string | undefined;
|
|
29
30
|
bookmarkMeta?: string | null | undefined;
|
|
30
|
-
url?: string | null | undefined;
|
|
31
31
|
};
|
|
32
32
|
list: {
|
|
33
33
|
type: string;
|
|
@@ -41,17 +41,17 @@ export declare class JBookmarkApi extends JBaseApi {
|
|
|
41
41
|
targetType: string | null;
|
|
42
42
|
_cssColor: string;
|
|
43
43
|
_cssClass: string;
|
|
44
|
-
|
|
45
|
-
dateCreation: string;
|
|
46
|
-
dateModified: string;
|
|
47
|
-
} | undefined;
|
|
44
|
+
url?: string | null | undefined;
|
|
48
45
|
_src?: import("../..").jObjectLittle | undefined;
|
|
49
46
|
_target?: import("../..").jObjectLittle | undefined;
|
|
50
47
|
bookmarkUrl?: string | null | undefined;
|
|
51
48
|
bookmarkOrder?: string | undefined;
|
|
52
49
|
bookmarkLabel?: string | undefined;
|
|
53
50
|
bookmarkMeta?: string | null | undefined;
|
|
54
|
-
|
|
51
|
+
_values?: {
|
|
52
|
+
dateCreation: string;
|
|
53
|
+
dateModified: string;
|
|
54
|
+
} | undefined;
|
|
55
55
|
};
|
|
56
56
|
}[T]>, import("../../types/utils").BaseMessages>>;
|
|
57
57
|
addFormattedLink<T extends keyof BookmarkTypes>(targetId: number, targetType: string, format: T): Promise<ApiWrapper<{
|
|
@@ -67,13 +67,13 @@ export declare class JBookmarkApi extends JBaseApi {
|
|
|
67
67
|
targetType: string | null;
|
|
68
68
|
dateCreation?: string | undefined;
|
|
69
69
|
dateModified?: string | null | undefined;
|
|
70
|
+
url?: string | null | undefined;
|
|
70
71
|
_src?: import("../..").jObjectLittle | import("../..").jUserLittle | undefined;
|
|
71
72
|
_target?: import("../..").jObjectLittle | import("../..").jUserLittle | undefined;
|
|
72
73
|
bookmarkUrl?: string | null | undefined;
|
|
73
74
|
bookmarkOrder?: number | undefined;
|
|
74
75
|
bookmarkLabel?: string | undefined;
|
|
75
76
|
bookmarkMeta?: string | null | undefined;
|
|
76
|
-
url?: string | null | undefined;
|
|
77
77
|
};
|
|
78
78
|
list: {
|
|
79
79
|
type: string;
|
|
@@ -87,17 +87,17 @@ export declare class JBookmarkApi extends JBaseApi {
|
|
|
87
87
|
targetType: string | null;
|
|
88
88
|
_cssColor: string;
|
|
89
89
|
_cssClass: string;
|
|
90
|
-
|
|
91
|
-
dateCreation: string;
|
|
92
|
-
dateModified: string;
|
|
93
|
-
} | undefined;
|
|
90
|
+
url?: string | null | undefined;
|
|
94
91
|
_src?: import("../..").jObjectLittle | undefined;
|
|
95
92
|
_target?: import("../..").jObjectLittle | undefined;
|
|
96
93
|
bookmarkUrl?: string | null | undefined;
|
|
97
94
|
bookmarkOrder?: string | undefined;
|
|
98
95
|
bookmarkLabel?: string | undefined;
|
|
99
96
|
bookmarkMeta?: string | null | undefined;
|
|
100
|
-
|
|
97
|
+
_values?: {
|
|
98
|
+
dateCreation: string;
|
|
99
|
+
dateModified: string;
|
|
100
|
+
} | undefined;
|
|
101
101
|
};
|
|
102
102
|
}[T], import("../../types/utils").BaseMessages>>;
|
|
103
103
|
addBookmark(bookmark: Pick<BookmarkTypes[keyof BookmarkTypes], 'bookmarkLabel' | 'bookmarkMeta' | 'bookmarkUrl'>, format?: keyof BookmarkTypes): Promise<ApiWrapper<{
|
|
@@ -112,13 +112,13 @@ export declare class JBookmarkApi extends JBaseApi {
|
|
|
112
112
|
targetType: string | null;
|
|
113
113
|
dateCreation?: string | undefined;
|
|
114
114
|
dateModified?: string | null | undefined;
|
|
115
|
+
url?: string | null | undefined;
|
|
115
116
|
_src?: import("../..").jObjectLittle | import("../..").jUserLittle | undefined;
|
|
116
117
|
_target?: import("../..").jObjectLittle | import("../..").jUserLittle | undefined;
|
|
117
118
|
bookmarkUrl?: string | null | undefined;
|
|
118
119
|
bookmarkOrder?: number | undefined;
|
|
119
120
|
bookmarkLabel?: string | undefined;
|
|
120
121
|
bookmarkMeta?: string | null | undefined;
|
|
121
|
-
url?: string | null | undefined;
|
|
122
122
|
} | {
|
|
123
123
|
type: string;
|
|
124
124
|
value: string | null;
|
|
@@ -131,17 +131,17 @@ export declare class JBookmarkApi extends JBaseApi {
|
|
|
131
131
|
targetType: string | null;
|
|
132
132
|
_cssColor: string;
|
|
133
133
|
_cssClass: string;
|
|
134
|
-
|
|
135
|
-
dateCreation: string;
|
|
136
|
-
dateModified: string;
|
|
137
|
-
} | undefined;
|
|
134
|
+
url?: string | null | undefined;
|
|
138
135
|
_src?: import("../..").jObjectLittle | undefined;
|
|
139
136
|
_target?: import("../..").jObjectLittle | undefined;
|
|
140
137
|
bookmarkUrl?: string | null | undefined;
|
|
141
138
|
bookmarkOrder?: string | undefined;
|
|
142
139
|
bookmarkLabel?: string | undefined;
|
|
143
140
|
bookmarkMeta?: string | null | undefined;
|
|
144
|
-
|
|
141
|
+
_values?: {
|
|
142
|
+
dateCreation: string;
|
|
143
|
+
dateModified: string;
|
|
144
|
+
} | undefined;
|
|
145
145
|
}, BaseMessagesOne>>;
|
|
146
146
|
delete(bookmarkId: number): Promise<ApiWrapper<null, BaseMessagesOne>>;
|
|
147
147
|
rename(bookmarkID: number, bookmarkLabel: string, bookmarkUrl?: string): Promise<ApiWrapper<null, BaseMessagesOne>>;
|
|
@@ -2,7 +2,7 @@ import { WidgetTableColumn } from '../../types/widgets/widgetDatasourceTable';
|
|
|
2
2
|
import { JBaseApi } from '../base';
|
|
3
3
|
import { jArticleList, jArticleLittle } from '../../types/article';
|
|
4
4
|
import { ApiWrapper, Format } from '../../types/utils';
|
|
5
|
-
import { jFileLittle } from '
|
|
5
|
+
import { jFileLittle } from '../../types/file';
|
|
6
6
|
export type DatasourceResultSortOrder = 'ascending' | 'descending';
|
|
7
7
|
export type DatasourceResultSort = {
|
|
8
8
|
order: DatasourceResultSortOrder;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { JBaseApi } from '../base';
|
|
2
2
|
import { jObjectLittle } from '../../types/objectBase';
|
|
3
3
|
import { Rights } from '../../types/common';
|
|
4
|
-
import {
|
|
4
|
+
import { jArticleLittle, jArticleView, jFolderList } from '../../types/article';
|
|
5
5
|
import { ApiPagingResults, ApiWrapper, FormatList } from '../../types/utils';
|
|
6
|
-
import {
|
|
6
|
+
import { jGroupList } from '../../types/group';
|
|
7
|
+
import { jObjectList } from '../../types/object';
|
|
7
8
|
export interface RootFolderProps {
|
|
8
9
|
id: number;
|
|
9
10
|
title: string;
|
|
@@ -21,9 +22,9 @@ export interface SpotProps {
|
|
|
21
22
|
folderColor?: string;
|
|
22
23
|
}
|
|
23
24
|
export interface FileBankProps {
|
|
24
|
-
recents:
|
|
25
|
-
rootFolder:
|
|
26
|
-
spot:
|
|
25
|
+
recents: jObjectList[];
|
|
26
|
+
rootFolder: jFolderList;
|
|
27
|
+
spot: jGroupList;
|
|
27
28
|
}
|
|
28
29
|
export interface FolderProps extends jObjectLittle {
|
|
29
30
|
mainType: string;
|
|
@@ -31,21 +32,16 @@ export interface FolderProps extends jObjectLittle {
|
|
|
31
32
|
parentURI?: string;
|
|
32
33
|
_right: Rights;
|
|
33
34
|
}
|
|
34
|
-
export type FolderType = jObjectLittle & {
|
|
35
|
-
mainType: string;
|
|
36
|
-
folderColor?: string;
|
|
37
|
-
parentURI?: string;
|
|
38
|
-
_nbItems: number;
|
|
39
|
-
type: 'folder' | 'rootFolder';
|
|
40
|
-
};
|
|
41
|
-
export type FileBankDocument = jArticleList & {
|
|
42
|
-
_attachedFiles: jFileLittle[];
|
|
43
|
-
type: 'document';
|
|
44
|
-
};
|
|
45
35
|
export type FilebankGetPathParams = {
|
|
46
36
|
uri: string;
|
|
47
37
|
mode?: 'full' | 'browse';
|
|
48
38
|
};
|
|
39
|
+
export type FilebankSearchContentParams = {
|
|
40
|
+
uri: string;
|
|
41
|
+
query: string;
|
|
42
|
+
limit?: number;
|
|
43
|
+
page?: number;
|
|
44
|
+
};
|
|
49
45
|
export type FilebankPath<T extends jArticleLittle = jArticleLittle> = {
|
|
50
46
|
[k: string]: T & {
|
|
51
47
|
_nbItems: number;
|
|
@@ -55,13 +51,17 @@ export type FilebankGetParentsParams = {
|
|
|
55
51
|
id: number;
|
|
56
52
|
};
|
|
57
53
|
export declare class JFilebankApi extends JBaseApi {
|
|
58
|
-
getBanks(
|
|
59
|
-
getFolders(parentURI: string): Promise<ApiWrapper<
|
|
60
|
-
getDocuments(uri: string): Promise<ApiPagingResults<
|
|
54
|
+
getBanks(): Promise<Array<FileBankProps>>;
|
|
55
|
+
getFolders(parentURI: string): Promise<ApiWrapper<jFolderList[]>>;
|
|
56
|
+
getDocuments(uri: string): Promise<ApiPagingResults<jArticleView>>;
|
|
61
57
|
getPath<T extends jArticleLittle = jArticleLittle>(params: FilebankGetPathParams, options?: {
|
|
62
58
|
format?: FormatList;
|
|
63
59
|
signal?: AbortSignal;
|
|
64
60
|
}): Promise<ApiWrapper<FilebankPath<T>>>;
|
|
61
|
+
searchContent<T extends jArticleLittle = jArticleLittle>(params: FilebankSearchContentParams, options?: {
|
|
62
|
+
format?: FormatList;
|
|
63
|
+
signal?: AbortSignal;
|
|
64
|
+
}): Promise<ApiWrapper<FilebankPath<T>>>;
|
|
65
65
|
getParents<T extends jArticleLittle = jArticleLittle>(params: FilebankGetParentsParams, options?: {
|
|
66
66
|
format?: FormatList;
|
|
67
67
|
signal?: AbortSignal;
|
|
@@ -1,4 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { ApiPagingResults, ApiWrapper } from '../../types/utils';
|
|
2
|
+
import { FilebankPath, FileBankProps } from './filebank';
|
|
3
|
+
import { jArticleLittle, jArticleView, jFolderList } from '../../types/article';
|
|
3
4
|
export declare const filebankGetPath: ApiWrapper<FilebankPath>;
|
|
5
|
+
export declare const filebankGetBanks: ApiWrapper<FileBankProps[]>;
|
|
6
|
+
export declare const filebankGetFolders: ApiWrapper<jFolderList[]>;
|
|
7
|
+
export declare const filebankSearchContent: ApiPagingResults<jArticleLittle>;
|
|
8
|
+
export declare const filebankGetDocuments: ApiPagingResults<jArticleView & {
|
|
9
|
+
lastModifiedBy: null;
|
|
10
|
+
processContext: null;
|
|
11
|
+
_nbAttachedFiles: number;
|
|
12
|
+
}>;
|
|
4
13
|
export declare const filebankGetParents: ApiWrapper<jArticleLittle[]>;
|
|
@@ -99,6 +99,16 @@ export declare class JUserApi extends JBaseApi {
|
|
|
99
99
|
_url: string;
|
|
100
100
|
category: number;
|
|
101
101
|
privacy: number;
|
|
102
|
+
} | {
|
|
103
|
+
type: "folder" | "rootFolder";
|
|
104
|
+
id: number;
|
|
105
|
+
mainType: string;
|
|
106
|
+
uri: string;
|
|
107
|
+
title: string;
|
|
108
|
+
_url: string;
|
|
109
|
+
dateCreation?: string | undefined;
|
|
110
|
+
dateModified?: string | null | undefined;
|
|
111
|
+
folderColor?: string | undefined;
|
|
102
112
|
})[];
|
|
103
113
|
description?: string | null | undefined;
|
|
104
114
|
image?: {
|
|
@@ -107,125 +117,20 @@ export declare class JUserApi extends JBaseApi {
|
|
|
107
117
|
} | undefined;
|
|
108
118
|
articleWidgets?: {
|
|
109
119
|
title: string;
|
|
110
|
-
widget:
|
|
111
|
-
layers?: string[] | undefined;
|
|
112
|
-
} & import("../../types").WidgetArticleButtonType) | ({
|
|
113
|
-
layers?: string[] | undefined;
|
|
114
|
-
} & import("../../types").WidgetArticleGalleryType) | ({
|
|
115
|
-
layers?: string[] | undefined;
|
|
116
|
-
} & import("../../types").WidgetArticleTitleType) | ({
|
|
117
|
-
layers?: string[] | undefined;
|
|
118
|
-
} & import("../../types").WidgetArticleTextType) | ({
|
|
119
|
-
layers?: string[] | undefined;
|
|
120
|
-
} & import("../../types").WidgetArticleImageType) | ({
|
|
120
|
+
widget: {
|
|
121
121
|
layers?: string[] | undefined;
|
|
122
|
-
} & import("../../types").WidgetArticleAttachmentType) | ({
|
|
123
|
-
layers?: string[] | undefined;
|
|
124
|
-
} & import("../../types").WidgetApiType) | ({
|
|
125
|
-
layers?: string[] | undefined;
|
|
126
|
-
} & import("../../types").WidgetArticleSliderType) | ({
|
|
127
|
-
layers?: string[] | undefined;
|
|
128
|
-
} & import("../../types").WidgetType<import("../../types").WidgetCheckListContent & import("../../types").LegacyAngularJSType>) | ({
|
|
129
|
-
layers?: string[] | undefined;
|
|
130
|
-
} & import("../../types").WidgetDatasourceTableType) | ({
|
|
131
|
-
layers?: string[] | undefined;
|
|
132
|
-
} & {
|
|
122
|
+
} & (import("../../types").WidgetArticleButtonType | import("../../types").WidgetArticleGalleryType | import("../../types").WidgetArticleTitleType | import("../../types").WidgetArticleTextType | import("../../types").WidgetArticleImageType | import("../../types").WidgetArticleAttachmentType | import("../../types").WidgetApiType | import("../../types").WidgetArticleSliderType | import("../../types").WidgetType<import("../../types").WidgetCheckListContent & import("../../types").LegacyAngularJSType> | import("../../types").WidgetDatasourceTableType | {
|
|
133
123
|
name: import("../../types").WidgetsName.ExcelDatasourceTable;
|
|
134
124
|
uniqid: string;
|
|
135
125
|
content: {
|
|
136
|
-
limit?: number | undefined;
|
|
137
|
-
tableColumnsData?: {
|
|
138
|
-
name?: string | undefined;
|
|
139
|
-
isVisible?: boolean | undefined;
|
|
140
|
-
textEllipsis?: boolean | undefined;
|
|
141
|
-
label?: string | undefined;
|
|
142
|
-
dateFormat?: "date" | "date-time" | "date-time-sec" | "time" | "time-sec" | undefined;
|
|
143
|
-
numberFormat?: "fr-FR" | "en-EN" | "filesize" | undefined;
|
|
144
|
-
}[] | undefined;
|
|
145
|
-
tableHeadColor?: string | undefined;
|
|
146
|
-
tableHeadTextColor?: string | undefined;
|
|
147
|
-
tableHeadIconColor?: string | undefined;
|
|
148
|
-
tableRowColor?: string | undefined;
|
|
149
|
-
tableRowTextColor?: string | undefined;
|
|
150
|
-
tableBorderRadius?: number | undefined;
|
|
151
|
-
tableSizedColumns?: boolean | undefined;
|
|
152
|
-
tableSizedColumnsWidth?: number | undefined;
|
|
153
126
|
uri?: string | undefined;
|
|
154
|
-
};
|
|
155
|
-
}) | ({
|
|
156
|
-
layers?: string[] | undefined;
|
|
157
|
-
} & import("../../types").WidgetArticleButtonType & import("../../types").WidgetType<import("../../types").WidgetCheckListContent & import("../../types").LegacyAngularJSType>) | ({
|
|
158
|
-
layers?: string[] | undefined;
|
|
159
|
-
} & import("../../types").WidgetArticleGalleryType & import("../../types").WidgetType<import("../../types").WidgetCheckListContent & import("../../types").LegacyAngularJSType>) | ({
|
|
160
|
-
layers?: string[] | undefined;
|
|
161
|
-
} & import("../../types").WidgetArticleTitleType & import("../../types").WidgetType<import("../../types").WidgetCheckListContent & import("../../types").LegacyAngularJSType>) | ({
|
|
162
|
-
layers?: string[] | undefined;
|
|
163
|
-
} & import("../../types").WidgetArticleTextType & import("../../types").WidgetType<import("../../types").WidgetCheckListContent & import("../../types").LegacyAngularJSType>) | ({
|
|
164
|
-
layers?: string[] | undefined;
|
|
165
|
-
} & import("../../types").WidgetArticleImageType & import("../../types").WidgetType<import("../../types").WidgetCheckListContent & import("../../types").LegacyAngularJSType>) | ({
|
|
166
|
-
layers?: string[] | undefined;
|
|
167
|
-
} & import("../../types").WidgetArticleAttachmentType & import("../../types").WidgetType<import("../../types").WidgetCheckListContent & import("../../types").LegacyAngularJSType>) | ({
|
|
168
|
-
layers?: string[] | undefined;
|
|
169
|
-
} & import("../../types").WidgetApiType & import("../../types").WidgetType<import("../../types").WidgetCheckListContent & import("../../types").LegacyAngularJSType>) | ({
|
|
170
|
-
layers?: string[] | undefined;
|
|
171
|
-
} & import("../../types").WidgetArticleSliderType & import("../../types").WidgetType<import("../../types").WidgetCheckListContent & import("../../types").LegacyAngularJSType>) | ({
|
|
172
|
-
layers?: string[] | undefined;
|
|
173
|
-
} & import("../../types").WidgetType<import("../../types").WidgetCheckListContent & import("../../types").LegacyAngularJSType> & import("../../types").WidgetArticleButtonType) | ({
|
|
174
|
-
layers?: string[] | undefined;
|
|
175
|
-
} & import("../../types").WidgetType<import("../../types").WidgetCheckListContent & import("../../types").LegacyAngularJSType> & import("../../types").WidgetArticleGalleryType) | ({
|
|
176
|
-
layers?: string[] | undefined;
|
|
177
|
-
} & import("../../types").WidgetType<import("../../types").WidgetCheckListContent & import("../../types").LegacyAngularJSType> & import("../../types").WidgetArticleTitleType) | ({
|
|
178
|
-
layers?: string[] | undefined;
|
|
179
|
-
} & import("../../types").WidgetType<import("../../types").WidgetCheckListContent & import("../../types").LegacyAngularJSType> & import("../../types").WidgetArticleTextType) | ({
|
|
180
|
-
layers?: string[] | undefined;
|
|
181
|
-
} & import("../../types").WidgetType<import("../../types").WidgetCheckListContent & import("../../types").LegacyAngularJSType> & import("../../types").WidgetArticleImageType) | ({
|
|
182
|
-
layers?: string[] | undefined;
|
|
183
|
-
} & import("../../types").WidgetType<import("../../types").WidgetCheckListContent & import("../../types").LegacyAngularJSType> & import("../../types").WidgetArticleAttachmentType) | ({
|
|
184
|
-
layers?: string[] | undefined;
|
|
185
|
-
} & import("../../types").WidgetType<import("../../types").WidgetCheckListContent & import("../../types").LegacyAngularJSType> & import("../../types").WidgetApiType) | ({
|
|
186
|
-
layers?: string[] | undefined;
|
|
187
|
-
} & import("../../types").WidgetType<import("../../types").WidgetCheckListContent & import("../../types").LegacyAngularJSType> & import("../../types").WidgetArticleSliderType) | ({
|
|
188
|
-
layers?: string[] | undefined;
|
|
189
|
-
} & import("../../types").WidgetType<import("../../types").WidgetCheckListContent & import("../../types").LegacyAngularJSType> & import("../../types").WidgetDatasourceTableType) | ({
|
|
190
|
-
layers?: string[] | undefined;
|
|
191
|
-
} & import("../../types").WidgetType<import("../../types").WidgetCheckListContent & import("../../types").LegacyAngularJSType> & {
|
|
192
|
-
name: import("../../types").WidgetsName.ExcelDatasourceTable;
|
|
193
|
-
uniqid: string;
|
|
194
|
-
content: {
|
|
195
127
|
limit?: number | undefined;
|
|
196
128
|
tableColumnsData?: {
|
|
197
129
|
name?: string | undefined;
|
|
198
|
-
isVisible?: boolean | undefined;
|
|
199
|
-
textEllipsis?: boolean | undefined;
|
|
200
130
|
label?: string | undefined;
|
|
201
|
-
dateFormat?: "date" | "date-time" | "date-time-sec" | "time" | "time-sec" | undefined;
|
|
202
|
-
numberFormat?: "fr-FR" | "en-EN" | "filesize" | undefined;
|
|
203
|
-
}[] | undefined;
|
|
204
|
-
tableHeadColor?: string | undefined;
|
|
205
|
-
tableHeadTextColor?: string | undefined;
|
|
206
|
-
tableHeadIconColor?: string | undefined;
|
|
207
|
-
tableRowColor?: string | undefined;
|
|
208
|
-
tableRowTextColor?: string | undefined;
|
|
209
|
-
tableBorderRadius?: number | undefined;
|
|
210
|
-
tableSizedColumns?: boolean | undefined;
|
|
211
|
-
tableSizedColumnsWidth?: number | undefined;
|
|
212
|
-
uri?: string | undefined;
|
|
213
|
-
};
|
|
214
|
-
}) | ({
|
|
215
|
-
layers?: string[] | undefined;
|
|
216
|
-
} & import("../../types").WidgetDatasourceTableType & import("../../types").WidgetType<import("../../types").WidgetCheckListContent & import("../../types").LegacyAngularJSType>) | ({
|
|
217
|
-
layers?: string[] | undefined;
|
|
218
|
-
} & {
|
|
219
|
-
name: import("../../types").WidgetsName.ExcelDatasourceTable;
|
|
220
|
-
uniqid: string;
|
|
221
|
-
content: {
|
|
222
|
-
limit?: number | undefined;
|
|
223
|
-
tableColumnsData?: {
|
|
224
|
-
name?: string | undefined;
|
|
225
131
|
isVisible?: boolean | undefined;
|
|
226
132
|
textEllipsis?: boolean | undefined;
|
|
227
|
-
|
|
228
|
-
dateFormat?: "date" | "date-time" | "date-time-sec" | "time" | "time-sec" | undefined;
|
|
133
|
+
dateFormat?: "date" | "time" | "date-time" | "date-time-sec" | "time-sec" | undefined;
|
|
229
134
|
numberFormat?: "fr-FR" | "en-EN" | "filesize" | undefined;
|
|
230
135
|
}[] | undefined;
|
|
231
136
|
tableHeadColor?: string | undefined;
|
|
@@ -236,9 +141,8 @@ export declare class JUserApi extends JBaseApi {
|
|
|
236
141
|
tableBorderRadius?: number | undefined;
|
|
237
142
|
tableSizedColumns?: boolean | undefined;
|
|
238
143
|
tableSizedColumnsWidth?: number | undefined;
|
|
239
|
-
uri?: string | undefined;
|
|
240
144
|
};
|
|
241
|
-
}
|
|
145
|
+
});
|
|
242
146
|
}[] | undefined;
|
|
243
147
|
}, import("../../types").BaseMessages>>;
|
|
244
148
|
userDeleteBusinessContact(idArticle: number): Promise<ApiWrapper<boolean, import("../../types").BaseMessages>>;
|
|
@@ -264,7 +168,7 @@ export declare class JUserApi extends JBaseApi {
|
|
|
264
168
|
class: string;
|
|
265
169
|
}, import("../../types").BaseMessages>>;
|
|
266
170
|
getFields(idUser: number, fieldsType: UserFieldsType): Promise<ApiWrapper<{
|
|
267
|
-
value:
|
|
171
|
+
value: string | Record<string, any>;
|
|
268
172
|
name: string;
|
|
269
173
|
}[], import("../../types").BaseMessages>>;
|
|
270
174
|
}
|
|
@@ -87,13 +87,14 @@ export declare const licenseSchema: z.ZodObject<{
|
|
|
87
87
|
contentType: string;
|
|
88
88
|
}>;
|
|
89
89
|
export type License = z.infer<typeof licenseSchema>;
|
|
90
|
-
export declare const jAdminLicenseUserListSchema: z.ZodObject<{
|
|
91
|
-
type: z.ZodType<string, z.ZodTypeDef, string>;
|
|
90
|
+
export declare const jAdminLicenseUserListSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
92
91
|
id: z.ZodType<number, z.ZodTypeDef, number>;
|
|
93
92
|
mainType: z.ZodType<string, z.ZodTypeDef, string>;
|
|
93
|
+
type: z.ZodType<string, z.ZodTypeDef, string>;
|
|
94
94
|
uri: z.ZodType<string, z.ZodTypeDef, string>;
|
|
95
|
-
dateCreation: z.
|
|
96
|
-
dateModified: z.
|
|
95
|
+
dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
|
|
96
|
+
dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
|
|
97
|
+
}, {
|
|
97
98
|
title: z.ZodString;
|
|
98
99
|
_url: z.ZodString;
|
|
99
100
|
level: z.ZodNativeEnum<{
|
|
@@ -102,7 +103,11 @@ export declare const jAdminLicenseUserListSchema: z.ZodObject<{
|
|
|
102
103
|
readonly EXTERNAL: 3;
|
|
103
104
|
readonly GUEST: 0;
|
|
104
105
|
}>;
|
|
106
|
+
dateCreation: z.ZodString;
|
|
107
|
+
dateModified: z.ZodString;
|
|
108
|
+
}>, {
|
|
105
109
|
active: z.ZodNumber;
|
|
110
|
+
}>, {
|
|
106
111
|
_extend: z.ZodObject<{
|
|
107
112
|
licenses: z.ZodArray<z.ZodObject<{
|
|
108
113
|
id: z.ZodNumber;
|
|
@@ -155,7 +160,7 @@ export declare const jAdminLicenseUserListSchema: z.ZodObject<{
|
|
|
155
160
|
contentType: string;
|
|
156
161
|
}[];
|
|
157
162
|
}>;
|
|
158
|
-
}
|
|
163
|
+
}>, "strip", z.ZodTypeAny, {
|
|
159
164
|
type: string;
|
|
160
165
|
id: number;
|
|
161
166
|
mainType: string;
|
|
@@ -203,7 +208,7 @@ export declare const jAdminLicenseUserListSchema: z.ZodObject<{
|
|
|
203
208
|
active: number;
|
|
204
209
|
}>;
|
|
205
210
|
export type JAdminLicenseUserList = z.infer<typeof jAdminLicenseUserListSchema>;
|
|
206
|
-
export declare const adminLicenseUserSchema: z.ZodObject<{
|
|
211
|
+
export declare const adminLicenseUserSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
207
212
|
additionalFilter: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
|
|
208
213
|
facets: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, "many">>;
|
|
209
214
|
filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -242,7 +247,7 @@ export declare const adminLicenseUserSchema: z.ZodObject<{
|
|
|
242
247
|
isNull: z.ZodOptional<z.ZodBoolean>;
|
|
243
248
|
isNotNull: z.ZodOptional<z.ZodBoolean>;
|
|
244
249
|
}, "strip", z.ZodTypeAny, {
|
|
245
|
-
value:
|
|
250
|
+
value: string | number | boolean | string[] | {
|
|
246
251
|
srcId: string | number;
|
|
247
252
|
srcType: string;
|
|
248
253
|
} | {
|
|
@@ -251,16 +256,7 @@ export declare const adminLicenseUserSchema: z.ZodObject<{
|
|
|
251
256
|
} | {
|
|
252
257
|
start: string;
|
|
253
258
|
end: string;
|
|
254
|
-
}
|
|
255
|
-
srcId: string | number;
|
|
256
|
-
srcType: string;
|
|
257
|
-
} | {
|
|
258
|
-
targetId: string | number;
|
|
259
|
-
targetType: string;
|
|
260
|
-
} | {
|
|
261
|
-
start: string;
|
|
262
|
-
end: string;
|
|
263
|
-
} | undefined);
|
|
259
|
+
};
|
|
264
260
|
name: string;
|
|
265
261
|
operator?: "<" | ">" | "<=" | ">=" | "!=" | "<>" | "like" | "between" | "is" | "is not" | "in" | "link" | "match" | "equal" | undefined;
|
|
266
262
|
method?: "<" | ">" | "<=" | ">=" | "!=" | "<>" | "like" | "between" | "is" | "is not" | "in" | "link" | "match" | "equal" | "+" | "-" | undefined;
|
|
@@ -268,7 +264,7 @@ export declare const adminLicenseUserSchema: z.ZodObject<{
|
|
|
268
264
|
isNull?: boolean | undefined;
|
|
269
265
|
isNotNull?: boolean | undefined;
|
|
270
266
|
}, {
|
|
271
|
-
value:
|
|
267
|
+
value: string | number | boolean | string[] | {
|
|
272
268
|
srcId: string | number;
|
|
273
269
|
srcType: string;
|
|
274
270
|
} | {
|
|
@@ -277,16 +273,7 @@ export declare const adminLicenseUserSchema: z.ZodObject<{
|
|
|
277
273
|
} | {
|
|
278
274
|
start: string;
|
|
279
275
|
end: string;
|
|
280
|
-
}
|
|
281
|
-
srcId: string | number;
|
|
282
|
-
srcType: string;
|
|
283
|
-
} | {
|
|
284
|
-
targetId: string | number;
|
|
285
|
-
targetType: string;
|
|
286
|
-
} | {
|
|
287
|
-
start: string;
|
|
288
|
-
end: string;
|
|
289
|
-
} | undefined);
|
|
276
|
+
};
|
|
290
277
|
name: string;
|
|
291
278
|
operator?: "<" | ">" | "<=" | ">=" | "!=" | "<>" | "like" | "between" | "is" | "is not" | "in" | "link" | "match" | "equal" | undefined;
|
|
292
279
|
method?: "<" | ">" | "<=" | ">=" | "!=" | "<>" | "like" | "between" | "is" | "is not" | "in" | "link" | "match" | "equal" | "+" | "-" | undefined;
|
|
@@ -308,13 +295,15 @@ export declare const adminLicenseUserSchema: z.ZodObject<{
|
|
|
308
295
|
name: string;
|
|
309
296
|
}>, "many">>;
|
|
310
297
|
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]>>;
|
|
311
|
-
|
|
312
|
-
|
|
298
|
+
}, {
|
|
299
|
+
data: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
313
300
|
id: z.ZodType<number, z.ZodTypeDef, number>;
|
|
314
301
|
mainType: z.ZodType<string, z.ZodTypeDef, string>;
|
|
302
|
+
type: z.ZodType<string, z.ZodTypeDef, string>;
|
|
315
303
|
uri: z.ZodType<string, z.ZodTypeDef, string>;
|
|
316
|
-
dateCreation: z.
|
|
317
|
-
dateModified: z.
|
|
304
|
+
dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
|
|
305
|
+
dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
|
|
306
|
+
}, {
|
|
318
307
|
title: z.ZodString;
|
|
319
308
|
_url: z.ZodString;
|
|
320
309
|
level: z.ZodNativeEnum<{
|
|
@@ -323,7 +312,11 @@ export declare const adminLicenseUserSchema: z.ZodObject<{
|
|
|
323
312
|
readonly EXTERNAL: 3;
|
|
324
313
|
readonly GUEST: 0;
|
|
325
314
|
}>;
|
|
315
|
+
dateCreation: z.ZodString;
|
|
316
|
+
dateModified: z.ZodString;
|
|
317
|
+
}>, {
|
|
326
318
|
active: z.ZodNumber;
|
|
319
|
+
}>, {
|
|
327
320
|
_extend: z.ZodObject<{
|
|
328
321
|
licenses: z.ZodArray<z.ZodObject<{
|
|
329
322
|
id: z.ZodNumber;
|
|
@@ -376,7 +369,7 @@ export declare const adminLicenseUserSchema: z.ZodObject<{
|
|
|
376
369
|
contentType: string;
|
|
377
370
|
}[];
|
|
378
371
|
}>;
|
|
379
|
-
}
|
|
372
|
+
}>, "strip", z.ZodTypeAny, {
|
|
380
373
|
type: string;
|
|
381
374
|
id: number;
|
|
382
375
|
mainType: string;
|
|
@@ -423,7 +416,7 @@ export declare const adminLicenseUserSchema: z.ZodObject<{
|
|
|
423
416
|
level: 0 | 3 | 5 | 9;
|
|
424
417
|
active: number;
|
|
425
418
|
}>, "many">;
|
|
426
|
-
}
|
|
419
|
+
}>, "strip", z.ZodTypeAny, {
|
|
427
420
|
data: {
|
|
428
421
|
type: string;
|
|
429
422
|
id: number;
|
|
@@ -451,7 +444,7 @@ export declare const adminLicenseUserSchema: z.ZodObject<{
|
|
|
451
444
|
additionalFilter?: {} | undefined;
|
|
452
445
|
facets?: {}[] | undefined;
|
|
453
446
|
filters?: {
|
|
454
|
-
value:
|
|
447
|
+
value: string | number | boolean | string[] | {
|
|
455
448
|
srcId: string | number;
|
|
456
449
|
srcType: string;
|
|
457
450
|
} | {
|
|
@@ -460,16 +453,7 @@ export declare const adminLicenseUserSchema: z.ZodObject<{
|
|
|
460
453
|
} | {
|
|
461
454
|
start: string;
|
|
462
455
|
end: string;
|
|
463
|
-
}
|
|
464
|
-
srcId: string | number;
|
|
465
|
-
srcType: string;
|
|
466
|
-
} | {
|
|
467
|
-
targetId: string | number;
|
|
468
|
-
targetType: string;
|
|
469
|
-
} | {
|
|
470
|
-
start: string;
|
|
471
|
-
end: string;
|
|
472
|
-
} | undefined);
|
|
456
|
+
};
|
|
473
457
|
name: string;
|
|
474
458
|
operator?: "<" | ">" | "<=" | ">=" | "!=" | "<>" | "like" | "between" | "is" | "is not" | "in" | "link" | "match" | "equal" | undefined;
|
|
475
459
|
method?: "<" | ">" | "<=" | ">=" | "!=" | "<>" | "like" | "between" | "is" | "is not" | "in" | "link" | "match" | "equal" | "+" | "-" | undefined;
|
|
@@ -513,7 +497,7 @@ export declare const adminLicenseUserSchema: z.ZodObject<{
|
|
|
513
497
|
additionalFilter?: {} | undefined;
|
|
514
498
|
facets?: {}[] | undefined;
|
|
515
499
|
filters?: {
|
|
516
|
-
value:
|
|
500
|
+
value: string | number | boolean | string[] | {
|
|
517
501
|
srcId: string | number;
|
|
518
502
|
srcType: string;
|
|
519
503
|
} | {
|
|
@@ -522,16 +506,7 @@ export declare const adminLicenseUserSchema: z.ZodObject<{
|
|
|
522
506
|
} | {
|
|
523
507
|
start: string;
|
|
524
508
|
end: string;
|
|
525
|
-
}
|
|
526
|
-
srcId: string | number;
|
|
527
|
-
srcType: string;
|
|
528
|
-
} | {
|
|
529
|
-
targetId: string | number;
|
|
530
|
-
targetType: string;
|
|
531
|
-
} | {
|
|
532
|
-
start: string;
|
|
533
|
-
end: string;
|
|
534
|
-
} | undefined);
|
|
509
|
+
};
|
|
535
510
|
name: string;
|
|
536
511
|
operator?: "<" | ">" | "<=" | ">=" | "!=" | "<>" | "like" | "between" | "is" | "is not" | "in" | "link" | "match" | "equal" | undefined;
|
|
537
512
|
method?: "<" | ">" | "<=" | ">=" | "!=" | "<>" | "like" | "between" | "is" | "is not" | "in" | "link" | "match" | "equal" | "+" | "-" | undefined;
|