jamespot-user-api 1.0.206 → 1.0.208
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/AdminLogApi.html +1 -0
- 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/JBbbApi.html +1 -1
- package/documentation/classes/JBookmarkApi.html +1 -1
- package/documentation/classes/JBusinessNetworkingApi.html +1 -1
- package/documentation/classes/JCalendarApi.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/JExternalAppApi.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/JModuleApi.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/JitsiApi.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 +2 -2
- package/lib/jamespot-user-api.js +1 -1
- package/lib/jamespot-user-api.js.map +1 -1
- package/lib/src/apis/admin/index.d.ts +1 -0
- package/lib/src/apis/admin/logs.d.ts +29 -0
- package/lib/src/apis/admin/logs.mock.d.ts +4 -0
- package/lib/src/apis/admin/logs.test.d.ts +1 -0
- package/lib/src/apis/article/article.mock.d.ts +1 -0
- package/lib/src/apis/community/community.d.ts +9 -0
- package/lib/src/apis/community/community.mock.d.ts +5 -0
- package/lib/src/apis/community/community.test.d.ts +1 -0
- package/lib/src/apis/digitalDesk/digitalDesk.d.ts +8 -0
- package/lib/src/apis/digitalDesk/digitalDesk.mock.d.ts +3 -0
- package/lib/src/apis/digitalDesk/digitalDesk.test.d.ts +1 -0
- package/lib/src/apis/index.d.ts +1 -2
- package/lib/src/apis/jamespotUserApi.d.ts +6 -3
- package/lib/src/apis/{messenger.d.ts → messenger/messenger.d.ts} +10 -2
- package/lib/src/apis/messenger/messenger.mock.d.ts +113 -0
- package/lib/src/apis/messenger/messenger.test.d.ts +1 -0
- package/lib/src/apis/visioConnect/visioConnect.d.ts +14 -0
- package/lib/src/apis/visioConnect/visioConnect.mock.d.ts +3 -1
- package/lib/src/types/adminLog.d.ts +73 -0
- package/lib/src/types/digitalDesk.d.ts +5 -0
- package/lib/src/types/index.d.ts +3 -0
- package/lib/src/types/utils.d.ts +10 -0
- package/lib/src/types/visioConnect.d.ts +325 -0
- package/lib/src/util/Test.d.ts +5 -1
- package/lib/src/util/test.test.d.ts +1 -0
- package/package.json +1 -1
- package/phpunitMock/adminApps-success.json +12 -0
- package/phpunitMock/articlePermalink-success.json +16 -0
- package/phpunitMock/autocompleteCommunity-success.json +21 -0
- package/phpunitMock/communitySendRequest-success.json +7 -0
- package/phpunitMock/digitalDeskGetStatistics-default.json +7 -0
- package/phpunitMock/messengerGetDiscussion-success.json +102 -0
- package/phpunitMock/messengerNewMessage-success.json +51 -0
- package/phpunitMock/objectListAdminAdvancedLogsNavigation-default.json +7 -0
- package/phpunitMock/objectListAdminAdvancedLogsObjects-default.json +294 -0
- package/phpunitMock/objectListAdminAdvancedLogsSearch-default.json +150 -0
- package/phpunitMock/visioConnectStatistics-default.json +24 -0
- package/phpunitMock/visioConnectStatisticsRoomSessions-default.json +27 -0
- package/documentation/classes/JMessengerApi.html +0 -1
- package/lib/src/apis/community.d.ts +0 -12
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { JBaseApi } from '../base';
|
|
2
|
+
import { ListQueryParameters, PagingResults } from '../../types/utils';
|
|
3
|
+
export declare class AdminLogApi extends JBaseApi {
|
|
4
|
+
getLogsNavigation(params: ListQueryParameters, signal?: AbortSignal): Promise<import("../../types/utils").ApiWrapper<PagingResults<{
|
|
5
|
+
dateCreation: string;
|
|
6
|
+
url: string;
|
|
7
|
+
idUser: number;
|
|
8
|
+
level: number;
|
|
9
|
+
pseudo: string;
|
|
10
|
+
action: string;
|
|
11
|
+
ip: string;
|
|
12
|
+
extended?: string | undefined;
|
|
13
|
+
}>, import("../../types/utils").BaseMessages>>;
|
|
14
|
+
getLogsObjects(params: ListQueryParameters, signal?: AbortSignal): Promise<import("../../types/utils").ApiWrapper<PagingResults<{
|
|
15
|
+
mainType: string;
|
|
16
|
+
dateCreation: string;
|
|
17
|
+
url: string;
|
|
18
|
+
action: string;
|
|
19
|
+
idObject: number;
|
|
20
|
+
typeObject: string;
|
|
21
|
+
mail?: string | undefined;
|
|
22
|
+
extended?: string | undefined;
|
|
23
|
+
}>, import("../../types/utils").BaseMessages>>;
|
|
24
|
+
getLogsSearch(params: ListQueryParameters, signal?: AbortSignal): Promise<import("../../types/utils").ApiWrapper<PagingResults<{
|
|
25
|
+
type: string;
|
|
26
|
+
dateCreation: string;
|
|
27
|
+
msg: string;
|
|
28
|
+
}>, import("../../types/utils").BaseMessages>>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { AdminLogNavigation, AdminLogObject, AdminLogSearch, ApiPagingResults } from '../../types';
|
|
2
|
+
export declare const adminLogsNavigationMock: ApiPagingResults<AdminLogNavigation>;
|
|
3
|
+
export declare const adminLogsObjectsMock: ApiPagingResults<AdminLogObject>;
|
|
4
|
+
export declare const adminLogsSearchMock: ApiPagingResults<AdminLogSearch>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { JBaseApi } from '../base';
|
|
2
|
+
import { ApiReturn, ApiWrapper, FormatList } from '../../types/utils';
|
|
3
|
+
import { CommunityAutocomplete } from '../../types/autocomplete';
|
|
4
|
+
import { jObjectLittle } from '../../types/objectBase';
|
|
5
|
+
export declare class JCommunityApi extends JBaseApi {
|
|
6
|
+
get<T extends FormatList = undefined>(idCommunity: string | number, format?: T): Promise<ApiWrapper<ApiReturn<T, jObjectLittle, jObjectLittle, jObjectLittle, jObjectLittle>, import("../../types/utils").BaseMessages>>;
|
|
7
|
+
sendRequest(message: string, idUserTo: number): Promise<ApiWrapper<boolean>>;
|
|
8
|
+
autocomplete(q: string): Promise<CommunityAutocomplete[]>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { CommunityAutocomplete } from '../../types/autocomplete';
|
|
2
|
+
import { ApiWrapper } from '../../types/utils';
|
|
3
|
+
export declare const communityGet: {};
|
|
4
|
+
export declare const communitySendRequest: ApiWrapper<boolean>;
|
|
5
|
+
export declare const communityAutocomplete: ApiWrapper<CommunityAutocomplete[]>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { JBaseApi } from '../base';
|
|
2
|
+
import { ApiWrapper } from '../../types/utils';
|
|
3
|
+
import { DigitalDeskStatistics } from '../../types/digitalDesk';
|
|
4
|
+
export declare class JDigitalDeskApi extends JBaseApi {
|
|
5
|
+
statistics(params?: {
|
|
6
|
+
signal?: AbortSignal;
|
|
7
|
+
}): Promise<ApiWrapper<DigitalDeskStatistics>>;
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/lib/src/apis/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export * from './base';
|
|
|
7
7
|
export * from './bbb/bbb';
|
|
8
8
|
export * from './bookmark/bookmark';
|
|
9
9
|
export * from './businessNetworking/businessNetworking';
|
|
10
|
-
export * from './community';
|
|
10
|
+
export * from './community/community';
|
|
11
11
|
export * from './calendar/calendar';
|
|
12
12
|
export * from './datasource/datasource';
|
|
13
13
|
export * from './diapazone/diapazone';
|
|
@@ -21,7 +21,6 @@ export * from './jamespotUserApi';
|
|
|
21
21
|
export * from './jia/jia';
|
|
22
22
|
export * from './jitsi/jitsi';
|
|
23
23
|
export * from './jland/jland';
|
|
24
|
-
export * from './messenger';
|
|
25
24
|
export * from './module/module';
|
|
26
25
|
export * from './object/object';
|
|
27
26
|
export * from './socialAction/socialAction';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { AdminLicenseApi, AdminUtilsApi, AdminStoreApi } from './admin';
|
|
1
|
+
import { AdminLicenseApi, AdminUtilsApi, AdminStoreApi, AdminLogApi } from './admin';
|
|
2
2
|
import { JApplicationApi } from './application';
|
|
3
3
|
import { JArticleApi } from './article/article';
|
|
4
4
|
import { JAseiApi } from './asei/asei';
|
|
5
5
|
import { JAssetReservation } from './assetReservation/assetReservation';
|
|
6
6
|
import { JAudienceApi } from './audience/audience';
|
|
7
|
-
import { JCommunityApi } from './community';
|
|
7
|
+
import { JCommunityApi } from './community/community';
|
|
8
8
|
import { JDatasourceApi } from './datasource/datasource';
|
|
9
9
|
import { JDiapazoneApi } from './diapazone/diapazone';
|
|
10
10
|
import { JDriveApi } from './drive/drive';
|
|
@@ -13,7 +13,7 @@ import { JFilebankApi } from './filebank/filebank';
|
|
|
13
13
|
import { JGroupApi } from './group/group';
|
|
14
14
|
import { JMediaLibraryApi } from './mediaLibrary/mediaLibrary';
|
|
15
15
|
import { JLandApi } from './jland/jland';
|
|
16
|
-
import { JMessengerApi } from './messenger';
|
|
16
|
+
import { JMessengerApi } from './messenger/messenger';
|
|
17
17
|
import { JSearchApi } from './search/search';
|
|
18
18
|
import { JBookmarkApi } from './bookmark/bookmark';
|
|
19
19
|
import { JTaxonomyApi } from './taxonomy';
|
|
@@ -39,6 +39,7 @@ import { JQuestionAnswerApi } from './questionAnswer/questionAnswer';
|
|
|
39
39
|
import { JVisioConnectApi } from './visioConnect/visioConnect';
|
|
40
40
|
import { JModuleApi } from './module/module';
|
|
41
41
|
import { JExternalAppApi } from './externalApp/externalApp';
|
|
42
|
+
import { JDigitalDeskApi } from './digitalDesk/digitalDesk';
|
|
42
43
|
import { JitsiApi } from './jitsi/jitsi';
|
|
43
44
|
/**
|
|
44
45
|
* In browser usage, 'window' should be the window object.
|
|
@@ -54,6 +55,7 @@ export declare class JamespotUserApi {
|
|
|
54
55
|
license: AdminLicenseApi;
|
|
55
56
|
store: AdminStoreApi;
|
|
56
57
|
utils: AdminUtilsApi;
|
|
58
|
+
logs: AdminLogApi;
|
|
57
59
|
};
|
|
58
60
|
accessibility: JAccessibilityApi;
|
|
59
61
|
application: JApplicationApi;
|
|
@@ -68,6 +70,7 @@ export declare class JamespotUserApi {
|
|
|
68
70
|
community: JCommunityApi;
|
|
69
71
|
datasource: JDatasourceApi;
|
|
70
72
|
diapazone: JDiapazoneApi;
|
|
73
|
+
digitalDesk: JDigitalDeskApi;
|
|
71
74
|
drive: JDriveApi;
|
|
72
75
|
externalApp: JExternalAppApi;
|
|
73
76
|
faq: JFaqApi;
|
|
@@ -1,6 +1,14 @@
|
|
|
1
|
-
import { ApiWrapper } from '
|
|
2
|
-
import { JBaseApi } from '
|
|
1
|
+
import { ApiWrapper } from '../../types/utils';
|
|
2
|
+
import { JBaseApi } from '../base';
|
|
3
3
|
export declare class JMessengerApi extends JBaseApi {
|
|
4
|
+
/**
|
|
5
|
+
* Warning - Old type format
|
|
6
|
+
* @TODO - Implement new format
|
|
7
|
+
*/
|
|
4
8
|
sendMessage(message: string, idDiscussion: string): Promise<ApiWrapper<Record<string, never>>>;
|
|
9
|
+
/**
|
|
10
|
+
* Warning - Old type format
|
|
11
|
+
* @TODO - Implement new format
|
|
12
|
+
*/
|
|
5
13
|
getOrCreateDiscussion(idSender: number, idUserTo: number): Promise<ApiWrapper<Record<string, never>>>;
|
|
6
14
|
}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
export declare const messengerNewMessage: {
|
|
2
|
+
o: string;
|
|
3
|
+
f: string;
|
|
4
|
+
error: number;
|
|
5
|
+
messages: never[];
|
|
6
|
+
result: {
|
|
7
|
+
id: number;
|
|
8
|
+
type: string;
|
|
9
|
+
uri: string;
|
|
10
|
+
uriDiscussion: string;
|
|
11
|
+
description: string;
|
|
12
|
+
preview: {};
|
|
13
|
+
isTechnical: boolean;
|
|
14
|
+
_url: string;
|
|
15
|
+
_right: {
|
|
16
|
+
create: boolean;
|
|
17
|
+
read: boolean;
|
|
18
|
+
publish: boolean;
|
|
19
|
+
administrate: boolean;
|
|
20
|
+
update: boolean;
|
|
21
|
+
delete: boolean;
|
|
22
|
+
comment: boolean;
|
|
23
|
+
member: boolean;
|
|
24
|
+
};
|
|
25
|
+
isArchive: number;
|
|
26
|
+
_user: {
|
|
27
|
+
id: number;
|
|
28
|
+
type: string;
|
|
29
|
+
mainType: string;
|
|
30
|
+
_cssColor: string;
|
|
31
|
+
_cssClass: string;
|
|
32
|
+
uri: string;
|
|
33
|
+
title: string;
|
|
34
|
+
_url: string;
|
|
35
|
+
firstname: string;
|
|
36
|
+
lastname: string;
|
|
37
|
+
company: string;
|
|
38
|
+
mail: string;
|
|
39
|
+
_values: {
|
|
40
|
+
firstname: string;
|
|
41
|
+
lastname: string;
|
|
42
|
+
company: string;
|
|
43
|
+
mail: string;
|
|
44
|
+
dateCreation: string;
|
|
45
|
+
dateModified: string;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
_values: {
|
|
49
|
+
dateCreation: string;
|
|
50
|
+
dateModified: string;
|
|
51
|
+
};
|
|
52
|
+
_idDiscussion: string;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
export declare const messengerGetDiscussion: {
|
|
56
|
+
o: string;
|
|
57
|
+
f: string;
|
|
58
|
+
error: number;
|
|
59
|
+
messages: never[];
|
|
60
|
+
result: {
|
|
61
|
+
id: number;
|
|
62
|
+
type: string;
|
|
63
|
+
mainType: string;
|
|
64
|
+
_cssColor: string;
|
|
65
|
+
_cssClass: string;
|
|
66
|
+
uri: string;
|
|
67
|
+
_url: string;
|
|
68
|
+
idDiscussion: string;
|
|
69
|
+
emoji: null;
|
|
70
|
+
_audience: {
|
|
71
|
+
id: number;
|
|
72
|
+
type: string;
|
|
73
|
+
mainType: string;
|
|
74
|
+
_cssColor: string;
|
|
75
|
+
_cssClass: string;
|
|
76
|
+
uri: string;
|
|
77
|
+
title: string;
|
|
78
|
+
_url: string;
|
|
79
|
+
firstname: string;
|
|
80
|
+
lastname: string;
|
|
81
|
+
company: string;
|
|
82
|
+
mail: string;
|
|
83
|
+
_values: {
|
|
84
|
+
firstname: string;
|
|
85
|
+
lastname: string;
|
|
86
|
+
company: string;
|
|
87
|
+
mail: string;
|
|
88
|
+
dateCreation: string;
|
|
89
|
+
dateModified: string;
|
|
90
|
+
};
|
|
91
|
+
}[];
|
|
92
|
+
_cntUnread: number;
|
|
93
|
+
_right: {
|
|
94
|
+
create: boolean;
|
|
95
|
+
read: boolean;
|
|
96
|
+
publish: boolean;
|
|
97
|
+
administrate: boolean;
|
|
98
|
+
update: boolean;
|
|
99
|
+
delete: boolean;
|
|
100
|
+
comment: boolean;
|
|
101
|
+
member: boolean;
|
|
102
|
+
};
|
|
103
|
+
messages: never[];
|
|
104
|
+
_reads: never[];
|
|
105
|
+
bubbleColor: string;
|
|
106
|
+
title: null;
|
|
107
|
+
image: null;
|
|
108
|
+
_values: {
|
|
109
|
+
dateCreation: string;
|
|
110
|
+
dateModified: string;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,9 +1,23 @@
|
|
|
1
1
|
import { ApiWrapper } from '../../types';
|
|
2
|
+
import { VisioConnectStatistics, VisioConnectStatisticsRoomSessions } from '../../types/visioConnect';
|
|
2
3
|
import { JBaseApi } from '../base';
|
|
3
4
|
export declare class JVisioConnectApi extends JBaseApi {
|
|
4
5
|
recordingDelete(id: number, filename: string, options?: {
|
|
5
6
|
signal?: AbortSignal;
|
|
6
7
|
}): Promise<ApiWrapper<boolean>>;
|
|
8
|
+
statistics(payload: {
|
|
9
|
+
page: number;
|
|
10
|
+
dateStart: string;
|
|
11
|
+
dateEnd: string;
|
|
12
|
+
}, params?: {
|
|
13
|
+
signal?: AbortSignal;
|
|
14
|
+
}): Promise<ApiWrapper<VisioConnectStatistics>>;
|
|
15
|
+
statisticsRoomSessions(payload: {
|
|
16
|
+
id: number;
|
|
17
|
+
page: number;
|
|
18
|
+
}, params?: {
|
|
19
|
+
signal?: AbortSignal;
|
|
20
|
+
}): Promise<ApiWrapper<VisioConnectStatisticsRoomSessions>>;
|
|
7
21
|
resolveUrl({ uri }: {
|
|
8
22
|
uri: string;
|
|
9
23
|
}, signal?: AbortSignal): Promise<ApiWrapper<string>>;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
import { ApiWrapper } from '../../types';
|
|
1
|
+
import { ApiWrapper, VisioConnectStatistics, VisioConnectStatisticsRoomSessions } from '../../types';
|
|
2
2
|
export declare const visioConnectVideoRecordingDelete: ApiWrapper<Boolean>;
|
|
3
|
+
export declare const visioConnectStatistics: ApiWrapper<VisioConnectStatistics>;
|
|
4
|
+
export declare const visioConnectStatisticsRoomSessions: ApiWrapper<VisioConnectStatisticsRoomSessions>;
|
|
3
5
|
export declare const visioConnectResolveUrl: ApiWrapper<string>;
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const adminLogNavigationSchema: z.ZodObject<{
|
|
3
|
+
dateCreation: z.ZodString;
|
|
4
|
+
action: z.ZodString;
|
|
5
|
+
idUser: z.ZodNumber;
|
|
6
|
+
pseudo: z.ZodString;
|
|
7
|
+
level: z.ZodNumber;
|
|
8
|
+
ip: z.ZodString;
|
|
9
|
+
url: z.ZodString;
|
|
10
|
+
extended: z.ZodOptional<z.ZodString>;
|
|
11
|
+
}, "strip", z.ZodTypeAny, {
|
|
12
|
+
dateCreation: string;
|
|
13
|
+
url: string;
|
|
14
|
+
idUser: number;
|
|
15
|
+
level: number;
|
|
16
|
+
pseudo: string;
|
|
17
|
+
action: string;
|
|
18
|
+
ip: string;
|
|
19
|
+
extended?: string | undefined;
|
|
20
|
+
}, {
|
|
21
|
+
dateCreation: string;
|
|
22
|
+
url: string;
|
|
23
|
+
idUser: number;
|
|
24
|
+
level: number;
|
|
25
|
+
pseudo: string;
|
|
26
|
+
action: string;
|
|
27
|
+
ip: string;
|
|
28
|
+
extended?: string | undefined;
|
|
29
|
+
}>;
|
|
30
|
+
export type AdminLogNavigation = z.infer<typeof adminLogNavigationSchema>;
|
|
31
|
+
export declare const adminLogObjectSchema: z.ZodObject<{
|
|
32
|
+
dateCreation: z.ZodString;
|
|
33
|
+
action: z.ZodString;
|
|
34
|
+
mainType: z.ZodString;
|
|
35
|
+
idObject: z.ZodNumber;
|
|
36
|
+
typeObject: z.ZodString;
|
|
37
|
+
mail: z.ZodOptional<z.ZodString>;
|
|
38
|
+
url: z.ZodString;
|
|
39
|
+
extended: z.ZodOptional<z.ZodString>;
|
|
40
|
+
}, "strip", z.ZodTypeAny, {
|
|
41
|
+
mainType: string;
|
|
42
|
+
dateCreation: string;
|
|
43
|
+
url: string;
|
|
44
|
+
action: string;
|
|
45
|
+
idObject: number;
|
|
46
|
+
typeObject: string;
|
|
47
|
+
mail?: string | undefined;
|
|
48
|
+
extended?: string | undefined;
|
|
49
|
+
}, {
|
|
50
|
+
mainType: string;
|
|
51
|
+
dateCreation: string;
|
|
52
|
+
url: string;
|
|
53
|
+
action: string;
|
|
54
|
+
idObject: number;
|
|
55
|
+
typeObject: string;
|
|
56
|
+
mail?: string | undefined;
|
|
57
|
+
extended?: string | undefined;
|
|
58
|
+
}>;
|
|
59
|
+
export type AdminLogObject = z.infer<typeof adminLogObjectSchema>;
|
|
60
|
+
export declare const adminLogSearchSchema: z.ZodObject<{
|
|
61
|
+
dateCreation: z.ZodString;
|
|
62
|
+
type: z.ZodString;
|
|
63
|
+
msg: z.ZodString;
|
|
64
|
+
}, "strip", z.ZodTypeAny, {
|
|
65
|
+
type: string;
|
|
66
|
+
dateCreation: string;
|
|
67
|
+
msg: string;
|
|
68
|
+
}, {
|
|
69
|
+
type: string;
|
|
70
|
+
dateCreation: string;
|
|
71
|
+
msg: string;
|
|
72
|
+
}>;
|
|
73
|
+
export type AdminLogSearch = z.infer<typeof adminLogSearchSchema>;
|
package/lib/src/types/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export * from './object';
|
|
|
8
8
|
export * from './link';
|
|
9
9
|
export * from './bookmark';
|
|
10
10
|
export * from './adminLicense';
|
|
11
|
+
export * from './adminLog';
|
|
11
12
|
export * from './adminStore';
|
|
12
13
|
export * from './adminUtils';
|
|
13
14
|
export * from './animations';
|
|
@@ -20,6 +21,7 @@ export * from './businessContact';
|
|
|
20
21
|
export * from './calendar';
|
|
21
22
|
export * from './comment';
|
|
22
23
|
export * from './diapazone';
|
|
24
|
+
export * from './digitalDesk';
|
|
23
25
|
export * from './drive';
|
|
24
26
|
export * from './externalApp';
|
|
25
27
|
export * from './faq';
|
|
@@ -44,6 +46,7 @@ export * from './support';
|
|
|
44
46
|
export * from './surveyDate';
|
|
45
47
|
export * from './tvDisplay';
|
|
46
48
|
export * from './tinymce';
|
|
49
|
+
export * from './visioConnect';
|
|
47
50
|
export * from './wedoc';
|
|
48
51
|
export * from './widgets';
|
|
49
52
|
export * from './realtime';
|
package/lib/src/types/utils.d.ts
CHANGED
|
@@ -249,6 +249,16 @@ export declare const filtersSchema: z.ZodArray<z.ZodObject<{
|
|
|
249
249
|
isNotNull?: boolean | undefined;
|
|
250
250
|
}>, "many">;
|
|
251
251
|
export type Filters = z.infer<typeof filtersSchema>;
|
|
252
|
+
export type ListOrder = {
|
|
253
|
+
name: string;
|
|
254
|
+
sort: string;
|
|
255
|
+
};
|
|
256
|
+
export type ListQueryParameters = {
|
|
257
|
+
limit?: number;
|
|
258
|
+
page?: number;
|
|
259
|
+
filters?: Array<Filter>;
|
|
260
|
+
orders?: Array<ListOrder>;
|
|
261
|
+
};
|
|
252
262
|
export declare const inferMaybeWithToken: <T extends z.ZodType<any, z.ZodTypeDef, any>>(type: T) => z.ZodIntersection<T, z.ZodObject<{
|
|
253
263
|
token: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodUndefined]>>;
|
|
254
264
|
}, "strip", z.ZodTypeAny, {
|