jamespot-user-api 1.0.166 → 1.0.167

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 (126) hide show
  1. package/documentation/assets/search.js +1 -1
  2. package/documentation/classes/AdminLicenseApi.html +11 -11
  3. package/documentation/classes/AdminStoreApi.html +1 -1
  4. package/documentation/classes/AdminUtilsApi.html +1 -1
  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 +2 -2
  9. package/documentation/classes/JBaseApi.html +1 -1
  10. package/documentation/classes/JBbbApi.html +1 -0
  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/JDiapazoneApi.html +1 -1
  15. package/documentation/classes/JFaqApi.html +1 -1
  16. package/documentation/classes/JFileApi.html +5 -5
  17. package/documentation/classes/JFilebankApi.html +1 -1
  18. package/documentation/classes/JGlobalApi.html +1 -1
  19. package/documentation/classes/JGroupApi.html +14 -14
  20. package/documentation/classes/JIAApi.html +1 -1
  21. package/documentation/classes/JLandApi.html +1 -1
  22. package/documentation/classes/JMessengerApi.html +1 -1
  23. package/documentation/classes/JObjectApi.html +1 -1
  24. package/documentation/classes/JSearchApi.html +6 -6
  25. package/documentation/classes/JShareApi.html +1 -1
  26. package/documentation/classes/JSocialActionApi.html +1 -1
  27. package/documentation/classes/JTaxonomyApi.html +2 -2
  28. package/documentation/classes/JUserApi.html +7 -7
  29. package/documentation/classes/JWedocApi.html +1 -1
  30. package/documentation/classes/JWidgetApi.html +1 -1
  31. package/documentation/classes/JamespotUserApi.html +1 -1
  32. package/documentation/classes/Network.html +1 -1
  33. package/documentation/classes/TVDisplayApi.html +1 -1
  34. package/documentation/classes/WindowBrowser.html +1 -1
  35. package/documentation/enums/Format.html +1 -0
  36. package/documentation/enums/GroupModerateStatus.html +1 -1
  37. package/documentation/enums/StudioApplicationStatus.html +1 -1
  38. package/documentation/enums/WidgetsName.html +1 -0
  39. package/documentation/index.html +1 -1
  40. package/documentation/interfaces/AccessRightObject.html +1 -1
  41. package/documentation/interfaces/AdminLicenseUser.html +1 -1
  42. package/documentation/interfaces/ApiDefaultWrapper.html +1 -1
  43. package/documentation/interfaces/ApiWrapper.html +1 -1
  44. package/documentation/interfaces/BaseMessage.html +1 -1
  45. package/documentation/interfaces/Category.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/ObjectListProps.html +1 -1
  51. package/documentation/interfaces/PagingResults.html +1 -1
  52. package/documentation/interfaces/RootFolderProps.html +1 -1
  53. package/documentation/interfaces/SearchCategoryModel.html +1 -1
  54. package/documentation/interfaces/SearchCategoryValue.html +1 -1
  55. package/documentation/interfaces/SearchConfig.html +1 -1
  56. package/documentation/interfaces/SearchFacetModel.html +1 -1
  57. package/documentation/interfaces/SearchFacetValueModel.html +1 -1
  58. package/documentation/interfaces/SearchQuery.html +1 -1
  59. package/documentation/interfaces/SearchQueryFilterModel.html +1 -1
  60. package/documentation/interfaces/SearchQueryOption.html +1 -1
  61. package/documentation/interfaces/SearchQueryResult.html +1 -1
  62. package/documentation/interfaces/SearchQuerySortModel.html +1 -1
  63. package/documentation/interfaces/SearchResultCatProps.html +1 -1
  64. package/documentation/interfaces/SearchResultPropsApp.html +1 -1
  65. package/documentation/interfaces/SearchResultPropsObject.html +1 -1
  66. package/documentation/interfaces/SpotProps.html +1 -1
  67. package/documentation/interfaces/TaxonomyCreate.html +1 -1
  68. package/documentation/interfaces/WidgetType.html +1 -0
  69. package/documentation/interfaces/WindowInterface.html +1 -1
  70. package/documentation/modules.html +8 -12
  71. package/jest.config.ts +3 -2
  72. package/lib/jamespot-user-api.js +1 -1
  73. package/lib/jamespot-user-api.js.map +1 -1
  74. package/lib/jest.config.d.ts +1 -0
  75. package/lib/jest.config.vm.d.ts +1 -0
  76. package/lib/src/apis/article/article.d.ts +10 -7
  77. package/lib/src/apis/assetReservation/assetReservation.d.ts +4 -4
  78. package/lib/src/apis/bbb/bbb.d.ts +7 -0
  79. package/lib/src/apis/bbb/bbb.mock.d.ts +3 -0
  80. package/lib/src/apis/bbb/bbb.test.d.ts +1 -0
  81. package/lib/src/apis/bookmark/bookmark.d.ts +11 -11
  82. package/lib/src/apis/businessNetworking/businessNetworking.d.ts +2 -2
  83. package/lib/src/apis/community.d.ts +2 -2
  84. package/lib/src/apis/faq/faq.d.ts +15 -15
  85. package/lib/src/apis/file/file.d.ts +4 -4
  86. package/lib/src/apis/group/group.d.ts +18 -5
  87. package/lib/src/apis/index.d.ts +1 -0
  88. package/lib/src/apis/jamespotUserApi.d.ts +2 -0
  89. package/lib/src/apis/mediaLibrary/mediaLibrary.d.ts +1 -1
  90. package/lib/src/apis/search/search.d.ts +5 -2
  91. package/lib/src/apis/socialAction/socialAction.d.ts +4 -4
  92. package/lib/src/apis/taxonomy/taxonomy.d.ts +26 -2
  93. package/lib/src/apis/taxonomy/types.d.ts +2 -2
  94. package/lib/src/apis/user/user.d.ts +937 -8
  95. package/lib/src/apis/user/user.mock.d.ts +3 -2
  96. package/lib/src/types/article.d.ts +152945 -48
  97. package/lib/src/types/asei.d.ts +1 -1
  98. package/lib/src/types/assetReservation.d.ts +1 -1
  99. package/lib/src/types/autocomplete.d.ts +261 -9
  100. package/lib/src/types/bbb.d.ts +39 -0
  101. package/lib/src/types/businessContact.d.ts +18 -0
  102. package/lib/src/types/faq.d.ts +4 -5
  103. package/lib/src/types/file.d.ts +2 -2
  104. package/lib/src/types/group.d.ts +34 -5
  105. package/lib/src/types/hook.d.ts +6 -6
  106. package/lib/src/types/index.d.ts +2 -0
  107. package/lib/src/types/mediaLibrary.d.ts +2 -2
  108. package/lib/src/types/meeting.d.ts +1 -1
  109. package/lib/src/types/pollSurvey.d.ts +1 -1
  110. package/lib/src/types/quizz.d.ts +1 -1
  111. package/lib/src/types/search.d.ts +2 -1
  112. package/lib/src/types/socialEvent.d.ts +1 -1
  113. package/lib/src/types/support.d.ts +1 -1
  114. package/lib/src/types/surveyDate.d.ts +1 -1
  115. package/lib/src/types/tvDisplay.d.ts +2 -2
  116. package/lib/src/types/user.d.ts +0 -114
  117. package/lib/src/types/utils.d.ts +330 -55
  118. package/lib/src/types/widgets.d.ts +94410 -227
  119. package/lib/src/util/Test.d.ts +3640 -4
  120. package/lib/src/util/object.d.ts +2 -2
  121. package/package.json +1 -1
  122. package/phpunitMock/bigBlueButtonGetPublicWebinarData-success.json +10 -0
  123. package/phpunitMock/bigBlueButtonPublicWebinarFullname-success.json +9 -0
  124. package/phpunitMock/businessContactQueryList-default.json +54 -0
  125. package/phpunitMock/widgetCheckListRespond-article.json +1 -1
  126. package/documentation/interfaces/BaseAutocomplete.html +0 -1
@@ -1,11 +1,25 @@
1
1
  import { JBaseApi } from '../base';
2
- import { ApiWrapper, jObjectLittle, UserModel, UserMapModel, jUserAutocomplete, ApiPagingResults, ApiDefaultWrapper, jUserLittle, Readable, jUserValues, UserFieldsConfigurationType, UserFieldsType, UserDirectoryConfiguration, ObjectListProps, BusinessContact } from '../../types';
2
+ import { ApiWrapper, jObjectLittle, UserMapModel, ApiPagingResults, ApiDefaultWrapper, jUserLittle, Readable, jUserValues, UserFieldsConfigurationType, UserFieldsType, UserDirectoryConfiguration, ObjectListProps, BusinessContact, FormatExtension } from '../../types';
3
+ import { jBusinessContactLittle } from '../../types/businessContact';
3
4
  export declare class JUserApi extends JBaseApi {
4
5
  /**
5
6
  * autocomplete return a list users
6
7
  * @param query <string>
7
8
  */
8
- autocomplete(query: string): Promise<jUserAutocomplete[]>;
9
+ autocomplete(query: string): Promise<{
10
+ type: string;
11
+ id: string;
12
+ mainType: string;
13
+ uri: string;
14
+ title: string;
15
+ name: string;
16
+ Pseudo: string;
17
+ shortUri: string;
18
+ label: string;
19
+ cssClass: string;
20
+ cssColor: string;
21
+ class: string;
22
+ }[]>;
9
23
  /**
10
24
  * Get a user
11
25
  * @param uri uri
@@ -33,14 +47,916 @@ export declare class JUserApi extends JBaseApi {
33
47
  userUpdateProfile(values: jUserValues): Promise<ApiWrapper<jUserLittle>>;
34
48
  configuration(): Promise<ApiWrapper<UserDirectoryConfiguration>>;
35
49
  fieldsConfiguration(): Promise<ApiWrapper<UserFieldsConfigurationType>>;
36
- userList<T extends jObjectLittle = jUserLittle>(payload: ObjectListProps, signal?: AbortSignal): Promise<ApiPagingResults<T>>;
37
- userQueryList<T extends jObjectLittle = jUserLittle>(payload: ObjectListProps): Promise<ApiPagingResults<T>>;
50
+ userList<T extends jObjectLittle = jUserLittle>(payload: ObjectListProps, params?: {
51
+ signal?: AbortSignal;
52
+ formatExtension?: FormatExtension;
53
+ }): Promise<ApiPagingResults<T>>;
54
+ userQueryList<T extends jObjectLittle = jUserLittle>(payload: ObjectListProps, params?: {
55
+ signal?: AbortSignal;
56
+ formatExtension?: FormatExtension;
57
+ }): Promise<ApiPagingResults<T>>;
38
58
  userMap(payload: ObjectListProps): Promise<ApiPagingResults<UserMapModel>>;
39
- userBusinessContactQueryList(query: ObjectListProps): Promise<ApiPagingResults<UserModel>>;
40
- userCreateBusinessContact(user: BusinessContact): Promise<ApiWrapper<import("../../types").jArticleLittle[], import("../../types").BaseMessages>>;
59
+ userBusinessContactQueryList<T extends jObjectLittle = jBusinessContactLittle>(query: ObjectListProps): Promise<ApiPagingResults<T>>;
60
+ userCreateBusinessContact(user: BusinessContact): Promise<ApiWrapper<{
61
+ type: string;
62
+ id: number;
63
+ mainType: string;
64
+ uri: string;
65
+ dateCreation: string;
66
+ dateModified: string;
67
+ title: string;
68
+ _url: string;
69
+ }[], import("../../types").BaseMessages>>;
41
70
  userUpdateBusinessContact(user: Readable<BusinessContact & {
42
71
  uri: string;
43
- }>): Promise<ApiWrapper<import("../../types").jArticleList, import("../../types").BaseMessages>>;
72
+ }>): Promise<ApiWrapper<{
73
+ type: string;
74
+ id: number;
75
+ mainType: string;
76
+ uri: string;
77
+ dateCreation: string;
78
+ dateModified: string;
79
+ title: string;
80
+ _url: string;
81
+ _user: {
82
+ type: string;
83
+ id: number;
84
+ mainType: string;
85
+ uri: string;
86
+ dateCreation: string;
87
+ dateModified: string;
88
+ title: string;
89
+ _url: string;
90
+ level: 0 | 9 | 5 | 3;
91
+ } & {
92
+ [k: string]: string | number | null;
93
+ };
94
+ _right: {
95
+ create: boolean;
96
+ read: boolean;
97
+ publish: boolean;
98
+ administrate: boolean;
99
+ update: boolean;
100
+ delete: boolean;
101
+ comment: boolean;
102
+ member: boolean;
103
+ };
104
+ _audience: (import("zod").objectOutputType<{
105
+ type: import("zod").ZodString;
106
+ id: import("zod").ZodNumber;
107
+ mainType: import("zod").ZodString;
108
+ uri: import("zod").ZodString;
109
+ title: import("zod").ZodString;
110
+ _url: import("zod").ZodString;
111
+ level: import("zod").ZodNativeEnum<{
112
+ readonly ADMIN: 9;
113
+ readonly USER: 5;
114
+ readonly EXTERNAL: 3;
115
+ readonly GUEST: 0;
116
+ }>;
117
+ dateCreation: import("zod").ZodString;
118
+ dateModified: import("zod").ZodString;
119
+ }, import("zod").ZodUnion<[import("zod").ZodNumber, import("zod").ZodNullable<import("zod").ZodString>, import("zod").ZodNullable<import("zod").ZodString>, import("zod").ZodNullable<import("zod").ZodString>, import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodNullable<import("zod").ZodString>, import("zod").ZodString, import("zod").ZodString]>, "strip"> | {
120
+ type: string;
121
+ id: number;
122
+ mainType: string;
123
+ uri: string;
124
+ dateCreation: string;
125
+ dateModified: string;
126
+ title: string;
127
+ _url: string;
128
+ category: number;
129
+ privacy: number;
130
+ })[];
131
+ description?: string | null | undefined;
132
+ image?: {
133
+ width: number;
134
+ height: number;
135
+ } | undefined;
136
+ articleWidgets?: {
137
+ title: string;
138
+ widget: ({
139
+ layers?: string[] | undefined;
140
+ } & {
141
+ name: import("../../types").WidgetsName.ArticleButton;
142
+ uniqid: string;
143
+ content: {
144
+ text?: string | undefined;
145
+ color?: string | undefined;
146
+ url?: string | undefined;
147
+ target?: string | undefined;
148
+ backgroundColor?: string | undefined;
149
+ borderRadius?: string | undefined;
150
+ fontSize?: string | undefined;
151
+ buttonSize?: "sm" | "md" | "lg" | undefined;
152
+ variant?: "contained" | "outlined" | undefined;
153
+ openingType?: "link" | "anchor" | "popup" | undefined;
154
+ openingTypeLink?: {
155
+ url: string;
156
+ target: string;
157
+ } | undefined;
158
+ openingTypeAnchor?: {
159
+ uniqid: string;
160
+ } | undefined;
161
+ openingTypePopup?: {
162
+ title: string;
163
+ widgets: any[];
164
+ } | undefined;
165
+ };
166
+ }) | ({
167
+ layers?: string[] | undefined;
168
+ } & {
169
+ name: import("../../types").WidgetsName.ArticleGallery;
170
+ uniqid: string;
171
+ content: {
172
+ gap?: string | undefined;
173
+ column?: string | undefined;
174
+ files?: {
175
+ type: string;
176
+ id: number;
177
+ mainType: string;
178
+ uri: string;
179
+ dateCreation: string;
180
+ dateModified: string | null;
181
+ title: string;
182
+ _url: string;
183
+ mimetype: string;
184
+ size: number;
185
+ path?: string | undefined;
186
+ }[] | undefined;
187
+ };
188
+ }) | ({
189
+ layers?: string[] | undefined;
190
+ } & {
191
+ name: import("../../types").WidgetsName.ArticleTitle;
192
+ uniqid: string;
193
+ content: {
194
+ text?: string | undefined;
195
+ textAlign?: "left" | "right" | "center" | "justify" | undefined;
196
+ heading?: string | undefined;
197
+ color?: string | undefined;
198
+ backgroundColor?: string | undefined;
199
+ };
200
+ }) | ({
201
+ layers?: string[] | undefined;
202
+ } & {
203
+ name: import("../../types").WidgetsName.ArticleText;
204
+ uniqid: string;
205
+ content: {
206
+ text?: string | undefined;
207
+ color?: string | undefined;
208
+ fontSize?: string | undefined;
209
+ lineHeight?: string | undefined;
210
+ linkColor?: string | undefined;
211
+ };
212
+ }) | ({
213
+ layers?: string[] | undefined;
214
+ } & {
215
+ name: import("../../types").WidgetsName.ArticleImage;
216
+ uniqid: string;
217
+ content: {
218
+ file?: {
219
+ type: string;
220
+ id: number;
221
+ mainType: string;
222
+ uri: string;
223
+ dateCreation: string;
224
+ dateModified: string | null;
225
+ title: string;
226
+ _url: string;
227
+ mimetype: string;
228
+ size: number;
229
+ path?: string | undefined;
230
+ } | undefined;
231
+ useFilter?: boolean | undefined;
232
+ };
233
+ }) | ({
234
+ layers?: string[] | undefined;
235
+ } & {
236
+ name: import("../../types").WidgetsName.ArticleAttachment;
237
+ uniqid: string;
238
+ content: {
239
+ files?: {
240
+ type: string;
241
+ id: number;
242
+ mainType: string;
243
+ uri: string;
244
+ dateCreation: string;
245
+ dateModified: string | null;
246
+ title: string;
247
+ _url: string;
248
+ mimetype: string;
249
+ size: number;
250
+ path?: string | undefined;
251
+ }[] | undefined;
252
+ fileDisplay?: "list" | "gallery" | undefined;
253
+ };
254
+ }) | ({
255
+ layers?: string[] | undefined;
256
+ } & {
257
+ name: import("../../types").WidgetsName.Api;
258
+ uniqid: string;
259
+ content: {
260
+ url?: string | undefined;
261
+ keys?: string[] | undefined;
262
+ order?: string | undefined;
263
+ orderBy?: string | undefined;
264
+ };
265
+ }) | ({
266
+ layers?: string[] | undefined;
267
+ } & {
268
+ name: import("../../types").WidgetsName.ArticleSlider;
269
+ uniqid: string;
270
+ content: {
271
+ slides?: {
272
+ title: string;
273
+ text: string;
274
+ titleHeading?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span" | undefined;
275
+ textColor?: string | undefined;
276
+ opacityFilter?: number | undefined;
277
+ opacityColor?: string | undefined;
278
+ file?: {
279
+ type: string;
280
+ id: number;
281
+ mainType: string;
282
+ uri: string;
283
+ dateCreation: string;
284
+ dateModified: string | null;
285
+ title: string;
286
+ _url: string;
287
+ mimetype: string;
288
+ size: number;
289
+ path?: string | undefined;
290
+ } | undefined;
291
+ }[] | undefined;
292
+ maxWidth?: number | undefined;
293
+ loop?: boolean | undefined;
294
+ useDots?: boolean | undefined;
295
+ startAt?: number | undefined;
296
+ };
297
+ }) | ({
298
+ layers?: string[] | undefined;
299
+ } & import("../../types").WidgetType<{
300
+ arr?: {
301
+ title: string;
302
+ value?: boolean | undefined;
303
+ links?: {
304
+ href: string;
305
+ target: string;
306
+ }[] | undefined;
307
+ id?: number | undefined;
308
+ user?: {
309
+ type: "user";
310
+ id: number;
311
+ mainType: "user";
312
+ } | undefined;
313
+ }[] | undefined;
314
+ } & {
315
+ css?: Record<string, string> | undefined;
316
+ widgets: any[];
317
+ }> & {
318
+ title: string;
319
+ }) | ({
320
+ layers?: string[] | undefined;
321
+ } & {
322
+ name: import("../../types").WidgetsName.ArticleButton;
323
+ uniqid: string;
324
+ content: {
325
+ text?: string | undefined;
326
+ color?: string | undefined;
327
+ url?: string | undefined;
328
+ target?: string | undefined;
329
+ backgroundColor?: string | undefined;
330
+ borderRadius?: string | undefined;
331
+ fontSize?: string | undefined;
332
+ buttonSize?: "sm" | "md" | "lg" | undefined;
333
+ variant?: "contained" | "outlined" | undefined;
334
+ openingType?: "link" | "anchor" | "popup" | undefined;
335
+ openingTypeLink?: {
336
+ url: string;
337
+ target: string;
338
+ } | undefined;
339
+ openingTypeAnchor?: {
340
+ uniqid: string;
341
+ } | undefined;
342
+ openingTypePopup?: {
343
+ title: string;
344
+ widgets: any[];
345
+ } | undefined;
346
+ };
347
+ } & import("../../types").WidgetType<{
348
+ arr?: {
349
+ title: string;
350
+ value?: boolean | undefined;
351
+ links?: {
352
+ href: string;
353
+ target: string;
354
+ }[] | undefined;
355
+ id?: number | undefined;
356
+ user?: {
357
+ type: "user";
358
+ id: number;
359
+ mainType: "user";
360
+ } | undefined;
361
+ }[] | undefined;
362
+ } & {
363
+ css?: Record<string, string> | undefined;
364
+ widgets: any[];
365
+ }> & {
366
+ title: string;
367
+ }) | ({
368
+ layers?: string[] | undefined;
369
+ } & {
370
+ name: import("../../types").WidgetsName.ArticleGallery;
371
+ uniqid: string;
372
+ content: {
373
+ gap?: string | undefined;
374
+ column?: string | undefined;
375
+ files?: {
376
+ type: string;
377
+ id: number;
378
+ mainType: string;
379
+ uri: string;
380
+ dateCreation: string;
381
+ dateModified: string | null;
382
+ title: string;
383
+ _url: string;
384
+ mimetype: string;
385
+ size: number;
386
+ path?: string | undefined;
387
+ }[] | undefined;
388
+ };
389
+ } & import("../../types").WidgetType<{
390
+ arr?: {
391
+ title: string;
392
+ value?: boolean | undefined;
393
+ links?: {
394
+ href: string;
395
+ target: string;
396
+ }[] | undefined;
397
+ id?: number | undefined;
398
+ user?: {
399
+ type: "user";
400
+ id: number;
401
+ mainType: "user";
402
+ } | undefined;
403
+ }[] | undefined;
404
+ } & {
405
+ css?: Record<string, string> | undefined;
406
+ widgets: any[];
407
+ }> & {
408
+ title: string;
409
+ }) | ({
410
+ layers?: string[] | undefined;
411
+ } & {
412
+ name: import("../../types").WidgetsName.ArticleTitle;
413
+ uniqid: string;
414
+ content: {
415
+ text?: string | undefined;
416
+ textAlign?: "left" | "right" | "center" | "justify" | undefined;
417
+ heading?: string | undefined;
418
+ color?: string | undefined;
419
+ backgroundColor?: string | undefined;
420
+ };
421
+ } & import("../../types").WidgetType<{
422
+ arr?: {
423
+ title: string;
424
+ value?: boolean | undefined;
425
+ links?: {
426
+ href: string;
427
+ target: string;
428
+ }[] | undefined;
429
+ id?: number | undefined;
430
+ user?: {
431
+ type: "user";
432
+ id: number;
433
+ mainType: "user";
434
+ } | undefined;
435
+ }[] | undefined;
436
+ } & {
437
+ css?: Record<string, string> | undefined;
438
+ widgets: any[];
439
+ }> & {
440
+ title: string;
441
+ }) | ({
442
+ layers?: string[] | undefined;
443
+ } & {
444
+ name: import("../../types").WidgetsName.ArticleText;
445
+ uniqid: string;
446
+ content: {
447
+ text?: string | undefined;
448
+ color?: string | undefined;
449
+ fontSize?: string | undefined;
450
+ lineHeight?: string | undefined;
451
+ linkColor?: string | undefined;
452
+ };
453
+ } & import("../../types").WidgetType<{
454
+ arr?: {
455
+ title: string;
456
+ value?: boolean | undefined;
457
+ links?: {
458
+ href: string;
459
+ target: string;
460
+ }[] | undefined;
461
+ id?: number | undefined;
462
+ user?: {
463
+ type: "user";
464
+ id: number;
465
+ mainType: "user";
466
+ } | undefined;
467
+ }[] | undefined;
468
+ } & {
469
+ css?: Record<string, string> | undefined;
470
+ widgets: any[];
471
+ }> & {
472
+ title: string;
473
+ }) | ({
474
+ layers?: string[] | undefined;
475
+ } & {
476
+ name: import("../../types").WidgetsName.ArticleImage;
477
+ uniqid: string;
478
+ content: {
479
+ file?: {
480
+ type: string;
481
+ id: number;
482
+ mainType: string;
483
+ uri: string;
484
+ dateCreation: string;
485
+ dateModified: string | null;
486
+ title: string;
487
+ _url: string;
488
+ mimetype: string;
489
+ size: number;
490
+ path?: string | undefined;
491
+ } | undefined;
492
+ useFilter?: boolean | undefined;
493
+ };
494
+ } & import("../../types").WidgetType<{
495
+ arr?: {
496
+ title: string;
497
+ value?: boolean | undefined;
498
+ links?: {
499
+ href: string;
500
+ target: string;
501
+ }[] | undefined;
502
+ id?: number | undefined;
503
+ user?: {
504
+ type: "user";
505
+ id: number;
506
+ mainType: "user";
507
+ } | undefined;
508
+ }[] | undefined;
509
+ } & {
510
+ css?: Record<string, string> | undefined;
511
+ widgets: any[];
512
+ }> & {
513
+ title: string;
514
+ }) | ({
515
+ layers?: string[] | undefined;
516
+ } & {
517
+ name: import("../../types").WidgetsName.ArticleAttachment;
518
+ uniqid: string;
519
+ content: {
520
+ files?: {
521
+ type: string;
522
+ id: number;
523
+ mainType: string;
524
+ uri: string;
525
+ dateCreation: string;
526
+ dateModified: string | null;
527
+ title: string;
528
+ _url: string;
529
+ mimetype: string;
530
+ size: number;
531
+ path?: string | undefined;
532
+ }[] | undefined;
533
+ fileDisplay?: "list" | "gallery" | undefined;
534
+ };
535
+ } & import("../../types").WidgetType<{
536
+ arr?: {
537
+ title: string;
538
+ value?: boolean | undefined;
539
+ links?: {
540
+ href: string;
541
+ target: string;
542
+ }[] | undefined;
543
+ id?: number | undefined;
544
+ user?: {
545
+ type: "user";
546
+ id: number;
547
+ mainType: "user";
548
+ } | undefined;
549
+ }[] | undefined;
550
+ } & {
551
+ css?: Record<string, string> | undefined;
552
+ widgets: any[];
553
+ }> & {
554
+ title: string;
555
+ }) | ({
556
+ layers?: string[] | undefined;
557
+ } & {
558
+ name: import("../../types").WidgetsName.Api;
559
+ uniqid: string;
560
+ content: {
561
+ url?: string | undefined;
562
+ keys?: string[] | undefined;
563
+ order?: string | undefined;
564
+ orderBy?: string | undefined;
565
+ };
566
+ } & import("../../types").WidgetType<{
567
+ arr?: {
568
+ title: string;
569
+ value?: boolean | undefined;
570
+ links?: {
571
+ href: string;
572
+ target: string;
573
+ }[] | undefined;
574
+ id?: number | undefined;
575
+ user?: {
576
+ type: "user";
577
+ id: number;
578
+ mainType: "user";
579
+ } | undefined;
580
+ }[] | undefined;
581
+ } & {
582
+ css?: Record<string, string> | undefined;
583
+ widgets: any[];
584
+ }> & {
585
+ title: string;
586
+ }) | ({
587
+ layers?: string[] | undefined;
588
+ } & {
589
+ name: import("../../types").WidgetsName.ArticleSlider;
590
+ uniqid: string;
591
+ content: {
592
+ slides?: {
593
+ title: string;
594
+ text: string;
595
+ titleHeading?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span" | undefined;
596
+ textColor?: string | undefined;
597
+ opacityFilter?: number | undefined;
598
+ opacityColor?: string | undefined;
599
+ file?: {
600
+ type: string;
601
+ id: number;
602
+ mainType: string;
603
+ uri: string;
604
+ dateCreation: string;
605
+ dateModified: string | null;
606
+ title: string;
607
+ _url: string;
608
+ mimetype: string;
609
+ size: number;
610
+ path?: string | undefined;
611
+ } | undefined;
612
+ }[] | undefined;
613
+ maxWidth?: number | undefined;
614
+ loop?: boolean | undefined;
615
+ useDots?: boolean | undefined;
616
+ startAt?: number | undefined;
617
+ };
618
+ } & import("../../types").WidgetType<{
619
+ arr?: {
620
+ title: string;
621
+ value?: boolean | undefined;
622
+ links?: {
623
+ href: string;
624
+ target: string;
625
+ }[] | undefined;
626
+ id?: number | undefined;
627
+ user?: {
628
+ type: "user";
629
+ id: number;
630
+ mainType: "user";
631
+ } | undefined;
632
+ }[] | undefined;
633
+ } & {
634
+ css?: Record<string, string> | undefined;
635
+ widgets: any[];
636
+ }> & {
637
+ title: string;
638
+ }) | ({
639
+ layers?: string[] | undefined;
640
+ } & import("../../types").WidgetType<{
641
+ arr?: {
642
+ title: string;
643
+ value?: boolean | undefined;
644
+ links?: {
645
+ href: string;
646
+ target: string;
647
+ }[] | undefined;
648
+ id?: number | undefined;
649
+ user?: {
650
+ type: "user";
651
+ id: number;
652
+ mainType: "user";
653
+ } | undefined;
654
+ }[] | undefined;
655
+ } & {
656
+ css?: Record<string, string> | undefined;
657
+ widgets: any[];
658
+ }> & {
659
+ title: string;
660
+ } & {
661
+ name: import("../../types").WidgetsName.ArticleButton;
662
+ uniqid: string;
663
+ content: {
664
+ text?: string | undefined;
665
+ color?: string | undefined;
666
+ url?: string | undefined;
667
+ target?: string | undefined;
668
+ backgroundColor?: string | undefined;
669
+ borderRadius?: string | undefined;
670
+ fontSize?: string | undefined;
671
+ buttonSize?: "sm" | "md" | "lg" | undefined;
672
+ variant?: "contained" | "outlined" | undefined;
673
+ openingType?: "link" | "anchor" | "popup" | undefined;
674
+ openingTypeLink?: {
675
+ url: string;
676
+ target: string;
677
+ } | undefined;
678
+ openingTypeAnchor?: {
679
+ uniqid: string;
680
+ } | undefined;
681
+ openingTypePopup?: {
682
+ title: string;
683
+ widgets: any[];
684
+ } | undefined;
685
+ };
686
+ }) | ({
687
+ layers?: string[] | undefined;
688
+ } & import("../../types").WidgetType<{
689
+ arr?: {
690
+ title: string;
691
+ value?: boolean | undefined;
692
+ links?: {
693
+ href: string;
694
+ target: string;
695
+ }[] | undefined;
696
+ id?: number | undefined;
697
+ user?: {
698
+ type: "user";
699
+ id: number;
700
+ mainType: "user";
701
+ } | undefined;
702
+ }[] | undefined;
703
+ } & {
704
+ css?: Record<string, string> | undefined;
705
+ widgets: any[];
706
+ }> & {
707
+ title: string;
708
+ } & {
709
+ name: import("../../types").WidgetsName.ArticleGallery;
710
+ uniqid: string;
711
+ content: {
712
+ gap?: string | undefined;
713
+ column?: string | undefined;
714
+ files?: {
715
+ type: string;
716
+ id: number;
717
+ mainType: string;
718
+ uri: string;
719
+ dateCreation: string;
720
+ dateModified: string | null;
721
+ title: string;
722
+ _url: string;
723
+ mimetype: string;
724
+ size: number;
725
+ path?: string | undefined;
726
+ }[] | undefined;
727
+ };
728
+ }) | ({
729
+ layers?: string[] | undefined;
730
+ } & import("../../types").WidgetType<{
731
+ arr?: {
732
+ title: string;
733
+ value?: boolean | undefined;
734
+ links?: {
735
+ href: string;
736
+ target: string;
737
+ }[] | undefined;
738
+ id?: number | undefined;
739
+ user?: {
740
+ type: "user";
741
+ id: number;
742
+ mainType: "user";
743
+ } | undefined;
744
+ }[] | undefined;
745
+ } & {
746
+ css?: Record<string, string> | undefined;
747
+ widgets: any[];
748
+ }> & {
749
+ title: string;
750
+ } & {
751
+ name: import("../../types").WidgetsName.ArticleTitle;
752
+ uniqid: string;
753
+ content: {
754
+ text?: string | undefined;
755
+ textAlign?: "left" | "right" | "center" | "justify" | undefined;
756
+ heading?: string | undefined;
757
+ color?: string | undefined;
758
+ backgroundColor?: string | undefined;
759
+ };
760
+ }) | ({
761
+ layers?: string[] | undefined;
762
+ } & import("../../types").WidgetType<{
763
+ arr?: {
764
+ title: string;
765
+ value?: boolean | undefined;
766
+ links?: {
767
+ href: string;
768
+ target: string;
769
+ }[] | undefined;
770
+ id?: number | undefined;
771
+ user?: {
772
+ type: "user";
773
+ id: number;
774
+ mainType: "user";
775
+ } | undefined;
776
+ }[] | undefined;
777
+ } & {
778
+ css?: Record<string, string> | undefined;
779
+ widgets: any[];
780
+ }> & {
781
+ title: string;
782
+ } & {
783
+ name: import("../../types").WidgetsName.ArticleText;
784
+ uniqid: string;
785
+ content: {
786
+ text?: string | undefined;
787
+ color?: string | undefined;
788
+ fontSize?: string | undefined;
789
+ lineHeight?: string | undefined;
790
+ linkColor?: string | undefined;
791
+ };
792
+ }) | ({
793
+ layers?: string[] | undefined;
794
+ } & import("../../types").WidgetType<{
795
+ arr?: {
796
+ title: string;
797
+ value?: boolean | undefined;
798
+ links?: {
799
+ href: string;
800
+ target: string;
801
+ }[] | undefined;
802
+ id?: number | undefined;
803
+ user?: {
804
+ type: "user";
805
+ id: number;
806
+ mainType: "user";
807
+ } | undefined;
808
+ }[] | undefined;
809
+ } & {
810
+ css?: Record<string, string> | undefined;
811
+ widgets: any[];
812
+ }> & {
813
+ title: string;
814
+ } & {
815
+ name: import("../../types").WidgetsName.ArticleImage;
816
+ uniqid: string;
817
+ content: {
818
+ file?: {
819
+ type: string;
820
+ id: number;
821
+ mainType: string;
822
+ uri: string;
823
+ dateCreation: string;
824
+ dateModified: string | null;
825
+ title: string;
826
+ _url: string;
827
+ mimetype: string;
828
+ size: number;
829
+ path?: string | undefined;
830
+ } | undefined;
831
+ useFilter?: boolean | undefined;
832
+ };
833
+ }) | ({
834
+ layers?: string[] | undefined;
835
+ } & import("../../types").WidgetType<{
836
+ arr?: {
837
+ title: string;
838
+ value?: boolean | undefined;
839
+ links?: {
840
+ href: string;
841
+ target: string;
842
+ }[] | undefined;
843
+ id?: number | undefined;
844
+ user?: {
845
+ type: "user";
846
+ id: number;
847
+ mainType: "user";
848
+ } | undefined;
849
+ }[] | undefined;
850
+ } & {
851
+ css?: Record<string, string> | undefined;
852
+ widgets: any[];
853
+ }> & {
854
+ title: string;
855
+ } & {
856
+ name: import("../../types").WidgetsName.ArticleAttachment;
857
+ uniqid: string;
858
+ content: {
859
+ files?: {
860
+ type: string;
861
+ id: number;
862
+ mainType: string;
863
+ uri: string;
864
+ dateCreation: string;
865
+ dateModified: string | null;
866
+ title: string;
867
+ _url: string;
868
+ mimetype: string;
869
+ size: number;
870
+ path?: string | undefined;
871
+ }[] | undefined;
872
+ fileDisplay?: "list" | "gallery" | undefined;
873
+ };
874
+ }) | ({
875
+ layers?: string[] | undefined;
876
+ } & import("../../types").WidgetType<{
877
+ arr?: {
878
+ title: string;
879
+ value?: boolean | undefined;
880
+ links?: {
881
+ href: string;
882
+ target: string;
883
+ }[] | undefined;
884
+ id?: number | undefined;
885
+ user?: {
886
+ type: "user";
887
+ id: number;
888
+ mainType: "user";
889
+ } | undefined;
890
+ }[] | undefined;
891
+ } & {
892
+ css?: Record<string, string> | undefined;
893
+ widgets: any[];
894
+ }> & {
895
+ title: string;
896
+ } & {
897
+ name: import("../../types").WidgetsName.Api;
898
+ uniqid: string;
899
+ content: {
900
+ url?: string | undefined;
901
+ keys?: string[] | undefined;
902
+ order?: string | undefined;
903
+ orderBy?: string | undefined;
904
+ };
905
+ }) | ({
906
+ layers?: string[] | undefined;
907
+ } & import("../../types").WidgetType<{
908
+ arr?: {
909
+ title: string;
910
+ value?: boolean | undefined;
911
+ links?: {
912
+ href: string;
913
+ target: string;
914
+ }[] | undefined;
915
+ id?: number | undefined;
916
+ user?: {
917
+ type: "user";
918
+ id: number;
919
+ mainType: "user";
920
+ } | undefined;
921
+ }[] | undefined;
922
+ } & {
923
+ css?: Record<string, string> | undefined;
924
+ widgets: any[];
925
+ }> & {
926
+ title: string;
927
+ } & {
928
+ name: import("../../types").WidgetsName.ArticleSlider;
929
+ uniqid: string;
930
+ content: {
931
+ slides?: {
932
+ title: string;
933
+ text: string;
934
+ titleHeading?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span" | undefined;
935
+ textColor?: string | undefined;
936
+ opacityFilter?: number | undefined;
937
+ opacityColor?: string | undefined;
938
+ file?: {
939
+ type: string;
940
+ id: number;
941
+ mainType: string;
942
+ uri: string;
943
+ dateCreation: string;
944
+ dateModified: string | null;
945
+ title: string;
946
+ _url: string;
947
+ mimetype: string;
948
+ size: number;
949
+ path?: string | undefined;
950
+ } | undefined;
951
+ }[] | undefined;
952
+ maxWidth?: number | undefined;
953
+ loop?: boolean | undefined;
954
+ useDots?: boolean | undefined;
955
+ startAt?: number | undefined;
956
+ };
957
+ });
958
+ }[] | undefined;
959
+ }, import("../../types").BaseMessages>>;
44
960
  userDeleteBusinessContact(idArticle: number): Promise<ApiWrapper<boolean, import("../../types").BaseMessages>>;
45
961
  userAddContact(idUser: number): Promise<ApiDefaultWrapper>;
46
962
  userRemoveContact(idUser: number): Promise<ApiDefaultWrapper>;
@@ -49,7 +965,20 @@ export declare class JUserApi extends JBaseApi {
49
965
  * @param mail Mail or username
50
966
  * @param pwd Password to be validated
51
967
  */
52
- signIn(mail: string, pwd: string): Promise<ApiWrapper<jUserAutocomplete, import("../../types").BaseMessages>>;
968
+ signIn(mail: string, pwd: string): Promise<ApiWrapper<{
969
+ type: string;
970
+ id: string;
971
+ mainType: string;
972
+ uri: string;
973
+ title: string;
974
+ name: string;
975
+ Pseudo: string;
976
+ shortUri: string;
977
+ label: string;
978
+ cssClass: string;
979
+ cssColor: string;
980
+ class: string;
981
+ }, import("../../types").BaseMessages>>;
53
982
  getFields(idUser: number, fieldsType: UserFieldsType): Promise<ApiWrapper<{
54
983
  value: (string | Record<string, any>) & (string | Record<string, any> | undefined);
55
984
  name: string;