jamespot-user-api 1.0.180 → 1.0.182
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 +17 -17
- package/documentation/classes/JIAApi.html +1 -1
- package/documentation/classes/JLandApi.html +1 -1
- package/documentation/classes/JMessengerApi.html +1 -1
- package/documentation/classes/JObjectApi.html +1 -1
- package/documentation/classes/JSearchApi.html +6 -6
- package/documentation/classes/JShareApi.html +1 -1
- package/documentation/classes/JSocialActionApi.html +1 -1
- package/documentation/classes/JTaxonomyApi.html +2 -2
- package/documentation/classes/JUserApi.html +10 -8
- package/documentation/classes/JWedocApi.html +1 -1
- package/documentation/classes/JWidgetApi.html +1 -1
- package/documentation/classes/JamespotUserApi.html +1 -1
- package/documentation/classes/Network.html +1 -1
- package/documentation/classes/TVDisplayApi.html +1 -1
- package/documentation/classes/WindowBrowser.html +1 -1
- package/documentation/enums/BookmarkType.html +1 -1
- package/documentation/enums/Format.html +1 -1
- package/documentation/enums/StudioApplicationStatus.html +1 -1
- package/documentation/enums/WidgetsName.html +1 -1
- package/documentation/enums/_GroupModerateStatus.html +1 -0
- package/documentation/index.html +1 -1
- package/documentation/interfaces/AccessRightObject.html +1 -1
- package/documentation/interfaces/ApiDefaultWrapper.html +1 -1
- package/documentation/interfaces/ApiWrapper.html +1 -1
- package/documentation/interfaces/BaseMessage.html +1 -1
- package/documentation/interfaces/FileBankProps.html +1 -1
- package/documentation/interfaces/FolderProps.html +1 -1
- package/documentation/interfaces/ListFilterSpec.html +1 -1
- package/documentation/interfaces/OF.html +1 -1
- package/documentation/interfaces/PagingResults.html +1 -1
- package/documentation/interfaces/RootFolderProps.html +1 -1
- package/documentation/interfaces/SpotProps.html +1 -1
- package/documentation/interfaces/TaxonomyCreate.html +1 -1
- package/documentation/interfaces/WidgetType.html +1 -1
- package/documentation/interfaces/WindowInterface.html +1 -1
- package/documentation/modules.html +11 -11
- package/jest.config.ts +1 -2
- package/lib/jamespot-user-api.js +1 -1
- package/lib/jamespot-user-api.js.map +1 -1
- package/lib/jest.config.d.ts +0 -1
- package/lib/jest.config.vm.d.ts +0 -1
- package/lib/src/apis/admin/utils.d.ts +1 -1
- package/lib/src/apis/article/article.d.ts +3 -1
- package/lib/src/apis/file/file.d.ts +2 -2
- package/lib/src/apis/filebank/filebank.d.ts +2 -2
- package/lib/src/apis/group/group.d.ts +218 -9
- package/lib/src/apis/group/group.mock.d.ts +6 -6
- package/lib/src/apis/jland/jland.d.ts +2 -31
- package/lib/src/apis/jland/jland.mock.d.ts +3 -2
- package/lib/src/apis/taxonomy/taxonomy.d.ts +2 -2
- package/lib/src/apis/tvDisplay/tvDisplay.d.ts +962 -3
- package/lib/src/apis/user/user.d.ts +11 -103
- package/lib/src/apis/user/user.mock.d.ts +5 -1
- package/lib/src/apis/widget/widget.d.ts +2 -2
- package/lib/src/apis/widget/widget.mock.d.ts +2 -2
- package/lib/src/types/adminUtils.d.ts +10 -10
- package/lib/src/types/article.d.ts +3065 -4796
- package/lib/src/types/asei.d.ts +231 -413
- package/lib/src/types/assetReservation.d.ts +1051 -1768
- package/lib/src/types/autocomplete.d.ts +14 -14
- package/lib/src/types/businessContact.d.ts +136 -502
- package/lib/src/types/comment.d.ts +231 -413
- package/lib/src/types/diapazone.d.ts +4 -4
- package/lib/src/types/faq.d.ts +1365 -2277
- package/lib/src/types/global.d.ts +2 -2
- package/lib/src/types/group.d.ts +1881 -127
- package/lib/src/types/hook.d.ts +1 -2
- package/lib/src/types/index.d.ts +1 -0
- package/lib/src/types/jLand.d.ts +1175 -0
- package/lib/src/types/mediaLibrary.d.ts +241 -423
- package/lib/src/types/meeting.d.ts +723 -1269
- package/lib/src/types/model.d.ts +653 -89
- package/lib/src/types/object.d.ts +2 -2
- package/lib/src/types/pollSurvey.d.ts +856 -1402
- package/lib/src/types/quizz.d.ts +723 -1269
- package/lib/src/types/search.d.ts +8 -8
- package/lib/src/types/share.d.ts +8 -8
- package/lib/src/types/socialEvent.d.ts +723 -1269
- package/lib/src/types/support.d.ts +723 -1269
- package/lib/src/types/surveyDate.d.ts +726 -1308
- package/lib/src/types/tvDisplay.d.ts +18544 -49
- package/lib/src/types/uri.d.ts +44 -8
- package/lib/src/types/wedoc.d.ts +633 -27
- package/lib/src/types/widgets/common.d.ts +1 -18
- package/lib/src/types/widgets/default.d.ts +538 -1719
- package/lib/src/types/widgets/widgetApi.d.ts +0 -1
- package/lib/src/types/widgets/widgetArticleAttachment.d.ts +0 -1
- package/lib/src/types/widgets/widgetArticleButton.d.ts +0 -1
- package/lib/src/types/widgets/widgetArticleGallery.d.ts +0 -1
- package/lib/src/types/widgets/widgetArticleImage.d.ts +0 -1
- package/lib/src/types/widgets/widgetArticleSlider.d.ts +0 -1
- package/lib/src/types/widgets/widgetArticleText.d.ts +0 -1
- package/lib/src/types/widgets/widgetArticleTitle.d.ts +0 -1
- package/lib/src/types/widgets/widgetCheckList.d.ts +7 -4
- package/lib/src/types/widgets/widgetDatasourceTable.d.ts +0 -1
- package/lib/src/types/widgets/widgetExcelDatasourceTable.d.ts +2 -26
- package/lib/src/types/widgets.d.ts +3573 -4860
- package/lib/src/util/Test.d.ts +5 -498
- package/lib/src/util/group.d.ts +2 -2
- package/lib/src/util/index.d.ts +1 -0
- package/lib/src/util/widget.d.ts +83 -0
- package/package.json +1 -1
- package/phpunitMock/articleCreate-businessContact.json +23 -0
- package/phpunitMock/articleCreate-jLandMap.json +49 -0
- package/phpunitMock/articleDelete-businessContact.json +12 -0
- package/phpunitMock/articleUpdate-businessContact.json +50 -0
- package/phpunitMock/objectListJLandJLandList-success.json +14 -0
- package/phpunitMock/userSignIn-success.json +31 -0
- package/documentation/enums/GroupModerateStatus.html +0 -1
- package/documentation/interfaces/Category.html +0 -1
package/lib/src/types/group.d.ts
CHANGED
|
@@ -1,40 +1,95 @@
|
|
|
1
|
-
import { jUserLittle } from './user';
|
|
2
|
-
import { Filters, FormatList, Orders } from './utils';
|
|
3
|
-
import { Rights } from './common';
|
|
4
1
|
import { z } from 'zod';
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
export declare const createGroupSchema: z.ZodObject<{
|
|
3
|
+
type: z.ZodString;
|
|
4
|
+
title: z.ZodString;
|
|
5
|
+
description: z.ZodString;
|
|
6
|
+
privacy: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
7
|
+
edito: z.ZodNullable<z.ZodString>;
|
|
8
|
+
language: z.ZodString;
|
|
9
|
+
category: z.ZodString;
|
|
10
|
+
idCommunity: z.ZodOptional<z.ZodString>;
|
|
11
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
12
|
type: string;
|
|
8
13
|
title: string;
|
|
9
14
|
description: string;
|
|
15
|
+
language: string;
|
|
10
16
|
privacy: string | number;
|
|
11
17
|
edito: string | null;
|
|
18
|
+
category: string;
|
|
19
|
+
idCommunity?: string | undefined;
|
|
20
|
+
}, {
|
|
21
|
+
type: string;
|
|
22
|
+
title: string;
|
|
23
|
+
description: string;
|
|
12
24
|
language: string;
|
|
25
|
+
privacy: string | number;
|
|
26
|
+
edito: string | null;
|
|
13
27
|
category: string;
|
|
14
|
-
idCommunity?: string;
|
|
15
|
-
}
|
|
16
|
-
export type
|
|
28
|
+
idCommunity?: string | undefined;
|
|
29
|
+
}>;
|
|
30
|
+
export type CreateGroup = z.infer<typeof createGroupSchema>;
|
|
31
|
+
export declare const spotBannerImageSchema: z.ZodObject<{
|
|
32
|
+
id: z.ZodString;
|
|
33
|
+
name: z.ZodString;
|
|
34
|
+
size: z.ZodString;
|
|
35
|
+
}, "strip", z.ZodTypeAny, {
|
|
17
36
|
id: string;
|
|
37
|
+
size: string;
|
|
18
38
|
name: string;
|
|
39
|
+
}, {
|
|
40
|
+
id: string;
|
|
19
41
|
size: string;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
export type
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
42
|
+
name: string;
|
|
43
|
+
}>;
|
|
44
|
+
export type SpotBannerImage = z.infer<typeof spotBannerImageSchema>;
|
|
45
|
+
export declare const groupUserLevelSchema: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
|
46
|
+
export type GroupUserLevel = z.infer<typeof groupUserLevelSchema>;
|
|
47
|
+
export declare const groupMemberLevelSchema: z.ZodObject<{
|
|
48
|
+
level: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
|
49
|
+
user: z.ZodObject<z.objectUtil.extendShape<{
|
|
50
|
+
id: z.ZodType<number, z.ZodTypeDef, number>;
|
|
51
|
+
mainType: z.ZodType<string, z.ZodTypeDef, string>;
|
|
52
|
+
type: z.ZodType<string, z.ZodTypeDef, string>;
|
|
53
|
+
uri: z.ZodType<string, z.ZodTypeDef, string>;
|
|
54
|
+
dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
|
|
55
|
+
dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
|
|
56
|
+
}, {
|
|
57
|
+
title: z.ZodString;
|
|
58
|
+
_url: z.ZodString;
|
|
59
|
+
level: z.ZodNativeEnum<{
|
|
60
|
+
readonly ADMIN: 9;
|
|
61
|
+
readonly USER: 5;
|
|
62
|
+
readonly EXTERNAL: 3;
|
|
63
|
+
readonly GUEST: 0;
|
|
64
|
+
}>;
|
|
65
|
+
dateCreation: z.ZodString;
|
|
66
|
+
dateModified: z.ZodString;
|
|
67
|
+
}>, "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]>, import("./user").jUserLittle, import("./user").jUserLittle>;
|
|
68
|
+
}, "strip", z.ZodTypeAny, {
|
|
69
|
+
level: 0 | 2 | 1 | 3;
|
|
70
|
+
user: import("./objectBase").jObjectBase & {
|
|
71
|
+
title: string;
|
|
72
|
+
_url: string;
|
|
73
|
+
} & {
|
|
74
|
+
[key: string]: string | number | null;
|
|
75
|
+
level: 0 | 3 | 5 | 9;
|
|
76
|
+
dateCreation: string;
|
|
77
|
+
dateModified: string;
|
|
78
|
+
};
|
|
79
|
+
}, {
|
|
80
|
+
level: 0 | 2 | 1 | 3;
|
|
81
|
+
user: import("./objectBase").jObjectBase & {
|
|
82
|
+
title: string;
|
|
83
|
+
_url: string;
|
|
84
|
+
} & {
|
|
85
|
+
[key: string]: string | number | null;
|
|
86
|
+
level: 0 | 3 | 5 | 9;
|
|
87
|
+
dateCreation: string;
|
|
88
|
+
dateModified: string;
|
|
89
|
+
};
|
|
90
|
+
}>;
|
|
91
|
+
export type GroupMemberLevel = z.infer<typeof groupMemberLevelSchema>;
|
|
92
|
+
export declare const userLevelSpotSchema: z.ZodObject<{
|
|
38
93
|
RF_Constant_levelName: z.ZodString;
|
|
39
94
|
RF_delete: z.ZodBoolean;
|
|
40
95
|
RF_editing: z.ZodBoolean;
|
|
@@ -68,105 +123,1536 @@ export declare const userlevelSpotShema: z.ZodObject<{
|
|
|
68
123
|
RF_spotit: boolean;
|
|
69
124
|
RF_spotit_own: boolean;
|
|
70
125
|
}>;
|
|
71
|
-
export type UserLevelSpot = z.infer<typeof
|
|
72
|
-
export
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
126
|
+
export type UserLevelSpot = z.infer<typeof userLevelSpotSchema>;
|
|
127
|
+
export declare enum _GroupModerateStatus {
|
|
128
|
+
SPOT_MODERATE_IGNORE = 0,
|
|
129
|
+
SPOT_MODERATE_ACCEPT = 1,
|
|
130
|
+
SPOT_MODERATE_PENDING = 2
|
|
131
|
+
}
|
|
132
|
+
export declare const groupModerateStatusSchema: z.ZodNativeEnum<typeof _GroupModerateStatus>;
|
|
133
|
+
export type GroupModerateStatus = z.infer<typeof groupModerateStatusSchema>;
|
|
134
|
+
export declare const groupMemberSchema: z.ZodObject<{
|
|
135
|
+
userLevelSpot: z.ZodObject<{
|
|
136
|
+
RF_Constant_levelName: z.ZodString;
|
|
137
|
+
RF_delete: z.ZodBoolean;
|
|
138
|
+
RF_editing: z.ZodBoolean;
|
|
139
|
+
RF_level: z.ZodNumber;
|
|
140
|
+
RF_levelName: z.ZodString;
|
|
141
|
+
RF_levelName_Trad: z.ZodString;
|
|
142
|
+
RF_parameters: z.ZodBoolean;
|
|
143
|
+
RF_setAdmin: z.ZodBoolean;
|
|
144
|
+
RF_spotit: z.ZodBoolean;
|
|
145
|
+
RF_spotit_own: z.ZodBoolean;
|
|
146
|
+
}, "strip", z.ZodTypeAny, {
|
|
147
|
+
RF_Constant_levelName: string;
|
|
148
|
+
RF_delete: boolean;
|
|
149
|
+
RF_editing: boolean;
|
|
150
|
+
RF_level: number;
|
|
151
|
+
RF_levelName: string;
|
|
152
|
+
RF_levelName_Trad: string;
|
|
153
|
+
RF_parameters: boolean;
|
|
154
|
+
RF_setAdmin: boolean;
|
|
155
|
+
RF_spotit: boolean;
|
|
156
|
+
RF_spotit_own: boolean;
|
|
157
|
+
}, {
|
|
158
|
+
RF_Constant_levelName: string;
|
|
159
|
+
RF_delete: boolean;
|
|
160
|
+
RF_editing: boolean;
|
|
161
|
+
RF_level: number;
|
|
162
|
+
RF_levelName: string;
|
|
163
|
+
RF_levelName_Trad: string;
|
|
164
|
+
RF_parameters: boolean;
|
|
165
|
+
RF_setAdmin: boolean;
|
|
166
|
+
RF_spotit: boolean;
|
|
167
|
+
RF_spotit_own: boolean;
|
|
168
|
+
}>;
|
|
169
|
+
spotMinLevelToInvit: z.ZodNumber;
|
|
170
|
+
userRights: z.ZodObject<{
|
|
171
|
+
create: z.ZodType<boolean, z.ZodTypeDef, boolean>;
|
|
172
|
+
read: z.ZodType<boolean, z.ZodTypeDef, boolean>;
|
|
173
|
+
publish: z.ZodType<boolean, z.ZodTypeDef, boolean>;
|
|
174
|
+
administrate: z.ZodType<boolean, z.ZodTypeDef, boolean>;
|
|
175
|
+
update: z.ZodType<boolean, z.ZodTypeDef, boolean>;
|
|
176
|
+
delete: z.ZodType<boolean, z.ZodTypeDef, boolean>;
|
|
177
|
+
comment: z.ZodType<boolean, z.ZodTypeDef, boolean>;
|
|
178
|
+
member: z.ZodType<boolean, z.ZodTypeDef, boolean>;
|
|
179
|
+
}, "strip", z.ZodTypeAny, import("./common").Rights, import("./common").Rights>;
|
|
180
|
+
accessRequestStatus: z.ZodOptional<z.ZodNativeEnum<typeof _GroupModerateStatus>>;
|
|
181
|
+
}, "strip", z.ZodTypeAny, {
|
|
182
|
+
userLevelSpot: {
|
|
183
|
+
RF_Constant_levelName: string;
|
|
184
|
+
RF_delete: boolean;
|
|
185
|
+
RF_editing: boolean;
|
|
186
|
+
RF_level: number;
|
|
187
|
+
RF_levelName: string;
|
|
188
|
+
RF_levelName_Trad: string;
|
|
189
|
+
RF_parameters: boolean;
|
|
190
|
+
RF_setAdmin: boolean;
|
|
191
|
+
RF_spotit: boolean;
|
|
192
|
+
RF_spotit_own: boolean;
|
|
193
|
+
};
|
|
194
|
+
spotMinLevelToInvit: number;
|
|
195
|
+
userRights: import("./common").Rights;
|
|
196
|
+
accessRequestStatus?: _GroupModerateStatus | undefined;
|
|
197
|
+
}, {
|
|
198
|
+
userLevelSpot: {
|
|
199
|
+
RF_Constant_levelName: string;
|
|
200
|
+
RF_delete: boolean;
|
|
201
|
+
RF_editing: boolean;
|
|
202
|
+
RF_level: number;
|
|
203
|
+
RF_levelName: string;
|
|
204
|
+
RF_levelName_Trad: string;
|
|
205
|
+
RF_parameters: boolean;
|
|
206
|
+
RF_setAdmin: boolean;
|
|
207
|
+
RF_spotit: boolean;
|
|
208
|
+
RF_spotit_own: boolean;
|
|
209
|
+
};
|
|
210
|
+
spotMinLevelToInvit: number;
|
|
211
|
+
userRights: import("./common").Rights;
|
|
212
|
+
accessRequestStatus?: _GroupModerateStatus | undefined;
|
|
213
|
+
}>;
|
|
214
|
+
export type UserLevelAndRight = z.infer<typeof groupMemberSchema>;
|
|
215
|
+
export declare const valueLabelSchema: z.ZodObject<{
|
|
216
|
+
value: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
217
|
+
label: z.ZodString;
|
|
218
|
+
}, "strip", z.ZodTypeAny, {
|
|
219
|
+
value: string | number;
|
|
220
|
+
label: string;
|
|
221
|
+
}, {
|
|
222
|
+
value: string | number;
|
|
223
|
+
label: string;
|
|
224
|
+
}>;
|
|
225
|
+
export type ValueLabel = z.infer<typeof valueLabelSchema>;
|
|
226
|
+
export declare const groupWidgetLittleSchema: z.ZodObject<{
|
|
227
|
+
id: z.ZodString;
|
|
228
|
+
title: z.ZodString;
|
|
229
|
+
}, "strip", z.ZodTypeAny, {
|
|
230
|
+
id: string;
|
|
231
|
+
title: string;
|
|
232
|
+
}, {
|
|
233
|
+
id: string;
|
|
234
|
+
title: string;
|
|
235
|
+
}>;
|
|
236
|
+
export type GroupWidgetLittle = z.infer<typeof groupWidgetLittleSchema>;
|
|
237
|
+
export declare const groupCustomWidgetSchema: z.ZodObject<{
|
|
238
|
+
idSpot: z.ZodString;
|
|
239
|
+
idOrder: z.ZodString;
|
|
240
|
+
idWidget: z.ZodString;
|
|
241
|
+
type: z.ZodString;
|
|
242
|
+
title: z.ZodString;
|
|
243
|
+
url: z.ZodString;
|
|
244
|
+
visible: z.ZodString;
|
|
245
|
+
}, "strip", z.ZodTypeAny, {
|
|
246
|
+
type: string;
|
|
247
|
+
title: string;
|
|
248
|
+
url: string;
|
|
249
|
+
idSpot: string;
|
|
250
|
+
idOrder: string;
|
|
251
|
+
idWidget: string;
|
|
252
|
+
visible: string;
|
|
253
|
+
}, {
|
|
254
|
+
type: string;
|
|
255
|
+
title: string;
|
|
256
|
+
url: string;
|
|
257
|
+
idSpot: string;
|
|
258
|
+
idOrder: string;
|
|
259
|
+
idWidget: string;
|
|
260
|
+
visible: string;
|
|
261
|
+
}>;
|
|
262
|
+
export type GroupCustomWidget = z.infer<typeof groupCustomWidgetSchema>;
|
|
263
|
+
export declare const groupPropertiesOptionsSchema: z.ZodObject<{
|
|
264
|
+
edit_access: z.ZodArray<z.ZodIntersection<z.ZodObject<{
|
|
265
|
+
value: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
266
|
+
label: z.ZodString;
|
|
267
|
+
}, "strip", z.ZodTypeAny, {
|
|
268
|
+
value: string | number;
|
|
269
|
+
label: string;
|
|
270
|
+
}, {
|
|
271
|
+
value: string | number;
|
|
272
|
+
label: string;
|
|
273
|
+
}>, z.ZodObject<{
|
|
274
|
+
description: z.ZodString;
|
|
275
|
+
}, "strip", z.ZodTypeAny, {
|
|
276
|
+
description: string;
|
|
277
|
+
}, {
|
|
278
|
+
description: string;
|
|
279
|
+
}>>, "many">;
|
|
280
|
+
commentLevel: z.ZodArray<z.ZodIntersection<z.ZodObject<{
|
|
281
|
+
value: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
282
|
+
label: z.ZodString;
|
|
283
|
+
}, "strip", z.ZodTypeAny, {
|
|
284
|
+
value: string | number;
|
|
285
|
+
label: string;
|
|
286
|
+
}, {
|
|
287
|
+
value: string | number;
|
|
288
|
+
label: string;
|
|
289
|
+
}>, z.ZodObject<{
|
|
290
|
+
selected: z.ZodOptional<z.ZodBoolean>;
|
|
291
|
+
}, "strip", z.ZodTypeAny, {
|
|
292
|
+
selected?: boolean | undefined;
|
|
293
|
+
}, {
|
|
294
|
+
selected?: boolean | undefined;
|
|
295
|
+
}>>, "many">;
|
|
296
|
+
displayType: z.ZodArray<z.ZodObject<{
|
|
297
|
+
value: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
298
|
+
label: z.ZodString;
|
|
299
|
+
}, "strip", z.ZodTypeAny, {
|
|
300
|
+
value: string | number;
|
|
301
|
+
label: string;
|
|
302
|
+
}, {
|
|
303
|
+
value: string | number;
|
|
304
|
+
label: string;
|
|
305
|
+
}>, "many">;
|
|
306
|
+
user_level_signup: z.ZodArray<z.ZodIntersection<z.ZodObject<{
|
|
307
|
+
value: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
308
|
+
label: z.ZodString;
|
|
309
|
+
}, "strip", z.ZodTypeAny, {
|
|
310
|
+
value: string | number;
|
|
311
|
+
label: string;
|
|
312
|
+
}, {
|
|
313
|
+
value: string | number;
|
|
314
|
+
label: string;
|
|
315
|
+
}>, z.ZodObject<{
|
|
316
|
+
selected: z.ZodOptional<z.ZodBoolean>;
|
|
317
|
+
}, "strip", z.ZodTypeAny, {
|
|
318
|
+
selected?: boolean | undefined;
|
|
319
|
+
}, {
|
|
320
|
+
selected?: boolean | undefined;
|
|
321
|
+
}>>, "many">;
|
|
322
|
+
spot_right_user: z.ZodArray<z.ZodIntersection<z.ZodObject<{
|
|
323
|
+
value: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
324
|
+
label: z.ZodString;
|
|
325
|
+
}, "strip", z.ZodTypeAny, {
|
|
326
|
+
value: string | number;
|
|
327
|
+
label: string;
|
|
328
|
+
}, {
|
|
329
|
+
value: string | number;
|
|
330
|
+
label: string;
|
|
331
|
+
}>, z.ZodObject<{
|
|
332
|
+
selected: z.ZodOptional<z.ZodBoolean>;
|
|
333
|
+
}, "strip", z.ZodTypeAny, {
|
|
334
|
+
selected?: boolean | undefined;
|
|
335
|
+
}, {
|
|
336
|
+
selected?: boolean | undefined;
|
|
337
|
+
}>>, "many">;
|
|
338
|
+
useTeaser: z.ZodArray<z.ZodObject<{
|
|
339
|
+
value: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
340
|
+
label: z.ZodString;
|
|
341
|
+
}, "strip", z.ZodTypeAny, {
|
|
342
|
+
value: string | number;
|
|
343
|
+
label: string;
|
|
344
|
+
}, {
|
|
345
|
+
value: string | number;
|
|
346
|
+
label: string;
|
|
347
|
+
}>, "many">;
|
|
348
|
+
spotDefaultPublishType: z.ZodArray<z.ZodString, "many">;
|
|
349
|
+
mail_frequency: z.ZodArray<z.ZodObject<{
|
|
350
|
+
value: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
351
|
+
label: z.ZodString;
|
|
352
|
+
}, "strip", z.ZodTypeAny, {
|
|
353
|
+
value: string | number;
|
|
354
|
+
label: string;
|
|
355
|
+
}, {
|
|
356
|
+
value: string | number;
|
|
357
|
+
label: string;
|
|
358
|
+
}>, "many">;
|
|
359
|
+
widgets: z.ZodArray<z.ZodObject<{
|
|
360
|
+
id: z.ZodString;
|
|
361
|
+
title: z.ZodString;
|
|
362
|
+
}, "strip", z.ZodTypeAny, {
|
|
363
|
+
id: string;
|
|
364
|
+
title: string;
|
|
365
|
+
}, {
|
|
366
|
+
id: string;
|
|
367
|
+
title: string;
|
|
368
|
+
}>, "many">;
|
|
369
|
+
custom_widgets: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
370
|
+
idSpot: z.ZodString;
|
|
371
|
+
idOrder: z.ZodString;
|
|
372
|
+
idWidget: z.ZodString;
|
|
373
|
+
type: z.ZodString;
|
|
374
|
+
title: z.ZodString;
|
|
375
|
+
url: z.ZodString;
|
|
376
|
+
visible: z.ZodString;
|
|
377
|
+
}, "strip", z.ZodTypeAny, {
|
|
378
|
+
type: string;
|
|
379
|
+
title: string;
|
|
380
|
+
url: string;
|
|
381
|
+
idSpot: string;
|
|
382
|
+
idOrder: string;
|
|
383
|
+
idWidget: string;
|
|
384
|
+
visible: string;
|
|
385
|
+
}, {
|
|
386
|
+
type: string;
|
|
387
|
+
title: string;
|
|
388
|
+
url: string;
|
|
389
|
+
idSpot: string;
|
|
390
|
+
idOrder: string;
|
|
391
|
+
idWidget: string;
|
|
392
|
+
visible: string;
|
|
393
|
+
}>>, z.ZodArray<z.ZodNever, "many">]>;
|
|
394
|
+
isArchive: z.ZodNumber;
|
|
395
|
+
fileSyncVersioningType: z.ZodArray<z.ZodObject<{
|
|
396
|
+
value: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
397
|
+
label: z.ZodString;
|
|
398
|
+
}, "strip", z.ZodTypeAny, {
|
|
399
|
+
value: string | number;
|
|
400
|
+
label: string;
|
|
401
|
+
}, {
|
|
402
|
+
value: string | number;
|
|
403
|
+
label: string;
|
|
404
|
+
}>, "many">;
|
|
405
|
+
}, "strip", z.ZodTypeAny, {
|
|
406
|
+
edit_access: ({
|
|
407
|
+
value: string | number;
|
|
408
|
+
label: string;
|
|
409
|
+
} & {
|
|
410
|
+
description: string;
|
|
411
|
+
})[];
|
|
412
|
+
commentLevel: ({
|
|
413
|
+
value: string | number;
|
|
414
|
+
label: string;
|
|
415
|
+
} & {
|
|
416
|
+
selected?: boolean | undefined;
|
|
417
|
+
})[];
|
|
418
|
+
displayType: {
|
|
419
|
+
value: string | number;
|
|
420
|
+
label: string;
|
|
421
|
+
}[];
|
|
422
|
+
user_level_signup: ({
|
|
423
|
+
value: string | number;
|
|
424
|
+
label: string;
|
|
425
|
+
} & {
|
|
426
|
+
selected?: boolean | undefined;
|
|
427
|
+
})[];
|
|
428
|
+
spot_right_user: ({
|
|
429
|
+
value: string | number;
|
|
430
|
+
label: string;
|
|
431
|
+
} & {
|
|
432
|
+
selected?: boolean | undefined;
|
|
433
|
+
})[];
|
|
434
|
+
useTeaser: {
|
|
435
|
+
value: string | number;
|
|
436
|
+
label: string;
|
|
437
|
+
}[];
|
|
438
|
+
spotDefaultPublishType: string[];
|
|
439
|
+
mail_frequency: {
|
|
440
|
+
value: string | number;
|
|
441
|
+
label: string;
|
|
442
|
+
}[];
|
|
443
|
+
widgets: {
|
|
444
|
+
id: string;
|
|
445
|
+
title: string;
|
|
446
|
+
}[];
|
|
447
|
+
custom_widgets: never[] | Record<string, {
|
|
448
|
+
type: string;
|
|
449
|
+
title: string;
|
|
450
|
+
url: string;
|
|
451
|
+
idSpot: string;
|
|
452
|
+
idOrder: string;
|
|
453
|
+
idWidget: string;
|
|
454
|
+
visible: string;
|
|
455
|
+
}>;
|
|
456
|
+
isArchive: number;
|
|
457
|
+
fileSyncVersioningType: {
|
|
458
|
+
value: string | number;
|
|
459
|
+
label: string;
|
|
460
|
+
}[];
|
|
461
|
+
}, {
|
|
462
|
+
edit_access: ({
|
|
463
|
+
value: string | number;
|
|
464
|
+
label: string;
|
|
465
|
+
} & {
|
|
466
|
+
description: string;
|
|
467
|
+
})[];
|
|
468
|
+
commentLevel: ({
|
|
469
|
+
value: string | number;
|
|
470
|
+
label: string;
|
|
471
|
+
} & {
|
|
472
|
+
selected?: boolean | undefined;
|
|
473
|
+
})[];
|
|
474
|
+
displayType: {
|
|
475
|
+
value: string | number;
|
|
476
|
+
label: string;
|
|
477
|
+
}[];
|
|
478
|
+
user_level_signup: ({
|
|
479
|
+
value: string | number;
|
|
480
|
+
label: string;
|
|
481
|
+
} & {
|
|
482
|
+
selected?: boolean | undefined;
|
|
483
|
+
})[];
|
|
484
|
+
spot_right_user: ({
|
|
485
|
+
value: string | number;
|
|
486
|
+
label: string;
|
|
487
|
+
} & {
|
|
488
|
+
selected?: boolean | undefined;
|
|
489
|
+
})[];
|
|
490
|
+
useTeaser: {
|
|
491
|
+
value: string | number;
|
|
492
|
+
label: string;
|
|
493
|
+
}[];
|
|
494
|
+
spotDefaultPublishType: string[];
|
|
495
|
+
mail_frequency: {
|
|
496
|
+
value: string | number;
|
|
497
|
+
label: string;
|
|
498
|
+
}[];
|
|
499
|
+
widgets: {
|
|
500
|
+
id: string;
|
|
501
|
+
title: string;
|
|
502
|
+
}[];
|
|
503
|
+
custom_widgets: never[] | Record<string, {
|
|
504
|
+
type: string;
|
|
505
|
+
title: string;
|
|
506
|
+
url: string;
|
|
507
|
+
idSpot: string;
|
|
508
|
+
idOrder: string;
|
|
509
|
+
idWidget: string;
|
|
510
|
+
visible: string;
|
|
511
|
+
}>;
|
|
512
|
+
isArchive: number;
|
|
513
|
+
fileSyncVersioningType: {
|
|
514
|
+
value: string | number;
|
|
515
|
+
label: string;
|
|
516
|
+
}[];
|
|
517
|
+
}>;
|
|
518
|
+
export type GroupPropertiesOptions = z.infer<typeof groupPropertiesOptionsSchema>;
|
|
519
|
+
export declare const rssTypeSchema: z.ZodObject<{
|
|
520
|
+
url: z.ZodString;
|
|
521
|
+
idUser: z.ZodNumber;
|
|
522
|
+
send: z.ZodOptional<z.ZodBoolean>;
|
|
523
|
+
_user: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
524
|
+
id: z.ZodType<number, z.ZodTypeDef, number>;
|
|
525
|
+
mainType: z.ZodType<string, z.ZodTypeDef, string>;
|
|
526
|
+
type: z.ZodType<string, z.ZodTypeDef, string>;
|
|
527
|
+
uri: z.ZodType<string, z.ZodTypeDef, string>;
|
|
528
|
+
dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
|
|
529
|
+
dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
|
|
530
|
+
}, {
|
|
531
|
+
title: z.ZodString;
|
|
532
|
+
_url: z.ZodString;
|
|
533
|
+
level: z.ZodNativeEnum<{
|
|
534
|
+
readonly ADMIN: 9;
|
|
535
|
+
readonly USER: 5;
|
|
536
|
+
readonly EXTERNAL: 3;
|
|
537
|
+
readonly GUEST: 0;
|
|
538
|
+
}>;
|
|
539
|
+
dateCreation: z.ZodString;
|
|
540
|
+
dateModified: z.ZodString;
|
|
541
|
+
}>, "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]>, import("./user").jUserLittle, import("./user").jUserLittle>>;
|
|
542
|
+
date: z.ZodOptional<z.ZodString>;
|
|
543
|
+
error: z.ZodOptional<z.ZodString>;
|
|
544
|
+
}, "strip", z.ZodTypeAny, {
|
|
545
|
+
url: string;
|
|
546
|
+
idUser: number;
|
|
547
|
+
date?: string | undefined;
|
|
548
|
+
send?: boolean | undefined;
|
|
549
|
+
_user?: import("./user").jUserLittle | undefined;
|
|
550
|
+
error?: string | undefined;
|
|
551
|
+
}, {
|
|
552
|
+
url: string;
|
|
553
|
+
idUser: number;
|
|
554
|
+
date?: string | undefined;
|
|
555
|
+
send?: boolean | undefined;
|
|
556
|
+
_user?: import("./user").jUserLittle | undefined;
|
|
557
|
+
error?: string | undefined;
|
|
558
|
+
}>;
|
|
559
|
+
export type RssType = z.infer<typeof rssTypeSchema>;
|
|
560
|
+
export declare const groupPropertiesSchema: z.ZodObject<{
|
|
561
|
+
edit_access: z.ZodUnion<[z.ZodLiteral<"">, z.ZodLiteral<"author">]>;
|
|
562
|
+
commentLevel: z.ZodUnion<[z.ZodLiteral<"-1">, z.ZodLiteral<"1">, z.ZodLiteral<"2">, z.ZodLiteral<"3">]>;
|
|
563
|
+
user_level_signup: z.ZodUnion<[z.ZodLiteral<"">, z.ZodLiteral<"1">, z.ZodLiteral<"2">, z.ZodLiteral<"3">]>;
|
|
564
|
+
nounsubscribe: z.ZodUnion<[z.ZodLiteral<"0">, z.ZodLiteral<"1">]>;
|
|
565
|
+
useTeaser: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"">, z.ZodLiteral<"0">, z.ZodLiteral<"1">]>>;
|
|
566
|
+
displayType: z.ZodString;
|
|
567
|
+
spot_right_user: z.ZodString;
|
|
568
|
+
rss_feed: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
569
|
+
url: z.ZodString;
|
|
570
|
+
idUser: z.ZodNumber;
|
|
571
|
+
send: z.ZodOptional<z.ZodBoolean>;
|
|
572
|
+
_user: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
573
|
+
id: z.ZodType<number, z.ZodTypeDef, number>;
|
|
574
|
+
mainType: z.ZodType<string, z.ZodTypeDef, string>;
|
|
575
|
+
type: z.ZodType<string, z.ZodTypeDef, string>;
|
|
576
|
+
uri: z.ZodType<string, z.ZodTypeDef, string>;
|
|
577
|
+
dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
|
|
578
|
+
dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
|
|
579
|
+
}, {
|
|
580
|
+
title: z.ZodString;
|
|
581
|
+
_url: z.ZodString;
|
|
582
|
+
level: z.ZodNativeEnum<{
|
|
583
|
+
readonly ADMIN: 9;
|
|
584
|
+
readonly USER: 5;
|
|
585
|
+
readonly EXTERNAL: 3;
|
|
586
|
+
readonly GUEST: 0;
|
|
587
|
+
}>;
|
|
588
|
+
dateCreation: z.ZodString;
|
|
589
|
+
dateModified: z.ZodString;
|
|
590
|
+
}>, "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]>, import("./user").jUserLittle, import("./user").jUserLittle>>;
|
|
591
|
+
date: z.ZodOptional<z.ZodString>;
|
|
592
|
+
error: z.ZodOptional<z.ZodString>;
|
|
593
|
+
}, "strip", z.ZodTypeAny, {
|
|
594
|
+
url: string;
|
|
595
|
+
idUser: number;
|
|
596
|
+
date?: string | undefined;
|
|
597
|
+
send?: boolean | undefined;
|
|
598
|
+
_user?: import("./user").jUserLittle | undefined;
|
|
599
|
+
error?: string | undefined;
|
|
600
|
+
}, {
|
|
601
|
+
url: string;
|
|
602
|
+
idUser: number;
|
|
603
|
+
date?: string | undefined;
|
|
604
|
+
send?: boolean | undefined;
|
|
605
|
+
_user?: import("./user").jUserLittle | undefined;
|
|
606
|
+
error?: string | undefined;
|
|
607
|
+
}>, "many">>;
|
|
608
|
+
spotDefaultPublishType: z.ZodString;
|
|
609
|
+
mail_frequency: z.ZodString;
|
|
610
|
+
mail_comment: z.ZodUnion<[z.ZodLiteral<"1">, z.ZodLiteral<"">]>;
|
|
611
|
+
mail_spotit: z.ZodUnion<[z.ZodLiteral<"1">, z.ZodLiteral<"">]>;
|
|
612
|
+
mail_subscriber: z.ZodUnion<[z.ZodLiteral<"1">, z.ZodLiteral<"">]>;
|
|
613
|
+
lock_mail: z.ZodUnion<[z.ZodLiteral<"1">, z.ZodLiteral<"">]>;
|
|
614
|
+
activity: z.ZodUnion<[z.ZodLiteral<"1">, z.ZodLiteral<"0">]>;
|
|
615
|
+
publishFolder: z.ZodUnion<[z.ZodLiteral<"1">, z.ZodLiteral<"0">]>;
|
|
616
|
+
notifyFolder: z.ZodUnion<[z.ZodLiteral<"1">, z.ZodLiteral<"0">]>;
|
|
617
|
+
widgets: z.ZodArray<z.ZodString, "many">;
|
|
618
|
+
rss_access: z.ZodUnion<[z.ZodLiteral<"1">, z.ZodLiteral<"0">]>;
|
|
619
|
+
rss_key: z.ZodString;
|
|
620
|
+
fileSyncEnabled: z.ZodUnion<[z.ZodLiteral<"1">, z.ZodLiteral<"0">]>;
|
|
621
|
+
fileBankQuota: z.ZodString;
|
|
622
|
+
fileSyncVersioningType: z.ZodUnion<[z.ZodLiteral<"overwrite">, z.ZodLiteral<"author-change">]>;
|
|
623
|
+
_options: z.ZodObject<{
|
|
624
|
+
edit_access: z.ZodArray<z.ZodIntersection<z.ZodObject<{
|
|
625
|
+
value: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
626
|
+
label: z.ZodString;
|
|
627
|
+
}, "strip", z.ZodTypeAny, {
|
|
628
|
+
value: string | number;
|
|
629
|
+
label: string;
|
|
630
|
+
}, {
|
|
631
|
+
value: string | number;
|
|
632
|
+
label: string;
|
|
633
|
+
}>, z.ZodObject<{
|
|
634
|
+
description: z.ZodString;
|
|
635
|
+
}, "strip", z.ZodTypeAny, {
|
|
636
|
+
description: string;
|
|
637
|
+
}, {
|
|
638
|
+
description: string;
|
|
639
|
+
}>>, "many">;
|
|
640
|
+
commentLevel: z.ZodArray<z.ZodIntersection<z.ZodObject<{
|
|
641
|
+
value: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
642
|
+
label: z.ZodString;
|
|
643
|
+
}, "strip", z.ZodTypeAny, {
|
|
644
|
+
value: string | number;
|
|
645
|
+
label: string;
|
|
646
|
+
}, {
|
|
647
|
+
value: string | number;
|
|
648
|
+
label: string;
|
|
649
|
+
}>, z.ZodObject<{
|
|
650
|
+
selected: z.ZodOptional<z.ZodBoolean>;
|
|
651
|
+
}, "strip", z.ZodTypeAny, {
|
|
652
|
+
selected?: boolean | undefined;
|
|
653
|
+
}, {
|
|
654
|
+
selected?: boolean | undefined;
|
|
655
|
+
}>>, "many">;
|
|
656
|
+
displayType: z.ZodArray<z.ZodObject<{
|
|
657
|
+
value: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
658
|
+
label: z.ZodString;
|
|
659
|
+
}, "strip", z.ZodTypeAny, {
|
|
660
|
+
value: string | number;
|
|
661
|
+
label: string;
|
|
662
|
+
}, {
|
|
663
|
+
value: string | number;
|
|
664
|
+
label: string;
|
|
665
|
+
}>, "many">;
|
|
666
|
+
user_level_signup: z.ZodArray<z.ZodIntersection<z.ZodObject<{
|
|
667
|
+
value: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
668
|
+
label: z.ZodString;
|
|
669
|
+
}, "strip", z.ZodTypeAny, {
|
|
670
|
+
value: string | number;
|
|
671
|
+
label: string;
|
|
672
|
+
}, {
|
|
673
|
+
value: string | number;
|
|
674
|
+
label: string;
|
|
675
|
+
}>, z.ZodObject<{
|
|
676
|
+
selected: z.ZodOptional<z.ZodBoolean>;
|
|
677
|
+
}, "strip", z.ZodTypeAny, {
|
|
678
|
+
selected?: boolean | undefined;
|
|
679
|
+
}, {
|
|
680
|
+
selected?: boolean | undefined;
|
|
681
|
+
}>>, "many">;
|
|
682
|
+
spot_right_user: z.ZodArray<z.ZodIntersection<z.ZodObject<{
|
|
683
|
+
value: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
684
|
+
label: z.ZodString;
|
|
685
|
+
}, "strip", z.ZodTypeAny, {
|
|
686
|
+
value: string | number;
|
|
687
|
+
label: string;
|
|
688
|
+
}, {
|
|
689
|
+
value: string | number;
|
|
690
|
+
label: string;
|
|
691
|
+
}>, z.ZodObject<{
|
|
692
|
+
selected: z.ZodOptional<z.ZodBoolean>;
|
|
693
|
+
}, "strip", z.ZodTypeAny, {
|
|
694
|
+
selected?: boolean | undefined;
|
|
695
|
+
}, {
|
|
696
|
+
selected?: boolean | undefined;
|
|
697
|
+
}>>, "many">;
|
|
698
|
+
useTeaser: z.ZodArray<z.ZodObject<{
|
|
699
|
+
value: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
700
|
+
label: z.ZodString;
|
|
701
|
+
}, "strip", z.ZodTypeAny, {
|
|
702
|
+
value: string | number;
|
|
703
|
+
label: string;
|
|
704
|
+
}, {
|
|
705
|
+
value: string | number;
|
|
706
|
+
label: string;
|
|
707
|
+
}>, "many">;
|
|
708
|
+
spotDefaultPublishType: z.ZodArray<z.ZodString, "many">;
|
|
709
|
+
mail_frequency: z.ZodArray<z.ZodObject<{
|
|
710
|
+
value: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
711
|
+
label: z.ZodString;
|
|
712
|
+
}, "strip", z.ZodTypeAny, {
|
|
713
|
+
value: string | number;
|
|
714
|
+
label: string;
|
|
715
|
+
}, {
|
|
716
|
+
value: string | number;
|
|
717
|
+
label: string;
|
|
718
|
+
}>, "many">;
|
|
719
|
+
widgets: z.ZodArray<z.ZodObject<{
|
|
720
|
+
id: z.ZodString;
|
|
721
|
+
title: z.ZodString;
|
|
722
|
+
}, "strip", z.ZodTypeAny, {
|
|
723
|
+
id: string;
|
|
724
|
+
title: string;
|
|
725
|
+
}, {
|
|
726
|
+
id: string;
|
|
727
|
+
title: string;
|
|
728
|
+
}>, "many">;
|
|
729
|
+
custom_widgets: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
730
|
+
idSpot: z.ZodString;
|
|
731
|
+
idOrder: z.ZodString;
|
|
732
|
+
idWidget: z.ZodString;
|
|
733
|
+
type: z.ZodString;
|
|
734
|
+
title: z.ZodString;
|
|
735
|
+
url: z.ZodString;
|
|
736
|
+
visible: z.ZodString;
|
|
737
|
+
}, "strip", z.ZodTypeAny, {
|
|
738
|
+
type: string;
|
|
739
|
+
title: string;
|
|
740
|
+
url: string;
|
|
741
|
+
idSpot: string;
|
|
742
|
+
idOrder: string;
|
|
743
|
+
idWidget: string;
|
|
744
|
+
visible: string;
|
|
745
|
+
}, {
|
|
746
|
+
type: string;
|
|
747
|
+
title: string;
|
|
748
|
+
url: string;
|
|
749
|
+
idSpot: string;
|
|
750
|
+
idOrder: string;
|
|
751
|
+
idWidget: string;
|
|
752
|
+
visible: string;
|
|
753
|
+
}>>, z.ZodArray<z.ZodNever, "many">]>;
|
|
754
|
+
isArchive: z.ZodNumber;
|
|
755
|
+
fileSyncVersioningType: z.ZodArray<z.ZodObject<{
|
|
756
|
+
value: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
757
|
+
label: z.ZodString;
|
|
758
|
+
}, "strip", z.ZodTypeAny, {
|
|
759
|
+
value: string | number;
|
|
760
|
+
label: string;
|
|
761
|
+
}, {
|
|
762
|
+
value: string | number;
|
|
763
|
+
label: string;
|
|
764
|
+
}>, "many">;
|
|
765
|
+
}, "strip", z.ZodTypeAny, {
|
|
766
|
+
edit_access: ({
|
|
767
|
+
value: string | number;
|
|
768
|
+
label: string;
|
|
769
|
+
} & {
|
|
770
|
+
description: string;
|
|
771
|
+
})[];
|
|
772
|
+
commentLevel: ({
|
|
773
|
+
value: string | number;
|
|
774
|
+
label: string;
|
|
775
|
+
} & {
|
|
776
|
+
selected?: boolean | undefined;
|
|
777
|
+
})[];
|
|
778
|
+
displayType: {
|
|
779
|
+
value: string | number;
|
|
780
|
+
label: string;
|
|
781
|
+
}[];
|
|
782
|
+
user_level_signup: ({
|
|
783
|
+
value: string | number;
|
|
784
|
+
label: string;
|
|
785
|
+
} & {
|
|
786
|
+
selected?: boolean | undefined;
|
|
787
|
+
})[];
|
|
788
|
+
spot_right_user: ({
|
|
789
|
+
value: string | number;
|
|
790
|
+
label: string;
|
|
791
|
+
} & {
|
|
792
|
+
selected?: boolean | undefined;
|
|
793
|
+
})[];
|
|
794
|
+
useTeaser: {
|
|
795
|
+
value: string | number;
|
|
796
|
+
label: string;
|
|
797
|
+
}[];
|
|
798
|
+
spotDefaultPublishType: string[];
|
|
799
|
+
mail_frequency: {
|
|
800
|
+
value: string | number;
|
|
801
|
+
label: string;
|
|
802
|
+
}[];
|
|
803
|
+
widgets: {
|
|
804
|
+
id: string;
|
|
805
|
+
title: string;
|
|
806
|
+
}[];
|
|
807
|
+
custom_widgets: never[] | Record<string, {
|
|
808
|
+
type: string;
|
|
809
|
+
title: string;
|
|
810
|
+
url: string;
|
|
811
|
+
idSpot: string;
|
|
812
|
+
idOrder: string;
|
|
813
|
+
idWidget: string;
|
|
814
|
+
visible: string;
|
|
815
|
+
}>;
|
|
816
|
+
isArchive: number;
|
|
817
|
+
fileSyncVersioningType: {
|
|
818
|
+
value: string | number;
|
|
819
|
+
label: string;
|
|
820
|
+
}[];
|
|
821
|
+
}, {
|
|
822
|
+
edit_access: ({
|
|
823
|
+
value: string | number;
|
|
824
|
+
label: string;
|
|
825
|
+
} & {
|
|
826
|
+
description: string;
|
|
827
|
+
})[];
|
|
828
|
+
commentLevel: ({
|
|
829
|
+
value: string | number;
|
|
830
|
+
label: string;
|
|
831
|
+
} & {
|
|
832
|
+
selected?: boolean | undefined;
|
|
833
|
+
})[];
|
|
834
|
+
displayType: {
|
|
835
|
+
value: string | number;
|
|
836
|
+
label: string;
|
|
837
|
+
}[];
|
|
838
|
+
user_level_signup: ({
|
|
839
|
+
value: string | number;
|
|
840
|
+
label: string;
|
|
841
|
+
} & {
|
|
842
|
+
selected?: boolean | undefined;
|
|
843
|
+
})[];
|
|
844
|
+
spot_right_user: ({
|
|
845
|
+
value: string | number;
|
|
846
|
+
label: string;
|
|
847
|
+
} & {
|
|
848
|
+
selected?: boolean | undefined;
|
|
849
|
+
})[];
|
|
850
|
+
useTeaser: {
|
|
851
|
+
value: string | number;
|
|
852
|
+
label: string;
|
|
853
|
+
}[];
|
|
854
|
+
spotDefaultPublishType: string[];
|
|
855
|
+
mail_frequency: {
|
|
856
|
+
value: string | number;
|
|
857
|
+
label: string;
|
|
858
|
+
}[];
|
|
859
|
+
widgets: {
|
|
860
|
+
id: string;
|
|
861
|
+
title: string;
|
|
862
|
+
}[];
|
|
863
|
+
custom_widgets: never[] | Record<string, {
|
|
864
|
+
type: string;
|
|
865
|
+
title: string;
|
|
866
|
+
url: string;
|
|
867
|
+
idSpot: string;
|
|
868
|
+
idOrder: string;
|
|
869
|
+
idWidget: string;
|
|
870
|
+
visible: string;
|
|
871
|
+
}>;
|
|
872
|
+
isArchive: number;
|
|
873
|
+
fileSyncVersioningType: {
|
|
874
|
+
value: string | number;
|
|
875
|
+
label: string;
|
|
876
|
+
}[];
|
|
877
|
+
}>;
|
|
878
|
+
_errors: z.ZodTuple<[], null>;
|
|
879
|
+
lastRssExecution: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
880
|
+
}, "strip", z.ZodTypeAny, {
|
|
881
|
+
edit_access: "" | "author";
|
|
882
|
+
commentLevel: "1" | "-1" | "2" | "3";
|
|
87
883
|
displayType: string;
|
|
884
|
+
user_level_signup: "" | "1" | "2" | "3";
|
|
88
885
|
spot_right_user: string;
|
|
89
|
-
|
|
886
|
+
useTeaser: "" | "0" | "1" | null;
|
|
90
887
|
spotDefaultPublishType: string;
|
|
91
888
|
mail_frequency: string;
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
889
|
+
widgets: string[];
|
|
890
|
+
fileSyncVersioningType: "overwrite" | "author-change";
|
|
891
|
+
nounsubscribe: "0" | "1";
|
|
892
|
+
rss_feed: {
|
|
893
|
+
url: string;
|
|
894
|
+
idUser: number;
|
|
895
|
+
date?: string | undefined;
|
|
896
|
+
send?: boolean | undefined;
|
|
897
|
+
_user?: import("./user").jUserLittle | undefined;
|
|
898
|
+
error?: string | undefined;
|
|
899
|
+
}[] | null;
|
|
900
|
+
mail_comment: "" | "1";
|
|
901
|
+
mail_spotit: "" | "1";
|
|
902
|
+
mail_subscriber: "" | "1";
|
|
903
|
+
lock_mail: "" | "1";
|
|
904
|
+
activity: "0" | "1";
|
|
905
|
+
publishFolder: "0" | "1";
|
|
906
|
+
notifyFolder: "0" | "1";
|
|
907
|
+
rss_access: "0" | "1";
|
|
101
908
|
rss_key: string;
|
|
102
|
-
fileSyncEnabled:
|
|
909
|
+
fileSyncEnabled: "0" | "1";
|
|
103
910
|
fileBankQuota: string;
|
|
104
|
-
|
|
105
|
-
|
|
911
|
+
_options: {
|
|
912
|
+
edit_access: ({
|
|
913
|
+
value: string | number;
|
|
914
|
+
label: string;
|
|
915
|
+
} & {
|
|
916
|
+
description: string;
|
|
917
|
+
})[];
|
|
918
|
+
commentLevel: ({
|
|
919
|
+
value: string | number;
|
|
920
|
+
label: string;
|
|
921
|
+
} & {
|
|
922
|
+
selected?: boolean | undefined;
|
|
923
|
+
})[];
|
|
924
|
+
displayType: {
|
|
925
|
+
value: string | number;
|
|
926
|
+
label: string;
|
|
927
|
+
}[];
|
|
928
|
+
user_level_signup: ({
|
|
929
|
+
value: string | number;
|
|
930
|
+
label: string;
|
|
931
|
+
} & {
|
|
932
|
+
selected?: boolean | undefined;
|
|
933
|
+
})[];
|
|
934
|
+
spot_right_user: ({
|
|
935
|
+
value: string | number;
|
|
936
|
+
label: string;
|
|
937
|
+
} & {
|
|
938
|
+
selected?: boolean | undefined;
|
|
939
|
+
})[];
|
|
940
|
+
useTeaser: {
|
|
941
|
+
value: string | number;
|
|
942
|
+
label: string;
|
|
943
|
+
}[];
|
|
944
|
+
spotDefaultPublishType: string[];
|
|
945
|
+
mail_frequency: {
|
|
946
|
+
value: string | number;
|
|
947
|
+
label: string;
|
|
948
|
+
}[];
|
|
949
|
+
widgets: {
|
|
950
|
+
id: string;
|
|
951
|
+
title: string;
|
|
952
|
+
}[];
|
|
953
|
+
custom_widgets: never[] | Record<string, {
|
|
954
|
+
type: string;
|
|
955
|
+
title: string;
|
|
956
|
+
url: string;
|
|
957
|
+
idSpot: string;
|
|
958
|
+
idOrder: string;
|
|
959
|
+
idWidget: string;
|
|
960
|
+
visible: string;
|
|
961
|
+
}>;
|
|
962
|
+
isArchive: number;
|
|
963
|
+
fileSyncVersioningType: {
|
|
964
|
+
value: string | number;
|
|
965
|
+
label: string;
|
|
966
|
+
}[];
|
|
967
|
+
};
|
|
106
968
|
_errors: [];
|
|
107
|
-
lastRssExecution?: Record<string, string
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
969
|
+
lastRssExecution?: Record<string, string> | undefined;
|
|
970
|
+
}, {
|
|
971
|
+
edit_access: "" | "author";
|
|
972
|
+
commentLevel: "1" | "-1" | "2" | "3";
|
|
973
|
+
displayType: string;
|
|
974
|
+
user_level_signup: "" | "1" | "2" | "3";
|
|
975
|
+
spot_right_user: string;
|
|
976
|
+
useTeaser: "" | "0" | "1" | null;
|
|
977
|
+
spotDefaultPublishType: string;
|
|
978
|
+
mail_frequency: string;
|
|
979
|
+
widgets: string[];
|
|
980
|
+
fileSyncVersioningType: "overwrite" | "author-change";
|
|
981
|
+
nounsubscribe: "0" | "1";
|
|
982
|
+
rss_feed: {
|
|
983
|
+
url: string;
|
|
984
|
+
idUser: number;
|
|
985
|
+
date?: string | undefined;
|
|
986
|
+
send?: boolean | undefined;
|
|
987
|
+
_user?: import("./user").jUserLittle | undefined;
|
|
988
|
+
error?: string | undefined;
|
|
989
|
+
}[] | null;
|
|
990
|
+
mail_comment: "" | "1";
|
|
991
|
+
mail_spotit: "" | "1";
|
|
992
|
+
mail_subscriber: "" | "1";
|
|
993
|
+
lock_mail: "" | "1";
|
|
994
|
+
activity: "0" | "1";
|
|
995
|
+
publishFolder: "0" | "1";
|
|
996
|
+
notifyFolder: "0" | "1";
|
|
997
|
+
rss_access: "0" | "1";
|
|
998
|
+
rss_key: string;
|
|
999
|
+
fileSyncEnabled: "0" | "1";
|
|
1000
|
+
fileBankQuota: string;
|
|
1001
|
+
_options: {
|
|
1002
|
+
edit_access: ({
|
|
1003
|
+
value: string | number;
|
|
1004
|
+
label: string;
|
|
1005
|
+
} & {
|
|
1006
|
+
description: string;
|
|
1007
|
+
})[];
|
|
1008
|
+
commentLevel: ({
|
|
1009
|
+
value: string | number;
|
|
1010
|
+
label: string;
|
|
1011
|
+
} & {
|
|
1012
|
+
selected?: boolean | undefined;
|
|
1013
|
+
})[];
|
|
1014
|
+
displayType: {
|
|
1015
|
+
value: string | number;
|
|
1016
|
+
label: string;
|
|
1017
|
+
}[];
|
|
1018
|
+
user_level_signup: ({
|
|
1019
|
+
value: string | number;
|
|
1020
|
+
label: string;
|
|
1021
|
+
} & {
|
|
1022
|
+
selected?: boolean | undefined;
|
|
1023
|
+
})[];
|
|
1024
|
+
spot_right_user: ({
|
|
1025
|
+
value: string | number;
|
|
1026
|
+
label: string;
|
|
1027
|
+
} & {
|
|
1028
|
+
selected?: boolean | undefined;
|
|
1029
|
+
})[];
|
|
1030
|
+
useTeaser: {
|
|
1031
|
+
value: string | number;
|
|
1032
|
+
label: string;
|
|
1033
|
+
}[];
|
|
1034
|
+
spotDefaultPublishType: string[];
|
|
1035
|
+
mail_frequency: {
|
|
1036
|
+
value: string | number;
|
|
1037
|
+
label: string;
|
|
1038
|
+
}[];
|
|
1039
|
+
widgets: {
|
|
1040
|
+
id: string;
|
|
1041
|
+
title: string;
|
|
1042
|
+
}[];
|
|
1043
|
+
custom_widgets: never[] | Record<string, {
|
|
1044
|
+
type: string;
|
|
1045
|
+
title: string;
|
|
1046
|
+
url: string;
|
|
1047
|
+
idSpot: string;
|
|
1048
|
+
idOrder: string;
|
|
1049
|
+
idWidget: string;
|
|
1050
|
+
visible: string;
|
|
1051
|
+
}>;
|
|
1052
|
+
isArchive: number;
|
|
1053
|
+
fileSyncVersioningType: {
|
|
1054
|
+
value: string | number;
|
|
1055
|
+
label: string;
|
|
1056
|
+
}[];
|
|
1057
|
+
};
|
|
1058
|
+
_errors: [];
|
|
1059
|
+
lastRssExecution?: Record<string, string> | undefined;
|
|
1060
|
+
}>;
|
|
1061
|
+
export type GroupProperties = z.infer<typeof groupPropertiesSchema>;
|
|
1062
|
+
export declare const updateGroupSchema: z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
1063
|
+
type: z.ZodString;
|
|
1064
|
+
title: z.ZodString;
|
|
1065
|
+
description: z.ZodString;
|
|
1066
|
+
privacy: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
1067
|
+
edito: z.ZodNullable<z.ZodString>;
|
|
1068
|
+
language: z.ZodString;
|
|
1069
|
+
category: z.ZodString;
|
|
1070
|
+
idCommunity: z.ZodOptional<z.ZodString>;
|
|
1071
|
+
}, "strip", z.ZodTypeAny, {
|
|
1072
|
+
type: string;
|
|
145
1073
|
title: string;
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
1074
|
+
description: string;
|
|
1075
|
+
language: string;
|
|
1076
|
+
privacy: string | number;
|
|
1077
|
+
edito: string | null;
|
|
1078
|
+
category: string;
|
|
1079
|
+
idCommunity?: string | undefined;
|
|
1080
|
+
}, {
|
|
1081
|
+
type: string;
|
|
149
1082
|
title: string;
|
|
150
|
-
|
|
1083
|
+
description: string;
|
|
1084
|
+
language: string;
|
|
1085
|
+
privacy: string | number;
|
|
1086
|
+
edito: string | null;
|
|
1087
|
+
category: string;
|
|
1088
|
+
idCommunity?: string | undefined;
|
|
1089
|
+
}>, z.ZodObject<{
|
|
1090
|
+
edit_access: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"">, z.ZodLiteral<"author">]>>;
|
|
1091
|
+
commentLevel: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"-1">, z.ZodLiteral<"1">, z.ZodLiteral<"2">, z.ZodLiteral<"3">]>>;
|
|
1092
|
+
displayType: z.ZodOptional<z.ZodString>;
|
|
1093
|
+
user_level_signup: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"">, z.ZodLiteral<"1">, z.ZodLiteral<"2">, z.ZodLiteral<"3">]>>;
|
|
1094
|
+
spot_right_user: z.ZodOptional<z.ZodString>;
|
|
1095
|
+
useTeaser: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"">, z.ZodLiteral<"0">, z.ZodLiteral<"1">]>>>;
|
|
1096
|
+
spotDefaultPublishType: z.ZodOptional<z.ZodString>;
|
|
1097
|
+
mail_frequency: z.ZodOptional<z.ZodString>;
|
|
1098
|
+
widgets: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1099
|
+
fileSyncVersioningType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"overwrite">, z.ZodLiteral<"author-change">]>>;
|
|
1100
|
+
nounsubscribe: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"0">, z.ZodLiteral<"1">]>>;
|
|
1101
|
+
mail_comment: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"1">, z.ZodLiteral<"">]>>;
|
|
1102
|
+
mail_spotit: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"1">, z.ZodLiteral<"">]>>;
|
|
1103
|
+
mail_subscriber: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"1">, z.ZodLiteral<"">]>>;
|
|
1104
|
+
lock_mail: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"1">, z.ZodLiteral<"">]>>;
|
|
1105
|
+
activity: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"1">, z.ZodLiteral<"0">]>>;
|
|
1106
|
+
publishFolder: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"1">, z.ZodLiteral<"0">]>>;
|
|
1107
|
+
notifyFolder: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"1">, z.ZodLiteral<"0">]>>;
|
|
1108
|
+
rss_access: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"1">, z.ZodLiteral<"0">]>>;
|
|
1109
|
+
rss_key: z.ZodOptional<z.ZodString>;
|
|
1110
|
+
fileSyncEnabled: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"1">, z.ZodLiteral<"0">]>>;
|
|
1111
|
+
fileBankQuota: z.ZodOptional<z.ZodString>;
|
|
1112
|
+
_options: z.ZodOptional<z.ZodObject<{
|
|
1113
|
+
edit_access: z.ZodArray<z.ZodIntersection<z.ZodObject<{
|
|
1114
|
+
value: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
1115
|
+
label: z.ZodString;
|
|
1116
|
+
}, "strip", z.ZodTypeAny, {
|
|
1117
|
+
value: string | number;
|
|
1118
|
+
label: string;
|
|
1119
|
+
}, {
|
|
1120
|
+
value: string | number;
|
|
1121
|
+
label: string;
|
|
1122
|
+
}>, z.ZodObject<{
|
|
1123
|
+
description: z.ZodString;
|
|
1124
|
+
}, "strip", z.ZodTypeAny, {
|
|
1125
|
+
description: string;
|
|
1126
|
+
}, {
|
|
1127
|
+
description: string;
|
|
1128
|
+
}>>, "many">;
|
|
1129
|
+
commentLevel: z.ZodArray<z.ZodIntersection<z.ZodObject<{
|
|
1130
|
+
value: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
1131
|
+
label: z.ZodString;
|
|
1132
|
+
}, "strip", z.ZodTypeAny, {
|
|
1133
|
+
value: string | number;
|
|
1134
|
+
label: string;
|
|
1135
|
+
}, {
|
|
1136
|
+
value: string | number;
|
|
1137
|
+
label: string;
|
|
1138
|
+
}>, z.ZodObject<{
|
|
1139
|
+
selected: z.ZodOptional<z.ZodBoolean>;
|
|
1140
|
+
}, "strip", z.ZodTypeAny, {
|
|
1141
|
+
selected?: boolean | undefined;
|
|
1142
|
+
}, {
|
|
1143
|
+
selected?: boolean | undefined;
|
|
1144
|
+
}>>, "many">;
|
|
1145
|
+
displayType: z.ZodArray<z.ZodObject<{
|
|
1146
|
+
value: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
1147
|
+
label: z.ZodString;
|
|
1148
|
+
}, "strip", z.ZodTypeAny, {
|
|
1149
|
+
value: string | number;
|
|
1150
|
+
label: string;
|
|
1151
|
+
}, {
|
|
1152
|
+
value: string | number;
|
|
1153
|
+
label: string;
|
|
1154
|
+
}>, "many">;
|
|
1155
|
+
user_level_signup: z.ZodArray<z.ZodIntersection<z.ZodObject<{
|
|
1156
|
+
value: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
1157
|
+
label: z.ZodString;
|
|
1158
|
+
}, "strip", z.ZodTypeAny, {
|
|
1159
|
+
value: string | number;
|
|
1160
|
+
label: string;
|
|
1161
|
+
}, {
|
|
1162
|
+
value: string | number;
|
|
1163
|
+
label: string;
|
|
1164
|
+
}>, z.ZodObject<{
|
|
1165
|
+
selected: z.ZodOptional<z.ZodBoolean>;
|
|
1166
|
+
}, "strip", z.ZodTypeAny, {
|
|
1167
|
+
selected?: boolean | undefined;
|
|
1168
|
+
}, {
|
|
1169
|
+
selected?: boolean | undefined;
|
|
1170
|
+
}>>, "many">;
|
|
1171
|
+
spot_right_user: z.ZodArray<z.ZodIntersection<z.ZodObject<{
|
|
1172
|
+
value: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
1173
|
+
label: z.ZodString;
|
|
1174
|
+
}, "strip", z.ZodTypeAny, {
|
|
1175
|
+
value: string | number;
|
|
1176
|
+
label: string;
|
|
1177
|
+
}, {
|
|
1178
|
+
value: string | number;
|
|
1179
|
+
label: string;
|
|
1180
|
+
}>, z.ZodObject<{
|
|
1181
|
+
selected: z.ZodOptional<z.ZodBoolean>;
|
|
1182
|
+
}, "strip", z.ZodTypeAny, {
|
|
1183
|
+
selected?: boolean | undefined;
|
|
1184
|
+
}, {
|
|
1185
|
+
selected?: boolean | undefined;
|
|
1186
|
+
}>>, "many">;
|
|
1187
|
+
useTeaser: z.ZodArray<z.ZodObject<{
|
|
1188
|
+
value: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
1189
|
+
label: z.ZodString;
|
|
1190
|
+
}, "strip", z.ZodTypeAny, {
|
|
1191
|
+
value: string | number;
|
|
1192
|
+
label: string;
|
|
1193
|
+
}, {
|
|
1194
|
+
value: string | number;
|
|
1195
|
+
label: string;
|
|
1196
|
+
}>, "many">;
|
|
1197
|
+
spotDefaultPublishType: z.ZodArray<z.ZodString, "many">;
|
|
1198
|
+
mail_frequency: z.ZodArray<z.ZodObject<{
|
|
1199
|
+
value: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
1200
|
+
label: z.ZodString;
|
|
1201
|
+
}, "strip", z.ZodTypeAny, {
|
|
1202
|
+
value: string | number;
|
|
1203
|
+
label: string;
|
|
1204
|
+
}, {
|
|
1205
|
+
value: string | number;
|
|
1206
|
+
label: string;
|
|
1207
|
+
}>, "many">;
|
|
1208
|
+
widgets: z.ZodArray<z.ZodObject<{
|
|
1209
|
+
id: z.ZodString;
|
|
1210
|
+
title: z.ZodString;
|
|
1211
|
+
}, "strip", z.ZodTypeAny, {
|
|
1212
|
+
id: string;
|
|
1213
|
+
title: string;
|
|
1214
|
+
}, {
|
|
1215
|
+
id: string;
|
|
1216
|
+
title: string;
|
|
1217
|
+
}>, "many">;
|
|
1218
|
+
custom_widgets: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1219
|
+
idSpot: z.ZodString;
|
|
1220
|
+
idOrder: z.ZodString;
|
|
1221
|
+
idWidget: z.ZodString;
|
|
1222
|
+
type: z.ZodString;
|
|
1223
|
+
title: z.ZodString;
|
|
1224
|
+
url: z.ZodString;
|
|
1225
|
+
visible: z.ZodString;
|
|
1226
|
+
}, "strip", z.ZodTypeAny, {
|
|
1227
|
+
type: string;
|
|
1228
|
+
title: string;
|
|
1229
|
+
url: string;
|
|
1230
|
+
idSpot: string;
|
|
1231
|
+
idOrder: string;
|
|
1232
|
+
idWidget: string;
|
|
1233
|
+
visible: string;
|
|
1234
|
+
}, {
|
|
1235
|
+
type: string;
|
|
1236
|
+
title: string;
|
|
1237
|
+
url: string;
|
|
1238
|
+
idSpot: string;
|
|
1239
|
+
idOrder: string;
|
|
1240
|
+
idWidget: string;
|
|
1241
|
+
visible: string;
|
|
1242
|
+
}>>, z.ZodArray<z.ZodNever, "many">]>;
|
|
1243
|
+
isArchive: z.ZodNumber;
|
|
1244
|
+
fileSyncVersioningType: z.ZodArray<z.ZodObject<{
|
|
1245
|
+
value: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
1246
|
+
label: z.ZodString;
|
|
1247
|
+
}, "strip", z.ZodTypeAny, {
|
|
1248
|
+
value: string | number;
|
|
1249
|
+
label: string;
|
|
1250
|
+
}, {
|
|
1251
|
+
value: string | number;
|
|
1252
|
+
label: string;
|
|
1253
|
+
}>, "many">;
|
|
1254
|
+
}, "strip", z.ZodTypeAny, {
|
|
1255
|
+
edit_access: ({
|
|
1256
|
+
value: string | number;
|
|
1257
|
+
label: string;
|
|
1258
|
+
} & {
|
|
1259
|
+
description: string;
|
|
1260
|
+
})[];
|
|
1261
|
+
commentLevel: ({
|
|
1262
|
+
value: string | number;
|
|
1263
|
+
label: string;
|
|
1264
|
+
} & {
|
|
1265
|
+
selected?: boolean | undefined;
|
|
1266
|
+
})[];
|
|
1267
|
+
displayType: {
|
|
1268
|
+
value: string | number;
|
|
1269
|
+
label: string;
|
|
1270
|
+
}[];
|
|
1271
|
+
user_level_signup: ({
|
|
1272
|
+
value: string | number;
|
|
1273
|
+
label: string;
|
|
1274
|
+
} & {
|
|
1275
|
+
selected?: boolean | undefined;
|
|
1276
|
+
})[];
|
|
1277
|
+
spot_right_user: ({
|
|
1278
|
+
value: string | number;
|
|
1279
|
+
label: string;
|
|
1280
|
+
} & {
|
|
1281
|
+
selected?: boolean | undefined;
|
|
1282
|
+
})[];
|
|
1283
|
+
useTeaser: {
|
|
1284
|
+
value: string | number;
|
|
1285
|
+
label: string;
|
|
1286
|
+
}[];
|
|
1287
|
+
spotDefaultPublishType: string[];
|
|
1288
|
+
mail_frequency: {
|
|
1289
|
+
value: string | number;
|
|
1290
|
+
label: string;
|
|
1291
|
+
}[];
|
|
1292
|
+
widgets: {
|
|
1293
|
+
id: string;
|
|
1294
|
+
title: string;
|
|
1295
|
+
}[];
|
|
1296
|
+
custom_widgets: never[] | Record<string, {
|
|
1297
|
+
type: string;
|
|
1298
|
+
title: string;
|
|
1299
|
+
url: string;
|
|
1300
|
+
idSpot: string;
|
|
1301
|
+
idOrder: string;
|
|
1302
|
+
idWidget: string;
|
|
1303
|
+
visible: string;
|
|
1304
|
+
}>;
|
|
1305
|
+
isArchive: number;
|
|
1306
|
+
fileSyncVersioningType: {
|
|
1307
|
+
value: string | number;
|
|
1308
|
+
label: string;
|
|
1309
|
+
}[];
|
|
1310
|
+
}, {
|
|
1311
|
+
edit_access: ({
|
|
1312
|
+
value: string | number;
|
|
1313
|
+
label: string;
|
|
1314
|
+
} & {
|
|
1315
|
+
description: string;
|
|
1316
|
+
})[];
|
|
1317
|
+
commentLevel: ({
|
|
1318
|
+
value: string | number;
|
|
1319
|
+
label: string;
|
|
1320
|
+
} & {
|
|
1321
|
+
selected?: boolean | undefined;
|
|
1322
|
+
})[];
|
|
1323
|
+
displayType: {
|
|
1324
|
+
value: string | number;
|
|
1325
|
+
label: string;
|
|
1326
|
+
}[];
|
|
1327
|
+
user_level_signup: ({
|
|
1328
|
+
value: string | number;
|
|
1329
|
+
label: string;
|
|
1330
|
+
} & {
|
|
1331
|
+
selected?: boolean | undefined;
|
|
1332
|
+
})[];
|
|
1333
|
+
spot_right_user: ({
|
|
1334
|
+
value: string | number;
|
|
1335
|
+
label: string;
|
|
1336
|
+
} & {
|
|
1337
|
+
selected?: boolean | undefined;
|
|
1338
|
+
})[];
|
|
1339
|
+
useTeaser: {
|
|
1340
|
+
value: string | number;
|
|
1341
|
+
label: string;
|
|
1342
|
+
}[];
|
|
1343
|
+
spotDefaultPublishType: string[];
|
|
1344
|
+
mail_frequency: {
|
|
1345
|
+
value: string | number;
|
|
1346
|
+
label: string;
|
|
1347
|
+
}[];
|
|
1348
|
+
widgets: {
|
|
1349
|
+
id: string;
|
|
1350
|
+
title: string;
|
|
1351
|
+
}[];
|
|
1352
|
+
custom_widgets: never[] | Record<string, {
|
|
1353
|
+
type: string;
|
|
1354
|
+
title: string;
|
|
1355
|
+
url: string;
|
|
1356
|
+
idSpot: string;
|
|
1357
|
+
idOrder: string;
|
|
1358
|
+
idWidget: string;
|
|
1359
|
+
visible: string;
|
|
1360
|
+
}>;
|
|
1361
|
+
isArchive: number;
|
|
1362
|
+
fileSyncVersioningType: {
|
|
1363
|
+
value: string | number;
|
|
1364
|
+
label: string;
|
|
1365
|
+
}[];
|
|
1366
|
+
}>>;
|
|
1367
|
+
_errors: z.ZodOptional<z.ZodTuple<[], null>>;
|
|
1368
|
+
lastRssExecution: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
1369
|
+
}, "strip", z.ZodTypeAny, {
|
|
1370
|
+
edit_access?: "" | "author" | undefined;
|
|
1371
|
+
commentLevel?: "1" | "-1" | "2" | "3" | undefined;
|
|
1372
|
+
displayType?: string | undefined;
|
|
1373
|
+
user_level_signup?: "" | "1" | "2" | "3" | undefined;
|
|
1374
|
+
spot_right_user?: string | undefined;
|
|
1375
|
+
useTeaser?: "" | "0" | "1" | null | undefined;
|
|
1376
|
+
spotDefaultPublishType?: string | undefined;
|
|
1377
|
+
mail_frequency?: string | undefined;
|
|
1378
|
+
widgets?: string[] | undefined;
|
|
1379
|
+
fileSyncVersioningType?: "overwrite" | "author-change" | undefined;
|
|
1380
|
+
nounsubscribe?: "0" | "1" | undefined;
|
|
1381
|
+
mail_comment?: "" | "1" | undefined;
|
|
1382
|
+
mail_spotit?: "" | "1" | undefined;
|
|
1383
|
+
mail_subscriber?: "" | "1" | undefined;
|
|
1384
|
+
lock_mail?: "" | "1" | undefined;
|
|
1385
|
+
activity?: "0" | "1" | undefined;
|
|
1386
|
+
publishFolder?: "0" | "1" | undefined;
|
|
1387
|
+
notifyFolder?: "0" | "1" | undefined;
|
|
1388
|
+
rss_access?: "0" | "1" | undefined;
|
|
1389
|
+
rss_key?: string | undefined;
|
|
1390
|
+
fileSyncEnabled?: "0" | "1" | undefined;
|
|
1391
|
+
fileBankQuota?: string | undefined;
|
|
1392
|
+
_options?: {
|
|
1393
|
+
edit_access: ({
|
|
1394
|
+
value: string | number;
|
|
1395
|
+
label: string;
|
|
1396
|
+
} & {
|
|
1397
|
+
description: string;
|
|
1398
|
+
})[];
|
|
1399
|
+
commentLevel: ({
|
|
1400
|
+
value: string | number;
|
|
1401
|
+
label: string;
|
|
1402
|
+
} & {
|
|
1403
|
+
selected?: boolean | undefined;
|
|
1404
|
+
})[];
|
|
1405
|
+
displayType: {
|
|
1406
|
+
value: string | number;
|
|
1407
|
+
label: string;
|
|
1408
|
+
}[];
|
|
1409
|
+
user_level_signup: ({
|
|
1410
|
+
value: string | number;
|
|
1411
|
+
label: string;
|
|
1412
|
+
} & {
|
|
1413
|
+
selected?: boolean | undefined;
|
|
1414
|
+
})[];
|
|
1415
|
+
spot_right_user: ({
|
|
1416
|
+
value: string | number;
|
|
1417
|
+
label: string;
|
|
1418
|
+
} & {
|
|
1419
|
+
selected?: boolean | undefined;
|
|
1420
|
+
})[];
|
|
1421
|
+
useTeaser: {
|
|
1422
|
+
value: string | number;
|
|
1423
|
+
label: string;
|
|
1424
|
+
}[];
|
|
1425
|
+
spotDefaultPublishType: string[];
|
|
1426
|
+
mail_frequency: {
|
|
1427
|
+
value: string | number;
|
|
1428
|
+
label: string;
|
|
1429
|
+
}[];
|
|
1430
|
+
widgets: {
|
|
1431
|
+
id: string;
|
|
1432
|
+
title: string;
|
|
1433
|
+
}[];
|
|
1434
|
+
custom_widgets: never[] | Record<string, {
|
|
1435
|
+
type: string;
|
|
1436
|
+
title: string;
|
|
1437
|
+
url: string;
|
|
1438
|
+
idSpot: string;
|
|
1439
|
+
idOrder: string;
|
|
1440
|
+
idWidget: string;
|
|
1441
|
+
visible: string;
|
|
1442
|
+
}>;
|
|
1443
|
+
isArchive: number;
|
|
1444
|
+
fileSyncVersioningType: {
|
|
1445
|
+
value: string | number;
|
|
1446
|
+
label: string;
|
|
1447
|
+
}[];
|
|
1448
|
+
} | undefined;
|
|
1449
|
+
_errors?: [] | undefined;
|
|
1450
|
+
lastRssExecution?: Record<string, string> | undefined;
|
|
1451
|
+
}, {
|
|
1452
|
+
edit_access?: "" | "author" | undefined;
|
|
1453
|
+
commentLevel?: "1" | "-1" | "2" | "3" | undefined;
|
|
1454
|
+
displayType?: string | undefined;
|
|
1455
|
+
user_level_signup?: "" | "1" | "2" | "3" | undefined;
|
|
1456
|
+
spot_right_user?: string | undefined;
|
|
1457
|
+
useTeaser?: "" | "0" | "1" | null | undefined;
|
|
1458
|
+
spotDefaultPublishType?: string | undefined;
|
|
1459
|
+
mail_frequency?: string | undefined;
|
|
1460
|
+
widgets?: string[] | undefined;
|
|
1461
|
+
fileSyncVersioningType?: "overwrite" | "author-change" | undefined;
|
|
1462
|
+
nounsubscribe?: "0" | "1" | undefined;
|
|
1463
|
+
mail_comment?: "" | "1" | undefined;
|
|
1464
|
+
mail_spotit?: "" | "1" | undefined;
|
|
1465
|
+
mail_subscriber?: "" | "1" | undefined;
|
|
1466
|
+
lock_mail?: "" | "1" | undefined;
|
|
1467
|
+
activity?: "0" | "1" | undefined;
|
|
1468
|
+
publishFolder?: "0" | "1" | undefined;
|
|
1469
|
+
notifyFolder?: "0" | "1" | undefined;
|
|
1470
|
+
rss_access?: "0" | "1" | undefined;
|
|
1471
|
+
rss_key?: string | undefined;
|
|
1472
|
+
fileSyncEnabled?: "0" | "1" | undefined;
|
|
1473
|
+
fileBankQuota?: string | undefined;
|
|
1474
|
+
_options?: {
|
|
1475
|
+
edit_access: ({
|
|
1476
|
+
value: string | number;
|
|
1477
|
+
label: string;
|
|
1478
|
+
} & {
|
|
1479
|
+
description: string;
|
|
1480
|
+
})[];
|
|
1481
|
+
commentLevel: ({
|
|
1482
|
+
value: string | number;
|
|
1483
|
+
label: string;
|
|
1484
|
+
} & {
|
|
1485
|
+
selected?: boolean | undefined;
|
|
1486
|
+
})[];
|
|
1487
|
+
displayType: {
|
|
1488
|
+
value: string | number;
|
|
1489
|
+
label: string;
|
|
1490
|
+
}[];
|
|
1491
|
+
user_level_signup: ({
|
|
1492
|
+
value: string | number;
|
|
1493
|
+
label: string;
|
|
1494
|
+
} & {
|
|
1495
|
+
selected?: boolean | undefined;
|
|
1496
|
+
})[];
|
|
1497
|
+
spot_right_user: ({
|
|
1498
|
+
value: string | number;
|
|
1499
|
+
label: string;
|
|
1500
|
+
} & {
|
|
1501
|
+
selected?: boolean | undefined;
|
|
1502
|
+
})[];
|
|
1503
|
+
useTeaser: {
|
|
1504
|
+
value: string | number;
|
|
1505
|
+
label: string;
|
|
1506
|
+
}[];
|
|
1507
|
+
spotDefaultPublishType: string[];
|
|
1508
|
+
mail_frequency: {
|
|
1509
|
+
value: string | number;
|
|
1510
|
+
label: string;
|
|
1511
|
+
}[];
|
|
1512
|
+
widgets: {
|
|
1513
|
+
id: string;
|
|
1514
|
+
title: string;
|
|
1515
|
+
}[];
|
|
1516
|
+
custom_widgets: never[] | Record<string, {
|
|
1517
|
+
type: string;
|
|
1518
|
+
title: string;
|
|
1519
|
+
url: string;
|
|
1520
|
+
idSpot: string;
|
|
1521
|
+
idOrder: string;
|
|
1522
|
+
idWidget: string;
|
|
1523
|
+
visible: string;
|
|
1524
|
+
}>;
|
|
1525
|
+
isArchive: number;
|
|
1526
|
+
fileSyncVersioningType: {
|
|
1527
|
+
value: string | number;
|
|
1528
|
+
label: string;
|
|
1529
|
+
}[];
|
|
1530
|
+
} | undefined;
|
|
1531
|
+
_errors?: [] | undefined;
|
|
1532
|
+
lastRssExecution?: Record<string, string> | undefined;
|
|
1533
|
+
}>>, z.ZodObject<{
|
|
1534
|
+
uri: z.ZodString;
|
|
1535
|
+
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1536
|
+
spotBanner: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1537
|
+
id: z.ZodString;
|
|
1538
|
+
name: z.ZodString;
|
|
1539
|
+
size: z.ZodString;
|
|
1540
|
+
}, "strip", z.ZodTypeAny, {
|
|
1541
|
+
id: string;
|
|
1542
|
+
size: string;
|
|
1543
|
+
name: string;
|
|
1544
|
+
}, {
|
|
1545
|
+
id: string;
|
|
1546
|
+
size: string;
|
|
1547
|
+
name: string;
|
|
1548
|
+
}>>, z.ZodArray<z.ZodNever, "many">]>>;
|
|
1549
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1550
|
+
uriCommunity: z.ZodOptional<z.ZodString>;
|
|
1551
|
+
custom_widgets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1552
|
+
idSpot: z.ZodString;
|
|
1553
|
+
idOrder: z.ZodString;
|
|
1554
|
+
idWidget: z.ZodString;
|
|
1555
|
+
type: z.ZodString;
|
|
1556
|
+
title: z.ZodString;
|
|
1557
|
+
url: z.ZodString;
|
|
1558
|
+
visible: z.ZodString;
|
|
1559
|
+
}, "strip", z.ZodTypeAny, {
|
|
1560
|
+
type: string;
|
|
1561
|
+
title: string;
|
|
1562
|
+
url: string;
|
|
1563
|
+
idSpot: string;
|
|
1564
|
+
idOrder: string;
|
|
1565
|
+
idWidget: string;
|
|
1566
|
+
visible: string;
|
|
1567
|
+
}, {
|
|
1568
|
+
type: string;
|
|
1569
|
+
title: string;
|
|
1570
|
+
url: string;
|
|
1571
|
+
idSpot: string;
|
|
1572
|
+
idOrder: string;
|
|
1573
|
+
idWidget: string;
|
|
1574
|
+
visible: string;
|
|
1575
|
+
}>>>;
|
|
1576
|
+
rss_feed: z.ZodString;
|
|
1577
|
+
}, "strip", z.ZodTypeAny, {
|
|
1578
|
+
uri: string;
|
|
1579
|
+
rss_feed: string;
|
|
1580
|
+
token?: string | undefined;
|
|
1581
|
+
image?: string | null | undefined;
|
|
1582
|
+
custom_widgets?: Record<string, {
|
|
1583
|
+
type: string;
|
|
1584
|
+
title: string;
|
|
1585
|
+
url: string;
|
|
1586
|
+
idSpot: string;
|
|
1587
|
+
idOrder: string;
|
|
1588
|
+
idWidget: string;
|
|
1589
|
+
visible: string;
|
|
1590
|
+
}> | undefined;
|
|
1591
|
+
spotBanner?: never[] | Record<string, {
|
|
1592
|
+
id: string;
|
|
1593
|
+
size: string;
|
|
1594
|
+
name: string;
|
|
1595
|
+
}> | undefined;
|
|
1596
|
+
uriCommunity?: string | undefined;
|
|
1597
|
+
}, {
|
|
1598
|
+
uri: string;
|
|
1599
|
+
rss_feed: string;
|
|
1600
|
+
token?: string | undefined;
|
|
1601
|
+
image?: string | null | undefined;
|
|
1602
|
+
custom_widgets?: Record<string, {
|
|
1603
|
+
type: string;
|
|
1604
|
+
title: string;
|
|
1605
|
+
url: string;
|
|
1606
|
+
idSpot: string;
|
|
1607
|
+
idOrder: string;
|
|
1608
|
+
idWidget: string;
|
|
1609
|
+
visible: string;
|
|
1610
|
+
}> | undefined;
|
|
1611
|
+
spotBanner?: never[] | Record<string, {
|
|
1612
|
+
id: string;
|
|
1613
|
+
size: string;
|
|
1614
|
+
name: string;
|
|
1615
|
+
}> | undefined;
|
|
1616
|
+
uriCommunity?: string | undefined;
|
|
1617
|
+
}>>;
|
|
1618
|
+
export type UpdateGroup = z.infer<typeof updateGroupSchema>;
|
|
1619
|
+
export declare const groupWidgetSchema: z.ZodObject<{
|
|
1620
|
+
idWidget: z.ZodString;
|
|
1621
|
+
title: z.ZodString;
|
|
1622
|
+
url: z.ZodString;
|
|
1623
|
+
type: z.ZodString;
|
|
1624
|
+
icon: z.ZodString;
|
|
1625
|
+
description: z.ZodString;
|
|
1626
|
+
}, "strip", z.ZodTypeAny, {
|
|
151
1627
|
type: string;
|
|
152
|
-
|
|
1628
|
+
title: string;
|
|
1629
|
+
url: string;
|
|
153
1630
|
description: string;
|
|
154
|
-
};
|
|
155
|
-
export type GroupCustomWidget = {
|
|
156
|
-
idSpot: string;
|
|
157
|
-
idOrder: string;
|
|
158
1631
|
idWidget: string;
|
|
1632
|
+
icon: string;
|
|
1633
|
+
}, {
|
|
159
1634
|
type: string;
|
|
160
1635
|
title: string;
|
|
161
1636
|
url: string;
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
1637
|
+
description: string;
|
|
1638
|
+
idWidget: string;
|
|
1639
|
+
icon: string;
|
|
1640
|
+
}>;
|
|
1641
|
+
export type GroupWidget = z.infer<typeof groupWidgetSchema>;
|
|
1642
|
+
export declare const categorySchema: z.ZodObject<{
|
|
1643
|
+
id: z.ZodString;
|
|
1644
|
+
idorder: z.ZodNumber;
|
|
1645
|
+
label: z.ZodString;
|
|
1646
|
+
}, "strip", z.ZodTypeAny, {
|
|
165
1647
|
id: string;
|
|
1648
|
+
label: string;
|
|
166
1649
|
idorder: number;
|
|
1650
|
+
}, {
|
|
1651
|
+
id: string;
|
|
167
1652
|
label: string;
|
|
168
|
-
|
|
169
|
-
|
|
1653
|
+
idorder: number;
|
|
1654
|
+
}>;
|
|
1655
|
+
export type Category = z.infer<typeof categorySchema>;
|
|
170
1656
|
export declare const jGroupLittleSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
171
1657
|
id: z.ZodType<number, z.ZodTypeDef, number>;
|
|
172
1658
|
mainType: z.ZodType<string, z.ZodTypeDef, string>;
|
|
@@ -191,9 +1677,41 @@ export declare const jGroupLittleSchema: z.ZodObject<z.objectUtil.extendShape<z.
|
|
|
191
1677
|
dateModified: string;
|
|
192
1678
|
title: string;
|
|
193
1679
|
_url: string;
|
|
1680
|
+
privacy: number;
|
|
194
1681
|
category: number;
|
|
1682
|
+
}, {
|
|
1683
|
+
type: string;
|
|
1684
|
+
id: number;
|
|
1685
|
+
mainType: string;
|
|
1686
|
+
uri: string;
|
|
1687
|
+
dateCreation: string;
|
|
1688
|
+
dateModified: string;
|
|
1689
|
+
title: string;
|
|
1690
|
+
_url: string;
|
|
195
1691
|
privacy: number;
|
|
1692
|
+
category: number;
|
|
1693
|
+
}>;
|
|
1694
|
+
export type jGroupLittle = z.infer<typeof jGroupLittleSchema>;
|
|
1695
|
+
export declare const jGroupListSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1696
|
+
id: z.ZodType<number, z.ZodTypeDef, number>;
|
|
1697
|
+
mainType: z.ZodType<string, z.ZodTypeDef, string>;
|
|
1698
|
+
type: z.ZodType<string, z.ZodTypeDef, string>;
|
|
1699
|
+
uri: z.ZodType<string, z.ZodTypeDef, string>;
|
|
1700
|
+
dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
|
|
1701
|
+
dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
|
|
196
1702
|
}, {
|
|
1703
|
+
title: z.ZodString;
|
|
1704
|
+
_url: z.ZodString;
|
|
1705
|
+
}>, {
|
|
1706
|
+
dateCreation: z.ZodString;
|
|
1707
|
+
dateModified: z.ZodString;
|
|
1708
|
+
category: z.ZodNumber;
|
|
1709
|
+
privacy: z.ZodNumber;
|
|
1710
|
+
}>, {
|
|
1711
|
+
description: z.ZodString;
|
|
1712
|
+
edito: z.ZodNullable<z.ZodString>;
|
|
1713
|
+
language: z.ZodString;
|
|
1714
|
+
}>, "strip", z.ZodTypeAny, {
|
|
197
1715
|
type: string;
|
|
198
1716
|
id: number;
|
|
199
1717
|
mainType: string;
|
|
@@ -202,37 +1720,273 @@ export declare const jGroupLittleSchema: z.ZodObject<z.objectUtil.extendShape<z.
|
|
|
202
1720
|
dateModified: string;
|
|
203
1721
|
title: string;
|
|
204
1722
|
_url: string;
|
|
1723
|
+
description: string;
|
|
1724
|
+
language: string;
|
|
1725
|
+
privacy: number;
|
|
1726
|
+
edito: string | null;
|
|
205
1727
|
category: number;
|
|
1728
|
+
}, {
|
|
1729
|
+
type: string;
|
|
1730
|
+
id: number;
|
|
1731
|
+
mainType: string;
|
|
1732
|
+
uri: string;
|
|
1733
|
+
dateCreation: string;
|
|
1734
|
+
dateModified: string;
|
|
1735
|
+
title: string;
|
|
1736
|
+
_url: string;
|
|
1737
|
+
description: string;
|
|
1738
|
+
language: string;
|
|
206
1739
|
privacy: number;
|
|
1740
|
+
edito: string | null;
|
|
1741
|
+
category: number;
|
|
207
1742
|
}>;
|
|
208
|
-
export type
|
|
209
|
-
export
|
|
1743
|
+
export type jGroupList = z.infer<typeof jGroupListSchema>;
|
|
1744
|
+
export declare const jGroupViewSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1745
|
+
id: z.ZodType<number, z.ZodTypeDef, number>;
|
|
1746
|
+
mainType: z.ZodType<string, z.ZodTypeDef, string>;
|
|
1747
|
+
type: z.ZodType<string, z.ZodTypeDef, string>;
|
|
1748
|
+
uri: z.ZodType<string, z.ZodTypeDef, string>;
|
|
1749
|
+
dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
|
|
1750
|
+
dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
|
|
1751
|
+
}, {
|
|
1752
|
+
title: z.ZodString;
|
|
1753
|
+
_url: z.ZodString;
|
|
1754
|
+
}>, {
|
|
1755
|
+
dateCreation: z.ZodString;
|
|
1756
|
+
dateModified: z.ZodString;
|
|
1757
|
+
category: z.ZodNumber;
|
|
1758
|
+
privacy: z.ZodNumber;
|
|
1759
|
+
}>, {
|
|
1760
|
+
description: z.ZodString;
|
|
1761
|
+
edito: z.ZodNullable<z.ZodString>;
|
|
1762
|
+
language: z.ZodString;
|
|
1763
|
+
}>, {
|
|
1764
|
+
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1765
|
+
spotBanner: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1766
|
+
id: z.ZodString;
|
|
1767
|
+
name: z.ZodString;
|
|
1768
|
+
size: z.ZodString;
|
|
1769
|
+
}, "strip", z.ZodTypeAny, {
|
|
1770
|
+
id: string;
|
|
1771
|
+
size: string;
|
|
1772
|
+
name: string;
|
|
1773
|
+
}, {
|
|
1774
|
+
id: string;
|
|
1775
|
+
size: string;
|
|
1776
|
+
name: string;
|
|
1777
|
+
}>>, z.ZodArray<z.ZodNever, "many">]>>;
|
|
1778
|
+
idCommunity: z.ZodOptional<z.ZodString>;
|
|
1779
|
+
useTeaser: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"">, z.ZodLiteral<"0">, z.ZodLiteral<"1">]>>>;
|
|
1780
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1781
|
+
type: string;
|
|
1782
|
+
id: number;
|
|
1783
|
+
mainType: string;
|
|
1784
|
+
uri: string;
|
|
1785
|
+
dateCreation: string;
|
|
1786
|
+
dateModified: string;
|
|
1787
|
+
title: string;
|
|
1788
|
+
_url: string;
|
|
210
1789
|
description: string;
|
|
1790
|
+
language: string;
|
|
1791
|
+
privacy: number;
|
|
211
1792
|
edito: string | null;
|
|
1793
|
+
category: number;
|
|
1794
|
+
image?: string | null | undefined;
|
|
1795
|
+
idCommunity?: string | undefined;
|
|
1796
|
+
useTeaser?: "" | "0" | "1" | null | undefined;
|
|
1797
|
+
spotBanner?: never[] | Record<string, {
|
|
1798
|
+
id: string;
|
|
1799
|
+
size: string;
|
|
1800
|
+
name: string;
|
|
1801
|
+
}> | undefined;
|
|
1802
|
+
}, {
|
|
1803
|
+
type: string;
|
|
1804
|
+
id: number;
|
|
1805
|
+
mainType: string;
|
|
1806
|
+
uri: string;
|
|
1807
|
+
dateCreation: string;
|
|
1808
|
+
dateModified: string;
|
|
1809
|
+
title: string;
|
|
1810
|
+
_url: string;
|
|
1811
|
+
description: string;
|
|
212
1812
|
language: string;
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
idCommunity?: string;
|
|
218
|
-
useTeaser?:
|
|
219
|
-
|
|
220
|
-
|
|
1813
|
+
privacy: number;
|
|
1814
|
+
edito: string | null;
|
|
1815
|
+
category: number;
|
|
1816
|
+
image?: string | null | undefined;
|
|
1817
|
+
idCommunity?: string | undefined;
|
|
1818
|
+
useTeaser?: "" | "0" | "1" | null | undefined;
|
|
1819
|
+
spotBanner?: never[] | Record<string, {
|
|
1820
|
+
id: string;
|
|
1821
|
+
size: string;
|
|
1822
|
+
name: string;
|
|
1823
|
+
}> | undefined;
|
|
1824
|
+
}>;
|
|
1825
|
+
export type jGroupView = z.infer<typeof jGroupViewSchema>;
|
|
1826
|
+
export declare const resetNotificationConfigurationSchema: z.ZodObject<{
|
|
1827
|
+
idSpot: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
1828
|
+
mailFrequency: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
1829
|
+
mailSpotit: z.ZodBoolean;
|
|
1830
|
+
mailComment: z.ZodBoolean;
|
|
1831
|
+
mailSubscriber: z.ZodBoolean;
|
|
1832
|
+
}, "strip", z.ZodTypeAny, {
|
|
221
1833
|
idSpot: string | number;
|
|
222
1834
|
mailFrequency: string | number;
|
|
223
1835
|
mailSpotit: boolean;
|
|
224
1836
|
mailComment: boolean;
|
|
225
1837
|
mailSubscriber: boolean;
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
1838
|
+
}, {
|
|
1839
|
+
idSpot: string | number;
|
|
1840
|
+
mailFrequency: string | number;
|
|
1841
|
+
mailSpotit: boolean;
|
|
1842
|
+
mailComment: boolean;
|
|
1843
|
+
mailSubscriber: boolean;
|
|
1844
|
+
}>;
|
|
1845
|
+
export type ResetNotificationConfiguration = z.infer<typeof resetNotificationConfigurationSchema>;
|
|
1846
|
+
export declare const groupListConfigSchema: z.ZodObject<{
|
|
1847
|
+
type: z.ZodOptional<z.ZodString>;
|
|
1848
|
+
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]>>;
|
|
1849
|
+
query: z.ZodOptional<z.ZodString>;
|
|
1850
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
1851
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
1852
|
+
orders: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1853
|
+
name: z.ZodString;
|
|
1854
|
+
sort: z.ZodUnion<[z.ZodLiteral<"ASC">, z.ZodLiteral<"DESC">]>;
|
|
1855
|
+
}, "strip", z.ZodTypeAny, {
|
|
1856
|
+
sort: "ASC" | "DESC";
|
|
1857
|
+
name: string;
|
|
1858
|
+
}, {
|
|
1859
|
+
sort: "ASC" | "DESC";
|
|
1860
|
+
name: string;
|
|
1861
|
+
}>, "many">>;
|
|
1862
|
+
filters: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
|
1863
|
+
name: z.ZodString;
|
|
1864
|
+
value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodObject<{
|
|
1865
|
+
srcId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
1866
|
+
srcType: z.ZodString;
|
|
1867
|
+
}, "strip", z.ZodTypeAny, {
|
|
1868
|
+
srcId: string | number;
|
|
1869
|
+
srcType: string;
|
|
1870
|
+
}, {
|
|
1871
|
+
srcId: string | number;
|
|
1872
|
+
srcType: string;
|
|
1873
|
+
}>, z.ZodObject<{
|
|
1874
|
+
targetId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
1875
|
+
targetType: z.ZodString;
|
|
1876
|
+
}, "strip", z.ZodTypeAny, {
|
|
1877
|
+
targetId: string | number;
|
|
1878
|
+
targetType: string;
|
|
1879
|
+
}, {
|
|
1880
|
+
targetId: string | number;
|
|
1881
|
+
targetType: string;
|
|
1882
|
+
}>, z.ZodObject<{
|
|
1883
|
+
start: z.ZodString;
|
|
1884
|
+
end: z.ZodString;
|
|
1885
|
+
}, "strip", z.ZodTypeAny, {
|
|
1886
|
+
start: string;
|
|
1887
|
+
end: string;
|
|
1888
|
+
}, {
|
|
1889
|
+
start: string;
|
|
1890
|
+
end: string;
|
|
1891
|
+
}>]>;
|
|
1892
|
+
operator: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"<">, z.ZodLiteral<">">, z.ZodLiteral<"<=">, z.ZodLiteral<">=">, z.ZodLiteral<"!=">, z.ZodLiteral<"<>">, z.ZodLiteral<"like">, z.ZodLiteral<"between">, z.ZodLiteral<"is">, z.ZodLiteral<"is not">, z.ZodLiteral<"in">, z.ZodLiteral<"link">, z.ZodLiteral<"match">, z.ZodLiteral<"equal">]>>;
|
|
1893
|
+
method: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"<">, z.ZodLiteral<">">, z.ZodLiteral<"<=">, z.ZodLiteral<">=">, z.ZodLiteral<"!=">, z.ZodLiteral<"<>">, z.ZodLiteral<"+">, z.ZodLiteral<"-">, z.ZodLiteral<"like">, z.ZodLiteral<"between">, z.ZodLiteral<"is">, z.ZodLiteral<"is not">, z.ZodLiteral<"in">, z.ZodLiteral<"link">, z.ZodLiteral<"match">, z.ZodLiteral<"equal">]>>;
|
|
1894
|
+
or: z.ZodOptional<z.ZodBoolean>;
|
|
1895
|
+
isNull: z.ZodOptional<z.ZodBoolean>;
|
|
1896
|
+
isNotNull: z.ZodOptional<z.ZodBoolean>;
|
|
1897
|
+
}, "strip", z.ZodTypeAny, {
|
|
1898
|
+
value: string | number | boolean | string[] | {
|
|
1899
|
+
srcId: string | number;
|
|
1900
|
+
srcType: string;
|
|
1901
|
+
} | {
|
|
1902
|
+
targetId: string | number;
|
|
1903
|
+
targetType: string;
|
|
1904
|
+
} | {
|
|
1905
|
+
start: string;
|
|
1906
|
+
end: string;
|
|
1907
|
+
};
|
|
1908
|
+
name: string;
|
|
1909
|
+
operator?: "<" | ">" | "<=" | ">=" | "!=" | "<>" | "like" | "between" | "is" | "is not" | "in" | "link" | "match" | "equal" | undefined;
|
|
1910
|
+
method?: "<" | ">" | "<=" | ">=" | "!=" | "<>" | "like" | "between" | "is" | "is not" | "in" | "link" | "match" | "equal" | "+" | "-" | undefined;
|
|
1911
|
+
or?: boolean | undefined;
|
|
1912
|
+
isNull?: boolean | undefined;
|
|
1913
|
+
isNotNull?: boolean | undefined;
|
|
1914
|
+
}, {
|
|
1915
|
+
value: string | number | boolean | string[] | {
|
|
1916
|
+
srcId: string | number;
|
|
1917
|
+
srcType: string;
|
|
1918
|
+
} | {
|
|
1919
|
+
targetId: string | number;
|
|
1920
|
+
targetType: string;
|
|
1921
|
+
} | {
|
|
1922
|
+
start: string;
|
|
1923
|
+
end: string;
|
|
1924
|
+
};
|
|
1925
|
+
name: string;
|
|
1926
|
+
operator?: "<" | ">" | "<=" | ">=" | "!=" | "<>" | "like" | "between" | "is" | "is not" | "in" | "link" | "match" | "equal" | undefined;
|
|
1927
|
+
method?: "<" | ">" | "<=" | ">=" | "!=" | "<>" | "like" | "between" | "is" | "is not" | "in" | "link" | "match" | "equal" | "+" | "-" | undefined;
|
|
1928
|
+
or?: boolean | undefined;
|
|
1929
|
+
isNull?: boolean | undefined;
|
|
1930
|
+
isNotNull?: boolean | undefined;
|
|
1931
|
+
}>, "many">, z.ZodUndefined]>>;
|
|
1932
|
+
}, "strip", z.ZodTypeAny, {
|
|
1933
|
+
type?: string | undefined;
|
|
1934
|
+
filters?: {
|
|
1935
|
+
value: string | number | boolean | string[] | {
|
|
1936
|
+
srcId: string | number;
|
|
1937
|
+
srcType: string;
|
|
1938
|
+
} | {
|
|
1939
|
+
targetId: string | number;
|
|
1940
|
+
targetType: string;
|
|
1941
|
+
} | {
|
|
1942
|
+
start: string;
|
|
1943
|
+
end: string;
|
|
1944
|
+
};
|
|
1945
|
+
name: string;
|
|
1946
|
+
operator?: "<" | ">" | "<=" | ">=" | "!=" | "<>" | "like" | "between" | "is" | "is not" | "in" | "link" | "match" | "equal" | undefined;
|
|
1947
|
+
method?: "<" | ">" | "<=" | ">=" | "!=" | "<>" | "like" | "between" | "is" | "is not" | "in" | "link" | "match" | "equal" | "+" | "-" | undefined;
|
|
1948
|
+
or?: boolean | undefined;
|
|
1949
|
+
isNull?: boolean | undefined;
|
|
1950
|
+
isNotNull?: boolean | undefined;
|
|
1951
|
+
}[] | undefined;
|
|
1952
|
+
query?: string | undefined;
|
|
1953
|
+
limit?: number | undefined;
|
|
1954
|
+
page?: number | undefined;
|
|
1955
|
+
orders?: {
|
|
1956
|
+
sort: "ASC" | "DESC";
|
|
1957
|
+
name: string;
|
|
1958
|
+
}[] | undefined;
|
|
1959
|
+
format?: "raw-little" | "raw-list" | "raw-view" | "user-api" | "mobile" | undefined;
|
|
1960
|
+
}, {
|
|
1961
|
+
type?: string | undefined;
|
|
1962
|
+
filters?: {
|
|
1963
|
+
value: string | number | boolean | string[] | {
|
|
1964
|
+
srcId: string | number;
|
|
1965
|
+
srcType: string;
|
|
1966
|
+
} | {
|
|
1967
|
+
targetId: string | number;
|
|
1968
|
+
targetType: string;
|
|
1969
|
+
} | {
|
|
1970
|
+
start: string;
|
|
1971
|
+
end: string;
|
|
1972
|
+
};
|
|
1973
|
+
name: string;
|
|
1974
|
+
operator?: "<" | ">" | "<=" | ">=" | "!=" | "<>" | "like" | "between" | "is" | "is not" | "in" | "link" | "match" | "equal" | undefined;
|
|
1975
|
+
method?: "<" | ">" | "<=" | ">=" | "!=" | "<>" | "like" | "between" | "is" | "is not" | "in" | "link" | "match" | "equal" | "+" | "-" | undefined;
|
|
1976
|
+
or?: boolean | undefined;
|
|
1977
|
+
isNull?: boolean | undefined;
|
|
1978
|
+
isNotNull?: boolean | undefined;
|
|
1979
|
+
}[] | undefined;
|
|
1980
|
+
query?: string | undefined;
|
|
1981
|
+
limit?: number | undefined;
|
|
1982
|
+
page?: number | undefined;
|
|
1983
|
+
orders?: {
|
|
1984
|
+
sort: "ASC" | "DESC";
|
|
1985
|
+
name: string;
|
|
1986
|
+
}[] | undefined;
|
|
1987
|
+
format?: import("./utils").Format | undefined;
|
|
1988
|
+
}>;
|
|
1989
|
+
export type GroupListConfig = z.infer<typeof groupListConfigSchema>;
|
|
236
1990
|
export declare const validateIsFormatUserLevelSpot: (object: object) => object is {
|
|
237
1991
|
RF_Constant_levelName: string;
|
|
238
1992
|
RF_delete: boolean;
|