jamespot-user-api 1.0.181 → 1.0.183

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