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
|
@@ -19,12 +19,13 @@ export declare const tinyMCEDynamicOptionsSchema: z.ZodObject<{
|
|
|
19
19
|
quickbars_selection_toolbar: string;
|
|
20
20
|
}>;
|
|
21
21
|
export type TinyMCEDynamicOptions = z.infer<typeof tinyMCEDynamicOptionsSchema>;
|
|
22
|
-
export declare const tinyMCECommonOptionsSchema: z.ZodObject<{
|
|
23
|
-
language: z.ZodString;
|
|
22
|
+
export declare const tinyMCECommonOptionsSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
24
23
|
cache_suffix: z.ZodString;
|
|
25
24
|
toolbar: z.ZodString;
|
|
25
|
+
language: z.ZodString;
|
|
26
26
|
content_css: z.ZodString;
|
|
27
27
|
quickbars_selection_toolbar: z.ZodString;
|
|
28
|
+
}, {
|
|
28
29
|
plugins: z.ZodArray<z.ZodString, "many">;
|
|
29
30
|
text_patterns: z.ZodArray<z.ZodObject<{
|
|
30
31
|
start: z.ZodString;
|
|
@@ -58,7 +59,7 @@ export declare const tinyMCECommonOptionsSchema: z.ZodObject<{
|
|
|
58
59
|
paste_data_images: z.ZodBoolean;
|
|
59
60
|
browser_spellcheck: z.ZodBoolean;
|
|
60
61
|
quickbars_insert_toolbar: z.ZodBoolean;
|
|
61
|
-
}
|
|
62
|
+
}>, "strip", z.ZodTypeAny, {
|
|
62
63
|
height: number;
|
|
63
64
|
language: string;
|
|
64
65
|
cache_suffix: string;
|
|
@@ -3,13 +3,13 @@ import { jFileLittle } from './file';
|
|
|
3
3
|
import { Readable } from './utils';
|
|
4
4
|
import { ArticleCreation, jArticleList, jArticleLittle } from './article';
|
|
5
5
|
import { jObjectList } from './object';
|
|
6
|
-
import {
|
|
6
|
+
import { jGroupLittle } from './group';
|
|
7
7
|
export type TvChannelType = 'DYNAMIC' | 'SLIDESHOW';
|
|
8
8
|
export type TVChannelCustom<T extends TvChannelType> = jObjectList & {
|
|
9
9
|
tvChannelType: T;
|
|
10
10
|
tvChannelBackgroundColor: string | null;
|
|
11
11
|
tvChannelNumImages: number;
|
|
12
|
-
tvChannelGroupTarget?:
|
|
12
|
+
tvChannelGroupTarget?: jGroupLittle;
|
|
13
13
|
tvChannelConfig: {
|
|
14
14
|
backgroundType?: 'color' | 'image';
|
|
15
15
|
globalShowComment?: boolean;
|
package/lib/src/types/user.d.ts
CHANGED
|
@@ -13,11 +13,14 @@ export type jUserLittle = jObjectLittle & {
|
|
|
13
13
|
dateModified: string;
|
|
14
14
|
[key: string]: WidgetsValue;
|
|
15
15
|
};
|
|
16
|
-
export declare const jUserLittleSchema: z.ZodObject<{
|
|
17
|
-
type: z.ZodType<string, z.ZodTypeDef, string>;
|
|
16
|
+
export declare const jUserLittleSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
18
17
|
id: z.ZodType<number, z.ZodTypeDef, number>;
|
|
19
18
|
mainType: z.ZodType<string, z.ZodTypeDef, string>;
|
|
19
|
+
type: z.ZodType<string, z.ZodTypeDef, string>;
|
|
20
20
|
uri: z.ZodType<string, z.ZodTypeDef, string>;
|
|
21
|
+
dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
|
|
22
|
+
dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
|
|
23
|
+
}, {
|
|
21
24
|
title: z.ZodString;
|
|
22
25
|
_url: z.ZodString;
|
|
23
26
|
level: z.ZodNativeEnum<{
|
|
@@ -28,17 +31,18 @@ export declare const jUserLittleSchema: z.ZodObject<{
|
|
|
28
31
|
}>;
|
|
29
32
|
dateCreation: z.ZodString;
|
|
30
33
|
dateModified: z.ZodString;
|
|
31
|
-
}
|
|
34
|
+
}>, "strip", z.ZodUnion<[z.ZodNumber, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodString>, z.ZodString, z.ZodNumber, z.ZodNullable<z.ZodString>, z.ZodString, z.ZodString]>, jUserLittle, jUserLittle>;
|
|
32
35
|
export type jUserList = jUserLittle & {
|
|
33
36
|
active: number;
|
|
34
37
|
};
|
|
35
|
-
export declare const jUserListSchema: z.ZodObject<{
|
|
36
|
-
type: z.ZodType<string, z.ZodTypeDef, string>;
|
|
38
|
+
export declare const jUserListSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
37
39
|
id: z.ZodType<number, z.ZodTypeDef, number>;
|
|
38
40
|
mainType: z.ZodType<string, z.ZodTypeDef, string>;
|
|
41
|
+
type: z.ZodType<string, z.ZodTypeDef, string>;
|
|
39
42
|
uri: z.ZodType<string, z.ZodTypeDef, string>;
|
|
40
|
-
dateCreation: z.
|
|
41
|
-
dateModified: z.
|
|
43
|
+
dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
|
|
44
|
+
dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
|
|
45
|
+
}, {
|
|
42
46
|
title: z.ZodString;
|
|
43
47
|
_url: z.ZodString;
|
|
44
48
|
level: z.ZodNativeEnum<{
|
|
@@ -47,16 +51,20 @@ export declare const jUserListSchema: z.ZodObject<{
|
|
|
47
51
|
readonly EXTERNAL: 3;
|
|
48
52
|
readonly GUEST: 0;
|
|
49
53
|
}>;
|
|
54
|
+
dateCreation: z.ZodString;
|
|
55
|
+
dateModified: z.ZodString;
|
|
56
|
+
}>, {
|
|
50
57
|
active: z.ZodNumber;
|
|
51
|
-
}
|
|
58
|
+
}>, "strip", z.ZodTypeAny, jUserList, jUserList>;
|
|
52
59
|
export declare const validateIsFormatUserList: (object: object) => object is jUserList;
|
|
53
|
-
export declare const jUserViewSchema: z.ZodObject<{
|
|
54
|
-
type: z.ZodType<string, z.ZodTypeDef, string>;
|
|
60
|
+
export declare const jUserViewSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
55
61
|
id: z.ZodType<number, z.ZodTypeDef, number>;
|
|
56
62
|
mainType: z.ZodType<string, z.ZodTypeDef, string>;
|
|
63
|
+
type: z.ZodType<string, z.ZodTypeDef, string>;
|
|
57
64
|
uri: z.ZodType<string, z.ZodTypeDef, string>;
|
|
58
|
-
dateCreation: z.
|
|
59
|
-
dateModified: z.
|
|
65
|
+
dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
|
|
66
|
+
dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
|
|
67
|
+
}, {
|
|
60
68
|
title: z.ZodString;
|
|
61
69
|
_url: z.ZodString;
|
|
62
70
|
level: z.ZodNativeEnum<{
|
|
@@ -65,8 +73,11 @@ export declare const jUserViewSchema: z.ZodObject<{
|
|
|
65
73
|
readonly EXTERNAL: 3;
|
|
66
74
|
readonly GUEST: 0;
|
|
67
75
|
}>;
|
|
76
|
+
dateCreation: z.ZodString;
|
|
77
|
+
dateModified: z.ZodString;
|
|
78
|
+
}>, {
|
|
68
79
|
active: z.ZodNumber;
|
|
69
|
-
}
|
|
80
|
+
}>, "strip", z.ZodTypeAny, jUserList, jUserList>;
|
|
70
81
|
export type jUserView = z.infer<typeof jUserViewSchema>;
|
|
71
82
|
export declare const validateIsFormatUserView: (object: object) => object is jUserList;
|
|
72
83
|
export declare const userMapModelSchema: z.ZodObject<{
|
|
@@ -115,6 +126,7 @@ export declare const userDefaultFieldsTypeSchema: z.ZodObject<{
|
|
|
115
126
|
title: string;
|
|
116
127
|
firstname: string;
|
|
117
128
|
lastname: string;
|
|
129
|
+
function?: string | undefined;
|
|
118
130
|
mail?: string | undefined;
|
|
119
131
|
description?: string | undefined;
|
|
120
132
|
dateOfBirth?: string | undefined;
|
|
@@ -125,7 +137,6 @@ export declare const userDefaultFieldsTypeSchema: z.ZodObject<{
|
|
|
125
137
|
company?: string | undefined;
|
|
126
138
|
country?: string | undefined;
|
|
127
139
|
department?: string | undefined;
|
|
128
|
-
function?: string | undefined;
|
|
129
140
|
webSite?: string | undefined;
|
|
130
141
|
image?: string | undefined;
|
|
131
142
|
userBanner?: string | undefined;
|
|
@@ -138,6 +149,7 @@ export declare const userDefaultFieldsTypeSchema: z.ZodObject<{
|
|
|
138
149
|
title: string;
|
|
139
150
|
firstname: string;
|
|
140
151
|
lastname: string;
|
|
152
|
+
function?: string | undefined;
|
|
141
153
|
mail?: string | undefined;
|
|
142
154
|
description?: string | undefined;
|
|
143
155
|
dateOfBirth?: string | undefined;
|
|
@@ -148,7 +160,6 @@ export declare const userDefaultFieldsTypeSchema: z.ZodObject<{
|
|
|
148
160
|
company?: string | undefined;
|
|
149
161
|
country?: string | undefined;
|
|
150
162
|
department?: string | undefined;
|
|
151
|
-
function?: string | undefined;
|
|
152
163
|
webSite?: string | undefined;
|
|
153
164
|
image?: string | undefined;
|
|
154
165
|
userBanner?: string | undefined;
|
|
@@ -158,8 +169,7 @@ export declare const userDefaultFieldsTypeSchema: z.ZodObject<{
|
|
|
158
169
|
field4?: string | undefined;
|
|
159
170
|
field5?: string | undefined;
|
|
160
171
|
}>;
|
|
161
|
-
export declare const jUserValuesSchema: z.ZodObject<{
|
|
162
|
-
function: z.ZodString;
|
|
172
|
+
export declare const jUserValuesSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
163
173
|
title: z.ZodString;
|
|
164
174
|
firstname: z.ZodString;
|
|
165
175
|
lastname: z.ZodString;
|
|
@@ -173,20 +183,26 @@ export declare const jUserValuesSchema: z.ZodObject<{
|
|
|
173
183
|
company: z.ZodString;
|
|
174
184
|
country: z.ZodString;
|
|
175
185
|
department: z.ZodString;
|
|
186
|
+
function: z.ZodString;
|
|
176
187
|
webSite: z.ZodString;
|
|
188
|
+
image: z.ZodUnion<[z.ZodString, z.ZodUndefined]>;
|
|
177
189
|
userBanner: z.ZodUnion<[z.ZodString, z.ZodUndefined]>;
|
|
178
190
|
field1: z.ZodString;
|
|
179
191
|
field2: z.ZodString;
|
|
180
192
|
field3: z.ZodString;
|
|
181
193
|
field4: z.ZodString;
|
|
182
194
|
field5: z.ZodString;
|
|
195
|
+
}, {
|
|
183
196
|
level: z.ZodString;
|
|
184
197
|
image: z.ZodOptional<z.ZodString>;
|
|
185
|
-
businessManagementManager: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
186
|
-
type: z.ZodType<string, z.ZodTypeDef, string>;
|
|
198
|
+
businessManagementManager: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
187
199
|
id: z.ZodType<number, z.ZodTypeDef, number>;
|
|
188
200
|
mainType: z.ZodType<string, z.ZodTypeDef, string>;
|
|
201
|
+
type: z.ZodType<string, z.ZodTypeDef, string>;
|
|
189
202
|
uri: z.ZodType<string, z.ZodTypeDef, string>;
|
|
203
|
+
dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
|
|
204
|
+
dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
|
|
205
|
+
}, {
|
|
190
206
|
title: z.ZodString;
|
|
191
207
|
_url: z.ZodString;
|
|
192
208
|
level: z.ZodNativeEnum<{
|
|
@@ -197,12 +213,15 @@ export declare const jUserValuesSchema: z.ZodObject<{
|
|
|
197
213
|
}>;
|
|
198
214
|
dateCreation: z.ZodString;
|
|
199
215
|
dateModified: z.ZodString;
|
|
200
|
-
}
|
|
201
|
-
businessNetworkingUserToCompanySrc: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
202
|
-
type: z.ZodType<string, z.ZodTypeDef, string>;
|
|
216
|
+
}>, "strip", z.ZodUnion<[z.ZodNumber, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodString>, z.ZodString, z.ZodNumber, z.ZodNullable<z.ZodString>, z.ZodString, z.ZodString]>, jUserLittle, jUserLittle>, "many">>;
|
|
217
|
+
businessNetworkingUserToCompanySrc: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
203
218
|
id: z.ZodType<number, z.ZodTypeDef, number>;
|
|
204
219
|
mainType: z.ZodType<string, z.ZodTypeDef, string>;
|
|
220
|
+
type: z.ZodType<string, z.ZodTypeDef, string>;
|
|
205
221
|
uri: z.ZodType<string, z.ZodTypeDef, string>;
|
|
222
|
+
dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
|
|
223
|
+
dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
|
|
224
|
+
}, {
|
|
206
225
|
title: z.ZodString;
|
|
207
226
|
_url: z.ZodString;
|
|
208
227
|
level: z.ZodNativeEnum<{
|
|
@@ -213,8 +232,8 @@ export declare const jUserValuesSchema: z.ZodObject<{
|
|
|
213
232
|
}>;
|
|
214
233
|
dateCreation: z.ZodString;
|
|
215
234
|
dateModified: z.ZodString;
|
|
216
|
-
}
|
|
217
|
-
}
|
|
235
|
+
}>, "strip", z.ZodUnion<[z.ZodNumber, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodString>, z.ZodString, z.ZodNumber, z.ZodNullable<z.ZodString>, z.ZodString, z.ZodString]>, jUserLittle, jUserLittle>, "many">>;
|
|
236
|
+
}>, "strip", z.ZodTypeAny, {
|
|
218
237
|
function: string;
|
|
219
238
|
title: string;
|
|
220
239
|
level: string;
|
|
@@ -236,8 +255,8 @@ export declare const jUserValuesSchema: z.ZodObject<{
|
|
|
236
255
|
field4: string;
|
|
237
256
|
field5: string;
|
|
238
257
|
mail?: string | undefined;
|
|
239
|
-
userBanner?: string | undefined;
|
|
240
258
|
image?: string | undefined;
|
|
259
|
+
userBanner?: string | undefined;
|
|
241
260
|
businessManagementManager?: jUserLittle[] | undefined;
|
|
242
261
|
businessNetworkingUserToCompanySrc?: jUserLittle[] | undefined;
|
|
243
262
|
}, {
|
|
@@ -262,8 +281,8 @@ export declare const jUserValuesSchema: z.ZodObject<{
|
|
|
262
281
|
field4: string;
|
|
263
282
|
field5: string;
|
|
264
283
|
mail?: string | undefined;
|
|
265
|
-
userBanner?: string | undefined;
|
|
266
284
|
image?: string | undefined;
|
|
285
|
+
userBanner?: string | undefined;
|
|
267
286
|
businessManagementManager?: jUserLittle[] | undefined;
|
|
268
287
|
businessNetworkingUserToCompanySrc?: jUserLittle[] | undefined;
|
|
269
288
|
}>;
|
|
@@ -309,18 +328,17 @@ export declare const userFieldSchema: z.ZodObject<{
|
|
|
309
328
|
name: z.ZodString;
|
|
310
329
|
value: z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>;
|
|
311
330
|
}, "strip", z.ZodTypeAny, {
|
|
312
|
-
value:
|
|
331
|
+
value: string | Record<string, any>;
|
|
313
332
|
name: string;
|
|
314
333
|
}, {
|
|
315
|
-
value:
|
|
334
|
+
value: string | Record<string, any>;
|
|
316
335
|
name: string;
|
|
317
336
|
}>;
|
|
318
337
|
export type UserField = z.infer<typeof userFieldSchema>;
|
|
319
338
|
export declare const userFieldsSchema: z.ZodEnum<["popover"]>;
|
|
320
339
|
export type UserFieldsType = z.infer<typeof userFieldsSchema>;
|
|
321
340
|
export declare const userValuesSchema: z.ZodObject<{
|
|
322
|
-
values: z.ZodObject<{
|
|
323
|
-
function: z.ZodString;
|
|
341
|
+
values: z.ZodObject<z.objectUtil.extendShape<{
|
|
324
342
|
title: z.ZodString;
|
|
325
343
|
firstname: z.ZodString;
|
|
326
344
|
lastname: z.ZodString;
|
|
@@ -334,20 +352,26 @@ export declare const userValuesSchema: z.ZodObject<{
|
|
|
334
352
|
company: z.ZodString;
|
|
335
353
|
country: z.ZodString;
|
|
336
354
|
department: z.ZodString;
|
|
355
|
+
function: z.ZodString;
|
|
337
356
|
webSite: z.ZodString;
|
|
357
|
+
image: z.ZodUnion<[z.ZodString, z.ZodUndefined]>;
|
|
338
358
|
userBanner: z.ZodUnion<[z.ZodString, z.ZodUndefined]>;
|
|
339
359
|
field1: z.ZodString;
|
|
340
360
|
field2: z.ZodString;
|
|
341
361
|
field3: z.ZodString;
|
|
342
362
|
field4: z.ZodString;
|
|
343
363
|
field5: z.ZodString;
|
|
364
|
+
}, {
|
|
344
365
|
level: z.ZodString;
|
|
345
366
|
image: z.ZodOptional<z.ZodString>;
|
|
346
|
-
businessManagementManager: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
347
|
-
type: z.ZodType<string, z.ZodTypeDef, string>;
|
|
367
|
+
businessManagementManager: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
348
368
|
id: z.ZodType<number, z.ZodTypeDef, number>;
|
|
349
369
|
mainType: z.ZodType<string, z.ZodTypeDef, string>;
|
|
370
|
+
type: z.ZodType<string, z.ZodTypeDef, string>;
|
|
350
371
|
uri: z.ZodType<string, z.ZodTypeDef, string>;
|
|
372
|
+
dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
|
|
373
|
+
dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
|
|
374
|
+
}, {
|
|
351
375
|
title: z.ZodString;
|
|
352
376
|
_url: z.ZodString;
|
|
353
377
|
level: z.ZodNativeEnum<{
|
|
@@ -358,12 +382,15 @@ export declare const userValuesSchema: z.ZodObject<{
|
|
|
358
382
|
}>;
|
|
359
383
|
dateCreation: z.ZodString;
|
|
360
384
|
dateModified: z.ZodString;
|
|
361
|
-
}
|
|
362
|
-
businessNetworkingUserToCompanySrc: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
363
|
-
type: z.ZodType<string, z.ZodTypeDef, string>;
|
|
385
|
+
}>, "strip", z.ZodUnion<[z.ZodNumber, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodString>, z.ZodString, z.ZodNumber, z.ZodNullable<z.ZodString>, z.ZodString, z.ZodString]>, jUserLittle, jUserLittle>, "many">>;
|
|
386
|
+
businessNetworkingUserToCompanySrc: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
364
387
|
id: z.ZodType<number, z.ZodTypeDef, number>;
|
|
365
388
|
mainType: z.ZodType<string, z.ZodTypeDef, string>;
|
|
389
|
+
type: z.ZodType<string, z.ZodTypeDef, string>;
|
|
366
390
|
uri: z.ZodType<string, z.ZodTypeDef, string>;
|
|
391
|
+
dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
|
|
392
|
+
dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
|
|
393
|
+
}, {
|
|
367
394
|
title: z.ZodString;
|
|
368
395
|
_url: z.ZodString;
|
|
369
396
|
level: z.ZodNativeEnum<{
|
|
@@ -374,8 +401,8 @@ export declare const userValuesSchema: z.ZodObject<{
|
|
|
374
401
|
}>;
|
|
375
402
|
dateCreation: z.ZodString;
|
|
376
403
|
dateModified: z.ZodString;
|
|
377
|
-
}
|
|
378
|
-
}
|
|
404
|
+
}>, "strip", z.ZodUnion<[z.ZodNumber, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodString>, z.ZodString, z.ZodNumber, z.ZodNullable<z.ZodString>, z.ZodString, z.ZodString]>, jUserLittle, jUserLittle>, "many">>;
|
|
405
|
+
}>, "strip", z.ZodTypeAny, {
|
|
379
406
|
function: string;
|
|
380
407
|
title: string;
|
|
381
408
|
level: string;
|
|
@@ -397,8 +424,8 @@ export declare const userValuesSchema: z.ZodObject<{
|
|
|
397
424
|
field4: string;
|
|
398
425
|
field5: string;
|
|
399
426
|
mail?: string | undefined;
|
|
400
|
-
userBanner?: string | undefined;
|
|
401
427
|
image?: string | undefined;
|
|
428
|
+
userBanner?: string | undefined;
|
|
402
429
|
businessManagementManager?: jUserLittle[] | undefined;
|
|
403
430
|
businessNetworkingUserToCompanySrc?: jUserLittle[] | undefined;
|
|
404
431
|
}, {
|
|
@@ -423,8 +450,8 @@ export declare const userValuesSchema: z.ZodObject<{
|
|
|
423
450
|
field4: string;
|
|
424
451
|
field5: string;
|
|
425
452
|
mail?: string | undefined;
|
|
426
|
-
userBanner?: string | undefined;
|
|
427
453
|
image?: string | undefined;
|
|
454
|
+
userBanner?: string | undefined;
|
|
428
455
|
businessManagementManager?: jUserLittle[] | undefined;
|
|
429
456
|
businessNetworkingUserToCompanySrc?: jUserLittle[] | undefined;
|
|
430
457
|
}>;
|
|
@@ -452,8 +479,8 @@ export declare const userValuesSchema: z.ZodObject<{
|
|
|
452
479
|
field4: string;
|
|
453
480
|
field5: string;
|
|
454
481
|
mail?: string | undefined;
|
|
455
|
-
userBanner?: string | undefined;
|
|
456
482
|
image?: string | undefined;
|
|
483
|
+
userBanner?: string | undefined;
|
|
457
484
|
businessManagementManager?: jUserLittle[] | undefined;
|
|
458
485
|
businessNetworkingUserToCompanySrc?: jUserLittle[] | undefined;
|
|
459
486
|
};
|
|
@@ -481,8 +508,8 @@ export declare const userValuesSchema: z.ZodObject<{
|
|
|
481
508
|
field4: string;
|
|
482
509
|
field5: string;
|
|
483
510
|
mail?: string | undefined;
|
|
484
|
-
userBanner?: string | undefined;
|
|
485
511
|
image?: string | undefined;
|
|
512
|
+
userBanner?: string | undefined;
|
|
486
513
|
businessManagementManager?: jUserLittle[] | undefined;
|
|
487
514
|
businessNetworkingUserToCompanySrc?: jUserLittle[] | undefined;
|
|
488
515
|
};
|
|
@@ -507,11 +534,11 @@ export declare const businessContactSchema: z.ZodObject<{
|
|
|
507
534
|
title: string;
|
|
508
535
|
firstname: string;
|
|
509
536
|
lastname: string;
|
|
537
|
+
function?: string | undefined;
|
|
538
|
+
uri?: string | undefined;
|
|
510
539
|
mail?: string | undefined;
|
|
511
540
|
phoneNumber?: string | undefined;
|
|
512
541
|
company?: string | undefined;
|
|
513
|
-
function?: string | undefined;
|
|
514
|
-
uri?: string | undefined;
|
|
515
542
|
field1?: string | undefined;
|
|
516
543
|
field2?: string | undefined;
|
|
517
544
|
field3?: string | undefined;
|
|
@@ -521,11 +548,11 @@ export declare const businessContactSchema: z.ZodObject<{
|
|
|
521
548
|
title: string;
|
|
522
549
|
firstname: string;
|
|
523
550
|
lastname: string;
|
|
551
|
+
function?: string | undefined;
|
|
552
|
+
uri?: string | undefined;
|
|
524
553
|
mail?: string | undefined;
|
|
525
554
|
phoneNumber?: string | undefined;
|
|
526
555
|
company?: string | undefined;
|
|
527
|
-
function?: string | undefined;
|
|
528
|
-
uri?: string | undefined;
|
|
529
556
|
field1?: string | undefined;
|
|
530
557
|
field2?: string | undefined;
|
|
531
558
|
field3?: string | undefined;
|
package/lib/src/types/utils.d.ts
CHANGED
|
@@ -41,7 +41,7 @@ export interface PagingResults<T> {
|
|
|
41
41
|
data: Array<T>;
|
|
42
42
|
facets: null | Array<{}>;
|
|
43
43
|
idQuery?: number | null;
|
|
44
|
-
limit: number;
|
|
44
|
+
limit: number | null;
|
|
45
45
|
page: number;
|
|
46
46
|
}
|
|
47
47
|
export type ApiPagingResults<T, U = BaseMessages> = ApiWrapper<PagingResults<T>, U>;
|
|
@@ -132,7 +132,7 @@ export declare const filterSchema: z.ZodObject<{
|
|
|
132
132
|
isNull: z.ZodOptional<z.ZodBoolean>;
|
|
133
133
|
isNotNull: z.ZodOptional<z.ZodBoolean>;
|
|
134
134
|
}, "strip", z.ZodTypeAny, {
|
|
135
|
-
value:
|
|
135
|
+
value: string | number | boolean | string[] | {
|
|
136
136
|
srcId: string | number;
|
|
137
137
|
srcType: string;
|
|
138
138
|
} | {
|
|
@@ -141,16 +141,7 @@ export declare const filterSchema: z.ZodObject<{
|
|
|
141
141
|
} | {
|
|
142
142
|
start: string;
|
|
143
143
|
end: string;
|
|
144
|
-
}
|
|
145
|
-
srcId: string | number;
|
|
146
|
-
srcType: string;
|
|
147
|
-
} | {
|
|
148
|
-
targetId: string | number;
|
|
149
|
-
targetType: string;
|
|
150
|
-
} | {
|
|
151
|
-
start: string;
|
|
152
|
-
end: string;
|
|
153
|
-
} | undefined);
|
|
144
|
+
};
|
|
154
145
|
name: string;
|
|
155
146
|
operator?: "<" | ">" | "<=" | ">=" | "!=" | "<>" | "like" | "between" | "is" | "is not" | "in" | "link" | "match" | "equal" | undefined;
|
|
156
147
|
method?: "<" | ">" | "<=" | ">=" | "!=" | "<>" | "like" | "between" | "is" | "is not" | "in" | "link" | "match" | "equal" | "+" | "-" | undefined;
|
|
@@ -158,16 +149,7 @@ export declare const filterSchema: z.ZodObject<{
|
|
|
158
149
|
isNull?: boolean | undefined;
|
|
159
150
|
isNotNull?: boolean | undefined;
|
|
160
151
|
}, {
|
|
161
|
-
value:
|
|
162
|
-
srcId: string | number;
|
|
163
|
-
srcType: string;
|
|
164
|
-
} | {
|
|
165
|
-
targetId: string | number;
|
|
166
|
-
targetType: string;
|
|
167
|
-
} | {
|
|
168
|
-
start: string;
|
|
169
|
-
end: string;
|
|
170
|
-
}) & (string | number | boolean | string[] | {
|
|
152
|
+
value: string | number | boolean | string[] | {
|
|
171
153
|
srcId: string | number;
|
|
172
154
|
srcType: string;
|
|
173
155
|
} | {
|
|
@@ -176,7 +158,7 @@ export declare const filterSchema: z.ZodObject<{
|
|
|
176
158
|
} | {
|
|
177
159
|
start: string;
|
|
178
160
|
end: string;
|
|
179
|
-
}
|
|
161
|
+
};
|
|
180
162
|
name: string;
|
|
181
163
|
operator?: "<" | ">" | "<=" | ">=" | "!=" | "<>" | "like" | "between" | "is" | "is not" | "in" | "link" | "match" | "equal" | undefined;
|
|
182
164
|
method?: "<" | ">" | "<=" | ">=" | "!=" | "<>" | "like" | "between" | "is" | "is not" | "in" | "link" | "match" | "equal" | "+" | "-" | undefined;
|
|
@@ -232,7 +214,7 @@ export declare const filtersSchema: z.ZodArray<z.ZodObject<{
|
|
|
232
214
|
isNull: z.ZodOptional<z.ZodBoolean>;
|
|
233
215
|
isNotNull: z.ZodOptional<z.ZodBoolean>;
|
|
234
216
|
}, "strip", z.ZodTypeAny, {
|
|
235
|
-
value:
|
|
217
|
+
value: string | number | boolean | string[] | {
|
|
236
218
|
srcId: string | number;
|
|
237
219
|
srcType: string;
|
|
238
220
|
} | {
|
|
@@ -241,16 +223,7 @@ export declare const filtersSchema: z.ZodArray<z.ZodObject<{
|
|
|
241
223
|
} | {
|
|
242
224
|
start: string;
|
|
243
225
|
end: string;
|
|
244
|
-
}
|
|
245
|
-
srcId: string | number;
|
|
246
|
-
srcType: string;
|
|
247
|
-
} | {
|
|
248
|
-
targetId: string | number;
|
|
249
|
-
targetType: string;
|
|
250
|
-
} | {
|
|
251
|
-
start: string;
|
|
252
|
-
end: string;
|
|
253
|
-
} | undefined);
|
|
226
|
+
};
|
|
254
227
|
name: string;
|
|
255
228
|
operator?: "<" | ">" | "<=" | ">=" | "!=" | "<>" | "like" | "between" | "is" | "is not" | "in" | "link" | "match" | "equal" | undefined;
|
|
256
229
|
method?: "<" | ">" | "<=" | ">=" | "!=" | "<>" | "like" | "between" | "is" | "is not" | "in" | "link" | "match" | "equal" | "+" | "-" | undefined;
|
|
@@ -258,16 +231,7 @@ export declare const filtersSchema: z.ZodArray<z.ZodObject<{
|
|
|
258
231
|
isNull?: boolean | undefined;
|
|
259
232
|
isNotNull?: boolean | undefined;
|
|
260
233
|
}, {
|
|
261
|
-
value:
|
|
262
|
-
srcId: string | number;
|
|
263
|
-
srcType: string;
|
|
264
|
-
} | {
|
|
265
|
-
targetId: string | number;
|
|
266
|
-
targetType: string;
|
|
267
|
-
} | {
|
|
268
|
-
start: string;
|
|
269
|
-
end: string;
|
|
270
|
-
}) & (string | number | boolean | string[] | {
|
|
234
|
+
value: string | number | boolean | string[] | {
|
|
271
235
|
srcId: string | number;
|
|
272
236
|
srcType: string;
|
|
273
237
|
} | {
|
|
@@ -276,7 +240,7 @@ export declare const filtersSchema: z.ZodArray<z.ZodObject<{
|
|
|
276
240
|
} | {
|
|
277
241
|
start: string;
|
|
278
242
|
end: string;
|
|
279
|
-
}
|
|
243
|
+
};
|
|
280
244
|
name: string;
|
|
281
245
|
operator?: "<" | ">" | "<=" | ">=" | "!=" | "<>" | "like" | "between" | "is" | "is not" | "in" | "link" | "match" | "equal" | undefined;
|
|
282
246
|
method?: "<" | ">" | "<=" | ">=" | "!=" | "<>" | "like" | "between" | "is" | "is not" | "in" | "link" | "match" | "equal" | "+" | "-" | undefined;
|
|
@@ -351,7 +315,7 @@ export declare const objectListPropsSchema: z.ZodObject<{
|
|
|
351
315
|
isNull: z.ZodOptional<z.ZodBoolean>;
|
|
352
316
|
isNotNull: z.ZodOptional<z.ZodBoolean>;
|
|
353
317
|
}, "strip", z.ZodTypeAny, {
|
|
354
|
-
value:
|
|
318
|
+
value: string | number | boolean | string[] | {
|
|
355
319
|
srcId: string | number;
|
|
356
320
|
srcType: string;
|
|
357
321
|
} | {
|
|
@@ -360,16 +324,7 @@ export declare const objectListPropsSchema: z.ZodObject<{
|
|
|
360
324
|
} | {
|
|
361
325
|
start: string;
|
|
362
326
|
end: string;
|
|
363
|
-
}
|
|
364
|
-
srcId: string | number;
|
|
365
|
-
srcType: string;
|
|
366
|
-
} | {
|
|
367
|
-
targetId: string | number;
|
|
368
|
-
targetType: string;
|
|
369
|
-
} | {
|
|
370
|
-
start: string;
|
|
371
|
-
end: string;
|
|
372
|
-
} | undefined);
|
|
327
|
+
};
|
|
373
328
|
name: string;
|
|
374
329
|
operator?: "<" | ">" | "<=" | ">=" | "!=" | "<>" | "like" | "between" | "is" | "is not" | "in" | "link" | "match" | "equal" | undefined;
|
|
375
330
|
method?: "<" | ">" | "<=" | ">=" | "!=" | "<>" | "like" | "between" | "is" | "is not" | "in" | "link" | "match" | "equal" | "+" | "-" | undefined;
|
|
@@ -377,16 +332,7 @@ export declare const objectListPropsSchema: z.ZodObject<{
|
|
|
377
332
|
isNull?: boolean | undefined;
|
|
378
333
|
isNotNull?: boolean | undefined;
|
|
379
334
|
}, {
|
|
380
|
-
value:
|
|
381
|
-
srcId: string | number;
|
|
382
|
-
srcType: string;
|
|
383
|
-
} | {
|
|
384
|
-
targetId: string | number;
|
|
385
|
-
targetType: string;
|
|
386
|
-
} | {
|
|
387
|
-
start: string;
|
|
388
|
-
end: string;
|
|
389
|
-
}) & (string | number | boolean | string[] | {
|
|
335
|
+
value: string | number | boolean | string[] | {
|
|
390
336
|
srcId: string | number;
|
|
391
337
|
srcType: string;
|
|
392
338
|
} | {
|
|
@@ -395,7 +341,7 @@ export declare const objectListPropsSchema: z.ZodObject<{
|
|
|
395
341
|
} | {
|
|
396
342
|
start: string;
|
|
397
343
|
end: string;
|
|
398
|
-
}
|
|
344
|
+
};
|
|
399
345
|
name: string;
|
|
400
346
|
operator?: "<" | ">" | "<=" | ">=" | "!=" | "<>" | "like" | "between" | "is" | "is not" | "in" | "link" | "match" | "equal" | undefined;
|
|
401
347
|
method?: "<" | ">" | "<=" | ">=" | "!=" | "<>" | "like" | "between" | "is" | "is not" | "in" | "link" | "match" | "equal" | "+" | "-" | undefined;
|
|
@@ -421,7 +367,7 @@ export declare const objectListPropsSchema: z.ZodObject<{
|
|
|
421
367
|
additionalFilter?: {} | undefined;
|
|
422
368
|
facets?: {}[] | undefined;
|
|
423
369
|
filters?: {
|
|
424
|
-
value:
|
|
370
|
+
value: string | number | boolean | string[] | {
|
|
425
371
|
srcId: string | number;
|
|
426
372
|
srcType: string;
|
|
427
373
|
} | {
|
|
@@ -430,16 +376,7 @@ export declare const objectListPropsSchema: z.ZodObject<{
|
|
|
430
376
|
} | {
|
|
431
377
|
start: string;
|
|
432
378
|
end: string;
|
|
433
|
-
}
|
|
434
|
-
srcId: string | number;
|
|
435
|
-
srcType: string;
|
|
436
|
-
} | {
|
|
437
|
-
targetId: string | number;
|
|
438
|
-
targetType: string;
|
|
439
|
-
} | {
|
|
440
|
-
start: string;
|
|
441
|
-
end: string;
|
|
442
|
-
} | undefined);
|
|
379
|
+
};
|
|
443
380
|
name: string;
|
|
444
381
|
operator?: "<" | ">" | "<=" | ">=" | "!=" | "<>" | "like" | "between" | "is" | "is not" | "in" | "link" | "match" | "equal" | undefined;
|
|
445
382
|
method?: "<" | ">" | "<=" | ">=" | "!=" | "<>" | "like" | "between" | "is" | "is not" | "in" | "link" | "match" | "equal" | "+" | "-" | undefined;
|
|
@@ -459,16 +396,7 @@ export declare const objectListPropsSchema: z.ZodObject<{
|
|
|
459
396
|
additionalFilter?: {} | undefined;
|
|
460
397
|
facets?: {}[] | undefined;
|
|
461
398
|
filters?: {
|
|
462
|
-
value:
|
|
463
|
-
srcId: string | number;
|
|
464
|
-
srcType: string;
|
|
465
|
-
} | {
|
|
466
|
-
targetId: string | number;
|
|
467
|
-
targetType: string;
|
|
468
|
-
} | {
|
|
469
|
-
start: string;
|
|
470
|
-
end: string;
|
|
471
|
-
}) & (string | number | boolean | string[] | {
|
|
399
|
+
value: string | number | boolean | string[] | {
|
|
472
400
|
srcId: string | number;
|
|
473
401
|
srcType: string;
|
|
474
402
|
} | {
|
|
@@ -477,7 +405,7 @@ export declare const objectListPropsSchema: z.ZodObject<{
|
|
|
477
405
|
} | {
|
|
478
406
|
start: string;
|
|
479
407
|
end: string;
|
|
480
|
-
}
|
|
408
|
+
};
|
|
481
409
|
name: string;
|
|
482
410
|
operator?: "<" | ">" | "<=" | ">=" | "!=" | "<>" | "like" | "between" | "is" | "is not" | "in" | "link" | "match" | "equal" | undefined;
|
|
483
411
|
method?: "<" | ">" | "<=" | ">=" | "!=" | "<>" | "like" | "between" | "is" | "is not" | "in" | "link" | "match" | "equal" | "+" | "-" | undefined;
|