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.
Files changed (130) hide show
  1. package/documentation/assets/search.js +1 -1
  2. package/documentation/classes/AdminLicenseApi.html +14 -14
  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/StudioApplicationStatus.html +1 -1
  39. package/documentation/enums/WidgetsName.html +1 -1
  40. package/documentation/enums/_GroupModerateStatus.html +1 -0
  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/utils.d.ts +1 -1
  63. package/lib/src/apis/article/article.d.ts +3 -1
  64. package/lib/src/apis/file/file.d.ts +2 -2
  65. package/lib/src/apis/filebank/filebank.d.ts +2 -2
  66. package/lib/src/apis/group/group.d.ts +218 -9
  67. package/lib/src/apis/group/group.mock.d.ts +6 -6
  68. package/lib/src/apis/jland/jland.d.ts +2 -31
  69. package/lib/src/apis/jland/jland.mock.d.ts +3 -2
  70. package/lib/src/apis/taxonomy/taxonomy.d.ts +2 -2
  71. package/lib/src/apis/tvDisplay/tvDisplay.d.ts +962 -3
  72. package/lib/src/apis/user/user.d.ts +11 -103
  73. package/lib/src/apis/user/user.mock.d.ts +5 -1
  74. package/lib/src/apis/widget/widget.d.ts +2 -2
  75. package/lib/src/apis/widget/widget.mock.d.ts +2 -2
  76. package/lib/src/types/adminUtils.d.ts +10 -10
  77. package/lib/src/types/article.d.ts +3065 -4796
  78. package/lib/src/types/asei.d.ts +231 -413
  79. package/lib/src/types/assetReservation.d.ts +1051 -1768
  80. package/lib/src/types/autocomplete.d.ts +14 -14
  81. package/lib/src/types/businessContact.d.ts +136 -502
  82. package/lib/src/types/comment.d.ts +231 -413
  83. package/lib/src/types/diapazone.d.ts +4 -4
  84. package/lib/src/types/faq.d.ts +1365 -2277
  85. package/lib/src/types/global.d.ts +2 -2
  86. package/lib/src/types/group.d.ts +1881 -127
  87. package/lib/src/types/hook.d.ts +1 -2
  88. package/lib/src/types/index.d.ts +1 -0
  89. package/lib/src/types/jLand.d.ts +1175 -0
  90. package/lib/src/types/mediaLibrary.d.ts +241 -423
  91. package/lib/src/types/meeting.d.ts +723 -1269
  92. package/lib/src/types/model.d.ts +653 -89
  93. package/lib/src/types/object.d.ts +2 -2
  94. package/lib/src/types/pollSurvey.d.ts +856 -1402
  95. package/lib/src/types/quizz.d.ts +723 -1269
  96. package/lib/src/types/search.d.ts +8 -8
  97. package/lib/src/types/share.d.ts +8 -8
  98. package/lib/src/types/socialEvent.d.ts +723 -1269
  99. package/lib/src/types/support.d.ts +723 -1269
  100. package/lib/src/types/surveyDate.d.ts +726 -1308
  101. package/lib/src/types/tvDisplay.d.ts +18544 -49
  102. package/lib/src/types/uri.d.ts +44 -8
  103. package/lib/src/types/wedoc.d.ts +633 -27
  104. package/lib/src/types/widgets/common.d.ts +1 -18
  105. package/lib/src/types/widgets/default.d.ts +538 -1719
  106. package/lib/src/types/widgets/widgetApi.d.ts +0 -1
  107. package/lib/src/types/widgets/widgetArticleAttachment.d.ts +0 -1
  108. package/lib/src/types/widgets/widgetArticleButton.d.ts +0 -1
  109. package/lib/src/types/widgets/widgetArticleGallery.d.ts +0 -1
  110. package/lib/src/types/widgets/widgetArticleImage.d.ts +0 -1
  111. package/lib/src/types/widgets/widgetArticleSlider.d.ts +0 -1
  112. package/lib/src/types/widgets/widgetArticleText.d.ts +0 -1
  113. package/lib/src/types/widgets/widgetArticleTitle.d.ts +0 -1
  114. package/lib/src/types/widgets/widgetCheckList.d.ts +7 -4
  115. package/lib/src/types/widgets/widgetDatasourceTable.d.ts +0 -1
  116. package/lib/src/types/widgets/widgetExcelDatasourceTable.d.ts +2 -26
  117. package/lib/src/types/widgets.d.ts +3573 -4860
  118. package/lib/src/util/Test.d.ts +5 -498
  119. package/lib/src/util/group.d.ts +2 -2
  120. package/lib/src/util/index.d.ts +1 -0
  121. package/lib/src/util/widget.d.ts +83 -0
  122. package/package.json +1 -1
  123. package/phpunitMock/articleCreate-businessContact.json +23 -0
  124. package/phpunitMock/articleCreate-jLandMap.json +49 -0
  125. package/phpunitMock/articleDelete-businessContact.json +12 -0
  126. package/phpunitMock/articleUpdate-businessContact.json +50 -0
  127. package/phpunitMock/objectListJLandJLandList-success.json +14 -0
  128. package/phpunitMock/userSignIn-success.json +31 -0
  129. package/documentation/enums/GroupModerateStatus.html +0 -1
  130. package/documentation/interfaces/Category.html +0 -1
@@ -1,54 +1,660 @@
1
- import { jUserLittle } from './user';
2
- import { Filters, Orders } from './utils';
3
- import { jObjectBase, jObjectLittle } from './objectBase';
4
- import { Rights } from './common';
5
- export type AccessRequestStatusValues = 'accept' | 'deny';
1
+ import { z } from 'zod';
6
2
  export declare const ACCESS_REQUEST_ACCEPT = "accept";
7
3
  export declare const ACCESS_REQUEST_DENY = "deny";
8
- export type WedocFileInfo = {
4
+ export declare const accessRequestStatusValuesSchema: z.ZodUnion<[z.ZodLiteral<"accept">, z.ZodLiteral<"deny">]>;
5
+ export type AccessRequestStatusValues = z.infer<typeof accessRequestStatusValuesSchema>;
6
+ export declare const wedocFileInfoSchema: z.ZodObject<{
7
+ color: z.ZodString;
8
+ description: z.ZodString;
9
+ extension: z.ZodString;
10
+ icon: z.ZodString;
11
+ label: z.ZodString;
12
+ }, "strip", z.ZodTypeAny, {
9
13
  color: string;
10
14
  description: string;
11
- extension: string;
15
+ label: string;
12
16
  icon: string;
17
+ extension: string;
18
+ }, {
19
+ color: string;
20
+ description: string;
13
21
  label: string;
14
- };
15
- export declare type WedocFileType = jObjectBase & {
22
+ icon: string;
23
+ extension: string;
24
+ }>;
25
+ export type WedocFileInfo = z.infer<typeof wedocFileInfoSchema>;
26
+ export declare const wedocFileTypeSchema: z.ZodObject<z.objectUtil.extendShape<{
27
+ id: z.ZodType<number, z.ZodTypeDef, number>;
28
+ mainType: z.ZodType<string, z.ZodTypeDef, string>;
29
+ type: z.ZodType<string, z.ZodTypeDef, string>;
30
+ uri: z.ZodType<string, z.ZodTypeDef, string>;
31
+ dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
32
+ dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
33
+ }, {
34
+ title: z.ZodString;
35
+ mimetype: z.ZodString;
36
+ _extend: z.ZodObject<{
37
+ generalAccessRule: z.ZodString;
38
+ generalAccessHash: z.ZodUnion<[z.ZodString, z.ZodUndefined]>;
39
+ dateModified: z.ZodString;
40
+ dateCreation: z.ZodString;
41
+ fileInfo: z.ZodObject<{
42
+ color: z.ZodString;
43
+ description: z.ZodString;
44
+ extension: z.ZodString;
45
+ icon: z.ZodString;
46
+ label: z.ZodString;
47
+ }, "strip", z.ZodTypeAny, {
48
+ color: string;
49
+ description: string;
50
+ label: string;
51
+ icon: string;
52
+ extension: string;
53
+ }, {
54
+ color: string;
55
+ description: string;
56
+ label: string;
57
+ icon: string;
58
+ extension: string;
59
+ }>;
60
+ parentId: z.ZodNumber;
61
+ parentType: z.ZodString;
62
+ parentFiles: z.ZodArray<z.ZodNumber, "many">;
63
+ _url: z.ZodString;
64
+ }, "strip", z.ZodTypeAny, {
65
+ dateCreation: string;
66
+ dateModified: string;
67
+ _url: string;
68
+ generalAccessRule: string;
69
+ fileInfo: {
70
+ color: string;
71
+ description: string;
72
+ label: string;
73
+ icon: string;
74
+ extension: string;
75
+ };
76
+ parentId: number;
77
+ parentType: string;
78
+ parentFiles: number[];
79
+ generalAccessHash?: string | undefined;
80
+ }, {
81
+ dateCreation: string;
82
+ dateModified: string;
83
+ _url: string;
84
+ generalAccessRule: string;
85
+ fileInfo: {
86
+ color: string;
87
+ description: string;
88
+ label: string;
89
+ icon: string;
90
+ extension: string;
91
+ };
92
+ parentId: number;
93
+ parentType: string;
94
+ parentFiles: number[];
95
+ generalAccessHash?: string | undefined;
96
+ }>;
97
+ _audience: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
98
+ id: z.ZodType<number, z.ZodTypeDef, number>;
99
+ mainType: z.ZodType<string, z.ZodTypeDef, string>;
100
+ type: z.ZodType<string, z.ZodTypeDef, string>;
101
+ uri: z.ZodType<string, z.ZodTypeDef, string>;
102
+ dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
103
+ dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
104
+ }, {
105
+ title: z.ZodString;
106
+ _url: z.ZodString;
107
+ }>, "strip", z.ZodTypeAny, import("./objectBase").jObjectLittle, import("./objectBase").jObjectLittle>, "many">;
108
+ _right: z.ZodObject<{
109
+ create: z.ZodType<boolean, z.ZodTypeDef, boolean>;
110
+ read: z.ZodType<boolean, z.ZodTypeDef, boolean>;
111
+ publish: z.ZodType<boolean, z.ZodTypeDef, boolean>;
112
+ administrate: z.ZodType<boolean, z.ZodTypeDef, boolean>;
113
+ update: z.ZodType<boolean, z.ZodTypeDef, boolean>;
114
+ delete: z.ZodType<boolean, z.ZodTypeDef, boolean>;
115
+ comment: z.ZodType<boolean, z.ZodTypeDef, boolean>;
116
+ member: z.ZodType<boolean, z.ZodTypeDef, boolean>;
117
+ }, "strip", z.ZodTypeAny, import("./common").Rights, import("./common").Rights>;
118
+ _user: z.ZodObject<z.objectUtil.extendShape<{
119
+ id: z.ZodType<number, z.ZodTypeDef, number>;
120
+ mainType: z.ZodType<string, z.ZodTypeDef, string>;
121
+ type: z.ZodType<string, z.ZodTypeDef, string>;
122
+ uri: z.ZodType<string, z.ZodTypeDef, string>;
123
+ dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
124
+ dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
125
+ }, {
126
+ title: z.ZodString;
127
+ _url: z.ZodString;
128
+ level: z.ZodNativeEnum<{
129
+ readonly ADMIN: 9;
130
+ readonly USER: 5;
131
+ readonly EXTERNAL: 3;
132
+ readonly GUEST: 0;
133
+ }>;
134
+ dateCreation: z.ZodString;
135
+ dateModified: z.ZodString;
136
+ }>, "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>;
137
+ }>, "strip", z.ZodTypeAny, {
138
+ type: string;
139
+ id: number;
140
+ mainType: string;
141
+ uri: string;
16
142
  title: string;
17
143
  mimetype: string;
18
144
  _extend: {
145
+ dateCreation: string;
146
+ dateModified: string;
147
+ _url: string;
19
148
  generalAccessRule: string;
20
- generalAccessHash: string | undefined;
149
+ fileInfo: {
150
+ color: string;
151
+ description: string;
152
+ label: string;
153
+ icon: string;
154
+ extension: string;
155
+ };
156
+ parentId: number;
157
+ parentType: string;
158
+ parentFiles: number[];
159
+ generalAccessHash?: string | undefined;
160
+ };
161
+ _user: import("./objectBase").jObjectBase & {
162
+ title: string;
163
+ _url: string;
164
+ } & {
165
+ [key: string]: string | number | null;
166
+ level: 0 | 3 | 5 | 9;
167
+ dateCreation: string;
21
168
  dateModified: string;
169
+ };
170
+ _right: import("./common").Rights;
171
+ _audience: import("./objectBase").jObjectLittle[];
172
+ dateCreation?: string | undefined;
173
+ dateModified?: string | null | undefined;
174
+ }, {
175
+ type: string;
176
+ id: number;
177
+ mainType: string;
178
+ uri: string;
179
+ title: string;
180
+ mimetype: string;
181
+ _extend: {
22
182
  dateCreation: string;
23
- fileInfo: WedocFileInfo;
183
+ dateModified: string;
184
+ _url: string;
185
+ generalAccessRule: string;
186
+ fileInfo: {
187
+ color: string;
188
+ description: string;
189
+ label: string;
190
+ icon: string;
191
+ extension: string;
192
+ };
24
193
  parentId: number;
25
194
  parentType: string;
26
195
  parentFiles: number[];
196
+ generalAccessHash?: string | undefined;
197
+ };
198
+ _user: import("./objectBase").jObjectBase & {
199
+ title: string;
27
200
  _url: string;
201
+ } & {
202
+ [key: string]: string | number | null;
203
+ level: 0 | 3 | 5 | 9;
204
+ dateCreation: string;
205
+ dateModified: string;
28
206
  };
29
- _audience: jObjectLittle[];
30
- _right: Rights;
31
- _user: jUserLittle;
32
- };
33
- export type WedocFileAudienceType = jObjectLittle;
34
- export declare type WedocTemplate = {
207
+ _right: import("./common").Rights;
208
+ _audience: import("./objectBase").jObjectLittle[];
209
+ dateCreation?: string | undefined;
210
+ dateModified?: string | null | undefined;
211
+ }>;
212
+ export declare type WedocFileType = z.infer<typeof wedocFileTypeSchema>;
213
+ export declare const wedocFileAudienceTypeSchema: z.ZodObject<z.objectUtil.extendShape<{
214
+ id: z.ZodType<number, z.ZodTypeDef, number>;
215
+ mainType: z.ZodType<string, z.ZodTypeDef, string>;
216
+ type: z.ZodType<string, z.ZodTypeDef, string>;
217
+ uri: z.ZodType<string, z.ZodTypeDef, string>;
218
+ dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
219
+ dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
220
+ }, {
221
+ title: z.ZodString;
222
+ _url: z.ZodString;
223
+ }>, "strip", z.ZodTypeAny, import("./objectBase").jObjectLittle, import("./objectBase").jObjectLittle>;
224
+ export type WedocFileAudienceType = z.infer<typeof wedocFileAudienceTypeSchema>;
225
+ export declare const wedocTemplateSchema: z.ZodObject<{
226
+ color: z.ZodString;
227
+ description: z.ZodString;
228
+ extension: z.ZodString;
229
+ icon: z.ZodString;
230
+ label: z.ZodString;
231
+ }, "strip", z.ZodTypeAny, {
35
232
  color: string;
36
233
  description: string;
37
- extension: string;
234
+ label: string;
38
235
  icon: string;
236
+ extension: string;
237
+ }, {
238
+ color: string;
239
+ description: string;
39
240
  label: string;
40
- };
41
- export declare type WedocQueryResults = {
241
+ icon: string;
242
+ extension: string;
243
+ }>;
244
+ export declare type WedocTemplate = z.infer<typeof wedocTemplateSchema>;
245
+ export declare const wedocQueryResultsSchema: z.ZodObject<{
246
+ page: z.ZodNumber;
247
+ cnt: z.ZodNumber;
248
+ limit: z.ZodNumber;
249
+ data: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
250
+ id: z.ZodType<number, z.ZodTypeDef, number>;
251
+ mainType: z.ZodType<string, z.ZodTypeDef, string>;
252
+ type: z.ZodType<string, z.ZodTypeDef, string>;
253
+ uri: z.ZodType<string, z.ZodTypeDef, string>;
254
+ dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
255
+ dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
256
+ }, {
257
+ title: z.ZodString;
258
+ mimetype: z.ZodString;
259
+ _extend: z.ZodObject<{
260
+ generalAccessRule: z.ZodString;
261
+ generalAccessHash: z.ZodUnion<[z.ZodString, z.ZodUndefined]>;
262
+ dateModified: z.ZodString;
263
+ dateCreation: z.ZodString;
264
+ fileInfo: z.ZodObject<{
265
+ color: z.ZodString;
266
+ description: z.ZodString;
267
+ extension: z.ZodString;
268
+ icon: z.ZodString;
269
+ label: z.ZodString;
270
+ }, "strip", z.ZodTypeAny, {
271
+ color: string;
272
+ description: string;
273
+ label: string;
274
+ icon: string;
275
+ extension: string;
276
+ }, {
277
+ color: string;
278
+ description: string;
279
+ label: string;
280
+ icon: string;
281
+ extension: string;
282
+ }>;
283
+ parentId: z.ZodNumber;
284
+ parentType: z.ZodString;
285
+ parentFiles: z.ZodArray<z.ZodNumber, "many">;
286
+ _url: z.ZodString;
287
+ }, "strip", z.ZodTypeAny, {
288
+ dateCreation: string;
289
+ dateModified: string;
290
+ _url: string;
291
+ generalAccessRule: string;
292
+ fileInfo: {
293
+ color: string;
294
+ description: string;
295
+ label: string;
296
+ icon: string;
297
+ extension: string;
298
+ };
299
+ parentId: number;
300
+ parentType: string;
301
+ parentFiles: number[];
302
+ generalAccessHash?: string | undefined;
303
+ }, {
304
+ dateCreation: string;
305
+ dateModified: string;
306
+ _url: string;
307
+ generalAccessRule: string;
308
+ fileInfo: {
309
+ color: string;
310
+ description: string;
311
+ label: string;
312
+ icon: string;
313
+ extension: string;
314
+ };
315
+ parentId: number;
316
+ parentType: string;
317
+ parentFiles: number[];
318
+ generalAccessHash?: string | undefined;
319
+ }>;
320
+ _audience: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
321
+ id: z.ZodType<number, z.ZodTypeDef, number>;
322
+ mainType: z.ZodType<string, z.ZodTypeDef, string>;
323
+ type: z.ZodType<string, z.ZodTypeDef, string>;
324
+ uri: z.ZodType<string, z.ZodTypeDef, string>;
325
+ dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
326
+ dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
327
+ }, {
328
+ title: z.ZodString;
329
+ _url: z.ZodString;
330
+ }>, "strip", z.ZodTypeAny, import("./objectBase").jObjectLittle, import("./objectBase").jObjectLittle>, "many">;
331
+ _right: z.ZodObject<{
332
+ create: z.ZodType<boolean, z.ZodTypeDef, boolean>;
333
+ read: z.ZodType<boolean, z.ZodTypeDef, boolean>;
334
+ publish: z.ZodType<boolean, z.ZodTypeDef, boolean>;
335
+ administrate: z.ZodType<boolean, z.ZodTypeDef, boolean>;
336
+ update: z.ZodType<boolean, z.ZodTypeDef, boolean>;
337
+ delete: z.ZodType<boolean, z.ZodTypeDef, boolean>;
338
+ comment: z.ZodType<boolean, z.ZodTypeDef, boolean>;
339
+ member: z.ZodType<boolean, z.ZodTypeDef, boolean>;
340
+ }, "strip", z.ZodTypeAny, import("./common").Rights, import("./common").Rights>;
341
+ _user: z.ZodObject<z.objectUtil.extendShape<{
342
+ id: z.ZodType<number, z.ZodTypeDef, number>;
343
+ mainType: z.ZodType<string, z.ZodTypeDef, string>;
344
+ type: z.ZodType<string, z.ZodTypeDef, string>;
345
+ uri: z.ZodType<string, z.ZodTypeDef, string>;
346
+ dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
347
+ dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
348
+ }, {
349
+ title: z.ZodString;
350
+ _url: z.ZodString;
351
+ level: z.ZodNativeEnum<{
352
+ readonly ADMIN: 9;
353
+ readonly USER: 5;
354
+ readonly EXTERNAL: 3;
355
+ readonly GUEST: 0;
356
+ }>;
357
+ dateCreation: z.ZodString;
358
+ dateModified: z.ZodString;
359
+ }>, "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>;
360
+ }>, "strip", z.ZodTypeAny, {
361
+ type: string;
362
+ id: number;
363
+ mainType: string;
364
+ uri: string;
365
+ title: string;
366
+ mimetype: string;
367
+ _extend: {
368
+ dateCreation: string;
369
+ dateModified: string;
370
+ _url: string;
371
+ generalAccessRule: string;
372
+ fileInfo: {
373
+ color: string;
374
+ description: string;
375
+ label: string;
376
+ icon: string;
377
+ extension: string;
378
+ };
379
+ parentId: number;
380
+ parentType: string;
381
+ parentFiles: number[];
382
+ generalAccessHash?: string | undefined;
383
+ };
384
+ _user: import("./objectBase").jObjectBase & {
385
+ title: string;
386
+ _url: string;
387
+ } & {
388
+ [key: string]: string | number | null;
389
+ level: 0 | 3 | 5 | 9;
390
+ dateCreation: string;
391
+ dateModified: string;
392
+ };
393
+ _right: import("./common").Rights;
394
+ _audience: import("./objectBase").jObjectLittle[];
395
+ dateCreation?: string | undefined;
396
+ dateModified?: string | null | undefined;
397
+ }, {
398
+ type: string;
399
+ id: number;
400
+ mainType: string;
401
+ uri: string;
402
+ title: string;
403
+ mimetype: string;
404
+ _extend: {
405
+ dateCreation: string;
406
+ dateModified: string;
407
+ _url: string;
408
+ generalAccessRule: string;
409
+ fileInfo: {
410
+ color: string;
411
+ description: string;
412
+ label: string;
413
+ icon: string;
414
+ extension: string;
415
+ };
416
+ parentId: number;
417
+ parentType: string;
418
+ parentFiles: number[];
419
+ generalAccessHash?: string | undefined;
420
+ };
421
+ _user: import("./objectBase").jObjectBase & {
422
+ title: string;
423
+ _url: string;
424
+ } & {
425
+ [key: string]: string | number | null;
426
+ level: 0 | 3 | 5 | 9;
427
+ dateCreation: string;
428
+ dateModified: string;
429
+ };
430
+ _right: import("./common").Rights;
431
+ _audience: import("./objectBase").jObjectLittle[];
432
+ dateCreation?: string | undefined;
433
+ dateModified?: string | null | undefined;
434
+ }>, "many">;
435
+ }, "strip", z.ZodTypeAny, {
436
+ limit: number;
42
437
  page: number;
438
+ data: {
439
+ type: string;
440
+ id: number;
441
+ mainType: string;
442
+ uri: string;
443
+ title: string;
444
+ mimetype: string;
445
+ _extend: {
446
+ dateCreation: string;
447
+ dateModified: string;
448
+ _url: string;
449
+ generalAccessRule: string;
450
+ fileInfo: {
451
+ color: string;
452
+ description: string;
453
+ label: string;
454
+ icon: string;
455
+ extension: string;
456
+ };
457
+ parentId: number;
458
+ parentType: string;
459
+ parentFiles: number[];
460
+ generalAccessHash?: string | undefined;
461
+ };
462
+ _user: import("./objectBase").jObjectBase & {
463
+ title: string;
464
+ _url: string;
465
+ } & {
466
+ [key: string]: string | number | null;
467
+ level: 0 | 3 | 5 | 9;
468
+ dateCreation: string;
469
+ dateModified: string;
470
+ };
471
+ _right: import("./common").Rights;
472
+ _audience: import("./objectBase").jObjectLittle[];
473
+ dateCreation?: string | undefined;
474
+ dateModified?: string | null | undefined;
475
+ }[];
43
476
  cnt: number;
477
+ }, {
44
478
  limit: number;
45
- data: WedocFileType[];
46
- };
47
- export declare type WedocQueryType = {
479
+ page: number;
480
+ data: {
481
+ type: string;
482
+ id: number;
483
+ mainType: string;
484
+ uri: string;
485
+ title: string;
486
+ mimetype: string;
487
+ _extend: {
488
+ dateCreation: string;
489
+ dateModified: string;
490
+ _url: string;
491
+ generalAccessRule: string;
492
+ fileInfo: {
493
+ color: string;
494
+ description: string;
495
+ label: string;
496
+ icon: string;
497
+ extension: string;
498
+ };
499
+ parentId: number;
500
+ parentType: string;
501
+ parentFiles: number[];
502
+ generalAccessHash?: string | undefined;
503
+ };
504
+ _user: import("./objectBase").jObjectBase & {
505
+ title: string;
506
+ _url: string;
507
+ } & {
508
+ [key: string]: string | number | null;
509
+ level: 0 | 3 | 5 | 9;
510
+ dateCreation: string;
511
+ dateModified: string;
512
+ };
513
+ _right: import("./common").Rights;
514
+ _audience: import("./objectBase").jObjectLittle[];
515
+ dateCreation?: string | undefined;
516
+ dateModified?: string | null | undefined;
517
+ }[];
518
+ cnt: number;
519
+ }>;
520
+ export declare type WedocQueryResults = z.infer<typeof wedocQueryResultsSchema>;
521
+ export declare const wedocQueryTypeSchema: z.ZodObject<{
522
+ query: z.ZodString;
523
+ filters: z.ZodArray<z.ZodObject<{
524
+ name: z.ZodString;
525
+ value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodObject<{
526
+ srcId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
527
+ srcType: z.ZodString;
528
+ }, "strip", z.ZodTypeAny, {
529
+ srcId: string | number;
530
+ srcType: string;
531
+ }, {
532
+ srcId: string | number;
533
+ srcType: string;
534
+ }>, z.ZodObject<{
535
+ targetId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
536
+ targetType: z.ZodString;
537
+ }, "strip", z.ZodTypeAny, {
538
+ targetId: string | number;
539
+ targetType: string;
540
+ }, {
541
+ targetId: string | number;
542
+ targetType: string;
543
+ }>, z.ZodObject<{
544
+ start: z.ZodString;
545
+ end: z.ZodString;
546
+ }, "strip", z.ZodTypeAny, {
547
+ start: string;
548
+ end: string;
549
+ }, {
550
+ start: string;
551
+ end: string;
552
+ }>]>;
553
+ 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">]>>;
554
+ 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">]>>;
555
+ or: z.ZodOptional<z.ZodBoolean>;
556
+ isNull: z.ZodOptional<z.ZodBoolean>;
557
+ isNotNull: z.ZodOptional<z.ZodBoolean>;
558
+ }, "strip", z.ZodTypeAny, {
559
+ value: string | number | boolean | string[] | {
560
+ srcId: string | number;
561
+ srcType: string;
562
+ } | {
563
+ targetId: string | number;
564
+ targetType: string;
565
+ } | {
566
+ start: string;
567
+ end: string;
568
+ };
569
+ name: string;
570
+ operator?: "<" | ">" | "<=" | ">=" | "!=" | "<>" | "like" | "between" | "is" | "is not" | "in" | "link" | "match" | "equal" | undefined;
571
+ method?: "<" | ">" | "<=" | ">=" | "!=" | "<>" | "like" | "between" | "is" | "is not" | "in" | "link" | "match" | "equal" | "+" | "-" | undefined;
572
+ or?: boolean | undefined;
573
+ isNull?: boolean | undefined;
574
+ isNotNull?: boolean | undefined;
575
+ }, {
576
+ value: string | number | boolean | string[] | {
577
+ srcId: string | number;
578
+ srcType: string;
579
+ } | {
580
+ targetId: string | number;
581
+ targetType: string;
582
+ } | {
583
+ start: string;
584
+ end: string;
585
+ };
586
+ name: string;
587
+ operator?: "<" | ">" | "<=" | ">=" | "!=" | "<>" | "like" | "between" | "is" | "is not" | "in" | "link" | "match" | "equal" | undefined;
588
+ method?: "<" | ">" | "<=" | ">=" | "!=" | "<>" | "like" | "between" | "is" | "is not" | "in" | "link" | "match" | "equal" | "+" | "-" | undefined;
589
+ or?: boolean | undefined;
590
+ isNull?: boolean | undefined;
591
+ isNotNull?: boolean | undefined;
592
+ }>, "many">;
593
+ orders: z.ZodArray<z.ZodObject<{
594
+ name: z.ZodString;
595
+ sort: z.ZodUnion<[z.ZodLiteral<"ASC">, z.ZodLiteral<"DESC">]>;
596
+ }, "strip", z.ZodTypeAny, {
597
+ sort: "ASC" | "DESC";
598
+ name: string;
599
+ }, {
600
+ sort: "ASC" | "DESC";
601
+ name: string;
602
+ }>, "many">;
603
+ page: z.ZodNumber;
604
+ limit: z.ZodNumber;
605
+ }, "strip", z.ZodTypeAny, {
606
+ filters: {
607
+ value: string | number | boolean | string[] | {
608
+ srcId: string | number;
609
+ srcType: string;
610
+ } | {
611
+ targetId: string | number;
612
+ targetType: string;
613
+ } | {
614
+ start: string;
615
+ end: string;
616
+ };
617
+ name: string;
618
+ operator?: "<" | ">" | "<=" | ">=" | "!=" | "<>" | "like" | "between" | "is" | "is not" | "in" | "link" | "match" | "equal" | undefined;
619
+ method?: "<" | ">" | "<=" | ">=" | "!=" | "<>" | "like" | "between" | "is" | "is not" | "in" | "link" | "match" | "equal" | "+" | "-" | undefined;
620
+ or?: boolean | undefined;
621
+ isNull?: boolean | undefined;
622
+ isNotNull?: boolean | undefined;
623
+ }[];
48
624
  query: string;
49
- filters: Filters;
50
- orders: Orders;
625
+ limit: number;
51
626
  page: number;
627
+ orders: {
628
+ sort: "ASC" | "DESC";
629
+ name: string;
630
+ }[];
631
+ }, {
632
+ filters: {
633
+ value: string | number | boolean | string[] | {
634
+ srcId: string | number;
635
+ srcType: string;
636
+ } | {
637
+ targetId: string | number;
638
+ targetType: string;
639
+ } | {
640
+ start: string;
641
+ end: string;
642
+ };
643
+ name: string;
644
+ operator?: "<" | ">" | "<=" | ">=" | "!=" | "<>" | "like" | "between" | "is" | "is not" | "in" | "link" | "match" | "equal" | undefined;
645
+ method?: "<" | ">" | "<=" | ">=" | "!=" | "<>" | "like" | "between" | "is" | "is not" | "in" | "link" | "match" | "equal" | "+" | "-" | undefined;
646
+ or?: boolean | undefined;
647
+ isNull?: boolean | undefined;
648
+ isNotNull?: boolean | undefined;
649
+ }[];
650
+ query: string;
52
651
  limit: number;
53
- };
54
- export declare type WedocEmptyType = {};
652
+ page: number;
653
+ orders: {
654
+ sort: "ASC" | "DESC";
655
+ name: string;
656
+ }[];
657
+ }>;
658
+ export declare type WedocQueryType = z.infer<typeof wedocQueryTypeSchema>;
659
+ export declare const wedocEmptyTypeSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
660
+ export declare type WedocEmptyType = z.infer<typeof wedocEmptyTypeSchema>;