jamespot-user-api 1.0.199 → 1.0.201
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/documentation/assets/search.js +1 -1
- package/documentation/classes/AdminLicenseApi.html +14 -14
- package/documentation/classes/AdminStoreApi.html +1 -1
- package/documentation/classes/AdminUtilsApi.html +1 -1
- package/documentation/classes/JApplicationApi.html +8 -8
- package/documentation/classes/JArticleApi.html +1 -1
- package/documentation/classes/JAssetReservation.html +1 -1
- package/documentation/classes/JAudienceApi.html +1 -1
- package/documentation/classes/JBaseApi.html +1 -1
- package/documentation/classes/JBbbApi.html +1 -1
- package/documentation/classes/JBookmarkApi.html +1 -1
- package/documentation/classes/JBusinessNetworkingApi.html +1 -1
- package/documentation/classes/JCommunityApi.html +1 -1
- package/documentation/classes/JDatasourceApi.html +1 -1
- package/documentation/classes/JDiapazoneApi.html +1 -1
- package/documentation/classes/JFaqApi.html +1 -1
- package/documentation/classes/JFileApi.html +5 -5
- package/documentation/classes/JFilebankApi.html +1 -1
- package/documentation/classes/JGlobalApi.html +1 -1
- package/documentation/classes/JGroupApi.html +12 -12
- package/documentation/classes/JIAApi.html +1 -1
- package/documentation/classes/JLandApi.html +1 -1
- package/documentation/classes/JMessengerApi.html +1 -1
- package/documentation/classes/JObjectApi.html +1 -1
- package/documentation/classes/JSearchApi.html +6 -6
- package/documentation/classes/JShareApi.html +1 -1
- package/documentation/classes/JSocialActionApi.html +1 -1
- package/documentation/classes/JTaxonomyApi.html +2 -2
- package/documentation/classes/JUserApi.html +7 -7
- package/documentation/classes/JWedocApi.html +1 -1
- package/documentation/classes/JWidgetApi.html +1 -1
- package/documentation/classes/JamespotUserApi.html +1 -1
- package/documentation/classes/Network.html +1 -1
- package/documentation/classes/TVDisplayApi.html +1 -1
- package/documentation/classes/WindowBrowser.html +1 -1
- package/documentation/enums/BookmarkType.html +1 -1
- package/documentation/enums/Format.html +1 -1
- package/documentation/enums/GroupModerateStatus.html +1 -1
- package/documentation/enums/StudioApplicationStatus.html +1 -1
- package/documentation/enums/WidgetsName.html +1 -1
- package/documentation/index.html +1 -1
- package/documentation/interfaces/AccessRightObject.html +1 -1
- package/documentation/interfaces/ApiDefaultWrapper.html +1 -1
- package/documentation/interfaces/ApiWrapper.html +1 -1
- package/documentation/interfaces/BaseMessage.html +1 -1
- package/documentation/interfaces/FileBankProps.html +1 -1
- package/documentation/interfaces/FolderProps.html +1 -1
- package/documentation/interfaces/ListFilterSpec.html +1 -1
- package/documentation/interfaces/OF.html +1 -1
- package/documentation/interfaces/PagingResults.html +1 -1
- package/documentation/interfaces/RootFolderProps.html +1 -1
- package/documentation/interfaces/SpotProps.html +1 -1
- package/documentation/interfaces/TaxonomyCreate.html +1 -1
- package/documentation/interfaces/WidgetType.html +1 -1
- package/documentation/interfaces/WindowInterface.html +1 -1
- package/documentation/modules.html +11 -11
- package/lib/jamespot-user-api.js +1 -1
- package/lib/jamespot-user-api.js.map +1 -1
- package/lib/src/apis/tvDisplay/tvDisplay.d.ts +24 -8
- package/lib/src/apis/widget/widget.d.ts +61 -21
- package/lib/src/apis/widget/widget.mock.d.ts +8 -2
- package/lib/src/types/article.d.ts +180 -60
- package/lib/src/types/asei.d.ts +18 -6
- package/lib/src/types/assetReservation.d.ts +78 -26
- package/lib/src/types/businessContact.d.ts +12 -4
- package/lib/src/types/comment.d.ts +18 -6
- package/lib/src/types/faq.d.ts +96 -32
- package/lib/src/types/jLand.d.ts +30 -10
- package/lib/src/types/mediaLibrary.d.ts +18 -6
- package/lib/src/types/meeting.d.ts +54 -18
- package/lib/src/types/pollSurvey.d.ts +54 -18
- package/lib/src/types/quizz.d.ts +54 -18
- package/lib/src/types/realtime.d.ts +22 -1
- package/lib/src/types/socialEvent.d.ts +54 -18
- package/lib/src/types/support.d.ts +54 -18
- package/lib/src/types/surveyDate.d.ts +54 -18
- package/lib/src/types/tvDisplay.d.ts +450 -150
- package/lib/src/types/widgets/common.d.ts +3 -2
- package/lib/src/types/widgets/default.d.ts +369 -119
- package/lib/src/types/widgets/ensure.d.ts +1 -1
- package/lib/src/types/widgets/legacy.d.ts +3 -0
- package/lib/src/types/widgets/widgetCheckList.d.ts +57 -5
- package/lib/src/types/widgets/widgetExcelDatasourceTable.d.ts +4 -40
- package/lib/src/types/widgets/widgetPresence.d.ts +47 -12
- package/lib/src/types/widgets/widgetQuickSurvey.d.ts +270 -0
- package/lib/src/types/widgets.d.ts +348 -78
- package/lib/src/util/meeting.d.ts +6 -2
- package/lib/src/util/network.d.ts +1 -1
- package/lib/src/util/socialEvent.d.ts +6 -2
- package/lib/src/util/widget.d.ts +6 -3
- package/package.json +1 -1
- package/phpunitMock/widgetCheckListGetResponse-comment-index-0.json +18 -0
- package/phpunitMock/widgetCheckListGetResponse-comment-no-response.json +18 -0
- package/phpunitMock/widgetGetWidget-article-quick-survey.json +21 -0
- package/phpunitMock/widgetQuickSurveyAddEntry-article-quick-survey.json +1 -0
- package/phpunitMock/widgetQuickSurveyGetResponse-article-index-0.json +129 -0
- package/phpunitMock/widgetQuickSurveyGetResponse.json +67 -0
- package/phpunitMock/widgetSurveyGetResponse.json +67 -0
|
@@ -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.
|
|
189
|
-
uniqid: z.
|
|
190
|
-
content: z.
|
|
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?: {
|
|
@@ -320,15 +284,49 @@ export declare const combinedWidgetTypeSchema: z.ZodUnion<[z.ZodIntersection<z.Z
|
|
|
320
284
|
content: z.ZodType<{
|
|
321
285
|
limit?: number | boolean | undefined;
|
|
322
286
|
limitValue?: number | undefined;
|
|
323
|
-
closing?: boolean | undefined;
|
|
324
|
-
isClosed?: boolean | undefined;
|
|
287
|
+
closing?: boolean | 0 | 1 | undefined;
|
|
288
|
+
isClosed?: boolean | 0 | 1 | undefined;
|
|
325
289
|
}, z.ZodTypeDef, {
|
|
326
290
|
limit?: number | boolean | undefined;
|
|
327
291
|
limitValue?: number | undefined;
|
|
328
|
-
closing?: boolean | undefined;
|
|
329
|
-
isClosed?: boolean | undefined;
|
|
292
|
+
closing?: boolean | 0 | 1 | undefined;
|
|
293
|
+
isClosed?: boolean | 0 | 1 | undefined;
|
|
294
|
+
}>;
|
|
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 | 0 | 1 | undefined;
|
|
309
|
+
isClosed?: boolean | 0 | 1 | undefined;
|
|
310
|
+
open?: boolean | 0 | 1 | undefined;
|
|
311
|
+
multi?: boolean | 0 | 1 | undefined;
|
|
312
|
+
showResult?: boolean | 0 | 1 | undefined;
|
|
313
|
+
isNotDisabled?: boolean | 0 | 1 | undefined;
|
|
314
|
+
seeResponseAfter?: boolean | 0 | 1 | undefined;
|
|
315
|
+
anonymize?: boolean | 0 | 1 | undefined;
|
|
316
|
+
}, z.ZodTypeDef, {
|
|
317
|
+
widgets?: import("./common").WidgetBaseType[] | undefined;
|
|
318
|
+
arr?: import("./widgetQuickSurvey").WidgetQuickSurveyContentArr[] | undefined;
|
|
319
|
+
css?: Record<string, string> | undefined;
|
|
320
|
+
closing?: boolean | 0 | 1 | undefined;
|
|
321
|
+
isClosed?: boolean | 0 | 1 | undefined;
|
|
322
|
+
open?: boolean | 0 | 1 | undefined;
|
|
323
|
+
multi?: boolean | 0 | 1 | undefined;
|
|
324
|
+
showResult?: boolean | 0 | 1 | undefined;
|
|
325
|
+
isNotDisabled?: boolean | 0 | 1 | undefined;
|
|
326
|
+
seeResponseAfter?: boolean | 0 | 1 | undefined;
|
|
327
|
+
anonymize?: boolean | 0 | 1 | undefined;
|
|
330
328
|
}>;
|
|
331
|
-
}, "strip", z.ZodTypeAny, import("./
|
|
329
|
+
}, "strip", z.ZodTypeAny, import("./widgetQuickSurvey").WidgetQuickSurveyType, import("./widgetQuickSurvey").WidgetQuickSurveyType>>]>;
|
|
332
330
|
export type CombinedWidgetType = z.infer<typeof combinedWidgetTypeSchema>;
|
|
333
331
|
export type WidgetWrapperGeneric<T = CombinedWidgetType> = {
|
|
334
332
|
title: string;
|
|
@@ -386,7 +384,9 @@ export declare const widgetWrapperPropsSchema: z.ZodObject<{
|
|
|
386
384
|
};
|
|
387
385
|
}) | ({
|
|
388
386
|
layers?: string[] | undefined;
|
|
389
|
-
} & import("./widgetPresence").WidgetPresenceType)
|
|
387
|
+
} & import("./widgetPresence").WidgetPresenceType) | ({
|
|
388
|
+
layers?: string[] | undefined;
|
|
389
|
+
} & import("./widgetQuickSurvey").WidgetQuickSurveyType), z.ZodTypeDef, ({
|
|
390
390
|
layers?: string[] | undefined;
|
|
391
391
|
} & import("./widgetArticleAttachment").WidgetArticleAttachmentType) | ({
|
|
392
392
|
layers?: string[] | undefined;
|
|
@@ -436,7 +436,9 @@ export declare const widgetWrapperPropsSchema: z.ZodObject<{
|
|
|
436
436
|
};
|
|
437
437
|
}) | ({
|
|
438
438
|
layers?: string[] | undefined;
|
|
439
|
-
} & import("./widgetPresence").WidgetPresenceType)
|
|
439
|
+
} & import("./widgetPresence").WidgetPresenceType) | ({
|
|
440
|
+
layers?: string[] | undefined;
|
|
441
|
+
} & import("./widgetQuickSurvey").WidgetQuickSurveyType)>;
|
|
440
442
|
}, "strip", z.ZodTypeAny, WidgetWrapperGeneric<({
|
|
441
443
|
layers?: string[] | undefined;
|
|
442
444
|
} & import("./widgetArticleAttachment").WidgetArticleAttachmentType) | ({
|
|
@@ -487,7 +489,9 @@ export declare const widgetWrapperPropsSchema: z.ZodObject<{
|
|
|
487
489
|
};
|
|
488
490
|
}) | ({
|
|
489
491
|
layers?: string[] | undefined;
|
|
490
|
-
} & import("./widgetPresence").WidgetPresenceType)
|
|
492
|
+
} & import("./widgetPresence").WidgetPresenceType) | ({
|
|
493
|
+
layers?: string[] | undefined;
|
|
494
|
+
} & import("./widgetQuickSurvey").WidgetQuickSurveyType)>, WidgetWrapperGeneric<({
|
|
491
495
|
layers?: string[] | undefined;
|
|
492
496
|
} & import("./widgetArticleAttachment").WidgetArticleAttachmentType) | ({
|
|
493
497
|
layers?: string[] | undefined;
|
|
@@ -537,7 +541,9 @@ export declare const widgetWrapperPropsSchema: z.ZodObject<{
|
|
|
537
541
|
};
|
|
538
542
|
}) | ({
|
|
539
543
|
layers?: string[] | undefined;
|
|
540
|
-
} & import("./widgetPresence").WidgetPresenceType)
|
|
544
|
+
} & import("./widgetPresence").WidgetPresenceType) | ({
|
|
545
|
+
layers?: string[] | undefined;
|
|
546
|
+
} & import("./widgetQuickSurvey").WidgetQuickSurveyType)>>;
|
|
541
547
|
export type WidgetWrapperProps = z.infer<typeof widgetWrapperPropsSchema>;
|
|
542
548
|
export declare const combinedWidgetContentSchema: z.ZodIntersection<z.ZodObject<{
|
|
543
549
|
widgets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -592,7 +598,9 @@ export declare const combinedWidgetContentSchema: z.ZodIntersection<z.ZodObject<
|
|
|
592
598
|
};
|
|
593
599
|
}) | ({
|
|
594
600
|
layers?: string[] | undefined;
|
|
595
|
-
} & import("./widgetPresence").WidgetPresenceType)
|
|
601
|
+
} & import("./widgetPresence").WidgetPresenceType) | ({
|
|
602
|
+
layers?: string[] | undefined;
|
|
603
|
+
} & import("./widgetQuickSurvey").WidgetQuickSurveyType), z.ZodTypeDef, ({
|
|
596
604
|
layers?: string[] | undefined;
|
|
597
605
|
} & import("./widgetArticleAttachment").WidgetArticleAttachmentType) | ({
|
|
598
606
|
layers?: string[] | undefined;
|
|
@@ -642,7 +650,9 @@ export declare const combinedWidgetContentSchema: z.ZodIntersection<z.ZodObject<
|
|
|
642
650
|
};
|
|
643
651
|
}) | ({
|
|
644
652
|
layers?: string[] | undefined;
|
|
645
|
-
} & import("./widgetPresence").WidgetPresenceType)
|
|
653
|
+
} & import("./widgetPresence").WidgetPresenceType) | ({
|
|
654
|
+
layers?: string[] | undefined;
|
|
655
|
+
} & import("./widgetQuickSurvey").WidgetQuickSurveyType)>;
|
|
646
656
|
}, "strip", z.ZodTypeAny, WidgetWrapperGeneric<({
|
|
647
657
|
layers?: string[] | undefined;
|
|
648
658
|
} & import("./widgetArticleAttachment").WidgetArticleAttachmentType) | ({
|
|
@@ -693,7 +703,9 @@ export declare const combinedWidgetContentSchema: z.ZodIntersection<z.ZodObject<
|
|
|
693
703
|
};
|
|
694
704
|
}) | ({
|
|
695
705
|
layers?: string[] | undefined;
|
|
696
|
-
} & import("./widgetPresence").WidgetPresenceType)
|
|
706
|
+
} & import("./widgetPresence").WidgetPresenceType) | ({
|
|
707
|
+
layers?: string[] | undefined;
|
|
708
|
+
} & import("./widgetQuickSurvey").WidgetQuickSurveyType)>, WidgetWrapperGeneric<({
|
|
697
709
|
layers?: string[] | undefined;
|
|
698
710
|
} & import("./widgetArticleAttachment").WidgetArticleAttachmentType) | ({
|
|
699
711
|
layers?: string[] | undefined;
|
|
@@ -743,7 +755,9 @@ export declare const combinedWidgetContentSchema: z.ZodIntersection<z.ZodObject<
|
|
|
743
755
|
};
|
|
744
756
|
}) | ({
|
|
745
757
|
layers?: string[] | undefined;
|
|
746
|
-
} & import("./widgetPresence").WidgetPresenceType)
|
|
758
|
+
} & import("./widgetPresence").WidgetPresenceType) | ({
|
|
759
|
+
layers?: string[] | undefined;
|
|
760
|
+
} & import("./widgetQuickSurvey").WidgetQuickSurveyType)>>, "many">>;
|
|
747
761
|
}, "strip", z.ZodTypeAny, {
|
|
748
762
|
widgets?: WidgetWrapperGeneric<({
|
|
749
763
|
layers?: string[] | undefined;
|
|
@@ -795,7 +809,9 @@ export declare const combinedWidgetContentSchema: z.ZodIntersection<z.ZodObject<
|
|
|
795
809
|
};
|
|
796
810
|
}) | ({
|
|
797
811
|
layers?: string[] | undefined;
|
|
798
|
-
} & import("./widgetPresence").WidgetPresenceType)
|
|
812
|
+
} & import("./widgetPresence").WidgetPresenceType) | ({
|
|
813
|
+
layers?: string[] | undefined;
|
|
814
|
+
} & import("./widgetQuickSurvey").WidgetQuickSurveyType)>[] | undefined;
|
|
799
815
|
}, {
|
|
800
816
|
widgets?: WidgetWrapperGeneric<({
|
|
801
817
|
layers?: string[] | undefined;
|
|
@@ -847,7 +863,9 @@ export declare const combinedWidgetContentSchema: z.ZodIntersection<z.ZodObject<
|
|
|
847
863
|
};
|
|
848
864
|
}) | ({
|
|
849
865
|
layers?: string[] | undefined;
|
|
850
|
-
} & import("./widgetPresence").WidgetPresenceType)
|
|
866
|
+
} & import("./widgetPresence").WidgetPresenceType) | ({
|
|
867
|
+
layers?: string[] | undefined;
|
|
868
|
+
} & import("./widgetQuickSurvey").WidgetQuickSurveyType)>[] | undefined;
|
|
851
869
|
}>, z.ZodUnion<[z.ZodObject<{
|
|
852
870
|
files: z.ZodOptionalType<z.ZodType<{
|
|
853
871
|
type: string;
|
|
@@ -1058,12 +1076,37 @@ export declare const combinedWidgetContentSchema: z.ZodIntersection<z.ZodObject<
|
|
|
1058
1076
|
target: string;
|
|
1059
1077
|
}[] | undefined>>;
|
|
1060
1078
|
id: z.ZodOptionalType<z.ZodType<number | undefined, z.ZodTypeDef, number | undefined>>;
|
|
1061
|
-
|
|
1062
|
-
id: number;
|
|
1079
|
+
file: z.ZodOptionalType<z.ZodType<{
|
|
1063
1080
|
type: string;
|
|
1081
|
+
id: number;
|
|
1064
1082
|
mainType: string;
|
|
1083
|
+
uri: string;
|
|
1084
|
+
dateCreation: string;
|
|
1085
|
+
dateModified: string | null;
|
|
1086
|
+
title: string;
|
|
1087
|
+
_url: string;
|
|
1088
|
+
mimetype: string;
|
|
1089
|
+
size: number;
|
|
1090
|
+
path?: string | undefined;
|
|
1065
1091
|
} | undefined, z.ZodTypeDef, {
|
|
1092
|
+
type: string;
|
|
1066
1093
|
id: number;
|
|
1094
|
+
mainType: string;
|
|
1095
|
+
uri: string;
|
|
1096
|
+
dateCreation: string;
|
|
1097
|
+
dateModified: string | null;
|
|
1098
|
+
title: string;
|
|
1099
|
+
_url: string;
|
|
1100
|
+
mimetype: string;
|
|
1101
|
+
size: number;
|
|
1102
|
+
path?: string | undefined;
|
|
1103
|
+
} | undefined>>;
|
|
1104
|
+
user: z.ZodOptionalType<z.ZodType<{
|
|
1105
|
+
id: string | number;
|
|
1106
|
+
type: string;
|
|
1107
|
+
mainType: string;
|
|
1108
|
+
} | undefined, z.ZodTypeDef, {
|
|
1109
|
+
id: string | number;
|
|
1067
1110
|
type: string;
|
|
1068
1111
|
mainType: string;
|
|
1069
1112
|
} | undefined>>;
|
|
@@ -1245,18 +1288,98 @@ export declare const combinedWidgetContentSchema: z.ZodIntersection<z.ZodObject<
|
|
|
1245
1288
|
}>, z.ZodObject<{
|
|
1246
1289
|
limit: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
|
|
1247
1290
|
limitValue: z.ZodOptional<z.ZodNumber>;
|
|
1248
|
-
closing: z.ZodOptional<z.ZodBoolean
|
|
1249
|
-
isClosed: z.ZodOptional<z.ZodBoolean
|
|
1291
|
+
closing: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<0>]>, z.ZodLiteral<1>]>>;
|
|
1292
|
+
isClosed: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<0>]>, z.ZodLiteral<1>]>>;
|
|
1250
1293
|
}, "strip", z.ZodTypeAny, {
|
|
1251
1294
|
limit?: number | boolean | undefined;
|
|
1252
1295
|
limitValue?: number | undefined;
|
|
1253
|
-
closing?: boolean | undefined;
|
|
1254
|
-
isClosed?: boolean | undefined;
|
|
1296
|
+
closing?: boolean | 0 | 1 | undefined;
|
|
1297
|
+
isClosed?: boolean | 0 | 1 | undefined;
|
|
1255
1298
|
}, {
|
|
1256
1299
|
limit?: number | boolean | undefined;
|
|
1257
1300
|
limitValue?: number | undefined;
|
|
1258
|
-
closing?: boolean | undefined;
|
|
1259
|
-
isClosed?: boolean | undefined;
|
|
1301
|
+
closing?: boolean | 0 | 1 | undefined;
|
|
1302
|
+
isClosed?: boolean | 0 | 1 | undefined;
|
|
1303
|
+
}>, z.ZodObject<{
|
|
1304
|
+
arr: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1305
|
+
title: z.ZodType<string, z.ZodTypeDef, string>;
|
|
1306
|
+
id: z.ZodOptionalType<z.ZodType<number | undefined, z.ZodTypeDef, number | undefined>>;
|
|
1307
|
+
mimetype: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
|
|
1308
|
+
file: z.ZodOptionalType<z.ZodType<{
|
|
1309
|
+
type: string;
|
|
1310
|
+
id: number;
|
|
1311
|
+
mainType: string;
|
|
1312
|
+
uri: string;
|
|
1313
|
+
dateCreation: string;
|
|
1314
|
+
dateModified: string | null;
|
|
1315
|
+
title: string;
|
|
1316
|
+
_url: string;
|
|
1317
|
+
mimetype: string;
|
|
1318
|
+
size: number;
|
|
1319
|
+
path?: string | undefined;
|
|
1320
|
+
} | undefined, z.ZodTypeDef, {
|
|
1321
|
+
type: string;
|
|
1322
|
+
id: number;
|
|
1323
|
+
mainType: string;
|
|
1324
|
+
uri: string;
|
|
1325
|
+
dateCreation: string;
|
|
1326
|
+
dateModified: string | null;
|
|
1327
|
+
title: string;
|
|
1328
|
+
_url: string;
|
|
1329
|
+
mimetype: string;
|
|
1330
|
+
size: number;
|
|
1331
|
+
path?: string | undefined;
|
|
1332
|
+
} | undefined>>;
|
|
1333
|
+
}, "strip", z.ZodTypeAny, import("./widgetQuickSurvey").WidgetQuickSurveyContentArr, import("./widgetQuickSurvey").WidgetQuickSurveyContentArr>, "many">>;
|
|
1334
|
+
css: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1335
|
+
widgets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1336
|
+
title: z.ZodString;
|
|
1337
|
+
widget: z.ZodObject<{
|
|
1338
|
+
name: z.ZodNativeEnum<typeof WidgetsName>;
|
|
1339
|
+
uniqid: z.ZodString;
|
|
1340
|
+
content: z.ZodUnknown;
|
|
1341
|
+
}, "strip", z.ZodTypeAny, {
|
|
1342
|
+
name: WidgetsName;
|
|
1343
|
+
uniqid: string;
|
|
1344
|
+
content?: unknown;
|
|
1345
|
+
}, {
|
|
1346
|
+
name: WidgetsName;
|
|
1347
|
+
uniqid: string;
|
|
1348
|
+
content?: unknown;
|
|
1349
|
+
}>;
|
|
1350
|
+
}, "strip", z.ZodUnknown, import("./common").WidgetBaseType, import("./common").WidgetBaseType>, "many">>;
|
|
1351
|
+
open: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<0>]>, z.ZodLiteral<1>]>>;
|
|
1352
|
+
multi: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<0>]>, z.ZodLiteral<1>]>>;
|
|
1353
|
+
closing: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<0>]>, z.ZodLiteral<1>]>>;
|
|
1354
|
+
isClosed: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<0>]>, z.ZodLiteral<1>]>>;
|
|
1355
|
+
showResult: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<0>]>, z.ZodLiteral<1>]>>;
|
|
1356
|
+
isNotDisabled: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<0>]>, z.ZodLiteral<1>]>>;
|
|
1357
|
+
seeResponseAfter: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<0>]>, z.ZodLiteral<1>]>>;
|
|
1358
|
+
anonymize: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<0>]>, z.ZodLiteral<1>]>>;
|
|
1359
|
+
}, "strip", z.ZodTypeAny, {
|
|
1360
|
+
widgets?: import("./common").WidgetBaseType[] | undefined;
|
|
1361
|
+
arr?: import("./widgetQuickSurvey").WidgetQuickSurveyContentArr[] | undefined;
|
|
1362
|
+
css?: Record<string, string> | undefined;
|
|
1363
|
+
closing?: boolean | 0 | 1 | undefined;
|
|
1364
|
+
isClosed?: boolean | 0 | 1 | undefined;
|
|
1365
|
+
open?: boolean | 0 | 1 | undefined;
|
|
1366
|
+
multi?: boolean | 0 | 1 | undefined;
|
|
1367
|
+
showResult?: boolean | 0 | 1 | undefined;
|
|
1368
|
+
isNotDisabled?: boolean | 0 | 1 | undefined;
|
|
1369
|
+
seeResponseAfter?: boolean | 0 | 1 | undefined;
|
|
1370
|
+
anonymize?: boolean | 0 | 1 | undefined;
|
|
1371
|
+
}, {
|
|
1372
|
+
widgets?: import("./common").WidgetBaseType[] | undefined;
|
|
1373
|
+
arr?: import("./widgetQuickSurvey").WidgetQuickSurveyContentArr[] | undefined;
|
|
1374
|
+
css?: Record<string, string> | undefined;
|
|
1375
|
+
closing?: boolean | 0 | 1 | undefined;
|
|
1376
|
+
isClosed?: boolean | 0 | 1 | undefined;
|
|
1377
|
+
open?: boolean | 0 | 1 | undefined;
|
|
1378
|
+
multi?: boolean | 0 | 1 | undefined;
|
|
1379
|
+
showResult?: boolean | 0 | 1 | undefined;
|
|
1380
|
+
isNotDisabled?: boolean | 0 | 1 | undefined;
|
|
1381
|
+
seeResponseAfter?: boolean | 0 | 1 | undefined;
|
|
1382
|
+
anonymize?: boolean | 0 | 1 | undefined;
|
|
1260
1383
|
}>]>>;
|
|
1261
1384
|
export type CombinedWidgetContent = z.infer<typeof combinedWidgetContentSchema>;
|
|
1262
1385
|
export declare const widgetTypeKeysSchema: z.ZodObject<{
|
|
@@ -1394,45 +1517,9 @@ export declare const widgetTypeKeysSchema: z.ZodObject<{
|
|
|
1394
1517
|
}>;
|
|
1395
1518
|
}, "strip", z.ZodTypeAny, import("./widgetDatasourceTable").WidgetDatasourceTableType, import("./widgetDatasourceTable").WidgetDatasourceTableType>;
|
|
1396
1519
|
"widget-excel-datasource-table": z.ZodObject<{
|
|
1397
|
-
name: z.
|
|
1398
|
-
uniqid: z.
|
|
1399
|
-
content: z.
|
|
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, {
|
|
1520
|
+
name: z.ZodType<WidgetsName.ExcelDatasourceTable, z.ZodTypeDef, WidgetsName.ExcelDatasourceTable>;
|
|
1521
|
+
uniqid: z.ZodType<string, z.ZodTypeDef, string>;
|
|
1522
|
+
content: z.ZodType<{
|
|
1436
1523
|
uri?: string | undefined;
|
|
1437
1524
|
limit?: number | boolean | undefined;
|
|
1438
1525
|
tableColumnsData?: {
|
|
@@ -1451,7 +1538,7 @@ export declare const widgetTypeKeysSchema: z.ZodObject<{
|
|
|
1451
1538
|
tableBorderRadius?: number | undefined;
|
|
1452
1539
|
tableSizedColumns?: boolean | undefined;
|
|
1453
1540
|
tableSizedColumnsWidth?: number | undefined;
|
|
1454
|
-
}, {
|
|
1541
|
+
}, z.ZodTypeDef, {
|
|
1455
1542
|
uri?: string | undefined;
|
|
1456
1543
|
limit?: number | boolean | undefined;
|
|
1457
1544
|
tableColumnsData?: {
|
|
@@ -1524,15 +1611,44 @@ export declare const widgetTypeKeysSchema: z.ZodObject<{
|
|
|
1524
1611
|
content: z.ZodType<{
|
|
1525
1612
|
limit?: number | boolean | undefined;
|
|
1526
1613
|
limitValue?: number | undefined;
|
|
1527
|
-
closing?: boolean | undefined;
|
|
1528
|
-
isClosed?: boolean | undefined;
|
|
1614
|
+
closing?: boolean | 0 | 1 | undefined;
|
|
1615
|
+
isClosed?: boolean | 0 | 1 | undefined;
|
|
1529
1616
|
}, z.ZodTypeDef, {
|
|
1530
1617
|
limit?: number | boolean | undefined;
|
|
1531
1618
|
limitValue?: number | undefined;
|
|
1532
|
-
closing?: boolean | undefined;
|
|
1533
|
-
isClosed?: boolean | undefined;
|
|
1619
|
+
closing?: boolean | 0 | 1 | undefined;
|
|
1620
|
+
isClosed?: boolean | 0 | 1 | undefined;
|
|
1534
1621
|
}>;
|
|
1535
1622
|
}, "strip", z.ZodTypeAny, import("./widgetPresence").WidgetPresenceType, import("./widgetPresence").WidgetPresenceType>;
|
|
1623
|
+
"widget-quick-survey": z.ZodObject<{
|
|
1624
|
+
name: z.ZodType<WidgetsName.QuickSurvey, z.ZodTypeDef, WidgetsName.QuickSurvey>;
|
|
1625
|
+
uniqid: z.ZodType<string, z.ZodTypeDef, string>;
|
|
1626
|
+
content: z.ZodType<{
|
|
1627
|
+
widgets?: import("./common").WidgetBaseType[] | undefined;
|
|
1628
|
+
arr?: import("./widgetQuickSurvey").WidgetQuickSurveyContentArr[] | undefined;
|
|
1629
|
+
css?: Record<string, string> | undefined;
|
|
1630
|
+
closing?: boolean | 0 | 1 | undefined;
|
|
1631
|
+
isClosed?: boolean | 0 | 1 | undefined;
|
|
1632
|
+
open?: boolean | 0 | 1 | undefined;
|
|
1633
|
+
multi?: boolean | 0 | 1 | undefined;
|
|
1634
|
+
showResult?: boolean | 0 | 1 | undefined;
|
|
1635
|
+
isNotDisabled?: boolean | 0 | 1 | undefined;
|
|
1636
|
+
seeResponseAfter?: boolean | 0 | 1 | undefined;
|
|
1637
|
+
anonymize?: boolean | 0 | 1 | undefined;
|
|
1638
|
+
}, z.ZodTypeDef, {
|
|
1639
|
+
widgets?: import("./common").WidgetBaseType[] | undefined;
|
|
1640
|
+
arr?: import("./widgetQuickSurvey").WidgetQuickSurveyContentArr[] | undefined;
|
|
1641
|
+
css?: Record<string, string> | undefined;
|
|
1642
|
+
closing?: boolean | 0 | 1 | undefined;
|
|
1643
|
+
isClosed?: boolean | 0 | 1 | undefined;
|
|
1644
|
+
open?: boolean | 0 | 1 | undefined;
|
|
1645
|
+
multi?: boolean | 0 | 1 | undefined;
|
|
1646
|
+
showResult?: boolean | 0 | 1 | undefined;
|
|
1647
|
+
isNotDisabled?: boolean | 0 | 1 | undefined;
|
|
1648
|
+
seeResponseAfter?: boolean | 0 | 1 | undefined;
|
|
1649
|
+
anonymize?: boolean | 0 | 1 | undefined;
|
|
1650
|
+
}>;
|
|
1651
|
+
}, "strip", z.ZodTypeAny, import("./widgetQuickSurvey").WidgetQuickSurveyType, import("./widgetQuickSurvey").WidgetQuickSurveyType>;
|
|
1536
1652
|
}, "strip", z.ZodTypeAny, {
|
|
1537
1653
|
"widget-article-button": import("./widgetArticleButton").WidgetArticleButtonType;
|
|
1538
1654
|
"widget-article-gallery": import("./widgetArticleGallery").WidgetArticleGalleryType;
|
|
@@ -1573,6 +1689,7 @@ export declare const widgetTypeKeysSchema: z.ZodObject<{
|
|
|
1573
1689
|
};
|
|
1574
1690
|
};
|
|
1575
1691
|
"widget-presence": import("./widgetPresence").WidgetPresenceType;
|
|
1692
|
+
"widget-quick-survey": import("./widgetQuickSurvey").WidgetQuickSurveyType;
|
|
1576
1693
|
}, {
|
|
1577
1694
|
"widget-article-button": import("./widgetArticleButton").WidgetArticleButtonType;
|
|
1578
1695
|
"widget-article-gallery": import("./widgetArticleGallery").WidgetArticleGalleryType;
|
|
@@ -1613,6 +1730,7 @@ export declare const widgetTypeKeysSchema: z.ZodObject<{
|
|
|
1613
1730
|
};
|
|
1614
1731
|
};
|
|
1615
1732
|
"widget-presence": import("./widgetPresence").WidgetPresenceType;
|
|
1733
|
+
"widget-quick-survey": import("./widgetQuickSurvey").WidgetQuickSurveyType;
|
|
1616
1734
|
}>;
|
|
1617
1735
|
export type WidgetTypeKeys = z.infer<typeof widgetTypeKeysSchema>;
|
|
1618
1736
|
export declare const widgetContentKeysSchema: z.ZodObject<{
|
|
@@ -1833,12 +1951,37 @@ export declare const widgetContentKeysSchema: z.ZodObject<{
|
|
|
1833
1951
|
target: string;
|
|
1834
1952
|
}[] | undefined>>;
|
|
1835
1953
|
id: z.ZodOptionalType<z.ZodType<number | undefined, z.ZodTypeDef, number | undefined>>;
|
|
1836
|
-
|
|
1837
|
-
id: number;
|
|
1954
|
+
file: z.ZodOptionalType<z.ZodType<{
|
|
1838
1955
|
type: string;
|
|
1956
|
+
id: number;
|
|
1839
1957
|
mainType: string;
|
|
1958
|
+
uri: string;
|
|
1959
|
+
dateCreation: string;
|
|
1960
|
+
dateModified: string | null;
|
|
1961
|
+
title: string;
|
|
1962
|
+
_url: string;
|
|
1963
|
+
mimetype: string;
|
|
1964
|
+
size: number;
|
|
1965
|
+
path?: string | undefined;
|
|
1840
1966
|
} | undefined, z.ZodTypeDef, {
|
|
1967
|
+
type: string;
|
|
1841
1968
|
id: number;
|
|
1969
|
+
mainType: string;
|
|
1970
|
+
uri: string;
|
|
1971
|
+
dateCreation: string;
|
|
1972
|
+
dateModified: string | null;
|
|
1973
|
+
title: string;
|
|
1974
|
+
_url: string;
|
|
1975
|
+
mimetype: string;
|
|
1976
|
+
size: number;
|
|
1977
|
+
path?: string | undefined;
|
|
1978
|
+
} | undefined>>;
|
|
1979
|
+
user: z.ZodOptionalType<z.ZodType<{
|
|
1980
|
+
id: string | number;
|
|
1981
|
+
type: string;
|
|
1982
|
+
mainType: string;
|
|
1983
|
+
} | undefined, z.ZodTypeDef, {
|
|
1984
|
+
id: string | number;
|
|
1842
1985
|
type: string;
|
|
1843
1986
|
mainType: string;
|
|
1844
1987
|
} | undefined>>;
|
|
@@ -2023,18 +2166,99 @@ export declare const widgetContentKeysSchema: z.ZodObject<{
|
|
|
2023
2166
|
"widget-presence": z.ZodObject<{
|
|
2024
2167
|
limit: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
|
|
2025
2168
|
limitValue: z.ZodOptional<z.ZodNumber>;
|
|
2026
|
-
closing: z.ZodOptional<z.ZodBoolean
|
|
2027
|
-
isClosed: z.ZodOptional<z.ZodBoolean
|
|
2169
|
+
closing: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<0>]>, z.ZodLiteral<1>]>>;
|
|
2170
|
+
isClosed: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<0>]>, z.ZodLiteral<1>]>>;
|
|
2028
2171
|
}, "strip", z.ZodTypeAny, {
|
|
2029
2172
|
limit?: number | boolean | undefined;
|
|
2030
2173
|
limitValue?: number | undefined;
|
|
2031
|
-
closing?: boolean | undefined;
|
|
2032
|
-
isClosed?: boolean | undefined;
|
|
2174
|
+
closing?: boolean | 0 | 1 | undefined;
|
|
2175
|
+
isClosed?: boolean | 0 | 1 | undefined;
|
|
2033
2176
|
}, {
|
|
2034
2177
|
limit?: number | boolean | undefined;
|
|
2035
2178
|
limitValue?: number | undefined;
|
|
2036
|
-
closing?: boolean | undefined;
|
|
2037
|
-
isClosed?: boolean | undefined;
|
|
2179
|
+
closing?: boolean | 0 | 1 | undefined;
|
|
2180
|
+
isClosed?: boolean | 0 | 1 | undefined;
|
|
2181
|
+
}>;
|
|
2182
|
+
"widget-quick-survey": z.ZodObject<{
|
|
2183
|
+
arr: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2184
|
+
title: z.ZodType<string, z.ZodTypeDef, string>;
|
|
2185
|
+
id: z.ZodOptionalType<z.ZodType<number | undefined, z.ZodTypeDef, number | undefined>>;
|
|
2186
|
+
mimetype: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
|
|
2187
|
+
file: z.ZodOptionalType<z.ZodType<{
|
|
2188
|
+
type: string;
|
|
2189
|
+
id: number;
|
|
2190
|
+
mainType: string;
|
|
2191
|
+
uri: string;
|
|
2192
|
+
dateCreation: string;
|
|
2193
|
+
dateModified: string | null;
|
|
2194
|
+
title: string;
|
|
2195
|
+
_url: string;
|
|
2196
|
+
mimetype: string;
|
|
2197
|
+
size: number;
|
|
2198
|
+
path?: string | undefined;
|
|
2199
|
+
} | undefined, z.ZodTypeDef, {
|
|
2200
|
+
type: string;
|
|
2201
|
+
id: number;
|
|
2202
|
+
mainType: string;
|
|
2203
|
+
uri: string;
|
|
2204
|
+
dateCreation: string;
|
|
2205
|
+
dateModified: string | null;
|
|
2206
|
+
title: string;
|
|
2207
|
+
_url: string;
|
|
2208
|
+
mimetype: string;
|
|
2209
|
+
size: number;
|
|
2210
|
+
path?: string | undefined;
|
|
2211
|
+
} | undefined>>;
|
|
2212
|
+
}, "strip", z.ZodTypeAny, import("./widgetQuickSurvey").WidgetQuickSurveyContentArr, import("./widgetQuickSurvey").WidgetQuickSurveyContentArr>, "many">>;
|
|
2213
|
+
css: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2214
|
+
widgets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2215
|
+
title: z.ZodString;
|
|
2216
|
+
widget: z.ZodObject<{
|
|
2217
|
+
name: z.ZodNativeEnum<typeof WidgetsName>;
|
|
2218
|
+
uniqid: z.ZodString;
|
|
2219
|
+
content: z.ZodUnknown;
|
|
2220
|
+
}, "strip", z.ZodTypeAny, {
|
|
2221
|
+
name: WidgetsName;
|
|
2222
|
+
uniqid: string;
|
|
2223
|
+
content?: unknown;
|
|
2224
|
+
}, {
|
|
2225
|
+
name: WidgetsName;
|
|
2226
|
+
uniqid: string;
|
|
2227
|
+
content?: unknown;
|
|
2228
|
+
}>;
|
|
2229
|
+
}, "strip", z.ZodUnknown, import("./common").WidgetBaseType, import("./common").WidgetBaseType>, "many">>;
|
|
2230
|
+
open: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<0>]>, z.ZodLiteral<1>]>>;
|
|
2231
|
+
multi: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<0>]>, z.ZodLiteral<1>]>>;
|
|
2232
|
+
closing: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<0>]>, z.ZodLiteral<1>]>>;
|
|
2233
|
+
isClosed: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<0>]>, z.ZodLiteral<1>]>>;
|
|
2234
|
+
showResult: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<0>]>, z.ZodLiteral<1>]>>;
|
|
2235
|
+
isNotDisabled: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<0>]>, z.ZodLiteral<1>]>>;
|
|
2236
|
+
seeResponseAfter: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<0>]>, z.ZodLiteral<1>]>>;
|
|
2237
|
+
anonymize: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<0>]>, z.ZodLiteral<1>]>>;
|
|
2238
|
+
}, "strip", z.ZodTypeAny, {
|
|
2239
|
+
widgets?: import("./common").WidgetBaseType[] | undefined;
|
|
2240
|
+
arr?: import("./widgetQuickSurvey").WidgetQuickSurveyContentArr[] | undefined;
|
|
2241
|
+
css?: Record<string, string> | undefined;
|
|
2242
|
+
closing?: boolean | 0 | 1 | undefined;
|
|
2243
|
+
isClosed?: boolean | 0 | 1 | undefined;
|
|
2244
|
+
open?: boolean | 0 | 1 | undefined;
|
|
2245
|
+
multi?: boolean | 0 | 1 | undefined;
|
|
2246
|
+
showResult?: boolean | 0 | 1 | undefined;
|
|
2247
|
+
isNotDisabled?: boolean | 0 | 1 | undefined;
|
|
2248
|
+
seeResponseAfter?: boolean | 0 | 1 | undefined;
|
|
2249
|
+
anonymize?: boolean | 0 | 1 | undefined;
|
|
2250
|
+
}, {
|
|
2251
|
+
widgets?: import("./common").WidgetBaseType[] | undefined;
|
|
2252
|
+
arr?: import("./widgetQuickSurvey").WidgetQuickSurveyContentArr[] | undefined;
|
|
2253
|
+
css?: Record<string, string> | undefined;
|
|
2254
|
+
closing?: boolean | 0 | 1 | undefined;
|
|
2255
|
+
isClosed?: boolean | 0 | 1 | undefined;
|
|
2256
|
+
open?: boolean | 0 | 1 | undefined;
|
|
2257
|
+
multi?: boolean | 0 | 1 | undefined;
|
|
2258
|
+
showResult?: boolean | 0 | 1 | undefined;
|
|
2259
|
+
isNotDisabled?: boolean | 0 | 1 | undefined;
|
|
2260
|
+
seeResponseAfter?: boolean | 0 | 1 | undefined;
|
|
2261
|
+
anonymize?: boolean | 0 | 1 | undefined;
|
|
2038
2262
|
}>;
|
|
2039
2263
|
}, "strip", z.ZodTypeAny, {
|
|
2040
2264
|
"widget-article-button": {
|
|
@@ -2115,8 +2339,21 @@ export declare const widgetContentKeysSchema: z.ZodObject<{
|
|
|
2115
2339
|
"widget-presence": {
|
|
2116
2340
|
limit?: number | boolean | undefined;
|
|
2117
2341
|
limitValue?: number | undefined;
|
|
2118
|
-
closing?: boolean | undefined;
|
|
2119
|
-
isClosed?: boolean | undefined;
|
|
2342
|
+
closing?: boolean | 0 | 1 | undefined;
|
|
2343
|
+
isClosed?: boolean | 0 | 1 | undefined;
|
|
2344
|
+
};
|
|
2345
|
+
"widget-quick-survey": {
|
|
2346
|
+
widgets?: import("./common").WidgetBaseType[] | undefined;
|
|
2347
|
+
arr?: import("./widgetQuickSurvey").WidgetQuickSurveyContentArr[] | undefined;
|
|
2348
|
+
css?: Record<string, string> | undefined;
|
|
2349
|
+
closing?: boolean | 0 | 1 | undefined;
|
|
2350
|
+
isClosed?: boolean | 0 | 1 | undefined;
|
|
2351
|
+
open?: boolean | 0 | 1 | undefined;
|
|
2352
|
+
multi?: boolean | 0 | 1 | undefined;
|
|
2353
|
+
showResult?: boolean | 0 | 1 | undefined;
|
|
2354
|
+
isNotDisabled?: boolean | 0 | 1 | undefined;
|
|
2355
|
+
seeResponseAfter?: boolean | 0 | 1 | undefined;
|
|
2356
|
+
anonymize?: boolean | 0 | 1 | undefined;
|
|
2120
2357
|
};
|
|
2121
2358
|
}, {
|
|
2122
2359
|
"widget-article-button": {
|
|
@@ -2197,8 +2434,21 @@ export declare const widgetContentKeysSchema: z.ZodObject<{
|
|
|
2197
2434
|
"widget-presence": {
|
|
2198
2435
|
limit?: number | boolean | undefined;
|
|
2199
2436
|
limitValue?: number | undefined;
|
|
2200
|
-
closing?: boolean | undefined;
|
|
2201
|
-
isClosed?: boolean | undefined;
|
|
2437
|
+
closing?: boolean | 0 | 1 | undefined;
|
|
2438
|
+
isClosed?: boolean | 0 | 1 | undefined;
|
|
2439
|
+
};
|
|
2440
|
+
"widget-quick-survey": {
|
|
2441
|
+
widgets?: import("./common").WidgetBaseType[] | undefined;
|
|
2442
|
+
arr?: import("./widgetQuickSurvey").WidgetQuickSurveyContentArr[] | undefined;
|
|
2443
|
+
css?: Record<string, string> | undefined;
|
|
2444
|
+
closing?: boolean | 0 | 1 | undefined;
|
|
2445
|
+
isClosed?: boolean | 0 | 1 | undefined;
|
|
2446
|
+
open?: boolean | 0 | 1 | undefined;
|
|
2447
|
+
multi?: boolean | 0 | 1 | undefined;
|
|
2448
|
+
showResult?: boolean | 0 | 1 | undefined;
|
|
2449
|
+
isNotDisabled?: boolean | 0 | 1 | undefined;
|
|
2450
|
+
seeResponseAfter?: boolean | 0 | 1 | undefined;
|
|
2451
|
+
anonymize?: boolean | 0 | 1 | undefined;
|
|
2202
2452
|
};
|
|
2203
2453
|
}>;
|
|
2204
2454
|
export type WidgetContentKeys = z.infer<typeof widgetContentKeysSchema>;
|