jamespot-user-api 1.0.199 → 1.0.200

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 (97) 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 +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 +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 +12 -12
  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 +7 -7
  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/lib/jamespot-user-api.js +1 -1
  58. package/lib/jamespot-user-api.js.map +1 -1
  59. package/lib/src/apis/tvDisplay/tvDisplay.d.ts +24 -8
  60. package/lib/src/apis/widget/widget.d.ts +61 -21
  61. package/lib/src/apis/widget/widget.mock.d.ts +8 -2
  62. package/lib/src/types/article.d.ts +180 -60
  63. package/lib/src/types/asei.d.ts +18 -6
  64. package/lib/src/types/assetReservation.d.ts +78 -26
  65. package/lib/src/types/businessContact.d.ts +12 -4
  66. package/lib/src/types/comment.d.ts +18 -6
  67. package/lib/src/types/faq.d.ts +96 -32
  68. package/lib/src/types/jLand.d.ts +30 -10
  69. package/lib/src/types/mediaLibrary.d.ts +18 -6
  70. package/lib/src/types/meeting.d.ts +54 -18
  71. package/lib/src/types/pollSurvey.d.ts +54 -18
  72. package/lib/src/types/quizz.d.ts +54 -18
  73. package/lib/src/types/realtime.d.ts +22 -1
  74. package/lib/src/types/socialEvent.d.ts +54 -18
  75. package/lib/src/types/support.d.ts +54 -18
  76. package/lib/src/types/surveyDate.d.ts +54 -18
  77. package/lib/src/types/tvDisplay.d.ts +450 -150
  78. package/lib/src/types/widgets/common.d.ts +3 -2
  79. package/lib/src/types/widgets/default.d.ts +357 -95
  80. package/lib/src/types/widgets/ensure.d.ts +1 -1
  81. package/lib/src/types/widgets/widgetCheckList.d.ts +57 -5
  82. package/lib/src/types/widgets/widgetExcelDatasourceTable.d.ts +4 -40
  83. package/lib/src/types/widgets/widgetPresence.d.ts +35 -0
  84. package/lib/src/types/widgets/widgetQuickSurvey.d.ts +275 -0
  85. package/lib/src/types/widgets.d.ts +342 -68
  86. package/lib/src/util/meeting.d.ts +6 -2
  87. package/lib/src/util/network.d.ts +1 -1
  88. package/lib/src/util/socialEvent.d.ts +6 -2
  89. package/lib/src/util/widget.d.ts +6 -3
  90. package/package.json +1 -1
  91. package/phpunitMock/widgetCheckListGetResponse-comment-index-0.json +18 -0
  92. package/phpunitMock/widgetCheckListGetResponse-comment-no-response.json +18 -0
  93. package/phpunitMock/widgetGetWidget-article-quick-survey.json +21 -0
  94. package/phpunitMock/widgetQuickSurveyAddEntry-article-quick-survey.json +1 -0
  95. package/phpunitMock/widgetQuickSurveyGetResponse-article-index-0.json +129 -0
  96. package/phpunitMock/widgetQuickSurveyGetResponse.json +67 -0
  97. package/phpunitMock/widgetSurveyGetResponse.json +67 -0
@@ -10,7 +10,8 @@ export declare enum WidgetsName {
10
10
  CheckList = "widget-check-list",
11
11
  DatasourceTable = "widget-datasource-table",
12
12
  ExcelDatasourceTable = "widget-excel-datasource-table",
13
- Presence = "widget-presence"
13
+ Presence = "widget-presence",
14
+ QuickSurvey = "widget-quick-survey"
14
15
  }
15
16
  export declare const widgetKeysSchema: z.ZodNativeEnum<typeof WidgetsName>;
16
17
  export type WidgetKeys = z.infer<typeof widgetKeysSchema>;
@@ -64,5 +65,5 @@ export declare const widgetVectorSchema: z.ZodObject<{
64
65
  export type WidgetVector = z.infer<typeof widgetVectorSchema>;
65
66
  export declare const articleDisplayModeSchema: z.ZodEnum<["default", "vertical"]>;
66
67
  export type ArticleDisplayMode = z.infer<typeof articleDisplayModeSchema>;
67
- export declare const ensureWidgetType: (widget: unknown, schema: ZodSchema) => boolean;
68
+ export declare const ensureWidgetType: (widget: unknown, schema: ZodSchema, logError?: boolean) => boolean;
68
69
  export declare const ensureWidgetContent: (content: unknown, schema: ZodSchema) => boolean;
@@ -185,45 +185,9 @@ export declare const combinedWidgetTypeSchema: z.ZodUnion<[z.ZodIntersection<z.Z
185
185
  }, {
186
186
  layers?: string[] | undefined;
187
187
  }>, z.ZodObject<{
188
- name: z.ZodLiteral<WidgetsName.ExcelDatasourceTable>;
189
- uniqid: z.ZodString;
190
- content: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
191
- limit: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
192
- tableColumnsData: z.ZodOptional<z.ZodArray<z.ZodObject<{
193
- name: z.ZodOptional<z.ZodString>;
194
- isVisible: z.ZodOptional<z.ZodBoolean>;
195
- textEllipsis: z.ZodOptional<z.ZodBoolean>;
196
- label: z.ZodOptional<z.ZodString>;
197
- dateFormat: z.ZodOptional<z.ZodEnum<["date", "date-time", "date-time-sec", "time", "time-sec"]>>;
198
- numberFormat: z.ZodOptional<z.ZodEnum<["fr-FR", "en-EN", "filesize"]>>;
199
- }, "strip", z.ZodTypeAny, {
200
- name?: string | undefined;
201
- label?: string | undefined;
202
- isVisible?: boolean | undefined;
203
- textEllipsis?: boolean | undefined;
204
- dateFormat?: "date" | "time" | "date-time" | "date-time-sec" | "time-sec" | undefined;
205
- numberFormat?: "fr-FR" | "en-EN" | "filesize" | undefined;
206
- }, {
207
- name?: string | undefined;
208
- label?: string | undefined;
209
- isVisible?: boolean | undefined;
210
- textEllipsis?: boolean | undefined;
211
- dateFormat?: "date" | "time" | "date-time" | "date-time-sec" | "time-sec" | undefined;
212
- numberFormat?: "fr-FR" | "en-EN" | "filesize" | undefined;
213
- }>, "many">>;
214
- tableHeadColor: z.ZodOptional<z.ZodString>;
215
- tableHeadTextColor: z.ZodOptional<z.ZodString>;
216
- tableHeadIconColor: z.ZodOptional<z.ZodString>;
217
- tableRowColor: z.ZodOptional<z.ZodString>;
218
- tableRowTextColor: z.ZodOptional<z.ZodString>;
219
- tableBorderRadius: z.ZodOptional<z.ZodNumber>;
220
- tableSizedColumns: z.ZodOptional<z.ZodBoolean>;
221
- tableSizedColumnsWidth: z.ZodOptional<z.ZodNumber>;
222
- }, {
223
- uri: z.ZodOptional<z.ZodString>;
224
- }>, {
225
- uri: z.ZodOptional<z.ZodString>;
226
- }>, "strip", z.ZodTypeAny, {
188
+ name: z.ZodType<WidgetsName.ExcelDatasourceTable, z.ZodTypeDef, WidgetsName.ExcelDatasourceTable>;
189
+ uniqid: z.ZodType<string, z.ZodTypeDef, string>;
190
+ content: z.ZodType<{
227
191
  uri?: string | undefined;
228
192
  limit?: number | boolean | undefined;
229
193
  tableColumnsData?: {
@@ -242,7 +206,7 @@ export declare const combinedWidgetTypeSchema: z.ZodUnion<[z.ZodIntersection<z.Z
242
206
  tableBorderRadius?: number | undefined;
243
207
  tableSizedColumns?: boolean | undefined;
244
208
  tableSizedColumnsWidth?: number | undefined;
245
- }, {
209
+ }, z.ZodTypeDef, {
246
210
  uri?: string | undefined;
247
211
  limit?: number | boolean | undefined;
248
212
  tableColumnsData?: {
@@ -328,7 +292,43 @@ export declare const combinedWidgetTypeSchema: z.ZodUnion<[z.ZodIntersection<z.Z
328
292
  closing?: boolean | undefined;
329
293
  isClosed?: boolean | undefined;
330
294
  }>;
331
- }, "strip", z.ZodTypeAny, import("./widgetPresence").WidgetPresenceType, import("./widgetPresence").WidgetPresenceType>>]>;
295
+ }, "strip", z.ZodTypeAny, import("./widgetPresence").WidgetPresenceType, import("./widgetPresence").WidgetPresenceType>>, z.ZodIntersection<z.ZodObject<{
296
+ layers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
297
+ }, "strip", z.ZodTypeAny, {
298
+ layers?: string[] | undefined;
299
+ }, {
300
+ layers?: string[] | undefined;
301
+ }>, z.ZodObject<{
302
+ name: z.ZodType<WidgetsName.QuickSurvey, z.ZodTypeDef, WidgetsName.QuickSurvey>;
303
+ uniqid: z.ZodType<string, z.ZodTypeDef, string>;
304
+ content: z.ZodType<{
305
+ widgets?: import("./common").WidgetBaseType[] | undefined;
306
+ arr?: import("./widgetQuickSurvey").WidgetQuickSurveyContentArr[] | undefined;
307
+ css?: Record<string, string> | undefined;
308
+ closing?: boolean | undefined;
309
+ isClosed?: boolean | undefined;
310
+ userTotal?: number | undefined;
311
+ open?: boolean | undefined;
312
+ multi?: boolean | undefined;
313
+ showResult?: boolean | undefined;
314
+ isNotDisabled?: boolean | undefined;
315
+ seeResponseAfter?: boolean | undefined;
316
+ anonymize?: boolean | undefined;
317
+ }, z.ZodTypeDef, {
318
+ widgets?: import("./common").WidgetBaseType[] | undefined;
319
+ arr?: import("./widgetQuickSurvey").WidgetQuickSurveyContentArr[] | undefined;
320
+ css?: Record<string, string> | undefined;
321
+ closing?: boolean | undefined;
322
+ isClosed?: boolean | undefined;
323
+ userTotal?: number | undefined;
324
+ open?: boolean | undefined;
325
+ multi?: boolean | undefined;
326
+ showResult?: boolean | undefined;
327
+ isNotDisabled?: boolean | undefined;
328
+ seeResponseAfter?: boolean | undefined;
329
+ anonymize?: boolean | undefined;
330
+ }>;
331
+ }, "strip", z.ZodTypeAny, import("./widgetQuickSurvey").WidgetQuickSurveyType, import("./widgetQuickSurvey").WidgetQuickSurveyType>>]>;
332
332
  export type CombinedWidgetType = z.infer<typeof combinedWidgetTypeSchema>;
333
333
  export type WidgetWrapperGeneric<T = CombinedWidgetType> = {
334
334
  title: string;
@@ -386,7 +386,9 @@ export declare const widgetWrapperPropsSchema: z.ZodObject<{
386
386
  };
387
387
  }) | ({
388
388
  layers?: string[] | undefined;
389
- } & import("./widgetPresence").WidgetPresenceType), z.ZodTypeDef, ({
389
+ } & import("./widgetPresence").WidgetPresenceType) | ({
390
+ layers?: string[] | undefined;
391
+ } & import("./widgetQuickSurvey").WidgetQuickSurveyType), z.ZodTypeDef, ({
390
392
  layers?: string[] | undefined;
391
393
  } & import("./widgetArticleAttachment").WidgetArticleAttachmentType) | ({
392
394
  layers?: string[] | undefined;
@@ -436,7 +438,9 @@ export declare const widgetWrapperPropsSchema: z.ZodObject<{
436
438
  };
437
439
  }) | ({
438
440
  layers?: string[] | undefined;
439
- } & import("./widgetPresence").WidgetPresenceType)>;
441
+ } & import("./widgetPresence").WidgetPresenceType) | ({
442
+ layers?: string[] | undefined;
443
+ } & import("./widgetQuickSurvey").WidgetQuickSurveyType)>;
440
444
  }, "strip", z.ZodTypeAny, WidgetWrapperGeneric<({
441
445
  layers?: string[] | undefined;
442
446
  } & import("./widgetArticleAttachment").WidgetArticleAttachmentType) | ({
@@ -487,7 +491,9 @@ export declare const widgetWrapperPropsSchema: z.ZodObject<{
487
491
  };
488
492
  }) | ({
489
493
  layers?: string[] | undefined;
490
- } & import("./widgetPresence").WidgetPresenceType)>, WidgetWrapperGeneric<({
494
+ } & import("./widgetPresence").WidgetPresenceType) | ({
495
+ layers?: string[] | undefined;
496
+ } & import("./widgetQuickSurvey").WidgetQuickSurveyType)>, WidgetWrapperGeneric<({
491
497
  layers?: string[] | undefined;
492
498
  } & import("./widgetArticleAttachment").WidgetArticleAttachmentType) | ({
493
499
  layers?: string[] | undefined;
@@ -537,7 +543,9 @@ export declare const widgetWrapperPropsSchema: z.ZodObject<{
537
543
  };
538
544
  }) | ({
539
545
  layers?: string[] | undefined;
540
- } & import("./widgetPresence").WidgetPresenceType)>>;
546
+ } & import("./widgetPresence").WidgetPresenceType) | ({
547
+ layers?: string[] | undefined;
548
+ } & import("./widgetQuickSurvey").WidgetQuickSurveyType)>>;
541
549
  export type WidgetWrapperProps = z.infer<typeof widgetWrapperPropsSchema>;
542
550
  export declare const combinedWidgetContentSchema: z.ZodIntersection<z.ZodObject<{
543
551
  widgets: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -592,7 +600,9 @@ export declare const combinedWidgetContentSchema: z.ZodIntersection<z.ZodObject<
592
600
  };
593
601
  }) | ({
594
602
  layers?: string[] | undefined;
595
- } & import("./widgetPresence").WidgetPresenceType), z.ZodTypeDef, ({
603
+ } & import("./widgetPresence").WidgetPresenceType) | ({
604
+ layers?: string[] | undefined;
605
+ } & import("./widgetQuickSurvey").WidgetQuickSurveyType), z.ZodTypeDef, ({
596
606
  layers?: string[] | undefined;
597
607
  } & import("./widgetArticleAttachment").WidgetArticleAttachmentType) | ({
598
608
  layers?: string[] | undefined;
@@ -642,7 +652,9 @@ export declare const combinedWidgetContentSchema: z.ZodIntersection<z.ZodObject<
642
652
  };
643
653
  }) | ({
644
654
  layers?: string[] | undefined;
645
- } & import("./widgetPresence").WidgetPresenceType)>;
655
+ } & import("./widgetPresence").WidgetPresenceType) | ({
656
+ layers?: string[] | undefined;
657
+ } & import("./widgetQuickSurvey").WidgetQuickSurveyType)>;
646
658
  }, "strip", z.ZodTypeAny, WidgetWrapperGeneric<({
647
659
  layers?: string[] | undefined;
648
660
  } & import("./widgetArticleAttachment").WidgetArticleAttachmentType) | ({
@@ -693,7 +705,9 @@ export declare const combinedWidgetContentSchema: z.ZodIntersection<z.ZodObject<
693
705
  };
694
706
  }) | ({
695
707
  layers?: string[] | undefined;
696
- } & import("./widgetPresence").WidgetPresenceType)>, WidgetWrapperGeneric<({
708
+ } & import("./widgetPresence").WidgetPresenceType) | ({
709
+ layers?: string[] | undefined;
710
+ } & import("./widgetQuickSurvey").WidgetQuickSurveyType)>, WidgetWrapperGeneric<({
697
711
  layers?: string[] | undefined;
698
712
  } & import("./widgetArticleAttachment").WidgetArticleAttachmentType) | ({
699
713
  layers?: string[] | undefined;
@@ -743,7 +757,9 @@ export declare const combinedWidgetContentSchema: z.ZodIntersection<z.ZodObject<
743
757
  };
744
758
  }) | ({
745
759
  layers?: string[] | undefined;
746
- } & import("./widgetPresence").WidgetPresenceType)>>, "many">>;
760
+ } & import("./widgetPresence").WidgetPresenceType) | ({
761
+ layers?: string[] | undefined;
762
+ } & import("./widgetQuickSurvey").WidgetQuickSurveyType)>>, "many">>;
747
763
  }, "strip", z.ZodTypeAny, {
748
764
  widgets?: WidgetWrapperGeneric<({
749
765
  layers?: string[] | undefined;
@@ -795,7 +811,9 @@ export declare const combinedWidgetContentSchema: z.ZodIntersection<z.ZodObject<
795
811
  };
796
812
  }) | ({
797
813
  layers?: string[] | undefined;
798
- } & import("./widgetPresence").WidgetPresenceType)>[] | undefined;
814
+ } & import("./widgetPresence").WidgetPresenceType) | ({
815
+ layers?: string[] | undefined;
816
+ } & import("./widgetQuickSurvey").WidgetQuickSurveyType)>[] | undefined;
799
817
  }, {
800
818
  widgets?: WidgetWrapperGeneric<({
801
819
  layers?: string[] | undefined;
@@ -847,7 +865,9 @@ export declare const combinedWidgetContentSchema: z.ZodIntersection<z.ZodObject<
847
865
  };
848
866
  }) | ({
849
867
  layers?: string[] | undefined;
850
- } & import("./widgetPresence").WidgetPresenceType)>[] | undefined;
868
+ } & import("./widgetPresence").WidgetPresenceType) | ({
869
+ layers?: string[] | undefined;
870
+ } & import("./widgetQuickSurvey").WidgetQuickSurveyType)>[] | undefined;
851
871
  }>, z.ZodUnion<[z.ZodObject<{
852
872
  files: z.ZodOptionalType<z.ZodType<{
853
873
  type: string;
@@ -1058,12 +1078,37 @@ export declare const combinedWidgetContentSchema: z.ZodIntersection<z.ZodObject<
1058
1078
  target: string;
1059
1079
  }[] | undefined>>;
1060
1080
  id: z.ZodOptionalType<z.ZodType<number | undefined, z.ZodTypeDef, number | undefined>>;
1061
- user: z.ZodOptionalType<z.ZodType<{
1062
- id: number;
1081
+ file: z.ZodOptionalType<z.ZodType<{
1063
1082
  type: string;
1083
+ id: number;
1064
1084
  mainType: string;
1085
+ uri: string;
1086
+ dateCreation: string;
1087
+ dateModified: string | null;
1088
+ title: string;
1089
+ _url: string;
1090
+ mimetype: string;
1091
+ size: number;
1092
+ path?: string | undefined;
1065
1093
  } | undefined, z.ZodTypeDef, {
1094
+ type: string;
1066
1095
  id: number;
1096
+ mainType: string;
1097
+ uri: string;
1098
+ dateCreation: string;
1099
+ dateModified: string | null;
1100
+ title: string;
1101
+ _url: string;
1102
+ mimetype: string;
1103
+ size: number;
1104
+ path?: string | undefined;
1105
+ } | undefined>>;
1106
+ user: z.ZodOptionalType<z.ZodType<{
1107
+ id: string | number;
1108
+ type: string;
1109
+ mainType: string;
1110
+ } | undefined, z.ZodTypeDef, {
1111
+ id: string | number;
1067
1112
  type: string;
1068
1113
  mainType: string;
1069
1114
  } | undefined>>;
@@ -1257,6 +1302,89 @@ export declare const combinedWidgetContentSchema: z.ZodIntersection<z.ZodObject<
1257
1302
  limitValue?: number | undefined;
1258
1303
  closing?: boolean | undefined;
1259
1304
  isClosed?: boolean | undefined;
1305
+ }>, z.ZodObject<{
1306
+ arr: z.ZodOptional<z.ZodArray<z.ZodObject<{
1307
+ title: z.ZodType<string, z.ZodTypeDef, string>;
1308
+ id: z.ZodOptionalType<z.ZodType<number | undefined, z.ZodTypeDef, number | undefined>>;
1309
+ mimetype: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
1310
+ file: z.ZodOptionalType<z.ZodType<{
1311
+ type: string;
1312
+ id: number;
1313
+ mainType: string;
1314
+ uri: string;
1315
+ dateCreation: string;
1316
+ dateModified: string | null;
1317
+ title: string;
1318
+ _url: string;
1319
+ mimetype: string;
1320
+ size: number;
1321
+ path?: string | undefined;
1322
+ } | undefined, z.ZodTypeDef, {
1323
+ type: string;
1324
+ id: number;
1325
+ mainType: string;
1326
+ uri: string;
1327
+ dateCreation: string;
1328
+ dateModified: string | null;
1329
+ title: string;
1330
+ _url: string;
1331
+ mimetype: string;
1332
+ size: number;
1333
+ path?: string | undefined;
1334
+ } | undefined>>;
1335
+ }, "strip", z.ZodTypeAny, import("./widgetQuickSurvey").WidgetQuickSurveyContentArr, import("./widgetQuickSurvey").WidgetQuickSurveyContentArr>, "many">>;
1336
+ css: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1337
+ widgets: z.ZodOptional<z.ZodArray<z.ZodObject<{
1338
+ title: z.ZodString;
1339
+ widget: z.ZodObject<{
1340
+ name: z.ZodNativeEnum<typeof WidgetsName>;
1341
+ uniqid: z.ZodString;
1342
+ content: z.ZodUnknown;
1343
+ }, "strip", z.ZodTypeAny, {
1344
+ name: WidgetsName;
1345
+ uniqid: string;
1346
+ content?: unknown;
1347
+ }, {
1348
+ name: WidgetsName;
1349
+ uniqid: string;
1350
+ content?: unknown;
1351
+ }>;
1352
+ }, "strip", z.ZodUnknown, import("./common").WidgetBaseType, import("./common").WidgetBaseType>, "many">>;
1353
+ userTotal: z.ZodOptional<z.ZodNumber>;
1354
+ open: z.ZodOptional<z.ZodBoolean>;
1355
+ multi: z.ZodOptional<z.ZodBoolean>;
1356
+ closing: z.ZodOptional<z.ZodBoolean>;
1357
+ isClosed: z.ZodOptional<z.ZodBoolean>;
1358
+ showResult: z.ZodOptional<z.ZodBoolean>;
1359
+ isNotDisabled: z.ZodOptional<z.ZodBoolean>;
1360
+ seeResponseAfter: z.ZodOptional<z.ZodBoolean>;
1361
+ anonymize: z.ZodOptional<z.ZodBoolean>;
1362
+ }, "strip", z.ZodTypeAny, {
1363
+ widgets?: import("./common").WidgetBaseType[] | undefined;
1364
+ arr?: import("./widgetQuickSurvey").WidgetQuickSurveyContentArr[] | undefined;
1365
+ css?: Record<string, string> | undefined;
1366
+ closing?: boolean | undefined;
1367
+ isClosed?: boolean | undefined;
1368
+ userTotal?: number | undefined;
1369
+ open?: boolean | undefined;
1370
+ multi?: boolean | undefined;
1371
+ showResult?: boolean | undefined;
1372
+ isNotDisabled?: boolean | undefined;
1373
+ seeResponseAfter?: boolean | undefined;
1374
+ anonymize?: boolean | undefined;
1375
+ }, {
1376
+ widgets?: import("./common").WidgetBaseType[] | undefined;
1377
+ arr?: import("./widgetQuickSurvey").WidgetQuickSurveyContentArr[] | undefined;
1378
+ css?: Record<string, string> | undefined;
1379
+ closing?: boolean | undefined;
1380
+ isClosed?: boolean | undefined;
1381
+ userTotal?: number | undefined;
1382
+ open?: boolean | undefined;
1383
+ multi?: boolean | undefined;
1384
+ showResult?: boolean | undefined;
1385
+ isNotDisabled?: boolean | undefined;
1386
+ seeResponseAfter?: boolean | undefined;
1387
+ anonymize?: boolean | undefined;
1260
1388
  }>]>>;
1261
1389
  export type CombinedWidgetContent = z.infer<typeof combinedWidgetContentSchema>;
1262
1390
  export declare const widgetTypeKeysSchema: z.ZodObject<{
@@ -1394,45 +1522,9 @@ export declare const widgetTypeKeysSchema: z.ZodObject<{
1394
1522
  }>;
1395
1523
  }, "strip", z.ZodTypeAny, import("./widgetDatasourceTable").WidgetDatasourceTableType, import("./widgetDatasourceTable").WidgetDatasourceTableType>;
1396
1524
  "widget-excel-datasource-table": z.ZodObject<{
1397
- name: z.ZodLiteral<WidgetsName.ExcelDatasourceTable>;
1398
- uniqid: z.ZodString;
1399
- content: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1400
- limit: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
1401
- tableColumnsData: z.ZodOptional<z.ZodArray<z.ZodObject<{
1402
- name: z.ZodOptional<z.ZodString>;
1403
- isVisible: z.ZodOptional<z.ZodBoolean>;
1404
- textEllipsis: z.ZodOptional<z.ZodBoolean>;
1405
- label: z.ZodOptional<z.ZodString>;
1406
- dateFormat: z.ZodOptional<z.ZodEnum<["date", "date-time", "date-time-sec", "time", "time-sec"]>>;
1407
- numberFormat: z.ZodOptional<z.ZodEnum<["fr-FR", "en-EN", "filesize"]>>;
1408
- }, "strip", z.ZodTypeAny, {
1409
- name?: string | undefined;
1410
- label?: string | undefined;
1411
- isVisible?: boolean | undefined;
1412
- textEllipsis?: boolean | undefined;
1413
- dateFormat?: "date" | "time" | "date-time" | "date-time-sec" | "time-sec" | undefined;
1414
- numberFormat?: "fr-FR" | "en-EN" | "filesize" | undefined;
1415
- }, {
1416
- name?: string | undefined;
1417
- label?: string | undefined;
1418
- isVisible?: boolean | undefined;
1419
- textEllipsis?: boolean | undefined;
1420
- dateFormat?: "date" | "time" | "date-time" | "date-time-sec" | "time-sec" | undefined;
1421
- numberFormat?: "fr-FR" | "en-EN" | "filesize" | undefined;
1422
- }>, "many">>;
1423
- tableHeadColor: z.ZodOptional<z.ZodString>;
1424
- tableHeadTextColor: z.ZodOptional<z.ZodString>;
1425
- tableHeadIconColor: z.ZodOptional<z.ZodString>;
1426
- tableRowColor: z.ZodOptional<z.ZodString>;
1427
- tableRowTextColor: z.ZodOptional<z.ZodString>;
1428
- tableBorderRadius: z.ZodOptional<z.ZodNumber>;
1429
- tableSizedColumns: z.ZodOptional<z.ZodBoolean>;
1430
- tableSizedColumnsWidth: z.ZodOptional<z.ZodNumber>;
1431
- }, {
1432
- uri: z.ZodOptional<z.ZodString>;
1433
- }>, {
1434
- uri: z.ZodOptional<z.ZodString>;
1435
- }>, "strip", z.ZodTypeAny, {
1525
+ name: z.ZodType<WidgetsName.ExcelDatasourceTable, z.ZodTypeDef, WidgetsName.ExcelDatasourceTable>;
1526
+ uniqid: z.ZodType<string, z.ZodTypeDef, string>;
1527
+ content: z.ZodType<{
1436
1528
  uri?: string | undefined;
1437
1529
  limit?: number | boolean | undefined;
1438
1530
  tableColumnsData?: {
@@ -1451,7 +1543,7 @@ export declare const widgetTypeKeysSchema: z.ZodObject<{
1451
1543
  tableBorderRadius?: number | undefined;
1452
1544
  tableSizedColumns?: boolean | undefined;
1453
1545
  tableSizedColumnsWidth?: number | undefined;
1454
- }, {
1546
+ }, z.ZodTypeDef, {
1455
1547
  uri?: string | undefined;
1456
1548
  limit?: number | boolean | undefined;
1457
1549
  tableColumnsData?: {
@@ -1533,6 +1625,37 @@ export declare const widgetTypeKeysSchema: z.ZodObject<{
1533
1625
  isClosed?: boolean | undefined;
1534
1626
  }>;
1535
1627
  }, "strip", z.ZodTypeAny, import("./widgetPresence").WidgetPresenceType, import("./widgetPresence").WidgetPresenceType>;
1628
+ "widget-quick-survey": z.ZodObject<{
1629
+ name: z.ZodType<WidgetsName.QuickSurvey, z.ZodTypeDef, WidgetsName.QuickSurvey>;
1630
+ uniqid: z.ZodType<string, z.ZodTypeDef, string>;
1631
+ content: z.ZodType<{
1632
+ widgets?: import("./common").WidgetBaseType[] | undefined;
1633
+ arr?: import("./widgetQuickSurvey").WidgetQuickSurveyContentArr[] | undefined;
1634
+ css?: Record<string, string> | undefined;
1635
+ closing?: boolean | undefined;
1636
+ isClosed?: boolean | undefined;
1637
+ userTotal?: number | undefined;
1638
+ open?: boolean | undefined;
1639
+ multi?: boolean | undefined;
1640
+ showResult?: boolean | undefined;
1641
+ isNotDisabled?: boolean | undefined;
1642
+ seeResponseAfter?: boolean | undefined;
1643
+ anonymize?: boolean | undefined;
1644
+ }, z.ZodTypeDef, {
1645
+ widgets?: import("./common").WidgetBaseType[] | undefined;
1646
+ arr?: import("./widgetQuickSurvey").WidgetQuickSurveyContentArr[] | undefined;
1647
+ css?: Record<string, string> | undefined;
1648
+ closing?: boolean | undefined;
1649
+ isClosed?: boolean | undefined;
1650
+ userTotal?: number | undefined;
1651
+ open?: boolean | undefined;
1652
+ multi?: boolean | undefined;
1653
+ showResult?: boolean | undefined;
1654
+ isNotDisabled?: boolean | undefined;
1655
+ seeResponseAfter?: boolean | undefined;
1656
+ anonymize?: boolean | undefined;
1657
+ }>;
1658
+ }, "strip", z.ZodTypeAny, import("./widgetQuickSurvey").WidgetQuickSurveyType, import("./widgetQuickSurvey").WidgetQuickSurveyType>;
1536
1659
  }, "strip", z.ZodTypeAny, {
1537
1660
  "widget-article-button": import("./widgetArticleButton").WidgetArticleButtonType;
1538
1661
  "widget-article-gallery": import("./widgetArticleGallery").WidgetArticleGalleryType;
@@ -1573,6 +1696,7 @@ export declare const widgetTypeKeysSchema: z.ZodObject<{
1573
1696
  };
1574
1697
  };
1575
1698
  "widget-presence": import("./widgetPresence").WidgetPresenceType;
1699
+ "widget-quick-survey": import("./widgetQuickSurvey").WidgetQuickSurveyType;
1576
1700
  }, {
1577
1701
  "widget-article-button": import("./widgetArticleButton").WidgetArticleButtonType;
1578
1702
  "widget-article-gallery": import("./widgetArticleGallery").WidgetArticleGalleryType;
@@ -1613,6 +1737,7 @@ export declare const widgetTypeKeysSchema: z.ZodObject<{
1613
1737
  };
1614
1738
  };
1615
1739
  "widget-presence": import("./widgetPresence").WidgetPresenceType;
1740
+ "widget-quick-survey": import("./widgetQuickSurvey").WidgetQuickSurveyType;
1616
1741
  }>;
1617
1742
  export type WidgetTypeKeys = z.infer<typeof widgetTypeKeysSchema>;
1618
1743
  export declare const widgetContentKeysSchema: z.ZodObject<{
@@ -1833,12 +1958,37 @@ export declare const widgetContentKeysSchema: z.ZodObject<{
1833
1958
  target: string;
1834
1959
  }[] | undefined>>;
1835
1960
  id: z.ZodOptionalType<z.ZodType<number | undefined, z.ZodTypeDef, number | undefined>>;
1836
- user: z.ZodOptionalType<z.ZodType<{
1837
- id: number;
1961
+ file: z.ZodOptionalType<z.ZodType<{
1838
1962
  type: string;
1963
+ id: number;
1839
1964
  mainType: string;
1965
+ uri: string;
1966
+ dateCreation: string;
1967
+ dateModified: string | null;
1968
+ title: string;
1969
+ _url: string;
1970
+ mimetype: string;
1971
+ size: number;
1972
+ path?: string | undefined;
1840
1973
  } | undefined, z.ZodTypeDef, {
1974
+ type: string;
1841
1975
  id: number;
1976
+ mainType: string;
1977
+ uri: string;
1978
+ dateCreation: string;
1979
+ dateModified: string | null;
1980
+ title: string;
1981
+ _url: string;
1982
+ mimetype: string;
1983
+ size: number;
1984
+ path?: string | undefined;
1985
+ } | undefined>>;
1986
+ user: z.ZodOptionalType<z.ZodType<{
1987
+ id: string | number;
1988
+ type: string;
1989
+ mainType: string;
1990
+ } | undefined, z.ZodTypeDef, {
1991
+ id: string | number;
1842
1992
  type: string;
1843
1993
  mainType: string;
1844
1994
  } | undefined>>;
@@ -2036,6 +2186,90 @@ export declare const widgetContentKeysSchema: z.ZodObject<{
2036
2186
  closing?: boolean | undefined;
2037
2187
  isClosed?: boolean | undefined;
2038
2188
  }>;
2189
+ "widget-quick-survey": z.ZodObject<{
2190
+ arr: z.ZodOptional<z.ZodArray<z.ZodObject<{
2191
+ title: z.ZodType<string, z.ZodTypeDef, string>;
2192
+ id: z.ZodOptionalType<z.ZodType<number | undefined, z.ZodTypeDef, number | undefined>>;
2193
+ mimetype: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
2194
+ file: z.ZodOptionalType<z.ZodType<{
2195
+ type: string;
2196
+ id: number;
2197
+ mainType: string;
2198
+ uri: string;
2199
+ dateCreation: string;
2200
+ dateModified: string | null;
2201
+ title: string;
2202
+ _url: string;
2203
+ mimetype: string;
2204
+ size: number;
2205
+ path?: string | undefined;
2206
+ } | undefined, z.ZodTypeDef, {
2207
+ type: string;
2208
+ id: number;
2209
+ mainType: string;
2210
+ uri: string;
2211
+ dateCreation: string;
2212
+ dateModified: string | null;
2213
+ title: string;
2214
+ _url: string;
2215
+ mimetype: string;
2216
+ size: number;
2217
+ path?: string | undefined;
2218
+ } | undefined>>;
2219
+ }, "strip", z.ZodTypeAny, import("./widgetQuickSurvey").WidgetQuickSurveyContentArr, import("./widgetQuickSurvey").WidgetQuickSurveyContentArr>, "many">>;
2220
+ css: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2221
+ widgets: z.ZodOptional<z.ZodArray<z.ZodObject<{
2222
+ title: z.ZodString;
2223
+ widget: z.ZodObject<{
2224
+ name: z.ZodNativeEnum<typeof WidgetsName>;
2225
+ uniqid: z.ZodString;
2226
+ content: z.ZodUnknown;
2227
+ }, "strip", z.ZodTypeAny, {
2228
+ name: WidgetsName;
2229
+ uniqid: string;
2230
+ content?: unknown;
2231
+ }, {
2232
+ name: WidgetsName;
2233
+ uniqid: string;
2234
+ content?: unknown;
2235
+ }>;
2236
+ }, "strip", z.ZodUnknown, import("./common").WidgetBaseType, import("./common").WidgetBaseType>, "many">>;
2237
+ userTotal: z.ZodOptional<z.ZodNumber>;
2238
+ open: z.ZodOptional<z.ZodBoolean>;
2239
+ multi: z.ZodOptional<z.ZodBoolean>;
2240
+ closing: z.ZodOptional<z.ZodBoolean>;
2241
+ isClosed: z.ZodOptional<z.ZodBoolean>;
2242
+ showResult: z.ZodOptional<z.ZodBoolean>;
2243
+ isNotDisabled: z.ZodOptional<z.ZodBoolean>;
2244
+ seeResponseAfter: z.ZodOptional<z.ZodBoolean>;
2245
+ anonymize: z.ZodOptional<z.ZodBoolean>;
2246
+ }, "strip", z.ZodTypeAny, {
2247
+ widgets?: import("./common").WidgetBaseType[] | undefined;
2248
+ arr?: import("./widgetQuickSurvey").WidgetQuickSurveyContentArr[] | undefined;
2249
+ css?: Record<string, string> | undefined;
2250
+ closing?: boolean | undefined;
2251
+ isClosed?: boolean | undefined;
2252
+ userTotal?: number | undefined;
2253
+ open?: boolean | undefined;
2254
+ multi?: boolean | undefined;
2255
+ showResult?: boolean | undefined;
2256
+ isNotDisabled?: boolean | undefined;
2257
+ seeResponseAfter?: boolean | undefined;
2258
+ anonymize?: boolean | undefined;
2259
+ }, {
2260
+ widgets?: import("./common").WidgetBaseType[] | undefined;
2261
+ arr?: import("./widgetQuickSurvey").WidgetQuickSurveyContentArr[] | undefined;
2262
+ css?: Record<string, string> | undefined;
2263
+ closing?: boolean | undefined;
2264
+ isClosed?: boolean | undefined;
2265
+ userTotal?: number | undefined;
2266
+ open?: boolean | undefined;
2267
+ multi?: boolean | undefined;
2268
+ showResult?: boolean | undefined;
2269
+ isNotDisabled?: boolean | undefined;
2270
+ seeResponseAfter?: boolean | undefined;
2271
+ anonymize?: boolean | undefined;
2272
+ }>;
2039
2273
  }, "strip", z.ZodTypeAny, {
2040
2274
  "widget-article-button": {
2041
2275
  url?: string | undefined;
@@ -2118,6 +2352,20 @@ export declare const widgetContentKeysSchema: z.ZodObject<{
2118
2352
  closing?: boolean | undefined;
2119
2353
  isClosed?: boolean | undefined;
2120
2354
  };
2355
+ "widget-quick-survey": {
2356
+ widgets?: import("./common").WidgetBaseType[] | undefined;
2357
+ arr?: import("./widgetQuickSurvey").WidgetQuickSurveyContentArr[] | undefined;
2358
+ css?: Record<string, string> | undefined;
2359
+ closing?: boolean | undefined;
2360
+ isClosed?: boolean | undefined;
2361
+ userTotal?: number | undefined;
2362
+ open?: boolean | undefined;
2363
+ multi?: boolean | undefined;
2364
+ showResult?: boolean | undefined;
2365
+ isNotDisabled?: boolean | undefined;
2366
+ seeResponseAfter?: boolean | undefined;
2367
+ anonymize?: boolean | undefined;
2368
+ };
2121
2369
  }, {
2122
2370
  "widget-article-button": {
2123
2371
  url?: string | undefined;
@@ -2200,6 +2448,20 @@ export declare const widgetContentKeysSchema: z.ZodObject<{
2200
2448
  closing?: boolean | undefined;
2201
2449
  isClosed?: boolean | undefined;
2202
2450
  };
2451
+ "widget-quick-survey": {
2452
+ widgets?: import("./common").WidgetBaseType[] | undefined;
2453
+ arr?: import("./widgetQuickSurvey").WidgetQuickSurveyContentArr[] | undefined;
2454
+ css?: Record<string, string> | undefined;
2455
+ closing?: boolean | undefined;
2456
+ isClosed?: boolean | undefined;
2457
+ userTotal?: number | undefined;
2458
+ open?: boolean | undefined;
2459
+ multi?: boolean | undefined;
2460
+ showResult?: boolean | undefined;
2461
+ isNotDisabled?: boolean | undefined;
2462
+ seeResponseAfter?: boolean | undefined;
2463
+ anonymize?: boolean | undefined;
2464
+ };
2203
2465
  }>;
2204
2466
  export type WidgetContentKeys = z.infer<typeof widgetContentKeysSchema>;
2205
2467
  export declare const widgetStatePropsSchema: z.ZodObject<{
@@ -55,4 +55,4 @@ export declare const ensureWidgetDefinitionProps: (o: unknown) => o is {
55
55
  useWidgets: boolean;
56
56
  };
57
57
  };
58
- export declare const ensureWidgetObjectHasMinimumProperties: (o: Partial<jObjectLittle> | undefined) => o is Pick<jObjectLittle, "type" | "id">;
58
+ export declare const ensureWidgetObjectHasMinimumProperties: (o: Partial<jObjectLittle> | undefined) => o is Pick<jObjectLittle, "type" | "id" | "uri">;