jamespot-user-api 1.0.198 → 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.
- 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/file/file.d.ts +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 +357 -95
- package/lib/src/types/widgets/ensure.d.ts +1 -1
- 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 +35 -0
- package/lib/src/types/widgets/widgetQuickSurvey.d.ts +275 -0
- package/lib/src/types/widgets.d.ts +342 -68
- 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
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { z, ZodType } from 'zod';
|
|
2
2
|
import { jHref } from '../utils';
|
|
3
3
|
import { WidgetsName, WidgetType } from './common';
|
|
4
|
+
import { jFileLittle } from '../file';
|
|
4
5
|
export type WidgetCheckListContentArr = {
|
|
5
6
|
title: string;
|
|
6
7
|
value?: boolean;
|
|
7
8
|
links?: jHref[];
|
|
8
9
|
id?: number;
|
|
10
|
+
file?: jFileLittle;
|
|
9
11
|
user?: {
|
|
10
|
-
id: number;
|
|
12
|
+
id: number | string;
|
|
11
13
|
type: string;
|
|
12
14
|
mainType: string;
|
|
13
15
|
};
|
|
@@ -23,12 +25,37 @@ export declare const widgetCheckListContentArrSchema: z.ZodObject<{
|
|
|
23
25
|
target: string;
|
|
24
26
|
}[] | undefined>>;
|
|
25
27
|
id: z.ZodOptionalType<z.ZodType<number | undefined, z.ZodTypeDef, number | undefined>>;
|
|
26
|
-
|
|
27
|
-
id: number;
|
|
28
|
+
file: z.ZodOptionalType<z.ZodType<{
|
|
28
29
|
type: string;
|
|
30
|
+
id: number;
|
|
29
31
|
mainType: string;
|
|
32
|
+
uri: string;
|
|
33
|
+
dateCreation: string;
|
|
34
|
+
dateModified: string | null;
|
|
35
|
+
title: string;
|
|
36
|
+
_url: string;
|
|
37
|
+
mimetype: string;
|
|
38
|
+
size: number;
|
|
39
|
+
path?: string | undefined;
|
|
30
40
|
} | undefined, z.ZodTypeDef, {
|
|
41
|
+
type: string;
|
|
31
42
|
id: number;
|
|
43
|
+
mainType: string;
|
|
44
|
+
uri: string;
|
|
45
|
+
dateCreation: string;
|
|
46
|
+
dateModified: string | null;
|
|
47
|
+
title: string;
|
|
48
|
+
_url: string;
|
|
49
|
+
mimetype: string;
|
|
50
|
+
size: number;
|
|
51
|
+
path?: string | undefined;
|
|
52
|
+
} | undefined>>;
|
|
53
|
+
user: z.ZodOptionalType<z.ZodType<{
|
|
54
|
+
id: number | string;
|
|
55
|
+
type: string;
|
|
56
|
+
mainType: string;
|
|
57
|
+
} | undefined, z.ZodTypeDef, {
|
|
58
|
+
id: number | string;
|
|
32
59
|
type: string;
|
|
33
60
|
mainType: string;
|
|
34
61
|
} | undefined>>;
|
|
@@ -45,12 +72,37 @@ export declare const widgetCheckListContentSchema: z.ZodObject<{
|
|
|
45
72
|
target: string;
|
|
46
73
|
}[] | undefined>>;
|
|
47
74
|
id: z.ZodOptionalType<z.ZodType<number | undefined, z.ZodTypeDef, number | undefined>>;
|
|
48
|
-
|
|
49
|
-
id: number;
|
|
75
|
+
file: z.ZodOptionalType<z.ZodType<{
|
|
50
76
|
type: string;
|
|
77
|
+
id: number;
|
|
51
78
|
mainType: string;
|
|
79
|
+
uri: string;
|
|
80
|
+
dateCreation: string;
|
|
81
|
+
dateModified: string | null;
|
|
82
|
+
title: string;
|
|
83
|
+
_url: string;
|
|
84
|
+
mimetype: string;
|
|
85
|
+
size: number;
|
|
86
|
+
path?: string | undefined;
|
|
52
87
|
} | undefined, z.ZodTypeDef, {
|
|
88
|
+
type: string;
|
|
53
89
|
id: number;
|
|
90
|
+
mainType: string;
|
|
91
|
+
uri: string;
|
|
92
|
+
dateCreation: string;
|
|
93
|
+
dateModified: string | null;
|
|
94
|
+
title: string;
|
|
95
|
+
_url: string;
|
|
96
|
+
mimetype: string;
|
|
97
|
+
size: number;
|
|
98
|
+
path?: string | undefined;
|
|
99
|
+
} | undefined>>;
|
|
100
|
+
user: z.ZodOptionalType<z.ZodType<{
|
|
101
|
+
id: number | string;
|
|
102
|
+
type: string;
|
|
103
|
+
mainType: string;
|
|
104
|
+
} | undefined, z.ZodTypeDef, {
|
|
105
|
+
id: number | string;
|
|
54
106
|
type: string;
|
|
55
107
|
mainType: string;
|
|
56
108
|
} | undefined>>;
|
|
@@ -77,45 +77,9 @@ export declare const widgetExcelDatasourceTableContentSchema: z.ZodObject<z.obje
|
|
|
77
77
|
}>;
|
|
78
78
|
export type WidgetExcelDatasourceTableContent = z.infer<typeof widgetExcelDatasourceTableContentSchema>;
|
|
79
79
|
export declare const widgetExcelDatasourceTableTypeSchema: z.ZodObject<{
|
|
80
|
-
name: z.
|
|
81
|
-
uniqid: z.
|
|
82
|
-
content: z.
|
|
83
|
-
limit: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
|
|
84
|
-
tableColumnsData: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
85
|
-
name: z.ZodOptional<z.ZodString>;
|
|
86
|
-
isVisible: z.ZodOptional<z.ZodBoolean>;
|
|
87
|
-
textEllipsis: z.ZodOptional<z.ZodBoolean>;
|
|
88
|
-
label: z.ZodOptional<z.ZodString>;
|
|
89
|
-
dateFormat: z.ZodOptional<z.ZodEnum<["date", "date-time", "date-time-sec", "time", "time-sec"]>>;
|
|
90
|
-
numberFormat: z.ZodOptional<z.ZodEnum<["fr-FR", "en-EN", "filesize"]>>;
|
|
91
|
-
}, "strip", z.ZodTypeAny, {
|
|
92
|
-
name?: string | undefined;
|
|
93
|
-
label?: string | undefined;
|
|
94
|
-
isVisible?: boolean | undefined;
|
|
95
|
-
textEllipsis?: boolean | undefined;
|
|
96
|
-
dateFormat?: "date" | "time" | "date-time" | "date-time-sec" | "time-sec" | undefined;
|
|
97
|
-
numberFormat?: "fr-FR" | "en-EN" | "filesize" | undefined;
|
|
98
|
-
}, {
|
|
99
|
-
name?: string | undefined;
|
|
100
|
-
label?: string | undefined;
|
|
101
|
-
isVisible?: boolean | undefined;
|
|
102
|
-
textEllipsis?: boolean | undefined;
|
|
103
|
-
dateFormat?: "date" | "time" | "date-time" | "date-time-sec" | "time-sec" | undefined;
|
|
104
|
-
numberFormat?: "fr-FR" | "en-EN" | "filesize" | undefined;
|
|
105
|
-
}>, "many">>;
|
|
106
|
-
tableHeadColor: z.ZodOptional<z.ZodString>;
|
|
107
|
-
tableHeadTextColor: z.ZodOptional<z.ZodString>;
|
|
108
|
-
tableHeadIconColor: z.ZodOptional<z.ZodString>;
|
|
109
|
-
tableRowColor: z.ZodOptional<z.ZodString>;
|
|
110
|
-
tableRowTextColor: z.ZodOptional<z.ZodString>;
|
|
111
|
-
tableBorderRadius: z.ZodOptional<z.ZodNumber>;
|
|
112
|
-
tableSizedColumns: z.ZodOptional<z.ZodBoolean>;
|
|
113
|
-
tableSizedColumnsWidth: z.ZodOptional<z.ZodNumber>;
|
|
114
|
-
}, {
|
|
115
|
-
uri: z.ZodOptional<z.ZodString>;
|
|
116
|
-
}>, {
|
|
117
|
-
uri: z.ZodOptional<z.ZodString>;
|
|
118
|
-
}>, "strip", z.ZodTypeAny, {
|
|
80
|
+
name: z.ZodType<WidgetsName.ExcelDatasourceTable, z.ZodTypeDef, WidgetsName.ExcelDatasourceTable>;
|
|
81
|
+
uniqid: z.ZodType<string, z.ZodTypeDef, string>;
|
|
82
|
+
content: z.ZodType<{
|
|
119
83
|
uri?: string | undefined;
|
|
120
84
|
limit?: number | boolean | undefined;
|
|
121
85
|
tableColumnsData?: {
|
|
@@ -134,7 +98,7 @@ export declare const widgetExcelDatasourceTableTypeSchema: z.ZodObject<{
|
|
|
134
98
|
tableBorderRadius?: number | undefined;
|
|
135
99
|
tableSizedColumns?: boolean | undefined;
|
|
136
100
|
tableSizedColumnsWidth?: number | undefined;
|
|
137
|
-
}, {
|
|
101
|
+
}, z.ZodTypeDef, {
|
|
138
102
|
uri?: string | undefined;
|
|
139
103
|
limit?: number | boolean | undefined;
|
|
140
104
|
tableColumnsData?: {
|
|
@@ -130,3 +130,38 @@ export declare const ensureWidgetPresenceResponse: (payload: unknown) => payload
|
|
|
130
130
|
userAvailableTotal: number;
|
|
131
131
|
userUnavailableTotal: number;
|
|
132
132
|
};
|
|
133
|
+
export declare const WidgetPresenceResponseUserListSchema: z.ZodObject<{
|
|
134
|
+
data: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
135
|
+
id: z.ZodType<number, z.ZodTypeDef, number>;
|
|
136
|
+
mainType: z.ZodType<string, z.ZodTypeDef, string>;
|
|
137
|
+
type: z.ZodType<string, z.ZodTypeDef, string>;
|
|
138
|
+
uri: z.ZodType<string, z.ZodTypeDef, string>;
|
|
139
|
+
dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
|
|
140
|
+
dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
|
|
141
|
+
}, {
|
|
142
|
+
title: z.ZodString;
|
|
143
|
+
_url: z.ZodString;
|
|
144
|
+
level: z.ZodNativeEnum<{
|
|
145
|
+
readonly ADMIN: 9;
|
|
146
|
+
readonly USER: 5;
|
|
147
|
+
readonly EXTERNAL: 3;
|
|
148
|
+
readonly GUEST: 0;
|
|
149
|
+
}>;
|
|
150
|
+
dateCreation: z.ZodString;
|
|
151
|
+
dateModified: z.ZodString;
|
|
152
|
+
}>, "strip", z.ZodUnion<[z.ZodNumber, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodString>, z.ZodString, z.ZodNumber, z.ZodNullable<z.ZodString>, z.ZodString, z.ZodString]>, import("../user").jUserLittle, import("../user").jUserLittle>, "many">;
|
|
153
|
+
cnt: z.ZodNumber;
|
|
154
|
+
page: z.ZodNumber;
|
|
155
|
+
limit: z.ZodNumber;
|
|
156
|
+
}, "strip", z.ZodTypeAny, {
|
|
157
|
+
limit: number;
|
|
158
|
+
page: number;
|
|
159
|
+
data: import("../user").jUserLittle[];
|
|
160
|
+
cnt: number;
|
|
161
|
+
}, {
|
|
162
|
+
limit: number;
|
|
163
|
+
page: number;
|
|
164
|
+
data: import("../user").jUserLittle[];
|
|
165
|
+
cnt: number;
|
|
166
|
+
}>;
|
|
167
|
+
export type WidgetPresenceResponseUserList = z.infer<typeof WidgetPresenceResponseUserListSchema>;
|
|
@@ -0,0 +1,275 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { WidgetsName } from './common';
|
|
3
|
+
import { jFileLittle } from '../file';
|
|
4
|
+
export type WidgetQuickSurveyContentArr = {
|
|
5
|
+
title: string;
|
|
6
|
+
id?: number;
|
|
7
|
+
mimetype?: string;
|
|
8
|
+
file?: jFileLittle;
|
|
9
|
+
};
|
|
10
|
+
export declare const WidgetQuickSurveyContentArrSchema: z.ZodObject<{
|
|
11
|
+
title: z.ZodType<string, z.ZodTypeDef, string>;
|
|
12
|
+
id: z.ZodOptionalType<z.ZodType<number | undefined, z.ZodTypeDef, number | undefined>>;
|
|
13
|
+
mimetype: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
|
|
14
|
+
file: z.ZodOptionalType<z.ZodType<{
|
|
15
|
+
type: string;
|
|
16
|
+
id: number;
|
|
17
|
+
mainType: string;
|
|
18
|
+
uri: string;
|
|
19
|
+
dateCreation: string;
|
|
20
|
+
dateModified: string | null;
|
|
21
|
+
title: string;
|
|
22
|
+
_url: string;
|
|
23
|
+
mimetype: string;
|
|
24
|
+
size: number;
|
|
25
|
+
path?: string | undefined;
|
|
26
|
+
} | undefined, z.ZodTypeDef, {
|
|
27
|
+
type: string;
|
|
28
|
+
id: number;
|
|
29
|
+
mainType: string;
|
|
30
|
+
uri: string;
|
|
31
|
+
dateCreation: string;
|
|
32
|
+
dateModified: string | null;
|
|
33
|
+
title: string;
|
|
34
|
+
_url: string;
|
|
35
|
+
mimetype: string;
|
|
36
|
+
size: number;
|
|
37
|
+
path?: string | undefined;
|
|
38
|
+
} | undefined>>;
|
|
39
|
+
}, "strip", z.ZodTypeAny, WidgetQuickSurveyContentArr, WidgetQuickSurveyContentArr>;
|
|
40
|
+
export declare const widgetQuickSurveyContentSchema: z.ZodObject<{
|
|
41
|
+
arr: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
42
|
+
title: z.ZodType<string, z.ZodTypeDef, string>;
|
|
43
|
+
id: z.ZodOptionalType<z.ZodType<number | undefined, z.ZodTypeDef, number | undefined>>;
|
|
44
|
+
mimetype: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
|
|
45
|
+
file: z.ZodOptionalType<z.ZodType<{
|
|
46
|
+
type: string;
|
|
47
|
+
id: number;
|
|
48
|
+
mainType: string;
|
|
49
|
+
uri: string;
|
|
50
|
+
dateCreation: string;
|
|
51
|
+
dateModified: string | null;
|
|
52
|
+
title: string;
|
|
53
|
+
_url: string;
|
|
54
|
+
mimetype: string;
|
|
55
|
+
size: number;
|
|
56
|
+
path?: string | undefined;
|
|
57
|
+
} | undefined, z.ZodTypeDef, {
|
|
58
|
+
type: string;
|
|
59
|
+
id: number;
|
|
60
|
+
mainType: string;
|
|
61
|
+
uri: string;
|
|
62
|
+
dateCreation: string;
|
|
63
|
+
dateModified: string | null;
|
|
64
|
+
title: string;
|
|
65
|
+
_url: string;
|
|
66
|
+
mimetype: string;
|
|
67
|
+
size: number;
|
|
68
|
+
path?: string | undefined;
|
|
69
|
+
} | undefined>>;
|
|
70
|
+
}, "strip", z.ZodTypeAny, WidgetQuickSurveyContentArr, WidgetQuickSurveyContentArr>, "many">>;
|
|
71
|
+
css: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
72
|
+
widgets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
73
|
+
title: z.ZodString;
|
|
74
|
+
widget: z.ZodObject<{
|
|
75
|
+
name: z.ZodNativeEnum<typeof WidgetsName>;
|
|
76
|
+
uniqid: z.ZodString;
|
|
77
|
+
content: z.ZodUnknown;
|
|
78
|
+
}, "strip", z.ZodTypeAny, {
|
|
79
|
+
name: WidgetsName;
|
|
80
|
+
uniqid: string;
|
|
81
|
+
content?: unknown;
|
|
82
|
+
}, {
|
|
83
|
+
name: WidgetsName;
|
|
84
|
+
uniqid: string;
|
|
85
|
+
content?: unknown;
|
|
86
|
+
}>;
|
|
87
|
+
}, "strip", z.ZodUnknown, import("./common").WidgetBaseType, import("./common").WidgetBaseType>, "many">>;
|
|
88
|
+
userTotal: z.ZodOptional<z.ZodNumber>;
|
|
89
|
+
open: z.ZodOptional<z.ZodBoolean>;
|
|
90
|
+
multi: z.ZodOptional<z.ZodBoolean>;
|
|
91
|
+
closing: z.ZodOptional<z.ZodBoolean>;
|
|
92
|
+
isClosed: z.ZodOptional<z.ZodBoolean>;
|
|
93
|
+
showResult: z.ZodOptional<z.ZodBoolean>;
|
|
94
|
+
isNotDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
95
|
+
seeResponseAfter: z.ZodOptional<z.ZodBoolean>;
|
|
96
|
+
anonymize: z.ZodOptional<z.ZodBoolean>;
|
|
97
|
+
}, "strip", z.ZodTypeAny, {
|
|
98
|
+
widgets?: import("./common").WidgetBaseType[] | undefined;
|
|
99
|
+
arr?: WidgetQuickSurveyContentArr[] | undefined;
|
|
100
|
+
css?: Record<string, string> | undefined;
|
|
101
|
+
closing?: boolean | undefined;
|
|
102
|
+
isClosed?: boolean | undefined;
|
|
103
|
+
userTotal?: number | undefined;
|
|
104
|
+
open?: boolean | undefined;
|
|
105
|
+
multi?: boolean | undefined;
|
|
106
|
+
showResult?: boolean | undefined;
|
|
107
|
+
isNotDisabled?: boolean | undefined;
|
|
108
|
+
seeResponseAfter?: boolean | undefined;
|
|
109
|
+
anonymize?: boolean | undefined;
|
|
110
|
+
}, {
|
|
111
|
+
widgets?: import("./common").WidgetBaseType[] | undefined;
|
|
112
|
+
arr?: WidgetQuickSurveyContentArr[] | undefined;
|
|
113
|
+
css?: Record<string, string> | undefined;
|
|
114
|
+
closing?: boolean | undefined;
|
|
115
|
+
isClosed?: boolean | undefined;
|
|
116
|
+
userTotal?: number | undefined;
|
|
117
|
+
open?: boolean | undefined;
|
|
118
|
+
multi?: boolean | undefined;
|
|
119
|
+
showResult?: boolean | undefined;
|
|
120
|
+
isNotDisabled?: boolean | undefined;
|
|
121
|
+
seeResponseAfter?: boolean | undefined;
|
|
122
|
+
anonymize?: boolean | undefined;
|
|
123
|
+
}>;
|
|
124
|
+
export type WidgetQuickSurveyContent = z.infer<typeof widgetQuickSurveyContentSchema>;
|
|
125
|
+
export type WidgetQuickSurveyType = {
|
|
126
|
+
name: WidgetsName.QuickSurvey;
|
|
127
|
+
uniqid: string;
|
|
128
|
+
content: WidgetQuickSurveyContent;
|
|
129
|
+
};
|
|
130
|
+
export declare const widgetQuickSurveyTypeSchema: z.ZodObject<{
|
|
131
|
+
name: z.ZodType<WidgetsName.QuickSurvey, z.ZodTypeDef, WidgetsName.QuickSurvey>;
|
|
132
|
+
uniqid: z.ZodType<string, z.ZodTypeDef, string>;
|
|
133
|
+
content: z.ZodType<{
|
|
134
|
+
widgets?: import("./common").WidgetBaseType[] | undefined;
|
|
135
|
+
arr?: WidgetQuickSurveyContentArr[] | undefined;
|
|
136
|
+
css?: Record<string, string> | undefined;
|
|
137
|
+
closing?: boolean | undefined;
|
|
138
|
+
isClosed?: boolean | undefined;
|
|
139
|
+
userTotal?: number | undefined;
|
|
140
|
+
open?: boolean | undefined;
|
|
141
|
+
multi?: boolean | undefined;
|
|
142
|
+
showResult?: boolean | undefined;
|
|
143
|
+
isNotDisabled?: boolean | undefined;
|
|
144
|
+
seeResponseAfter?: boolean | undefined;
|
|
145
|
+
anonymize?: boolean | undefined;
|
|
146
|
+
}, z.ZodTypeDef, {
|
|
147
|
+
widgets?: import("./common").WidgetBaseType[] | undefined;
|
|
148
|
+
arr?: WidgetQuickSurveyContentArr[] | undefined;
|
|
149
|
+
css?: Record<string, string> | undefined;
|
|
150
|
+
closing?: boolean | undefined;
|
|
151
|
+
isClosed?: boolean | undefined;
|
|
152
|
+
userTotal?: number | undefined;
|
|
153
|
+
open?: boolean | undefined;
|
|
154
|
+
multi?: boolean | undefined;
|
|
155
|
+
showResult?: boolean | undefined;
|
|
156
|
+
isNotDisabled?: boolean | undefined;
|
|
157
|
+
seeResponseAfter?: boolean | undefined;
|
|
158
|
+
anonymize?: boolean | undefined;
|
|
159
|
+
}>;
|
|
160
|
+
}, "strip", z.ZodTypeAny, WidgetQuickSurveyType, WidgetQuickSurveyType>;
|
|
161
|
+
declare const ResponseSchema: z.ZodArray<z.ZodObject<{
|
|
162
|
+
userList: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
163
|
+
id: z.ZodType<number, z.ZodTypeDef, number>;
|
|
164
|
+
mainType: z.ZodType<string, z.ZodTypeDef, string>;
|
|
165
|
+
type: z.ZodType<string, z.ZodTypeDef, string>;
|
|
166
|
+
uri: z.ZodType<string, z.ZodTypeDef, string>;
|
|
167
|
+
dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
|
|
168
|
+
dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
|
|
169
|
+
}, {
|
|
170
|
+
title: z.ZodString;
|
|
171
|
+
_url: z.ZodString;
|
|
172
|
+
level: z.ZodNativeEnum<{
|
|
173
|
+
readonly ADMIN: 9;
|
|
174
|
+
readonly USER: 5;
|
|
175
|
+
readonly EXTERNAL: 3;
|
|
176
|
+
readonly GUEST: 0;
|
|
177
|
+
}>;
|
|
178
|
+
dateCreation: z.ZodString;
|
|
179
|
+
dateModified: z.ZodString;
|
|
180
|
+
}>, "strip", z.ZodUnion<[z.ZodNumber, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodString>, z.ZodString, z.ZodNumber, z.ZodNullable<z.ZodString>, z.ZodString, z.ZodString]>, import("../user").jUserLittle, import("../user").jUserLittle>, "many">;
|
|
181
|
+
counter: z.ZodNumber;
|
|
182
|
+
}, "strip", z.ZodTypeAny, {
|
|
183
|
+
userList: import("../user").jUserLittle[];
|
|
184
|
+
counter: number;
|
|
185
|
+
}, {
|
|
186
|
+
userList: import("../user").jUserLittle[];
|
|
187
|
+
counter: number;
|
|
188
|
+
}>, "many">;
|
|
189
|
+
export declare const WidgetQuickSurveyResponseSchema: z.ZodObject<{
|
|
190
|
+
totalRespondent: z.ZodNumber;
|
|
191
|
+
totalResponse: z.ZodNumber;
|
|
192
|
+
userLoggedResponses: z.ZodArray<z.ZodString, "many">;
|
|
193
|
+
userResponses: z.ZodArray<z.ZodObject<{
|
|
194
|
+
userList: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
195
|
+
id: z.ZodType<number, z.ZodTypeDef, number>;
|
|
196
|
+
mainType: z.ZodType<string, z.ZodTypeDef, string>;
|
|
197
|
+
type: z.ZodType<string, z.ZodTypeDef, string>;
|
|
198
|
+
uri: z.ZodType<string, z.ZodTypeDef, string>;
|
|
199
|
+
dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
|
|
200
|
+
dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
|
|
201
|
+
}, {
|
|
202
|
+
title: z.ZodString;
|
|
203
|
+
_url: z.ZodString;
|
|
204
|
+
level: z.ZodNativeEnum<{
|
|
205
|
+
readonly ADMIN: 9;
|
|
206
|
+
readonly USER: 5;
|
|
207
|
+
readonly EXTERNAL: 3;
|
|
208
|
+
readonly GUEST: 0;
|
|
209
|
+
}>;
|
|
210
|
+
dateCreation: z.ZodString;
|
|
211
|
+
dateModified: z.ZodString;
|
|
212
|
+
}>, "strip", z.ZodUnion<[z.ZodNumber, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodString>, z.ZodString, z.ZodNumber, z.ZodNullable<z.ZodString>, z.ZodString, z.ZodString]>, import("../user").jUserLittle, import("../user").jUserLittle>, "many">;
|
|
213
|
+
counter: z.ZodNumber;
|
|
214
|
+
}, "strip", z.ZodTypeAny, {
|
|
215
|
+
userList: import("../user").jUserLittle[];
|
|
216
|
+
counter: number;
|
|
217
|
+
}, {
|
|
218
|
+
userList: import("../user").jUserLittle[];
|
|
219
|
+
counter: number;
|
|
220
|
+
}>, "many">;
|
|
221
|
+
}, "strip", z.ZodTypeAny, {
|
|
222
|
+
totalRespondent: number;
|
|
223
|
+
totalResponse: number;
|
|
224
|
+
userLoggedResponses: string[];
|
|
225
|
+
userResponses: {
|
|
226
|
+
userList: import("../user").jUserLittle[];
|
|
227
|
+
counter: number;
|
|
228
|
+
}[];
|
|
229
|
+
}, {
|
|
230
|
+
totalRespondent: number;
|
|
231
|
+
totalResponse: number;
|
|
232
|
+
userLoggedResponses: string[];
|
|
233
|
+
userResponses: {
|
|
234
|
+
userList: import("../user").jUserLittle[];
|
|
235
|
+
counter: number;
|
|
236
|
+
}[];
|
|
237
|
+
}>;
|
|
238
|
+
export type WidgetQuickSurveyResponses = z.infer<typeof ResponseSchema>;
|
|
239
|
+
export type WidgetQuickSurveyResponse = z.infer<typeof WidgetQuickSurveyResponseSchema>;
|
|
240
|
+
export declare const WidgetQuickSurveyResponseUserListSchema: z.ZodObject<{
|
|
241
|
+
data: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
242
|
+
id: z.ZodType<number, z.ZodTypeDef, number>;
|
|
243
|
+
mainType: z.ZodType<string, z.ZodTypeDef, string>;
|
|
244
|
+
type: z.ZodType<string, z.ZodTypeDef, string>;
|
|
245
|
+
uri: z.ZodType<string, z.ZodTypeDef, string>;
|
|
246
|
+
dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
|
|
247
|
+
dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
|
|
248
|
+
}, {
|
|
249
|
+
title: z.ZodString;
|
|
250
|
+
_url: z.ZodString;
|
|
251
|
+
level: z.ZodNativeEnum<{
|
|
252
|
+
readonly ADMIN: 9;
|
|
253
|
+
readonly USER: 5;
|
|
254
|
+
readonly EXTERNAL: 3;
|
|
255
|
+
readonly GUEST: 0;
|
|
256
|
+
}>;
|
|
257
|
+
dateCreation: z.ZodString;
|
|
258
|
+
dateModified: z.ZodString;
|
|
259
|
+
}>, "strip", z.ZodUnion<[z.ZodNumber, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodString>, z.ZodString, z.ZodNumber, z.ZodNullable<z.ZodString>, z.ZodString, z.ZodString]>, import("../user").jUserLittle, import("../user").jUserLittle>, "many">;
|
|
260
|
+
cnt: z.ZodNumber;
|
|
261
|
+
page: z.ZodNumber;
|
|
262
|
+
limit: z.ZodNumber;
|
|
263
|
+
}, "strip", z.ZodTypeAny, {
|
|
264
|
+
limit: number;
|
|
265
|
+
page: number;
|
|
266
|
+
data: import("../user").jUserLittle[];
|
|
267
|
+
cnt: number;
|
|
268
|
+
}, {
|
|
269
|
+
limit: number;
|
|
270
|
+
page: number;
|
|
271
|
+
data: import("../user").jUserLittle[];
|
|
272
|
+
cnt: number;
|
|
273
|
+
}>;
|
|
274
|
+
export type WidgetQuickSurveyResponseUserList = z.infer<typeof WidgetQuickSurveyResponseUserListSchema>;
|
|
275
|
+
export {};
|